From 2325b338766316babe9c0343e378fa3a24c9f32b Mon Sep 17 00:00:00 2001 From: nobody Date: Thu, 15 Jul 1999 16:39:52 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'ACE-4_6_45'. --- ACE-configuration.txt | 148 - ACE.DSW | 1217 - ACE.ifnames | 1176 - Makefile.bor | 26 - STL/ACE_Changes | 53 - STL/readme2.stl | 272 - Static_Performance.dsw | 193 - TAO/Benchmark/Marshal_Test/Orbix/Makefile | 75 - TAO/Benchmark/Marshal_Test/Orbix/client.cpp | 16 - TAO/Benchmark/Marshal_Test/Orbix/marshal.h | 1326 - TAO/Benchmark/Marshal_Test/Orbix/marshal.idl | 90 - .../Marshal_Test/Orbix/orbix_marshal_client.cpp | 1338 - .../Marshal_Test/Orbix/orbix_marshal_client.h | 125 - .../Marshal_Test/Orbix/orbix_marshal_client.i | 23 - .../Marshal_Test/Orbix/orbix_marshal_impl.cpp | 313 - .../Marshal_Test/Orbix/orbix_marshal_impl.h | 195 - .../Marshal_Test/Orbix/orbix_marshal_impl.i | 29 - .../Marshal_Test/Orbix/orbix_marshal_server.cpp | 97 - .../Marshal_Test/Orbix/orbix_marshal_server.h | 59 - .../Marshal_Test/Orbix/orbix_marshal_server.i | 28 - TAO/Benchmark/Marshal_Test/Orbix/run_client | 23 - TAO/Benchmark/Marshal_Test/Orbix/run_dsi | 4 - TAO/Benchmark/Marshal_Test/Orbix/run_dsi_server | 1 - TAO/Benchmark/Marshal_Test/Orbix/run_ssi | 4 - TAO/Benchmark/Marshal_Test/Orbix/run_ssi_server | 1 - TAO/Benchmark/Marshal_Test/Orbix/server.cpp | 16 - TAO/Benchmark/Marshal_Test/TAO/Makefile | 64 - TAO/Benchmark/Marshal_Test/TAO/client.cpp | 16 - TAO/Benchmark/Marshal_Test/TAO/marshal.idl | 91 - TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp | 589 - TAO/Benchmark/Marshal_Test/TAO/marshalC.h | 196 - TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp | 171 - TAO/Benchmark/Marshal_Test/TAO/marshalS.h | 110 - TAO/Benchmark/Marshal_Test/TAO/server.cpp | 16 - .../Marshal_Test/TAO/tao_marshal_client.cpp | 1428 - .../Marshal_Test/TAO/tao_marshal_client.h | 126 - .../Marshal_Test/TAO/tao_marshal_client.i | 23 - .../Marshal_Test/TAO/tao_marshal_impl.cpp | 653 - TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.h | 196 - TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.i | 23 - .../Marshal_Test/TAO/tao_marshal_server.cpp | 114 - .../Marshal_Test/TAO/tao_marshal_server.h | 59 - .../Marshal_Test/TAO/tao_marshal_server.i | 28 - TAO/Benchmark/Marshal_Test/VisiBroker/Makefile | 64 - TAO/Benchmark/Marshal_Test/VisiBroker/client.cpp | 16 - TAO/Benchmark/Marshal_Test/VisiBroker/marshal.idl | 91 - TAO/Benchmark/Marshal_Test/VisiBroker/run_client | 23 - TAO/Benchmark/Marshal_Test/VisiBroker/run_server | 1 - TAO/Benchmark/Marshal_Test/VisiBroker/server.cpp | 16 - .../VisiBroker/visi_marshal_client.cpp | 1348 - .../Marshal_Test/VisiBroker/visi_marshal_client.h | 142 - .../Marshal_Test/VisiBroker/visi_marshal_client.i | 23 - .../Marshal_Test/VisiBroker/visi_marshal_impl.cpp | 333 - .../Marshal_Test/VisiBroker/visi_marshal_impl.h | 183 - .../Marshal_Test/VisiBroker/visi_marshal_impl.i | 30 - .../VisiBroker/visi_marshal_server.cpp | 90 - .../Marshal_Test/VisiBroker/visi_marshal_server.h | 60 - .../Marshal_Test/VisiBroker/visi_marshal_server.i | 28 - TAO/Benchmark/benchmark/Makefile | 125 - TAO/Benchmark/benchmark/driver.cpp | 60 - TAO/Benchmark/benchmark/driver.h | 60 - TAO/Benchmark/benchmark/marshal_options.cpp | 282 - TAO/Benchmark/benchmark/marshal_options.h | 214 - TAO/Benchmark/benchmark/marshal_options.i | 235 - TAO/Benchmark/benchmark/marshal_proxy.cpp | 23 - TAO/Benchmark/benchmark/marshal_proxy.h | 48 - TAO/Benchmark/benchmark/marshal_proxy.i | 12 - TAO/Benchmark/benchmark/marshal_results.cpp | 36 - TAO/Benchmark/benchmark/marshal_results.h | 76 - TAO/Benchmark/benchmark/marshal_results.i | 61 - TAO/COPYING | 90 - TAO/COPYING.sun | 67 - TAO/ChangeLog-97 | 6674 ---- TAO/ChangeLog-98a | 11669 ------ TAO/ChangeLog-98b | 9061 ----- TAO/ChangeLog-98c | 5511 --- TAO/ChangeLog-99a | 14605 ------- TAO/ChangeLog-99c | 9544 ----- TAO/LICENSE.sun | 64 - TAO/Makefile | 108 - TAO/Makefile.am | 78 - TAO/Makefile.bor | 44 - TAO/PROBLEM-REPORT-FORM | 61 - TAO/README | 25 - TAO/README.sun | 256 - TAO/TAO-INSTALL.html | 387 - TAO/TAO-inheritance.pdf.gz | Bin 12009 -> 0 bytes TAO/TAO-inheritance.ps.gz | Bin 11651 -> 0 bytes TAO/TAOACE.dsw | 128 - TAO/TAOACE_Static.dsw | 83 - TAO/TAO_IDL/ANNOUNCEMENT | 131 - TAO/TAO_IDL/CHANGES | 122 - TAO/TAO_IDL/COPYING.sun | 62 - TAO/TAO_IDL/INSTALL.sun | 186 - TAO/TAO_IDL/Makefile | 12700 ------ TAO/TAO_IDL/Makefile.am | 53 - TAO/TAO_IDL/Makefile.bor | 146 - TAO/TAO_IDL/README.sun | 245 - TAO/TAO_IDL/ast/Makefile.am | 58 - TAO/TAO_IDL/ast/ast_argument.cpp | 156 - TAO/TAO_IDL/ast/ast_array.cpp | 191 - TAO/TAO_IDL/ast/ast_attribute.cpp | 136 - TAO/TAO_IDL/ast/ast_check.cpp | 142 - TAO/TAO_IDL/ast/ast_concrete_type.cpp | 108 - TAO/TAO_IDL/ast/ast_constant.cpp | 217 - TAO/TAO_IDL/ast/ast_decl.cpp | 455 - TAO/TAO_IDL/ast/ast_enum.cpp | 257 - TAO/TAO_IDL/ast/ast_enum_val.cpp | 121 - TAO/TAO_IDL/ast/ast_exception.cpp | 308 - TAO/TAO_IDL/ast/ast_expression.cpp | 2101 - TAO/TAO_IDL/ast/ast_field.cpp | 171 - TAO/TAO_IDL/ast/ast_generator.cpp | 454 - TAO/TAO_IDL/ast/ast_interface.cpp | 814 - TAO/TAO_IDL/ast/ast_interface_fwd.cpp | 187 - TAO/TAO_IDL/ast/ast_module.cpp | 682 - TAO/TAO_IDL/ast/ast_native.cpp | 35 - TAO/TAO_IDL/ast/ast_operation.cpp | 333 - TAO/TAO_IDL/ast/ast_predefined_type.cpp | 132 - TAO/TAO_IDL/ast/ast_recursive.cpp | 169 - TAO/TAO_IDL/ast/ast_redef.cpp | 110 - TAO/TAO_IDL/ast/ast_root.cpp | 168 - TAO/TAO_IDL/ast/ast_sequence.cpp | 145 - TAO/TAO_IDL/ast/ast_string.cpp | 155 - TAO/TAO_IDL/ast/ast_structure.cpp | 313 - TAO/TAO_IDL/ast/ast_type.cpp | 107 - TAO/TAO_IDL/ast/ast_typedef.cpp | 133 - TAO/TAO_IDL/ast/ast_union.cpp | 557 - TAO/TAO_IDL/ast/ast_union_branch.cpp | 158 - TAO/TAO_IDL/ast/ast_union_label.cpp | 137 - TAO/TAO_IDL/be/Makefile.am | 93 - TAO/TAO_IDL/be/be_args.cpp | 124 - TAO/TAO_IDL/be/be_argument.cpp | 53 - TAO/TAO_IDL/be/be_array.cpp | 246 - TAO/TAO_IDL/be/be_attribute.cpp | 51 - TAO/TAO_IDL/be/be_codegen.cpp | 1083 - TAO/TAO_IDL/be/be_constant.cpp | 98 - TAO/TAO_IDL/be/be_decl.cpp | 963 - TAO/TAO_IDL/be/be_enum.cpp | 120 - TAO/TAO_IDL/be/be_enum_val.cpp | 57 - TAO/TAO_IDL/be/be_exception.cpp | 146 - TAO/TAO_IDL/be/be_expression.cpp | 84 - TAO/TAO_IDL/be/be_field.cpp | 67 - TAO/TAO_IDL/be/be_generator.cpp | 449 - TAO/TAO_IDL/be/be_helper.cpp | 389 - TAO/TAO_IDL/be/be_init.cpp | 105 - TAO/TAO_IDL/be/be_interface.cpp | 2231 -- TAO/TAO_IDL/be/be_interface_fwd.cpp | 512 - TAO/TAO_IDL/be/be_module.cpp | 59 - TAO/TAO_IDL/be/be_native.cpp | 61 - TAO/TAO_IDL/be/be_operation.cpp | 166 - TAO/TAO_IDL/be/be_predefined_type.cpp | 333 - TAO/TAO_IDL/be/be_produce.cpp | 255 - TAO/TAO_IDL/be/be_root.cpp | 97 - TAO/TAO_IDL/be/be_scope.cpp | 76 - TAO/TAO_IDL/be/be_sequence.cpp | 359 - TAO/TAO_IDL/be/be_stream_factory.cpp | 44 - TAO/TAO_IDL/be/be_string.cpp | 89 - TAO/TAO_IDL/be/be_structure.cpp | 671 - TAO/TAO_IDL/be/be_sunsoft.cpp | 165 - TAO/TAO_IDL/be/be_type.cpp | 389 - TAO/TAO_IDL/be/be_typedef.cpp | 88 - TAO/TAO_IDL/be/be_union.cpp | 1045 - TAO/TAO_IDL/be/be_union_branch.cpp | 110 - TAO/TAO_IDL/be/be_union_label.cpp | 27 - TAO/TAO_IDL/be/be_valuetype.cpp | 728 - TAO/TAO_IDL/be/be_valuetype_fwd.cpp | 529 - TAO/TAO_IDL/be/be_visitor.cpp | 180 - TAO/TAO_IDL/be/be_visitor_argument.cpp | 49 - TAO/TAO_IDL/be/be_visitor_argument/ami_arglist.cpp | 323 - .../be/be_visitor_argument/ami_handler_arglist.cpp | 321 - .../ami_handler_compiled_marshal_cs.cpp | 698 - .../be_visitor_argument/ami_handler_result_arg.cpp | 179 - .../be_visitor_argument/ami_handler_upcall_cs.cpp | 382 - .../be_visitor_argument/ami_handler_vardecl_cs.cpp | 509 - TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp | 357 - TAO/TAO_IDL/be/be_visitor_argument/argument.cpp | 85 - .../be/be_visitor_argument/compiled_marshal_cs.cpp | 777 - .../be/be_visitor_argument/compiled_marshal_ss.cpp | 769 - TAO/TAO_IDL/be/be_visitor_argument/docall_cs.cpp | 325 - TAO/TAO_IDL/be/be_visitor_argument/marshal_ss.cpp | 310 - .../post_docall_compiled_cs.cpp | 207 - .../be/be_visitor_argument/post_docall_cs.cpp | 165 - .../be/be_visitor_argument/post_marshal_ss.cpp | 236 - .../be/be_visitor_argument/post_upcall_ss.cpp | 354 - .../be/be_visitor_argument/pre_docall_cs.cpp | 445 - .../be/be_visitor_argument/pre_invoke_cs.cpp | 58 - .../be/be_visitor_argument/pre_upcall_ss.cpp | 200 - TAO/TAO_IDL/be/be_visitor_argument/upcall_ss.cpp | 446 - TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp | 635 - TAO/TAO_IDL/be/be_visitor_array.cpp | 37 - TAO/TAO_IDL/be/be_visitor_array/any_op_ch.cpp | 64 - TAO/TAO_IDL/be/be_visitor_array/any_op_cs.cpp | 118 - TAO/TAO_IDL/be/be_visitor_array/array.cpp | 152 - TAO/TAO_IDL/be/be_visitor_array/array_ch.cpp | 517 - TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp | 641 - TAO/TAO_IDL/be/be_visitor_array/array_cs.cpp | 309 - TAO/TAO_IDL/be/be_visitor_array/cdr_op_ch.cpp | 115 - TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp | 646 - TAO/TAO_IDL/be/be_visitor_attribute.cpp | 31 - TAO/TAO_IDL/be/be_visitor_attribute/attribute.cpp | 231 - TAO/TAO_IDL/be/be_visitor_constant.cpp | 32 - TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp | 76 - TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp | 136 - TAO/TAO_IDL/be/be_visitor_context.cpp | 514 - TAO/TAO_IDL/be/be_visitor_decl.cpp | 80 - TAO/TAO_IDL/be/be_visitor_enum.cpp | 35 - TAO/TAO_IDL/be/be_visitor_enum/any_op_ch.cpp | 63 - TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp | 104 - TAO/TAO_IDL/be/be_visitor_enum/cdr_op_ch.cpp | 64 - TAO/TAO_IDL/be/be_visitor_enum/cdr_op_ci.cpp | 78 - TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp | 113 - TAO/TAO_IDL/be/be_visitor_enum/enum_cs.cpp | 70 - TAO/TAO_IDL/be/be_visitor_exception.cpp | 40 - TAO/TAO_IDL/be/be_visitor_exception/any_op_ch.cpp | 102 - TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp | 171 - TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp | 77 - TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ci.cpp | 186 - TAO/TAO_IDL/be/be_visitor_exception/cdr_op_cs.cpp | 60 - .../be/be_visitor_exception/ctor_assign.cpp | 323 - TAO/TAO_IDL/be/be_visitor_exception/exception.cpp | 110 - .../be/be_visitor_exception/exception_ch.cpp | 147 - .../be/be_visitor_exception/exception_ci.cpp | 69 - .../be/be_visitor_exception/exception_cs.cpp | 222 - .../be/be_visitor_exception/exception_ctor.cpp | 313 - TAO/TAO_IDL/be/be_visitor_factory.cpp | 911 - TAO/TAO_IDL/be/be_visitor_field.cpp | 34 - TAO/TAO_IDL/be/be_visitor_field/cdr_op_ch.cpp | 294 - TAO/TAO_IDL/be/be_visitor_field/cdr_op_ci.cpp | 845 - TAO/TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp | 288 - TAO/TAO_IDL/be/be_visitor_field/field_ch.cpp | 521 - TAO/TAO_IDL/be/be_visitor_field/field_ci.cpp | 255 - TAO/TAO_IDL/be/be_visitor_field/field_cs.cpp | 285 - TAO/TAO_IDL/be/be_visitor_interface.cpp | 54 - .../be/be_visitor_interface/ami_handler_ch.cpp | 233 - .../be/be_visitor_interface/ami_handler_cs.cpp | 235 - .../be/be_visitor_interface/ami_handler_fwd_ch.cpp | 127 - .../be/be_visitor_interface/ami_handler_fwd_ci.cpp | 166 - .../ami_handler_servant_ch.cpp | 243 - .../ami_handler_servant_cs.cpp | 347 - .../be_visitor_interface/ami_handler_stub_ch.cpp | 198 - .../be_visitor_interface/ami_handler_stub_cs.cpp | 250 - TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp | 82 - TAO/TAO_IDL/be/be_visitor_interface/any_op_cs.cpp | 154 - TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ch.cpp | 77 - TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ci.cpp | 144 - TAO/TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp | 58 - .../collocated_ami_handler_ch.cpp | 174 - .../be_visitor_interface/direct_collocated_sh.cpp | 147 - .../be_visitor_interface/direct_collocated_ss.cpp | 173 - TAO/TAO_IDL/be/be_visitor_interface/interface.cpp | 793 - .../be/be_visitor_interface/interface_ch.cpp | 348 - .../be/be_visitor_interface/interface_ci.cpp | 139 - .../be/be_visitor_interface/interface_cs.cpp | 244 - .../be/be_visitor_interface/interface_ih.cpp | 157 - .../be/be_visitor_interface/interface_is.cpp | 145 - .../be/be_visitor_interface/interface_sh.cpp | 239 - .../be/be_visitor_interface/interface_si.cpp | 91 - .../be/be_visitor_interface/interface_ss.cpp | 424 - .../thru_poa_collocated_sh.cpp | 116 - .../thru_poa_collocated_ss.cpp | 188 - TAO/TAO_IDL/be/be_visitor_interface/tie_sh.cpp | 167 - TAO/TAO_IDL/be/be_visitor_interface/tie_si.cpp | 208 - TAO/TAO_IDL/be/be_visitor_interface_fwd.cpp | 32 - .../be/be_visitor_interface_fwd/cdr_op_ci.cpp | 71 - .../be_visitor_interface_fwd/interface_fwd_ch.cpp | 96 - .../be_visitor_interface_fwd/interface_fwd_ci.cpp | 64 - TAO/TAO_IDL/be/be_visitor_module.cpp | 36 - TAO/TAO_IDL/be/be_visitor_module/any_op.cpp | 56 - TAO/TAO_IDL/be/be_visitor_module/cdr_op.cpp | 56 - TAO/TAO_IDL/be/be_visitor_module/module.cpp | 816 - TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp | 80 - TAO/TAO_IDL/be/be_visitor_module/module_ih.cpp | 56 - TAO/TAO_IDL/be/be_visitor_module/module_sh.cpp | 83 - TAO/TAO_IDL/be/be_visitor_operation.cpp | 68 - .../be/be_visitor_operation/ami_arglist.cpp | 186 - TAO/TAO_IDL/be/be_visitor_operation/ami_ch.cpp | 98 - TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp | 787 - .../be_visitor_operation/ami_handler_arglist.cpp | 325 - .../ami_handler_arglist_ch.cpp | 181 - .../ami_handler_argument_marshal.cpp | 172 - .../be_visitor_operation/ami_handler_operation.cpp | 154 - .../ami_handler_operation_ch.cpp | 154 - .../ami_handler_operation_cs.cpp | 810 - .../ami_handler_result_arg.cpp | 177 - .../ami_handler_skeleton_cs.cpp | 486 - TAO/TAO_IDL/be/be_visitor_operation/arglist.cpp | 221 - TAO/TAO_IDL/be/be_visitor_operation/argument.cpp | 253 - .../be/be_visitor_operation/argument_invoke.cpp | 173 - .../be/be_visitor_operation/argument_marshal.cpp | 275 - .../be/be_visitor_operation/compiled_marshal.cpp | 500 - .../be_visitor_operation/direct_collocated_sh.cpp | 124 - .../be_visitor_operation/direct_collocated_ss.cpp | 226 - .../be/be_visitor_operation/exceptlist_cs.cpp | 94 - TAO/TAO_IDL/be/be_visitor_operation/operation.cpp | 149 - .../be/be_visitor_operation/operation_ami_ch.cpp | 93 - .../be/be_visitor_operation/operation_ami_cs.cpp | 901 - .../be/be_visitor_operation/operation_ch.cpp | 122 - .../be/be_visitor_operation/operation_cs.cpp | 937 - .../be/be_visitor_operation/operation_ih.cpp | 125 - .../be/be_visitor_operation/operation_is.cpp | 175 - .../be/be_visitor_operation/operation_sh.cpp | 148 - .../be/be_visitor_operation/operation_ss.cpp | 821 - TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp | 315 - .../be/be_visitor_operation/rettype_assign_ss.cpp | 195 - .../be/be_visitor_operation/rettype_docall_cs.cpp | 172 - TAO/TAO_IDL/be/be_visitor_operation/rettype_is.cpp | 170 - .../be/be_visitor_operation/rettype_marshal_ss.cpp | 219 - .../rettype_post_docall_cs.cpp | 124 - .../rettype_post_upcall_ss.cpp | 153 - .../be_visitor_operation/rettype_pre_docall_cs.cpp | 174 - .../be_visitor_operation/rettype_pre_invoke_cs.cpp | 59 - .../be/be_visitor_operation/rettype_return_cs.cpp | 195 - .../be/be_visitor_operation/rettype_vardecl_cs.cpp | 305 - .../be/be_visitor_operation/rettype_vardecl_ss.cpp | 326 - .../thru_poa_collocated_sh.cpp | 124 - .../thru_poa_collocated_ss.cpp | 302 - TAO/TAO_IDL/be/be_visitor_operation/tie_sh.cpp | 121 - TAO/TAO_IDL/be/be_visitor_operation/tie_si.cpp | 155 - TAO/TAO_IDL/be/be_visitor_rettype.cpp | 3032 -- TAO/TAO_IDL/be/be_visitor_root.cpp | 37 - TAO/TAO_IDL/be/be_visitor_root/any_op.cpp | 56 - TAO/TAO_IDL/be/be_visitor_root/cdr_op.cpp | 71 - TAO/TAO_IDL/be/be_visitor_root/root.cpp | 1101 - TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp | 59 - TAO/TAO_IDL/be/be_visitor_root/root_ci.cpp | 58 - TAO/TAO_IDL/be/be_visitor_root/root_cs.cpp | 58 - TAO/TAO_IDL/be/be_visitor_root/root_ih.cpp | 59 - TAO/TAO_IDL/be/be_visitor_root/root_is.cpp | 65 - TAO/TAO_IDL/be/be_visitor_root/root_sh.cpp | 70 - TAO/TAO_IDL/be/be_visitor_root/root_si.cpp | 68 - TAO/TAO_IDL/be/be_visitor_root/root_ss.cpp | 69 - TAO/TAO_IDL/be/be_visitor_scope.cpp | 240 - TAO/TAO_IDL/be/be_visitor_sequence.cpp | 52 - TAO/TAO_IDL/be/be_visitor_sequence/any_op_ch.cpp | 66 - TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp | 139 - TAO/TAO_IDL/be/be_visitor_sequence/buffer_type.cpp | 154 - TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_ch.cpp | 68 - TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_ci.cpp | 73 - TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp | 593 - TAO/TAO_IDL/be/be_visitor_sequence/elemtype.cpp | 222 - .../gen_bounded_obj_sequence_ch.cpp | 186 - .../gen_bounded_obj_sequence_ci.cpp | 346 - .../gen_bounded_obj_sequence_cs.cpp | 183 - .../gen_bounded_sequence_ch.cpp | 154 - .../gen_bounded_sequence_ci.cpp | 320 - .../gen_bounded_sequence_cs.cpp | 130 - .../gen_bounded_str_sequence_ch.cpp | 144 - .../gen_bounded_str_sequence_ci.cpp | 263 - .../gen_bounded_str_sequence_cs.cpp | 155 - .../gen_unbounded_obj_sequence_ch.cpp | 175 - .../gen_unbounded_obj_sequence_ci.cpp | 339 - .../gen_unbounded_obj_sequence_cs.cpp | 208 - .../gen_unbounded_sequence_ch.cpp | 167 - .../gen_unbounded_sequence_ci.cpp | 338 - .../gen_unbounded_sequence_cs.cpp | 146 - .../be/be_visitor_sequence/sequence_base.cpp | 194 - TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp | 630 - TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp | 574 - TAO/TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp | 385 - TAO/TAO_IDL/be/be_visitor_structure.cpp | 38 - TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp | 102 - TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp | 171 - TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp | 76 - TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp | 151 - TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp | 59 - TAO/TAO_IDL/be/be_visitor_structure/structure.cpp | 110 - .../be/be_visitor_structure/structure_ch.cpp | 117 - .../be/be_visitor_structure/structure_ci.cpp | 74 - .../be/be_visitor_structure/structure_cs.cpp | 78 - TAO/TAO_IDL/be/be_visitor_typecode.cpp | 41 - .../be/be_visitor_typecode/typecode_decl.cpp | 128 - .../be/be_visitor_typecode/typecode_defn.cpp | 3161 -- TAO/TAO_IDL/be/be_visitor_typedef.cpp | 38 - TAO/TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp | 278 - TAO/TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp | 279 - TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp | 277 - TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ci.cpp | 279 - TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp | 279 - TAO/TAO_IDL/be/be_visitor_typedef/typedef.cpp | 479 - TAO/TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp | 466 - TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp | 275 - TAO/TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp | 149 - TAO/TAO_IDL/be/be_visitor_union.cpp | 41 - TAO/TAO_IDL/be/be_visitor_union/any_op_ch.cpp | 102 - TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp | 276 - TAO/TAO_IDL/be/be_visitor_union/cdr_op_ch.cpp | 75 - TAO/TAO_IDL/be/be_visitor_union/cdr_op_ci.cpp | 171 - TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp | 64 - .../be/be_visitor_union/discriminant_ch.cpp | 142 - .../be/be_visitor_union/discriminant_ci.cpp | 215 - .../be/be_visitor_union/discriminant_cs.cpp | 88 - TAO/TAO_IDL/be/be_visitor_union/union.cpp | 122 - TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp | 238 - TAO/TAO_IDL/be/be_visitor_union/union_ci.cpp | 160 - TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp | 234 - TAO/TAO_IDL/be/be_visitor_union_branch.cpp | 38 - .../be/be_visitor_union_branch/cdr_op_ch.cpp | 295 - .../be/be_visitor_union_branch/cdr_op_ci.cpp | 813 - .../be/be_visitor_union_branch/cdr_op_cs.cpp | 285 - .../be/be_visitor_union_branch/private_ch.cpp | 424 - .../be_visitor_union_branch/public_access_cs.cpp | 439 - .../be_visitor_union_branch/public_assign_cs.cpp | 497 - .../be/be_visitor_union_branch/public_ch.cpp | 708 - .../be/be_visitor_union_branch/public_ci.cpp | 1016 - .../be/be_visitor_union_branch/public_cs.cpp | 261 - .../be/be_visitor_union_branch/public_reset_cs.cpp | 434 - TAO/TAO_IDL/be/be_visitor_valuetype.cpp | 50 - TAO/TAO_IDL/be/be_visitor_valuetype/arglist.cpp | 220 - TAO/TAO_IDL/be/be_visitor_valuetype/cdr_op_ch.cpp | 74 - TAO/TAO_IDL/be/be_visitor_valuetype/cdr_op_ci.cpp | 113 - .../be/be_visitor_valuetype/field_cdr_ci.cpp | 947 - TAO/TAO_IDL/be/be_visitor_valuetype/field_ch.cpp | 748 - TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp | 1050 - TAO/TAO_IDL/be/be_visitor_valuetype/marshal_ch.cpp | 50 - TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp | 200 - TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp | 145 - TAO/TAO_IDL/be/be_visitor_valuetype/valuetype.cpp | 840 - .../be/be_visitor_valuetype/valuetype_ch.cpp | 419 - .../be/be_visitor_valuetype/valuetype_ci.cpp | 133 - .../be/be_visitor_valuetype/valuetype_cs.cpp | 210 - .../be/be_visitor_valuetype/valuetype_obv_ch.cpp | 176 - .../be/be_visitor_valuetype/valuetype_obv_ci.cpp | 78 - .../be/be_visitor_valuetype/valuetype_obv_cs.cpp | 111 - TAO/TAO_IDL/be/be_visitor_valuetype_fwd.cpp | 37 - .../be/be_visitor_valuetype_fwd/cdr_op_ci.cpp | 74 - .../be_visitor_valuetype_fwd/interface_fwd_ch.cpp | 100 - .../be_visitor_valuetype_fwd/interface_fwd_ci.cpp | 85 - TAO/TAO_IDL/be_include/Makefile.am | 84 - TAO/TAO_IDL/be_include/be.h | 134 - TAO/TAO_IDL/be_include/be_argument.h | 56 - TAO/TAO_IDL/be_include/be_array.h | 75 - TAO/TAO_IDL/be_include/be_attribute.h | 55 - TAO/TAO_IDL/be_include/be_codegen.h | 695 - TAO/TAO_IDL/be_include/be_constant.h | 63 - TAO/TAO_IDL/be_include/be_decl.h | 210 - TAO/TAO_IDL/be_include/be_enum.h | 73 - TAO/TAO_IDL/be_include/be_enum_val.h | 60 - TAO/TAO_IDL/be_include/be_exception.h | 55 - TAO/TAO_IDL/be_include/be_expression.h | 52 - TAO/TAO_IDL/be_include/be_field.h | 59 - TAO/TAO_IDL/be_include/be_generator.h | 174 - TAO/TAO_IDL/be_include/be_helper.h | 211 - TAO/TAO_IDL/be_include/be_interface.h | 288 - TAO/TAO_IDL/be_include/be_interface_fwd.h | 77 - TAO/TAO_IDL/be_include/be_module.h | 63 - TAO/TAO_IDL/be_include/be_native.h | 61 - TAO/TAO_IDL/be_include/be_operation.h | 85 - TAO/TAO_IDL/be_include/be_predefined_type.h | 77 - TAO/TAO_IDL/be_include/be_root.h | 65 - TAO/TAO_IDL/be_include/be_scope.h | 74 - TAO/TAO_IDL/be_include/be_sequence.h | 107 - TAO/TAO_IDL/be_include/be_state.h | 299 - TAO/TAO_IDL/be_include/be_stream_factory.h | 61 - TAO/TAO_IDL/be_include/be_string.h | 65 - TAO/TAO_IDL/be_include/be_structure.h | 92 - TAO/TAO_IDL/be_include/be_sunsoft.h | 49 - TAO/TAO_IDL/be_include/be_type.h | 118 - TAO/TAO_IDL/be_include/be_typedef.h | 67 - TAO/TAO_IDL/be_include/be_union.h | 129 - TAO/TAO_IDL/be_include/be_union_branch.h | 64 - TAO/TAO_IDL/be_include/be_union_label.h | 24 - TAO/TAO_IDL/be_include/be_valuetype.h | 138 - TAO/TAO_IDL/be_include/be_valuetype_fwd.h | 80 - TAO/TAO_IDL/be_include/be_visitor.h | 169 - TAO/TAO_IDL/be_include/be_visitor_argument.h | 49 - .../be_include/be_visitor_argument/ami_arglist.h | 96 - .../be_visitor_argument/ami_handler_arglist.h | 96 - .../ami_handler_compiled_marshal_cs.h | 89 - .../be_visitor_argument/ami_handler_result_arg.h | 86 - .../be_visitor_argument/ami_handler_upcall_cs.h | 90 - .../be_visitor_argument/ami_handler_vardecl_cs.h | 126 - .../be_include/be_visitor_argument/arglist.h | 96 - .../be_include/be_visitor_argument/argument.h | 59 - .../be_visitor_argument/compiled_marshal_cs.h | 89 - .../be_visitor_argument/compiled_marshal_ss.h | 89 - .../be_include/be_visitor_argument/docall_cs.h | 81 - .../be_include/be_visitor_argument/marshal_ss.h | 81 - .../be_visitor_argument/post_docall_compiled_cs.h | 70 - .../be_visitor_argument/post_docall_cs.h | 62 - .../be_visitor_argument/post_marshal_ss.h | 81 - .../be_visitor_argument/post_upcall_ss.h | 114 - .../be_include/be_visitor_argument/pre_docall_cs.h | 81 - .../be_include/be_visitor_argument/pre_invoke_cs.h | 52 - .../be_include/be_visitor_argument/pre_upcall_ss.h | 81 - .../be_include/be_visitor_argument/upcall_ss.h | 89 - .../be_include/be_visitor_argument/vardecl_ss.h | 125 - TAO/TAO_IDL/be_include/be_visitor_array.h | 36 - .../be_include/be_visitor_array/any_op_ch.h | 52 - .../be_include/be_visitor_array/any_op_cs.h | 52 - TAO/TAO_IDL/be_include/be_visitor_array/array.h | 84 - TAO/TAO_IDL/be_include/be_visitor_array/array_ch.h | 57 - TAO/TAO_IDL/be_include/be_visitor_array/array_ci.h | 57 - TAO/TAO_IDL/be_include/be_visitor_array/array_cs.h | 49 - .../be_include/be_visitor_array/cdr_op_ch.h | 52 - .../be_include/be_visitor_array/cdr_op_ci.h | 86 - TAO/TAO_IDL/be_include/be_visitor_attribute.h | 29 - .../be_include/be_visitor_attribute/attribute.h | 52 - TAO/TAO_IDL/be_include/be_visitor_constant.h | 30 - .../be_include/be_visitor_constant/constant_ch.h | 47 - .../be_include/be_visitor_constant/constant_cs.h | 54 - TAO/TAO_IDL/be_include/be_visitor_context.h | 249 - TAO/TAO_IDL/be_include/be_visitor_decl.h | 58 - TAO/TAO_IDL/be_include/be_visitor_enum.h | 34 - TAO/TAO_IDL/be_include/be_visitor_enum/any_op_ch.h | 47 - TAO/TAO_IDL/be_include/be_visitor_enum/any_op_cs.h | 47 - TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_ch.h | 47 - TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_ci.h | 47 - TAO/TAO_IDL/be_include/be_visitor_enum/enum_ch.h | 56 - TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h | 47 - TAO/TAO_IDL/be_include/be_visitor_exception.h | 39 - .../be_include/be_visitor_exception/any_op_ch.h | 51 - .../be_include/be_visitor_exception/any_op_cs.h | 51 - .../be_include/be_visitor_exception/cdr_op_ch.h | 50 - .../be_include/be_visitor_exception/cdr_op_ci.h | 52 - .../be_include/be_visitor_exception/cdr_op_cs.h | 49 - TAO/TAO_IDL/be_include/be_visitor_exception/ctor.h | 83 - .../be_include/be_visitor_exception/ctor_assign.h | 81 - .../be_include/be_visitor_exception/exception.h | 52 - .../be_include/be_visitor_exception/exception_ch.h | 48 - .../be_include/be_visitor_exception/exception_ci.h | 48 - .../be_include/be_visitor_exception/exception_cs.h | 48 - .../be_visitor_exception/exception_ctor.h | 83 - TAO/TAO_IDL/be_include/be_visitor_factory.h | 112 - TAO/TAO_IDL/be_include/be_visitor_field.h | 33 - .../be_include/be_visitor_field/cdr_op_ch.h | 66 - .../be_include/be_visitor_field/cdr_op_ci.h | 108 - .../be_include/be_visitor_field/cdr_op_cs.h | 57 - TAO/TAO_IDL/be_include/be_visitor_field/field_ch.h | 86 - TAO/TAO_IDL/be_include/be_visitor_field/field_ci.h | 65 - TAO/TAO_IDL/be_include/be_visitor_field/field_cs.h | 68 - TAO/TAO_IDL/be_include/be_visitor_interface.h | 54 - .../be_visitor_interface/ami_handler_ch.h | 47 - .../be_visitor_interface/ami_handler_cs.h | 46 - .../be_visitor_interface/ami_handler_fwd_ch.h | 48 - .../be_visitor_interface/ami_handler_fwd_ci.h | 49 - .../be_visitor_interface/ami_handler_servant_ch.h | 47 - .../be_visitor_interface/ami_handler_servant_cs.h | 46 - .../be_visitor_interface/ami_handler_stub_ch.h | 50 - .../be_visitor_interface/ami_handler_stub_cs.h | 46 - .../be_include/be_visitor_interface/any_op_ch.h | 47 - .../be_include/be_visitor_interface/any_op_cs.h | 47 - .../be_include/be_visitor_interface/cdr_op_ch.h | 50 - .../be_include/be_visitor_interface/cdr_op_ci.h | 50 - .../be_include/be_visitor_interface/cdr_op_cs.h | 50 - .../collocated_ami_handler_ch.h | 42 - .../be_visitor_interface/direct_collocated_sh.h | 42 - .../be_visitor_interface/direct_collocated_ss.h | 47 - .../be_include/be_visitor_interface/interface.h | 91 - .../be_include/be_visitor_interface/interface_ch.h | 49 - .../be_include/be_visitor_interface/interface_ci.h | 47 - .../be_include/be_visitor_interface/interface_cs.h | 46 - .../be_include/be_visitor_interface/interface_ih.h | 47 - .../be_include/be_visitor_interface/interface_is.h | 45 - .../be_include/be_visitor_interface/interface_sh.h | 46 - .../be_include/be_visitor_interface/interface_si.h | 46 - .../be_include/be_visitor_interface/interface_ss.h | 46 - .../be_visitor_interface/thru_poa_collocated_sh.h | 42 - .../be_visitor_interface/thru_poa_collocated_ss.h | 47 - .../be_include/be_visitor_interface/tie_sh.h | 51 - .../be_include/be_visitor_interface/tie_si.h | 52 - TAO/TAO_IDL/be_include/be_visitor_interface_fwd.h | 31 - .../be_visitor_interface_fwd/cdr_op_ci.h | 51 - .../be_visitor_interface_fwd/interface_fwd_ch.h | 47 - .../be_visitor_interface_fwd/interface_fwd_ci.h | 47 - TAO/TAO_IDL/be_include/be_visitor_module.h | 37 - TAO/TAO_IDL/be_include/be_visitor_module/any_op.h | 49 - TAO/TAO_IDL/be_include/be_visitor_module/cdr_op.h | 49 - TAO/TAO_IDL/be_include/be_visitor_module/module.h | 82 - .../be_include/be_visitor_module/module_ch.h | 48 - .../be_include/be_visitor_module/module_ih.h | 47 - .../be_include/be_visitor_module/module_sh.h | 48 - TAO/TAO_IDL/be_include/be_visitor_operation.h | 66 - .../be_include/be_visitor_operation/ami_arglist.h | 54 - .../be_include/be_visitor_operation/ami_ch.h | 51 - .../be_include/be_visitor_operation/ami_cs.h | 125 - .../be_visitor_operation/ami_handler_arglist.h | 65 - .../ami_handler_argument_marshal.h | 67 - .../be_visitor_operation/ami_handler_operation.h | 52 - .../ami_handler_operation_ch.h | 52 - .../ami_handler_operation_cs.h | 126 - .../be_visitor_operation/ami_handler_result_arg.h | 86 - .../be_visitor_operation/ami_handler_skeleton_cs.h | 129 - .../be_include/be_visitor_operation/arglist.h | 57 - .../be_include/be_visitor_operation/argument.h | 57 - .../be_visitor_operation/argument_invoke.h | 66 - .../be_visitor_operation/argument_marshal.h | 88 - .../be_visitor_operation/compiled_marshal.h | 90 - .../be_visitor_operation/direct_collocated_sh.h | 51 - .../be_visitor_operation/direct_collocated_ss.h | 60 - .../be_visitor_operation/exceptlist_cs.h | 52 - .../be_include/be_visitor_operation/operation.h | 60 - .../be_visitor_operation/operation_ami.h | 51 - .../be_visitor_operation/operation_ami_ch.h | 51 - .../be_visitor_operation/operation_ami_cs.h | 125 - .../be_include/be_visitor_operation/operation_ch.h | 50 - .../be_include/be_visitor_operation/operation_cs.h | 126 - .../be_include/be_visitor_operation/operation_ih.h | 48 - .../be_include/be_visitor_operation/operation_is.h | 48 - .../be_include/be_visitor_operation/operation_sh.h | 50 - .../be_include/be_visitor_operation/operation_ss.h | 141 - .../be_include/be_visitor_operation/rettype.h | 86 - .../be_visitor_operation/rettype_assign_ss.h | 88 - .../be_visitor_operation/rettype_docall_cs.h | 79 - .../be_include/be_visitor_operation/rettype_is.h | 81 - .../be_visitor_operation/rettype_marshal_ss.h | 87 - .../be_visitor_operation/rettype_post_docall_cs.h | 75 - .../be_visitor_operation/rettype_post_upcall_ss.h | 100 - .../be_visitor_operation/rettype_pre_docall_cs.h | 73 - .../be_visitor_operation/rettype_pre_invoke_cs.h | 56 - .../be_visitor_operation/rettype_return_cs.h | 86 - .../be_visitor_operation/rettype_vardecl_cs.h | 86 - .../be_visitor_operation/rettype_vardecl_ss.h | 118 - .../be_visitor_operation/thru_poa_collocated_sh.h | 52 - .../be_visitor_operation/thru_poa_collocated_ss.h | 60 - .../be_include/be_visitor_operation/tie_sh.h | 50 - .../be_include/be_visitor_operation/tie_si.h | 50 - TAO/TAO_IDL/be_include/be_visitor_root.h | 40 - TAO/TAO_IDL/be_include/be_visitor_root/any_op.h | 49 - TAO/TAO_IDL/be_include/be_visitor_root/cdr_op.h | 49 - TAO/TAO_IDL/be_include/be_visitor_root/root.h | 89 - TAO/TAO_IDL/be_include/be_visitor_root/root_ch.h | 48 - TAO/TAO_IDL/be_include/be_visitor_root/root_ci.h | 48 - TAO/TAO_IDL/be_include/be_visitor_root/root_cs.h | 48 - TAO/TAO_IDL/be_include/be_visitor_root/root_ih.h | 47 - TAO/TAO_IDL/be_include/be_visitor_root/root_is.h | 45 - TAO/TAO_IDL/be_include/be_visitor_root/root_sh.h | 48 - TAO/TAO_IDL/be_include/be_visitor_root/root_si.h | 48 - TAO/TAO_IDL/be_include/be_visitor_root/root_ss.h | 48 - TAO/TAO_IDL/be_include/be_visitor_scope.h | 68 - TAO/TAO_IDL/be_include/be_visitor_sequence.h | 25 - .../be_include/be_visitor_sequence/any_op_ch.h | 49 - .../be_include/be_visitor_sequence/any_op_cs.h | 49 - .../be_include/be_visitor_sequence/buffer_type.h | 63 - .../be_include/be_visitor_sequence/cdr_op_ch.h | 50 - .../be_include/be_visitor_sequence/cdr_op_ci.h | 51 - .../be_include/be_visitor_sequence/cdr_op_cs.h | 86 - .../be_include/be_visitor_sequence/elemtype.h | 66 - .../be_include/be_visitor_sequence/sequence_base.h | 95 - .../be_include/be_visitor_sequence/sequence_ch.h | 75 - .../be_include/be_visitor_sequence/sequence_ci.h | 73 - .../be_include/be_visitor_sequence/sequence_cs.h | 69 - TAO/TAO_IDL/be_include/be_visitor_structure.h | 40 - .../be_include/be_visitor_structure/any_op_ch.h | 52 - .../be_include/be_visitor_structure/any_op_cs.h | 52 - .../be_include/be_visitor_structure/cdr_op_ch.h | 50 - .../be_include/be_visitor_structure/cdr_op_ci.h | 53 - .../be_include/be_visitor_structure/cdr_op_cs.h | 49 - .../be_include/be_visitor_structure/structure.h | 52 - .../be_include/be_visitor_structure/structure_ch.h | 48 - .../be_include/be_visitor_structure/structure_ci.h | 48 - .../be_include/be_visitor_structure/structure_cs.h | 48 - TAO/TAO_IDL/be_include/be_visitor_typecode.h | 32 - .../be_include/be_visitor_typecode/typecode_decl.h | 74 - .../be_include/be_visitor_typecode/typecode_defn.h | 288 - TAO/TAO_IDL/be_include/be_visitor_typedef.h | 40 - .../be_include/be_visitor_typedef/any_op_ch.h | 69 - .../be_include/be_visitor_typedef/any_op_cs.h | 69 - .../be_include/be_visitor_typedef/cdr_op_ch.h | 68 - .../be_include/be_visitor_typedef/cdr_op_ci.h | 68 - .../be_include/be_visitor_typedef/cdr_op_cs.h | 68 - .../be_include/be_visitor_typedef/typedef.h | 72 - .../be_include/be_visitor_typedef/typedef_ch.h | 76 - .../be_include/be_visitor_typedef/typedef_ci.h | 65 - .../be_include/be_visitor_typedef/typedef_cs.h | 50 - TAO/TAO_IDL/be_include/be_visitor_union.h | 43 - .../be_include/be_visitor_union/any_op_ch.h | 52 - .../be_include/be_visitor_union/any_op_cs.h | 108 - .../be_include/be_visitor_union/cdr_op_ch.h | 50 - .../be_include/be_visitor_union/cdr_op_ci.h | 52 - .../be_include/be_visitor_union/cdr_op_cs.h | 49 - .../be_include/be_visitor_union/discriminant_ch.h | 55 - .../be_include/be_visitor_union/discriminant_ci.h | 55 - .../be_include/be_visitor_union/discriminant_cs.h | 51 - TAO/TAO_IDL/be_include/be_visitor_union/union.h | 52 - TAO/TAO_IDL/be_include/be_visitor_union/union_ch.h | 48 - TAO/TAO_IDL/be_include/be_visitor_union/union_ci.h | 48 - TAO/TAO_IDL/be_include/be_visitor_union/union_cs.h | 48 - TAO/TAO_IDL/be_include/be_visitor_union_branch.h | 37 - .../be_include/be_visitor_union_branch/cdr_op_ch.h | 66 - .../be_include/be_visitor_union_branch/cdr_op_ci.h | 78 - .../be_include/be_visitor_union_branch/cdr_op_cs.h | 54 - .../be_visitor_union_branch/private_ch.h | 82 - .../be_visitor_union_branch/public_access_cs.h | 80 - .../be_visitor_union_branch/public_assign_cs.h | 81 - .../be_include/be_visitor_union_branch/public_ch.h | 90 - .../be_include/be_visitor_union_branch/public_ci.h | 81 - .../be_include/be_visitor_union_branch/public_cs.h | 69 - .../be_visitor_union_branch/public_reset_cs.h | 81 - TAO/TAO_IDL/be_include/be_visitor_valuetype.h | 47 - .../be_include/be_visitor_valuetype/arglist.h | 55 - .../be_include/be_visitor_valuetype/cdr_op_ch.h | 49 - .../be_include/be_visitor_valuetype/cdr_op_ci.h | 49 - .../be_include/be_visitor_valuetype/field_cdr_ci.h | 115 - .../be_include/be_visitor_valuetype/field_ch.h | 96 - .../be_include/be_visitor_valuetype/field_cs.h | 99 - .../be_include/be_visitor_valuetype/marshal_ch.h | 49 - .../be_include/be_visitor_valuetype/marshal_cs.h | 51 - .../be_include/be_visitor_valuetype/obv_module.h | 50 - .../be_include/be_visitor_valuetype/valuetype.h | 103 - .../be_include/be_visitor_valuetype/valuetype_ch.h | 55 - .../be_include/be_visitor_valuetype/valuetype_ci.h | 51 - .../be_include/be_visitor_valuetype/valuetype_cs.h | 47 - .../be_visitor_valuetype/valuetype_obv_ch.h | 55 - .../be_visitor_valuetype/valuetype_obv_ci.h | 52 - .../be_visitor_valuetype/valuetype_obv_cs.h | 50 - TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd.h | 37 - .../be_visitor_valuetype_fwd/cdr_op_ci.h | 52 - .../be_visitor_valuetype_fwd/valuetype_fwd_ch.h | 48 - .../be_visitor_valuetype_fwd/valuetype_fwd_ci.h | 48 - TAO/TAO_IDL/docs/ANNOUNCEMENT | 131 - TAO/TAO_IDL/docs/BUG_REPORT | 144 - TAO/TAO_IDL/docs/CHANGES | 122 - TAO/TAO_IDL/docs/CLI | 187 - TAO/TAO_IDL/docs/COPYRIGHT | 57 - TAO/TAO_IDL/docs/INSTALL | 229 - TAO/TAO_IDL/docs/PROBLEMS | 132 - TAO/TAO_IDL/docs/README | 233 - TAO/TAO_IDL/docs/ROADMAP | 126 - TAO/TAO_IDL/docs/WRITING_A_BE | 1350 - TAO/TAO_IDL/driver/Makefile.am | 39 - TAO/TAO_IDL/driver/drv_args.cpp | 893 - TAO/TAO_IDL/driver/drv_fork.cpp | 129 - TAO/TAO_IDL/driver/drv_init.cpp | 123 - TAO/TAO_IDL/driver/drv_link.cpp | 140 - TAO/TAO_IDL/driver/drv_preproc.cpp | 563 - TAO/TAO_IDL/driver/drv_private.cpp | 85 - TAO/TAO_IDL/fe/Makefile.am | 95 - TAO/TAO_IDL/fe/fe_declarator.cpp | 161 - TAO/TAO_IDL/fe/fe_extern.cpp | 126 - TAO/TAO_IDL/fe/fe_init.cpp | 412 - TAO/TAO_IDL/fe/fe_interface_header.cpp | 413 - TAO/TAO_IDL/fe/fe_lookup.cpp | 191 - TAO/TAO_IDL/fe/fe_private.cpp | 82 - TAO/TAO_IDL/fe/idl.ll | 618 - TAO/TAO_IDL/fe/idl.yy | 2543 -- TAO/TAO_IDL/fe/keywords.dat | 76 - TAO/TAO_IDL/fe/lex.yy.cpp | 2702 -- TAO/TAO_IDL/fe/lex.yy.cpp.diff | 101 - TAO/TAO_IDL/fe/y.tab.cpp | 3691 -- TAO/TAO_IDL/fe/y.tab.cpp.diff | 28 - TAO/TAO_IDL/fe/y.tab.h | 85 - TAO/TAO_IDL/idl_make_vars | 62 - TAO/TAO_IDL/idl_specs/array.idl | 39 - TAO/TAO_IDL/idl_specs/constant.idl | 31 - TAO/TAO_IDL/idl_specs/dif2.idl | 50 - TAO/TAO_IDL/idl_specs/inherit.idl | 19 - TAO/TAO_IDL/idl_specs/module.idl | 22 - TAO/TAO_IDL/idl_specs/primtypes.idl | 25 - TAO/TAO_IDL/idl_specs/sequence.idl | 27 - TAO/TAO_IDL/idl_specs/simple.idl | 18 - TAO/TAO_IDL/idl_specs/simple2.idl | 28 - TAO/TAO_IDL/idl_specs/struct.idl | 54 - TAO/TAO_IDL/idl_specs/union.idl | 28 - TAO/TAO_IDL/idl_specs/union2.idl | 23 - TAO/TAO_IDL/include/Makefile.am | 87 - TAO/TAO_IDL/include/ast.h | 120 - TAO/TAO_IDL/include/ast_argument.h | 115 - TAO/TAO_IDL/include/ast_array.h | 117 - TAO/TAO_IDL/include/ast_attribute.h | 109 - TAO/TAO_IDL/include/ast_concrete_type.h | 95 - TAO/TAO_IDL/include/ast_constant.h | 117 - TAO/TAO_IDL/include/ast_decl.h | 219 - TAO/TAO_IDL/include/ast_enum.h | 115 - TAO/TAO_IDL/include/ast_enum_val.h | 99 - TAO/TAO_IDL/include/ast_exception.h | 118 - TAO/TAO_IDL/include/ast_expression.h | 237 - TAO/TAO_IDL/include/ast_extern.h | 93 - TAO/TAO_IDL/include/ast_field.h | 121 - TAO/TAO_IDL/include/ast_generator.h | 230 - TAO/TAO_IDL/include/ast_interface.h | 161 - TAO/TAO_IDL/include/ast_interface_fwd.h | 111 - TAO/TAO_IDL/include/ast_module.h | 126 - TAO/TAO_IDL/include/ast_native.h | 38 - TAO/TAO_IDL/include/ast_operation.h | 139 - TAO/TAO_IDL/include/ast_predefined_type.h | 127 - TAO/TAO_IDL/include/ast_root.h | 107 - TAO/TAO_IDL/include/ast_sequence.h | 108 - TAO/TAO_IDL/include/ast_string.h | 108 - TAO/TAO_IDL/include/ast_structure.h | 118 - TAO/TAO_IDL/include/ast_type.h | 101 - TAO/TAO_IDL/include/ast_typedef.h | 105 - TAO/TAO_IDL/include/ast_union.h | 143 - TAO/TAO_IDL/include/ast_union_branch.h | 112 - TAO/TAO_IDL/include/ast_union_label.h | 110 - TAO/TAO_IDL/include/be_extern.h | 82 - TAO/TAO_IDL/include/drv_extern.h | 87 - TAO/TAO_IDL/include/drv_link.h | 124 - TAO/TAO_IDL/include/drv_private.h | 83 - TAO/TAO_IDL/include/fe_declarator.h | 113 - TAO/TAO_IDL/include/fe_extern.h | 109 - TAO/TAO_IDL/include/fe_interface_header.h | 154 - TAO/TAO_IDL/include/fe_private.h | 108 - TAO/TAO_IDL/include/global_extern.h | 80 - TAO/TAO_IDL/include/idl.h | 103 - TAO/TAO_IDL/include/idl_bool.h | 94 - TAO/TAO_IDL/include/idl_defines.h | 84 - TAO/TAO_IDL/include/idl_extern.h | 81 - TAO/TAO_IDL/include/idl_fwd.h | 148 - TAO/TAO_IDL/include/idl_global.h | 740 - TAO/TAO_IDL/include/idl_narrow.h | 264 - TAO/TAO_IDL/include/intlmacros.h | 87 - TAO/TAO_IDL/include/nr_extern.h | 76 - TAO/TAO_IDL/include/util.h | 87 - TAO/TAO_IDL/include/utl_decllist.h | 121 - TAO/TAO_IDL/include/utl_err.h | 189 - TAO/TAO_IDL/include/utl_error.h | 189 - TAO/TAO_IDL/include/utl_exceptlist.h | 121 - TAO/TAO_IDL/include/utl_exprlist.h | 121 - TAO/TAO_IDL/include/utl_identifier.h | 116 - TAO/TAO_IDL/include/utl_idlist.h | 147 - TAO/TAO_IDL/include/utl_indenter.h | 117 - TAO/TAO_IDL/include/utl_labellist.h | 121 - TAO/TAO_IDL/include/utl_list.h | 150 - TAO/TAO_IDL/include/utl_namelist.h | 121 - TAO/TAO_IDL/include/utl_scope.h | 300 - TAO/TAO_IDL/include/utl_scoped_name.h | 82 - TAO/TAO_IDL/include/utl_stack.h | 150 - TAO/TAO_IDL/include/utl_string.h | 139 - TAO/TAO_IDL/include/utl_strlist.h | 135 - TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h | 105 - TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h | 113 - TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h | 106 - TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h | 105 - TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h | 101 - TAO/TAO_IDL/include/utl_tmpl/utl_list.h | 140 - TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h | 103 - TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h | 109 - TAO/TAO_IDL/narrow/Makefile.am | 28 - TAO/TAO_IDL/narrow/narrow.cpp | 141 - TAO/TAO_IDL/tao_idl.cpp | 258 - TAO/TAO_IDL/tao_idl.dsp | 1147 - TAO/TAO_IDL/tao_idl.dsw | 41 - TAO/TAO_IDL/tao_idl_static.dsp | 1081 - TAO/TAO_IDL/util/Makefile.am | 44 - TAO/TAO_IDL/util/utl_decllist.cpp | 149 - TAO/TAO_IDL/util/utl_err.cpp | 729 - TAO/TAO_IDL/util/utl_error.cpp | 729 - TAO/TAO_IDL/util/utl_exceptlist.cpp | 147 - TAO/TAO_IDL/util/utl_exprlist.cpp | 147 - TAO/TAO_IDL/util/utl_global.cpp | 1445 - TAO/TAO_IDL/util/utl_identifier.cpp | 134 - TAO/TAO_IDL/util/utl_idlist.cpp | 191 - TAO/TAO_IDL/util/utl_indenter.cpp | 135 - TAO/TAO_IDL/util/utl_labellist.cpp | 147 - TAO/TAO_IDL/util/utl_list.cpp | 199 - TAO/TAO_IDL/util/utl_namelist.cpp | 147 - TAO/TAO_IDL/util/utl_scope.cpp | 1394 - TAO/TAO_IDL/util/utl_stack.cpp | 258 - TAO/TAO_IDL/util/utl_string.cpp | 225 - TAO/TAO_IDL/util/utl_strlist.cpp | 198 - TAO/TAO_IDL/util/utl_tmpl/utl_decllist.cpp | 107 - TAO/TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp | 106 - TAO/TAO_IDL/util/utl_tmpl/utl_exprlist.cpp | 106 - TAO/TAO_IDL/util/utl_tmpl/utl_idlist.cpp | 139 - TAO/TAO_IDL/util/utl_tmpl/utl_labellist.cpp | 106 - TAO/TAO_IDL/util/utl_tmpl/utl_list.cpp | 213 - TAO/TAO_IDL/util/utl_tmpl/utl_namelist.cpp | 108 - TAO/TAO_IDL/util/utl_tmpl/utl_strlist.cpp | 141 - TAO/VERSION | 11 - TAO/announcement | 61 - TAO/configure.in | 608 - TAO/docs/DIFFERENCES | 360 - TAO/docs/HISTORY | 44 - TAO/docs/INS.html | 142 - TAO/docs/Options.html | 702 - TAO/docs/REFERENCES | 91 - TAO/docs/Tags.html | 231 - TAO/docs/compiler.html | 545 - TAO/docs/components.html | 44 - TAO/docs/configurations.html | 770 - TAO/docs/ec_options.html | 355 - TAO/docs/events_tutorial.html | 1819 - TAO/docs/exceptions.html | 22 - TAO/docs/forwarding.html | 111 - TAO/docs/implrepo.html | 12 - TAO/docs/implrepo/index.html | 121 - TAO/docs/implrepo/paper.html | 820 - TAO/docs/implrepo/tao_ir.html | 230 - TAO/docs/implrepo/usersguide.html | 92 - TAO/docs/index.html | 46 - TAO/docs/leader_follower.html | 60 - TAO/docs/locate_request.html | 56 - TAO/docs/minimumTAO.html | 248 - TAO/docs/orbsvcs.html | 252 - TAO/docs/poa_migration.html | 209 - TAO/docs/reactivator.html | 21 - TAO/docs/releasenotes.html | 26 - TAO/docs/releasenotes/OBV.html | 149 - TAO/docs/releasenotes/TODO.html | 1923 - TAO/docs/releasenotes/ec.html | 215 - TAO/docs/releasenotes/index.html | 1333 - TAO/docs/releasenotes/orbcore.html | 434 - TAO/docs/releasenotes/trader.html | 1064 - TAO/examples/Borland/Broadcaster.idl | 34 - TAO/examples/Borland/Chat.bpg | 23 - TAO/examples/Borland/ChatClient.bpr | 224 - TAO/examples/Borland/ChatClient.cpp | 48 - TAO/examples/Borland/ChatClient.res | Bin 1794 -> 0 bytes TAO/examples/Borland/ChatClientWnd.cpp | 127 - TAO/examples/Borland/ChatClientWnd.h | 71 - TAO/examples/Borland/README | 6 - TAO/examples/Borland/Receiver.idl | 15 - TAO/examples/Borland/ReceiverImpl.cpp | 36 - TAO/examples/Borland/ReceiverImpl.h | 33 - TAO/examples/Borland/build_idl.bat | 2 - TAO/examples/Borland/pch.h | 11 - TAO/examples/Callback_Quoter/Callback_Quoter.dsw | 53 - .../Callback_Quoter/Callback_Quoter_Consumer.bor | 33 - .../Callback_Quoter/Callback_Quoter_Notifier.bor | 32 - .../Callback_Quoter/Callback_Quoter_Supplier.bor | 32 - TAO/examples/Callback_Quoter/Consumer.dsp | 335 - TAO/examples/Callback_Quoter/Consumer.idl | 60 - TAO/examples/Callback_Quoter/Consumer_Handler.cpp | 376 - TAO/examples/Callback_Quoter/Consumer_Handler.h | 142 - .../Callback_Quoter/Consumer_Input_Handler.cpp | 209 - .../Callback_Quoter/Consumer_Input_Handler.h | 102 - .../Callback_Quoter/Consumer_Signal_Handler.cpp | 87 - .../Callback_Quoter/Consumer_Signal_Handler.h | 71 - TAO/examples/Callback_Quoter/Consumer_i.cpp | 63 - TAO/examples/Callback_Quoter/Consumer_i.h | 66 - TAO/examples/Callback_Quoter/Makefile | 4266 -- TAO/examples/Callback_Quoter/Makefile.bor | 11 - TAO/examples/Callback_Quoter/Notifier.dsp | 323 - TAO/examples/Callback_Quoter/Notifier.idl | 35 - .../Callback_Quoter/Notifier_Input_Handler.cpp | 269 - .../Callback_Quoter/Notifier_Input_Handler.h | 92 - TAO/examples/Callback_Quoter/Notifier_i.cpp | 271 - TAO/examples/Callback_Quoter/Notifier_i.h | 119 - TAO/examples/Callback_Quoter/README | 128 - TAO/examples/Callback_Quoter/Supplier.dsp | 326 - .../Callback_Quoter/Supplier_Timer_Handler.cpp | 101 - .../Callback_Quoter/Supplier_Timer_Handler.h | 77 - TAO/examples/Callback_Quoter/Supplier_i.cpp | 348 - TAO/examples/Callback_Quoter/Supplier_i.h | 118 - TAO/examples/Callback_Quoter/consumer.cpp | 19 - TAO/examples/Callback_Quoter/example.stocks | 56 - TAO/examples/Callback_Quoter/notifier.cpp | 41 - TAO/examples/Callback_Quoter/run_test.pl | 80 - TAO/examples/Callback_Quoter/supplier.cpp | 19 - TAO/examples/Event_Comm/Consumer.dsp | 229 - TAO/examples/Event_Comm/Consumer_Handler.cpp | 158 - TAO/examples/Event_Comm/Consumer_Handler.h | 93 - TAO/examples/Event_Comm/Consumer_Input_Handler.cpp | 151 - TAO/examples/Event_Comm/Consumer_Input_Handler.h | 71 - TAO/examples/Event_Comm/Event_Comm.dsw | 53 - TAO/examples/Event_Comm/Event_Comm.idl | 110 - TAO/examples/Event_Comm/Event_Comm_i.cpp | 453 - TAO/examples/Event_Comm/Event_Comm_i.h | 132 - TAO/examples/Event_Comm/Makefile | 3179 -- TAO/examples/Event_Comm/Notifier.dsp | 213 - TAO/examples/Event_Comm/Notifier_Handler.cpp | 131 - TAO/examples/Event_Comm/Notifier_Handler.h | 81 - TAO/examples/Event_Comm/Notifier_Server.cpp | 147 - TAO/examples/Event_Comm/Notifier_Server.h | 71 - TAO/examples/Event_Comm/README | 98 - TAO/examples/Event_Comm/Supplier.dsp | 229 - TAO/examples/Event_Comm/Supplier_Input_Handler.cpp | 121 - TAO/examples/Event_Comm/Supplier_Input_Handler.h | 65 - TAO/examples/Event_Comm/consumer.cpp | 132 - TAO/examples/Event_Comm/notifier.cpp | 73 - TAO/examples/Event_Comm/notifier.h | 46 - TAO/examples/Event_Comm/supplier.cpp | 85 - TAO/examples/Event_Comm/supplier.h | 56 - TAO/examples/Logging/Logger.idl | 119 - TAO/examples/Logging/Logger_i.cpp | 218 - TAO/examples/Logging/Logger_i.h | 115 - TAO/examples/Logging/Logging_Service.cpp | 40 - TAO/examples/Logging/Logging_Service_i.cpp | 139 - TAO/examples/Logging/Logging_Service_i.h | 105 - TAO/examples/Logging/Logging_Test.cpp | 22 - TAO/examples/Logging/Logging_Test_i.cpp | 358 - TAO/examples/Logging/Logging_Test_i.h | 104 - TAO/examples/Logging/Makefile | 1999 - TAO/examples/Logging/README | 47 - TAO/examples/Logging/run_test.pl | 47 - TAO/examples/Makefile | 29 - TAO/examples/OBV/Makefile | 23 - TAO/examples/OBV/Simple_util.cpp | 353 - TAO/examples/OBV/Simple_util.h | 183 - TAO/examples/OBV/Typed_Events/Client_i.cpp | 124 - TAO/examples/OBV/Typed_Events/Client_i.h | 58 - TAO/examples/OBV/Typed_Events/Event_Types.idl | 245 - TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp | 595 - TAO/examples/OBV/Typed_Events/Event_Types_impl.h | 426 - TAO/examples/OBV/Typed_Events/Makefile | 2062 - TAO/examples/OBV/Typed_Events/README | 31 - TAO/examples/OBV/Typed_Events/Server_i.cpp | 176 - TAO/examples/OBV/Typed_Events/Server_i.h | 62 - TAO/examples/OBV/Typed_Events/Typed_Events.dsw | 41 - TAO/examples/OBV/Typed_Events/client.cpp | 23 - TAO/examples/OBV/Typed_Events/client.dsp | 229 - TAO/examples/OBV/Typed_Events/run_test.pl | 40 - TAO/examples/OBV/Typed_Events/server.cpp | 49 - TAO/examples/OBV/Typed_Events/server.dsp | 229 - .../POA/Adapter_Activator/Adaptor_Activator.dsw | 29 - TAO/examples/POA/Adapter_Activator/Makefile | 308 - TAO/examples/POA/Adapter_Activator/README | 49 - TAO/examples/POA/Adapter_Activator/run_test.pl | 126 - TAO/examples/POA/Adapter_Activator/server.cpp | 455 - TAO/examples/POA/Adapter_Activator/server.dsp | 100 - TAO/examples/POA/DSI/DSI.DSW | 41 - TAO/examples/POA/DSI/Database.idl | 75 - TAO/examples/POA/DSI/Database_i.cpp | 414 - TAO/examples/POA/DSI/Database_i.h | 143 - TAO/examples/POA/DSI/Makefile | 1357 - TAO/examples/POA/DSI/README | 4 - TAO/examples/POA/DSI/client.cpp | 228 - TAO/examples/POA/DSI/client.dsp | 209 - TAO/examples/POA/DSI/run_test.pl | 44 - TAO/examples/POA/DSI/server.cpp | 226 - TAO/examples/POA/DSI/server.dsp | 205 - .../POA/Default_Servant/Default_Servant.dsw | 41 - TAO/examples/POA/Default_Servant/File.idl | 53 - TAO/examples/POA/Default_Servant/File_i.cpp | 204 - TAO/examples/POA/Default_Servant/File_i.h | 101 - TAO/examples/POA/Default_Servant/Makefile | 1357 - TAO/examples/POA/Default_Servant/README | 45 - TAO/examples/POA/Default_Servant/client.cpp | 159 - TAO/examples/POA/Default_Servant/client.dsp | 209 - TAO/examples/POA/Default_Servant/run_test.pl | 42 - TAO/examples/POA/Default_Servant/server.cpp | 188 - TAO/examples/POA/Default_Servant/server.dsp | 217 - .../Alt_Resources/Alt_Resource_Factory.dsp | 63 - .../Alt_Resources/Alt_Resource_Factory.dsw | 29 - .../Alt_Resources/Alt_Resource_Factory.h | 36 - .../POA/Explicit_Activation/Alt_Resources/README | 15 - .../Alt_Resources/Resource_Factory.cpp | 26 - .../Alt_Resources/Resource_Factory.h | 25 - .../Explicit_Activation/Explicit_Activation.dsw | 29 - TAO/examples/POA/Explicit_Activation/Makefile | 309 - TAO/examples/POA/Explicit_Activation/README | 46 - .../POA/Explicit_Activation/alternate.conf | 5 - TAO/examples/POA/Explicit_Activation/run_test.pl | 128 - TAO/examples/POA/Explicit_Activation/server.cpp | 336 - TAO/examples/POA/Explicit_Activation/server.dsp | 100 - TAO/examples/POA/FindPOA/FindPOA.cpp | 124 - TAO/examples/POA/FindPOA/FindPOA.dsp | 99 - TAO/examples/POA/FindPOA/FindPOA.dsw | 29 - TAO/examples/POA/FindPOA/Makefile | 302 - TAO/examples/POA/FindPOA/README | 42 - TAO/examples/POA/FindPOA/run_test.pl | 19 - TAO/examples/POA/Forwarding/Foo.idl | 19 - TAO/examples/POA/Forwarding/Forwarding.dsw | 41 - TAO/examples/POA/Forwarding/Makefile | 1618 - TAO/examples/POA/Forwarding/MyFooServant.cpp | 192 - TAO/examples/POA/Forwarding/MyFooServant.h | 96 - TAO/examples/POA/Forwarding/README | 52 - TAO/examples/POA/Forwarding/Servant_Locator.cpp | 106 - TAO/examples/POA/Forwarding/Servant_Locator.h | 74 - TAO/examples/POA/Forwarding/client.cpp | 165 - TAO/examples/POA/Forwarding/client.dsp | 210 - TAO/examples/POA/Forwarding/run_test.pl | 163 - TAO/examples/POA/Forwarding/server.cpp | 557 - TAO/examples/POA/Forwarding/server.dsp | 226 - TAO/examples/POA/Generic_Servant/Foo.idl | 26 - .../POA/Generic_Servant/Generic_Servant.dsw | 41 - TAO/examples/POA/Generic_Servant/Makefile | 1118 - TAO/examples/POA/Generic_Servant/MyFooServant.cpp | 143 - TAO/examples/POA/Generic_Servant/MyFooServant.h | 63 - TAO/examples/POA/Generic_Servant/README | 24 - TAO/examples/POA/Generic_Servant/client.cpp | 260 - TAO/examples/POA/Generic_Servant/client.dsp | 201 - .../POA/Generic_Servant/generic_servant_export.h | 35 - TAO/examples/POA/Generic_Servant/server.dsp | 210 - TAO/examples/POA/Loader/Loader.dsw | 29 - TAO/examples/POA/Loader/Makefile | 1085 - TAO/examples/POA/Loader/README | 60 - TAO/examples/POA/Loader/Servant_Activator.cpp | 99 - TAO/examples/POA/Loader/Servant_Activator.h | 101 - TAO/examples/POA/Loader/Servant_Locator.cpp | 115 - TAO/examples/POA/Loader/Servant_Locator.h | 112 - TAO/examples/POA/Loader/Server_Manager.cpp | 398 - TAO/examples/POA/Loader/Server_Manager.h | 106 - TAO/examples/POA/Loader/run_test.pl | 106 - TAO/examples/POA/Loader/server.cpp | 68 - TAO/examples/POA/Loader/server.dsp | 124 - TAO/examples/POA/Makefile | 41 - TAO/examples/POA/NewPOA/Makefile | 301 - TAO/examples/POA/NewPOA/NewPOA.cpp | 145 - TAO/examples/POA/NewPOA/NewPOA.dsp | 99 - TAO/examples/POA/NewPOA/NewPOA.dsw | 29 - TAO/examples/POA/NewPOA/README | 15 - TAO/examples/POA/NewPOA/run_test.pl | 17 - TAO/examples/POA/On_Demand_Activation/Makefile | 832 - .../On_Demand_Activation/On_Demand_Activation.dsw | 29 - TAO/examples/POA/On_Demand_Activation/README | 99 - .../POA/On_Demand_Activation/Servant_Activator.cpp | 68 - .../POA/On_Demand_Activation/Servant_Activator.h | 45 - .../POA/On_Demand_Activation/Servant_Locator.cpp | 83 - .../POA/On_Demand_Activation/Servant_Locator.h | 53 - TAO/examples/POA/On_Demand_Activation/run_test.pl | 105 - TAO/examples/POA/On_Demand_Activation/server.cpp | 294 - TAO/examples/POA/On_Demand_Activation/server.dsp | 119 - TAO/examples/POA/On_Demand_Loading/Makefile | 1348 - .../POA/On_Demand_Loading/On_Demand_Loading.dsw | 29 - TAO/examples/POA/On_Demand_Loading/README | 57 - .../POA/On_Demand_Loading/Servant_Activator.cpp | 84 - .../POA/On_Demand_Loading/Servant_Activator.h | 78 - .../POA/On_Demand_Loading/Servant_Locator.cpp | 101 - .../POA/On_Demand_Loading/Servant_Locator.h | 82 - .../POA/On_Demand_Loading/Servant_Manager.cpp | 192 - .../POA/On_Demand_Loading/Servant_Manager.h | 112 - .../POA/On_Demand_Loading/Server_Manager.cpp | 389 - .../POA/On_Demand_Loading/Server_Manager.h | 106 - TAO/examples/POA/On_Demand_Loading/run_test.pl | 107 - TAO/examples/POA/On_Demand_Loading/server.cpp | 68 - TAO/examples/POA/On_Demand_Loading/server.dsp | 129 - TAO/examples/POA/On_Demand_Loading/svc.conf | 4 - TAO/examples/POA/README | 112 - .../POA/Reference_Counted_Servant/Makefile | 309 - TAO/examples/POA/Reference_Counted_Servant/README | 44 - .../Reference_Counted_Servant.dsw | 28 - .../POA/Reference_Counted_Servant/run_test.pl | 85 - .../POA/Reference_Counted_Servant/server.cpp | 194 - .../POA/Reference_Counted_Servant/server.dsp | 98 - TAO/examples/POA/RootPOA/Makefile | 300 - TAO/examples/POA/RootPOA/README | 11 - TAO/examples/POA/RootPOA/RootPOA.cpp | 72 - TAO/examples/POA/RootPOA/RootPOA.dsp | 99 - TAO/examples/POA/RootPOA/RootPOA.dsw | 29 - TAO/examples/POA/RootPOA/run_test.pl | 24 - TAO/examples/POA/TIE/Foo.idl | 30 - TAO/examples/POA/TIE/Foo_i.cpp | 102 - TAO/examples/POA/TIE/Foo_i.h | 112 - TAO/examples/POA/TIE/Makefile | 1370 - TAO/examples/POA/TIE/TIE.dsw | 41 - TAO/examples/POA/TIE/client.cpp | 245 - TAO/examples/POA/TIE/client.dsp | 210 - TAO/examples/POA/TIE/run_test.pl | 72 - TAO/examples/POA/TIE/server.cpp | 284 - TAO/examples/POA/TIE/server.dsp | 218 - TAO/examples/Persistent_Grid/Grid.idl | 55 - TAO/examples/Persistent_Grid/Grid_Client_i.cpp | 131 - TAO/examples/Persistent_Grid/Grid_Client_i.h | 71 - TAO/examples/Persistent_Grid/Grid_i.cpp | 258 - TAO/examples/Persistent_Grid/Grid_i.h | 153 - TAO/examples/Persistent_Grid/Makefile | 2348 -- TAO/examples/Persistent_Grid/Persistent_Client.h | 62 - .../Persistent_Grid/Persistent_Client_i.cpp | 117 - TAO/examples/Persistent_Grid/Persistent_Grid.dsw | 53 - .../Persistent_Grid_Client_Files.dsp | 178 - .../Persistent_Grid_Second_Client_Files.dsp | 177 - .../Persistent_Grid_Server_Files.dsp | 181 - TAO/examples/Persistent_Grid/README | 76 - TAO/examples/Persistent_Grid/Simple_util.cpp | 307 - TAO/examples/Persistent_Grid/Simple_util.h | 165 - TAO/examples/Persistent_Grid/client.cpp | 22 - TAO/examples/Persistent_Grid/persistent_client.cpp | 22 - TAO/examples/Persistent_Grid/run_test.pl | 54 - TAO/examples/Persistent_Grid/server.cpp | 51 - TAO/examples/Quoter/Factory_Finder.cpp | 233 - TAO/examples/Quoter/Factory_Finder.dsp | 219 - TAO/examples/Quoter/Factory_Finder.h | 66 - TAO/examples/Quoter/Factory_Finder_i.cpp | 106 - TAO/examples/Quoter/Factory_Finder_i.h | 40 - TAO/examples/Quoter/Generic_Factory.cpp | 274 - TAO/examples/Quoter/Generic_Factory.dsp | 227 - TAO/examples/Quoter/Generic_Factory.h | 70 - TAO/examples/Quoter/Generic_Factory_i.cpp | 172 - TAO/examples/Quoter/Generic_Factory_i.h | 56 - TAO/examples/Quoter/Makefile | 2605 -- TAO/examples/Quoter/Quoter.dsw | 65 - TAO/examples/Quoter/Quoter.idl | 133 - TAO/examples/Quoter/Quoter_i.cpp | 374 - TAO/examples/Quoter/Quoter_i.h | 131 - TAO/examples/Quoter/README | 122 - TAO/examples/Quoter/client.conf | 5 - TAO/examples/Quoter/client.cpp | 404 - TAO/examples/Quoter/client.dsp | 211 - TAO/examples/Quoter/client.h | 114 - TAO/examples/Quoter/run_test.pl | 268 - TAO/examples/Quoter/server.conf | 5 - TAO/examples/Quoter/server.cpp | 282 - TAO/examples/Quoter/server.dsp | 220 - TAO/examples/Quoter/server.h | 88 - TAO/examples/Quoter/testall.pl | 206 - TAO/examples/README | 58 - TAO/examples/Simple/Makefile | 27 - TAO/examples/Simple/README | 28 - TAO/examples/Simple/Simple_util.cpp | 468 - TAO/examples/Simple/Simple_util.h | 178 - TAO/examples/Simple/bank/AccountManager_i.cpp | 161 - TAO/examples/Simple/bank/AccountManager_i.h | 100 - TAO/examples/Simple/bank/Account_i.cpp | 79 - TAO/examples/Simple/bank/Account_i.h | 84 - TAO/examples/Simple/bank/Bank.idl | 59 - TAO/examples/Simple/bank/Bank_Client.bor | 27 - TAO/examples/Simple/bank/Bank_Client_i.cpp | 155 - TAO/examples/Simple/bank/Bank_Client_i.h | 66 - TAO/examples/Simple/bank/Bank_Server.bor | 28 - TAO/examples/Simple/bank/Makefile | 2276 -- TAO/examples/Simple/bank/Makefile.bor | 11 - TAO/examples/Simple/bank/README | 88 - TAO/examples/Simple/bank/bank.dsw | 41 - TAO/examples/Simple/bank/client.cpp | 23 - TAO/examples/Simple/bank/client.dsp | 214 - TAO/examples/Simple/bank/run_test.pl | 40 - TAO/examples/Simple/bank/server.cpp | 49 - TAO/examples/Simple/bank/server.dsp | 222 - TAO/examples/Simple/chat/Broadcaster.idl | 34 - TAO/examples/Simple/chat/Broadcaster_i.cpp | 200 - TAO/examples/Simple/chat/Broadcaster_i.h | 107 - TAO/examples/Simple/chat/Chat_Client.bor | 32 - TAO/examples/Simple/chat/Chat_Server.bor | 32 - TAO/examples/Simple/chat/Client_i.cpp | 254 - TAO/examples/Simple/chat/Client_i.h | 93 - TAO/examples/Simple/chat/Makefile | 2695 -- TAO/examples/Simple/chat/Makefile.bor | 10 - TAO/examples/Simple/chat/README | 70 - TAO/examples/Simple/chat/Receiver.idl | 15 - TAO/examples/Simple/chat/Receiver_i.cpp | 56 - TAO/examples/Simple/chat/Receiver_i.h | 63 - TAO/examples/Simple/chat/Server.h | 18 - TAO/examples/Simple/chat/Server_i.cpp | 120 - TAO/examples/Simple/chat/Server_i.h | 67 - TAO/examples/Simple/chat/chat.dsw | 41 - TAO/examples/Simple/chat/client.cpp | 43 - TAO/examples/Simple/chat/client.dsp | 316 - TAO/examples/Simple/chat/server.cpp | 55 - TAO/examples/Simple/chat/server.dsp | 320 - TAO/examples/Simple/echo/Echo.dsw | 41 - TAO/examples/Simple/echo/Echo.idl | 27 - TAO/examples/Simple/echo/Echo_Client.bor | 26 - TAO/examples/Simple/echo/Echo_Client_i.cpp | 76 - TAO/examples/Simple/echo/Echo_Client_i.h | 51 - TAO/examples/Simple/echo/Echo_Server.bor | 26 - TAO/examples/Simple/echo/Echo_i.cpp | 97 - TAO/examples/Simple/echo/Echo_i.h | 68 - TAO/examples/Simple/echo/Makefile | 2013 - TAO/examples/Simple/echo/Makefile.bor | 11 - TAO/examples/Simple/echo/README | 58 - TAO/examples/Simple/echo/client.cpp | 25 - TAO/examples/Simple/echo/client.dsp | 223 - TAO/examples/Simple/echo/run_test.pl | 39 - TAO/examples/Simple/echo/server.cpp | 51 - TAO/examples/Simple/echo/server.dsp | 215 - TAO/examples/Simple/grid/Grid.dsw | 41 - TAO/examples/Simple/grid/Grid.idl | 52 - TAO/examples/Simple/grid/Grid_Client.bor | 26 - TAO/examples/Simple/grid/Grid_Client_i.cpp | 135 - TAO/examples/Simple/grid/Grid_Client_i.h | 68 - TAO/examples/Simple/grid/Grid_Server.bor | 26 - TAO/examples/Simple/grid/Grid_i.cpp | 209 - TAO/examples/Simple/grid/Grid_i.h | 127 - TAO/examples/Simple/grid/Makefile | 2014 - TAO/examples/Simple/grid/Makefile.bor | 10 - TAO/examples/Simple/grid/README | 74 - TAO/examples/Simple/grid/client.cpp | 23 - TAO/examples/Simple/grid/client.dsp | 209 - TAO/examples/Simple/grid/run_test.pl | 39 - TAO/examples/Simple/grid/server.cpp | 53 - TAO/examples/Simple/grid/server.dsp | 209 - TAO/examples/Simple/time-date/Makefile | 2852 -- TAO/examples/Simple/time-date/README | 11 - TAO/examples/Simple/time-date/Time_Date.cpp | 162 - TAO/examples/Simple/time-date/Time_Date.dsp | 229 - TAO/examples/Simple/time-date/Time_Date.dsw | 59 - TAO/examples/Simple/time-date/Time_Date.h | 54 - TAO/examples/Simple/time-date/Time_Date.idl | 14 - .../Simple/time-date/Time_Date_Client_i.cpp | 89 - TAO/examples/Simple/time-date/Time_Date_Client_i.h | 53 - TAO/examples/Simple/time-date/Time_Date_i.cpp | 47 - TAO/examples/Simple/time-date/Time_Date_i.h | 60 - TAO/examples/Simple/time-date/client.cpp | 20 - TAO/examples/Simple/time-date/client.dsp | 123 - TAO/examples/Simple/time-date/run_test.pl | 40 - TAO/examples/Simple/time-date/server.cpp | 38 - TAO/examples/Simple/time-date/server.dsp | 99 - TAO/examples/Simple/time-date/svc.conf | 5 - TAO/examples/Simple/time/Makefile | 2014 - TAO/examples/Simple/time/Makefile.bor | 10 - TAO/examples/Simple/time/README | 59 - TAO/examples/Simple/time/Time.dsw | 65 - TAO/examples/Simple/time/Time.idl | 15 - TAO/examples/Simple/time/Time_Client.bor | 26 - TAO/examples/Simple/time/Time_Client_i.cpp | 68 - TAO/examples/Simple/time/Time_Client_i.h | 52 - TAO/examples/Simple/time/Time_Server.bor | 26 - TAO/examples/Simple/time/Time_i.cpp | 57 - TAO/examples/Simple/time/Time_i.h | 65 - TAO/examples/Simple/time/client.cpp | 23 - TAO/examples/Simple/time/client.dsp | 1127 - TAO/examples/Simple/time/client_static.dsp | 207 - TAO/examples/Simple/time/run_test.pl | 38 - TAO/examples/Simple/time/server.cpp | 53 - TAO/examples/Simple/time/server.dsp | 1132 - TAO/examples/Simple/time/server_static.dsp | 214 - .../Simulator/DOVEBrowser/AnswerEvent.java | 23 - .../Simulator/DOVEBrowser/AnswerListener.java | 18 - .../Simulator/DOVEBrowser/DOVEBrowser.html | 30 - .../Simulator/DOVEBrowser/DOVEBrowser.java | 87 - .../Simulator/DOVEBrowser/DOVEBrowserApplet.java | 51 - .../Simulator/DOVEBrowser/DataHandler.java | 34 - TAO/examples/Simulator/DOVEBrowser/DemoCore.java | 204 - .../Simulator/DOVEBrowser/DemoObservable.java | 19 - .../Simulator/DOVEBrowser/DoubleVisComp.java | 275 - .../DOVEBrowser/MTDataHandlerAdapter.java | 76 - TAO/examples/Simulator/DOVEBrowser/MTQueue.java | 200 - TAO/examples/Simulator/DOVEBrowser/Makefile | 109 - TAO/examples/Simulator/DOVEBrowser/NS_Resolve.java | 120 - .../Simulator/DOVEBrowser/NavWeapDataHandler.java | 305 - .../Simulator/DOVEBrowser/NavigationVisComp.java | 350 - .../Simulator/DOVEBrowser/ObservablesDialog.java | 90 - TAO/examples/Simulator/DOVEBrowser/Properties.java | 20 - .../Simulator/DOVEBrowser/PushConsumer.java | 185 - .../Simulator/DOVEBrowser/PushConsumer.java.JDK1.2 | 179 - .../Simulator/DOVEBrowser/PushConsumerFactory.java | 351 - .../DOVEBrowser/PushConsumerFactory.java.JDK1.2 | 180 - TAO/examples/Simulator/DOVEBrowser/Queue.java | 190 - TAO/examples/Simulator/DOVEBrowser/VisComp.java | 19 - .../Simulator/DOVEBrowser/VisCompFactory.java | 48 - .../Simulator/DOVEBrowser/WeaponsVisComp.java | 144 - TAO/examples/Simulator/DOVEBrowser/make.bat | 150 - TAO/examples/Simulator/DOVEMIB/AnyAnalyser.cpp | 216 - TAO/examples/Simulator/DOVEMIB/AnyAnalyser.h | 63 - TAO/examples/Simulator/DOVEMIB/DOVEMIB.cpp | 422 - TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsp | 103 - TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsw | 53 - TAO/examples/Simulator/DOVEMIB/DOVEMIB.h | 64 - TAO/examples/Simulator/DOVEMIB/DOVEMIBx.dsp | 183 - TAO/examples/Simulator/DOVEMIB/Makefile | 915 - TAO/examples/Simulator/DOVEMIB/Node.cpp | 219 - TAO/examples/Simulator/DOVEMIB/Node.h | 190 - TAO/examples/Simulator/DOVEMIB/NodeVisitor.h | 39 - TAO/examples/Simulator/DOVEMIB/PrintVisitor.cpp | 159 - TAO/examples/Simulator/DOVEMIB/PrintVisitor.h | 51 - TAO/examples/Simulator/DOVEMIB/TestClient.dsp | 172 - TAO/examples/Simulator/DOVEMIB/any_test.idl | 11 - TAO/examples/Simulator/DOVEMIB/any_test_i.cpp | 69 - TAO/examples/Simulator/DOVEMIB/any_test_i.h | 42 - TAO/examples/Simulator/DOVEMIB/clnt.cpp | 183 - TAO/examples/Simulator/DOVEMIB/clnt.h | 68 - TAO/examples/Simulator/DOVEMIB/svc.conf | 4 - TAO/examples/Simulator/DOVEMIB/svr.cpp | 168 - .../Simulator/Event_Supplier/DOVE_Supplier.cpp | 522 - .../Simulator/Event_Supplier/DOVE_Supplier.h | 141 - .../Simulator/Event_Supplier/DualEC_Sup.cpp | 1207 - .../Simulator/Event_Supplier/DualEC_Sup.dsp | 170 - TAO/examples/Simulator/Event_Supplier/DualEC_Sup.h | 195 - TAO/examples/Simulator/Event_Supplier/EDF.dat | 72 - .../Simulator/Event_Supplier/Event_Con.cpp | 376 - TAO/examples/Simulator/Event_Supplier/Event_Con.h | 71 - .../Simulator/Event_Supplier/Event_Sup.cpp | 490 - .../Simulator/Event_Supplier/Event_Sup.dsp | 167 - .../Simulator/Event_Supplier/Event_Sup.dsw | 53 - TAO/examples/Simulator/Event_Supplier/Event_Sup.h | 79 - .../Simulator/Event_Supplier/Logging_Sup.cpp | 536 - .../Simulator/Event_Supplier/Logging_Sup.dsp | 157 - .../Simulator/Event_Supplier/Logging_Sup.h | 85 - TAO/examples/Simulator/Event_Supplier/MLF.dat | 72 - TAO/examples/Simulator/Event_Supplier/MUF.dat | 72 - TAO/examples/Simulator/Event_Supplier/Makefile | 1336 - TAO/examples/Simulator/Event_Supplier/RMS.dat | 72 - TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat | 72 - TAO/examples/Simulator/Event_Supplier/svc.conf | 5 - TAO/examples/Simulator/Makefile | 23 - TAO/examples/Simulator/NavWeap.idl | 73 - TAO/examples/Simulator/README | 255 - TAO/examples/TAO_Examples.dsw | 605 - TAO/man/man1/TAO_Concurrency_Service.1 | 53 - TAO/man/man1/TAO_CosEvent_Service.1 | 88 - TAO/man/man1/TAO_Event_Service.1 | 58 - TAO/man/man1/tao_idl.1 | 167 - TAO/man/man7/TAO.7 | 386 - .../Concurrency_Service/Concurrency_Service.cpp | 221 - .../Concurrency_Service/Concurrency_Service.dsp | 103 - .../Concurrency_Service/Concurrency_Service.dsw | 29 - .../Concurrency_Service/Concurrency_Service.h | 106 - TAO/orbsvcs/Concurrency_Service/Makefile | 341 - TAO/orbsvcs/Concurrency_Service/Makefile.am | 36 - TAO/orbsvcs/Concurrency_Service/README | 129 - TAO/orbsvcs/CosEvent_Service/CosEvent_Service.cpp | 302 - TAO/orbsvcs/CosEvent_Service/CosEvent_Service.dsp | 103 - TAO/orbsvcs/CosEvent_Service/CosEvent_Service.dsw | 29 - TAO/orbsvcs/CosEvent_Service/CosEvent_Service.h | 97 - TAO/orbsvcs/CosEvent_Service/Makefile | 367 - TAO/orbsvcs/CosEvent_Service/Makefile.am | 36 - TAO/orbsvcs/CosEvent_Service/README | 52 - TAO/orbsvcs/CosEvent_Service/svc.conf | 2 - TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp | 104 - TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsp | 100 - TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsw | 29 - TAO/orbsvcs/Dump_Schedule/Makefile | 320 - TAO/orbsvcs/Dump_Schedule/Makefile.am | 35 - TAO/orbsvcs/Event_Service/Event_Service.cpp | 352 - TAO/orbsvcs/Event_Service/Event_Service.dsp | 148 - TAO/orbsvcs/Event_Service/Event_Service.dsw | 29 - TAO/orbsvcs/Event_Service/Event_Service.h | 105 - TAO/orbsvcs/Event_Service/Makefile | 406 - TAO/orbsvcs/Event_Service/Makefile.am | 36 - TAO/orbsvcs/Event_Service/svc.conf | 2 - TAO/orbsvcs/ImplRepo_Service/ImplRepo.cpp | 44 - TAO/orbsvcs/ImplRepo_Service/ImplRepo.dsw | 41 - TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp | 972 - TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.h | 250 - TAO/orbsvcs/ImplRepo_Service/Makefile | 1323 - TAO/orbsvcs/ImplRepo_Service/Makefile.am | 39 - TAO/orbsvcs/ImplRepo_Service/Options.cpp | 67 - TAO/orbsvcs/ImplRepo_Service/Options.h | 63 - TAO/orbsvcs/ImplRepo_Service/Repository.cpp | 240 - TAO/orbsvcs/ImplRepo_Service/Repository.h | 179 - TAO/orbsvcs/ImplRepo_Service/implrepo.dsp | 124 - TAO/orbsvcs/ImplRepo_Service/tao_ir.cpp | 17 - TAO/orbsvcs/ImplRepo_Service/tao_ir.dsp | 107 - TAO/orbsvcs/ImplRepo_Service/tao_ir_i.cpp | 793 - TAO/orbsvcs/ImplRepo_Service/tao_ir_i.h | 228 - .../LifeCycle_Service/Criteria_Evaluator.cpp | 88 - TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h | 57 - TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp | 229 - TAO/orbsvcs/LifeCycle_Service/Factory_Trader.h | 52 - .../LifeCycle_Service/LifeCycle_Service.cpp | 213 - .../LifeCycle_Service/LifeCycle_Service.dsp | 135 - .../LifeCycle_Service/LifeCycle_Service.dsw | 29 - TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.h | 69 - .../LifeCycle_Service/LifeCycle_Service_i.cpp | 164 - .../LifeCycle_Service/LifeCycle_Service_i.h | 70 - TAO/orbsvcs/LifeCycle_Service/Makefile | 1232 - TAO/orbsvcs/LifeCycle_Service/Makefile.am | 42 - TAO/orbsvcs/Makefile | 36 - TAO/orbsvcs/Makefile.am | 27 - TAO/orbsvcs/Naming_Service/Makefile | 339 - TAO/orbsvcs/Naming_Service/Makefile.am | 36 - TAO/orbsvcs/Naming_Service/Makefile.bor | 17 - TAO/orbsvcs/Naming_Service/Naming_Service.cpp | 213 - TAO/orbsvcs/Naming_Service/Naming_Service.dsp | 445 - TAO/orbsvcs/Naming_Service/Naming_Service.dsw | 29 - TAO/orbsvcs/Naming_Service/Naming_Service.h | 82 - TAO/orbsvcs/Naming_Service/README | 171 - TAO/orbsvcs/Scheduling_Service/Makefile | 335 - TAO/orbsvcs/Scheduling_Service/Makefile.am | 35 - .../Scheduling_Service/Scheduling_Service.cpp | 375 - .../Scheduling_Service/Scheduling_Service.dsp | 115 - .../Scheduling_Service/Scheduling_Service.dsw | 29 - .../Scheduling_Service/Scheduling_Service.h | 101 - TAO/orbsvcs/Time_Service/Clerk_i.cpp | 597 - TAO/orbsvcs/Time_Service/Clerk_i.h | 144 - TAO/orbsvcs/Time_Service/Makefile | 1291 - TAO/orbsvcs/Time_Service/Makefile.am | 47 - TAO/orbsvcs/Time_Service/README | 96 - TAO/orbsvcs/Time_Service/Server_i.cpp | 427 - TAO/orbsvcs/Time_Service/Server_i.h | 109 - TAO/orbsvcs/Time_Service/Time_Service.dsw | 41 - TAO/orbsvcs/Time_Service/Time_Service_Clerk.cpp | 43 - TAO/orbsvcs/Time_Service/Time_Service_Clerk.dsp | 111 - TAO/orbsvcs/Time_Service/Time_Service_Server.cpp | 44 - TAO/orbsvcs/Time_Service/Time_Service_Server.dsp | 108 - TAO/orbsvcs/Trading_Service/Makefile | 353 - TAO/orbsvcs/Trading_Service/Makefile.am | 36 - TAO/orbsvcs/Trading_Service/Makefile.bor | 16 - TAO/orbsvcs/Trading_Service/README | 10 - TAO/orbsvcs/Trading_Service/Trading_Service.cpp | 406 - TAO/orbsvcs/Trading_Service/Trading_Service.dsp | 104 - TAO/orbsvcs/Trading_Service/Trading_Service.dsw | 29 - TAO/orbsvcs/Trading_Service/Trading_Service.h | 110 - TAO/orbsvcs/default.bld | 44 - .../CosEC/Factory/CosEventChannelFactory.idl | 81 - .../CosEC/Factory/CosEventChannelFactory_i.cpp | 363 - .../CosEC/Factory/CosEventChannelFactory_i.h | 111 - TAO/orbsvcs/examples/CosEC/Factory/Factory.dsw | 41 - .../examples/CosEC/Factory/FactoryClient.cpp | 444 - .../examples/CosEC/Factory/FactoryClient.dsp | 177 - .../examples/CosEC/Factory/FactoryDriver.cpp | 164 - TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.h | 80 - .../examples/CosEC/Factory/FactoryServer.dsp | 193 - TAO/orbsvcs/examples/CosEC/Factory/Makefile | 1810 - TAO/orbsvcs/examples/CosEC/Factory/main.cpp | 12 - TAO/orbsvcs/examples/CosEC/Makefile | 21 - TAO/orbsvcs/examples/Makefile | 22 - TAO/orbsvcs/examples/RtEC/Makefile | 21 - TAO/orbsvcs/examples/RtEC/Simple/Consumer.cpp | 156 - TAO/orbsvcs/examples/RtEC/Simple/Consumer.h | 66 - .../examples/RtEC/Simple/EC_Simple_Consumer.dsp | 104 - .../examples/RtEC/Simple/EC_Simple_Service.dsp | 95 - .../examples/RtEC/Simple/EC_Simple_Supplier.dsp | 104 - TAO/orbsvcs/examples/RtEC/Simple/Makefile | 59 - TAO/orbsvcs/examples/RtEC/Simple/README | 14 - TAO/orbsvcs/examples/RtEC/Simple/Service.cpp | 126 - TAO/orbsvcs/examples/RtEC/Simple/Simple.dsw | 53 - TAO/orbsvcs/examples/RtEC/Simple/Supplier.cpp | 145 - TAO/orbsvcs/examples/RtEC/Simple/Supplier.h | 57 - TAO/orbsvcs/examples/RtEC/Simple/ec.conf | 2 - TAO/orbsvcs/examples/RtEC/Simple/run_test.pl | 56 - TAO/orbsvcs/orbsvcs.dsw | 149 - TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp | 2694 -- TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h | 1361 - TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp | 433 - TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.h | 166 - TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp | 742 - TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.h | 224 - TAO/orbsvcs/orbsvcs/AV/Makefile.am | 42 - TAO/orbsvcs/orbsvcs/AV/README | 27 - TAO/orbsvcs/orbsvcs/AV/sfp.cpp | 1159 - TAO/orbsvcs/orbsvcs/AV/sfp.h | 262 - TAO/orbsvcs/orbsvcs/AVStreams.idl | 765 - TAO/orbsvcs/orbsvcs/AVStreams_Full.idl | 252 - TAO/orbsvcs/orbsvcs/Channel_Clients.cpp | 5 - TAO/orbsvcs/orbsvcs/Channel_Clients.h | 23 - TAO/orbsvcs/orbsvcs/Channel_Clients_T.cpp | 39 - TAO/orbsvcs/orbsvcs/Channel_Clients_T.h | 99 - TAO/orbsvcs/orbsvcs/Channel_Clients_T.i | 17 - TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp | 243 - TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.h | 140 - TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp | 330 - TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.h | 180 - .../orbsvcs/Concurrency/CC_LockSetFactory.cpp | 65 - .../orbsvcs/Concurrency/CC_LockSetFactory.h | 60 - .../orbsvcs/Concurrency/Concurrency_Utils.cpp | 97 - .../orbsvcs/Concurrency/Concurrency_Utils.h | 64 - TAO/orbsvcs/orbsvcs/Concurrency/Makefile.am | 41 - TAO/orbsvcs/orbsvcs/CosConcurrencyControl.idl | 199 - TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp | 75 - TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h | 76 - TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp | 135 - TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h | 99 - TAO/orbsvcs/orbsvcs/CosEvent/Makefile.am | 42 - .../orbsvcs/CosEvent/ProxyPushConsumer_i.cpp | 211 - TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h | 93 - .../orbsvcs/CosEvent/ProxyPushSupplier_i.cpp | 202 - TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h | 82 - TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp | 74 - TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h | 78 - TAO/orbsvcs/orbsvcs/CosEventChannelAdmin.idl | 181 - TAO/orbsvcs/orbsvcs/CosEventComm.idl | 126 - TAO/orbsvcs/orbsvcs/CosEvent_Utilities.cpp | 458 - TAO/orbsvcs/orbsvcs/CosEvent_Utilities.h | 164 - TAO/orbsvcs/orbsvcs/CosLifeCycle.idl | 126 - TAO/orbsvcs/orbsvcs/CosNaming.idl | 237 - TAO/orbsvcs/orbsvcs/CosPropertyService.idl | 413 - TAO/orbsvcs/orbsvcs/CosTrading.idl | 524 - TAO/orbsvcs/orbsvcs/CosTradingDynamic.idl | 50 - TAO/orbsvcs/orbsvcs/CosTradingRepos.idl | 159 - TAO/orbsvcs/orbsvcs/Event/BCU.cpp | 32 - TAO/orbsvcs/orbsvcs/Event/BCU.h | 41 - TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h | 13 - TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp | 782 - TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h | 507 - TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.i | 248 - TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp | 225 - TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.h | 119 - TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.i | 6 - .../orbsvcs/Event/EC_Basic_Filter_Builder.cpp | 95 - .../orbsvcs/Event/EC_Basic_Filter_Builder.h | 79 - .../orbsvcs/Event/EC_Basic_Filter_Builder.i | 8 - TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.cpp | 62 - TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h | 69 - TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.i | 8 - TAO/orbsvcs/orbsvcs/Event/EC_Command.cpp | 51 - TAO/orbsvcs/orbsvcs/Event/EC_Command.h | 165 - TAO/orbsvcs/orbsvcs/Event/EC_Command.i | 30 - .../orbsvcs/Event/EC_Conjunction_Filter.cpp | 209 - TAO/orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h | 114 - TAO/orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.i | 1 - TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp | 142 - TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h | 121 - TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.i | 19 - TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp | 687 - TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.h | 152 - TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.i | 21 - TAO/orbsvcs/orbsvcs/Event/EC_Defaults.h | 61 - .../orbsvcs/Event/EC_Disjunction_Filter.cpp | 163 - TAO/orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h | 98 - TAO/orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.i | 1 - TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.cpp | 48 - TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.h | 116 - TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.i | 1 - TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.cpp | 98 - TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.h | 123 - TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.i | 54 - TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp | 215 - TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.h | 292 - TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.i | 183 - TAO/orbsvcs/orbsvcs/Event/EC_Factory.cpp | 24 - TAO/orbsvcs/orbsvcs/Event/EC_Factory.h | 156 - TAO/orbsvcs/orbsvcs/Event/EC_Factory.i | 1 - TAO/orbsvcs/orbsvcs/Event/EC_Filter.cpp | 126 - TAO/orbsvcs/orbsvcs/Event/EC_Filter.h | 208 - TAO/orbsvcs/orbsvcs/Event/EC_Filter.i | 39 - TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.cpp | 29 - TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.h | 91 - TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.i | 6 - TAO/orbsvcs/orbsvcs/Event/EC_Gateway.cpp | 496 - TAO/orbsvcs/orbsvcs/Event/EC_Gateway.h | 198 - TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp | 1230 - TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h | 644 - TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.i | 88 - TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.cpp | 87 - TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.h | 100 - TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.i | 2 - TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp | 213 - TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h | 118 - TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.i | 6 - TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.cpp | 27 - TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.h | 74 - TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.i | 7 - TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp | 449 - TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h | 253 - TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.i | 47 - .../orbsvcs/Event/EC_Per_Supplier_Filter.cpp | 164 - TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h | 113 - TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.i | 9 - .../orbsvcs/Event/EC_Priority_Dispatching.cpp | 104 - .../orbsvcs/Event/EC_Priority_Dispatching.h | 91 - .../orbsvcs/Event/EC_Priority_Dispatching.i | 2 - .../orbsvcs/Event/EC_Priority_Scheduling.cpp | 79 - TAO/orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.h | 84 - TAO/orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.i | 8 - TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp | 319 - TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h | 161 - TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i | 37 - .../orbsvcs/Event/EC_ProxyPushSupplier_Set.cpp | 83 - .../orbsvcs/Event/EC_ProxyPushSupplier_Set.h | 274 - .../orbsvcs/Event/EC_ProxyPushSupplier_Set.i | 43 - .../orbsvcs/Event/EC_ProxyPushSupplier_Set_T.cpp | 187 - .../orbsvcs/Event/EC_ProxyPushSupplier_Set_T.h | 130 - .../orbsvcs/Event/EC_ProxyPushSupplier_Set_T.i | 19 - TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp | 519 - TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.h | 199 - TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.i | 41 - TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.cpp | 9 - TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.h | 56 - TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.i | 8 - .../Event/EC_Reactive_Timeout_Generator.cpp | 58 - .../orbsvcs/Event/EC_Reactive_Timeout_Generator.h | 74 - .../orbsvcs/Event/EC_Reactive_Timeout_Generator.i | 1 - TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.cpp | 231 - TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.h | 125 - TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.i | 1 - .../orbsvcs/Event/EC_Sched_Filter_Builder.cpp | 174 - .../orbsvcs/Event/EC_Sched_Filter_Builder.h | 82 - .../orbsvcs/Event/EC_Sched_Filter_Builder.i | 8 - .../orbsvcs/Event/EC_Scheduling_Strategy.cpp | 14 - TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.h | 78 - TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.i | 1 - TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp | 159 - TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h | 117 - TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.i | 13 - TAO/orbsvcs/orbsvcs/Event/EC_SupplierFiltering.cpp | 13 - TAO/orbsvcs/orbsvcs/Event/EC_SupplierFiltering.h | 123 - TAO/orbsvcs/orbsvcs/Event/EC_SupplierFiltering.i | 1 - .../orbsvcs/Event/EC_Supplier_Filter_Builder.cpp | 13 - .../orbsvcs/Event/EC_Supplier_Filter_Builder.h | 68 - .../orbsvcs/Event/EC_Supplier_Filter_Builder.i | 1 - TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.cpp | 133 - TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h | 119 - TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.i | 13 - TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp | 55 - TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.h | 101 - TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.i | 6 - .../orbsvcs/Event/EC_Trivial_Supplier_Filter.cpp | 117 - .../orbsvcs/Event/EC_Trivial_Supplier_Filter.h | 104 - .../orbsvcs/Event/EC_Trivial_Supplier_Filter.i | 2 - TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp | 103 - TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.h | 83 - TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.i | 2 - TAO/orbsvcs/orbsvcs/Event/EC_UDP_Admin.cpp | 24 - TAO/orbsvcs/orbsvcs/Event/EC_UDP_Admin.h | 71 - TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp | 3550 -- TAO/orbsvcs/orbsvcs/Event/Event_Channel.h | 1433 - TAO/orbsvcs/orbsvcs/Event/Event_Channel.i | 692 - TAO/orbsvcs/orbsvcs/Event/Event_Manip.cpp | 111 - TAO/orbsvcs/orbsvcs/Event/Event_Manip.h | 146 - TAO/orbsvcs/orbsvcs/Event/Event_Manip.i | 104 - TAO/orbsvcs/orbsvcs/Event/Fast_Reactor.h | 60 - TAO/orbsvcs/orbsvcs/Event/GPlot_File.cpp | 181 - TAO/orbsvcs/orbsvcs/Event/GPlot_File.h | 102 - TAO/orbsvcs/orbsvcs/Event/GPlot_File.i | 70 - TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.cpp | 11 - TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.h | 49 - TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.i | 5 - TAO/orbsvcs/orbsvcs/Event/Makefile.am | 149 - TAO/orbsvcs/orbsvcs/Event/Memory_Pools.cpp | 43 - TAO/orbsvcs/orbsvcs/Event/Memory_Pools.h | 85 - TAO/orbsvcs/orbsvcs/Event/Memory_Pools.i | 14 - TAO/orbsvcs/orbsvcs/Event/Module_Factory.cpp | 179 - TAO/orbsvcs/orbsvcs/Event/Module_Factory.h | 171 - TAO/orbsvcs/orbsvcs/Event/README | 337 - TAO/orbsvcs/orbsvcs/Event/RT_Task.cpp | 517 - TAO/orbsvcs/orbsvcs/Event/RT_Task.h | 184 - TAO/orbsvcs/orbsvcs/Event/RT_Task.i | 8 - TAO/orbsvcs/orbsvcs/Event/ReactorTask.cpp | 154 - TAO/orbsvcs/orbsvcs/Event/ReactorTask.h | 81 - TAO/orbsvcs/orbsvcs/Event/Timer_Module.cpp | 275 - TAO/orbsvcs/orbsvcs/Event/Timer_Module.h | 205 - TAO/orbsvcs/orbsvcs/Event/Timer_Module.i | 32 - TAO/orbsvcs/orbsvcs/Event_Service_Constants.h | 111 - TAO/orbsvcs/orbsvcs/Event_Utilities.cpp | 133 - TAO/orbsvcs/orbsvcs/Event_Utilities.h | 222 - TAO/orbsvcs/orbsvcs/Event_Utilities.i | 100 - TAO/orbsvcs/orbsvcs/IOR_Multicast.cpp | 203 - TAO/orbsvcs/orbsvcs/IOR_Multicast.h | 104 - TAO/orbsvcs/orbsvcs/IR_Helper.cpp | 244 - TAO/orbsvcs/orbsvcs/IR_Helper.h | 73 - TAO/orbsvcs/orbsvcs/ImplRepo.idl | 182 - TAO/orbsvcs/orbsvcs/LifeCycleService.idl | 75 - TAO/orbsvcs/orbsvcs/Makefile | 38533 ------------------- TAO/orbsvcs/orbsvcs/Makefile.am | 103 - TAO/orbsvcs/orbsvcs/Makefile.bor | 216 - TAO/orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.cpp | 219 - TAO/orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.h | 130 - TAO/orbsvcs/orbsvcs/Naming/Entries.cpp | 122 - TAO/orbsvcs/orbsvcs/Naming/Entries.h | 132 - TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp | 579 - TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h | 227 - TAO/orbsvcs/orbsvcs/Naming/Makefile.am | 42 - TAO/orbsvcs/orbsvcs/Naming/Naming_Context.cpp | 144 - TAO/orbsvcs/orbsvcs/Naming/Naming_Context.h | 294 - TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp | 317 - TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h | 172 - .../orbsvcs/Naming/Persistent_Context_Index.cpp | 344 - .../orbsvcs/Naming/Persistent_Context_Index.h | 150 - TAO/orbsvcs/orbsvcs/Naming/Persistent_Entries.cpp | 204 - TAO/orbsvcs/orbsvcs/Naming/Persistent_Entries.h | 226 - .../orbsvcs/Naming/Persistent_Naming_Context.cpp | 573 - .../orbsvcs/Naming/Persistent_Naming_Context.h | 238 - TAO/orbsvcs/orbsvcs/Naming/README | 68 - .../orbsvcs/Naming/Transient_Naming_Context.cpp | 371 - .../orbsvcs/Naming/Transient_Naming_Context.h | 179 - TAO/orbsvcs/orbsvcs/Null_MediaCtrl.idl | 5 - .../orbsvcs/Property/CosPropertyService_i.cpp | 1903 - .../orbsvcs/Property/CosPropertyService_i.h | 611 - TAO/orbsvcs/orbsvcs/Property/Makefile.am | 34 - TAO/orbsvcs/orbsvcs/RtecEventChannelAdmin.idl | 180 - TAO/orbsvcs/orbsvcs/RtecEventComm.idl | 111 - TAO/orbsvcs/orbsvcs/RtecScheduler.idl | 388 - TAO/orbsvcs/orbsvcs/RtecUDPAdmin.idl | 33 - TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp | 297 - TAO/orbsvcs/orbsvcs/Runtime_Scheduler.h | 156 - TAO/orbsvcs/orbsvcs/Runtime_Scheduler.i | 5 - TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp | 490 - TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h | 188 - TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.i | 5 - TAO/orbsvcs/orbsvcs/Sched/DynSched.cpp | 2409 -- TAO/orbsvcs/orbsvcs/Sched/DynSched.h | 535 - TAO/orbsvcs/orbsvcs/Sched/DynSched.i | 111 - TAO/orbsvcs/orbsvcs/Sched/Makefile.am | 47 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.cpp | 576 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.h | 288 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.i | 17 - .../orbsvcs/Sched/Reconfig_Sched_Utils_T.cpp | 882 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.h | 408 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.i | 16 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.cpp | 42 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.h | 46 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.i | 16 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp | 1531 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.h | 483 - TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.i | 16 - TAO/orbsvcs/orbsvcs/Sched/SchedEntry.cpp | 932 - TAO/orbsvcs/orbsvcs/Sched/SchedEntry.h | 640 - TAO/orbsvcs/orbsvcs/Sched/SchedEntry.i | 442 - TAO/orbsvcs/orbsvcs/Sched/Scheduler.cpp | 300 - TAO/orbsvcs/orbsvcs/Sched/Scheduler.h | 301 - TAO/orbsvcs/orbsvcs/Sched/Scheduler.i | 20 - TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp | 286 - TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h | 137 - TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.i | 21 - TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp | 1419 - TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.h | 497 - TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.i | 21 - TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp | 429 - TAO/orbsvcs/orbsvcs/Scheduler_Factory.h | 210 - TAO/orbsvcs/orbsvcs/Scheduler_Factory.i | 15 - TAO/orbsvcs/orbsvcs/Scheduler_Utilities.cpp | 12 - TAO/orbsvcs/orbsvcs/Scheduler_Utilities.h | 67 - TAO/orbsvcs/orbsvcs/Scheduler_Utilities.i | 40 - TAO/orbsvcs/orbsvcs/Time/Makefile.am | 42 - TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp | 270 - TAO/orbsvcs/orbsvcs/Time/TAO_TIO.h | 83 - .../orbsvcs/Time/TAO_Time_Service_Clerk.cpp | 175 - TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h | 134 - .../orbsvcs/Time/TAO_Time_Service_Server.cpp | 127 - TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h | 82 - TAO/orbsvcs/orbsvcs/Time/TAO_UTO.cpp | 241 - TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h | 109 - TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp | 156 - TAO/orbsvcs/orbsvcs/Time/Timer_Helper.h | 72 - TAO/orbsvcs/orbsvcs/TimeBase.idl | 16 - TAO/orbsvcs/orbsvcs/TimeService.idl | 179 - TAO/orbsvcs/orbsvcs/Time_Utilities.cpp | 9 - TAO/orbsvcs/orbsvcs/Time_Utilities.h | 73 - TAO/orbsvcs/orbsvcs/Time_Utilities.i | 63 - .../orbsvcs/Trader/Constraint_Interpreter.cpp | 342 - .../orbsvcs/Trader/Constraint_Interpreter.h | 221 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp | 921 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.h | 323 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Tokens.h | 36 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp | 1277 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.h | 438 - TAO/orbsvcs/orbsvcs/Trader/Constraint_l.cpp | 1765 - TAO/orbsvcs/orbsvcs/Trader/Constraint_y.cpp | 898 - TAO/orbsvcs/orbsvcs/Trader/Locking.h | 47 - TAO/orbsvcs/orbsvcs/Trader/Makefile.am | 57 - TAO/orbsvcs/orbsvcs/Trader/Offer_Database.cpp | 386 - TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h | 199 - TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp | 334 - TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h | 282 - TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp | 94 - TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h | 80 - .../orbsvcs/Trader/Service_Type_Repository.cpp | 652 - .../orbsvcs/Trader/Service_Type_Repository.h | 298 - TAO/orbsvcs/orbsvcs/Trader/Trader.cpp | 1051 - TAO/orbsvcs/orbsvcs/Trader/Trader.h | 534 - TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp | 1918 - TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h | 1003 - TAO/orbsvcs/orbsvcs/Trader/Trader_T.cpp | 339 - TAO/orbsvcs/orbsvcs/Trader/Trader_T.h | 262 - TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp | 1503 - TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.h | 733 - TAO/orbsvcs/orbsvcs/Trader/constraint.l | 131 - TAO/orbsvcs/orbsvcs/Trader/constraint.y | 136 - TAO/orbsvcs/orbsvcs/orbsvcs.dsp | 7312 ---- TAO/orbsvcs/orbsvcs/orbsvcs.dsw | 41 - TAO/orbsvcs/orbsvcs/orbsvcs_export.h | 35 - TAO/orbsvcs/orbsvcs/orbsvcs_static.dsp | 3192 -- TAO/orbsvcs/orbsvcs/sfp.idl | 122 - TAO/orbsvcs/tests/AVStreams/Makefile | 23 - TAO/orbsvcs/tests/AVStreams/Makefile.am | 23 - TAO/orbsvcs/tests/AVStreams/README | 27 - .../tests/AVStreams/benchmark/AV_benchmark.dsw | 53 - TAO/orbsvcs/tests/AVStreams/benchmark/Makefile | 1604 - TAO/orbsvcs/tests/AVStreams/benchmark/Makefile.am | 53 - TAO/orbsvcs/tests/AVStreams/benchmark/README | 28 - .../AVStreams/benchmark/av_benchmark_child.dsp | 100 - .../AVStreams/benchmark/av_benchmark_client.dsp | 96 - .../AVStreams/benchmark/av_benchmark_server.dsp | 104 - TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp | 136 - TAO/orbsvcs/tests/AVStreams/benchmark/child.h | 81 - .../tests/AVStreams/benchmark/child_process.cpp | 23 - TAO/orbsvcs/tests/AVStreams/benchmark/client.cpp | 527 - TAO/orbsvcs/tests/AVStreams/benchmark/client.h | 207 - TAO/orbsvcs/tests/AVStreams/benchmark/clnt.conf | 6 - TAO/orbsvcs/tests/AVStreams/benchmark/run_test.pl | 80 - TAO/orbsvcs/tests/AVStreams/benchmark/server.cpp | 305 - TAO/orbsvcs/tests/AVStreams/benchmark/server.h | 109 - TAO/orbsvcs/tests/AVStreams/benchmark/svc.conf | 6 - TAO/orbsvcs/tests/AVStreams/mpeg/INSTALL.UCB | 105 - TAO/orbsvcs/tests/AVStreams/mpeg/Makefile | 24 - TAO/orbsvcs/tests/AVStreams/mpeg/Makefile.am | 27 - TAO/orbsvcs/tests/AVStreams/mpeg/PatchLevel | 12 - TAO/orbsvcs/tests/AVStreams/mpeg/README | 71 - TAO/orbsvcs/tests/AVStreams/mpeg/README.MI | 39 - TAO/orbsvcs/tests/AVStreams/mpeg/README.OGI | 142 - TAO/orbsvcs/tests/AVStreams/mpeg/README.UCB | 105 - TAO/orbsvcs/tests/AVStreams/mpeg/source/Makefile | 32 - .../tests/AVStreams/mpeg/source/Makefile.am | 29 - TAO/orbsvcs/tests/AVStreams/mpeg/source/TODO | 50 - .../tests/AVStreams/mpeg/source/client/Makefile | 137 - .../tests/AVStreams/mpeg/source/client/Makefile.am | 35 - .../tests/AVStreams/mpeg/source/client/svc.conf | 5 - .../tests/AVStreams/mpeg/source/client/vcr.cpp | 465 - .../tests/AVStreams/mpeg/source/include/common.h | 591 - .../AVStreams/mpeg/source/mpeg_client/24bit.cpp | 218 - .../AVStreams/mpeg/source/mpeg_client/2x2.cpp | 377 - .../mpeg/source/mpeg_client/Command_Handler.cpp | 3219 -- .../mpeg/source/mpeg_client/Command_Handler.h | 617 - .../AVStreams/mpeg/source/mpeg_client/Makefile | 96 - .../AVStreams/mpeg/source/mpeg_client/Makefile.am | 83 - .../tests/AVStreams/mpeg/source/mpeg_client/ab.cpp | 575 - .../tests/AVStreams/mpeg/source/mpeg_client/ab.h | 161 - .../AVStreams/mpeg/source/mpeg_client/audio.cpp | 494 - .../AVStreams/mpeg/source/mpeg_client/ctr.cpp | 999 - .../AVStreams/mpeg/source/mpeg_client/decoders.cpp | 937 - .../AVStreams/mpeg/source/mpeg_client/decoders.h | 480 - .../AVStreams/mpeg/source/mpeg_client/dither.h | 36 - .../AVStreams/mpeg/source/mpeg_client/file.cpp | 150 - .../AVStreams/mpeg/source/mpeg_client/fs2.cpp | 398 - .../tests/AVStreams/mpeg/source/mpeg_client/fs2.h | 33 - .../AVStreams/mpeg/source/mpeg_client/fs2fast.cpp | 300 - .../AVStreams/mpeg/source/mpeg_client/fs4.cpp | 312 - .../tests/AVStreams/mpeg/source/mpeg_client/fs4.h | 35 - .../AVStreams/mpeg/source/mpeg_client/global.cpp | 96 - .../AVStreams/mpeg/source/mpeg_client/global.h | 67 - .../AVStreams/mpeg/source/mpeg_client/gray.cpp | 85 - .../AVStreams/mpeg/source/mpeg_client/hybrid.cpp | 237 - .../mpeg/source/mpeg_client/hybriderr.cpp | 360 - .../AVStreams/mpeg/source/mpeg_client/info.cpp | 85 - .../mpeg/source/mpeg_client/interface/Info.mib | 78 - .../mpeg/source/mpeg_client/interface/MW.mib | 229 - .../source/mpeg_client/interface/MainWindow.mib | 324 - .../mpeg/source/mpeg_client/interface/fb.xbm | 9 - .../mpeg/source/mpeg_client/interface/ff.xbm | 8 - .../mpeg/source/mpeg_client/interface/loop.xbm | 8 - .../mpeg_client/interface/old.MainWindow.mib | 305 - .../mpeg/source/mpeg_client/interface/play.xbm | 8 - .../mpeg/source/mpeg_client/interface/rewind.xbm | 8 - .../mpeg/source/mpeg_client/interface/step.xbm | 8 - .../mpeg/source/mpeg_client/interface/stop.xbm | 8 - .../AVStreams/mpeg/source/mpeg_client/jrevdct.cpp | 1461 - .../mpeg/source/mpeg_client/mb_ordered.cpp | 517 - .../AVStreams/mpeg/source/mpeg_client/mibload.h | 155 - .../AVStreams/mpeg/source/mpeg_client/mono.cpp | 256 - .../mpeg/source/mpeg_client/motionvector.cpp | 197 - .../AVStreams/mpeg/source/mpeg_client/newproto.h | 110 - .../AVStreams/mpeg/source/mpeg_client/ordered.cpp | 290 - .../AVStreams/mpeg/source/mpeg_client/ordered2.cpp | 328 - .../AVStreams/mpeg/source/mpeg_client/para.cpp | 375 - .../mpeg/source/mpeg_client/parseblock.cpp | 461 - .../AVStreams/mpeg/source/mpeg_client/prog.cpp | 933 - .../AVStreams/mpeg/source/mpeg_client/proto.h | 128 - .../tests/AVStreams/mpeg/source/mpeg_client/ui.cpp | 999 - .../tests/AVStreams/mpeg/source/mpeg_client/ui.h | 18 - .../AVStreams/mpeg/source/mpeg_client/util.cpp | 468 - .../tests/AVStreams/mpeg/source/mpeg_client/util.h | 368 - .../AVStreams/mpeg/source/mpeg_client/util32.cpp | 81 - .../tests/AVStreams/mpeg/source/mpeg_client/vb.cpp | 1129 - .../tests/AVStreams/mpeg/source/mpeg_client/vb.h | 265 - .../tests/AVStreams/mpeg/source/mpeg_client/vd.cpp | 933 - .../AVStreams/mpeg/source/mpeg_client/video.cpp | 3761 -- .../AVStreams/mpeg/source/mpeg_client/video.h | 285 - .../tests/AVStreams/mpeg/source/mpeg_client/vp.cpp | 921 - .../tests/AVStreams/mpeg/source/mpeg_mib/Makefile | 321 - .../AVStreams/mpeg/source/mpeg_mib/Makefile.am | 48 - .../AVStreams/mpeg/source/mpeg_mib/mibButton.cpp | 176 - .../AVStreams/mpeg/source/mpeg_mib/mibDrawArea.cpp | 121 - .../AVStreams/mpeg/source/mpeg_mib/mibFrame.cpp | 182 - .../AVStreams/mpeg/source/mpeg_mib/mibLabel.cpp | 168 - .../AVStreams/mpeg/source/mpeg_mib/mibList.cpp | 167 - .../AVStreams/mpeg/source/mpeg_mib/mibMenu.cpp | 250 - .../AVStreams/mpeg/source/mpeg_mib/mibRadioBox.cpp | 210 - .../AVStreams/mpeg/source/mpeg_mib/mibScale.cpp | 204 - .../mpeg/source/mpeg_mib/mibScrollBar.cpp | 164 - .../AVStreams/mpeg/source/mpeg_mib/mibTextBig.cpp | 147 - .../AVStreams/mpeg/source/mpeg_mib/mibTextBox.cpp | 133 - .../AVStreams/mpeg/source/mpeg_mib/mibToggle.cpp | 194 - .../AVStreams/mpeg/source/mpeg_mib/mibload.cpp | 804 - .../tests/AVStreams/mpeg/source/mpeg_mib/mibload.h | 172 - .../AVStreams/mpeg/source/mpeg_mib/mibwidgets.h | 225 - .../source/mpeg_server/Audio_Control_State.cpp | 166 - .../mpeg/source/mpeg_server/Audio_Control_State.h | 84 - .../mpeg/source/mpeg_server/Audio_Control_i.cpp | 264 - .../mpeg/source/mpeg_server/Audio_Control_i.h | 80 - .../mpeg/source/mpeg_server/Audio_Server.cpp | 300 - .../mpeg/source/mpeg_server/Audio_Server.h | 121 - .../AVStreams/mpeg/source/mpeg_server/Globals.cpp | 2943 -- .../AVStreams/mpeg/source/mpeg_server/Globals.h | 399 - .../AVStreams/mpeg/source/mpeg_server/Makefile | 1664 - .../AVStreams/mpeg/source/mpeg_server/Makefile.am | 52 - .../source/mpeg_server/Video_Control_State.cpp | 495 - .../mpeg/source/mpeg_server/Video_Control_State.h | 189 - .../mpeg/source/mpeg_server/Video_Control_i.cpp | 278 - .../mpeg/source/mpeg_server/Video_Control_i.h | 97 - .../mpeg/source/mpeg_server/Video_Server.cpp | 254 - .../mpeg/source/mpeg_server/Video_Server.h | 152 - .../tests/AVStreams/mpeg/source/mpeg_server/as.cpp | 708 - .../AVStreams/mpeg/source/mpeg_server/las.cpp | 254 - .../AVStreams/mpeg/source/mpeg_server/lvs.cpp | 413 - .../mpeg/source/mpeg_server/server_proto.h | 63 - .../tests/AVStreams/mpeg/source/mpeg_server/vs.cpp | 2168 -- .../mpeg/source/mpeg_shared/Audio_Control.idl | 78 - .../mpeg/source/mpeg_shared/MMDevice_Exporter.idl | 8 - .../AVStreams/mpeg/source/mpeg_shared/Makefile | 181 - .../AVStreams/mpeg/source/mpeg_shared/Makefile.am | 85 - .../AVStreams/mpeg/source/mpeg_shared/Receiver.idl | 7 - .../mpeg/source/mpeg_shared/Video_Control.idl | 112 - .../AVStreams/mpeg/source/mpeg_shared/com.cpp | 2136 - .../tests/AVStreams/mpeg/source/mpeg_shared/com.h | 112 - .../AVStreams/mpeg/source/mpeg_shared/fileio.cpp | 410 - .../AVStreams/mpeg/source/mpeg_shared/fileio.h | 100 - .../AVStreams/mpeg/source/mpeg_shared/filters.cpp | 370 - .../AVStreams/mpeg/source/mpeg_shared/filters.h | 91 - .../AVStreams/mpeg/source/mpeg_shared/routine.cpp | 523 - .../AVStreams/mpeg/source/mpeg_shared/routine.h | 55 - .../AVStreams/mpeg/source/mpeg_shared/sendpt.cpp | 140 - .../AVStreams/mpeg/source/mpeg_shared/sendpt.h | 39 - .../mpeg/source/server/Machine_Properties.cpp | 291 - .../mpeg/source/server/Machine_Properties.h | 97 - .../tests/AVStreams/mpeg/source/server/Makefile | 97 - .../tests/AVStreams/mpeg/source/server/Makefile.am | 73 - .../mpeg/source/server/Property_Exporter.cpp | 423 - .../mpeg/source/server/Property_Exporter.h | 211 - .../mpeg/source/server/Video_Repository.cpp | 159 - .../mpeg/source/server/Video_Repository.h | 90 - .../mpeg/source/server/Video_Repository.idl | 32 - .../tests/AVStreams/mpeg/source/server/as.cpp | 79 - .../tests/AVStreams/mpeg/source/server/as.h | 59 - .../mpeg/source/server/augmented_server.cpp | 731 - .../mpeg/source/server/augmented_server.h | 301 - .../tests/AVStreams/mpeg/source/server/server.cpp | 482 - .../tests/AVStreams/mpeg/source/server/server.h | 196 - .../tests/AVStreams/mpeg/source/server/svc.conf | 6 - .../tests/AVStreams/mpeg/source/server/vcrs.cpp | 264 - .../tests/AVStreams/mpeg/source/server/vs.cpp | 79 - .../tests/AVStreams/mpeg/source/server/vs.h | 60 - TAO/orbsvcs/tests/AVStreams/mpeg/vcr.1 | 610 - TAO/orbsvcs/tests/AVStreams/mpeg/vcrs.1 | 1 - .../tests/AVStreams/server_discovery/AV_Demo | 191 - .../tests/AVStreams/server_discovery/Makefile | 1085 - .../tests/AVStreams/server_discovery/Makefile.am | 59 - .../tests/AVStreams/server_discovery/Queue.java | 189 - .../tests/AVStreams/server_discovery/README | 33 - .../Server_0005fDiscovery_0005fUtil.h | 54 - .../server_discovery/Server_Discovery.cpp | 338 - .../server_discovery/Server_Discovery.java | 142 - .../server_discovery/Server_Discovery_Browser.java | 141 - .../server_discovery/Server_Discovery_Perf.java | 145 - .../Server_Discovery_Selection.java | 291 - .../server_discovery/Server_Discovery_Util.java | 30 - .../AVStreams/server_discovery/Strip_Chart.java | 203 - .../AVStreams/server_discovery/Trader_Client.cpp | 455 - .../AVStreams/server_discovery/Trader_Client.h | 156 - .../tests/AVStreams/server_discovery/graph02.gif | Bin 231 -> 0 bytes .../tests/AVStreams/server_discovery/graph09.gif | Bin 343 -> 0 bytes .../tests/AVStreams/server_discovery/main.cpp | 75 - .../tests/AVStreams/server_discovery/mmedia3.gif | Bin 321 -> 0 bytes .../tests/AVStreams/server_discovery/server01.gif | Bin 342 -> 0 bytes .../tests/AVStreams/server_discovery/server02.gif | Bin 268 -> 0 bytes .../tests/AVStreams/server_discovery/www1.gif | Bin 348 -> 0 bytes TAO/orbsvcs/tests/AVStreams/sfp/Makefile | 610 - TAO/orbsvcs/tests/AVStreams/sfp/Makefile.am | 42 - TAO/orbsvcs/tests/AVStreams/sfp/README | 16 - TAO/orbsvcs/tests/AVStreams/sfp/client.cpp | 127 - TAO/orbsvcs/tests/AVStreams/sfp/common.h | 12 - TAO/orbsvcs/tests/AVStreams/sfp/run_test.pl | 45 - TAO/orbsvcs/tests/AVStreams/sfp/server.cpp | 78 - TAO/orbsvcs/tests/AVStreams/sfp/sfp_client.dsp | 95 - TAO/orbsvcs/tests/AVStreams/sfp/sfp_server.dsp | 95 - TAO/orbsvcs/tests/AVStreams/sfp/sfp_tests.dsw | 41 - TAO/orbsvcs/tests/Concurrency/CC_client.cpp | 465 - TAO/orbsvcs/tests/Concurrency/CC_client.dsp | 143 - TAO/orbsvcs/tests/Concurrency/CC_client.h | 143 - TAO/orbsvcs/tests/Concurrency/CC_command.cpp | 668 - TAO/orbsvcs/tests/Concurrency/CC_command.h | 471 - TAO/orbsvcs/tests/Concurrency/CC_command.l | 58 - TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp | 697 - .../tests/Concurrency/CC_command.tab.cpp.diff | 25 - TAO/orbsvcs/tests/Concurrency/CC_command.tab.h | 29 - TAO/orbsvcs/tests/Concurrency/CC_command.y | 126 - .../tests/Concurrency/CC_naming_service.cpp | 182 - TAO/orbsvcs/tests/Concurrency/CC_naming_service.h | 87 - TAO/orbsvcs/tests/Concurrency/CC_test_utils.cpp | 72 - TAO/orbsvcs/tests/Concurrency/CC_test_utils.h | 37 - TAO/orbsvcs/tests/Concurrency/CC_tests.cpp | 384 - TAO/orbsvcs/tests/Concurrency/CC_tests.h | 184 - TAO/orbsvcs/tests/Concurrency/Concurrency.dsw | 29 - TAO/orbsvcs/tests/Concurrency/Makefile | 2281 -- TAO/orbsvcs/tests/Concurrency/NS_client.cpp | 213 - TAO/orbsvcs/tests/Concurrency/NS_client.h | 93 - TAO/orbsvcs/tests/Concurrency/README | 111 - TAO/orbsvcs/tests/Concurrency/lex.CC_command.cpp | 1734 - .../tests/Concurrency/lex.CC_command.cpp.diff | 225 - TAO/orbsvcs/tests/Concurrency/test.basic | 21 - TAO/orbsvcs/tests/Concurrency/test.dinphil | 12 - TAO/orbsvcs/tests/Concurrency/test.e1 | 2 - TAO/orbsvcs/tests/Concurrency/test.extended | 4 - TAO/orbsvcs/tests/Concurrency/test.phil1 | 6 - TAO/orbsvcs/tests/Concurrency/test.phil2 | 6 - TAO/orbsvcs/tests/Concurrency/test.phil3 | 6 - TAO/orbsvcs/tests/Concurrency/test.phil4 | 6 - TAO/orbsvcs/tests/Concurrency/test.phil5 | 6 - TAO/orbsvcs/tests/Concurrency/tmplinst.cpp | 14 - TAO/orbsvcs/tests/CosEC_Basic/CosECConsumer.cpp | 95 - TAO/orbsvcs/tests/CosEC_Basic/CosECConsumer.h | 75 - TAO/orbsvcs/tests/CosEC_Basic/CosECSupplier.cpp | 86 - TAO/orbsvcs/tests/CosEC_Basic/CosECSupplier.h | 64 - TAO/orbsvcs/tests/CosEC_Basic/CosEC_Basic.cpp | 263 - TAO/orbsvcs/tests/CosEC_Basic/CosEC_Basic.h | 110 - TAO/orbsvcs/tests/CosEC_Basic/Makefile | 958 - TAO/orbsvcs/tests/CosEC_Basic/README | 26 - TAO/orbsvcs/tests/CosEC_Multiple/CosECConsumer.cpp | 199 - TAO/orbsvcs/tests/CosEC_Multiple/CosECConsumer.h | 87 - TAO/orbsvcs/tests/CosEC_Multiple/CosECSupplier.cpp | 187 - TAO/orbsvcs/tests/CosEC_Multiple/CosECSupplier.h | 79 - .../tests/CosEC_Multiple/CosEC_Multiple.cpp | 146 - TAO/orbsvcs/tests/CosEC_Multiple/CosEC_Multiple.h | 78 - TAO/orbsvcs/tests/CosEC_Multiple/Makefile | 950 - TAO/orbsvcs/tests/CosEC_Multiple/README | 77 - TAO/orbsvcs/tests/CosEC_Multiple/run_test.pl | 159 - TAO/orbsvcs/tests/CosEC_Multiple/run_test2.pl | 116 - TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp | 1184 - TAO/orbsvcs/tests/EC_Basic/EC_Basic.dsp | 94 - TAO/orbsvcs/tests/EC_Basic/EC_Basic.dsw | 29 - TAO/orbsvcs/tests/EC_Basic/EC_Basic.h | 357 - TAO/orbsvcs/tests/EC_Basic/EC_Basic.i | 15 - TAO/orbsvcs/tests/EC_Basic/Makefile | 403 - TAO/orbsvcs/tests/EC_Basic/README | 12 - TAO/orbsvcs/tests/EC_Basic/run_test.pl | 22 - .../tests/EC_Custom_Marshal/ECCM_Consumer.dsp | 228 - .../tests/EC_Custom_Marshal/ECCM_Supplier.dsp | 228 - .../tests/EC_Custom_Marshal/ECM_Consumer.cpp | 432 - TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.h | 118 - TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Data.cpp | 66 - TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Data.h | 42 - .../tests/EC_Custom_Marshal/ECM_Supplier.cpp | 507 - TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.h | 145 - .../tests/EC_Custom_Marshal/EC_Custom_Marshal.dsw | 41 - TAO/orbsvcs/tests/EC_Custom_Marshal/Makefile | 1455 - TAO/orbsvcs/tests/EC_Custom_Marshal/README | 19 - TAO/orbsvcs/tests/EC_Custom_Marshal/data.idl | 21 - TAO/orbsvcs/tests/EC_Custom_Marshal/run_test.pl | 70 - TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp | 1139 - TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.dsp | 96 - TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.dsw | 29 - TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.h | 520 - TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.i | 120 - TAO/orbsvcs/tests/EC_Mcast/Makefile | 383 - TAO/orbsvcs/tests/EC_Mcast/README | 21 - TAO/orbsvcs/tests/EC_Mcast/run_test.pl | 30 - TAO/orbsvcs/tests/EC_Mcast/sample.cfg | 64 - TAO/orbsvcs/tests/EC_Mcast/svc.conf | 2 - TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp | 1640 - TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.dsp | 112 - TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.dsw | 29 - TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.h | 385 - TAO/orbsvcs/tests/EC_Multiple/Makefile | 410 - TAO/orbsvcs/tests/EC_Multiple/README | 34 - TAO/orbsvcs/tests/EC_Multiple/Scheduler_Runtime1.h | 162 - TAO/orbsvcs/tests/EC_Multiple/Scheduler_Runtime2.h | 160 - .../tests/EC_Multiple/Scheduler_Runtime_Dynamic.h | 1032 - TAO/orbsvcs/tests/EC_Multiple/dyn_plot | 77 - TAO/orbsvcs/tests/EC_Multiple/gen_dynamic | 68 - TAO/orbsvcs/tests/EC_Multiple/gen_latency | 90 - TAO/orbsvcs/tests/EC_Multiple/gen_overhead | 114 - TAO/orbsvcs/tests/EC_Multiple/gen_throughput | 43 - TAO/orbsvcs/tests/EC_Multiple/gen_utilization | 80 - TAO/orbsvcs/tests/EC_Multiple/histo.pl | 76 - TAO/orbsvcs/tests/EC_Multiple/run_dynamic | 59 - TAO/orbsvcs/tests/EC_Multiple/run_latency | 50 - TAO/orbsvcs/tests/EC_Multiple/run_overhead | 113 - TAO/orbsvcs/tests/EC_Multiple/run_schedule | 43 - TAO/orbsvcs/tests/EC_Multiple/run_test.pl | 42 - TAO/orbsvcs/tests/EC_Multiple/run_throughput | 35 - TAO/orbsvcs/tests/EC_Multiple/run_utilization | 55 - TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp | 193 - TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer.dsp | 120 - TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer.h | 97 - .../tests/EC_Throughput/ECT_Consumer_Driver.cpp | 348 - .../tests/EC_Throughput/ECT_Consumer_Driver.h | 96 - TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.cpp | 137 - TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.h | 117 - TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.i | 79 - .../tests/EC_Throughput/ECT_Scheduler_Info.h | 80 - TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp | 248 - TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.dsp | 120 - TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.h | 98 - .../tests/EC_Throughput/ECT_Supplier_Driver.cpp | 376 - .../tests/EC_Throughput/ECT_Supplier_Driver.h | 92 - TAO/orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp | 719 - TAO/orbsvcs/tests/EC_Throughput/ECT_Throughput.dsp | 123 - TAO/orbsvcs/tests/EC_Throughput/ECT_Throughput.h | 140 - TAO/orbsvcs/tests/EC_Throughput/EC_Throughput.dsw | 53 - TAO/orbsvcs/tests/EC_Throughput/Makefile | 1668 - TAO/orbsvcs/tests/EC_Throughput/README | 34 - TAO/orbsvcs/tests/EC_Throughput/ec.conf | 2 - TAO/orbsvcs/tests/EC_Throughput/ec.mt.conf | 2 - TAO/orbsvcs/tests/EC_Throughput/run_test.pl | 103 - TAO/orbsvcs/tests/Event/Basic/BCast.cpp | 205 - TAO/orbsvcs/tests/Event/Basic/BCast.dsp | 101 - TAO/orbsvcs/tests/Event/Basic/BCast.h | 79 - TAO/orbsvcs/tests/Event/Basic/Basic.dsw | 77 - TAO/orbsvcs/tests/Event/Basic/Makefile | 1635 - TAO/orbsvcs/tests/Event/Basic/Observer.cpp | 380 - TAO/orbsvcs/tests/Event/Basic/Observer.dsp | 102 - TAO/orbsvcs/tests/Event/Basic/Observer.h | 123 - TAO/orbsvcs/tests/Event/Basic/README | 43 - TAO/orbsvcs/tests/Event/Basic/Reconnect.cpp | 236 - TAO/orbsvcs/tests/Event/Basic/Reconnect.dsp | 102 - TAO/orbsvcs/tests/Event/Basic/Reconnect.h | 79 - TAO/orbsvcs/tests/Event/Basic/Schedule.cpp | 210 - TAO/orbsvcs/tests/Event/Basic/Schedule.dsp | 102 - TAO/orbsvcs/tests/Event/Basic/Schedule.h | 85 - TAO/orbsvcs/tests/Event/Basic/Shutdown.cpp | 82 - TAO/orbsvcs/tests/Event/Basic/Shutdown.dsp | 102 - TAO/orbsvcs/tests/Event/Basic/Shutdown.h | 60 - TAO/orbsvcs/tests/Event/Basic/observer.conf | 2 - TAO/orbsvcs/tests/Event/Basic/run_test.pl | 61 - TAO/orbsvcs/tests/Event/Basic/sched.conf | 2 - TAO/orbsvcs/tests/Event/Basic/svc.conf | 2 - TAO/orbsvcs/tests/Event/Event.dsw | 134 - TAO/orbsvcs/tests/Event/Makefile | 24 - TAO/orbsvcs/tests/Event/Performance/Connect.cpp | 385 - TAO/orbsvcs/tests/Event/Performance/Connect.dsp | 99 - TAO/orbsvcs/tests/Event/Performance/Connect.h | 130 - .../tests/Event/Performance/ECPerformance.dsw | 41 - TAO/orbsvcs/tests/Event/Performance/Makefile | 671 - TAO/orbsvcs/tests/Event/Performance/README | 50 - TAO/orbsvcs/tests/Event/Performance/Throughput.cpp | 65 - TAO/orbsvcs/tests/Event/Performance/Throughput.dsp | 101 - TAO/orbsvcs/tests/Event/Performance/Throughput.h | 56 - TAO/orbsvcs/tests/Event/Performance/ec.mt.conf | 2 - TAO/orbsvcs/tests/Event/Performance/ec.st.conf | 2 - TAO/orbsvcs/tests/Event/Performance/run_test.pl | 98 - TAO/orbsvcs/tests/Event/lib/Consumer.cpp | 167 - TAO/orbsvcs/tests/Event/lib/Consumer.h | 119 - TAO/orbsvcs/tests/Event/lib/Driver.cpp | 1232 - TAO/orbsvcs/tests/Event/lib/Driver.h | 407 - TAO/orbsvcs/tests/Event/lib/Driver.i | 66 - TAO/orbsvcs/tests/Event/lib/ECTest.dsp | 134 - TAO/orbsvcs/tests/Event/lib/ECTest.dsw | 29 - TAO/orbsvcs/tests/Event/lib/Makefile | 966 - TAO/orbsvcs/tests/Event/lib/README | 5 - TAO/orbsvcs/tests/Event/lib/Supplier.cpp | 299 - TAO/orbsvcs/tests/Event/lib/Supplier.h | 187 - TAO/orbsvcs/tests/Event/lib/ectest_export.h | 36 - TAO/orbsvcs/tests/Event_Latency/Event_Latency.cpp | 967 - TAO/orbsvcs/tests/Event_Latency/Event_Latency.dsp | 104 - TAO/orbsvcs/tests/Event_Latency/Event_Latency.dsw | 29 - TAO/orbsvcs/tests/Event_Latency/Event_Latency.h | 257 - TAO/orbsvcs/tests/Event_Latency/Makefile | 365 - TAO/orbsvcs/tests/Event_Latency/run_test.pl | 59 - TAO/orbsvcs/tests/Event_Latency/run_tests.sh | 76 - TAO/orbsvcs/tests/ImplRepo/Airplane.idl | 7 - TAO/orbsvcs/tests/ImplRepo/ImplRepo.dsw | 77 - TAO/orbsvcs/tests/ImplRepo/Makefile | 3798 -- TAO/orbsvcs/tests/ImplRepo/Nestea.idl | 17 - TAO/orbsvcs/tests/ImplRepo/README | 10 - TAO/orbsvcs/tests/ImplRepo/airplane_client.cpp | 21 - TAO/orbsvcs/tests/ImplRepo/airplane_client.dsp | 209 - TAO/orbsvcs/tests/ImplRepo/airplane_client_i.cpp | 172 - TAO/orbsvcs/tests/ImplRepo/airplane_client_i.h | 78 - TAO/orbsvcs/tests/ImplRepo/airplane_i.cpp | 91 - TAO/orbsvcs/tests/ImplRepo/airplane_i.h | 58 - TAO/orbsvcs/tests/ImplRepo/airplane_server.cpp | 39 - TAO/orbsvcs/tests/ImplRepo/airplane_server.dsp | 217 - TAO/orbsvcs/tests/ImplRepo/airplane_server_i.cpp | 172 - TAO/orbsvcs/tests/ImplRepo/airplane_server_i.h | 77 - TAO/orbsvcs/tests/ImplRepo/implrepo.conf | 3 - TAO/orbsvcs/tests/ImplRepo/nestea_client.cpp | 21 - TAO/orbsvcs/tests/ImplRepo/nestea_client.dsp | 209 - TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp | 132 - TAO/orbsvcs/tests/ImplRepo/nestea_client_i.h | 66 - TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp | 142 - TAO/orbsvcs/tests/ImplRepo/nestea_i.h | 85 - TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp | 40 - TAO/orbsvcs/tests/ImplRepo/nestea_server.dsp | 217 - TAO/orbsvcs/tests/ImplRepo/nestea_server_i.cpp | 173 - TAO/orbsvcs/tests/ImplRepo/nestea_server_i.h | 77 - TAO/orbsvcs/tests/ImplRepo/run_test.pl | 182 - TAO/orbsvcs/tests/Makefile | 39 - TAO/orbsvcs/tests/Makefile.am | 40 - TAO/orbsvcs/tests/Property/Makefile | 651 - TAO/orbsvcs/tests/Property/PropertyTest.dsw | 41 - TAO/orbsvcs/tests/Property/README | 42 - TAO/orbsvcs/tests/Property/client.cpp | 735 - TAO/orbsvcs/tests/Property/client.dsp | 93 - TAO/orbsvcs/tests/Property/client.h | 107 - TAO/orbsvcs/tests/Property/main.cpp | 581 - TAO/orbsvcs/tests/Property/run_test.pl | 81 - TAO/orbsvcs/tests/Property/server.cpp | 121 - TAO/orbsvcs/tests/Property/server.dsp | 93 - TAO/orbsvcs/tests/Property/server.h | 27 - TAO/orbsvcs/tests/Sched/DynSched_Test.cpp | 288 - TAO/orbsvcs/tests/Sched/Makefile | 138 - TAO/orbsvcs/tests/Sched_Conf/Makefile | 337 - TAO/orbsvcs/tests/Sched_Conf/README | 42 - TAO/orbsvcs/tests/Sched_Conf/Sched_Conf.cpp | 446 - TAO/orbsvcs/tests/Sched_Conf/Sched_Conf.dsp | 92 - TAO/orbsvcs/tests/Sched_Conf/Sched_Conf.dsw | 56 - .../tests/Sched_Conf/Sched_Conf_Anomalies.cpp | 403 - .../tests/Sched_Conf/Sched_Conf_Anomalies.dsp | 102 - .../Sched_Conf/Sched_Conf_Anomalies_Runtime.h | 59 - .../tests/Sched_Conf/Sched_Conf_Runtime.cpp | 172 - .../tests/Sched_Conf/Sched_Conf_Runtime.dsp | 96 - TAO/orbsvcs/tests/Sched_Conf/Sched_Conf_Runtime.h | 62 - TAO/orbsvcs/tests/Simple_Naming/Makefile | 883 - TAO/orbsvcs/tests/Simple_Naming/README | 262 - TAO/orbsvcs/tests/Simple_Naming/Simple_Naming.dsw | 29 - TAO/orbsvcs/tests/Simple_Naming/client.cpp | 1275 - TAO/orbsvcs/tests/Simple_Naming/client.dsp | 237 - TAO/orbsvcs/tests/Simple_Naming/client.h | 335 - .../tests/Simple_Naming/process-m-output.pl | 107 - TAO/orbsvcs/tests/Simple_Naming/run_test.pl | 144 - TAO/orbsvcs/tests/Simple_Naming/test_object.idl | 11 - TAO/orbsvcs/tests/Time/Client_i.cpp | 432 - TAO/orbsvcs/tests/Time/Client_i.h | 102 - TAO/orbsvcs/tests/Time/Makefile | 644 - TAO/orbsvcs/tests/Time/README | 46 - TAO/orbsvcs/tests/Time/Time_Service_Test.dsp | 108 - TAO/orbsvcs/tests/Time/Time_Service_Test.dsw | 29 - TAO/orbsvcs/tests/Time/client.cpp | 21 - TAO/orbsvcs/tests/Time/run_test.pl | 217 - TAO/orbsvcs/tests/Trading/Colocated_Test.dsp | 92 - TAO/orbsvcs/tests/Trading/Export_Test.dsp | 92 - TAO/orbsvcs/tests/Trading/Import_Test.dsp | 92 - TAO/orbsvcs/tests/Trading/Makefile | 2940 -- TAO/orbsvcs/tests/Trading/Offer_Exporter.cpp | 659 - TAO/orbsvcs/tests/Trading/Offer_Exporter.h | 142 - TAO/orbsvcs/tests/Trading/Offer_Importer.cpp | 302 - TAO/orbsvcs/tests/Trading/Offer_Importer.h | 95 - TAO/orbsvcs/tests/Trading/README | 3301 -- .../tests/Trading/Service_Type_Exporter.cpp | 517 - TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h | 121 - TAO/orbsvcs/tests/Trading/Simple_Dynamic.cpp | 30 - TAO/orbsvcs/tests/Trading/Simple_Dynamic.h | 43 - TAO/orbsvcs/tests/Trading/TT_Info.cpp | 295 - TAO/orbsvcs/tests/Trading/TT_Info.h | 205 - TAO/orbsvcs/tests/Trading/TTest.idl | 43 - TAO/orbsvcs/tests/Trading/Trading.dsw | 74 - TAO/orbsvcs/tests/Trading/TradingLib.dsp | 260 - TAO/orbsvcs/tests/Trading/colocated_test.cpp | 139 - TAO/orbsvcs/tests/Trading/export_test.cpp | 137 - TAO/orbsvcs/tests/Trading/import_test.cpp | 60 - TAO/orbsvcs/tests/Trading/run_test.pl | 60 - TAO/orbsvcs/tests/start_services | 104 - TAO/orbsvcs/tests/tests.dsw | 169 - .../Cubit/COOL/IDL_Cubit/Makefile | 145 - TAO/performance-tests/Cubit/COOL/IDL_Cubit/README | 33 - .../Cubit/COOL/IDL_Cubit/client.cpp | 749 - .../Cubit/COOL/IDL_Cubit/client.h | 133 - .../Cubit/COOL/IDL_Cubit/cubit.idl | 71 - .../Cubit/COOL/IDL_Cubit/cubit_i.cpp | 191 - .../Cubit/COOL/IDL_Cubit/cubit_i.h | 113 - .../Cubit/COOL/IDL_Cubit/server.cpp | 151 - .../Cubit/COOL/IDL_Cubit/tmplinst.cpp | 17 - TAO/performance-tests/Cubit/COOL/MT_Cubit/Makefile | 92 - TAO/performance-tests/Cubit/COOL/MT_Cubit/README | 166 - .../Cubit/COOL/MT_Cubit/Task_Client.cpp | 629 - .../Cubit/COOL/MT_Cubit/Task_Client.h | 196 - .../Cubit/COOL/MT_Cubit/Util_Thread.cpp | 62 - .../Cubit/COOL/MT_Cubit/Util_Thread.h | 45 - .../Cubit/COOL/MT_Cubit/client.cpp | 289 - TAO/performance-tests/Cubit/COOL/MT_Cubit/client.h | 41 - .../Cubit/COOL/MT_Cubit/cubit.idl | 42 - .../Cubit/COOL/MT_Cubit/cubit_i.cpp | 69 - .../Cubit/COOL/MT_Cubit/cubit_i.h | 27 - .../Cubit/COOL/MT_Cubit/pccTimer.cpp | 281 - .../Cubit/COOL/MT_Cubit/pccTimer.h | 56 - .../Cubit/COOL/MT_Cubit/server.cpp | 160 - TAO/performance-tests/Cubit/COOL/Makefile | 22 - .../Cubit/CORBAplus/IDL_Cubit/Makefile | 87 - .../Cubit/CORBAplus/IDL_Cubit/README | 54 - .../Cubit/CORBAplus/IDL_Cubit/clnt.cpp | 727 - .../Cubit/CORBAplus/IDL_Cubit/clnt.h | 140 - .../Cubit/CORBAplus/IDL_Cubit/cubit.idl | 71 - .../Cubit/CORBAplus/IDL_Cubit/cubit_i.cpp | 174 - .../Cubit/CORBAplus/IDL_Cubit/cubit_i.h | 112 - .../Cubit/CORBAplus/IDL_Cubit/svr.cpp | 143 - .../Cubit/CORBAplus/MT_Cubit/Makefile | 23 - .../Cubit/CORBAplus/MT_Cubit/README | 58 - .../Cubit/CORBAplus/MT_Cubit/client/Makefile | 141 - .../CORBAplus/MT_Cubit/client/Task_Client.cpp | 359 - .../Cubit/CORBAplus/MT_Cubit/client/Task_Client.h | 57 - .../Cubit/CORBAplus/MT_Cubit/client/client.cpp | 63 - .../Cubit/CORBAplus/MT_Cubit/client/cubit.idl | 41 - .../Cubit/CORBAplus/MT_Cubit/server/Makefile | 62 - .../Cubit/CORBAplus/MT_Cubit/server/cubit.idl | 41 - .../Cubit/CORBAplus/MT_Cubit/server/cubit_i.cpp | 82 - .../Cubit/CORBAplus/MT_Cubit/server/cubit_i.h | 52 - .../Cubit/CORBAplus/MT_Cubit/server/svr.cpp | 288 - .../Cubit/Hardpack/IDL_Cubit/Imakefile | 34 - .../Cubit/Hardpack/IDL_Cubit/Makefile | 55 - .../Cubit/Hardpack/IDL_Cubit/README | 43 - .../Cubit/Hardpack/IDL_Cubit/client.cpp | 22 - .../Cubit/Hardpack/IDL_Cubit/client_i.cpp | 824 - .../Cubit/Hardpack/IDL_Cubit/client_i.h | 145 - .../Cubit/Hardpack/IDL_Cubit/cubit.idl | 96 - .../Cubit/Hardpack/IDL_Cubit/cubit_impl.cc | 163 - .../Cubit/Hardpack/IDL_Cubit/cubit_impl.hh | 48 - .../Cubit/Hardpack/IDL_Cubit/initref.cfg | 18 - .../Cubit/Hardpack/IDL_Cubit/server.cpp | 21 - .../Cubit/Hardpack/IDL_Cubit/server_i.cpp | 180 - .../Cubit/Hardpack/IDL_Cubit/server_i.h | 112 - TAO/performance-tests/Cubit/Makefile | 28 - TAO/performance-tests/Cubit/Orbix/Makefile | 28 - .../Cubit/Orbix/base_server/Makefile | 68 - .../Cubit/Orbix/base_server/cubit.idl | 42 - .../Cubit/Orbix/base_server/cubit_impl.cpp | 50 - .../Cubit/Orbix/base_server/cubit_impl.h | 29 - .../Cubit/Orbix/base_server/server.cpp | 45 - TAO/performance-tests/Cubit/Orbix/client/Makefile | 104 - .../Cubit/Orbix/client/client.cpp | 299 - TAO/performance-tests/Cubit/Orbix/client/cubit.h | 734 - TAO/performance-tests/Cubit/Orbix/client/cubit.idl | 42 - .../Cubit/Orbix/client/cubitC.cpp | 561 - .../Cubit/Orbix/factory_client/Makefile | 77 - .../Cubit/Orbix/factory_client/client.cpp | 239 - .../Cubit/Orbix/factory_client/cubit.h | 1113 - .../Cubit/Orbix/factory_client/cubit.hh | 1111 - .../Cubit/Orbix/factory_client/cubit.idl | 48 - .../Cubit/Orbix/factory_client/cubitC.cpp | 714 - .../Cubit/Orbix/factory_client/cubitS.cpp | 286 - TAO/performance-tests/Cubit/Orbix/orb.mk | 146 - TAO/performance-tests/Cubit/Orbix/tpool/Makefile | 347 - TAO/performance-tests/Cubit/Orbix/tpool/cubit.h | 734 - TAO/performance-tests/Cubit/Orbix/tpool/cubit.idl | 42 - TAO/performance-tests/Cubit/Orbix/tpool/cubitC.cpp | 561 - TAO/performance-tests/Cubit/Orbix/tpool/cubitS.cpp | 230 - .../Cubit/Orbix/tpool/cubit_impl.cpp | 50 - .../Cubit/Orbix/tpool/cubit_impl.h | 29 - TAO/performance-tests/Cubit/Orbix/tpool/server.cpp | 50 - TAO/performance-tests/Cubit/Orbix/tpool/tpool.cpp | 46 - TAO/performance-tests/Cubit/Orbix/tpool/tpool.h | 22 - TAO/performance-tests/Cubit/Orbix/tpr/Makefile | 200 - TAO/performance-tests/Cubit/Orbix/tpr/cubit.h | 734 - TAO/performance-tests/Cubit/Orbix/tpr/cubit.idl | 42 - TAO/performance-tests/Cubit/Orbix/tpr/cubitC.cpp | 561 - TAO/performance-tests/Cubit/Orbix/tpr/cubitC.h | 345 - TAO/performance-tests/Cubit/Orbix/tpr/cubitS.cpp | 230 - TAO/performance-tests/Cubit/Orbix/tpr/cubitS.h | 120 - .../Cubit/Orbix/tpr/cubit_impl.cpp | 50 - TAO/performance-tests/Cubit/Orbix/tpr/cubit_impl.h | 29 - TAO/performance-tests/Cubit/Orbix/tpr/server.cpp | 44 - TAO/performance-tests/Cubit/Orbix/tpr/tpr.cpp | 32 - TAO/performance-tests/Cubit/Orbix/tpr/tpr.h | 17 - TAO/performance-tests/Cubit/Orbix/tps/Makefile | 306 - TAO/performance-tests/Cubit/Orbix/tps/cubit.h | 1113 - TAO/performance-tests/Cubit/Orbix/tps/cubit.idl | 48 - TAO/performance-tests/Cubit/Orbix/tps/cubitC.cpp | 714 - TAO/performance-tests/Cubit/Orbix/tps/cubitS.cpp | 285 - .../Cubit/Orbix/tps/cubit_impl.cpp | 85 - TAO/performance-tests/Cubit/Orbix/tps/cubit_impl.h | 52 - TAO/performance-tests/Cubit/Orbix/tps/tps.cpp | 30 - TAO/performance-tests/Cubit/Orbix/tps/tps.h | 18 - TAO/performance-tests/Cubit/README | 4 - .../Cubit/TAO/DII_Cubit/DII_Cubit.dsw | 29 - TAO/performance-tests/Cubit/TAO/DII_Cubit/Makefile | 347 - TAO/performance-tests/Cubit/TAO/DII_Cubit/README | 44 - .../Cubit/TAO/DII_Cubit/client.cpp | 861 - .../Cubit/TAO/DII_Cubit/client.dsp | 112 - .../Cubit/TAO/DII_Cubit/cubit.idl | 153 - .../Cubit/TAO/DII_Cubit/run_test.pl | 118 - .../Cubit/TAO/IDL_Cubit/Cubit_Client.cpp | 1573 - .../Cubit/TAO/IDL_Cubit/Cubit_Client.h | 182 - .../Cubit/TAO/IDL_Cubit/Cubit_Server.cpp | 122 - .../Cubit/TAO/IDL_Cubit/Cubit_Server.h | 84 - .../Cubit/TAO/IDL_Cubit/Cubit_i.cpp | 400 - .../Cubit/TAO/IDL_Cubit/Cubit_i.h | 138 - .../Cubit/TAO/IDL_Cubit/IDL_Cubit.dsw | 53 - .../Cubit/TAO/IDL_Cubit/IDL_Cubit_Client.java | 122 - TAO/performance-tests/Cubit/TAO/IDL_Cubit/Makefile | 3030 -- TAO/performance-tests/Cubit/TAO/IDL_Cubit/README | 216 - .../Cubit/TAO/IDL_Cubit/RTI_IO.cpp | 55 - TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.h | 23 - .../Cubit/TAO/IDL_Cubit/client.bld | 12 - .../Cubit/TAO/IDL_Cubit/client.cpp | 49 - .../Cubit/TAO/IDL_Cubit/client.dsp | 344 - .../Cubit/TAO/IDL_Cubit/collocation/svc.conf | 8 - .../Cubit/TAO/IDL_Cubit/collocation_test.cpp | 92 - .../Cubit/TAO/IDL_Cubit/collocation_test.dsp | 232 - .../Cubit/TAO/IDL_Cubit/cubit.idl | 156 - .../Cubit/TAO/IDL_Cubit/default.bld | 32 - .../Cubit/TAO/IDL_Cubit/run_test.pl | 173 - .../Cubit/TAO/IDL_Cubit/server.bld | 12 - .../Cubit/TAO/IDL_Cubit/server.cpp | 67 - .../Cubit/TAO/IDL_Cubit/server.dsp | 364 - TAO/performance-tests/Cubit/TAO/IDL_Cubit/svc.conf | 8 - .../Cubit/TAO/IDL_Cubit/svc.conf.dynamic | 8 - .../Cubit/TAO/IDL_Cubit/tmplinst.cpp | 14 - .../Cubit/TAO/MT_Cubit/Cubit_Task.cpp | 245 - .../Cubit/TAO/MT_Cubit/Cubit_Task.h | 88 - .../Cubit/TAO/MT_Cubit/Globals.cpp | 202 - TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h | 208 - .../Cubit/TAO/MT_Cubit/MT_Cubit.dsw | 41 - .../Cubit/TAO/MT_Cubit/MT_Cubit_Test | 102 - TAO/performance-tests/Cubit/TAO/MT_Cubit/Makefile | 2899 -- TAO/performance-tests/Cubit/TAO/MT_Cubit/README | 215 - .../Cubit/TAO/MT_Cubit/README.tests | 44 - .../Cubit/TAO/MT_Cubit/Task_Client.cpp | 1142 - .../Cubit/TAO/MT_Cubit/Task_Client.h | 370 - TAO/performance-tests/Cubit/TAO/MT_Cubit/Timer.cpp | 56 - TAO/performance-tests/Cubit/TAO/MT_Cubit/Timer.h | 61 - .../Cubit/TAO/MT_Cubit/Util_Thread.cpp | 97 - .../Cubit/TAO/MT_Cubit/Util_Thread.h | 57 - .../Cubit/TAO/MT_Cubit/client.cpp | 869 - .../Cubit/TAO/MT_Cubit/client.dsp | 396 - TAO/performance-tests/Cubit/TAO/MT_Cubit/client.h | 185 - TAO/performance-tests/Cubit/TAO/MT_Cubit/clnt.bld | 10 - TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit.idl | 39 - .../Cubit/TAO/MT_Cubit/cubit_i.cpp | 77 - TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.h | 66 - .../Cubit/TAO/MT_Cubit/default.bld | 33 - TAO/performance-tests/Cubit/TAO/MT_Cubit/plot | 50 - .../Cubit/TAO/MT_Cubit/run_test.pl | 86 - .../Cubit/TAO/MT_Cubit/server.cpp | 408 - .../Cubit/TAO/MT_Cubit/server.dsp | 380 - TAO/performance-tests/Cubit/TAO/MT_Cubit/server.h | 152 - TAO/performance-tests/Cubit/TAO/MT_Cubit/summarize | 63 - TAO/performance-tests/Cubit/TAO/MT_Cubit/svc.conf | 8 - TAO/performance-tests/Cubit/TAO/MT_Cubit/svr.bld | 12 - .../Cubit/TAO/MT_Cubit/tmplinst.cpp | 14 - TAO/performance-tests/Cubit/TAO/Makefile | 25 - TAO/performance-tests/Cubit/TAO/README | 20 - .../Cubit/VisiBroker/base_server/Makefile | 21 - .../Cubit/VisiBroker/base_server/Profile_Timer.cpp | 131 - .../Cubit/VisiBroker/base_server/Profile_Timer.h | 62 - .../Cubit/VisiBroker/base_server/cubit.idl | 42 - .../Cubit/VisiBroker/base_server/cubit_impl.cpp | 50 - .../Cubit/VisiBroker/base_server/cubit_impl.h | 35 - .../Cubit/VisiBroker/base_server/server.cpp | 53 - .../Cubit/VisiBroker/base_server/stdmk | 36 - .../Cubit/VisiBroker/client/Makefile | 21 - .../Cubit/VisiBroker/client/Profile_Timer.cpp | 131 - .../Cubit/VisiBroker/client/Profile_Timer.h | 62 - .../Cubit/VisiBroker/client/client.cpp | 320 - .../Cubit/VisiBroker/client/cubit.idl | 42 - .../Cubit/VisiBroker/client/stdmk | 36 - TAO/performance-tests/Latency/Latency.dsw | 41 - TAO/performance-tests/Latency/Makefile | 1386 - TAO/performance-tests/Latency/README | 23 - TAO/performance-tests/Latency/client.conf | 2 - TAO/performance-tests/Latency/client.cpp | 239 - TAO/performance-tests/Latency/client.dsp | 200 - TAO/performance-tests/Latency/run_test.pl | 49 - TAO/performance-tests/Latency/server.conf | 3 - TAO/performance-tests/Latency/server.cpp | 179 - TAO/performance-tests/Latency/server.dsp | 216 - TAO/performance-tests/Latency/test.idl | 10 - TAO/performance-tests/Latency/test_i.cpp | 29 - TAO/performance-tests/Latency/test_i.h | 52 - TAO/performance-tests/Latency/test_i.i | 9 - TAO/performance-tests/Makefile | 31 - TAO/performance-tests/POA/Demux/Makefile | 93 - TAO/performance-tests/POA/Demux/README | 112 - TAO/performance-tests/POA/Demux/client.cpp | 61 - TAO/performance-tests/POA/Demux/demux_stats.cpp | 346 - TAO/performance-tests/POA/Demux/demux_test.idl | 8 - .../POA/Demux/demux_test_client.cpp | 402 - .../POA/Demux/demux_test_client.h | 132 - .../POA/Demux/demux_test_client.i | 20 - TAO/performance-tests/POA/Demux/demux_test_i.cpp | 24 - TAO/performance-tests/POA/Demux/demux_test_i.h | 46 - .../POA/Demux/demux_test_macros.h | 25 - .../POA/Demux/demux_test_server.cpp | 513 - .../POA/Demux/demux_test_server.h | 110 - TAO/performance-tests/POA/Demux/names_file | 1000 - TAO/performance-tests/POA/Demux/poa_names_100.dat | 10000 ----- TAO/performance-tests/POA/Demux/server.cpp | 59 - TAO/performance-tests/POA/Demux/write_names.cpp | 10 - TAO/performance-tests/POA/Makefile | 24 - .../POA/Object_Creation_And_Registration/Makefile | 836 - .../registration.cpp | 322 - .../registration.dsp | 184 - .../registration.dsw | 29 - .../Object_Creation_And_Registration/run_test.pl | 24 - .../POA/Object_Creation_And_Registration/svc.conf | 6 - .../POA/Object_Creation_And_Registration/test.idl | 8 - TAO/performance-tests/Pluggable/Makefile | 1907 - TAO/performance-tests/Pluggable/PP_Test.idl | 31 - TAO/performance-tests/Pluggable/PP_Test_Client.cpp | 487 - TAO/performance-tests/Pluggable/PP_Test_Client.h | 123 - TAO/performance-tests/Pluggable/PP_Test_Server.cpp | 120 - TAO/performance-tests/Pluggable/PP_Test_Server.h | 82 - TAO/performance-tests/Pluggable/PP_Test_i.cpp | 125 - TAO/performance-tests/Pluggable/PP_Test_i.h | 76 - TAO/performance-tests/Pluggable/Pluggable.dsw | 40 - TAO/performance-tests/Pluggable/README | 46 - TAO/performance-tests/Pluggable/client.cpp | 26 - TAO/performance-tests/Pluggable/client.dsp | 146 - TAO/performance-tests/Pluggable/server.cpp | 58 - TAO/performance-tests/Pluggable/server.dsp | 141 - TAO/performance-tests/README | 22 - TAO/performance-tests/TAO_Perf_Tests.dsw | 152 - TAO/performance-tests/Thruput/COOL/Makefile | 133 - TAO/performance-tests/Thruput/COOL/README | 117 - TAO/performance-tests/Thruput/COOL/client.cpp | 290 - TAO/performance-tests/Thruput/COOL/server.cpp | 224 - TAO/performance-tests/Thruput/COOL/ttcp.idl | 36 - TAO/performance-tests/Thruput/COOL/ttcp_decl.h | 82 - TAO/performance-tests/Thruput/COOL/ttcp_i.cpp | 103 - TAO/performance-tests/Thruput/COOL/ttcp_i.h | 49 - TAO/performance-tests/Thruput/COOL/utils.cpp | 469 - TAO/performance-tests/Thruput/CORBAplus/Makefile | 65 - TAO/performance-tests/Thruput/CORBAplus/README | 47 - TAO/performance-tests/Thruput/CORBAplus/client.cpp | 305 - TAO/performance-tests/Thruput/CORBAplus/extract | 4 - TAO/performance-tests/Thruput/CORBAplus/run | 1 - TAO/performance-tests/Thruput/CORBAplus/run_client | 25 - TAO/performance-tests/Thruput/CORBAplus/run_server | 9 - TAO/performance-tests/Thruput/CORBAplus/run_test | 34 - TAO/performance-tests/Thruput/CORBAplus/run_tests | 41 - TAO/performance-tests/Thruput/CORBAplus/server.cpp | 178 - TAO/performance-tests/Thruput/CORBAplus/ttcp.idl | 36 - .../Thruput/CORBAplus/ttcp_decl.h | 82 - TAO/performance-tests/Thruput/CORBAplus/ttcp_i.cpp | 100 - TAO/performance-tests/Thruput/CORBAplus/ttcp_i.h | 66 - TAO/performance-tests/Thruput/CORBAplus/utils.cpp | 469 - TAO/performance-tests/Thruput/Makefile | 26 - TAO/performance-tests/Thruput/Orbix/Client.cpp | 328 - TAO/performance-tests/Thruput/Orbix/Makefile | 60 - TAO/performance-tests/Thruput/Orbix/README | 40 - TAO/performance-tests/Thruput/Orbix/Srv_Main.cpp | 176 - TAO/performance-tests/Thruput/Orbix/extract | 4 - TAO/performance-tests/Thruput/Orbix/loop64 | 24 - TAO/performance-tests/Thruput/Orbix/orbixsol2s4.mk | 148 - TAO/performance-tests/Thruput/Orbix/run | 1 - TAO/performance-tests/Thruput/Orbix/run_client | 25 - TAO/performance-tests/Thruput/Orbix/run_server | 4 - TAO/performance-tests/Thruput/Orbix/run_test | 31 - TAO/performance-tests/Thruput/Orbix/run_tests | 78 - TAO/performance-tests/Thruput/Orbix/ttcp.idl | 40 - TAO/performance-tests/Thruput/Orbix/ttcp_decl.h | 154 - TAO/performance-tests/Thruput/Orbix/ttcp_i.cpp | 102 - TAO/performance-tests/Thruput/Orbix/ttcp_i.h | 65 - TAO/performance-tests/Thruput/Orbix/utils.cpp | 563 - TAO/performance-tests/Thruput/TAO/Makefile | 1898 - TAO/performance-tests/Thruput/TAO/README | 65 - TAO/performance-tests/Thruput/TAO/client.cpp | 307 - TAO/performance-tests/Thruput/TAO/new_client_test | 63 - TAO/performance-tests/Thruput/TAO/new_run_test | 48 - TAO/performance-tests/Thruput/TAO/new_server_test | 9 - .../Thruput/TAO/results/REMOTE/README | 4 - TAO/performance-tests/Thruput/TAO/run | 1 - TAO/performance-tests/Thruput/TAO/run_client | 41 - TAO/performance-tests/Thruput/TAO/run_server | 10 - TAO/performance-tests/Thruput/TAO/run_test | 55 - TAO/performance-tests/Thruput/TAO/server.cpp | 207 - TAO/performance-tests/Thruput/TAO/svc.conf | 4 - TAO/performance-tests/Thruput/TAO/tmplinst.cpp | 22 - TAO/performance-tests/Thruput/TAO/ttcp.idl | 36 - TAO/performance-tests/Thruput/TAO/ttcp_decl.h | 77 - TAO/performance-tests/Thruput/TAO/ttcp_i.cpp | 112 - TAO/performance-tests/Thruput/TAO/ttcp_i.h | 56 - TAO/performance-tests/Thruput/TAO/utils.cpp | 590 - TAO/release.chk | 125 - TAO/release.pl | 91 - TAO/rules.tao.GNU | 82 - TAO/tao-config.1.in | 56 - TAO/tao-config.in | 209 - TAO/tao/Acceptor_Impl.cpp | 84 - TAO/tao/Acceptor_Impl.h | 86 - TAO/tao/Acceptor_Impl.i | 26 - TAO/tao/Acceptor_Registry.cpp | 365 - TAO/tao/Acceptor_Registry.h | 107 - TAO/tao/Acceptor_Registry.i | 14 - TAO/tao/Active_Object_Map.cpp | 1087 - TAO/tao/Active_Object_Map.h | 589 - TAO/tao/Active_Object_Map.i | 205 - TAO/tao/Any.cpp | 1464 - TAO/tao/Any.h | 536 - TAO/tao/Any.i | 725 - TAO/tao/Asynch_Invocation.cpp | 129 - TAO/tao/Asynch_Invocation.h | 97 - TAO/tao/Asynch_Invocation.i | 34 - TAO/tao/CDR.cpp | 335 - TAO/tao/CDR.h | 311 - TAO/tao/CDR.i | 218 - TAO/tao/CDR_Interpreter.cpp | 1191 - TAO/tao/CDR_Interpreter.h | 276 - TAO/tao/CONV_FRAME.pidl | 24 - TAO/tao/CONV_FRAMEC.cpp | 494 - TAO/tao/CONV_FRAMEC.h | 368 - TAO/tao/CONV_FRAMEC.i | 883 - TAO/tao/CONV_FRAMES.cpp | 24 - TAO/tao/CONV_FRAMES.h | 48 - TAO/tao/CONV_FRAMES.i | 1 - TAO/tao/CONV_FRAMES_T.cpp | 34 - TAO/tao/CONV_FRAMES_T.h | 46 - TAO/tao/CONV_FRAMES_T.i | 1 - TAO/tao/CORBA.pidl | 49 - TAO/tao/Client_Strategy_Factory.cpp | 37 - TAO/tao/Client_Strategy_Factory.h | 62 - TAO/tao/Connector_Registry.cpp | 416 - TAO/tao/Connector_Registry.h | 117 - TAO/tao/Context.cpp | 189 - TAO/tao/Context.h | 303 - TAO/tao/Context.i | 386 - TAO/tao/Current.pidl | 10 - TAO/tao/CurrentC.cpp | 121 - TAO/tao/CurrentC.h | 158 - TAO/tao/CurrentC.i | 195 - TAO/tao/CurrentS.cpp | 90 - TAO/tao/Domain.pidl | 46 - TAO/tao/DomainC.cpp | 486 - TAO/tao/DomainC.h | 338 - TAO/tao/DomainC.i | 684 - TAO/tao/DomainS.cpp | 526 - TAO/tao/DomainS_T.cpp | 25 - TAO/tao/DomainS_T.h | 37 - TAO/tao/DomainS_T.i | 200 - TAO/tao/DynAny.pidl | 308 - TAO/tao/DynAnyC.cpp | 1386 - TAO/tao/DynAnyC.h | 1554 - TAO/tao/DynAnyC.i | 1693 - TAO/tao/DynAnyS.cpp | 1319 - TAO/tao/DynAny_i.cpp | 1196 - TAO/tao/DynAny_i.h | 227 - TAO/tao/DynArray_i.cpp | 1483 - TAO/tao/DynArray_i.h | 215 - TAO/tao/DynEnum_i.cpp | 504 - TAO/tao/DynEnum_i.h | 212 - TAO/tao/DynSequence_i.cpp | 1558 - TAO/tao/DynSequence_i.h | 220 - TAO/tao/DynStruct_i.cpp | 1518 - TAO/tao/DynStruct_i.h | 214 - TAO/tao/DynUnion_i.cpp | 2222 -- TAO/tao/DynUnion_i.h | 285 - TAO/tao/DynUnion_i_T.cpp | 41 - TAO/tao/DynUnion_i_T.h | 76 - TAO/tao/Environment.cpp | 267 - TAO/tao/Environment.h | 197 - TAO/tao/Environment.i | 165 - TAO/tao/Exception.cpp | 953 - TAO/tao/Exception.h | 491 - TAO/tao/Exception.i | 156 - TAO/tao/Forwarding_Servant.cpp | 48 - TAO/tao/Forwarding_Servant.h | 65 - TAO/tao/GIOP.cpp | 1642 - TAO/tao/GIOP.h | 572 - TAO/tao/GIOP.i | 78 - TAO/tao/GIOP_Server_Request.cpp | 685 - TAO/tao/GIOP_Server_Request.h | 220 - TAO/tao/GIOP_Server_Request.i | 78 - TAO/tao/IIOP_Acceptor.cpp | 222 - TAO/tao/IIOP_Acceptor.h | 113 - TAO/tao/IIOP_Acceptor.i | 7 - TAO/tao/IIOP_Connect.cpp | 386 - TAO/tao/IIOP_Connect.h | 158 - TAO/tao/IIOP_Connect.i | 29 - TAO/tao/IIOP_Connector.cpp | 485 - TAO/tao/IIOP_Connector.h | 116 - TAO/tao/IIOP_Factory.cpp | 84 - TAO/tao/IIOP_Factory.h | 59 - TAO/tao/IIOP_Profile.cpp | 474 - TAO/tao/IIOP_Profile.h | 193 - TAO/tao/IIOP_Profile.i | 69 - TAO/tao/IIOP_Transport.cpp | 522 - TAO/tao/IIOP_Transport.h | 211 - TAO/tao/IOP.pidl | 72 - TAO/tao/IOPC.cpp | 1223 - TAO/tao/IOPC.h | 669 - TAO/tao/IOPC.i | 1189 - TAO/tao/IOPS.cpp | 24 - TAO/tao/IOPS.h | 48 - TAO/tao/IOPS.i | 1 - TAO/tao/IOPS_T.cpp | 34 - TAO/tao/IOPS_T.h | 46 - TAO/tao/IOPS_T.i | 1 - TAO/tao/IOR.pidl | 76 - TAO/tao/IORC.cpp | 1138 - TAO/tao/IORC.h | 525 - TAO/tao/IORC.i | 552 - TAO/tao/IORManipulation.cpp | 297 - TAO/tao/IORManipulation.h | 97 - TAO/tao/IORS.cpp | 191 - TAO/tao/IORS.h | 211 - TAO/tao/IORS.i | 10 - TAO/tao/IOR_LookupTable.cpp | 95 - TAO/tao/IOR_LookupTable.h | 74 - TAO/tao/InconsistentTypeCode.pidl | 27 - TAO/tao/InconsistentTypeCodeC.cpp | 86 - TAO/tao/InconsistentTypeCodeC.h | 85 - TAO/tao/Invocation.cpp | 917 - TAO/tao/Invocation.h | 286 - TAO/tao/Invocation.i | 79 - TAO/tao/Key_Adapters.cpp | 142 - TAO/tao/Key_Adapters.h | 117 - TAO/tao/Key_Adapters.i | 1 - TAO/tao/MProfile.cpp | 220 - TAO/tao/MProfile.h | 191 - TAO/tao/MProfile.i | 233 - TAO/tao/Makefile | 18454 --------- TAO/tao/Makefile.am | 415 - TAO/tao/Makefile.bor | 115 - TAO/tao/Managed_Types.cpp | 49 - TAO/tao/Managed_Types.h | 334 - TAO/tao/Managed_Types.i | 363 - TAO/tao/Marshal.cpp | 123 - TAO/tao/Marshal.h | 648 - TAO/tao/Marshal.i | 211 - TAO/tao/Messaging.pidl | 203 - TAO/tao/MessagingC.cpp | 2214 -- TAO/tao/MessagingC.h | 1926 - TAO/tao/MessagingC.i | 3917 -- TAO/tao/MessagingS.cpp | 1852 - TAO/tao/MessagingS.h | 2016 - TAO/tao/MessagingS.i | 42 - TAO/tao/MessagingS_T.cpp | 164 - TAO/tao/MessagingS_T.h | 37 - TAO/tao/MessagingS_T.i | 1691 - TAO/tao/Messaging_Policy_i.cpp | 128 - TAO/tao/Messaging_Policy_i.h | 96 - TAO/tao/Messaging_Policy_i.i | 10 - TAO/tao/NVList.cpp | 274 - TAO/tao/NVList.h | 333 - TAO/tao/NVList.i | 426 - TAO/tao/ORB.cpp | 1968 - TAO/tao/ORB.h | 834 - TAO/tao/ORB.i | 503 - TAO/tao/ORB_Core.cpp | 1928 - TAO/tao/ORB_Core.h | 673 - TAO/tao/ORB_Core.i | 308 - TAO/tao/Object.cpp | 592 - TAO/tao/Object.h | 321 - TAO/tao/Object.i | 235 - TAO/tao/ObjectIDList.cpp | 148 - TAO/tao/ObjectIDList.h | 142 - TAO/tao/ObjectIDList.i | 231 - TAO/tao/Object_Adapter.cpp | 1261 - TAO/tao/Object_Adapter.h | 650 - TAO/tao/Object_Adapter.i | 262 - TAO/tao/Object_Key.pidl | 9 - TAO/tao/Object_KeyC.cpp | 51 - TAO/tao/Object_KeyC.h | 101 - TAO/tao/Object_KeyC.i | 230 - TAO/tao/Operation_Table.cpp | 378 - TAO/tao/Operation_Table.h | 339 - TAO/tao/POA.cpp | 3582 -- TAO/tao/POA.h | 763 - TAO/tao/POA.i | 649 - TAO/tao/POA.pidl | 412 - TAO/tao/POAC.cpp | 3371 -- TAO/tao/POAC.h | 2407 -- TAO/tao/POAC.i | 3894 -- TAO/tao/POAManager.cpp | 261 - TAO/tao/POAManager.h | 106 - TAO/tao/POAManager.i | 70 - TAO/tao/POAS.cpp | 3004 -- TAO/tao/POAS.h | 1219 - TAO/tao/POAS.i | 226 - TAO/tao/POA_CORBA.h | 1802 - TAO/tao/Pluggable.cpp | 486 - TAO/tao/Pluggable.h | 474 - TAO/tao/Pluggable.i | 30 - TAO/tao/Policy.pidl | 83 - TAO/tao/PolicyC.cpp | 996 - TAO/tao/PolicyC.h | 599 - TAO/tao/PolicyC.i | 1151 - TAO/tao/PolicyS.cpp | 528 - TAO/tao/Policy_Manager.cpp | 289 - TAO/tao/Policy_Manager.h | 204 - TAO/tao/Policy_Manager.i | 130 - TAO/tao/Pollable.pidl | 54 - TAO/tao/PollableC.cpp | 1111 - TAO/tao/PollableC.h | 442 - TAO/tao/PollableC.i | 648 - TAO/tao/PollableS.cpp | 950 - TAO/tao/PollableS.h | 237 - TAO/tao/PollableS.i | 33 - TAO/tao/PollableS_T.cpp | 25 - TAO/tao/PollableS_T.h | 37 - TAO/tao/PollableS_T.i | 350 - TAO/tao/Principal.cpp | 57 - TAO/tao/Principal.h | 160 - TAO/tao/Principal.i | 210 - TAO/tao/Protocol_Factory.cpp | 58 - TAO/tao/Protocol_Factory.h | 61 - TAO/tao/Reply_Dispatcher.cpp | 148 - TAO/tao/Reply_Dispatcher.h | 196 - TAO/tao/Reply_Dispatcher.i | 19 - TAO/tao/Request.cpp | 403 - TAO/tao/Request.h | 398 - TAO/tao/Request.i | 304 - TAO/tao/Resource_Factory.cpp | 138 - TAO/tao/Resource_Factory.h | 142 - TAO/tao/Sequence.cpp | 429 - TAO/tao/Sequence.h | 457 - TAO/tao/Sequence.i | 355 - TAO/tao/Sequence_T.cpp | 1057 - TAO/tao/Sequence_T.h | 796 - TAO/tao/Sequence_T.i | 476 - TAO/tao/Servant_Base.cpp | 440 - TAO/tao/Servant_Base.h | 294 - TAO/tao/Servant_Base.i | 8 - TAO/tao/Server_Request.cpp | 20 - TAO/tao/Server_Request.h | 208 - TAO/tao/Server_Request.i | 35 - TAO/tao/Server_Strategy_Factory.cpp | 70 - TAO/tao/Server_Strategy_Factory.h | 122 - TAO/tao/Services.cpp | 558 - TAO/tao/Services.h | 544 - TAO/tao/Services.i | 1244 - TAO/tao/Stub.cpp | 944 - TAO/tao/Stub.h | 541 - TAO/tao/Stub.i | 349 - TAO/tao/TAO.cpp | 360 - TAO/tao/TAO.dsp | 2963 -- TAO/tao/TAO.dsw | 41 - TAO/tao/TAO.h | 171 - TAO/tao/TAO_Internal.cpp | 97 - TAO/tao/TAO_Internal.h | 79 - TAO/tao/TAO_Static.dsp | 1181 - TAO/tao/Tagged_Components.cpp | 293 - TAO/tao/Tagged_Components.h | 153 - TAO/tao/Tagged_Components.i | 84 - TAO/tao/TimeBase.pidl | 67 - TAO/tao/TimeBaseC.cpp | 264 - TAO/tao/TimeBaseC.h | 153 - TAO/tao/TimeBaseC.i | 271 - TAO/tao/TimeBaseS.cpp | 24 - TAO/tao/TimeBaseS.h | 35 - TAO/tao/TimeBaseS.i | 1 - TAO/tao/TimeBaseS_T.cpp | 32 - TAO/tao/TimeBaseS_T.h | 44 - TAO/tao/TimeBaseS_T.i | 1 - TAO/tao/Timeprobe.h | 74 - TAO/tao/Transport_Mux_Strategy.cpp | 324 - TAO/tao/Transport_Mux_Strategy.h | 246 - TAO/tao/Typecode.cpp | 2173 -- TAO/tao/Typecode.h | 567 - TAO/tao/Typecode.i | 278 - TAO/tao/Typecode_Constants.cpp | 1966 - TAO/tao/UIOP_Acceptor.cpp | 250 - TAO/tao/UIOP_Acceptor.h | 110 - TAO/tao/UIOP_Connect.cpp | 364 - TAO/tao/UIOP_Connect.h | 161 - TAO/tao/UIOP_Connect.i | 33 - TAO/tao/UIOP_Connector.cpp | 460 - TAO/tao/UIOP_Connector.h | 121 - TAO/tao/UIOP_Factory.cpp | 87 - TAO/tao/UIOP_Factory.h | 65 - TAO/tao/UIOP_Profile.cpp | 391 - TAO/tao/UIOP_Profile.h | 177 - TAO/tao/UIOP_Profile.i | 61 - TAO/tao/UIOP_Transport.cpp | 538 - TAO/tao/UIOP_Transport.h | 216 - TAO/tao/Union.cpp | 31 - TAO/tao/Union.h | 61 - TAO/tao/ValueBase.cpp | 269 - TAO/tao/ValueBase.h | 160 - TAO/tao/ValueBase.i | 136 - TAO/tao/ValueFactory.cpp | 31 - TAO/tao/ValueFactory.h | 98 - TAO/tao/ValueFactory.i | 26 - TAO/tao/ValueFactory_Map.cpp | 142 - TAO/tao/ValueFactory_Map.h | 82 - TAO/tao/ValueFactory_Map.i | 1 - TAO/tao/Version.h | 7 - TAO/tao/Wait_Strategy.cpp | 534 - TAO/tao/Wait_Strategy.h | 174 - TAO/tao/WrongTransactionC.cpp | 63 - TAO/tao/WrongTransactionC.h | 77 - TAO/tao/append.cpp | 747 - TAO/tao/corba.h | 94 - TAO/tao/corbafwd.cpp | 45 - TAO/tao/corbafwd.h | 1042 - TAO/tao/corbafwd.i | 33 - TAO/tao/debug.cpp | 21 - TAO/tao/debug.h | 42 - TAO/tao/decode.cpp | 1588 - TAO/tao/deep_free.cpp | 801 - TAO/tao/default.bld | 24 - TAO/tao/default_client.cpp | 240 - TAO/tao/default_client.h | 97 - TAO/tao/default_client.i | 4 - TAO/tao/default_resource.cpp | 487 - TAO/tao/default_resource.h | 123 - TAO/tao/default_resource.i | 2 - TAO/tao/default_server.cpp | 371 - TAO/tao/default_server.h | 94 - TAO/tao/default_server.i | 4 - TAO/tao/encode.cpp | 1249 - TAO/tao/factories.h | 146 - TAO/tao/orb.idl | 10 - TAO/tao/orbconf.h | 412 - TAO/tao/params.cpp | 150 - TAO/tao/params.h | 301 - TAO/tao/params.i | 234 - TAO/tao/poa_macros.h | 35 - TAO/tao/singletons.h | 50 - TAO/tao/skip.cpp | 737 - TAO/tao/t-sizes.cpp | 19 - TAO/tao/tao-dll.icc | 128 - TAO/tao/tao-lib.icc | 128 - TAO/tao/tao.bld | 86 - TAO/tao/try_macros.h | 356 - TAO/tao/varout.cpp | 91 - TAO/tao/varout.h | 129 - TAO/tao/varout.i | 102 - TAO/tao/xt_resource.cpp | 42 - TAO/tao/xt_resource.h | 68 - TAO/tao/xt_resource.i | 6 - TAO/taoConf.sh.in | 8 - TAO/taoconfig.mk | 13 - TAO/tests/AMI/Makefile | 1899 - TAO/tests/AMI/README | 14 - TAO/tests/AMI/client.conf | 2 - TAO/tests/AMI/client.cpp | 199 - TAO/tests/AMI/client.dsp | 205 - TAO/tests/AMI/client.global.conf | 3 - TAO/tests/AMI/client.muxed.conf | 2 - TAO/tests/AMI/client.tss.conf | 3 - TAO/tests/AMI/orb_creation.cpp | 176 - TAO/tests/AMI/orb_creation.dsp | 206 - TAO/tests/AMI/run_test.pl | 63 - TAO/tests/AMI/server.conf | 3 - TAO/tests/AMI/server.cpp | 110 - TAO/tests/AMI/server.dsp | 219 - TAO/tests/AMI/simple-client.conf | 2 - TAO/tests/AMI/simple-client.cpp | 125 - TAO/tests/AMI/simple_client.dsp | 215 - TAO/tests/AMI/test-handC.cpp | 645 - TAO/tests/AMI/test.idl | 16 - TAO/tests/AMI/test_i.cpp | 62 - TAO/tests/AMI/test_i.h | 62 - TAO/tests/AMI/test_i.i | 8 - TAO/tests/CDR/CDR.dsw | 65 - TAO/tests/CDR/Makefile | 1367 - TAO/tests/CDR/README | 23 - TAO/tests/CDR/allocator.cpp | 246 - TAO/tests/CDR/basic_types.cpp | 285 - TAO/tests/CDR/basic_types.dsp | 93 - TAO/tests/CDR/growth.cpp | 158 - TAO/tests/CDR/growth.dsp | 92 - TAO/tests/CDR/growth.dsw | 29 - TAO/tests/CDR/octet_sequence.cpp | 76 - TAO/tests/CDR/octet_sequence.dsp | 92 - TAO/tests/CDR/run_test.pl | 43 - TAO/tests/CDR/tc.cpp | 156 - TAO/tests/CDR/tc.dsp | 91 - TAO/tests/Collocation/Coll_Tester.cpp | 140 - TAO/tests/Collocation/Coll_Tester.h | 60 - TAO/tests/Collocation/Collocation.dsp | 223 - TAO/tests/Collocation/Collocation.dsw | 29 - TAO/tests/Collocation/Diamond.idl | 24 - TAO/tests/Collocation/Diamond_i.cpp | 104 - TAO/tests/Collocation/Diamond_i.h | 73 - TAO/tests/Collocation/README | 1 - TAO/tests/Collocation/main.cpp | 28 - TAO/tests/Collocation/svc.conf | 14 - TAO/tests/DynAny_Test/DynAny_Test.dsw | 28 - TAO/tests/DynAny_Test/Makefile | 2668 -- TAO/tests/DynAny_Test/README | 31 - TAO/tests/DynAny_Test/basic_test.dsp | 269 - TAO/tests/DynAny_Test/da_tests.idl | 46 - TAO/tests/DynAny_Test/data.cpp | 119 - TAO/tests/DynAny_Test/data.h | 48 - TAO/tests/DynAny_Test/driver.cpp | 218 - TAO/tests/DynAny_Test/driver.h | 59 - TAO/tests/DynAny_Test/run_test.pl | 69 - TAO/tests/DynAny_Test/test_dynany.cpp | 181 - TAO/tests/DynAny_Test/test_dynany.h | 41 - TAO/tests/DynAny_Test/test_dynarray.cpp | 161 - TAO/tests/DynAny_Test/test_dynarray.h | 41 - TAO/tests/DynAny_Test/test_dynenum.cpp | 132 - TAO/tests/DynAny_Test/test_dynenum.h | 41 - TAO/tests/DynAny_Test/test_dynsequence.cpp | 174 - TAO/tests/DynAny_Test/test_dynsequence.h | 41 - TAO/tests/DynAny_Test/test_dynstruct.cpp | 194 - TAO/tests/DynAny_Test/test_dynstruct.h | 41 - TAO/tests/DynAny_Test/test_dynunion.cpp | 172 - TAO/tests/DynAny_Test/test_dynunion.h | 41 - TAO/tests/DynAny_Test/test_wrapper.cpp | 62 - TAO/tests/DynAny_Test/test_wrapper.h | 49 - TAO/tests/FL_Cube/Makefile | 1357 - TAO/tests/FL_Cube/README | 9 - TAO/tests/FL_Cube/client.cpp | 209 - TAO/tests/FL_Cube/server.cpp | 131 - TAO/tests/FL_Cube/svc.conf | 3 - TAO/tests/FL_Cube/test.idl | 13 - TAO/tests/FL_Cube/test_i.cpp | 181 - TAO/tests/FL_Cube/test_i.h | 85 - TAO/tests/FL_Cube/test_i.i | 1 - TAO/tests/Faults/Faults.dsw | 41 - TAO/tests/Faults/Makefile | 1357 - TAO/tests/Faults/README | 5 - TAO/tests/Faults/client.cpp | 194 - TAO/tests/Faults/client.dsp | 208 - TAO/tests/Faults/run_test.pl | 112 - TAO/tests/Faults/server.cpp | 104 - TAO/tests/Faults/server.dsp | 216 - TAO/tests/Faults/test.idl | 27 - TAO/tests/Faults/test_i.cpp | 67 - TAO/tests/Faults/test_i.h | 79 - TAO/tests/Faults/test_i.i | 13 - TAO/tests/IORManipulation/IORManipulation.dsw | 29 - TAO/tests/IORManipulation/IORTest.cpp | 276 - TAO/tests/IORManipulation/IORTest.dsp | 101 - TAO/tests/IORManipulation/Makefile | 197 - TAO/tests/IORManipulation/README | 13 - TAO/tests/IORManipulation/run_test.pl | 24 - TAO/tests/InterOp-Naming/INS.idl | 11 - TAO/tests/InterOp-Naming/INS_i.cpp | 35 - TAO/tests/InterOp-Naming/INS_i.h | 51 - TAO/tests/InterOp-Naming/INS_test_client.cpp | 92 - TAO/tests/InterOp-Naming/INS_test_server.cpp | 46 - TAO/tests/InterOp-Naming/InterOp-Naming.dsw | 41 - TAO/tests/InterOp-Naming/Makefile | 1192 - TAO/tests/InterOp-Naming/README | 68 - TAO/tests/InterOp-Naming/Server_i.cpp | 169 - TAO/tests/InterOp-Naming/Server_i.h | 79 - TAO/tests/InterOp-Naming/client.dsp | 213 - TAO/tests/InterOp-Naming/run_test.pl | 144 - TAO/tests/InterOp-Naming/server.dsp | 227 - TAO/tests/MT_Client/MT_Client.dsw | 65 - TAO/tests/MT_Client/Makefile | 1919 - TAO/tests/MT_Client/README | 17 - TAO/tests/MT_Client/client.conf | 3 - TAO/tests/MT_Client/client.cpp | 165 - TAO/tests/MT_Client/client.dsp | 205 - TAO/tests/MT_Client/client.global.conf | 3 - TAO/tests/MT_Client/client.tss.conf | 3 - TAO/tests/MT_Client/orb_creation.cpp | 178 - TAO/tests/MT_Client/orb_creation.dsp | 206 - TAO/tests/MT_Client/run_test.pl | 61 - TAO/tests/MT_Client/server.conf | 3 - TAO/tests/MT_Client/server.cpp | 103 - TAO/tests/MT_Client/server.dsp | 219 - TAO/tests/MT_Client/simple-client.cpp | 95 - TAO/tests/MT_Client/simple_client.dsp | 215 - TAO/tests/MT_Client/test.idl | 12 - TAO/tests/MT_Client/test_i.cpp | 36 - TAO/tests/MT_Client/test_i.h | 51 - TAO/tests/MT_Client/test_i.i | 7 - TAO/tests/MT_Server/MT_Server.dsw | 41 - TAO/tests/MT_Server/Makefile | 1378 - TAO/tests/MT_Server/README | 19 - TAO/tests/MT_Server/client.cpp | 105 - TAO/tests/MT_Server/client.dsp | 193 - TAO/tests/MT_Server/run_test.pl | 78 - TAO/tests/MT_Server/server.conf | 3 - TAO/tests/MT_Server/server.cpp | 152 - TAO/tests/MT_Server/server.dsp | 205 - TAO/tests/MT_Server/test.idl | 10 - TAO/tests/MT_Server/test_i.cpp | 26 - TAO/tests/MT_Server/test_i.h | 49 - TAO/tests/MT_Server/test_i.i | 7 - TAO/tests/Makefile | 37 - TAO/tests/Multiple_Inheritance/Makefile | 1108 - .../Multiple_Inheritance/Multiple_Inheritance.dsw | 41 - .../Multiple_Inheritance/Multiple_Inheritance.idl | 22 - .../Multiple_Inheritance/Multiple_Inheritance_i.h | 32 - TAO/tests/Multiple_Inheritance/README | 26 - TAO/tests/Multiple_Inheritance/client.cpp | 170 - TAO/tests/Multiple_Inheritance/client.dsp | 209 - TAO/tests/Multiple_Inheritance/run_test.pl | 42 - TAO/tests/Multiple_Inheritance/server.cpp | 96 - TAO/tests/Multiple_Inheritance/server.dsp | 213 - TAO/tests/Native_Exceptions/Makefile | 1344 - TAO/tests/Native_Exceptions/Native_Exception.dsw | 41 - TAO/tests/Native_Exceptions/README | 12 - TAO/tests/Native_Exceptions/client.cpp | 99 - TAO/tests/Native_Exceptions/client.dsp | 197 - TAO/tests/Native_Exceptions/run_test.pl | 46 - TAO/tests/Native_Exceptions/server.cpp | 92 - TAO/tests/Native_Exceptions/server.dsp | 213 - TAO/tests/Native_Exceptions/test.idl | 13 - TAO/tests/Native_Exceptions/test_i.cpp | 30 - TAO/tests/Native_Exceptions/test_i.h | 49 - TAO/tests/Native_Exceptions/test_i.i | 7 - .../NestedUpcall/MT_Client_Test/MT_Client_Test.dsw | 41 - .../NestedUpcall/MT_Client_Test/MT_Client_Test.idl | 32 - .../NestedUpcall/MT_Client_Test/MT_Object_i.cpp | 56 - .../NestedUpcall/MT_Client_Test/MT_Object_i.h | 45 - TAO/tests/NestedUpcall/MT_Client_Test/Makefile | 1666 - TAO/tests/NestedUpcall/MT_Client_Test/README | 41 - TAO/tests/NestedUpcall/MT_Client_Test/client.conf | 5 - TAO/tests/NestedUpcall/MT_Client_Test/client.cpp | 344 - TAO/tests/NestedUpcall/MT_Client_Test/client.dsp | 219 - TAO/tests/NestedUpcall/MT_Client_Test/client.h | 110 - .../NestedUpcall/MT_Client_Test/local_server.cpp | 293 - .../NestedUpcall/MT_Client_Test/local_server.h | 121 - TAO/tests/NestedUpcall/MT_Client_Test/run_test.pl | 67 - TAO/tests/NestedUpcall/MT_Client_Test/server.cpp | 153 - TAO/tests/NestedUpcall/MT_Client_Test/server.dsp | 215 - TAO/tests/NestedUpcall/MT_Client_Test/server.h | 80 - TAO/tests/NestedUpcall/Makefile | 25 - TAO/tests/NestedUpcall/Simple/Makefile | 1644 - TAO/tests/NestedUpcall/Simple/README | 17 - TAO/tests/NestedUpcall/Simple/Simple.dsw | 41 - TAO/tests/NestedUpcall/Simple/client.cpp | 203 - TAO/tests/NestedUpcall/Simple/client.dsp | 208 - TAO/tests/NestedUpcall/Simple/client_i.cpp | 30 - TAO/tests/NestedUpcall/Simple/client_i.h | 22 - TAO/tests/NestedUpcall/Simple/run_test.pl | 73 - TAO/tests/NestedUpcall/Simple/server.cpp | 178 - TAO/tests/NestedUpcall/Simple/server.dsp | 208 - TAO/tests/NestedUpcall/Simple/server_i.cpp | 51 - TAO/tests/NestedUpcall/Simple/server_i.h | 32 - TAO/tests/NestedUpcall/Simple/svc.conf | 5 - TAO/tests/NestedUpcall/Simple/test.idl | 38 - .../NestedUpcall/Triangle_Test/Initiator_i.cpp | 61 - TAO/tests/NestedUpcall/Triangle_Test/Initiator_i.h | 49 - TAO/tests/NestedUpcall/Triangle_Test/Makefile | 2170 -- .../NestedUpcall/Triangle_Test/Object_A_i.cpp | 76 - TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.h | 47 - .../NestedUpcall/Triangle_Test/Object_B_i.cpp | 70 - TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.h | 42 - TAO/tests/NestedUpcall/Triangle_Test/README | 29 - .../NestedUpcall/Triangle_Test/Triangle_Test.dsw | 53 - .../NestedUpcall/Triangle_Test/Triangle_Test.idl | 38 - TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp | 310 - TAO/tests/NestedUpcall/Triangle_Test/initiator.dsp | 215 - TAO/tests/NestedUpcall/Triangle_Test/initiator.h | 93 - TAO/tests/NestedUpcall/Triangle_Test/run_test.pl | 66 - TAO/tests/NestedUpcall/Triangle_Test/server_A.cpp | 153 - TAO/tests/NestedUpcall/Triangle_Test/server_A.dsp | 215 - TAO/tests/NestedUpcall/Triangle_Test/server_A.h | 78 - TAO/tests/NestedUpcall/Triangle_Test/server_B.cpp | 149 - TAO/tests/NestedUpcall/Triangle_Test/server_B.dsp | 215 - TAO/tests/NestedUpcall/Triangle_Test/server_B.h | 78 - TAO/tests/OctetSeq/Makefile | 1623 - TAO/tests/OctetSeq/OctetSeq.cpp | 253 - TAO/tests/OctetSeq/OctetSeq.dsp | 203 - TAO/tests/OctetSeq/OctetSeq.dsw | 53 - TAO/tests/OctetSeq/README | 44 - TAO/tests/OctetSeq/client.cpp | 149 - TAO/tests/OctetSeq/client.dsp | 177 - TAO/tests/OctetSeq/run_test.pl | 62 - TAO/tests/OctetSeq/server.cpp | 104 - TAO/tests/OctetSeq/server.dsp | 189 - TAO/tests/OctetSeq/test.idl | 55 - TAO/tests/OctetSeq/test_i.cpp | 67 - TAO/tests/OctetSeq/test_i.h | 63 - TAO/tests/OctetSeq/test_i.i | 10 - TAO/tests/POA/Deactivation/Deactivation.cpp | 263 - TAO/tests/POA/Deactivation/Deactivation.dsp | 195 - TAO/tests/POA/Deactivation/Deactivation.dsw | 28 - TAO/tests/POA/Deactivation/Makefile | 830 - TAO/tests/POA/Deactivation/run_test.pl | 24 - TAO/tests/POA/Deactivation/test.idl | 6 - TAO/tests/POA/Destruction/Destruction.cpp | 93 - TAO/tests/POA/Destruction/Destruction.dsp | 195 - TAO/tests/POA/Destruction/Destruction.dsw | 29 - TAO/tests/POA/Destruction/Makefile | 830 - TAO/tests/POA/Destruction/run_test.pl | 24 - TAO/tests/POA/Destruction/test.idl | 6 - TAO/tests/POA/Identity/Identity.cpp | 766 - TAO/tests/POA/Identity/Identity.dsp | 196 - TAO/tests/POA/Identity/Identity.dsw | 29 - TAO/tests/POA/Identity/Makefile | 827 - TAO/tests/POA/Identity/run_test.pl | 24 - TAO/tests/POA/Identity/svc.conf | 6 - TAO/tests/POA/Identity/test.idl | 5 - TAO/tests/POA/Makefile | 30 - TAO/tests/POA/README | 20 - TAO/tests/Param_Test/Makefile | 10220 ----- TAO/tests/Param_Test/Param_Test.dsw | 41 - TAO/tests/Param_Test/README | 99 - TAO/tests/Param_Test/any.cpp | 458 - TAO/tests/Param_Test/any.h | 103 - TAO/tests/Param_Test/bd_long_seq.cpp | 250 - TAO/tests/Param_Test/bd_long_seq.h | 85 - TAO/tests/Param_Test/bd_short_seq.cpp | 252 - TAO/tests/Param_Test/bd_short_seq.h | 85 - TAO/tests/Param_Test/bd_str_seq.cpp | 255 - TAO/tests/Param_Test/bd_str_seq.h | 85 - TAO/tests/Param_Test/bd_string.cpp | 227 - TAO/tests/Param_Test/bd_string.h | 88 - TAO/tests/Param_Test/bd_struct_seq.cpp | 267 - TAO/tests/Param_Test/bd_struct_seq.h | 94 - TAO/tests/Param_Test/big_union.cpp | 585 - TAO/tests/Param_Test/big_union.h | 94 - TAO/tests/Param_Test/client.cpp | 297 - TAO/tests/Param_Test/client.dsp | 463 - TAO/tests/Param_Test/client.h | 76 - TAO/tests/Param_Test/complex_any.cpp | 349 - TAO/tests/Param_Test/complex_any.h | 91 - TAO/tests/Param_Test/driver.cpp | 605 - TAO/tests/Param_Test/driver.h | 52 - TAO/tests/Param_Test/except.cpp | 276 - TAO/tests/Param_Test/except.h | 83 - TAO/tests/Param_Test/fixed_array.cpp | 223 - TAO/tests/Param_Test/fixed_array.h | 91 - TAO/tests/Param_Test/fixed_struct.cpp | 279 - TAO/tests/Param_Test/fixed_struct.h | 84 - TAO/tests/Param_Test/helper.cpp | 98 - TAO/tests/Param_Test/helper.h | 52 - TAO/tests/Param_Test/multdim_array.cpp | 211 - TAO/tests/Param_Test/multdim_array.h | 91 - TAO/tests/Param_Test/nested_struct.cpp | 226 - TAO/tests/Param_Test/nested_struct.h | 86 - TAO/tests/Param_Test/objref.cpp | 389 - TAO/tests/Param_Test/objref.h | 96 - TAO/tests/Param_Test/objref_struct.cpp | 293 - TAO/tests/Param_Test/objref_struct.h | 85 - TAO/tests/Param_Test/options.cpp | 228 - TAO/tests/Param_Test/options.h | 125 - TAO/tests/Param_Test/param_test.idl | 335 - TAO/tests/Param_Test/param_test_i.cpp | 860 - TAO/tests/Param_Test/param_test_i.h | 293 - TAO/tests/Param_Test/recursive_struct.cpp | 298 - TAO/tests/Param_Test/recursive_struct.h | 95 - TAO/tests/Param_Test/results.cpp | 150 - TAO/tests/Param_Test/results.h | 80 - TAO/tests/Param_Test/run_test.pl | 137 - TAO/tests/Param_Test/server.cpp | 180 - TAO/tests/Param_Test/server.dsp | 225 - TAO/tests/Param_Test/short.cpp | 190 - TAO/tests/Param_Test/short.h | 88 - TAO/tests/Param_Test/svc.conf | 6 - TAO/tests/Param_Test/tests.h | 52 - TAO/tests/Param_Test/tmplinst.cpp | 30 - TAO/tests/Param_Test/typecode.cpp | 223 - TAO/tests/Param_Test/typecode.h | 88 - TAO/tests/Param_Test/ub_any_seq.cpp | 385 - TAO/tests/Param_Test/ub_any_seq.h | 92 - TAO/tests/Param_Test/ub_long_seq.cpp | 249 - TAO/tests/Param_Test/ub_long_seq.h | 85 - TAO/tests/Param_Test/ub_objref_seq.cpp | 353 - TAO/tests/Param_Test/ub_objref_seq.h | 94 - TAO/tests/Param_Test/ub_short_seq.cpp | 251 - TAO/tests/Param_Test/ub_short_seq.h | 85 - TAO/tests/Param_Test/ub_str_seq.cpp | 255 - TAO/tests/Param_Test/ub_str_seq.h | 85 - TAO/tests/Param_Test/ub_string.cpp | 225 - TAO/tests/Param_Test/ub_string.h | 88 - TAO/tests/Param_Test/ub_struct_seq.cpp | 470 - TAO/tests/Param_Test/ub_struct_seq.h | 163 - TAO/tests/Param_Test/ulonglong.cpp | 187 - TAO/tests/Param_Test/ulonglong.h | 80 - TAO/tests/Param_Test/var_array.cpp | 215 - TAO/tests/Param_Test/var_array.h | 91 - TAO/tests/Param_Test/var_struct.cpp | 292 - TAO/tests/Param_Test/var_struct.h | 85 - TAO/tests/Quoter/FactoryFinder.exe | Bin 463 -> 0 bytes TAO/tests/Quoter/ns.btm | 4 - TAO/tests/Quoter/run_test.btm | 161 - TAO/tests/Quoter/sv.btm | 7 - TAO/tests/README | 38 - TAO/tests/TAO_Tests.dsw | 377 - TAO/tests/Timeout/Makefile | 1356 - TAO/tests/Timeout/README | 15 - TAO/tests/Timeout/Timeout.dsw | 41 - TAO/tests/Timeout/client.cpp | 244 - TAO/tests/Timeout/client.dsp | 201 - TAO/tests/Timeout/run_test.pl | 46 - TAO/tests/Timeout/server.cpp | 103 - TAO/tests/Timeout/server.dsp | 219 - TAO/tests/Timeout/test.idl | 12 - TAO/tests/Timeout/test_i.cpp | 38 - TAO/tests/Timeout/test_i.h | 50 - TAO/tests/Timeout/test_i.i | 1 - TAO/tests/Xt_Stopwatch/Client.h | 56 - TAO/tests/Xt_Stopwatch/Control.cpp | 53 - TAO/tests/Xt_Stopwatch/Control.h | 56 - TAO/tests/Xt_Stopwatch/Makefile | 2165 -- TAO/tests/Xt_Stopwatch/README | 17 - TAO/tests/Xt_Stopwatch/Stopwatch_display.cpp | 45 - TAO/tests/Xt_Stopwatch/Stopwatch_display.h | 55 - TAO/tests/Xt_Stopwatch/client.cpp | 182 - TAO/tests/Xt_Stopwatch/run_test.pl | 47 - TAO/tests/Xt_Stopwatch/server.cpp | 138 - TAO/tests/Xt_Stopwatch/svc.conf | 3 - TAO/tests/Xt_Stopwatch/test.idl | 15 - TAO/tests/Xt_Stopwatch/test_i.cpp | 39 - TAO/tests/Xt_Stopwatch/test_i.h | 56 - TAO/tests/Xt_Stopwatch/test_i.i | 1 - TAO/tests/Xt_Stopwatch/timer.cpp | 84 - TAO/tests/Xt_Stopwatch/timer.h | 66 - TAO/utils/IOR-parser/IOR_Parser.dsp | 101 - TAO/utils/IOR-parser/IOR_Parser.dsw | 29 - TAO/utils/IOR-parser/Makefile | 57 - TAO/utils/IOR-parser/Makefile.bor | 17 - TAO/utils/IOR-parser/Orbix.IOR | 1 - TAO/utils/IOR-parser/README | 23 - TAO/utils/IOR-parser/Tao.IOR | 1 - TAO/utils/IOR-parser/TaoSimple.IOR | 1 - TAO/utils/IOR-parser/VisiBroker.IOR | 1 - TAO/utils/IOR-parser/ior-handler.cpp | 610 - TAO/utils/IOR-parser/ior-handler.h | 137 - TAO/utils/IOR-parser/ior-parser.cpp | 38 - TAO/utils/Makefile | 23 - TAO/utils/README | 13 - TAO/utils/catior/Makefile | 362 - TAO/utils/catior/Makefile.bor | 15 - TAO/utils/catior/README | 15 - TAO/utils/catior/catior.cpp | 740 - TAO/utils/catior/catior.dsp | 89 - TAO/utils/catior/catior.dsw | 29 - TAO/utils/catior/test.bat | 6 - TAO/utils/catior/test/adagrid.ior | 2 - TAO/utils/catior/test/eventservice.ior | 1 - TAO/utils/catior/test/expersoft.iiop | 2 - TAO/utils/catior/test/expersoft.ior | 1 - TAO/utils/catior/test/expersoft2.iiop | 2 - TAO/utils/catior/test/expersoft2.ior | 1 - TAO/utils/catior/test/expersoft3.iiop | 2 - TAO/utils/catior/test/expersoft3.ior | 1 - TAO/utils/catior/test/namingservice.poop | 2 - TAO/utils/catior/test/param_test.iiop | 2 - TAO/utils/catior/test/quoteserver.ior | 1 - TAO/utils/catior/test/test1.ior | 1 - TAO/utils/catior/test/test2.ior | 1 - TAO/utils/catior/test/timeserver.iiop | 2 - TAO/utils/catior/test/timeserver.ior | 1 - TAO/utils/nslist/Makefile | 318 - TAO/utils/nslist/Makefile.bor | 16 - TAO/utils/nslist/README | 13 - TAO/utils/nslist/nslist.cpp | 141 - TAO/version_tests.dsw | 3643 -- ace-diff-config.in | 192 - ace/Containers_bad.i | 25 - ace/Timer_Queue.i | 22 - ace/config-sunos5.6-sunc++-4.x.h | 23 - apps/Gateway/Gateway/Channel.cpp | 710 - apps/Gateway/Gateway/Channel.h | 280 - apps/Gateway/Gateway/Channel_Connector.cpp | 92 - apps/Gateway/Gateway/Channel_Connector.h | 41 - apps/Gateway/Gateway/Concurrency_Strategies.h | 74 - apps/Gateway/Gateway/Consumer_Entry.cpp | 31 - apps/Gateway/Gateway/Consumer_Entry.h | 45 - apps/Gateway/Gateway/Consumer_Map.cpp | 61 - apps/Gateway/Gateway/Consumer_Map.h | 62 - apps/Gateway/Gateway/Dispatch_Set.h | 28 - apps/Gateway/Gateway/IO_Handler.cpp | 710 - apps/Gateway/Gateway/IO_Handler.h | 224 - apps/Gateway/Gateway/IO_Handler_Connector.cpp | 92 - apps/Gateway/Gateway/IO_Handler_Connector.h | 40 - apps/Gateway/Gateway/Peer_Message.h | 89 - apps/Gateway/Gateway/Routing_Entry.cpp | 47 - apps/Gateway/Gateway/Routing_Entry.h | 53 - apps/Gateway/Gateway/Routing_Table.cpp | 69 - apps/Gateway/Gateway/Routing_Table.h | 67 - apps/Gateway/Gateway/Thr_Channel.cpp | 204 - apps/Gateway/Gateway/Thr_Channel.h | 65 - apps/Gateway/Gateway/Thr_IO_Handler.cpp | 204 - apps/Gateway/Gateway/Thr_IO_Handler.h | 64 - apps/Gateway/Gateway/Thr_Proxy_Handler.cpp | 211 - apps/Gateway/Gateway/Thr_Proxy_Handler.h | 66 - apps/Gateway/Gateway/cc_config | 10 - apps/Gateway/Gateway/rt_config | 7 - apps/Gateway/Peer/Event.h | 125 - apps/Gateway/Peer/Gateway_Handler.cpp | 652 - apps/Gateway/Peer/Gateway_Handler.h | 154 - apps/Gateway/Peer/Peer_Message.h | 44 - examples/Reactor/Misc/signal_tester.cpp | 221 - examples/Reactor/Misc/test_signals.cpp | 226 - .../SV_Semaphores/Semaphore_Client.cpp | 31 - .../SV_Semaphores/Semaphore_Server.cpp | 42 - .../System_V_IPC/SV_Semaphores/Semaphore_Test.h | 11 - examples/System_V_IPC/SV_Semaphores/Semaphores.cpp | 94 - examples/Threads/test_auto_event.cpp | 113 - examples/Threads/test_barrier1.cpp | 84 - examples/Threads/test_barrier2.cpp | 269 - examples/Threads/test_cancel.cpp | 72 - examples/Threads/test_future1.cpp | 420 - examples/Threads/test_future2.cpp | 524 - examples/Threads/test_manual_event.cpp | 108 - examples/Threads/test_process_mutex.cpp | 68 - examples/Threads/test_process_semaphore.cpp | 56 - examples/Threads/test_reader_writer.cpp | 187 - examples/Threads/test_recursive_mutex.cpp | 108 - examples/Threads/test_task.cpp | 104 - examples/Threads/test_task_four.cpp | 248 - examples/Threads/test_task_one.cpp | 104 - examples/Threads/test_task_three.cpp | 230 - examples/Threads/test_task_two.cpp | 156 - examples/Threads/test_thread_manager.cpp | 104 - examples/Threads/test_thread_pool.cpp | 214 - examples/Threads/test_thread_specific.cpp | 219 - examples/Threads/test_token.cpp | 76 - examples/Threads/test_tss.cpp | 235 - examples/Threads/test_tss1.cpp | 164 - examples/Threads/test_tss2.cpp | 252 - java/ChangeLog | 80 - java/ImageProcessing/ImageProcessing.dsp | 253 - java/ImageProcessing/ImageProcessing.dsw | 29 - java/ImageProcessing/filters/Assert.java | 33 - java/ImageProcessing/filters/BleachFilter.java | 65 - java/ImageProcessing/filters/BlurFilter.java | 95 - java/ImageProcessing/filters/DarkenFilter.java | 48 - java/ImageProcessing/filters/DeSpeckleFilter.java | 123 - java/ImageProcessing/filters/DissolveFilter.java | 52 - java/ImageProcessing/filters/EdgeDetectFilter.java | 250 - java/ImageProcessing/filters/EmbossFilter.java | 86 - java/ImageProcessing/filters/Makefile | 36 - java/ImageProcessing/filters/MedFilter.java | 6 - java/ImageProcessing/filters/OilPaintFilter.java | 97 - java/ImageProcessing/filters/PixelizeFilter.java | 117 - java/ImageProcessing/filters/RandomizeFilter.java | 36 - java/ImageProcessing/filters/RotateFilter.java | 358 - java/ImageProcessing/filters/SharpenFilter.java | 272 - java/ImageProcessing/filters/SpatialFilter.java | 213 - java/ImageProcessing/filters/SpreadFilter.java | 130 - java/ImageProcessing/filters/Timer.java | 23 - java/ImageProcessing/framework/BaseButton.java | 234 - .../ImageProcessing/framework/BenchmarkApplet.java | 622 - java/ImageProcessing/framework/DialogManager.java | 277 - java/ImageProcessing/framework/DialogType.java | 11 - java/ImageProcessing/framework/FileBrowser.java | 173 - java/ImageProcessing/framework/FilePanel.java | 161 - java/ImageProcessing/framework/FilterTest.java | 62 - java/ImageProcessing/framework/GIFHandler.java | 75 - java/ImageProcessing/framework/GifEncoder.java | 693 - java/ImageProcessing/framework/Hierarchy.java | 347 - .../framework/HierarchyAdapter.java | 34 - java/ImageProcessing/framework/Icon.java | 70 - java/ImageProcessing/framework/ImageApp.java | 303 - .../framework/ImageByteCounter.java | 94 - java/ImageProcessing/framework/ImageCanvas.java | 166 - java/ImageProcessing/framework/ImageEncoder.java | 271 - java/ImageProcessing/framework/ImageProcessor.java | 111 - java/ImageProcessing/framework/ImageSender.java | 128 - java/ImageProcessing/framework/IntHashtable.java | 396 - java/ImageProcessing/framework/ListFiles.java | 167 - java/ImageProcessing/framework/LoadURLFrame.java | 142 - java/ImageProcessing/framework/Makefile | 45 - java/ImageProcessing/framework/MedJava.html | 15 - java/ImageProcessing/framework/Options.java | 25 - java/ImageProcessing/framework/SaveURLFrame.java | 133 - java/ImageProcessing/framework/Separator.java | 90 - java/ImageProcessing/framework/ServerHandler.java | 50 - java/ImageProcessing/framework/ServerTest.java | 67 - java/ImageProcessing/framework/StatusDisplay.java | 23 - .../ImageProcessing/framework/StatusIndicator.java | 70 - java/ImageProcessing/framework/TestHandler.java | 149 - java/ImageProcessing/framework/Tester.java | 148 - java/ImageProcessing/framework/doc01.gif | Bin 223 -> 0 bytes java/ImageProcessing/framework/file03.gif | Bin 267 -> 0 bytes java/ImageProcessing/framework/filter.conf | 15 - java/ImageProcessing/framework/help.conf | 216 - java/ImageProcessing/framework/test.html | 19 - java/ImageProcessing/framework/testFilter.conf | 15 - java/VERSION | 5 - java/apps/NexusII/README | 58 - java/apps/NexusII/classes/ClientHandler.class | Bin 7017 -> 0 bytes java/apps/NexusII/classes/FrameHandler.class | Bin 851 -> 0 bytes java/apps/NexusII/classes/ImageCanvas.class | Bin 2771 -> 0 bytes java/apps/NexusII/classes/NexusClientApplet.class | Bin 9297 -> 0 bytes java/apps/NexusII/classes/NexusIIserver.class | Bin 1566 -> 0 bytes java/apps/NexusII/classes/Room.class | Bin 2138 -> 0 bytes java/apps/NexusII/classes/RoomFactory.class | Bin 1686 -> 0 bytes java/apps/NexusII/classes/RoomFrame.class | Bin 3878 -> 0 bytes java/apps/NexusII/classes/RoomThread.class | Bin 1076 -> 0 bytes java/apps/NexusII/classes/awtCommand/CApplet.class | Bin 2239 -> 0 bytes java/apps/NexusII/classes/awtCommand/CApplet.java | 199 - java/apps/NexusII/classes/awtCommand/CButton.class | Bin 698 -> 0 bytes java/apps/NexusII/classes/awtCommand/CButton.java | 41 - java/apps/NexusII/classes/awtCommand/CCanvas.class | Bin 4128 -> 0 bytes java/apps/NexusII/classes/awtCommand/CCanvas.java | 381 - java/apps/NexusII/classes/awtCommand/CFrame.class | Bin 5174 -> 0 bytes java/apps/NexusII/classes/awtCommand/CFrame.java | 486 - java/apps/NexusII/classes/awtCommand/CList.class | Bin 1236 -> 0 bytes java/apps/NexusII/classes/awtCommand/CList.java | 96 - java/apps/NexusII/classes/awtCommand/CPanel.class | Bin 4125 -> 0 bytes java/apps/NexusII/classes/awtCommand/CPanel.java | 381 - .../NexusII/classes/awtCommand/CTextArea.class | Bin 1048 -> 0 bytes .../apps/NexusII/classes/awtCommand/CTextArea.java | 93 - .../NexusII/classes/awtCommand/CTextField.class | Bin 1225 -> 0 bytes .../NexusII/classes/awtCommand/CTextField.java | 110 - java/apps/NexusII/classes/awtCommand/Command.class | Bin 253 -> 0 bytes java/apps/NexusII/classes/awtCommand/Command.java | 25 - java/apps/NexusII/classes/commandHandler.class | Bin 1310 -> 0 bytes java/apps/NexusII/classes/commandParser.class | Bin 1974 -> 0 bytes java/apps/NexusII/classes/connectionHandler.class | Bin 4632 -> 0 bytes java/apps/NexusII/classes/joinHandler.class | Bin 3229 -> 0 bytes java/apps/NexusII/classes/roomHandler.class | Bin 2371 -> 0 bytes java/apps/NexusII/classes/textHandler.class | Bin 2227 -> 0 bytes java/apps/NexusII/src/Consumer.java | 74 - java/apps/NexusII/src/MT_Bounded_Queue.java | 226 - java/apps/NexusII/src/MT_Bounded_Queue_Group.java | 79 - java/apps/NexusII/src/NexusClientApplet.java | 494 - java/apps/NexusII/src/NexusIIserver.java | 280 - java/apps/NexusII/src/Producer.java | 87 - java/apps/NexusII/src/Room.java | 97 - java/apps/NexusII/src/RoomFrame.java | 297 - java/apps/NexusII/src/RoomSpace.java | 110 - java/apps/NexusII/src/Timed_Wait.java | 86 - java/apps/NexusII/src/Timer.java | 31 - java/apps/NexusII/src/commandHandler.java | 44 - java/apps/NexusII/src/commandParser.java | 124 - java/apps/NexusII/src/connectionHandler.java | 236 - java/apps/NexusII/src/consts.java | 40 - java/apps/NexusII/src/dataPacket.java | 124 - java/apps/NexusII/src/joinHandler.java | 181 - java/apps/NexusII/src/makefile | 15 - java/apps/NexusII/src/nexusDemuxThread.java | 97 - java/apps/NexusII/src/roomHandler.java | 125 - java/apps/NexusII/src/socketReaderThread.java | 126 - java/apps/NexusII/src/socketWriterThread.java | 119 - java/apps/NexusII/src/url_to_url.java | 33 - java/apps/NexusII/start | 27 - java/apps/NexusII/start.html | 3 - java/classes/README.TXT | 2 - java/doc/images/GridBagEx.gif | Bin 2453 -> 0 bytes java/doc/images/OpenBookIcon.gif | Bin 2241 -> 0 bytes java/doc/images/blue-ball-small.gif | Bin 255 -> 0 bytes java/doc/images/blue-ball.gif | Bin 925 -> 0 bytes java/doc/images/class-index.gif | Bin 1497 -> 0 bytes java/doc/images/constructor-index.gif | Bin 1711 -> 0 bytes java/doc/images/constructors.gif | Bin 1565 -> 0 bytes java/doc/images/cyan-ball-small.gif | Bin 255 -> 0 bytes java/doc/images/cyan-ball.gif | Bin 925 -> 0 bytes java/doc/images/error-index.gif | Bin 1438 -> 0 bytes java/doc/images/exception-index.gif | Bin 1707 -> 0 bytes java/doc/images/green-ball-small.gif | Bin 102 -> 0 bytes java/doc/images/green-ball.gif | Bin 886 -> 0 bytes java/doc/images/interface-index.gif | Bin 1648 -> 0 bytes java/doc/images/magenta-ball-small.gif | Bin 104 -> 0 bytes java/doc/images/magenta-ball.gif | Bin 896 -> 0 bytes java/doc/images/method-index.gif | Bin 1588 -> 0 bytes java/doc/images/methods.gif | Bin 1403 -> 0 bytes java/doc/images/package-index.gif | Bin 1607 -> 0 bytes java/doc/images/red-ball-small.gif | Bin 255 -> 0 bytes java/doc/images/red-ball.gif | Bin 527 -> 0 bytes java/doc/images/variable-index.gif | Bin 1576 -> 0 bytes java/doc/images/variables.gif | Bin 1380 -> 0 bytes java/doc/images/yellow-ball-small.gif | Bin 255 -> 0 bytes java/doc/images/yellow-ball.gif | Bin 925 -> 0 bytes java/examples/Logger/README | 29 - java/examples/Logger/simple-server/LogRecord.java | 145 - .../Logger/simple-server/LoggerConstants.java | 7 - .../Logger/simple-server/LoggingAcceptor.java | 33 - .../Logger/simple-server/LoggingClient.java | 108 - .../Logger/simple-server/LoggingHandler.java | 121 - java/examples/Logger/simple-server/Makefile | 34 - java/examples/Logger/simple-server/README | 25 - .../Logger/simple-server/SimpleLogger.java | 44 - java/gjt/Assert.java | 33 - java/gjt/Bargauge.java | 80 - java/gjt/Border.java | 105 - java/gjt/Box.java | 81 - java/gjt/BulletinLayout.java | 100 - java/gjt/ButtonPanel.java | 51 - java/gjt/CardPanel.java | 48 - java/gjt/ChoiceCardPanel.java | 53 - java/gjt/ColumnLayout.java | 154 - java/gjt/ComponentScroller.java | 42 - java/gjt/DialogClient.java | 20 - java/gjt/DrawingPanel.java | 72 - java/gjt/DrawnRectangle.java | 136 - java/gjt/EtchedBorder.java | 59 - java/gjt/EtchedRectangle.java | 97 - java/gjt/Etching.java | 22 - java/gjt/ExclusiveImageButtonPanel.java | 47 - java/gjt/FontDialog.java | 362 - java/gjt/GJT.DSP | 456 - java/gjt/GJT.DSW | 29 - java/gjt/GJTDialog.java | 51 - java/gjt/IconCardPanel.java | 55 - java/gjt/ImageButton.java | 209 - java/gjt/ImageButtonController.java | 79 - java/gjt/ImageButtonEvent.java | 103 - java/gjt/ImageButtonPanel.java | 106 - java/gjt/ImageButtonPanelController.java | 47 - java/gjt/ImageCanvas.java | 31 - java/gjt/ImageScroller.java | 62 - java/gjt/LabelCanvas.java | 93 - java/gjt/Makefile | 67 - java/gjt/MessageDialog.java | 77 - java/gjt/MouseController.java | 32 - java/gjt/Orientation.java | 87 - java/gjt/ProgressDialog.java | 67 - java/gjt/QuestionDialog.java | 130 - java/gjt/RadioImageButtonPanelController.java | 45 - java/gjt/RowLayout.java | 153 - java/gjt/Scroller.java | 154 - java/gjt/ScrollerLayout.java | 160 - java/gjt/SelectionEvent.java | 82 - java/gjt/Separator.java | 90 - java/gjt/SpringyImageButtonController.java | 54 - java/gjt/StateButton.java | 45 - java/gjt/StateButtonController.java | 27 - java/gjt/StickyImageButtonController.java | 87 - java/gjt/Stopwatch.java | 94 - java/gjt/StopwatchClient.java | 14 - java/gjt/ThreeDBorder.java | 53 - java/gjt/ThreeDBorderStyle.java | 24 - java/gjt/ThreeDRectangle.java | 105 - java/gjt/Toolbar.java | 58 - java/gjt/Util.java | 69 - java/gjt/YesNoDialog.java | 80 - java/gjt/animation/CollisionArena.java | 39 - java/gjt/animation/CollisionDetector.java | 24 - java/gjt/animation/EdgeCollisionDetector.java | 53 - java/gjt/animation/Playfield.java | 140 - java/gjt/animation/Sequence.java | 119 - java/gjt/animation/Sprite.java | 191 - java/gjt/animation/SpriteCollisionDetector.java | 45 - java/gjt/image/BleachImageFilter.java | 53 - java/gjt/image/DissolveFilter.java | 48 - java/gjt/image/ImageDissolver.java | 132 - java/gjt/rubberband/Rubberband.java | 100 - java/gjt/rubberband/RubberbandEllipse.java | 32 - java/gjt/rubberband/RubberbandLine.java | 25 - java/gjt/rubberband/RubberbandPanel.java | 38 - java/gjt/rubberband/RubberbandRectangle.java | 29 - java/gjt/test/AttributesPanel.java | 78 - java/gjt/test/BargaugeTest.java | 130 - java/gjt/test/BleachImageFilterTest.java | 86 - java/gjt/test/BorderTest.java | 202 - java/gjt/test/BoxTest.java | 100 - java/gjt/test/BumpAnimationTest.java | 107 - java/gjt/test/ChoiceCardPanelTest.java | 34 - java/gjt/test/ColumnLayoutTest.java | 126 - java/gjt/test/ComponentScrollerTest.java | 205 - java/gjt/test/ConnectionsPanel.java | 9 - java/gjt/test/DialogTest.java | 140 - java/gjt/test/DrawnRectangleTest.java | 119 - java/gjt/test/FontDialogTest.java | 95 - java/gjt/test/IconCardPanelTest.java | 47 - java/gjt/test/ImageButtonTest.java | 130 - java/gjt/test/ImageDissolverTest.java | 69 - java/gjt/test/ImageScrollerTest.java | 55 - java/gjt/test/LabelCanvasTest.java | 75 - java/gjt/test/MessageDialogTest.java | 50 - java/gjt/test/OccupationOracle.java | 334 - java/gjt/test/RowLayoutTest.java | 124 - java/gjt/test/RubberbandTest.java | 112 - java/gjt/test/SeparatorTest.java | 64 - java/gjt/test/SimpleAnimationTest.java | 87 - java/gjt/test/SimpleBargaugeTest.java | 61 - java/gjt/test/StateButtonTest.java | 41 - java/gjt/test/TenPixelBorder.java | 44 - java/gjt/test/TitledPanel.java | 22 - java/gjt/test/ToolbarTest.java | 111 - java/gjt/test/TwoDrinkersAnimationTest.java | 130 - java/gjt/test/UnitTest.java | 46 - java/netsvcs/Logger/DefaultLMR.java | 36 - java/netsvcs/Logger/LogMessageReceiver.java | 33 - java/netsvcs/Logger/LogRecord.java | 188 - java/netsvcs/Logger/Makefile | 23 - java/netsvcs/Logger/ServerLoggingAcceptor.java | 171 - java/netsvcs/Logger/ServerLoggingHandler.java | 105 - java/netsvcs/Naming/Makefile | 24 - java/netsvcs/Naming/NameAcceptor.java | 306 - java/netsvcs/Naming/NameHandler.java | 521 - java/netsvcs/Naming/NameProxy.java | 351 - java/netsvcs/Naming/NameReply.java | 145 - java/netsvcs/Naming/NameRequest.java | 331 - java/netsvcs/Time/Clerk.java | 23 - java/netsvcs/Time/Makefile | 26 - java/netsvcs/Time/Server.java | 23 - java/netsvcs/Time/TSClerkHandler.java | 296 - java/netsvcs/Time/TSClerkProcessor.java | 267 - java/netsvcs/Time/TSRequestAcceptor.java | 142 - java/netsvcs/Time/TSRequestHandler.java | 106 - java/netsvcs/Time/TSServerAcceptor.java | 100 - java/netsvcs/Time/TSServerHandler.java | 99 - java/src/ACE.java | 164 - java/src/AcceptStrategy.java | 89 - java/src/Acceptor.java | 216 - java/src/ActivateStrategy.java | 43 - java/src/AddServiceObjectNode.java | 54 - java/src/Blob.java | 94 - java/src/BlobHandler.java | 35 - java/src/BlobReader.java | 104 - java/src/BlobWriter.java | 220 - java/src/ClassNameGenerator.java | 181 - java/src/ClassReader.java | 146 - java/src/Condition.java | 122 - java/src/Connector.java | 157 - java/src/CreationStrategy.java | 64 - java/src/EventHandler.java | 53 - java/src/GetOpt.java | 150 - java/src/HTTPHelper.java | 84 - java/src/INETAddr.java | 99 - java/src/IOCntlCmds.java | 34 - java/src/IOCntlMsg.java | 128 - java/src/JACE.DSP | 292 - java/src/JACE.DSW | 29 - java/src/Makefile | 153 - java/src/MessageBlock.java | 453 - java/src/MessageQueue.java | 639 - java/src/MessageType.java | 110 - java/src/Module.java | 253 - java/src/Mutex.java | 109 - java/src/OS.java | 72 - java/src/ParseNode.java | 69 - java/src/ProfileTimer.java | 48 - java/src/README | 19 - java/src/RWMutex.java | 174 - java/src/RemoveNode.java | 35 - java/src/ResumeNode.java | 34 - java/src/SOCKAcceptor.java | 115 - java/src/SOCKConnector.java | 75 - java/src/SOCKStream.java | 218 - java/src/Semaphore.java | 103 - java/src/ServiceConfig.java | 375 - java/src/ServiceLoader.java | 260 - java/src/ServiceObject.java | 80 - java/src/ServiceObjectRecord.java | 33 - java/src/ServiceRecord.java | 253 - java/src/ServiceRepository.java | 189 - java/src/StrategyAcceptor.java | 156 - java/src/Stream.java | 440 - java/src/StreamHead.java | 127 - java/src/StreamTail.java | 119 - java/src/SuspendNode.java | 34 - java/src/SvcHandler.java | 85 - java/src/Task.java | 439 - java/src/TaskFlags.java | 44 - java/src/ThreadManager.java | 109 - java/src/ThruTask.java | 48 - java/src/TimeValue.java | 285 - java/src/TimedWait.java | 150 - java/src/TimeoutException.java | 34 - java/src/TimerQueue.java | 432 - java/src/Token.java | 336 - java/tests/ASX/BufferStreamTest.dsp | 73 - java/tests/ASX/BufferStreamTest.java | 185 - java/tests/ASX/Makefile | 26 - java/tests/ASX/MessageQueueTest.dsp | 73 - java/tests/ASX/MessageQueueTest.java | 50 - java/tests/ASX/PriorityBufferTest.dsp | 73 - java/tests/ASX/PriorityBufferTest.java | 116 - java/tests/ASX/TaskTest.dsp | 72 - java/tests/ASX/TaskTest.java | 86 - java/tests/ASX/ThreadPoolTest.dsp | 73 - java/tests/ASX/ThreadPoolTest.java | 185 - java/tests/Concurrency/Condition/Condition.dsp | 88 - java/tests/Concurrency/Condition/Consumer.java | 73 - .../Concurrency/Condition/JoinableThreadGroup.java | 24 - java/tests/Concurrency/Condition/Makefile | 25 - java/tests/Concurrency/Condition/Producer.java | 67 - java/tests/Concurrency/Condition/QueueTest.java | 64 - .../Concurrency/Condition/SimpleMessageQueue.java | 86 - java/tests/Concurrency/Makefile | 23 - java/tests/Concurrency/MutexTest.dsp | 72 - java/tests/Concurrency/MutexTest.java | 154 - java/tests/Concurrency/RWMutexTest.dsp | 73 - java/tests/Concurrency/RWMutexTest.java | 93 - java/tests/Concurrency/SemaphoreTest.dsp | 73 - java/tests/Concurrency/SemaphoreTest.java | 102 - java/tests/Concurrency/TokenTest.dsp | 72 - java/tests/Concurrency/TokenTest.java | 73 - java/tests/Connection/AcceptorTest.dsp | 73 - java/tests/Connection/AcceptorTest.java | 79 - java/tests/Connection/ClientHandler.dsp | 73 - java/tests/Connection/ClientHandler.java | 77 - java/tests/Connection/ConnectorTest.dsp | 73 - java/tests/Connection/ConnectorTest.java | 76 - java/tests/Connection/HTTPHelperTest.java | 27 - java/tests/Connection/Makefile | 26 - java/tests/Connection/ServerHandler.dsp | 73 - java/tests/Connection/ServerHandler.java | 68 - java/tests/Misc/Makefile | 21 - java/tests/Misc/ParseArgsTest.dsp | 73 - java/tests/Misc/ParseArgsTest.java | 45 - java/tests/Reactor/Makefile | 22 - java/tests/Reactor/TimeValueTest.dsp | 73 - java/tests/Reactor/TimeValueTest.java | 50 - java/tests/Reactor/TimerQueueTest.dsp | 73 - java/tests/Reactor/TimerQueueTest.java | 80 - java/tests/SOCK_SAP/Makefile | 22 - java/tests/SOCK_SAP/SOCKAcceptorTest.dsp | 73 - java/tests/SOCK_SAP/SOCKAcceptorTest.java | 108 - java/tests/SOCK_SAP/SOCKConnectorTest.dsp | 73 - java/tests/SOCK_SAP/SOCKConnectorTest.java | 95 - java/tests/ServiceConfigurator/Makefile | 25 - .../ServiceConfigurator/ServiceConfigurator.dsp | 81 - java/tests/ServiceConfigurator/TestService.java | 52 - java/tests/ServiceConfigurator/reloadTest.java | 61 - java/tests/ServiceConfigurator/suspendTest.java | 80 - java/tests/ServiceConfigurator/suspendTest1.conf | 1 - java/tests/ServiceConfigurator/suspendTest2.conf | 1 - java/tests/ServiceConfigurator/suspendTest3.conf | 1 - java/tests/ServiceConfigurator/svc.conf | 1 - java/tests/Tests.dsw | 257 - java/tests/netsvcs/Logger/LoggerTest.java | 122 - java/tests/netsvcs/Logger/Makefile | 19 - java/tests/netsvcs/Naming/ClientTest.java | 117 - java/tests/netsvcs/Naming/Makefile | 21 - netsvcs/clients/Naming/Dump_Restore/nametest.cpp | 112 - netsvcs/clients/Naming/Dump_Restore/nametest.h | 15 - netsvcs/lib/Client_Logging_Handler.i | 4 - netsvcs/lib/Server_Logging_Handler.i | 4 - netsvcs/servers/cli.conf | 11 - netsvcs/servers/ntsvc.conf | 12 - psosim/Makefile | 76 - psosim/drv_conf.c | 79 - rpc++/.dependencies | 131 - rpc++/COPYING | 481 - rpc++/Makefile | 55 - rpc++/Proj.make | 68 - rpc++/README | 18 - rpc++/README.ORIG | 9 - rpc++/StdHdrs/Makefile | 13 - rpc++/StdHdrs/README | 3 - rpc++/StdHdrs/rpc/auth.h | 171 - rpc++/StdHdrs/rpc/c_types.h | 79 - rpc++/StdHdrs/rpc/clnt.h | 347 - rpc++/StdHdrs/rpc/pmap_clnt.h | 82 - rpc++/StdHdrs/rpc/svc.h | 286 - rpc++/StdHdrs/rpc/xdr.h | 275 - rpc++/callback.cc | 38 - rpc++/example/Makefile | 40 - rpc++/example/calcsvc.cc | 30 - rpc++/example/calcsvc.h | 34 - rpc++/example/client.cc | 64 - rpc++/example/server.cc | 112 - rpc++/gcc-2.2.fix | 252 - rpc++/request.cc | 165 - rpc++/rpc++.cp | 13 - rpc++/rpc++.fn | 63 - rpc++/rpc++.ky | 0 rpc++/rpc++.pg | 0 rpc++/rpc++.texi | 1519 - rpc++/rpc++.toc | 23 - rpc++/rpc++.tp | 7 - rpc++/rpc++.vr | 13 - rpc++/rpc++/callback.h | 533 - rpc++/rpc++/request.h | 121 - rpc++/rpc++/service.h | 132 - rpc++/rpc++/stub.h | 145 - rpc++/rpc++/xdr++.h | 98 - rpc++/service.cc | 316 - rpc++/stub.cc | 207 - rpc++/version.h | 4 - rpc++/xdr++.cc | 75 - tests/CPP_Test.cpp | 261 - tests/Shared_Memory_SV_Test.cpp | 83 - tests/run_tests.ksh | 6 - 3872 files changed, 999379 deletions(-) delete mode 100644 ACE-configuration.txt delete mode 100644 ACE.DSW delete mode 100644 ACE.ifnames delete mode 100644 Makefile.bor delete mode 100644 STL/ACE_Changes delete mode 100644 STL/readme2.stl delete mode 100644 Static_Performance.dsw delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/Makefile delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/client.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/marshal.h delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/marshal.idl delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.h delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.i delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.h delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.i delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.h delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.i delete mode 100755 TAO/Benchmark/Marshal_Test/Orbix/run_client delete mode 100755 TAO/Benchmark/Marshal_Test/Orbix/run_dsi delete mode 100755 TAO/Benchmark/Marshal_Test/Orbix/run_dsi_server delete mode 100755 TAO/Benchmark/Marshal_Test/Orbix/run_ssi delete mode 100755 TAO/Benchmark/Marshal_Test/Orbix/run_ssi_server delete mode 100644 TAO/Benchmark/Marshal_Test/Orbix/server.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/Makefile delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/client.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/marshal.idl delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/marshalC.h delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/marshalS.h delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/server.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.h delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.i delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.h delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.i delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.h delete mode 100644 TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.i delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/Makefile delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/client.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/marshal.idl delete mode 100755 TAO/Benchmark/Marshal_Test/VisiBroker/run_client delete mode 100755 TAO/Benchmark/Marshal_Test/VisiBroker/run_server delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/server.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.h delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.i delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.h delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.i delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.cpp delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.h delete mode 100644 TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.i delete mode 100644 TAO/Benchmark/benchmark/Makefile delete mode 100644 TAO/Benchmark/benchmark/driver.cpp delete mode 100644 TAO/Benchmark/benchmark/driver.h delete mode 100644 TAO/Benchmark/benchmark/marshal_options.cpp delete mode 100644 TAO/Benchmark/benchmark/marshal_options.h delete mode 100644 TAO/Benchmark/benchmark/marshal_options.i delete mode 100644 TAO/Benchmark/benchmark/marshal_proxy.cpp delete mode 100644 TAO/Benchmark/benchmark/marshal_proxy.h delete mode 100644 TAO/Benchmark/benchmark/marshal_proxy.i delete mode 100644 TAO/Benchmark/benchmark/marshal_results.cpp delete mode 100644 TAO/Benchmark/benchmark/marshal_results.h delete mode 100644 TAO/Benchmark/benchmark/marshal_results.i delete mode 100644 TAO/COPYING delete mode 100644 TAO/COPYING.sun delete mode 100644 TAO/ChangeLog-97 delete mode 100644 TAO/ChangeLog-98a delete mode 100644 TAO/ChangeLog-98b delete mode 100644 TAO/ChangeLog-98c delete mode 100644 TAO/ChangeLog-99a delete mode 100644 TAO/ChangeLog-99c delete mode 100644 TAO/LICENSE.sun delete mode 100644 TAO/Makefile delete mode 100644 TAO/Makefile.am delete mode 100644 TAO/Makefile.bor delete mode 100644 TAO/PROBLEM-REPORT-FORM delete mode 100644 TAO/README delete mode 100644 TAO/README.sun delete mode 100644 TAO/TAO-INSTALL.html delete mode 100644 TAO/TAO-inheritance.pdf.gz delete mode 100644 TAO/TAO-inheritance.ps.gz delete mode 100644 TAO/TAOACE.dsw delete mode 100644 TAO/TAOACE_Static.dsw delete mode 100644 TAO/TAO_IDL/ANNOUNCEMENT delete mode 100644 TAO/TAO_IDL/CHANGES delete mode 100644 TAO/TAO_IDL/COPYING.sun delete mode 100644 TAO/TAO_IDL/INSTALL.sun delete mode 100644 TAO/TAO_IDL/Makefile delete mode 100644 TAO/TAO_IDL/Makefile.am delete mode 100644 TAO/TAO_IDL/Makefile.bor delete mode 100644 TAO/TAO_IDL/README.sun delete mode 100644 TAO/TAO_IDL/ast/Makefile.am delete mode 100644 TAO/TAO_IDL/ast/ast_argument.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_array.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_attribute.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_check.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_concrete_type.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_constant.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_decl.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_enum.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_enum_val.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_exception.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_expression.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_field.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_generator.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_interface.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_interface_fwd.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_module.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_native.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_operation.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_predefined_type.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_recursive.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_redef.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_root.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_sequence.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_string.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_structure.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_type.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_typedef.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_union.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_union_branch.cpp delete mode 100644 TAO/TAO_IDL/ast/ast_union_label.cpp delete mode 100644 TAO/TAO_IDL/be/Makefile.am delete mode 100644 TAO/TAO_IDL/be/be_args.cpp delete mode 100644 TAO/TAO_IDL/be/be_argument.cpp delete mode 100644 TAO/TAO_IDL/be/be_array.cpp delete mode 100644 TAO/TAO_IDL/be/be_attribute.cpp delete mode 100644 TAO/TAO_IDL/be/be_codegen.cpp delete mode 100644 TAO/TAO_IDL/be/be_constant.cpp delete mode 100644 TAO/TAO_IDL/be/be_decl.cpp delete mode 100644 TAO/TAO_IDL/be/be_enum.cpp delete mode 100644 TAO/TAO_IDL/be/be_enum_val.cpp delete mode 100644 TAO/TAO_IDL/be/be_exception.cpp delete mode 100644 TAO/TAO_IDL/be/be_expression.cpp delete mode 100644 TAO/TAO_IDL/be/be_field.cpp delete mode 100644 TAO/TAO_IDL/be/be_generator.cpp delete mode 100644 TAO/TAO_IDL/be/be_helper.cpp delete mode 100644 TAO/TAO_IDL/be/be_init.cpp delete mode 100644 TAO/TAO_IDL/be/be_interface.cpp delete mode 100644 TAO/TAO_IDL/be/be_interface_fwd.cpp delete mode 100644 TAO/TAO_IDL/be/be_module.cpp delete mode 100644 TAO/TAO_IDL/be/be_native.cpp delete mode 100644 TAO/TAO_IDL/be/be_operation.cpp delete mode 100644 TAO/TAO_IDL/be/be_predefined_type.cpp delete mode 100644 TAO/TAO_IDL/be/be_produce.cpp delete mode 100644 TAO/TAO_IDL/be/be_root.cpp delete mode 100644 TAO/TAO_IDL/be/be_scope.cpp delete mode 100644 TAO/TAO_IDL/be/be_sequence.cpp delete mode 100644 TAO/TAO_IDL/be/be_stream_factory.cpp delete mode 100644 TAO/TAO_IDL/be/be_string.cpp delete mode 100644 TAO/TAO_IDL/be/be_structure.cpp delete mode 100644 TAO/TAO_IDL/be/be_sunsoft.cpp delete mode 100644 TAO/TAO_IDL/be/be_type.cpp delete mode 100644 TAO/TAO_IDL/be/be_typedef.cpp delete mode 100644 TAO/TAO_IDL/be/be_union.cpp delete mode 100644 TAO/TAO_IDL/be/be_union_branch.cpp delete mode 100644 TAO/TAO_IDL/be/be_union_label.cpp delete mode 100644 TAO/TAO_IDL/be/be_valuetype.cpp delete mode 100644 TAO/TAO_IDL/be/be_valuetype_fwd.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/ami_arglist.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/ami_handler_arglist.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/ami_handler_result_arg.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/ami_handler_upcall_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/ami_handler_vardecl_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/argument.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/docall_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/marshal_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/post_docall_compiled_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/post_marshal_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/pre_docall_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/pre_invoke_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/pre_upcall_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/upcall_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_array.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_array/any_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_array/any_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_array/array.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_array/array_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_array/array_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_array/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_attribute.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_attribute/attribute.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_constant.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_context.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_decl.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_enum.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_enum/any_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_enum/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_enum/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_enum/enum_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/any_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/cdr_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/ctor_assign.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/exception.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/exception_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_factory.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_field.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_field/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_field/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_field/field_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_field/field_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_field/field_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/ami_handler_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/ami_handler_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/ami_handler_fwd_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/ami_handler_fwd_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/ami_handler_servant_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/ami_handler_servant_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/ami_handler_stub_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/ami_handler_stub_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/any_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/collocated_ami_handler_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/direct_collocated_sh.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/direct_collocated_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/interface.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/interface_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/interface_is.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/interface_sh.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/interface_si.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/thru_poa_collocated_sh.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/thru_poa_collocated_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/tie_sh.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface/tie_si.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface_fwd.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_module.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_module/any_op.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_module/cdr_op.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_module/module.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_module/module_ih.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_module/module_sh.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_arglist.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_handler_arglist.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_handler_arglist_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_handler_argument_marshal.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_handler_result_arg.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/ami_handler_skeleton_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/arglist.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/argument.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/argument_invoke.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/argument_marshal.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/direct_collocated_sh.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/direct_collocated_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/operation.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/operation_ami_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/operation_ami_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/operation_ih.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/operation_is.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_assign_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_docall_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_is.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_marshal_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_post_docall_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_post_upcall_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_pre_docall_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_pre_invoke_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_return_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/thru_poa_collocated_sh.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/thru_poa_collocated_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/tie_sh.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation/tie_si.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_rettype.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/any_op.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/cdr_op.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/root.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/root_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/root_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/root_ih.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/root_is.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/root_sh.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/root_si.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root/root_ss.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_scope.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/any_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/buffer_type.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/elemtype.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_structure.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_structure/structure.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_structure/structure_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_structure/structure_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_structure/structure_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typecode.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef/typedef.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/any_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/discriminant_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/discriminant_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/union.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/union_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch/public_access_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch/public_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch/public_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/arglist.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/cdr_op_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/field_cdr_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/field_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/marshal_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/valuetype.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_cs.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype_fwd.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype_fwd/cdr_op_ci.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype_fwd/interface_fwd_ch.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_valuetype_fwd/interface_fwd_ci.cpp delete mode 100644 TAO/TAO_IDL/be_include/Makefile.am delete mode 100644 TAO/TAO_IDL/be_include/be.h delete mode 100644 TAO/TAO_IDL/be_include/be_argument.h delete mode 100644 TAO/TAO_IDL/be_include/be_array.h delete mode 100644 TAO/TAO_IDL/be_include/be_attribute.h delete mode 100644 TAO/TAO_IDL/be_include/be_codegen.h delete mode 100644 TAO/TAO_IDL/be_include/be_constant.h delete mode 100644 TAO/TAO_IDL/be_include/be_decl.h delete mode 100644 TAO/TAO_IDL/be_include/be_enum.h delete mode 100644 TAO/TAO_IDL/be_include/be_enum_val.h delete mode 100644 TAO/TAO_IDL/be_include/be_exception.h delete mode 100644 TAO/TAO_IDL/be_include/be_expression.h delete mode 100644 TAO/TAO_IDL/be_include/be_field.h delete mode 100644 TAO/TAO_IDL/be_include/be_generator.h delete mode 100644 TAO/TAO_IDL/be_include/be_helper.h delete mode 100644 TAO/TAO_IDL/be_include/be_interface.h delete mode 100644 TAO/TAO_IDL/be_include/be_interface_fwd.h delete mode 100644 TAO/TAO_IDL/be_include/be_module.h delete mode 100644 TAO/TAO_IDL/be_include/be_native.h delete mode 100644 TAO/TAO_IDL/be_include/be_operation.h delete mode 100644 TAO/TAO_IDL/be_include/be_predefined_type.h delete mode 100644 TAO/TAO_IDL/be_include/be_root.h delete mode 100644 TAO/TAO_IDL/be_include/be_scope.h delete mode 100644 TAO/TAO_IDL/be_include/be_sequence.h delete mode 100644 TAO/TAO_IDL/be_include/be_state.h delete mode 100644 TAO/TAO_IDL/be_include/be_stream_factory.h delete mode 100644 TAO/TAO_IDL/be_include/be_string.h delete mode 100644 TAO/TAO_IDL/be_include/be_structure.h delete mode 100644 TAO/TAO_IDL/be_include/be_sunsoft.h delete mode 100644 TAO/TAO_IDL/be_include/be_type.h delete mode 100644 TAO/TAO_IDL/be_include/be_typedef.h delete mode 100644 TAO/TAO_IDL/be_include/be_union.h delete mode 100644 TAO/TAO_IDL/be_include/be_union_branch.h delete mode 100644 TAO/TAO_IDL/be_include/be_union_label.h delete mode 100644 TAO/TAO_IDL/be_include/be_valuetype.h delete mode 100644 TAO/TAO_IDL/be_include/be_valuetype_fwd.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/ami_arglist.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_arglist.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_compiled_marshal_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_result_arg.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_upcall_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_vardecl_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/arglist.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/argument.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/compiled_marshal_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/compiled_marshal_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/docall_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/marshal_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/post_docall_compiled_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/post_docall_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/post_marshal_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/post_upcall_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/pre_docall_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/pre_invoke_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/pre_upcall_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/upcall_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_argument/vardecl_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_array.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_array/any_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_array/any_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_array/array.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_array/array_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_array/array_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_array/array_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_array/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_array/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_attribute.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_attribute/attribute.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_constant.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_constant/constant_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_constant/constant_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_context.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_decl.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_enum.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_enum/any_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_enum/any_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_enum/enum_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/any_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/any_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/ctor.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/ctor_assign.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/exception.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/exception_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/exception_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/exception_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_exception/exception_ctor.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_factory.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_field.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_field/field_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_field/field_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_field/field_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_fwd_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_fwd_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_servant_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_servant_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_stub_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_stub_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/any_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/any_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/collocated_ami_handler_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/direct_collocated_sh.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/direct_collocated_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/interface.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/interface_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/interface_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/interface_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/interface_is.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/interface_sh.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/interface_si.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/interface_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/thru_poa_collocated_sh.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/thru_poa_collocated_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/tie_sh.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface/tie_si.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface_fwd.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface_fwd/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface_fwd/interface_fwd_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface_fwd/interface_fwd_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_module.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_module/any_op.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_module/cdr_op.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_module/module.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_module/module_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_module/module_ih.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_module/module_sh.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/ami_arglist.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/ami_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/ami_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_arglist.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_argument_marshal.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_result_arg.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_skeleton_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/arglist.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/argument.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/argument_invoke.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/argument_marshal.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/compiled_marshal.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/direct_collocated_sh.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/direct_collocated_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/exceptlist_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/operation.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/operation_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/operation_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/operation_ih.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/operation_is.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/operation_sh.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/operation_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_assign_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_docall_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_is.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_marshal_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_post_docall_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_post_upcall_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_pre_docall_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_pre_invoke_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_return_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_vardecl_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/rettype_vardecl_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/thru_poa_collocated_sh.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/thru_poa_collocated_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/tie_sh.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation/tie_si.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/any_op.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/cdr_op.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/root.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/root_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/root_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/root_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/root_ih.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/root_is.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/root_sh.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/root_si.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root/root_ss.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_scope.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/any_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/any_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/buffer_type.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/elemtype.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_base.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_structure.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_structure/any_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_structure/any_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_structure/structure.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_structure/structure_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_structure/structure_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_structure/structure_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typecode.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_decl.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef/any_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef/any_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef/typedef.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/any_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/any_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/discriminant_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/discriminant_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/discriminant_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/union.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/union_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/union_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union/union_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch/private_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch/public_access_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch/public_assign_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch/public_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch/public_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch/public_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch/public_reset_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/arglist.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/cdr_op_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/field_cdr_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/field_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/field_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/marshal_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/marshal_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/obv_module.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_cs.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ci.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/valuetype_fwd_ch.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/valuetype_fwd_ci.h delete mode 100644 TAO/TAO_IDL/docs/ANNOUNCEMENT delete mode 100644 TAO/TAO_IDL/docs/BUG_REPORT delete mode 100644 TAO/TAO_IDL/docs/CHANGES delete mode 100644 TAO/TAO_IDL/docs/CLI delete mode 100644 TAO/TAO_IDL/docs/COPYRIGHT delete mode 100644 TAO/TAO_IDL/docs/INSTALL delete mode 100644 TAO/TAO_IDL/docs/PROBLEMS delete mode 100644 TAO/TAO_IDL/docs/README delete mode 100644 TAO/TAO_IDL/docs/ROADMAP delete mode 100644 TAO/TAO_IDL/docs/WRITING_A_BE delete mode 100644 TAO/TAO_IDL/driver/Makefile.am delete mode 100644 TAO/TAO_IDL/driver/drv_args.cpp delete mode 100644 TAO/TAO_IDL/driver/drv_fork.cpp delete mode 100644 TAO/TAO_IDL/driver/drv_init.cpp delete mode 100644 TAO/TAO_IDL/driver/drv_link.cpp delete mode 100644 TAO/TAO_IDL/driver/drv_preproc.cpp delete mode 100644 TAO/TAO_IDL/driver/drv_private.cpp delete mode 100644 TAO/TAO_IDL/fe/Makefile.am delete mode 100644 TAO/TAO_IDL/fe/fe_declarator.cpp delete mode 100644 TAO/TAO_IDL/fe/fe_extern.cpp delete mode 100644 TAO/TAO_IDL/fe/fe_init.cpp delete mode 100644 TAO/TAO_IDL/fe/fe_interface_header.cpp delete mode 100644 TAO/TAO_IDL/fe/fe_lookup.cpp delete mode 100644 TAO/TAO_IDL/fe/fe_private.cpp delete mode 100644 TAO/TAO_IDL/fe/idl.ll delete mode 100644 TAO/TAO_IDL/fe/idl.yy delete mode 100644 TAO/TAO_IDL/fe/keywords.dat delete mode 100644 TAO/TAO_IDL/fe/lex.yy.cpp delete mode 100644 TAO/TAO_IDL/fe/lex.yy.cpp.diff delete mode 100644 TAO/TAO_IDL/fe/y.tab.cpp delete mode 100644 TAO/TAO_IDL/fe/y.tab.cpp.diff delete mode 100644 TAO/TAO_IDL/fe/y.tab.h delete mode 100644 TAO/TAO_IDL/idl_make_vars delete mode 100644 TAO/TAO_IDL/idl_specs/array.idl delete mode 100644 TAO/TAO_IDL/idl_specs/constant.idl delete mode 100644 TAO/TAO_IDL/idl_specs/dif2.idl delete mode 100644 TAO/TAO_IDL/idl_specs/inherit.idl delete mode 100644 TAO/TAO_IDL/idl_specs/module.idl delete mode 100644 TAO/TAO_IDL/idl_specs/primtypes.idl delete mode 100644 TAO/TAO_IDL/idl_specs/sequence.idl delete mode 100644 TAO/TAO_IDL/idl_specs/simple.idl delete mode 100644 TAO/TAO_IDL/idl_specs/simple2.idl delete mode 100644 TAO/TAO_IDL/idl_specs/struct.idl delete mode 100644 TAO/TAO_IDL/idl_specs/union.idl delete mode 100644 TAO/TAO_IDL/idl_specs/union2.idl delete mode 100644 TAO/TAO_IDL/include/Makefile.am delete mode 100644 TAO/TAO_IDL/include/ast.h delete mode 100644 TAO/TAO_IDL/include/ast_argument.h delete mode 100644 TAO/TAO_IDL/include/ast_array.h delete mode 100644 TAO/TAO_IDL/include/ast_attribute.h delete mode 100644 TAO/TAO_IDL/include/ast_concrete_type.h delete mode 100644 TAO/TAO_IDL/include/ast_constant.h delete mode 100644 TAO/TAO_IDL/include/ast_decl.h delete mode 100644 TAO/TAO_IDL/include/ast_enum.h delete mode 100644 TAO/TAO_IDL/include/ast_enum_val.h delete mode 100644 TAO/TAO_IDL/include/ast_exception.h delete mode 100644 TAO/TAO_IDL/include/ast_expression.h delete mode 100644 TAO/TAO_IDL/include/ast_extern.h delete mode 100644 TAO/TAO_IDL/include/ast_field.h delete mode 100644 TAO/TAO_IDL/include/ast_generator.h delete mode 100644 TAO/TAO_IDL/include/ast_interface.h delete mode 100644 TAO/TAO_IDL/include/ast_interface_fwd.h delete mode 100644 TAO/TAO_IDL/include/ast_module.h delete mode 100644 TAO/TAO_IDL/include/ast_native.h delete mode 100644 TAO/TAO_IDL/include/ast_operation.h delete mode 100644 TAO/TAO_IDL/include/ast_predefined_type.h delete mode 100644 TAO/TAO_IDL/include/ast_root.h delete mode 100644 TAO/TAO_IDL/include/ast_sequence.h delete mode 100644 TAO/TAO_IDL/include/ast_string.h delete mode 100644 TAO/TAO_IDL/include/ast_structure.h delete mode 100644 TAO/TAO_IDL/include/ast_type.h delete mode 100644 TAO/TAO_IDL/include/ast_typedef.h delete mode 100644 TAO/TAO_IDL/include/ast_union.h delete mode 100644 TAO/TAO_IDL/include/ast_union_branch.h delete mode 100644 TAO/TAO_IDL/include/ast_union_label.h delete mode 100644 TAO/TAO_IDL/include/be_extern.h delete mode 100644 TAO/TAO_IDL/include/drv_extern.h delete mode 100644 TAO/TAO_IDL/include/drv_link.h delete mode 100644 TAO/TAO_IDL/include/drv_private.h delete mode 100644 TAO/TAO_IDL/include/fe_declarator.h delete mode 100644 TAO/TAO_IDL/include/fe_extern.h delete mode 100644 TAO/TAO_IDL/include/fe_interface_header.h delete mode 100644 TAO/TAO_IDL/include/fe_private.h delete mode 100644 TAO/TAO_IDL/include/global_extern.h delete mode 100644 TAO/TAO_IDL/include/idl.h delete mode 100644 TAO/TAO_IDL/include/idl_bool.h delete mode 100644 TAO/TAO_IDL/include/idl_defines.h delete mode 100644 TAO/TAO_IDL/include/idl_extern.h delete mode 100644 TAO/TAO_IDL/include/idl_fwd.h delete mode 100644 TAO/TAO_IDL/include/idl_global.h delete mode 100644 TAO/TAO_IDL/include/idl_narrow.h delete mode 100644 TAO/TAO_IDL/include/intlmacros.h delete mode 100644 TAO/TAO_IDL/include/nr_extern.h delete mode 100644 TAO/TAO_IDL/include/util.h delete mode 100644 TAO/TAO_IDL/include/utl_decllist.h delete mode 100644 TAO/TAO_IDL/include/utl_err.h delete mode 100644 TAO/TAO_IDL/include/utl_error.h delete mode 100644 TAO/TAO_IDL/include/utl_exceptlist.h delete mode 100644 TAO/TAO_IDL/include/utl_exprlist.h delete mode 100644 TAO/TAO_IDL/include/utl_identifier.h delete mode 100644 TAO/TAO_IDL/include/utl_idlist.h delete mode 100644 TAO/TAO_IDL/include/utl_indenter.h delete mode 100644 TAO/TAO_IDL/include/utl_labellist.h delete mode 100644 TAO/TAO_IDL/include/utl_list.h delete mode 100644 TAO/TAO_IDL/include/utl_namelist.h delete mode 100644 TAO/TAO_IDL/include/utl_scope.h delete mode 100644 TAO/TAO_IDL/include/utl_scoped_name.h delete mode 100644 TAO/TAO_IDL/include/utl_stack.h delete mode 100644 TAO/TAO_IDL/include/utl_string.h delete mode 100644 TAO/TAO_IDL/include/utl_strlist.h delete mode 100644 TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h delete mode 100644 TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h delete mode 100644 TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h delete mode 100644 TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h delete mode 100644 TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h delete mode 100644 TAO/TAO_IDL/include/utl_tmpl/utl_list.h delete mode 100644 TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h delete mode 100644 TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h delete mode 100644 TAO/TAO_IDL/narrow/Makefile.am delete mode 100644 TAO/TAO_IDL/narrow/narrow.cpp delete mode 100644 TAO/TAO_IDL/tao_idl.cpp delete mode 100644 TAO/TAO_IDL/tao_idl.dsp delete mode 100644 TAO/TAO_IDL/tao_idl.dsw delete mode 100644 TAO/TAO_IDL/tao_idl_static.dsp delete mode 100644 TAO/TAO_IDL/util/Makefile.am delete mode 100644 TAO/TAO_IDL/util/utl_decllist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_err.cpp delete mode 100644 TAO/TAO_IDL/util/utl_error.cpp delete mode 100644 TAO/TAO_IDL/util/utl_exceptlist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_exprlist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_global.cpp delete mode 100644 TAO/TAO_IDL/util/utl_identifier.cpp delete mode 100644 TAO/TAO_IDL/util/utl_idlist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_indenter.cpp delete mode 100644 TAO/TAO_IDL/util/utl_labellist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_list.cpp delete mode 100644 TAO/TAO_IDL/util/utl_namelist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_scope.cpp delete mode 100644 TAO/TAO_IDL/util/utl_stack.cpp delete mode 100644 TAO/TAO_IDL/util/utl_string.cpp delete mode 100644 TAO/TAO_IDL/util/utl_strlist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_tmpl/utl_decllist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_tmpl/utl_exprlist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_tmpl/utl_idlist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_tmpl/utl_labellist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_tmpl/utl_list.cpp delete mode 100644 TAO/TAO_IDL/util/utl_tmpl/utl_namelist.cpp delete mode 100644 TAO/TAO_IDL/util/utl_tmpl/utl_strlist.cpp delete mode 100644 TAO/VERSION delete mode 100755 TAO/announcement delete mode 100644 TAO/configure.in delete mode 100644 TAO/docs/DIFFERENCES delete mode 100644 TAO/docs/HISTORY delete mode 100644 TAO/docs/INS.html delete mode 100644 TAO/docs/Options.html delete mode 100644 TAO/docs/REFERENCES delete mode 100644 TAO/docs/Tags.html delete mode 100644 TAO/docs/compiler.html delete mode 100644 TAO/docs/components.html delete mode 100644 TAO/docs/configurations.html delete mode 100644 TAO/docs/ec_options.html delete mode 100644 TAO/docs/events_tutorial.html delete mode 100644 TAO/docs/exceptions.html delete mode 100644 TAO/docs/forwarding.html delete mode 100644 TAO/docs/implrepo.html delete mode 100644 TAO/docs/implrepo/index.html delete mode 100644 TAO/docs/implrepo/paper.html delete mode 100644 TAO/docs/implrepo/tao_ir.html delete mode 100644 TAO/docs/implrepo/usersguide.html delete mode 100644 TAO/docs/index.html delete mode 100644 TAO/docs/leader_follower.html delete mode 100644 TAO/docs/locate_request.html delete mode 100644 TAO/docs/minimumTAO.html delete mode 100644 TAO/docs/orbsvcs.html delete mode 100644 TAO/docs/poa_migration.html delete mode 100644 TAO/docs/reactivator.html delete mode 100644 TAO/docs/releasenotes.html delete mode 100644 TAO/docs/releasenotes/OBV.html delete mode 100644 TAO/docs/releasenotes/TODO.html delete mode 100644 TAO/docs/releasenotes/ec.html delete mode 100644 TAO/docs/releasenotes/index.html delete mode 100644 TAO/docs/releasenotes/orbcore.html delete mode 100644 TAO/docs/releasenotes/trader.html delete mode 100644 TAO/examples/Borland/Broadcaster.idl delete mode 100644 TAO/examples/Borland/Chat.bpg delete mode 100644 TAO/examples/Borland/ChatClient.bpr delete mode 100644 TAO/examples/Borland/ChatClient.cpp delete mode 100644 TAO/examples/Borland/ChatClient.res delete mode 100644 TAO/examples/Borland/ChatClientWnd.cpp delete mode 100644 TAO/examples/Borland/ChatClientWnd.h delete mode 100644 TAO/examples/Borland/README delete mode 100644 TAO/examples/Borland/Receiver.idl delete mode 100644 TAO/examples/Borland/ReceiverImpl.cpp delete mode 100644 TAO/examples/Borland/ReceiverImpl.h delete mode 100644 TAO/examples/Borland/build_idl.bat delete mode 100644 TAO/examples/Borland/pch.h delete mode 100644 TAO/examples/Callback_Quoter/Callback_Quoter.dsw delete mode 100644 TAO/examples/Callback_Quoter/Callback_Quoter_Consumer.bor delete mode 100644 TAO/examples/Callback_Quoter/Callback_Quoter_Notifier.bor delete mode 100644 TAO/examples/Callback_Quoter/Callback_Quoter_Supplier.bor delete mode 100644 TAO/examples/Callback_Quoter/Consumer.dsp delete mode 100644 TAO/examples/Callback_Quoter/Consumer.idl delete mode 100644 TAO/examples/Callback_Quoter/Consumer_Handler.cpp delete mode 100644 TAO/examples/Callback_Quoter/Consumer_Handler.h delete mode 100644 TAO/examples/Callback_Quoter/Consumer_Input_Handler.cpp delete mode 100644 TAO/examples/Callback_Quoter/Consumer_Input_Handler.h delete mode 100644 TAO/examples/Callback_Quoter/Consumer_Signal_Handler.cpp delete mode 100644 TAO/examples/Callback_Quoter/Consumer_Signal_Handler.h delete mode 100644 TAO/examples/Callback_Quoter/Consumer_i.cpp delete mode 100644 TAO/examples/Callback_Quoter/Consumer_i.h delete mode 100644 TAO/examples/Callback_Quoter/Makefile delete mode 100644 TAO/examples/Callback_Quoter/Makefile.bor delete mode 100644 TAO/examples/Callback_Quoter/Notifier.dsp delete mode 100644 TAO/examples/Callback_Quoter/Notifier.idl delete mode 100644 TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp delete mode 100644 TAO/examples/Callback_Quoter/Notifier_Input_Handler.h delete mode 100644 TAO/examples/Callback_Quoter/Notifier_i.cpp delete mode 100644 TAO/examples/Callback_Quoter/Notifier_i.h delete mode 100644 TAO/examples/Callback_Quoter/README delete mode 100644 TAO/examples/Callback_Quoter/Supplier.dsp delete mode 100644 TAO/examples/Callback_Quoter/Supplier_Timer_Handler.cpp delete mode 100644 TAO/examples/Callback_Quoter/Supplier_Timer_Handler.h delete mode 100644 TAO/examples/Callback_Quoter/Supplier_i.cpp delete mode 100644 TAO/examples/Callback_Quoter/Supplier_i.h delete mode 100644 TAO/examples/Callback_Quoter/consumer.cpp delete mode 100644 TAO/examples/Callback_Quoter/example.stocks delete mode 100644 TAO/examples/Callback_Quoter/notifier.cpp delete mode 100755 TAO/examples/Callback_Quoter/run_test.pl delete mode 100644 TAO/examples/Callback_Quoter/supplier.cpp delete mode 100644 TAO/examples/Event_Comm/Consumer.dsp delete mode 100644 TAO/examples/Event_Comm/Consumer_Handler.cpp delete mode 100644 TAO/examples/Event_Comm/Consumer_Handler.h delete mode 100644 TAO/examples/Event_Comm/Consumer_Input_Handler.cpp delete mode 100644 TAO/examples/Event_Comm/Consumer_Input_Handler.h delete mode 100644 TAO/examples/Event_Comm/Event_Comm.dsw delete mode 100644 TAO/examples/Event_Comm/Event_Comm.idl delete mode 100644 TAO/examples/Event_Comm/Event_Comm_i.cpp delete mode 100644 TAO/examples/Event_Comm/Event_Comm_i.h delete mode 100644 TAO/examples/Event_Comm/Makefile delete mode 100644 TAO/examples/Event_Comm/Notifier.dsp delete mode 100644 TAO/examples/Event_Comm/Notifier_Handler.cpp delete mode 100644 TAO/examples/Event_Comm/Notifier_Handler.h delete mode 100644 TAO/examples/Event_Comm/Notifier_Server.cpp delete mode 100644 TAO/examples/Event_Comm/Notifier_Server.h delete mode 100644 TAO/examples/Event_Comm/README delete mode 100644 TAO/examples/Event_Comm/Supplier.dsp delete mode 100644 TAO/examples/Event_Comm/Supplier_Input_Handler.cpp delete mode 100644 TAO/examples/Event_Comm/Supplier_Input_Handler.h delete mode 100644 TAO/examples/Event_Comm/consumer.cpp delete mode 100644 TAO/examples/Event_Comm/notifier.cpp delete mode 100644 TAO/examples/Event_Comm/notifier.h delete mode 100644 TAO/examples/Event_Comm/supplier.cpp delete mode 100644 TAO/examples/Event_Comm/supplier.h delete mode 100644 TAO/examples/Logging/Logger.idl delete mode 100644 TAO/examples/Logging/Logger_i.cpp delete mode 100644 TAO/examples/Logging/Logger_i.h delete mode 100644 TAO/examples/Logging/Logging_Service.cpp delete mode 100644 TAO/examples/Logging/Logging_Service_i.cpp delete mode 100644 TAO/examples/Logging/Logging_Service_i.h delete mode 100644 TAO/examples/Logging/Logging_Test.cpp delete mode 100644 TAO/examples/Logging/Logging_Test_i.cpp delete mode 100644 TAO/examples/Logging/Logging_Test_i.h delete mode 100644 TAO/examples/Logging/Makefile delete mode 100644 TAO/examples/Logging/README delete mode 100755 TAO/examples/Logging/run_test.pl delete mode 100644 TAO/examples/Makefile delete mode 100644 TAO/examples/OBV/Makefile delete mode 100644 TAO/examples/OBV/Simple_util.cpp delete mode 100644 TAO/examples/OBV/Simple_util.h delete mode 100644 TAO/examples/OBV/Typed_Events/Client_i.cpp delete mode 100644 TAO/examples/OBV/Typed_Events/Client_i.h delete mode 100644 TAO/examples/OBV/Typed_Events/Event_Types.idl delete mode 100644 TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp delete mode 100644 TAO/examples/OBV/Typed_Events/Event_Types_impl.h delete mode 100644 TAO/examples/OBV/Typed_Events/Makefile delete mode 100644 TAO/examples/OBV/Typed_Events/README delete mode 100644 TAO/examples/OBV/Typed_Events/Server_i.cpp delete mode 100644 TAO/examples/OBV/Typed_Events/Server_i.h delete mode 100644 TAO/examples/OBV/Typed_Events/Typed_Events.dsw delete mode 100644 TAO/examples/OBV/Typed_Events/client.cpp delete mode 100644 TAO/examples/OBV/Typed_Events/client.dsp delete mode 100755 TAO/examples/OBV/Typed_Events/run_test.pl delete mode 100644 TAO/examples/OBV/Typed_Events/server.cpp delete mode 100644 TAO/examples/OBV/Typed_Events/server.dsp delete mode 100644 TAO/examples/POA/Adapter_Activator/Adaptor_Activator.dsw delete mode 100644 TAO/examples/POA/Adapter_Activator/Makefile delete mode 100644 TAO/examples/POA/Adapter_Activator/README delete mode 100755 TAO/examples/POA/Adapter_Activator/run_test.pl delete mode 100644 TAO/examples/POA/Adapter_Activator/server.cpp delete mode 100644 TAO/examples/POA/Adapter_Activator/server.dsp delete mode 100644 TAO/examples/POA/DSI/DSI.DSW delete mode 100644 TAO/examples/POA/DSI/Database.idl delete mode 100644 TAO/examples/POA/DSI/Database_i.cpp delete mode 100644 TAO/examples/POA/DSI/Database_i.h delete mode 100644 TAO/examples/POA/DSI/Makefile delete mode 100644 TAO/examples/POA/DSI/README delete mode 100644 TAO/examples/POA/DSI/client.cpp delete mode 100644 TAO/examples/POA/DSI/client.dsp delete mode 100755 TAO/examples/POA/DSI/run_test.pl delete mode 100644 TAO/examples/POA/DSI/server.cpp delete mode 100644 TAO/examples/POA/DSI/server.dsp delete mode 100644 TAO/examples/POA/Default_Servant/Default_Servant.dsw delete mode 100644 TAO/examples/POA/Default_Servant/File.idl delete mode 100644 TAO/examples/POA/Default_Servant/File_i.cpp delete mode 100644 TAO/examples/POA/Default_Servant/File_i.h delete mode 100644 TAO/examples/POA/Default_Servant/Makefile delete mode 100644 TAO/examples/POA/Default_Servant/README delete mode 100644 TAO/examples/POA/Default_Servant/client.cpp delete mode 100644 TAO/examples/POA/Default_Servant/client.dsp delete mode 100755 TAO/examples/POA/Default_Servant/run_test.pl delete mode 100644 TAO/examples/POA/Default_Servant/server.cpp delete mode 100644 TAO/examples/POA/Default_Servant/server.dsp delete mode 100644 TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsp delete mode 100644 TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsw delete mode 100644 TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.h delete mode 100644 TAO/examples/POA/Explicit_Activation/Alt_Resources/README delete mode 100644 TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.cpp delete mode 100644 TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.h delete mode 100644 TAO/examples/POA/Explicit_Activation/Explicit_Activation.dsw delete mode 100644 TAO/examples/POA/Explicit_Activation/Makefile delete mode 100644 TAO/examples/POA/Explicit_Activation/README delete mode 100644 TAO/examples/POA/Explicit_Activation/alternate.conf delete mode 100755 TAO/examples/POA/Explicit_Activation/run_test.pl delete mode 100644 TAO/examples/POA/Explicit_Activation/server.cpp delete mode 100644 TAO/examples/POA/Explicit_Activation/server.dsp delete mode 100644 TAO/examples/POA/FindPOA/FindPOA.cpp delete mode 100644 TAO/examples/POA/FindPOA/FindPOA.dsp delete mode 100644 TAO/examples/POA/FindPOA/FindPOA.dsw delete mode 100644 TAO/examples/POA/FindPOA/Makefile delete mode 100644 TAO/examples/POA/FindPOA/README delete mode 100755 TAO/examples/POA/FindPOA/run_test.pl delete mode 100644 TAO/examples/POA/Forwarding/Foo.idl delete mode 100644 TAO/examples/POA/Forwarding/Forwarding.dsw delete mode 100644 TAO/examples/POA/Forwarding/Makefile delete mode 100644 TAO/examples/POA/Forwarding/MyFooServant.cpp delete mode 100644 TAO/examples/POA/Forwarding/MyFooServant.h delete mode 100644 TAO/examples/POA/Forwarding/README delete mode 100644 TAO/examples/POA/Forwarding/Servant_Locator.cpp delete mode 100644 TAO/examples/POA/Forwarding/Servant_Locator.h delete mode 100644 TAO/examples/POA/Forwarding/client.cpp delete mode 100644 TAO/examples/POA/Forwarding/client.dsp delete mode 100755 TAO/examples/POA/Forwarding/run_test.pl delete mode 100644 TAO/examples/POA/Forwarding/server.cpp delete mode 100644 TAO/examples/POA/Forwarding/server.dsp delete mode 100644 TAO/examples/POA/Generic_Servant/Foo.idl delete mode 100644 TAO/examples/POA/Generic_Servant/Generic_Servant.dsw delete mode 100644 TAO/examples/POA/Generic_Servant/Makefile delete mode 100644 TAO/examples/POA/Generic_Servant/MyFooServant.cpp delete mode 100644 TAO/examples/POA/Generic_Servant/MyFooServant.h delete mode 100644 TAO/examples/POA/Generic_Servant/README delete mode 100644 TAO/examples/POA/Generic_Servant/client.cpp delete mode 100644 TAO/examples/POA/Generic_Servant/client.dsp delete mode 100644 TAO/examples/POA/Generic_Servant/generic_servant_export.h delete mode 100644 TAO/examples/POA/Generic_Servant/server.dsp delete mode 100644 TAO/examples/POA/Loader/Loader.dsw delete mode 100644 TAO/examples/POA/Loader/Makefile delete mode 100644 TAO/examples/POA/Loader/README delete mode 100644 TAO/examples/POA/Loader/Servant_Activator.cpp delete mode 100644 TAO/examples/POA/Loader/Servant_Activator.h delete mode 100644 TAO/examples/POA/Loader/Servant_Locator.cpp delete mode 100644 TAO/examples/POA/Loader/Servant_Locator.h delete mode 100644 TAO/examples/POA/Loader/Server_Manager.cpp delete mode 100644 TAO/examples/POA/Loader/Server_Manager.h delete mode 100755 TAO/examples/POA/Loader/run_test.pl delete mode 100644 TAO/examples/POA/Loader/server.cpp delete mode 100644 TAO/examples/POA/Loader/server.dsp delete mode 100644 TAO/examples/POA/Makefile delete mode 100644 TAO/examples/POA/NewPOA/Makefile delete mode 100644 TAO/examples/POA/NewPOA/NewPOA.cpp delete mode 100644 TAO/examples/POA/NewPOA/NewPOA.dsp delete mode 100644 TAO/examples/POA/NewPOA/NewPOA.dsw delete mode 100644 TAO/examples/POA/NewPOA/README delete mode 100755 TAO/examples/POA/NewPOA/run_test.pl delete mode 100644 TAO/examples/POA/On_Demand_Activation/Makefile delete mode 100644 TAO/examples/POA/On_Demand_Activation/On_Demand_Activation.dsw delete mode 100644 TAO/examples/POA/On_Demand_Activation/README delete mode 100644 TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp delete mode 100644 TAO/examples/POA/On_Demand_Activation/Servant_Activator.h delete mode 100644 TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp delete mode 100644 TAO/examples/POA/On_Demand_Activation/Servant_Locator.h delete mode 100755 TAO/examples/POA/On_Demand_Activation/run_test.pl delete mode 100644 TAO/examples/POA/On_Demand_Activation/server.cpp delete mode 100644 TAO/examples/POA/On_Demand_Activation/server.dsp delete mode 100644 TAO/examples/POA/On_Demand_Loading/Makefile delete mode 100644 TAO/examples/POA/On_Demand_Loading/On_Demand_Loading.dsw delete mode 100644 TAO/examples/POA/On_Demand_Loading/README delete mode 100644 TAO/examples/POA/On_Demand_Loading/Servant_Activator.cpp delete mode 100644 TAO/examples/POA/On_Demand_Loading/Servant_Activator.h delete mode 100644 TAO/examples/POA/On_Demand_Loading/Servant_Locator.cpp delete mode 100644 TAO/examples/POA/On_Demand_Loading/Servant_Locator.h delete mode 100644 TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp delete mode 100644 TAO/examples/POA/On_Demand_Loading/Servant_Manager.h delete mode 100644 TAO/examples/POA/On_Demand_Loading/Server_Manager.cpp delete mode 100644 TAO/examples/POA/On_Demand_Loading/Server_Manager.h delete mode 100755 TAO/examples/POA/On_Demand_Loading/run_test.pl delete mode 100644 TAO/examples/POA/On_Demand_Loading/server.cpp delete mode 100644 TAO/examples/POA/On_Demand_Loading/server.dsp delete mode 100644 TAO/examples/POA/On_Demand_Loading/svc.conf delete mode 100644 TAO/examples/POA/README delete mode 100644 TAO/examples/POA/Reference_Counted_Servant/Makefile delete mode 100644 TAO/examples/POA/Reference_Counted_Servant/README delete mode 100644 TAO/examples/POA/Reference_Counted_Servant/Reference_Counted_Servant.dsw delete mode 100755 TAO/examples/POA/Reference_Counted_Servant/run_test.pl delete mode 100644 TAO/examples/POA/Reference_Counted_Servant/server.cpp delete mode 100644 TAO/examples/POA/Reference_Counted_Servant/server.dsp delete mode 100644 TAO/examples/POA/RootPOA/Makefile delete mode 100644 TAO/examples/POA/RootPOA/README delete mode 100644 TAO/examples/POA/RootPOA/RootPOA.cpp delete mode 100644 TAO/examples/POA/RootPOA/RootPOA.dsp delete mode 100644 TAO/examples/POA/RootPOA/RootPOA.dsw delete mode 100755 TAO/examples/POA/RootPOA/run_test.pl delete mode 100644 TAO/examples/POA/TIE/Foo.idl delete mode 100644 TAO/examples/POA/TIE/Foo_i.cpp delete mode 100644 TAO/examples/POA/TIE/Foo_i.h delete mode 100644 TAO/examples/POA/TIE/Makefile delete mode 100644 TAO/examples/POA/TIE/TIE.dsw delete mode 100644 TAO/examples/POA/TIE/client.cpp delete mode 100644 TAO/examples/POA/TIE/client.dsp delete mode 100755 TAO/examples/POA/TIE/run_test.pl delete mode 100644 TAO/examples/POA/TIE/server.cpp delete mode 100644 TAO/examples/POA/TIE/server.dsp delete mode 100644 TAO/examples/Persistent_Grid/Grid.idl delete mode 100644 TAO/examples/Persistent_Grid/Grid_Client_i.cpp delete mode 100644 TAO/examples/Persistent_Grid/Grid_Client_i.h delete mode 100644 TAO/examples/Persistent_Grid/Grid_i.cpp delete mode 100644 TAO/examples/Persistent_Grid/Grid_i.h delete mode 100644 TAO/examples/Persistent_Grid/Makefile delete mode 100644 TAO/examples/Persistent_Grid/Persistent_Client.h delete mode 100644 TAO/examples/Persistent_Grid/Persistent_Client_i.cpp delete mode 100644 TAO/examples/Persistent_Grid/Persistent_Grid.dsw delete mode 100644 TAO/examples/Persistent_Grid/Persistent_Grid_Client_Files.dsp delete mode 100644 TAO/examples/Persistent_Grid/Persistent_Grid_Second_Client_Files.dsp delete mode 100644 TAO/examples/Persistent_Grid/Persistent_Grid_Server_Files.dsp delete mode 100644 TAO/examples/Persistent_Grid/README delete mode 100644 TAO/examples/Persistent_Grid/Simple_util.cpp delete mode 100644 TAO/examples/Persistent_Grid/Simple_util.h delete mode 100644 TAO/examples/Persistent_Grid/client.cpp delete mode 100644 TAO/examples/Persistent_Grid/persistent_client.cpp delete mode 100755 TAO/examples/Persistent_Grid/run_test.pl delete mode 100644 TAO/examples/Persistent_Grid/server.cpp delete mode 100644 TAO/examples/Quoter/Factory_Finder.cpp delete mode 100644 TAO/examples/Quoter/Factory_Finder.dsp delete mode 100644 TAO/examples/Quoter/Factory_Finder.h delete mode 100644 TAO/examples/Quoter/Factory_Finder_i.cpp delete mode 100644 TAO/examples/Quoter/Factory_Finder_i.h delete mode 100644 TAO/examples/Quoter/Generic_Factory.cpp delete mode 100644 TAO/examples/Quoter/Generic_Factory.dsp delete mode 100644 TAO/examples/Quoter/Generic_Factory.h delete mode 100644 TAO/examples/Quoter/Generic_Factory_i.cpp delete mode 100644 TAO/examples/Quoter/Generic_Factory_i.h delete mode 100644 TAO/examples/Quoter/Makefile delete mode 100644 TAO/examples/Quoter/Quoter.dsw delete mode 100644 TAO/examples/Quoter/Quoter.idl delete mode 100644 TAO/examples/Quoter/Quoter_i.cpp delete mode 100644 TAO/examples/Quoter/Quoter_i.h delete mode 100644 TAO/examples/Quoter/README delete mode 100644 TAO/examples/Quoter/client.conf delete mode 100644 TAO/examples/Quoter/client.cpp delete mode 100644 TAO/examples/Quoter/client.dsp delete mode 100644 TAO/examples/Quoter/client.h delete mode 100755 TAO/examples/Quoter/run_test.pl delete mode 100644 TAO/examples/Quoter/server.conf delete mode 100644 TAO/examples/Quoter/server.cpp delete mode 100644 TAO/examples/Quoter/server.dsp delete mode 100644 TAO/examples/Quoter/server.h delete mode 100755 TAO/examples/Quoter/testall.pl delete mode 100644 TAO/examples/README delete mode 100644 TAO/examples/Simple/Makefile delete mode 100644 TAO/examples/Simple/README delete mode 100644 TAO/examples/Simple/Simple_util.cpp delete mode 100644 TAO/examples/Simple/Simple_util.h delete mode 100644 TAO/examples/Simple/bank/AccountManager_i.cpp delete mode 100644 TAO/examples/Simple/bank/AccountManager_i.h delete mode 100644 TAO/examples/Simple/bank/Account_i.cpp delete mode 100644 TAO/examples/Simple/bank/Account_i.h delete mode 100644 TAO/examples/Simple/bank/Bank.idl delete mode 100644 TAO/examples/Simple/bank/Bank_Client.bor delete mode 100644 TAO/examples/Simple/bank/Bank_Client_i.cpp delete mode 100644 TAO/examples/Simple/bank/Bank_Client_i.h delete mode 100644 TAO/examples/Simple/bank/Bank_Server.bor delete mode 100644 TAO/examples/Simple/bank/Makefile delete mode 100644 TAO/examples/Simple/bank/Makefile.bor delete mode 100644 TAO/examples/Simple/bank/README delete mode 100644 TAO/examples/Simple/bank/bank.dsw delete mode 100644 TAO/examples/Simple/bank/client.cpp delete mode 100644 TAO/examples/Simple/bank/client.dsp delete mode 100755 TAO/examples/Simple/bank/run_test.pl delete mode 100644 TAO/examples/Simple/bank/server.cpp delete mode 100644 TAO/examples/Simple/bank/server.dsp delete mode 100644 TAO/examples/Simple/chat/Broadcaster.idl delete mode 100644 TAO/examples/Simple/chat/Broadcaster_i.cpp delete mode 100644 TAO/examples/Simple/chat/Broadcaster_i.h delete mode 100644 TAO/examples/Simple/chat/Chat_Client.bor delete mode 100644 TAO/examples/Simple/chat/Chat_Server.bor delete mode 100644 TAO/examples/Simple/chat/Client_i.cpp delete mode 100644 TAO/examples/Simple/chat/Client_i.h delete mode 100644 TAO/examples/Simple/chat/Makefile delete mode 100644 TAO/examples/Simple/chat/Makefile.bor delete mode 100644 TAO/examples/Simple/chat/README delete mode 100644 TAO/examples/Simple/chat/Receiver.idl delete mode 100644 TAO/examples/Simple/chat/Receiver_i.cpp delete mode 100644 TAO/examples/Simple/chat/Receiver_i.h delete mode 100644 TAO/examples/Simple/chat/Server.h delete mode 100644 TAO/examples/Simple/chat/Server_i.cpp delete mode 100644 TAO/examples/Simple/chat/Server_i.h delete mode 100644 TAO/examples/Simple/chat/chat.dsw delete mode 100644 TAO/examples/Simple/chat/client.cpp delete mode 100644 TAO/examples/Simple/chat/client.dsp delete mode 100644 TAO/examples/Simple/chat/server.cpp delete mode 100644 TAO/examples/Simple/chat/server.dsp delete mode 100644 TAO/examples/Simple/echo/Echo.dsw delete mode 100644 TAO/examples/Simple/echo/Echo.idl delete mode 100644 TAO/examples/Simple/echo/Echo_Client.bor delete mode 100644 TAO/examples/Simple/echo/Echo_Client_i.cpp delete mode 100644 TAO/examples/Simple/echo/Echo_Client_i.h delete mode 100644 TAO/examples/Simple/echo/Echo_Server.bor delete mode 100644 TAO/examples/Simple/echo/Echo_i.cpp delete mode 100644 TAO/examples/Simple/echo/Echo_i.h delete mode 100644 TAO/examples/Simple/echo/Makefile delete mode 100644 TAO/examples/Simple/echo/Makefile.bor delete mode 100644 TAO/examples/Simple/echo/README delete mode 100644 TAO/examples/Simple/echo/client.cpp delete mode 100644 TAO/examples/Simple/echo/client.dsp delete mode 100755 TAO/examples/Simple/echo/run_test.pl delete mode 100644 TAO/examples/Simple/echo/server.cpp delete mode 100644 TAO/examples/Simple/echo/server.dsp delete mode 100644 TAO/examples/Simple/grid/Grid.dsw delete mode 100644 TAO/examples/Simple/grid/Grid.idl delete mode 100644 TAO/examples/Simple/grid/Grid_Client.bor delete mode 100644 TAO/examples/Simple/grid/Grid_Client_i.cpp delete mode 100644 TAO/examples/Simple/grid/Grid_Client_i.h delete mode 100644 TAO/examples/Simple/grid/Grid_Server.bor delete mode 100644 TAO/examples/Simple/grid/Grid_i.cpp delete mode 100644 TAO/examples/Simple/grid/Grid_i.h delete mode 100644 TAO/examples/Simple/grid/Makefile delete mode 100644 TAO/examples/Simple/grid/Makefile.bor delete mode 100644 TAO/examples/Simple/grid/README delete mode 100644 TAO/examples/Simple/grid/client.cpp delete mode 100644 TAO/examples/Simple/grid/client.dsp delete mode 100755 TAO/examples/Simple/grid/run_test.pl delete mode 100644 TAO/examples/Simple/grid/server.cpp delete mode 100644 TAO/examples/Simple/grid/server.dsp delete mode 100644 TAO/examples/Simple/time-date/Makefile delete mode 100644 TAO/examples/Simple/time-date/README delete mode 100644 TAO/examples/Simple/time-date/Time_Date.cpp delete mode 100644 TAO/examples/Simple/time-date/Time_Date.dsp delete mode 100644 TAO/examples/Simple/time-date/Time_Date.dsw delete mode 100644 TAO/examples/Simple/time-date/Time_Date.h delete mode 100644 TAO/examples/Simple/time-date/Time_Date.idl delete mode 100644 TAO/examples/Simple/time-date/Time_Date_Client_i.cpp delete mode 100644 TAO/examples/Simple/time-date/Time_Date_Client_i.h delete mode 100644 TAO/examples/Simple/time-date/Time_Date_i.cpp delete mode 100644 TAO/examples/Simple/time-date/Time_Date_i.h delete mode 100644 TAO/examples/Simple/time-date/client.cpp delete mode 100644 TAO/examples/Simple/time-date/client.dsp delete mode 100755 TAO/examples/Simple/time-date/run_test.pl delete mode 100644 TAO/examples/Simple/time-date/server.cpp delete mode 100644 TAO/examples/Simple/time-date/server.dsp delete mode 100644 TAO/examples/Simple/time-date/svc.conf delete mode 100644 TAO/examples/Simple/time/Makefile delete mode 100644 TAO/examples/Simple/time/Makefile.bor delete mode 100644 TAO/examples/Simple/time/README delete mode 100644 TAO/examples/Simple/time/Time.dsw delete mode 100644 TAO/examples/Simple/time/Time.idl delete mode 100644 TAO/examples/Simple/time/Time_Client.bor delete mode 100644 TAO/examples/Simple/time/Time_Client_i.cpp delete mode 100644 TAO/examples/Simple/time/Time_Client_i.h delete mode 100644 TAO/examples/Simple/time/Time_Server.bor delete mode 100644 TAO/examples/Simple/time/Time_i.cpp delete mode 100644 TAO/examples/Simple/time/Time_i.h delete mode 100644 TAO/examples/Simple/time/client.cpp delete mode 100644 TAO/examples/Simple/time/client.dsp delete mode 100644 TAO/examples/Simple/time/client_static.dsp delete mode 100755 TAO/examples/Simple/time/run_test.pl delete mode 100644 TAO/examples/Simple/time/server.cpp delete mode 100644 TAO/examples/Simple/time/server.dsp delete mode 100644 TAO/examples/Simple/time/server_static.dsp delete mode 100644 TAO/examples/Simulator/DOVEBrowser/AnswerEvent.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/AnswerListener.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html delete mode 100644 TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/DOVEBrowserApplet.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/DataHandler.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/DemoCore.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/DemoObservable.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/DoubleVisComp.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/MTDataHandlerAdapter.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/MTQueue.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/Makefile delete mode 100644 TAO/examples/Simulator/DOVEBrowser/NS_Resolve.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/NavWeapDataHandler.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/NavigationVisComp.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/ObservablesDialog.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/Properties.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/PushConsumer.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2 delete mode 100644 TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java.JDK1.2 delete mode 100644 TAO/examples/Simulator/DOVEBrowser/Queue.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/VisComp.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/VisCompFactory.java delete mode 100644 TAO/examples/Simulator/DOVEBrowser/WeaponsVisComp.java delete mode 100755 TAO/examples/Simulator/DOVEBrowser/make.bat delete mode 100644 TAO/examples/Simulator/DOVEMIB/AnyAnalyser.cpp delete mode 100644 TAO/examples/Simulator/DOVEMIB/AnyAnalyser.h delete mode 100644 TAO/examples/Simulator/DOVEMIB/DOVEMIB.cpp delete mode 100644 TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsp delete mode 100644 TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsw delete mode 100644 TAO/examples/Simulator/DOVEMIB/DOVEMIB.h delete mode 100644 TAO/examples/Simulator/DOVEMIB/DOVEMIBx.dsp delete mode 100644 TAO/examples/Simulator/DOVEMIB/Makefile delete mode 100644 TAO/examples/Simulator/DOVEMIB/Node.cpp delete mode 100644 TAO/examples/Simulator/DOVEMIB/Node.h delete mode 100644 TAO/examples/Simulator/DOVEMIB/NodeVisitor.h delete mode 100644 TAO/examples/Simulator/DOVEMIB/PrintVisitor.cpp delete mode 100644 TAO/examples/Simulator/DOVEMIB/PrintVisitor.h delete mode 100644 TAO/examples/Simulator/DOVEMIB/TestClient.dsp delete mode 100644 TAO/examples/Simulator/DOVEMIB/any_test.idl delete mode 100644 TAO/examples/Simulator/DOVEMIB/any_test_i.cpp delete mode 100644 TAO/examples/Simulator/DOVEMIB/any_test_i.h delete mode 100644 TAO/examples/Simulator/DOVEMIB/clnt.cpp delete mode 100644 TAO/examples/Simulator/DOVEMIB/clnt.h delete mode 100644 TAO/examples/Simulator/DOVEMIB/svc.conf delete mode 100644 TAO/examples/Simulator/DOVEMIB/svr.cpp delete mode 100644 TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp delete mode 100644 TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h delete mode 100644 TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp delete mode 100644 TAO/examples/Simulator/Event_Supplier/DualEC_Sup.dsp delete mode 100644 TAO/examples/Simulator/Event_Supplier/DualEC_Sup.h delete mode 100644 TAO/examples/Simulator/Event_Supplier/EDF.dat delete mode 100644 TAO/examples/Simulator/Event_Supplier/Event_Con.cpp delete mode 100644 TAO/examples/Simulator/Event_Supplier/Event_Con.h delete mode 100644 TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp delete mode 100644 TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp delete mode 100644 TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw delete mode 100644 TAO/examples/Simulator/Event_Supplier/Event_Sup.h delete mode 100644 TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp delete mode 100644 TAO/examples/Simulator/Event_Supplier/Logging_Sup.dsp delete mode 100644 TAO/examples/Simulator/Event_Supplier/Logging_Sup.h delete mode 100644 TAO/examples/Simulator/Event_Supplier/MLF.dat delete mode 100644 TAO/examples/Simulator/Event_Supplier/MUF.dat delete mode 100644 TAO/examples/Simulator/Event_Supplier/Makefile delete mode 100644 TAO/examples/Simulator/Event_Supplier/RMS.dat delete mode 100644 TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat delete mode 100644 TAO/examples/Simulator/Event_Supplier/svc.conf delete mode 100644 TAO/examples/Simulator/Makefile delete mode 100644 TAO/examples/Simulator/NavWeap.idl delete mode 100644 TAO/examples/Simulator/README delete mode 100644 TAO/examples/TAO_Examples.dsw delete mode 100644 TAO/man/man1/TAO_Concurrency_Service.1 delete mode 100644 TAO/man/man1/TAO_CosEvent_Service.1 delete mode 100644 TAO/man/man1/TAO_Event_Service.1 delete mode 100644 TAO/man/man1/tao_idl.1 delete mode 100644 TAO/man/man7/TAO.7 delete mode 100644 TAO/orbsvcs/Concurrency_Service/Concurrency_Service.cpp delete mode 100644 TAO/orbsvcs/Concurrency_Service/Concurrency_Service.dsp delete mode 100644 TAO/orbsvcs/Concurrency_Service/Concurrency_Service.dsw delete mode 100644 TAO/orbsvcs/Concurrency_Service/Concurrency_Service.h delete mode 100644 TAO/orbsvcs/Concurrency_Service/Makefile delete mode 100644 TAO/orbsvcs/Concurrency_Service/Makefile.am delete mode 100644 TAO/orbsvcs/Concurrency_Service/README delete mode 100644 TAO/orbsvcs/CosEvent_Service/CosEvent_Service.cpp delete mode 100644 TAO/orbsvcs/CosEvent_Service/CosEvent_Service.dsp delete mode 100644 TAO/orbsvcs/CosEvent_Service/CosEvent_Service.dsw delete mode 100644 TAO/orbsvcs/CosEvent_Service/CosEvent_Service.h delete mode 100644 TAO/orbsvcs/CosEvent_Service/Makefile delete mode 100644 TAO/orbsvcs/CosEvent_Service/Makefile.am delete mode 100644 TAO/orbsvcs/CosEvent_Service/README delete mode 100644 TAO/orbsvcs/CosEvent_Service/svc.conf delete mode 100644 TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp delete mode 100644 TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsp delete mode 100644 TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsw delete mode 100644 TAO/orbsvcs/Dump_Schedule/Makefile delete mode 100644 TAO/orbsvcs/Dump_Schedule/Makefile.am delete mode 100644 TAO/orbsvcs/Event_Service/Event_Service.cpp delete mode 100644 TAO/orbsvcs/Event_Service/Event_Service.dsp delete mode 100644 TAO/orbsvcs/Event_Service/Event_Service.dsw delete mode 100644 TAO/orbsvcs/Event_Service/Event_Service.h delete mode 100644 TAO/orbsvcs/Event_Service/Makefile delete mode 100644 TAO/orbsvcs/Event_Service/Makefile.am delete mode 100644 TAO/orbsvcs/Event_Service/svc.conf delete mode 100644 TAO/orbsvcs/ImplRepo_Service/ImplRepo.cpp delete mode 100644 TAO/orbsvcs/ImplRepo_Service/ImplRepo.dsw delete mode 100644 TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp delete mode 100644 TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.h delete mode 100644 TAO/orbsvcs/ImplRepo_Service/Makefile delete mode 100644 TAO/orbsvcs/ImplRepo_Service/Makefile.am delete mode 100644 TAO/orbsvcs/ImplRepo_Service/Options.cpp delete mode 100644 TAO/orbsvcs/ImplRepo_Service/Options.h delete mode 100644 TAO/orbsvcs/ImplRepo_Service/Repository.cpp delete mode 100644 TAO/orbsvcs/ImplRepo_Service/Repository.h delete mode 100644 TAO/orbsvcs/ImplRepo_Service/implrepo.dsp delete mode 100644 TAO/orbsvcs/ImplRepo_Service/tao_ir.cpp delete mode 100644 TAO/orbsvcs/ImplRepo_Service/tao_ir.dsp delete mode 100644 TAO/orbsvcs/ImplRepo_Service/tao_ir_i.cpp delete mode 100644 TAO/orbsvcs/ImplRepo_Service/tao_ir_i.h delete mode 100644 TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.cpp delete mode 100644 TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h delete mode 100644 TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp delete mode 100644 TAO/orbsvcs/LifeCycle_Service/Factory_Trader.h delete mode 100644 TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp delete mode 100644 TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.dsp delete mode 100644 TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.dsw delete mode 100644 TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.h delete mode 100644 TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp delete mode 100644 TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.h delete mode 100644 TAO/orbsvcs/LifeCycle_Service/Makefile delete mode 100644 TAO/orbsvcs/LifeCycle_Service/Makefile.am delete mode 100644 TAO/orbsvcs/Makefile delete mode 100644 TAO/orbsvcs/Makefile.am delete mode 100644 TAO/orbsvcs/Naming_Service/Makefile delete mode 100644 TAO/orbsvcs/Naming_Service/Makefile.am delete mode 100644 TAO/orbsvcs/Naming_Service/Makefile.bor delete mode 100644 TAO/orbsvcs/Naming_Service/Naming_Service.cpp delete mode 100644 TAO/orbsvcs/Naming_Service/Naming_Service.dsp delete mode 100644 TAO/orbsvcs/Naming_Service/Naming_Service.dsw delete mode 100644 TAO/orbsvcs/Naming_Service/Naming_Service.h delete mode 100644 TAO/orbsvcs/Naming_Service/README delete mode 100644 TAO/orbsvcs/Scheduling_Service/Makefile delete mode 100644 TAO/orbsvcs/Scheduling_Service/Makefile.am delete mode 100644 TAO/orbsvcs/Scheduling_Service/Scheduling_Service.cpp delete mode 100644 TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsp delete mode 100644 TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsw delete mode 100644 TAO/orbsvcs/Scheduling_Service/Scheduling_Service.h delete mode 100644 TAO/orbsvcs/Time_Service/Clerk_i.cpp delete mode 100644 TAO/orbsvcs/Time_Service/Clerk_i.h delete mode 100644 TAO/orbsvcs/Time_Service/Makefile delete mode 100644 TAO/orbsvcs/Time_Service/Makefile.am delete mode 100644 TAO/orbsvcs/Time_Service/README delete mode 100644 TAO/orbsvcs/Time_Service/Server_i.cpp delete mode 100644 TAO/orbsvcs/Time_Service/Server_i.h delete mode 100644 TAO/orbsvcs/Time_Service/Time_Service.dsw delete mode 100644 TAO/orbsvcs/Time_Service/Time_Service_Clerk.cpp delete mode 100644 TAO/orbsvcs/Time_Service/Time_Service_Clerk.dsp delete mode 100644 TAO/orbsvcs/Time_Service/Time_Service_Server.cpp delete mode 100644 TAO/orbsvcs/Time_Service/Time_Service_Server.dsp delete mode 100644 TAO/orbsvcs/Trading_Service/Makefile delete mode 100644 TAO/orbsvcs/Trading_Service/Makefile.am delete mode 100644 TAO/orbsvcs/Trading_Service/Makefile.bor delete mode 100644 TAO/orbsvcs/Trading_Service/README delete mode 100644 TAO/orbsvcs/Trading_Service/Trading_Service.cpp delete mode 100644 TAO/orbsvcs/Trading_Service/Trading_Service.dsp delete mode 100644 TAO/orbsvcs/Trading_Service/Trading_Service.dsw delete mode 100644 TAO/orbsvcs/Trading_Service/Trading_Service.h delete mode 100755 TAO/orbsvcs/default.bld delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/Factory.dsw delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.cpp delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.dsp delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.h delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/FactoryServer.dsp delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/Makefile delete mode 100644 TAO/orbsvcs/examples/CosEC/Factory/main.cpp delete mode 100644 TAO/orbsvcs/examples/CosEC/Makefile delete mode 100644 TAO/orbsvcs/examples/Makefile delete mode 100644 TAO/orbsvcs/examples/RtEC/Makefile delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/Consumer.cpp delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/Consumer.h delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Consumer.dsp delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Service.dsp delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Supplier.dsp delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/Makefile delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/README delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/Service.cpp delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/Simple.dsw delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/Supplier.cpp delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/Supplier.h delete mode 100644 TAO/orbsvcs/examples/RtEC/Simple/ec.conf delete mode 100755 TAO/orbsvcs/examples/RtEC/Simple/run_test.pl delete mode 100644 TAO/orbsvcs/orbsvcs.dsw delete mode 100644 TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h delete mode 100644 TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.h delete mode 100644 TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.h delete mode 100644 TAO/orbsvcs/orbsvcs/AV/Makefile.am delete mode 100644 TAO/orbsvcs/orbsvcs/AV/README delete mode 100644 TAO/orbsvcs/orbsvcs/AV/sfp.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/AV/sfp.h delete mode 100644 TAO/orbsvcs/orbsvcs/AVStreams.idl delete mode 100644 TAO/orbsvcs/orbsvcs/AVStreams_Full.idl delete mode 100644 TAO/orbsvcs/orbsvcs/Channel_Clients.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Channel_Clients.h delete mode 100644 TAO/orbsvcs/orbsvcs/Channel_Clients_T.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Channel_Clients_T.h delete mode 100644 TAO/orbsvcs/orbsvcs/Channel_Clients_T.i delete mode 100644 TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.h delete mode 100644 TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.h delete mode 100644 TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h delete mode 100644 TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h delete mode 100644 TAO/orbsvcs/orbsvcs/Concurrency/Makefile.am delete mode 100644 TAO/orbsvcs/orbsvcs/CosConcurrencyControl.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/Makefile.am delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h delete mode 100644 TAO/orbsvcs/orbsvcs/CosEventChannelAdmin.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosEventComm.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent_Utilities.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/CosEvent_Utilities.h delete mode 100644 TAO/orbsvcs/orbsvcs/CosLifeCycle.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosNaming.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosPropertyService.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosTrading.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosTradingDynamic.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosTradingRepos.idl delete mode 100644 TAO/orbsvcs/orbsvcs/Event/BCU.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/BCU.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Command.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Command.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Command.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Defaults.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Factory.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Factory.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Factory.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Filter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Filter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Filter.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Gateway.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Gateway.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_SupplierFiltering.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_SupplierFiltering.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_SupplierFiltering.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_UDP_Admin.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/EC_UDP_Admin.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Event_Channel.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Event_Channel.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Event_Manip.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Event_Manip.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Event_Manip.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Fast_Reactor.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/GPlot_File.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/GPlot_File.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/GPlot_File.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Makefile.am delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Memory_Pools.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Memory_Pools.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Memory_Pools.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Module_Factory.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Module_Factory.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/README delete mode 100644 TAO/orbsvcs/orbsvcs/Event/RT_Task.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/RT_Task.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/RT_Task.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/ReactorTask.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/ReactorTask.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Timer_Module.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Timer_Module.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Timer_Module.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event_Service_Constants.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event_Utilities.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event_Utilities.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event_Utilities.i delete mode 100644 TAO/orbsvcs/orbsvcs/IOR_Multicast.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/IOR_Multicast.h delete mode 100644 TAO/orbsvcs/orbsvcs/IR_Helper.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/IR_Helper.h delete mode 100644 TAO/orbsvcs/orbsvcs/ImplRepo.idl delete mode 100644 TAO/orbsvcs/orbsvcs/LifeCycleService.idl delete mode 100644 TAO/orbsvcs/orbsvcs/Makefile delete mode 100644 TAO/orbsvcs/orbsvcs/Makefile.am delete mode 100644 TAO/orbsvcs/orbsvcs/Makefile.bor delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.h delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Entries.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Entries.h delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Makefile.am delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Naming_Context.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Naming_Context.h delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index.h delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Persistent_Entries.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Persistent_Entries.h delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.h delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/README delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Transient_Naming_Context.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Transient_Naming_Context.h delete mode 100644 TAO/orbsvcs/orbsvcs/Null_MediaCtrl.idl delete mode 100644 TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h delete mode 100644 TAO/orbsvcs/orbsvcs/Property/Makefile.am delete mode 100644 TAO/orbsvcs/orbsvcs/RtecEventChannelAdmin.idl delete mode 100644 TAO/orbsvcs/orbsvcs/RtecEventComm.idl delete mode 100644 TAO/orbsvcs/orbsvcs/RtecScheduler.idl delete mode 100644 TAO/orbsvcs/orbsvcs/RtecUDPAdmin.idl delete mode 100644 TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Runtime_Scheduler.h delete mode 100644 TAO/orbsvcs/orbsvcs/Runtime_Scheduler.i delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.i delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/DynSched.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/DynSched.h delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/DynSched.i delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Makefile.am delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.h delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.i delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.h delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.i delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.h delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.i delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.h delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.i delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/SchedEntry.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/SchedEntry.h delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/SchedEntry.i delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Scheduler.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Scheduler.h delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Scheduler.i delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.i delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.h delete mode 100644 TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.i delete mode 100644 TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Scheduler_Factory.h delete mode 100644 TAO/orbsvcs/orbsvcs/Scheduler_Factory.i delete mode 100644 TAO/orbsvcs/orbsvcs/Scheduler_Utilities.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Scheduler_Utilities.h delete mode 100644 TAO/orbsvcs/orbsvcs/Scheduler_Utilities.i delete mode 100644 TAO/orbsvcs/orbsvcs/Time/Makefile.am delete mode 100644 TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Time/TAO_TIO.h delete mode 100644 TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h delete mode 100644 TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h delete mode 100644 TAO/orbsvcs/orbsvcs/Time/TAO_UTO.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h delete mode 100644 TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Time/Timer_Helper.h delete mode 100644 TAO/orbsvcs/orbsvcs/TimeBase.idl delete mode 100644 TAO/orbsvcs/orbsvcs/TimeService.idl delete mode 100644 TAO/orbsvcs/orbsvcs/Time_Utilities.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Time_Utilities.h delete mode 100644 TAO/orbsvcs/orbsvcs/Time_Utilities.i delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Tokens.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_l.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_y.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Locking.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Makefile.am delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Database.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Trader.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Trader.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Trader_T.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Trader_T.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/constraint.l delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/constraint.y delete mode 100644 TAO/orbsvcs/orbsvcs/orbsvcs.dsp delete mode 100644 TAO/orbsvcs/orbsvcs/orbsvcs.dsw delete mode 100644 TAO/orbsvcs/orbsvcs/orbsvcs_export.h delete mode 100644 TAO/orbsvcs/orbsvcs/orbsvcs_static.dsp delete mode 100644 TAO/orbsvcs/orbsvcs/sfp.idl delete mode 100644 TAO/orbsvcs/tests/AVStreams/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/README delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/AV_benchmark.dsw delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/README delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/av_benchmark_child.dsp delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/av_benchmark_client.dsp delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/av_benchmark_server.dsp delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/child.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/child_process.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/client.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/client.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/clnt.conf delete mode 100755 TAO/orbsvcs/tests/AVStreams/benchmark/run_test.pl delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/server.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/server.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/benchmark/svc.conf delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/INSTALL.UCB delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/PatchLevel delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/README delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/README.MI delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/README.OGI delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/README.UCB delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/TODO delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/client/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/client/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/client/svc.conf delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/client/vcr.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/include/common.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/24bit.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/2x2.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ab.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ab.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/audio.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ctr.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/decoders.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/decoders.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/dither.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/file.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs2.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs2.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs2fast.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs4.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs4.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/global.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/global.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/gray.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/hybrid.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/hybriderr.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/info.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/Info.mib delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/MW.mib delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/MainWindow.mib delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/fb.xbm delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/ff.xbm delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/loop.xbm delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/old.MainWindow.mib delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/play.xbm delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/rewind.xbm delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/step.xbm delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/interface/stop.xbm delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/jrevdct.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/mb_ordered.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/mibload.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/mono.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/motionvector.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/newproto.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ordered.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ordered2.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/para.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/parseblock.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/prog.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/proto.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ui.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ui.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/util.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/util.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/util32.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/vb.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/vb.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/vd.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/video.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/video.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/vp.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibButton.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibDrawArea.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibFrame.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibLabel.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibList.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibMenu.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibRadioBox.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibScale.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibScrollBar.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibTextBig.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibTextBox.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibToggle.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibload.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibload.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibwidgets.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Control_State.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Control_State.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Control_i.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Control_i.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Server.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Server.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Globals.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Globals.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_State.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_State.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_i.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_i.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/as.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/las.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/lvs.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/server_proto.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/vs.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/Audio_Control.idl delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/MMDevice_Exporter.idl delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/Receiver.idl delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/Video_Control.idl delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/com.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/com.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/fileio.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/fileio.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/filters.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/filters.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/routine.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/routine.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/sendpt.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/sendpt.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Machine_Properties.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Machine_Properties.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Property_Exporter.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Property_Exporter.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.idl delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/as.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/as.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/server.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/server.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/svc.conf delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/vcrs.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/vs.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/server/vs.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/vcr.1 delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/vcrs.1 delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/AV_Demo delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Queue.java delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/README delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Server_0005fDiscovery_0005fUtil.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Server_Discovery.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Server_Discovery.java delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Browser.java delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Perf.java delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Selection.java delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Util.java delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Strip_Chart.java delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Trader_Client.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/Trader_Client.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/graph02.gif delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/graph09.gif delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/main.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/mmedia3.gif delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/server01.gif delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/server02.gif delete mode 100644 TAO/orbsvcs/tests/AVStreams/server_discovery/www1.gif delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/Makefile.am delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/README delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/client.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/common.h delete mode 100755 TAO/orbsvcs/tests/AVStreams/sfp/run_test.pl delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/server.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/sfp_client.dsp delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/sfp_server.dsp delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/sfp_tests.dsw delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_client.cpp delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_client.dsp delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_client.h delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_command.cpp delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_command.h delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_command.l delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp.diff delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_command.tab.h delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_command.y delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_naming_service.cpp delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_naming_service.h delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_test_utils.cpp delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_test_utils.h delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_tests.cpp delete mode 100644 TAO/orbsvcs/tests/Concurrency/CC_tests.h delete mode 100644 TAO/orbsvcs/tests/Concurrency/Concurrency.dsw delete mode 100644 TAO/orbsvcs/tests/Concurrency/Makefile delete mode 100644 TAO/orbsvcs/tests/Concurrency/NS_client.cpp delete mode 100644 TAO/orbsvcs/tests/Concurrency/NS_client.h delete mode 100644 TAO/orbsvcs/tests/Concurrency/README delete mode 100644 TAO/orbsvcs/tests/Concurrency/lex.CC_command.cpp delete mode 100644 TAO/orbsvcs/tests/Concurrency/lex.CC_command.cpp.diff delete mode 100644 TAO/orbsvcs/tests/Concurrency/test.basic delete mode 100644 TAO/orbsvcs/tests/Concurrency/test.dinphil delete mode 100644 TAO/orbsvcs/tests/Concurrency/test.e1 delete mode 100644 TAO/orbsvcs/tests/Concurrency/test.extended delete mode 100644 TAO/orbsvcs/tests/Concurrency/test.phil1 delete mode 100644 TAO/orbsvcs/tests/Concurrency/test.phil2 delete mode 100644 TAO/orbsvcs/tests/Concurrency/test.phil3 delete mode 100644 TAO/orbsvcs/tests/Concurrency/test.phil4 delete mode 100644 TAO/orbsvcs/tests/Concurrency/test.phil5 delete mode 100644 TAO/orbsvcs/tests/Concurrency/tmplinst.cpp delete mode 100644 TAO/orbsvcs/tests/CosEC_Basic/CosECConsumer.cpp delete mode 100644 TAO/orbsvcs/tests/CosEC_Basic/CosECConsumer.h delete mode 100644 TAO/orbsvcs/tests/CosEC_Basic/CosECSupplier.cpp delete mode 100644 TAO/orbsvcs/tests/CosEC_Basic/CosECSupplier.h delete mode 100644 TAO/orbsvcs/tests/CosEC_Basic/CosEC_Basic.cpp delete mode 100644 TAO/orbsvcs/tests/CosEC_Basic/CosEC_Basic.h delete mode 100644 TAO/orbsvcs/tests/CosEC_Basic/Makefile delete mode 100644 TAO/orbsvcs/tests/CosEC_Basic/README delete mode 100644 TAO/orbsvcs/tests/CosEC_Multiple/CosECConsumer.cpp delete mode 100644 TAO/orbsvcs/tests/CosEC_Multiple/CosECConsumer.h delete mode 100644 TAO/orbsvcs/tests/CosEC_Multiple/CosECSupplier.cpp delete mode 100644 TAO/orbsvcs/tests/CosEC_Multiple/CosECSupplier.h delete mode 100644 TAO/orbsvcs/tests/CosEC_Multiple/CosEC_Multiple.cpp delete mode 100644 TAO/orbsvcs/tests/CosEC_Multiple/CosEC_Multiple.h delete mode 100644 TAO/orbsvcs/tests/CosEC_Multiple/Makefile delete mode 100644 TAO/orbsvcs/tests/CosEC_Multiple/README delete mode 100755 TAO/orbsvcs/tests/CosEC_Multiple/run_test.pl delete mode 100755 TAO/orbsvcs/tests/CosEC_Multiple/run_test2.pl delete mode 100644 TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Basic/EC_Basic.dsp delete mode 100644 TAO/orbsvcs/tests/EC_Basic/EC_Basic.dsw delete mode 100644 TAO/orbsvcs/tests/EC_Basic/EC_Basic.h delete mode 100644 TAO/orbsvcs/tests/EC_Basic/EC_Basic.i delete mode 100644 TAO/orbsvcs/tests/EC_Basic/Makefile delete mode 100644 TAO/orbsvcs/tests/EC_Basic/README delete mode 100755 TAO/orbsvcs/tests/EC_Basic/run_test.pl delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/ECCM_Consumer.dsp delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/ECCM_Supplier.dsp delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.h delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Data.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Data.h delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.h delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/EC_Custom_Marshal.dsw delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/Makefile delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/README delete mode 100644 TAO/orbsvcs/tests/EC_Custom_Marshal/data.idl delete mode 100755 TAO/orbsvcs/tests/EC_Custom_Marshal/run_test.pl delete mode 100644 TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.dsp delete mode 100644 TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.dsw delete mode 100644 TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.h delete mode 100644 TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.i delete mode 100644 TAO/orbsvcs/tests/EC_Mcast/Makefile delete mode 100644 TAO/orbsvcs/tests/EC_Mcast/README delete mode 100755 TAO/orbsvcs/tests/EC_Mcast/run_test.pl delete mode 100644 TAO/orbsvcs/tests/EC_Mcast/sample.cfg delete mode 100644 TAO/orbsvcs/tests/EC_Mcast/svc.conf delete mode 100644 TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.dsp delete mode 100644 TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.dsw delete mode 100644 TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.h delete mode 100644 TAO/orbsvcs/tests/EC_Multiple/Makefile delete mode 100644 TAO/orbsvcs/tests/EC_Multiple/README delete mode 100644 TAO/orbsvcs/tests/EC_Multiple/Scheduler_Runtime1.h delete mode 100644 TAO/orbsvcs/tests/EC_Multiple/Scheduler_Runtime2.h delete mode 100644 TAO/orbsvcs/tests/EC_Multiple/Scheduler_Runtime_Dynamic.h delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/dyn_plot delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/gen_dynamic delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/gen_latency delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/gen_overhead delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/gen_throughput delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/gen_utilization delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/histo.pl delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/run_dynamic delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/run_latency delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/run_overhead delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/run_schedule delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/run_test.pl delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/run_throughput delete mode 100755 TAO/orbsvcs/tests/EC_Multiple/run_utilization delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer.dsp delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer.h delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.h delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.h delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.i delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Scheduler_Info.h delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.dsp delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.h delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.h delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Throughput.dsp delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ECT_Throughput.h delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/EC_Throughput.dsw delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/Makefile delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/README delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ec.conf delete mode 100644 TAO/orbsvcs/tests/EC_Throughput/ec.mt.conf delete mode 100755 TAO/orbsvcs/tests/EC_Throughput/run_test.pl delete mode 100644 TAO/orbsvcs/tests/Event/Basic/BCast.cpp delete mode 100644 TAO/orbsvcs/tests/Event/Basic/BCast.dsp delete mode 100644 TAO/orbsvcs/tests/Event/Basic/BCast.h delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Basic.dsw delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Makefile delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Observer.cpp delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Observer.dsp delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Observer.h delete mode 100644 TAO/orbsvcs/tests/Event/Basic/README delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Reconnect.cpp delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Reconnect.dsp delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Reconnect.h delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Schedule.cpp delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Schedule.dsp delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Schedule.h delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Shutdown.cpp delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Shutdown.dsp delete mode 100644 TAO/orbsvcs/tests/Event/Basic/Shutdown.h delete mode 100644 TAO/orbsvcs/tests/Event/Basic/observer.conf delete mode 100755 TAO/orbsvcs/tests/Event/Basic/run_test.pl delete mode 100644 TAO/orbsvcs/tests/Event/Basic/sched.conf delete mode 100644 TAO/orbsvcs/tests/Event/Basic/svc.conf delete mode 100644 TAO/orbsvcs/tests/Event/Event.dsw delete mode 100644 TAO/orbsvcs/tests/Event/Makefile delete mode 100644 TAO/orbsvcs/tests/Event/Performance/Connect.cpp delete mode 100644 TAO/orbsvcs/tests/Event/Performance/Connect.dsp delete mode 100644 TAO/orbsvcs/tests/Event/Performance/Connect.h delete mode 100644 TAO/orbsvcs/tests/Event/Performance/ECPerformance.dsw delete mode 100644 TAO/orbsvcs/tests/Event/Performance/Makefile delete mode 100644 TAO/orbsvcs/tests/Event/Performance/README delete mode 100644 TAO/orbsvcs/tests/Event/Performance/Throughput.cpp delete mode 100644 TAO/orbsvcs/tests/Event/Performance/Throughput.dsp delete mode 100644 TAO/orbsvcs/tests/Event/Performance/Throughput.h delete mode 100644 TAO/orbsvcs/tests/Event/Performance/ec.mt.conf delete mode 100644 TAO/orbsvcs/tests/Event/Performance/ec.st.conf delete mode 100755 TAO/orbsvcs/tests/Event/Performance/run_test.pl delete mode 100644 TAO/orbsvcs/tests/Event/lib/Consumer.cpp delete mode 100644 TAO/orbsvcs/tests/Event/lib/Consumer.h delete mode 100644 TAO/orbsvcs/tests/Event/lib/Driver.cpp delete mode 100644 TAO/orbsvcs/tests/Event/lib/Driver.h delete mode 100644 TAO/orbsvcs/tests/Event/lib/Driver.i delete mode 100644 TAO/orbsvcs/tests/Event/lib/ECTest.dsp delete mode 100644 TAO/orbsvcs/tests/Event/lib/ECTest.dsw delete mode 100644 TAO/orbsvcs/tests/Event/lib/Makefile delete mode 100644 TAO/orbsvcs/tests/Event/lib/README delete mode 100644 TAO/orbsvcs/tests/Event/lib/Supplier.cpp delete mode 100644 TAO/orbsvcs/tests/Event/lib/Supplier.h delete mode 100644 TAO/orbsvcs/tests/Event/lib/ectest_export.h delete mode 100644 TAO/orbsvcs/tests/Event_Latency/Event_Latency.cpp delete mode 100644 TAO/orbsvcs/tests/Event_Latency/Event_Latency.dsp delete mode 100644 TAO/orbsvcs/tests/Event_Latency/Event_Latency.dsw delete mode 100644 TAO/orbsvcs/tests/Event_Latency/Event_Latency.h delete mode 100644 TAO/orbsvcs/tests/Event_Latency/Makefile delete mode 100755 TAO/orbsvcs/tests/Event_Latency/run_test.pl delete mode 100755 TAO/orbsvcs/tests/Event_Latency/run_tests.sh delete mode 100644 TAO/orbsvcs/tests/ImplRepo/Airplane.idl delete mode 100644 TAO/orbsvcs/tests/ImplRepo/ImplRepo.dsw delete mode 100644 TAO/orbsvcs/tests/ImplRepo/Makefile delete mode 100644 TAO/orbsvcs/tests/ImplRepo/Nestea.idl delete mode 100644 TAO/orbsvcs/tests/ImplRepo/README delete mode 100644 TAO/orbsvcs/tests/ImplRepo/airplane_client.cpp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/airplane_client.dsp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/airplane_client_i.cpp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/airplane_client_i.h delete mode 100644 TAO/orbsvcs/tests/ImplRepo/airplane_i.cpp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/airplane_i.h delete mode 100644 TAO/orbsvcs/tests/ImplRepo/airplane_server.cpp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/airplane_server.dsp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/airplane_server_i.cpp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/airplane_server_i.h delete mode 100644 TAO/orbsvcs/tests/ImplRepo/implrepo.conf delete mode 100644 TAO/orbsvcs/tests/ImplRepo/nestea_client.cpp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/nestea_client.dsp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/nestea_client_i.h delete mode 100644 TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/nestea_i.h delete mode 100644 TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/nestea_server.dsp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/nestea_server_i.cpp delete mode 100644 TAO/orbsvcs/tests/ImplRepo/nestea_server_i.h delete mode 100755 TAO/orbsvcs/tests/ImplRepo/run_test.pl delete mode 100644 TAO/orbsvcs/tests/Makefile delete mode 100644 TAO/orbsvcs/tests/Makefile.am delete mode 100644 TAO/orbsvcs/tests/Property/Makefile delete mode 100644 TAO/orbsvcs/tests/Property/PropertyTest.dsw delete mode 100644 TAO/orbsvcs/tests/Property/README delete mode 100644 TAO/orbsvcs/tests/Property/client.cpp delete mode 100644 TAO/orbsvcs/tests/Property/client.dsp delete mode 100644 TAO/orbsvcs/tests/Property/client.h delete mode 100644 TAO/orbsvcs/tests/Property/main.cpp delete mode 100755 TAO/orbsvcs/tests/Property/run_test.pl delete mode 100644 TAO/orbsvcs/tests/Property/server.cpp delete mode 100644 TAO/orbsvcs/tests/Property/server.dsp delete mode 100644 TAO/orbsvcs/tests/Property/server.h delete mode 100644 TAO/orbsvcs/tests/Sched/DynSched_Test.cpp delete mode 100644 TAO/orbsvcs/tests/Sched/Makefile delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/Makefile delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/README delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/Sched_Conf.cpp delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/Sched_Conf.dsp delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/Sched_Conf.dsw delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/Sched_Conf_Anomalies.cpp delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/Sched_Conf_Anomalies.dsp delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/Sched_Conf_Anomalies_Runtime.h delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/Sched_Conf_Runtime.cpp delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/Sched_Conf_Runtime.dsp delete mode 100644 TAO/orbsvcs/tests/Sched_Conf/Sched_Conf_Runtime.h delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/Makefile delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/README delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/Simple_Naming.dsw delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/client.cpp delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/client.dsp delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/client.h delete mode 100755 TAO/orbsvcs/tests/Simple_Naming/process-m-output.pl delete mode 100755 TAO/orbsvcs/tests/Simple_Naming/run_test.pl delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/test_object.idl delete mode 100644 TAO/orbsvcs/tests/Time/Client_i.cpp delete mode 100644 TAO/orbsvcs/tests/Time/Client_i.h delete mode 100644 TAO/orbsvcs/tests/Time/Makefile delete mode 100644 TAO/orbsvcs/tests/Time/README delete mode 100644 TAO/orbsvcs/tests/Time/Time_Service_Test.dsp delete mode 100644 TAO/orbsvcs/tests/Time/Time_Service_Test.dsw delete mode 100644 TAO/orbsvcs/tests/Time/client.cpp delete mode 100755 TAO/orbsvcs/tests/Time/run_test.pl delete mode 100644 TAO/orbsvcs/tests/Trading/Colocated_Test.dsp delete mode 100644 TAO/orbsvcs/tests/Trading/Export_Test.dsp delete mode 100644 TAO/orbsvcs/tests/Trading/Import_Test.dsp delete mode 100644 TAO/orbsvcs/tests/Trading/Makefile delete mode 100644 TAO/orbsvcs/tests/Trading/Offer_Exporter.cpp delete mode 100644 TAO/orbsvcs/tests/Trading/Offer_Exporter.h delete mode 100644 TAO/orbsvcs/tests/Trading/Offer_Importer.cpp delete mode 100644 TAO/orbsvcs/tests/Trading/Offer_Importer.h delete mode 100644 TAO/orbsvcs/tests/Trading/README delete mode 100644 TAO/orbsvcs/tests/Trading/Service_Type_Exporter.cpp delete mode 100644 TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h delete mode 100644 TAO/orbsvcs/tests/Trading/Simple_Dynamic.cpp delete mode 100644 TAO/orbsvcs/tests/Trading/Simple_Dynamic.h delete mode 100644 TAO/orbsvcs/tests/Trading/TT_Info.cpp delete mode 100644 TAO/orbsvcs/tests/Trading/TT_Info.h delete mode 100644 TAO/orbsvcs/tests/Trading/TTest.idl delete mode 100644 TAO/orbsvcs/tests/Trading/Trading.dsw delete mode 100644 TAO/orbsvcs/tests/Trading/TradingLib.dsp delete mode 100644 TAO/orbsvcs/tests/Trading/colocated_test.cpp delete mode 100644 TAO/orbsvcs/tests/Trading/export_test.cpp delete mode 100644 TAO/orbsvcs/tests/Trading/import_test.cpp delete mode 100755 TAO/orbsvcs/tests/Trading/run_test.pl delete mode 100755 TAO/orbsvcs/tests/start_services delete mode 100644 TAO/orbsvcs/tests/tests.dsw delete mode 100644 TAO/performance-tests/Cubit/COOL/IDL_Cubit/Makefile delete mode 100644 TAO/performance-tests/Cubit/COOL/IDL_Cubit/README delete mode 100644 TAO/performance-tests/Cubit/COOL/IDL_Cubit/client.cpp delete mode 100644 TAO/performance-tests/Cubit/COOL/IDL_Cubit/client.h delete mode 100644 TAO/performance-tests/Cubit/COOL/IDL_Cubit/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/COOL/IDL_Cubit/cubit_i.cpp delete mode 100644 TAO/performance-tests/Cubit/COOL/IDL_Cubit/cubit_i.h delete mode 100644 TAO/performance-tests/Cubit/COOL/IDL_Cubit/server.cpp delete mode 100644 TAO/performance-tests/Cubit/COOL/IDL_Cubit/tmplinst.cpp delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/Makefile delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/README delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/Task_Client.cpp delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/Task_Client.h delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/Util_Thread.cpp delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/Util_Thread.h delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/client.cpp delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/client.h delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/cubit_i.cpp delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/cubit_i.h delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/pccTimer.cpp delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/pccTimer.h delete mode 100644 TAO/performance-tests/Cubit/COOL/MT_Cubit/server.cpp delete mode 100644 TAO/performance-tests/Cubit/COOL/Makefile delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/IDL_Cubit/Makefile delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/IDL_Cubit/README delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/IDL_Cubit/clnt.cpp delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/IDL_Cubit/clnt.h delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/IDL_Cubit/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.cpp delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.h delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/IDL_Cubit/svr.cpp delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/Makefile delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/README delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/client/Makefile delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/client/Task_Client.cpp delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/client/Task_Client.h delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/client/client.cpp delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/client/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/server/Makefile delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/server/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/server/cubit_i.cpp delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/server/cubit_i.h delete mode 100644 TAO/performance-tests/Cubit/CORBAplus/MT_Cubit/server/svr.cpp delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/Imakefile delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/Makefile delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/README delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/client.cpp delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/client_i.cpp delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/client_i.h delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/cubit_impl.cc delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/cubit_impl.hh delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/initref.cfg delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/server.cpp delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/server_i.cpp delete mode 100644 TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/server_i.h delete mode 100644 TAO/performance-tests/Cubit/Makefile delete mode 100644 TAO/performance-tests/Cubit/Orbix/Makefile delete mode 100644 TAO/performance-tests/Cubit/Orbix/base_server/Makefile delete mode 100644 TAO/performance-tests/Cubit/Orbix/base_server/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/Orbix/base_server/cubit_impl.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/base_server/cubit_impl.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/base_server/server.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/client/Makefile delete mode 100644 TAO/performance-tests/Cubit/Orbix/client/client.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/client/cubit.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/client/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/Orbix/client/cubitC.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/factory_client/Makefile delete mode 100644 TAO/performance-tests/Cubit/Orbix/factory_client/client.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/factory_client/cubit.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/factory_client/cubit.hh delete mode 100644 TAO/performance-tests/Cubit/Orbix/factory_client/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/Orbix/factory_client/cubitC.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/factory_client/cubitS.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/orb.mk delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpool/Makefile delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpool/cubit.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpool/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpool/cubitC.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpool/cubitS.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpool/cubit_impl.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpool/cubit_impl.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpool/server.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpool/tpool.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpool/tpool.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/Makefile delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/cubit.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/cubitC.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/cubitC.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/cubitS.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/cubitS.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/cubit_impl.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/cubit_impl.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/server.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/tpr.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tpr/tpr.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/tps/Makefile delete mode 100644 TAO/performance-tests/Cubit/Orbix/tps/cubit.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/tps/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/Orbix/tps/cubitC.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tps/cubitS.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tps/cubit_impl.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tps/cubit_impl.h delete mode 100644 TAO/performance-tests/Cubit/Orbix/tps/tps.cpp delete mode 100644 TAO/performance-tests/Cubit/Orbix/tps/tps.h delete mode 100644 TAO/performance-tests/Cubit/README delete mode 100644 TAO/performance-tests/Cubit/TAO/DII_Cubit/DII_Cubit.dsw delete mode 100644 TAO/performance-tests/Cubit/TAO/DII_Cubit/Makefile delete mode 100644 TAO/performance-tests/Cubit/TAO/DII_Cubit/README delete mode 100644 TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/DII_Cubit/client.dsp delete mode 100644 TAO/performance-tests/Cubit/TAO/DII_Cubit/cubit.idl delete mode 100755 TAO/performance-tests/Cubit/TAO/DII_Cubit/run_test.pl delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.h delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/IDL_Cubit.dsw delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/IDL_Cubit_Client.java delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/Makefile delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/README delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.h delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.bld delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.dsp delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation/svc.conf delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/default.bld delete mode 100755 TAO/performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.bld delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.dsp delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/svc.conf delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/svc.conf.dynamic delete mode 100644 TAO/performance-tests/Cubit/TAO/IDL_Cubit/tmplinst.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.h delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit.dsw delete mode 100755 TAO/performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Makefile delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/README delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/README.tests delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Timer.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Timer.h delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/Util_Thread.h delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/client.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/client.dsp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/client.h delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/clnt.bld delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.h delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/default.bld delete mode 100755 TAO/performance-tests/Cubit/TAO/MT_Cubit/plot delete mode 100755 TAO/performance-tests/Cubit/TAO/MT_Cubit/run_test.pl delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/server.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/server.dsp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/server.h delete mode 100755 TAO/performance-tests/Cubit/TAO/MT_Cubit/summarize delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/svc.conf delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/svr.bld delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/tmplinst.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/Makefile delete mode 100644 TAO/performance-tests/Cubit/TAO/README delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/base_server/Makefile delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/base_server/Profile_Timer.h delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/base_server/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/base_server/cubit_impl.cpp delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/base_server/cubit_impl.h delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/base_server/server.cpp delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/base_server/stdmk delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/client/Makefile delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/client/Profile_Timer.cpp delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/client/Profile_Timer.h delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/client/client.cpp delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/client/cubit.idl delete mode 100644 TAO/performance-tests/Cubit/VisiBroker/client/stdmk delete mode 100644 TAO/performance-tests/Latency/Latency.dsw delete mode 100644 TAO/performance-tests/Latency/Makefile delete mode 100644 TAO/performance-tests/Latency/README delete mode 100644 TAO/performance-tests/Latency/client.conf delete mode 100644 TAO/performance-tests/Latency/client.cpp delete mode 100644 TAO/performance-tests/Latency/client.dsp delete mode 100755 TAO/performance-tests/Latency/run_test.pl delete mode 100644 TAO/performance-tests/Latency/server.conf delete mode 100644 TAO/performance-tests/Latency/server.cpp delete mode 100644 TAO/performance-tests/Latency/server.dsp delete mode 100644 TAO/performance-tests/Latency/test.idl delete mode 100644 TAO/performance-tests/Latency/test_i.cpp delete mode 100644 TAO/performance-tests/Latency/test_i.h delete mode 100644 TAO/performance-tests/Latency/test_i.i delete mode 100644 TAO/performance-tests/Makefile delete mode 100644 TAO/performance-tests/POA/Demux/Makefile delete mode 100644 TAO/performance-tests/POA/Demux/README delete mode 100644 TAO/performance-tests/POA/Demux/client.cpp delete mode 100644 TAO/performance-tests/POA/Demux/demux_stats.cpp delete mode 100644 TAO/performance-tests/POA/Demux/demux_test.idl delete mode 100644 TAO/performance-tests/POA/Demux/demux_test_client.cpp delete mode 100644 TAO/performance-tests/POA/Demux/demux_test_client.h delete mode 100644 TAO/performance-tests/POA/Demux/demux_test_client.i delete mode 100644 TAO/performance-tests/POA/Demux/demux_test_i.cpp delete mode 100644 TAO/performance-tests/POA/Demux/demux_test_i.h delete mode 100644 TAO/performance-tests/POA/Demux/demux_test_macros.h delete mode 100644 TAO/performance-tests/POA/Demux/demux_test_server.cpp delete mode 100644 TAO/performance-tests/POA/Demux/demux_test_server.h delete mode 100644 TAO/performance-tests/POA/Demux/names_file delete mode 100644 TAO/performance-tests/POA/Demux/poa_names_100.dat delete mode 100644 TAO/performance-tests/POA/Demux/server.cpp delete mode 100644 TAO/performance-tests/POA/Demux/write_names.cpp delete mode 100644 TAO/performance-tests/POA/Makefile delete mode 100644 TAO/performance-tests/POA/Object_Creation_And_Registration/Makefile delete mode 100644 TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp delete mode 100644 TAO/performance-tests/POA/Object_Creation_And_Registration/registration.dsp delete mode 100644 TAO/performance-tests/POA/Object_Creation_And_Registration/registration.dsw delete mode 100755 TAO/performance-tests/POA/Object_Creation_And_Registration/run_test.pl delete mode 100644 TAO/performance-tests/POA/Object_Creation_And_Registration/svc.conf delete mode 100644 TAO/performance-tests/POA/Object_Creation_And_Registration/test.idl delete mode 100644 TAO/performance-tests/Pluggable/Makefile delete mode 100644 TAO/performance-tests/Pluggable/PP_Test.idl delete mode 100644 TAO/performance-tests/Pluggable/PP_Test_Client.cpp delete mode 100644 TAO/performance-tests/Pluggable/PP_Test_Client.h delete mode 100644 TAO/performance-tests/Pluggable/PP_Test_Server.cpp delete mode 100644 TAO/performance-tests/Pluggable/PP_Test_Server.h delete mode 100644 TAO/performance-tests/Pluggable/PP_Test_i.cpp delete mode 100644 TAO/performance-tests/Pluggable/PP_Test_i.h delete mode 100644 TAO/performance-tests/Pluggable/Pluggable.dsw delete mode 100644 TAO/performance-tests/Pluggable/README delete mode 100644 TAO/performance-tests/Pluggable/client.cpp delete mode 100644 TAO/performance-tests/Pluggable/client.dsp delete mode 100644 TAO/performance-tests/Pluggable/server.cpp delete mode 100644 TAO/performance-tests/Pluggable/server.dsp delete mode 100644 TAO/performance-tests/README delete mode 100644 TAO/performance-tests/TAO_Perf_Tests.dsw delete mode 100644 TAO/performance-tests/Thruput/COOL/Makefile delete mode 100644 TAO/performance-tests/Thruput/COOL/README delete mode 100644 TAO/performance-tests/Thruput/COOL/client.cpp delete mode 100644 TAO/performance-tests/Thruput/COOL/server.cpp delete mode 100644 TAO/performance-tests/Thruput/COOL/ttcp.idl delete mode 100644 TAO/performance-tests/Thruput/COOL/ttcp_decl.h delete mode 100644 TAO/performance-tests/Thruput/COOL/ttcp_i.cpp delete mode 100644 TAO/performance-tests/Thruput/COOL/ttcp_i.h delete mode 100644 TAO/performance-tests/Thruput/COOL/utils.cpp delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/Makefile delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/README delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/client.cpp delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/extract delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/run delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/run_client delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/run_server delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/run_test delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/run_tests delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/server.cpp delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/ttcp.idl delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/ttcp_decl.h delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/ttcp_i.cpp delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/ttcp_i.h delete mode 100644 TAO/performance-tests/Thruput/CORBAplus/utils.cpp delete mode 100644 TAO/performance-tests/Thruput/Makefile delete mode 100644 TAO/performance-tests/Thruput/Orbix/Client.cpp delete mode 100644 TAO/performance-tests/Thruput/Orbix/Makefile delete mode 100644 TAO/performance-tests/Thruput/Orbix/README delete mode 100644 TAO/performance-tests/Thruput/Orbix/Srv_Main.cpp delete mode 100644 TAO/performance-tests/Thruput/Orbix/extract delete mode 100644 TAO/performance-tests/Thruput/Orbix/loop64 delete mode 100644 TAO/performance-tests/Thruput/Orbix/orbixsol2s4.mk delete mode 100644 TAO/performance-tests/Thruput/Orbix/run delete mode 100644 TAO/performance-tests/Thruput/Orbix/run_client delete mode 100644 TAO/performance-tests/Thruput/Orbix/run_server delete mode 100644 TAO/performance-tests/Thruput/Orbix/run_test delete mode 100644 TAO/performance-tests/Thruput/Orbix/run_tests delete mode 100644 TAO/performance-tests/Thruput/Orbix/ttcp.idl delete mode 100644 TAO/performance-tests/Thruput/Orbix/ttcp_decl.h delete mode 100644 TAO/performance-tests/Thruput/Orbix/ttcp_i.cpp delete mode 100644 TAO/performance-tests/Thruput/Orbix/ttcp_i.h delete mode 100644 TAO/performance-tests/Thruput/Orbix/utils.cpp delete mode 100644 TAO/performance-tests/Thruput/TAO/Makefile delete mode 100644 TAO/performance-tests/Thruput/TAO/README delete mode 100644 TAO/performance-tests/Thruput/TAO/client.cpp delete mode 100755 TAO/performance-tests/Thruput/TAO/new_client_test delete mode 100755 TAO/performance-tests/Thruput/TAO/new_run_test delete mode 100755 TAO/performance-tests/Thruput/TAO/new_server_test delete mode 100644 TAO/performance-tests/Thruput/TAO/results/REMOTE/README delete mode 100755 TAO/performance-tests/Thruput/TAO/run delete mode 100755 TAO/performance-tests/Thruput/TAO/run_client delete mode 100755 TAO/performance-tests/Thruput/TAO/run_server delete mode 100755 TAO/performance-tests/Thruput/TAO/run_test delete mode 100644 TAO/performance-tests/Thruput/TAO/server.cpp delete mode 100644 TAO/performance-tests/Thruput/TAO/svc.conf delete mode 100644 TAO/performance-tests/Thruput/TAO/tmplinst.cpp delete mode 100644 TAO/performance-tests/Thruput/TAO/ttcp.idl delete mode 100644 TAO/performance-tests/Thruput/TAO/ttcp_decl.h delete mode 100644 TAO/performance-tests/Thruput/TAO/ttcp_i.cpp delete mode 100644 TAO/performance-tests/Thruput/TAO/ttcp_i.h delete mode 100644 TAO/performance-tests/Thruput/TAO/utils.cpp delete mode 100644 TAO/release.chk delete mode 100755 TAO/release.pl delete mode 100644 TAO/rules.tao.GNU delete mode 100644 TAO/tao-config.1.in delete mode 100644 TAO/tao-config.in delete mode 100644 TAO/tao/Acceptor_Impl.cpp delete mode 100644 TAO/tao/Acceptor_Impl.h delete mode 100644 TAO/tao/Acceptor_Impl.i delete mode 100644 TAO/tao/Acceptor_Registry.cpp delete mode 100644 TAO/tao/Acceptor_Registry.h delete mode 100644 TAO/tao/Acceptor_Registry.i delete mode 100644 TAO/tao/Active_Object_Map.cpp delete mode 100644 TAO/tao/Active_Object_Map.h delete mode 100644 TAO/tao/Active_Object_Map.i delete mode 100644 TAO/tao/Any.cpp delete mode 100644 TAO/tao/Any.h delete mode 100644 TAO/tao/Any.i delete mode 100644 TAO/tao/Asynch_Invocation.cpp delete mode 100644 TAO/tao/Asynch_Invocation.h delete mode 100644 TAO/tao/Asynch_Invocation.i delete mode 100644 TAO/tao/CDR.cpp delete mode 100644 TAO/tao/CDR.h delete mode 100644 TAO/tao/CDR.i delete mode 100644 TAO/tao/CDR_Interpreter.cpp delete mode 100644 TAO/tao/CDR_Interpreter.h delete mode 100644 TAO/tao/CONV_FRAME.pidl delete mode 100644 TAO/tao/CONV_FRAMEC.cpp delete mode 100644 TAO/tao/CONV_FRAMEC.h delete mode 100644 TAO/tao/CONV_FRAMEC.i delete mode 100644 TAO/tao/CONV_FRAMES.cpp delete mode 100644 TAO/tao/CONV_FRAMES.h delete mode 100644 TAO/tao/CONV_FRAMES.i delete mode 100644 TAO/tao/CONV_FRAMES_T.cpp delete mode 100644 TAO/tao/CONV_FRAMES_T.h delete mode 100644 TAO/tao/CONV_FRAMES_T.i delete mode 100644 TAO/tao/CORBA.pidl delete mode 100644 TAO/tao/Client_Strategy_Factory.cpp delete mode 100644 TAO/tao/Client_Strategy_Factory.h delete mode 100644 TAO/tao/Connector_Registry.cpp delete mode 100644 TAO/tao/Connector_Registry.h delete mode 100644 TAO/tao/Context.cpp delete mode 100644 TAO/tao/Context.h delete mode 100644 TAO/tao/Context.i delete mode 100644 TAO/tao/Current.pidl delete mode 100644 TAO/tao/CurrentC.cpp delete mode 100644 TAO/tao/CurrentC.h delete mode 100644 TAO/tao/CurrentC.i delete mode 100644 TAO/tao/CurrentS.cpp delete mode 100644 TAO/tao/Domain.pidl delete mode 100644 TAO/tao/DomainC.cpp delete mode 100644 TAO/tao/DomainC.h delete mode 100644 TAO/tao/DomainC.i delete mode 100644 TAO/tao/DomainS.cpp delete mode 100644 TAO/tao/DomainS_T.cpp delete mode 100644 TAO/tao/DomainS_T.h delete mode 100644 TAO/tao/DomainS_T.i delete mode 100644 TAO/tao/DynAny.pidl delete mode 100644 TAO/tao/DynAnyC.cpp delete mode 100644 TAO/tao/DynAnyC.h delete mode 100644 TAO/tao/DynAnyC.i delete mode 100644 TAO/tao/DynAnyS.cpp delete mode 100644 TAO/tao/DynAny_i.cpp delete mode 100644 TAO/tao/DynAny_i.h delete mode 100644 TAO/tao/DynArray_i.cpp delete mode 100644 TAO/tao/DynArray_i.h delete mode 100644 TAO/tao/DynEnum_i.cpp delete mode 100644 TAO/tao/DynEnum_i.h delete mode 100644 TAO/tao/DynSequence_i.cpp delete mode 100644 TAO/tao/DynSequence_i.h delete mode 100644 TAO/tao/DynStruct_i.cpp delete mode 100644 TAO/tao/DynStruct_i.h delete mode 100644 TAO/tao/DynUnion_i.cpp delete mode 100644 TAO/tao/DynUnion_i.h delete mode 100644 TAO/tao/DynUnion_i_T.cpp delete mode 100644 TAO/tao/DynUnion_i_T.h delete mode 100644 TAO/tao/Environment.cpp delete mode 100644 TAO/tao/Environment.h delete mode 100644 TAO/tao/Environment.i delete mode 100644 TAO/tao/Exception.cpp delete mode 100644 TAO/tao/Exception.h delete mode 100644 TAO/tao/Exception.i delete mode 100644 TAO/tao/Forwarding_Servant.cpp delete mode 100644 TAO/tao/Forwarding_Servant.h delete mode 100644 TAO/tao/GIOP.cpp delete mode 100644 TAO/tao/GIOP.h delete mode 100644 TAO/tao/GIOP.i delete mode 100644 TAO/tao/GIOP_Server_Request.cpp delete mode 100644 TAO/tao/GIOP_Server_Request.h delete mode 100644 TAO/tao/GIOP_Server_Request.i delete mode 100644 TAO/tao/IIOP_Acceptor.cpp delete mode 100644 TAO/tao/IIOP_Acceptor.h delete mode 100644 TAO/tao/IIOP_Acceptor.i delete mode 100644 TAO/tao/IIOP_Connect.cpp delete mode 100644 TAO/tao/IIOP_Connect.h delete mode 100644 TAO/tao/IIOP_Connect.i delete mode 100644 TAO/tao/IIOP_Connector.cpp delete mode 100644 TAO/tao/IIOP_Connector.h delete mode 100644 TAO/tao/IIOP_Factory.cpp delete mode 100644 TAO/tao/IIOP_Factory.h delete mode 100644 TAO/tao/IIOP_Profile.cpp delete mode 100644 TAO/tao/IIOP_Profile.h delete mode 100644 TAO/tao/IIOP_Profile.i delete mode 100644 TAO/tao/IIOP_Transport.cpp delete mode 100644 TAO/tao/IIOP_Transport.h delete mode 100644 TAO/tao/IOP.pidl delete mode 100644 TAO/tao/IOPC.cpp delete mode 100644 TAO/tao/IOPC.h delete mode 100644 TAO/tao/IOPC.i delete mode 100644 TAO/tao/IOPS.cpp delete mode 100644 TAO/tao/IOPS.h delete mode 100644 TAO/tao/IOPS.i delete mode 100644 TAO/tao/IOPS_T.cpp delete mode 100644 TAO/tao/IOPS_T.h delete mode 100644 TAO/tao/IOPS_T.i delete mode 100644 TAO/tao/IOR.pidl delete mode 100644 TAO/tao/IORC.cpp delete mode 100644 TAO/tao/IORC.h delete mode 100644 TAO/tao/IORC.i delete mode 100644 TAO/tao/IORManipulation.cpp delete mode 100644 TAO/tao/IORManipulation.h delete mode 100644 TAO/tao/IORS.cpp delete mode 100644 TAO/tao/IORS.h delete mode 100644 TAO/tao/IORS.i delete mode 100644 TAO/tao/IOR_LookupTable.cpp delete mode 100644 TAO/tao/IOR_LookupTable.h delete mode 100644 TAO/tao/InconsistentTypeCode.pidl delete mode 100644 TAO/tao/InconsistentTypeCodeC.cpp delete mode 100644 TAO/tao/InconsistentTypeCodeC.h delete mode 100644 TAO/tao/Invocation.cpp delete mode 100644 TAO/tao/Invocation.h delete mode 100644 TAO/tao/Invocation.i delete mode 100644 TAO/tao/Key_Adapters.cpp delete mode 100644 TAO/tao/Key_Adapters.h delete mode 100644 TAO/tao/Key_Adapters.i delete mode 100644 TAO/tao/MProfile.cpp delete mode 100644 TAO/tao/MProfile.h delete mode 100644 TAO/tao/MProfile.i delete mode 100644 TAO/tao/Makefile delete mode 100644 TAO/tao/Makefile.am delete mode 100644 TAO/tao/Makefile.bor delete mode 100644 TAO/tao/Managed_Types.cpp delete mode 100644 TAO/tao/Managed_Types.h delete mode 100644 TAO/tao/Managed_Types.i delete mode 100644 TAO/tao/Marshal.cpp delete mode 100644 TAO/tao/Marshal.h delete mode 100644 TAO/tao/Marshal.i delete mode 100644 TAO/tao/Messaging.pidl delete mode 100644 TAO/tao/MessagingC.cpp delete mode 100644 TAO/tao/MessagingC.h delete mode 100644 TAO/tao/MessagingC.i delete mode 100644 TAO/tao/MessagingS.cpp delete mode 100644 TAO/tao/MessagingS.h delete mode 100644 TAO/tao/MessagingS.i delete mode 100644 TAO/tao/MessagingS_T.cpp delete mode 100644 TAO/tao/MessagingS_T.h delete mode 100644 TAO/tao/MessagingS_T.i delete mode 100644 TAO/tao/Messaging_Policy_i.cpp delete mode 100644 TAO/tao/Messaging_Policy_i.h delete mode 100644 TAO/tao/Messaging_Policy_i.i delete mode 100644 TAO/tao/NVList.cpp delete mode 100644 TAO/tao/NVList.h delete mode 100644 TAO/tao/NVList.i delete mode 100644 TAO/tao/ORB.cpp delete mode 100644 TAO/tao/ORB.h delete mode 100644 TAO/tao/ORB.i delete mode 100644 TAO/tao/ORB_Core.cpp delete mode 100644 TAO/tao/ORB_Core.h delete mode 100644 TAO/tao/ORB_Core.i delete mode 100644 TAO/tao/Object.cpp delete mode 100644 TAO/tao/Object.h delete mode 100644 TAO/tao/Object.i delete mode 100644 TAO/tao/ObjectIDList.cpp delete mode 100644 TAO/tao/ObjectIDList.h delete mode 100644 TAO/tao/ObjectIDList.i delete mode 100644 TAO/tao/Object_Adapter.cpp delete mode 100644 TAO/tao/Object_Adapter.h delete mode 100644 TAO/tao/Object_Adapter.i delete mode 100644 TAO/tao/Object_Key.pidl delete mode 100644 TAO/tao/Object_KeyC.cpp delete mode 100644 TAO/tao/Object_KeyC.h delete mode 100644 TAO/tao/Object_KeyC.i delete mode 100644 TAO/tao/Operation_Table.cpp delete mode 100644 TAO/tao/Operation_Table.h delete mode 100644 TAO/tao/POA.cpp delete mode 100644 TAO/tao/POA.h delete mode 100644 TAO/tao/POA.i delete mode 100644 TAO/tao/POA.pidl delete mode 100644 TAO/tao/POAC.cpp delete mode 100644 TAO/tao/POAC.h delete mode 100644 TAO/tao/POAC.i delete mode 100644 TAO/tao/POAManager.cpp delete mode 100644 TAO/tao/POAManager.h delete mode 100644 TAO/tao/POAManager.i delete mode 100644 TAO/tao/POAS.cpp delete mode 100644 TAO/tao/POAS.h delete mode 100644 TAO/tao/POAS.i delete mode 100644 TAO/tao/POA_CORBA.h delete mode 100644 TAO/tao/Pluggable.cpp delete mode 100644 TAO/tao/Pluggable.h delete mode 100644 TAO/tao/Pluggable.i delete mode 100644 TAO/tao/Policy.pidl delete mode 100644 TAO/tao/PolicyC.cpp delete mode 100644 TAO/tao/PolicyC.h delete mode 100644 TAO/tao/PolicyC.i delete mode 100644 TAO/tao/PolicyS.cpp delete mode 100644 TAO/tao/Policy_Manager.cpp delete mode 100644 TAO/tao/Policy_Manager.h delete mode 100644 TAO/tao/Policy_Manager.i delete mode 100644 TAO/tao/Pollable.pidl delete mode 100644 TAO/tao/PollableC.cpp delete mode 100644 TAO/tao/PollableC.h delete mode 100644 TAO/tao/PollableC.i delete mode 100644 TAO/tao/PollableS.cpp delete mode 100644 TAO/tao/PollableS.h delete mode 100644 TAO/tao/PollableS.i delete mode 100644 TAO/tao/PollableS_T.cpp delete mode 100644 TAO/tao/PollableS_T.h delete mode 100644 TAO/tao/PollableS_T.i delete mode 100644 TAO/tao/Principal.cpp delete mode 100644 TAO/tao/Principal.h delete mode 100644 TAO/tao/Principal.i delete mode 100644 TAO/tao/Protocol_Factory.cpp delete mode 100644 TAO/tao/Protocol_Factory.h delete mode 100644 TAO/tao/Reply_Dispatcher.cpp delete mode 100644 TAO/tao/Reply_Dispatcher.h delete mode 100644 TAO/tao/Reply_Dispatcher.i delete mode 100644 TAO/tao/Request.cpp delete mode 100644 TAO/tao/Request.h delete mode 100644 TAO/tao/Request.i delete mode 100644 TAO/tao/Resource_Factory.cpp delete mode 100644 TAO/tao/Resource_Factory.h delete mode 100644 TAO/tao/Sequence.cpp delete mode 100644 TAO/tao/Sequence.h delete mode 100644 TAO/tao/Sequence.i delete mode 100644 TAO/tao/Sequence_T.cpp delete mode 100644 TAO/tao/Sequence_T.h delete mode 100644 TAO/tao/Sequence_T.i delete mode 100644 TAO/tao/Servant_Base.cpp delete mode 100644 TAO/tao/Servant_Base.h delete mode 100644 TAO/tao/Servant_Base.i delete mode 100644 TAO/tao/Server_Request.cpp delete mode 100644 TAO/tao/Server_Request.h delete mode 100644 TAO/tao/Server_Request.i delete mode 100644 TAO/tao/Server_Strategy_Factory.cpp delete mode 100644 TAO/tao/Server_Strategy_Factory.h delete mode 100644 TAO/tao/Services.cpp delete mode 100644 TAO/tao/Services.h delete mode 100644 TAO/tao/Services.i delete mode 100644 TAO/tao/Stub.cpp delete mode 100644 TAO/tao/Stub.h delete mode 100644 TAO/tao/Stub.i delete mode 100644 TAO/tao/TAO.cpp delete mode 100644 TAO/tao/TAO.dsp delete mode 100644 TAO/tao/TAO.dsw delete mode 100644 TAO/tao/TAO.h delete mode 100644 TAO/tao/TAO_Internal.cpp delete mode 100644 TAO/tao/TAO_Internal.h delete mode 100644 TAO/tao/TAO_Static.dsp delete mode 100644 TAO/tao/Tagged_Components.cpp delete mode 100644 TAO/tao/Tagged_Components.h delete mode 100644 TAO/tao/Tagged_Components.i delete mode 100644 TAO/tao/TimeBase.pidl delete mode 100644 TAO/tao/TimeBaseC.cpp delete mode 100644 TAO/tao/TimeBaseC.h delete mode 100644 TAO/tao/TimeBaseC.i delete mode 100644 TAO/tao/TimeBaseS.cpp delete mode 100644 TAO/tao/TimeBaseS.h delete mode 100644 TAO/tao/TimeBaseS.i delete mode 100644 TAO/tao/TimeBaseS_T.cpp delete mode 100644 TAO/tao/TimeBaseS_T.h delete mode 100644 TAO/tao/TimeBaseS_T.i delete mode 100644 TAO/tao/Timeprobe.h delete mode 100644 TAO/tao/Transport_Mux_Strategy.cpp delete mode 100644 TAO/tao/Transport_Mux_Strategy.h delete mode 100644 TAO/tao/Typecode.cpp delete mode 100644 TAO/tao/Typecode.h delete mode 100644 TAO/tao/Typecode.i delete mode 100644 TAO/tao/Typecode_Constants.cpp delete mode 100644 TAO/tao/UIOP_Acceptor.cpp delete mode 100644 TAO/tao/UIOP_Acceptor.h delete mode 100644 TAO/tao/UIOP_Connect.cpp delete mode 100644 TAO/tao/UIOP_Connect.h delete mode 100644 TAO/tao/UIOP_Connect.i delete mode 100644 TAO/tao/UIOP_Connector.cpp delete mode 100644 TAO/tao/UIOP_Connector.h delete mode 100644 TAO/tao/UIOP_Factory.cpp delete mode 100644 TAO/tao/UIOP_Factory.h delete mode 100644 TAO/tao/UIOP_Profile.cpp delete mode 100644 TAO/tao/UIOP_Profile.h delete mode 100644 TAO/tao/UIOP_Profile.i delete mode 100644 TAO/tao/UIOP_Transport.cpp delete mode 100644 TAO/tao/UIOP_Transport.h delete mode 100644 TAO/tao/Union.cpp delete mode 100644 TAO/tao/Union.h delete mode 100644 TAO/tao/ValueBase.cpp delete mode 100644 TAO/tao/ValueBase.h delete mode 100644 TAO/tao/ValueBase.i delete mode 100644 TAO/tao/ValueFactory.cpp delete mode 100644 TAO/tao/ValueFactory.h delete mode 100644 TAO/tao/ValueFactory.i delete mode 100644 TAO/tao/ValueFactory_Map.cpp delete mode 100644 TAO/tao/ValueFactory_Map.h delete mode 100644 TAO/tao/ValueFactory_Map.i delete mode 100644 TAO/tao/Version.h delete mode 100644 TAO/tao/Wait_Strategy.cpp delete mode 100644 TAO/tao/Wait_Strategy.h delete mode 100644 TAO/tao/WrongTransactionC.cpp delete mode 100644 TAO/tao/WrongTransactionC.h delete mode 100644 TAO/tao/append.cpp delete mode 100644 TAO/tao/corba.h delete mode 100644 TAO/tao/corbafwd.cpp delete mode 100644 TAO/tao/corbafwd.h delete mode 100644 TAO/tao/corbafwd.i delete mode 100644 TAO/tao/debug.cpp delete mode 100644 TAO/tao/debug.h delete mode 100644 TAO/tao/decode.cpp delete mode 100644 TAO/tao/deep_free.cpp delete mode 100644 TAO/tao/default.bld delete mode 100644 TAO/tao/default_client.cpp delete mode 100644 TAO/tao/default_client.h delete mode 100644 TAO/tao/default_client.i delete mode 100644 TAO/tao/default_resource.cpp delete mode 100644 TAO/tao/default_resource.h delete mode 100644 TAO/tao/default_resource.i delete mode 100644 TAO/tao/default_server.cpp delete mode 100644 TAO/tao/default_server.h delete mode 100644 TAO/tao/default_server.i delete mode 100644 TAO/tao/encode.cpp delete mode 100644 TAO/tao/factories.h delete mode 100644 TAO/tao/orb.idl delete mode 100644 TAO/tao/orbconf.h delete mode 100644 TAO/tao/params.cpp delete mode 100644 TAO/tao/params.h delete mode 100644 TAO/tao/params.i delete mode 100644 TAO/tao/poa_macros.h delete mode 100644 TAO/tao/singletons.h delete mode 100644 TAO/tao/skip.cpp delete mode 100644 TAO/tao/t-sizes.cpp delete mode 100644 TAO/tao/tao-dll.icc delete mode 100644 TAO/tao/tao-lib.icc delete mode 100644 TAO/tao/tao.bld delete mode 100644 TAO/tao/try_macros.h delete mode 100644 TAO/tao/varout.cpp delete mode 100644 TAO/tao/varout.h delete mode 100644 TAO/tao/varout.i delete mode 100644 TAO/tao/xt_resource.cpp delete mode 100644 TAO/tao/xt_resource.h delete mode 100644 TAO/tao/xt_resource.i delete mode 100644 TAO/taoConf.sh.in delete mode 100644 TAO/taoconfig.mk delete mode 100644 TAO/tests/AMI/Makefile delete mode 100644 TAO/tests/AMI/README delete mode 100644 TAO/tests/AMI/client.conf delete mode 100644 TAO/tests/AMI/client.cpp delete mode 100644 TAO/tests/AMI/client.dsp delete mode 100644 TAO/tests/AMI/client.global.conf delete mode 100644 TAO/tests/AMI/client.muxed.conf delete mode 100644 TAO/tests/AMI/client.tss.conf delete mode 100644 TAO/tests/AMI/orb_creation.cpp delete mode 100644 TAO/tests/AMI/orb_creation.dsp delete mode 100755 TAO/tests/AMI/run_test.pl delete mode 100644 TAO/tests/AMI/server.conf delete mode 100644 TAO/tests/AMI/server.cpp delete mode 100644 TAO/tests/AMI/server.dsp delete mode 100644 TAO/tests/AMI/simple-client.conf delete mode 100644 TAO/tests/AMI/simple-client.cpp delete mode 100644 TAO/tests/AMI/simple_client.dsp delete mode 100644 TAO/tests/AMI/test-handC.cpp delete mode 100644 TAO/tests/AMI/test.idl delete mode 100644 TAO/tests/AMI/test_i.cpp delete mode 100644 TAO/tests/AMI/test_i.h delete mode 100644 TAO/tests/AMI/test_i.i delete mode 100644 TAO/tests/CDR/CDR.dsw delete mode 100644 TAO/tests/CDR/Makefile delete mode 100644 TAO/tests/CDR/README delete mode 100644 TAO/tests/CDR/allocator.cpp delete mode 100644 TAO/tests/CDR/basic_types.cpp delete mode 100644 TAO/tests/CDR/basic_types.dsp delete mode 100644 TAO/tests/CDR/growth.cpp delete mode 100644 TAO/tests/CDR/growth.dsp delete mode 100644 TAO/tests/CDR/growth.dsw delete mode 100644 TAO/tests/CDR/octet_sequence.cpp delete mode 100644 TAO/tests/CDR/octet_sequence.dsp delete mode 100755 TAO/tests/CDR/run_test.pl delete mode 100644 TAO/tests/CDR/tc.cpp delete mode 100644 TAO/tests/CDR/tc.dsp delete mode 100644 TAO/tests/Collocation/Coll_Tester.cpp delete mode 100644 TAO/tests/Collocation/Coll_Tester.h delete mode 100644 TAO/tests/Collocation/Collocation.dsp delete mode 100644 TAO/tests/Collocation/Collocation.dsw delete mode 100644 TAO/tests/Collocation/Diamond.idl delete mode 100644 TAO/tests/Collocation/Diamond_i.cpp delete mode 100644 TAO/tests/Collocation/Diamond_i.h delete mode 100644 TAO/tests/Collocation/README delete mode 100644 TAO/tests/Collocation/main.cpp delete mode 100644 TAO/tests/Collocation/svc.conf delete mode 100644 TAO/tests/DynAny_Test/DynAny_Test.dsw delete mode 100644 TAO/tests/DynAny_Test/Makefile delete mode 100644 TAO/tests/DynAny_Test/README delete mode 100644 TAO/tests/DynAny_Test/basic_test.dsp delete mode 100644 TAO/tests/DynAny_Test/da_tests.idl delete mode 100644 TAO/tests/DynAny_Test/data.cpp delete mode 100644 TAO/tests/DynAny_Test/data.h delete mode 100644 TAO/tests/DynAny_Test/driver.cpp delete mode 100644 TAO/tests/DynAny_Test/driver.h delete mode 100755 TAO/tests/DynAny_Test/run_test.pl delete mode 100644 TAO/tests/DynAny_Test/test_dynany.cpp delete mode 100644 TAO/tests/DynAny_Test/test_dynany.h delete mode 100644 TAO/tests/DynAny_Test/test_dynarray.cpp delete mode 100644 TAO/tests/DynAny_Test/test_dynarray.h delete mode 100644 TAO/tests/DynAny_Test/test_dynenum.cpp delete mode 100644 TAO/tests/DynAny_Test/test_dynenum.h delete mode 100644 TAO/tests/DynAny_Test/test_dynsequence.cpp delete mode 100644 TAO/tests/DynAny_Test/test_dynsequence.h delete mode 100644 TAO/tests/DynAny_Test/test_dynstruct.cpp delete mode 100644 TAO/tests/DynAny_Test/test_dynstruct.h delete mode 100644 TAO/tests/DynAny_Test/test_dynunion.cpp delete mode 100644 TAO/tests/DynAny_Test/test_dynunion.h delete mode 100644 TAO/tests/DynAny_Test/test_wrapper.cpp delete mode 100644 TAO/tests/DynAny_Test/test_wrapper.h delete mode 100644 TAO/tests/FL_Cube/Makefile delete mode 100644 TAO/tests/FL_Cube/README delete mode 100644 TAO/tests/FL_Cube/client.cpp delete mode 100644 TAO/tests/FL_Cube/server.cpp delete mode 100644 TAO/tests/FL_Cube/svc.conf delete mode 100644 TAO/tests/FL_Cube/test.idl delete mode 100644 TAO/tests/FL_Cube/test_i.cpp delete mode 100644 TAO/tests/FL_Cube/test_i.h delete mode 100644 TAO/tests/FL_Cube/test_i.i delete mode 100644 TAO/tests/Faults/Faults.dsw delete mode 100644 TAO/tests/Faults/Makefile delete mode 100644 TAO/tests/Faults/README delete mode 100644 TAO/tests/Faults/client.cpp delete mode 100644 TAO/tests/Faults/client.dsp delete mode 100755 TAO/tests/Faults/run_test.pl delete mode 100644 TAO/tests/Faults/server.cpp delete mode 100644 TAO/tests/Faults/server.dsp delete mode 100644 TAO/tests/Faults/test.idl delete mode 100644 TAO/tests/Faults/test_i.cpp delete mode 100644 TAO/tests/Faults/test_i.h delete mode 100644 TAO/tests/Faults/test_i.i delete mode 100644 TAO/tests/IORManipulation/IORManipulation.dsw delete mode 100644 TAO/tests/IORManipulation/IORTest.cpp delete mode 100644 TAO/tests/IORManipulation/IORTest.dsp delete mode 100644 TAO/tests/IORManipulation/Makefile delete mode 100644 TAO/tests/IORManipulation/README delete mode 100755 TAO/tests/IORManipulation/run_test.pl delete mode 100644 TAO/tests/InterOp-Naming/INS.idl delete mode 100644 TAO/tests/InterOp-Naming/INS_i.cpp delete mode 100644 TAO/tests/InterOp-Naming/INS_i.h delete mode 100644 TAO/tests/InterOp-Naming/INS_test_client.cpp delete mode 100644 TAO/tests/InterOp-Naming/INS_test_server.cpp delete mode 100644 TAO/tests/InterOp-Naming/InterOp-Naming.dsw delete mode 100644 TAO/tests/InterOp-Naming/Makefile delete mode 100644 TAO/tests/InterOp-Naming/README delete mode 100644 TAO/tests/InterOp-Naming/Server_i.cpp delete mode 100644 TAO/tests/InterOp-Naming/Server_i.h delete mode 100644 TAO/tests/InterOp-Naming/client.dsp delete mode 100755 TAO/tests/InterOp-Naming/run_test.pl delete mode 100644 TAO/tests/InterOp-Naming/server.dsp delete mode 100644 TAO/tests/MT_Client/MT_Client.dsw delete mode 100644 TAO/tests/MT_Client/Makefile delete mode 100644 TAO/tests/MT_Client/README delete mode 100644 TAO/tests/MT_Client/client.conf delete mode 100644 TAO/tests/MT_Client/client.cpp delete mode 100644 TAO/tests/MT_Client/client.dsp delete mode 100644 TAO/tests/MT_Client/client.global.conf delete mode 100644 TAO/tests/MT_Client/client.tss.conf delete mode 100644 TAO/tests/MT_Client/orb_creation.cpp delete mode 100644 TAO/tests/MT_Client/orb_creation.dsp delete mode 100755 TAO/tests/MT_Client/run_test.pl delete mode 100644 TAO/tests/MT_Client/server.conf delete mode 100644 TAO/tests/MT_Client/server.cpp delete mode 100644 TAO/tests/MT_Client/server.dsp delete mode 100644 TAO/tests/MT_Client/simple-client.cpp delete mode 100644 TAO/tests/MT_Client/simple_client.dsp delete mode 100644 TAO/tests/MT_Client/test.idl delete mode 100644 TAO/tests/MT_Client/test_i.cpp delete mode 100644 TAO/tests/MT_Client/test_i.h delete mode 100644 TAO/tests/MT_Client/test_i.i delete mode 100644 TAO/tests/MT_Server/MT_Server.dsw delete mode 100644 TAO/tests/MT_Server/Makefile delete mode 100644 TAO/tests/MT_Server/README delete mode 100644 TAO/tests/MT_Server/client.cpp delete mode 100644 TAO/tests/MT_Server/client.dsp delete mode 100755 TAO/tests/MT_Server/run_test.pl delete mode 100644 TAO/tests/MT_Server/server.conf delete mode 100644 TAO/tests/MT_Server/server.cpp delete mode 100644 TAO/tests/MT_Server/server.dsp delete mode 100644 TAO/tests/MT_Server/test.idl delete mode 100644 TAO/tests/MT_Server/test_i.cpp delete mode 100644 TAO/tests/MT_Server/test_i.h delete mode 100644 TAO/tests/MT_Server/test_i.i delete mode 100644 TAO/tests/Makefile delete mode 100644 TAO/tests/Multiple_Inheritance/Makefile delete mode 100644 TAO/tests/Multiple_Inheritance/Multiple_Inheritance.dsw delete mode 100644 TAO/tests/Multiple_Inheritance/Multiple_Inheritance.idl delete mode 100644 TAO/tests/Multiple_Inheritance/Multiple_Inheritance_i.h delete mode 100644 TAO/tests/Multiple_Inheritance/README delete mode 100644 TAO/tests/Multiple_Inheritance/client.cpp delete mode 100644 TAO/tests/Multiple_Inheritance/client.dsp delete mode 100755 TAO/tests/Multiple_Inheritance/run_test.pl delete mode 100644 TAO/tests/Multiple_Inheritance/server.cpp delete mode 100644 TAO/tests/Multiple_Inheritance/server.dsp delete mode 100644 TAO/tests/Native_Exceptions/Makefile delete mode 100644 TAO/tests/Native_Exceptions/Native_Exception.dsw delete mode 100644 TAO/tests/Native_Exceptions/README delete mode 100644 TAO/tests/Native_Exceptions/client.cpp delete mode 100644 TAO/tests/Native_Exceptions/client.dsp delete mode 100755 TAO/tests/Native_Exceptions/run_test.pl delete mode 100644 TAO/tests/Native_Exceptions/server.cpp delete mode 100644 TAO/tests/Native_Exceptions/server.dsp delete mode 100644 TAO/tests/Native_Exceptions/test.idl delete mode 100644 TAO/tests/Native_Exceptions/test_i.cpp delete mode 100644 TAO/tests/Native_Exceptions/test_i.h delete mode 100644 TAO/tests/Native_Exceptions/test_i.i delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/MT_Client_Test.dsw delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/MT_Client_Test.idl delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/MT_Object_i.cpp delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/MT_Object_i.h delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/Makefile delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/README delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/client.conf delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/client.cpp delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/client.dsp delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/client.h delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/local_server.cpp delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/local_server.h delete mode 100755 TAO/tests/NestedUpcall/MT_Client_Test/run_test.pl delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/server.cpp delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/server.dsp delete mode 100644 TAO/tests/NestedUpcall/MT_Client_Test/server.h delete mode 100644 TAO/tests/NestedUpcall/Makefile delete mode 100644 TAO/tests/NestedUpcall/Simple/Makefile delete mode 100644 TAO/tests/NestedUpcall/Simple/README delete mode 100644 TAO/tests/NestedUpcall/Simple/Simple.dsw delete mode 100644 TAO/tests/NestedUpcall/Simple/client.cpp delete mode 100644 TAO/tests/NestedUpcall/Simple/client.dsp delete mode 100644 TAO/tests/NestedUpcall/Simple/client_i.cpp delete mode 100644 TAO/tests/NestedUpcall/Simple/client_i.h delete mode 100755 TAO/tests/NestedUpcall/Simple/run_test.pl delete mode 100644 TAO/tests/NestedUpcall/Simple/server.cpp delete mode 100644 TAO/tests/NestedUpcall/Simple/server.dsp delete mode 100644 TAO/tests/NestedUpcall/Simple/server_i.cpp delete mode 100644 TAO/tests/NestedUpcall/Simple/server_i.h delete mode 100644 TAO/tests/NestedUpcall/Simple/svc.conf delete mode 100644 TAO/tests/NestedUpcall/Simple/test.idl delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/Initiator_i.cpp delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/Initiator_i.h delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/Makefile delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.cpp delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/Object_A_i.h delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.cpp delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.h delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/README delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/Triangle_Test.dsw delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/Triangle_Test.idl delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/initiator.dsp delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/initiator.h delete mode 100755 TAO/tests/NestedUpcall/Triangle_Test/run_test.pl delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/server_A.cpp delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/server_A.dsp delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/server_A.h delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/server_B.cpp delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/server_B.dsp delete mode 100644 TAO/tests/NestedUpcall/Triangle_Test/server_B.h delete mode 100644 TAO/tests/OctetSeq/Makefile delete mode 100644 TAO/tests/OctetSeq/OctetSeq.cpp delete mode 100644 TAO/tests/OctetSeq/OctetSeq.dsp delete mode 100644 TAO/tests/OctetSeq/OctetSeq.dsw delete mode 100644 TAO/tests/OctetSeq/README delete mode 100644 TAO/tests/OctetSeq/client.cpp delete mode 100644 TAO/tests/OctetSeq/client.dsp delete mode 100755 TAO/tests/OctetSeq/run_test.pl delete mode 100644 TAO/tests/OctetSeq/server.cpp delete mode 100644 TAO/tests/OctetSeq/server.dsp delete mode 100644 TAO/tests/OctetSeq/test.idl delete mode 100644 TAO/tests/OctetSeq/test_i.cpp delete mode 100644 TAO/tests/OctetSeq/test_i.h delete mode 100644 TAO/tests/OctetSeq/test_i.i delete mode 100644 TAO/tests/POA/Deactivation/Deactivation.cpp delete mode 100644 TAO/tests/POA/Deactivation/Deactivation.dsp delete mode 100644 TAO/tests/POA/Deactivation/Deactivation.dsw delete mode 100644 TAO/tests/POA/Deactivation/Makefile delete mode 100755 TAO/tests/POA/Deactivation/run_test.pl delete mode 100644 TAO/tests/POA/Deactivation/test.idl delete mode 100644 TAO/tests/POA/Destruction/Destruction.cpp delete mode 100644 TAO/tests/POA/Destruction/Destruction.dsp delete mode 100644 TAO/tests/POA/Destruction/Destruction.dsw delete mode 100644 TAO/tests/POA/Destruction/Makefile delete mode 100755 TAO/tests/POA/Destruction/run_test.pl delete mode 100644 TAO/tests/POA/Destruction/test.idl delete mode 100644 TAO/tests/POA/Identity/Identity.cpp delete mode 100644 TAO/tests/POA/Identity/Identity.dsp delete mode 100644 TAO/tests/POA/Identity/Identity.dsw delete mode 100644 TAO/tests/POA/Identity/Makefile delete mode 100755 TAO/tests/POA/Identity/run_test.pl delete mode 100644 TAO/tests/POA/Identity/svc.conf delete mode 100644 TAO/tests/POA/Identity/test.idl delete mode 100644 TAO/tests/POA/Makefile delete mode 100644 TAO/tests/POA/README delete mode 100644 TAO/tests/Param_Test/Makefile delete mode 100644 TAO/tests/Param_Test/Param_Test.dsw delete mode 100644 TAO/tests/Param_Test/README delete mode 100644 TAO/tests/Param_Test/any.cpp delete mode 100644 TAO/tests/Param_Test/any.h delete mode 100644 TAO/tests/Param_Test/bd_long_seq.cpp delete mode 100644 TAO/tests/Param_Test/bd_long_seq.h delete mode 100644 TAO/tests/Param_Test/bd_short_seq.cpp delete mode 100644 TAO/tests/Param_Test/bd_short_seq.h delete mode 100644 TAO/tests/Param_Test/bd_str_seq.cpp delete mode 100644 TAO/tests/Param_Test/bd_str_seq.h delete mode 100644 TAO/tests/Param_Test/bd_string.cpp delete mode 100644 TAO/tests/Param_Test/bd_string.h delete mode 100644 TAO/tests/Param_Test/bd_struct_seq.cpp delete mode 100644 TAO/tests/Param_Test/bd_struct_seq.h delete mode 100644 TAO/tests/Param_Test/big_union.cpp delete mode 100644 TAO/tests/Param_Test/big_union.h delete mode 100644 TAO/tests/Param_Test/client.cpp delete mode 100644 TAO/tests/Param_Test/client.dsp delete mode 100644 TAO/tests/Param_Test/client.h delete mode 100644 TAO/tests/Param_Test/complex_any.cpp delete mode 100644 TAO/tests/Param_Test/complex_any.h delete mode 100644 TAO/tests/Param_Test/driver.cpp delete mode 100644 TAO/tests/Param_Test/driver.h delete mode 100644 TAO/tests/Param_Test/except.cpp delete mode 100644 TAO/tests/Param_Test/except.h delete mode 100644 TAO/tests/Param_Test/fixed_array.cpp delete mode 100644 TAO/tests/Param_Test/fixed_array.h delete mode 100644 TAO/tests/Param_Test/fixed_struct.cpp delete mode 100644 TAO/tests/Param_Test/fixed_struct.h delete mode 100644 TAO/tests/Param_Test/helper.cpp delete mode 100644 TAO/tests/Param_Test/helper.h delete mode 100644 TAO/tests/Param_Test/multdim_array.cpp delete mode 100644 TAO/tests/Param_Test/multdim_array.h delete mode 100644 TAO/tests/Param_Test/nested_struct.cpp delete mode 100644 TAO/tests/Param_Test/nested_struct.h delete mode 100644 TAO/tests/Param_Test/objref.cpp delete mode 100644 TAO/tests/Param_Test/objref.h delete mode 100644 TAO/tests/Param_Test/objref_struct.cpp delete mode 100644 TAO/tests/Param_Test/objref_struct.h delete mode 100644 TAO/tests/Param_Test/options.cpp delete mode 100644 TAO/tests/Param_Test/options.h delete mode 100644 TAO/tests/Param_Test/param_test.idl delete mode 100644 TAO/tests/Param_Test/param_test_i.cpp delete mode 100644 TAO/tests/Param_Test/param_test_i.h delete mode 100644 TAO/tests/Param_Test/recursive_struct.cpp delete mode 100644 TAO/tests/Param_Test/recursive_struct.h delete mode 100644 TAO/tests/Param_Test/results.cpp delete mode 100644 TAO/tests/Param_Test/results.h delete mode 100755 TAO/tests/Param_Test/run_test.pl delete mode 100644 TAO/tests/Param_Test/server.cpp delete mode 100644 TAO/tests/Param_Test/server.dsp delete mode 100644 TAO/tests/Param_Test/short.cpp delete mode 100644 TAO/tests/Param_Test/short.h delete mode 100644 TAO/tests/Param_Test/svc.conf delete mode 100644 TAO/tests/Param_Test/tests.h delete mode 100644 TAO/tests/Param_Test/tmplinst.cpp delete mode 100644 TAO/tests/Param_Test/typecode.cpp delete mode 100644 TAO/tests/Param_Test/typecode.h delete mode 100644 TAO/tests/Param_Test/ub_any_seq.cpp delete mode 100644 TAO/tests/Param_Test/ub_any_seq.h delete mode 100644 TAO/tests/Param_Test/ub_long_seq.cpp delete mode 100644 TAO/tests/Param_Test/ub_long_seq.h delete mode 100644 TAO/tests/Param_Test/ub_objref_seq.cpp delete mode 100644 TAO/tests/Param_Test/ub_objref_seq.h delete mode 100644 TAO/tests/Param_Test/ub_short_seq.cpp delete mode 100644 TAO/tests/Param_Test/ub_short_seq.h delete mode 100644 TAO/tests/Param_Test/ub_str_seq.cpp delete mode 100644 TAO/tests/Param_Test/ub_str_seq.h delete mode 100644 TAO/tests/Param_Test/ub_string.cpp delete mode 100644 TAO/tests/Param_Test/ub_string.h delete mode 100644 TAO/tests/Param_Test/ub_struct_seq.cpp delete mode 100644 TAO/tests/Param_Test/ub_struct_seq.h delete mode 100644 TAO/tests/Param_Test/ulonglong.cpp delete mode 100644 TAO/tests/Param_Test/ulonglong.h delete mode 100644 TAO/tests/Param_Test/var_array.cpp delete mode 100644 TAO/tests/Param_Test/var_array.h delete mode 100644 TAO/tests/Param_Test/var_struct.cpp delete mode 100644 TAO/tests/Param_Test/var_struct.h delete mode 100755 TAO/tests/Quoter/FactoryFinder.exe delete mode 100644 TAO/tests/Quoter/ns.btm delete mode 100644 TAO/tests/Quoter/run_test.btm delete mode 100644 TAO/tests/Quoter/sv.btm delete mode 100644 TAO/tests/README delete mode 100644 TAO/tests/TAO_Tests.dsw delete mode 100644 TAO/tests/Timeout/Makefile delete mode 100644 TAO/tests/Timeout/README delete mode 100644 TAO/tests/Timeout/Timeout.dsw delete mode 100644 TAO/tests/Timeout/client.cpp delete mode 100644 TAO/tests/Timeout/client.dsp delete mode 100755 TAO/tests/Timeout/run_test.pl delete mode 100644 TAO/tests/Timeout/server.cpp delete mode 100644 TAO/tests/Timeout/server.dsp delete mode 100644 TAO/tests/Timeout/test.idl delete mode 100644 TAO/tests/Timeout/test_i.cpp delete mode 100644 TAO/tests/Timeout/test_i.h delete mode 100644 TAO/tests/Timeout/test_i.i delete mode 100644 TAO/tests/Xt_Stopwatch/Client.h delete mode 100644 TAO/tests/Xt_Stopwatch/Control.cpp delete mode 100644 TAO/tests/Xt_Stopwatch/Control.h delete mode 100644 TAO/tests/Xt_Stopwatch/Makefile delete mode 100644 TAO/tests/Xt_Stopwatch/README delete mode 100644 TAO/tests/Xt_Stopwatch/Stopwatch_display.cpp delete mode 100644 TAO/tests/Xt_Stopwatch/Stopwatch_display.h delete mode 100644 TAO/tests/Xt_Stopwatch/client.cpp delete mode 100755 TAO/tests/Xt_Stopwatch/run_test.pl delete mode 100644 TAO/tests/Xt_Stopwatch/server.cpp delete mode 100644 TAO/tests/Xt_Stopwatch/svc.conf delete mode 100644 TAO/tests/Xt_Stopwatch/test.idl delete mode 100644 TAO/tests/Xt_Stopwatch/test_i.cpp delete mode 100644 TAO/tests/Xt_Stopwatch/test_i.h delete mode 100644 TAO/tests/Xt_Stopwatch/test_i.i delete mode 100644 TAO/tests/Xt_Stopwatch/timer.cpp delete mode 100644 TAO/tests/Xt_Stopwatch/timer.h delete mode 100644 TAO/utils/IOR-parser/IOR_Parser.dsp delete mode 100644 TAO/utils/IOR-parser/IOR_Parser.dsw delete mode 100644 TAO/utils/IOR-parser/Makefile delete mode 100644 TAO/utils/IOR-parser/Makefile.bor delete mode 100644 TAO/utils/IOR-parser/Orbix.IOR delete mode 100644 TAO/utils/IOR-parser/README delete mode 100644 TAO/utils/IOR-parser/Tao.IOR delete mode 100644 TAO/utils/IOR-parser/TaoSimple.IOR delete mode 100644 TAO/utils/IOR-parser/VisiBroker.IOR delete mode 100644 TAO/utils/IOR-parser/ior-handler.cpp delete mode 100644 TAO/utils/IOR-parser/ior-handler.h delete mode 100644 TAO/utils/IOR-parser/ior-parser.cpp delete mode 100644 TAO/utils/Makefile delete mode 100644 TAO/utils/README delete mode 100644 TAO/utils/catior/Makefile delete mode 100644 TAO/utils/catior/Makefile.bor delete mode 100644 TAO/utils/catior/README delete mode 100644 TAO/utils/catior/catior.cpp delete mode 100644 TAO/utils/catior/catior.dsp delete mode 100644 TAO/utils/catior/catior.dsw delete mode 100644 TAO/utils/catior/test.bat delete mode 100644 TAO/utils/catior/test/adagrid.ior delete mode 100644 TAO/utils/catior/test/eventservice.ior delete mode 100644 TAO/utils/catior/test/expersoft.iiop delete mode 100644 TAO/utils/catior/test/expersoft.ior delete mode 100644 TAO/utils/catior/test/expersoft2.iiop delete mode 100644 TAO/utils/catior/test/expersoft2.ior delete mode 100644 TAO/utils/catior/test/expersoft3.iiop delete mode 100644 TAO/utils/catior/test/expersoft3.ior delete mode 100644 TAO/utils/catior/test/namingservice.poop delete mode 100644 TAO/utils/catior/test/param_test.iiop delete mode 100644 TAO/utils/catior/test/quoteserver.ior delete mode 100644 TAO/utils/catior/test/test1.ior delete mode 100644 TAO/utils/catior/test/test2.ior delete mode 100644 TAO/utils/catior/test/timeserver.iiop delete mode 100644 TAO/utils/catior/test/timeserver.ior delete mode 100644 TAO/utils/nslist/Makefile delete mode 100644 TAO/utils/nslist/Makefile.bor delete mode 100644 TAO/utils/nslist/README delete mode 100644 TAO/utils/nslist/nslist.cpp delete mode 100644 TAO/version_tests.dsw delete mode 100644 ace-diff-config.in delete mode 100644 ace/Containers_bad.i delete mode 100644 ace/Timer_Queue.i delete mode 100644 ace/config-sunos5.6-sunc++-4.x.h delete mode 100644 apps/Gateway/Gateway/Channel.cpp delete mode 100644 apps/Gateway/Gateway/Channel.h delete mode 100644 apps/Gateway/Gateway/Channel_Connector.cpp delete mode 100644 apps/Gateway/Gateway/Channel_Connector.h delete mode 100644 apps/Gateway/Gateway/Concurrency_Strategies.h delete mode 100644 apps/Gateway/Gateway/Consumer_Entry.cpp delete mode 100644 apps/Gateway/Gateway/Consumer_Entry.h delete mode 100644 apps/Gateway/Gateway/Consumer_Map.cpp delete mode 100644 apps/Gateway/Gateway/Consumer_Map.h delete mode 100644 apps/Gateway/Gateway/Dispatch_Set.h delete mode 100644 apps/Gateway/Gateway/IO_Handler.cpp delete mode 100644 apps/Gateway/Gateway/IO_Handler.h delete mode 100644 apps/Gateway/Gateway/IO_Handler_Connector.cpp delete mode 100644 apps/Gateway/Gateway/IO_Handler_Connector.h delete mode 100644 apps/Gateway/Gateway/Peer_Message.h delete mode 100644 apps/Gateway/Gateway/Routing_Entry.cpp delete mode 100644 apps/Gateway/Gateway/Routing_Entry.h delete mode 100644 apps/Gateway/Gateway/Routing_Table.cpp delete mode 100644 apps/Gateway/Gateway/Routing_Table.h delete mode 100644 apps/Gateway/Gateway/Thr_Channel.cpp delete mode 100644 apps/Gateway/Gateway/Thr_Channel.h delete mode 100644 apps/Gateway/Gateway/Thr_IO_Handler.cpp delete mode 100644 apps/Gateway/Gateway/Thr_IO_Handler.h delete mode 100644 apps/Gateway/Gateway/Thr_Proxy_Handler.cpp delete mode 100644 apps/Gateway/Gateway/Thr_Proxy_Handler.h delete mode 100644 apps/Gateway/Gateway/cc_config delete mode 100644 apps/Gateway/Gateway/rt_config delete mode 100644 apps/Gateway/Peer/Event.h delete mode 100644 apps/Gateway/Peer/Gateway_Handler.cpp delete mode 100644 apps/Gateway/Peer/Gateway_Handler.h delete mode 100644 apps/Gateway/Peer/Peer_Message.h delete mode 100644 examples/Reactor/Misc/signal_tester.cpp delete mode 100644 examples/Reactor/Misc/test_signals.cpp delete mode 100644 examples/System_V_IPC/SV_Semaphores/Semaphore_Client.cpp delete mode 100644 examples/System_V_IPC/SV_Semaphores/Semaphore_Server.cpp delete mode 100644 examples/System_V_IPC/SV_Semaphores/Semaphore_Test.h delete mode 100644 examples/System_V_IPC/SV_Semaphores/Semaphores.cpp delete mode 100644 examples/Threads/test_auto_event.cpp delete mode 100644 examples/Threads/test_barrier1.cpp delete mode 100644 examples/Threads/test_barrier2.cpp delete mode 100644 examples/Threads/test_cancel.cpp delete mode 100644 examples/Threads/test_future1.cpp delete mode 100644 examples/Threads/test_future2.cpp delete mode 100644 examples/Threads/test_manual_event.cpp delete mode 100644 examples/Threads/test_process_mutex.cpp delete mode 100644 examples/Threads/test_process_semaphore.cpp delete mode 100644 examples/Threads/test_reader_writer.cpp delete mode 100644 examples/Threads/test_recursive_mutex.cpp delete mode 100644 examples/Threads/test_task.cpp delete mode 100644 examples/Threads/test_task_four.cpp delete mode 100644 examples/Threads/test_task_one.cpp delete mode 100644 examples/Threads/test_task_three.cpp delete mode 100644 examples/Threads/test_task_two.cpp delete mode 100644 examples/Threads/test_thread_manager.cpp delete mode 100644 examples/Threads/test_thread_pool.cpp delete mode 100644 examples/Threads/test_thread_specific.cpp delete mode 100644 examples/Threads/test_token.cpp delete mode 100644 examples/Threads/test_tss.cpp delete mode 100644 examples/Threads/test_tss1.cpp delete mode 100644 examples/Threads/test_tss2.cpp delete mode 100644 java/ChangeLog delete mode 100644 java/ImageProcessing/ImageProcessing.dsp delete mode 100644 java/ImageProcessing/ImageProcessing.dsw delete mode 100644 java/ImageProcessing/filters/Assert.java delete mode 100644 java/ImageProcessing/filters/BleachFilter.java delete mode 100644 java/ImageProcessing/filters/BlurFilter.java delete mode 100644 java/ImageProcessing/filters/DarkenFilter.java delete mode 100644 java/ImageProcessing/filters/DeSpeckleFilter.java delete mode 100644 java/ImageProcessing/filters/DissolveFilter.java delete mode 100644 java/ImageProcessing/filters/EdgeDetectFilter.java delete mode 100644 java/ImageProcessing/filters/EmbossFilter.java delete mode 100644 java/ImageProcessing/filters/Makefile delete mode 100644 java/ImageProcessing/filters/MedFilter.java delete mode 100644 java/ImageProcessing/filters/OilPaintFilter.java delete mode 100644 java/ImageProcessing/filters/PixelizeFilter.java delete mode 100644 java/ImageProcessing/filters/RandomizeFilter.java delete mode 100644 java/ImageProcessing/filters/RotateFilter.java delete mode 100644 java/ImageProcessing/filters/SharpenFilter.java delete mode 100644 java/ImageProcessing/filters/SpatialFilter.java delete mode 100644 java/ImageProcessing/filters/SpreadFilter.java delete mode 100644 java/ImageProcessing/filters/Timer.java delete mode 100644 java/ImageProcessing/framework/BaseButton.java delete mode 100644 java/ImageProcessing/framework/BenchmarkApplet.java delete mode 100644 java/ImageProcessing/framework/DialogManager.java delete mode 100644 java/ImageProcessing/framework/DialogType.java delete mode 100644 java/ImageProcessing/framework/FileBrowser.java delete mode 100644 java/ImageProcessing/framework/FilePanel.java delete mode 100644 java/ImageProcessing/framework/FilterTest.java delete mode 100644 java/ImageProcessing/framework/GIFHandler.java delete mode 100644 java/ImageProcessing/framework/GifEncoder.java delete mode 100644 java/ImageProcessing/framework/Hierarchy.java delete mode 100644 java/ImageProcessing/framework/HierarchyAdapter.java delete mode 100644 java/ImageProcessing/framework/Icon.java delete mode 100644 java/ImageProcessing/framework/ImageApp.java delete mode 100644 java/ImageProcessing/framework/ImageByteCounter.java delete mode 100644 java/ImageProcessing/framework/ImageCanvas.java delete mode 100644 java/ImageProcessing/framework/ImageEncoder.java delete mode 100644 java/ImageProcessing/framework/ImageProcessor.java delete mode 100644 java/ImageProcessing/framework/ImageSender.java delete mode 100644 java/ImageProcessing/framework/IntHashtable.java delete mode 100644 java/ImageProcessing/framework/ListFiles.java delete mode 100755 java/ImageProcessing/framework/LoadURLFrame.java delete mode 100644 java/ImageProcessing/framework/Makefile delete mode 100644 java/ImageProcessing/framework/MedJava.html delete mode 100644 java/ImageProcessing/framework/Options.java delete mode 100755 java/ImageProcessing/framework/SaveURLFrame.java delete mode 100644 java/ImageProcessing/framework/Separator.java delete mode 100644 java/ImageProcessing/framework/ServerHandler.java delete mode 100644 java/ImageProcessing/framework/ServerTest.java delete mode 100644 java/ImageProcessing/framework/StatusDisplay.java delete mode 100644 java/ImageProcessing/framework/StatusIndicator.java delete mode 100644 java/ImageProcessing/framework/TestHandler.java delete mode 100644 java/ImageProcessing/framework/Tester.java delete mode 100644 java/ImageProcessing/framework/doc01.gif delete mode 100644 java/ImageProcessing/framework/file03.gif delete mode 100644 java/ImageProcessing/framework/filter.conf delete mode 100644 java/ImageProcessing/framework/help.conf delete mode 100644 java/ImageProcessing/framework/test.html delete mode 100644 java/ImageProcessing/framework/testFilter.conf delete mode 100644 java/VERSION delete mode 100644 java/apps/NexusII/README delete mode 100644 java/apps/NexusII/classes/ClientHandler.class delete mode 100644 java/apps/NexusII/classes/FrameHandler.class delete mode 100644 java/apps/NexusII/classes/ImageCanvas.class delete mode 100644 java/apps/NexusII/classes/NexusClientApplet.class delete mode 100644 java/apps/NexusII/classes/NexusIIserver.class delete mode 100644 java/apps/NexusII/classes/Room.class delete mode 100644 java/apps/NexusII/classes/RoomFactory.class delete mode 100644 java/apps/NexusII/classes/RoomFrame.class delete mode 100644 java/apps/NexusII/classes/RoomThread.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CApplet.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CApplet.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CButton.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CButton.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CCanvas.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CCanvas.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CFrame.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CFrame.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CList.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CList.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CPanel.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CPanel.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CTextArea.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CTextArea.java delete mode 100644 java/apps/NexusII/classes/awtCommand/CTextField.class delete mode 100644 java/apps/NexusII/classes/awtCommand/CTextField.java delete mode 100644 java/apps/NexusII/classes/awtCommand/Command.class delete mode 100644 java/apps/NexusII/classes/awtCommand/Command.java delete mode 100644 java/apps/NexusII/classes/commandHandler.class delete mode 100644 java/apps/NexusII/classes/commandParser.class delete mode 100644 java/apps/NexusII/classes/connectionHandler.class delete mode 100644 java/apps/NexusII/classes/joinHandler.class delete mode 100644 java/apps/NexusII/classes/roomHandler.class delete mode 100644 java/apps/NexusII/classes/textHandler.class delete mode 100644 java/apps/NexusII/src/Consumer.java delete mode 100644 java/apps/NexusII/src/MT_Bounded_Queue.java delete mode 100644 java/apps/NexusII/src/MT_Bounded_Queue_Group.java delete mode 100644 java/apps/NexusII/src/NexusClientApplet.java delete mode 100644 java/apps/NexusII/src/NexusIIserver.java delete mode 100644 java/apps/NexusII/src/Producer.java delete mode 100644 java/apps/NexusII/src/Room.java delete mode 100644 java/apps/NexusII/src/RoomFrame.java delete mode 100644 java/apps/NexusII/src/RoomSpace.java delete mode 100644 java/apps/NexusII/src/Timed_Wait.java delete mode 100644 java/apps/NexusII/src/Timer.java delete mode 100644 java/apps/NexusII/src/commandHandler.java delete mode 100644 java/apps/NexusII/src/commandParser.java delete mode 100644 java/apps/NexusII/src/connectionHandler.java delete mode 100644 java/apps/NexusII/src/consts.java delete mode 100644 java/apps/NexusII/src/dataPacket.java delete mode 100644 java/apps/NexusII/src/joinHandler.java delete mode 100644 java/apps/NexusII/src/makefile delete mode 100644 java/apps/NexusII/src/nexusDemuxThread.java delete mode 100644 java/apps/NexusII/src/roomHandler.java delete mode 100644 java/apps/NexusII/src/socketReaderThread.java delete mode 100644 java/apps/NexusII/src/socketWriterThread.java delete mode 100644 java/apps/NexusII/src/url_to_url.java delete mode 100755 java/apps/NexusII/start delete mode 100644 java/apps/NexusII/start.html delete mode 100644 java/classes/README.TXT delete mode 100644 java/doc/images/GridBagEx.gif delete mode 100644 java/doc/images/OpenBookIcon.gif delete mode 100644 java/doc/images/blue-ball-small.gif delete mode 100644 java/doc/images/blue-ball.gif delete mode 100644 java/doc/images/class-index.gif delete mode 100644 java/doc/images/constructor-index.gif delete mode 100644 java/doc/images/constructors.gif delete mode 100644 java/doc/images/cyan-ball-small.gif delete mode 100644 java/doc/images/cyan-ball.gif delete mode 100644 java/doc/images/error-index.gif delete mode 100644 java/doc/images/exception-index.gif delete mode 100644 java/doc/images/green-ball-small.gif delete mode 100644 java/doc/images/green-ball.gif delete mode 100644 java/doc/images/interface-index.gif delete mode 100644 java/doc/images/magenta-ball-small.gif delete mode 100644 java/doc/images/magenta-ball.gif delete mode 100644 java/doc/images/method-index.gif delete mode 100644 java/doc/images/methods.gif delete mode 100644 java/doc/images/package-index.gif delete mode 100644 java/doc/images/red-ball-small.gif delete mode 100644 java/doc/images/red-ball.gif delete mode 100644 java/doc/images/variable-index.gif delete mode 100644 java/doc/images/variables.gif delete mode 100644 java/doc/images/yellow-ball-small.gif delete mode 100644 java/doc/images/yellow-ball.gif delete mode 100644 java/examples/Logger/README delete mode 100644 java/examples/Logger/simple-server/LogRecord.java delete mode 100644 java/examples/Logger/simple-server/LoggerConstants.java delete mode 100644 java/examples/Logger/simple-server/LoggingAcceptor.java delete mode 100644 java/examples/Logger/simple-server/LoggingClient.java delete mode 100644 java/examples/Logger/simple-server/LoggingHandler.java delete mode 100644 java/examples/Logger/simple-server/Makefile delete mode 100644 java/examples/Logger/simple-server/README delete mode 100644 java/examples/Logger/simple-server/SimpleLogger.java delete mode 100644 java/gjt/Assert.java delete mode 100644 java/gjt/Bargauge.java delete mode 100644 java/gjt/Border.java delete mode 100644 java/gjt/Box.java delete mode 100644 java/gjt/BulletinLayout.java delete mode 100644 java/gjt/ButtonPanel.java delete mode 100644 java/gjt/CardPanel.java delete mode 100644 java/gjt/ChoiceCardPanel.java delete mode 100644 java/gjt/ColumnLayout.java delete mode 100644 java/gjt/ComponentScroller.java delete mode 100644 java/gjt/DialogClient.java delete mode 100644 java/gjt/DrawingPanel.java delete mode 100644 java/gjt/DrawnRectangle.java delete mode 100644 java/gjt/EtchedBorder.java delete mode 100644 java/gjt/EtchedRectangle.java delete mode 100644 java/gjt/Etching.java delete mode 100644 java/gjt/ExclusiveImageButtonPanel.java delete mode 100644 java/gjt/FontDialog.java delete mode 100644 java/gjt/GJT.DSP delete mode 100644 java/gjt/GJT.DSW delete mode 100644 java/gjt/GJTDialog.java delete mode 100644 java/gjt/IconCardPanel.java delete mode 100644 java/gjt/ImageButton.java delete mode 100644 java/gjt/ImageButtonController.java delete mode 100644 java/gjt/ImageButtonEvent.java delete mode 100644 java/gjt/ImageButtonPanel.java delete mode 100644 java/gjt/ImageButtonPanelController.java delete mode 100644 java/gjt/ImageCanvas.java delete mode 100644 java/gjt/ImageScroller.java delete mode 100644 java/gjt/LabelCanvas.java delete mode 100644 java/gjt/Makefile delete mode 100644 java/gjt/MessageDialog.java delete mode 100644 java/gjt/MouseController.java delete mode 100644 java/gjt/Orientation.java delete mode 100644 java/gjt/ProgressDialog.java delete mode 100644 java/gjt/QuestionDialog.java delete mode 100644 java/gjt/RadioImageButtonPanelController.java delete mode 100644 java/gjt/RowLayout.java delete mode 100644 java/gjt/Scroller.java delete mode 100644 java/gjt/ScrollerLayout.java delete mode 100644 java/gjt/SelectionEvent.java delete mode 100644 java/gjt/Separator.java delete mode 100644 java/gjt/SpringyImageButtonController.java delete mode 100644 java/gjt/StateButton.java delete mode 100644 java/gjt/StateButtonController.java delete mode 100644 java/gjt/StickyImageButtonController.java delete mode 100644 java/gjt/Stopwatch.java delete mode 100644 java/gjt/StopwatchClient.java delete mode 100644 java/gjt/ThreeDBorder.java delete mode 100644 java/gjt/ThreeDBorderStyle.java delete mode 100644 java/gjt/ThreeDRectangle.java delete mode 100644 java/gjt/Toolbar.java delete mode 100644 java/gjt/Util.java delete mode 100644 java/gjt/YesNoDialog.java delete mode 100644 java/gjt/animation/CollisionArena.java delete mode 100644 java/gjt/animation/CollisionDetector.java delete mode 100644 java/gjt/animation/EdgeCollisionDetector.java delete mode 100644 java/gjt/animation/Playfield.java delete mode 100644 java/gjt/animation/Sequence.java delete mode 100644 java/gjt/animation/Sprite.java delete mode 100644 java/gjt/animation/SpriteCollisionDetector.java delete mode 100644 java/gjt/image/BleachImageFilter.java delete mode 100644 java/gjt/image/DissolveFilter.java delete mode 100644 java/gjt/image/ImageDissolver.java delete mode 100644 java/gjt/rubberband/Rubberband.java delete mode 100644 java/gjt/rubberband/RubberbandEllipse.java delete mode 100644 java/gjt/rubberband/RubberbandLine.java delete mode 100644 java/gjt/rubberband/RubberbandPanel.java delete mode 100644 java/gjt/rubberband/RubberbandRectangle.java delete mode 100644 java/gjt/test/AttributesPanel.java delete mode 100644 java/gjt/test/BargaugeTest.java delete mode 100644 java/gjt/test/BleachImageFilterTest.java delete mode 100644 java/gjt/test/BorderTest.java delete mode 100644 java/gjt/test/BoxTest.java delete mode 100644 java/gjt/test/BumpAnimationTest.java delete mode 100644 java/gjt/test/ChoiceCardPanelTest.java delete mode 100644 java/gjt/test/ColumnLayoutTest.java delete mode 100644 java/gjt/test/ComponentScrollerTest.java delete mode 100644 java/gjt/test/ConnectionsPanel.java delete mode 100644 java/gjt/test/DialogTest.java delete mode 100644 java/gjt/test/DrawnRectangleTest.java delete mode 100644 java/gjt/test/FontDialogTest.java delete mode 100644 java/gjt/test/IconCardPanelTest.java delete mode 100644 java/gjt/test/ImageButtonTest.java delete mode 100644 java/gjt/test/ImageDissolverTest.java delete mode 100644 java/gjt/test/ImageScrollerTest.java delete mode 100644 java/gjt/test/LabelCanvasTest.java delete mode 100644 java/gjt/test/MessageDialogTest.java delete mode 100644 java/gjt/test/OccupationOracle.java delete mode 100644 java/gjt/test/RowLayoutTest.java delete mode 100644 java/gjt/test/RubberbandTest.java delete mode 100644 java/gjt/test/SeparatorTest.java delete mode 100644 java/gjt/test/SimpleAnimationTest.java delete mode 100644 java/gjt/test/SimpleBargaugeTest.java delete mode 100644 java/gjt/test/StateButtonTest.java delete mode 100644 java/gjt/test/TenPixelBorder.java delete mode 100644 java/gjt/test/TitledPanel.java delete mode 100644 java/gjt/test/ToolbarTest.java delete mode 100644 java/gjt/test/TwoDrinkersAnimationTest.java delete mode 100644 java/gjt/test/UnitTest.java delete mode 100644 java/netsvcs/Logger/DefaultLMR.java delete mode 100644 java/netsvcs/Logger/LogMessageReceiver.java delete mode 100644 java/netsvcs/Logger/LogRecord.java delete mode 100644 java/netsvcs/Logger/Makefile delete mode 100644 java/netsvcs/Logger/ServerLoggingAcceptor.java delete mode 100644 java/netsvcs/Logger/ServerLoggingHandler.java delete mode 100644 java/netsvcs/Naming/Makefile delete mode 100644 java/netsvcs/Naming/NameAcceptor.java delete mode 100644 java/netsvcs/Naming/NameHandler.java delete mode 100644 java/netsvcs/Naming/NameProxy.java delete mode 100644 java/netsvcs/Naming/NameReply.java delete mode 100644 java/netsvcs/Naming/NameRequest.java delete mode 100755 java/netsvcs/Time/Clerk.java delete mode 100755 java/netsvcs/Time/Makefile delete mode 100755 java/netsvcs/Time/Server.java delete mode 100755 java/netsvcs/Time/TSClerkHandler.java delete mode 100755 java/netsvcs/Time/TSClerkProcessor.java delete mode 100755 java/netsvcs/Time/TSRequestAcceptor.java delete mode 100755 java/netsvcs/Time/TSRequestHandler.java delete mode 100755 java/netsvcs/Time/TSServerAcceptor.java delete mode 100755 java/netsvcs/Time/TSServerHandler.java delete mode 100644 java/src/ACE.java delete mode 100644 java/src/AcceptStrategy.java delete mode 100644 java/src/Acceptor.java delete mode 100644 java/src/ActivateStrategy.java delete mode 100644 java/src/AddServiceObjectNode.java delete mode 100644 java/src/Blob.java delete mode 100644 java/src/BlobHandler.java delete mode 100644 java/src/BlobReader.java delete mode 100644 java/src/BlobWriter.java delete mode 100644 java/src/ClassNameGenerator.java delete mode 100644 java/src/ClassReader.java delete mode 100644 java/src/Condition.java delete mode 100644 java/src/Connector.java delete mode 100644 java/src/CreationStrategy.java delete mode 100644 java/src/EventHandler.java delete mode 100644 java/src/GetOpt.java delete mode 100644 java/src/HTTPHelper.java delete mode 100644 java/src/INETAddr.java delete mode 100644 java/src/IOCntlCmds.java delete mode 100644 java/src/IOCntlMsg.java delete mode 100644 java/src/JACE.DSP delete mode 100644 java/src/JACE.DSW delete mode 100644 java/src/Makefile delete mode 100644 java/src/MessageBlock.java delete mode 100644 java/src/MessageQueue.java delete mode 100644 java/src/MessageType.java delete mode 100644 java/src/Module.java delete mode 100644 java/src/Mutex.java delete mode 100644 java/src/OS.java delete mode 100644 java/src/ParseNode.java delete mode 100644 java/src/ProfileTimer.java delete mode 100644 java/src/README delete mode 100644 java/src/RWMutex.java delete mode 100644 java/src/RemoveNode.java delete mode 100644 java/src/ResumeNode.java delete mode 100644 java/src/SOCKAcceptor.java delete mode 100644 java/src/SOCKConnector.java delete mode 100644 java/src/SOCKStream.java delete mode 100644 java/src/Semaphore.java delete mode 100644 java/src/ServiceConfig.java delete mode 100644 java/src/ServiceLoader.java delete mode 100644 java/src/ServiceObject.java delete mode 100644 java/src/ServiceObjectRecord.java delete mode 100644 java/src/ServiceRecord.java delete mode 100644 java/src/ServiceRepository.java delete mode 100644 java/src/StrategyAcceptor.java delete mode 100644 java/src/Stream.java delete mode 100644 java/src/StreamHead.java delete mode 100644 java/src/StreamTail.java delete mode 100644 java/src/SuspendNode.java delete mode 100644 java/src/SvcHandler.java delete mode 100644 java/src/Task.java delete mode 100644 java/src/TaskFlags.java delete mode 100644 java/src/ThreadManager.java delete mode 100644 java/src/ThruTask.java delete mode 100644 java/src/TimeValue.java delete mode 100644 java/src/TimedWait.java delete mode 100644 java/src/TimeoutException.java delete mode 100644 java/src/TimerQueue.java delete mode 100644 java/src/Token.java delete mode 100644 java/tests/ASX/BufferStreamTest.dsp delete mode 100644 java/tests/ASX/BufferStreamTest.java delete mode 100644 java/tests/ASX/Makefile delete mode 100644 java/tests/ASX/MessageQueueTest.dsp delete mode 100644 java/tests/ASX/MessageQueueTest.java delete mode 100644 java/tests/ASX/PriorityBufferTest.dsp delete mode 100644 java/tests/ASX/PriorityBufferTest.java delete mode 100644 java/tests/ASX/TaskTest.dsp delete mode 100644 java/tests/ASX/TaskTest.java delete mode 100644 java/tests/ASX/ThreadPoolTest.dsp delete mode 100644 java/tests/ASX/ThreadPoolTest.java delete mode 100644 java/tests/Concurrency/Condition/Condition.dsp delete mode 100644 java/tests/Concurrency/Condition/Consumer.java delete mode 100644 java/tests/Concurrency/Condition/JoinableThreadGroup.java delete mode 100644 java/tests/Concurrency/Condition/Makefile delete mode 100644 java/tests/Concurrency/Condition/Producer.java delete mode 100644 java/tests/Concurrency/Condition/QueueTest.java delete mode 100644 java/tests/Concurrency/Condition/SimpleMessageQueue.java delete mode 100644 java/tests/Concurrency/Makefile delete mode 100644 java/tests/Concurrency/MutexTest.dsp delete mode 100644 java/tests/Concurrency/MutexTest.java delete mode 100644 java/tests/Concurrency/RWMutexTest.dsp delete mode 100644 java/tests/Concurrency/RWMutexTest.java delete mode 100644 java/tests/Concurrency/SemaphoreTest.dsp delete mode 100644 java/tests/Concurrency/SemaphoreTest.java delete mode 100644 java/tests/Concurrency/TokenTest.dsp delete mode 100644 java/tests/Concurrency/TokenTest.java delete mode 100644 java/tests/Connection/AcceptorTest.dsp delete mode 100644 java/tests/Connection/AcceptorTest.java delete mode 100644 java/tests/Connection/ClientHandler.dsp delete mode 100644 java/tests/Connection/ClientHandler.java delete mode 100644 java/tests/Connection/ConnectorTest.dsp delete mode 100644 java/tests/Connection/ConnectorTest.java delete mode 100644 java/tests/Connection/HTTPHelperTest.java delete mode 100644 java/tests/Connection/Makefile delete mode 100644 java/tests/Connection/ServerHandler.dsp delete mode 100644 java/tests/Connection/ServerHandler.java delete mode 100644 java/tests/Misc/Makefile delete mode 100644 java/tests/Misc/ParseArgsTest.dsp delete mode 100644 java/tests/Misc/ParseArgsTest.java delete mode 100644 java/tests/Reactor/Makefile delete mode 100644 java/tests/Reactor/TimeValueTest.dsp delete mode 100644 java/tests/Reactor/TimeValueTest.java delete mode 100644 java/tests/Reactor/TimerQueueTest.dsp delete mode 100644 java/tests/Reactor/TimerQueueTest.java delete mode 100644 java/tests/SOCK_SAP/Makefile delete mode 100644 java/tests/SOCK_SAP/SOCKAcceptorTest.dsp delete mode 100644 java/tests/SOCK_SAP/SOCKAcceptorTest.java delete mode 100644 java/tests/SOCK_SAP/SOCKConnectorTest.dsp delete mode 100644 java/tests/SOCK_SAP/SOCKConnectorTest.java delete mode 100644 java/tests/ServiceConfigurator/Makefile delete mode 100644 java/tests/ServiceConfigurator/ServiceConfigurator.dsp delete mode 100644 java/tests/ServiceConfigurator/TestService.java delete mode 100644 java/tests/ServiceConfigurator/reloadTest.java delete mode 100644 java/tests/ServiceConfigurator/suspendTest.java delete mode 100644 java/tests/ServiceConfigurator/suspendTest1.conf delete mode 100644 java/tests/ServiceConfigurator/suspendTest2.conf delete mode 100644 java/tests/ServiceConfigurator/suspendTest3.conf delete mode 100644 java/tests/ServiceConfigurator/svc.conf delete mode 100644 java/tests/Tests.dsw delete mode 100644 java/tests/netsvcs/Logger/LoggerTest.java delete mode 100644 java/tests/netsvcs/Logger/Makefile delete mode 100644 java/tests/netsvcs/Naming/ClientTest.java delete mode 100644 java/tests/netsvcs/Naming/Makefile delete mode 100644 netsvcs/clients/Naming/Dump_Restore/nametest.cpp delete mode 100644 netsvcs/clients/Naming/Dump_Restore/nametest.h delete mode 100644 netsvcs/lib/Client_Logging_Handler.i delete mode 100644 netsvcs/lib/Server_Logging_Handler.i delete mode 100644 netsvcs/servers/cli.conf delete mode 100644 netsvcs/servers/ntsvc.conf delete mode 100644 psosim/Makefile delete mode 100644 psosim/drv_conf.c delete mode 100644 rpc++/.dependencies delete mode 100644 rpc++/COPYING delete mode 100644 rpc++/Makefile delete mode 100644 rpc++/Proj.make delete mode 100644 rpc++/README delete mode 100644 rpc++/README.ORIG delete mode 100644 rpc++/StdHdrs/Makefile delete mode 100644 rpc++/StdHdrs/README delete mode 100644 rpc++/StdHdrs/rpc/auth.h delete mode 100644 rpc++/StdHdrs/rpc/c_types.h delete mode 100644 rpc++/StdHdrs/rpc/clnt.h delete mode 100644 rpc++/StdHdrs/rpc/pmap_clnt.h delete mode 100644 rpc++/StdHdrs/rpc/svc.h delete mode 100644 rpc++/StdHdrs/rpc/xdr.h delete mode 100644 rpc++/callback.cc delete mode 100644 rpc++/example/Makefile delete mode 100644 rpc++/example/calcsvc.cc delete mode 100644 rpc++/example/calcsvc.h delete mode 100644 rpc++/example/client.cc delete mode 100644 rpc++/example/server.cc delete mode 100644 rpc++/gcc-2.2.fix delete mode 100644 rpc++/request.cc delete mode 100644 rpc++/rpc++.cp delete mode 100644 rpc++/rpc++.fn delete mode 100644 rpc++/rpc++.ky delete mode 100644 rpc++/rpc++.pg delete mode 100644 rpc++/rpc++.texi delete mode 100644 rpc++/rpc++.toc delete mode 100644 rpc++/rpc++.tp delete mode 100644 rpc++/rpc++.vr delete mode 100644 rpc++/rpc++/callback.h delete mode 100644 rpc++/rpc++/request.h delete mode 100644 rpc++/rpc++/service.h delete mode 100644 rpc++/rpc++/stub.h delete mode 100644 rpc++/rpc++/xdr++.h delete mode 100644 rpc++/service.cc delete mode 100644 rpc++/stub.cc delete mode 100644 rpc++/version.h delete mode 100644 rpc++/xdr++.cc delete mode 100644 tests/CPP_Test.cpp delete mode 100644 tests/Shared_Memory_SV_Test.cpp delete mode 100755 tests/run_tests.ksh diff --git a/ACE-configuration.txt b/ACE-configuration.txt deleted file mode 100644 index 2ed4d444959..00000000000 --- a/ACE-configuration.txt +++ /dev/null @@ -1,148 +0,0 @@ ----------------------------------------------------------------- -Configuring ACE Using the `configure' Script ----------------------------------------------------------------- - -To help speed development, the work being done by the ACE Configuration Project -is being slowly introduced into the official ACE distribution. Some of the -functionality in the work created by the ACE Configuration Project has been -removed so that ACE may be built in the usual fashion. Once the ACE -Configuration Project work stabilizes on more platforms that removed -functionality may be added to ACE. - -Currently the configure script contains most of the tests that are necessary to -properly configure ACE on most platforms. However, there are still some -autoconf tests that are missing. As such, you may encounter and most likely -will have compilation problems. Please report any problems to the contacts -listed at the end of this document. - -The `configure' script that is currently being used has been modified from the -ACE Configuration Project's `configure' script to prevent makefiles from -being automatically generated since there are still some issues that must be -addressed before automatically generated makefiles are incorporated into the -official ACE distribution. - -A listing of available configure script options can be shown by entering - - ./configure --help - -at the command line. The output should look something like the following: - -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print `checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [/usr/local] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM - run sed PROGRAM on installed program names -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR ---enable and --with options recognized: - --enable-static[=PKGS] build static libraries [default=no] - --enable-shared[=PKGS] build shared libraries [default=yes] - --with-gnu-ld assume the C compiler uses GNU ld [default=no] - --disable-libtool-lock force libtool not to do file locking - --enable-debug enable debugging [default=yes] - --enable-exceptions enable C++ exception handling [default=yes] - --enable-fast enable -fast flag, e.g. Sun C++ [default=no] - --enable-inline enable code inlining [default=yes] - --enable-log-msg-prop enable threads inheriting - ACE_Log_Msg properties from parent - thread [default=yes] - --enable-logging enable ACE logging macros [default=yes] - --enable-malloc-stats enable malloc statistics - collection [default=no] - --enable-optimize enable additional optimizations [default=yes] - --enable-probe enable ACE_Timeprobes [default=no] - --enable-profile enable profiling [default=no] - --enable-purify Purify all executables [default=no] - --enable-quantify Quantify all executables [default=no] - --enable-reentrant enable reentrant functions [default=yes] - --enable-repo use GNU template repository - GNU C++ with repo patches and - EGCS only [default=no] - --enable-rtti enable run-time type - identification - *Currently only for Sun C++ [default=no] - --enable-static-obj-mgr enable static Object_Manager [default=yes] - --enable-threads enable thread support [default=yes] - --enable-verb-not-sup enable verbose ENOTSUP reports [default=no] - --enable-trace enable ACE tracing [default=no] - --enable-xt-reactor build support for the XtReactor [default=no] - --with-x use the X Window System - --with-gperf compile the gperf program [default=yes] - --with-orbix[=DIR] compile ACE with Orbix [default=no] - --with-tli-device[=DEV] device for TCP on TLI [default=/dev/tcp] - -To enable debugging and disable code inlining, for example, just enter the -following on the command line: - - ./configure --enable-debug --disable-inline - -This will generate a configuration header file `ace/config.h' to be used when -compiling ACE that will enable ACE debugging macros and disable code inlining -during compilation of ACE. - -Once the `ace/config.h' header has been created you will have to select a -platform macros file. Please read the ACE installation documents for more -information about this. - ----------------------------------------------------------------- -Caveats ----------------------------------------------------------------- -Much of the power of the `configure' script will not be useful until the -automatically generated makefiles are enabled in ACE. Configuration options -such as "--prefix" will not be useful for this reason. - -The `configure' script will check for libraries that contain certain functions. -If it finds a library that isn't listed in your platform_macros.GNU file you -will have to add that library to the list of libraries to link against. - ----------------------------------------------------------------- -Contacts ----------------------------------------------------------------- -If you do have problems please e-mail the ACE Configuration Project maintainer -at: - - Ossama Othman - -or send mail to the ACE mailing list. - -For more information take at a look at the ACE Configuration Project web page -at: - - http://www.cs.wustl.edu/~othman/aceconf - diff --git a/ACE.DSW b/ACE.DSW deleted file mode 100644 index bfdfb40ff40..00000000000 --- a/ACE.DSW +++ /dev/null @@ -1,1217 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Atomic_Op_Test"=.\tests\Atomic_Op_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Barrier_Test"=.\tests\Barrier_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Buffer_Stream_Test"=.\tests\Buffer_Stream_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "CPP_inclient"=.\examples\IPC_SAP\SOCK_SAP\CPP_inclient.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "CPP_inserver"=.\examples\IPC_SAP\SOCK_SAP\CPP_inserver.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "C_inclient"=.\examples\IPC_SAP\SOCK_SAP\SOCK_SAP.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "C_inserver"=.\examples\IPC_SAP\SOCK_SAP\C_inserver.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Conn_Test"=.\tests\Conn_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Enum_Interfaces_Test"=.\tests\Enum_Interfaces_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Event_Server"=.\examples\ASX\Event_Server\Event_Server\Event_Server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Exceptions"=.\examples\Reactor\ReactorEx\Exceptions.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Future_Test"=.\tests\Future_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Handle_Set_Test"=.\tests\Handle_Set_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Hash_Map_Manager_Test"=.\tests\Hash_Map_Manager_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "IOStream_Test"=.\tests\IOStream_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Log_Msg"=.\examples\Log_Msg\Log_Msg.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "MM_Shared_Memory_Test"=.\tests\MM_Shared_Memory_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Map_Manager_Test"=.\tests\Map_Manager_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Mem_Map_Test"=.\tests\Mem_Map_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Message_Block_Test"=.\tests\Message_Block_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Message_Queue_Notifications_Test"=.\tests\Message_Queue_Notifications_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Message_Queue_Test"=.\tests\Message_Queue_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Multithreading"=.\examples\Reactor\ReactorEx\Multithreading.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Mutex_Test"=.\tests\Mutex_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Naming_Test"=.\tests\Naming_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Network_Events"=.\examples\Reactor\ReactorEx\Network_Events.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Pipe_Test"=.\tests\Pipe_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Priority_Buffer_Test"=.\tests\Priority_Buffer_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Priority_Task_Test"=.\tests\Priority_Task_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Process"=.\examples\OS\Process\Process.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Process_Mutex_Test"=.\tests\Process_Mutex_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Process_Strategy_Test"=.\tests\Process_Strategy_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Reactor_Exceptions_Test"=.\tests\Reactor_Exceptions_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Reactor_Notify_Test"=.\tests\Reactor_Notify_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Reactor_Timer_Test"=.\tests\Reactor_Timer_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Reactors_Test"=.\tests\Reactors_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Reader_Writer_Test"=.\tests\Reader_Writer_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Recursive_Mutex_Test"=.\tests\Recursive_Mutex_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Registration"=.\examples\Reactor\ReactorEx\Registration.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Removals"=.\examples\Reactor\ReactorEx\Removals.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "SOCK_Test"=.\tests\SOCK_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "SPIPE_Test"=.\tests\SPIPE_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "SString_Test"=.\tests\SString_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "SV_Shared_Memory_Test"=.\tests\SV_Shared_Memory_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Semaphore_Test"=.\tests\Semaphore_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Service_Config_Test"=.\tests\Service_Config_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Sigset_Ops_Test"=.\tests\Sigset_Ops_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple_Message_Block_Test"=.\tests\Simple_Message_Block_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TSS_Test"=.\tests\TSS_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Talker"=.\examples\Reactor\ReactorEx\Talker.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Task_Test"=.\tests\Task_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Thread_Manager_Test"=.\tests\Thread_Manager_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Thread_Pool_Test"=.\tests\Thread_Pool_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Time_Service_Test"=.\tests\Time_Service_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Time_Value_Test"=.\tests\Time_Value_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Timeouts"=.\examples\Reactor\ReactorEx\Timeouts.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Timer_Queue_Test"=.\tests\Timer_Queue_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Tokens_Test"=.\tests\Tokens_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Transceiver"=.\examples\ASX\Event_Server\Transceiver\transceiver.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "UPIPE_Event_Server"=.\examples\ASX\UPIPE_Event_Server\UPIPE_Event_Server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "UPIPE_SAP_Test"=.\tests\UPIPE_SAP_Test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "acceptor"=.\examples\Connection\blocking\acceptor.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "auto_event"=.\examples\Threads\test.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "barrier1"=.\examples\Threads\barrier1.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "barrier2"=.\examples\Threads\barrier2.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "cancel"=.\examples\Threads\cancel.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "client"=.\examples\Connection\non_blocking\non_blocking.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "connector"=.\examples\Connection\blocking\SPIPE.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "future1"=.\examples\Threads\future1.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "future2"=.\examples\Threads\future2.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "iterator"=.\examples\Registry\Registry.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "manual_event"=.\examples\Threads\manual_event.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "multiple_contexts"=.\examples\Naming\multiple_contexts.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "netsvcs"=.\netsvcs\lib\netsvcs.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "non_existent"=.\examples\Naming\non_existent.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "notification"=.\examples\Reactor\Misc\notification.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ntalker"=.\examples\Reactor\Ntalker\ntalker.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "process_mutex"=.\examples\Threads\process_mutex.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "process_semaphore"=.\examples\Threads\process_semaphore.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "reader_writer"=.\examples\Threads\reader_writer.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "recursive_mutex"=.\examples\Threads\recursive_mutex.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "server"=.\examples\Connection\non_blocking\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "server_loggerd"=".\examples\Logger\Acceptor-server\server_loggerd.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "servers"=.\netsvcs\servers\servers.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "task_four"=.\examples\Threads\task_four.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "task_one"=.\examples\Threads\task_one.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "task_three"=.\examples\Threads\task_three.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "task_two"=.\examples\Threads\task_two.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "test_multiple_loops"=.\examples\Reactor\Proactor\test_multiple_loops.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "test_proactor"=.\examples\Reactor\Proactor\test_proactor.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "test_timeout"=.\examples\Reactor\Proactor\test_timeout.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "thread_manager"=.\examples\Threads\thread_manager.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "thread_pool"=.\examples\Threads\thread_pool.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "thread_specific"=.\examples\Threads\thread_specific.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "timer_queue"=.\examples\Reactor\Misc\Misc.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "token"=.\examples\Threads\token.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "tss1"=.\examples\Threads\tss1.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "tss2"=.\examples\Threads\tss2.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "update"=.\examples\Registry\update.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "writers"=.\examples\Naming\Naming.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/ACE.ifnames b/ACE.ifnames deleted file mode 100644 index c05943099da..00000000000 --- a/ACE.ifnames +++ /dev/null @@ -1,1176 +0,0 @@ -ACE_ACCEPTOR_C -ACE_ACCEPTOR_H -ACE_ACE_H -ACE_ACTIVATION_QUEUE_H -ACE_ACTIVE_MAP_MANAGER_H -ACE_ACTIVE_MAP_MANAGER_T_C -ACE_ACTIVE_MAP_MANAGER_T_H -ACE_ADDR_H -ACE_AIX_MINOR_VERS -ACE_ANY_EXCEPTION -ACE_APPLICATION_PREALLOCATED_ARRAY_DECLARATIONS -ACE_APPLICATION_PREALLOCATED_ARRAY_DEFINITIONS -ACE_APPLICATION_PREALLOCATED_ARRAY_DELETIONS -ACE_APPLICATION_PREALLOCATED_OBJECT_DECLARATIONS -ACE_APPLICATION_PREALLOCATED_OBJECT_DEFINITIONS -ACE_APPLICATION_PREALLOCATED_OBJECT_DELETIONS -ACE_ARGUMENT_VECTOR_H -ACE_ARG_SHIFTER_H -ACE_ARRAY_H -ACE_ASSERT -ACE_ASYNCH_ACCEPTOR_C -ACE_ASYNCH_ACCEPTOR_H -ACE_ASYNCH_IO_H -ACE_ASYNCH_IO_IMPL_H -ACE_AUTO_PTR_C -ACE_AUTO_PTR_H -ACE_BASIC_TYPES_H -ACE_BIG_ENDIAN -ACE_BUILD_DLL -ACE_BUILD_SVC_DLL -ACE_CAST_CONST -ACE_CC_BETA_VERSION -ACE_CC_MAJOR_VERSION -ACE_CC_MINOR_VERSION -ACE_CC_NAME -ACE_CDR_H -ACE_COMPILE_TIMEPROBES -ACE_CONFIG_CRAY_H -ACE_CONFIG_FSU_PTHREAD_H -ACE_CONFIG_H -ACE_CONFIG_IRIX6X_COMMON_H -ACE_CONFIG_IRIX6X_H -ACE_CONFIG_IRIX6X_NTHR_H -ACE_CONFIG_MINIMAL_H -ACE_CONFIG_MIT_PTHREAD_H -ACE_CONFIG_ORBIX_H -ACE_CONFIG_SCO_5_0_0_H -ACE_CONFIG_WINCE_H -ACE_CONNECTOR_C -ACE_CONNECTOR_H -ACE_CONTAINERS_H -ACE_CONTAINERS_T_C -ACE_CONTAINERS_T_H -ACE_CORBA_HANDLER_H -ACE_CORBA_HAS_EXCEPTIONS -ACE_CORBA_MACROS_H -ACE_CORBA_REF_C -ACE_CORBA_REF_H -ACE_CTIME_R_RETURNS_INT -ACE_CYGWIN32_COMMON_H -ACE_DATE_TIME_H -ACE_DEBUG -ACE_DEFAULT_ARGV_BUFSIZ -ACE_DEFAULT_BACKING_STORE -ACE_DEFAULT_BASE_ADDR -ACE_DEFAULT_BROADCAST_PORT -ACE_DEFAULT_CLOSE_ALL_HANDLES -ACE_DEFAULT_DIR_PERMS -ACE_DEFAULT_FILE_PERMS -ACE_DEFAULT_FREE_LIST_HWM -ACE_DEFAULT_FREE_LIST_INC -ACE_DEFAULT_FREE_LIST_LWM -ACE_DEFAULT_FREE_LIST_PREALLOC -ACE_DEFAULT_GLOBALNAME -ACE_DEFAULT_GLOBALNAME_A -ACE_DEFAULT_GLOBALNAME_W -ACE_DEFAULT_HTTP_PORT -ACE_DEFAULT_HTTP_SERVER_PORT -ACE_DEFAULT_LOCALNAME -ACE_DEFAULT_LOCALNAME_A -ACE_DEFAULT_LOCALNAME_W -ACE_DEFAULT_LOCAL_PORT -ACE_DEFAULT_LOCAL_PORT_STR -ACE_DEFAULT_LOGFILE -ACE_DEFAULT_LOGGER_KEY -ACE_DEFAULT_LOGGING_SERVER_PORT -ACE_DEFAULT_LOGGING_SERVER_PORT_STR -ACE_DEFAULT_MAP_SIZE -ACE_DEFAULT_MAX_SEGMENTS -ACE_DEFAULT_MAX_SOCKET_BUFSIZ -ACE_DEFAULT_MULTICAST_ADDR -ACE_DEFAULT_MULTICAST_PORT -ACE_DEFAULT_MUTEX -ACE_DEFAULT_MUTEX_A -ACE_DEFAULT_MUTEX_W -ACE_DEFAULT_NAMESPACE_DIR -ACE_DEFAULT_NAMESPACE_DIR_A -ACE_DEFAULT_NAMESPACE_DIR_W -ACE_DEFAULT_NAME_SERVER_PORT -ACE_DEFAULT_NAME_SERVER_PORT_STR -ACE_DEFAULT_RENDEZVOUS -ACE_DEFAULT_SEGMENT_SIZE -ACE_DEFAULT_SELECT_REACTOR_SIZE -ACE_DEFAULT_SEM_KEY -ACE_DEFAULT_SERVER_HOST -ACE_DEFAULT_SERVER_PORT -ACE_DEFAULT_SERVER_PORT_STR -ACE_DEFAULT_SERVICE_PORT -ACE_DEFAULT_SHM_KEY -ACE_DEFAULT_SVC_CONF -ACE_DEFAULT_SYNCH_TYPE -ACE_DEFAULT_TEMP_FILE -ACE_DEFAULT_THREADS -ACE_DEFAULT_THREAD_KEYS -ACE_DEFAULT_THREAD_MANAGER_HWM -ACE_DEFAULT_THREAD_MANAGER_INC -ACE_DEFAULT_THREAD_MANAGER_LOCK -ACE_DEFAULT_THREAD_MANAGER_LWM -ACE_DEFAULT_THREAD_MANAGER_PREALLOC -ACE_DEFAULT_THREAD_PRIORITY -ACE_DEFAULT_THR_LOGGING_SERVER_PORT -ACE_DEFAULT_THR_LOGGING_SERVER_PORT_STR -ACE_DEFAULT_THR_PORT -ACE_DEFAULT_TIMEOUT -ACE_DEFAULT_TIMERS -ACE_DEFAULT_TIMER_HASH_TABLE_SIZE -ACE_DEFAULT_TIMER_WHEEL_RESOLUTION -ACE_DEFAULT_TIMER_WHEEL_SIZE -ACE_DEFAULT_TIME_SERVER_PORT -ACE_DEFAULT_TIME_SERVER_PORT_STR -ACE_DEFAULT_TIME_SERVER_STR -ACE_DEFAULT_TOKEN_SERVER_PORT -ACE_DEFAULT_TOKEN_SERVER_PORT_STR -ACE_DEFINES_DEFAULT_WIN32_SECURITY_ATTRIBUTES -ACE_DEV_ADDR_H -ACE_DEV_CONNECTOR_H -ACE_DEV_H -ACE_DEV_IO_H -ACE_DIFFTIME -ACE_DIRECTORY_SEPARATOR_CHAR -ACE_DIRECTORY_SEPARATOR_STR -ACE_DIRENT_H -ACE_DISABLE_DEBUG_DLL_CHECK -ACE_DISABLE_SWAP_ON_READ -ACE_DLL_H -ACE_DLL_PREFIX -ACE_DLL_SUFFIX -ACE_DOESNT_INSTANTIATE_NONSTATIC_OBJECT_MANAGER -ACE_DUMP_H -ACE_DUMP_T_C -ACE_DUMP_T_H -ACE_DYNAMIC_H -ACE_DYNAMIC_SERVICE_C -ACE_DYNAMIC_SERVICE_H -ACE_ENABLE_SWAP_ON_WRITE -ACE_ENABLE_TIMEPROBES -ACE_ENV_VALUE_T_C -ACE_ENV_VALUE_T_H -ACE_ERROR -ACE_EVENT_HANDLER_H -ACE_EVENT_HANDLER_T_H -ACE_FIFO_H -ACE_FIFO_RECV_H -ACE_FIFO_RECV_MSG_H -ACE_FIFO_SEND_H -ACE_FIFO_SEND_MSG_H -ACE_FILECACHE_H -ACE_FILE_ADDR_H -ACE_FILE_CONNECTOR_H -ACE_FILE_H -ACE_FILE_IO_H -ACE_FINI_HOOK -ACE_FREE_LIST_C -ACE_FREE_LIST_H -ACE_FUNCTOR_C -ACE_FUNCTOR_H -ACE_FUNCTOR_T_C -ACE_FUNCTOR_T_H -ACE_FUTURE_CPP -ACE_FUTURE_H -ACE_GET_OPT_H -ACE_GNUG_COMMON_H -ACE_HANDLE_SET_H -ACE_HASH_MAP_MANAGER_H -ACE_HASH_MAP_MANAGER_T_CPP -ACE_HASH_MAP_MANAGER_T_H -ACE_HASH_PURGABLE_MAP_MANAGER_T_CPP -ACE_HASH_PURGABLE_MAP_MANAGER_T_H -ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R -ACE_HAS_4_4BSD_SENDMSG_RECVMSG -ACE_HAS_AIO_CALLS -ACE_HAS_AIX_BROKEN_SOCKET_HEADER -ACE_HAS_AIX_HI_RES_TIMER -ACE_HAS_ALLOCA -ACE_HAS_ALLOCA_H -ACE_HAS_ALLOC_HOOKS -ACE_HAS_ALPHA_TIMER -ACE_HAS_ANSI_CASTS -ACE_HAS_AUTOMATIC_INIT_FINI -ACE_HAS_BIG_FD_SET -ACE_HAS_BROKEN_BITSHIFT -ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS -ACE_HAS_BROKEN_CONVERSIONS -ACE_HAS_BROKEN_CTIME -ACE_HAS_BROKEN_HPUX_TEMPLATES -ACE_HAS_BROKEN_IF_HEADER -ACE_HAS_BROKEN_MMAP_H -ACE_HAS_BROKEN_MSG_H -ACE_HAS_BROKEN_NAMESPACES -ACE_HAS_BROKEN_NESTED_TEMPLATES -ACE_HAS_BROKEN_NETBSD_MSYNC -ACE_HAS_BROKEN_NON_BLOCKING_CONNECTS -ACE_HAS_BROKEN_NOOP_DTORS -ACE_HAS_BROKEN_POSIX_TIME -ACE_HAS_BROKEN_RANDR -ACE_HAS_BROKEN_READV -ACE_HAS_BROKEN_R_ROUTINES -ACE_HAS_BROKEN_SAP_ANY -ACE_HAS_BROKEN_SENDMSG -ACE_HAS_BROKEN_SETRLIMIT -ACE_HAS_BROKEN_TIMESPEC_MEMBERS -ACE_HAS_BROKEN_T_ERRNO -ACE_HAS_BROKEN_WRITEV -ACE_HAS_BROKEN_XTI_MACROS -ACE_HAS_BSTRING -ACE_HAS_BYTESEX_H -ACE_HAS_CHARPTR_DL -ACE_HAS_CHARPTR_SOCKOPT -ACE_HAS_CHARPTR_SPRINTF -ACE_HAS_CLOCK_GETTIME -ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES -ACE_HAS_CPLUSPLUS_HEADERS -ACE_HAS_CYGWIN32_SOCKET_H -ACE_HAS_DEFERRED_TIMER_COMMANDS -ACE_HAS_DIRENT -ACE_HAS_DLFCN_H_BROKEN_EXTERN_C -ACE_HAS_DLL -ACE_HAS_EXCEPTIONS -ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION -ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_FILE -ACE_HAS_FSU_PTHREADS -ACE_HAS_GETPAGESIZE -ACE_HAS_GETRUSAGE -ACE_HAS_GETRUSAGE_PROTO -ACE_HAS_GNUC_BROKEN_TEMPLATE_INLINE_FUNCTIONS -ACE_HAS_GNU_CSTRING_H -ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT -ACE_HAS_HI_RES_TIMER -ACE_HAS_H_ERRNO -ACE_HAS_IDTYPE_T -ACE_HAS_INLINED_OSCALLS -ACE_HAS_INTERLOCKED_EXCHANGEADD -ACE_HAS_IP_MULTICAST -ACE_HAS_IRIX62_THREADS -ACE_HAS_IRIX_53_SIGNALS -ACE_HAS_LIMITED_RUSAGE_T -ACE_HAS_LONG_MAP_FAILED -ACE_HAS_LYNXOS_SIGNALS -ACE_HAS_MALLOC_STATS -ACE_HAS_MFC -ACE_HAS_MINIMAL_ACE_OS -ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION -ACE_HAS_MOSTLY_UNICODE_APIS -ACE_HAS_MSG -ACE_HAS_MT_ORBIX -ACE_HAS_MT_SAFE_MKTIME -ACE_HAS_NONCONST_GETBY -ACE_HAS_NONCONST_MSGSND -ACE_HAS_NONCONST_READLINK -ACE_HAS_NONCONST_SELECT_TIMEVAL -ACE_HAS_NONSCALAR_THREAD_KEY_T -ACE_HAS_NONSTATIC_OBJECT_MANAGER -ACE_HAS_OLD_MALLOC -ACE_HAS_ONE_DEFINITION_RULE -ACE_HAS_ONLY_SCHED_OTHER -ACE_HAS_OPTIMIZED_MESSAGE_QUEUE -ACE_HAS_ORBIX -ACE_HAS_OSF1_GETTIMEOFDAY -ACE_HAS_OSF_TIMOD_H -ACE_HAS_PENTIUM -ACE_HAS_POLL -ACE_HAS_POSIX_NONBLOCK -ACE_HAS_POSIX_SEM -ACE_HAS_POSIX_TIME -ACE_HAS_POWERPC_TIMER -ACE_HAS_PRIOCNTL -ACE_HAS_PROC_FS -ACE_HAS_PRUSAGE_T -ACE_HAS_PTHREADS -ACE_HAS_PTHREADS_DRAFT4 -ACE_HAS_PTHREADS_DRAFT6 -ACE_HAS_PTHREADS_DRAFT7 -ACE_HAS_PTHREADS_STD -ACE_HAS_PTHREAD_CONDATTR_SETKIND_NP -ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP -ACE_HAS_PTHREAD_PROCESS_ENUM -ACE_HAS_PTHREAD_SIGMASK -ACE_HAS_PURIFY -ACE_HAS_P_READ_WRITE -ACE_HAS_READV_TIMEDWAIT -ACE_HAS_READ_TIMEDWAIT -ACE_HAS_RECURSIVE_MUTEXES -ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS -ACE_HAS_RECVFROM_TIMEDWAIT -ACE_HAS_RECVMSG_TIMEDWAIT -ACE_HAS_RECV_TIMEDWAIT -ACE_HAS_REENTRANT_FUNCTIONS -ACE_HAS_REGEX -ACE_HAS_RLIMIT_RESOURCE_ENUM -ACE_HAS_RUSAGE_WHO_ENUM -ACE_HAS_SELECT_H -ACE_HAS_SEMUN -ACE_HAS_SENDMSG_TIMEDWAIT -ACE_HAS_SENDTO_TIMEDWAIT -ACE_HAS_SEND_TIMEDWAIT -ACE_HAS_SET_T_ERRNO -ACE_HAS_SGIDLADD -ACE_HAS_SHM_OPEN -ACE_HAS_SIGINFO_T -ACE_HAS_SIGISMEMBER_BUG -ACE_HAS_SIGNAL_OBJECT_AND_WAIT -ACE_HAS_SIGNAL_SAFE_OS_CALLS -ACE_HAS_SIGTHREADMASK -ACE_HAS_SIGWAIT -ACE_HAS_SIG_ATOMIC_T -ACE_HAS_SIG_C_FUNC -ACE_HAS_SIG_MACROS -ACE_HAS_SIN_LEN -ACE_HAS_SIZET_SOCKET_LEN -ACE_HAS_SOCKADDR_MSG_NAME -ACE_HAS_SOCKIO_H -ACE_HAS_SOCKLEN_T -ACE_HAS_SPARCWORKS_401_SIGNALS -ACE_HAS_SSIZE_T -ACE_HAS_STANDARD_CPP_LIBRARY -ACE_HAS_STATIC_PREALLOCATION -ACE_HAS_STDARG_THR_DEST -ACE_HAS_STDCPP_STL_INCLUDES -ACE_HAS_STHREADS -ACE_HAS_STL_MAP_CONFLICT -ACE_HAS_STL_QUEUE_CONFLICT -ACE_HAS_STRBUF_T -ACE_HAS_STRDUP_EMULATION -ACE_HAS_STREAMS -ACE_HAS_STREAM_PIPES -ACE_HAS_STRERROR -ACE_HAS_STRICT -ACE_HAS_STRINGS -ACE_HAS_STRING_CLASS -ACE_HAS_STRUCT_NETDB_DATA -ACE_HAS_SUNOS4_GETTIMEOFDAY -ACE_HAS_SUNOS4_SIGNAL_T -ACE_HAS_SVC_DLL -ACE_HAS_SVR4_DYNAMIC_LINKING -ACE_HAS_SVR4_GETTIMEOFDAY -ACE_HAS_SVR4_SIGNAL_T -ACE_HAS_SVR4_TLI -ACE_HAS_SYSCALL_GETRUSAGE -ACE_HAS_SYSCALL_H -ACE_HAS_SYSENT_H -ACE_HAS_SYSINFO -ACE_HAS_SYSV_IPC -ACE_HAS_SYS_ERRLIST -ACE_HAS_SYS_FILIO_H -ACE_HAS_SYS_SIGLIST -ACE_HAS_SYS_XTI_H -ACE_HAS_TANDEM_SIGNALS -ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA -ACE_HAS_TEMPLATE_SPECIALIZATION -ACE_HAS_TEMPLATE_TYPEDEFS -ACE_HAS_TERM_IOCTLS -ACE_HAS_TEXT_MACRO_CONFLICT -ACE_HAS_THREADS -ACE_HAS_THREAD_SELF -ACE_HAS_THREAD_SPECIFIC_STORAGE -ACE_HAS_THR_C_DEST -ACE_HAS_THR_C_FUNC -ACE_HAS_THR_KEYDELETE -ACE_HAS_THR_MINSTACK -ACE_HAS_THR_YIELD -ACE_HAS_TIMEZONE_GETTIMEOFDAY -ACE_HAS_TIMOD_H -ACE_HAS_TIUSER_H -ACE_HAS_TIUSER_H_BROKEN_EXTERN_C -ACE_HAS_TLI -ACE_HAS_TLI_PROTOTYPES -ACE_HAS_TSS_EMULATION -ACE_HAS_TYPENAME_KEYWORD -ACE_HAS_UALARM -ACE_HAS_UCONTEXT_T -ACE_HAS_UNICODE -ACE_HAS_UNION_WAIT -ACE_HAS_UNIXWARE_SVR4_SIGNAL_T -ACE_HAS_USING_KEYWORD -ACE_HAS_UTIME -ACE_HAS_VERBOSE_NOTSUP -ACE_HAS_VOIDPTR_MMAP -ACE_HAS_VOIDPTR_SOCKOPT -ACE_HAS_WCHAR_TYPEDEFS_CHAR -ACE_HAS_WCHAR_TYPEDEFS_USHORT -ACE_HAS_WIN32 -ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS -ACE_HAS_WIN32_TRYLOCK -ACE_HAS_WINCE -ACE_HAS_WINNT4 -ACE_HAS_WINSOCK2 -ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR -ACE_HAS_WRITEV_TIMEDWAIT -ACE_HAS_WRITE_TIMEDWAIT -ACE_HAS_WTHREADS -ACE_HAS_X86_STAT_MACROS -ACE_HAS_XLI -ACE_HAS_XPG4_MULTIBYTE_CHAR -ACE_HAS_XT -ACE_HAS_XTI -ACE_HIGH_RES_TIMER_H -ACE_HOSTENT_DATA_SIZE -ACE_INC_USER_CONFIG_H -ACE_INET_ADDR_H -ACE_INFINITE -ACE_INLINE -ACE_IOSFWD_H -ACE_IOSTREAM_C -ACE_IOSTREAM_H -ACE_IOSTREAM_T_C -ACE_IOSTREAM_T_H -ACE_IO_CNTL_MSG_H -ACE_IO_SAP_H -ACE_IPC_SAP_H -ACE_KCC_COMMON_H -ACE_LACKS_ACCESS -ACE_LACKS_ACE_IOSTREAM -ACE_LACKS_ACE_OTHER -ACE_LACKS_ASSERT_MACRO -ACE_LACKS_AUTO_MMAP_REPLACEMENT -ACE_LACKS_BSEARCH -ACE_LACKS_CMSG_DATA_MACRO -ACE_LACKS_CMSG_DATA_MEMBER -ACE_LACKS_CONDATTR_PSHARED -ACE_LACKS_COND_T -ACE_LACKS_COND_TIMEDWAIT_RESET -ACE_LACKS_CONST_STRBUF_PTR -ACE_LACKS_CONST_TIMESPEC_PTR -ACE_LACKS_DIFFTIME -ACE_LACKS_EXEC -ACE_LACKS_FCNTL -ACE_LACKS_FILELOCKS -ACE_LACKS_FLOATING_POINT -ACE_LACKS_FORK -ACE_LACKS_FSYNC -ACE_LACKS_GETOPT_PROTO -ACE_LACKS_GETPGID -ACE_LACKS_GETSERVBYNAME -ACE_LACKS_INLINE_FUNCTIONS -ACE_LACKS_IOSTREAM_FX -ACE_LACKS_IOSTREAM_TOTALLY -ACE_LACKS_IP_ADD_MEMBERSHIP -ACE_LACKS_ISATTY -ACE_LACKS_KEY_T -ACE_LACKS_LINEBUFFERED_STREAMBUF -ACE_LACKS_LONGLONG_T -ACE_LACKS_LSTAT -ACE_LACKS_MADVISE -ACE_LACKS_MALLOC_H -ACE_LACKS_MEMORY_H -ACE_LACKS_MKFIFO -ACE_LACKS_MKTEMP -ACE_LACKS_MMAP -ACE_LACKS_MODE_MASKS -ACE_LACKS_MPROTECT -ACE_LACKS_MSGBUF_T -ACE_LACKS_MSG_ACCRIGHTS -ACE_LACKS_MSYNC -ACE_LACKS_MUTEXATTR_PSHARED -ACE_LACKS_NAMED_POSIX_SEM -ACE_LACKS_NETDB_REENTRANT_FUNCTIONS -ACE_LACKS_PARAM_H -ACE_LACKS_POSIX_PROTOTYPES -ACE_LACKS_PRAGMA_ONCE -ACE_LACKS_PRI_T -ACE_LACKS_PTHREAD_CANCEL -ACE_LACKS_PTHREAD_CLEANUP -ACE_LACKS_PTHREAD_KILL -ACE_LACKS_PTHREAD_THR_SIGSETMASK -ACE_LACKS_PTHREAD_YIELD -ACE_LACKS_PWD_FUNCTIONS -ACE_LACKS_PWD_REENTRANT_FUNCTIONS -ACE_LACKS_QSORT -ACE_LACKS_READDIR_R -ACE_LACKS_READLINK -ACE_LACKS_READV -ACE_LACKS_RECVMSG -ACE_LACKS_RENAME -ACE_LACKS_REWINDDIR -ACE_LACKS_RLIMIT -ACE_LACKS_RLIMIT_PROTOTYPE -ACE_LACKS_RTTI -ACE_LACKS_RWLOCK_T -ACE_LACKS_SBRK -ACE_LACKS_SCHED_H -ACE_LACKS_SEEKDIR -ACE_LACKS_SEMBUF_T -ACE_LACKS_SENDMSG -ACE_LACKS_SETDETACH -ACE_LACKS_SETSCHED -ACE_LACKS_SIGACTION -ACE_LACKS_SIGINFO_H -ACE_LACKS_SIGNED_CHAR -ACE_LACKS_SIGSET -ACE_LACKS_SIGSET_DEFINITIONS -ACE_LACKS_SI_ADDR -ACE_LACKS_SOCKETPAIR -ACE_LACKS_SOME_POSIX_PROTOTYPES -ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES -ACE_LACKS_STRCASECMP -ACE_LACKS_STRRCHR -ACE_LACKS_STRRECVFD -ACE_LACKS_SYSCALL -ACE_LACKS_SYSTIME_H -ACE_LACKS_SYSV_MSG_H -ACE_LACKS_SYSV_MSQ_PROTOS -ACE_LACKS_SYSV_SHMEM -ACE_LACKS_SYS_NERR -ACE_LACKS_SYS_TYPES_H -ACE_LACKS_TCP_H -ACE_LACKS_TELLDIR -ACE_LACKS_TEMPNAM -ACE_LACKS_THREAD_PROCESS_SCOPING -ACE_LACKS_THREAD_STACK_ADDR -ACE_LACKS_THREAD_STACK_SIZE -ACE_LACKS_TIMEDWAIT_PROTOTYPES -ACE_LACKS_TIMESPEC_T -ACE_LACKS_TRUNCATE -ACE_LACKS_T_ERRNO -ACE_LACKS_UALARM_PROTOTYPE -ACE_LACKS_UCONTEXT_H -ACE_LACKS_UNBUFFERED_STREAMBUF -ACE_LACKS_UNISTD_H -ACE_LACKS_UNIX_DOMAIN_SOCKETS -ACE_LACKS_UNIX_SIGNALS -ACE_LACKS_UNLINK -ACE_LACKS_UTSNAME_T -ACE_LACKS_U_LONGLONG_T -ACE_LACKS_WCHAR_T -ACE_LACKS_WILDCARD_BIND -ACE_LACKS_WRITEV -ACE_LD_SEARCH_PATH -ACE_LD_SEARCH_PATH_SEPARATOR_STR -ACE_LINUX_COMMON_H -ACE_LITTLE_ENDIAN -ACE_LOCAL_MUTEX_H -ACE_LOCAL_NAME_SPACE_C -ACE_LOCAL_NAME_SPACE_H -ACE_LOCAL_NAME_SPACE_T_C -ACE_LOCAL_NAME_SPACE_T_H -ACE_LOCAL_SOCK_ACCEPTOR_H -ACE_LOCAL_SOCK_CODGRAM_H -ACE_LOCAL_SOCK_CONNECTOR_H -ACE_LOCAL_SOCK_DGRAM_H -ACE_LOCAL_SOCK_H -ACE_LOCAL_SOCK_STREAM_H -ACE_LOCK_SOCK_ACCEPTOR_CPP -ACE_LOCK_SOCK_ACCEPTOR_H -ACE_LOG_MSG_H -ACE_LOG_PRIORITY_H -ACE_LOG_RECORD_H -ACE_MAIN -ACE_MAIN_OBJECT_MANAGER -ACE_MALLOC_ALIGN -ACE_MALLOC_BASE_H -ACE_MALLOC_C -ACE_MALLOC_H -ACE_MALLOC_T_C -ACE_MALLOC_T_H -ACE_MANAGED_OBJECT_CPP -ACE_MANAGED_OBJECT_H -ACE_MAP_FIXED -ACE_MAP_H -ACE_MAP_MANAGER_C -ACE_MAP_MANAGER_H -ACE_MAP_PRIVATE -ACE_MAP_SHARED -ACE_MAP_T_C -ACE_MAP_T_H -ACE_MAXLOGMSGLEN -ACE_MAX_DEFAULT_PORT -ACE_MAX_DGRAM_SIZE -ACE_MAX_FULLY_QUALIFIED_NAME_LEN -ACE_MAX_MANAGED_OBJECTS -ACE_MEMORY_POOL_H -ACE_MEM_MAP_H -ACE_MESSAGE_BLOCK_H -ACE_MESSAGE_BLOCK_T_C -ACE_MESSAGE_BLOCK_T_H -ACE_MESSAGE_QUEUE_C -ACE_MESSAGE_QUEUE_H -ACE_MESSAGE_QUEUE_T_C -ACE_MESSAGE_QUEUE_T_H -ACE_METHOD_OBJECT_H -ACE_METHOD_REQUEST_H -ACE_MODULE_C -ACE_MODULE_H -ACE_MSG_WFMO_REACTOR_H -ACE_MT_SAFE -ACE_MT_TIMEPROBES -ACE_MULTIPLEXOR_H -ACE_NAME_PROXY_H -ACE_NAME_REQUEST_REPLY_H -ACE_NAME_SERVER_MAP -ACE_NAME_SPACE_H -ACE_NAMING_CONTEXT_H -ACE_NDEBUG -ACE_NEEDS_DEV_IO_CONVERSION -ACE_NEEDS_FTRUNCATE -ACE_NEEDS_FUNC_DEFINITIONS -ACE_NEEDS_HUGE_THREAD_STACKSIZE -ACE_NEEDS_LWP_PRIO_SET -ACE_NEW_THROWS_EXCEPTIONS -ACE_NLOGGING -ACE_NON_BLOCKING_BUG_DELAY -ACE_NO_INLINE -ACE_NO_THREAD_ADAPTER -ACE_NO_TSS_TOKENS -ACE_NSIG -ACE_NTRACE -ACE_NT_SERVICE_H -ACE_NT_SERVICE_START_TIMEOUT -ACE_OBJECT_MANAGER_H -ACE_OBSTACK_H -ACE_ORBIX_HAS_NAMESPACES -ACE_OS_EXTRA_MMAP_FLAGS -ACE_OS_H -ACE_PAIR_H -ACE_PAIR_T_C -ACE_PAIR_T_H -ACE_PARSE_NODE_H -ACE_PIPE_H -ACE_PLATFORM -ACE_PLATFORM_EXE_SUFFIX -ACE_POLL_IS_BROKEN -ACE_POSIX_AIOCB_PROACTOR -ACE_POSIX_ASYNCH_IO_H -ACE_POSIX_PROACTOR_H -ACE_POSIX_SIG_PROACTOR -ACE_PRINT_EXCEPTION -ACE_PRIORITY_REACTOR_H -ACE_PROACTOR_H -ACE_PROACTOR_IMPL_H -ACE_PROCESS_H -ACE_PROCESS_MANAGER_H -ACE_PROC_PRI_FIFO_DEF -ACE_PROC_PRI_OTHER_DEF -ACE_PROC_PRI_RR_DEF -ACE_PROFILE_TIMER_H -ACE_PROTOENT_DATA_SIZE -ACE_PSOS -ACE_PSOSIM -ACE_PSOS_CANT_USE_SYS_TYPES -ACE_PSOS_DIAB_MIPS -ACE_PSOS_HAS_C_LIBRARY -ACE_PSOS_HAS_TIME -ACE_PSOS_LACKS_ARGC_ARGV -ACE_PSOS_LACKS_PHILE -ACE_PSOS_LACKS_PREPC -ACE_PSOS_PROVIDES_ERROR_SYMBOLS_TM -ACE_PSOS_SNARFS_HEADER_INFO -ACE_PSOS_TBD -ACE_PSOS_TM -ACE_PSOS_USES_DIAB_SYS_CALLS -ACE_RB_TREE_C -ACE_RB_TREE_H -ACE_RCSID -ACE_REACTOR_H -ACE_REACTOR_IMPL_H -ACE_READ_BUFFER_H -ACE_REDEFINES_XTI_FUNCTIONS -ACE_REGISTRY_H -ACE_REGISTRY_NAME_SPACE_H -ACE_REMOTE_MUTEX_H -ACE_REMOTE_NAME_SPACE_H -ACE_SCHED_PARAMS_H -ACE_SEH_DEFAULT_EXCEPTION_HANDLING_ACTION -ACE_SELECT_REACTOR_BASE_H -ACE_SELECT_REACTOR_H -ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION -ACE_SELECT_REACTOR_T_C -ACE_SELECT_REACTOR_T_H -ACE_SELECT_USES_INT -ACE_SERVENT_DATA_SIZE -ACE_SERVICE_CONFIG_H -ACE_SERVICE_MANAGER_H -ACE_SERVICE_OBJECT_H -ACE_SERVICE_REPOSITORY_H -ACE_SERVICE_TYPE_H -ACE_SHARED_MALLOC_MM_H -ACE_SHARED_MALLOC_SV_H -ACE_SHARED_MEMORY_H -ACE_SHARED_OBJECT_H -ACE_SIGINFO_IS_SIGINFO_T -ACE_SIGNAL_HANDLER_H -ACE_SINGLETON_C -ACE_SINGLETON_H -ACE_SIZEOF_DOUBLE -ACE_SIZEOF_FLOAT -ACE_SIZEOF_INT -ACE_SIZEOF_LONG -ACE_SIZEOF_LONG_DOUBLE -ACE_SIZEOF_LONG_LONG -ACE_SIZEOF_SHORT -ACE_SIZEOF_VOID_P -ACE_SOCK_ACCEPTOR_H -ACE_SOCK_CODGRAM_H -ACE_SOCK_CONNECTOR_H -ACE_SOCK_DGRAM_BCAST_H -ACE_SOCK_DGRAM_H -ACE_SOCK_DGRAM_MCAST_H -ACE_SOCK_H -ACE_SOCK_IO_H -ACE_SOCK_STREAM_H -ACE_SPIPE_ACCEPTOR_H -ACE_SPIPE_ADDR_H -ACE_SPIPE_CONNECTOR_H -ACE_SPIPE_H -ACE_SPIPE_STREAM_H -ACE_SSTRING_H -ACE_STATS_H -ACE_STRATEGIES_C -ACE_STRATEGIES_H -ACE_STRATEGIES_T_C -ACE_STRATEGIES_T_H -ACE_STREAMS_H -ACE_STREAM_C -ACE_STREAM_H -ACE_STREAM_MODULES -ACE_STREAM_MODULES_C -ACE_SVC_CONF_ECHO -ACE_SVC_CONF_H -ACE_SVC_HANDLER_C -ACE_SVC_HANDLER_H -ACE_SV_MESSAGE_H -ACE_SV_MESSAGE_QUEUE_H -ACE_SV_SEMAPHORE_COMPLEX_H -ACE_SV_SEMAPHORE_SIMPLE_H -ACE_SV_SHARED_MEMORY_H -ACE_SYNCH_C -ACE_SYNCH_H -ACE_SYNCH_OPTIONS_H -ACE_SYNCH_T_C -ACE_SYNCH_T_H -ACE_SYSTEM_TIME_H -ACE_TASK_H -ACE_TASK_T_C -ACE_TASK_T_H -ACE_TEMPLATES_REQUIRE_PRAGMA -ACE_TEMPLATES_REQUIRE_SOURCE -ACE_TEXT -ACE_THREADS_DONT_INHERIT_LOG_MSG -ACE_THREAD_H -ACE_THREAD_MANAGER_H -ACE_THREAD_MAX_PRIORITY -ACE_THREAD_MIN_PRIORITY -ACE_THR_PRI_FIFO_DEF -ACE_THR_PRI_OTHER_DEF -ACE_THR_PRI_RR_DEF -ACE_TIMEPROBE_H -ACE_TIMEPROBE_T_C -ACE_TIMEPROBE_T_H -ACE_TIMER_HASH_C -ACE_TIMER_HASH_H -ACE_TIMER_HASH_T_C -ACE_TIMER_HASH_T_H -ACE_TIMER_HEAP_C -ACE_TIMER_HEAP_H -ACE_TIMER_HEAP_T_C -ACE_TIMER_HEAP_T_H -ACE_TIMER_LIST_C -ACE_TIMER_LIST_H -ACE_TIMER_LIST_T_C -ACE_TIMER_LIST_T_H -ACE_TIMER_QUEUE_ADAPTERS_C -ACE_TIMER_QUEUE_ADAPTERS_H -ACE_TIMER_QUEUE_C -ACE_TIMER_QUEUE_H -ACE_TIMER_QUEUE_T_C -ACE_TIMER_QUEUE_T_H -ACE_TIMER_SKEW -ACE_TIMER_WHEEL_C -ACE_TIMER_WHEEL_H -ACE_TIMER_WHEEL_T_C -ACE_TIMER_WHEEL_T_H -ACE_TIME_REQUEST_REPLY_H -ACE_TIME_VALUE_H -ACE_TLI_ACCEPTOR_H -ACE_TLI_CONNECTOR_H -ACE_TLI_H -ACE_TLI_STREAM_H -ACE_TLI_TCP_DEVICE -ACE_TOKEN_COLLECTION_H -ACE_TOKEN_H -ACE_TOKEN_INVARIANTS_H -ACE_TOKEN_MANAGER_H -ACE_TOKEN_REQUEST_REPLY_H -ACE_TOKEN_USES_SEMAPHORE -ACE_TP_REACTOR_H -ACE_TRACE_H -ACE_TRY_ENV -ACE_TSS_TIMEPROBES -ACE_TTY_IO_H -ACE_TYPED_MESSAGE_QUEUE_H -ACE_TYPED_SV_MESSAGE_C -ACE_TYPED_SV_MESSAGE_H -ACE_TYPED_SV_MESSAGE_QUEUE_C -ACE_UINT64_FORMAT_SPECIFIER -ACE_UINT64_TYPEDEF -ACE_UNIQUE_NAME_LEN -ACE_UNIX_ADDR_H -ACE_UPIPE_ACCEPTOR_H -ACE_UPIPE_ADDR_H -ACE_UPIPE_CONNECTOR_H -ACE_UPIPE_STREAM_H -ACE_USES_ASM_SYMBOL_IN_DLSYM -ACE_USES_OBSOLETE_GUARD_CLASSES -ACE_USES_OLD_IOSTREAMS -ACE_USES_STATIC_MFC -ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB -ACE_USES_WINCE_SEMA_SIMULATION -ACE_USE_MSG_WFMO_REACTOR_FOR_REACTOR_IMPL -ACE_USE_ONE_SHOT_AT_THREAD_EXIT -ACE_USE_POLL -ACE_USE_RCSID -ACE_USE_SHIFT_FOR_EFFICIENCY -ACE_USE_THREAD_MANAGER_ADAPTER -ACE_USE_TP_REACTOR_FOR_REACTOR_IMPL -ACE_WFMO_REACTOR_H -ACE_WIN32 -ACE_WIN32_ASYNCH_IO_H -ACE_WIN32_BORLAND_H -ACE_WIN32_COMMON_H -ACE_WIN32_PROACTOR_H -ACE_WSOCK_VERSION -ACE_WTHREADS -ACE_XTREACTOR_H -ACE_YYDEBUG -ACE_YYDEBUG_DISCARD_STATE -ACE_YYDEBUG_DISCARD_TOKEN -ACE_YYDEBUG_INDENT -ACE_YYDEBUG_INDENT_STRING -ACE_YYDEBUG_LEXER_TEXT -ACE_YYDEBUG_LOOK_AHEAD -ACE_YYDEBUG_REDUCE -ACE_YYDEBUG_REDUCE_STRING -ACE_YYDEBUG_SHIFT_ERROR_LEXEME -ACE_YYDEBUG_SHIFT_LEXEME -ACE_YYMAXDEPTH -ACE_YYSTACKSIZE -ACE_YY_BREAK -ACE_YY_DECL -ACE_YY_FATAL_ERROR -ACE_YY_INPUT -ACE_YY_MALLOC_DECL -ACE_YY_READ_BUF_SIZE -ACE_YY_START_STACK_INCR -ACE_YY_USER_ACTION -ACE_YY_USER_INIT -ACE_YY_USES_REJECT -ACE_YY_USE_CONST -ACE_YY_USE_PROTOS -AF_FILE -AIX -ALL_WARNINGS -ASYS_INLINE -BIG_ENDIAN -BUFSIZ -BYTE_ORDER -CHORUS -CLOCK_REALTIME -CREAD -CRTSCTS -CYGWIN32 -DBL_MAX_EXP -DEBUG -DEBUGGING -DEC_CXX -DIGITAL_UNIX -EBUSY -EDEADLK -EIDRM -ENOSYS -ENOTSUP -ESUCCESS -ETIME -ETIMEDOUT -EVENT_HANDLER_T_C -FASYNC -FD_SETSIZE -FILENAME_MAX -FILE_ATTRIBUTE_NORMAL -FILE_BEGIN -FILE_CURRENT -FILE_END -FILE_FLAG_OVERLAPPED -FILE_FLAG_SEQUENTIAL_SCAN -FILE_SHARE_READ -FIONREAD -FLT_MAX_EXP -F_GETFL -F_OK -F_SETFD -F_SETOWN -FreeBSD_2_1 -GENERIC_READ -GETALL -GETVAL -HPUX -HPUX_10 -HPUX_VERS -IOV_MAX -IPC_CREAT -IPC_EXCL -IPC_NOWAIT -IPC_PRIVATE -IPC_RMID -IPC_STAT -IP_ADD_MEMBERSHIP -IP_DROP_MEMBERSHIP -IRIX6 -I_PUSH -JCEJ -JINLU -LDBL_DIG -LDBL_MAX_EXP -LITTLE_ENDIAN -LPSECURITY_ATTRIBUTES -MAP_FAILED -MAXHOSTNAMELEN -MAXIMUM_WAIT_OBJECTS -MAXNAMELEN -MAXNAMLEN -MAXPATHLEN -MS_SYNC -M_UNIX -NOMINMAX -NONNATIVE_LONGDOUBLE -NSIG -OPEN_EXISTING -O_NONBLOCK -PIPE_BUF -PRIORITY_MAX -PRI_FIFO_MAX -PRI_FIFO_MIN -PRI_OTHER_MAX -PRI_OTHER_MIN -PRI_RR_MAX -PRI_RR_MIN -PROT_RDWR -PTHREAD_CANCEL_ASYNCHRONOUS -PTHREAD_CANCEL_DEFERRED -PTHREAD_CANCEL_DISABLE -PTHREAD_CANCEL_ENABLE -PTHREAD_CREATE_DETACHED -PTHREAD_CREATE_JOINABLE -PTHREAD_CREATE_UNDETACHED -PTHREAD_MAX_PRIORITY -PTHREAD_MUTEXTYPE_FAST -PTHREAD_PROCESS_PRIVATE -PTHREAD_PROCESS_SHARED -PTHREAD_STACK_MIN -RLIMIT_NOFILE -RLIMIT_OFILE -RLIM_INFINITY -RTLD_LAZY -R_OK -SA_RESTART -SA_SIGACTION -SA_SIGINFO -SCHED_IO -SCHED_OTHRE -SCHED_RR -SCO -SEEK_CUR -SEEK_END -SEEK_SET -SEM_UNDO -SETALL -SETVAL -SH3 -SIGALRM -SIGCHLD -SIGCLD -SIGHUP -SIGINT -SIGIO -SIGPIPE -SIGQUIT -SIGSEGV -SIGURG -SIGUSR1 -SIGUSR2 -SIG_BLOCK -SIG_DFL -SIG_ERR -SIG_IGN -SIG_PF -SIG_SETMASK -SIG_UNBLOCK -SIOCGIFADDR -SIOCGIFBRDADDR -SIOCGIFNUM -SO_REUSEPORT -STRICT -TCGETA -TCGETS -TCP_NODELAY -TCSETA -TCSETS -TLS_MINIMUM_AVAILABLE -TM -UINT_MAX -ULLONG_MAX -ULONGLONG_MAX -ULONG_MAX -UNDER_CE -UNICODE -UNIXWARE -UNIXWARE_2_0 -USER_INCLUDE_SYS_TIME_TM -USHRT_MAX -USYNC_PROCESS -USYNC_THREAD -VMETRO_TIME_TEST -VSB -VXWORKS -WCOREDUMP -WEXITSTATUS -WIFCONTINUED -WIFEXITED -WIFSIGNALED -WIFSTOPPED -WIN32 -WIN32_LEAN_AND_MEAN -WNOHANG -WSTOPSIG -WTERMSIG -W_OK -X_OK -_AFXDLL -_AIX -_ALL_SOURCE -_CLOCKID_T -_COMPILER_VERSION -_CRAYMPP -_CRAYT3E -_DEBUG -_DLL -_GNU_SOURCE -_HPUX_SOURCE -_INC_WINDOWS -_MIPS_SIM -_MIPS_SIM_ABI32 -_MIPS_SIM_ABI64 -_MIPS_SIM_NABI32 -_MSC_VER -_MSWSOCK_ -_MT -_M_IX86 -_M_UNIX -_POSIX4A_DRAFT10_SOURCE -_POSIX_C_SOURCE -_POSIX_PTHREAD_SEMANTICS -_POSIX_RTSIG_MAX -_POSIX_THREADS -_POSIX_THREAD_PROCESS_SHARED -_POSIX_THREAD_SAFE_FUNCTIONS -_REENTRANT -_SC_OPEN_MAX -_SC_PAGESIZE -_SC_THREAD_STACK_MIN -_SC_TIMER_MAX -_SEM_SEMUN_UNDEFINED -_THREAD_SAFE -_UNICODE -_UNICOS -_WIN32_WINNT -_WINDLL -_WINSOCK2API_ -_WINSOCKAPI_ -_WS2TCPIP_H_ -_XOPEN_EXTENDED_SOURCE -__ACE_INLINE__ -__BIG_ENDIAN -__BORLANDC__ -__BYTE_ORDER -__COMPILER_VER__ -__CYGWIN32__ -__Chorus -__DECCXX -__DECCXX_VER -__DGUX -__DIAB -__EXCEPTIONS -__FreeBSD__ -__FreeBSD_version -__GLIBC_MINOR__ -__GLIBC__ -__GNUC_MINOR__ -__GNUC__ -__GNUG__ -__KCC -__LITTLE_ENDIAN -__LP64__ -__LYNXOS_SDK_VERSION -__Lynx__ -__MIPS__ -__MVS__ -__OPTIMIZE__ -__RTTI -__STANDARD_CXX -__STDC__ -__SUNPRO_CC -__TURBOC__ -__USE_XOPEN_EXTENDED -__X86__ -__alpha -__alpha__ -__cplusplus -__hpux -__i386__ -__powerpc__ -__rational__ -__sgi -__unix -__x86__ -__xlC__ -_sys_siglist -ace_yyterminate -ace_yytext_ptr -and -broken -c_plusplus -const -currently -difftime -does -exit -fdopen -fileno -ghs -have -higher -howmany -i386 -in -is -lint -linux -log -m88k -msg_accrights -msg_accrightslen -not -or -ppc -pthread_equal -pthread_getspecific -r2 -rewinddir -same -sap_any -simulator -sparc -sun -support -system -time -unused -value diff --git a/Makefile.bor b/Makefile.bor deleted file mode 100644 index 3b660adfa5c..00000000000 --- a/Makefile.bor +++ /dev/null @@ -1,26 +0,0 @@ -!ifdef DEBUG -DEBUG_FLAG = -DDEBUG -!endif - -!ifdef STATIC -STATIC_FLAG = -DSTATIC -!endif - -!ifdef PASCAL -PASCAL_FLAG = -DPASCAL -!endif - -FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG) - -all: - cd $(ACE_ROOT)\ace - $(MAKE) -f Makefile.bor $(FLAGS) - cd $(ACE_ROOT)\netsvcs - $(MAKE) -f Makefile.bor $(FLAGS) - cd $(ACE_ROOT)\tests - $(MAKE) -f Makefile.bor $(FLAGS) - cd $(ACE_ROOT)\apps - $(MAKE) -f Makefile.bor $(FLAGS) - cd $(ACE_ROOT)\TAO - $(MAKE) -f Makefile.bor $(FLAGS) - diff --git a/STL/ACE_Changes b/STL/ACE_Changes deleted file mode 100644 index 902fb94c94c..00000000000 --- a/STL/ACE_Changes +++ /dev/null @@ -1,53 +0,0 @@ -This version of STL was obtained from -http://www.rahul.net/terris/. This is a modified version of the -implementation that comes with VC++4.0. Please see readme2.stl for -details. - -The following modification have been made for compilation with VC++4.x - -________________________________________ - -vector.h (line 85) -________________________________________ - - - /* - * This is cause the VC++ compiler sucks - * and does not recognize nested classes properly - * - */ -#if !defined (VC_PLUS_PLUS_NESTED_CLASS_PROBLEM) - vector(size_type n, const T& value = T()) { - start = static_allocator.allocate(n); - uninitialized_fill_n(start, n, value); - finish = start + n; - end_of_storage = finish; - } -#endif /* VC_PLUS_PLUS_NESTED_CLASS_PROBLEM */ - - -________________________________________ - -bstring.h (line 1102) -________________________________________ - - - /* - * This should be correctly scoped - * - * if (cap == ::reserve) - */ - - if (cap == std::reserve) - { - len = 0; - res = size; - ptr = new charT [res]; - } - /* - * This should be correctly scoped - * - * else if ((cap == ::default_size) && (size != NPOS)) - */ - - else if ((cap == std::default_size) && (size != NPOS)) diff --git a/STL/readme2.stl b/STL/readme2.stl deleted file mode 100644 index 5132bc1189b..00000000000 --- a/STL/readme2.stl +++ /dev/null @@ -1,272 +0,0 @@ -STL2.ZIP - -Standard Template Library for Visual C++ 4.0 -and Related Classes - -Revised 10/15/96 - Bug fixes and change to bit_vector. - -This version supports DLLs and threading. You must use critical -sections around code that uses the same container in different -threads. These features come at a price -- since memory -usage is not optimal, this code may use more memory and -may be slower. - -+ General strategy: Remove all statics except the - static allocator objects. -+ Vectors were not affected. -+ Major changes made to tree.h -+ Stability: Very stable. - -This code should be considered for experimental use only. There -are still statics lurking in some functions; these functions -are not thread-safe. - -------------------------- -Fix for bit_vector -------------------------- -This version also has a fix for bit_vector, which doesn't really -work with VC++ 4.x. Please include bvector.cpp in your -project if you use bit_vector. This fixes the linker errors -that occur if you use bector.h in multiple .cpp files. - -------------------------- -Disclaimer -------------------------- -Code is provided without warranty, liability, or technical support. - -STL.H and PTR.H are freely distributable and can be -modified in any way. - --------------------------------- -STRING.H does not compile. --------------------------------- - -"D. Pirzadeh" Explains how to fix: - -First, I got compile errors in "bstring.h" -and changed it as follows to correct: - line 1104 "::reserve" -> "std::reserve" - line 1110 "::default_size" -> "std::default_size" - -Also, I got an INTERNAL COMPILER ERROR with Visual C++ v4.0 when I did the fol- -lowing: - class xyz : public std::string { } - -I fixed it with: - typedef std::string XyzString; - class xyz : public XyzString { } - --------------------------------- -Changes made to STL distribution --------------------------------- - -These files were modified from the STL distribution shipped with -Microsoft Visual C++ 4.0. The files here are a complete, -working version of the STL. These files have been tested with -MFC applications. - -Changes were made to practically all header files. Look for -comments like: - -*Added by... -*Changed by... - ------------------- -Usage Instructions ------------------- - -Set the preprocessor variable NOMINMAX. - -As Microsoft recommends, the STL is compiled in the std namespace. - -When including these files, do **not** do this: - - namespace std - { - #include - } - -Instead, do this: - - #include - -Recommended usage: - - First, include: - - #include - #include - #include - - Then include the STL header files. - -------------------- -Support for CString -------------------- -The stl.h file contains code written by me. The file contains -operators that will allow you to use CString objects with STL -containers and functions. - -!!!! CString will not work with STL unless you include !!!! - -------------------------------------------- -Helper functions for pointers-in-containers -------------------------------------------- -There is a file called stl.h which contains two functions: - SequenceDelete - MapDelete -These functions send "delete" to all of the objects in a container. - -If you don't like this approach, you can use a supplied "pointer -wrapper" class. - -There is a file called ptr.h which contains a class called Ptr -that can be used exactly like a pointer. The object has a pointer -inside it that points to an object of any class. When a Ptr object -is deleted, "delete" is sent to its underlying pointer. Ptr can be -used with any STL container, as it has a copy constructor and -assignment operator, which transfers "ownership" of the pointer from -the source object to the destination object. Ptr is from the book -Design Patterns by Gamma et al -- see the Proxy pattern. - -The Ptr class makes memory leaks impossible, because it deletes -objects automatically when the container is deleted, or when -functions like "delete" are used. - -Example: - - This is a vector of CStrings: - - std::vector< Ptr > StringVector; - - StringVector.push_back( Ptr( new CString( "hello" ) ) ); - StringVector.push_back( Ptr( new CString( "This is another string" ) ) ); - ------------------------- -Common Problems with STL ------------------------- - -1) Compiler error: != is ambiguous - - Solution: put the following line at the beginning of the method - that caused the error: - - using namespace std; - -2) When using maps, the debugger crashes. - - This is because symbols for maps (actually, for the "pair") - get truncated to 255 characters. Solution: Turn off the - variables window in the debugger. Don't try to look at - a symbol that has been truncated. This is not an STL-specific - bug -- It's a bug in the debugger. - -3) All sorts of compile errors in STL header files - - Make sure the preprocessor variable NOMINMAX is defined - - -4) Compiler errors about "operator < is not available", etc. - The class involved has global comparison operators. - - Solution: - Write "routers" in the std namespace to the global namespace. - Example (see also stl.h - this is how CString is able - to work with STL): - - namespace std - { - BOOL operator < ( const MyClass & rLhs, - const AnotherClass & rRhs ) - { - return ::operator < ( rLhs, rRhs ); - } - } - - See also 5. - -5) When you use find() or another algorithm, the compiler - complains that it cannot find the == or < operators. - -If your code compiles without any error messages, then disregard -this section. However, if you get errors like "cannot convert -first argument from const class X" then read on. - -I am assuming that your code is calling an STL algorithm like -std::sort() or std::find(). If you're not, I can't help -you. - -There is apparently a bug in the Microsoft compiler regarding -namespaces. Namespaces cannot locate global -functions that reside in the global namespace. For example, -the binary == operator. - -Maybe this is a bug, maybe it isn't. This is not clear -to me. However, I do know what works and have tried many other -approaches that do not work. If you have a better solution I -would appreciate it if you could let me know about it. - -So, if you declare your own class and want to use algorithms -like find() on an STL container, you have two choices: - -(1) Declare == as a member function. -(2) Declare global operators == and !=. - -(1) simply works. There will come a time, however, when (1) -won't satisfy your needs. If A == B, then B == A. You can't -do this using member functions if A and B are from different -classes. - -If you choose (2), you must add the != operator to the std -namespace. There are two ways to do this. First, you can do -this: - namespace std - { - inline operator != ( const MyClass &rLhs, const MyClass &rRhs ) - { - return ::operator != ( rLhs, rRhs ); - } - } -This "routes" != from the std namespace to the global namespace. - -Note that ( lhs != rhs ) can be derived from the == operator -as !( lhs == rhs ). There is a macro in STL.H, -STL_DECLARE_GLOBAL_NE, that does this derivation. -This derivation will not work when for whatever reason, !(lhs == rhs) -is not the same as ( lhs != rhs ). - -The following example shows what you have to do for find(). Other -algorithms require you to declare <, <=, and >= too. See the -macros STL_DECLARE_GLOBAL_GE, STL_DECLARE_GLOBAL_LT, and -STL_GLOBAL_LE. These macros derive new comparison operators -from "operator <( const T&, const T& )". - -class MyClass -{ - public: - - int units; - CString description; -}; - -// We want to be able to test two MyClass objects against each other -// in STL. Need to create a global operator for this purpose. -// Since we use find(), we need to declare not-equal too. -bool operator == ( const MyClass &, const MyClass & ); -STL_DECLARE_GLOBAL_NE( MyClass, MyClass ) - -// These operators test for a matching description. -// We do A == B and B == A to be consistent. -bool operator == ( const MyClass&, const CString & ); -bool operator == ( const CString&, const MyClass & ); -STL_DECLARE_GLOBAL_NE( MyClass, CString ) -STL_DECLARE_GLOBAL_NE( CString, MyClass ) - -6. Errors when creating vectors that have vectors and deques - that have deques. - - Solution: Provide atruments to the constructor. - - std::vector< std::vector > - TwoDimensional( 0, std::vector() ); - diff --git a/Static_Performance.dsw b/Static_Performance.dsw deleted file mode 100644 index 1deb961ea3c..00000000000 --- a/Static_Performance.dsw +++ /dev/null @@ -1,193 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ACE dynamic library"=.\ace\ace_dll.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ACE static library"=.\ace\ace_lib.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "IDL_Cubit Client"=".\TAO\performance-tests\Cubit\TAO\IDL_Cubit\client.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "IDL_Cubit Server"=".\TAO\performance-tests\Cubit\TAO\IDL_Cubit\server.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "MT_Cubit Client"=".\TAO\performance-tests\Cubit\TAO\MT_Cubit\client.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "MT_Cubit Server"=".\TAO\performance-tests\Cubit\TAO\MT_Cubit\server.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TAO"=.\TAO\tao\TAO.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE dynamic library - End Project Dependency -}}} - -############################################################################### - -Project: "TAO Static"=.\TAO\tao\TAO_Static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE static library - End Project Dependency -}}} - -############################################################################### - -Project: "TAO_IDL Compiler"=.\TAO\TAO_IDL\tao_idl.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE dynamic library - End Project Dependency - Begin Project Dependency - Project_Dep_Name gperf - End Project Dependency - Begin Project Dependency - Project_Dep_Name gperf_lib - End Project Dependency -}}} - -############################################################################### - -Project: "basic_perf"=".\performance-tests\Misc\basic_perf.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "context_switch_time"=".\performance-tests\Misc\context_switch_time.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "gperf"=.\apps\gperf\src\gperf.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE dynamic library - End Project Dependency -}}} - -############################################################################### - -Project: "gperf_lib"=.\apps\gperf\src\gperf_lib.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE dynamic library - End Project Dependency -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### diff --git a/TAO/Benchmark/Marshal_Test/Orbix/Makefile b/TAO/Benchmark/Marshal_Test/Orbix/Makefile deleted file mode 100644 index 159d7beaa6b..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/Makefile +++ /dev/null @@ -1,75 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the Orbix Marshal Benchmark -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -LDLIBS = -lACE -lbenchmark - -PROG_SRCS = marshalC.cpp marshalS.cpp orbix_marshal_client.cpp orbix_marshal_server.cpp \ - orbix_marshal_impl.cpp client.cpp server.cpp - -LSRC = $(PROG_SRCS) - -MARSHAL_CLIENT_OBJS = marshalC.o orbix_marshal_client.o client.o - -ifdef dsi -MARSHAL_SERVER_OBJS = orbix_marshal_impl.o orbix_marshal_server.o server.o -else -MARSHAL_SERVER_OBJS = marshalS.o orbix_marshal_impl.o orbix_marshal_server.o server.o -endif -BIN = client server - -BUILD = $(BIN) - -#CLIENT_LIBS = -lITini -liiop -lorbix -#SERVER_LIBS = -lITini -liiop -lDSI -lorbix -lIRclt -CLIENT_LIBS = -liiop -lorbix -SERVER_LIBS = -liiop -lDSI -lorbix -lIRclt - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -# include Orbix specific file -include /project/mambo/gokhale/CONFIG/orbixsol2s4.mk - -#---------------------------------------------------------------------------- -# Local modifications to variables imported by includes above. -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -CPPFLAGS += -I$(TAO_ROOT)/Benchmark - -server: $(addprefix $(VDIR),$(MARSHAL_SERVER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(SERVER_LIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(MARSHAL_CLIENT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(CLIENT_LIBS) $(POSTLINK) - -marshal.h marshalC.cpp marshalS.cpp: marshal.idl - $(IDL) $(IDLFLAGS) $< - -clean: - $(RM) core *.o *~ client server *C.cpp *S.cpp *S.h *C.h - $(MAKE) realclean - - - - diff --git a/TAO/Benchmark/Marshal_Test/Orbix/client.cpp b/TAO/Benchmark/Marshal_Test/Orbix/client.cpp deleted file mode 100644 index d3ef24fadc0..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/client.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// $Id$ - -#include "benchmark/driver.h" -#include "orbix_marshal_client.h" - -ACE_RCSID(Orbix, client, "$Id$") - -int main (int argc, char *argv []) -{ - // instantiate a DRIVER with the Orbix_Client_Proxy as the template - CORBA_Benchmark_Driver driver (new - Orbix_Marshal_Client_Proxy ()); - - // let the driver do everything for us so that we remain very simple - return driver.run (argc, argv); -} diff --git a/TAO/Benchmark/Marshal_Test/Orbix/marshal.h b/TAO/Benchmark/Marshal_Test/Orbix/marshal.h deleted file mode 100644 index 497c872001f..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/marshal.h +++ /dev/null @@ -1,1326 +0,0 @@ -// $Id$ - -#ifndef marshal_h -#define marshal_h - -#include - -#include - - -#ifndef _IDL_SEQUENCE_any_defined -#define _IDL_SEQUENCE_any_defined - -class _IDL_SEQUENCE_any { - CORBA::ULong _maximum; - CORBA::ULong _length; - CORBA::any* _buffer; - unsigned char _release; - - public: - _IDL_SEQUENCE_any& operator= (const _IDL_SEQUENCE_any&); - _IDL_SEQUENCE_any (const _IDL_SEQUENCE_any&); - - _IDL_SEQUENCE_any (CORBA::ULong max); - _IDL_SEQUENCE_any (CORBA::ULong max, CORBA::ULong length, CORBA::any* data, CORBA::Boolean release = 0); - _IDL_SEQUENCE_any (); - - ~_IDL_SEQUENCE_any (); - - static CORBA::any* allocbuf(CORBA::ULong nelems); - static void freebuf(CORBA::any* data); - - CORBA::ULong maximum() const; - CORBA::ULong length() const; - void length (CORBA::ULong len); - - CORBA::any& operator [] (CORBA::ULong IT_i); - - const CORBA::any& operator [] (CORBA::ULong IT_i) const; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); -}; - -extern const CORBA::TypeCode_ptr _tc__IDL_SEQUENCE_any; - -#ifndef _IDL_SEQUENCE_anyVarH -#define _IDL_SEQUENCE_anyVarH - -#ifndef _IDL_SEQUENCE_anyvPtr -#define _IDL_SEQUENCE_anyvPtr -typedef _IDL_SEQUENCE_any* _IDL_SEQUENCE_any_vPtr; -typedef const _IDL_SEQUENCE_any* _IDL_SEQUENCE_any_cvPtr; -#endif - -class _IDL_SEQUENCE_any_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const _IDL_SEQUENCE_any_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new _IDL_SEQUENCE_any; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - _IDL_SEQUENCE_any_var (const _IDL_SEQUENCE_any_var &IT_s) { - (void) copyHelper (IT_s); - } - - _IDL_SEQUENCE_any_var () { - _ptr = NULL; - } - - _IDL_SEQUENCE_any_var (_IDL_SEQUENCE_any *IT_p) { - _ptr = IT_p; - } - - _IDL_SEQUENCE_any_var &operator= (_IDL_SEQUENCE_any *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - _IDL_SEQUENCE_any_var &operator= (const _IDL_SEQUENCE_any_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new _IDL_SEQUENCE_any; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~_IDL_SEQUENCE_any_var () { - delete _ptr; - } - - _IDL_SEQUENCE_any* operator-> () { - return _ptr; - } - - operator _IDL_SEQUENCE_any_cvPtr () const { return _ptr;} - operator _IDL_SEQUENCE_any_vPtr& () { return _ptr;} - operator _IDL_SEQUENCE_any& () const { return * _ptr;} - - const CORBA::any& operator[] (CORBA::ULong index) const; - - CORBA::any& operator[] (CORBA::ULong index); - - protected: - _IDL_SEQUENCE_any *_ptr; - private: - _IDL_SEQUENCE_any_var &operator= (const CORBA::_var &IT_s); - _IDL_SEQUENCE_any_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - - -#ifndef _Marshal_defined -#define _Marshal_defined -class Marshal_dispatch : public virtual CORBA::PPTR { -public: - - Marshal_dispatch (void *IT_p, CORBA::Object* IT_o, const char *IT_m, - CORBA::LoaderClass *IT_l, char *IT_i, void* IT_im) - : PPTR (IT_p,IT_o,IT_m,IT_l,IT_i,IT_im) {} - - - Marshal_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Marshal_dispatch () {} - - Marshal_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Marshal_dispatch (void *IT_p, CORBA::Object *IT_o, const char *IT_m, - char *IT_i, CORBA::Object* IT_ob, void* IT_im) - : PPTR (IT_p,IT_o,IT_m,IT_i,IT_ob,IT_im) {} - - - virtual unsigned char dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void* IT_pp=NULL); - - -}; - -class Marshal; - -#ifndef MarshalPtr -#define MarshalPtr - -typedef Marshal* Marshal_ptr; - -typedef Marshal* MarshalRef; - -#endif - - -#ifndef MarshalForwH -#define MarshalForwH -CORBA::ObjectRef Marshal_getBase (void *); -void Marshal_release (Marshal *, CORBA::Environment &IT_env); -void Marshal_release (Marshal_ptr); -Marshal* Marshal_duplicate (Marshal_ptr, CORBA::Environment &IT_env); -Marshal* Marshal_duplicate (Marshal_ptr ); -Marshal_ptr Marshal_nil (CORBA::Environment &IT_env); -Marshal_ptr Marshal_nil (); -#endif -#define Marshal_IMPL "Marshal" - - -class Marshal; - -typedef Marshal MarshalProxy; -#define Marshal_IR "Marshal" -#define Marshal_IMPL "Marshal" - -#ifndef MarshalPtr -#define MarshalPtr - -typedef Marshal* Marshal_ptr; - -typedef Marshal* MarshalRef; - -#endif - -class Marshal: public virtual CORBA::Object { -public: - Marshal (char *IT_OR); - Marshal (ObjectReference *IT_OR); - Marshal () : CORBA::Object (1) {} -protected: - Marshal_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Marshal_ptr _duplicate( - Marshal_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Marshal* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Marshal* _bind (CORBA::Environment &IT_env); - static Marshal* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Marshal* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); -private: - static const void* IT_impl; -public: - static Marshal_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Marshal_ptr) CORBA::OBJECT_NIL;} - -#ifndef Marshal_Marshal_Struct_defined -#define Marshal_Marshal_Struct_defined - -struct Marshal_Struct { - CORBA::Short s; - CORBA::Long l; - CORBA::Char c; - CORBA::Octet o; - CORBA::Double d; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - static void* IT_anySupport (CORBA::Request &IT_r, - void *&, void*, const CORBA::Flags&); - static const void *IT_fn; - Marshal_Struct(const Marshal_Struct &); - Marshal_Struct(); - ~Marshal_Struct(); - Marshal_Struct& operator= (const Marshal_Struct&); -}; - -static const CORBA::TypeCode_ptr _tc_Marshal_Struct; - -#ifndef Marshal_Marshal_StructVarH -#define Marshal_Marshal_StructVarH - -#ifndef Marshal_Marshal_StructvPtr -#define Marshal_Marshal_StructvPtr -typedef Marshal_Struct* Marshal_Struct_vPtr; -typedef const Marshal_Struct* Marshal_Struct_cvPtr; -#endif - -class Marshal_Struct_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Marshal_Struct_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Marshal_Struct; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Marshal_Struct_var (const Marshal_Struct_var &IT_s) { - (void) copyHelper (IT_s); - } - - Marshal_Struct_var () { - _ptr = new Marshal_Struct; -; - } - - Marshal_Struct_var (Marshal_Struct *IT_p) { - _ptr = IT_p; - } - - Marshal_Struct_var &operator= (Marshal_Struct *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Marshal_Struct_var &operator= (const Marshal_Struct_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Marshal_Struct; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Marshal_Struct_var () { - delete _ptr; - } - - Marshal_Struct* operator-> () { - return _ptr; - } - - operator Marshal_Struct_cvPtr () const { return _ptr;} - operator Marshal_Struct_vPtr& () { return _ptr;} - operator Marshal_Struct& () const { return * _ptr;} - - protected: - Marshal_Struct *_ptr; - private: - Marshal_Struct_var &operator= (const CORBA::_var &IT_s); - Marshal_Struct_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -static const CORBA::TypeCode_ptr _tc_discrim; - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th,e_6th, IT__ENUM_Marshal_discrim=CORBA_ULONG_MAX}; - -#ifndef Marshal_Marshal_Union_defined -#define Marshal_Marshal_Union_defined - -struct Marshal_Union { - private: - - discrim __d; - union { - CORBA::Short _s_; - CORBA::Long _l_; - CORBA::Char _c_; - CORBA::Octet _o_; - CORBA::Double _d_; - Marshal_Struct * _ms_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - static void* IT_anySupport (CORBA::Request &IT_r, - void *&, void*, const CORBA::Flags&); - static const void *IT_fn; - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Marshal::e_0th)) - { - this-> Marshal_Union::~Marshal_Union(); - memset(this, 0, sizeof(*this)); - } - - __d = Marshal::e_0th; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Marshal::e_1st)) - { - this-> Marshal_Union::~Marshal_Union(); - memset(this, 0, sizeof(*this)); - } - - __d = Marshal::e_1st; - isSet = 1; - _l_ = IT_member; - } - - CORBA::Char c () const { - return _c_; - } - - void c (CORBA::Char IT_member) { - if (isSet && (__d != Marshal::e_2nd)) - { - this-> Marshal_Union::~Marshal_Union(); - memset(this, 0, sizeof(*this)); - } - - __d = Marshal::e_2nd; - isSet = 1; - _c_ = IT_member; - } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Marshal::e_3rd)) - { - this-> Marshal_Union::~Marshal_Union(); - memset(this, 0, sizeof(*this)); - } - - __d = Marshal::e_3rd; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Double d () const { - return _d_; - } - - void d (CORBA::Double IT_member) { - if (isSet && (__d != Marshal::e_4th)) - { - this-> Marshal_Union::~Marshal_Union(); - memset(this, 0, sizeof(*this)); - } - - __d = Marshal::e_4th; - isSet = 1; - _d_ = IT_member; - } - - Marshal_Struct& ms () { - return (*_ms_); - } - - const Marshal_Struct& ms () const { - return (*_ms_); - } - - void ms (const Marshal_Struct& IT_member) { - if (isSet && (__d != Marshal::e_6th)) - { - this-> Marshal_Union::~Marshal_Union(); - memset(this, 0, sizeof(*this)); - } - - __d = Marshal::e_6th; - - if (!isSet) { - _ms_ = new Marshal_Struct; - isSet = 1; - } - *(_ms_) = IT_member; - } - - - Marshal_Union(); - Marshal_Union(const Marshal_Union &); - ~Marshal_Union(); - Marshal_Union& operator= (const Marshal_Union&); -}; - -static const CORBA::TypeCode_ptr _tc_Marshal_Union; - -#ifndef Marshal_Marshal_UnionVarH -#define Marshal_Marshal_UnionVarH - -#ifndef Marshal_Marshal_UnionvPtr -#define Marshal_Marshal_UnionvPtr -typedef Marshal_Union* Marshal_Union_vPtr; -typedef const Marshal_Union* Marshal_Union_cvPtr; -#endif - -class Marshal_Union_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Marshal_Union_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Marshal_Union; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Marshal_Union_var (const Marshal_Union_var &IT_s) { - (void) copyHelper (IT_s); - } - - Marshal_Union_var () { - _ptr = NULL; - } - - Marshal_Union_var (Marshal_Union *IT_p) { - _ptr = IT_p; - } - - Marshal_Union_var &operator= (Marshal_Union *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Marshal_Union_var &operator= (const Marshal_Union_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Marshal_Union; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Marshal_Union_var () { - delete _ptr; - } - - Marshal_Union* operator-> () { - return _ptr; - } - - operator Marshal_Union_cvPtr () const { return _ptr;} - operator Marshal_Union_vPtr& () { return _ptr;} - operator Marshal_Union& () const { return * _ptr;} - - protected: - Marshal_Union *_ptr; - private: - Marshal_Union_var &operator= (const CORBA::_var &IT_s); - Marshal_Union_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif -static const CORBA::TypeCode_ptr _tc_AnySeq; - -typedef _IDL_SEQUENCE_any AnySeq; -typedef const _IDL_SEQUENCE_any AnySeq_IT_const; - -typedef _IDL_SEQUENCE_any_var AnySeq_var; - - -#ifndef Marshal__IDL_SEQUENCE_Marshal_Marshal_Recursive_defined -#define Marshal__IDL_SEQUENCE_Marshal_Marshal_Recursive_defined - -struct Marshal_Recursive; -class _IDL_SEQUENCE_Marshal_Marshal_Recursive { - CORBA::ULong _maximum; - CORBA::ULong _length; - Marshal_Recursive* _buffer; - unsigned char _release; - - public: - _IDL_SEQUENCE_Marshal_Marshal_Recursive& operator= (const _IDL_SEQUENCE_Marshal_Marshal_Recursive&); - _IDL_SEQUENCE_Marshal_Marshal_Recursive (const _IDL_SEQUENCE_Marshal_Marshal_Recursive&); - - _IDL_SEQUENCE_Marshal_Marshal_Recursive (CORBA::ULong max); - _IDL_SEQUENCE_Marshal_Marshal_Recursive (CORBA::ULong max, CORBA::ULong length, Marshal_Recursive* data, CORBA::Boolean release = 0); - _IDL_SEQUENCE_Marshal_Marshal_Recursive (); - - ~_IDL_SEQUENCE_Marshal_Marshal_Recursive (); - - static Marshal_Recursive* allocbuf(CORBA::ULong nelems); - static void freebuf(Marshal_Recursive* data); - - CORBA::ULong maximum() const; - CORBA::ULong length() const; - void length (CORBA::ULong len); - - Marshal_Recursive& operator [] (CORBA::ULong IT_i); - - const Marshal_Recursive& operator [] (CORBA::ULong IT_i) const; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); -}; - -static const CORBA::TypeCode_ptr _tc__IDL_SEQUENCE_Marshal_Marshal_Recursive; - -#ifndef Marshal__IDL_SEQUENCE_Marshal_Marshal_RecursiveVarH -#define Marshal__IDL_SEQUENCE_Marshal_Marshal_RecursiveVarH - -#ifndef Marshal__IDL_SEQUENCE_Marshal_Marshal_RecursivevPtr -#define Marshal__IDL_SEQUENCE_Marshal_Marshal_RecursivevPtr -typedef _IDL_SEQUENCE_Marshal_Marshal_Recursive* _IDL_SEQUENCE_Marshal_Marshal_Recursive_vPtr; -typedef const _IDL_SEQUENCE_Marshal_Marshal_Recursive* _IDL_SEQUENCE_Marshal_Marshal_Recursive_cvPtr; -#endif - -class _IDL_SEQUENCE_Marshal_Marshal_Recursive_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new _IDL_SEQUENCE_Marshal_Marshal_Recursive; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var (const _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &IT_s) { - (void) copyHelper (IT_s); - } - - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var () { - _ptr = NULL; - } - - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var (_IDL_SEQUENCE_Marshal_Marshal_Recursive *IT_p) { - _ptr = IT_p; - } - - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &operator= (_IDL_SEQUENCE_Marshal_Marshal_Recursive *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &operator= (const _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new _IDL_SEQUENCE_Marshal_Marshal_Recursive; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~_IDL_SEQUENCE_Marshal_Marshal_Recursive_var () { - delete _ptr; - } - - _IDL_SEQUENCE_Marshal_Marshal_Recursive* operator-> () { - return _ptr; - } - - operator _IDL_SEQUENCE_Marshal_Marshal_Recursive_cvPtr () const { return _ptr;} - operator _IDL_SEQUENCE_Marshal_Marshal_Recursive_vPtr& () { return _ptr;} - operator _IDL_SEQUENCE_Marshal_Marshal_Recursive& () const { return * _ptr;} - - const Marshal_Recursive& operator[] (CORBA::ULong index) const; - - Marshal_Recursive& operator[] (CORBA::ULong index); - - protected: - _IDL_SEQUENCE_Marshal_Marshal_Recursive *_ptr; - private: - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &operator= (const CORBA::_var &IT_s); - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - - -#ifndef Marshal_Marshal_Recursive_defined -#define Marshal_Marshal_Recursive_defined - -struct Marshal_Recursive { - CORBA::any value; - _IDL_SEQUENCE_Marshal_Marshal_Recursive next; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - static void* IT_anySupport (CORBA::Request &IT_r, - void *&, void*, const CORBA::Flags&); - static const void *IT_fn; - Marshal_Recursive(const Marshal_Recursive &); - Marshal_Recursive(); - ~Marshal_Recursive(); - Marshal_Recursive& operator= (const Marshal_Recursive&); -}; - -static const CORBA::TypeCode_ptr _tc_Marshal_Recursive; - -#ifndef Marshal_Marshal_RecursiveVarH -#define Marshal_Marshal_RecursiveVarH - -#ifndef Marshal_Marshal_RecursivevPtr -#define Marshal_Marshal_RecursivevPtr -typedef Marshal_Recursive* Marshal_Recursive_vPtr; -typedef const Marshal_Recursive* Marshal_Recursive_cvPtr; -#endif - -class Marshal_Recursive_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Marshal_Recursive_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Marshal_Recursive; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Marshal_Recursive_var (const Marshal_Recursive_var &IT_s) { - (void) copyHelper (IT_s); - } - - Marshal_Recursive_var () { - _ptr = NULL; - } - - Marshal_Recursive_var (Marshal_Recursive *IT_p) { - _ptr = IT_p; - } - - Marshal_Recursive_var &operator= (Marshal_Recursive *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Marshal_Recursive_var &operator= (const Marshal_Recursive_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Marshal_Recursive; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Marshal_Recursive_var () { - delete _ptr; - } - - Marshal_Recursive* operator-> () { - return _ptr; - } - - operator Marshal_Recursive_cvPtr () const { return _ptr;} - operator Marshal_Recursive_vPtr& () { return _ptr;} - operator Marshal_Recursive& () const { return * _ptr;} - - protected: - Marshal_Recursive *_ptr; - private: - Marshal_Recursive_var &operator= (const CORBA::_var &IT_s); - Marshal_Recursive_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - - virtual void test_short (CORBA::Short s1, CORBA::Short& s2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void test_long (CORBA::Long l1, CORBA::Long& l2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void test_octet (CORBA::Octet o1, CORBA::Octet& o2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void test_char (CORBA::Char c1, CORBA::Char& c2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void test_double (CORBA::Double d1, CORBA::Double& d2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void test_struct (const Marshal_Struct& ms1, Marshal_Struct& ms2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void test_union (const Marshal_Union& u1, Marshal_Union& u2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void test_any (const CORBA::any& a1, CORBA::any*& a2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void test_sequence (const AnySeq& as1, AnySeq*& as2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void test_recursive (const Marshal_Recursive& mr1, Marshal_Recursive*& mr2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -extern const CORBA::TypeCode_ptr _tc_MarshalRef; - -#ifndef MarshalVarH -#define MarshalVarH - -#ifndef MarshalvPtr -#define MarshalvPtr -typedef Marshal* Marshal_vPtr; -typedef const Marshal* Marshal_cvPtr; -#endif - -class Marshal_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Marshal_var &IT_s) { - { - _ptr = Marshal_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Marshal_var (const Marshal_var &IT_s) { - (void) copyHelper (IT_s); - } - - Marshal_var () { - _ptr = Marshal_nil (); - } - - Marshal_var (Marshal *IT_p) { - _ptr = IT_p; - } - - Marshal_var &operator= (Marshal *IT_p) { - Marshal_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Marshal_var &operator= (const Marshal_var &IT_s) { - Marshal_release (_ptr); - _ptr = Marshal_duplicate (IT_s._ptr); - return (*this); - } - - ~Marshal_var () { - Marshal_release (_ptr); - } - - Marshal* operator-> () { - return _ptr; - } - - operator Marshal_cvPtr () const { return _ptr;} - operator Marshal_vPtr& () { return _ptr;} - - protected: - Marshal *_ptr; - private: - Marshal_var &operator= (const CORBA::_var &IT_s); - Marshal_var (const CORBA::_var &IT_s); - Marshal_var &operator= (const CORBA::_mgr &IT_s); - Marshal_var &operator= (const CORBA::_SeqElem &IT_s); - Marshal_var (const CORBA::_mgr &IT_s); - Marshal_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef MarshalMgrH -#define MarshalMgrH - -class Marshal_mgr : public CORBA::_mgr -{ - public: - - Marshal_mgr () { - _ptr = Marshal_nil (); - _release = 1; - } - - Marshal_mgr (const Marshal_mgr &IT_s) { - _ptr = Marshal_duplicate (IT_s._ptr); - _release = 1; - } - - Marshal_mgr &operator= (Marshal *IT_p) { - if (_ptr && _release) - Marshal_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Marshal_mgr &operator= (const Marshal_mgr &IT_s) { - if (_ptr && _release) - Marshal_release (_ptr); - _ptr = Marshal_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Marshal_mgr &operator= (Marshal_var &IT_s) { - if (_ptr && _release) - Marshal_release (_ptr); - _ptr = Marshal_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Marshal_mgr () { - if (_release) - Marshal_release (_ptr); - } - - unsigned char release () { - return _release; - } - - void release (unsigned char rel) { - _release = rel; - } - - operator int () const { - return (((CORBA::Object_ptr) _ptr) ? 1 : 0); - } - - operator void* () const { - return _ptr; - } - - operator CORBA::Object * () const { - return (CORBA::Object *) _ptr; - } - - operator Marshal* () const { - return (Marshal*) _ptr; - } - - Marshal_ptr operator-> () const { - return _ptr; - } - - Marshal *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Marshal_mgr Marshal_mgr_IT_const; -#endif - -#ifndef MarshalSeqElemH -#define MarshalSeqElemH - -class Marshal_SeqElem : public CORBA::_SeqElem -{ - public: - - Marshal_SeqElem (Marshal_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Marshal_SeqElem &operator= (Marshal_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Marshal_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Marshal_SeqElem &operator= (const Marshal_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Marshal_release (*(_ptr)); - *(_ptr) = Marshal_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Marshal_ptr () const { - return _ptr ? (Marshal_ptr) (*_ptr) : Marshal_nil(); - } - - Marshal_ptr operator->() const { return *_ptr;} - - protected: - Marshal_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Marshal(X) Marshal##X - -#define DEF_TIE_Marshal(X) \ - class Marshal##X : public virtual Marshal { \ - X* m_obj; \ - public: \ - \ - \ - Marshal##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Marshal(), m_obj(objp) { \ - m_pptr = new Marshal_dispatch \ - (( Marshal*)this,(CORBA::Object*)this,m,l,Marshal_IR,m_obj); \ - } \ - Marshal##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Marshal() { \ - m_pptr = new Marshal_dispatch \ - (( Marshal*)this,(CORBA::Object*)this,IT_m,Marshal_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Marshal##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual void test_short (CORBA::Short s1, CORBA::Short& s2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_short ( s1, s2,IT_env);\ -}\ - \ -virtual void test_long (CORBA::Long l1, CORBA::Long& l2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_long ( l1, l2,IT_env);\ -}\ - \ -virtual void test_octet (CORBA::Octet o1, CORBA::Octet& o2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_octet ( o1, o2,IT_env);\ -}\ - \ -virtual void test_char (CORBA::Char c1, CORBA::Char& c2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_char ( c1, c2,IT_env);\ -}\ - \ -virtual void test_double (CORBA::Double d1, CORBA::Double& d2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_double ( d1, d2,IT_env);\ -}\ - \ -virtual void test_struct (const Marshal::Marshal_Struct& ms1, Marshal::Marshal_Struct& ms2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_struct ( ms1, ms2,IT_env);\ -}\ - \ -virtual void test_union (const Marshal::Marshal_Union& u1, Marshal::Marshal_Union& u2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_union ( u1, u2,IT_env);\ -}\ - \ -virtual void test_any (const CORBA::any& a1, CORBA::any*& a2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_any ( a1, a2,IT_env);\ -}\ - \ -virtual void test_sequence (const Marshal::AnySeq& as1, Marshal::AnySeq*& as2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_sequence ( as1, as2,IT_env);\ -}\ - \ -virtual void test_recursive (const Marshal::Marshal_Recursive& mr1, Marshal::Marshal_Recursive*& mr2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_recursive ( mr1, mr2,IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Marshal \ -virtual void test_short (CORBA::Short s1, CORBA::Short& s2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_short ( s1, s2,IT_env);\ -}\ - \ -virtual void test_long (CORBA::Long l1, CORBA::Long& l2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_long ( l1, l2,IT_env);\ -}\ - \ -virtual void test_octet (CORBA::Octet o1, CORBA::Octet& o2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_octet ( o1, o2,IT_env);\ -}\ - \ -virtual void test_char (CORBA::Char c1, CORBA::Char& c2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_char ( c1, c2,IT_env);\ -}\ - \ -virtual void test_double (CORBA::Double d1, CORBA::Double& d2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_double ( d1, d2,IT_env);\ -}\ - \ -virtual void test_struct (const Marshal_Struct& ms1, Marshal_Struct& ms2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_struct ( ms1, ms2,IT_env);\ -}\ - \ -virtual void test_union (const Marshal_Union& u1, Marshal_Union& u2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_union ( u1, u2,IT_env);\ -}\ - \ -virtual void test_any (const CORBA::any& a1, CORBA::any*& a2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_any ( a1, a2,IT_env);\ -}\ - \ -virtual void test_sequence (const AnySeq& as1, AnySeq*& as2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_sequence ( as1, as2,IT_env);\ -}\ - \ -virtual void test_recursive (const Marshal_Recursive& mr1, Marshal_Recursive*& mr2, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->test_recursive ( mr1, mr2,IT_env);\ -}\ - - - - -class MarshalProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - MarshalProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Marshal_IR, IT_p) {} - - virtual void* New (char *IT_OR, CORBA::Environment&); - - virtual void* New (ObjectReference *IT_OR, CORBA::Environment&); - - virtual void* New2 (); - - virtual CORBA::Object* NewObject (char *IT_OR, CORBA::Environment&); - - virtual CORBA::Object* NewObject (ObjectReference *IT_OR, CORBA::Environment&); - - virtual CORBA::Object* New2Object (); - - virtual void* IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - - virtual CORBA::PPTR* pptr (void *IT_p); - - virtual void baseInterfaces (_IDL_SEQUENCE_string&); - - -}; - -extern MarshalProxyFactoryClass MarshalProxyFactory; - -class MarshalBOAImpl : public virtual Marshal { -public: - MarshalBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Marshal_IR)) - m_pptr = new Marshal_dispatch ( (Marshal*)this, - (CORBA::Object*)this, m, l, Marshal_IR, this); -} - - virtual void test_short (CORBA::Short s1, CORBA::Short& s2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void test_long (CORBA::Long l1, CORBA::Long& l2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void test_octet (CORBA::Octet o1, CORBA::Octet& o2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void test_char (CORBA::Char c1, CORBA::Char& c2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void test_double (CORBA::Double d1, CORBA::Double& d2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void test_struct (const Marshal_Struct& ms1, Marshal_Struct& ms2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void test_union (const Marshal_Union& u1, Marshal_Union& u2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void test_any (const CORBA::any& a1, CORBA::any*& a2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void test_sequence (const AnySeq& as1, AnySeq*& as2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void test_recursive (const Marshal_Recursive& mr1, Marshal_Recursive*& mr2, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#ifndef _IDL_SEQUENCE_Marshal_Marshal_Recursive_defined -#define _IDL_SEQUENCE_Marshal_Marshal_Recursive_defined - -class _IDL_SEQUENCE_Marshal_Marshal_Recursive { - CORBA::ULong _maximum; - CORBA::ULong _length; - Marshal::Marshal_Recursive* _buffer; - unsigned char _release; - - public: - _IDL_SEQUENCE_Marshal_Marshal_Recursive& operator= (const _IDL_SEQUENCE_Marshal_Marshal_Recursive&); - _IDL_SEQUENCE_Marshal_Marshal_Recursive (const _IDL_SEQUENCE_Marshal_Marshal_Recursive&); - - _IDL_SEQUENCE_Marshal_Marshal_Recursive (CORBA::ULong max); - _IDL_SEQUENCE_Marshal_Marshal_Recursive (CORBA::ULong max, CORBA::ULong length, Marshal::Marshal_Recursive* data, CORBA::Boolean release = 0); - _IDL_SEQUENCE_Marshal_Marshal_Recursive (); - - ~_IDL_SEQUENCE_Marshal_Marshal_Recursive (); - - static Marshal::Marshal_Recursive* allocbuf(CORBA::ULong nelems); - static void freebuf(Marshal::Marshal_Recursive* data); - - CORBA::ULong maximum() const; - CORBA::ULong length() const; - void length (CORBA::ULong len); - - Marshal::Marshal_Recursive& operator [] (CORBA::ULong IT_i); - - const Marshal::Marshal_Recursive& operator [] (CORBA::ULong IT_i) const; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); -}; - -extern const CORBA::TypeCode_ptr _tc__IDL_SEQUENCE_Marshal_Marshal_Recursive; - -#ifndef _IDL_SEQUENCE_Marshal_Marshal_RecursiveVarH -#define _IDL_SEQUENCE_Marshal_Marshal_RecursiveVarH - -#ifndef _IDL_SEQUENCE_Marshal_Marshal_RecursivevPtr -#define _IDL_SEQUENCE_Marshal_Marshal_RecursivevPtr -typedef _IDL_SEQUENCE_Marshal_Marshal_Recursive* _IDL_SEQUENCE_Marshal_Marshal_Recursive_vPtr; -typedef const _IDL_SEQUENCE_Marshal_Marshal_Recursive* _IDL_SEQUENCE_Marshal_Marshal_Recursive_cvPtr; -#endif - -class _IDL_SEQUENCE_Marshal_Marshal_Recursive_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new _IDL_SEQUENCE_Marshal_Marshal_Recursive; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var (const _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &IT_s) { - (void) copyHelper (IT_s); - } - - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var () { - _ptr = NULL; - } - - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var (_IDL_SEQUENCE_Marshal_Marshal_Recursive *IT_p) { - _ptr = IT_p; - } - - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &operator= (_IDL_SEQUENCE_Marshal_Marshal_Recursive *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &operator= (const _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new _IDL_SEQUENCE_Marshal_Marshal_Recursive; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~_IDL_SEQUENCE_Marshal_Marshal_Recursive_var () { - delete _ptr; - } - - _IDL_SEQUENCE_Marshal_Marshal_Recursive* operator-> () { - return _ptr; - } - - operator _IDL_SEQUENCE_Marshal_Marshal_Recursive_cvPtr () const { return _ptr;} - operator _IDL_SEQUENCE_Marshal_Marshal_Recursive_vPtr& () { return _ptr;} - operator _IDL_SEQUENCE_Marshal_Marshal_Recursive& () const { return * _ptr;} - - const Marshal::Marshal_Recursive& operator[] (CORBA::ULong index) const; - - Marshal::Marshal_Recursive& operator[] (CORBA::ULong index); - - protected: - _IDL_SEQUENCE_Marshal_Marshal_Recursive *_ptr; - private: - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var &operator= (const CORBA::_var &IT_s); - _IDL_SEQUENCE_Marshal_Marshal_Recursive_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - - -void operator<<= (CORBA::any &IT_a, const Marshal::Marshal_Union& IT_t); -CORBA::Boolean operator>>= (const CORBA::any &IT_a, Marshal::Marshal_Union*& IT_t); - - -void operator<<= (CORBA::any &IT_a, const Marshal::Marshal_Recursive& IT_t); -CORBA::Boolean operator>>= (const CORBA::any &IT_a, Marshal::Marshal_Recursive*& IT_t); - - -void operator<<= (CORBA::any &IT_a, Marshal_ptr IT_t); -CORBA::Boolean operator>>= (const CORBA::any &IT_a, Marshal_ptr& IT_t); - - -void operator<<= (CORBA::any &IT_a, const Marshal::_IDL_SEQUENCE_Marshal_Marshal_Recursive& IT_t); -CORBA::Boolean operator>>= (const CORBA::any &IT_a, Marshal::_IDL_SEQUENCE_Marshal_Marshal_Recursive*& IT_t); - - -void operator<<= (CORBA::any &IT_a, const _IDL_SEQUENCE_Marshal_Marshal_Recursive& IT_t); -CORBA::Boolean operator>>= (const CORBA::any &IT_a, _IDL_SEQUENCE_Marshal_Marshal_Recursive*& IT_t); - - -void operator<<= (CORBA::any &IT_a, Marshal::discrim IT_t); -CORBA::Boolean operator>>= (const CORBA::any &IT_a, Marshal::discrim& IT_t); - - -void operator<<= (CORBA::any &IT_a, const _IDL_SEQUENCE_any& IT_t); -CORBA::Boolean operator>>= (const CORBA::any &IT_a, _IDL_SEQUENCE_any*& IT_t); - - -void operator<<= (CORBA::any &IT_a, const Marshal::Marshal_Struct& IT_t); -CORBA::Boolean operator>>= (const CORBA::any &IT_a, Marshal::Marshal_Struct*& IT_t); - - -#endif diff --git a/TAO/Benchmark/Marshal_Test/Orbix/marshal.idl b/TAO/Benchmark/Marshal_Test/Orbix/marshal.idl deleted file mode 100644 index 80b3ec9ab20..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/marshal.idl +++ /dev/null @@ -1,90 +0,0 @@ -// $Id$ - -// Interface for the marshal benchmark - -interface Marshal -{ - struct Marshal_Struct - { - short s; - long l; - char c; - octet o; - double d; - }; - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th, e_6th}; - - union Marshal_Union - switch (discrim) - { - case e_0th: - short s; - case e_1st: - long l; - case e_2nd: - char c; - case e_3rd: - octet o; - case e_4th: - double d; - default: // this will test typecode indirection - Marshal_Struct ms; - }; - - /* - typedef sequence ShortSeq; - typedef sequence LongSeq; - typedef sequence OctetSeq; - typedef sequence CharSeq; - typedef sequence DoubleSeq; - typedef sequence StructSeq; - typedef sequence UnionSeq; - */ - // for testing sequences of Any - typedef sequence AnySeq; - - // testing recursive behavior - // complex. - struct Marshal_Recursive - { - // we use this to test the limited recursion allowed by IDL. This is an - // ideal test for indirected typecodes. - - // simulate a behavior of a list node - any value; - sequence next; - }; - - void test_short (in short s1, out short s2); // test a short - void test_long (in long l1, out long l2); // test a long - void test_octet (in octet o1, out octet o2); // test an octet - void test_char (in char c1, out char c2); // test a char - void test_double (in double d1, out double d2); // test a double - void test_struct (in Marshal_Struct ms1, out Marshal_Struct ms2); // test a - // struct - void test_union (in Marshal_Union u1, out Marshal_Union u2); // test a - // union. - void test_any (in any a1, out any a2); // test an Any - /* - void test_sequence (in ShortSeq ss1, in LongSeq ls1, in OctetSeq os1, in - CharSeq cs1, in DoubleSeq ds1, in StructSeq Ss1, in - UnionSeq us1, in AnySeq as1, - out ShortSeq ss2, out LongSeq ls2, out OctetSeq os2, out - CharSeq cs2, out DoubleSeq ds2, out StructSeq Ss2, out - UnionSeq us2, out AnySeq as2); - */ - void test_sequence (in AnySeq as1, out AnySeq as2); // this will result in a - // 3 level indirection - - // sequence, any, and its - // value type - void test_recursive (in Marshal_Recursive mr1, out Marshal_Recursive mr2); // - // very complicated -}; - - - - - - - diff --git a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.cpp b/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.cpp deleted file mode 100644 index fcd4aead376..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.cpp +++ /dev/null @@ -1,1338 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Orbix marshal benchmark -// -// = FILENAME -// orbix_marshal_proxy.cpp -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -//#define USE_INIT -#include "orbix_marshal_client.h" - -#if !defined (__ACE_INLINE__) -#include "orbix_marshal_client.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(Orbix, orbix_marshal_client, "$Id$") - -int -Orbix_Marshal_Client_Proxy::run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - char **argv; - int argc; - CORBA::Object_ptr target; - char *markerserver; - int mlen=0, slen=0; // length of marker and service name - -#if 0 - // get the argument list to be passed on to the ORB_init method - argv = options.orb_init_args (argc); - - // get the orb. Pass any ORB_init arguments - this->orb_ = CORBA::ORB_init (argc, (char *const *)argv, "Orbix"); - if (this->orb_ == 0) - { - ACE_DEBUG ((LM_DEBUG, "ORB_init failed\n")); - return -1; - } -#endif - - // create a marker server - if (options.service_name ()) - slen = ACE_OS::strlen (options.service_name ()); - if (options.object_name ()) - mlen = ACE_OS::strlen (options.object_name ()); - - if (slen > 0) - { - markerserver = new char [mlen+slen+1+1]; - ACE_OS::sprintf (markerserver, "%s:%s", (mlen ? options.object_name ():""), - options.service_name ()); - ACE_DEBUG ((LM_DEBUG, "markerserver = %s\n", markerserver)); - } - else // server name is required - { - markerserver = NULL; - } - - // get the obj ref by binding it to the specified host using the specified obj_name - try { - target = Marshal::_bind (markerserver, options.hostname ()); - } - catch (CORBA::SystemException &se) - { - cerr << "failed to bind: " << &se << endl; - return 0; - } - if (CORBA::is_nil (target)) - { - ACE_DEBUG ((LM_DEBUG, "bind call failed\n")); - return -1; - } - - this->ref_ = Marshal::_narrow (target); - if (CORBA::is_nil (this->ref_)) - { - ACE_DEBUG ((LM_DEBUG, "narrow to Marshal failed\n")); - return -1; - } - - // tell the "results" object what file it must store the results into - results.filename (options.filename ()); - - // use SII or DII accordingly - switch (options.policy ()) - { - case CORBA_Marshal_Options::STATIC : // use SII - return this->use_sii (options, results); - break; - case CORBA_Marshal_Options::DYNAMIC : // use DII - return this->use_dii (options, results); - break; - default: - ACE_DEBUG ((LM_DEBUG, "bad policy\n")); - return -1; - } - // hopefully we are never here, else something is seriously wrong - return -1; -} - -int -Orbix_Marshal_Client_Proxy::use_sii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - int i; - int status = 0; - // This method tests the static invocation interface - - for (i=0; i < options.iterations () && !status; i++) - { - switch (options.data_type ()) - { - // shorts - case CORBA_Marshal_Options::SHORT: - status = sii_test_short (options, results); - break; - // longs - case CORBA_Marshal_Options::LONG: - status = sii_test_long (options, results); - break; - // octets - case CORBA_Marshal_Options::OCTET: - status = sii_test_octet (options, results); - break; - // chars - case CORBA_Marshal_Options::CHAR: - status = sii_test_char (options, results); - break; - // doubles - case CORBA_Marshal_Options::DOUBLE: - status = sii_test_double (options, results); - break; - // Structs - case CORBA_Marshal_Options::STRUCT: - status = sii_test_struct (options, results); - break; - // unions - case CORBA_Marshal_Options::UNION: - status = sii_test_union (options, results); - break; - // anys - case CORBA_Marshal_Options::ANY: - status = sii_test_any (options, results); - break; - // sequences - case CORBA_Marshal_Options::SEQUENCE: - status = sii_test_sequence (options, results); - break; - // longs - case CORBA_Marshal_Options::RECURSIVE: - // status = sii_test_recursive (options, results); - // doesn't work - break; - default: - status = -1; - } // end of switch - } // for loop - - if (!status) - return 0; - else - return -1; -} - -int -Orbix_Marshal_Client_Proxy::use_dii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - int i; - int status = 0; - // This method tests the dynamic invocation interface - - for (i=0; i < options.iterations () && !status; i++) - { - switch (options.data_type ()) - { - // shorts - case CORBA_Marshal_Options::SHORT: - status = dii_test_short (options, results); - break; - // longs - case CORBA_Marshal_Options::LONG: - status = dii_test_long (options, results); - break; - // octets - case CORBA_Marshal_Options::OCTET: - status = dii_test_octet (options, results); - break; - // chars - case CORBA_Marshal_Options::CHAR: - status = dii_test_char (options, results); - break; - // doubles - case CORBA_Marshal_Options::DOUBLE: - status = dii_test_double (options, results); - break; - // Structs - case CORBA_Marshal_Options::STRUCT: - status = dii_test_struct (options, results); - break; - // unions - case CORBA_Marshal_Options::UNION: - status = dii_test_union (options, results); - break; - // anys - case CORBA_Marshal_Options::ANY: - status = dii_test_any (options, results); - break; - // sequences - case CORBA_Marshal_Options::SEQUENCE: - status = dii_test_sequence (options, results); - break; - // longs - case CORBA_Marshal_Options::RECURSIVE: - // status = dii_test_recursive (options, results); - // doesn't work - break; - default: - status = -1; - } // end of switch - } // for loop - - if (!status) - return 0; - else - return -1; -} - - -// all helper functions : SII -int -Orbix_Marshal_Client_Proxy::sii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - CORBA::Short s1, s2; - s1 = 3; - ref_->test_short (s1, s2); - if (s2 == 2*s1) - { - ACE_DEBUG ((LM_DEBUG, "SII test_short success: s1 = %d, s2 = %d\n", s1, s2)); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_short failed: s1 = %d, s2 = %d\n", s1, s2)); - return -1; - } -} - -int -Orbix_Marshal_Client_Proxy::sii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - CORBA::Long l1, l2; - l1 = 256; - ref_->test_long (l1, l2); - if (l2 == 3*l1) - { - ACE_DEBUG ((LM_DEBUG, "SII test_long success: l1 = %d, l2 = %d\n", l1, l2)); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_long failed: l1 = %d, l2 = %d\n", l1, l2)); - return -1; - } -} - -int -Orbix_Marshal_Client_Proxy::sii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // octets -{ - CORBA::Octet o1, o2; - o1 = (CORBA::Octet) 127; - ref_->test_octet (o1, o2); - if (o1 == o2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_octet success: o1 = %c, o2 = %c\n", o1, o2)); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_octet failed: o1 = %c, o2 = %c\n", o1, o2)); - return -1; - } -} - -int -Orbix_Marshal_Client_Proxy::sii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // chars -{ - CORBA::Char c1, c2; - c1 = 'B'; - ref_->test_char (c1, c2); - if (c1 == c2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_char success: c1 = %c, c2 = %c\n", c1, c2)); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_char failed: c1 = %c, c2 = %c\n", c1, c2)); - return -1; - } -} - -int -Orbix_Marshal_Client_Proxy::sii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // doubles -{ - CORBA::Double d1, d2; - d1 = 3.1415; - ref_->test_double (d1, d2); - if (d2 == d1/2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_double success: d1 = %f, d2 = %f\n", d1, d2)); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_double failed: d1 = %f, d2 = %f\n", d1, d2)); - return -1; - } -} - -int -Orbix_Marshal_Client_Proxy::sii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // structs -{ - Marshal::Marshal_Struct ms1, ms2; - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA::Octet) 127; - ms1.d = 3.1415; - - ref_->test_struct (ms1, ms2); - if (ms1.s == ms2.s && ms1.l == ms2.l && ms1.c == ms2.c && ms1.o == ms2.o && - ms1.d == ms2.d) - { - ACE_DEBUG ((LM_DEBUG, "SII test_struct success\n")); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_struct failed\n")); - return -1; - } -} - -int -Orbix_Marshal_Client_Proxy::sii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // unions -{ - Marshal::Marshal_Union u1, u2; - Marshal::Marshal_Struct ms; - - // first test an enumerated case - // u1._d (Marshal::e_1st); Orbix does this on its own - u1.l (4567); - - ref_->test_union (u1, u2); - if ( (u1._d () == u2._d()) && (u1.l () == u2.l ())) - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for long (case e_1st) success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for long (case e_1st) failed\n")); - return -1; - } - - // now test the default case - // In Orbix, setting each field like this will not work because the poor - // Union has no clue what discriminant it must set to. -#if 0 - u1.ms ().s = 3; - u1.ms ().l = 256; - u1.ms ().c = 'B'; - u1.ms ().o = (CORBA::Octet) 127; - u1.ms ().d = 3.1415; -#endif - ms.s = 3; - ms.l = 256; - ms.c = 'B'; - ms.o = (CORBA::Octet) 127; - ms.d = 3.1415; - - u1.ms (ms); - - ref_->test_union (u1, u2); - - if (u1.ms ().s == u2.ms ().s && u1.ms ().l == u2.ms ().l && u1.ms ().c == u2.ms ().c && u1.ms ().o == u2.ms ().o && - u1.ms ().d == u2.ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for default (case e_6th) success\n")); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for default (case e_6th) failed\n")); - return -1; - } -} - -int -Orbix_Marshal_Client_Proxy::sii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // we send a struct thru the any - CORBA::Any a1, *a2; - Marshal::Marshal_Struct ms1, *ms2; - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA::Octet) 127; - ms1.d = 3.1415; - - // populate the any with a MarshalStruct - a1 <<= ms1; - - a2 = new CORBA::Any; - - // now test it - ref_->test_any (a1, a2); - - // check if the two typecodes are equal - if (a2->type ()->equal (Marshal::_tc_Marshal_Struct)) - { - // now see if the values are same - ms2 = (Marshal::Marshal_Struct *)a2->value (); - if (ms1.s == ms2->s && ms1.l == ms2->l && ms1.c == ms2->c && ms1.o == ms2->o && - ms1.d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "SII test_any success\n")); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_any value match failed\n")); - return -1; - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_any failed due to typecode mismatch\n")); - } - return 0; -} - -int -Orbix_Marshal_Client_Proxy::sii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // make a sequence of Anys and fill each one with a different data type - Marshal::AnySeq as1 (7), *as2; - Marshal::Marshal_Struct ms; - Marshal::Marshal_Union u; - - ms.s = 3; - ms.l = 256; - ms.c = 'B'; - ms.o = (CORBA::Octet) 127; - ms.d = 3.1415; - - u.ms (ms); - - // it looks like we must tell the sequence how many elements it is going to - // carry. By just fixing the max value does not work. - - as1.length (7); - - as1[0] <<= (CORBA::Short)3; - as1[1] <<= (CORBA::Long) 256; - as1[2] <<= CORBA::Any::from_octet ((CORBA::Octet)127); - as1[3] <<= CORBA::Any::from_char ('B'); - as1[4] <<= (CORBA::Double)3.1415; // double - as1[5] <<= ms; // struct - as1[6] <<= u; // union - - as2 = new Marshal::AnySeq; - - ref_->test_sequence (as1, as2); - - ACE_DEBUG ((LM_DEBUG, "SII test_sequence\n")); - if (as1.length () == as2->length ()) - { - // now make sure that the elements are same - for (int i=0; i < as1.length (); i++) - { - if (as1[i].type ()->equal ((*as2)[i].type ())) - { - // now see if the values are same - switch (i) - { - case 0: - if (*(CORBA::Short *)as1[i].value () == *(CORBA::Short - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, shorts matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on shorts match\n")); - } - break; - case 1: - if (*(CORBA::Long *)as1[i].value () == *(CORBA::Long - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, longs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on longs match\n")); - } - break; - case 2: - if (*(CORBA::Octet *)as1[i].value () == *(CORBA::Octet - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, octets matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on octets match\n")); - } - break; - case 3: - if (*(CORBA::Char *)as1[i].value () == *(CORBA::Char - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, chars matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on chars match\n")); - } - break; - case 4: - if (*(CORBA::Double *)as1[i].value () == *(CORBA::Double - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, doubles matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on doubles match\n")); - } - break; - case 5: - { - Marshal::Marshal_Struct *ms1, *ms2; - - ms1 = (Marshal::Marshal_Struct *)as1[i].value (); - ms2 = (Marshal::Marshal_Struct *)(*as2)[i].value (); - - if (ms1->s == ms2->s && ms1->l == ms2->l && ms1->c == ms2->c && ms1->o == ms2->o && - ms1->d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, structs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on structs match\n")); - } - } - break; - case 6: - { - Marshal::Marshal_Union *u1, *u2; - - u1 = (Marshal::Marshal_Union *)as1[i].value (); - u2 = (Marshal::Marshal_Union *)(*as2)[i].value (); - - if (u1->_d () == u2->_d () && u1->ms ().s == u2->ms ().s && - u1->ms ().l == u2->ms ().l && - u1->ms ().c == u2->ms ().c && u1->ms ().o == u2->ms ().o && - u1->ms ().d == u2->ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, unions matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on unions match\n")); - } - } - break; - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "SII test_sequence: typecode mismatch for element %d\n", i)); - break; - } - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_sequence failed: as2->length = %d\n", - as2->length ())); - } - return 0; -} - -int -Orbix_Marshal_Client_Proxy::sii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // we will try a simple one here - Marshal::Marshal_Recursive mr1, *elem1, *mr2, *elem2; - - mr1.value <<= (CORBA::Long)1; - mr1.next.length (1); // sequence of length 1 - - // fill the element - elem1 = &mr1.next[0]; - elem1->value <<= CORBA::Any::from_char ('D'); - elem1->next.length (0); // end of seq - - mr2 = new Marshal::Marshal_Recursive; - - try { - ref_->test_recursive (mr1, mr2); - } - catch (CORBA::SystemException &se){ - cerr << "error invoking request: " << se << endl; - } - - elem2 = &mr2->next[0]; - - if ((*(CORBA::Long *)mr1.value.value () == *(CORBA::Long*)mr2->value.value ()) - && (mr1.next.length () == mr2->next.length ()) // same length sequence - && (*(CORBA::Char *)elem1->value.value () == *(CORBA::Char *)elem2->value.value ()) - && (elem1->next.length () == elem2->next.length ())) - { - ACE_DEBUG ((LM_DEBUG, "SII test_recursive success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_recursive failure\n")); - } - - return 0; -} - -// ------------------------------------------------------- -// all helper functions : DII -// ------------------------------------------------------- - -int -Orbix_Marshal_Client_Proxy::dii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - CORBA::Short s1, s2; - - s1 = 3; - s2 = 0; - - orb_->create_list(2, arglist); // 2 arguments to be added - *(arglist->add (CORBA::ARG_IN)->value ()) <<= s1; - // this usage is also correct. All we care is to supply a storage area for - // the OUT parameter - // arglist->add (CORBA::ARG_OUT)->value ()->replace (CORBA::_tc_short, &s2); - *(arglist->add (CORBA::ARG_OUT)->value ()) <<= s2; - orb_->create_list(1, result_list); // 1 result - result = result_list->item (0); - - // create a request - ref_->_create_request(ctx, - "test_short", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= s2; - - if (s2 == 2*s1) - { - ACE_DEBUG ((LM_DEBUG, "DII test_short success: s1 = %d, s2 = %d\n", s1, s2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_short failed: s1 = %d, s2 = %d\n", s1, s2)); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Orbix_Marshal_Client_Proxy::dii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - CORBA::Long l1, l2; - - l1 = 256; - - orb_->create_list(2, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= l1; - arglist->add(CORBA::ARG_OUT)->value()->replace (CORBA::_tc_long, &l2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_long", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= l2; - - if (l2 == 3*l1) - { - ACE_DEBUG ((LM_DEBUG, "DII: test_long success: l1 = %d, l2 = %d\n", l1, l2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII: test_long failed: l1 = %d, l2 = %d\n", l1, l2)); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Orbix_Marshal_Client_Proxy::dii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // octets -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - CORBA::Octet o1, o2; - - o1 = (CORBA::Octet) 127; - - orb_->create_list(2, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= CORBA::Any::from_octet (o1); - arglist->add(CORBA::ARG_OUT)->value()->replace (CORBA::_tc_octet, &o2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_octet", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= CORBA::Any::to_octet (o2); - - if (o1 == o2) - { - ACE_DEBUG ((LM_DEBUG, "DII test_octet success: o1 = %c, o2 = %c\n", o1, o2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_octet failed: o1 = %c, o2 = %c\n", o1, o2)); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Orbix_Marshal_Client_Proxy::dii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // chars -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - CORBA::Char c1, c2; - - c1 = 'B'; - - orb_->create_list(2, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= CORBA::Any::from_char (c1); - arglist->add(CORBA::ARG_OUT)->value()->replace (CORBA::_tc_char, &c2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_char", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= CORBA::Any::to_char (c2); - - if (c1 == c2) - { - ACE_DEBUG ((LM_DEBUG, "DII test_char success: c1 = %c, c2 = %c\n", c1, c2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_char failed: c1 = %c, c2 = %c\n", c1, c2)); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Orbix_Marshal_Client_Proxy::dii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // doubles -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - CORBA::Double d1, d2; - - d1 = 3.1415; - - orb_->create_list(2, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= d1; - arglist->add(CORBA::ARG_OUT)->value()->replace (CORBA::_tc_double, &d2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_double", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= d2; - - if (d2 == d1/2) - { - ACE_DEBUG ((LM_DEBUG, "DII test_double success: d1 = %f, d2 = %f\n", d1, d2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_double failed: d1 = %f, d2 = %f\n", d1, d2)); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Orbix_Marshal_Client_Proxy::dii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // structs -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - Marshal::Marshal_Struct ms1, *ms2=0; - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA::Octet) 127; - ms1.d = 3.1415; - - orb_->create_list(2, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= ms1; - arglist->add(CORBA::ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Struct, ms2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_struct", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= ms2; - - if (ms1.s == ms2->s && ms1.l == ms2->l && ms1.c == ms2->c && ms1.o == ms2->o && - ms1.d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "DII test_struct success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_struct failed\n")); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Orbix_Marshal_Client_Proxy::dii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // unions -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - Marshal::Marshal_Union u1, *u2 = 0; - Marshal::Marshal_Struct ms; - - - // first test an enumerated case - // u1._d (Marshal::e_1st); - u1.l (4567); - - orb_->create_list(2, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= u1; - arglist->add(CORBA::ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Union, u2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_union", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= u2; - - if ( (u1._d () == u2->_d()) && (u1.l () == u2->l ())) - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for long (case e_1st) success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for long (case e_1st) failed\n")); - } - delete u2; - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - - // test the default case - ms.s = 3; - ms.l = 256; - ms.c = 'B'; - ms.o = (CORBA::Octet) 127; - ms.d = 3.1415; - - u1.ms (ms); - u2 = 0; - - orb_->create_list(2, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= u1; - arglist->add(CORBA::ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Union, u2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_union", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= u2; - - if (u1.ms ().s == u2->ms ().s && u1.ms ().l == u2->ms ().l && u1.ms ().c == u2->ms ().c && u1.ms ().o == u2->ms ().o && - u1.ms ().d == u2->ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for default (case e_6th) success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for default (case e_6th) failed\n")); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Orbix_Marshal_Client_Proxy::dii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - // we send a struct thru the any - CORBA::Any a1, *a2; - Marshal::Marshal_Struct ms1, *ms2; - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA::Octet) 127; - ms1.d = 3.1415; - - // populate the any with a MarshalStruct - a1 <<= ms1; - - a2 = new CORBA::Any; - - // now test it - orb_->create_list(2, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= a1; - arglist->add(CORBA::ARG_OUT)->value()->replace (CORBA::_tc_any, a2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_any", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= (*a2); - - // check if the two typecodes are equal - if (a2->type ()->equal (Marshal::_tc_Marshal_Struct)) - { - // now see if the values are same - ms2 = (Marshal::Marshal_Struct *)a2->value (); - if (ms1.s == ms2->s && ms1.l == ms2->l && ms1.c == ms2->c && ms1.o == ms2->o && - ms1.d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "DII test_any success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_any value match failed\n")); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_any failed due to typecode mismatch\n")); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Orbix_Marshal_Client_Proxy::dii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - // make a sequence of Anys and fill each one with a different data type - Marshal::AnySeq as1 (7), *as2; - Marshal::Marshal_Struct ms; - Marshal::Marshal_Union u; - - ms.s = 3; - ms.l = 256; - ms.c = 'B'; - ms.o = (CORBA::Octet) 127; - ms.d = 3.1415; - - u.ms (ms); - - // it looks like we must tell the sequence how many elements it is going to - // carry. By just fixing the max value does not work. - - as1.length (7); - - as1[0] <<= (CORBA::Short)3; - as1[1] <<= (CORBA::Long) 256; - as1[2] <<= CORBA::Any::from_octet ((CORBA::Octet)127); - as1[3] <<= CORBA::Any::from_char ('B'); - as1[4] <<= (CORBA::Double)3.1415; // double - as1[5] <<= ms; // struct - as1[6] <<= u; // union - - as2 = new Marshal::AnySeq; - - orb_->create_list(2, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= as1; - arglist->add(CORBA::ARG_OUT)->value()->replace (Marshal::_tc_AnySeq, as2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_sequence", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= as2; - - ACE_DEBUG ((LM_DEBUG, "DII test_sequence\n")); - if (as1.length () == as2->length ()) - { - // now make sure that the elements are same - for (int i=0; i < as1.length (); i++) - { - if (as1[i].type ()->equal ((*as2)[i].type ())) - { - // now see if the values are same - switch (i) - { - case 0: - if (*(CORBA::Short *)as1[i].value () == *(CORBA::Short - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, shorts matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on shorts match\n")); - } - break; - case 1: - if (*(CORBA::Long *)as1[i].value () == *(CORBA::Long - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, longs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on longs match\n")); - } - break; - case 2: - if (*(CORBA::Octet *)as1[i].value () == *(CORBA::Octet - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, octets matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on octets match\n")); - } - break; - case 3: - if (*(CORBA::Char *)as1[i].value () == *(CORBA::Char - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, chars matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on chars match\n")); - } - break; - case 4: - if (*(CORBA::Double *)as1[i].value () == *(CORBA::Double - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, doubles matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on doubles match\n")); - } - break; - case 5: - { - Marshal::Marshal_Struct *ms1, *ms2; - - ms1 = (Marshal::Marshal_Struct *)as1[i].value (); - ms2 = (Marshal::Marshal_Struct *)(*as2)[i].value (); - - if (ms1->s == ms2->s && ms1->l == ms2->l && ms1->c == ms2->c && ms1->o == ms2->o && - ms1->d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, structs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on structs match\n")); - } - } - break; - case 6: - { - Marshal::Marshal_Union *u1, *u2; - - u1 = (Marshal::Marshal_Union *)as1[i].value (); - u2 = (Marshal::Marshal_Union *)(*as2)[i].value (); - - if (u1->_d () == u2->_d () && u1->ms ().s == u2->ms ().s && - u1->ms ().l == u2->ms ().l && - u1->ms ().c == u2->ms ().c && u1->ms ().o == u2->ms ().o && - u1->ms ().d == u2->ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, unions matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on unions match\n")); - } - } - break; - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "DII test_sequence: typecode mismatch for element %d\n", i)); - break; - } - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_sequence failed: as2->length = %d\n", - as2->length ())); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Orbix_Marshal_Client_Proxy::dii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // we will try a simple one here - Marshal::Marshal_Recursive mr1, *elem1, *mr2, *elem2; - - mr1.value <<= (CORBA::Long)1; - mr1.next.length (1); // sequence of length 1 - - // fill the element - elem1 = &mr1.next[0]; - elem1->value <<= CORBA::Any::from_char ('D'); - elem1->next.length (0); // end of seq - - mr2 = new Marshal::Marshal_Recursive; - - try { - ref_->test_recursive (mr1, mr2); - } - catch (CORBA::SystemException &se){ - cerr << "error invoking request: " << se << endl; - } - - elem2 = &mr2->next[0]; - - if ((*(CORBA::Long *)mr1.value.value () == *(CORBA::Long*)mr2->value.value ()) - && (mr1.next.length () == mr2->next.length ()) // same length sequence - && (*(CORBA::Char *)elem1->value.value () == *(CORBA::Char *)elem2->value.value ()) - && (elem1->next.length () == elem2->next.length ())) - { - ACE_DEBUG ((LM_DEBUG, "DII test_recursive success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_recursive failure\n")); - } - - return 0; -} - diff --git a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.h b/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.h deleted file mode 100644 index c22f71f0d16..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.h +++ /dev/null @@ -1,125 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Orbix Benchmark -// -// = FILENAME -// orbix_marshal_client.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _ORBIX_MARSHAL_CLIENT_H_ -#define _ORBIX_MARSHAL_CLIENT_H_ - -// benchmark library includes -#include "benchmark/marshal_options.h" -#include "benchmark/marshal_results.h" -#include "benchmark/marshal_proxy.h" - -// include Orbix specific include files -#include "marshal.h" // generated by IDL compiler - -class Orbix_Marshal_Client_Proxy : public CORBA_Marshal_Proxy -{ - // =TITLE - // Orbix_Marshal_Client_Proxy - // =DESCRIPTION - // Orbix client size specialization of the CORBA Marshal proxy class -public: - Orbix_Marshal_Client_Proxy (void); - // constructor - - ~Orbix_Marshal_Client_Proxy (void); - // destructor - - virtual int run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // do the actual work - - virtual int use_sii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // use the static invocation interface - - virtual int use_dii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // use the dynamic invocation interface -private: - // =helper functions - int sii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - // all the DII helpers - int dii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - CORBA::ORB_ptr orb_; - // handle to the underlying orb - - Marshal_ptr ref_; - // the object reference -}; - -#if defined (__ACE_INLINE__) -#include "orbix_marshal_client.i" -#endif /* __ACE_INLINE__ */ - -#endif diff --git a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.i b/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.i deleted file mode 100644 index a99b72db952..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.i +++ /dev/null @@ -1,23 +0,0 @@ -// $Id$ - - -ACE_INLINE -Orbix_Marshal_Client_Proxy::Orbix_Marshal_Client_Proxy (void) - : orb_ (CORBA::ORB::_nil ()), - ref_ (0) -{ -} - -ACE_INLINE -Orbix_Marshal_Client_Proxy::~Orbix_Marshal_Client_Proxy (void) -{ - // releasing order is important - - // release the reference - CORBA::release (ref_); - - // release the ORB - CORBA::release (orb_); -} - - diff --git a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.cpp b/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.cpp deleted file mode 100644 index 282d9e4f309..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.cpp +++ /dev/null @@ -1,313 +0,0 @@ -// $Id$ - -#include "orbix_marshal_impl.h" - -#if !defined (__ACE_INLINE__) -#include "orbix_marshal_impl.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(Orbix, orbix_marshal_impl, "$Id$") - -// All the methods of the SSI class -void -Marshal_SSI_Impl::test_short (CORBA::Short s1, - CORBA::Short &s2, - CORBA::Environment &IT_env) -{ - s2 = 2*s1; -} - -void -Marshal_SSI_Impl::test_long (CORBA::Long l1, - CORBA::Long &l2, - CORBA::Environment &IT_env) -{ - l2 = 3*l1; -} - -void -Marshal_SSI_Impl::test_octet (CORBA::Octet o1, - CORBA::Octet &o2, - CORBA::Environment &IT_env) -{ - o2 = o1; -} - -void -Marshal_SSI_Impl::test_char (CORBA::Char c1, - CORBA::Char &c2, - CORBA::Environment &IT_env) -{ - c2 = c1; -} - -void -Marshal_SSI_Impl::test_double (CORBA::Double d1, - CORBA::Double &d2, - CORBA::Environment &IT_env) -{ - d2 = d1/2; -} - -void -Marshal_SSI_Impl::test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2, - CORBA::Environment &IT_env) -{ - ms2.s = ms1.s; - ms2.l = ms1.l; - ms2.c = ms1.c; - ms2.o = ms1.o; - ms2.d = ms1.d; -} - -void -Marshal_SSI_Impl::test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2, - CORBA::Environment &IT_env) -{ - switch (u1._d ()) - { - case Marshal::e_0th: - u2.s (u1.s ()); // set short - break; - case Marshal::e_1st: - u2.l (u1.l ()); // set long - break; - case Marshal::e_2nd: - u2.c (u1.c ()); // set char - break; - case Marshal::e_3rd: - u2.o (u1.o ()); // set octet - break; - case Marshal::e_4th: - u2.d (u1.d ()); // set double - break; - case Marshal::e_5th: - default: - u2.ms (u1. ms ()); // set structs - break; - } -} - -void -Marshal_SSI_Impl::test_any (const CORBA::Any &a1, - CORBA::Any *&a2, - CORBA::Environment &IT_env) -{ - a2 = new CORBA::Any (a1.type (), (void *)a1.value ()); // will do a deep copy -} - -void -Marshal_SSI_Impl::test_sequence (const Marshal::AnySeq& as1, - Marshal::AnySeq *& as2, - CORBA::Environment &IT_env) -{ - as2 = new Marshal::AnySeq (as1); -} - -void -Marshal_SSI_Impl::test_recursive (const Marshal::Marshal_Recursive &mr1, - Marshal::Marshal_Recursive *&mr2, - CORBA::Environment &IT_env) -{ -} - -//---------------------------------------------------------------------------- -//the methods of the DSI implementation class - -void -Marshal_DSI_Impl::invoke (CORBA::ServerRequest& req, CORBA::Environment_ptr - ep, CORBA::Environment &IT_env) -{ - ACE_DEBUG ((LM_DEBUG, "************ inside invoke **********\n")); - // parse the incoming request and find out for what operation it is. We use a - // simple linear search here - if (!ACE_OS::strcmp (req.op_name (IT_env), "test_short")) - { - test_short_skel (req); - } - else if (!ACE_OS::strcmp (req.op_name (), "test_long")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_octet")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_char")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_double")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_struct")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_union")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_any")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_sequence")) - { - } -} - -void -Marshal_DSI_Impl::test_short (CORBA::Short s1, - CORBA::Short &s2) -{ - s2 = 5*s1; -} - -void -Marshal_DSI_Impl::test_long (CORBA::Long l1, - CORBA::Long &l2) -{ - l2 = l1; -} - -void -Marshal_DSI_Impl::test_octet (CORBA::Octet o1, - CORBA::Octet &o2) -{ - o2 = o1; -} - -void -Marshal_DSI_Impl::test_char (CORBA::Char c1, - CORBA::Char &c2) -{ - c2 = c1; -} - -void -Marshal_DSI_Impl::test_double (CORBA::Double d1, - CORBA::Double &d2) -{ - d2 = d1; -} - -void -Marshal_DSI_Impl::test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2) -{ - ms2.s = ms1.s; - ms2.l = ms1.l; - ms2.c = ms1.c; - ms2.o = ms1.o; - ms2.d = ms1.d; -} - -void -Marshal_DSI_Impl::test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2) -{ - switch (u1._d ()) - { - case Marshal::e_0th: - u2.s (u1.s ()); // set short - break; - case Marshal::e_1st: - u2.l (u1.l ()); // set long - break; - case Marshal::e_2nd: - u2.c (u1.c ()); // set char - break; - case Marshal::e_3rd: - u2.o (u1.o ()); // set octet - break; - case Marshal::e_4th: - u2.d (u1.d ()); // set double - break; - case Marshal::e_5th: - default: - u2.ms (u1. ms ()); // set structs - break; - } -} - -void -Marshal_DSI_Impl::test_any (const CORBA::Any &a1, - CORBA::Any *&a2) -{ - a2 = new CORBA::Any (a1.type (), (void *)a1.value ()); // will do a deep copy -} - -void -Marshal_DSI_Impl::test_sequence (const Marshal::AnySeq& as1, - Marshal::AnySeq *& as2) -{ - as2 = new Marshal::AnySeq (as1); -} - -void -Marshal_DSI_Impl::test_recursive (const Marshal::Marshal_Recursive &mr1, - Marshal::Marshal_Recursive *&mr2) -{ -} - -// all the helper functions for the DSI class -void -Marshal_DSI_Impl::test_short_skel (CORBA::ServerRequest& req) -{ - CORBA::NVList_ptr short_nv; - CORBA::Any *any_s1, *any_s2; - CORBA::Short s1 = 0, s2 = 0; - - orb_->create_list (2, short_nv); // parse 2 args - any_s1 = new CORBA::Any (CORBA::_tc_short, &s1, 0); - any_s2 = new CORBA::Any (CORBA::_tc_short, &s2, 0); - short_nv->add_value ("s1", *any_s1, CORBA::ARG_IN); - short_nv->add_value ("s2", *any_s2, CORBA::ARG_OUT); - - req.params (short_nv); - - test_short (s1, s2); - ACE_DEBUG ((LM_DEBUG, ">>>>>>>s1 = %d and s2 = %d\n<<<<<<<<", s1, s2)); -} - -void -Marshal_DSI_Impl::test_long_skel (CORBA::ServerRequest& req) -{ -} - -void -Marshal_DSI_Impl::test_octet_skel (CORBA::ServerRequest& req) -{ -} - -void -Marshal_DSI_Impl::test_char_skel (CORBA::ServerRequest& req) -{ -} - -void -Marshal_DSI_Impl::test_double_skel (CORBA::ServerRequest& req) -{ -} - -void -Marshal_DSI_Impl::test_struct_skel (CORBA::ServerRequest& req) -{ -} - -void -Marshal_DSI_Impl::test_union_skel (CORBA::ServerRequest& req) -{ -} - -void -Marshal_DSI_Impl::test_any_skel (CORBA::ServerRequest& req) -{ -} - -void -Marshal_DSI_Impl::test_sequence_skel (CORBA::ServerRequest& req) -{ -} - -void -Marshal_DSI_Impl::test_recursive_skel (CORBA::ServerRequest& req) -{ -} diff --git a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.h b/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.h deleted file mode 100644 index 2b62f4bb81b..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.h +++ /dev/null @@ -1,195 +0,0 @@ -// $Id$ - -#ifndef ORBIX_MARSHAL_IMPL_H -#define ORBIX_MARSHAL_IMPL_H - -// to include DSI related files - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "marshal.h" - - -class Marshal_SSI_Impl - : public virtual MarshalBOAImpl -{ - // =TITLE - // Marshal_SSI_Impl - // =DESCRIPTION - // Implementation of the interface using the static skeleton interface -public: - Marshal_SSI_Impl (const char *object_name = (const char *)NULL); - // constructor - - ~Marshal_SSI_Impl (void); - // destructor - - virtual void test_short (CORBA::Short s1, - CORBA::Short& s2, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - // test short - - virtual void test_long (CORBA::Long l1, - CORBA::Long& l2, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - // test long - - virtual void test_octet (CORBA::Octet o1, - CORBA::Octet& o2, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - // test octet - - virtual void test_char (CORBA::Char c1, - CORBA::Char& c2, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - // test char - - virtual void test_double (CORBA::Double d1, - CORBA::Double& d2, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - // test double - - virtual void test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - // test struct - - virtual void test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - // test union - - virtual void test_any (const CORBA::Any& a1, - CORBA::Any *& a2, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - // test any - - /* - virtual void test_sequence (const Marshal::ShortSeq& s1, - const Marshal::LongSeq& l1, - const Marshal::OctetSeq& o1, - const Marshal::CharSeq& c1, - const Marshal::DoubleSeq& d1, - const Marshal::StructSeq& S1, - const Marshal::UnionSeq& U1, - const Marshal::AnySeq& a1, - Marshal::ShortSeq *& s2, - Marshal::LongSeq *& l2, - Marshal::OctetSeq *& o2, - Marshal::CharSeq *& c2, - Marshal::DoubleSeq *& d2, - Marshal::StructSeq *& S2, - Marshal::UnionSeq *& U2, - Marshal::AnySeq *& a2); - */ - virtual void test_sequence (const Marshal::AnySeq& a1, - Marshal::AnySeq *& a2, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - // test sequence - - virtual void test_recursive (const Marshal::Marshal_Recursive& mr1, - Marshal::Marshal_Recursive *& mr2, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - // test struct - -}; - -class Marshal_DSI_Impl : public CORBA::DynamicImplementation -{ - // =TITLE - // Marshal_DSI_Impl - // =DESCRIPTION - // Implementation of the interface using the dynamic skeleton interface -public: - Marshal_DSI_Impl (CORBA::ORB_ptr orb, const char *object_name = (const char *)NULL); - // constructor - - ~Marshal_DSI_Impl (void); - // destructor - -private: - virtual void invoke (CORBA::ServerRequest& req, CORBA::Environment_ptr, - CORBA::Environment&IT_env = - CORBA::IT_chooseDefaultEnv()); - // This method is a must - - void test_short (CORBA::Short s1, - CORBA::Short& s2); - // test short - - void test_long (CORBA::Long l1, - CORBA::Long& l2); - // test long - - void test_octet (CORBA::Octet o1, - CORBA::Octet& o2); - // test octet - - void test_char (CORBA::Char c1, - CORBA::Char& c2); - // test char - - void test_double (CORBA::Double d1, - CORBA::Double& d2); - // test double - - void test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2); - // test struct - - void test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2); - // test union - - void test_any (const CORBA::Any& a1, - CORBA::Any *& a2); - // test any - - void test_sequence (const Marshal::AnySeq& a1, - Marshal::AnySeq *& a2); - // test sequence - - void test_recursive (const Marshal::Marshal_Recursive& mr1, - Marshal::Marshal_Recursive *& mr2); - // test struct - -private: - //= helper functions - they behave as if they were skeletons - void test_short_skel (CORBA::ServerRequest& req); - void test_long_skel (CORBA::ServerRequest& req); - void test_octet_skel (CORBA::ServerRequest& req); - void test_char_skel (CORBA::ServerRequest& req); - void test_double_skel (CORBA::ServerRequest& req); - void test_struct_skel (CORBA::ServerRequest& req); - void test_union_skel (CORBA::ServerRequest& req); - void test_any_skel (CORBA::ServerRequest& req); - void test_sequence_skel (CORBA::ServerRequest& req); - void test_recursive_skel (CORBA::ServerRequest& req); - - // we need the orb to create argument lists (NVList) for us - CORBA::ORB_ptr orb_; // not owned by us - -#if 0 - CORBA::NVList_ptr short_nv_; - CORBA::NVList_ptr long_nv_; - CORBA::NVList_ptr octet_nv_; - CORBA::NVList_ptr char_nv_; - CORBA::NVList_ptr double_nv_; - CORBA::NVList_ptr struct_nv_; - CORBA::NVList_ptr union_nv_; - CORBA::NVList_ptr any_nv_; - CORBA::NVList_ptr seq_nv_; - CORBA::NVList_ptr recursive_nv_; - CORBA::Any_ptr result_; // void result -#endif -}; - -#if defined (__ACE_INLINE__) -#include "orbix_marshal_impl.i" -#endif /* __ACE_INLINE__ */ - -#endif // defined (ORBIX_MARSHAL_IMPL_H) diff --git a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.i b/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.i deleted file mode 100644 index 0efa658c148..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.i +++ /dev/null @@ -1,29 +0,0 @@ -// $Id$ - -// constructor -ACE_INLINE -Marshal_SSI_Impl::Marshal_SSI_Impl (const char *obj_name) - : MarshalBOAImpl (obj_name) -{ -} - -// destructor -ACE_INLINE -Marshal_SSI_Impl::~Marshal_SSI_Impl (void) -{ -} - -// constructor -ACE_INLINE -Marshal_DSI_Impl::Marshal_DSI_Impl (CORBA::ORB_ptr orb, const char *obj_name) - : orb_ (orb) -{ -} - -// destructor -ACE_INLINE -Marshal_DSI_Impl::~Marshal_DSI_Impl (void) -{ - orb_ = CORBA::ORB::_nil (); -} - diff --git a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.cpp b/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.cpp deleted file mode 100644 index 205287577c1..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Orbix marshal benchmark -// -// = FILENAME -// orbix_marshal_server.cpp -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -//#define USE_INIT - -#include "orbix_marshal_server.h" - -#if !defined (__ACE_INLINE__) -#include "orbix_marshal_server.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(Orbix, orbix_marshal_server, "$Id$") - -int -Orbix_Marshal_Server_Proxy::run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - char **argv; - int argc; - -#if 0 - // get the argument list to be passed on to the ORB_init method - argv = options.orb_init_args (argc); - - // get the orb. Pass any ORB_init arguments - this->orb_ = CORBA::ORB_init (argc, (char *const *)argv, "Orbix"); - if (this->orb_ == 0) - { - ACE_DEBUG ((LM_DEBUG, "ORB_init failed\n")); - return -1; - } - - // get the argument list to be passed on to the BOA_init method - argv = options.orb_init_args (argc); - - // get the orb. Pass any ORB_init arguments - this->boa_ = this->orb_->BOA_init (argc, (char *const *)argv, "Orbix_BOA"); - if (this->boa_ == 0) - { - ACE_DEBUG ((LM_DEBUG, "ORB_init failed\n")); - return -1; - } -#endif - // tell the "results" object what file it must store the results into - results.filename (options.filename ()); - - // use SII or DII accordingly - switch (options.policy ()) - { - case CORBA_Marshal_Options::STATIC : // use SSI - this->ssi_ = new Marshal_SSI_Impl (options.object_name ()); - break; - case CORBA_Marshal_Options::DYNAMIC : // use DSI - // this->dsi_ = new Marshal_DSI_Impl (this->orb_, ACE_OS::strdup (options.object_name ())); - this->dsi_ = new Marshal_DSI_Impl (&CORBA::Orbix, ACE_OS::strdup (options.object_name ())); - // register with the BOA - try { - // we need to do a setImpl - //this->boa_->setImpl ("Marshal", *this->dsi_); - CORBA::Orbix.setImpl ("Marshal", *this->dsi_); - } - catch (CORBA::SystemException &se) - { - cerr << "system exception in obj_is_ready" << se << endl; - } - break; - default: - ACE_DEBUG ((LM_DEBUG, "bad policy\n")); - return -1; - } - - ACE_DEBUG ((LM_DEBUG, "Calling impl is ready\n")); - try { - // call impl_is_ready - // this->boa_->impl_is_ready ((char *)options.service_name ()); - CORBA::Orbix.impl_is_ready ("marshalDSI"); - } - catch (CORBA::SystemException &se) - { - cerr << "system exception: " << se << endl; - } - - return 0; -} - diff --git a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.h b/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.h deleted file mode 100644 index 3fb2fa83396..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.h +++ /dev/null @@ -1,59 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Orbix Benchmark -// -// = FILENAME -// orbix_marshal_server.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _ORBIX_MARSHAL_SERVER_H_ -#define _ORBIX_MARSHAL_SERVER_H_ - -// benchmark library includes -#include "benchmark/marshal_options.h" -#include "benchmark/marshal_results.h" -#include "benchmark/marshal_proxy.h" - -// implementation classes -#include "orbix_marshal_impl.h" - -// include Orbix specific include files -#include "marshal.h" // generated by IDL compiler - -class Orbix_Marshal_Server_Proxy : public CORBA_Marshal_Proxy -{ -public: - Orbix_Marshal_Server_Proxy (void); - // constructor - - ~Orbix_Marshal_Server_Proxy (void); - // destructor - - virtual int run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // do the actual work -private: - CORBA::ORB_ptr orb_; - // underlying orb; - - CORBA::BOA_ptr boa_; - // underlying boa; - - Marshal_SSI_Impl *ssi_; - Marshal_DSI_Impl *dsi_; - // the implementation (SSI or DSI) -}; - - -#if defined (__ACE_INLINE__) -#include "orbix_marshal_server.i" -#endif /* __ACE_INLINE__ */ - -#endif diff --git a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.i b/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.i deleted file mode 100644 index 8219d7d5042..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.i +++ /dev/null @@ -1,28 +0,0 @@ -// $Id$ - -// constructor -ACE_INLINE -Orbix_Marshal_Server_Proxy::Orbix_Marshal_Server_Proxy (void) - : orb_ (0), - boa_ (0), - ssi_ (0), - dsi_ (0) -{ -} - -// destructor -ACE_INLINE -Orbix_Marshal_Server_Proxy::~Orbix_Marshal_Server_Proxy (void) -{ - // releasing order is important - - // release the impl - delete ssi_; - delete dsi_; - - // release the BOA - CORBA::release (boa_); - - // release the ORB - CORBA::release (orb_); -} diff --git a/TAO/Benchmark/Marshal_Test/Orbix/run_client b/TAO/Benchmark/Marshal_Test/Orbix/run_client deleted file mode 100755 index b0f7503d7bc..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/run_client +++ /dev/null @@ -1,23 +0,0 @@ -echo "********* Static Invocation Interface **********" -client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T s -client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T l -client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T o -client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T c -client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T d -client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T S -client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T U -client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T A -client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T Q -#client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T R -# -echo "********* Dynamic Invocation Interface **********" -client -i 1 -h mambo -R s -P D -o ssi_marshal -n marshalSSI -T s -client -i 1 -h mambo -R s -P D -o ssi_marshal -n marshalSSI -T l -client -i 1 -h mambo -R s -P D -o ssi_marshal -n marshalSSI -T o -client -i 1 -h mambo -R s -P D -o ssi_marshal -n marshalSSI -T c -client -i 1 -h mambo -R s -P D -o ssi_marshal -n marshalSSI -T d -client -i 1 -h mambo -R s -P D -o ssi_marshal -n marshalSSI -T S -client -i 1 -h mambo -R s -P D -o ssi_marshal -n marshalSSI -T U -client -i 1 -h mambo -R s -P D -o ssi_marshal -n marshalSSI -T A -client -i 1 -h mambo -R s -P D -o ssi_marshal -n marshalSSI -T Q - diff --git a/TAO/Benchmark/Marshal_Test/Orbix/run_dsi b/TAO/Benchmark/Marshal_Test/Orbix/run_dsi deleted file mode 100755 index f44f488aee7..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/run_dsi +++ /dev/null @@ -1,4 +0,0 @@ -echo "********* Static Invocation Interface **********" -client -i 1 -h mambo -R s -P S -n marshalDSI -T s -echo "********* Dynamic Invocation Interface **********" -client -i 1 -h mambo -R s -P D -n marshalDSI -T s diff --git a/TAO/Benchmark/Marshal_Test/Orbix/run_dsi_server b/TAO/Benchmark/Marshal_Test/Orbix/run_dsi_server deleted file mode 100755 index 19dc309e0dc..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/run_dsi_server +++ /dev/null @@ -1 +0,0 @@ -putit marshalDSI "${TAO_ROOT}/Benchmark/Marshal_Test/Orbix/server -R r -P D -I V -o dsi_marshal -n marshalDSI" \ No newline at end of file diff --git a/TAO/Benchmark/Marshal_Test/Orbix/run_ssi b/TAO/Benchmark/Marshal_Test/Orbix/run_ssi deleted file mode 100755 index 9a1ca614e4e..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/run_ssi +++ /dev/null @@ -1,4 +0,0 @@ -echo "********* Static Invocation Interface **********" -client -i 1 -h mambo -R s -P S -o ssi_marshal -n marshalSSI -T s -echo "********* Dynamic Invocation Interface **********" -client -i 1 -h mambo -R s -P D -o ssi_marshal -n marshalSSI -T s diff --git a/TAO/Benchmark/Marshal_Test/Orbix/run_ssi_server b/TAO/Benchmark/Marshal_Test/Orbix/run_ssi_server deleted file mode 100755 index a0af5a0dcf4..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/run_ssi_server +++ /dev/null @@ -1 +0,0 @@ -putit marshalSSI "${TAO_ROOT}/Benchmark/Marshal_Test/Orbix/server -R r -P S -I V -o ssi_marshal -n marshalSSI" \ No newline at end of file diff --git a/TAO/Benchmark/Marshal_Test/Orbix/server.cpp b/TAO/Benchmark/Marshal_Test/Orbix/server.cpp deleted file mode 100644 index 9a0696645d8..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/server.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// $Id$ - -#include "benchmark/driver.h" -#include "orbix_marshal_server.h" - -ACE_RCSID(Orbix, server, "$Id$") - -int main (int argc, char *argv []) -{ - // instantiate a DRIVER with the Orbix_Client_Proxy as the template - CORBA_Benchmark_Driver driver (new - Orbix_Marshal_Server_Proxy ()); - - // let the driver do everything for us so that we remain very simple - return driver.run (argc, argv); -} diff --git a/TAO/Benchmark/Marshal_Test/TAO/Makefile b/TAO/Benchmark/Marshal_Test/TAO/Makefile deleted file mode 100644 index 8e512953752..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the Tao Marshal Benchmark -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -LDLIBS = -lACE -lbenchmark -lTAO - -PROG_SRCS = marshalC.cpp marshalS.cpp tao_marshal_client.cpp tao_marshal_server.cpp \ - tao_marshal_impl.cpp client.cpp server.cpp - -LSRC = $(PROG_SRCS) - -MARSHAL_CLIENT_OBJS = marshalC.o tao_marshal_client.o client.o - -MARSHAL_SERVER_OBJS = marshalC.o marshalS.o tao_marshal_impl.o tao_marshal_server.o server.o - -BIN = client server - -BUILD = $(BIN) - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local modifications to variables imported by includes above. -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -CPPFLAGS += -I$(TAO_ROOT) -I$(TAO_ROOT)/Benchmark -server: $(addprefix $(VDIR),$(MARSHAL_SERVER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(MARSHAL_CLIENT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -clean: - $(RM) core *.o *~ client server - $(MAKE) realclean - - - - - - - diff --git a/TAO/Benchmark/Marshal_Test/TAO/client.cpp b/TAO/Benchmark/Marshal_Test/TAO/client.cpp deleted file mode 100644 index 88cd1518329..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/client.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// $Id$ - -#include "benchmark/driver.h" -#include "tao_marshal_client.h" - -ACE_RCSID(TAO, client, "$Id$") - -int main (int argc, char *argv []) -{ - // instantiate a DRIVER with the Tao_Client_Proxy as the template - CORBA_Benchmark_Driver driver (new - Tao_Marshal_Client_Proxy ()); - - // let the driver do everything for us so that we remain very simple - return driver.run (argc, argv); -} diff --git a/TAO/Benchmark/Marshal_Test/TAO/marshal.idl b/TAO/Benchmark/Marshal_Test/TAO/marshal.idl deleted file mode 100644 index 077a98e58fd..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/marshal.idl +++ /dev/null @@ -1,91 +0,0 @@ -// $Id$ - -// Interface for the marshal benchmark - -interface Marshal -{ - struct Marshal_Struct - { - short s; - long l; - char c; - octet o; - double d; - }; - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th, e_6th}; - - union Marshal_Union - switch (discrim) - { - case e_0th: - short s; - case e_1st: - long l; - case e_2nd: - char c; - case e_3rd: - octet o; - case e_4th: - double d; - case e_5th: - default: // this will test typecode indirection - Marshal_Struct ms; - }; - - /* - typedef sequence ShortSeq; - typedef sequence LongSeq; - typedef sequence OctetSeq; - typedef sequence CharSeq; - typedef sequence DoubleSeq; - typedef sequence StructSeq; - typedef sequence UnionSeq; - */ - // for testing sequences of Any - typedef sequence AnySeq; - - // testing recursive behavior - // complex. - struct Marshal_Recursive - { - // we use this to test the limited recursion allowed by IDL. This is an - // ideal test for indirected typecodes. - - // simulate a behavior of a list node - any value; - sequence next; - }; - - void test_short (in short s1, out short s2); // test a short - void test_long (in long l1, out long l2); // test a long - void test_octet (in octet o1, out octet o2); // test an octet - void test_char (in char c1, out char c2); // test a char - void test_double (in double d1, out double d2); // test a double - void test_struct (in Marshal_Struct ms1, out Marshal_Struct ms2); // test a - // struct - void test_union (in Marshal_Union u1, out Marshal_Union u2); // test a - // union. - void test_any (in any a1, out any a2); // test an Any - /* - void test_sequence (in ShortSeq ss1, in LongSeq ls1, in OctetSeq os1, in - CharSeq cs1, in DoubleSeq ds1, in StructSeq Ss1, in - UnionSeq us1, in AnySeq as1, - out ShortSeq ss2, out LongSeq ls2, out OctetSeq os2, out - CharSeq cs2, out DoubleSeq ds2, out StructSeq Ss2, out - UnionSeq us2, out AnySeq as2); - */ - void test_sequence (in AnySeq as1, out AnySeq as2); // this will result in a - // 3 level indirection - - // sequence, any, and its - // value type - void test_recursive (in Marshal_Recursive mr1, out Marshal_Recursive mr2); // - // very complicated -}; - - - - - - - diff --git a/TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp b/TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp deleted file mode 100644 index ca6b04d3d15..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp +++ /dev/null @@ -1,589 +0,0 @@ -// $Id$ - -#include -#include "marshalC.h" - -ACE_RCSID(TAO, marshalC, "$Id$") - -// constructor -Marshal::Marshal(STUB_Object *refdata) - : CORBA_Object(refdata) -{ -} - -// static duplicate method -Marshal_ptr Marshal::_duplicate(Marshal_ptr obj) -{ - void *dupl; - - if (obj) - { - obj->AddRef(); - } - return obj; -} - -// static _narrow method -Marshal_ptr Marshal::_narrow(CORBA_Object_ptr obj) -{ - CORBA_Environment env; - if (obj->_is_a("IDL:Marshal:1.0", env)){ - STUB_Object *istub; - if (obj->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR){ - return Marshal::_nil(); - } - Marshal_ptr new_obj = new Marshal(istub); - return Marshal::_duplicate(new_obj); - } - return Marshal::_nil(); -} - -Marshal_ptr Marshal::_nil() -{ - return (Marshal_ptr)NULL; -} - -Marshal::Marshal_Union::Marshal_Union(const Marshal::Marshal_Union& obj) -{ - _disc = obj._d(); - switch (_disc) { - case e_0th: - __s = obj.__s; - break; - case e_1st: - __l = obj.__l; - break; - case e_2nd: - __c = obj.__c; - break; - case e_3rd: - __o = obj.__o; - break; - case e_4th: - __d = obj.__d; - break; - case e_5th: - default: - __ms = obj.__ms; - break; - } -} - -Marshal::Marshal_Union& Marshal::Marshal_Union::operator=(const Marshal::Marshal_Union& obj) -{ - _disc = obj._d(); - switch (_disc) { - case e_0th: - __s = obj.__s; - break; - case e_1st: - __l = obj.__l; - break; - case e_2nd: - __c = obj.__c; - break; - case e_3rd: - __o = obj.__o; - break; - case e_4th: - __d = obj.__d; - break; - case e_5th: - default: - __ms = obj.__ms; - break; - } - return *this; -} - -// AnySeq methods -Marshal::AnySeq::AnySeq (CORBA_ULong max) - : _maximum(max), - _length(0), - _release(0) -{ - if (this->_maximum > 0){ - this->_buffer = new CORBA_Any [this->_maximum]; - } else { - this->_buffer = 0; - } -} - -Marshal::AnySeq::AnySeq (CORBA_ULong max, CORBA_ULong length, - CORBA_Any *value, CORBA_Boolean release) - : _maximum(max), - _length(length), - _buffer(value), - _release(release) -{ -} - -Marshal::AnySeq::~AnySeq() -{ - this->_maximum = this->_length = 0; - if (this->_release != 0) - delete this->_buffer; -} - -void Marshal::AnySeq::length (CORBA_ULong newlen) -{ - if (newlen > this->_maximum) { - CORBA_Any *temp = new CORBA_Any [newlen]; - ::memcpy(temp, this->_buffer, (size_t(this->_length) * sizeof (CORBA_Any))); - if (this->_release) - delete this->_buffer; - else - this->_release = 1; - - this->_maximum = newlen; - this->_buffer = temp; - } - if (newlen > this->_length) - memset(&this->_buffer[this->_length], 0, size_t(newlen - this->_length) * - sizeof(CORBA_Any)); - this->_length = newlen; -} - -CORBA_ULong Marshal::AnySeq::length() const -{ - return this->_length; -} - -CORBA_Any &Marshal::AnySeq::operator[](CORBA_ULong index) -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -const CORBA_Any& Marshal::AnySeq::operator[](CORBA_ULong index) const -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - - -/***************** TypeCodes **************/ -// In the typecode, all repoIDs and names are omitted by providing their length -// as 1 that stands for the NULL terminator - -// encapsulated parameters for struct Marshal_Struct typecode -static const CORBA_Long _oc_Marshal_Struct [] = { - MY_BYTE_SEX, // byte order - 1, 0, // repoID omitted (16, "IDL:Marshal/Marshal:1.0") - 1, 0, // struct name (15, "Marshal_Struct") omitted - 5, // 5 struct elements - - // short - 1, 0, // should be 2, "s", - tk_short, - - // long - 1, 0, // should be 2, "l", - tk_long, - - // char - 1, 0, // should be 2, "c", - tk_char, - - // octet - 1, 0, // should be 2, "o", - tk_octet, - - // double - 1, 0, // should be 2, "d", - tk_double, -}; - - -static CORBA_TypeCode _tc__tc_Marshal_Struct (tk_struct, - sizeof _oc_Marshal_Struct, - (unsigned char *) &_oc_Marshal_Struct, - 0); -CORBA_TypeCode_ptr Marshal::_tc_Marshal_Struct = &_tc__tc_Marshal_Struct; - - -static const CORBA_Long _oc_discrim [] = { - MY_BYTE_SEX, // byte order flag (TRICKY) - 1, 0, // should be 20, "IDL:Marshal/discrim", - 1, 0, // should be 8, "discrim", - 7, // 7 elements in the enum - - 1, 0, // 6, "e_0th", // omitted member name, "e_0th" - 1, 0, // 6, "e_1st", // omitted member name, "e_1st" - 1, 0, // 6, "e_2nd", // omitted member name, "e_2nd" - 1, 0, // 6, "e_3rd", // omitted member name, "e_3rd" - 1, 0, // 6, "e_4th", // omitted member name, "e_4th" - 1, 0, // 6, "e_5th", // omitted member name, "e_5th" - 1, 0 //6, "e_6th" // omitted member name, "e_6th" -}; - -static CORBA_TypeCode _tc__tc_discrim (tk_enum, - sizeof _oc_discrim, - (unsigned char *) &_oc_discrim, - 0); - -CORBA_TypeCode_ptr Marshal::_tc_discrim = &_tc__tc_discrim; - -// Union -static const CORBA_Long _oc_Marshal_Union [] = -{ - MY_BYTE_SEX, // byte order flag (TRICKY) - 1, 0, // 26, "IDL:Marshal/Marshal_Union", // omitted repository/type ID - 1, 0, // 14, "Marshal_Union", // union name - - // - // discriminant typecode: - // - - tk_enum, // tk_enum - 80, // encapsulation length - MY_BYTE_SEX, - 1, 0, // repoID - 1, 0, // name - 7, // 7 elements in the enum - - 1, 0, // e_Oth - 1, 0, - 1, 0, - 1, 0, - 1, 0, - 1, 0, - 1, 0, // e_6th - - 5, // default member index (zero based) - 6, // number of union members - - // the 1st union branch arm - Marshal::e_0th, // member label value - 1, 0, // omitted member name, "s" - tk_short, // member typecode - - // the 2nd union branch arm - Marshal::e_1st, // member label value - 1, 0, // omitted member name, "l" - tk_long, // member typecode - - // the 3rd union branch arm - Marshal::e_2nd, // member label value - 1, 0, // omitted member name, "c" - tk_char, // member typecode - - // the 4th union branch arm - Marshal::e_3rd, // member label value - 1, 0, // omitted member name, "o" - tk_octet, // member typecode - - // the 5th union branch arm - Marshal::e_4th, // member label value - 1, 0, // omitted member name, "d" - tk_double, - - // the 6th union branch - Marshal::e_5th, // member label value - 1, 0, // omitted member name, "ms" - tk_struct, // tk_struct - 84, // encapsulation length - - MY_BYTE_SEX, // byte order - 1, 0, // repoID omitted (16, "IDL:Marshal/Marshal:1.0") - 1, 0, // struct name (15, "Marshal_Struct") omitted - 5, // 5 struct elements - - // short - 1, 0, // should be 2, "s", - tk_short, - - // long - 1, 0, // should be 2, "l", - tk_long, - - // char - 1, 0, // should be 2, "c", - tk_char, - - // octet - 1, 0, // should be 2, "o", - tk_octet, - - // double - 1, 0, // should be 2, "d", - tk_double, - - // default case - 6, // 7th member, default index val - 1, 0, // struct name "ms" - ~0, // indirected typecode - -108 // has to point to tk_struct in this stream -}; - -static CORBA_TypeCode _tc__tc_Marshal_Union (tk_union, - sizeof _oc_Marshal_Union, - (unsigned char *) &_oc_Marshal_Union, - 0); - -CORBA_TypeCode_ptr Marshal::_tc_Marshal_Union = &_tc__tc_Marshal_Union; - -// AnySeq -static const CORBA_Long _oc_AnySeq [] = { - MY_BYTE_SEX, // byte order - tk_any, // sequence of any - 0, // a length of 0 => unbounded sequence -}; -static CORBA_TypeCode _tc__tc_AnySeq (tk_sequence, - sizeof - _oc_AnySeq, - (unsigned char *) - &_oc_AnySeq, - 0); - -CORBA_TypeCode_ptr Marshal::_tc_AnySeq = &_tc__tc_AnySeq; - -/***************** All the methods ********************/ -// test_short -static const TAO_Param_Data marshal_test_short_paramdata [] = { - {_tc_CORBA_Void, PARAM_RETURN, 0}, - {_tc_CORBA_Short, PARAM_IN, 0}, - {_tc_CORBA_Short, PARAM_OUT, 0} -}; - -static const TAO_Call_Data marshal_test_short_calldata = { - "test_short", // op_name - 1, // twoway, although it returns void - 3, // param count - & marshal_test_short_paramdata [0], // - 0, 0 -}; - -// The stub -void Marshal::test_short (CORBA_Short s1, CORBA_Short &s2, CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - // twoway - istub->do_call(env, &marshal_test_short_calldata, 0, &s1, &s2); -} - -// test_long -static const TAO_Param_Data marshal_test_long_paramdata [] = { - {_tc_CORBA_Void, PARAM_RETURN, 0}, - {_tc_CORBA_Long, PARAM_IN, 0}, - {_tc_CORBA_Long, PARAM_OUT, 0} -}; - -static const TAO_Call_Data marshal_test_long_calldata = { - "test_long", // op_name - 1, // twoway, although it returns void - 3, // param count - & marshal_test_long_paramdata [0], // - 0, 0 -}; - -// The stub -void Marshal::test_long (CORBA_Long l1, CORBA_Long &l2, CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - // twoway - istub->do_call(env, &marshal_test_long_calldata, 0, &l1, &l2); -} - -// test_octet -static const TAO_Param_Data marshal_test_octet_paramdata [] = { - {_tc_CORBA_Void, PARAM_RETURN, 0}, - {_tc_CORBA_Octet, PARAM_IN, 0}, - {_tc_CORBA_Octet, PARAM_OUT, 0} -}; - -static const TAO_Call_Data marshal_test_octet_calldata = { - "test_octet", // op_name - 1, // twoway, although it returns void - 3, // param count - & marshal_test_octet_paramdata [0], // - 0, 0 -}; - -// The stub -void Marshal::test_octet (CORBA_Octet o1, CORBA_Octet &o2, CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - // twoway - istub->do_call(env, &marshal_test_octet_calldata, 0, &o1, &o2); -} - -// test_char -static const TAO_Param_Data marshal_test_char_paramdata [] = { - {_tc_CORBA_Void, PARAM_RETURN, 0}, - {_tc_CORBA_Char, PARAM_IN, 0}, - {_tc_CORBA_Char, PARAM_OUT, 0} -}; - -static const TAO_Call_Data marshal_test_char_calldata = { - "test_char", // op_name - 1, // twoway, although it returns void - 3, // param count - & marshal_test_char_paramdata [0], // - 0, 0 -}; - -// The stub -void Marshal::test_char (CORBA_Char c1, CORBA_Char &c2, CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - // twoway - istub->do_call(env, &marshal_test_char_calldata, 0, &c1, &c2); -} - -// test_double -static const TAO_Param_Data marshal_test_double_paramdata [] = { - {_tc_CORBA_Void, PARAM_RETURN, 0}, - {_tc_CORBA_Double, PARAM_IN, 0}, - {_tc_CORBA_Double, PARAM_OUT, 0} -}; - -static const TAO_Call_Data marshal_test_double_calldata = { - "test_double", // op_name - 1, // twoway, although it returns void - 3, // param count - & marshal_test_double_paramdata [0], // - 0, 0 -}; - -// The stub -void Marshal::test_double (CORBA_Double d1, CORBA_Double &d2, CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - // twoway - istub->do_call (env, &marshal_test_double_calldata, 0, &d1, &d2); -} - -// test_struct -static const TAO_Param_Data marshal_test_struct_paramdata [] = { - {_tc_CORBA_Void, PARAM_RETURN, 0}, - {Marshal::_tc_Marshal_Struct, PARAM_IN, 0}, - {Marshal::_tc_Marshal_Struct, PARAM_OUT, 0} -}; - -static const TAO_Call_Data marshal_test_struct_calldata = { - "test_struct", // op_name - 1, // twoway, although it returns void - 3, // param count - & marshal_test_struct_paramdata [0], // - 0, 0 -}; - -// The stub -void Marshal::test_struct (const Marshal::Marshal_Struct &ms1, Marshal::Marshal_Struct - &ms2, CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - // twoway - istub->do_call(env, &marshal_test_struct_calldata, 0, &ms1, &ms2); -} - -// test_union -static const TAO_Param_Data marshal_test_union_paramdata [] = { - {_tc_CORBA_Void, PARAM_RETURN, 0}, - {Marshal::_tc_Marshal_Union, PARAM_IN, 0}, - {Marshal::_tc_Marshal_Union, PARAM_OUT, 0} -}; - -static const TAO_Call_Data marshal_test_union_calldata = { - "test_union", // op_name - 1, // twoway, although it returns void - 3, // param count - & marshal_test_union_paramdata [0], // - 0, 0 -}; - -// The stub -void Marshal::test_union (const Marshal_Union &u1, Marshal::Marshal_Union - &u2, CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - // twoway - istub->do_call (env, &marshal_test_union_calldata, 0, &u1, &u2); -} - -// test_any -static const TAO_Param_Data marshal_test_any_paramdata [] = { - {_tc_CORBA_Void, PARAM_RETURN, 0}, - {_tc_CORBA_Any, PARAM_IN, 0}, - {_tc_CORBA_Any, PARAM_OUT, 0} -}; - -static const TAO_Call_Data marshal_test_any_calldata = { - "test_any", // op_name - 1, // twoway, although it returns void - 3, // param count - & marshal_test_any_paramdata[0], // - 0, 0 -}; - -// The stub -void Marshal::test_any (const CORBA_Any &a1, CORBA_Any *&a2, CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - // twoway - istub->do_call(env, &marshal_test_any_calldata, 0, &a1, &a2); -} - -// test_sequence -static const TAO_Param_Data marshal_test_sequence_paramdata [] = { - { _tc_CORBA_Void, PARAM_RETURN, 0}, - { Marshal::_tc_AnySeq, PARAM_IN, 0}, - { Marshal::_tc_AnySeq, PARAM_OUT, 0} -}; - -static const TAO_Call_Data marshal_test_sequence_calldata = { - "test_sequence", // opname - 1, // twoway - 2, // param count - &marshal_test_sequence_paramdata [0], - 0, 0 -}; - -// stub -void Marshal::test_sequence (const Marshal::AnySeq &as1, Marshal::AnySeq *&as2, - CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - // twoway - istub->do_call(env, &marshal_test_sequence_calldata, 0, &as1, &as2); -} - diff --git a/TAO/Benchmark/Marshal_Test/TAO/marshalC.h b/TAO/Benchmark/Marshal_Test/TAO/marshalC.h deleted file mode 100644 index c2457cacc6e..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalC.h +++ /dev/null @@ -1,196 +0,0 @@ -// $Id$ - -/************************************************************************** -This file has been hand-crafted to work with the ORB API of TAO -***************************************************************************/ - -#ifndef MARSHAL_C_H -#define MARSHAL_C_H - -#include -#include - -#include "tao/orb.h" -#include "tao/orbobj.h" -#include "tao/object.h" -#include "tao/stub.h" -#include "tao/typecode.h" -#include "tao/cdr.h" - -class Marshal; -typedef Marshal *Marshal_ptr; -typedef Marshal_ptr MarshalRef; - -class Marshal: public virtual CORBA_Object -{ -public: - static Marshal_ptr _duplicate (Marshal_ptr obj); - static Marshal_ptr _narrow (CORBA_Object_ptr obj); - static Marshal_ptr _nil (); - - struct Marshal_Struct { - CORBA_Short s; - CORBA_Long l; - CORBA_Char c; - CORBA_Octet o; - CORBA_Double d; - }; - static CORBA_TypeCode_ptr _tc_Marshal_Struct; - - enum discrim { - e_0th, - e_1st, - e_2nd, - e_3rd, - e_4th, - e_5th, - e_6th - }; - - static CORBA_TypeCode_ptr _tc_discrim; - - class Marshal_Union - { - private: - discrim _disc; - CORBA_Short __s; - CORBA_Long __l; - CORBA_Char __c; - CORBA_Octet __o; - CORBA_Double __d; - Marshal::Marshal_Struct __ms; - public: - Marshal_Union() : _disc(discrim(0)) {} - ~Marshal_Union() {} - Marshal_Union(const Marshal_Union& obj); - Marshal_Union& operator=(const Marshal_Union& obj); - - void _d(discrim val) { _disc = val; } - discrim _d() const { return _disc; } - - void s(CORBA_Short val) { - __s = val; - _disc = Marshal::e_0th; - } - CORBA_Short s() const { return __s; } - - void l(CORBA_Long val) { - __l = val; - _disc = Marshal::e_1st; - } - CORBA_Long l() const { return __l; } - - void c(CORBA_Char val) { - __c = val; - _disc = Marshal::e_2nd; - } - CORBA_Char c() const { return __c; } - - void o(CORBA_Octet val) { - __o = val; - _disc = Marshal::e_3rd; - } - CORBA_Octet o() const { return __o; } - - void d(CORBA_Double val) { - __d = val; - _disc = Marshal::e_4th; - } - CORBA_Double d() const { return __d; } - - void ms(const Marshal::Marshal_Struct& val) { - __ms = val; - _disc = Marshal::e_5th; - } - const Marshal::Marshal_Struct& ms() const { return __ms; } - Marshal::Marshal_Struct& ms() { return __ms; } - - }; - - static CORBA_TypeCode_ptr _tc_Marshal_Union; - - class AnySeq - { - public: - static CORBA_Any *allocbuf (CORBA_ULong nelems); - static void freebuf (CORBA_Any *data); - AnySeq (CORBA_ULong max=0); - AnySeq (CORBA_ULong max, - CORBA_ULong length, - CORBA_Any *value, - CORBA_Boolean release = 0 - ); - // AnySeq (const AnySeq&); - ~AnySeq (); - CORBA_ULong maximum () const; - void length (CORBA_ULong); - CORBA_ULong length () const; - CORBA_Any &operator[] (CORBA_ULong index); - const CORBA_Any &operator[] (CORBA_ULong index) const; - private: - CORBA_ULong _maximum; - CORBA_ULong _length; - CORBA_Any *_buffer; - CORBA_Boolean _release; - }; - static CORBA_TypeCode_ptr _tc_AnySeq; - - - // now the methods - virtual void test_short(CORBA_Short s1, - CORBA_Short& s2, - CORBA_Environment &env); - - virtual void test_long(CORBA_Long l1, - CORBA_Long& l2, - CORBA_Environment &env); - - virtual void test_octet(CORBA_Octet o1, - CORBA_Octet& o2, - CORBA_Environment &env); - - virtual void test_char(CORBA_Char c1, - CORBA_Char& c2, - CORBA_Environment &env); - - virtual void test_double(CORBA_Double d1, - CORBA_Double& d2, - CORBA_Environment &env); - - virtual void test_struct(const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2, - CORBA_Environment &env); - - virtual void test_union(const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2, - CORBA_Environment &env); - - virtual void test_any(const CORBA_Any& a1, - CORBA_Any *& a2, - CORBA_Environment &env); - - virtual void test_sequence(const Marshal::AnySeq& as1, - Marshal::AnySeq *& as2, - CORBA_Environment &env); - -#if 0 - virtual void test_recursive(const Marshal::Marshal_Recursive& mr1, - Marshal::Marshal_Recursive *& mr2, - CORBA_Environment &env); -#endif - -protected: - Marshal() {} - Marshal(STUB_Object *refdata); - virtual ~Marshal() {} - -private: - Marshal(const Marshal &) {} - void operator=(const Marshal &) {} -}; - -#endif - - - - diff --git a/TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp b/TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp deleted file mode 100644 index 7eb4109f340..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp +++ /dev/null @@ -1,171 +0,0 @@ -// $Id$ - -#include -#include "marshalS.h" - -ACE_RCSID(TAO, marshalS, "$Id$") - -static const TAO_operation_db_entry Marshal_operations[] = { - {"_is_a", &_skel_Marshal::_Marshal_is_a_skel}, - { "test_short", &_skel_Marshal::_Marshal_test_short_skel}, - { "test_long", &_skel_Marshal::_Marshal_test_long_skel}, - { "test_octet", &_skel_Marshal::_Marshal_test_octet_skel}, - { "test_char", &_skel_Marshal::_Marshal_test_char_skel}, - { "test_double", &_skel_Marshal::_Marshal_test_double_skel}, - { "test_struct", &_skel_Marshal::_Marshal_test_struct_skel}, - { "test_union", &_skel_Marshal::_Marshal_test_union_skel}, - { "test_any", &_skel_Marshal::_Marshal_test_any_skel}, - { "test_sequence", &_skel_Marshal::_Marshal_test_sequence_skel}, - { 0, 0 } -}; - -TAO_Dynamic_Hash_OpTable tao_Marshal_optable(Marshal_operations, 10, - // 9 + 1 operations on our - // interface - 20); -// constructor -_skel_Marshal::_skel_Marshal (const char *obj_name) -{ - const CORBA_String repoID = "IDL:Marshal:1.0"; // repository ID - STUB_Object *data; // IIOP object - CORBA_BOA_ptr oa = TAO_OA_PARAMS::instance()->oa(); // underlying BOA - this->optable_ = &tao_Marshal_optable; // operation database - CORBA_Long i; - - // setup an IIOP object - data = new STUB_Object (CORBA_string_dup (repoID)); - data->profile.iiop_version.major = IIOP::MY_MAJOR; - data->profile.iiop_version.minor = IIOP::MY_MINOR; - data->profile.host = ACE_OS::strdup(oa->get_addr().get_host_name()); - data->profile.port = oa->get_addr().get_port_number(); - data->profile.object_key.length = ACE_OS::strlen(obj_name); - data->profile.object_key.maximum = data->profile.object_key.length; - data->profile.object_key.buffer = new CORBA_Octet [(size_t)data->profile.object_key.length+1]; - ACE_OS::memcpy (data->profile.object_key.buffer, obj_name, - data->profile.object_key.length); // set the object key - this->set_parent(data); // store the IIOP obj reference with ourselves - this->sub_ = this; // set the most derived class to be ourselves - if (oa) oa->bind(data->profile.object_key, this);// register ourselves -} - -// skeletons -void _skel_Marshal::_Marshal_test_short_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ -#if 0 - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value(_tc_CORBA_Short); - Marshal_ptr impl; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value(0, temp_value, CORBA_ARG_IN, env); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - Marshal::ShortSeq *value = (Marshal::ShortSeq *)nv->value()->value(); - - // now invoke the implementation - impl = (Marshal_ptr)(obj->get_subclass()); - // now the magic of dynamic binding - impl->sendShortSeq(*value, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); - req.result(any, env); -#endif - - // One immediate thought is to do the following: - // define a specialized marshal factory derived from TAO_Marshal_Factory - // then: - // CDR compiledStream (req._incoming.next, req._incoming.remaining, - // byte_order, consume_buf = 0, instance of our marshal factory -} - -void _skel_Marshal::_Marshal_test_long_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ -} - -void _skel_Marshal::_Marshal_test_octet_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ -} - -void _skel_Marshal::_Marshal_test_char_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ -} - -void _skel_Marshal::_Marshal_test_double_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ -} - -void _skel_Marshal::_Marshal_test_struct_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ -} - -void _skel_Marshal::_Marshal_test_union_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ -} - -void _skel_Marshal::_Marshal_test_any_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ -} - -void _skel_Marshal::_Marshal_test_sequence_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ -} - -void _skel_Marshal::_Marshal_is_a_skel ( - CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env - ) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (_tc_CORBA_String); - char *type_id = "IDL:Marshal:1.0"; - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - - req.params (nvlist, env); - if (env.exception () != 0) { - dexc (env, "is_a_skel, get params"); - return; - } - - CORBA_Boolean *retval; - CORBA_String value = *(CORBA_String *)nv->value ()->value (); - - cout << "object id = " << ((char *)value) << endl; - if (strcmp ((char *)value, (char *)type_id) == 0 - || strcmp ((char *)value, _tc_CORBA_Object->id(env)) == 0) - retval = new CORBA_Boolean (1); - else - retval = new CORBA_Boolean (0); - - CORBA_Any *any = - new CORBA_Any (_tc_CORBA_Boolean, retval, 1); - - req.result (any, env); - dexc (env, "_is_a, result"); -} diff --git a/TAO/Benchmark/Marshal_Test/TAO/marshalS.h b/TAO/Benchmark/Marshal_Test/TAO/marshalS.h deleted file mode 100644 index 6ac48cf5ce8..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalS.h +++ /dev/null @@ -1,110 +0,0 @@ -// $Id$ - -/************************************************************************** -This file has been hand-crafted to work with the ORB API of TAO -***************************************************************************/ - -#ifndef MARSHAL_S_H -#define MARSHAL_S_H - -#include -#include - -#include "marshalC.h" -#include "tao/connect.h" -#include "tao/orb.h" -#include "tao/params.h" -#include "tao/iiopobj.h" -#include "tao/optable.h" // for registering our methods -#include "tao/corbacom.h" -#include "tao/nvlist.h" -#include "tao/orbobj.h" -#include "tao/debug.h" - - -class _skel_Marshal; -typedef _skel_Marshal *_skel_Marshal_ptr; -typedef _skel_Marshal *_skel_Marshal_ref; - -class _skel_Marshal: public Marshal -{ -public: - // pure virtual functions implemented by the implementation class - virtual void test_short(CORBA_Short s1, - CORBA_Short& s2, - CORBA_Environment &env) = 0; - - virtual void test_long(CORBA_Long l1, - CORBA_Long& l2, - CORBA_Environment &env) = 0; - - virtual void test_octet(CORBA_Octet o1, - CORBA_Octet& o2, - CORBA_Environment &env) = 0; - - virtual void test_char(CORBA_Char c1, - CORBA_Char& c2, - CORBA_Environment &env) = 0; - - virtual void test_double(CORBA_Double d1, - CORBA_Double& d2, - CORBA_Environment &env) = 0; - - virtual void test_struct(const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2, - CORBA_Environment &env) = 0; - - virtual void test_union(const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2, - CORBA_Environment &env) = 0; - - virtual void test_any(const CORBA_Any& a1, - CORBA_Any *& a2, - CORBA_Environment &env) = 0; - - virtual void test_sequence(const Marshal::AnySeq& as1, - Marshal::AnySeq *& as2, - CORBA_Environment &env) = 0; - - - // skeletons that do the upcall - static void _Marshal_is_a_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_short_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_long_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_octet_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_char_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_double_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_struct_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_union_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_any_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_sequence_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); -protected: - _skel_Marshal (const char *obj_name = 0); - virtual ~_skel_Marshal () {} -}; - -#endif - - - - diff --git a/TAO/Benchmark/Marshal_Test/TAO/server.cpp b/TAO/Benchmark/Marshal_Test/TAO/server.cpp deleted file mode 100644 index a992752cda8..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/server.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// $Id$ - -#include "benchmark/driver.h" -#include "tao_marshal_server.h" - -ACE_RCSID(TAO, server, "$Id$") - -int main (int argc, char *argv []) -{ - // instantiate a DRIVER with the Tao_Client_Proxy as the template - CORBA_Benchmark_Driver driver (new - Tao_Marshal_Server_Proxy ()); - - // let the driver do everything for us so that we remain very simple - return driver.run (argc, argv); -} diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp deleted file mode 100644 index 62bd609f343..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp +++ /dev/null @@ -1,1428 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Tao marshal benchmark -// -// = FILENAME -// tao_marshal_proxy.cpp -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include -#include -#include "tao_marshal_client.h" - -#if !defined (__ACE_INLINE__) -#include "tao_marshal_client.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(TAO, tao_marshal_client, "$Id$") - -int -Tao_Marshal_Client_Proxy::run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - char **argv; - int argc; - CORBA_Object_ptr target; - CORBA_Environment env; - CORBA_String str; // IOR - fstream iorfile; // persistent storage - - // get the argument list to be passed on to the ORB_init method - argv = options.orb_init_args (argc); - - // get the orb. Pass any ORB_init arguments - this->orb_ = CORBA_ORB_init (argc, (char *const *)argv, "IOR", env); - if (this->orb_ == 0) - { - ACE_DEBUG ((LM_DEBUG, "ORB_init failed\n")); - return -1; - } - - str = CORBA_string_alloc(500); - - // read the IOR from the file ior.txt - iorfile.open("ior.txt", ios::in); - iorfile >> ((char *)str); - iorfile.close(); - - cout << "Read IOR string as: " << ((char *)str) << endl; - - target = this->orb_->string_to_object(str, env); - if (env.exception() != 0){ - ACE_DEBUG ((LM_ERROR, "str to obj failed")); - return 1; - } - CORBA_string_free(str); - -#if 0 - // get the obj ref by binding it to the specified host using the specified obj_name - target = Marshal::_bind (options.object_name (), options.hostname ()); - if (CORBA_is_nil (target)) - { - ACE_DEBUG ((LM_DEBUG, "bind call failed\n")); - return -1; - } -#endif - - this->ref_ = Marshal::_narrow (target); - if (CORBA_is_nil (this->ref_)) - { - ACE_DEBUG ((LM_DEBUG, "narrow to Marshal failed\n")); - return -1; - } - - // tell the "results" object what file it must store the results into - results.filename (options.filename ()); - - // use SII or DII accordingly - switch (options.policy ()) - { - case CORBA_Marshal_Options::STATIC : // use SII - return this->use_sii (options, results); - break; - case CORBA_Marshal_Options::DYNAMIC : // use DII - return this->use_dii (options, results); - break; - default: - ACE_DEBUG ((LM_DEBUG, "bad policy\n")); - return -1; - } - // hopefully we are never here, else something is seriously wrong - return -1; -} - -int -Tao_Marshal_Client_Proxy::use_sii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - int i; - int status = 0; - // This method tests the static invocation interface - - for (i=0; i < options.iterations () && !status; i++) - { - switch (options.data_type ()) - { - // shorts - case CORBA_Marshal_Options::SHORT: - status = sii_test_short (options, results); - break; - // longs - case CORBA_Marshal_Options::LONG: - status = sii_test_long (options, results); - break; - // octets - case CORBA_Marshal_Options::OCTET: - status = sii_test_octet (options, results); - break; - // chars - case CORBA_Marshal_Options::CHAR: - status = sii_test_char (options, results); - break; - // doubles - case CORBA_Marshal_Options::DOUBLE: - status = sii_test_double (options, results); - break; - // Structs - case CORBA_Marshal_Options::STRUCT: - status = sii_test_struct (options, results); - break; - // unions - case CORBA_Marshal_Options::UNION: - status = sii_test_union (options, results); - break; - // anys - case CORBA_Marshal_Options::ANY: - status = sii_test_any (options, results); - break; - // sequences - case CORBA_Marshal_Options::SEQUENCE: - status = sii_test_sequence (options, results); - break; - // longs - case CORBA_Marshal_Options::RECURSIVE: - // status = sii_test_recursive (options, results); - // doesn't work - break; - default: - status = -1; - } // end of switch - } // for loop - - if (!status) - return 0; - else - return -1; -} - -int -Tao_Marshal_Client_Proxy::use_dii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - int i; - int status = 0; - // This method tests the dynamic invocation interface - - for (i=0; i < options.iterations () && !status; i++) - { - switch (options.data_type ()) - { - // shorts - case CORBA_Marshal_Options::SHORT: - status = dii_test_short (options, results); - break; - // longs - case CORBA_Marshal_Options::LONG: - status = dii_test_long (options, results); - break; - // octets - case CORBA_Marshal_Options::OCTET: - status = dii_test_octet (options, results); - break; - // chars - case CORBA_Marshal_Options::CHAR: - status = dii_test_char (options, results); - break; - // doubles - case CORBA_Marshal_Options::DOUBLE: - status = dii_test_double (options, results); - break; - // Structs - case CORBA_Marshal_Options::STRUCT: - status = dii_test_struct (options, results); - break; - // unions - case CORBA_Marshal_Options::UNION: - status = dii_test_union (options, results); - break; - // anys - case CORBA_Marshal_Options::ANY: - status = dii_test_any (options, results); - break; - // sequences - case CORBA_Marshal_Options::SEQUENCE: - status = dii_test_sequence (options, results); - break; - // longs - case CORBA_Marshal_Options::RECURSIVE: - // status = dii_test_recursive (options, results); - // doesn't work - break; - default: - status = -1; - } // end of switch - } // for loop - - if (!status) - return 0; - else - return -1; -} - - -// all helper functions : SII -int -Tao_Marshal_Client_Proxy::sii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - CORBA_Short s1, s2; - CORBA_Environment env; - - s1 = 3; - ref_->test_short (s1, s2, env); - if (s2 == 2*s1) - { - ACE_DEBUG ((LM_DEBUG, "SII test_short success: s1 = %d, s2 = %d\n", s1, s2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_short failed: s1 = %d, s2 = %d\n", s1, s2)); - } - return 0; -} - -int -Tao_Marshal_Client_Proxy::sii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - CORBA_Long l1, l2; - CORBA_Environment env; - - l1 = 256; - ref_->test_long (l1, l2, env); - if (l2 == 3*l1) - { - ACE_DEBUG ((LM_DEBUG, "SII test_long success: l1 = %d, l2 = %d\n", l1, l2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_long failed: l1 = %d, l2 = %d\n", l1, l2)); - } - return 0; -} - -int -Tao_Marshal_Client_Proxy::sii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // octets -{ - CORBA_Octet o1, o2; - CORBA_Environment env; - - o1 = (CORBA_Octet) 127; - ref_->test_octet (o1, o2, env); - if (o1 == o2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_octet success: o1 = %c, o2 = %c\n", o1, o2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_octet failed: o1 = %c, o2 = %c\n", o1, o2)); - } - return 0; -} - -int -Tao_Marshal_Client_Proxy::sii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // chars -{ - CORBA_Char c1, c2; - CORBA_Environment env; - - c1 = 'B'; - ref_->test_char (c1, c2, env); - if (c1 == c2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_char success: c1 = %c, c2 = %c\n", c1, c2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_char failed: c1 = %c, c2 = %c\n", c1, c2)); - } - return 0; -} - -int -Tao_Marshal_Client_Proxy::sii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // doubles -{ - CORBA_Double d1, d2; - CORBA_Environment env; - - d1 = 3.1415; - ref_->test_double (d1, d2, env); - if (d2 == d1/2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_double success: d1 = %f, d2 = %f\n", d1, d2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_double failed: d1 = %f, d2 = %f\n", d1, d2)); - } - return 0; -} - -int -Tao_Marshal_Client_Proxy::sii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // structs -{ - Marshal::Marshal_Struct ms1, ms2; - CORBA_Environment env; - - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA_Octet) 127; - ms1.d = 3.1415; - - ref_->test_struct (ms1, ms2, env); - if (ms1.s == ms2.s && ms1.l == ms2.l && ms1.c == ms2.c && ms1.o == ms2.o && - ms1.d == ms2.d) - { - ACE_DEBUG ((LM_DEBUG, "SII test_struct success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_struct failed\n")); - } - return 0; -} - -int -Tao_Marshal_Client_Proxy::sii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // unions -{ - Marshal::Marshal_Union u1, u2; - Marshal::Marshal_Struct ms1, ms2; - CORBA_Environment env; - - // first test an enumerated case - u1._d (Marshal::e_1st); - u1.l (4567); - - ref_->test_union (u1, u2, env); - if ( (u1._d () == u2._d()) && (u1.l () == u2.l ())) - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for long (case e_1st) success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for long (case e_1st) failed\n")); - } - - // now test the default case - u1._d (Marshal::e_6th); // this case doesn't exist which will lead to using - // the default case - - u1.ms ().s = 3; - u1.ms ().l = 256; - u1.ms ().c = 'B'; - u1.ms ().o = (CORBA_Octet) 127; - u1.ms ().d = 3.1415; - - ref_->test_union (u1, u2, env); - - if (u1.ms ().s == u2.ms ().s && u1.ms ().l == u2.ms ().l && u1.ms ().c == u2.ms ().c && u1.ms ().o == u2.ms ().o && - u1.ms ().d == u2.ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for default (case e_6th) success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for default (case e_6th) failed\n")); - } - return 0; -} - -int -Tao_Marshal_Client_Proxy::sii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // we send a struct thru the any - CORBA_Any a1, *a2; - Marshal::Marshal_Struct ms1, *ms2; - CORBA_Environment env; - - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA_Octet) 127; - ms1.d = 3.1415; - - // populate the any with a MarshalStruct - // a1 <<= ms1; // not in TAO yet - a1.replace (Marshal::_tc_Marshal_Struct, &ms1, 0, env); - - a2 = new CORBA_Any; - - // now test it - ref_->test_any (a1, a2, env); - - // check if the two typecodes are equal - if (a2->type ()->equal (Marshal::_tc_Marshal_Struct, env)) - { - // now see if the values are same - ms2 = (Marshal::Marshal_Struct *)a2->value (); - if (ms1.s == ms2->s && ms1.l == ms2->l && ms1.c == ms2->c && ms1.o == ms2->o && - ms1.d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "SII test_any success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_any value match failed\n")); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_any failed due to typecode mismatch\n")); - } - return 0; -} - -int -Tao_Marshal_Client_Proxy::sii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // make a sequence of Anys and fill each one with a different data type - Marshal::AnySeq as1 (7), *as2; - Marshal::Marshal_Struct ms; - Marshal::Marshal_Union u; - CORBA_Environment env; - - - ms.s = 3; - ms.l = 256; - ms.c = 'B'; - ms.o = (CORBA_Octet) 127; - ms.d = 3.1415; - - u._d (Marshal::e_5th); // somehow, the default case e_6th doesn't seem to - // work here - u.ms ().s = 3; - u.ms ().l = 256; - u.ms ().c = 'B'; - u.ms ().o = (CORBA_Octet) 127; - u.ms ().d = 3.1415; - - // it looks like we must tell the sequence how many elements it is going to - // carry. By just fixing the max value does not work. - - as1.length (7); - -#if 0 // to be supported later - as1[0] <<= (CORBA_Short)3; - as1[1] <<= (CORBA_Long) 256; - as1[2] <<= CORBA_Any::from_octet ((CORBA_Octet)127); - as1[3] <<= CORBA_Any::from_char ('B'); - as1[4] <<= (CORBA_Double)3.1415; // double - as1[5] <<= ms; // struct - as1[6] <<= u; // union -#endif - as1[0].replace (_tc_CORBA_Short, new CORBA_Short (3), 1, env); - as1[1].replace (_tc_CORBA_Long, new CORBA_Long (256), 1, env); - as1[2].replace (_tc_CORBA_Octet, new CORBA_Octet ((CORBA_Octet)127), 1, env); - as1[3].replace (_tc_CORBA_Char, new CORBA_Char ('B'), 1, env); - as1[4].replace (_tc_CORBA_Double, new CORBA_Double (3.1415), 1, env); - as1[5].replace (Marshal::_tc_Marshal_Struct, new Marshal::Marshal_Struct - (ms), 1, env); - as1[6].replace (Marshal::_tc_Marshal_Union, new Marshal::Marshal_Union (u), 1, env); - - as2 = new Marshal::AnySeq; - - ref_->test_sequence (as1, as2, env); - - ACE_DEBUG ((LM_DEBUG, "SII test_sequence\n")); - if (as1.length () == as2->length ()) - { - // now make sure that the elements are same - for (int i=0; i < as1.length (); i++) - { - if (as1[i].type ()->equal ((*as2)[i].type (), env)) - { - // now see if the values are same - switch (i) - { - case 0: - if (*(CORBA_Short *)as1[i].value () == *(CORBA_Short - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, shorts matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on shorts match\n")); - } - break; - case 1: - if (*(CORBA_Long *)as1[i].value () == *(CORBA_Long - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, longs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on longs match\n")); - } - break; - case 2: - if (*(CORBA_Octet *)as1[i].value () == *(CORBA_Octet - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, octets matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on octets match\n")); - } - break; - case 3: - if (*(CORBA_Char *)as1[i].value () == *(CORBA_Char - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, chars matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on chars match\n")); - } - break; - case 4: - if (*(CORBA_Double *)as1[i].value () == *(CORBA_Double - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, doubles matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on doubles match\n")); - } - break; - case 5: - { - Marshal::Marshal_Struct *ms1, *ms2; - - ms1 = (Marshal::Marshal_Struct *)as1[i].value (); - ms2 = (Marshal::Marshal_Struct *)(*as2)[i].value (); - - if (ms1->s == ms2->s && ms1->l == ms2->l && ms1->c == ms2->c && ms1->o == ms2->o && - ms1->d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, structs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on structs match\n")); - } - } - break; - case 6: - { - Marshal::Marshal_Union *u1, *u2; - - u1 = (Marshal::Marshal_Union *)as1[i].value (); - u2 = (Marshal::Marshal_Union *)(*as2)[i].value (); - - if (u1->_d () == u2->_d () && u1->ms ().s == u2->ms ().s && - u1->ms ().l == u2->ms ().l && - u1->ms ().c == u2->ms ().c && u1->ms ().o == u2->ms ().o && - u1->ms ().d == u2->ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, unions matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on unions match\n")); - } - } - break; - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "SII test_sequence: typecode mismatch for element %d\n", i)); - break; - } - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_sequence failed: as2->length = %d\n", - as2->length ())); - } - return 0; -} - -#if 0 -int -Tao_Marshal_Client_Proxy::sii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // we will try a simple one here - Marshal::Marshal_Recursive mr1, *elem1, *mr2, *elem2; - CORBA_Environment env; - - - mr1.value <<= (CORBA_Long)1; - mr1.next.length (1); // sequence of length 1 - - // fill the element - elem1 = &mr1.next[0]; - elem1->value <<= CORBA_Any::from_char ('D'); - elem1->next.length (0); // end of seq - - mr2 = new Marshal::Marshal_Recursive; - - try { - ref_->test_recursive (mr1, mr2, env); - } - catch (CORBA_SystemException &se){ - cerr << "error invoking request: " << se << endl; - } - - elem2 = &mr2->next[0]; - - if ((*(CORBA_Long *)mr1.value.value () == *(CORBA_Long*)mr2->value.value ()) - && (mr1.next.length () == mr2->next.length ()) // same length sequence - && (*(CORBA_Char *)elem1->value.value () == *(CORBA_Char *)elem2->value.value ()) - && (elem1->next.length () == elem2->next.length ())) - { - ACE_DEBUG ((LM_DEBUG, "SII test_recursive success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_recursive failure\n")); - } - - return 0; -} -#endif - -// ------------------------------------------------------- -// all helper functions : DII -// ------------------------------------------------------- - -int -Tao_Marshal_Client_Proxy::dii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA_Request_ptr request = 0; //CORBA_Request::_nil(); // DII request - CORBA_NVList_ptr arglist = 0; //CORBA_NVList::_nil(); // argument list - // CORBA_Context_ptr ctx = CORBA_Context::_nil(); // context - CORBA_NVList_ptr result_list = 0; //CORBA_NVList::_nil(); // result list - CORBA_NamedValue_ptr result = 0; //CORBA_NamedValue::_nil();// actual result - CORBA_Short s1, s2; - CORBA_Environment env; - - s1 = 3; - s2 = 0; - - orb_->create_list(0, arglist); // 2 arguments to be added - // *(arglist->add (CORBA_ARG_IN)->value ()) <<= s1; - arglist->add_value ("s1", CORBA_Any (_tc_CORBA_Short, &s1, 0), - CORBA_ARG_IN, env); - // this usage is also correct. All we care is to supply a storage area for - // the OUT parameter - // arglist->add (CORBA_ARG_OUT)->value ()->replace (CORBA__tc_short, &s2); - // *(arglist->add (CORBA_ARG_OUT)->value ()) <<= s2; - arglist->add_value ("s2", CORBA_Any (_tc_CORBA_Short, &s2, 0), - CORBA_ARG_OUT, env); - orb_->create_list(1, result_list); // 1 result - result = result_list->item (0); - - // create a request - ref_->_create_request(CORBA_Context::_nil (), - "test_short", - arglist, - result, - request, - 0, env); - - request->invoke (); // 2 way - // *(arglist->item(1)->value()) >>= s2; - s2 = *(CORBA_Short *)arglist->item(1)->value()->value(); - - if (s2 == 2*s1) - { - ACE_DEBUG ((LM_DEBUG, "DII test_short success: s1 = %d, s2 = %d\n", s1, s2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_short failed: s1 = %d, s2 = %d\n", s1, s2)); - } - CORBA_release (request); - CORBA_release (arglist); - CORBA_release (result); - CORBA_release (result_list); - return 0; -} - -int -Tao_Marshal_Client_Proxy::dii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA_Request_ptr request = 0; //CORBA_Request::_nil(); // DII request - CORBA_NVList_ptr arglist = 0; //CORBA_NVList::_nil(); // argument list - // CORBA_Context_ptr ctx = CORBA_Context::_nil(); // context - CORBA_NVList_ptr result_list = 0; //CORBA_NVList::_nil(); // result list - CORBA_NamedValue_ptr result = 0; //CORBA_NamedValue::_nil();// actual result - CORBA_Long l1, l2; - CORBA_Environment env; - - l1 = 256; - - orb_->create_list(0, arglist); // 2 arguments to be added - // *(arglist->add(CORBA_ARG_IN)->value()) <<= l1; - arglist->add_value ("l1", CORBA_Any (_tc_CORBA_Long, &l1, 0), - CORBA_ARG_IN, env); - // arglist->add(CORBA_ARG_OUT)->value()->replace (CORBA__tc_long, &l2); - arglist->add_value ("l2", CORBA_Any (_tc_CORBA_Long, &l2, 0), - CORBA_ARG_OUT, env); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(CORBA_Context::_nil (), - "test_long", - arglist, - result, - request, - 0, env); - - request->invoke (); // 2 way - // *(arglist->item(1)->value()) >>= l2; - l2 = *(CORBA_Long *)arglist->item (1)->value ()->value (); - - if (l2 == 3*l1) - { - ACE_DEBUG ((LM_DEBUG, "DII: test_long success: l1 = %d, l2 = %d\n", l1, l2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII: test_long failed: l1 = %d, l2 = %d\n", l1, l2)); - } - CORBA_release (request); - CORBA_release (arglist); - CORBA_release (result); - CORBA_release (result_list); - return 0; -} - -int -Tao_Marshal_Client_Proxy::dii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // octets -{ - // DII variables - CORBA_Request_ptr request = 0; //CORBA_Request::_nil(); // DII request - CORBA_NVList_ptr arglist = 0; //CORBA_NVList::_nil(); // argument list - // CORBA_Context_ptr ctx = CORBA_Context::_nil(); // context - CORBA_NVList_ptr result_list = 0; //CORBA_NVList::_nil(); // result list - CORBA_NamedValue_ptr result = 0; //CORBA_NamedValue::_nil();// actual result - CORBA_Octet o1, o2; - CORBA_Environment env; - - o1 = (CORBA_Octet) 127; - - orb_->create_list(0, arglist); // 2 arguments to be added - // *(arglist->add(CORBA_ARG_IN)->value()) <<= CORBA_Any::from_octet (o1); - // arglist->add(CORBA_ARG_OUT)->value()->replace (CORBA__tc_octet, &o2); - arglist->add_value ("o1", CORBA_Any (_tc_CORBA_Octet, &o1, 0), - CORBA_ARG_IN, env); - arglist->add_value ("o2", CORBA_Any (_tc_CORBA_Octet, &o2, 0), - CORBA_ARG_OUT, env); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(CORBA_Context::_nil (), - "test_octet", - arglist, - result, - request, - 0, env); - - request->invoke (); // 2 way - // *(arglist->item(1)->value()) >>= CORBA_Any::to_octet (o2); - o2 = *(CORBA_Octet *)arglist->item (1)->value ()->value (); - - if (o1 == o2) - { - ACE_DEBUG ((LM_DEBUG, "DII test_octet success: o1 = %c, o2 = %c\n", o1, o2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_octet failed: o1 = %c, o2 = %c\n", o1, o2)); - } - CORBA_release (request); - CORBA_release (arglist); - CORBA_release (result); - CORBA_release (result_list); - return 0; -} - -int -Tao_Marshal_Client_Proxy::dii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // chars -{ - // DII variables - CORBA_Request_ptr request = 0; //CORBA_Request::_nil(); // DII request - CORBA_NVList_ptr arglist = 0; //CORBA_NVList::_nil(); // argument list - // CORBA_Context_ptr ctx = CORBA_Context::_nil(); // context - CORBA_NVList_ptr result_list = 0; //CORBA_NVList::_nil(); // result list - CORBA_NamedValue_ptr result = 0; //CORBA_NamedValue::_nil();// actual result - CORBA_Char c1, c2; - CORBA_Environment env; - - c1 = 'B'; - - orb_->create_list(0, arglist); // 2 arguments to be added - // *(arglist->add(CORBA_ARG_IN)->value()) <<= CORBA_Any::from_char (c1); - // arglist->add(CORBA_ARG_OUT)->value()->replace (CORBA__tc_char, &c2); - arglist->add_value ("c1", CORBA_Any (_tc_CORBA_Char, &c1, 0), - CORBA_ARG_IN, env); - arglist->add_value ("c2", CORBA_Any (_tc_CORBA_Char, &c2, 0), - CORBA_ARG_OUT, env); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(CORBA_Context::_nil (), - "test_char", - arglist, - result, - request, - 0, env); - - request->invoke (); // 2 way - // *(arglist->item(1)->value()) >>= CORBA_Any::to_char (c2); - c2 = *(CORBA_Char *)arglist->item (1)->value ()->value (); - - if (c1 == c2) - { - ACE_DEBUG ((LM_DEBUG, "DII test_char success: c1 = %c, c2 = %c\n", c1, c2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_char failed: c1 = %c, c2 = %c\n", c1, c2)); - } - CORBA_release (request); - CORBA_release (arglist); - CORBA_release (result); - CORBA_release (result_list); - return 0; -} - -int -Tao_Marshal_Client_Proxy::dii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // doubles -{ - // DII variables - CORBA_Request_ptr request = 0; //CORBA_Request::_nil(); // DII request - CORBA_NVList_ptr arglist = 0; //CORBA_NVList::_nil(); // argument list - // CORBA_Context_ptr ctx = CORBA_Context::_nil(); // context - CORBA_NVList_ptr result_list = 0; //CORBA_NVList::_nil(); // result list - CORBA_NamedValue_ptr result = 0; //CORBA_NamedValue::_nil();// actual result - CORBA_Double d1, d2; - CORBA_Environment env; - - d1 = 3.1415; - - orb_->create_list(0, arglist); // 2 arguments to be added - // *(arglist->add(CORBA_ARG_IN)->value()) <<= d1; - // arglist->add(CORBA_ARG_OUT)->value()->replace (CORBA__tc_double, &d2); - arglist->add_value ("d1", CORBA_Any (_tc_CORBA_Double, &d1, 0), - CORBA_ARG_IN, env); - arglist->add_value ("d2", CORBA_Any (_tc_CORBA_Double, &d2, 0), - CORBA_ARG_OUT, env); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(CORBA_Context::_nil (), - "test_double", - arglist, - result, - request, - 0, env); - - request->invoke (); // 2 way - // *(arglist->item(1)->value()) >>= d2; - d2 = *(CORBA_Double *)arglist->item (1)->value ()->value (); - - if (d2 == d1/2) - { - ACE_DEBUG ((LM_DEBUG, "DII test_double success: d1 = %f, d2 = %f\n", d1, d2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_double failed: d1 = %f, d2 = %f\n", d1, d2)); - } - CORBA_release (request); - CORBA_release (arglist); - CORBA_release (result); - CORBA_release (result_list); - return 0; -} - -int -Tao_Marshal_Client_Proxy::dii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // structs -{ - // DII variables - CORBA_Request_ptr request = 0; //CORBA_Request::_nil(); // DII request - CORBA_NVList_ptr arglist = 0; //CORBA_NVList::_nil(); // argument list - // CORBA_Context_ptr ctx = CORBA_Context::_nil(); // context - CORBA_NVList_ptr result_list = 0; //CORBA_NVList::_nil(); // result list - CORBA_NamedValue_ptr result = 0; //CORBA_NamedValue::_nil();// actual result - Marshal::Marshal_Struct ms1, ms2; - CORBA_Environment env; - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA_Octet) 127; - ms1.d = 3.1415; - - orb_->create_list(0, arglist); // 2 arguments to be added - // *(arglist->add(CORBA_ARG_IN)->value()) <<= ms1; - // arglist->add(CORBA_ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Struct, &ms2); - arglist->add_value ("ms1", CORBA_Any (Marshal::_tc_Marshal_Struct, &ms1, 0), - CORBA_ARG_IN, env); - arglist->add_value ("ms2", CORBA_Any (Marshal::_tc_Marshal_Struct, &ms2, 0), - CORBA_ARG_OUT, env); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(CORBA_Context::_nil (), - "test_struct", - arglist, - result, - request, - 0, env); - - request->invoke (); // 2 way - // *(arglist->item(1)->value()) >>= ms2; - ms2 = *(Marshal::Marshal_Struct *)arglist->item (1)->value ()->value (); - - if (ms1.s == ms2.s && ms1.l == ms2.l && ms1.c == ms2.c && ms1.o == ms2.o && - ms1.d == ms2.d) - { - ACE_DEBUG ((LM_DEBUG, "DII test_struct success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_struct failed\n")); - } - CORBA_release (request); - CORBA_release (arglist); - CORBA_release (result); - CORBA_release (result_list); - return 0; -} - -int -Tao_Marshal_Client_Proxy::dii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // unions -{ - // DII variables - CORBA_Request_ptr request = 0; //CORBA_Request::_nil(); // DII request - CORBA_NVList_ptr arglist = 0; //CORBA_NVList::_nil(); // argument list - // CORBA_Context_ptr ctx = CORBA_Context::_nil(); // context - CORBA_NVList_ptr result_list = 0; //CORBA_NVList::_nil(); // result list - CORBA_NamedValue_ptr result = 0; //CORBA_NamedValue::_nil();// actual result - Marshal::Marshal_Union u1, u2; - Marshal::Marshal_Struct ms1, ms2; - CORBA_Environment env; - - - // first test an enumerated case - u1._d (Marshal::e_1st); - u1.l (4567); - - orb_->create_list(0, arglist); // 2 arguments to be added - // *(arglist->add(CORBA_ARG_IN)->value()) <<= u1; - // arglist->add(CORBA_ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Union, &u2); - arglist->add_value ("u1", CORBA_Any (Marshal::_tc_Marshal_Union, &u1, 0), - CORBA_ARG_IN, env); - arglist->add_value ("u2", CORBA_Any (Marshal::_tc_Marshal_Union, &u2, 0), - CORBA_ARG_OUT, env); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(CORBA_Context::_nil (), - "test_union", - arglist, - result, - request, - 0, env); - - request->invoke (); // 2 way - // *(arglist->item(1)->value()) >>= u2; - u2 = *(Marshal::Marshal_Union *)arglist->item (1)->value ()->value (); - - if ( (u1._d () == u2._d()) && (u1.l () == u2.l ())) - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for long (case e_1st) success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for long (case e_1st) failed\n")); - } - CORBA_release (request); - CORBA_release (arglist); - CORBA_release (result); - CORBA_release (result_list); - - // now test the default case - u1._d (Marshal::e_5th); // e_6th doesn't work - - u1.ms ().s = 3; - u1.ms ().l = 256; - u1.ms ().c = 'B'; - u1.ms ().o = (CORBA_Octet) 127; - u1.ms ().d = 3.1415; - - - orb_->create_list(0, arglist); // 2 arguments to be added - // *(arglist->add(CORBA_ARG_IN)->value()) <<= u1; - //arglist->add(CORBA_ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Union, &u2); - arglist->add_value ("u1", CORBA_Any (Marshal::_tc_Marshal_Union, &u1, 0), - CORBA_ARG_IN, env); - arglist->add_value ("u2", CORBA_Any (Marshal::_tc_Marshal_Union, &u2, 0), - CORBA_ARG_OUT, env); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(CORBA_Context::_nil (), - "test_union", - arglist, - result, - request, - 0, env); - - request->invoke (); // 2 way - // *(arglist->item(1)->value()) >>= u2; - u2 = *(Marshal::Marshal_Union *)arglist->item (1)->value ()->value (); - - if (u1.ms ().s == u2.ms ().s && u1.ms ().l == u2.ms ().l && u1.ms ().c == u2.ms ().c && u1.ms ().o == u2.ms ().o && - u1.ms ().d == u2.ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for default (case e_6th) success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for default (case e_6th) failed\n")); - } - CORBA_release (request); - CORBA_release (arglist); - CORBA_release (result); - CORBA_release (result_list); - return 0; -} - -int -Tao_Marshal_Client_Proxy::dii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA_Request_ptr request = 0; //CORBA_Request::_nil(); // DII request - CORBA_NVList_ptr arglist = 0; //CORBA_NVList::_nil(); // argument list - // CORBA_Context_ptr ctx = CORBA_Context::_nil(); // context - CORBA_NVList_ptr result_list = 0; //CORBA_NVList::_nil(); // result list - CORBA_NamedValue_ptr result = 0; //CORBA_NamedValue::_nil();// actual result - // we send a struct thru the any - CORBA_Any a1, *a2; - Marshal::Marshal_Struct ms1, *ms2; - CORBA_Environment env; - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA_Octet) 127; - ms1.d = 3.1415; - - // populate the any with a MarshalStruct - // a1 <<= ms1; - a1.replace (Marshal::_tc_Marshal_Struct, &ms1, 0, env); - - a2 = new CORBA_Any; - - // now test it - orb_->create_list(0, arglist); // 2 arguments to be added - // *(arglist->add(CORBA_ARG_IN)->value()) <<= a1; - // arglist->add(CORBA_ARG_OUT)->value()->replace (CORBA__tc_any, a2); - arglist->add_value ("a1", CORBA_Any (_tc_CORBA_Any, &a1, 0), - CORBA_ARG_IN, env); - arglist->add_value ("a2", CORBA_Any (_tc_CORBA_Any, a2, 0), - CORBA_ARG_OUT, env); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(CORBA_Context::_nil (), - "test_any", - arglist, - result, - request, - 0, env); - - request->invoke (); // 2 way - // *(arglist->item(1)->value()) >>= (*a2); - a2->replace (_tc_CORBA_Any, (CORBA_Any *)arglist->item (1)->value ()->value - (), 1, env); - - // check if the two typecodes are equal - if (a2->type ()->equal (Marshal::_tc_Marshal_Struct, env)) - { - // now see if the values are same - ms2 = (Marshal::Marshal_Struct *)a2->value (); - if (ms1.s == ms2->s && ms1.l == ms2->l && ms1.c == ms2->c && ms1.o == ms2->o && - ms1.d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "DII test_any success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_any value match failed\n")); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_any failed due to typecode mismatch\n")); - } - CORBA_release (request); - CORBA_release (arglist); - CORBA_release (result); - CORBA_release (result_list); - return 0; -} - -int -Tao_Marshal_Client_Proxy::dii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA_Request_ptr request = 0; //CORBA_Request::_nil(); // DII request - CORBA_NVList_ptr arglist = 0; //CORBA_NVList::_nil(); // argument list - // CORBA_Context_ptr ctx = CORBA_Context::_nil(); // context - CORBA_NVList_ptr result_list = 0; //CORBA_NVList::_nil(); // result list - CORBA_NamedValue_ptr result = 0; //CORBA_NamedValue::_nil();// actual result - // make a sequence of Anys and fill each one with a different data type - Marshal::AnySeq as1 (7), *as2; - Marshal::Marshal_Struct ms; - Marshal::Marshal_Union u; - CORBA_Environment env; - - ms.s = 3; - ms.l = 256; - ms.c = 'B'; - ms.o = (CORBA_Octet) 127; - ms.d = 3.1415; - - u._d (Marshal::e_5th); // somehow, the default case e_6th doesn't seem to - // work here - u.ms ().s = 3; - u.ms ().l = 256; - u.ms ().c = 'B'; - u.ms ().o = (CORBA_Octet) 127; - u.ms ().d = 3.1415; - - // it looks like we must tell the sequence how many elements it is going to - // carry. By just fixing the max value does not work. - - as1.length (7); - -#if 0 - as1[0] <<= (CORBA_Short)3; - as1[1] <<= (CORBA_Long) 256; - as1[2] <<= CORBA_Any::from_octet ((CORBA_Octet)127); - as1[3] <<= CORBA_Any::from_char ('B'); - as1[4] <<= (CORBA_Double)3.1415; // double - as1[5] <<= ms; // struct - as1[6] <<= u; // union -#endif - as1[0].replace (_tc_CORBA_Short, new CORBA_Short (3), 1, env); - as1[1].replace (_tc_CORBA_Long, new CORBA_Long (256), 1, env); - as1[2].replace (_tc_CORBA_Octet, new CORBA_Octet ((CORBA_Octet)127), 1, env); - as1[3].replace (_tc_CORBA_Char, new CORBA_Char ('B'), 1, env); - as1[4].replace (_tc_CORBA_Double, new CORBA_Double (3.1415), 1, env); - as1[5].replace (Marshal::_tc_Marshal_Struct, new Marshal::Marshal_Struct - (ms), 1, env); - as1[6].replace (Marshal::_tc_Marshal_Union, new Marshal::Marshal_Union (u), 1, env); - - as2 = new Marshal::AnySeq; - - orb_->create_list(0, arglist); // 2 arguments to be added - // *(arglist->add(CORBA_ARG_IN)->value()) <<= as1; - // arglist->add(CORBA_ARG_OUT)->value()->replace (Marshal::_tc_AnySeq, as2); - arglist->add_value ("as1", CORBA_Any (Marshal::_tc_AnySeq, &as1, 0), - CORBA_ARG_IN, env); - arglist->add_value ("o2", CORBA_Any (Marshal::_tc_AnySeq, as2, 0), - CORBA_ARG_OUT, env); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(CORBA_Context::_nil (), - "test_sequence", - arglist, - result, - request, - 0, env); - - request->invoke (); // 2 way - // *(arglist->item(1)->value()) >>= (*as2); - *as2 = *(Marshal::AnySeq *)arglist->item (1)->value ()->value (); - - ACE_DEBUG ((LM_DEBUG, "DII test_sequence\n")); - if (as1.length () == as2->length ()) - { - // now make sure that the elements are same - for (int i=0; i < as1.length (); i++) - { - if (as1[i].type ()->equal ((*as2)[i].type (), env)) - { - // now see if the values are same - switch (i) - { - case 0: - if (*(CORBA_Short *)as1[i].value () == *(CORBA_Short - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, shorts matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on shorts match\n")); - } - break; - case 1: - if (*(CORBA_Long *)as1[i].value () == *(CORBA_Long - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, longs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on longs match\n")); - } - break; - case 2: - if (*(CORBA_Octet *)as1[i].value () == *(CORBA_Octet - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, octets matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on octets match\n")); - } - break; - case 3: - if (*(CORBA_Char *)as1[i].value () == *(CORBA_Char - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, chars matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on chars match\n")); - } - break; - case 4: - if (*(CORBA_Double *)as1[i].value () == *(CORBA_Double - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, doubles matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on doubles match\n")); - } - break; - case 5: - { - Marshal::Marshal_Struct *ms1, *ms2; - - ms1 = (Marshal::Marshal_Struct *)as1[i].value (); - ms2 = (Marshal::Marshal_Struct *)(*as2)[i].value (); - - if (ms1->s == ms2->s && ms1->l == ms2->l && ms1->c == ms2->c && ms1->o == ms2->o && - ms1->d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, structs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on structs match\n")); - } - } - break; - case 6: - { - Marshal::Marshal_Union *u1, *u2; - - u1 = (Marshal::Marshal_Union *)as1[i].value (); - u2 = (Marshal::Marshal_Union *)(*as2)[i].value (); - - if (u1->_d () == u2->_d () && u1->ms ().s == u2->ms ().s && - u1->ms ().l == u2->ms ().l && - u1->ms ().c == u2->ms ().c && u1->ms ().o == u2->ms ().o && - u1->ms ().d == u2->ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, unions matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on unions match\n")); - } - } - break; - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "DII test_sequence: typecode mismatch for element %d\n", i)); - break; - } - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_sequence failed: as2->length = %d\n", - as2->length ())); - } - CORBA_release (request); - CORBA_release (arglist); - CORBA_release (result); - CORBA_release (result_list); - return 0; -} - -#if 0 -int -Tao_Marshal_Client_Proxy::dii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // we will try a simple one here - Marshal::Marshal_Recursive mr1, *elem1, *mr2, *elem2; - - mr1.value <<= (CORBA_Long)1; - mr1.next.length (1); // sequence of length 1 - - // fill the element - elem1 = &mr1.next[0]; - elem1->value <<= CORBA_Any::from_char ('D'); - elem1->next.length (0); // end of seq - - mr2 = new Marshal::Marshal_Recursive; - - try { - ref_->test_recursive (mr1, mr2); - } - catch (CORBA_SystemException &se){ - cerr << "error invoking request: " << se << endl; - } - - elem2 = &mr2->next[0]; - - if ((*(CORBA_Long *)mr1.value.value () == *(CORBA_Long*)mr2->value.value ()) - && (mr1.next.length () == mr2->next.length ()) // same length sequence - && (*(CORBA_Char *)elem1->value.value () == *(CORBA_Char *)elem2->value.value ()) - && (elem1->next.length () == elem2->next.length ())) - { - ACE_DEBUG ((LM_DEBUG, "DII test_recursive success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_recursive failure\n")); - } - - return 0; -} -#endif diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.h b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.h deleted file mode 100644 index b55e3f309de..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.h +++ /dev/null @@ -1,126 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Tao Benchmark -// -// = FILENAME -// tao_marshal_client.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _TAO_MARSHAL_CLIENT_H_ -#define _TAO_MARSHAL_CLIENT_H_ - -// benchmark library includes -#include "benchmark/marshal_options.h" -#include "benchmark/marshal_results.h" -#include "benchmark/marshal_proxy.h" - -// include Tao specific include files -#include "marshalC.h" // generated by IDL compiler -#include "tao/nvlist.h" - -class Tao_Marshal_Client_Proxy : public CORBA_Marshal_Proxy -{ - // =TITLE - // Tao_Marshal_Client_Proxy - // =DESCRIPTION - // Tao client size specialization of the CORBA Marshal proxy class -public: - Tao_Marshal_Client_Proxy (void); - // constructor - - ~Tao_Marshal_Client_Proxy (void); - // destructor - - virtual int run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // do the actual work - - virtual int use_sii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // use the static invocation interface - - virtual int use_dii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // use the dynamic invocation interface -private: - // =helper functions - int sii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - // all the DII helpers - int dii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - CORBA_ORB_ptr orb_; - // handle to the underlying orb - - Marshal_ptr ref_; - // the object reference -}; - -#if defined (__ACE_INLINE__) -#include "tao_marshal_client.i" -#endif /* __ACE_INLINE__ */ - -#endif diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.i b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.i deleted file mode 100644 index 5fcdc2e209f..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.i +++ /dev/null @@ -1,23 +0,0 @@ -// $Id$ - - -ACE_INLINE -Tao_Marshal_Client_Proxy::Tao_Marshal_Client_Proxy (void) - : orb_ (0), - ref_ (0) -{ -} - -ACE_INLINE -Tao_Marshal_Client_Proxy::~Tao_Marshal_Client_Proxy (void) -{ - // releasing order is important - - // release the reference - CORBA_release (ref_); - - // release the ORB - CORBA_release (orb_); -} - - diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp deleted file mode 100644 index cdf7e4541ee..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp +++ /dev/null @@ -1,653 +0,0 @@ -// $Id$ - -#include "tao_marshal_impl.h" - -#if !defined (__ACE_INLINE__) -#include "tao_marshal_impl.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(TAO, tao_marshal_impl, "$Id$") - -// All the methods of the SSI class -void -Marshal_SSI_Impl::test_short (CORBA_Short s1, - CORBA_Short &s2, - CORBA_Environment &env) -{ - s2 = 2*s1; -} - -void -Marshal_SSI_Impl::test_long (CORBA_Long l1, - CORBA_Long &l2, - CORBA_Environment &env) -{ - l2 = 3*l1; -} - -void -Marshal_SSI_Impl::test_octet (CORBA_Octet o1, - CORBA_Octet &o2, - CORBA_Environment &env) -{ - o2 = o1; -} - -void -Marshal_SSI_Impl::test_char (CORBA_Char c1, - CORBA_Char &c2, - CORBA_Environment &env) -{ - c2 = c1; -} - -void -Marshal_SSI_Impl::test_double (CORBA_Double d1, - CORBA_Double &d2, - CORBA_Environment &env) -{ - d2 = d1/2; -} - -void -Marshal_SSI_Impl::test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2, - CORBA_Environment &env) -{ - ms2.s = ms1.s; - ms2.l = ms1.l; - ms2.c = ms1.c; - ms2.o = ms1.o; - ms2.d = ms1.d; -} - -void -Marshal_SSI_Impl::test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2, - CORBA_Environment &env) -{ - u2._d (u1._d ()); // set the discriminant value - - switch (u1._d ()) - { - case Marshal::e_0th: - u2.s (u1.s ()); // set short - break; - case Marshal::e_1st: - u2.l (u1.l ()); // set long - break; - case Marshal::e_2nd: - u2.c (u1.c ()); // set char - break; - case Marshal::e_3rd: - u2.o (u1.o ()); // set octet - break; - case Marshal::e_4th: - u2.d (u1.d ()); // set double - break; - case Marshal::e_5th: - default: - u2.ms (u1. ms ()); // set structs - break; - } -} - -void -Marshal_SSI_Impl::test_any (const CORBA_Any &a1, - CORBA_Any *&a2, - CORBA_Environment &env) -{ - a2 = new CORBA_Any (a1.type (), (void *)a1.value ()); // will do a deep copy -} - -void -Marshal_SSI_Impl::test_sequence (const Marshal::AnySeq& as1, - Marshal::AnySeq *& as2, - CORBA_Environment &env) -{ - as2 = new Marshal::AnySeq (as1); -} - -#if 0 -void -Marshal_SSI_Impl::test_recursive (const Marshal::Marshal_Recursive &mr1, - Marshal::Marshal_Recursive *&mr2, - CORBA_Environment &env) -{ -} -#endif - -//---------------------------------------------------------------------------- -//the methods of the DSI implementation class - -static const TAO_operation_db_entry Marshal_DSI_operations[] = { - {"_is_a", &Marshal_DSI_Impl::_Marshal_is_a_skel}, - { "test_short", &Marshal_DSI_Impl::_Marshal_test_short_skel}, - { "test_long", &Marshal_DSI_Impl::_Marshal_test_long_skel}, - { "test_octet", &Marshal_DSI_Impl::_Marshal_test_octet_skel}, - { "test_char", &Marshal_DSI_Impl::_Marshal_test_char_skel}, - { "test_double", &Marshal_DSI_Impl::_Marshal_test_double_skel}, - { "test_struct", &Marshal_DSI_Impl::_Marshal_test_struct_skel}, - { "test_union", &Marshal_DSI_Impl::_Marshal_test_union_skel}, - { "test_any", &Marshal_DSI_Impl::_Marshal_test_any_skel}, - { "test_sequence", &Marshal_DSI_Impl::_Marshal_test_sequence_skel}, - { 0, 0 } -}; - -// Note that we use a linear table because rest of the DSI implementations we -// compare with also use linear search in their "invoke" method. -TAO_Linear_OpTable tao_Marshal_DSI_optable (Marshal_DSI_operations, 10); - -// constructor -Marshal_DSI_Impl::Marshal_DSI_Impl (CORBA_ORB_ptr orb, const char *obj_name) - : orb_ (orb) - //,CORBA_DynamicImplementation ("Marshal", obj_name) // interface name is necessary -{ - // Note that this is a HACK to achieve DSI behavior. But this way we can - // cleanly integrate ourselves with the dispatch mechanism of the OA. - - const CORBA_String repoID = "IDL:Marshal:1.0"; // repository ID - STUB_Object *data; // IIOP object - CORBA_BOA_ptr oa = TAO_OA_PARAMS::instance()->oa(); // underlying BOA - this->optable_ = &tao_Marshal_DSI_optable; // operation database - CORBA_Long i; - - // setup an IIOP object - data = new STUB_Object (CORBA_string_dup (repoID)); - data->profile.iiop_version.major = IIOP::MY_MAJOR; - data->profile.iiop_version.minor = IIOP::MY_MINOR; - data->profile.host = ACE_OS::strdup (oa->get_addr ().get_host_name ()); - data->profile.port = oa->get_addr ().get_port_number (); - data->profile.object_key.length = ACE_OS::strlen (obj_name); - data->profile.object_key.maximum = data->profile.object_key.length; - data->profile.object_key.buffer = new CORBA_Octet [(size_t)data->profile.object_key.length+1]; - ACE_OS::memcpy (data->profile.object_key.buffer, obj_name, - data->profile.object_key.length); // set the object key - this->set_parent (data); // store the IIOP obj reference with ourselves - this->sub_ = this; // set the most derived class to be ourselves - if (oa) oa->bind (data->profile.object_key, this);// register ourselves -} - -void -Marshal_DSI_Impl::invoke (CORBA_ServerRequest& req, CORBA_Environment &env) -{ - // parse the incoming request and find out for what operation it is. We use a - // simple linear search here - if (!ACE_OS::strcmp (req.op_name (), "test_short")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_long")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_octet")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_char")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_double")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_struct")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_union")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_any")) - { - } - else if (!ACE_OS::strcmp (req.op_name (), "test_sequence")) - { - } -} - -// simulate the skeletons -void Marshal_DSI_Impl::_Marshal_is_a_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (_tc_CORBA_String); - char *type_id = "IDL:Marshal:1.0"; - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - - req.params (nvlist, env); - if (env.exception () != 0) { - dexc (env, "is_a_skel, get params"); - return; - } - - CORBA_Boolean *retval; - CORBA_String value = *(CORBA_String *)nv->value ()->value (); - - cout << "object id = " << ((char *)value) << endl; - if (strcmp ((char *)value, (char *)type_id) == 0 - || strcmp ((char *)value, _tc_CORBA_Object->id(env)) == 0) - retval = new CORBA_Boolean (1); - else - retval = new CORBA_Boolean (0); - - CORBA_Any *any = - new CORBA_Any (_tc_CORBA_Boolean, retval, 1); - - req.result (any, env); - dexc (env, "_is_a, result"); -} - -void Marshal_DSI_Impl::_Marshal_test_short_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv1, nv2; - CORBA_Any any_s1 (_tc_CORBA_Short); - CORBA_Any any_s2 (_tc_CORBA_Short); - Marshal_DSI_Impl* impl; - CORBA_Short s1, s2; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - nv1 = nvlist->add_value (0, any_s1, CORBA_ARG_IN, env); - nv2 = nvlist->add_value (0, any_s2, CORBA_ARG_OUT, env); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - s1 = *(CORBA_Short *) nv1->value ()->value (); - - // now invoke the implementation - impl = (Marshal_DSI_Impl *)(obj->get_subclass ()); - // now the magic of dynamic binding - impl->test_short (s1, s2, env); - - nv2->value ()->replace (_tc_CORBA_Short, &s2, 0, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); - req.result(any, env); -} - -void Marshal_DSI_Impl::_Marshal_test_long_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv1, nv2; - CORBA_Any any_l1 (_tc_CORBA_Long); - CORBA_Any any_l2 (_tc_CORBA_Long); - Marshal_DSI_Impl* impl; - CORBA_Long l1, l2; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - nv1 = nvlist->add_value (0, any_l1, CORBA_ARG_IN, env); - nv2 = nvlist->add_value (0, any_l2, CORBA_ARG_OUT, env); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - l1 = *(CORBA_Long *) nv1->value ()->value (); - - // now invoke the implementation - impl = (Marshal_DSI_Impl *)(obj->get_subclass ()); - // now the magic of dynamic binding - impl->test_long (l1, l2, env); - - nv2->value ()->replace (_tc_CORBA_Long, &l2, 0, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); - req.result(any, env); -} - -void Marshal_DSI_Impl::_Marshal_test_octet_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv1, nv2; - CORBA_Any any_o1 (_tc_CORBA_Octet); - CORBA_Any any_o2 (_tc_CORBA_Octet); - Marshal_DSI_Impl* impl; - CORBA_Octet o1, o2; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - nv1 = nvlist->add_value (0, any_o1, CORBA_ARG_IN, env); - nv2 = nvlist->add_value (0, any_o2, CORBA_ARG_OUT, env); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - o1 = *(CORBA_Octet *) nv1->value ()->value (); - - // now invoke the implementation - impl = (Marshal_DSI_Impl *)(obj->get_subclass ()); - // now the magic of dynamic binding - impl->test_octet (o1, o2, env); - - nv2->value ()->replace (_tc_CORBA_Octet, &o2, 0, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); - req.result(any, env); -} - -void Marshal_DSI_Impl::_Marshal_test_char_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv1, nv2; - CORBA_Any any_c1 (_tc_CORBA_Char); - CORBA_Any any_c2 (_tc_CORBA_Char); - Marshal_DSI_Impl* impl; - CORBA_Char c1, c2; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - nv1 = nvlist->add_value (0, any_c1, CORBA_ARG_IN, env); - nv2 = nvlist->add_value (0, any_c2, CORBA_ARG_OUT, env); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - c1 = *(CORBA_Char *) nv1->value ()->value (); - - // now invoke the implementation - impl = (Marshal_DSI_Impl *)(obj->get_subclass ()); - // now the magic of dynamic binding - impl->test_char (c1, c2, env); - - nv2->value ()->replace (_tc_CORBA_Char, &c2, 0, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); - req.result(any, env); -} - -void Marshal_DSI_Impl::_Marshal_test_double_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv1, nv2; - CORBA_Any any_d1 (_tc_CORBA_Double); - CORBA_Any any_d2 (_tc_CORBA_Double); - Marshal_DSI_Impl* impl; - CORBA_Double d1, d2; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - nv1 = nvlist->add_value (0, any_d1, CORBA_ARG_IN, env); - nv2 = nvlist->add_value (0, any_d2, CORBA_ARG_OUT, env); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - d1 = *(CORBA_Double *) nv1->value ()->value (); - - // now invoke the implementation - impl = (Marshal_DSI_Impl *)(obj->get_subclass ()); - // now the magic of dynamic binding - impl->test_double (d1, d2, env); - - nv2->value ()->replace (_tc_CORBA_Double, &d2, 0, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); - req.result(any, env); -} - -void Marshal_DSI_Impl::_Marshal_test_struct_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv1, nv2; - CORBA_Any any_ms1 (Marshal::_tc_Marshal_Struct); - CORBA_Any any_ms2 (Marshal::_tc_Marshal_Struct); - Marshal_DSI_Impl* impl; - Marshal::Marshal_Struct ms1, *ms2; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - nv1 = nvlist->add_value (0, any_ms1, CORBA_ARG_IN, env); - nv2 = nvlist->add_value (0, any_ms2, CORBA_ARG_OUT, env); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - // note that the second parameter being an out parameter, we are allocating - // it from heap and filling it up. We will then insert it into the Any that - // will get written to the stream. We should have done this for the - // primitives too, but somehow they worked (because nothing got written onto - // the stack frame onto which they existed, but this phenomenon was occuring - // here and possibly will occur for the rest of the case - ms1 = *(Marshal::Marshal_Struct *) nv1->value ()->value (); - ms2 = new Marshal::Marshal_Struct; - - // now invoke the implementation - impl = (Marshal_DSI_Impl *)(obj->get_subclass ()); - // now the magic of dynamic binding - impl->test_struct (ms1, *ms2, env); - - nv2->value ()->replace (Marshal::_tc_Marshal_Struct, ms2, 1, env); - - // result - NO result - // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); - // req.result(any, env); -} - -void Marshal_DSI_Impl::_Marshal_test_union_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv1, nv2; - CORBA_Any any_u1 (Marshal::_tc_Marshal_Union); - CORBA_Any any_u2 (Marshal::_tc_Marshal_Union); - Marshal_DSI_Impl* impl; - Marshal::Marshal_Union u1, *u2; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - nv1 = nvlist->add_value (0, any_u1, CORBA_ARG_IN, env); - nv2 = nvlist->add_value (0, any_u2, CORBA_ARG_OUT, env); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - u1 = *(Marshal::Marshal_Union *) nv1->value ()->value (); - u2 = new Marshal::Marshal_Union; - - // now invoke the implementation - impl = (Marshal_DSI_Impl *)(obj->get_subclass ()); - // now the magic of dynamic binding - impl->test_union (u1, *u2, env); - - nv2->value ()->replace (Marshal::_tc_Marshal_Union, u2, 0, env); - - // result - NO result - // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); - // req.result(any, env); -} - -void Marshal_DSI_Impl::_Marshal_test_any_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv1, nv2; - CORBA_Any *a1=0, *a2=0; - CORBA_Any any_a1 (_tc_CORBA_Any, &a1); - CORBA_Any any_a2 (_tc_CORBA_Any); - Marshal_DSI_Impl* impl; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - nv1 = nvlist->add_value (0, any_a1, CORBA_ARG_IN, env); - nv2 = nvlist->add_value (0, any_a2, CORBA_ARG_OUT, env); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - a1 = (CORBA_Any *) nv1->value ()->value (); - - // now invoke the implementation - impl = (Marshal_DSI_Impl *)(obj->get_subclass ()); - // now the magic of dynamic binding - impl->test_any (*a1, a2, env); - - nv2->value ()->replace (_tc_CORBA_Any, a2, 1, env); - - // result - NO result - // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); - // req.result(any, env); -} - -void Marshal_DSI_Impl::_Marshal_test_sequence_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv1, nv2; - CORBA_Any any_as1 (Marshal::_tc_AnySeq); - CORBA_Any any_as2 (Marshal::_tc_AnySeq); - Marshal_DSI_Impl* impl; - Marshal::AnySeq *as1, *as2; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - nv1 = nvlist->add_value (0, any_as1, CORBA_ARG_IN, env); - nv2 = nvlist->add_value (0, any_as2, CORBA_ARG_OUT, env); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - as1 = (Marshal::AnySeq *) nv1->value ()->value (); - - // now invoke the implementation - impl = (Marshal_DSI_Impl *)(obj->get_subclass ()); - // now the magic of dynamic binding - impl->test_sequence (*as1, as2, env); - - nv2->value ()->replace (Marshal::_tc_AnySeq, as2, 1, env); - - // result - NO result - // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); - // req.result(any, env); -} - -// private methods of our DSI class -void -Marshal_DSI_Impl::test_short (CORBA_Short s1, - CORBA_Short &s2, - CORBA_Environment &env) -{ - s2 = 2*s1; -} - -void -Marshal_DSI_Impl::test_long (CORBA_Long l1, - CORBA_Long &l2, - CORBA_Environment &env) -{ - l2 = 3*l1; -} - -void -Marshal_DSI_Impl::test_octet (CORBA_Octet o1, - CORBA_Octet &o2, - CORBA_Environment &env) -{ - o2 = o1; -} - -void -Marshal_DSI_Impl::test_char (CORBA_Char c1, - CORBA_Char &c2, - CORBA_Environment &env) -{ - c2 = c1; -} - -void -Marshal_DSI_Impl::test_double (CORBA_Double d1, - CORBA_Double &d2, - CORBA_Environment &env) -{ - d2 = d1/2; -} - -void -Marshal_DSI_Impl::test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2, - CORBA_Environment &env) -{ - ms2.s = ms1.s; - ms2.l = ms1.l; - ms2.c = ms1.c; - ms2.o = ms1.o; - ms2.d = ms1.d; -} - -void -Marshal_DSI_Impl::test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2, - CORBA_Environment &env) -{ - u2._d (u1._d ()); // set the discriminant value - - switch (u1._d ()) - { - case Marshal::e_0th: - u2.s (u1.s ()); // set short - break; - case Marshal::e_1st: - u2.l (u1.l ()); // set long - break; - case Marshal::e_2nd: - u2.c (u1.c ()); // set char - break; - case Marshal::e_3rd: - u2.o (u1.o ()); // set octet - break; - case Marshal::e_4th: - u2.d (u1.d ()); // set double - break; - case Marshal::e_5th: - default: - u2.ms (u1. ms ()); // set structs - break; - } -} - -void -Marshal_DSI_Impl::test_any (const CORBA_Any &a1, - CORBA_Any *&a2, - CORBA_Environment &env) -{ - a2 = new CORBA_Any (a1.type (), (void *)a1.value ()); // will do a deep copy -} - -void -Marshal_DSI_Impl::test_sequence (const Marshal::AnySeq& as1, - Marshal::AnySeq *& as2, - CORBA_Environment &env) -{ - as2 = new Marshal::AnySeq (as1); -} - -#if 0 -void -Marshal_DSI_Impl::test_recursive (const Marshal::Marshal_Recursive &mr1, - Marshal::Marshal_Recursive *&mr2, - CORBA_Environment &env) -{ -} -#endif diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.h b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.h deleted file mode 100644 index 9c5d9047120..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.h +++ /dev/null @@ -1,196 +0,0 @@ -// $Id$ - -#ifndef TAO_MARSHAL_IMPL_H -#define TAO_MARSHAL_IMPL_H - -// to include DSI related files - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "marshalS.h" -//#include "tao/dynimpl.h" - -class Marshal_SSI_Impl - : public virtual _skel_Marshal -{ - // =TITLE - // Marshal_SSI_Impl - // =DESCRIPTION - // Implementation of the interface using the static skeleton interface -public: - Marshal_SSI_Impl (const char *object_name = (const char *)NULL); - // constructor - - ~Marshal_SSI_Impl (void); - // destructor - - virtual void test_short (CORBA_Short s1, - CORBA_Short& s2, - CORBA_Environment &env); - // test short - - virtual void test_long (CORBA_Long l1, - CORBA_Long& l2, - CORBA_Environment &env); - // test long - - virtual void test_octet (CORBA_Octet o1, - CORBA_Octet& o2, - CORBA_Environment &env); - // test octet - - virtual void test_char (CORBA_Char c1, - CORBA_Char& c2, - CORBA_Environment &env); - // test char - - virtual void test_double (CORBA_Double d1, - CORBA_Double& d2, - CORBA_Environment &env); - // test double - - virtual void test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2, - CORBA_Environment &env); - // test struct - - virtual void test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2, - CORBA_Environment &env); - // test union - - virtual void test_any (const CORBA_Any& a1, - CORBA_Any *& a2, - CORBA_Environment &env); - // test any - - virtual void test_sequence (const Marshal::AnySeq& a1, - Marshal::AnySeq *& a2, - CORBA_Environment &env); - // test sequence - -#if 0 - virtual void test_recursive (const Marshal::Marshal_Recursive& mr1, - Marshal::Marshal_Recursive *& mr2, - CORBA_Environment &env); - // test struct -#endif - -}; - -class Marshal_DSI_Impl : public CORBA_Object //: public CORBA_DynamicImplementation -{ - // =TITLE - // Marshal_DSI_Impl - // =DESCRIPTION - // Implementation of the interface using the dynamic skeleton interface - // =NOTES - // We do not have a DynamicImplementation as yet. So we do a trick here. We - // simulate the skeletons here and these call the private methods defined below: -public: - Marshal_DSI_Impl (CORBA_ORB_ptr orb, const char *object_name = (const char *)NULL); - // constructor - - ~Marshal_DSI_Impl (void); - // destructor - - virtual void invoke (CORBA_ServerRequest & req, CORBA_Environment &env); - // This method is a must, but of no use - - // skeletons that do the upcall - static void _Marshal_is_a_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_short_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_long_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_octet_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_char_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_double_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_struct_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_union_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_any_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _Marshal_test_sequence_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); -private: - void test_short (CORBA_Short s1, - CORBA_Short& s2, - CORBA_Environment &env); - // test short - - void test_long (CORBA_Long l1, - CORBA_Long& l2, - CORBA_Environment &env); - // test long - - void test_octet (CORBA_Octet o1, - CORBA_Octet& o2, - CORBA_Environment &env); - // test octet - - void test_char (CORBA_Char c1, - CORBA_Char& c2, - CORBA_Environment &env); - // test char - - void test_double (CORBA_Double d1, - CORBA_Double& d2, - CORBA_Environment &env); - // test double - - void test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2, - CORBA_Environment &env); - // test struct - - void test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2, - CORBA_Environment &env); - // test union - - void test_any (const CORBA_Any& a1, - CORBA_Any *& a2, - CORBA_Environment &env); - // test any - - void test_sequence (const Marshal::AnySeq& a1, - Marshal::AnySeq *& a2, - CORBA_Environment &env); - // test sequence - -#if 0 - void test_recursive (const Marshal::Marshal_Recursive& mr1, - Marshal::Marshal_Recursive *& mr2, - CORBA_Environment &env); - // test struct -#endif - - // we need the orb to create argument lists (NVList) for us - CORBA_ORB_ptr orb_; // not owned by us -}; - -#if defined (__ACE_INLINE__) -#include "tao_marshal_impl.i" -#endif /* __ACE_INLINE__ */ - -#endif // defined (TAO_MARSHAL_IMPL_H) diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.i b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.i deleted file mode 100644 index a730daf8106..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.i +++ /dev/null @@ -1,23 +0,0 @@ -// $Id$ - -// constructor -ACE_INLINE -Marshal_SSI_Impl::Marshal_SSI_Impl (const char *obj_name) - : _skel_Marshal (obj_name) -{ -} - -// destructor -ACE_INLINE -Marshal_SSI_Impl::~Marshal_SSI_Impl (void) -{ -} - -// destructor -ACE_INLINE -Marshal_DSI_Impl::~Marshal_DSI_Impl (void) -{ - orb_ = 0;//CORBA::ORB::_nil (); -} - - diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.cpp b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.cpp deleted file mode 100644 index 9966b292e7f..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.cpp +++ /dev/null @@ -1,114 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Tao marshal benchmark -// -// = FILENAME -// tao_marshal_server.cpp -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "tao_marshal_server.h" -#include -#include - -#if !defined (__ACE_INLINE__) -#include "tao_marshal_server.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(TAO, tao_marshal_server, "$Id$") - -int -Tao_Marshal_Server_Proxy::run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - char **argv; - int argc; - CORBA_Environment env; - CORBA_String str; // for the IOR string - fstream iorfile; // persistent storage for IOR - - // get the argument list to be passed on to the ORB_init method - argv = options.orb_init_args (argc); - - // get the orb. Pass any ORB_init arguments - this->orb_ = CORBA_ORB_init (argc, (char *const *)argv, "IOR", env); - if (this->orb_ == 0) - { - ACE_DEBUG ((LM_DEBUG, "ORB_init failed\n")); - return -1; - } - - // get the argument list to be passed on to the BOA_init method - argv = options.boa_init_args (argc); - - char *foo [] = {"-OAhost","mambo"}; argc = 2; - // get the orb. Pass any ORB_init arguments - this->boa_ = this->orb_->BOA_init (argc, foo, "ROA");//(argc, (char *const *)argv); - if (this->boa_ == 0) - { - ACE_DEBUG ((LM_DEBUG, "ORB_init failed\n")); - return -1; - } - - // tell the "results" object what file it must store the results into - results.filename (options.filename ()); - - // use SII or DII accordingly - switch (options.policy ()) - { - case CORBA_Marshal_Options::STATIC : // use SSI - this->ssi_ = new Marshal_SSI_Impl (options.object_name ()); - // register with the BOA - // this->boa_->obj_is_ready (this->ssi_); - - // get a stringified representation of the object reference created above - str = this->orb_->object_to_string (this->dsi_, env); - if (env.exception() != 0) - { - // print_exception (env.exception(), "object_to_string", stdout); - return 1; - } - - // save the IOR in persistent storage so that clients can read this and obtain - // object references. We need to do this since we do not yet have some kind - // of a naming service that will allow clients to "bind" to desired objects - iorfile.open ("./ior.txt", ios::out); - iorfile << ((char *)str) << endl; - iorfile.close (); - break; - case CORBA_Marshal_Options::DYNAMIC : // use DSI - this->dsi_ = new Marshal_DSI_Impl (this->orb_, ACE_OS::strdup (options.object_name ())); - // register with the BOA - // this->boa_->obj_is_ready (this->dsi_); - - // get a stringified representation of the object reference created above - str = this->orb_->object_to_string (this->dsi_, env); - if (env.exception() != 0) - { - ACE_DEBUG ((LM_ERROR, "cannot get IOR from DSI object" )); - // print_exception (env.exception(), "object_to_string", stdout); - return 1; - } - - // save the IOR in persistent storage so that clients can read this and obtain - // object references. We need to do this since we do not yet have some kind - // of a naming service that will allow clients to "bind" to desired objects - iorfile.open ("./ior.txt", ios::out); - iorfile << ((char *)str) << endl; - iorfile.close (); - break; - default: - ACE_DEBUG ((LM_DEBUG, "bad policy\n")); - return -1; - } - - ACE_Reactor::run_event_loop (); // should be replaced by impl_is_ready - return 0; -} - diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.h b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.h deleted file mode 100644 index 10442253e06..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.h +++ /dev/null @@ -1,59 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Tao Benchmark -// -// = FILENAME -// tao_marshal_server.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _TAO_MARSHAL_SERVER_H_ -#define _TAO_MARSHAL_SERVER_H_ - -// benchmark library includes -#include "benchmark/marshal_options.h" -#include "benchmark/marshal_results.h" -#include "benchmark/marshal_proxy.h" - -// implementation classes -#include "tao_marshal_impl.h" - -// include Tao specific include files -#include "marshalS.h" // generated by IDL compiler - -class Tao_Marshal_Server_Proxy : public CORBA_Marshal_Proxy -{ -public: - Tao_Marshal_Server_Proxy (void); - // constructor - - ~Tao_Marshal_Server_Proxy (void); - // destructor - - virtual int run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // do the actual work -private: - CORBA_ORB_ptr orb_; - // underlying orb; - - CORBA_BOA_ptr boa_; - // underlying boa; - - Marshal_SSI_Impl *ssi_; - Marshal_DSI_Impl *dsi_; - // the implementation (SSI or DSI) -}; - - -#if defined (__ACE_INLINE__) -#include "tao_marshal_server.i" -#endif /* __ACE_INLINE__ */ - -#endif diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.i b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.i deleted file mode 100644 index 446b96cf468..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.i +++ /dev/null @@ -1,28 +0,0 @@ -// $Id$ - -// constructor -ACE_INLINE -Tao_Marshal_Server_Proxy::Tao_Marshal_Server_Proxy (void) - : orb_ (0), - boa_ (0), - ssi_ (0), - dsi_ (0) -{ -} - -// destructor -ACE_INLINE -Tao_Marshal_Server_Proxy::~Tao_Marshal_Server_Proxy (void) -{ - // releasing order is important - - // release the impl - delete ssi_; - delete dsi_; - - // release the BOA - CORBA_release (boa_); - - // release the ORB - CORBA_release (orb_); -} diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/Makefile b/TAO/Benchmark/Marshal_Test/VisiBroker/Makefile deleted file mode 100644 index 3b0bf024df4..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the VisiBroker Marshal Benchmark -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -LDLIBS = -lACE -lbenchmark -lorb - -PROG_SRCS = marshalC.cpp marshalS.cpp visi_marshal_client.cpp visi_marshal_server.cpp \ - visi_marshal_impl.cpp client.cpp server.cpp - -LSRC = $(PROG_SRCS) - -MARSHAL_CLIENT_OBJS = marshalC.o visi_marshal_client.o client.o - -MARSHAL_SERVER_OBJS = marshalC.o marshalS.o visi_marshal_impl.o visi_marshal_server.o server.o - -BIN = client server - -BUILD = $(BIN) - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -# include VisiBroker specific file -include /project/mambo/gokhale/CONFIG/orbeline_defaults.mk - -#---------------------------------------------------------------------------- -# Local modifications to variables imported by includes above. -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -CPPFLAGS += -I$(TAO_ROOT) -I$(TAO_ROOT)/Benchmark -D_PMC_INCLUDE_DSI - -server: $(addprefix $(VDIR),$(MARSHAL_SERVER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(MARSHAL_CLIENT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -marshalC.h marshalS.h marshalC.cpp marshalS.cpp: marshal.idl - $(IDL) $(IDLFLAGS) $< - -clean: - $(RM) core *.o *~ client server *C.cpp *S.cpp *S.h *C.h - $(MAKE) realclean - diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/client.cpp b/TAO/Benchmark/Marshal_Test/VisiBroker/client.cpp deleted file mode 100644 index fca289e19e4..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/client.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// $Id$ - -#include "benchmark/driver.h" -#include "visi_marshal_client.h" - -ACE_RCSID(VisiBroker, client, "$Id$") - -int main (int argc, char *argv []) -{ - // instantiate a DRIVER with the Visi_Client_Proxy as the template - CORBA_Benchmark_Driver driver (new - Visi_Marshal_Client_Proxy ()); - - // let the driver do everything for us so that we remain very simple - return driver.run (argc, argv); -} diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/marshal.idl b/TAO/Benchmark/Marshal_Test/VisiBroker/marshal.idl deleted file mode 100644 index 077a98e58fd..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/marshal.idl +++ /dev/null @@ -1,91 +0,0 @@ -// $Id$ - -// Interface for the marshal benchmark - -interface Marshal -{ - struct Marshal_Struct - { - short s; - long l; - char c; - octet o; - double d; - }; - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th, e_6th}; - - union Marshal_Union - switch (discrim) - { - case e_0th: - short s; - case e_1st: - long l; - case e_2nd: - char c; - case e_3rd: - octet o; - case e_4th: - double d; - case e_5th: - default: // this will test typecode indirection - Marshal_Struct ms; - }; - - /* - typedef sequence ShortSeq; - typedef sequence LongSeq; - typedef sequence OctetSeq; - typedef sequence CharSeq; - typedef sequence DoubleSeq; - typedef sequence StructSeq; - typedef sequence UnionSeq; - */ - // for testing sequences of Any - typedef sequence AnySeq; - - // testing recursive behavior - // complex. - struct Marshal_Recursive - { - // we use this to test the limited recursion allowed by IDL. This is an - // ideal test for indirected typecodes. - - // simulate a behavior of a list node - any value; - sequence next; - }; - - void test_short (in short s1, out short s2); // test a short - void test_long (in long l1, out long l2); // test a long - void test_octet (in octet o1, out octet o2); // test an octet - void test_char (in char c1, out char c2); // test a char - void test_double (in double d1, out double d2); // test a double - void test_struct (in Marshal_Struct ms1, out Marshal_Struct ms2); // test a - // struct - void test_union (in Marshal_Union u1, out Marshal_Union u2); // test a - // union. - void test_any (in any a1, out any a2); // test an Any - /* - void test_sequence (in ShortSeq ss1, in LongSeq ls1, in OctetSeq os1, in - CharSeq cs1, in DoubleSeq ds1, in StructSeq Ss1, in - UnionSeq us1, in AnySeq as1, - out ShortSeq ss2, out LongSeq ls2, out OctetSeq os2, out - CharSeq cs2, out DoubleSeq ds2, out StructSeq Ss2, out - UnionSeq us2, out AnySeq as2); - */ - void test_sequence (in AnySeq as1, out AnySeq as2); // this will result in a - // 3 level indirection - - // sequence, any, and its - // value type - void test_recursive (in Marshal_Recursive mr1, out Marshal_Recursive mr2); // - // very complicated -}; - - - - - - - diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/run_client b/TAO/Benchmark/Marshal_Test/VisiBroker/run_client deleted file mode 100755 index 2a35700495f..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/run_client +++ /dev/null @@ -1,23 +0,0 @@ -echo "********* Static Invocation Interface **********" -client -i 1 -h mambo -R s -P S -o marshal -T s -client -i 1 -h mambo -R s -P S -o marshal -T l -client -i 1 -h mambo -R s -P S -o marshal -T o -client -i 1 -h mambo -R s -P S -o marshal -T c -client -i 1 -h mambo -R s -P S -o marshal -T d -client -i 1 -h mambo -R s -P S -o marshal -T S -client -i 1 -h mambo -R s -P S -o marshal -T U -client -i 1 -h mambo -R s -P S -o marshal -T A -client -i 1 -h mambo -R s -P S -o marshal -T Q -#client -i 1 -h mambo -R s -P S -o marshal -T R -# -echo "********* Dynamic Invocation Interface **********" -client -i 1 -h mambo -R s -P D -o marshal -T s -client -i 1 -h mambo -R s -P D -o marshal -T l -client -i 1 -h mambo -R s -P D -o marshal -T o -client -i 1 -h mambo -R s -P D -o marshal -T c -client -i 1 -h mambo -R s -P D -o marshal -T d -client -i 1 -h mambo -R s -P D -o marshal -T S -client -i 1 -h mambo -R s -P D -o marshal -T U -client -i 1 -h mambo -R s -P D -o marshal -T A -client -i 1 -h mambo -R s -P D -o marshal -T Q - diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/run_server b/TAO/Benchmark/Marshal_Test/VisiBroker/run_server deleted file mode 100755 index c5ff4cdc2f0..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/run_server +++ /dev/null @@ -1 +0,0 @@ -server -R r -P S -I V -o marshal \ No newline at end of file diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/server.cpp b/TAO/Benchmark/Marshal_Test/VisiBroker/server.cpp deleted file mode 100644 index edb0dd286ff..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/server.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// $Id$ - -#include "benchmark/driver.h" -#include "visi_marshal_server.h" - -ACE_RCSID(VisiBroker, server, "$Id$") - -int main (int argc, char *argv []) -{ - // instantiate a DRIVER with the Visi_Client_Proxy as the template - CORBA_Benchmark_Driver driver (new - Visi_Marshal_Server_Proxy ()); - - // let the driver do everything for us so that we remain very simple - return driver.run (argc, argv); -} diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.cpp b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.cpp deleted file mode 100644 index a7719ad647a..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.cpp +++ /dev/null @@ -1,1348 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Visibroker marshal benchmark -// -// = FILENAME -// visi_marshal_proxy.cpp -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "visi_marshal_client.h" - -#if !defined (__ACE_INLINE__) -#include "visi_marshal_client.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(VisiBroker, visi_marshal_client, "$Id$") - -int -Visi_Marshal_Client_Proxy::run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - char **argv; - int argc; - CORBA::Object_ptr target; - - // get the argument list to be passed on to the ORB_init method - argv = options.orb_init_args (argc); - - // get the orb. Pass any ORB_init arguments - this->orb_ = CORBA::ORB_init (argc, (char *const *)argv); - if (this->orb_ == 0) - { - ACE_DEBUG ((LM_DEBUG, "ORB_init failed\n")); - return -1; - } - - // get the obj ref by binding it to the specified host using the specified obj_name - target = Marshal::_bind (options.object_name (), options.hostname ()); - if (CORBA::is_nil (target)) - { - ACE_DEBUG ((LM_DEBUG, "bind call failed\n")); - return -1; - } - - this->ref_ = Marshal::_narrow (target); - if (CORBA::is_nil (this->ref_)) - { - ACE_DEBUG ((LM_DEBUG, "narrow to Marshal failed\n")); - return -1; - } - - // tell the "results" object what file it must store the results into - results.filename (options.filename ()); - - // use SII or DII accordingly - switch (options.policy ()) - { - case CORBA_Marshal_Options::STATIC : // use SII - return this->use_sii (options, results); - break; - case CORBA_Marshal_Options::DYNAMIC : // use DII - return this->use_dii (options, results); - break; - default: - ACE_DEBUG ((LM_DEBUG, "bad policy\n")); - return -1; - } - // hopefully we are never here, else something is seriously wrong - return -1; -} - -int -Visi_Marshal_Client_Proxy::use_sii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - int i; - int status = 0; - // This method tests the static invocation interface - - for (i=0; i < options.iterations () && !status; i++) - { - switch (options.data_type ()) - { - // shorts - case CORBA_Marshal_Options::SHORT: - status = sii_test_short (options, results); - break; - // longs - case CORBA_Marshal_Options::LONG: - status = sii_test_long (options, results); - break; - // octets - case CORBA_Marshal_Options::OCTET: - status = sii_test_octet (options, results); - break; - // chars - case CORBA_Marshal_Options::CHAR: - status = sii_test_char (options, results); - break; - // doubles - case CORBA_Marshal_Options::DOUBLE: - status = sii_test_double (options, results); - break; - // Structs - case CORBA_Marshal_Options::STRUCT: - status = sii_test_struct (options, results); - break; - // unions - case CORBA_Marshal_Options::UNION: - status = sii_test_union (options, results); - break; - // anys - case CORBA_Marshal_Options::ANY: - status = sii_test_any (options, results); - break; - // sequences - case CORBA_Marshal_Options::SEQUENCE: - status = sii_test_sequence (options, results); - break; - // longs - case CORBA_Marshal_Options::RECURSIVE: - // status = sii_test_recursive (options, results); - // doesn't work - break; - default: - status = -1; - } // end of switch - } // for loop - - if (!status) - return 0; - else - return -1; -} - -int -Visi_Marshal_Client_Proxy::use_dii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - int i; - int status = 0; - // This method tests the dynamic invocation interface - - for (i=0; i < options.iterations () && !status; i++) - { - switch (options.data_type ()) - { - // shorts - case CORBA_Marshal_Options::SHORT: - status = dii_test_short (options, results); - break; - // longs - case CORBA_Marshal_Options::LONG: - status = dii_test_long (options, results); - break; - // octets - case CORBA_Marshal_Options::OCTET: - status = dii_test_octet (options, results); - break; - // chars - case CORBA_Marshal_Options::CHAR: - status = dii_test_char (options, results); - break; - // doubles - case CORBA_Marshal_Options::DOUBLE: - status = dii_test_double (options, results); - break; - // Structs - case CORBA_Marshal_Options::STRUCT: - status = dii_test_struct (options, results); - break; - // unions - case CORBA_Marshal_Options::UNION: - status = dii_test_union (options, results); - break; - // anys - case CORBA_Marshal_Options::ANY: - status = dii_test_any (options, results); - break; - // sequences - case CORBA_Marshal_Options::SEQUENCE: - status = dii_test_sequence (options, results); - break; - // longs - case CORBA_Marshal_Options::RECURSIVE: - // status = dii_test_recursive (options, results); - // doesn't work - break; - default: - status = -1; - } // end of switch - } // for loop - - if (!status) - return 0; - else - return -1; -} - - -// all helper functions : SII -int -Visi_Marshal_Client_Proxy::sii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - CORBA::Short s1, s2; - s1 = 3; - ref_->test_short (s1, s2); - if (s1 == s2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_short success: s1 = %d, s2 = %d\n", s1, s2)); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_short failed: s1 = %d, s2 = %d\n", s1, s2)); - return -1; - } -} - -int -Visi_Marshal_Client_Proxy::sii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - CORBA::Long l1, l2; - l1 = 256; - ref_->test_long (l1, l2); - if (l1 == l2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_long success: l1 = %d, l2 = %d\n", l1, l2)); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_long failed: l1 = %d, l2 = %d\n", l1, l2)); - return -1; - } -} - -int -Visi_Marshal_Client_Proxy::sii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // octets -{ - CORBA::Octet o1, o2; - o1 = (CORBA::Octet) 127; - ref_->test_octet (o1, o2); - if (o1 == o2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_octet success: o1 = %c, o2 = %c\n", o1, o2)); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_octet failed: o1 = %c, o2 = %c\n", o1, o2)); - return -1; - } -} - -int -Visi_Marshal_Client_Proxy::sii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // chars -{ - CORBA::Char c1, c2; - c1 = 'B'; - ref_->test_char (c1, c2); - if (c1 == c2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_char success: c1 = %c, c2 = %c\n", c1, c2)); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_char failed: c1 = %c, c2 = %c\n", c1, c2)); - return -1; - } -} - -int -Visi_Marshal_Client_Proxy::sii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // doubles -{ - CORBA::Double d1, d2; - d1 = 3.1415; - ref_->test_double (d1, d2); - if (d1 == d2) - { - ACE_DEBUG ((LM_DEBUG, "SII test_double success: d1 = %f, d2 = %f\n", d1, d2)); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_double failed: d1 = %f, d2 = %f\n", d1, d2)); - return -1; - } -} - -int -Visi_Marshal_Client_Proxy::sii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // structs -{ - Marshal::Marshal_Struct ms1, ms2; - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA::Octet) 127; - ms1.d = 3.1415; - - ref_->test_struct (ms1, ms2); - if (ms1.s == ms2.s && ms1.l == ms2.l && ms1.c == ms2.c && ms1.o == ms2.o && - ms1.d == ms2.d) - { - ACE_DEBUG ((LM_DEBUG, "SII test_struct success\n")); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_struct failed\n")); - return -1; - } -} - -int -Visi_Marshal_Client_Proxy::sii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // unions -{ - Marshal::Marshal_Union u1, u2; - Marshal::Marshal_Struct ms1, ms2; - - - // first test an enumerated case - u1._d (Marshal::e_1st); - u1.l (4567); - - ref_->test_union (u1, u2); - if ( (u1._d () == u2._d()) && (u1.l () == u2.l ())) - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for long (case e_1st) success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for long (case e_1st) failed\n")); - return -1; - } - - // now test the default case - u1._d (Marshal::e_6th); // this case doesn't exist which will lead to using - // the default case - - u1.ms ().s = 3; - u1.ms ().l = 256; - u1.ms ().c = 'B'; - u1.ms ().o = (CORBA::Octet) 127; - u1.ms ().d = 3.1415; - - ref_->test_union (u1, u2); - - if (u1.ms ().s == u2.ms ().s && u1.ms ().l == u2.ms ().l && u1.ms ().c == u2.ms ().c && u1.ms ().o == u2.ms ().o && - u1.ms ().d == u2.ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for default (case e_6th) success\n")); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_union for default (case e_6th) failed\n")); - return -1; - } -} - -int -Visi_Marshal_Client_Proxy::sii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // we send a struct thru the any - CORBA::Any a1, *a2; - Marshal::Marshal_Struct ms1, *ms2; - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA::Octet) 127; - ms1.d = 3.1415; - - // populate the any with a MarshalStruct - a1 <<= ms1; - - a2 = new CORBA::Any; - - // now test it - ref_->test_any (a1, a2); - - // check if the two typecodes are equal - if (a2->type ()->equal (Marshal::_tc_Marshal_Struct)) - { - // now see if the values are same - ms2 = (Marshal::Marshal_Struct *)a2->value (); - if (ms1.s == ms2->s && ms1.l == ms2->l && ms1.c == ms2->c && ms1.o == ms2->o && - ms1.d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "SII test_any success\n")); - return 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_any value match failed\n")); - return -1; - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_any failed due to typecode mismatch\n")); - } - return 0; -} - -int -Visi_Marshal_Client_Proxy::sii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // make a sequence of Anys and fill each one with a different data type - Marshal::AnySeq as1 (7), *as2; - Marshal::Marshal_Struct ms; - Marshal::Marshal_Union u; - - ms.s = 3; - ms.l = 256; - ms.c = 'B'; - ms.o = (CORBA::Octet) 127; - ms.d = 3.1415; - - u._d (Marshal::e_5th); // somehow, the default case e_6th doesn't seem to - // work here - u.ms ().s = 3; - u.ms ().l = 256; - u.ms ().c = 'B'; - u.ms ().o = (CORBA::Octet) 127; - u.ms ().d = 3.1415; - - // it looks like we must tell the sequence how many elements it is going to - // carry. By just fixing the max value does not work. - - as1.length (7); - - as1[0] <<= (CORBA::Short)3; - as1[1] <<= (CORBA::Long) 256; - as1[2] <<= CORBA::Any::from_octet ((CORBA::Octet)127); - as1[3] <<= CORBA::Any::from_char ('B'); - as1[4] <<= (CORBA::Double)3.1415; // double - as1[5] <<= ms; // struct - as1[6] <<= u; // union - - as2 = new Marshal::AnySeq; - - ref_->test_sequence (as1, as2); - -#if 0 - // the following is extremely weird. I do not understand why it is not the - // same as _tc_Marshal_Union, but its _kind field does have _tk_union in it. - if ((*as2)[6].type ()->equal (Marshal::_tc_Marshal_Union)) - { - cerr << "6th elem has union typecode" << endl; - } - else - { - cerr << "6th elem doesnot have union typecode" << endl; - cerr << "its typecode kind = " << (*as2)[6].type ()->kind () << endl; - } -#endif - - ACE_DEBUG ((LM_DEBUG, "SII test_sequence\n")); - if (as1.length () == as2->length ()) - { - // now make sure that the elements are same - for (int i=0; i < as1.length (); i++) - { -#if 0 - if (as1[i].type ()->equal ((*as2)[i].type ())) - { -#endif - // now see if the values are same - switch (i) - { - case 0: - if (*(CORBA::Short *)as1[i].value () == *(CORBA::Short - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, shorts matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on shorts match\n")); - } - break; - case 1: - if (*(CORBA::Long *)as1[i].value () == *(CORBA::Long - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, longs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on longs match\n")); - } - break; - case 2: - if (*(CORBA::Octet *)as1[i].value () == *(CORBA::Octet - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, octets matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on octets match\n")); - } - break; - case 3: - if (*(CORBA::Char *)as1[i].value () == *(CORBA::Char - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, chars matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on chars match\n")); - } - break; - case 4: - if (*(CORBA::Double *)as1[i].value () == *(CORBA::Double - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, doubles matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on doubles match\n")); - } - break; - case 5: - { - Marshal::Marshal_Struct *ms1, *ms2; - - ms1 = (Marshal::Marshal_Struct *)as1[i].value (); - ms2 = (Marshal::Marshal_Struct *)(*as2)[i].value (); - - if (ms1->s == ms2->s && ms1->l == ms2->l && ms1->c == ms2->c && ms1->o == ms2->o && - ms1->d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, structs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on structs match\n")); - } - } - break; - case 6: - { - Marshal::Marshal_Union *u1, *u2; - - u1 = (Marshal::Marshal_Union *)as1[i].value (); - u2 = (Marshal::Marshal_Union *)(*as2)[i].value (); - - if (u1->_d () == u2->_d () && u1->ms ().s == u2->ms ().s && - u1->ms ().l == u2->ms ().l && - u1->ms ().c == u2->ms ().c && u1->ms ().o == u2->ms ().o && - u1->ms ().d == u2->ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence, unions matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tSII test_sequence failed on unions match\n")); - } - } - break; - } -#if 0 - } - else - { - ACE_DEBUG ((LM_DEBUG, - "SII test_sequence: typecode mismatch for element %d\n", i)); - break; - } -#endif - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_sequence failed: as2->length = %d\n", - as2->length ())); - } - return 0; -} - -int -Visi_Marshal_Client_Proxy::sii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // we will try a simple one here - Marshal::Marshal_Recursive mr1, *elem1, *mr2, *elem2; - - mr1.value <<= (CORBA::Long)1; - mr1.next.length (1); // sequence of length 1 - - // fill the element - elem1 = &mr1.next[0]; - elem1->value <<= CORBA::Any::from_char ('D'); - elem1->next.length (0); // end of seq - - mr2 = new Marshal::Marshal_Recursive; - - try { - ref_->test_recursive (mr1, mr2); - } - catch (CORBA::SystemException &se){ - cerr << "error invoking request: " << se << endl; - } - - elem2 = &mr2->next[0]; - - if ((*(CORBA::Long *)mr1.value.value () == *(CORBA::Long*)mr2->value.value ()) - && (mr1.next.length () == mr2->next.length ()) // same length sequence - && (*(CORBA::Char *)elem1->value.value () == *(CORBA::Char *)elem2->value.value ()) - && (elem1->next.length () == elem2->next.length ())) - { - ACE_DEBUG ((LM_DEBUG, "SII test_recursive success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "SII test_recursive failure\n")); - } - - return 0; -} - -// ------------------------------------------------------- -// all helper functions : DII -// ------------------------------------------------------- - -int -Visi_Marshal_Client_Proxy::dii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - CORBA::Short s1, s2; - - s1 = 3; - s2 = 0; - - orb_->create_list(0, arglist); // 2 arguments to be added - *(arglist->add (CORBA::ARG_IN)->value ()) <<= s1; - // this usage is also correct. All we care is to supply a storage area for - // the OUT parameter - // arglist->add (CORBA::ARG_OUT)->value ()->replace (CORBA::_tc_short, &s2); - *(arglist->add (CORBA::ARG_OUT)->value ()) <<= s2; - orb_->create_list(1, result_list); // 1 result - result = result_list->item (0); - - // create a request - ref_->_create_request(ctx, - "test_short", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= s2; - - if (s1 == s2) - { - ACE_DEBUG ((LM_DEBUG, "DII test_short success: s1 = %d, s2 = %d\n", s1, s2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_short failed: s1 = %d, s2 = %d\n", s1, s2)); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Visi_Marshal_Client_Proxy::dii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - CORBA::Long l1, l2; - - l1 = 256; - - orb_->create_list(0, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= l1; - arglist->add(CORBA::ARG_OUT)->value()->replace (CORBA::_tc_long, &l2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_long", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= l2; - - if (l1 == l2) - { - ACE_DEBUG ((LM_DEBUG, "DII: test_long success: l1 = %d, l2 = %d\n", l1, l2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII: test_long failed: l1 = %d, l2 = %d\n", l1, l2)); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Visi_Marshal_Client_Proxy::dii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // octets -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - CORBA::Octet o1, o2; - - o1 = (CORBA::Octet) 127; - - orb_->create_list(0, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= CORBA::Any::from_octet (o1); - arglist->add(CORBA::ARG_OUT)->value()->replace (CORBA::_tc_octet, &o2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_octet", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= CORBA::Any::to_octet (o2); - - if (o1 == o2) - { - ACE_DEBUG ((LM_DEBUG, "DII test_octet success: o1 = %c, o2 = %c\n", o1, o2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_octet failed: o1 = %c, o2 = %c\n", o1, o2)); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Visi_Marshal_Client_Proxy::dii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // chars -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - CORBA::Char c1, c2; - - c1 = 'B'; - - orb_->create_list(0, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= CORBA::Any::from_char (c1); - arglist->add(CORBA::ARG_OUT)->value()->replace (CORBA::_tc_char, &c2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_char", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= CORBA::Any::to_char (c2); - - if (c1 == c2) - { - ACE_DEBUG ((LM_DEBUG, "DII test_char success: c1 = %c, c2 = %c\n", c1, c2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_char failed: c1 = %c, c2 = %c\n", c1, c2)); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Visi_Marshal_Client_Proxy::dii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // doubles -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - CORBA::Double d1, d2; - - d1 = 3.1415; - - orb_->create_list(0, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= d1; - arglist->add(CORBA::ARG_OUT)->value()->replace (CORBA::_tc_double, &d2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_double", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= d2; - - if (d1 == d2) - { - ACE_DEBUG ((LM_DEBUG, "DII test_double success: d1 = %f, d2 = %f\n", d1, d2)); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_double failed: d1 = %f, d2 = %f\n", d1, d2)); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Visi_Marshal_Client_Proxy::dii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // structs -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - Marshal::Marshal_Struct ms1, ms2; - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA::Octet) 127; - ms1.d = 3.1415; - - orb_->create_list(0, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= ms1; - arglist->add(CORBA::ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Struct, &ms2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_struct", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= ms2; - - if (ms1.s == ms2.s && ms1.l == ms2.l && ms1.c == ms2.c && ms1.o == ms2.o && - ms1.d == ms2.d) - { - ACE_DEBUG ((LM_DEBUG, "DII test_struct success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_struct failed\n")); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Visi_Marshal_Client_Proxy::dii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) - // unions -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - Marshal::Marshal_Union u1, u2; - Marshal::Marshal_Struct ms1, ms2; - - - // first test an enumerated case - u1._d (Marshal::e_1st); - u1.l (4567); - - orb_->create_list(0, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= u1; - arglist->add(CORBA::ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Union, &u2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_union", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= u2; - - if ( (u1._d () == u2._d()) && (u1.l () == u2.l ())) - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for long (case e_1st) success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for long (case e_1st) failed\n")); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - - // now test the default case - u1._d (Marshal::e_5th); // e_6th doesn't work - - u1.ms ().s = 3; - u1.ms ().l = 256; - u1.ms ().c = 'B'; - u1.ms ().o = (CORBA::Octet) 127; - u1.ms ().d = 3.1415; - - - orb_->create_list(0, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= u1; - arglist->add(CORBA::ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Union, &u2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_union", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= u2; - - if (u1.ms ().s == u2.ms ().s && u1.ms ().l == u2.ms ().l && u1.ms ().c == u2.ms ().c && u1.ms ().o == u2.ms ().o && - u1.ms ().d == u2.ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for default (case e_6th) success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_union for default (case e_6th) failed\n")); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Visi_Marshal_Client_Proxy::dii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - // we send a struct thru the any - CORBA::Any a1, *a2; - Marshal::Marshal_Struct ms1, *ms2; - - ms1.s = 3; - ms1.l = 256; - ms1.c = 'B'; - ms1.o = (CORBA::Octet) 127; - ms1.d = 3.1415; - - // populate the any with a MarshalStruct - a1 <<= ms1; - - a2 = new CORBA::Any; - - // now test it - orb_->create_list(0, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= a1; - arglist->add(CORBA::ARG_OUT)->value()->replace (CORBA::_tc_any, a2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_any", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= (*a2); - - // check if the two typecodes are equal - if (a2->type ()->equal (Marshal::_tc_Marshal_Struct)) - { - // now see if the values are same - ms2 = (Marshal::Marshal_Struct *)a2->value (); - if (ms1.s == ms2->s && ms1.l == ms2->l && ms1.c == ms2->c && ms1.o == ms2->o && - ms1.d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "DII test_any success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_any value match failed\n")); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_any failed due to typecode mismatch\n")); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Visi_Marshal_Client_Proxy::dii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // DII variables - CORBA::Request_ptr request = CORBA::Request::_nil(); // DII request - CORBA::NVList_ptr arglist = CORBA::NVList::_nil(); // argument list - CORBA::Context_ptr ctx = CORBA::Context::_nil(); // context - CORBA::NVList_ptr result_list = CORBA::NVList::_nil(); // result list - CORBA::NamedValue_ptr result = CORBA::NamedValue::_nil();// actual result - // make a sequence of Anys and fill each one with a different data type - Marshal::AnySeq as1 (7), *as2; - Marshal::Marshal_Struct ms; - Marshal::Marshal_Union u; - - ms.s = 3; - ms.l = 256; - ms.c = 'B'; - ms.o = (CORBA::Octet) 127; - ms.d = 3.1415; - - u._d (Marshal::e_5th); // somehow, the default case e_6th doesn't seem to - // work here - u.ms ().s = 3; - u.ms ().l = 256; - u.ms ().c = 'B'; - u.ms ().o = (CORBA::Octet) 127; - u.ms ().d = 3.1415; - - // it looks like we must tell the sequence how many elements it is going to - // carry. By just fixing the max value does not work. - - as1.length (7); - - as1[0] <<= (CORBA::Short)3; - as1[1] <<= (CORBA::Long) 256; - as1[2] <<= CORBA::Any::from_octet ((CORBA::Octet)127); - as1[3] <<= CORBA::Any::from_char ('B'); - as1[4] <<= (CORBA::Double)3.1415; // double - as1[5] <<= ms; // struct - as1[6] <<= u; // union - - as2 = new Marshal::AnySeq; - - orb_->create_list(0, arglist); // 2 arguments to be added - *(arglist->add(CORBA::ARG_IN)->value()) <<= as1; - arglist->add(CORBA::ARG_OUT)->value()->replace (Marshal::_tc_AnySeq, as2); - orb_->create_list(1, result_list); // 1 result - result = result_list->item(0); - - // create a request - ref_->_create_request(ctx, - "test_sequence", - arglist, - result, - request, - 0); - - request->invoke (); // 2 way - *(arglist->item(1)->value()) >>= (*as2); - -#if 0 - // the following is extremely weird. I do not understand why it is not the - // same as _tc_Marshal_Union, but its _kind field does have _tk_union in it. - if ((*as2)[6].type ()->equal (Marshal::_tc_Marshal_Union)) - { - cerr << "6th elem has union typecode" << endl; - } - else - { - cerr << "6th elem doesnot have union typecode" << endl; - cerr << "its typecode kind = " << (*as2)[6].type ()->kind () << endl; - } -#endif - - ACE_DEBUG ((LM_DEBUG, "DII test_sequence\n")); - if (as1.length () == as2->length ()) - { - // now make sure that the elements are same - for (int i=0; i < as1.length (); i++) - { -#if 0 - if (as1[i].type ()->equal ((*as2)[i].type ())) - { -#endif - // now see if the values are same - switch (i) - { - case 0: - if (*(CORBA::Short *)as1[i].value () == *(CORBA::Short - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, shorts matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on shorts match\n")); - } - break; - case 1: - if (*(CORBA::Long *)as1[i].value () == *(CORBA::Long - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, longs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on longs match\n")); - } - break; - case 2: - if (*(CORBA::Octet *)as1[i].value () == *(CORBA::Octet - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, octets matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on octets match\n")); - } - break; - case 3: - if (*(CORBA::Char *)as1[i].value () == *(CORBA::Char - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, chars matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on chars match\n")); - } - break; - case 4: - if (*(CORBA::Double *)as1[i].value () == *(CORBA::Double - *)(*as2)[i].value ()) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, doubles matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on doubles match\n")); - } - break; - case 5: - { - Marshal::Marshal_Struct *ms1, *ms2; - - ms1 = (Marshal::Marshal_Struct *)as1[i].value (); - ms2 = (Marshal::Marshal_Struct *)(*as2)[i].value (); - - if (ms1->s == ms2->s && ms1->l == ms2->l && ms1->c == ms2->c && ms1->o == ms2->o && - ms1->d == ms2->d) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, structs matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on structs match\n")); - } - } - break; - case 6: - { - Marshal::Marshal_Union *u1, *u2; - - u1 = (Marshal::Marshal_Union *)as1[i].value (); - u2 = (Marshal::Marshal_Union *)(*as2)[i].value (); - - if (u1->_d () == u2->_d () && u1->ms ().s == u2->ms ().s && - u1->ms ().l == u2->ms ().l && - u1->ms ().c == u2->ms ().c && u1->ms ().o == u2->ms ().o && - u1->ms ().d == u2->ms ().d) - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence, unions matched\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "\tDII test_sequence failed on unions match\n")); - } - } - break; - } -#if 0 - } - else - { - ACE_DEBUG ((LM_DEBUG, - "DII test_sequence: typecode mismatch for element %d\n", i)); - break; - } -#endif - } - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_sequence failed: as2->length = %d\n", - as2->length ())); - } - CORBA::release (request); - CORBA::release (arglist); - CORBA::release (result); - CORBA::release (result_list); - return 0; -} - -int -Visi_Marshal_Client_Proxy::dii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - // we will try a simple one here - Marshal::Marshal_Recursive mr1, *elem1, *mr2, *elem2; - - mr1.value <<= (CORBA::Long)1; - mr1.next.length (1); // sequence of length 1 - - // fill the element - elem1 = &mr1.next[0]; - elem1->value <<= CORBA::Any::from_char ('D'); - elem1->next.length (0); // end of seq - - mr2 = new Marshal::Marshal_Recursive; - - try { - ref_->test_recursive (mr1, mr2); - } - catch (CORBA::SystemException &se){ - cerr << "error invoking request: " << se << endl; - } - - elem2 = &mr2->next[0]; - - if ((*(CORBA::Long *)mr1.value.value () == *(CORBA::Long*)mr2->value.value ()) - && (mr1.next.length () == mr2->next.length ()) // same length sequence - && (*(CORBA::Char *)elem1->value.value () == *(CORBA::Char *)elem2->value.value ()) - && (elem1->next.length () == elem2->next.length ())) - { - ACE_DEBUG ((LM_DEBUG, "DII test_recursive success\n")); - } - else - { - ACE_DEBUG ((LM_DEBUG, "DII test_recursive failure\n")); - } - - return 0; -} - diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.h b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.h deleted file mode 100644 index 30e14db39a6..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.h +++ /dev/null @@ -1,142 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Visibroker Benchmark -// -// = FILENAME -// visi_marshal_client.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _VISI_MARSHAL_CLIENT_H_ -#define _VISI_MARSHAL_CLIENT_H_ - -// benchmark library includes -#include "benchmark/marshal_options.h" -#include "benchmark/marshal_results.h" -#include "benchmark/marshal_proxy.h" - -// include VisiBroker specific include files -#include "marshalC.h" // generated by IDL compiler -#include "pmcext.h" // VisiBroker extensions - -#if 0 -// Define an event handler specific to this class -class marshal_event_handler: public PMC_EXT::ClientEventHandler -{ - // =TITLE - // marshal_event_handler - // =DESCRIPTION - // event handler. Specifically, we use this to set socket buffer and no delay - // flags -public: - void bind_succeeded(CORBA::Object_ptr obj, - const PMC_EXT::ConnectionInfo &); - // on success from a bind call, set the desired quantities -}; -#endif - -class Visi_Marshal_Client_Proxy : public CORBA_Marshal_Proxy -{ - // =TITLE - // Visi_Marshal_Client_Proxy - // =DESCRIPTION - // VisiBroker client size specialization of the CORBA Marshal proxy class -public: - Visi_Marshal_Client_Proxy (void); - // constructor - - ~Visi_Marshal_Client_Proxy (void); - // destructor - - virtual int run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // do the actual work - - virtual int use_sii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // use the static invocation interface - - virtual int use_dii (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // use the dynamic invocation interface -private: - // =helper functions - int sii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int sii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - // all the DII helpers - int dii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_double (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - int dii_test_recursive (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - - CORBA::ORB_ptr orb_; - // handle to the underlying orb - - Marshal_ptr ref_; - // the object reference -}; - -#if defined (__ACE_INLINE__) -#include "visi_marshal_client.i" -#endif /* __ACE_INLINE__ */ - -#endif diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.i b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.i deleted file mode 100644 index 30c73abb503..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.i +++ /dev/null @@ -1,23 +0,0 @@ -// $Id$ - - -ACE_INLINE -Visi_Marshal_Client_Proxy::Visi_Marshal_Client_Proxy (void) - : orb_ (CORBA_ORB::_nil ()), - ref_ (0) -{ -} - -ACE_INLINE -Visi_Marshal_Client_Proxy::~Visi_Marshal_Client_Proxy (void) -{ - // releasing order is important - - // release the reference - CORBA::release (ref_); - - // release the ORB - CORBA::release (orb_); -} - - diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.cpp b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.cpp deleted file mode 100644 index d9425e9c4b3..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.cpp +++ /dev/null @@ -1,333 +0,0 @@ -// $Id$ - -#include "visi_marshal_impl.h" - -#if !defined (__ACE_INLINE__) -#include "visi_marshal_impl.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(VisiBroker, visi_marshal_impl, "$Id$") - -// All the methods of the SSI class -void -Marshal_SSI_Impl::test_short (CORBA::Short s1, - CORBA::Short &s2) -{ - s2 = s1; -} - -void -Marshal_SSI_Impl::test_long (CORBA::Long l1, - CORBA::Long &l2) -{ - l2 = l1; -} - -void -Marshal_SSI_Impl::test_octet (CORBA::Octet o1, - CORBA::Octet &o2) -{ - o2 = o1; -} - -void -Marshal_SSI_Impl::test_char (CORBA::Char c1, - CORBA::Char &c2) -{ - c2 = c1; -} - -void -Marshal_SSI_Impl::test_double (CORBA::Double d1, - CORBA::Double &d2) -{ - d2 = d1; -} - -void -Marshal_SSI_Impl::test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2) -{ - ms2.s = ms1.s; - ms2.l = ms1.l; - ms2.c = ms1.c; - ms2.o = ms1.o; - ms2.d = ms1.d; -} - -void -Marshal_SSI_Impl::test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2) -{ - u2._d (u1._d ()); // set the discriminant value - - switch (u1._d ()) - { - case Marshal::e_0th: - u2.s (u1.s ()); // set short - break; - case Marshal::e_1st: - u2.l (u1.l ()); // set long - break; - case Marshal::e_2nd: - u2.c (u1.c ()); // set char - break; - case Marshal::e_3rd: - u2.o (u1.o ()); // set octet - break; - case Marshal::e_4th: - u2.d (u1.d ()); // set double - break; - case Marshal::e_5th: - default: - u2.ms (u1. ms ()); // set structs - break; - } -} - -void -Marshal_SSI_Impl::test_any (const CORBA::Any &a1, - CORBA::Any *&a2) -{ - a2 = new CORBA::Any (a1.type (), (void *)a1.value ()); // will do a deep copy -} - -void -Marshal_SSI_Impl::test_sequence (const Marshal::AnySeq& as1, - Marshal::AnySeq *& as2) -{ - as2 = new Marshal::AnySeq (as1); -} - -void -Marshal_SSI_Impl::test_recursive (const Marshal::Marshal_Recursive &mr1, - Marshal::Marshal_Recursive *&mr2) -{ -} - -//---------------------------------------------------------------------------- -//the methods of the DSI implementation class - -void -Marshal_DSI_Impl::invoke (CORBA::ServerRequest_ptr req) -{ - // parse the incoming request and find out for what operation it is. We use a - // simple linear search here - if (!ACE_OS::strcmp (req->op_name (), "test_short")) - { - test_short_skel (req); - } - else if (!ACE_OS::strcmp (req->op_name (), "test_long")) - { - } - else if (!ACE_OS::strcmp (req->op_name (), "test_octet")) - { - } - else if (!ACE_OS::strcmp (req->op_name (), "test_char")) - { - } - else if (!ACE_OS::strcmp (req->op_name (), "test_double")) - { - } - else if (!ACE_OS::strcmp (req->op_name (), "test_struct")) - { - } - else if (!ACE_OS::strcmp (req->op_name (), "test_union")) - { - } - else if (!ACE_OS::strcmp (req->op_name (), "test_any")) - { - } - else if (!ACE_OS::strcmp (req->op_name (), "test_sequence")) - { - } -} - -void -Marshal_DSI_Impl::test_short (CORBA::Short s1, - CORBA::Short &s2) -{ - s2 = 5*s1; -} - -void -Marshal_DSI_Impl::test_long (CORBA::Long l1, - CORBA::Long &l2) -{ - l2 = l1; -} - -void -Marshal_DSI_Impl::test_octet (CORBA::Octet o1, - CORBA::Octet &o2) -{ - o2 = o1; -} - -void -Marshal_DSI_Impl::test_char (CORBA::Char c1, - CORBA::Char &c2) -{ - c2 = c1; -} - -void -Marshal_DSI_Impl::test_double (CORBA::Double d1, - CORBA::Double &d2) -{ - d2 = d1; -} - -void -Marshal_DSI_Impl::test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2) -{ - ms2.s = ms1.s; - ms2.l = ms1.l; - ms2.c = ms1.c; - ms2.o = ms1.o; - ms2.d = ms1.d; -} - -void -Marshal_DSI_Impl::test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2) -{ - u2._d (u1._d ()); // set the discriminant value - - switch (u1._d ()) - { - case Marshal::e_0th: - u2.s (u1.s ()); // set short - break; - case Marshal::e_1st: - u2.l (u1.l ()); // set long - break; - case Marshal::e_2nd: - u2.c (u1.c ()); // set char - break; - case Marshal::e_3rd: - u2.o (u1.o ()); // set octet - break; - case Marshal::e_4th: - u2.d (u1.d ()); // set double - break; - case Marshal::e_5th: - default: - u2.ms (u1. ms ()); // set structs - break; - } -} - -void -Marshal_DSI_Impl::test_any (const CORBA::Any &a1, - CORBA::Any *&a2) -{ - a2 = new CORBA::Any (a1.type (), (void *)a1.value ()); // will do a deep copy -} - -void -Marshal_DSI_Impl::test_sequence (const Marshal::AnySeq& as1, - Marshal::AnySeq *& as2) -{ - as2 = new Marshal::AnySeq (as1); -} - -void -Marshal_DSI_Impl::test_recursive (const Marshal::Marshal_Recursive &mr1, - Marshal::Marshal_Recursive *&mr2) -{ -} - -// all the helper functions for the DSI class -void -Marshal_DSI_Impl::test_short_skel (CORBA::ServerRequest_ptr req) -{ - CORBA::NVList_var short_nv_; - CORBA::Any *any_s1, *any_s2; - CORBA::Short s1=0, - *s2=0; - - orb_->create_list (0, short_nv_); - - ACE_DEBUG ((LM_DEBUG, "short_nv_ created with %d nodes\n", short_nv_->count ())); - - any_s1 = new CORBA::Any (CORBA::_tc_short, &s1, 0); - s2 = new CORBA::Short; - any_s2 = new CORBA::Any (CORBA::_tc_short, s2, 1); - - short_nv_->add_value ("s1", *any_s1, CORBA::ARG_IN); - // if I do the next line, I get CORBA::Marshal exception from - // req->params. I don't know why - short_nv_->add_value ("s2", *any_s2, CORBA::ARG_OUT); - // However, the following line works. I think I know what is the - // problem. Since the 2nd argument is a ARG_OUT, we cannot add_value. We must - // just tell it what type to expect and leave it to the ORB to allocate the - // memory - //short_nv_->add_item ("s2", CORBA::ARG_OUT); - // My explanation is confirmed if I use the following in which case I get a - // marshaling exception. Thus, for OUT args, only add_item works. - // *(short_nv_->add (CORBA::ARG_OUT)->value ()) <<= s2; - - ACE_DEBUG ((LM_DEBUG, "short_nv_ created with %d nodes\n", short_nv_->count ())); - - try { - req->params (short_nv_); - } - catch (CORBA::SystemException &se) - { - cerr << "System Exception doing params: " << se << endl; - } - cout << "after params" << endl; - *(short_nv_->item (0)->value ()) >>= s1; - ACE_DEBUG ((LM_DEBUG, "s1 = %d\n", s1)); - test_short (s1, *s2); - // *(short_nv_->item (1)->value ()) <<= s2; - ACE_DEBUG ((LM_DEBUG, "s1 = %d, s2 = %d\n", s1, *s2)); - ACE_DEBUG ((LM_DEBUG, "short_nv_ after the call has %d nodes\n", short_nv_->count ())); -} - -void -Marshal_DSI_Impl::test_long_skel (CORBA::ServerRequest_ptr req) -{ -} - -void -Marshal_DSI_Impl::test_octet_skel (CORBA::ServerRequest_ptr req) -{ -} - -void -Marshal_DSI_Impl::test_char_skel (CORBA::ServerRequest_ptr req) -{ -} - -void -Marshal_DSI_Impl::test_double_skel (CORBA::ServerRequest_ptr req) -{ -} - -void -Marshal_DSI_Impl::test_struct_skel (CORBA::ServerRequest_ptr req) -{ -} - -void -Marshal_DSI_Impl::test_union_skel (CORBA::ServerRequest_ptr req) -{ -} - -void -Marshal_DSI_Impl::test_any_skel (CORBA::ServerRequest_ptr req) -{ -} - -void -Marshal_DSI_Impl::test_sequence_skel (CORBA::ServerRequest_ptr req) -{ -} - -void -Marshal_DSI_Impl::test_recursive_skel (CORBA::ServerRequest_ptr req) -{ -} diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.h b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.h deleted file mode 100644 index 6599c5ae276..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.h +++ /dev/null @@ -1,183 +0,0 @@ -// $Id$ - -#ifndef VISI_MARSHAL_IMPL_H -#define VISI_MARSHAL_IMPL_H - -// to include DSI related files - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "marshalS.h" - - -class Marshal_SSI_Impl - : public virtual _sk_Marshal -{ - // =TITLE - // Marshal_SSI_Impl - // =DESCRIPTION - // Implementation of the interface using the static skeleton interface -public: - Marshal_SSI_Impl (const char *object_name = (const char *)NULL); - // constructor - - ~Marshal_SSI_Impl (void); - // destructor - - virtual void test_short (CORBA::Short s1, - CORBA::Short& s2); - // test short - - virtual void test_long (CORBA::Long l1, - CORBA::Long& l2); - // test long - - virtual void test_octet (CORBA::Octet o1, - CORBA::Octet& o2); - // test octet - - virtual void test_char (CORBA::Char c1, - CORBA::Char& c2); - // test char - - virtual void test_double (CORBA::Double d1, - CORBA::Double& d2); - // test double - - virtual void test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2); - // test struct - - virtual void test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2); - // test union - - virtual void test_any (const CORBA::Any& a1, - CORBA::Any *& a2); - // test any - - /* - virtual void test_sequence (const Marshal::ShortSeq& s1, - const Marshal::LongSeq& l1, - const Marshal::OctetSeq& o1, - const Marshal::CharSeq& c1, - const Marshal::DoubleSeq& d1, - const Marshal::StructSeq& S1, - const Marshal::UnionSeq& U1, - const Marshal::AnySeq& a1, - Marshal::ShortSeq *& s2, - Marshal::LongSeq *& l2, - Marshal::OctetSeq *& o2, - Marshal::CharSeq *& c2, - Marshal::DoubleSeq *& d2, - Marshal::StructSeq *& S2, - Marshal::UnionSeq *& U2, - Marshal::AnySeq *& a2); - */ - virtual void test_sequence (const Marshal::AnySeq& a1, - Marshal::AnySeq *& a2); - // test sequence - - virtual void test_recursive (const Marshal::Marshal_Recursive& mr1, - Marshal::Marshal_Recursive *& mr2); - // test struct - -}; - -class Marshal_DSI_Impl : public CORBA::DynamicImplementation -{ - // =TITLE - // Marshal_DSI_Impl - // =DESCRIPTION - // Implementation of the interface using the dynamic skeleton interface -public: - Marshal_DSI_Impl (CORBA::ORB_ptr orb, const char *object_name = (const char *)NULL); - // constructor - - ~Marshal_DSI_Impl (void); - // destructor - - virtual void invoke (CORBA::ServerRequest_ptr req); - // This method is a must - -private: - void test_short (CORBA::Short s1, - CORBA::Short& s2); - // test short - - void test_long (CORBA::Long l1, - CORBA::Long& l2); - // test long - - void test_octet (CORBA::Octet o1, - CORBA::Octet& o2); - // test octet - - void test_char (CORBA::Char c1, - CORBA::Char& c2); - // test char - - void test_double (CORBA::Double d1, - CORBA::Double& d2); - // test double - - void test_struct (const Marshal::Marshal_Struct& ms1, - Marshal::Marshal_Struct& ms2); - // test struct - - void test_union (const Marshal::Marshal_Union& u1, - Marshal::Marshal_Union& u2); - // test union - - void test_any (const CORBA::Any& a1, - CORBA::Any *& a2); - // test any - - void test_sequence (const Marshal::AnySeq& a1, - Marshal::AnySeq *& a2); - // test sequence - - void test_recursive (const Marshal::Marshal_Recursive& mr1, - Marshal::Marshal_Recursive *& mr2); - // test struct - -private: - //= helper functions - they behave as if they were skeletons - void test_short_skel (CORBA::ServerRequest_ptr req); - void test_long_skel (CORBA::ServerRequest_ptr req); - void test_octet_skel (CORBA::ServerRequest_ptr req); - void test_char_skel (CORBA::ServerRequest_ptr req); - void test_double_skel (CORBA::ServerRequest_ptr req); - void test_struct_skel (CORBA::ServerRequest_ptr req); - void test_union_skel (CORBA::ServerRequest_ptr req); - void test_any_skel (CORBA::ServerRequest_ptr req); - void test_sequence_skel (CORBA::ServerRequest_ptr req); - void test_recursive_skel (CORBA::ServerRequest_ptr req); - - // we need the orb to create argument lists (NVList) for us - CORBA::ORB_ptr orb_; // not owned by us - -#if 0 - CORBA::NVList_ptr short_nv_; - CORBA::NVList_ptr long_nv_; - CORBA::NVList_ptr octet_nv_; - CORBA::NVList_ptr char_nv_; - CORBA::NVList_ptr double_nv_; - CORBA::NVList_ptr struct_nv_; - CORBA::NVList_ptr union_nv_; - CORBA::NVList_ptr any_nv_; - CORBA::NVList_ptr seq_nv_; - CORBA::NVList_ptr recursive_nv_; - CORBA::Any_ptr result_; // void result -#endif -}; - -#if defined (__ACE_INLINE__) -#include "visi_marshal_impl.i" -#endif /* __ACE_INLINE__ */ - -#endif // defined (VISI_MARSHAL_IMPL_H) diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.i b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.i deleted file mode 100644 index 7e9405f734b..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.i +++ /dev/null @@ -1,30 +0,0 @@ -// $Id$ - -// constructor -ACE_INLINE -Marshal_SSI_Impl::Marshal_SSI_Impl (const char *obj_name) - : _sk_Marshal (obj_name) -{ -} - -// destructor -ACE_INLINE -Marshal_SSI_Impl::~Marshal_SSI_Impl (void) -{ -} - -// constructor -ACE_INLINE -Marshal_DSI_Impl::Marshal_DSI_Impl (CORBA::ORB_ptr orb, const char *obj_name) - : orb_ (orb), - CORBA::DynamicImplementation ("Marshal", obj_name) // interface name is necessary -{ -} - -// destructor -ACE_INLINE -Marshal_DSI_Impl::~Marshal_DSI_Impl (void) -{ - orb_ = CORBA::ORB::_nil (); -} - diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.cpp b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.cpp deleted file mode 100644 index def599b3a02..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.cpp +++ /dev/null @@ -1,90 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Visibroker marshal benchmark -// -// = FILENAME -// visi_marshal_server.cpp -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "visi_marshal_server.h" - -#if !defined (__ACE_INLINE__) -#include "visi_marshal_server.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(VisiBroker, visi_marshal_server, "$Id$") - -int -Visi_Marshal_Server_Proxy::run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results) -{ - char **argv; - int argc; - - // get the argument list to be passed on to the ORB_init method - argv = options.orb_init_args (argc); - - // get the orb. Pass any ORB_init arguments - this->orb_ = CORBA::ORB_init (argc, (char *const *)argv); - if (this->orb_ == 0) - { - ACE_DEBUG ((LM_DEBUG, "ORB_init failed\n")); - return -1; - } - - // get the argument list to be passed on to the BOA_init method - argv = options.orb_init_args (argc); - - // get the orb. Pass any ORB_init arguments - this->boa_ = this->orb_->BOA_init (argc, (char *const *)argv); - if (this->boa_ == 0) - { - ACE_DEBUG ((LM_DEBUG, "ORB_init failed\n")); - return -1; - } - - // tell the "results" object what file it must store the results into - results.filename (options.filename ()); - - // use SII or DII accordingly - switch (options.policy ()) - { - case CORBA_Marshal_Options::STATIC : // use SSI - this->ssi_ = new Marshal_SSI_Impl (options.object_name ()); - // register with the BOA - this->boa_->obj_is_ready (this->ssi_); - break; - case CORBA_Marshal_Options::DYNAMIC : // use DSI - this->dsi_ = new Marshal_DSI_Impl (this->orb_, ACE_OS::strdup (options.object_name ())); - // register with the BOA - try { - this->boa_->obj_is_ready (this->dsi_); - } - catch (CORBA::SystemException &se) - { - cerr << "system exception in obj_is_ready" << se << endl; - } - break; - default: - ACE_DEBUG ((LM_DEBUG, "bad policy\n")); - return -1; - } - - try { - // call impl_is_ready - this->boa_->impl_is_ready (); - } - catch (CORBA::SystemException &se) - { - cerr << "system exception: " << se << endl; - } - return 0; -} - diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.h b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.h deleted file mode 100644 index d18feb277ea..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.h +++ /dev/null @@ -1,60 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Visibroker Benchmark -// -// = FILENAME -// visi_marshal_server.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _VISI_MARSHAL_SERVER_H_ -#define _VISI_MARSHAL_SERVER_H_ - -// benchmark library includes -#include "benchmark/marshal_options.h" -#include "benchmark/marshal_results.h" -#include "benchmark/marshal_proxy.h" - -// implementation classes -#include "visi_marshal_impl.h" - -// include VisiBroker specific include files -#include "marshalS.h" // generated by IDL compiler -#include "pmcext.h" // VisiBroker extensions - -class Visi_Marshal_Server_Proxy : public CORBA_Marshal_Proxy -{ -public: - Visi_Marshal_Server_Proxy (void); - // constructor - - ~Visi_Marshal_Server_Proxy (void); - // destructor - - virtual int run (CORBA_Marshal_Proxy::OPTIONS &options, - CORBA_Marshal_Proxy::RESULTS &results); - // do the actual work -private: - CORBA::ORB_ptr orb_; - // underlying orb; - - CORBA::BOA_ptr boa_; - // underlying boa; - - Marshal_SSI_Impl *ssi_; - Marshal_DSI_Impl *dsi_; - // the implementation (SSI or DSI) -}; - - -#if defined (__ACE_INLINE__) -#include "visi_marshal_server.i" -#endif /* __ACE_INLINE__ */ - -#endif diff --git a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.i b/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.i deleted file mode 100644 index d43226e0f57..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.i +++ /dev/null @@ -1,28 +0,0 @@ -// $Id$ - -// constructor -ACE_INLINE -Visi_Marshal_Server_Proxy::Visi_Marshal_Server_Proxy (void) - : orb_ (0), - boa_ (0), - ssi_ (0), - dsi_ (0) -{ -} - -// destructor -ACE_INLINE -Visi_Marshal_Server_Proxy::~Visi_Marshal_Server_Proxy (void) -{ - // releasing order is important - - // release the impl - delete ssi_; - delete dsi_; - - // release the BOA - CORBA::release (boa_); - - // release the ORB - CORBA::release (orb_); -} diff --git a/TAO/Benchmark/benchmark/Makefile b/TAO/Benchmark/benchmark/Makefile deleted file mode 100644 index 9f5327741bf..00000000000 --- a/TAO/Benchmark/benchmark/Makefile +++ /dev/null @@ -1,125 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the CORBA_Benchmark -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -LIBNAME = libbenchmark -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) - -FILES = driver \ - marshal_options \ - marshal_results \ - marshal_proxy - -LSRC = $(addsuffix .cpp,$(FILES)) - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) $(VLIB) - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local modifications to variables imported by includes above. -#---------------------------------------------------------------------------- - -CPPFLAGS += -I$(TAO_ROOT)/Benchmark/ - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/driver.o .shobj/driver.so: driver.cpp \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/driver.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i -.obj/marshal_options.o .shobj/marshal_options.so: marshal_options.cpp \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/marshal_options.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/marshal_options.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i -.obj/marshal_results.o .shobj/marshal_results.so: marshal_results.cpp \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/marshal_results.h \ - $(ACE_ROOT)/ace/Profile_Timer.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.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/ACE.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/High_Res_Timer.h \ - $(ACE_ROOT)/ace/High_Res_Timer.i \ - $(ACE_ROOT)/ace/Profile_Timer.i \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/marshal_results.i -.obj/marshal_proxy.o .shobj/marshal_proxy.so: marshal_proxy.cpp \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/marshal_proxy.h \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/marshal_options.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/marshal_options.i \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/marshal_results.h \ - $(ACE_ROOT)/ace/Profile_Timer.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/High_Res_Timer.h \ - $(ACE_ROOT)/ace/High_Res_Timer.i \ - $(ACE_ROOT)/ace/Profile_Timer.i \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/marshal_results.i \ - $(ACE_ROOT)/TAO/Benchmark/benchmark/marshal_proxy.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/Benchmark/benchmark/driver.cpp b/TAO/Benchmark/benchmark/driver.cpp deleted file mode 100644 index 2569f03ad56..00000000000 --- a/TAO/Benchmark/benchmark/driver.cpp +++ /dev/null @@ -1,60 +0,0 @@ -// $Id$ - -#include "benchmark/driver.h" - -ACE_RCSID(benchmark, driver, "$Id$") - -template -CORBA_Benchmark_Driver::CORBA_Benchmark_Driver (T *proxy) - : proxy_ (proxy) -{ -} - -template -CORBA_Benchmark_Driver::~CORBA_Benchmark_Driver (void) -{ - delete proxy_; -} - -template -int -CORBA_Benchmark_Driver::run (int argc, char *argv[]) -{ - // The run method delegates the task of parsing the command line options to - // the options data member - if (this->options_.parse_args (argc, argv) == -1) - { - ACE_DEBUG ((LM_DEBUG, "CORBA_Benchmark_Driver cannot parse arguments\n")); - return -1; - } - -#if 0 - // get a handle to the proxy - this->proxy_ = this->options_.make_proxy (); - if (this->proxy_ == 0) - { - ACE_DEBUG ((LM_DEBUG, "CORBA_Benchmark_Driver cannot make proxy\n")); - return -1; - } -#endif - - // The driver delegates the task of running the test to the newly created - // proxy - if (this->proxy_->run (this->options_, this->results_) == -1) - { - ACE_DEBUG ((LM_DEBUG, "CORBA_Benchmark_Driver cannot run\n")); - return -1; - } - - // The driver delegates the task of printing the results to the TTCP_Results - // class - if (this->results_.print_results () == -1) - { - ACE_DEBUG ((LM_DEBUG, "CORBA_Benchmark_Driver cannot print results\n")); - return -1; - } - - return 0; -} - - diff --git a/TAO/Benchmark/benchmark/driver.h b/TAO/Benchmark/benchmark/driver.h deleted file mode 100644 index cb69ea098ce..00000000000 --- a/TAO/Benchmark/benchmark/driver.h +++ /dev/null @@ -1,60 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - - -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark -// -// = FILENAME -// driver.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _CORBA_BENCHMARK_DRIVER_H_ -#define _CORBA_BENCHMARK_DRIVER_H_ - -#include "ace/Log_Msg.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -template -class CORBA_Benchmark_Driver -{ - // = TITLE - // CORBA Benchmark Driver. - // - // = DESCRIPTION - // This class encapsulates all the driver common to the CORBA benchmark - // tests. It provides a template to run the benchmarking code. The real - // work will be done by the PROXY class. -public: - - CORBA_Benchmark_Driver (PROXY *p); - // Constructor. - - ~CORBA_Benchmark_Driver (void); - // Destructor - - int run (int argc, char *argv[]); - // This is the starting point of all CORBA benchmark tests. - // Returns 0 on success, -1 on error. - -private: - PROXY *proxy_; - // the actual object that will do the work - - PROXY::RESULTS results_; - // Storage of test results. - - PROXY::OPTIONS options_; - // CORBA test command line options -}; - -#endif /* CORBA_BENCHMARK_DRIVER_H */ diff --git a/TAO/Benchmark/benchmark/marshal_options.cpp b/TAO/Benchmark/benchmark/marshal_options.cpp deleted file mode 100644 index 93fb039be0c..00000000000 --- a/TAO/Benchmark/benchmark/marshal_options.cpp +++ /dev/null @@ -1,282 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark -// -// = FILENAME -// marshal_options.cpp -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "benchmark/marshal_options.h" -#include "ace/Get_Opt.h" - -#if !defined (__ACE_INLINE__) -#include "benchmark/marshal_options.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(benchmark, marshal_options, "$Id$") - -static char *usage_string = -"Marshal_Test available options: \n\ --d : set debug ON \n\ --D : set TCP NO DELAY on \n\ --n : set the service name\n\ --s : set sender sock buf \n\ --r : set recv sock buf \n\ --h : hostname to listen/connect \n\ --p : port num to listen \n\ --i : number of iters \n\ --R : s(ender)/r(eceiver) \n\ --T : s(hort)/l(ong)/d(ouble)/o(ctet)/c(har)/\n\ - S(truct)/U(nion)/A(ny)/(se)Q/R(ecursive)\n\ --P : S(II/SI)/D(II/SI) depending on role \n\ --I : O(rbix)/V(isiBroker)/T(AO)\n\ --o : obj to bind to \n\ --f : filename to store results \n\ -"; - -int -CORBA_Marshal_Options::Usage (void) -{ - ACE_DEBUG ((LM_DEBUG, "%s\n", usage_string)); - return -1; -} - -int -CORBA_Marshal_Options::parse_args (int argc, char *argv []) -{ - int c; // option letter used - ACE_Get_Opt get_opt (argc, argv, "dDn:s:r:h:p:i:R:T:P:I:o:f:"); - - // ACE_DEBUG ((LM_DEBUG, "CORBA_Marshal_Options::parse_args\n")); - - while ((c = get_opt ()) != -1) - { - switch (c) - { - case 'd': // debug - this->debug (1); - break; - case 'D': // TCP NODELAY - this->disable_nagle (1); - break; - case 'n': - this->service_name (get_opt.optarg); - break; - case 's': // sender socket size - this->snd_socket_queue_size (ACE_OS::atoi (get_opt.optarg)); - break; - case 'r': // receive socket size - this->rcv_socket_queue_size (ACE_OS::atoi (get_opt.optarg)); - break; - case 'h': // hostname - this->hostname (ACE_OS::strdup (get_opt.optarg)); - break; - case 'p': // port number - this->port (ACE_OS::atoi (get_opt.optarg)); - break; - case 'i': // port number - this->iterations (ACE_OS::atoi (get_opt.optarg)); - break; - case 'R': // role - switch (*get_opt.optarg) - { - case 'S': // sender - case 's': // sender - this->role (SENDER); - break; - case 'R': // receiver - case 'r': // receiver - this->role (RECEIVER); - break; - default: - return this->Usage (); - } - break; - case 'T': // data type to test - switch (*get_opt.optarg) - { - case 's': // short - this->data_type (SHORT); - break; - case 'd': // double - this->data_type (DOUBLE); - break; - case 'o': // octet - this->data_type (OCTET); - break; - case 'c': // char - this->data_type (CHAR); - break; - case 'S': // Struct - this->data_type (STRUCT); - break; - case 'U': // Union - this->data_type (UNION); - break; - case 'A': // Any - this->data_type (ANY); - break; - case 'Q': // Sequence - this->data_type (SEQUENCE); - break; - case 'R': // Recursive - this->data_type (RECURSIVE); - break; - case 'l': // long, also the default - default: - this->data_type (LONG); - break; - } - break; - case 'P': // policy - switch (*get_opt.optarg) - { - case 'S': - case 's': - this->policy (STATIC); - break; - case 'D': - case 'd': - this->policy (DYNAMIC); - break; - default: - return this->Usage (); - } - break; - case 'I': // impl - switch (*get_opt.optarg) - { - case 'O': // Orbix - this->proxy_type (ORBIX); - break; - case 'V': // VisiBroker - this->proxy_type (VISIBROKER); - break; - case 'T': // TAO - this->proxy_type (TAO); - break; - } - break; - case 'o': // obj name - this->object_name (ACE_OS::strdup (get_opt.optarg)); - break; - case 'f': // file name to save results - this->filename (ACE_OS::strdup (get_opt.optarg)); - break; - default: // error - return this->Usage (); - } - } - return 0; -} - -int -CORBA_Marshal_Options::orb_init_args (int &argc, char *argv []) -{ - char buffer [200]; - - argc = 0; - switch (this->proxy_type_) - { - case ORBIX: - break; - case VISIBROKER: - { - ACE_OS::memset (buffer, '\0', 200); - if (snd_socket_queue_size_ > 0) - { - ACE_OS::sprintf (buffer, "-ORBsendbufsize %d", snd_socket_queue_size_); - orb_init_args_ += ACE_CString (buffer); - argc ++; - } - - ACE_OS::memset (buffer, '\0', 200); - if (rcv_socket_queue_size_ > 0) - { - ACE_OS::sprintf (buffer, "-ORBrcvbufsize %d", rcv_socket_queue_size_); - orb_init_args_ += ACE_CString (buffer); - argc ++; - } - } - break; - case TAO: - break; - } - ACE_OS::memset (buffer, '\0', 200); - ACE_OS::memcpy (buffer, boa_init_args_.rep (), boa_init_args_.length ()); - return 0; -} - -static char buffer [20][200]; - -int -CORBA_Marshal_Options::boa_init_args (int &argc, char *argv []) -{ - argc = 0; - switch (this->proxy_type_) - { - case ORBIX: - break; - case VISIBROKER: - { - ACE_OS::memset (buffer[argc], '\0', 200); - if (snd_socket_queue_size_ > 0) - { - ACE_OS::sprintf (buffer[argc], "-OAsendbufsize %d", snd_socket_queue_size_); - // boa_init_args_ += ACE_CString (buffer[argc]); - argc ++; - } - ACE_OS::memset (buffer[argc], '\0', 200); - if (rcv_socket_queue_size_ > 0) - { - ACE_OS::sprintf (buffer[argc], "-OArcvbufsize %d", rcv_socket_queue_size_); - // boa_init_args_ += ACE_CString (buffer[argc]); - argc ++; - } - ACE_OS::memset (buffer[argc], '\0', 200); - if (port_ > 0) - { - ACE_OS::sprintf (buffer[argc], "-OAport %d", port_); - // boa_init_args_ += ACE_CString (buffer[argc]); - argc ++; - } - ACE_OS::memset (buffer[argc], '\0', 200); - if (hostname_ != 0 && role_ == RECEIVER) - { - ACE_OS::sprintf (buffer[argc], "-OAipaddr %s", hostname_); - // boa_init_args_ += ACE_CString (buffer[argc]); - argc ++; - } - } - break; - case TAO: - { - ACE_OS::memset (buffer[argc], '\0', 200); - if (port_ > 0) - { - ACE_OS::sprintf (buffer[argc], "-OAport %d", port_); - // boa_init_args_ += ACE_CString (buffer); - argc ++; - } - ACE_OS::memset (buffer[argc], '\0', 200); - if (hostname_ != 0 && role_ == RECEIVER) - { - ACE_OS::sprintf (buffer[argc], "-OAhostname %s", hostname_); - // boa_init_args_ += ACE_CString (buffer); - argc ++; - } - } - break; - } - // ACE_OS::memset (buffer, '\0', 200); - // ACE_OS::memcpy (buffer, boa_init_args_.rep (), boa_init_args_.length ()); - return 0; -} - diff --git a/TAO/Benchmark/benchmark/marshal_options.h b/TAO/Benchmark/benchmark/marshal_options.h deleted file mode 100644 index 654b87070e0..00000000000 --- a/TAO/Benchmark/benchmark/marshal_options.h +++ /dev/null @@ -1,214 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark/Marshal -// -// = FILENAME -// marshal_options.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _CORBA_MARSHAL_OPTIONS_H_ -#define _CORBA_MARSHAL_OPTIONS_H_ - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/SString.h" - -class CORBA_Marshal_Options -{ - // = TITLE - // CORBA_Marshal_Options - // = DESCRIPTION - // An encapsulation of all the CORBA_MARSHAL test parameters. This is - // used to communicate between the ACE_CORBA_Marshal_Driver and all - // specializations of CORBA_Marshal_Proxy. It must be noted that not all - // options will be valid for a given specialization of CORBA_Marshal_Proxy. This is - // a "all-encompassing" class. -public: - // The following data types will be tested - enum DATATYPE - { - NO_DATATYPE, - SHORT, - LONG, - DOUBLE, - CHAR, - OCTET, - STRUCT, - UNION, - ANY, - SEQUENCE, - RECURSIVE - }; - - // The following CORBA implementations will be tested - enum PROXY_TYPE - { - NO_PROXY, - TAO, - ORBIX, - VISIBROKER - }; - - // Invocation policy - enum POLICY - { - NO_POLICY, - STATIC, // SII, SSI - DYNAMIC // DII, DSI - }; - - // what role do we play? - enum ROLE - { - NO_ROLE, - SENDER, - RECEIVER - }; - - CORBA_Marshal_Options (void); - // Construction. Sets default values. - - ~CORBA_Marshal_Options (void); - // Destructor - - int parse_args (int argc, char *argv[]); - // Parse command line arguments. This decides what type of CORBA_MARSHAL - // test to run. - - // All the command line options - - //= Get/Set the data type to be sent/received - CORBA_Marshal_Options::DATATYPE data_type (void); - void data_type (CORBA_Marshal_Options::DATATYPE); - - //= Get/set the proxy type - CORBA_Marshal_Options::PROXY_TYPE proxy_type (void); - void proxy_type (CORBA_Marshal_Options::PROXY_TYPE); - - //= Get/Set the policy used by clients/servers for communication - CORBA_Marshal_Options::POLICY policy (void); - void policy (CORBA_Marshal_Options::POLICY); - - //= Get/Set whether we are client or server (sender/receiver) - CORBA_Marshal_Options::ROLE role (void); - void role (CORBA_Marshal_Options::ROLE); - - //= Get/Set the hostname client connects to or the interface on which the - //server listens to - const char *hostname (void); - void hostname (const char *); - - //= Get/set the port number on which the server listens - short port (void); - void port (short); - - //= Get/Set the object name (to which to connect to) - const char *object_name (void); - void object_name (const char *); - - //= Get/Set the service name (for impl is ready) - const char *service_name (void); - void service_name (const char *); - - // = Get/set receive sockbufsize. - int rcv_socket_queue_size (void); - void rcv_socket_queue_size (int); - - // = Get/set send sockbufsize. - int snd_socket_queue_size (void); - void snd_socket_queue_size (int); - - // = Get/set whether to use TCP_NODELAY or not - unsigned short disable_nagle (void); - void disable_nagle (unsigned short); - - // = Get/set whether to print debug messages. - unsigned short debug (void); - void debug (unsigned short); - - // =Get/Set filename to store results - const char *filename (void); - void filename (const char *fname); - - // =Get/set number of iterations - int iterations (void); - void iterations (int iter); - - int Usage (void); - // prints a usage message and always returns -1 - - int orb_init_args (int &argc, char * argv []); - // return a string that will be passed to the ORB init method based on the - // other options and proxy type - - int boa_init_args (int &argc, char * argv []); - // return a string that will be passed to the BOA init method based on the - // other options and proxy type - -private: - const char *object_name_; - // name of the object. - - const char *service_name_; - // name of the service. - - CORBA_Marshal_Options::DATATYPE data_type_; - // data type to send/receive - - CORBA_Marshal_Options::PROXY_TYPE proxy_type_; - // the proxy type, e.g., ACE, Orbix, VisiBroker, etc - - CORBA_Marshal_Options::POLICY policy_; - // communications policy used by the communicating entity - - CORBA_Marshal_Options::ROLE role_; - // Are we creating a sender or receiver? - - int rcv_socket_queue_size_; - // Size of socket queue. - - int snd_socket_queue_size_; - // Size of socket queue. - - unsigned short disable_nagle_; - // Nagle must be stopped. - - unsigned short debug_; - // Should we print debug messages? - - short port_; - // Port for socket connections to use. - - const char *hostname_; - // Host for senders to connect to. and servers to listen on - - const char *filename_; - // filename in which to store the results - - int iterations_; - // number of times to run the same test - - ACE_CString orb_init_args_; - // arguments to orb_init - - ACE_CString boa_init_args_; - // arguments to boa_init - -}; - -#if defined (__ACE_INLINE__) -#include "benchmark/marshal_options.i" -#endif /* __ACE_INLINE__ */ - -#endif diff --git a/TAO/Benchmark/benchmark/marshal_options.i b/TAO/Benchmark/benchmark/marshal_options.i deleted file mode 100644 index 6c860fac93c..00000000000 --- a/TAO/Benchmark/benchmark/marshal_options.i +++ /dev/null @@ -1,235 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark/Marshal -// -// = FILENAME -// marshal_options.i -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -// constructor -ACE_INLINE -CORBA_Marshal_Options::CORBA_Marshal_Options (void) - : object_name_ (0), - data_type_ (CORBA_Marshal_Options::NO_DATATYPE), - proxy_type_ (CORBA_Marshal_Options::NO_PROXY), - policy_ (CORBA_Marshal_Options::NO_POLICY), - role_ (CORBA_Marshal_Options::NO_ROLE), - rcv_socket_queue_size_ (-1), - snd_socket_queue_size_ (-1), - disable_nagle_ (0), - debug_ (0), - hostname_ (0), - port_ (-1), - iterations_ (0) -{ -} - - -// destructor -ACE_INLINE -CORBA_Marshal_Options::~CORBA_Marshal_Options (void) -{ -} - -// set the data type to be transferred -ACE_INLINE void -CORBA_Marshal_Options::data_type (CORBA_Marshal_Options::DATATYPE dt) -{ - data_type_ = dt; -} - -// get the data type to be transferred -ACE_INLINE CORBA_Marshal_Options::DATATYPE -CORBA_Marshal_Options::data_type (void) -{ - return data_type_; -} - -// set the proxy type to be transferred -ACE_INLINE void -CORBA_Marshal_Options::proxy_type (CORBA_Marshal_Options::PROXY_TYPE pt) -{ - proxy_type_ = pt; -} - -// get the data type to be transferred -ACE_INLINE CORBA_Marshal_Options::PROXY_TYPE -CORBA_Marshal_Options::proxy_type (void) -{ - return proxy_type_; -} - -// set the policy type to be transferred -ACE_INLINE void -CORBA_Marshal_Options::policy (CORBA_Marshal_Options::POLICY inv) -{ - policy_ = inv; -} - -// get the policy type to be transferred -ACE_INLINE CORBA_Marshal_Options::POLICY -CORBA_Marshal_Options::policy (void) -{ - return policy_; -} - -// set the role type to be transferred -ACE_INLINE void -CORBA_Marshal_Options::role (CORBA_Marshal_Options::ROLE my_role) -{ - role_ = my_role; -} - -// get the role type to be transferred -ACE_INLINE CORBA_Marshal_Options::ROLE -CORBA_Marshal_Options::role (void) -{ - return role_; -} - -// set the hostname -ACE_INLINE void -CORBA_Marshal_Options::hostname (const char *hname) -{ - hostname_ = hname; -} - -// get the hostname -ACE_INLINE const char* -CORBA_Marshal_Options::hostname (void) -{ - return hostname_; -} - -// set the post -ACE_INLINE void -CORBA_Marshal_Options::port (short portnum) -{ - port_ = portnum; -} - -// get the port -ACE_INLINE short -CORBA_Marshal_Options::port (void) -{ - return port_; -} - -// set the object name -ACE_INLINE void -CORBA_Marshal_Options::object_name (const char *objname) -{ - object_name_ = objname; -} - -// get the object name -ACE_INLINE const char * -CORBA_Marshal_Options::object_name (void) -{ - return object_name_; -} - -// set the service name -ACE_INLINE void -CORBA_Marshal_Options::service_name (const char *srvname) -{ - service_name_ = srvname; -} - -// get the service name -ACE_INLINE const char * -CORBA_Marshal_Options::service_name (void) -{ - return service_name_; -} - -// set the receive sock size -ACE_INLINE void -CORBA_Marshal_Options::rcv_socket_queue_size (int socksize) -{ - rcv_socket_queue_size_ = socksize; -} - -// get the receive sock size -ACE_INLINE int -CORBA_Marshal_Options::rcv_socket_queue_size (void) -{ - return rcv_socket_queue_size_; -} - -// set the sender sock size -ACE_INLINE void -CORBA_Marshal_Options::snd_socket_queue_size (int socksize) -{ - snd_socket_queue_size_ = socksize; -} - -// get the snd sock size -ACE_INLINE int -CORBA_Marshal_Options::snd_socket_queue_size (void) -{ - return snd_socket_queue_size_; -} - -// set whether Nagle algo is to be disabled -ACE_INLINE void -CORBA_Marshal_Options::disable_nagle (unsigned short val) -{ - disable_nagle_ = (val ? 1 : 0); -} - -// get whether Nagle algo is disabled -ACE_INLINE unsigned short -CORBA_Marshal_Options::disable_nagle (void) -{ - return disable_nagle_; -} - -// set whether debug is to be disabled -ACE_INLINE void -CORBA_Marshal_Options::debug (unsigned short val) -{ - debug_ = (val ? 1 : 0); -} - -// get whether debug is disabled -ACE_INLINE unsigned short -CORBA_Marshal_Options::debug (void) -{ - return debug_; -} - -// set the filename -ACE_INLINE void -CORBA_Marshal_Options::filename (const char *fname) -{ - filename_ = fname; -} - -// get the filename -ACE_INLINE const char* -CORBA_Marshal_Options::filename (void) -{ - return filename_; -} - -// set the iterations -ACE_INLINE void -CORBA_Marshal_Options::iterations (int iter) -{ - iterations_ = iter; -} - -// get the iterations -ACE_INLINE int -CORBA_Marshal_Options::iterations (void) -{ - return iterations_; -} diff --git a/TAO/Benchmark/benchmark/marshal_proxy.cpp b/TAO/Benchmark/benchmark/marshal_proxy.cpp deleted file mode 100644 index 9c2d4cf61d8..00000000000 --- a/TAO/Benchmark/benchmark/marshal_proxy.cpp +++ /dev/null @@ -1,23 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark -// -// = FILENAME -// marshal_proxy.cpp -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "benchmark/marshal_proxy.h" - -#if !defined (__ACE_INLINE__) -#include "benchmark/marshal_proxy.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(benchmark, marshal_proxy, "$Id$") - diff --git a/TAO/Benchmark/benchmark/marshal_proxy.h b/TAO/Benchmark/benchmark/marshal_proxy.h deleted file mode 100644 index 3152a62f17d..00000000000 --- a/TAO/Benchmark/benchmark/marshal_proxy.h +++ /dev/null @@ -1,48 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark -// -// = FILENAME -// marshal_proxy.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _CORBA_MARSHAL_PROXY_H_ -#define _CORBA_MARSHAL_PROXY_H_ - -#include "benchmark/marshal_options.h" -#include "benchmark/marshal_results.h" - -class CORBA_Marshal_Proxy -{ - // = TITLE - // Abstract handle for all CORBA_Marshal tests. - // = DESCRIPTION - // The IMPL class is the CORBA specific class which does the real work. The - // IMPL class must support the run method -public: - typedef CORBA_Marshal_Options OPTIONS; - typedef CORBA_Marshal_Results RESULTS; - - CORBA_Marshal_Proxy (void); - // constructor - - virtual ~CORBA_Marshal_Proxy (void); - // destructor - - virtual int run (OPTIONS &, RESULTS &) = 0; - // run the test - -}; - -#if defined (__ACE_INLINE__) -#include "benchmark/marshal_proxy.i" -#endif /* __ACE_INLINE__ */ - -#endif diff --git a/TAO/Benchmark/benchmark/marshal_proxy.i b/TAO/Benchmark/benchmark/marshal_proxy.i deleted file mode 100644 index a5e95d393cd..00000000000 --- a/TAO/Benchmark/benchmark/marshal_proxy.i +++ /dev/null @@ -1,12 +0,0 @@ -// $Id$ - - -ACE_INLINE -CORBA_Marshal_Proxy::CORBA_Marshal_Proxy (void) -{ -} - -ACE_INLINE -CORBA_Marshal_Proxy::~CORBA_Marshal_Proxy (void) -{ -} diff --git a/TAO/Benchmark/benchmark/marshal_results.cpp b/TAO/Benchmark/benchmark/marshal_results.cpp deleted file mode 100644 index 1c102d49eed..00000000000 --- a/TAO/Benchmark/benchmark/marshal_results.cpp +++ /dev/null @@ -1,36 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark/Marshal -// -// = FILENAME -// marshal_results.cpp -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "benchmark/marshal_results.h" - -#if !defined (__ACE_INLINE__) -#include "benchmark/marshal_results.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(benchmark, marshal_results, "$Id$") - -int -CORBA_Marshal_Results::log_results (void) -{ - return 0; -} - -int -CORBA_Marshal_Results::print_results (void) -{ - // ACE_DEBUG ((LM_DEBUG, "CORBA_Marshal_Results::print_results\n")); - - return 0; // success -} diff --git a/TAO/Benchmark/benchmark/marshal_results.h b/TAO/Benchmark/benchmark/marshal_results.h deleted file mode 100644 index 66de29e13bd..00000000000 --- a/TAO/Benchmark/benchmark/marshal_results.h +++ /dev/null @@ -1,76 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark -// -// = FILENAME -// marshal_results.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _CORBA_MARSHAL_RESULTS_H_ -#define _CORBA_MARSHAL_RESULTS_H_ - -#include "ace/Profile_Timer.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class CORBA_Marshal_Results -{ -public: - CORBA_Marshal_Results (void); - // Construction. - - ~CORBA_Marshal_Results (void); - // destructor. - - void clear (void); - // Clear all results. - - ACE_Profile_Timer::ACE_Elapsed_Time & elapsed_time (void); - // Get the elapsed time. - - ACE_Profile_Timer::Rusage elapsed_rusage (void); - // compute the rusage - - int start_timer (void); - // starts a profile timer. - - int stop_timer (void); - // stops the profile timer. - - void filename (const char *fname); - // set the name of the file to store results - - int log_results (void); - // log results - - int print_results (void); - // prints the results - -private: - - // = Used for performance statistics - ACE_Profile_Timer timer_; - ACE_Profile_Timer::ACE_Elapsed_Time et_; - ACE_Profile_Timer::Rusage rusage_; - - double elapsed_time_; - // Real elapsed time in seconds. - - const char *filename_; - // filename -}; - -#if defined (__ACE_INLINE__) -#include "benchmark/marshal_results.i" -#endif /* __ACE_INLINE__ */ - -#endif diff --git a/TAO/Benchmark/benchmark/marshal_results.i b/TAO/Benchmark/benchmark/marshal_results.i deleted file mode 100644 index aa914b2f3d3..00000000000 --- a/TAO/Benchmark/benchmark/marshal_results.i +++ /dev/null @@ -1,61 +0,0 @@ -// $Id$ - - -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark/Marshal -// -// = FILENAME -// marshal_results.i -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -ACE_INLINE -CORBA_Marshal_Results::CORBA_Marshal_Results (void) - : filename_ (0), - elapsed_time_ (0) -{ -} - -ACE_INLINE -CORBA_Marshal_Results::~CORBA_Marshal_Results (void) -{ -} - -ACE_INLINE int -CORBA_Marshal_Results::start_timer (void) -{ - return this->timer_.start (); -} - -ACE_INLINE int -CORBA_Marshal_Results::stop_timer (void) -{ - return this->timer_.stop (); -} - -ACE_INLINE ACE_Profile_Timer::ACE_Elapsed_Time & -CORBA_Marshal_Results::elapsed_time (void) -{ - (void) this->timer_.elapsed_time (this->et_); - return this->et_; -} - -ACE_INLINE ACE_Profile_Timer::Rusage -CORBA_Marshal_Results::elapsed_rusage (void) -{ - (void) this->timer_.elapsed_rusage (this->rusage_); - return this->rusage_; -} - -ACE_INLINE void -CORBA_Marshal_Results::filename (const char *fname) -{ - this->filename_ = fname; -} - - diff --git a/TAO/COPYING b/TAO/COPYING deleted file mode 100644 index a8f89534e82..00000000000 --- a/TAO/COPYING +++ /dev/null @@ -1,90 +0,0 @@ - - _________________________________________________________________ - - Copyright and Licensing Information for ACE(TM) and TAO(TM) - - [1]ACE(TM) and [2]TAO(TM) are copyrighted by [3]Douglas C. Schmidt and - his [4]research group at [5]Washington University, Copyright (c) - 1993-1999, all rights reserved. Since ACE and TAO are [6]open source, - [7]free software, you are free to use, modify, and distribute the ACE - and TAO source code and object code produced from the source, as long - as you include this copyright statement along with code built using - ACE and TAO. - - In particular, you can use ACE and TAO in proprietary software and are - under no obligation to redistribute any of your source code that is - built using ACE and TAO. Note, however, that you may not do anything - to the ACE and TAO code, such as copyrighting it yourself or claiming - authorship of the ACE and TAO code, that will prevent ACE and TAO from - being distributed freely using an open source development model. - - ACE and TAO are provided as is with no warranties of any kind, - including the warranties of design, merchantibility and fitness for a - particular purpose, noninfringement, or arising from a course of - dealing, usage or trade practice. Moreover, ACE and TAO are provided - with no support and without any obligation on the part of Washington - University, its employees, or students to assist in its use, - correction, modification, or enhancement. However, commercial support - for ACE and TAO are available from [8]Riverace and [9]OCI, - respectively. Moreover, both ACE and TAO are Y2K-compliant, as long as - the underlying OS platform is Y2K-compliant. - - Washington University, its employees, and students shall have no - liability with respect to the infringement of copyrights, trade - secrets or any patents by ACE and TAO or any part thereof. Moreover, - in no event will Washington University, its employees, or students be - liable for any lost revenue or profits or other special, indirect and - consequential damages. - - The [10]ACE and [11]TAO web sites are maintained by the [12]Center for - Distributed Object Computing of Washington University for the - development of open source software as part of the [13]open source - software community. By submitting comments, suggestions, code, code - snippets, techniques (including that of usage), and algorithms, - submitters acknowledge that they have the right to do so, that any - such submissions are given freely and unreservedly, and that they - waive any claims to copyright or ownership. In addition, submitters - acknowledge that any such submission might become part of the - copyright maintained on the overall body of code, which comprises the - [14]ACE and [15]TAO software. By making a submission, submitter agree - to these terms. Furthermore, submitters acknowledge that the - incorporation or modification of such submissions is entirely at the - discretion of the moderators of the open source ACE and TAO projects - or their designees. - - The names ACE - (TM), TAO(TM), and Washington University may not be used to endorse or - promote products or services derived from this source without express - written permission from Washington University. Further, products or - services derived from this source may not be called ACE(TM) or - TAO(TM), nor may the name Washington University appear in their names, - without express written permission from Washington University. - - If you have any suggestions, additions, comments, or questions, please - let [16]me know. - - [17]Douglas C. Schmidt - _________________________________________________________________ - - Back to the [18]ACE home page. - -References - - 1. http://www.cs.wustl.edu/~schmidt/ACE.html - 2. http://www.cs.wustl.edu/~schmidt/TAO.html - 3. http://www.cs.wustl.edu/~schmidt/ - 4. http://www.cs.wustl.edu/~schmidt/ACE-members.html - 5. http://www.wustl.edu/ - 6. http://www.opensource.org/ - 7. http://www.gnu.org/ - 8. http://www.riverace.com/ - 9. file://localhost/home/cs/faculty/schmidt/.www-docs/www.ociweb.com - 10. http://www.cs.wustl.edu/~schmidt/ACE.html - 11. http://www.cs.wustl.edu/~schmidt/TAO.html - 12. http://www.cs.wustl.edu/~schmidt/doc-center.html - 13. http://www.opensource.org/ - 14. http://www.cs.wustl.edu/~schmidt/ACE-obtain.html - 15. http://www.cs.wustl.edu/~schmidt/TAO-obtain.html - 16. mailto:schmidt@cs.wustl.edu - 17. http://www.cs.wustl.edu/~schmidt/ - 18. file://localhost/home/cs/faculty/schmidt/.www-docs/ACE.html diff --git a/TAO/COPYING.sun b/TAO/COPYING.sun deleted file mode 100644 index b2a26fdafa4..00000000000 --- a/TAO/COPYING.sun +++ /dev/null @@ -1,67 +0,0 @@ -This notice applies to all files in this software distribution that -were originally derived from SunSoft IIOP code (these files contain -Sun Microsystems copyright notices). - -COPYRIGHT AND LICENSING ------------------------ - -Copyright 1995 Sun Microsystems, Inc. -Printed in the United States of America. -All Rights Reserved. - -This software product (LICENSED PRODUCT), implementing the Object -Management Group's "Internet Inter-ORB Protocol", is protected by -copyright and is distributed under the following license restricting -its use. Portions of LICENSED PRODUCT may be protected by one or more -U.S. or foreign patents, or pending applications. - -LICENSED PRODUCT is made available for your use provided that you -include this license and copyright notice on all media and -documentation and the software program in which this product is -incorporated in whole or part. - -You may copy, modify, distribute, or sublicense the LICENSED PRODUCT -without charge as part of a product or software program developed by -you, so long as you preserve the functionality of interoperating with -the Object Management Group's "Internet Inter-ORB Protocol" version -one. However, any uses other than the foregoing uses shall require -the express written consent of Sun Microsystems, Inc. - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of the LICENSED PRODUCT as permitted herein. - -This license is effective until terminated by Sun for failure to -comply with this license. Upon termination, you shall destroy or -return all code and documentation for the LICENSED PRODUCT. - -LICENSED PRODUCT IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND -INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A -PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -LICENSED PRODUCT IS PROVIDED WITH NO SUPPORT AND WITHOUT ANY -OBLIGATION ON THE PART OF SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY -WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY -PATENTS BY LICENSED PRODUCT OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE -LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND -CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY -OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and -FAR 52.227-19. - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems and the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - diff --git a/TAO/ChangeLog-97 b/TAO/ChangeLog-97 deleted file mode 100644 index ca7d6f510cf..00000000000 --- a/TAO/ChangeLog-97 +++ /dev/null @@ -1,6674 +0,0 @@ -Wed Dec 31 23:29:59 1997 Nanbor Wang - - * tao/nvlist.cpp (add_value_consume): Added a space between * and - /* to avoid warning messages on NT. - -Thu Jan 01 14:22:34 1998 Douglas C. Schmidt - - * TAO version 0.0.50, released Thu Jan 01 14:22:34 1998. - -Thu Jan 1 13:31:55 1998 Aniruddha Gokhale - - * TAO_IDL/be/{be_sequence, be_state_sequence}.cpp: An unwanted - reference operator "&" was getting generated for sequences whose - element types were not special managed types. This was because the - case for handling the managed types somehow got mixed with the - normal ccase. Thanks to Nanbor Wang (nw1@cs.wustl.edu) for - pointing this out. - -Wed Dec 31 18:29:57 1997 Aniruddha Gokhale - - * TAO_IDL/be/{be_sequence, be_state_sequence}.cpp: Changed the way - we use managed types. Instead of allocating an array, we now - instantiate the - managed type on the fly i.e., when the operator [] is invoked. The - reasons for doing this are: (1) no need for dynamic memory - allocation for maintaining the array of managers (2) It was - causing all kinds of problems while decoding because the sizeof - such sequence classes was bigger than those without managed - types. However, due to this scheme, we can no longer define the [] - operator to return a reference because that would mean that a - reference to a local variable/temporary will be returned. Hence - changes were necessary in files. - - TypeCode generation was also erroneous. This is fixed. We were - generating wrong encapsulation length. - - * TAO_IDL/be/be_string.cpp: Indentation in typecode generation. - - * TAO_IDL/be/be_type.cpp: nested_type_name - improved to - eliminate one more strange error message getting generated by the - MSVC++ compiler. Still needs testing. - - * TAO/tao/{invoke, decode}.cpp: Reversed the changes which were - made to account for sequencese with managed types. We no longer - need these changes because sequences with managed types no longer - keep an extra data member. Thus the size of all sequences (top - level) is the same (so is the layout). - - * TAO/tao/nvlist.cpp: commneted out unused variables, parameters. - - * TAO/tests/Param_Test: Included tests for string sequences, - variable sized structs as well as nested structs. - -Tue Dec 30 13:46:44 1997 Nanbor Wang - - * tests/Cubit/TAO/IDL_Cubit/clnt.h (portnum_): Changed its data - type from CORBA::ULong to CORBA::UShort to kill warning - messages. - - * tao/orbobj.cpp (create_list): Changed data type of the loop - counter to CORBA::Long. This caused a warning message on VC. - - * doc/releasenotes/index.html: Added documentation for adding IDL - files into Visual C++'s projects. - - * tests/Param_Test/Param_Test.dsw: - * tests/Param_Test/client.dsp: - * tests/Param_Test/server.dsp: New workspace and projects were added. - -Tue Dec 30 10:15:11 1997 Irfan Pyarali - - * orbsvcs/Event_Service/Fast_Reactor.h (ACE_ES_Fast_Reactor): - Added the other version of handle_events to stop the compiler - from being cranky. - -Tue Dec 30 10:06:45 1997 Aniruddha Gokhale - - * TAO_IDL/be/{be_state_argument, be_state_operation, - be_state_attribute}.cpp - Unnecessary call on "init_mgr" for - sequences that do not have any managed types was getting - generated. This is fixed. In addition, MSVC++ compiler was - producing an error saying "ambiguous assignment" when an "_out" - variable was assigned to a pointer type. Solaris platform (CC and - g++) did not give any such errors since they were (most probably) - using the operator *() on the _out class, but MSVC++ did not. - - * TAO/tests/Cubit/IDL_Cubit/clnt.cpp: The same "ambiguous - assignment" error described above has been fixed here too. - - * TAO/tests/Param_Test: Added a method called "reset_parameters" - so that we do not change the "in" parameter for every - iteration. Previuosly we were settingthe in parameter differently - for every new iteration. However, for performance comparison - purposes, this was not correct (e.g., in the case of string - sequences or unbounded strings where everytime we were sending a - different lenght string and hence the performance numbers were - different for each run and couldn't be compared.) - -Mon Dec 29 21:51:38 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_sequence.cpp: get_name was returning a local - variable. In addition, added generationof a method called - "init_mgr" that must be used to initialize the sequence's - underlying mgr_ vector. - - There was some problem with bounded/unbounded sequence code - generation (an error in an if stmt). - - * TAO_IDL/be/{be_state_argument, be_state_attribute, - be_state_operation}.cpp - added code to generate the call to - init_mgr for sequences after the do_call is made. - - * TAO_IDL/be_include/be_sequence.h : gen_name returns char* rather - than const char* because we now allocate a new string and return - it. - - * TAO/tao/Makefile: applied make depend to incorporate nvlist.i - - * TAO/tao/corbacom.h: Added a "boolean release" field to - CORBA_SEQUNECE so that its layout is similar to the generated code - for sequences. - - * TAO/tao/decode.cpp: In sequence decode, we also set the release - flag to 1. In addition, for sequences of strings and objrefs, we - zero out additional 4 bytes that are used to store a pointer to - the manager array. - - * TAO/tao/deep_free.cpp: some indentation. Also passed the correct - parameter to string/wstring::decode - - * TAO/tao/invoke.cpp: In do_dynamic_call, for sequences of strings - (inclusing typedefed sequences of strings that themselves can be - typedefed), we must allocate size+4 bytes for demarshaling the - sequences. The extra 4 bytes are for the manager array pointer. - - * TAO/tao/nvlist.cpp: I the method item, the loop should have run - from o to max_ rather than upto len_. - - * TAO/tao/orbobj.cpp: Used placement new of NamedValue in the - create_list method. - - * TAO/tests/Param_Test: Added new tests for Fixed_Struct and - string sequence. Added a README file. - - * TAO/doc/releasenotes/index.html: updated with latest success stories. - -Thu Dec 25 20:36:58 1997 Douglas C. Schmidt - - * TAO version 0.0.49, released Thu Dec 25 20:36:58 1997. - -Thu Dec 25 18:43:03 1997 Aniruddha Gokhale - - * TAO_IDL/be/{be_state_attribute, be_state_argument}.cpp: Handled - teh remaining cases (except Arrays) that use the newly added - methiods to class NVList. The Param_Test test suite is being - developed to track any memory leaks. - - * TAO/tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Used sequence_var in - the cube_sequence function to avoid memory leaks. However, there - still are leaks. - -Wed Dec 24 18:44:47 1997 Douglas C. Schmidt - - * TAO version 0.0.48, released Wed Dec 24 18:44:47 1997. - -Wed Dec 24 18:44:02 1997 Douglas C. Schmidt - - * tao: Added the nvlist.i file to the tao/ directory. - -Wed Dec 24 18:11:08 1997 Aniruddha Gokhale - - * TAO_IDL/be/{be_operation, be_state_argument}.cpp: Added - "argument_count" method to be_operation which is helpful in - creating an NVList of the appropriate size. Previously we were - creating an empty list and adding parameters one by one. This was - causing a lot of reallocations which were wasteful. - - At this time, we have code base that can successfully send/receive - primitive data types as well as strings. - - * TAO_IDL/be_include/be_operation.h : Added a new method called - "argument_count" to give us the total number of parameters we - have. - - * TAO/tao/{any.cpp, connect.cpp, corbacom.i, decode.cpp, - iioporb.cpp, marshal.i, objtable.cpp, optable.cpp, request.cpp}: - In all these files, after a call to CORBA::string_free, we made - the pointer point to 0. Otherwise, purify was giving us "Free - Memory read" errors. Also, this was (by fluke) causing some - applications to run successfully. - - * TAO/tao/{nvlist.h, nvlist.cpp, nvlist.i, corba.h}: Added - unimplemented methods to NamedValue and NVList. Created a nvlist.i - file and updated corba.h - - * TAO/tao/corbacom.cpp: In an assignment operator for Sting_out, - we were not checking if the assignment was from ourselves. Also a - array was incorrectly being deleted as "delete ..." rather than - "delete [] ...". - - * TAO/tao/invoke.cpp: Inside do_call, we were not deleting memory - for the "in" part of the inout parameters. Right now we have fixed - this problem only for strings. Others will be added as new tests - are built. Do_dynamic_call also needs such a fix. NOT DONE in this release. - - * TAO/tao/orb_core.h, orb_core.cpp: ORB_init takes "const char*" - orb name as the argument instead of just char*. - - * TAO/tests/Param_Test: Successful in testing - "test_unbounded_string". removed a few memory leaks where we were - not deleting the client objects. - -Tue Dec 23 19:34:40 1997 Douglas C. Schmidt - - * TAO version 0.0.47, released Tue Dec 23 19:34:40 1997. - -Tue Dec 23 13:36:50 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_state_sequence.cpp: ACE_NESTED_CLASS must be - generated for seq elements that are scoped. We were generating - this macor only when seq elements were typedefs. However, seq - elements can also be structs or any other types that have an - enclosing scope. Thanks to Chris Gill for - the bug report. - - * TAO_IDL/be/be_state_operation.cpp: Similar problem as above for - return types of operations. Bug reported by Chris Gill. - - * TAO_IDL/be/be_exception.cpp: Whenever a _narrow fails, we were - trying to do a ACE_dynamic_cast to a 0. Instead, we now return a - 0. Again thanks to Chris Gill for - the bug report. - - * TAO_IDL/be/be_state_argument.cpp: We were ot generating a char - *& for inout string parameters. Instead only a char * was getting - generated. Fixed. - -Tue Dec 23 11:45:03 1997 Carlos O'Ryan - - * docs/releasenotes/index.html: - There is no need to set config=1 when compiling - TAO_ROOT/orbsvcs. - -Mon Dec 22 22:02:49 1997 Douglas C. Schmidt - - * TAO version 0.0.46, released Mon Dec 22 22:02:49 1997. - -Mon Dec 22 19:08:55 1997 Carlos O'Ryan - - * tao/corba.h: - * tao/except.cpp: - * tao/except.h: - The TAO_TRY macros use the _narrow methods for exceptions; - making the TAO_CATCH() macro fully functional. - - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp: - * orbsvcs/Event_Service/Dispatching_Modules.cpp: - * orbsvcs/Event_Service/Dispatching_Modules.i: - * orbsvcs/Event_Service/Event_Channel.cpp: - * orbsvcs/Event_Service/Event_Channel.i: - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/Event_Service/RT_Task.cpp: - * orbsvcs/Event_Service/ReactorTask.cpp: - * orbsvcs/Scheduling_Service/Config_Scheduler.cpp: - * orbsvcs/Scheduling_Service/Config_Scheduler.h: - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp: - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * orbsvcs/orbsvcs/Runtime_Scheduler.h: - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Changed the ACE_TRY (and friends) macros to TAO_TRY. - - * orbsvcs/orbsvcs/RtecEventChannelAdmin.idl: - Cleaned up some exceptions definitions. - - * orbsvcs/tests/Event_Latency/Makefile: - Since the schedule is not distributed (yet) by default we - compile the config run, hopefully this will cause less - confusion. - -Sun Dec 21 23:41:05 1997 Douglas C. Schmidt - - * TAO version 0.0.45, released Sun Dec 21 23:41:05 1997. - -Sun Dec 21 20:29:33 1997 - - * tests/Cubit/TAO/MT_Cubit/client/client.dsp: * - tests/Cubit/TAO/MT_Cubit/server/server.dsp: Corrected erroneous - library pathes in Release version of project files. - -Sun Dec 21 18:30:41 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_codegen.cpp: The macro used in the #if !defined - (..) clause in the header files was incorrectly generated when IDL - file names had characters other than letters in it. Fixed. - - * TAO/tests/Param_Test: A new test suite to test all the parameter - passing modes - return, in, inout, and out for a large number of - IDL data types. The purpose of this test suite is to verify the - correctness of the stubs/skeletons generated by TAO IDL compiler, - eliminate any existing errors in the marshaling engine, track down - any memory leaks, and finally to measure the performance and fine - tune the code if required. In the first version of the test, we - only test "shorts". We will be adding other tests as soon as we - can. - -Sat Dec 20 00:34:45 1997 Sergio Flores - - * tests/Cubit/CORBAplus/MT_Cubit/client/client.cpp (main): - * tests/Cubit/CORBAplus/MT_Cubit/client/Makefile: - * tests/Cubit/CORBAplus/MT_Cubit/client/Task_Client.cpp: - * tests/Cubit/CORBAplus/MT_Cubit/client/Task_Client.h: - * tests/Cubit/CORBAplus/MT_Cubit/client/client.cpp: - * tests/Cubit/CORBAplus/MT_Cubit/client/cubit.idl: - * tests/Cubit/CORBAplus/MT_Cubit/server/Makefile: - * tests/Cubit/CORBAplus/MT_Cubit/server/cubit.idl: - * tests/Cubit/CORBAplus/MT_Cubit/server/cubit_i.cpp: - * tests/Cubit/CORBAplus/MT_Cubit/server/cubit_i.h: - * tests/Cubit/CORBAplus/MT_Cubit/server/svr.cpp: - Ported the MT_Cubit example to CORBAplus. - -Fri Dec 19 11:33:51 1997 Sergio Flores - - - * tests/Thruput/CORBAplus/Makefile: - * tests/Thruput/CORBAplus/README: - * tests/Thruput/CORBAplus/client.cpp: - * tests/Thruput/CORBAplus/extract: - * tests/Thruput/CORBAplus/run: - * tests/Thruput/CORBAplus/run_client: - * tests/Thruput/CORBAplus/run_server: - * tests/Thruput/CORBAplus/run_test: - * tests/Thruput/CORBAplus/run_tests: - * tests/Thruput/CORBAplus/server.cpp: - * tests/Thruput/CORBAplus/ttcp.idl: - * tests/Thruput/CORBAplus/ttcp_decl.h: - * tests/Thruput/CORBAplus/ttcp_i.cpp: - * tests/Thruput/CORBAplus/ttcp_i.h: - * tests/Thruput/CORBAplus/utils.cpp: Ported the Thruput example to - CORBAplus for C++ by Expersoft. Try running the "run_tests" - script for the client side. - - * tests/Thruput/Orbix/Client.cpp: - * tests/Thruput/Orbix/Makefile: - * tests/Thruput/Orbix/README: - * tests/Thruput/Orbix/Srv_Main.cpp: - * tests/Thruput/Orbix/extract: - * tests/Thruput/Orbix/loop64: - * tests/Thruput/Orbix/orbixsol2s4.mk: - * tests/Thruput/Orbix/run: - * tests/Thruput/Orbix/run_client: - * tests/Thruput/Orbix/run_server: - * tests/Thruput/Orbix/run_test: - * tests/Thruput/Orbix/run_tests: - * tests/Thruput/Orbix/ttcp.idl: - * tests/Thruput/Orbix/ttcp_decl.h: - * tests/Thruput/Orbix/ttcp_i.cpp: - * tests/Thruput/Orbix/ttcp_i.h: - * tests/Thruput/Orbix/utils.cpp: Included the Thruput example for - IONAs Orbix ORB in the tests directory. - - * tests/Thruput/TAO/Makefile: - * tests/Thruput/TAO/README: - * tests/Thruput/TAO/client.cpp: - * tests/Thruput/TAO/run: - * tests/Thruput/TAO/run_client: - * tests/Thruput/TAO/run_server: - * tests/Thruput/TAO/run_test: - * tests/Thruput/TAO/server.cpp: - * tests/Thruput/TAO/svc.conf: - * tests/Thruput/TAO/ttcp.idl: - * tests/Thruput/TAO/ttcp_decl.h: - * tests/Thruput/TAO/ttcp_i.cpp: - * tests/Thruput/TAO/ttcp_i.h: - * tests/Thruput/TAO/utils.cpp: Moved the TAO version of the - Thruput example to a "TAO" directory in the Thruput directory. - - * tests/Thruput_test: Renamed this directory to Thruput. - -Fri Dec 19 00:28:24 1997 - - * tests/Cubit/TAO/MT_Cubit/server/svr.cpp (main): Removed some - random codes. - - * tao/tao_internals.cpp (close_services): Disabled closing down - the ACE_Service_Config when reference count drops to 0. - -Thu Dec 18 20:36:28 1997 Douglas C. Schmidt - - * TAO version 0.0.44, released Thu Dec 18 20:36:28 1997. - -Thu Dec 18 19:35:28 1997 Sergio Flores - - * orbsvcs/tests/Logger/clnt.cpp (init): - * orbsvcs/Naming_Service/CosNaming_i.cpp (bind_new_context): Fixed - a bug in the Naming Service and the Logger test program - implementation. Thanks to Marina Spivak for - debugging this. - -Thu Dec 18 16:18:01 1997 - - * TAO_IDL/be/be_sequence.cpp (gen_name): Removed a local variable - . It is no longer used. - - * TAO_IDL/be/be_union.cpp (gen_client_stubs): Removed local - variables and . They are not longer used. - -Thu Dec 18 15:50:01 1997 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - realclean was not removing all the IDL compiler generated - files. - -Thu Dec 18 15:06:23 1997 Aniruddha Gokhale - Thanks to Keith Nicewarner , Tom Richards - , and Carlos O'Ryan - for reporting bugs which led to some of the changes below. - - * TAO_IDL/be/be_array.cpp: Preliminary support for arrays. Not - complete. - - * TAO_IDL/be/{be_operation, be_attribute}.cpp: The ParamData - structure *must* hold the "size" of the outermost level of the - return values and out parameters because the ORB has to allocate - memory for it and hence needs to know the size. We had a 0 in it - which crashed any return types that were variable in size. - - * TAO_IDL/be/be_codegen.cpp: Added a new state for - unions. Corresponding change to the *.h file. - - * TAO_IDL/be/be_decl.cpp: Added a method called "scope" that - returns the corresponding scope defined by this node (if one - exists). Added method to the *.h file also. - - * TAO_IDL/be/be_scope.cpp: Added a method called "decl" that - returns the be_decl method corresponding to this scope. The header - file was also updated. - - * TAO_IDL/be/{be_exception, be_state_exception}.cpp: I was making - the most stupid mistake of generating constructors per member - rather than one constructor that takes all the members as a - parameter. - - * TAO_IDL/be/{be_sequence, be_state_sequence}.cpp: Changed the - naming scheme for anonymous sequences to avoid code bloat. - - * TAO_IDL/be/be_state.cpp: Added template instantiation for - additional state to deal with code generation of members of - unions. - - * TAO_IDL/be/be_state_structure.cpp: Made some changes so that - spurious code for array members doesn't get generated. - - * TAO_IDL/be/{be_union, be_state_union}.cpp: Added a new state - because we were not generating code for union members that were - sequences or structs. - - * TAO_IDL/be/be_type.cpp: Modified netsed_type_name to use the new - methods on class be_decl/be_scope. - - * TAO_IDL/be/be_union_branch.cpp: gen_client_stubs uses the same - strategy as the other gen_client methods. - - * TAO/tao/deep_free.cpp: In deep_free of structures, instead of - passing the address of a string member to be freed, we were simply - passing the string that led to a segmentation fault. A careful - code review is necessary. - - * TAO/tao/orb_core.cpp: Made "use_ior" as default as ooposed to - using the URL based scheme for IORs. This was necessary to have - interoperability with other ORBs. - - * TAO/tao/poa.cpp: The server request was being released - immediately after returning from the dispatch method. This should - be done after all return/inout/out parameters are marshaled. - -Tue Dec 17 12:53:01 1997 Brian Mendel - - * tao/encode.cpp: Additional changes for wchar's - -Tue Dec 17 10:37:45 1997 Brian Mendel - - * tao/TAO.dsp: Removed obsolete files from the VC++ project. - Changed name of folder from Include Files to Inline Files. - Inserted new header files for classview. - - * TAO_IDL/tao_idl.dsp: Added missing be_state_exception.cpp to the - the project to eliminate link error. - - * tao/corbacom.cpp: Inserted wslen and wscpy back to handle wchar - problems with VxWOrks and GHS. - - * tao/encode.cpp: Inserted wslen and wscpy back to handle wchar - problems with VxWOrks and GHS. - -Tue Dec 16 18:29:42 1997 Carlos O'Ryan - - * orbsvcs/README: - * docs/orbsvcs.html: - Started up the documentation for TAO services, at this point - only the directory hierarchy is explained. - -Tue Dec 16 08:49:11 1997 Aniruddha Gokhale - - * TAO_IDL/be_include/be_codegen.h: Added three more states for - return types to be generated for operator [] of sequences of - strings and object references. - - * TAO_IDL/be_include/be_sequence.h: Added enum constants to - indicate what kind of managed type is handled by the sequence. For - sequences other than that of strings and objrefs, this enum const - is MNG_NONE. Added a new method that returns the managed type. - - * TAO_IDL/be/{be_sequence, be_state_sequence.cpp}: Added code to - generate sequences of strings and objrefs. This requires - generating special "managed" objects. In addition, for - be_state_sequence.cpp, we were not handling the case where base - types of sequences were not having any scope which resulted in - segmentation faults. - - * TAO_IDL/be/{be_state_argument, be_state_operation}.cpp: Some - small bugs fixed. These included lack of a whitespace in the - generated code as well as spurious extra level of indirection - getting generated. - - * TAO_IDL/be/be_type.cpp: "nested_type_name" now checks if the - scope with which are comparing is NUL or not before proceeding - further. Such a situation may arise for sequences whose base types - are anonymous (e.g., strings) and have no enclosing scope. - - * TAO/tao/managed_types.{h,cpp,i}: Removed. No more needed as teh - code is generated by the IDL compiler. Accordingly modified - corb.h and did a "make depend" on the Makefile. - - * TAO/docs/releasenotes/index.html: Updated to reflect new changes - as well as TO-DO stuff such as adding support for TIEs. - -Mon Dec 15 22:31:50 1997 Douglas C. Schmidt - - * TAO version 0.0.43, released Mon Dec 15 22:31:50 1997. - -Mon Dec 15 19:13:51 1997 Carlos O'Ryan - - * tao/Timeprobe.cpp: - Removed Solaris specific code, somehow it survived from some - debugging session. Thanks to Arturo Montes - for pointing out this bug. - -Mon Dec 15 16:52:58 1997 Nanbor Wang - - * TAO-INSTALL.html: Added some explanations for setting CPP_PATH - on NT. - -Mon Dec 15 16:49:58 1997 David L. Levine - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp (cube_sequence): declare - local variables "l" and "j" as u_int instead of int, to avoid - signed/unsigned comparison. - -Thu Dec 11 16:44:26 1997 Carlos O'Ryan - - * orbsvcs/Scheduling_Service/Config_Scheduler.cpp: - Fixed typo missed on the previous release. - -Thu Dec 11 22:18:52 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_interface.cpp: Moved the code generation for the - _var and _out classes before the actual class declaration, but - after the forward declaration. This was necessary if any elements - in the scope of the interface are defined to be of the same type - as that interface. In such a situation those elements are defined - to be of the _var type. Hence the declaration for _var and _out - must precede the class declaration. - -Thu Dec 11 22:00:52 1997 Sergio Flores - - * orbsvcs/Naming_Service/Naming_Service.cpp (main): Fixed a bug - related to returning an empty string as the ior in the reply from - the multicast request. - -Thu Dec 11 14:06:50 1997 Aniruddha Gokhale - - * TAO_IDL/be/{be_exception,be_state_exception}.cpp: Support for - exceptions added. Added a new file called - "be_state_exception.cpp". - - * TAO_IDL/be_include/be_state.h: Added a new singleton for - be_state_exception. - - * TAO_IDL/be/be_state.cpp: Template instantiations for - be_state_exception. - - * TAO/docs/releasenotes/index.html: Updated to include exception - support. - - * TAO/tao/except.{h,cpp}: Moved the TypeCode member from the - private section to the protected section so that derived classes - can set it. Also, changed the variable from _type to type_ to - stick to the ACE design standards. - -Thu Dec 11 00:01:41 1997 Chris Cleeland - - * TAO version 0.0.42, released Thu Dec 11 00:01:41 1997. - -Wed Dec 10 23:04:04 1997 Carlos O'Ryan - - * orbsvcs/Scheduling_Service/Config_Scheduler.cpp: - Still struggling with g++, it seems to use the wrong cast for - IDL generated T_out classes. - - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Logger/clnt.cpp: - * orbsvcs/tests/Logger/clnt.h: - * orbsvcs/tests/Logger/svr.cpp: - These files were missed in the orbsvcs hierarchy - reorganization. - -Wed Dec 10 22:38:08 1997 Aniruddha Gokhale - - * TAO/tests/Cubit/TAO/DII_Cubit: Fixed the hand-crafted code to - make use of the many changes that were made to the dispatching - scheme as well as changes made to the signature of the skeletons - for operations of interfaces. - -Wed Dec 10 21:41:48 1997 Sergio Flores - - * docs/releasenotes/index.html: Updated the release notes on the - Naming Service. - -Wed Dec 10 20:13:57 1997 Carlos O'Ryan - - * Makefile: - Added orbsvcs to the hierarchy. - - * The orbsvcs directory was completely reorganized, in preparation - for its official release. The new hierarchy is: - - orbsvcs/orbsvcs: Contains a library with: - + The client stubs for the services. - + Common utility classes to access the services. - + The server skeletons, but not their implementation. - - orbsvcs/Naming_Service: the COSS Naming Service. - - orbsvcs/Scheduling_Service: TAO Real-Time Scheduling Service. - - orbsvcs/Event_Service: TAO Real-Time Event Service. - - orbsvcs/tests: test programs and examples. - - * docs/releasenotes/index.html: - Updated documentation on the Event Service and its friends. - -Wed Dec 10 19:57:07 1997 Chris Cleeland - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp (Cubit_i::cube_sequence): - Changed to explicitly use the vector_out::ptr() method to get a - ptr. It seems that g++ wanted to interpret this expression - (output == 0) differently from Sun's C++, and this made both - interpret it in the desired way. - -Wed Dec 10 14:23:24 1997 Carlos O'Ryan - - * TAO_IDL/be/be_state_structure.cpp: - Fixed a bug when handling typedefs. - It was generating code for imported types, we protected the - generation with a !imported(), thank to Andy Gokhale - for helping me on this. - - * tao/connect.cpp: - Set the TCP_NODELAY option by default, otherwise oneway calls - are considerably slower. It should have no effect for twoway - calls. Anyway an option should be added to control this - behavior. - -Wed Dec 10 13:15:11 1997 Aniruddha Gokhale - - * TAO_IDL/be_include/{be_array, be_decl, be_field, be_module, - be_operation, be_predefined_type, be_structure, be_typedef}.h: - Added a protected function called "compute_size_type" which is - invoked if the size type of a data structure is not known in - advance. This happens for structs, unions, arrays, and typedefs - whose size type depends on their base types. - - * TAO_IDL/be/{be_array, be_decl, be_field, be_module, - be_operation, be_predefined_type, be_structure, be_typedef}.cpp: - Implementation of the "compute_size_type". - - * TAO_IDL/be/be_decl.cpp: Changed code that sets "size_type" so - that we first see if we are unknown in which case we set our size - type. However, once we are VARIABLE, no body can reset us to - fixed. Similarly, the overloaded size_type method that return the - size type first checks if our size is still unknown in which case - it calls for "compute_size_type". This is very essential for data - types defined in an imported (included) *.idl file. Thanks to Tom - Richards (tomr@mcmenterprise.com) for reporting the bug with - included file which resulted in this change. - - * TAO_IDL/be/be_state_attribute.cpp: Included a case for - IN_PARAM_TYPE_CH for strings (had previously forgotten to do so). - - * TAO_IDL/be/{be_state_structure, be_structure, be_field}.cpp: - Revamped so that we use the same switch based technique in - be_state_structure.cpp to generate code. For fields that are - sequences or structures or unions, we also generate their code. - - * TAO_IDL/be/be_state_argument.cpp: Thanks to Tom Richards and - Carlos O'Ryan for noticing a bug when we use out sequences. There - used to be a seg fault in deep_free.cpp because a NUL pointer was - being owned by an Any and getting freed. In the server skeleton, - for out params we now generate code after the upcall is made so - that for out parameter value is inserted in the NVList that is - marshaled by the server. - - * TAO_IDL/be/be_interface.cpp: In the generated call to _is_a, we - were calling CORBA::Object::_is_a if a remote call is - necessary. However, MSVC++ cannot handle a call of the form - CORBA::Object::_is_a. So we have to generate code that uses - ACE_CORBA_3 so as to be portable. Thanks to Nanbor Wang - (nw1@cs.wustl.edu). - - * TAO/test/Cubit/TAO/IDL_Cubit/clnt.cpp: Changed the type of the - variable that was passed as the out parameter to cube_sequence. - -Wed Dec 10 01:02:36 1997 Chris Cleeland - - * tao/iiopobj.cpp (set): Added a special case to IIOP Profile::set - so that if the address is INADDR_ANY, it uses the host name, but - otherwise uses the IP address. This eliminates the cryptic - appearance of the address "0.0.0.0" in a server's IOR. - -Tue Dec 9 21:48:52 1997 Carlos O'Ryan - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: - The sequence test is not running right now, I'm commenting it - out until we can make it work properly. - -Tue Dec 9 18:02:43 1997 Chris Cleeland - - * tao/orb_core.cpp: The moral of this changelog entry is to be - VERY careful when cutting and pasting code...the - resource_factory() accessor should not be setting the - client_factory_ member at all! - -Tue Dec 9 11:55:50 1997 Chris Cleeland - - * tao/compat/objbase.h: Added NOERROR as #define if we're not on - WIN32 so that IDL-generated code would continue to work. - - * tao/tao_internals.cpp: Changed faked Resource Factory resource - source specifier to "tss" rather than "global". - - * tao/orb_core.*: Added resource_factory() accessor to - TAO_ORB_Core. This will create a default instance if it can't - locate one in the Service Repository, which will allow - applications to not encounter a hard failure when a svc.conf file - is missing. A warning message is emitted stating that a default - is being used. Applications should not rely on the default - settings, as it is very likely that the applicat might require - alternate settings for proper desired operation. - - * tao/default_server.*: Added TAO_Reactive_Strategy template - class to use in place of the ACE_Reactive_Strategy. It's only - difference from ACE_Reactive_Strategy is that instead of using the - reactor provided in the open method, it always uses that found - through the TAO_ORB_Core_instance(). This fix was motivated by a - general problem which was only observable on VxWorks with a - special pseudo-network transport. - - * tao/connect.cpp: Added code to fail gracefully if socket buffer - size changes are not supported. - -Mon Dec 8 13:11:46 1997 Carlos O'Ryan - - * docs/releasenotes/index.html: - Added more information on how the Event Channel and friends are - going. - - * orbsvcs/bin/Naming_Service/svc.conf: - Removed some foreign ^M from the file. - - * tao/Makefile: - * tao/connect.cpp: - * tao/giop.cpp: - * tao/orbobj.cpp: - * tao/Timeprobe.i: - * tao/Timeprobe.h: - * tao/Timeprobe.cpp: - Added a instrumentation class to measure time interval, also - instrumented some code, as part of the ongoing effort to - optimize the EC, unfortunately the problems are not in TAO ;-) - The code is only instrumented if compiled using probe=1, no - overhead is introduced in normal compiles. - - * tests/Cubit/TAO/IDL_Cubit/cubit.idl: - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: - * tests/Cubit/TAO/IDL_Cubit/clnt.h: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.h: - Addded code to test sequences (as input and output parameters) - they don't work (yet). - - * orbsvcs/lib/Makefile: - * orbsvcs/lib/Timeprobe.h: - * orbsvcs/lib/Timeprobe.i: - * orbsvcs/lib/Timeprobe.cpp: - The file was moved toTAO_ROOT/tao. - - * orbsvcs/lib/Scheduler_Factory.cpp: - Fixed default dump file, it was using stdout! - -Sat Dec 06 15:42:25 1997 - - * tests/Cubit/TAO/IDL_Cubit/{server,client}.dsp: Updated link time - library names. - - * tao/any.cpp: - * tao/any.h: - * tao/corba.h: - * tao/corbacom.h: - * tao/decode.cpp: - * tao/encode.cpp: - * tao/except.cpp: - * tao/except.h: - * tao/giop.cpp: - * tao/iiopobj.cpp: - * tao/iiopobj.h: - * tao/iioporb.cpp: - * tao/iioporb.h: - * tao/nvlist.cpp: - * tao/nvlist.h: - * tao/object.cpp: - * tao/object.h: - * tao/object.i: - * tao/orbobj.cpp: - * tao/orbobj.h: - * tao/orbobj.i: - * tao/poa.cpp: - * tao/poa.h: - * tao/principa.cpp: - * tao/principa.h: - * tao/request.cpp: - * tao/request.h: - * tao/stub.h: - * tao/svrrqst.cpp: - * tao/svrrqst.h: - * tao/typecode.cpp: - * tao/typecode.h: - * tao/compat/initguid.h: - * tao/compat/objbase.h: Removed dependencies on Microsoft's DCOM - files. Below is a list of names that got changed. - - HRESULT -> TAO_HRESULT - IID -> TAO_IID - IUnknown -> TAO_IUnknown - IID_IUnknown -> IID_TAO_IUnknown - SCODE -> TAO_SCODE - NOERROR -> TAO_NOERROR - E_NOINTERFACE -> TAO_E_NOINTERFACE - VARTYPE -> TAO_VARTYPE - VARENUM -> TAO_VARENUM - CY -> TAO_CY - VARIANT -> TAO_VARIANT - DATE -> TAO_DATE - -Fri Dec 5 11:42:25 1997 Chris Cleeland - - * tao/iiopobj.cpp (set): Changed the IIOP::Profile::set() methods - which take an ACE_INET_Addr to retrieve the host IP address rather - than host name for storage in the profile. This is motivated by - the following situation: machine has 3 interfaces (not including - loopback), and it is desired that clients and servers communicate - across only one interface. - - When our IDL_Cubit example's factory created new Cubit instances, - the set() method would set the host name for that IIOP::Profile to - whatever ACE_INET_Addr::get_host_name() returned. In this case, - the IP addr for interface 3 (which is not the primary interface) - would return a *LIST* of names in which the first name was that of - the primary interface. Thus, the IP address used by the client - would be wrong. - - * tao/object.h: Minor corrections to header comments. - - * tao/{orb_core,orbobj}.{h,cpp}: Moved server_factory and - client_factory ptr storage from CORBA_ORB to TAO_ORB_Core. It - really didn't belong there in the first place. - - * tao/poa.cpp: CTOR now fetches server factory ptr from the - TAO_ORB_Core rather than from the ORB. - -Thu Dec 4 18:20:55 1997 Chris Gill - - * TAO_IDL/tao_idl.dsp: Changed hard coded path for cl.exe to CPP_PATH - environment variable - -Thu Dec 4 11:23:55 1997 Aniruddha Gokhale - - * TAO_IDL/include/{idl,ast,utl_idlist, utl_identifier}.h: removed - #include "ace/stdcpp.h" since this file was removed from - ACE. Instead we now include "ace/streams.h" in idl.h - - Also made make depend on all the Makefiles. - -Wed Dec 3 16:08:34 1997 Carlos O'Ryan - - * orbsvcs/lib/Event_Utilities.cpp: - * orbsvcs/lib/Event_Utilities.i: - * orbsvcs/lib/RtecEventComm.idl: - Added some more time-stamps to the events to track and measure - the delays as they move on the EC. - - * orbsvcs/lib/RtecEventChannelAdminC.cpp: - * orbsvcs/lib/RtecEventChannelAdminC.h: - * orbsvcs/lib/RtecEventChannelAdminC.i: - * orbsvcs/lib/RtecEventChannelAdminS.cpp: - * orbsvcs/lib/RtecEventChannelAdminS.h: - * orbsvcs/lib/RtecEventChannelAdminS.i: - * orbsvcs/lib/RtecEventCommC.cpp: - * orbsvcs/lib/RtecEventCommC.h: - * orbsvcs/lib/RtecEventCommC.i: - * orbsvcs/lib/RtecEventCommS.cpp: - * orbsvcs/lib/RtecEventCommS.h: - * orbsvcs/lib/RtecEventCommS.i: - * orbsvcs/lib/RtecSchedulerC.cpp: - * orbsvcs/lib/RtecSchedulerC.h: - * orbsvcs/lib/RtecSchedulerC.i: - * orbsvcs/lib/RtecSchedulerS.cpp: - * orbsvcs/lib/RtecSchedulerS.h: - * orbsvcs/lib/RtecSchedulerS.i: - Thanks to Andy Gokhale efforst the IDL compiler is able to emit - proper code for the EC&friends, hence I'm removing the - hand-crafted files. - -Wed Dec 3 11:12:48 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_interface.cpp: Had forgotten to emit code that - adds one more cast to the base POA_* class in the generated *S.i - file. - -Wed Dec 03 09:40:36 1997 David L. Levine - - * tao/Makefile: added TAO_PLATFORM_SVC_CONF_FILE_NOTSUP to - CPPFLAGS on CHORUS. Thanks to Wei Chiang for this change. - -Tue Dec 2 15:47:09 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_interface.h: Added some helper methods to generate - additional code in the form of larger operation tables, and - skeletons. This situation arises when we have single/multiple - inheritance of interfaces. - - * TAO_IDL/be_include/be.h: Included ace/Containers.h for the - ACE_Unbounded_Queue that uses the breadth-first strategy used in - be_interface.cpp - - * TAO_IDL/be/{be_interface,be_operation,be_attribute}.cpp: Added code - to generate a new "virtual void dispatch" method on the skeleton - classes. The dispatch method enables us to access the most derived - type when invoking the skeleton for a method. The skeletons - instead of taking a CORBA::Object_ptr, now take void*. The - skeletons themselves cast this void* to the appropriate POA_* - type. - - In addition to the above, for the case of inheritance of - interfaces, it is not appropriate to pass a pointer to the most - derived class as a void* to the skeleton of a base class and cast - that to the POA_* of the base class. So we generate inlined code - for skeletons of methods in the most derived class even if those - methods were defined in the base classes. These inlined skeletons - simply cast the object pointer to the right type and invoke the - corresponding skeleton of the base class method. - - be_interface.cpp defines a template method to traverse the entire - inheritance graph. This traversal is done using a breadth-first - traversal. This traverse method takes a pointer to one of the - static helper methods defined on class be_interface. Each helper - achieves a different purpose such as generation of extended - operation tables, providing comparisons of repositoryIDs of base - classes in the _is_a methods of derived classes. - - The client-side class now defines a virtual CORBA::Boolean _is_a - method. This uses local knowledge of repository ids thereby - preventing the expensive remote call in most cases. All changes - made in be_interface.cpp - - * TAO/tao/corbacom.h: Changed the signature of TAO_Skeleton so that - it uses void*obj and a void *context. - - * TAO/tao/object.h: Added a virtual dispatch method as explained - above. - - * TAO/tao/orb.h: Redefinition of TAO_Skeleton removed. - - * TAO/tao/poa.cpp: Changed the demultiplexing code to reflect the - change made with the dispatch method. The poa on finding the right - object corresponding to the key, now invokes the dispatch method - on that object which by dynamic binding invokes the dispatch - method of the POA_* class. - -Tue Dec 02 15:29:41 1997 - - * tao/{connect,orb_core}.h: Moved Win32 specific template - specialization declaration from connect.h to orb_core.h because - the definition had moved to orb_core.i. - - * tao/object.cpp: Removed conditional directives around - DEFINE_GUID for IID_IUnknown. This is now defined for Win32 - also. - - * tao/TAO.dsp: Removed macro definition __IIOP_BUILD. It was not - used anywhere. - -Tue Dec 2 10:25:47 1997 Carlos O'Ryan - - * tao/corba.h: - Fixed some problems with the ACE_RETHROW macros. - - * orbsvcs/lib/Makefile: - * orbsvcs/lib/Timeprobe.h: - * orbsvcs/lib/Timeprobe.i: - * orbsvcs/lib/Timeprobe.cpp: - Added a high resolution timer facility, to measure the delays in - the Event Channel and in its client. - - * orbsvcs/lib/RtecEventComm.idl: - Changed the time_ field of Event to a double. It should be an - structure or a long long, but double is big enough to store - - * orbsvcs/lib/RtecEventChannelAdminC.cpp: - * orbsvcs/lib/RtecEventChannelAdminS.cpp: - * orbsvcs/lib/RtecEventCommC.cpp: - * orbsvcs/lib/RtecEventCommC.h: - * orbsvcs/lib/RtecEventCommS.cpp: - * orbsvcs/lib/RtecSchedulerC.cpp: - * orbsvcs/lib/RtecSchedulerC.h: - * orbsvcs/lib/RtecSchedulerC.i: - * orbsvcs/lib/RtecSchedulerS.cpp: - * orbsvcs/lib/RtecSchedulerS.h: - Regenerated the files using the newest IDL compiler; still some - hand crafting due to inherited classes. - -Tue Dec 2 03:12:50 1997 Sergio Flores - - * tao/orbobj.cpp (resolve_name_service): Check for errors when - resolving using the "NameService" environment variable. - - * orbsvcs/bin/Naming_Service/CosNaming_i.cpp (NS_NamingContext): - * orbsvcs/bin/Naming_Service/CosNaming_i.h (NS_NamingContext): - - Added constructor that takes a key to initialize the object, - instead of using the default name generation. - - Enabled some exceptions that are already supported. - - * orbsvcs/bin/Naming_Service/svr.cpp (main): Create first naming - context with key "NamingContext". And minor changes. - - * tests/Cubit/CORBAplus/IDL_Cubit/Makefile: - * tests/Cubit/CORBAplus/IDL_Cubit/README: - * tests/Cubit/CORBAplus/IDL_Cubit/clnt.cpp: - * tests/Cubit/CORBAplus/IDL_Cubit/clnt.h: - * tests/Cubit/CORBAplus/IDL_Cubit/cubit.idl: - * tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.cpp: - * tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.h: - * tests/Cubit/CORBAplus/IDL_Cubit/svr.cpp: Ported the IDL cubit - example to CORBAplus. Currently, the calls using DII are not - ported, so only the "cube average" and the "cube_union_stub" stats - are printed. - -Mon Dec 1 16:51:08 1997 Chris Cleeland - - * tao/except.{h,cpp}: Changed semantics of CORBA::Exception so - that the mere creation of them does not take a reference. - Instead, the user of the exception is expected to call AddRef(). - CORBA::Environment has been modified (and even documented!) to - reflect that as well. - -Sun Nov 30 17:08:56 1997 Carlos O'Ryan - - * orbsvcs/lib/RtecSchedulerC.cpp: - Added missed parameter in do_call() for - RtecScheduler::Scheduler::set(). - -Sat Nov 29 13:34:58 1997 Carlos O'Ryan - - * tao/stub.i (STUB_Object): - No need to release type_id, since it is a String_var now. Thanks - to Wei Chiang for pointing this out. - - * giop.cpp: - If things go wrong TAO_GIOP::send_request will close the - handler and set it to zero, but only a temporary was - affected, I decided to set the original value to zero also; - based on the return value. - -Wed Nov 26 23:24:57 1997 - - * TAO version 0.0.41, released Wed Nov 26 23:24:57 1997. - -Wed Nov 26 16:40:29 1997 Chris Cleeland - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Changed release calls to use - the CORBA standard version rather than the non-standard TAO - Release() method. Also moved the client's parse_args() AFTER the - ORB_init() so that -ORB parameters were parsed correctly. - - * tao/params.*: Added storage for send and receive socket buffer - size to be used for all newly created sockets. These sizes are - initialized to ACE_DEFAULT_MAX_SOCKET_BUFSIZ, and can be changed - by the user by using -ORBsndsock and -ORBrcvsock. - - * tao/orbobj.h: Added documentation. - - * tao/orb_core.i: Changed system-specific conditional compilation - to use the more general ACE_LACKS_TEMPLATE_SPECIALIZATION. - - * tao/orb_core.cpp: Added code to make -ORBsndsock and -ORBrcvsock - options actually work. Added -ORBpreconnect option to implement - pre-cached connections. - - * tao/giop.cpp: Removed the old static inline version of - start_message(). Also changed to use send_n() to guarantee - correct blocking nature on Win32 with the WFMO Reactor. - - * tao/connect.cpp: Changed set_option() calls to use the socket - buffer sizes stored in the TAO_ORB_Parameters instance. Also - added a correct environment-clearing call before initializing a - request. - - * tao/client_factory.h: Removed extraneous code. - - * tao/{connect,any,giop,iiopobj,marshal,nvlist,objtable,optable, - orb_core,poa,principa,stub,svrrqst,typecode}.h: - Addressed or assigned some '@@' comments. - - * docs/releasenotes/orbcore.html: Added information regarding new - options, known bugs, etc. - - * docs/Options.html: Added documentation for new -ORBpreconnect - option. - - * TAO_IDL/be/Makefile: Added an explicit PIC=-fPIC for when g++ is - being used as the compiler. This fixes the linker complaints. - -Sat Dec 20 14:57:30 1997 - - * All MSVC 5.0 project files: Removed unnecessary library - inclusions. Most of them are not necessary. - -Tue Nov 25 20:49:24 1997 Carlos O'Ryan - - * tao/orbobj.h: - * tao/orbobj.cpp: - * tao/orb_core.cpp: - * tao/params.h: - * tao/params.cpp: - Removed the parameters to specify the event service and schedule - service IOR, the naming service is working now so it can be - used. And the support in "resolve_initial_references". - - * tao/corbacom.i: - * tao/decode.cpp: - Reverted the previous change, but this time added proper - comments: the spec says that a Naming_var taking a is - *not* supposed to copy it. Hence the ObjRef decoder cannot - release the string it just read. - -Mon Nov 24 20:40:47 1997 Carlos O'Ryan - - * tao/corbacom.i: - Fixed string allocation problem for String_var(char*): if it - does not copy the string we run into problems with the - demarshalling code. - - * orbsvcs/lib/Event_Utilities.cpp: - * orbsvcs/lib/Event_Utilities.h: - * orbsvcs/lib/Event_Utilities.i: - * orbsvcs/lib/RtecEventChannelAdmin.idl: - * orbsvcs/lib/RtecEventChannelAdminC.cpp: - * orbsvcs/lib/RtecEventChannelAdminC.h: - Removed the unused forward_event parameter in the ConsumerQoS. - - * orbsvcs/lib/RtecSchedulerC.h: - * orbsvcs/lib/RtecSchedulerC.i: - Hand crafted the T_out constructors to take a "const T_out&" - instead of just "T_out&". - -Sat Nov 22 18:21:10 1997 Aniruddha Gokhale - - * TAO_IDL/be_include/be_codegen.h, be/be_codegen.cpp: Added a - number of states to handle attributes - - * TAO_IDL/be/{be_attribute,be_state_attribute}.cpp: Code added to - handle attributes. This code is a mix of code that is used to - handle operations as well as arguments because for attributes we - have 2 methods, one to set the value and one which returns the - value. For a readonly attribute, there is only the get method. - - A special note: Due to the large switch statement, I had to use - -fPIC for g++. We are working on abstracting all the commin - functionality once we have the basic IDL compiler working. - - * TAO_IDL/be/be_interface.cpp: Operation table now also includes - methods to set and get the attributes if they are present. In - addition, the variable name for the operation tables is now the - full flattened name to avoid conflicts. - - * TAO_IDL/be/be_sequence.cpp: In the length method, the index of - lookp variable "i" is changed from "int" to CORBA::ULong as g++ - was issuing a warning. - - * TAO_IDL/be/be_string.cpp, be_state_argument,cpp: Proper handling - of in, inout, and out strings that are either anonymous or are - typedefed. - -Fri Nov 21 13:22:39 1997 Douglas C. Schmidt - - * TAO version 0.0.40, released Fri Nov 21 13:22:39 1997. - -Thu Nov 20 10:31:24 1997 Chris Cleeland - - * tao/orbconf.h (SIZEOF_LONG_DOUBLE): Made sure this is defined - properly for Chorus. Thanks to Wei Chiang - for submitting these! - - * tao/orb_core.cpp (init): Added some changes for Chorus. Thanks - to Wei Chiang for submitting these! - - * tao/object.cpp (_is_a): Explicitly specify which conversion - operator to use when comparing type_id to 0. - -Thu Nov 20 00:10:52 1997 Sergio Flores - - * orbsvcs/tests/Logger/clnt.h : - * orbsvcs/tests/Logger/clnt.cpp (Logger_Client): Fixed a bug - dealing with using "_bind" when the naming service is not - available. - -Thu Nov 20 00:06:03 1997 Douglas C. Schmidt - - * TAO version 0.0.39, released Thu Nov 20 00:06:03 1997. - -Thu Nov 20 00:01:06 1997 Douglas C. Schmidt - - * tao/Makefile: Reordered the files so they are built in - alphabetic order (within each grouping of targets). This makes it - easier to see how the compilation process is doing ;-). - -Wed Nov 19 22:59:18 1997 Sergio Flores - - * tao/orbobj.cpp (resolve_name_service): Minor change to output - debug statement. - -Wed Nov 19 23:01:46 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_state_operation.cpp: Fixed the problem with - strings as return values. Thanks to Mark L Boriack - for reporting this. - -Wed Nov 19 20:48:01 1997 James C Hu - - * tests/Thruput_test/server.cpp: Commented out some unreachable - code at the bottom of main. - -Wed Nov 19 19:04:53 1997 Sergio Flores - - * tao/decode.cpp (decode): Added a cast so that compiler would - know which operator to call. - - * orbsvcs/bin/Naming_Service/svr.cpp (handle_input): Change port - number received to host byte order. Minor changes. - - * tao/orbobj.cpp (resolve_name_service): Send port number in - network byte order. - -Wed Nov 19 17:45:52 1997 Chris Cleeland - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Put in proper release of - resources after _narrow operation. - - * tao/stub.h: Used CORBA::String_var as the underlying type for - 'type_id' in STUB_Object. In the long run this may be a bad idea - for performance considerations, but we may be able to improve that - by improving the implementation of String_var. - - * tao/orbobj.cpp: Removed unreachable ACE_NOTSUP_RETURN. - - * tao/decode.cpp: Made allocation and free semantics of - 'type_hint' consistent with its type of CORBA::String. - -Wed Nov 19 17:33:42 1997 Sumedh Mungee - - * Task_Client.cpp: Fixed error_count.. Thanks to James Hu. - -Wed Nov 19 17:20:45 1997 James C Hu - - * TAO_IDL/be/be_operation.cpp: Removed an unreachable return - statement. There was already a return above it. - - * TAO_IDL/ast/ast_expression.cpp: Added casts to comparisons of - char variables to 0, since chars are unsigned by default in - SGI. - - * tests/Cubit/TAO/MT_Cubit/client/Task_Client.cpp: Removed a - couple of unreachable return statements. There are still - unreachable statements remaining. Need help with them. - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: - * tests/Cubit/TAO/DII_Cubit/clnt.cpp: - Meaningless type qualifier (const ...) removed. - - Some functions were returning `retval' before it was set. I had - these functions return a passed in paramenter instead. - -Wed Nov 19 13:50:36 1997 Douglas C. Schmidt - - * TAO version 0.0.38, released Wed Nov 19 13:50:36 1997. - -Wed Nov 19 13:11:53 1997 David L. Levine - - * orbsvcs/lib/Scheduler_Factory.cpp (dump_schedule): changed loop - index from int to u_int to avoid signed/unsigned comparison. - (use_runtime): return 0. - - * orbsvcs/lib/Event_Utilities.cpp (debug): changed loop - index from int to u_int to avoid signed/unsigned comparison. - -Wed Nov 19 12:22:50 1997 Chris Cleeland - - * tao/orbobj.cpp (resolve_name_service): Reverted some of the - minor changes below, specifically the use of ACE_ERROR_RETURN - rather than ACE_ERROR/return. ACE_ERROR_RETURN cannot be used - as-is because the 2nd parameter is used as an 'int' to specify the - operational status, and the return value of this function is NOT - an int. Also had to add a missing semi-colon which caused none of - the code to compile. - -Wed Nov 19 12:07:42 1997 Douglas C. Schmidt - - * TAO version 0.0.37, released Wed Nov 19 12:07:42 1997. - -Wed Nov 19 10:37:19 1997 Carlos O'Ryan - - * orbsvcs/lib/Scheduler_Factory.cpp: - The type declared for the rt_info array was wrong. - -Wed Nov 19 09:18:30 1997 Douglas C. Schmidt - - * TAO version 0.0.36, released Wed Nov 19 09:18:30 1997. - -Wed Nov 19 09:15:15 1997 Douglas C. Schmidt - - * tao/orbobj.cpp (resolve_name_service): Made a bunch of minor - Changes for resolving the Naming service. - -Wed Nov 19 08:44:12 1997 Brian Mendel - - * tests/Cubit/TAO/DII_Cubit/default.bld: - * tests/Cubit/TAO/DII_Cubit/clnt.bld: - * tests/Cubit/TAO/DII_Cubit/svr.bld: - * tests/Cubit/TAO/IDL_Cubit/default.bld: - * tests/Cubit/TAO/IDL_Cubit/clnt.bld: - * tests/Cubit/TAO/IDL_Cubit/svr.bld: - * tests/Cubit/TAO/MT_Cubit/default.bld: - * tests/Cubit/TAO/MT_Cubit/clnt.bld: - * tests/Cubit/TAO/MT_Cubit/svr.bld: Added build files in the new - test structure for VxWorks using the GHS compiler. - - * tests/Cubit/Build: Removed the obsolete build directory for vxWorks. - -Wed Nov 19 07:47:13 1997 Douglas C. Schmidt - - * TAO version 0.0.35, released Wed Nov 19 07:47:13 1997. - -Wed Nov 19 05:53:42 1997 Sergio Flores - - * tests/Cubit/TAO/DII_Cubit/clnt.cpp: - * tests/Cubit/TAO/DII_Cubit/clnt.h: - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: - * tests/Cubit/TAO/IDL_Cubit/clnt.h: Changed code to add loop - around all cube calls, and make output more consistent. - - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Logger/ior_multicast.cpp: - * orbsvcs/tests/Logger/ior_multicast.h: Removed unneeded - ior_multicast.* source files from the logger example. It now uses - the resolve_initial_references() to use the naming service for its - advertisement. - - * orbsvcs/lib/Makefile (realclean): Updated with realclean & clean - rules to delete CosNamingS.* and CosNamingC.* - - * docs/releasenotes/index.html: Updated status of the naming - service to working implementation. - - * orbsvcs/lib/CosNamingS.cpp: - * orbsvcs/lib/CosNamingS.i: - * orbsvcs/lib/CosNamingS.h: - * orbsvcs/lib/CosNamingC.cpp: - * orbsvcs/lib/CosNamingC.i: - * orbsvcs/lib/CosNamingC.h: Removed these files from the - repository, since the IDL compiler generates these correctly. - - * orbsvcs/bin/Naming_Service/CosNaming_i.cpp (list): Remove - warning for unused variable. - - * orbsvcs/bin/Naming_Service/svr.h: Constructor of event handler - for multicast doesn't need reply port anymore. - - * orbsvcs/bin/Naming_Service/svr.cpp (handle_input): Now receives - the port number in the multicast request. Suggested by Doug - Schmidt. - - * tao/orbobj.cpp (resolve_name_service): changed return value - variable to be signed. Added code to send the port number in the - multicast resolution mechanism as a CORBA::Short. - - * orbsvcs/bin/Naming_Service/NS_CosNaming.cpp (NS_ExtId): - Reordered initializers in the constructor. - - * tests/Cubit/TAO/IDL_Cubit/clnt.h: - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp (run): Added a loop around - all cube calls and added calls/sec stats for them. - - * tao/corba.h: Changed order of inclusion of marshal.i, due to - warnings of the declaration of the inline function - make_marshal_object(). - - * tao/orbobj.i: reorder the declaration of inline - CORBA_OBJ::Add_Ref(), to remove a warning. - - * tests/Cubit/TAO/MT_Cubit/server/svr.cpp (main): - removed return statement that was causing a warning. - -Wed Nov 19 04:22:48 1997 Douglas C. Schmidt - - * TAO version 0.0.34, released Wed Nov 19 04:22:48 1997. - -Tue Nov 18 01:29:00 1997 - - * tao/TAO.dsp: Added Arg_Shifter.cpp into project file. - -Tue Nov 18 18:53:57 1997 Sergio Flores - - * TAO_IDL/be/be_state_typedef.cpp (gen_code): - * TAO_IDL/be/be_state_structure.cpp (gen_code): - * TAO_IDL/be/be_state_sequence.cpp (gen_code): - * TAO_IDL/be/be_state_operation.cpp (gen_code): - * TAO_IDL/be/be_state_array.cpp (gen_code): Comment out - unreachable break statements. - - * TAO_IDL/ast/ast_array.cpp (n_dims): - * TAO_IDL/include/ast_array.h (AST_Array::n_dims): - * TAO_IDL/ast/ast_attribute.cpp (readonly): - * TAO_IDL/include/ast_attribute.h (AST_Attribute::readonly): - * TAO_IDL/ast/ast_argument.cpp (direction): - * TAO_IDL/include/ast_argument.h (AST_Argument::direction): - * tao/nvlist.h (CORBA_NamedValue::name): - * TAO_IDL/include/utl_scope.h (UTL_Scope::scope_node_type): - * TAO_IDL/ast/ast_predefined_type.cpp (pt): - * TAO_IDL/include/ast_predefined_type.h (AST_PredefinedType::pt): - removed const from declarations that it didn't have a meaning for. - Also from return statements. These changes were suggested by - James Hu and the SGI compiler. - -Tue Nov 18 18:34:16 1997 Sumedh Mungee - - * tests/Cubit/COOL/client.cpp: ORB_init is now called in - Task_Client.cpp instead of the main program, to insure that its - called in the right thread. - - * tests/Cubit/COOL/Task_Client.{h,cpp}: Used the COOL_Activity to - create threads instead of ACE_Task. - - * tests/Cubit/COOL/server.cpp: Used the createActivity stuff to - create threads. The server now creates two servants, one for high - and the other for low priority clients. - -Tue Nov 18 17:44:02 1997 Chris Cleeland - - * tao/corbacom.h: Added special case for CORBA::WChar to be a - short on VxWorks/GreenHills. - - * TAO_IDL/be/be_state.cpp: Added template instantiations for SGI. - - * tao/deep_free.cpp (deep_free): Removed unused 'alignment' - variable. - - * tao/deep_copy.cpp (deep_copy): Removed unused 'alignment' - variable. - - * tao/encode.cpp (encode): Removed unused 'continue_encoding' - variable. - - * tao/orbobj.cpp (POA_init): Removed options which were no longer - supported/necessary, as well as their corresponding variables. - -Tue Nov 18 17:33:20 1997 Carlos O'Ryan - - * orbsvcs/lib/RtecEventChannelAdmin.idl: - * orbsvcs/lib/RtecEventComm.idl: - Changed several operations to "oneway" to avoid dead-locks in - the Event Channel tests. - - * orbsvcs/lib/Runtime_Scheduler.h: - * orbsvcs/lib/Runtime_Scheduler.cpp: - This class is a servant, event though it is only used - collocated, so it must inherit from the POA class. - - * orbsvcs/lib/Scheduler_Factory.cpp: - Care must be exercised to create the Runtime_Scheduler instance - only once the ORB is up and running. - - * orbsvcs/lib/CosNamingC.cpp: - * orbsvcs/lib/CosNamingC.h: - * orbsvcs/lib/CosNamingS.cpp: - * orbsvcs/lib/CosNamingS.h: - * orbsvcs/lib/RtecEventChannelAdminC.cpp: - * orbsvcs/lib/RtecEventChannelAdminC.h: - * orbsvcs/lib/RtecEventChannelAdminS.cpp: - * orbsvcs/lib/RtecEventChannelAdminS.h: - * orbsvcs/lib/RtecEventCommC.cpp: - * orbsvcs/lib/RtecEventCommC.h: - * orbsvcs/lib/RtecEventCommS.cpp: - * orbsvcs/lib/RtecEventCommS.h: - * orbsvcs/lib/RtecSchedulerC.cpp: - * orbsvcs/lib/RtecSchedulerC.h: - * orbsvcs/lib/RtecSchedulerS.cpp: - * orbsvcs/lib/RtecSchedulerS.h: - Regenerated all the stubs and skeletons using the latest IDL - compiler, but still some hand crafting is required, namely for - operations in base classes. - -Tue Nov 18 14:27:02 1997 Chris Cleeland - - * tao/cdr.cpp (CDR): Changed TAO_PURIFY to ACE_PURIFY. - - * tests/Cubit/TAO/MT_Cubit/serdatever/svr.cpp: Added code to put use a - kinder, gentler high priority value on VxWorks. This makes it - easier for the machine to remain running. :-\ - - * tao/corbacom.h: Added CVS id keyword. - - * tao/{corba.h,tao_internals.h,tao_internals.cpp}: Backed out - tao_internals.h, which is not intended to be publicly visible. - corba.h should contain only headers/inlines for things which - should be externally visible. - -Tue Nov 18 04:00:46 1997 Carlos O'Ryan - - * tao/poa.cpp: - An operation lookup on the dispatching code will cause an error - message and the CORBA::BAD_OPERATION exception to be raised. - - * tao/orb_core.cpp: - Somehow the options for setting the Event Service and the - Scheduling Service IOR were lost. Eventually they must be - removed, but we are still testing the Naming Service. - -Tue Nov 18 02:17:24 1997 Douglas C. Schmidt - - * TAO version 0.0.33, released Tue Nov 18 02:17:24 1997. - -Tue Nov 18 02:03:22 1997 Sergio Flores - - * orbsvcs/tests/Logger/svr.cpp: - * orbsvcs/tests/Logger/clnt.cpp: This test example now uses the - naming service in the server and client. Also changed the code to - have a default use in case the naming service is not available. - - * tao/orbobj.cpp (resolve_name_service): Fixed a bug, dealing with - closing the endpoint of communication for the response of the - multicast mechanism. - -Tue Nov 18 01:37:42 1997 Aniruddha Gokhale - - * TAO_IDL/be/{be_operation.cpp,be_state_operation}.cpp: We now - properly handle the declaration and assigning to the return value. - - * TAO_IDL/be/be_state_argument.cpp: Removed a spurious () - appearing after a function call. - - * TAO_IDL/be/{be_structure,be_union}.cpp: Carlos had removed the - if !imported check in the member counting function, but it had - crept in again, maybe due to me. So this is fixed again. - - * test/Cubit/TAO/IDL/svr.cpp: Removed the hack which was - separating command line arguments starting with O. We leave this - task to the newly added Arg_Shifter. - - * tao.orbobj.cpp: In ORB_init, the call to - TAO_ORb_Core_instance->init needed a char ** argv and we were - passing a char * const* argv. So we cast this. g++ was giving this - error. - - * TAO_IDL/be_include/be_codegen.h, TAO_IDL/be/be_codegen.cpp: - Added 5 new states for code generation. All of these for - operations and arguments. - - * TAO_IDL/be/be_argument.cpp: Made all methods uniform so that the - state will be set by the corresponding be_operation method. Thus - the be_operation method will vary the state but still invoke the - same be_argument method. - - * TAO_IDL/be/be_enum.cpp, be_structure.cpp, be_union.cpp, be_field.cpp, - be_sequence.cpp: Some reformatting, removed unused variables. - - * TAO_IDL/be/be_scope.cpp: Changes include adding ACE_ERROR_RETURN - with file name, line number capability. In addition, we were not - testing for return status of the various gen methods called. - - * Most important changes in these files: - - TAO_IDL/be/{be_operation,be_state_argument,be_state_operation}.cpp: - - Large scale changes that include a uniform way to invoke methods - of the be_argument class from the be_operation methods. Added the - 5 new states. Added proper handling of _out parameters in stubs - and skeletons. - -Mon Nov 17 20:05:40 1997 Chris Cleeland - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Cleaned up lots of places - where the allocated stuff wasn't being deallocated. - - * tao/request.cpp: Insured that the CTOR adds a reference for the - dynamically-allocated NamedValue. - - * tao/orb_core.cpp: Freed the faked service configurator argv. - - * tao/iiopobj.h: Removed anachronistic comments. - - * tao/iiopobj.{i,cpp}: Changed allocation of IIOP::Profile.host to use - new/delete rather than strdup/free b/c the decoder, which is - generic, must use new to allocate the space. Thus, the strdup had - to go. Purify now happier. - - * tao/cdr.cpp: Added call to memset bracketed by #if - defined(TAO_PURIFY) in order to appease the purify gods. - -Mon Nov 17 20:05:16 1997 Seth Benjamin Widoff - - * arg_shifter.cpp: - fixed a bug where in new, gcc used the address of an integer - reference rather than its value. weird. - - * tao/orb_core.cpp: - Modified the init routine to "consume" command line arguments it - recognizes by placing them in the rear of argv, and adjusting - argc. It uses the Arg_Shifter class to accomplish this. - - * tao/arg_shifter.h: - * tao/arg_shifter.cpp: - The Arg_Shifter class is an iterator that, as it iterates over - argv, places consumed arguments at the end of the vector, - ignored ones in their original order at the beginning of the - vector, and adjusts argc to hide the consumed arguments. - -Mon Nov 17 18:40:49 1997 Carlos O'Ryan - - * tao/orb_core.i: - Some data was not initialized when used from a thread different - than the one doing ORB_init (even though we choose a global ORB - in the svc.conf file). Chris found a fix for this. The affected - methods are reactor(), thr_mgr(), connector() and acceptor(). - - * TAO_IDL/be/be_sequence.cpp: - length was not working if the value was <= than the maximum. - - * orbsvcs/lib/CosNamingC.cpp: - * orbsvcs/lib/RtecEventChannelAdminC.cpp: - * orbsvcs/lib/RtecEventCommC.cpp: - * orbsvcs/lib/RtecSchedulerC.cpp: - * orbsvcs/lib/RtecSchedulerS.cpp: - Fixed the length() problem by hand, even though the new IDL - compiler should do it right. - -Mon Nov 17 11:52:54 1997 Douglas C. Schmidt - - * TAO_IDL/be/be_codegen.cpp (server_header), - TAO_IDL/util/utl_global.cpp (be_change_idl_file_extension): - Updated several methods to ensure const correctness for the - updated ACE_OS::str*() methods. Thanks to David Levine for - reporting this. - -Mon Nov 17 02:40:14 1997 Douglas C. Schmidt - - * TAO version 0.0.32, released Mon Nov 17 02:40:14 1997. - -Mon Nov 17 01:48:17 1997 Carlos O'Ryan - - * TAO_IDL/be/be_scope.cpp: - TypeCode generation was failing for imported members. - - * TAO_IDL/be/be_structure.cpp: - Member count must include all members, imported or not. - - * TAO_IDL/be/be_typedef.cpp: - Added missing decr_indent() in the typecode generation which was - making the generated code completely unreadable. - - * orbsvcs/lib/RtecEventChannelAdmin.idl: - * orbsvcs/lib/RtecEventComm.idl: - Removed the PullConsumer and PullSupplier classes, they are not - supported. - - * orbsvcs/lib/CosNamingC.cpp: - * orbsvcs/lib/CosNamingS.cpp: - * orbsvcs/lib/RtecEventChannelAdminC.cpp: - * orbsvcs/lib/RtecEventChannelAdminC.h: - * orbsvcs/lib/RtecEventChannelAdminC.i: - * orbsvcs/lib/RtecEventChannelAdminS.cpp: - * orbsvcs/lib/RtecEventChannelAdminS.h: - * orbsvcs/lib/RtecEventChannelAdminS.i: - * orbsvcs/lib/RtecEventCommC.cpp: - * orbsvcs/lib/RtecEventCommC.h: - * orbsvcs/lib/RtecEventCommC.i: - * orbsvcs/lib/RtecEventCommS.cpp: - * orbsvcs/lib/RtecEventCommS.h: - * orbsvcs/lib/RtecEventCommS.i: - * orbsvcs/lib/RtecSchedulerC.cpp: - * orbsvcs/lib/RtecSchedulerS.cpp: - New version of the generated files, this last version is almost - making in it, but still needs hand crafting. - - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_typedef.cpp: - Fixed buggy TypeCode lenght computation, it was only taking into - account the tc_encap_len() for the base type but it should use - the full tc_size(). - - * tao/encode.cpp: - Object references *must* be passed a pointer to Object_ptr in - the marshalling code. - - * TAO_IDL/be/be_operation.cpp: - * TAO_IDL/be/be_state_operation.cpp: - Fixed generated code for Object references as return values. It - allocates the Object_ptr in the heap, stores the result there - and creates an Any for it. - -Sun Nov 16 23:30:26 1997 Sergio Flores - - * orbsvcs/tests/Logger/svr.cpp (main): - Changed the code to use the resolve_initial_references () - interface to get the object refrence to the naming service. - - * orbsvcs/tests/Logger/clnt.cpp (main): Now uses the - resolve_initial_references() to get the naming service object - reference, to get the logger factory object reference. - - * orbsvcs/bin/Naming_Service/svr.cpp (main): - * orbsvcs/bin/Naming_Service/svr.h: - Added code to respond to multicast requests for the IOR. - - Added code to respond to multicast requests for the IOR. - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Fixed some formatting - problems dealing with the precision of the output. - -Sun Nov 16 14:48:00 1997 - - * test/Cubit/TAO/IDL_Cubit/{server,client}.dsp: Updated library - path for release version. - - * TAO_IDL/TAO_IDL.mak: - * TAO_IDL/tao_idl.dsp: Added new files (be_state_*.cpp) into - project file. - -Sun Nov 16 12:56:24 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_interface.cpp: The _is_a_skel method's signature - had an Object_ptr obj parameter which was unused. Instead of - generating the ACE_UNUSED_ARG (obj) line of code, we use /* obj */ - in the signature. - -Sun Nov 16 05:51:38 1997 Douglas C. Schmidt - - * TAO version 0.0.31, released Sun Nov 16 05:51:38 1997. - -Sun Nov 16 00:22:04 1997 Carlos O'Ryan - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: - Fixed output for structs and union test. - - * tao/iiopobj.cpp: - If the user provides no key for an object we generate one, based - on the object address. - - * TAO_IDL/be/be_sequence.cpp: - The length() method should get the maximum if reallocation - occurs. - - * tao/orb_core.cpp: - * tao/orbobj.cpp: - * tao/orbobj.h: - * tao/params.cpp: - * tao/params.h: - Added new options to the ORB (-ORBeventserviceior, - -ORBscheduleserviceior), this should go away once the Naming - Service works properly, but are needed now to locate this - services. - - * orbsvcs/lib/Makefile: - Added several small classes that help when using the Scheduling - and/or the Event Service. - - * orbsvcs/lib/Scheduler_Factory.cpp: - * orbsvcs/lib/Scheduler_Factory.h: - * orbsvcs/lib/Scheduler_Factory.i: - Encapsulate the construction and configuration of the Scheduling - Service. - - * orbsvcs/lib/Runtime_Scheduler.cpp: - * orbsvcs/lib/Runtime_Scheduler.h: - * orbsvcs/lib/Runtime_Scheduler.i: - Implement a simple, but fast, Scheduling Service based on a - precomputed scheduling. - - * orbsvcs/lib/Event_Utilities.cpp: - * orbsvcs/lib/Event_Utilities.h: - * orbsvcs/lib/Event_Utilities.i: - Simplify the creation of QoS structures for the Event Service. - - * orbsvcs/lib/Scheduler_Utilities.cpp: - * orbsvcs/lib/Scheduler_Utilities.h: - * orbsvcs/lib/Scheduler_Utilities.i: - Simplify manipulation of the RT_Infos for the Scheduling - Service. - - * orbsvcs/lib/Channel_Clients.cpp: - * orbsvcs/lib/Channel_Clients.h: - * orbsvcs/lib/Channel_Clients_T.cpp: - * orbsvcs/lib/Channel_Clients_T.h: - Helpers to adapt PushSuppliers and PushConsumers. - - * orbsvcs/lib/CosNamingC.cpp: - * orbsvcs/lib/CosNamingC.h: - * orbsvcs/lib/CosNamingC.i: - * orbsvcs/lib/CosNamingS.cpp: - * orbsvcs/lib/RtecEventChannelAdminC.cpp: - * orbsvcs/lib/RtecEventChannelAdminC.h: - * orbsvcs/lib/RtecEventChannelAdminC.i: - * orbsvcs/lib/RtecEventChannelAdminS.cpp: - * orbsvcs/lib/RtecEventChannelAdminS.h: - * orbsvcs/lib/RtecEventComm.idl: - * orbsvcs/lib/RtecEventCommC.cpp: - * orbsvcs/lib/RtecEventCommC.h: - * orbsvcs/lib/RtecEventCommC.i: - * orbsvcs/lib/RtecEventCommS.cpp: - * orbsvcs/lib/RtecSchedulerC.cpp: - * orbsvcs/lib/RtecSchedulerC.h: - * orbsvcs/lib/RtecSchedulerC.i: - * orbsvcs/lib/RtecSchedulerS.cpp: - This files were generated by the IDL compiler and don't need any - hand crafting (so far). I still maintain them in CVS because the - compiler is not stable enough. - - * orbsvcs/bin/Naming_Service/Makefile: - Removed spurious call to rm. - - * orbsvcs/lib/RtecEventComm.idl: - Removed the (already commented out) include of "orb.idl". - -Sat Nov 15 21:38:48 1997 Carlos O'Ryan - - * TAO_IDL/be/be_sequence.cpp: - The generated length() method will reallocate the sequences - now. - - * TAO_IDL/be/be_constant.cpp: - It was initializing nested constants in the client header file, - Andy told me how to fix it. - - * TAO_IDL/be/be_operation.cpp: - Fixed typo in generated code: - s/_tao_enviroment/_tao_environment/ - - * TAO_IDL/be/be_field.cpp: - Only generate the inline members of the field type if the type - is not imported. - - * TAO_IDL/driver/drv_fork.cpp: - * TAO_IDL/driver/drv_preproc.cpp: - Removed old code to support plain fork (without ACE). - Also removed temporary files *unless* we are on Win32, were - removing the file and keeping it open fails. - - * TAO_IDL/include/idl_global.h: - * TAO_IDL/util/utl_global.cpp: - Added routines to obtain the generated names of any IDL file, - not only the one we are processing. - - * TAO_IDL/be/be_codegen.cpp: - The compiler now generate all the required include directives - when the IDL file contains some. - - * tao/params.cpp: - Initialize name_service_port_ to zero in the constructor. - -Sat Nov 15 21:20:01 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_string.cpp: The typecode info was getting - generated in a wrong file because of setting the worng file to - generate it in. - - * TAO_IDL/be/be_typedef.cpp: Some extra indentation was getting - generated for typecodes. This is fixed. - - * TAO_IDL/be/be_state_argument.cpp: For parameters of type - ObjRefs, we were not passing the address of the object_ptr to the - Any constructor. This would have caused seg faults when - decoding. This is now fixed. - - * TAO_IDL/be: Split be_state.cpp into a number of files based on - the IDL types, e.g., be_state_struct.cpp, be_state_union.cpp, ... - - * TAO_IDL/be/be_sequence.cpp: Name creation now uses a uniform - strategy rather than typedefed sequences assuming the name of the - typedef and anonymous sequences getting a generated name. This was - required to eliminate a number of multiple declarations errors. - - * TAO_IDL/be/be_state_union.cpp: Since C++ does not allow - instances of classes to appear inside a union declaration, the - private data members for data members of type objref, strings, - sequences, and anys must be pointers. This changes code in the - accessor methods defined in the generated *.i files for the union. - - * TAO_IDL/be/be_operation.cpp: There were some instances of the - incorrectly spelled _tao_enviroment remaining which have been - corrected. - - * TAO/tao/managed_types.{h,i,cpp}: Added these 3 files that define - the self managed data type similar to a String_var. These self - managed data types are required for struct/union members that are - strings or obj references, as well as for element types of - sequences. - - * TAO_IDL/be/be_typedef.cpp: Added code to generate the typecode - structure for typedefs. These use the tk_alias kind field. - - * TAO_IDL/be/{be_union,be_state}.cpp: Improvements to union with - string members. However, this is still incomplete and will be - done by the next couple of commits. - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: Removed the ACE_DEBUG - stmt for printing object keys. - -Sat Nov 15 18:03:39 1997 Douglas C. Schmidt - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp (make_cubit): We don't - need to free up the object key since it's no longer allocated - dynamically. - - * tao/object: Changed the _get_name() method to return const char - * to be consistent with the iiopobj change below. - - * tao/iiopobj: Fixed _get_name() so that it doesn't allocate - memory by having it return const char * and just return the - pointer. This should fix some subtle problems. - -Sat Nov 15 12:19:55 1997 Nanbor Wang - - * TAO_IDL/be/be_codegen.cpp: Changed two loop counters from type - int to type size_t. - -Sat Nov 15 01:33:08 1997 Douglas C. Schmidt - - * TAO version 0.0.30, released Sat Nov 15 01:33:08 1997. - -Fri Nov 14 19:45:01 1997 Sergio Flores - - * tests/Cubit/TAO/DII_Cubit/clnt.cpp : - * tests/Cubit/TAO/DII_Cubit/clnt.h : - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp : - - Fixed the difference in latency problem from DII and IDL. - - Changed the DII_Cubit client interface to be similar to IDL, now - you can specify hostname and port number, instead of the IOR. - -Fri Nov 14 17:48:14 1997 Carlos O'Ryan - - * orbsvcs/bin/Naming_Service/CosNaming_i.cpp: - Fixed problem with the new Environment parameter for _narrow (). - - * orbsvcs/bin/Naming_Service/Makefile: - No need to include rules.bin.GNU. - -Fri Nov 14 17:08:20 1997 Douglas C. Schmidt - - * tao/iiopobj.cpp: Make sure that host is set to 0 in all the - constructors. - - * tao/iiopobj.cpp (Profile): Modified the code to consistently - store a NUL at the end of each object key string. - -Fri Nov 14 17:10:20 1997 Sumedh Mungee - - * cubit_i.cpp: Changed &d to %d in ACE_ERROR - -Fri Nov 14 16:42:21 1997 Chris Cleeland - - * tao/tao_internals.cpp (fake_service_entries_i): Made sure that - the resource factory faked entry had the proper number of - arguments specified. - -Fri Nov 14 14:11:47 1997 Carlos O'Ryan - - * orbsvcs/lib/Makefile: - Added new library that contains the stubs and skeletons for the - TAO services. - - * orbsvcs/Makefile: - * orbsvcs/bin/Makefile: - * orbsvcs/tests/Makefile: - Added top level Makefiles. - - * orbsvcs/bin/Naming_Service/Makefile: - * orbsvcs/bin/Naming_Service/svr.cpp: - * orbsvcs/bin/Naming_Service/svc.conf: - * orbsvcs/bin/Naming_Service/NS_CosNaming.h: - * orbsvcs/bin/Naming_Service/NS_CosNaming.cpp: - * orbsvcs/bin/Naming_Service/CosNaming_i.h: - * orbsvcs/bin/Naming_Service/CosNaming_i.cpp: - Moved the naming service implementation from the TAO - subdirectory to this place. - - * orbsvcs/tests/Simple_Naming/Makefile: - * orbsvcs/tests/Simple_Naming/svc.conf: - * orbsvcs/tests/Simple_Naming/clnt.h: - * orbsvcs/tests/Simple_Naming/clnt.cpp: - A simple test program for the naming service, it simply tries to - locate it and connect to it. - - * orbsvcs/bin/Naming_Service/Orbix/Client.cpp: - * orbsvcs/bin/Naming_Service/Orbix/CosNaming.idl: - * orbsvcs/bin/Naming_Service/Orbix/Makefile: - * orbsvcs/bin/Naming_Service/Orbix/NS_CosNaming.cpp: - * orbsvcs/bin/Naming_Service/Orbix/NS_CosNaming.h: - * orbsvcs/bin/Naming_Service/Orbix/logger-main.cpp: - * orbsvcs/bin/Naming_Service/Orbix/logger.idl: - * orbsvcs/bin/Naming_Service/Orbix/logger_tie.cpp: - * orbsvcs/bin/Naming_Service/Orbix/logger_tie.h: - * orbsvcs/bin/Naming_Service/Orbix/server-main.cpp: - * orbsvcs/bin/Naming_Service/TAO/CosNaming.idl: - * orbsvcs/bin/Naming_Service/TAO/CosNaming_i.cpp: - * orbsvcs/bin/Naming_Service/TAO/CosNaming_i.h: - * orbsvcs/bin/Naming_Service/TAO/Makefile: - * orbsvcs/bin/Naming_Service/TAO/NS_CosNaming.cpp: - * orbsvcs/bin/Naming_Service/TAO/NS_CosNaming.h: - * orbsvcs/bin/Naming_Service/TAO/clnt.cpp: - * orbsvcs/bin/Naming_Service/TAO/clnt.h: - * orbsvcs/bin/Naming_Service/TAO/svc.conf: - * orbsvcs/bin/Naming_Service/TAO/svr.cpp: - We will only maintain the TAO version for the naming service, no - need to keep this subdirectories. - - * orbsvcs/lib/RtecScheduler.idl: - The Real Time Scheduling Service. This module declares the QoS - structures (RT_Info) and the interface for the global scheduler. - - * orbsvcs/lib/RtecEventComm.idl: - Part of the Real Time Event Services interface, this file - contains the Event type, the basic interfaces for consumers and - suppliers and some exceptions. - - * orbsvcs/lib/RtecEventChannelAdmin.idl: - Part of the Real Time Event Services interface, in particular - this module defines the event channel, the proxy interfaces and - the QoS aware subscription and registration interfaces. - - * orbsvcs/lib/Event_Service_Constants.h: - The Event Service implementation and the Scheduling Service - implementation require this file, which defines some constants - and static limits. For lack of a better place I putted it here. - - * orbsvcs/lib/CosNaming.idl: - Moved the IDL file to the library, otherwise it cannot be used - by clients. - - * tao/corba.h: - Added some macros that support portable exception handling, - either through C++ exceptions or the CORBA::Enviroment - parameter. - - * orbsvcs/lib/RtecEventCommC.h: - * orbsvcs/lib/RtecEventCommC.i: - * orbsvcs/lib/RtecEventCommC.cpp: - * orbsvcs/lib/RtecEventCommS.h: - * orbsvcs/lib/RtecEventCommS.i: - * orbsvcs/lib/RtecEventCommS.cpp: - * orbsvcs/lib/RtecEventChannelAdminS.h: - * orbsvcs/lib/RtecEventChannelAdminS.i: - * orbsvcs/lib/RtecEventChannelAdminS.cpp: - * orbsvcs/lib/RtecEventChannelAdminC.h: - * orbsvcs/lib/RtecEventChannelAdminC.i: - * orbsvcs/lib/RtecEventChannelAdminC.cpp: - * orbsvcs/lib/CosNamingC.h: - * orbsvcs/lib/CosNamingC.i: - * orbsvcs/lib/CosNamingC.cpp: - * orbsvcs/lib/CosNamingS.h: - * orbsvcs/lib/CosNamingS.i: - * orbsvcs/lib/CosNamingS.cpp: - I had to modify the IDL compiler generated files, I will keep - the files in CVS until we no longer need to modify it. - -Fri Nov 14 13:02:52 1997 Aniruddha Gokhale - - * tao/decode.cpp: TAO_Marshal_Objref::decode line 615 which tried - to set the underlying object_addr was invoking an incorrect inline - function because of lack of passing an argument to the object_addr - () method. Specifically, due to the lask of argment, the - "retrieve" method was getting called whereas we wanted the "set" - method. All we do is pass a 0 (NUL) argument. This suffices - because we have already decoded the host and port number. So all - information is with us to set the server address. - -Fri Nov 14 00:29:09 1997 David L. Levine - - * TAO_IDL/fe/lex.yy.cpp: set RCS -ko option so that the Id keyword - won't get expanded on checkout. That was causing CVS to think - that a merge was needed. - -Thu Nov 13 19:11:36 1997 Douglas C. Schmidt - - * tao/giop.cpp (start): Updated the code to use the new - object_addr() style. - - * tao/iiopobj: Added many fixes to the Profile code to fix nasty - bugs. Also, renamed {get|set}_object_addr() to simply - object_addr(), which is the correct style. - - * tao/iiopobj.h: Replaced the use of "localhost" with - ACE_DEFAULT_SERVER_HOST. This is necessary to support broken - platforms like MVS that don't support "localhost"... - - * TAO/tests/Cubit/TAO/IDL_Cubit/svr.cpp (parse_args): Assume for - the moment that any arguments starting with `-O' are `-ORB' or - `-OA'. This should be fixed by having the ORB_init() and - POA_init() methods consume their argv/argc's. - -Thu Nov 13 16:18:32 1997 - - * tao/orb_core.h: - * tao/default_client.h: - * tao/default_server.h: Changed ACE_SVC_FACTORY_DECLARE to - ACE_FACTORY_DECLARE. - - * tao/orb_core.cpp: - * tao/default_client.cpp: - * tao/default_server.cpp: Changed ACE_SVC_FACTORY_DEFINE to - ACE_FACTORY_DEFINE. - - * tao/corba.h: Added include "tao/tao_internals.h". - - * tao/tao_internals.h: Disable header file inclusions. I've put - this file into corba.h. - - * tao/tao_internals.cpp: Changed to use "tao/corba.h". - - * tao/TAO.mak: - * tao/TAO.dsp: Replaced ACE_BUILD_SVC_DLL with TAO_BUILD_DLL. - - * tao/corba.h: Added TAO_Export definition. - - * tao/*.h: Replaced ACE_Svc_Export with TAO_Export. Added - default definition to build TAO DLL on Win32. - -Thu Nov 13 01:47:02 1997 Chris Cleeland - - * tao/iiopobj.cpp (IIOP_Object): Removed the duplicate CTORs that - I'd accidentally included here during the prior merge/commit - phase. - -Wed Nov 12 23:59:29 1997 - - * TAO/TAO_IDL/tao_idl.dsp: Changed to generate multithreaded codes - on NT. - - * TAO/TAO_IDL/be/be_scope.cpp: - * TAO/TAO_IDL/fe/idl.ll: - * TAO/TAO_IDL/fe/lex.yy.cpp: - * TAO/TAO_IDL/fe/y.tab.cpp: - * TAO/TAO_IDL/include/ast_decl.h: - * TAO/TAO_IDL/include/idl.h: - * TAO/TAO_IDL/include/utl_identifier.h: - * TAO/TAO_IDL/include/utl_idlist.h: - * TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h: - * TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h: - * TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h: - * TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h: - * TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h: - * TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h: - * TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h: Changed to use - "ace/stdcpp.h" and removed inclusion of header files that - conflict with standard C++ library. - -Wed Nov 12 18:59:20 1997 Chris Cleeland - - * tao/iioporb.cpp: Added call to set object address in Profile. - - * tao/iiopobj.cpp: Corrected code in the copy CTOR where the host - was being copied over the old host. This could prove bad if the - amount of space allocated previously was too small for the - hostname we're copying in. Ideally we'd use something smarter - than this, but hopefully (if you read the comment below) this will - go away soon. - - * tao/iiopobj.*: Added an ACE_INET_Addr to IIOP::Profile so that - we only need to do a gethostbyname() once. After that we can used - the cached information. I'd really like to remove the host/port - as explicit public data members, but for now we take one step at a - time. - - * tao/giop.cpp: Use the IIOP::Profile object address when making a - connection. - - * tao/decode.cpp: Added code to set the object address in the - Profile when an object ref is decoded. - - * tao/debug.h: Removed old questions in comments. - - * tao/connect.h: Added some documentation. - -Wed Nov 12 17:41:02 1997 Aniruddha Gokhale - - * tao/iiopobj.cpp: I had forgotten to update the return type of - _get_name in iiopobj.cpp to "char *" instead of "const char *". - -Wed Nov 12 14:28:48 1997 Aniruddha Gokhale - - * TAO_IDL/ast/ast_union.cpp: Fixed a problem where the front end - would not give any error if there were duplicate case labels. This - was happening since an overloaded == operator taking an - AST_Expression* was not getting called. Instead a simple - comparison of addresses was taking place. We now use the "compare" - method defined on the AST_Expression class to fix this problem. - - * TAO_IDL/be/be_interface.cpp: Removed some code under #if 0. The - noteworthy change, however, has to do with code that gets - generated for the "_is_a_skel". Some compilers were issuing a - warning saying "unused argument obj". Since we cannot change the - signature of the generated "_is_a_skel", we use the trick of - generatung ACE_UNUSED_ARG (obj); in the code. Some other - formatting changes made. - - * TAO_IDL/be/be_operation.cpp: Some very minor changes so that the - generated code is properly indented. - - * tao/{iiopobj,object,stub}.h, iiopobj.cpp: Changed the return - type of _get_name to return a heap-allocated "char *". In the - earlier case we were erroneously returning a pointer to local - array. This was a change I made a couple of days back to deal with - the fact that object keys are octet arrays and are not null - terminated. Now we take the object key and make a NULL terminated - copy in a heap allocated string. It is the caller's responsibility - to free this. - - * tao/tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: Used string_free to - free the string returned by _get_name. - - * tao/tests/Thruput/client.cpp: _narrow now uses the additional - env parameter. - -Wed Nov 12 09:22:47 1997 David L. Levine - - * tao/tao_internals.cpp (open_services): added ACE_UNUSED_ARGs - for argc and argv if TAO_PLATFORM_SVC_CONF_FILE_NOTSUP. - - * TAO_IDL/Makefile: disabled clean and realclean targets on VxWorks, - so that they don't remove tao_idl from the host build tree. - -Tue Nov 11 23:50:06 1997 Douglas C. Schmidt - - * TAO version 0.0.29, released Tue Nov 11 23:50:06 1997. - -Tue Nov 11 20:45:26 1997 Douglas C. Schmidt - - * tao/default_server.cpp (parse_args): Replaced NULL with 0. - - * tao/corbacom.h: Fixed the macro for TAO_SYSTEM_EXCEPTION so - compilers don't whine about extra semi-colons. - - * tao/iioporb.cpp (iiop_string_to_object): Added a cast of (char - *) 0 to disambiguate one of the methods. - - * tao/iiopobj.cpp: Moved the constructors and destructors of - IIOP_Object from the *.i file to the *.cpp file and made them - non-inline. - -Tue Nov 11 18:19:16 1997 Aniruddha Gokhale - - * tao/iiopobj.{h,cpp}: Added two new constructors one of which is - useful for the _bind call generated by the IDL compiler. This - constructor takes the host name, port number, and key value - thereby avoiding the costly string2object call inside the _bind - method. The second constructor is used to reduce the amount of - code that gets generated to set a IIOP_Object in the constructor - of the skeleton class. - - Additionally, these constructors use the REENTRANT get_host_name - method of the INET_Addr class to retrieve the host name. - - * tao/iiopobj.h,stub.h: Modified the signature of _get_name to - return a const char*. So users will have to copy this value. - - * tao/iiopobj.cpp: The method _get_name uses an internal character - array in which the object key is copied. This is necessary so that - we can NULL terminate the opaque key and return it to the user. - - * tao/orbconf.h,cdr.h: Commented (and will eventually remove) the - defintion of MY_BYTE_SEX from cdr.h. Instead, we now use the macro - TAO_ENCAP_BYTE_ORDER which gets defined in orbconf.h. The files - affected due to this renaming are: - - tao/{iioporb.cpp, giop.cpp, except.cpp, cdr.cpp, encode.cpp, - interp.cpp, tc_const.cpp} - - The following files in the IDL compiler source were affected since - they had to generate TAO_ENCAP_BYTE_ORDER instead of MY_BYTE_SEX. - TAO_IDL/be/{be_array,be_enum,be_interface,be_sequence,be_structure, - be_union}.cpp - - * tao/{typecode,decode}.cpp: some reformatting, indentation. - - * TAO_IDL/be/be_interface.cpp: code generated for _bind uses the - newly added constructor to class IIOP_Object. - - * TAO_IDL/be/{be_interface.be_state}.cpp: Code generated for - _narrow now takes an additional CORBA::Environment parameter. - - * tests/Cubit/TAO/IDL_Cubit: cubit_i.cpp - in the method - make_cubit, we make a copy of the string returned by _get_name and - then free that memory. - - clnt.cpp: The tests for unions have been uncommented. The reason - they were not working and resulting in seg fault was that methods - of the cubit interface were being invoked on the factory object. - -Tue Nov 11 10:07:04 1997 David L. Levine - - * tests/Cubit/TAO/DII_Cubit/Makefile: added missing before (VAR) - in VBIN definition. - - * tao/orbconf.h: added __i386 to TAO_WORDS_BIGENDIAN check, - because that's what g++/VxWorks uses. Also added __alpha - to little endian CPUs. - - * tao/orb_core.i: fixed preprocessor test for using the - ACE_Hash_Addr::hash_i specialization. - -Tue Nov 11 04:22:44 1997 Douglas C. Schmidt - - * TAO version 0.0.28, released Tue Nov 11 04:22:44 1997. - -Tue Nov 11 01:16:07 1997 Douglas C. Schmidt - - * tao/orbobj.cpp (resolve_name_service): Reformatted the - multicast Name Service locator just a bit. - - * tao/orbconf.h: Started putting a more sane way of automatically - determining the size of various datatypes into TAO. - -Tue Nov 11 00:36:39 1997 Sergio Flores - - * orbsvcs/bin/Logger/ior_multicast.h: - * orbsvcs/bin/Logger/ior_multicast.cpp: - * orbsvcs/bin/Logger/clnt.cpp: - * orbsvcs/bin/Logger/clnt.cpp: - * orbsvcs/bin/Logger/svr.cpp: - * orbsvcs/bin/Logger/Makefile: - Added multicast resolution of the logger service example. - -Tue Nov 11 00:36:39 1997 Sergio Flores - - * tao/orbobj.cpp (resolve_name_service): changed macro for default - multicast port. - - Added support for multicast mechanism to resolve the name - service. - - * tao/orbconf.h: Added some definitions for TAO's default - multicast and reply port, and the default timeout value. - -Tue Nov 11 00:00:25 1997 David L. Levine - - * tests/Cubit/TAO/IDL_Cubit/Makefile: removed MUNCHED because - it's no longer needed for g++/VxWorks. - -Mon Nov 10 22:02:42 1997 Douglas C. Schmidt - - * tao/interp.cpp (declare_entry): Moved TAO_ALIGNMENT_MAGIC_NUMBER - to orbconf.h instead of burying it in interp.cpp. - - * tao/corbacom.h: Rather than trying to guess what the size of - wchar_t, let's just use what's in ACE. - -Mon Nov 10 19:26:03 1997 Sumedh Mungee - - * tao/orbconf.h (SIZEOF_INT): FreeBSD and NetBSD have 4 byte - ints. Thanks to Nanbor for pointing this out. - - * tao/orbobj.cpp: Added template instantiation for ACE_Atomic_Op. - - * tao/orbconf.h: NetBSD has a long double of size 12, as does - FreeBSD. Fixed SIZEOF_LONG_DOUBLE to fix this. - - * tests/Cubit/TAO/MT_Cubit/server/svr.cpp (main): Removed cerr's - and replaced them with ACE_ERROR_RETURN's and the like. - -Mon Nov 10 01:25:19 1997 - - * tao/giop.h: Added ACE_Svc_Export to classes - (TAO_GIOP_Request_Header, TAO_GIOP_Invocation, TAO_GIOP.) Some - of them may not be necessary. - -Mon Nov 10 00:09:24 1997 Douglas C. Schmidt - - * TAO version 0.0.27, released Mon Nov 10 00:09:24 1997. - -Sun Nov 09 23:43:04 1997 - - * tao/corba.h: Reordered the inclusion of poa.i, giop.i, - iioporb.i, and iiopobj.i - - * tao/tao_internals.cpp (close_services): Fixed typo. - -Sun Nov 09 23:32:58 1997 Douglas C. Schmidt - - * TAO version 0.0.26, released Sun Nov 09 23:32:58 1997. - -Sun Nov 09 22:04:12 1997 - - * tao/orbobj.cpp (ORB_init): - * tao/tao_internals.cpp (close_services): - - Changed ACE_Recursive_Thread_Mutex to ACE_SYNCH_RECURSIVE_MUTEX. - -Sun Nov 9 16:05:56 1997 Sergio Flores - - * tests/Cubit/TAO/DII_Cubit/clnt.cpp: * - tests/Cubit/TAO/DII_Cubit/clnt.h: Added clnt.h and restructured - the code so it is similar to the IDL_Cubit example. It doesn't, - however, have the same options because the DII example uses an ior - as input. - - * tao/debug.cpp: Added dummy function to get rid of - "'debug_stream' defined but not used" warning. - -Sun Nov 9 13:03:37 1997 Douglas C. Schmidt - - * tao: Removed the svc.conf.eg file since it was out of date. - - * tao/svrrqst: Removed the #include for svrrqst.i since we don't - need any inline functions now. - - * tao/tao_internals: Removed the #include for tao_internals.i - since we don't need any inline functions now. - - * tao/varout.h: Cleaned up the programming style. - - * tao: Continued to replace all fields with names _foo to foo_. - - * tao/iioporb.cpp: Move the hex routines into ACE since they are - more general. - - * tao/iioporb.cpp: Removed the inclusion of iioporb.i since it is - already included in corba.h. - - * tao: Replaced all uses of ACE_Thread_Mutex with ACE_SYNCH_MUTEX - since this is portable... - - * tao/iiopobj.cpp: Removed the inclusion of iiopobj.i since it is - already included in corba.h. - - * tao/giop.cpp: Moved several large inlined methods into the *.cpp - file. - - * tao/giop: Removed the enormous (and unused) incoming_message() - method. - - * tao/giop.cpp: Removed the inclusion of giop.i since that is - handled in corba.h. - - * tao: Removed the factories.i and factories.cpp files since they - don't seem to be used by anything. - - * tao/{corbacom,except}.*: Changed SYSEX to the more politically - correct TAO_SYSTEM_EXCEPTION. - - * tao: Replaced all uses of wslen() and wscpy() with the - corresponding ACE_OS wide string functions. - - * tao/orbconf.h: Removed all the HAVE_WIDEC_H stuff. This should - be handed by ACE. - - * tao/connect.i: Removed the template instantiations since they - were commented out and didn't appear to be used. - - * tao/connect.cpp: connect.i was already being included in corba.h, - so don't include it again. - - * tao/client_factory.cpp: Moved inlined constructor/destructor - from the *.i file into the *.cpp file. - - * tao/cdr.cpp (CDR): Moved a bunch of absurdly long inlined methods - from the *.i file into the *.cpp file. - - * tao/any.cpp (CORBA_Any): refcount_ has previously been - uninitialized. I gave it a value of 1. - - * tao/any.cpp (CORBA_Any): Moved the initialization into the - base/member section, where it belongs. - - * tao/any.h: Corrected a spelling mistake in an enumeral and - upper-cased the minor codes for exceptional returns. Are these - actually used anywhere? - - * tao: Removed all the unnecessary #if 0 ... #endif header files. - I don't know why there were still there. - - * tao/except.h: Moved the #ifdef for minor and major into - orbconf.h, where they belong. - - * tao/orbconf.h: Removed all the DECLARED_* macros since they - no longer made sense once we've got ACE. - - * tao/orbconf.h: Moved the TAO_DEFAULT* macros from ace/OS.h - here, which is more where they belong. - - * tao/default_server.cpp (TAO_Default_Server_Strategy_Factory): - - * tao/{debug.h,orbconf.h}: Removed the DECLARED_STRERROR macro - since ACE handles this. - -Sun Nov 09 10:18:06 1997 David L. Levine - - * tao/connect.cpp: fixed RCS keyword (Id instead of id). - -Sat Nov 08 23:23:41 1997 Douglas C. Schmidt - - * TAO version 0.0.25, released Sat Nov 08 23:23:41 1997. - -Sat Nov 8 21:27:34 1997 Douglas C. Schmidt - - * tao/orb_core.cpp (init): Removed the code that always binded us - to our hostname. This is unnecessary and makes it hard to use - other interfaces on the same host (such as localhost or some ATM - interface, etc.). With this change (and the corresponding - changes to ACE_INET_Addr::get_host_name()), we can now bind to - INADDR_ANY. - - * docs/releasenotes: Added Marina's documentation for the Trader - and cleaned up all the other entries to make them consistent. - - * tao: Changed ProfileBody to Profile, TaggedProfile to - Tagged_Profile, ProfileSeq to Profile_Sequence, and ProfileId to - Profile_ID. - - * tao/iiopobj.cpp (ProfileBody): For some god knows why reason, - the CORBA::String and CORBA::UShort parameters to ProfileBody - where being passed as references. This is silly, so I changed - them to non-references. - - * tao/connect.cpp (open), - tao/poa.cpp (create): Replaced a use of - ACE_INET_Addr::get_host_name(void) with - ACE_INET_Addr::get_host_name (char *, size_t), which is - reentrant. - - * tao/Makefile: Removed the DCFLAGS, OCFLAGS, and the TAO_ORB_CORE - target macros from the Makefile since they were unnecessary. - Thanks to Arturo for reporting this. - - * tao/except.cpp (print_exception): Fixed a strange format code in - print_exception that was causing a seg fault. What the heck - does %#lx mean? Thanks to Mark L Boriack for - reporting this. - -Fri Nov 07 21:23:35 1997 Carlos O'Ryan - - * tao/orb_core.h: - * tao/marshal.h: - * tao/corbacom.h: - Added ACE_Svc_Export to some classes. - - * tao/any.cpp: - Removed delete after DEEP_FREE call, it crashes on NT and it - should be unneeded. - - * TAO_IDL/be/be_state.cpp (gen_code): - When generating arguments for the server header don't use nested - types. The fully qualified type name is needed, even on NT. - - * TAO_IDL/be/be_exception.cpp: - Added code to generate a default constructor. - -Fri Nov 07 17:26:49 1997 - - * tao/TAO.dsp: - * tests/Cubit/TAO/DII_Cubit/{client,server}.dsp: - * tests/Cubit/TAO/IDL_Cubit/{client,server}.dsp: - * tests/Cubit/TAO/MT_Cubit/client/client.dsp: Removed - ACE_HAS_TSS_ORB_CORE flag. - - * tests/Cubit/TAO/MT_Cubit/client/client.cpp (main): Added a - return statement to satisfy MSVC. - -Fri Nov 7 18:20:46 1997 Chris Cleeland - - * tests/Cubit/TAO/MT_Cubit/{client,server}/svc.conf: Updated to - reflect the proper combination of options to achieve the - thread-per-ORB-per-rate concurrency model. - - * docs/components.html: Updated to refer to seminal documentation - referred to below. - - * docs/configurations.html: Started some new documentation. It's - got a ways to go right now. :-) - -Fri Nov 07 15:42:45 1997 David L. Levine - - * tao/default_server.cpp (parse_args): check for 0 argv[curarg] - before calling strcmp on it. - - * tests/Cubit/TAO/IDL_Cubit/Makefile: added MUNCHED for - VxWorks/g++. - -Fri Nov 7 10:30:59 1997 Chris Cleeland - - * tao/tao_internals.cpp (fake_service_entries_i): Updated faked - service entries to include new Resource Factory. This is the - fallback for VxWorks. - - * tao/orb_core.h (TAO_Resource_Factory): Added much comments. - -Fri Nov 07 02:45:56 1997 Douglas C. Schmidt - - * TAO version 0.0.24, released Fri Nov 07 02:45:56 1997. - -Fri Nov 7 01:58:30 1997 Nanbor Wang - - * TAO_IDL/driver/drv_preproc.cpp: - * TAO_IDL/driver/drv_fork.cpp: Added the (__FreeBSD__) flag to - correctly include wait.h file. - - * tao/orb_core.cpp: Replaced ACE_NETBSD with ACE_HAS_THREADS in - template instantiation segment. - - * tao/orbconf.h: Added the (__FreeBSD__) flag to exclude inclusion of - widec.h. - - * tao/orbobj.cpp (Release): Wrapped ACE_GUARD with ACE_MT macro. - -Fri Nov 07 01:46:04 1997 - - * tests/Cubit/TAO/DII_Cubit/(cubitC.cpp, cubit.cpp): Byte order - changed from 1 to MY_BYTE_SEX. - -Thu Nov 6 23:59:45 1997 Douglas C. Schmidt - - * tao/params.cpp: Moved all the inlined methods out of the header - file and put them in the *.cpp file. I hope this doesn't cause - problems for GCC on VxWorks. - - * tests/Thruput_test/client.cpp: Fixed a mistake with how - the long string constant was defined. The scheme being - used wasn't portable. - -Thu Nov 06 20:58:52 1997 - - * tao/connect.cpp: Made sure that TAO_Server_Connection_Handler - and TAO_Client_Connection_Handler have a zero Reactor pointer. - If this is not the case, they will try to deregister from a - sometimes non-existent Reactor. - -Thu Nov 6 19:06:59 1997 Sergio Flores - - * docs/releasenotes/index.html: Updated status of Naming Service - port to TAO. - - * TAO_IDL/be/be_exception.cpp (gen_client_header): - removed warning for unused variable. - -Thu Nov 6 17:07:58 1997 Chris Cleeland - - * tao/tao_internals.i: Added missing #include file. - - * tao/tao_internals.i: Change lock used as monitor for service - count to use ACE_Static_Object_Lock::instance(). This pleases - VxWorks (but makes me nauseous). - - * tao/tao_internals.h: Removed static instances of locks to please - VxWorks. - - * tao/orbobj.cpp (ORB_init): Changed lock used for the monitor - here to be ACE_Static_Object_Lock::instance(). This pleases - VxWorks (but makes me nauseous). - - * tao/orb_core.cpp (init): Merged in changes for new Naming - Service-related options that got accidentally overwritten last - night. - - * docs/Options.html: Added documentation for new Naming - Service-related options in. - - * tao/orbobj.h: Added documentation for a few static methods. - - * tao/params.h: Changed LOCAL_INLINE macro to TAO_LOCAL_INLINE to - avoid possible collisions with application macros. - -Thu Nov 6 14:51:22 1997 Sumedh Mungee - - * TAO_IDL/Makefile: Renamed libutil to libtao_idl_util. libutil is - a system library on NetBSD. Updated TAO_IDL/util/Makefile to be - compatible with this. - - * TAO_IDL/be/be_codegen.cpp (server_header): Changed ::toupper to - be toupper, since toupper is a macro on some platforms (like - netbsd). - - * TAO_IDL/driver/{drv_preproc.cpp, drv_fork.cpp}: NetBSD has - sys/wait.h, instead of wait.h. Added #define to fix it. - -Thu Nov 6 01:40:29 1997 Sumedh Mungee - - * tao/tao_internals.h: #defined ACE_Thread_Mutex to be - ACE_Null_Mutex for NetBSD. - - * tao/orbconf.h: Added NetBSD to the #define around HAVE_WIDEC_H. - - * tao/orb_core.cpp: #defined around some thread-specific template - instantiations which are not needed on NetBSD. - - * tao/except.h: Undefined "minor" and "major, since these are - defined in NetBSD. - -Thu Nov 06 14:47:15 1997 David L. Levine - - * tao/params.[hi]: inlined some functions in the class declaration - because g++ for VxWorks couldn't deal with them in the .i file. - - * tao/tao_internals.*,orbobj.cpp: fixed replacement of orbinit_lock_ - and service_lock_ with ACE_Static_Object_Lock::instance (). - -Thu Nov 06 02:17:02 1997 Douglas C. Schmidt - - * TAO version 0.0.23, released Thu Nov 06 02:17:02 1997. - -Wed Nov 5 23:44:42 1997 Douglas C. Schmidt - - * tao/{orbobj,iioporb}.h: Made the first parameter to - string_to_object() a const CORBA::String rather than just a - CORBA::String. - - * tao/params (addr): Fixed a bug where we should have been using - const ACE_INET_Addr & rather than just ACE_INET_Addr &. - - * tao/orbobj: Began adding the hooks for a multicast-based - implementation of resolve_initial_references(). - - * tao/params: Added a new set/get interface to optionally set/get - the IOR of the configured Naming Service. - - * tao/orb_core.cpp (init): Added a -ORBnameservice command-line - option. If this option is given, it indicates the IOR where the - Naming Service resides. - - * tao/params: Changed the signature of TAO_ORB_Parameters::addr() - to return a const ACE_INET_Addr & rather than an ACE_INET_Addr. - - * tao/params: Added new get/set name_service_port() methods to - get/set the name service multicast port. - -Wed Nov 5 22:38:08 1997 Sergio Flores - - * tests/Thruput_test/client.cpp (main): - * tests/Thruput_test/server.cpp (main): Fixed missing declarations - and unused variables and labels. Fixed uninitialized and unused - variables. - - * tests/Thruput_test/ttcp_i.cpp (ttcp_sequence_i): - * tests/Thruput_test/ttcp_i.h (class ttcp_sequence_i): Change to - use POA. - - * tests/Cubit/TAO/DII_Cubit/README (server): Changed comment on - how to start the server to indicate the use of "-d" to see the - IOR. - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp (Cubit_Client): Reordered - member initializers to match declaration order - - * tests/Cubit/TAO/DII_Cubit/svr.cpp (main): Fixed comparison of - ">=" on an unsigned variable to compare only ">". - -Wed Nov 05 20:35:52 1997 - - * tao/orb_core.cpp (fini): Close down the connector. Other - ORB_Core specific objects also need to be cleaned up (and - deleted). - - * tests: Made sure that the orb pointer returned by ORB::init() is - correctly freed up. Following files were updated: - - TAO/tests/Cubit/TAO/DII_Cubit/clnt.cpp - TAO/tests/Cubit/TAO/DII_Cubit/svr.cpp - TAO/tests/Cubit/TAO/IDL_Cubit/clnt.cpp - TAO/tests/Cubit/TAO/IDL_Cubit/clnt.h - TAO/tests/Cubit/TAO/IDL_Cubit/svr.cpp - TAO/tests/Cubit/TAO/MT_Cubit/client/Task_Client.cpp - TAO/tests/Cubit/TAO/MT_Cubit/server/svr.cpp - TAO/tests/Cubit/VisiBroker/base_server/server.cpp - -Wed Nov 5 19:37:25 1997 Aniruddha Gokhale - - * TAO_IDL compiler: - - files be_array.cpp, be_interface.cpp, be_sequence.cpp, - be_structure.cpp, be_union.cpp, be_enum.cpp - Added MY_BYTE_SEX to - the typecode generation methods. - - be_operation.cpp, be_argument.cpp, be_state.cpp, be_codegen.* - - Modified to deal with _out parameters that are passed to the - actual upcalls in the server-side skeleton. - - Some minor changes involving removing commented-out code in the - constructors of some classes. - - * tests/Thruput_test: Some modifications. Still needs more work - get it to run. - -Wed Nov 05 19:26:44 1997 - - * tests/Cubit/TAO/DII_Cubit/DII_Cubit.dsp: - * tests/Cubit/TAO/IDL_Cubit/IDL_Cubit.dsp: - * tests/Cubit/TAO/MT_Cubit/client/client.dsp: - * tests/Cubit/TAO/MT_Cubit/server/server.dsp: - * tao/TAO.dsp: Renamed debeg version of TAO library to TAO.dll for - NT. - -Wed Nov 05 13:39:19 1997 David L. Levine - - * TAO_IDL/Makefile: more hacks to not build the IDL compiler - on VxWorks. - -Wed Nov 05 12:53:53 1997 - - * tao/interp.cpp: - - - Win32 does not use "fixed" byte alignment. Fixed the - setup_entry macro to take this into account. - - - (declare_entry) Seperated the declaration of the structs from - their use. This is necessary for the VC++4.2 compiler. - - * tests/Cubit/TAO/DII_Cubit/svr.cpp (main): Commented out debug - message, since obj is not declared. - -Wed Nov 05 01:41:34 1997 Douglas C. Schmidt - - * TAO version 0.0.22, released Wed Nov 05 01:41:34 1997. - -Wed Nov 5 00:48:58 1997 Sergio Flores - - * tests/Thruput_test/utils.cpp: Delete static definitions of - functions. - - * tests/Thruput_test/ttcpS.cpp: - * tests/Thruput_test/ttcpC.cpp (_duplicate): - * tests/Thruput_test/client.cpp (main): - * tests/Thruput_test/ttcp_i.cpp (sendStructSeq): - * tests/Cubit/TAO/DII_Cubit/clnt.cpp: - * tests/Cubit/TAO/DII_Cubit/svr.cpp: Removed a couple of warnings - of unused and uninitialized variables. Included "ace/ACE.h" to - be able to have the _REENTRANT flag. - -Wed Nov 5 00:18:17 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_sequence.cpp: Added code to generate the missing - operator [] for sequences. - -Tue Nov 4 23:38:54 1997 Sumedh Mungee - - * tests/Cubit/TAO/MT_Cubit/{server,client}/Makefile: Removed the - (evil) TAO_HAS_TSS_ORB_CORE flag. Now this functionality is - provided by svc.conf. - - * tests/Cubit/TAO/MT_Cubit/: Fixed the server code to use the new - IDL compiler generated code. - - * TAO/tests/Cubit/TAO/MT_Cubit/client/Task_Client.cpp: Changed the - order of the initializers to remove g++ warnings, and added some - ACE_UNUSED_ARGs. Also removed the hand-crafted stubs, to make way - for the idl-compiler generated files. - -Tue Nov 4 23:21:29 1997 Sergio Flores - - * tests/Cubit/TAO/DII_Cubit/clnt.cpp (main): - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp (run): Changed the format of the - output to be more readable. Also, fixed resolution of the time for - the cube_struct_dii() call. - -Tue Nov 4 21:12:48 1997 Douglas C. Schmidt - - * tao/except.h: Removed print_exception(). It seems unnecessary - and pollutes the global namespace. - -Tue Nov 4 16:58:12 1997 Chris Cleeland - - * {tests/Cubit/TAO/DII_Cubit,tests/Cubit/TAO/IDL_Cubit, - tests/Cubit/TAO/MT_Cubit,tests/Demux_Test, - tests/Thruput_test}/Makefile: Added an explicit definition for - VBIN so that VxWorks can build properly. - - * tao/orb_core.*: Modified TAO_Resource_Factory so that it divides - the information that it tracks between pre-allocated resources and - resources which are allocated by the application. Specifically, - the orb and root poa pointers are in here (though it's possible - that when we move to a full POA implementation that the root poa - can be pre-allocated as well). These pointers are initialized to - zero and are given values by the TAO_ORB_Core instance writing - through back to the TAO_Resource_Factory instance. - - Also, this implementation reduced the number of singletons/TSS - singletons utilized by the resource factory. The initial - "get-it-working" cut used a singleton/tss singleton pair for every - resource, which was quite wasteful in environments such as NT that - don't have many TSS slots available. Perhaps if we get even more - clever this can be reduced even further. - - * tao/except.*: Added print_exception() function for backwards - compatibility. It simply calls - CORBA::Environment::print_exception(). - -Tue Nov 04 10:45:07 1997 - - * TAO_IDL/fe/y.tab.cpp: Enclosed a #pragma ident with #if !defined - ACE_WIN32. Compilers other than SunCC might also need this. - -Tue Nov 4 13:47:26 1997 Aniruddha Gokhale - - * TAO/tests/Cubit/TAO/MT_Cubit: Modified the Makefiles in the - client and server directory so that they use the TAO IDL - compiler. Also added the clean and realclean targets. Updated the - server side cubit.idl because it was different from what the - client was using. - - * TAO_IDL compiler: Fixed the following problems - - (1) Removed the extra call to Release in the generated _narrow - method in be_interface.cpp - - (2) Used ACE_CORBA_1 (Object) instead of CORBA::Object in the - class declaration for interfaces - in be_interface.cpp - - (3) be_interface_fwd.cpp - var_impl had to be updated to generate - code that uses the ptr () method in the calls to _duplicate - - * TAO/tests/Cubit/TAO/IDL_Cubit: Fixed some outstanding issues and - made sure that it works. Updated the README file. - -Tue Nov 04 09:48:51 1997 David L. Levine - - * tao/orb_core.i: disabled the ACE_Hash_Addr::hash_i () - template specialization on g++/VxWorks because g++ - cygnus-2.7.2-960126 can't handle it. - - * tao/except.h (line 118): removed backslash at end of comment line. - Some compilers complain about that. - - * tao/except.cpp (CORBA_SystemException): reordered initializers to - match declaration order. - - * TAO_IDL/Makefile: don't build the IDL compiler on VxWorks. - -Tue Nov 04 06:26:14 1997 Carlos O'Ryan - - * TAO_IDL/be/be_state.cpp: - It still generated fully qualified names for some sequences, - that will not work on NT. - -Tue Nov 04 05:32:44 1997 Douglas C. Schmidt - - * TAO version 0.0.21, released Tue Nov 04 05:32:44 1997. - -Tue Nov 4 04:42:17 1997 Sergio Flores - - * tests/Thruput_test/server.cpp: - * tests/Thruput_test/client.cpp: - * tests/Thruput_test/ttcpS.cpp: - Fixed "print_exception" errors and errors due to some changes in - the orb compiler. - - * tests/Cubit/TAO/MT_Cubit/server/svr.cpp (svc): Use unsigned - int for variable that is used for positive comparisons only. - -Tue Nov 04 01:00:51 1997 - - * tests/Cubit/TAO/IDL_Cubit/IDL_Cubit.dsw: Renamed former test.dsw - to IDL_Cubit.dsw. - - * tests/Cubit/TAO/IDL_Cubit/{client,server}.dsp: Renamed - executables for debug version to client.exe and server.exe on - NT. - - * tests/Cubit/TAO/DII_Cubit/DII_Cubit.dsw: Renamed former test.dsw - to DII_Cubit.dsw. - - * tests/Cubit/TAO/DII_Cubit/{client,server}.dsp: Renamed - executables for debug version to client.exe and server.exe on - NT. - - * tests/Cubit/TAO/IDL_Cubit/Cubit.mak: Added cubit.idl into - makefile and its custom build settings. - - * tests/Cubit/TAO/MT_Cubit/MT_Cubit.dsw: Renamed former - MTCubit.dsw to MT_Cubit.dsw. - -Mon Nov 03 23:16:06 1997 - - * TAO_IDL/ast/ast_expression.cpp (coerce_value): Added an explicit - cast (float) to avoid NT warnging messages. - - * tests/Cubit/TAO/MT_Cubit/server/svr.cpp (svc): Removed - declaration of function print_exception. It's now a member - function of CORBA_Environment. - - * TAO_IDL/fe/y.tab.cpp: Commented out include . This - was causing compilation errors on NT. - - * tests/Cubit/TAO/DII_Cubit/svr.cpp: - * tests/Cubit/TAO/DII_Cubit/clnt.cpp: Changed to use the new - CORBA_Environment::print_exception. - - * tao/except.h (CORBA_Environment): Added ACE_Svc_Export to this - class. - - * tests/Cubit/TAO/MT_Cubit/MTCubit.dsw: - * tests/Cubit/TAO/MT_Cubit/client/client.dsp: - * tests/Cubit/TAO/MT_Cubit/server/server.dsp: - * tests/Cubit/TAO/IDL_Cubit/client.dsp: - * tests/Cubit/TAO/IDL_Cubit/server.dsp: - * tests/Cubit/TAO/IDL_Cubit/test.dsw: Added new workspace and - project files. - - * TAO_IDL/tao_idl.dsp: Moved the output executables to the usual - place. - - * TAO_IDL/be/be.h: Added #ifdef'ed pragma to diable warning 4250 - on NT. This is only temporary and should be fixed later. - - * TAO_IDL/be/be_union.cpp (gen_var_defn): - * TAO_IDL/be/be_structure.cpp (gen_var_defn): - * TAO_IDL/be/be_array.cpp (gen_var_defn): Removed unused local - variables declaration (s). - -Mon Nov 3 23:25:30 1997 Aniruddha Gokhale - - * TAO_IDL Compiler: Files be_sequence.cpp, be_typedef.cpp, - be_state.cpp: Lots of improvements to get sequences to - work. Support for sequences of strings or obj references is - limited. But for all other cases, this seems to be working fine. - - There were some unnecessary lines of code in be_state.cpp that - were giving rise to multiple declarations errors. These are - removed. - -Mon Nov 3 18:30:09 1997 Sergio Flores - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp (main): compare with - "!= 0" rather than "== -1" for errors. - - * tests/Cubit/TAO/IDL_Cubit/cubit.idl (enum discrim): Deleted - enumerations not used. - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp (please_exit): Fixed - unused variable. - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.h (Cubit_Factory_i): - * tests/Cubit/TAO/IDL_Cubit/cubit_i.h (objrefs): Fixed invalid - comparison between a signed and unsigned variable. - - * tests/Cubit/TAO/IDL_Cubit/svr.cpp (main): Fixed comparison of - ">=" on an unsigned variable to compare only ">". - - * TAO_IDL/be/be_typedef.cpp (gen_client_stubs): Removed unused - variable warning. - - * TAO_IDL/fe/y.tab.cpp (yytoks): Added brackets to the array - of structures being initialized. - -Mon Nov 03 18:43:37 1997 Carlos O'Ryan - - * TAO_IDL/be/be_operation.cpp: - "Fixed" skeleton generation code. Sometimes the formal parameter - names for the skeleton can clash with the user defined names for - the (IDL) method parameter names. - To minimize the chances of such a problem I choose very long - parameter names for the skeleton (things like <_tao_enviroment> - instead of just ), but the right solution is to ignore the - user defined parameter names and generate them using some - numbering scheme. - - * TAO_IDL/be/be_predefined_type.cpp: - Generate CORBA::_tc_Object as the TypeCode for all pseudo - object, this is a hack but works for the files we are using - right now (maybe it will fail for complex things, like the - interface repository). - - * TAO_IDL/be/be_sequence.cpp: - Fixed a number of minor problems: - Missing _ptr type for sequences. - The return type for T_var::operator-> was different in the - .h and .i file. - - * TAO_IDL/be/be_type.cpp: - tc_name_ and type_name_ were not initialized, producing some - segfaults under NT. - -Mon Nov 3 13:45:54 1997 Chris Cleeland - - * {tao,TAO_IDL/util,TAO_IDL/narrow,TAO_IDL/fe,TAO_IDL/driver, - TAO_IDL/be,TAO_IDL/ast,Benchmark/benchmark}/Makefile (SHLIB): - Fixed definition so that the extension was(SOEXT) rather than - hard-coded to "so". This makes things compile on VxWorks better. - Thanks to David Levine for pointing this out. - -Sun Nov 02 19:42:08 1997 Douglas C. Schmidt - - * TAO version 0.0.20, released Sun Nov 02 19:42:08 1997. - -Sun Nov 2 19:20:57 1997 Aniruddha Gokhale - - * TAO/tao/except.*: Made the "print_exception" utility function - as a method of class Environment. - - * TAO/tao/giop.cpp: In the TAO_GIOP_Invocation::start method, we - were previously not returning even if the connection establishment - phase was failing. A return statement is inserted. However, there - still are problems when the GIOP_Invocation variable called "call" - goes out of scope. - - * TAO_IDL Compiler: be_interface.cpp - The _bind call now - generates a "char IOR" instead of "static char IOR" since the - latter will be problematic with multiple threads. Thanks to - Arturo Montes for pointing that out. - - * TAO/test/Cubit/TAO/IDL_Cubit : Improved the code so that it uses - the "print_exception" which is now defined on class - CORBA::Environment. The clnt still needs improvement in terms of - handling invalid parameters and gracefully exiting. - - * IDL_Compiler: The bug resulting out of encoding object - references has been fixed atleast on Solaris using g++ as well as - SunCC. Changes made to be_operation.cpp and be_state.cpp such that - the return value for object references is always of type - CORBA::Object_ptr rather than the real interface type. In - addition, keeping in perspective the change that Irfan made and - described below (in encode.cpp), the Any that holds the result - *does not* own the value. In contrast, for the rest of the cases - the result (of type Any) owns the result. - - * be_sequence.cpp: Additional work in progress. Full changelog - entry will be available in the next commit. - -Fri Oct 31 22:20:06 1997 - - * tao/encode.cpp (encode): Changed cast of data from - *(CORBA::Object_ptr *) to (CORBA::Object_ptr). - - * tao/default_server.cpp (parse_args): Manipulation of curarg was - all messed up. Fixed it such that it was not incremented - unnecessarily. - -Fri Oct 31 13:46:04 1997 Chris Cleeland - - * docs/Options.html: Updated to specify new TAO_Resource_Factory - service and its options. - - * docs/releasenotes/orbcore.html: Updated to reflect recent work. - - * tao/orb_core.*: Added the acceptor and related members and - methods from CORBA_ORB. Made TAO_Resource_Factory a Service - Object so that it can be loaded via the Service Configurator. The - option to change its resources between global and thread-specific - is "-ORBresources global" and "-ORBresources tss", respectively. - - * tao/orbobj.*: Moved the acceptor and related members and methods - to TAO_ORB_Core. - - * tests/.../svc.conf: Added Resource Factory as a service. - - * tests/Cubit/TAO/{DII_Cubit,MT_Cubit}/cubitS.cpp, - tests/Thruput_test/ttcpS.cpp, tao/poa.cpp: Changed acceses that - used to go to CORBA_ORB::params() to go to TAO_ORB_Core::params(). - -Fri Oct 31 08:39:54 1997 Aniruddha Gokhale - - * TAO_IDL Compiler - Intermediate commit of all improved features. - - * be/be_type.* : Improved the nested_type_name method such that it - now takes an additional parameter called suffix that has a default - value of NULL. Carlos, Sergio, and myself independently found an - extremely bad piece of code that was getting generated that looked - like the following: - ACE_NESTED_CLASS (XXXX, YYYY)_ptr - - The new convention is to pass the suffix such as "_ptr", or "_var" - or "_out" to this method so that it can generate valid code of the - form: - ACE_NESTED_CLASS (XXXX, YYYY_ptr) - - * be/be_decl.cpp : All the methods such as repoID (), flatname - (), etc now check if the corresponding data member was created or - not. If they are not, the corresponding private method e.g., - compute_repoID (), are invoked. This way we do not have to call - all these private methods in the constructors of all the derived - be classes. The one compelling reason to do it this way is because - the "names" for certain types are not available at construction - time, e.g., sequences. A name to a sequence is assigned from the - context it is in i.e., whether it was a named sequence in the form - of a "typedef" statement or it was an anonymous sequence. - - As of this commit, all calls to such compute_* methods in the - constructors of all the derived be classes are commented out and - will eventually disappear in the next commit. - - * be/be_decl.cpp : One more change in be_decl.cpp is to add the - case for "interface_fwd" in the generation of the _var and _out - definitions and implementations. - - * be/be_helper.* : Added two new methods called "gen_ifdef_macro" - and "gen_endif". These are required to generate the #if !defined - (...) #endif macros. These are very essential if the IDL - has forward declarations of interfaces. Forward declarations of - interfaces must generate a forward class declaration. In addition, - it has to typedef the "_ptr" type and define the "_var" and "_out" - types. However, the real "be_interface" class does this too which - can result in "multiple declarations" errors from the C++ - compiler. Hence we use this scheme. As in the case of the - nested_type_name method mentioned above, this method also takes a - default "suffix" parameter (= 0). This is required for the "_var", - "_ptr", and "_out" suffixes. - - * be/be_interface.cpp - be/be_interface_fwd.cpp: - - Used the TAO_OutStream::gen_ifdef_macro () and gen_endif methods - for the definitions of the _ptr, _var, and _out classes and their - implementations. - - *be/be_sequence.* : Lot of modifications and change in the design - in terms of handling the base types that themselves could be - sequences. Although the AST_Sequence i.e., OMG IDL does not define - a "sequence" to be a scope producing construct like structs or - unions, we choose to make "be_sequence" to be a scope producing - construct. This is no way alters the OMG IDL language because the - front-end is still the same. "be_sequence" was made to inherit - from scope because the sequence mapping gives rise to a C++ class - which is a scoping construct. This way, base types that turn out - to be anonymous sequences can be assigned a parent scope and their - name generation will fall in line with other classes. - - There are certain features missing with sequences at this commit - time, but this should reduce tweaking the generated code to a - large extent. - - * be/be_state.cpp: Update the code for handling sequences and - typedefs. Typedefs should be handled properly now. - - * All other *.cpp files: Either commented out the compute_* calls - in the constructors or removed them. - -Fri Oct 31 03:00:09 1997 Chris Cleeland - - * tao/orb_core.cpp: Moved call to connector's open() into init(), - thus insuring that it gets called only AFTER all the resources are - available from the Resource Factory. - - * tao/orb_core.*: Changed data members to be associations rather - than containment. This allows decoupling of the - "thread-specificness" of these resources from the - thread-specificness of the general TAO_ORB_Core container. Also - added set accessors for those resources. - - Added TAO_Resource_Factory class from which the TAO_ORB_Core - container initializes itself. For now this remains a singleton - which is, at compile-time, determined to be either TSS or not. - But, soon, it will be loaded via the Service Configurator and its - TSS nature determined at runtime. - - * tao/giop.h: Updated to use the new ACE macro - ACE_CLASS_IS_NAMESPACE. - - * tao/default_server.*: Implemented the new open() method so that - it initializes the Reactive and Threaded strategies from the - information in TAO_ORB_Core. - - * tao/server_factory.*: Added open() method to be called after all - ORB resources are loaded up. This method can then be used by a - strategy factory to further initialize its contained strategies if - they require handles to resources to which the ORB might legislate - access. The default implementation does nothing. - -Fri Oct 31 01:03:05 1997 - - * tests/Cubit/TAO/IDL_Cubit/svr.cpp (main): obj was not declared. - Commented out use of obj in dmsg1. - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp (Cubit_Factory_i): - numobjs_ was used before it was assigned. - - * TAO/TAO_IDL/TAO_IDL.{mak,mdp}: Added VC++4.2 make files. - - * TAO_IDL/ast/ast_expression.cpp (dump): Streaming the enum was - ambiguous. Therefore the enum was cast to an int. - -Thu Oct 30 22:50:44 1997 Carlos O'Ryan - - * tao/corba.h: - Added a definition for ACE_NESTED_CLASS, maybe it is defined in - some place else, but I couldn't find it. - - * TAO_IDL/be/be_interface.cpp: - Fixed the definition for skeleton destructors. - - * TAO_IDL/be/be_helper.cpp: - Added a lot of redundant ACE_OS::fflush() calls. Apparently we - have two FILE* or file descriptors over the same file, bt the - fflush hides the problem. - - * TAO_IDL/be/be_decl.cpp: - Fixed inconsistency between operator-> declaration and - definition for _out classes. - -Thu Oct 30 14:06:54 1997 Sergio Flores - - * TAO_IDL/fe/Makefile: - Added an expression to the sed command in the rule to construct - lex.yy.cpp, that replaces ECHO with TAO_ECHO, because a - different ECHO macro is already defined in - /usr/include/sys/termios.h - - * TAO_IDL/fe/idl.ll: - Fixed some warnings about nested comments. - Changed the declaration of variable i to outside of - the 'for' initialization to avoid obsolete binding warnings. - - * TAO_IDL/be/be_interface_fwd.cpp (gen_client_header): - Added ACE_UNUSED_ARG macro to avoid unused variable warning, - for variable i. - - * TAO_IDL/be/be_constant.cpp (exprtype_to_string): - * TAO_IDL/util/utl_error.cpp (exprtype_to_string): - Added case statements to handle the rest of un-handled - enumerations from AST_Expression::ExprType. These will - handle a default value (i.e. NULL). Enumerations added are: - AST_Expression::EV_wstring - AST_Expression::EV_wchar - AST_Expression::EV_longdouble - AST_Expression::EV_ulonglong - AST_Expression::EV_longlong - -Thu Oct 30 09:56:41 1997 Chris Cleeland - - * tao/giop.h: Added comments to TAO_GIOP class explicitly pointing - out its use as a namespace. Concurrently, I also scoped the CTOR, - Copy CTOR, and DTOR as 'private' so nobody can mistakenly - instantiate one of these puppies. - -Thu Oct 30 03:40:26 1997 - - * tests/Cubit/TAO/DII_Cubit/client.dsp: - * tests/Cubit/TAO/DII_Cubit/server.dsp: Updated include files - path and libarary path. - - * tao/giop.cpp (close_connection): Use ACE_HANDLE instead of int. - -Thu Oct 30 02:53:20 1997 Douglas C. Schmidt - - * TAO version 0.0.19, released Thu Oct 30 02:53:20 1997. - -Thu Oct 30 02:20:21 1997 Sergio Flores - - * tests/IDL_Cubit: - Added more comments and changed the header to be ACE'ified. - Make output more consistent. - -Thu Oct 30 02:12:27 1997 Sumedh Mungee - - * tests/{TAO, Cubit}: Changed the directory heirarchy to the - following: tests/Cubit/TAO/ now contains all the Cubit examples, - i.e. IDL_Cubit, MT_Cubit and DII_Cubit, instead of tests/. Updated - the README and Makefiles to reflect this. DII_Cubit is the - handcrafted "original" Cubit example. - - * tests/Cubit/COOL: Added the COOL version of the Cubit test. The - COOL version is written for Chorus COOL version 4.1. - -Wed Oct 29 22:26:10 1997 Douglas C. Schmidt - - * tests/IDL_Cubit/clnt.cpp (init): Fixed the error handling so we - exit correctly when things go wrong. - - * tao/connect.cpp (open): Revised the code to use the new - ACE_LACKS_SOCKET_BUFSIZ to detect when this feature isn't - supported. - - * tao/{giop,connect}: Added a nifty typedef called TAO_SVC_HANDLER - to remove the drudgery of expanding the template each time. - - * tao: Changed the name of TAO_OA_Connection_Handler to - TAO_Server_Connection_Handler to be compliant with the - TAO_Client_Connection_Handler. - -Wed Oct 29 20:47:47 1997 Sergio Flores - - * tests/IDL_Cubit/clnt.cpp: - * tests/IDL_Cubit/clnt.h: - Cleaned up the code. Added ACE_Profile_Timer to time the calls. - Changed copyright header. Added more comments. - -Wed Oct 29 18:55:57 1997 Douglas C. Schmidt - - * tao/giop: Added "_"'s to the data members in - TAO_GIOP_Invocation. - - * tao/giop (send_request): Swaped the order of the parameters for - send_request() so that it would be consistent with recv_request. - - * tao/{connect,giop}: Changed read_message() to recv_request(), - and send_message() to send_request() since these things really - work on GIOP requests. - - * tao/{connect,giop}: Changed read_message() to recv_message(), - which is more like other parts of ACE. - - * tao/connect.cpp: Fixed the calls to read_message() and - send_message() so that they don't try to modify "this." - - * tao/giop: Changed the send_message() and read_message() in the - TAO_GIOP class to take ACE_Svc_Handler rather than TAO_Client_Connection_Handler. - -Wed Oct 29 17:53:12 1997 - - * tao: Added TAO_HAS_TSS_ORB_CORE to tao and Cubit NT makefiles. - This probably needs to be added to the other NT makefiles. - - * tests/Cubit/TAO/svc.conf: Updated files to pass the correct - options to the factory. - -Wed Oct 29 16:07:20 1997 Chris Cleeland - - * tao/giop.*: Changed most methods that took ACE_SOCK_Stream& - parameters to take TAO_Client_Connection_Handler*& parameters. - This makes it easier to clean up properly after errors. Also - #ifdef'd out seemingly unused code (TAO_GIOP::incoming_message). - Fixed call to ACE_Svc_Handler::idle() to not contain an argument. - - * docs/Options.html: Updated the documentation to reflect recent - changes. - -Wed Oct 29 15:59:30 1997 Sergio Flores - - * tests/IDL_Cubit/clnt.cpp: OO'ified the code. Added class - Cubit_Client. - * tests/IDL_Cubit/clnt.h: added this file to contain the class - definition. - -Wed Oct 29 11:01:11 1997 Aniruddha Gokhale - - * TAO_IDL compiler: be_type.cpp::nested_type_name: A quick commit - made that includes an improvement over the previous scheme of - generating ACE_NESTED_CLASS macros. We handle the problem of - generating fully scoped names for types that were defined in some - ancestor of the scope in which that type is being used. - - * Makefiles under TAO_IDL: Fixed a bug in the Makefiles under all - the subdirectories. This bug was reported by "ARTURO MONTES" - . The bug was causing circular - dependencies on the libraru that was getting compiled. - -Wed Oct 29 06:17:36 1997 Nanbor Wang - - * tao/default_server.cpp (parse_args): Must increase the loop - counter. - -Wed Oct 29 02:11:43 1997 Douglas C. Schmidt - - * TAO version 0.0.18, released Wed Oct 29 02:11:43 1997. - -Wed Oct 29 00:56:26 1997 Chris Cleeland - - * tests/Cubit/TAO/svc.conf: Updated documentation comments to - reflect factory option changes. - - * tao/orbobj.*: Wiped argvec_shift and all its bugs off the face - of the earth. Manojkumar Acharya should prove - to be very happy about this turn of events. :-) - - * tao/orbobj.cpp: Weeded out old, dead code here and there and - migrated much of what had been in ORB_init() into - TAO_ORB_Core::init(). - - * tao/orb_core.*: Added methods init() and fini() which perform - ORB Core-related initializations and cleanups, respectively. This - is all in anticipation of having a Unified Factory which provides - ORB Core as well as other information. Also began stubbing out - and migrating various data members and associated accessors so - that they are pointers rather than actual members. The next step - is to actually make them pointers and have everything get - initialized properly and deterministically and keep everything - working. - - * tao/{giop,orb_core}.cpp: Revised code due to recent changes in - ACE related to the Caching connector. - - * tao/default_server.{h,cpp} (parse_args): This method now uses - options of the style -ORBfoo rather than the previously-cryptic - single-letter options. This should allow us to eventually allow - this same routine to parse args from the command line as well as - inside the svc.conf file. The price we pay for consistency, - however, is verbosity to the point of insanity (e.g., - -ORBconcurrency...blech!) These options are briefly documented in - the method header as well as in subsequent svc.conf files. - - * tao/decode.cpp: Added some comments for arguments. - - * tao/connect.{h,cpp}: Moved Connector-related typedefs and - corresponding template instantiations into the proper - file--orb_core.*. - - * tao/orb_core.cpp (init): Moved much of what used to be - ORB_init() into here. Changed the manner in which objref style - was determined--it's no longer via a special ORB name but rather - by the -ORBobjrefstyle option which can have either the value - "IOR" or "URL" (default is URL). - -Tue Oct 28 21:15:36 1997 Douglas C. Schmidt - - * build/SunOS5.5/TAO/tests/IDL_Cubit/clnt.cpp (main): Fixed the - code so that if you give incorrect parameters the program exits - cleanly, rather than segfaulting. - -Tue Oct 28 20:49:28 1997 Nanbor Wang - - * tao/giop.cpp (start): NT Access Violation error, AGAIN! Added - codes to reset this->handler_ so that - ACE_Cached_Connect_Strategy won't complain. - -Tue Oct 28 19:19:05 1997 Aniruddha Gokhale - - * TAO_IDL/be/{be_state.cpp, be_union.cpp, be_struct.cpp}: Added code - that will generate the ACE_NESTED_CLASS macro - - *TAO_IDL/be/be_type.cpp: Implemented be_type::nexted_type_name - that will generate the ACE_NESTED_CLASS macro. However, this may - not be completely correct at this point because we want to see if - teh compiler fails for types defined in some ancestor and whose - fully scoped names are generated . - - * TAO_IDL/be/be_interface.cpp: Added code that will generate the - _bind call on the interface class. - - * TAO/tests/IDL_Cubit: Added the _bind call in clnt.cpp. Improved - the README file. - - *MAXNAMELEN : There was a clash with TAO_CodeGen::MAXNAMELEN. So - it has been substituted by NAMEBUFSIZE as a macro in be_codegen.h - -Mon Oct 27 22:22:22 1997 Aniruddha Gokhale - - * TAO_IDL/be_decl.cpp: Added a ptr () function to the _var classes - hat returns the underlying ptr_ data member. This ptr () member - function is now used to pass a pointer type to constructor and - assignment operator from a T_var class. - - * TAO_IDL/be_state.cpp: Important changes related to generation of - return values of operations in the stubs. In addition, an & was - missing for passing string types. Some additional bugs arising out - of operations with void return type have been fixed. - - * ./tests/IDL_Cubit: This test has been modified to include a - factory interface that reads a key for the cubit object and - produces an obj reference for Cubit. In addition, a preliminary - version of the _bind call has been tested with IDL_Cubit. - - *MAXNAMELEN : Carlos informed me that MAXNAMELEN was a small - constant on some platforms. This has been changed to - TAO_CodeGen::MAXNAMELEN with a value of 100. - -Mon Oct 27 22:07:58 1997 Carlos O'Ryan - - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_helper.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_typedef.cpp: - * TAO_IDL/be/be_union.cpp: - Set this->cli_stub_gen_ to I_TRUE once the code has been - emitted. - -Mon Oct 27 19:34:08 1997 Carlos O'Ryan - - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_enum.cpp: - Set this->cli_stub_gen_ to I_TRUE at the end. - - * TAO_IDL/be/be_typedef.cpp: - Set the state to TAO_CodeGen::TAO_TYPEDEF_CH instead of just - struct. - -Mon Oct 27 15:22:24 1997 Sergio Flores - - * TAO_IDL/be/be_state.cpp: - * TAO_IDL/be_include/be_codegen.h: - * TAO_IDL/be_include/be_factory.h: - * TAO_IDL/be_include/be_state.h: - * tao/iioporb.cpp: - * tao/marshal.cpp: - * tao/optable.cpp: - * tao/optable.h: - * tao/singletons.h: - The ACE_Singleton lock type needs to be changed from - ACE_SYNCH_MUTEX (or ACE_SYNCH_RW_MUTEX) ACE_SYNCH_RECURSIVE_MUTEX. - ACE handles those more efficiently for its singletons. Change - suggested by David Levine. - -Mon Oct 27 11:59:51 1997 Chris Cleeland - - * tao/orbconf.h: Made it so _FAR is defined all the time. Thanks - to Manojkumar Acharya for reporting this. - -Sun Oct 26 22:18:01 1997 Douglas C. Schmidt - - * TAO version 0.0.17, released Sun Oct 26 22:18:01 1997. - -Sun Oct 26 17:53:25 1997 Douglas C. Schmidt - - * {tao,tests}/Makefile: Commented out the TAO_HAS_TSS_ORBCORE in - these Makefiles since it is going away anyhow and is confusing... - - * tests/IDL_Cubit/svc.conf, - tests/Cubit/TAO/svc.conf: - Changed the default concurrency policy to be reactive so that - things work correctly if TAO_HAS_TSS_ORBCORE. Thanks to Sumedh - for pointing this out. - - * tao/orbobj.cpp (ORB_init): Put the TAO_DEFAULT_SERVER_PORT into - ACE's OS.h file and used it in TAO. - -Sun Oct 26 15:07:18 1997 Chris Cleeland - - * tao/params.h: Eliminated forward decls of the now-defunct ROA - class. - - * tao/orb_core.h (TAO_DEFAULT_PORT): Added manifest constant for - default port. - - * tao/orbobj.cpp (ORB_init): Eliminated ugly anonymous constant - use for hbuf's size. Utilized manifest constant for default port. - - * tao/giop.cpp: Changed calls to - TAO_Client_Connection_Handler::in_use() to call the underlying - Svc_Handler::idle(). - - * tao/connect.{h,i}: Eliminated in_use() flags because they're no - longer needed with the new Strategy Connector. - - * tao/iioporb.cpp (string_to_object): Removed setting of the orb - in the underlying CORBA::Object because it's no longer there. - - * tao/object.{h,i} (CORBA_Object): Eliminated the pointer to an orb - within this object. This should help solve some problems in - passing object references across the wire. - - * tao/connect.cpp: Added template instantiations for - ACE_Hash_Map_Iterator to reflect Irfan's recent changes. - - * tests/IDL_Cubit/README: Updated documentation on the server to - reflect current reality. - -Sun Oct 26 01:01:32 1997 Douglas C. Schmidt - - * tao/orbobj.cpp: Redid the template specialization of Hash_Addr - to account for the new changes. - -Sun Oct 26 01:05:36 1997 - - * tao/corba.h: Changed from using Strategies_T.h to Strategies.h. - - * tao/connect.h: Removed a template argument form ACE_Hash_Addr. - Removed explicit instantiation of compare_i. - - * tao/connect.cpp: Removed a template argument from explicit - instantiation of ACE_Hash_Addr. - - * tests/Cubit/TAO/clnt.cpp (main): Added a simple class - ACE_Winsock_proper_shutdown here to shutdown winsock properly. - This class should be removed later once we figure out how to - close down winsock properly from ACE. - - * tests/Cubit/TAO/svc.conf: Changed the name of shared object from - libTAO to TAO. Added configuration lines for using debug - version of TAO library on NT. - -Sun Oct 26 01:47:04 1997 Sergio Flores - - * TAO_IDL/be/be_codegen.cpp (upcase): - * TAO_IDL/util/utl_string.cpp (canonicalize): - * TAO_IDL/be/be_decl.cpp (tc_name2long): - Added "unsigned" to index variable "i" used in for() loop, - to avoid warning "comparison between unsigned and signed" - - * TAO_IDL/be/be_decl.cpp (compute_flatname): - * TAO_IDL/be/be_decl.cpp (compute_repoID): - * TAO_IDL/be/be_interface.cpp (compute_fullskelname): - Fixed error "second - I_FALSE;", should be "second = I_FALSE;" - - * TAO_IDL/be/be_operation.cpp (gen_server_skeletons): - * TAO_IDL/be/be_state.cpp (gen_code): - Initialized pointers to 0 - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): - * TAO_IDL/be/be_operation.cpp (gen_server_header): - * TAO_IDL/be/be_operation.cpp (gen_client_header): - * TAO_IDL/be/be_decl.cpp (gen_out_defn): - * TAO_IDL/be/be_decl.cpp (gen_var_defn): - * TAO_IDL/be/be_scope.cpp (gen_client_header): - * TAO_IDL/be/be_state.cpp (gen_code): - * TAO_IDL/be/be_helper.cpp (operator<<): - * TAO_IDL/be/be_union.cpp (tc_encap_len): - * TAO_IDL/be/be_typedef.cpp (gen_client_stubs): - * TAO_IDL/be/be_string.cpp (gen_client_header): - * TAO_IDL/be/be_root.cpp (gen_idl2cplusplus_mapping): - * TAO_IDL/be/be_predefined_type.cpp (gen_typecode): - * TAO_IDL/be/be_interface.cpp (gen_client_stubs): - * TAO_IDL/be/be_interface.cpp (gen_server_skeletons): - * TAO_IDL/be/be_interface.cpp (gen_operation_table): - * TAO_IDL/be/be_interface.cpp (gen_server_inline): - * TAO_IDL/be/be_interface.cpp (tc_encap_len): - * TAO_IDL/be/be_field.cpp (gen_encapsulation): - * TAO_IDL/be/be_field.cpp (tc_encap_len): - * TAO_IDL/be/be_enum_val.cpp (gen_encapsulation): - * TAO_IDL/be/be_enum.cpp (tc_encap_len): - * TAO_IDL/be/be_constant.cpp (gen_client_header): - * TAO_IDL/be/be_constant.cpp (gen_client_stubs): - * TAO_IDL/be/be_argument.cpp (gen_client_header): - * TAO_IDL/be/be_argument.cpp (gen_client_stubs): - * TAO_IDL/be/be_argument.cpp (gen_server_header): - * TAO_IDL/be/be_argument.cpp (gen_server_skeletons): - * TAO_IDL/be/be_array.cpp (be_array): - * TAO_IDL/be/be_array.cpp (gen_client_header): - * TAO_IDL/be/be_array.cpp (gen_client_inline): - * TAO_IDL/be/be_array.cpp (gen_forany_defn): - * TAO_IDL/be/be_array.cpp (gen_forany_impl): - * TAO_IDL/util/utl_stack.cpp (push): - Added ACE_UNUSED_ARG macro to avoid unused variable warning, - for variable slen. - - * TAO_IDL/be_include/be_helper.h (class TAO_OutStream): - Made destructor virtual; we have virtual member functions. - - * TAO_IDL/be/be_codegen.cpp (TAO_CodeGen): - * TAO_IDL/be/be_decl.cpp (be_decl): - * TAO_IDL/util/utl_stack.cpp (UTL_ScopeStack): - * TAO_IDL/util/utl_scope.cpp (UTL_ScopeActiveIterator): - Reordered member initializers to match declaration order to - satisfy the compiler. - - * TAO_IDL/util/utl_scope.cpp (lookup_primitive_type): - Added "default" case to switch to return NULL. - - * TAO_IDL/util/utl_scope.cpp (add_attribute): - * TAO_IDL/util/utl_scope.cpp (add_operation): - * TAO_IDL/util/utl_scope.cpp (add_argument): - * TAO_IDL/util/utl_scope.cpp (add_union_branch): - * TAO_IDL/util/utl_scope.cpp (add_field): - * TAO_IDL/util/utl_scope.cpp (add_typedef): - * TAO_IDL/util/utl_scope.cpp (add_sequence): - * TAO_IDL/util/utl_scope.cpp (add_array): - Use 0 instead of NULL to initialize pointers in the - member initialization list, again to avoid ANSI C++ forbids - implicit (void *) conversions warnings. - -Sun Oct 26 01:01:32 1997 Douglas C. Schmidt - - * TAO version 0.0.16, released Sun Oct 26 01:01:32 1997. - -Sun Oct 26 00:32:29 1997 Douglas C. Schmidt - - * TAO/TAO_IDL/fe/idl.ll: Reverted a change that Carlos had - overwritten. I guess he's not getting enough sleep these - days... ;-) - -Sun Oct 26 00:31:38 1997 - - * tao/orb_core.i (hash_i): Redid the specialization in view of the - new changes. - -Sat Oct 25 18:14:14 1997 Douglas C. Schmidt - - * TAO_IDL/be/be_interface.cpp (be_interface): Worked around a - nasty MSVC++ compiler bug that doesn't like CORBA::Object - (object_ptr). So we use an existing ACE macro for this. - - * TAO_IDL/be/be_interface.cpp (be_interface): Fixed yet another - round of uninitialized data members. It is clear that the - original authors of this code wouldn't pass my ugrad programming - course... - - * TAO_IDL/fe/idl.ll (idl_parse_line_and_file): Had to make a minor - change to skip over the #line directive from Microsoft. In - addition, had to add some code to put Microsoft-style pathnames - into a canonical form (i.e., replacing = '\\' with '\'). Thanks - to Darrell for helping with this. - - * TAO_IDL/fe/idl.ll: Added a new rule to handle the fact - that the Microsoft C++ preprocessor generates tags of the - form - - #line 1 "bar.idl" - - rather than - - #1 "bar.idl" - - which is what UNIX C++ compilers seem to do. - - * TAO_IDL/be/be_decl.cpp (compute_fullname, compute_flatname): - Fixed a nasty bug where the original author thought new always - returned 0'd memory... Sheesh! - - * TAO_IDL/driver/drv_preproc.cpp: Changed fd < 0 to fd == - ACE_INVALID_HANDLE to be more portable. - - * TAO_IDL/be/be_decl.cpp (be_decl): There were two fields, - flatname_ and repoID_, that weren't given initial values of 0. - Thanks to Purify for finding this! - - * TAO_IDL/fe/idl.{yy,ll}: Replaced all uses of type names - (e.g., FLOAT) with IDL_ (e.g., IDL_FLOAT) so that the code - won't bomb on lame systems like NT that typedef basic types to all - capitals (e.g., typedef float FLOAT). - -Sat Oct 25 22:28:42 1997 Carlos O'Ryan - - * TAO_IDL/fe/idl.ll: Since yytext may be an "unsigned char*" under - HP-UX they define an "alias" __yytext. This hack fails miserably - when using flex, since then the yytext thing can change on the - fly. I use an inline function instead. Added support for #line - preprocessor directives. - - * TAO_IDL/driver/drv_preproc.cpp: Documented some of my changes - for NT, namely the fact that unlinking the output file while - still open causes the parsing to fail on NT. - - * TAO_IDL/tao_idl.dsp: Added new folders for source files, header - files, template files, etc. I modelled this based on the ACE - project files. - -Sat Oct 25 22:05:43 1997 Sergio Flores - - * TAO_IDL/ast/ast_constant.cpp (exprtype_to_string): - Added case statements to handle the rest of un-handled - enumerations from AST_Expression::ExprType. These will - handle a default value (i.e. the same case as - AST_Expression::EV_none). - - * TAO_IDL/ast/ast_expression.cpp (operator==): - * TAO_IDL/ast/ast_expression.cpp (compare): - Make the default return value I_FALSE instead of NULL which - was giving "lacks a cast" warning. - - * TAO_IDL/ast/ast_expression.cpp (fill_definition_details): - Use 0 instead of NULL to initialize pointers in the - member initialization list, again to avoid ANSI C++ forbids - implicit (void *) conversions warnings. - - * TAO_IDL/ast/ast_expression.cpp (eval_symbol): - Initialized pointers to 0. - -Sat Oct 25 17:45:17 1997 Aniruddha Gokhale - - * TAO_IDL/driver/drv_preproc.cpp: Fixed the same bug that Sumedh - fixed. In addition, ACEified the calls to strcat and strcmp in - that file. - - * TAO_IDL/fe/idl.ll: Used %array in the defintion section so that - flex uses yytext as an array of characters rather than pointer to - char. The pointer case was resulting in a segmentation fault due - to lack of memory allocation for the yytext variable. However, we - choose to use the array approach to be compatile with "lex" - behavior. - -Sat Oct 25 1997 Sumedh Mungee - - * TAO_IDL/driver/drv_preproc.cpp: Fixed proper tmp filename - creation. - -Sat Oct 25 14:14:53 1997 Carlos O'Ryan - - * TAO_IDL/tao_idl.dsw: - * TAO_IDL/tao_idl.dsp: - Added a MSVC++ project file for the IDL compiler, needs several - revisions byt the NT experts before shipping, but it has served - me well. - - * TAO_IDL/driver/drv_fork.cpp: - * TAO_IDL/driver/drv_preproc.cpp: - We use ACE components to fork&exec subprocesses, get the default - TMP directory and generate protable pathnames. - In one case the mapping to NT is not clear: the use case is fork - to get a "fresh" copy of the process and provide a unit of - protection for the parent; this feature is only used if more - than one IDL file is compiled at the same time. - - * TAO_IDL/be/be_decl.cpp: - Fixed minor bug, it said "second - I_FALSE;", it should be - "second = I_FALSE - - * TAO_IDL/ast/ast_argument.cpp: - * TAO_IDL/ast/ast_array.cpp: - * TAO_IDL/ast/ast_attribute.cpp: - * TAO_IDL/ast/ast_check.cpp: - * TAO_IDL/ast/ast_concrete_type.cpp: - * TAO_IDL/ast/ast_constant.cpp: - * TAO_IDL/ast/ast_decl.cpp: - * TAO_IDL/ast/ast_enum.cpp: - * TAO_IDL/ast/ast_enum_val.cpp: - * TAO_IDL/ast/ast_exception.cpp: - * TAO_IDL/ast/ast_expression.cpp: - * TAO_IDL/ast/ast_field.cpp: - * TAO_IDL/ast/ast_generator.cpp: - * TAO_IDL/ast/ast_interface.cpp: - * TAO_IDL/ast/ast_interface_fwd.cpp: - * TAO_IDL/ast/ast_module.cpp: - * TAO_IDL/ast/ast_operation.cpp: - * TAO_IDL/ast/ast_predefined_type.cpp: - * TAO_IDL/ast/ast_recursive.cpp: - * TAO_IDL/ast/ast_redef.cpp: - * TAO_IDL/ast/ast_root.cpp: - * TAO_IDL/ast/ast_sequence.cpp: - * TAO_IDL/ast/ast_string.cpp: - * TAO_IDL/ast/ast_structure.cpp: - * TAO_IDL/ast/ast_type.cpp: - * TAO_IDL/ast/ast_union.cpp: - * TAO_IDL/ast/ast_union_branch.cpp: - * TAO_IDL/ast/ast_union_label.cpp: - * TAO_IDL/be/be_args.cpp: - * TAO_IDL/be/be_constant.cpp: - * TAO_IDL/be/be_generator.cpp: - * TAO_IDL/be/be_init.cpp: - * TAO_IDL/be/be_produce.cpp: - * TAO_IDL/be_include/be.h: - * TAO_IDL/be_include/be_generator.h: - * TAO_IDL/driver/drv_args.cpp: - * TAO_IDL/driver/drv_fork.cpp: - * TAO_IDL/driver/drv_init.cpp: - * TAO_IDL/driver/drv_main.cpp: - * TAO_IDL/driver/drv_preproc.cpp: - * TAO_IDL/driver/drv_private.cpp: - * TAO_IDL/fe/fe_declarator.cpp: - * TAO_IDL/fe/fe_extern.cpp: - * TAO_IDL/fe/fe_init.cpp: - * TAO_IDL/fe/fe_interface_header.cpp: - * TAO_IDL/fe/fe_private.cpp: - * TAO_IDL/fe/lex.yy.cpp: - * TAO_IDL/fe/y.tab.cpp: - * TAO_IDL/include/ast.h: - * TAO_IDL/include/ast_argument.h: - * TAO_IDL/include/ast_array.h: - * TAO_IDL/include/ast_attribute.h: - * TAO_IDL/include/ast_concrete_type.h: - * TAO_IDL/include/ast_constant.h: - * TAO_IDL/include/ast_decl.h: - * TAO_IDL/include/ast_enum.h: - * TAO_IDL/include/ast_enum_val.h: - * TAO_IDL/include/ast_exception.h: - * TAO_IDL/include/ast_expression.h: - * TAO_IDL/include/ast_extern.h: - * TAO_IDL/include/ast_field.h: - * TAO_IDL/include/ast_generator.h: - * TAO_IDL/include/ast_interface.h: - * TAO_IDL/include/ast_interface_fwd.h: - * TAO_IDL/include/ast_module.h: - * TAO_IDL/include/ast_operation.h: - * TAO_IDL/include/ast_predefined_type.h: - * TAO_IDL/include/ast_root.h: - * TAO_IDL/include/ast_sequence.h: - * TAO_IDL/include/ast_string.h: - * TAO_IDL/include/ast_structure.h: - * TAO_IDL/include/ast_type.h: - * TAO_IDL/include/ast_typedef.h: - * TAO_IDL/include/ast_union.h: - * TAO_IDL/include/ast_union_branch.h: - * TAO_IDL/include/ast_union_label.h: - * TAO_IDL/include/be_extern.h: - * TAO_IDL/include/drv_extern.h: - * TAO_IDL/include/drv_private.h: - * TAO_IDL/include/fe_declarator.h: - * TAO_IDL/include/fe_extern.h: - * TAO_IDL/include/fe_interface_header.h: - * TAO_IDL/include/fe_private.h: - * TAO_IDL/include/global_extern.h: - * TAO_IDL/include/idl.h: - * TAO_IDL/include/idl_bool.h: - * TAO_IDL/include/idl_defines.h: - * TAO_IDL/include/idl_extern.h: - * TAO_IDL/include/idl_fwd.h: - * TAO_IDL/include/idl_global.h: - * TAO_IDL/include/idl_narrow.h: - * TAO_IDL/include/intlmacros.h: - * TAO_IDL/include/nr_extern.h: - * TAO_IDL/include/util.h: - * TAO_IDL/include/utl_decllist.h: - * TAO_IDL/include/utl_error.h: - * TAO_IDL/include/utl_exceptlist.h: - * TAO_IDL/include/utl_exprlist.h: - * TAO_IDL/include/utl_identifier.h: - * TAO_IDL/include/utl_idlist.h: - * TAO_IDL/include/utl_indenter.h: - * TAO_IDL/include/utl_labellist.h: - * TAO_IDL/include/utl_list.h: - * TAO_IDL/include/utl_namelist.h: - * TAO_IDL/include/utl_scope.h: - * TAO_IDL/include/utl_scoped_name.h: - * TAO_IDL/include/utl_stack.h: - * TAO_IDL/include/utl_string.h: - * TAO_IDL/include/utl_strlist.h: - * TAO_IDL/include/utl_tmpl/utl_decllist.h: - * TAO_IDL/include/utl_tmpl/utl_exceptlist.h: - * TAO_IDL/include/utl_tmpl/utl_exprlist.h: - * TAO_IDL/include/utl_tmpl/utl_idlist.h: - * TAO_IDL/include/utl_tmpl/utl_labellist.h: - * TAO_IDL/include/utl_tmpl/utl_list.h: - * TAO_IDL/include/utl_tmpl/utl_namelist.h: - * TAO_IDL/include/utl_tmpl/utl_strlist.h: - * TAO_IDL/narrow/narrow.cpp: - * TAO_IDL/util/utl_decllist.cpp: - * TAO_IDL/util/utl_error.cpp: - * TAO_IDL/util/utl_exceptlist.cpp: - * TAO_IDL/util/utl_exprlist.cpp: - * TAO_IDL/util/utl_global.cpp: - * TAO_IDL/util/utl_identifier.cpp: - * TAO_IDL/util/utl_idlist.cpp: - * TAO_IDL/util/utl_indenter.cpp: - * TAO_IDL/util/utl_labellist.cpp: - * TAO_IDL/util/utl_list.cpp: - * TAO_IDL/util/utl_namelist.cpp: - * TAO_IDL/util/utl_scope.cpp: - * TAO_IDL/util/utl_stack.cpp: - * TAO_IDL/util/utl_string.cpp: - * TAO_IDL/util/utl_strlist.cpp: - * TAO_IDL/util/utl_tmpl/utl_decllist.cpp: - * TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp: - * TAO_IDL/util/utl_tmpl/utl_exprlist.cpp: - * TAO_IDL/util/utl_tmpl/utl_idlist.cpp: - * TAO_IDL/util/utl_tmpl/utl_labellist.cpp: - * TAO_IDL/util/utl_tmpl/utl_list.cpp: - * TAO_IDL/util/utl_tmpl/utl_namelist.cpp: - * TAO_IDL/util/utl_tmpl/utl_strlist.cpp: - Removed a *big* number of warnings, in an attempt to surface - real problems. The main one was "#pragma ident" and some unused - variables. - -Sat Oct 25 06:22:03 1997 Aniruddha Gokhale - - * TAO_IDL/fe/idl.yy: I got errors parsing the idl.yy thru - bison. There were errors indicating "type clash on default action". - - This had to do with the fact that the non-terminal "type_dcl" did not - have any type defined for it, but it had "struct_type", "union_type" - and others on the right-hand side of the rules. The default action of - YACC is supposed to assign1 to. So the type for "struct_type" - that happened to be a AST_Decl node was getting assigned to the - non-terminal "type_dcl" who had no type. - - I am very surprised that the "yacc" on our Sparcs never ever gave this - error, but bison did. - - Hence I have modified idl.yy slightly so that I have {$$ = 0;} as the - default action. In addition, the non-terminal "type_dcl" is now - defined to be of type "ival" which is defined as long inside the - %union clause. - - Above all, the bison generated files required some prototypes. So I - had to add the following to idl.yy in the declarations section. - - int yylex (void); - void yyerror (char *); - extern "C" yywrap (void); - - Somehow, this yywrap had to be under extern "C". I don't know why the - others need not be under extern "C". - - -Sat Oct 25 00:05:05 1997 Douglas C. Schmidt - - * TAO version 0.0.15, released Sat Oct 25 00:05:05 1997. - -Sat Oct 25 02:46:05 1997 Sergio Flores - - * TAO_IDL/fe/Makefile: - Changed the YACC variable to use the bison compiler. - Added "-y" to YFLAGS to make bison generate output files like yacc. - Changed the LEX variable to use the flex parser instead of lex. - These programs generate code that has less warnings and is better - code in general. - Added "-D_REENTRANT" to CPPFLAGS, to be able to eliminate the warnings - in lex.yy.cpp. This could also be fixed if we include "ace/ACE.h" at - the beginning of lex.yy.cpp, but this file is generated with flex. - - * TAO_IDL/fe/idl.yy: - Added ACE_UNUSED_ARG macro to avoid unused variable warning, - for variable "AST_Decl *v". - - * TAO_IDL/fe/idl.ll (idl_atof): - Added ACE_UNUSED_ARG macro to avoid unused variable warning, - for variable f and h. - - * TAO_IDL/include/idl.h: - Added include file "ace/ACE.h". This was necessary to eliminate - warnings of implicit declarations, which were because the _REENTRANT - flag was not defined. - - * TAO_IDL/ast/ast_operation.cpp (AST_Operation): - Reordered member initializers to match declaration order to - eliminate warnings from the compiler. - - * TAO_IDL/ast/ast_operation.cpp (fe_add_exceptions): - Added ACE_UNUSED_ARG macro to avoid unused variable warning, - for variable fs. - - * TAO_IDL/ast/ast_interface.cpp (AST_Interface): - Reordered member initializers to match declaration order to - eliminate warnings from the compiler. - - * TAO_IDL/ast/ast_expression.cpp (operator==): - * TAO_IDL/ast/ast_expression.cpp (coerce): - * TAO_IDL/ast/ast_expression.cpp (coerce_value): - * TAO_IDL/ast/ast_expression.cpp (compare): - * TAO_IDL/ast/ast_expression.cpp (dump_expr_val): - Added case statements to handle the rest of un-handled - enumerations from AST_Expression::ExprType. These will - handle a default value (i.e. the same case as - AST_Expression::EV_none). Enumerations added are: - AST_Expression::EV_wstring - AST_Expression::EV_wchar - AST_Expression::EV_longdouble - AST_Expression::EV_ulonglong - AST_Expression::EV_longlong - - * TAO_IDL/ast/ast_expression.cpp (AST_Expression): - Reordered member initializers to match declaration order to - eliminate warnings from the compiler. - - * TAO_IDL/ast/ast_decl.cpp (AST_Decl): - Reordered member initializers to match declaration order to - eliminate warnings from the compiler. - Also, use 0 instead of NULL to initialize pointers in the - member initialization list, again to avoid ANSI C++ forbids - implicit (void *) conversions warnings. - - * TAO_IDL/ast/ast_array.cpp (dump): - Added "unsigned" to index variable "i" used in for() loop, - to avoid warning "comparison between unsigned and signed" - - * TAO_IDL/ast/ast_array.cpp (compute_dims): - Added "unsigned" to index variable "i" used in for() loop, - to avoid warning "comparison between unsigned and signed" - - * TAO_IDL/ast/ast_array.cpp (AST_Array): - Reordered member initializers to match declaration order to - eliminate warnings from the compiler. - - * TAO_IDL/fe/fe_declarator.cpp (FE_Declarator): - Reordered member initializers to match declaration order to - eliminate warnings from the compiler. - - * TAO_IDL/driver/drv_main.cpp (DRV_drive): - Added ACE_UNUSED_ARG macro to avoid unused variable warning. - - * TAO_IDL/ast/ast_recursive.cpp (AST_illegal_recursive_type): - Initialized pointer variables to avoid warnings. - -Fri Oct 24 19:18:22 1997 Douglas C. Schmidt - - * tao: Changed remaining uses of BOA to POA. - - * cubit_i.cpp (please_exit): Replaced the call to - please_shutdown() on the POA (which no longer exists) with the - shutdown() call on the ORB. - - * tests/IDL_Cubit/svr.cpp: Removed - - oa_ptr->clean_shutdown (env); - - since this is no longer supported in TAO's POA. - - * tao/poa.h: Changed the get_boa() method to get_poa(). Even this - will probably go away soon. - -Fri Oct 24 18:25:00 1997 Aniruddha Gokhale - - * TAO/tao/svrrqst.cpp: Method params was allocating memory even - when the Any's already had memory allocated for the IN and INOUT - parameters. Due to this the params would retrieve results in the - allocated storage whereas the stubs/skeletons would continue to - use variables that they had defined to hold the values. - -Fri Oct 24 17:33:21 1997 Chris Cleeland - - * tao/poa.*: #ifdef'd out the IIOP 1.4 references to shutdown. - I'm leaving them in there right now because they might be useful - as private member later when we need to figure out how to get OAs - to cooperate and shut themselves down in the face of an ORB - shutdown. - - * tao/orbobj.h (shutdown): Fixed up documentation. - - * tao/orbobj.i (shutdown): Provided appropriate arg default. - - * tests/Cubit/TAO/svr.cpp: Eliminated unnecessary Object Adapter - name from POA_init() invocation. - - * tests/Cubit/TAO/cubit_i.cpp (Cubit_please_exit): Revised to use - the new ORB::shutdown() method. - - * tests/Cubit/TAO/clnt.cpp: Got rid of IIOP 1.4-style debug - message calls. - - * tao/orbobj.cpp (CORBA_ORB::ORB_init): Corrected a heinous - problem in the option parsing loop where argvec_shift() would be - asked to shift two argv elements when there was only one. This - could cause problems if an option that required an argument didn't - include the argument. Thanks to Manojkumar Acharya - for sending in a bug report that lead to my - finding this! - -Fri Oct 24 14:08:12 Aniruddha Gokhale - - * Improved the compiler to make Unions work. The most subtle error - was the way the private section of the class for unions was being - generated. TAO's Typecode library expected the union members to be - inside of a C++ union declaration inside the private - section. Whereas the compiler was generating each member - separately. - - Another source of error was bad typecode tables getting - generated. This is now fixed. - - * TAO/tests/IDL_Cubit: The cubit_i.cpp for cube_union was doing - wrong calculations for structs. This was due to my copy-paste - tendency and not verifying if it was correct or not. This has been - fixed. The README file is updated to reflect the fact that this - directory contains code that uses the IDL compiler. - -Fri Oct 24 01:54:00 1997 Douglas C. Schmidt - - * TAO version 0.0.14, released Fri Oct 24 01:54:00 1997. - -Fri Oct 24 01:02:01 1997 Douglas C. Schmidt - - * clnt.cpp: Removed mysterious obsolete definitions of - cube_union_stub() and cube_union_dii(). - - * be_state.h: Added definitions for the methods in class - be_state_attribute. For some reason, they were missing. - - * TAO_IDL/be/be_state.cpp: Added the necessary template - specializations so that the TAO IDL compiler will work with GCC. - -Thu Oct 23 22:46:10 1997 Aniruddha Gokhale - - * TAO IDL Compiler: More progress in terms of getting the Cubit - example to work with the IDL generated code. However, we are still - finding some problems with using the client-side cubit_union_dii - to work properly. - - Much of the improvements were to the server-side skeletons for - operations. In addition, code for union constructors, assignment - operator, and accessor for discriminant added. - - Some bugs in typecode generation are fixed. This had to do with - the encapsulation length for predefined types. It was returning -1 - as opposed to 0. - - * TAO/tests/IDL_Cubit: Added this directory with the cubit - example. Use this to test the IDL compiler. The makefile will - invoke the IDL compiler to create the required files. - -Thu Oct 23 18:34:02 1997 Douglas C. Schmidt - - * tests/*/Makefile: Fixed the Makefiles so that it has the correct - files and dependencies. Thanks to Steven Wohlever - for reporting this. - -Wed Oct 22 20:02:39 1997 Chris Cleeland - - * README.sun: Added an explicit reminder at the top that the - information in this file is historical in nature and does not - necessarily apply to current reality. - - * tao/orbobj.* (shutdown): Added code to the run() event loop so - that it will terminate when it finds a flag set. This involved - adding the flag to the ORB's state and minimally implementing the - shutdown() method. The shutdown method still does not honor the - "wait for completion" flag which can be passed to it, though. - - * README: Updated the season from "summer" to "Fall" ;-) Also - added a note that warned people not to try to link TAO with a - version of ACE that's linked with another ORB library, e.g., - liborbix.so. Thanks to Steven Wohlever for - bringing this instructional omission to our attention. - - * tao/tao_internals.cpp (fake_service_entries_i): Made the body of - this function conditional on the TAO_PLATFORM_SVC_CONF_FILE_NOTSUP - preprocessor definition since it doesn't need to exist in - platforms that grok the Service Configurator. This will also - reduce the memory footprint :-). Thanks to David Miron - for pointing this out! - - * tao/orb_core.cpp (TAO_ORB_Core): Removed explicit CTOR - initialization of reactor_ member. - -Wed Oct 22 19:37:22 1997 Aniruddha Gokhale - - * TAO IDL Compiler: Improvements made so that the server-side - skeletons for operations now generate valid code. The code - generated for the Cubit.idl was compiling cleanly. It is under - test currently to see if it runs. - - * Some progress in handling forward declarations of interfaces. - -Wed Oct 22 12:55:19 1997 - - * tao/poa.h: Added ACE_Svc_Export to class CORBA_POA. - - * tao/TAO.{mdp,mak}: Updated files in project file. - - * tao/TAO.dsp: Removed boa, Orb_Core and added poa, orb_core to - the project file. - -Tue Oct 21 17:21:51 1997 Chris Cleeland - - * docs/releasenotes/orbcore.html: Updated to reflect daily - progress. - - * tests/Cubit/TAO/Makefile: Updated dependencies. - - * tests/Cubit/TAO/svc.conf: Updated to eliminate empty quotes at - the end that tickled a deficiency in the Service Configurator's - grammar. - - * tests/multiCubit/svr.cpp: Updated to reflect POA_init change. - - * tests/Thruput_test/Makefile: Modified to reflect filename - changes. - - * tests/Thruput_test/server.cpp: Changed type of argv so that it - matched properly. - - * tao/boa.*: Renamed to tao/poa.*. - - * tao/Orb_Core.*: Renamed to tao/orb_core.*. - - * tao/{Makefile,corba.h,default_client.cpp,default_server.cpp,orb.h,orbobj.cpp,params.h}: - Modified to reflect filename changes. - -Tue Oct 21 13:23:48 1997 Brian Mendel - - * tao/connect.i: Moved hash_i and compare_i template - specialization to Orb_Core.i. Original code was left comment - out until this mod is checked on all platforms. - - * tao/Orb_Core.i: Added hash_i and compare_i code from connect.i. - -Tue Oct 21 03:23:29 1997 Nanbor Wang - - * tao/Orb_Core.cpp: Removed conditional inclusion of Orb_Core.i - since, according to corba.h, it is always included as an inline - function file. - -Tue Oct 21 02:24:14 1997 Douglas C. Schmidt - - * TAO version 0.0.13, released Tue Oct 21 02:24:14 1997. - -Mon Oct 20 23:42:48 1997 Douglas C. Schmidt - - * TAO/boa: Changed BOA_init() to POA_init() to be - more consistent... - - * TAO_IDL/be/be_interface.cpp, - tests/TAO/Thruput_test/server.cpp, - tests/TAO/Thruput_test/ttcpS.cpp, - tests/TAO/RT_test/Task_Client.cpp, - tests/TAO/RT_test/cubit_impl.cpp, - tests/TAO/multiCubit/cubitS.cpp, - tests/TAO/multiCubit/svr.cpp, - tests/TAO/Demux_Test/server.cpp, - tests/TAO/Demux_Test/CodeGen/skel.cpp, - tests/TAO/MT-Cubit/client/Task_Client.cpp, - tests/TAO/MT-Cubit/server/cubitS.cpp, - tests/TAO/MT-Cubit/server/svr.cpp, - tests/TAO/cubitS.cpp, - tests/TAO/svr.cpp, - tests/TAO/test1_svr.cpp: Changed BOA to POA to reflect the - new naming conventions. - - * tao/stub.i (STUB_Object): Removed a stray default value from the - STUB_Object constructor... Thanks to Carlos for noticing this. - -MOn Oct 20 10:14:09 1997 Aniruddha Gokhale - - * Improved version of the TAO IDL compiler. The executable has - been renamed to tao_idl. There are a number of improvements as - well as shortcomings. These are explained in the - docs/releasenotes/index.html page, which can be viewed online at - http://www.cs.wustl.edu/~schmidt/ACE_wrappers/TAO/docs/releasenotes/. - -Mon Oct 20 16:30:29 1997 Chris Cleeland - - * tao/tao_internals.cpp (fake_service_entries_i): Based the - arguments to the faked server service entry for VxWorks on the - TAO_HAS_TSS_ORBCORE compilation flag. This should hopefully - eliminate the problems Boeing was seeing in the early rounds of - testing the most recent release of TAO. - - * tao/{iiopobj.*,giop.h}: Moved a lock that had been in - TAO_GIOP_Invocation (why? I don't know) into IIOP_Object. It - protects the fwd_profile_ pointer, which has now become private. - Also added accessors for the data member as well as the lock. - Accessors come in two flavors--thead-safe (fwd_profile()) and - non-thread-safe (fwd_profile_i()). The non-thread-safe variety - expect that the lock will be taken and held for the duration of - their usage, but no checking is performed in this respect. - - * tao/giop.cpp: Changed references to the IIOP_Object::fwd_profile - data member to go through the new accessors (see above). - - * tao/stub.i: Created new file with inline methods for - STUB_Object. - - * tao/stub.h: Moved inline method definitions into a new - file--stub.i. - - * tao/orbobj.cpp (BOA_init): Eliminated dead code and unused - variable. - - * tao/except.cpp (print_exception): Eliminated unused argument - warning detected by gcc. - - * tao/corba.h: Re-ordered inclusion of Orb_Core.i to eliminate - 'function used before declared inline' errors detected by gcc. - - * tao/{Orb_Core,boa,corbacom,orb,orbobj,svrrqst}.*: Renamed BOA to - POA. - - * docs/releasenotes*: Moved releasenotes.html into a directory - named "releasenotes" so that the various status pages can live - independently. Currently only the ORB Core's status page is - broken out, but the documentation should eventually turn into two - frames with the one at the top acting as the guide and the lower - frame being the actual status document. - -Fri Oct 17 17:42:27 1997 Chris Cleeland - - * docs/releasenotes.html: Updated to reflect current status. - - * tao/orbobj.*: Added some documentation for open() method. - - * tao/roa.*: Gone. Bye-bye. Removed. - -Fri Oct 17 15:43:04 1997 - - * tao/connect.h: Added template instantiation supression directive - for Win32. VC was complaining about duplicate symbols definition. - -Fri Oct 17 06:25:23 1997 Chris Cleeland - - * tao/{boa,roa}.*: Merged class ROA into class - CORBA_BOA. Hopefully everything still works ;-) - - * docs/releasenotes.html: Quick update for new TODO list. Will be - updated within the next day or so with dates, too. - - * tao/{server_factory,orbobj,Orb_Core}.cpp: Corrected incorrect - explicit template instantiations and added missing ones. - -Thu Oct 16 23:48:04 1997 Douglas C. Schmidt - - * TAO version 0.0.12, released Thu Oct 16 23:48:04 1997. - -Thu Oct 16 11:15:00 1997 Brian R. Mendel - - * tao/server_factory.cpp: Added instantiation pragma for VxWorks for - ACE_Acceptor. Added the template to the specialization section, also. - - * tao/orbobj.cpp: Added instantiation pragma for VxWorks for - ACE_Cached_Connect_Strategy and ACE_Hash_Map_Manager for - ACE_Null_Mutex instantiations. Also, added these to the template - specialization sections. - - * tests/Cubit/Build/default.bld: Added TAO_PLATFORM_SVC_CONF_FILE_NOTSUP - to defines section of GHS build file. - -Tue Oct 14 21:11:20 1997 Douglas C. Schmidt - - * tao/xdr.h: Changed int _fd to ACE_HANDLE _fd to work on NT. - Thanks to Satheesh Kumar for reporting - this. - -Tue Oct 14 02:48:21 1997 Douglas C. Schmidt - - * TAO version 0.0.11, released Tue Oct 14 02:48:21 1997. - -Mon Oct 13 23:30:16 1997 - - * tao/connect.h: If we are using TSS, there is no reason to use - locking in the connector. Therefore, I added a new typedef that - defines the type of lock that should be used for the - cached_connect_strategy. It is ACE_SYNCH_RW_MUTEX in the - non-TSS case, and ACE_SYNCH_NULL_MUTEX in the TSS case. - -Mon Oct 13 21:34:00 1997 Douglas C. Schmidt - - * tao/svrrqst.cpp (oa): Cleaned up the coding style a bit. - -Sun Oct 12 15:38:35 1997 Douglas C. Schmidt - - * tao/client_factory: Gutted the client factory code related to - the Strategy_Connector so that it's either in the TAO_Orb_Core. - - * tao/default_client.h: Removed the connector() from the - Default_Client_Factory entirely since it's all been put into the - TAO_ORB_Core now. - - * tao/giop.cpp (start): Hacked up the code so that we extract our - connector from thread-specific storage if we're using the - thread-per-rate concurrency model. This needs to be integrated - more cleverly in the ORB. - - * tao/orbobj.h: Put an instance of the TAO_CONNECTOR into each - TAO_ORB_Core object so that we don't have to share these things - among all of the threads in a process, but instead can have them - be located in thread-specific storage. - - * tao/orbobj.cpp (perform_work): Updated the run() and - perform_work() methods to take optional ACE_Time_Value *'s (so - they can return from timeouts) and to return error flags if - things go wrong. - - * tao/orbobj.h (CORBA_ORB): Changed the set_up_for_listening() - call to open(), which is more consistent with other usage in - ACE/TAO. - - * tao/orbobj: Changed the name client_acceptor_ to peer_acceptor_ - to reflect the fact that the connection model is more generic - than the notion of client/server interactions (which really take - place as the result of particular communication roles). - - * tao/corba.h: Moved the order of #includes around so that - "connect.h" is included before "client_factory.h" - - * tao/connect.h: Moved the typedef of the ACE_Strategy_Connector<> - from the TAO_Client_Strategy_Factory into the global space and - renamed it TAO_CONNECTOR file so that it will be equivalent with - the TAO_ACCEPTOR. - -Thu Oct 9 23:17:37 1997 Douglas C. Schmidt - - * tao/giop.cpp (invoke): If an error occurs, make sure to mark the - handler_ as no longer being in use before we set it to 0. - - * tao/giop.cpp (TAO_GIOP_Invocation): We need to make sure that - handler_ isn't 0 before we mark it as no longer being in use. - -Thu Oct 9 11:33:46 1997 Carlos O'Ryan - - * tao/giop.cpp: - There was a minor sintax error. - -Tue Oct 07 09:34:35 1997 - - * tao/Orb_Core.h{cpp}: Added ACE_Svc_Export label to global - TAO_ORB_Core_instance() method. Needed for DLL support on NT.i - - * default.bld, tao.bld: Modified VxWorks build files to add new files. - -Tue Oct 07 07:05:38 1997 Douglas C. Schmidt - - * TAO version 0.0.10, released Tue Oct 07 07:05:38 1997. - -Mon Oct 06 22:11:40 1997 - - * tests/Cubit/TAO/cubit_i.cpp (Cubit_please_exit): - * tests/Cubit/TAO/cubitS.cpp (_skel_Cubit): Changed to use the new - TAO_ORB_CORE_instance () global function. - -Mon Oct 6 20:06:05 1997 Chris Cleeland - - * tao/{boa.h,connect.cpp,giop.cpp,giop.h,roa.cpp,roa.h}: - Eliminated unused methods and code. - - * tao/Orb_Core.*: Created new global function called - TAO_ORB_Core_instance() which will return the correct instance of - the ORB Core state. This had previously been accessed using - TAO_ORB_CORE::instance(), but Win32s linking procedures made the - template for TAO_ORB_CORE expand in both the application and the - library/DLL, thus creating two singletons. Bad scene. The - function should force the expansion of the template to only be in - the DLL. - - * tao/{connect,default_client,default_server,orbobj,roa}.cpp: - Changed references to TAO_ORB_CORE::instance() to - TAO_ORB_Core_instance(). - - * tao/singletons.h: Removed definition of TAO_ORB_CORE. - -Sat Oct 4 20:08:57 1997 Nanbor Wang - - * tao/TAO.{dsp,dsw}: Added tao_internals.cpp into project file - list. - - * tao/tao_internals.h (TAO_Internal): Added ACE_Svc_Export and - I d. - - * tao/tao_internals.i (open_services): Added default return value - 0. - - * tao/tao_internals.cpp: Added #include "tao/tao_internals.h" and - the CVS I d field. Also, we should include inline (.i) file - for inline code. - -Fri Oct 3 09:29:05 1997 Chris Cleeland - - * tests/multiCubit/svr.cpp: Changed the key naming scheme back to - not be unique throughout the process. Process-unique code is - still there, but conditionally compiled mutually-exclusive to the - other scheme. - - * tao/server_factory.*: The object_lookup_strategy method is gone - and is replaced by the create_object_table factor method. See - more information below. - - * tao/default_server.*: The server factory no longer holds on to a - single pointer for the object lookup strategy. In previous - incarnations of TAO, this didn't cause problems, but the advent of - ORB-per-thread highlighted the inherent badness in this - implementation choice. Gone is the object_lookup_strategy method, - and in comes the create_object_table factory method, which creates - and returns (and doesn't hold onto) an object table in accordance - with parameters such as size and search algorithm. - - * tao/roa.cpp: Changed to use the create_object_table method. - -Thu Oct 2 13:48:31 1997 Chris Cleeland - - * tests/multiCubit/svr.cpp: Modified the key generation scheme to - include thread ID. This works around a current shortcoming in the - ORB Core in which the object table is shared throughout all object - adapters (yes, this is being fixed). - - * tao/tao_internals.*: Added new class to scope static operations - and data completely internal to the ORB. - - * tao/orbobj.{i,cpp}: Moved CORBA_ORB DTOR into cpp file. Finally - got rid of icky static mutex in ORB_init(). Moved service config - initialization into TAO_Internal method. - - * tao/Orb_Core.h: Added comments. - -Wed Oct 1 12:51:48 1997 Nanbor Wang - - * tao/corbacom.h: Removed CORBA:: name resolution from the class - String_out which is itself defined in class CORBA. MSVC doesn't - like that. - -Wed Oct 1 10:44:55 1997 Aniruddha Gokhale - - * tao/varout.h: Fixed some template errors in class - TAO_Object_out. This was pointed to me by Carlos as he was - compiling TAO in SGI. - -Wed Oct 1 09:10:38 1997 Carlos O'Ryan - - * docs/releasenotes.html: - Updated information on the Event Channel, the use of the Naming - Service is no longer a plan, it is done already. - -Tue Sep 30 20:14:29 1997 Douglas C. Schmidt - - * TAO version 0.0.9, released Tue Sep 30 20:14:29 1997. - -Tue Sep 30 19:42:09 1997 Douglas C. Schmidt - - * Makefile: Removed "docs" from DIRS so we don't try to run - make in this directory. - -Tue Sep 30 17:27:00 1997 Chris Cleeland - - * : Tagged a release for limited consumption until the - Service Configurator bug is fixed. - - * tests/multiCubit/svr.cpp: Added code to properly release CORBA - objects. Delays between task activations simply aid in debugging - and are not necessary. - - * tao/singletons.h: Made TAO_ORB_Core's singleton type - compile-time selectable via the TAO_HAS_TSS_ORBCORE compiler flag. - - * tao/orbobj.cpp: Corrected an incorrect shift count, and the ORB - Core now defaults to using the host name of the local host. - - * tao/Orb_Core.[hi]: Added explicit CTOR. - - * tao/Orb_Core.cpp: Insured that the correct template type was - instantiated. - - * tao/Makefile: Added -DTAO_HAS_TSS_ORBCORE to CPPFLAGS. - -Tue Sep 30 16:43:12 1997 Chris Cleeland - - * docs/releasenotes.html: Added some notes on the ORB Core. - -Mon Sep 29 14:39:51 1997 Chris Cleeland - - * docs/{index,components,releasenotes}.html: Added additional - documentation. - -Mon Sep 29 13:50:34 1997 Aniruddha Gokhale - - * TAO ORB changes: - - any.*: Added _var and _out classes. - - corbacom.{h,i} : Added _out types for primitive types, added _out and - updated _var classes for String. Added corbacom.i for implementing - the String's _var and _out classes - - sequence.{h,i}: Added a number of templates for _var and _out - classes. However, these are yet to be used and tested. - - * Alpha release of TAO IDL compiler added to this release. This is - an alpha release and we are currently putting it to rigorous - test. A large amount of code for the back end is added under the - TAO/TAO_IDL/be_include and TAO/TAO_IDL/be/ directories. - - In addition, some amount of ACEification done to methods belonging - to the TAO/TAO_IDL/utils/ classes. - - A few errors in the IDL grammar have been fixed in - fe/idl.yy. These had to do with the valid types for parameters and - operation return types. There are still some errors recognizing - unions which will be fixed later. The scanner (fe/idl.l) was - modified to recognize the OMG IDL data type "any". - - * The ChangeLog file under TAO/TAO_IDL is removed and its contents - are inserted appropriately in this ChangeLog file - -Sun Sep 28 17:01:27 1997 Chris Cleeland - - * tests/multiCubit: Added a multi-threaded version of Cubit. - - * tao/orbobj.cpp: At long last, Andy has his wish for not having - to provide a "-ORBhost " argument to a server. It now uses - ACE_OS::hostname() to determine the canonical hostname, and - listens on that address. - - * tao/singletons.h: Changed the ORB Core singleton to be a TSS - singleton; this will eventually be conditionally compiled in - (before release). Also added comments and "safety defines". - - * tao/except.cpp: Changed some usage of fputs() in - print_exception() to use ACE_DEBUG. - -Sun Sep 28 03:18:24 1997 Nanbor Wang - - * tests/Cubit/TAO/cubitC.h (Object): Changed references of base - class from "CORBA::Object" to "CORBA_Object." MSVC doesn't - allow this. - - * tao/Orb_Core.h: Added ACE_Svc_Export to TAO_Orb_Core class. - - * tao/corbacom.h: Added ACE_Svc_Export to all IID constants. - Notice that we must put ACE_Svc_Export _after_ extern "C". - -Sat Sep 27 09:31:42 1997 Chris Cleeland - - * tao/Orb_Core.h: Fixed the friend declaration for - CORBA::ORB_init(). - - * tests/Cubit/TAO/svr.cpp: Modified to use ORB::run() for event - loop and eliminated code cruft. - - * tao/orbobj.*: Added stubs for 4 methods on the ORB from the - POA spec: work_pending, perform_work, run, and shutdown. Of all - of these, only run is reasonably implemented, and there not even - according to the spec (because the way the spec works isn't really - good for our purposes...need to work on that). See the docs for - information. - - Moved the initialization of the Acceptor into its own method, - set_up_for_listening (which is a one-shot style method), and - placed a call to this within the aforementioned run method. - - * tao/default_client.h: Miscellaneous comments added. - - * tao/connect.cpp: Corrected an errant ACE_DEBUG () call. - - * tao/Orb_Core.*: Added private methods to allow setting of the - orb and extended the laurel of friendship to CORBA::ORB_init(). - -Fri Sep 26 10:20:06 1997 Chris Cleeland - - * tao/orbobj.*: Added acceptor initialization code to CORBA_ORB - CTOR. (We still need to find a way to NOT do this on the client - side.) Moved CORBA_ORB CTOR into .cpp to avoid nasty - interdependencies caused when it was in the .i file. Moved the - specification of host and port to be ORB parameters rather than OA - parameters, i.e., -OAhost is now -ORBhost and -OAport is now - -ORBport. - - * tao/roa.*: Removed server-side connection endpoint - initialization (Acceptor stuff) and put it into the ORB. - - * tao/connect.h: Renamed ROA_Acceptor to TAO_Acceptor (since it's - not related to the OA any longer), and restored explicit inclusion - of ace headers to avoid having to include "corba.h". - - * tao/boa.h: Removed unneeded get_addr() method. - - * tests/Cubit/TAO/cubitS.cpp: Updates to support changes in ORB - Core. - -Thu Sep 25 12:28:02 1997 Chris Cleeland - - * tao/params.*: Added explicit CTOR & DTOR for - TAO_{OA,ORB}_Parameters classes that somehow got removed in the - previous round of attacks. Also specified all methods which go - into the .i file as "LOCAL_INLINE" within the header. This avoids - having to unravel ugly, complex order interdependencies. - -Thu Sep 25 03:48:02 1997 Chris Cleeland - - * docs/Options.html: Terse documentation on options available for - the abstract factories. - - * tao/Orb_Core.*: Added this class (TAO_ORB_Core) to hold the - "state" of an ORB. The intent is that as we move towards - different concurrency models, this can be thrown into - thread-specific storage and remain a singleton, essentially - allowing the running of an ORB-per-thread. - - * tao/singletons.h: Added this file to contain type definitions - for *ALL* ACE_Singleton<> types used within TAO. This was - motivated by a desire to eliminate the multitude of warnings - generated by g++ regarding methods being called before declared - inline, and the only way to eliminate this was to insure that all - inlined methods were seen by the compiler before the - ACE_Singleton<> definition. Thus, corba.h includes singleton.h as - the very last thing that it does. - - * tao/params.*: TAO_OA_Parameters is no longer a singleton, and - because of new recognition of associations in the object model for - an ORB, lots of data members and their methods have been shuffled - to other places or eliminated. addr() now belongs in - TAO_ORB_Parameters, and root_poa_ is in TAO_ORB_Core. The - using_threads_, thread_flags_, upcall_, and forwarder_ members - have been eliminated and their roles taken over by the Concurrency - Strategies and the new Dispatch call chain implemented in my last - round of changes. - - * tao/orbobj.cpp: Changed references to the ORB singleton to go - through TAO_ORB_CORE::instance(). Also eliminated an unnecessary - global function (_orb()). - - * tao/marshal.h: Moved all ACE_Singleton<> typedefs into - singleton.h. See comment on tao/corba.h for more information. - - * tao/iioporb.h: Removed unnecessary TAO_ORB singleton. This is - now assumed by TAO_ORB_Core instances. - - * tao/corbacom.h: Added CORBA::POA_ptr for upward compatibility. - - * tao/corba.h: Added Orb_Core.[hi] to the appropriate places. - Moved iiop{orb,obj}.i inclusions around and moved typedef'ing of - all ACE_Singletons into singletons.h, which must be #included - AFTER all the inline files. This eliminated all of the - used-before-declared-inline warnings. - - * tao/{connect,default_client,default_server,roa}.*: Updated - singleton usages to go through the TAO_ORB_CORE singleton. - - * tests/Cubit/TAO/{cubitS,cubit_i}.cpp: Updated singleton usages - to go through the TAO_ORB_CORE singleton. - -Wed Sep 17 12:26:56 1997 Nanbor Wang - - * tao/TAO.dsp: Updated source file list. - -Mon Sep 15 16:52:28 1997 Chris Cleeland - - * tests/Cubit/TAO/{cubitS,cubit_i}.cpp: Updated references to oa() - to root_pos(). - - * tao/orbobj.cpp: Corrected some adjustments made for Service - Configurator rework. - - * tao/giop.h: Moved the def for TAO_GIOP_EndOfFile out of the - range of valid GIOP messages. - - * tao/connect.cpp: Added special case for TAO_GIOP_Reply to break - out, and distinguished TAO_GIOP_EndOfFile from other errors by - setting errno. - - * tao/boa.cpp: The complete reply header is now stuck into the - response stream...what a novel concept! - -Fri Sep 12 05:40:50 1997 Chris Cleeland - - * params.h: Renamed oa() method to be root_poa() in preparation - for the future. - - * orbobj.cpp: Adjusted the FAKE_SVC_ENTRY macro to catch up to - recent changes in ACE. - - * giop.*: Major surgery including elimination of GIOP as a giant - namespace (now only static methods are in it). Changed names of - things to TAO_*. - - * {encode,decode,iiopobj,invoke,roa}.*: Name changes resulting - from giop.cpp surgery. - - * corbacom.h: Moved TAO_opaque decl into here. - - * corba.h: Re-ordered the inline #includes so that the stuff that - is ALWAYS inlined is included prior to the stuff that's only - inlined when __ACE_INLINE__ is turned on. - - * connect.*: Modified handle_input() substantially. Added 3 - template methods: read_message, handle_message, and send_response. - - * {cdr,marshal,object,typecode}.h: Removed the old "always include - inlines" hackery. - - * boa.*: Added handle_request() method. - -Wed Sep 03 06:15:00 1997 Brian Mendel - - * tao/default_client.cpp: Added conditional sections around the code for setting the - socket options for VxWorks. VxWorks does not support a 64K buffer size. - -Tue Sep 02 18:32:12 1997 Brian Mendel - - * tao/orbobj.cpp: Added include for Service_Repository.h to orbobj.h - - * tao/debug.cpp: Removed the TAO_NEEDS_UNUSED_VARIABLES #defines - around the debug_stream declaration. debug_stream is used by - dmsg_filter in debug.cpp. Changed SYSTEM_EXCEPTION to - CORBA::SYSTEM_EXCEPTION. - - * tao/default_client.cpp: Removed extra parameter from - ACE_Hash_Map_Entry #pragma instantiate statement. - - * tao/objtable.cpp: Deleted pragmas for instantiating ACE_Guard, - ACE_Read_Guard, and ACE_Write_Guard to eliminate duplicate - instantiations. Also, removed the instantiations from - ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION for the same reason. - - * tao/orbobj.cpp: Added a typecast to void * in argvec_shift - method. - - * tao/default.bld - Modified VxWorks Build File to change template - instantiation modes. - - * tao/tao.bld - Added default_client.cpp, default_server.cpp, - client_factory.cpp, and server_factory.cpp to the VxWorks build - file. - - * tao/tao.dsp - Added default_client.cpp, default_server.cpp, - client_factory.cpp, and server_factory.cpp to the Win NT project - file. - -Tue Sep 2 07:31:45 1997 Chris Cleeland - - * tao/orbobj.cpp (ORB_init): VxWorks doesn't use - ACE_Service_Config for now; the default factories are used. The - Service Repository is still used, but the appropriate values are - "stuffed" in manually. - -Sat Aug 30 17:07:18 1997 Aniruddha Gokhale - - * tests/Thruput: First attempt at ACEifying it and removing the - tremendous amount of unnecessary stuff that was in there. This - modified version still needs testing on other platforms. - -Fri Aug 29 10:59:34 1997 Chris Cleeland - - * tao/Makefile (TAO_ROOT): FINALLY corrected the default - definition of TAO_ROOT. - -Thu Aug 28 14:04:44 1997 Chris Cleeland - - * tao/orbobj.i (CORBA_ORB): Removed assertion that was incorrect - b/c our ORB object is a singleton and not dynamically allocated, - thus the refcount can only reach zero at the end of its life. - - * tao/typecode.cpp (TC_Private_State): Relocated the delete of - tc_discriminator_type_ to be after the deletion of the label list. - This is because the discriminator will be inside each of the - CORBA::Any instances within the label list, and deleting it before - deleting the label list results in extreme badness. - - * tao/typecode.* (operator delete): Added CORBA_TypeCode::operator - delete() to simplify deletion of both automatically and - dynamically allocated instances of CORBA_TypeCode. This fixes the - problem of freeing non-heap memory. - - * tao/nvlist.h (CORBA_NamedValue): Initialized refcount_ in the - CTOR. - -Mon Aug 18 16:39:40 1997 Carlos O'Ryan - - * Makefile for TAO compiler: - (SOEXT) must be used instead of just .so, the former does not - work on all platforms, notably HP-UX. - -Mon Aug 18 16:39:29 1997 Carlos O'Ryan - - * tao/Makefile: - * tests/Demux_Test/CodeGen/Makefile: - (SOEXT) must be used instead of just .so, the former does not - work on all platforms, notably HP-UX. - -Sun Aug 17 16:53:42 1997 Carlos O'Ryan - - * IIOP/test/Orbeline/client/Profile_Timer.h: - * IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp: - * IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.h: - * IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.cpp: - * IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.h: - * tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp: - * tests/Cubit/VisiBroker/base_server/Profile_Timer.h: - * tests/Cubit/VisiBroker/client/Profile_Timer.cpp: - * tests/Cubit/VisiBroker/client/Profile_Timer.h: - We no longer use timestruct_t in ACE, it is a SYSVism; we use - timespec_t instead. - -Sat Aug 16 01:11:56 1997 Chris Cleeland - - * tests/Cubit/TAO/svc.conf: Added this as an example of an - application's service config configuration file. It also serves - as the documentation for various strategy factory options at the - moment. - - * tao/orbobj.cpp: Options parsed by the ORB are now - -ORBsvcconf specifies the service configurator - file to be used - -ORBdaemon turn this into a daemon - -ORBdebug turns debugging on in the service - configurator - - BOA_init() now sets the itself in the TAO_OA_Parameters singleton. - - * tao/orbobj.*: Changed client_factory(), server_factory(), and - params() to return pointers rather than references. - - * tao/{roa,giop}.cpp: Updated code that uses the - CORBA::ORB::client_factory() to deal with the fact that it now - returns a pointer rather than a reference. - - * tao/default_server.cpp (init): This method now properly - initializes the contained reactive and threaded strategies so that - they're actually usable! - - * tao/connect.cpp: Added #endif comments. - -Wed Aug 13 17:42:39 1997 Chris Cleeland - - * tests/Cubit/TAO/*: Converted to the CORBA:: namespace. - - * tao/default_server.h: Eliminated a few strategy accessors since - they aren't provided by this implementation. - - * tao/default_server.cpp: Made this compile. - - * tao/corbacom.h: Slight reformatting of code. More importantly, - added 'static' to the decl of ORB_init(). - - * tao/corba.h: Added fake comment to trigger C++ mode. - - * tao/any.h: Added #endif comments. - -Tue Aug 12 22:37:06 1997 Douglas C. Schmidt - - * tao/{any,typecode,cdr}.h: Finished appeasing the compiler gods - so that we can remove the ACE_INLINE hack. Things now seem to be - in order. - - * tao/corba.h: Got all the frigging header *.i files #included in - the right order so that the GCC compiler stops complaining. - - * tao/giop.cpp: We had method definitions that were defined inline - within the giop.h file. This was causing problems for GCC, which - kept warning that methods in the cdi.i file were being used before - being inlined. I've fixed this by creating a giop.i file. - - * tao/corba.h: Add #include files should be prefixed by "tao/". - I've fixed this in the release. - -Tue Aug 12 16:23:17 1997 Chris Cleeland - - * tao/any.i: Added a missing replace() method used by overloaded - operators. - - * tao/{any,cdr}.h: Added conditional ACE_INLINE before the decl - for a few methods whose usage in other inlined methods appears - prior to their definition. - - * tao/default_client.cpp: Eliminated names of unused arguments to - stop the compiler from complaining. - - * tao/server_factory.cpp: Properly scoped return type names for - several methods. - - * tao/{typecode,decode,deep_copy,debug}.cpp: Bracketed unused - variables with #if defined(TAO_NEEDS_UNUSED_VARIABLES)/#endif; - this leaves them around for right now in case they're important. - - * tao/client_factory.i (connector): Properly scoped return type's - name. - - * tao/{client_factory,default_client}.cpp: Added necessary - template instantiations. - - * tao/{typecode,cdr}.h: Added conditional ACE_INLINE in front of - inlined methods to appease the compiler gods. - - * tao/boa.cpp (dispatch): Declared argument unused to get rid of - warnings. - - * tao/corbacom.h: Moved #include of sequence.h before the decl for - class CORBA. - -Sun Aug 10 10:58:21 1997 Douglas C. Schmidt - - * tao/client_factory: Moved the template specializations from the - *.cpp file into the *.i file in order to get this stuff to link - without multiply defined symbols. Thanks to Brian Mendel for - giving me the idea to do this. - - * tao/client_factory.cpp: Added a template specialization for - ACE_Hash_Addr. - -Sun Aug 10 08:56:20 1997 Aniruddha Gokhale - - * CORBA_ to CORBA:: transformation complete. All the files in the - TAO/tao distribution have been affected. The most notable changes - are: - (1) A file called "tao/corba.h" is now the master file. All *.cpp - files include *just* this file and nothing else. - - (2) "tao/corbacom.h" is the file that defines the CORBA namespace - i.e., class CORBA. Individual CORBA classes such as TypeCode, BOA, - etc are now defined inside the CORBA namespace. This will allow - users and developers to use CORBA::TypeCode as opposed to the - previous CORBA_TypeCode. Instead of nesting the classes, however, - we use typedefs to define individual CORBA classes inside class - CORBA e.g., typedef CORBA_TypeCode TypeCode; - - (3) All *.i files are included at the end of "tao/corba.h" and - nowhere else. However, if __ACE_INLINE__ isnot defined, then each - individual *.i file is not yet included in their corresponding - .cpp file. This will be done next. - - * TAO/tests/Demux_Test: Included code that tests various - demultiplexing strategies in TAO. At this point, however, the code - will not work because of changes in TAO. This will be done - next. A README file provides additional details. - - * TAO/Benchmark: A suite of benchmarking tests have been - included. This is still in the preliminary stages of - development. The idea is to compare various aspects of CORBA such - as marshaling overhead, demux costs, throughput, latency, and - others for a range of ORBs including TAO. Since there are - differences in programming different ORBs, this suite tries to - abstract out all the common features or atleast provide a uniform - interface so that minimal efforts are required to port an - application from one ORB to another. - - Benchmark/benchmark: This directory contains thecommon features - Benchmark/Marshal_Test: Tests marshaling overhead in 3 ORBs - - Orbix, VisiBroker, and TAO. More will be added. There are a few - problems getting DSI to work. The tech support at IONA and - VisiBroker have been contacted. - -Sat Aug 9 14:05:08 1997 Douglas C. Schmidt - - * tao: Continued to clean up all the code so that it is more - consistent with ACE programming style. - - * tao/orbconf.h: Cleaned up a lot of the unnecessary #defines. - - * tao/default_server.h: Make sure we inherit from - TAO_Server_Strategy_Factory, not TAO_Server_Factory. - - * tao/server_factory.cpp: Moved all the inline methods to be - non-inline since this code will always be dynamically bound. - - * tao/client_factory.cpp: Cleaned things up a bit. - -Sat Aug 9 12:37:05 1997 Brian Mendel - - * tao/corba.h: Deleted include for xdr.h from corba.h. xdr.h - is obsolete. - - * tao/objtable.cpp: Deleted pragmas for instantiating ACE_Guard, - ACE_Read_Guard, and ACE_Write_Guard to eliminate duplicate - instantiations. The templates are instantiated by ACE. Can these - templates also be removed from the - ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION section as well? - - * tao/default.bld: Added build file for VxWorks. - - * tao/tao.bld: Added build file for VxWorks. - -Fri Aug 8 14:25:20 1997 Chris Cleeland - - * tao/orbobj.*: Updated various methods to use the new - dynamically-linked strategy factories discussed below. - - * tao/default_client.*: This file now contains the default client - strategy factory which is (a) dynamically linkable by the service - configurator and (b) can be configured by flags passed in via - service configurator. - - * tao/client_factory.*: This file now contains the abstract base - class for the client strategy factory. - - * tao/default_server.*: This file now contains the default server - strategy factory which is (a) dynamically linkable by the service - configurator and (b) can be configured by flags passed in via - service configurator. - - * tao/server_factory.*: This file now contains the abstract base - class for the server strategy factory. - - * tao/params.*: Renamed DEMUX_STRATEGY enum to TAO_Demux_Strategy - and put it at global scope instead of within TAO_OA_Parameters. - - * tao/svc.conf.eg: Created this file to serve as an example of - various lines one might find in an application's svc.conf. - -Thu Aug 7 09:51:31 1997 Aniruddha Gokhale - - * factories.cpp: Incorrect use of ACE_ASSERT in - TAO_Server_Factory::object_lookup_strategy removed. - - * objtable.cpp: The octet sequence object key was being cast into - a char* resulting in undefined behavior at times due to the lack - of a NULL character to terminate it. Changes were made in the bind - and find methods of TAO_Active_Demux_Table. - -Thu Aug 07 03:52:31 1997 Douglas C. Schmidt - - * TAO version 0.0.8, released Thu Aug 07 03:52:31 1997. - -Thu Aug 7 00:43:14 1997 Douglas C. Schmidt - - * tao/typecode.cpp: A couple of errors involving TAO_CONST crept - in when Brian checked in his code. I fixed these. - -Wed Aug 6 18:28:41 1997 Chris Cleeland - - * tests/Cubit/TAO/clnt.cpp (main): Corrected the format - specifications when timing was printing out from %ld to %d. For - some reason this never caused a problem on other platforms. - -Wed Aug 6 17:27:44 1997 Brian R. Mendel - - * tao/typecode.h: Removed qualified name in typecode.h to eliminate - compiler warnings by the GHS compiler. Line 297. - - * tao/decode.cpp: Changed wchar_t* to CORBA_WChar* to eliminate - compiler errors on GHS compiler. Lines 142, 216, 729, 1371, and 1475. - - * tao/typecode.cpp: Deleted unreachable break statements at lines - 429, and 477, 904, and 947. - -Wed Aug 6 16:31:29 1997 Chris Cleeland - - * tao/*: Changed 'const' to 'TAO_CONST' in contexts where the - const didn't make sense. For example, this occurred in situations - where methods declared their return type as 'const CORBA_String', - which does not translate to 'const char*' but rather 'char* - const'. - - * tao/corbacom.h: Added #define for TAO_CONST. See above for - explanation. - - * tao/{connect,factories,giop,iiopobj,marshal,objtable, - optable,orbobj,roa}.cpp: Removed errant trailing semi-colon on all - the #pragma instantiate directives. - -Wed Aug 6 13:56:40 1997 Chris Cleeland - - * tao/{connect,factories,giop,iiopobj,marshal,objtable, - optable,orbobj,roa}.cpp: Changed explicit template instantiations - to use the new ACE enabling macro as well as adding the #pragma - instantiate to placate Edison Design Group compilers. - - * tao/cdr.h: Changed default for CDR CTOR marshal factory to - reflect the new name of the default marshal factory variable. - - * tao/orbobj.cpp (CORBA_ORB_init): Inserted call to - TAO_Marshal::initialize(). - - * tao/marshal.*: Added TAO_Marshal class to scope static - initialization methods for the marshalling engine. - TAO_DEFAULT_MARSHAL_FACTORY has moved inside of this. - -Sun Aug 3 13:12:03 1997 Douglas C. Schmidt - - * tests/Cubit/TAO: Continued to improve the formatting of these - tests. - -Sat Aug 2 13:55:40 1997 Douglas C. Schmidt - - * tests/Cubit/TAO: Cleaned up some of the formatting so that - it is easier to read. - -Thu Jul 31 16:19:43 1997 Chris Cleeland - - * tao/corba.h: Removed incorrect #include "tao/corba.h" in this - file. Bad form. - -Thu Jul 31 15:19:43 1997 Chris Cleeland - - * tests/Cubit/TAO/*.{h,i,cpp}: Changed all #include of specific - header files to include the application-level "tao/corba.h". - - * tests/Cubit/TAO/Makefile (BIN): Removed test1_svr and test1_clnt - for now until we can get them working again. They stopped working - after the BOA API changed and the non-standard get_request() - method removed. - - * tao/any.h: Inserted #includes which insure that this header file - is not position-dependent on other header files. - - * tao/corba.h: Created this catch-all header file for APPLICATIONS - to use as a single entry point. Currently it just includes all - TAO header files, but will eventually be pared down to only those - headers which warrant public exposure. - -Wed Jul 30 16:55:02 1997 Chris Cleeland - - * tao/typecode.i (CORBA_TypeCode): Re-ordered member - initialization to correspond to declaration order. - - * tao/{typecode,orbobj,optable,decode,cdr}.cpp: Added explicit - typecast to CORBA_ULong/unsigned long to eliminate warnings about - comparisons btw. signed and unsigned entities. - - * tao/optable.cpp (bind): Put in explicit return type for - TAO_Active_Demux_OpTable::bind(). - -Wed Jul 30 14:18:02 1997 Chris Cleeland - - * tao/Makefile: Corrected automatic definition of TAO_ROOT and - fixed all dependencies on tao header/inline files. - - * tao/{typecode,object}.i: Moved a few methods to the beginning of the file - so that the compiler KNOWS that they are inlined when it hits the - first reference to them later in the file. - - * tao/object.cpp: Added an end-of-line to silence a very picky SGI - compiler. - -Wed Jul 30 10:05:38 1997 Douglas C. Schmidt - - * tao/connect.cpp: Removed a number of explicit template - instantiations that are already included in ACE. - -Wed Jul 30 14:20:18 1997 Darrell Brunsch - - * tao/boa.{i,h,cpp}: Removed the #include of "tao/objtable.h" and - instead moved the methods that needed it from boa.i to boa.cpp - -Wed Jul 30 13:58:02 1997 Darrell Brunsch - - * tao/boa.h: Added #include of "tao/objtable.h" since it is needed - in boa.i (which is included here when inlining is turned on) - -Wed Jul 30 10:05:38 1997 Douglas C. Schmidt - - * tao/boa.h: Removed the #include of "tao/objtable.h" which seems - to be unnecessary and may cause problems for template - specialization. - - * tao/iiopobj.i (IIOP_Object): Changed the second parameter to the - IIOP_Object constructor so that we can is a const - IIOP::ProfileBody &. This prevents a compiler warning. - - * tao/typecode.cpp (private_id): Removed unused variable status. - - * tao/objtable.cpp (bind): Removed the temp variable, which - was unused. - -Tue Jul 29 19:31:11 1997 Douglas C. Schmidt - - * tao/boa.cpp (get_boa): Added casts of ACE_UINT32 so that we - don't have ambiguous calls to the constructor of ACE_INET_Addr. - - * tao/deep_copy.cpp (deep_copy): Removed an unreachable return - value. - -Mon Jul 21 15:08:36 1997 Chris Cleeland - - * TAO version 0.0.7, released Mon Jul 21 15:08:36 1997. - -Mon Jul 21 12:06:16 1997 Darrell Brunsch - - * tao/object.cpp: removed the #include of object.i since it will - always be #included in object.h - -Thu Jul 17 16:54:38 1997 Douglas C. Schmidt - - * TAO version 0.0.6, released Thu Jul 17 16:54:38 1997. - -Thu Jul 17 16:43:23 1997 Chris Cleeland - - * tao/{optable,objtable}.cpp: Updated the explicit template - instantiations at the end of these files to reflect the changes - that Andy made. - -Thu Jul 17 10:08:45 1997 Aniruddha Gokhale - - * tao/align.h: A very subtle error in "align_binary" was corrected. I - was assuming that align_binary is always called by - "ptr_align_binary". In the original inline function versions of - align_binary and ptr_align_binary, the function align_binary would - subtract 1 from the specified alignment that ptr_align_binary - provided. Since I assumed that "align_binary" would always be - called by "ptr_align_binary", I subtracted the 1 in - ptr_align_binary and passed the result to "align_binary". This - caused all sorts of problems for application code that directly - called "align_binary". This error has been fixed. The macros for - align_binary and ptr_align_binary are now exactly as the original - inline functions. - - * tao/any.{h,cpp}: Added comments. In addition, in the code for - Any::replace, we check if "_value" exists before trying to - DEEP_FREE it. Otherwise this was resulting in a segmentation fault - violation. - - * tao/boa.{h,i}: Added comments and changed "release" to CORBA_release - - * tao/cdr.{h,cpp}: Added some comments and removed some stuff that was - under #if 0 .. #endif - - * tao/corbacom.h: Added lots of comments for the CORBA_String_var class - - * tao/decode.cpp: Made TAO_Marshal_Union::decode to work, added comments. - - * tao/encode.cpp: Made TAO_Marshal_Union::encode to work, added comments. - - * tao/factories.{h,cpp}: Added lots of comments. Removed "void - object_lookup_strategy" method since we do this in the parameters - class. Added code that will use a user defined lookup strategy if - the corresponding flag is set. This needs to be tested. - - * tao/iiopobj.{i,cpp}: In the allocation and deallocation of the buffer - for object key, we now use "new/delete" instead of "malloc/free". - - * tao/interp.cpp: commented out a line that decremented 4 from the - offset provided for indirected typecodes. I guess this was plain - hack to get some broken things to work. - - * tao/objtable.{h,cpp}: Added lots of comments. Added code that will use - template specialization for the dynamic hashing case. In addition, - improved the destructors of the classes since previously, these - were not releasing occupied memory. - - * tao/optable.{h,cpp}: Added lots of comments. Added template - specialization for dynamic hashing scheme. Made dynamic hashing - scheme the default. Added a new definition for "struct - TAO_operation_db_entry". The idea is that an IDL compiler will - generate a database of operations and their corresponding - skel_ptrs. Such a database is now passed to teh constructors of - the operation lookup tables. This way, only one instance of such - lookup tables can be shared by any number of objects implementing - the same interface. - - * tao/params.{h,i,cpp}: Made dynamic hashing the default. Added a hook - by which users can supply their lookup strategies. *Needs testing*. - - * tao/typecode.{h,i,cpp}: Added comments and many changes. The private - state's constructor now takes an argument that is a TCKind - representing the TypeCode kind of the object of which we are the - private state. Removed "child_free". Instead, we introduced a - destructor for the private state that frees all the - children. Another important change is to the constructor of the - TypeCode class. We pass a "parent" pointer, if any, to the - constructor. All children typecodes will share the octet buffer of - the parent. Only freestanding typecodes will allocate octet - buffers. We have a new data member called "non_aligned_buffer_" - because the buffer we allocate may not be aligned on a 4 byte - boundary. As a result, we may start using the buffer at a shifted - position to the right. However, we do not want to lose a handle to - the original buffer that was allocated because at the time of - freeing, this pointer needs to be freed. - - * tests/Cubit/TAO: Modified a few files (method_db.i, cubitS.cpp) - so that they use the modified optable and objtable classes. Added - a README file to indicate how to run the example. - - * tests/Thruput_test: Modified virtually all the files to make it - work with the latest TAO release and its include files. Also, - changes similar to Cubit were necessary due to changes in the - objtable and optable classes. - -Wed Jul 16 14:17:01 1997 Chris Cleeland - - * tao/params.*: Eliminated unnecessary - ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES checks from - TAO_OA_Parameters (unnecessary b/c it's not a template). Also - corrected the type of TAO_OA_Parameters::ace_singleton_lock_. - -Wed Jul 16 11:34:36 1997 Chris Cleeland - - * tao/boa.cpp: Removed some unused code. - - * tao/compat/objbase.h: Added explicit check for prior inclusion - of ace/OS.h, with an error being produced if it's not included. - This will help keep me honest and remember to always include OS.h - beforehand, since I do most of my development on non-WIN32 - platforms. - - * tao/*.{h,cpp}: Added #include "ace/OS.h" before every inclusion - of . This is required on WIN32 platforms because - objbase.h eventually ends up including , which is the - wrong version of winsock from what ACE requires. Thus, by - including OS.h prior to objbase.h, objbase.h ends up not trying to - include a winsock header. - - * tao/orbobj.cpp: Added missing #include for tao/debug.h. - -Wed Jul 16 10:55:55 1997 Darrell Brunsch - - * tao/PC_Install.bat: removed it since it isn't needed anymore - - * tao/TAO.dsp: Changed include path and removed calling of - PC_Install.bat - - * tests/Cubit/TAO/{client,server}.dsp: Changed include path - -Tue Jul 15 16:13:53 1997 Chris Cleeland - - * tests/Cubit/TAO/cubitC.cpp: Added missing calls to Release() - after QueryInterface() calls. The tip-off that this wasn't - happening was the fact that, upon client exit, there were upwards - of 15 references to the object references. Now it's only 5-7 - (more work to go). - - * tests/Cubit/TAO/*: Changed all #include paths to be "tao/...". - Also, changes to orb.h (see below) obviated additional header - inclusion in certain files. - - * tao/compat/*.h: Changed the guts of these files so that they - work more like their "real" counterparts in the VC++ 5.0. This - should encourage compatibility. Note that, unlike the previous - files, objbase.h MUST be included before initguid.h; this is - consistent with the model on WIN32. - - * tao/*.{h,cpp}: Changed all #include paths to be "tao/...". - Also, changes to orb.h (see below) obviated additional header - inclusion in certain files. - - * tao/giop.cpp: Removed get_request() crufty old code. - - * tao/iiopobj.cpp: Backed out many prior special-code additions - for defining IIDs. Hopefully the need for these is negated by - changes elsewhere in the "compat" files. - - * tao/object.cpp: Corrected the conditional compilation switch - used to determine if we define IID_IUnknown. This now happens - whenever WIN32 isn't defined, instead of before when it was only - on unix or vxworks platforms. - - * tao/Makefile: Eliminated the need to copy files into a "proto/" - directory; now, everything is built into and used from the "tao" - directory. - - There is also a new, optional, environment - variable--TAO_ROOT--which should be set to the ".../TAO" - directory. If it's not set, the Makefile will set it to - WRAPPER_ROOT/TAO. - - Lastly, libcorba.* has changed to libTAO.*. - - * tao/orb.h: Eliminated many header files which had been - explicitly included here and were causing all manner of problems - with circular includes. Library components must now be careful to - include appropriate headers for all components they use, and we - will likely have to create a corba.h file for clients to use. - -Fri Jul 11 12:12:40 1997 Darrell Brunsch - - * tao/TAO.dsp: changed to use ace-r.dll in the release - version - - * tests/Cubit/TAO/{client,server}.dsp: changed to use ace-r.dll - and tao-r.dll for the release versions. - -Thu Jul 10 15:47:24 1997 Chris Cleeland - - * docs/: Removed the following obsolete files: README.apm, - BUILDING, and TESTS. - - * tao/params.*: Moved the instance() methods into the .cpp from - the .i, as well as the declaration for the singleton locks. - Having the singleton locks declared in the .i file caused much - consternation when ACE inlining was turned on. - - * tao/iiopobj.cpp: #ifdef'd the IID_STUB_Object declaration added - a few days ago so that it happens one way on NT, and another in - the rest of the Universe. I would have preferred to find a more - general solution, but didn't find one quickly enough to satisfy my - current requirements. - - * tao/roa.*: Removed get_request() method. This should improve - our McCabe scores ;-) - - * tao/boa.h: Removed get_request() method. - -Wed Jul 9 14:44:31 1997 Darrell Brunsch - - * TAO-Install: Added installation instructions for NT - -Tue Jul 8 20:52:06 1997 Darrell Brunsch - - * tao/PC_Install.bat: Made it very quiet. - - * tao/params.{cpp,h,i}: Changed TAO_OA_PARAMS from a - ACE_Singleton to a plain singleton by just integrating the - ACE_Singleton code into the class. - -Tue Jul 8 14:27:47 1997 Darrell Brunsch - - * tao/except.h: added ACE_Svc_Export to SYSEX macro - - * tao/iiopobj.cpp: changed declaration of IID_STUB_Object - to include ACE_Svc_Export - - * tao/stub.h: added ACE_Svc_Export to IID_STUB_Object - -Tue Jul 8 12:44:14 1997 Darrell Brunsch - - * tao/orbobj.cpp: Put the "*" in before the comment since it is - supposed to be there. Put a space between it and the comment - to get rid of the warning which VC was giving originally. - -Tue Jul 8 10:21:27 1997 Darrell Brunsch - - * tao/typecode.cpp: Changed a few loop counters from int to - CORBA_ULong to get rid of unsigned/signed comparison warnings - - * tao/orbobj.cpp: Got rid of a "*" before a comment. Looked like - a typo - - * tao/PC_Install.bat: Replaced "#...." with "rem ...." - -Mon Jul 7 20:59:05 1997 Douglas C. Schmidt - - * tests/Cubit/TAO/test1_{svr,clnt}.cpp (main): Added template - specialization code and updated the formatting. Thanks to Arturo - Montes for reporting this. - - * tests/Cubit/TAO/test1_svr.cpp (main): Added the -i options to - getopt(). Thanks to Arturo Montes for - reporting this. - - * TAO/tao/orbconf.h (SIZEOF_LONG_DOUBLE): Added a - #define for M_UNIX. Thanks to Arturo Montes - for reporting this. - -Sun Jul 06 02:37:24 1997 Douglas C. Schmidt - - * TAO version 0.0.5, released Sun Jul 06 02:37:24 1997. - -Sun Jul 6 00:10:28 1997 Douglas C. Schmidt - - * tao: Fixed all the code so that we put ACE_MT around all the - ACE_GUARD_RETURN macros. - - * tao: Updated all of TAO to make sure we use [] when deleting - arrays in order to avoid memory leaks. This looks like lots of - sloppiness left over from the original SunSoft IIOP code. - -Sat Jul 5 16:12:31 1997 Douglas C. Schmidt - - * tao/{any,iiopobj,nvlist,principa,request,roa,svrrqst,typecode}.cpp: - Fixed a double-deletion of a lock. - - * tao/typecode.i: Cleaned up lots of minor warnings with the code - that are only revealed when running GCC. The code should now - compile almost completely cleanly with -wall. - - * tao/typecode.{i,h}: Changed the name of TC_PRV_State to - TC_Private_State. - - * tao: Replaced ACE_Thread_Mutex with ACE_SYNCH_MUTEX so that the - code will compile on non-threaded and threaded platforms alike. - - * tao/marshal.cpp: Added template specializations for the Marshal - primitives. Thanks to Arturo Montes for - reporting this. - - * tao/Makefile (LDLIBS): Replaced -lcorba with -lACE so that we no - longer have problems with circular link dependencies. Thanks to - Arturo Montes for reporting this. - -Sat Jul 05 13:25:23 1997 Douglas C. Schmidt - - * TAO version 0.0.4, released Sat Jul 05 13:25:23 1997. - -Sat Jul 5 12:39:57 1997 Douglas C. Schmidt - - * tao: All throughout TAO I removed the direct use of system - include files in lieu of using ace/OS.h. - - * tao/{orbobj,typecode}.cpp: orb.h must be included before others - include files. Previous includes prevent correct use of ACE config - flags, therefore, I removed them. Thanks to Arturo Montes - for reporting this. - - * tao/{debug,roa}.cpp: changed _POSIX_THREADS to ACE_HAS_PTHREADS. - Thanks to Arturo Montes for reporting - this. - - * tao/decode.cpp (decode): The casting (CORBA_ULong) kind is - unnessary and wrong so I removed it. Thanks to Arturo Montes - for reporting this. - - * tao/debug.cpp (emit_prefix): Changed line 99 from - - #define emit_prefix (stream) ... - - to - - #define emit_prefix(stream) ... - - The blank character prevent after macro name (emit_prefix) prevent - correct definition. Thanks to Arturo Montes - for reporting this. - -Sat Jul 5 01:04:24 1997 Douglas C. Schmidt - - * TAO/tao/xdr.cpp: Removed unistd.h and string.h from the xdr.cpp - file since those aren't necessary. Thanks to Arturo Montes - for reporting this. - -Fri Jul 4 00:18:21 1997 Douglas C. Schmidt - - * tao/roa.h: Removed derogatory COMments ;-). Thanks to Anton van - Straaten for reporting this. - -Thu Jul 3 16:16:14 1997 Darrell Brunsch - - * Added ACE_Svc_Export to a couple of declarations to make NT - happier - -Thu Jul 3 13:43:20 1997 Darrell Brunsch - - * Added Visual C++ 5.0 project and workspace files for the TAO - library and Cubit test - -Wed Jul 2 12:44:42 1997 Aniruddha Gokhale - - * TAO/tests: Moved tests from TAO/IIOP/tests to TAO/tests - -Wed Jul 02 00:20:28 1997 Douglas C. Schmidt - - * Compiled the first alpha release of TAO on Solaris just - to make sure it still works. So far, so good... hence, - the first alpha release is out the door! - -Tue Jul 1 23:35:53 1997 Douglas C. Schmidt - - * VERSION: Added a VERSION file, starting at version 0.0.0... - -Tue Jul 1 23:00:15 1997 Aniruddha Gokhale - - * Added a new tests directory with the Cubit and TTCP - examples. The older test directory will be deleted soon. - - In addition, the tc_constants in the tc_constants.cpp file are - declared with an ACE_Svc_Export to make the Win NT compiler - happy. Extern declarations in typecode.h had the same changes. - - * Updated the PC_install.bat file. In addition, there was one more - warning in typecode.cpp (Win NT compiler) that was fixed. Finally, - in the the tc_const.cpp file, the ACE_Svc_Export was used - accidently. This has been fixed. - - * A number of files were updated with ACE_Svc_Export so that - variables and classes do not remain unresolved for Win32 - platform. Similarly, Irfan had sent me a list of warnings that the - Win NT compiler was giving. These are fixed. - - * marshal.*: Changed the way make_marshal_object works. Instead of - having a switch statement, we index into a private table of - marshal objects using the TypeCode _kind field. MarshalFactory now - maintains this private table. - -Mon Jun 30 17:39:02 1997 Douglas C. Schmidt - - * Added a new README file and a COPYING file that explains the - contents of TAO and clarifies its copyright status. - -Sun Jun 29 10:06:50 1997 Aniruddha Gokhale - - * marshal.*: Added CORBA_Environment as a parameter to - make_marshal_object factory method. The reason for doing this was - to enable inlining of the CDR::encode and CDR::decode methods. - - * typecode.*: Changed the way typecodes get deleted. Constant - typecodes are now owned by the ORB and their private state freed - when the ORB dies. IDL generated typecodes are not owned by the - ORB and are the only ones whose refcount matters. Typecodes - belonging to the IDL generated typecodes are also not owned by the - ORB and there is no effect on their refcount. They get freed only - if the parent is destroying itself. - - In typecode.i, methods such as length and content_type were not - getting inlined due to presence of switch statements. Converted to - if/else. - - * interp.cpp: Bug fix: Had previously forgotten to update the - size/alignment of the private state of the typecode. - -Fri Jun 27 14:27:49 1997 Aniruddha Gokhale - - * any.cpp: The deep_copy and deep_free optimizations applied. In - the previous release, I had forgotten to add these to the Any - constructor (that calls deep_copy) and Any destructor/replace - (that call deep_free). - - * connect.cp, factories.cpp: Added code that hardcodes the socket - buffer sizes to 64K. This is a hack for the time being. - -Thu Jun 26 10:02:47 1997 Aniruddha Gokhale - - * Some more progress on IDL compiler. Generates the client and - server side files without much contents in it. - -Thu Jun 26 09:49:38 1997 Aniruddha Gokhale - - * Added a full range of optimizations to the TAO IIOP interpretive - marshaling engine. The static methods encoder and decoder have - been removed from the CDR class. Instead, separate classes for - marshaling have been created for each individual data type. The - CDR stream maintains a factory that returns an appropriate - marshaling object depending on the data type to be - marshaled. Files added include marshal.h, marshal.i, encode.cpp, - decode.cpp, deep_free.cpp, and deep_copy.cpp. The marshal.h file - defines classes for an abstract MarshalObject. The factory is - responsible to return a concrete specialized instance of the - MarshalObject. - - * Updated the CORBA_TypeCode class so that it now provides all the - CORBA_2.0 compliant operations. These include length(), - content_type(), member_type(), member_label(), - discriminant_type(), id(), default_index(). The equal() operations - is still not implemented. In addition, precomputation - optimizations are applied to the TypeCode class. This includes - precomputing various parameters (if any) of a TypeCode. For - example, a struct TypeCode keeps track of the member count and - member types. As a result, it is not necessary to interpret the - CDR encapsulated stream to retrieve these parameters. - - * At this time, there are some problems getting the Unions to work. - -Thu Jun 12 15:45:49 1997 Chris Cleeland - - * IIOP/lib/objtable.cpp: Added explicit template instantiations - for ACE_Hash_Map_Manager<>. - - * IIOP/lib/giop.*: Finally got rid of all those methods that took - ACE_HANDLE as the argument. Now, all those operate on - ACE_SOCK_Streams. - -Thu Jun 5 10:15:21 1997 Chris Cleeland - - * IIOP/lib/giop.cpp: Corrected output format in error message. - -Thu Jun 5 10:09:01 1997 Chris Cleeland - - * IIOP/test/svr.cpp: Added a new class to catch SIGINT and - terminate. This was necessary to Quantify the server process. - - * IIOP/lib/orbobj.h: Added ACE_INLINE to forward decls of - CORBA_release() and CORBA_is_nil(). - -Wed May 23 14:39:01 1997 Brian Mendel - - * IIOP/lib/objtable.{h,cpp}: Added template specialization of - ACE_Hash_Map_Manager for char*'s. - - * IIOP/test/cubitS.cpp: Fixed type_id to be of type CORBA_String_var. - Also, added a debug msg to print the object address to show the - object for which the request is made. - - * IIOP/test/svr.cpp: Added capability to create multiple Cubit - objects via command line options. Added -n for number of objects and - -k for specifying a base name. For instance, -k Beevis -n 2 creates - Beevis1 and Beevis2 objects. The clnt can then specify a specific - object for the request as usual. - -Wed May 22 12:28:45 1997 Brian Mendel - - * IIOP/test/clnt.cpp: Deleted VxWorks specific sections. Command - line is now working for VxWorks. - * IIOP/test/svr.cpp: Deleted VxWOrks specific sections. Command line - is now working for VxWorks. - -Wed May 22 11:31:42 1997 Chris Cleeland - - * IIOP/test/svr.cpp: Added better error checking and messages, and - performed general re-formatting. - - * IIOP/test/method_db.i (initialize_method_db): Changed arg type - to use a pointer to the abstract class TAO_Operation_Table. - - * IIOP/test/cubitS.cpp (_skel_Cubit::_skel_Cubit): Added better - error checking and messages. Also defaulted to use the linear - object table implementation rather than the hashed to simplify - debugging. - - * IIOP/test/clnt.cpp: Moved some code around so that more of the - code is common is less is specific to VxWorks and other platforms. - Also did general re-formatting. - - * IIOP/lib/optable.cpp (TAO_Linear_OpTable::find): Initialization - of the loop variable makes the loop work properly. - - * IIOP/lib/objtable.cpp (TAO_Dynamic_Hash_ObjTable::find): - Explicitly specified length of object key in CTOR for ACE_CString - because object keys are not zero-terminated. - - * IIOP/lib/giop.cpp: Added newlines to the end of all ACE_DEBUG() - messages. - - * IIOP/lib/factories.cpp: Added template specializations for - ACE_Hash_Addr. - -Tue May 22 09:32:41 1997 Brian Mendel - - * IIOP/lib/cdr.h: Deleted #define old_value ACE_INLINE and - #define ACE_INLINE old_value lines. Added #undefs for ACE_INLINE - prior to redefines. Changes required to compile on Windows NT. - -Tue May 20 14:47:46 1997 Chris Cleeland - - * IIOP/test/cubitS.h: Removed forward decl of - TAO_Active_Operation_Table. - - * IIOP/test/{cubitC,cubitS}.*: Changed include quoting characters - from [<>] to double-quotes. - - * IIOP/test/Makefile: Removed cubit.o from clnt and svr target - (this has been subsumed by cubit[CS]). - - * IIOP/lib/optable.h: Changed ACE_RW_Mutex to ACE_SYNCH_RW_MUTEX. - - * IIOP/lib/optable.cpp: Inserted explicit template instantiations. - - * IIOP/lib/Makefile: Added optable to the Makefile. - - * IIOP/lib/optable.cpp: Moved ~TAO_Operation_Table() into here. - - * IIOP/lib/object.i: Moved find() and bind() into the cpp file. - Moved ~TAO_Operation_Table() into optable.cpp. - -Tue May 20 14:39:00 1997 Brian Mendel - - * IIOP/test/*: Commited changes to Cubit Example as a current snapshot - of required changes. - - * IIOP/lib/*: Changes required for header file includes. Added - conditionals around _IIOP_BUILD_ - -Tue May 20 13:55:58 1997 Chris Cleeland - - * IIOP/test/*: Commited this stuff in-process so that Brian - M. doesn't have to duplicate effort. - -Tue May 20 13:04:00 1997 Brian Mendel - - * IIOP/lib/debug.cpp: Deleted spaces between flockfile (f) and - funlockfile (f). Changed instances of debug_filter to - TAO_debug_filter. Deleted space between emit_prefix (stream). - - * IIOP/lib/cdr.cpp Added undef(s) for ACE_INLINE and - do_undef_on_ACE_INLINE to eliminate redefinition problems. - - -Tue May 20 10:55:09 1997 Chris Cleeland - - * IIOP/lib/cdr.h: Fixed the automatic inclusion of cdr.i into - cdr.h by checking to see if __ACE_INLINE__ is not defined and, if - so, defining ACE_INLINE to be "inline" (we tidy up the namespace - immediately after the inclusion of cdr.i, too). See source for - comments regarding why this is done. - - * IIOP/lib/optable.cpp (TAO_Linear_OpTable_Entry): Removed setting - of opname and skel_ptr to zero in CTOR since the CTOR for those - already insures this. Moreover, NT's compiler was complaining - about ambiguous resolutions. - - * IIOP/lib/{orbobj,giop,debug,boa}.cpp: Fixed reference to - debug_level so it's TAO_debug_level. - - * IIOP/lib/object.h: Replaced inclusion of optable.h with forward - decl of TAO_Operation_Table. - - * IIOP/lib/optable.cpp: Fixed names of methods that were changed - in the header but never changed in the source. Amazing that - neither g++ nor Sun C++ caught these gaffs! (Finally, the NT - compiler wins). - - * IIOP/lib/{orbobj,object}.h: Changed the forward decls of - CORBA_release() and CORBA_is_nil() so that they are only in effect - when inlining is NOT being used. - - * IIOP/lib/giop.cpp: Fixed incorrect passing of an object to - ACE_DEBUG() where an int is expected. - -Mon May 19 17:16:34 1997 Chris Cleeland - - * IIOP/lib/roa.cpp: Explicit cast rids us of a warning. - - * IIOP/lib/params.h: Fixed CTOR name. Once again I'm surprised - G++ didn't catch this. - - * IIOP/lib/optable.h: Corrected erroneous method signature on - bind(). - - * IIOP/lib/objtable.cpp: Corrected erroneous method signature on - TAO_Linear_ObjTable::bind(). - - * IIOP/lib/{object,orbobj}.h: Forward declaration of - CORBA_release(CORBA_Object_ptr) and CORBA_is_nil(CORBA_Object_ptr) - were commented out. I think this will cause a problem when we - DON'T inline, but I'll cross that bridge later. - - * IIOP/lib/{orb,factories}.h: Made inclusion of some headers - conditional on the compilation phase (building the library or an - application). - - * IIOP/lib/cdr.i: Removed incorrect default arguments (g++ didn't - catch them). - - * IIOP/lib/Makefile: Removed thread from the header list. - -Mon May 19 10:07:00 1997 Chris Cleeland - - * IIOP/lib/optable.cpp: Changed implementation of the operation - table and the parameters repository so that they use the right - class names. - -Sat May 17 17:18:38 1997 Aniruddha Gokhale - - * First pass at providing a backend to the SunSoft's CORBA IDL - compiler front end. - -Fri May 16 17:30:31 1997 Chris Cleeland - - * IIOP/lib/svrrqst.*: Corrected some comments, adjusted some - argument type names to reflect their new, namespace-sanitized - names, and moved short methods into a new inline file. - - * IIOP/lib/stub.h: Corrected some comments and adjusted some - argument type names to reflect their new, namespace-sanitized - names. - - * IIOP/lib/roa.cpp: Corrected syntax error and fixed up typedef. - - * IIOP/lib/params.*: Removed extraneous comments and fixed - argument type on demux_strategy(). - - * IIOP/lib/orbobj.*: Added comments, removed static pointer to - the ORB. - - * IIOP/lib/optable.h: Removed extraneous comments and fixed - typedefs. - - * IIOP/lib/objtable.cpp: Fixed some syntax errors introduced by - reformating. - - * IIOP/lib/object.cpp: Adjusted some argument type names to - reflect their new, namespace-sanitized names. - - * IIOP/lib/invoke.cpp: Removed crufty #includes and adjusted some - argument type names to reflect their new, namespace-sanitized - names. - - * IIOP/lib/iioporb.*: Moved short methods into inline file, added - IIOP_ORB_ptr typedef, and changed data member to conform to ace - standards. - - * IIOP/lib/iiopobj.*: Added the second CTOR that I forgot last - time and adjusted some argument type names to reflect their new, - namespace-sanitized names. - - * IIOP/lib/giop.h: Added comments for various enums and - structures. - - * IIOP/lib/giop.cpp: Switched various GIOP::Invocation methods to - use handler_->peer() for socket communication rather than going - through a file descriptor. Also began the arduous (no other word - could explain it!) process of converting the homegrown debugging - message macro uses into ACE_DEBUG() uses. - - * IIOP/lib/factories.*: Added explicit DTOR for TAO_Client_Factory - and completed all the darn explicit template instantiations. - Changed 'Svc_Handler' to 'TAO_Client_Connection_Handler', and - added the forgotton TAO_Client_Factory::connector() method. - - * IIOP/lib/debug.*: Added 'TAO_' prefix to global debug state - variables and removed crufty #includes. - - * IIOP/lib/connect.cpp: Change ROA_Handler to - TOA_OA_Connection_Handler (missed these the last time through). - - * IIOP/lib/cdr.cpp: Added responsive commentary. - - * IIOP/lib/boa.cpp: Added comments to the dispatching code. - - * IIOP/lib/{any,boa,request,typecode}.cpp: Removed references to - thread.h/connmgr.*. - -Thu May 15 19:08:16 1997 Douglas C. Schmidt - - * Finished updating all the reformatting. - -Thu May 15 15:54:49 1997 Chris Cleeland - - * IIOP/lib/principa.h: Corrected syntax error which eliminated the - _refcount data member. - - * IIOP/lib/{params,roa}.*: Updated class names to reflect ROA --> - TOA_OA pseudo-namespace change. - - * IIOP/lib/orbobj.*: Updated CORBA_ORB_init() to return pointer to - new ORB singleton. - - * IIOP/lib/orb.h: Commented out some include files to eliminate - wierd circular dependencies. - - * IIOP/lib/optable.h: Moved TAP_Operation_Table into here. Put - OpTable* classes into the TAO_Operation_Table* pseudo-namespace. - - * IIOP/lib/objtable.*: Moved TAO_Object_Table into here. Moved - the Entry classes out of the scope of their respective concrete - operation tables, so they're now named _Entry. - - * IIOP/lib/object.*: Moved TAO_Operation_Table into optable.*, and - added a data member which carries a pointer to the ORB with which - the object is associated. - - * IIOP/lib/iioporb.*: Added a singleton typedef for the ORB which - is what CORBA_ORB_init() will now return. Modified - string_to_object() so that it sets the ORB on the CORBA_Object - that it returns. - - * IIOP/lib/{iiopobj,nvlist}.h: Added some responsive commentary. - - * IIOP/lib/giop.cpp: Modified connection establishment code in - GIOP::Invocation::start() to utilize the client connection manager - in the ORB. - - * IIOP/lib/giop.h: Put a TAO_Client_Connection_Handler* into - GIOP::Invocation in place of the client_endpoint. - - * IIOP/lib/factories.*: Updated explicit template instantiations, - added TAO_Client_Connection_Handler. - - * IIOP/lib/connect.*: Renamed things--ROA_Parameters --> - TOA_OA_Parameters, ROA_Handler --> TOA_OA_Connection_Handler. - - * IIOP/lib/boa.h: Moved TAO_Object_Table into objtable.*, added - comments where appropriate. - - * IIOP/lib/{any,cdr,iioporb,invoke}.*: Re-formatting and creation - of inline method file. - -Tue May 13 21:51:22 1997 Douglas C. Schmidt - - * Continued to update the format of the TAO source code so that it - will be consistent with the style used in ACE. - -Mon May 12 17:02:29 1997 Chris Cleeland - - * IIOP/lib/roa.*: Moved short method into an inline file. - Miscellaneous reformatting. Adjustment to new type names - (prefaced by TAO_ for namespace protection). - - * IIOP/lib/object.*: Moved short methods into an inline file. - Changed lookup()/register_op() to find()/bind() for consistency - with established ACE APIs. Miscellaneous reformatting. - - * IIOP/lib/iiopobj.*: Moved short methods into an inline file. - Added CTOR for IIOP::Version and IIOP::ProfileBody. Added - convenience CTOR for IIOP_Object where the profile can be - supplied. Miscellaneous reformatting. - - * IIOP/lib/boa.*: Moved short methods into an inline file. Changed - lookup()/register_obj() to find()/bind() for consistency with - established ACE APIs. - - * headers: Added comments to force C++ mode in emacs for header - files, and changed SCCS version tag info to RCS version tag info. - -Wed May 7 14:49:46 1997 Aniruddha Gokhale - - * IIOP/lib/corbacom.cpp: Some bugs from the CORBA_String_var class - have been fixed. Thanks to Brian Mendel for noticing these. - - * IIOP/lib/boa.cpp: In CORBA_BOA::dispatch, the opname local - variable of type CORBA_String_var is changed to be of type - CORBA_String. This was because the String_var class would assume - ownership of the quantity assigned and delete it. Thanks again to - Brian Mendel for noticing this. - -Tue May 6 14:06:49 1997 Aniruddha Gokhale - - * IIOP/lib/boa.hh: the register_obj's 2nd argument is changed from - CORBA_Object_ptr& to CORBA_Object_ptr - - * IIOP/lib/object.hh: the return type for register_op method on - CORBA_Object is changed from void to int to be consistent. - - Added a new method "get_subclass" to CORBA_Object that returns a - pointer to the subclass. Typeically, this would be pointer to an - object that implements an interface. - - * IIOP/lib/objtable.{hh,cpp}: @nd argument of register_obj changed - from CORBA_Object_ptr& to CORBA_Object_ptr. - - * IIOP/lib/orb.hh: the type signature of "skeleton" is changed to - take CORBA_Object_ptr rather than CORBA_Object_ptr& as its 2nd argument. - -Mon May 5 20:28:54 1997 Aniruddha Gokhale - - * IIOP/lib/boa.cpp: commented out code that uses the "void - *context" field. It doesn't make any sense to have it. - - * IIOP/lib/boa.hh: Added 2 pure virtual methods (shutting_down and - clean_shutdown). - - In addition, the "register_obj" method was added. It was missing before. - - * IIOP/lib/corbacom.cpp: String_var's constructor bug is fixed. It - was trying to free storage that was never allocated. - - * IIOP/lib/iiopobj.{hh,cpp}: Added a method - "get_name" that - retrieves the object name. - - * IIOP/lib/object.{hh,cpp}: Added a method - "get_name" that - retrieves the object's name or key. This is for debugging purposes. - - * IIOP/lib/orbobj.cpp: There was an infinite loop in parsing the - options to BOA_init. Fixed. - - * IIOP/lib/stub.hh: Added the "get_name" virtual method. - -Sat May 3 22:45:23 1997 Aniruddha Gokhale - - * IIOP/lib/boa.cpp: Added code temporarily that invokes the - skeleton that is looked up. We still need to add code that will - handle the case when no match is found on the operation names. - - * IIOP/lib/boa.hh: The register_obj method on TAO_Object_Table - now returns an integer indicating status of registering (-1 => - failure, 0 for success). - - * IIOP/lib/object.hh: The register_op method on - TAO_Operation_Table now returns an integer code (O for success, -1 - for failure). - - * IIOP/lib/objtable.{hh,cpp}: The register_obj method returns an - integer code representing either success or failure. - - * IIOP/lib/optable.{hh,cpp}: Added new files that implement - concrete strategies for operation name lookup. - -Fri May 2 08:48:29 1997 Aniruddha Gokhale - - * IIOP/lib/object.hh: Modified the signature of register_op on - TAO_Operation_Table to take a second argument to be a pointer to - the actual skeleton. - - Thanks to Brian Mendel for reporting this. - -Thu May 1 16:46:11 1997 Aniruddha Gokhale - - * IIOP/lib/object.{hh,cpp}: Added a method that can set the parent - pointer. - - * IIOP/lib/params.cpp: A hook has been provided in ROA_Factory to - enable the user to use a user-defined demux strategy. - -Wed Apr 30 22:00:51 1997 Aniruddha Gokhale - - * IIOP/lib/objtable.{hh,cpp}: Added two new files that define - different object demultiplexing strategies. - - * IIOP/lib/Makefile: Added objtable as additional source file to compile. - - * IIOP/lib/boa.cpp: Provided the default destructor for the - TAO_Object_Table. - - * IIOP/lib/boa.cpp: Provided the default destructor for the - TAO_Operation_Table. - - * IIOP/lib/orbobj.cpp: Added support for the -OAtablesize option - in the call to CORBA_ORB::BOA_init method. - - * IIOP/lib/params.{hh,i,cpp}: Added support to ROA_Factory to return - a specific object lookup strategy. - - *IIOP/lib/roa.cpp: The ROA constructor initializes its "objtable_" - private data member with the object lookup strategy returned by - ROA factory. - -Tue Apr 29 11:52:48 1997 Aniruddha Gokhale - - * IIOP/lib/any.hh: Moved CORBA_Any_ptr declaration to orb.hh. - - * IIOP/lib/boa.{hh,cpp}: Renamed BOA to CORBA_BOA. The CORBA_BOA class - maintains a pointer to an abstract TAO_ObjectTable class. Concrete - classes inheriting from TAO_ObjectTable will provide strategies - for lookup. - - Added virtual functions to do dispatch based on object key. In - addition, added a lookup method based on object key that delegates - the task of looking the object to the object table it maintains. - - Changed the signature of typedef CORBA_BOA::dsi_handler to be pointer to - member function of class CORBA_BOA. Eventually, this will point to - the dispatch method of class CORBA_BOA. - - Moved "struct Dispatch_Context" from roa.hh to boa.hh since we - want BOA to be a full fledged OA eventually and not remain an - abstract class as it is now. All other OA's such as ROA inherit - from BOA and only add extra functionality. - - * IIOP/lib/connect.cpp: There was a syntax error (missing comma) - in one of the ACE_DEBUG statements which has been fixed. - - * IIOP/lib/corbacom.{hh,cpp}: Added class CORBA_String_var as well - as the CORBA compliant CORBA_string_dup. - - * IIOP/lib/except.hh: Moved CORBA_Exception_ptr declaration to orb.hh. - - * IIOP/lib/object.hh: Added an abstract class - TAO_Operation_Table. CORBA_Object maintains a pointer to this - abstract class. The IDL compiler will eventually generate concrete - classes that employ different lookup strategies for operation name - lookup. - - * IIOP/lib/orb.hh: Added forward declarations to all CORBA_* - classes. In addition, moved all the CORBA_*_ptr declarations here. - - * IIOP/lib/orbobj.{hh,cpp}: Added the CORBA compliant BOA_init - method to class CORBA_ORB. Users can now pass arguments to - BOA_init. Eventually, we want to make this method return any of - the specialized OA's depending on the arguments. Right now, we get - a pointer to the ROA. - - * IIOP/lib/params.{hh,i}: Added some more methods and enum - declarations to the ROA_PARAMS singleton. - - * IIOP/lib/principa.hh: Moved the CORBA_Principal_ptr declaration - to orb.hh. - - * IIOP/lib/roa.{hh,cpp}: Moved some functionality to boa.hh. ROA - is now only a specialized form of BOA. - - * IIOP/lib/stub.hh: Moved the typedef for "skeleton" to orb.hh. - - * IIOP/lib/svrrqst.{hh,cpp}: Had to rename BOA to CORBA_BOA. - - * IIOP/lib/typecode.hh: Moved the CORBA_TypeCode_ptr declaration - to orb.hh. - -Tue Apr 22 23:30:19 1997 Chris Cleeland - - * IIOP/lib/connect.cpp (open): Added log message. - - * IIOP/lib/params.cpp (concurrency_strategy): Uses reactive - strategy when appropriate. - - * IIOP/lib/params.hh: Reactive strategy added. - -Tue Apr 22 21:03:15 1997 Chris Cleeland - - * IIOP/lib/giop.cpp: Changed erroneous ACE_GUARD calls to ACE_GUARD_RETURN - calls. - -Tue Apr 22 16:15:52 1997 Chris Cleeland - - * IIOP/lib/roa.cpp: Removed more POSIX thread calls. - - * IIOP/lib/invoke.cpp: Changed ForceSynchronousCancellation to - ACE_Synchronous_Cancellation_Required and made it use the ACE_OS - calls. - - * IIOP/lib/{typecode,svrrqst,request,principa,orbobj,nvlist,iiopobj,giop,except,any}.*: - Removed all vestiges of pthread mutexes...they are now - ACE_Thread_Mutexes. This will likely have to change if we want to - compile something completely devoid of threads, but that's another - day. Also, the mutexes have moved from being globals to being - members on the respective classes. No files should be dependent - on thread.hh any longer. - - * IIOP/lib/connect.cpp (open): Removed code obsoleted by use of - the Strategy_Acceptor. - - * IIOP/lib/{roa.cpp,connect.cpp},IIOP/tests/svr.cpp: Changes to - use new singletons described below. - - * IIOP/lib/params.*: Changed ROA_Parameters and ROA_Factory to use - ACE_Singleton<>. The singleton types are now named ROA_PARAMS and - ROA_FACTORY. - -Mon Apr 21 23:44:34 1997 Douglas C. Schmidt - - * IIOP/lib/roa.cpp (ROA): Changed spelling of clientAcceptor_ to - client_acceptor_ to be consistent with ACE style conventions. - -Mon Apr 21 10:52:42 1997 Chris Cleeland - - * IIOP/test/clnt.cpp: Moved call to CORBA_ORB_init() prior to the - parsing of the command line args. This got switched around during - porting to VxWorks. - - * IIOP/lib/roa.cpp: Changed calls using clientAcceptor_to use APIs - vended by ACE_Strategy_Acceptor. - - * IIOP/lib/roa.hh: Moved default thread flags into ROA_Factory. - - * IIOP/lib/params.*: Added ROA_Factory, a singleton which is the - beginning of an abstract factory dynamically producing runtime - strategies based on information found in ROA_Parameters. - - * IIOP/lib/connect.cpp: Added call to ROA_Handler's base class - CTOR in initializer list. - - * IIOP/lib/connect.hh: Changed ROA_Handler's CTOR so that it can - take an optional ACE_Thread_Manager* arg. This makes it - compatible with the CTORs for the base class. Also changed base - class for ROA_Acceptor to ACE_Strategy_Acceptor. - - * IIOP/lib/svrrqst.*: Changed references to BOA_ptr from TOA_ptr. - - * IIOP/lib/connect.*: ROA_Handler/ROA_Acceptor moved from roa.* - into here. - - * IIOP/lib/params.*: ROA_Parameters moved from roa.* into here. - - * IIOP/lib/boa.*: What used to be TOA is now BOA, and lives in - here. - - * IIOP/lib/roa.*: Major restructuring required removal of all - classes (see other log entries) from here. This file now houses - only the ROA class. - - * IIOP/lib/{tcpoa.*,toa.*}: Removed because of name changes from - TCP_OA->ROA and TOA->BOA. - -Fri Apr 18 08:09:19 1997 Brian Mendel - - * cdr.hh,corbacom.{hh,cpp},giop.cpp,marshall.cpp,typecode.cpp: - Changes required for WChar missed in earlier committed code. - - * connmgr.cpp: Changes required for select statement. - - * nvlist.cpp: Conditional include for memory.h added. VxWorks - does not have memory.h. - - * object.cpp: Added conditional for VXWORKS to define - IID_IUnknown. - - * orbconf.hh: Minor tuning of the configuration file. - - * tcpoa.{hh,cpp}: Added VXWORKS conditional includes. - - * toa.cpp: Added VXWORKS conditional includes. - - -Mon Apr 15 17:01:00 1997 Brian Mendel - - * roa.cpp: Added return statement to ROA_Handler::open(void*) - method. - - * giop.cpp: Modified giop::read_buffer to replace undefined fc - with peer.get_handle(). Modified giop::incoming_message method - parameter list to match function prototype exactly. - - * tcpoa.cpp: Replaced fd instances in debug messages with - peer.get_handle() calls. - -Mon Apr 14 13:45:54 1997 Chris Cleeland - - * roa.{hh,i,cpp},tcpoa.cpp,svr.cpp: Replaced ACE_ROA with - ROA_Parameters, which is a GoF-style singleton. - -Sun Apr 13 00:01:56 1997 Chris Cleeland - - * roa.cpp: Fix continuation condition in ROA_Handler::svc()'s loop - so that it doesn't stop after one iteration. Also added some - debug messages. - - * giop.cpp: Fixed some returns being called with no value. This - should have been caught in the previous round of changes. - -Sat Apr 12 23:10:08 1997 Chris Cleeland - - * tcpoa.{hh,cpp}: TCP_OA::handle_message() now returns a value - indicating how a message was handled. - - * roa.cpp: ROA_Handler::handle_input() now returns a meaningful - value based on what TCP_OA::handle_message() returns. - - * giop.{hh,cpp}: Added end-of-file detection on socket - connections, and that is now propagated all the way back up - through GIOP::incoming_message(). I don't know if I violated - something in the spec by doing this, but it was necessary. I'll - look into it later. - -Thu Apr 10 11:49:44 1997 Chris Cleeland - - * giop.{hh,cpp}: Overloaded all methods dealing with connections - so that there are two, one taking a file descriptor as argument, - the other taking an ACE_SOCK_Stream. Right now, the *_Stream - version simply forwards to the fd-based one. I would have - preferred to get rid of the fd-based methods altogether, but we've - only converted the server runtime; the client is still using the - original sun code, which is effectively fd-based. In the course - of doing this, I also simplified the decls for incoming_message by - creating typedefs for some of the function pointers passed as - args. - - * orbconf.hh: Fixed the stupid auto-endian-ness detector - AGAIN...had my logic reversed! - - * roa.cpp: Adjusted code in accordance with changes to tcpoa.hh. - - * tcpoa.hh: Moved and renamed TCP_OA::dispatch_context to be - ::Dispatch_Context, and changed its endpoint member to be an - ACE_SOCK_Stream. - - * roa.hh: Fixed handle_input() to use the underlying peer() data - member for reading data, rather than using its argument. This is - so that when a different thread handles each connection, - handle_input() can simply be called repeatedly by svc(). - -Wed Apr 9 16:19:21 1997 Chris Cleeland - - * tcpoa.cpp: Fixed a problem that G++ didn't notice regarding - changing the notion of endpoints in servers from server_endpoint - to an ACE_HANDLE. - -Wed Apr 9 15:43:37 1997 Chris Cleeland - - * svr.cpp: The -p option is gone, and -e takes its place and is - required. This requires the user to specify not only the port - number, but also the IP address of on which the server should - listen for requests. See ACE_INET_Addr documentation for valid - string formats for addresses. Also, the -t option sets the "use - threads" global. - - * orbconf.hh: Hopefully resolved the tension between MS and Unix - platforms in inferring endian-ness of the target platform based on - preprocessor defines. We now check for i386, _M_X86, and vax - (yeah, like we really worry about that, but it's easy to do). - - * roa.{hh,i,cpp}: Added support for spawning threads to handle - incoming requests. This involves a state flag for whether or not - to use threads, calling activate() in ROA_Handler::open() if that - flag is set, and creating ROA_Handler::svc() that simply loops - calling handle_input(). - -Tue Apr 8 11:14:57 1997 Chris Cleeland - - * IIOP/test/svr.cpp: Moved setting of upcall(), forwarder(), - context(), etc. into here rather than in TCP_OA::TCP_OA(), which - is where I mistakenly stuck them a few days ago (duh!). - - * IIOP/lib/tcpoa.cpp: Removed setting of ACE_ROA::upcall(), which belongs - in the server code. I got confused because the function names - were so similar: tcpoa.cpp contains ::tcp_oa_dispatcher(), and - svr.cpp contains ::tcpoa_dispatch(). - - * IIOP/lib/roa.{hh,i,cpp}: Added forwarding function to ACE_ROA global namespace - hack. - - * IIOP/lib/orbconf.hh: Fixed preprocessor checks that auto-detect - endian-ness of this processor. - -Mon Apr 7 21:08:24 1997 Chris Cleeland - - * IIOP/test/test1_{clnt,svr}.cpp: THESE HAVE NOT BEEN CONVERTED TO - USE ACE EVENT HANDLING!! This round of changes explicitly - instantiates templates where required. - - * IIOP/test/svr.cpp: Global function ::OA_listen() no longer - exists; its functionality is now fully contained within ::main(). - If USE_ACE_EVENT_HANDLING is defined, a Reactor-based event loop - is used. The original intent was to allow conditional compilation - to select btw. the original method and a Reactor-based method. - However, weaving that into the library proved far more difficult - than anticipated, so more than likely not defining - USE_ACE_EVENT_HANDLING will cause massive grief. - - * IIOP/lib/toa.cpp: Changed call to TCP_OA::init() to reflect new - ACE_INET_Addr argument type. - - * IIOP/lib/tcpoa.cpp (TCP_OA): All initialization methods were - changed, specifically the CTOR and TCP_OA::init, to reflect the - introduction of ACE_INET_Addr. Two side-effects of using - ACE_INET_Addr are that (1) a server can specify the address on - which it wants to listen and (2) best that I can tell, the server - MUST specify the address on which it wants to listen because - otherwise it won't be able to publish a rational IOR. The event - loop is now changed to simply loop on Reactor::handle_events(). - - * IIOP/lib/tcpoa.hh (TCP_OA): Removed vestiges of this component's - use of the original connection management scheme. Where - appropriate, hostnames and ports were replaces by ACE_INET_Addr, - endpoints by ACE_HANDLEs, etc. One particularly nasty thing done - was to declare ROA_Handler as a friend so that handle_message() - can be called from ROA_Handler::handle_input(), which to me - exposes a hole in the original architecture wherein input is - "pulled" rather than waited-for. We might need to re-think how - this is handled within TAO. - - * IIOP/lib/roa.{hh,i,cpp}: These files contain the required - components to support the new server-side ACE-based - connection/event substrate. The client side remains, as always, - using the connection mgmt scheme used by the original Sun IIOP - code. - - * IIOP/lib/giop.cpp: Added explicit template instantiation for - when this is needed. - - * IIOP/lib/corbacom.hh: Now protects itself from multiple - inclusion. - - * IIOP/lib/Makefile: Added roa.* where appropriate. - -Wed Mar 19 10:25:21 1997 Chris Cleeland - - * IIOP/docs/us/codecount/*.count: Added to repository. - - * Makefile: Added to repository. - - * IIOP/objbase.h: Moved to IIOP/compat. - - * IIOP/initguid.h: Moved to IIOP/compat. - -Thu Mar 13 14:06:28 1997 Chris Cleeland - - * ChangeLog: Added the ChangeLog. We'd like to thank David - Brownell , the original author of SunSoft - IIOP, for helping to launch TAO off in the right direction! diff --git a/TAO/ChangeLog-98a b/TAO/ChangeLog-98a deleted file mode 100644 index 7683f5a7be4..00000000000 --- a/TAO/ChangeLog-98a +++ /dev/null @@ -1,11669 +0,0 @@ -Sat Jun 27 11:38:27 1998 Douglas C. Schmidt - - * TAO version 0.1.35 released. - -Sat Jun 27 10:32:46 1998 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Log/Logger_i.cpp (log): Must use a u_short cast - rather than an int cast to avoid ambiguity. Thanks to David - Levine for detecting this. - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: Fixed some minor problems with - constness. Thanks to David Levine for reporting this. - -Sat Jun 27 07:15:49 1998 Douglas C. Schmidt - - * tests/NestedUpcall: Added a Makefile. - -Sat Jun 27 07:15:49 1998 Douglas C. Schmidt - - * TAO version 0.1.34 released. - -Sat Jun 27 00:27:29 1998 Irfan Pyarali - - * orbsvcs/orbsvcs/Event/{RT_Task.cpp, Event_Channel.cpp, - ReactorTask.cpp, Dispatching_Modules.cpp}: Moved the - ACE_TIMEPROBE_EVENT_DESCRIPTIONS use inside - #if defined (ACE_ENABLE_TIMEPROBES). This will help prevent - compiler warnings when time probes are not used. Also, added a - semi-colon at the end of the ACE_TIMEPROBE_EVENT_DESCRIPTIONS line. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp, - orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.cpp, - orbsvcs/tests/Simulator/Event_Supplier/Event_Con.cpp, - orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp: - - Removed extra include of Timeprobe.h - - * Added the following comment to all uses of enums for time - probes. This way it should be easy (relatively) to find a unique - starting key for the next set of descriptions. - - // Timeprobe description table start key - -Sat Jun 27 01:06:24 1998 Nanbor Wang - - * orbsvcs/orbsvcs/Log/Logger_i.cpp (log): Commented out unused. - Cast the 0 passed to ACE_INET_Addr to int explicitly. - (Otherwise, the compiler can't tell whether it's a NULL ptr or - int 0.) - -Fri Jun 26 21:24:58 1998 Douglas C. Schmidt - - * tests/Cubit/TAO/Makefile: Removed DII_Cubit for now until - Jeff fixes it. - - * orbsvcs/tests/Logger: Rename clnt.{cpp,h} and svc.cpp to - client.{cpp,h} and server.cpp to be more consistent with other - naming schemes in TAO. - -Fri Jun 26 16:57:54 1998 Carlos O'Ryan - - * tao/encode.cpp: - Check the length of a string before encoding. - - * tao/CDR.h: - * tao/CDR.i: - * tao/CDR.cpp: - Added operations to write strings with known lengths - - * tests/Param_Test/Makefile: - * tests/Param_Test/README: - * tests/Param_Test/tests.h: - * tests/Param_Test/bd_string.h: - * tests/Param_Test/bd_string.cpp: - * tests/Param_Test/driver.cpp: - * tests/Param_Test/helper.h: - * tests/Param_Test/helper.cpp: - * tests/Param_Test/options.h: - * tests/Param_Test/options.cpp: - * tests/Param_Test/param_test.idl: - * tests/Param_Test/param_test_i.h: - * tests/Param_Test/param_test_i.cpp: - Added a test for bounded strings. - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - Use the TAO extensions to create an octet sequence using a - message block. - -Fri Jun 26 16:45:00 1998 Michael Kircher - - * orbsvcs/tests/Simulator/README: Added information about the - new version of the event service. - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp: removed the - "cout" commands. - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Con.cpp: Made the - Event consumer work. - -Fri Jun 26 14:22:40 1998 Aniruddha Gokhale - - * tests/Param_Test: - - The ever increasing tests.{h, cpp} files have been broken down - into the following files to make modifications and adding new - tests simpler. The tests.cpp file is removed. Any new tests that - are added will have their individual *.h and *.cpp files. - - We now keep a tests.h file that includes all the individual *.h - files for each test. This way, we just need to include the tests.h - file. Individual files for different tests are given below. - - any.h - bd_long_seq.h - bd_short_seq.h - bd_str_seq.h - bd_struct_seq.h - fixed_array.h - fixed_struct.h - nested_struct.h - objref.h - short.h - typecode.h - ub_any_seq.h - ub_long_seq.h - ub_objref_seq.h - ub_short_seq.h - ub_str_seq.h - ub_string.h - ub_struct_seq.h - var_array.h - var_struct.h - - These are the different *.cpp files implementing various tests. - - any.cpp - bd_long_seq.cpp - bd_short_seq.cpp - bd_str_seq.cpp - bd_struct_seq.cpp - fixed_array.cpp - fixed_struct.cpp - nested_struct.cpp - objref.cpp - short.cpp - typecode.cpp - ub_any_seq.cpp - ub_long_seq.cpp - ub_objref_seq.cpp - ub_short_seq.cpp - ub_str_seq.cpp - ub_string.cpp - ub_struct_seq.cpp - var_array.cpp - var_struct.cpp - - We use the bd_* convention for the bounded sequences/strings tests - and the ub_* convention for the unbounded cases. - - *NEW TESTS* : - - Tests for arrays of fixed and varying sizes are included in this - release. - -Fri Jun 26 14:20:58 1998 Carlos O'Ryan - - * tao/Sequence.h: - * tao/Sequence.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: - TAO provides an extension for octet sequences: a constructor - taking a Message_Block. - - * TAO_IDL/be_include/be_array.h: - * TAO_IDL/be_include/be_enum.h: - * TAO_IDL/be_include/be_exception.h: - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be_include/be_interface_fwd.h: - * TAO_IDL/be_include/be_native.h: - * TAO_IDL/be_include/be_predefined_type.h: - * TAO_IDL/be_include/be_sequence.h: - * TAO_IDL/be_include/be_string.h: - * TAO_IDL/be_include/be_structure.h: - * TAO_IDL/be_include/be_type.h: - * TAO_IDL/be_include/be_typedef.h: - * TAO_IDL/be_include/be_union.h: - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_enum.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_interface_fwd.cpp: - * TAO_IDL/be/be_native.cpp: - * TAO_IDL/be/be_predefined_type.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_string.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_type.cpp: - * TAO_IDL/be/be_typedef.cpp: - * TAO_IDL/be/be_union.cpp: - Removed a method that was not used anymore. - -Fri Jun 26 12:54:25 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation/{rettype_post_docall_cs, - rettype_pre_docall_cs}.cpp: We were using the underlying node - names in the generated code even when those nodes were Typedefed - to other names. So in such cases, we should use the typedef name. - Thanks to John Geiss for reporting the - problem. - -Fri Jun 26 11:46:46 1998 David L. Levine - - * TAO_IDL/be/be_visitor_sequence/gen_{,un}bounded_sequence_ch.cpp: - added ACE_CAST_CONST to get_buffer () const member functions, to - avoid Sun C++ warning about casting away constness. Thanks to - J. Russell Noteworthy for - reporting this. - -Fri Jun 26 09:48:55 1998 Douglas C. Schmidt - - * VERSION: Updated this file to direct bug reports to - the ACE mailing list. - -Thu Jun 25 19:35:50 1998 Michael Kircher - - * tests/NestedUpcall/{Triangle_Test, Reactor}: Added the - Triangle test to examine ORB behavior doing nested upcalls. - Also moved the Reactor test one level down in the hierarchy - which means it is now in ../NestedUpcall/Reactor - -Thu Jun 25 17:57:50 1998 Douglas C. Schmidt - - * tests/Cubit/TAO/DII_Cubit/Makefile: Integrated the new DII_Cubit - test into the Makefile scheme. - -Thu Jun 25 17:17:01 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - We disconnect all consumers and suppliers at shutdown. - - * orbsvcs/orbsvcs/Event/Task_Manager.h: - * orbsvcs/orbsvcs/Event/Task_Manager.cpp: - Once the class is shutdown it cannot start again. This last two - changes make shutdown clean for the test. - - * orbsvcs/orbsvcs/Event/ReactorTask.cpp: - * orbsvcs/orbsvcs/Event/RT_Task.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - The debugging messages start with "EC" to spot (or ignore) - them more easily. - - * orbsvcs/orbsvcs/RtecEventComm.idl: - I added an octet sequence payload, just to make things more - interesting. - -Thu Jun 25 16:31:00 1998 Seth Benjamin Widoff - - * tao/GIOP.cpp: - In method TAO_GIOP_Invocation::invoke, when the method being - invoked threw an exception, invoke would iterate over the list of - possible thrown exceptions, the TAO_Exception_Data for the method, - but wasn't breaking when it matched exception names. Added a break - statement. - -Thu Jun 25 12:54:09 1998 Carlos O'Ryan - - * tao/Sequence.h: - * tao/Sequence.i: - For octet sequences the method to obtain the underlying messsage - block was too expensive (it created a duplicate). This also - solve a memory leak in the operator<< for OutputCDR and octet - sequences. - -Thu Jun 25 11:57:27 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation/rettype_vardecl_cs.cpp - (visit_union): We were "memset"ing the return value to 0. In our - changed scenario where the Union class now derives from a base - class, this memsetting results in the vptr becoming 0. This was - causing seg faults. Thanks to Carlos for his help in the debugging - efforts. - -Thu Jun 25 11:18:32 1998 Darrell Brunsch - - * TAO_IDL/tao_idl.dsp: Removed the use of CPP_PATH altogether. - The location now defaults to "C:\Program Files\DevStudio\bin\cl.exe". - If this is not the case, then use the environment variable - CPP_LOCATION to override it. - - * TAO-INSTALL.html: Changed the paragraph that talked about - CPP_PATH to mention the default and CPP_LOCATION. - -Thu Jun 25 10:53:12 1998 Nagarajan Surendran - - * tests/NestedUpcall/NestedUpCalls_Test.cpp: Removed unnecessary - Backing store code. - -Thu Jun 25 08:44:03 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_union/union_cs.cpp: - The generated _access method was missing a return statement for - the default case. Thanks to David Levine for pinpointing this. - - * TAO_IDL/be/be_visitor_attribute/attribute.cpp: - For the TIE classes, we had forgotten to generate the "set" - attribute operation (for attributes that are not readonly). Again - thanks to David Levine for pinpointing this. - - * tao/IIOP_Object.i: A newline was missing at the end of the file - which resulted in a huge number of compile errors from SunCC. This - is now fixed. - - * tao/append.cpp: Unused variables in Union::append removed. - -Thu Jun 25 06:57:43 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_union/union_ch.cpp: - Added a new virtual overridden method that returns a pointer to - the discriminant. - - In addition, we now name the underlying private union as u_. - - * TAO_IDL/be/be_visitor_union/union_ci.cpp: - - In the default constructor, we were setting the entire class - object to 0 which was making the virtual pointers 0. We now only - initialize the union and the discriminant. - - Added the implementation of the virtual overridden _discriminant - method. Also, the _reset method was moved here from the - union_cs.cpp file. - - * TAO_IDL/be/be_visitor_union/union_cs.cpp: - Moved the _reset method to the union_ci.cpp file - - * TAO_IDL/be/be_visitor_union_branch/{public_access_cs, - public_reset_cs, public_assign_cs, public_ci}.cpp: - - The generated code now has to use the named underlying union. SO - every field must now be accessed as u_.. - - * tao/Union.h: - - Added a pure virtual method returning pointer to void. This will - be overridden by subclasses and a pointer to the discriminant will - be returned. - - * tao/{encode, decode}.cpp (TAO_Marshal_Union::{encode, decode}): - - We now use the _discriminant () method on the union class to - access the discriminant. This is much safer than simply casting - it. - -Wed Jun 24 21:41:21 1998 Michael Kircher - - * tao/GIOP.cpp: Added a lock to - - * tao/Connect.cpp: Added a lock to the access of the - forwarding profile. Some overhead might be due to that, - but we don't want to sacrifice stability. - - * tao/IIOP_Object.{h,icpp}: Added thread safe access functions - for the forwarding profile. - -Wed Jun 24 18:13:21 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/Task_Manager.h: - * orbsvcs/orbsvcs/Event/Task_Manager.cpp: - The multiple EC is not shutting dows cleanly, apparently it is a - synchronization problem between the two processes. These changes - try to minimize the problem by making shutdown() (and activate) - idempotent in the EC internal threads. - -Wed Jun 24 15:55:33 1998 Irfan Pyarali - - * tao/ORB.cpp (resolve_root_poa): Changed resolve_poa() to - resolve_root_poa(). - - * tao/ORB.cpp (resolve_poa): Rearranged this method so that the - user can specify the name, POA Manager, policies, and active - object map of a root poa. Use this method instead of - resolve_initial_reference("RootPOA"). This method also allows - the user the specify the policies used by the root POA - the - most common change will be to switch the lifespan policy of the - root POA from TRANSIENT to PERSISTENT. resolve_poa() is - non-standard. - -Wed Jun 24 15:49:19 1998 Aniruddha Gokhale - - * tao/Union.{h, cpp}: - - Added a base sequence definition for Unions. This uses the same - logic as the Base sequences. We need such a base sequence to - provide us virtual methods called "_access" and "_reset". The - _access method us ised to access the right union member at the - right offset. The reset method is used to free the storage. - - *NOTE* these are new files - - * tao/{encode, decode}.cpp: For Union::{encode, decode}, we now - use the Base Union class on which we invoke the virtual methods. - - * TAO_IDL/be_include/be_codegen.h: Added a new enumeration for - generating the overloaded _access method on the union class. - - * TAO_IDL/be/be_visitor_union/union.cpp: - - Handled the case for the access method generating visitor. - - * TAO_IDL/be/be_visitor_union/union_ch.cpp: - - The union class now inherits from the TAO_Base_Union class. In - addition, it defines the virtual overloaded _reset and _access - methods. - - * TAO_IDL/be/be_visitor_union/union_ci.cpp: - - Since the reset method was renamed to _reset, we now use this - name. - - * TAO_IDL/be/be_visitor_union/union_cs.cpp: - - Added code for the overloaded _reset and _access method. - - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - All calls to reset converted to _reset. - - * TAO_IDL/be_visitor_union_branch/public_access_cs.cpp: - TAO_IDL/be_include/be_visitor_union_branch/public_access_cs.h: - - New visitor to generate the code for the access method. - *NOTE* these are new files. - - * TAO_IDL/be_visitor_union_branch.cpp: - TAO_IDL/be_include/be_visitor_union_branch.h: - - Includes the new files. - - * TAO_IDL/be/be_interpretive.cpp: Handled the case for the new - visitor on unions that generates the _access method. - -Wed Jun 24 14:29:56 1998 Seth Benjamin Widoff - - * docs/releasenotes/index.html: - Updated the Trader portion of the releasnotes. - -Wed Jun 24 12:02:40 1998 Alexander Babu Arulanthu - - * tests/POA/RootPOA/RootPOA.cpp (main): Replaced the exception - checking/printing code by TAO_CHECK_ENV_PRINT_RETURN. - -Wed Jun 24 11:52:12 1998 Alexander Babu Arulanthu - - * tao/corba.h: Added the exception macros - TAO_CHECK_ENV_PRINT_RETURN(ENV, PRINT_STRING, RETURN) and - TAO_CHECK_ENV_PRINT_RETURN_VOID(ENV, PRINT_STRING). - -Wed Jun 24 11:38:00 1998 Chris Gill - - * orbsvcs/orbsvcs/Sched/Strategy_Scheduler.{cpp, h}: - Removed runtime dynamic dispatch strategy classes, - as these are now provided by the ACE dynamic message - strategy classes for the dynamic message queue. For - performance and architectural reasons, it is better to - strategize the dispatch queue itself, rather than have - the *ACE* dispatch queue call out to a *TAO* strategy. - -Wed Jun 24 11:13:32 1998 Aniruddha Gokhale - - * TAO_IDL/be_include/be_codegen.h: Added a new state for resetting - the appropriate element of a union. - - * TAO_IDL/be_include/be_visitor_union_branch/public_reset_cs.h: - Added a new visitor that generates code for resetting elements of - a union. This is required in 3 scenarios: (1) for destructor, (2) - for union's assignment operator, and (3) individual modifier - operations in which a new value is set. This will require freeing - of previous value. - - *NOTE* this is a new file. - - * TAO_IDL/be_include/be_visitor_union_branch/public_assign_cs.h: - Added a bunch of methods to the visitor that visit the - "type". This was necessary since simple assignment is not - enough. We must ensure that old values are freed and the - assignment results in deep copies wherever necessary. All this is - required for the assignment operator of the union. - - * TAO_IDL/be/be_interpretive.cpp: Handled the newly added case for - the union reset visitor. - - * TAO_IDL/be/be_visitor_argument/docall_cs.cpp: - TAO_IDL/be/be_visitor_argument/marshal_ss.cpp: - TAO_IDL/be/be_visitor_argument/pre_docall_cs.cpp: - TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp: - - Added support for Arrays as in, inout, out parameters. - - * TAO_IDL/be/be_visitor_array/array_ch.cpp: - TAO_IDL/be/be_visitor_array/array_ci.cpp: - - For fixed size arrays, the _out definition is simply a - typedef. Whereas for arrays whopse base type is of variable - size, we define the _out class. - - * TAO_IDL/be/be_visitor_structure/structure_ch.cpp: - the export macro for structures is always generated, even if it - is nested. This is only valid for the Windows platform since for - the other cases the export macro is NUL. - - * TAO_IDL/be/be_visitor_union/union.cpp: - The generic visitor now also handles the union reset visitor - case. - - * TAO_IDL/be/be_visitor_union/union_ch.cpp: - The union mapping that generates a class now uses the Export - macro even if it was nested. Seth Widoff reported that this was - necessary. - - * TAO_IDL/be/be_visitor_union/union_ci.cpp: - - The constructor now zeros the entire union on - initialization. Thus, at the start, all the fields will be 0s. - - The destructor now calls the private "reset" method with the - finalize flag=1 to indicate freeing of all allocated resources. - - * TAO_IDL/be/be_visitor_union/union_cs.cpp: - - Added code for the reset method. In addition, the assignment - operator first invokes the reset method to clean up old - storage. - - * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp: - - Members of the private anonymous union inside the union class - may either be pointers or scalar variables. They will be - pointers if their types are aggregate classes or structures that - have ctors. C++ does not allow using the instances of such - aggregate classes. - - * TAO_IDL/be/be_visitor_union_branch/private_assign_cs.cpp: - - Added code for all the methods that visit the type. Each method - tries to free previous storage (if any) and then does the - necessary deep copying. - - * TAO_IDL/be/be_visitor_union_branch/public_ch.cpp: - - Some modifier and access methods that were generated had - errors w.r.t the parameters they take. This is now fixed. - - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - - All the modifier methods now call reset to free old storage and - then do the appropriate deep copying of the new value. - - * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp: - - Code for the reset visitor. - - *NOTE* this is a new file. - - * tao/decode.cpp: Released the IIOP_Object that is created during - the ObjRef::decode method. This was necessary to overcome a - memory leak. Thanks to Irfan and Jeff. - - -Wed Jun 24 09:56:13 1998 Carlos O'Ryan - - * tests/Cubit/TAO/IDL_Cubit/cubit.idl: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.h: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/IDL_Cubit/client_i.h: - * tests/Cubit/TAO/IDL_Cubit/client_i.cpp: - Removed DII test. - Print clearer messages for sequences (to distinguish octet vs - long sequences). - Print the results for each test (long, short, octet, structs - and unions) and *also* a mixin of lonng/short/octet. - -Wed Jun 24 02:23:38 1998 Douglas C. Schmidt - - * TAO version 0.1.33 released. - -Tue Jun 23 17:30:14 1998 Carlos O'Ryan - - * orbsvcs/Scheduling_Service/Makefile: - Updated dependencies. - - * orbsvcs/Event_Service/Event_Service.cpp: - Improved a debug message. - - * orbsvcs/Event_Service/svc.conf: - The options are more realistic now. - - * orbsvcs/tests/start_services: - No need to run the Scheduling Service now; the Event_Service - program has a collocated one (by default). - - * docs/releasenotes/ec.html: - Updated the release notes to reflect the latest changes. - -Tue Jun 23 16:47:43 1998 Nanbor Wang - - * tao/ORB_Core.{h,cpp} (class TAO_Collocation_Table_Lock): Rename - TAO_COLTBL_Lock TO TAO_Collocation_Table_Lock. COLTBL was a bit - cryptic. Changed its implementation to use the new - ACE_Adaptive_Lock class. - -Tue Jun 23 12:34:23 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/Trader/Trader.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_T.{h,cpp}: - Merged Attributes(_T).{h,cpp} into the above files. Updated the - Makefile. - -Tue Jun 23 12:18:39 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Task_Manager.h: - * orbsvcs/orbsvcs/Event/Task_Manager.i: - * orbsvcs/orbsvcs/Event/Task_Manager.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.i: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/RT_Task.cpp: - * orbsvcs/orbsvcs/Event/ReactorTask.cpp: - The Event Channel can be shutdown cleanly using the destroy() - method. The problem was that two components (the Dispatching - Module and the TaskManager or the handler for Timer threads) - were not waiting for their threads to shutdown. - The modules keep their own Thread_Manager to wait for shutdown. - Startup was also changed: the event channel constructor - receives a new argument to control the creation of the internal - threads; if the argument is FALSE the user must call the - activate() method to start the threads. - - * orbsvcs/orbsvcs/RtecEventComm.idl: - * orbsvcs/orbsvcs/RtecEventChannelAdmin.idl: - Many operations were oneways because early releases of TAO did - not support nested upcalls. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - use the activate method to start the threads. - - * orbsvcs/Event_Service/Event_Service.cpp: - Added support for a collocated Scheduling Service; this is the - common use case that we wish to implement, improves performance - and works around some nested upcall problems in the ORB. - The user can select the old behavior using the <-s global> - flag. - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Only shutdown the EC once our event loop exits - - * orbsvcs/tests/EC_Multiple/histo.pl: - Fixed typo in a comment. - -Tue Jun 23 11:59:12 1998 David L. Levine - - * tests/Cubit/TAO/IDL_Cubit/Makefile,tests/Thruput/TAO/Makefile, - tests/NestedUpcall/Makefile,tests/Quoter/Makefile, - tests/OctetSeq/Makefile: - added S_T.* files to realclean target. - -Mon Jun 22 21:30:00 1998 Michael Kircher - - * TAO_IDL/be/be_sequence.cpp - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: Making - a special treatment for sequence of octets. - -Mon Jun 22 20:32:25 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Attributes.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Attributes_T.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Constraint_Nodes.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Constraint_l.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Constraint_y.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Dynamic_Property.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Offer_Database.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Offer_Iterators.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Offer_Iterators_T.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_T.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Utils.{h,cpp}: - * orbsvcs/orbsvcs/Makefile: - By having related classes share a file, reduced the number of - files in the Trading Service by half. Updated the Makefile to - reflect the changes. - - * orbsvcs/tests/Trading/Makefile: - * orbsvcs/tests/Trading/Offer_Exporter.cpp: - * orbsvcs/tests/Trading/Offer_Importer.cpp: - * orbsvcs/tests/Trading/TT_Info.cpp: - * orbsvcs/tests/Trading/export_test.cpp: - Updated the Trading tests to use the new header file scheme. - -Mon Jun 22 11:54:20 1998 Carlos O'Ryan - - * tests/Cubit/TAO/MT_Cubit/Makefile: - * tests/Cubit/TAO/IDL_Cubit/Makefile: - Updated dependencies. - -Mon Jun 22 11:32:00 1998 Michael Kircher - - * docs/releasenotes/index.html: Added documentation - about the changes in the TAO IDL compiler. - -Mon Jun 22 11:32:00 1998 Michael Kircher - - * TAO_IDL/be/{be_helper.h, be_sequence.h}: see comment below, - only the declarations were added. - - * TAO_IDL/be/be_visitor_sequence/sequence_{ch,cs}.h: Added - the declarations of the things mentioned below. - -Mon Jun 22 11:15:40 1998 Michael Kircher - - * TAO_IDL/be/be_helper.cpp: Added gen_ifdef_AHETI(), gen_else_AHETI() - and gen_endif_AHETI() to write the proper #ifdef. - - * TAO_IDL/be/be_sequence.cpp: Added instance_name() to create - a unique instantiation name for the instantiated templates. - Added object_manager_name () to create a unique object_manager - name. - - * TAO_IDL/be/be_visitor_sequence.cpp: Added the new files. - - * TAO_IDL/be/be_visitor_sequence/elemtype.cpp: Added ifdefs - for generating appropriate code to handle Object Manager - references. - - * TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: Added - the hook-up to generate the instantiated templates. Basically - the hook-up is the method instantiate_sequence(). - - * TAO_IDL/be/be_visitor_sequence/sequence_c{i,s}.cpp: Added - the ifdef distinguishing. - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp, - TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp, - TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp, - TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp, - TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp, - TAO_IDL/be/be_visitor_sequence/gen_object_manager_ch.cpp: - New files for code generation. - -Mon Jun 22 11:12:54 1998 David L. Levine - - * orbsvcs/orbsvcs/Scheduler_Factory (preemption_priority): - use ACE_TSS_Type_Adapter instead of specializing the - adaption of RtecScheduler::Preemption_Priority here. - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: made some - ACE_hrtime values non-const so that Sun C++ 4.2/SunOS 5.6 - doesn't complain about casting away constness. Thanks to - J. Russell Noteworthy for - reporting this. - - * test/Cubit/TAO/IDL_Cubit/collocation_test (main): - changed the static_cast of svr_worker to a reinterpret_cast, - and added a & in front of it for good measure. Thanks to - J. Russell Noteworthy for - reporting this, and to Carlos for recommending the use of - reinterpret cast. - - * tao/GIOP.cpp,ORB.cpp,IIOP_Object.cpp,POA.cpp,Server_Request.cpp, - Connect.cpp, - orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp,Event_Channel.cpp, - RT_Task.cpp,ReactorTask.cpp, - orbsvcs/tests/Event_Latency/Event_Latency.cpp, - tests/Cubit/TAO/IDL_Cubit/client_i.cpp,cubit_i.cpp: - removed trailing semicolon from ACE_TIMEPROBE_EVENT_DESCRIPTIONS, - now that it is part of the macro definition. - -Mon Jun 22 09:19:40 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp: The typecode - declarations now have the appropriate export macro generated for - them. This is required for the DLLs. Seth Widoff pointed out this - requirement. - -Mon Jun 22 00:09:23 1998 Douglas C. Schmidt - - * TAO version 0.1.32 released. - -Mon Jun 22 00:01:44 1998 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs.dsp: This project file no longer copies - the orbsvcs.dll to $TAO_ROOT/tao/. Be sure to remove this file: - $TAO_ROOT/tao/orbsvcs.dll. - -Sun Jun 21 23:59:06 1998 Douglas C. Schmidt - - * TAO version 0.1.31 released. - -Sun Jun 21 16:29:49 1998 Seth Benjamin Widoff - - * tao/ORB.cpp: - * tao/Params.cpp: - Wasn't initializing Params::trading_service_{ior,port}_ or - CORBA_ORB::trading_service_. - -Sun Jun 21 14:36:26 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/*.*: - Trading Service now compiles without warnings or link errors on - Windows NT (MSVC++). - -Sun Jun 21 08:39:38 1998 Aniruddha Gokhale - - * tests/Param_Test/tests.cpp: Removed a bunch of warnings related - to creation of a temporary when a var or ptr type is passed as an - out parameter. - -Sat Jun 20 14:22:22 1998 David L. Levine - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: wrapped - RtecScheduler::Preemption_Priority (int) with a struct - when used with ACE_TSS. ACE_TSS::operator-> () returns - TYPE *, so it cannot be instantiated with built-in types: - "ace/Synch_T.h", line 267: Error: Cannot have a return type - of int* for ACE_TSS::operator->() const. - Where: While specializing "ACE_TSS". - Where: Specialized in non-template code. - -Sat Jun 20 03:31:28 1998 Irfan Pyarali - - * tao/POA: - - - Added TAO_POA_locking as a new policy to the POA. This policy - is used to control the kind of lock created for POA state - synchronization. Previously, the user could only specific the - synchronization choice at an application level in the svc.conf - file. This approach did not allow a scheme where some POAs - had thread safe synchronization, while others had no - (null) synchronization. - - The new policy has three options: - - - USE_DEFAULT_LOCK: This option is the default value for this - policy. This option indicates that the application level - choice for POA synchronization specified in the svc.conf - file be used. Currently, this defaults to thread safe - synchronization. - - This option allows the programmer to make application level - decisions about the synchronization in the POA. Hence, - unless specified otherwise in create_POA, all POAs in the - application will have thread safe synchronization or null - (no) synchronization depending on the chioce made in - svc.conf. - - - USE_NULL_LOCK: Use null (no) synchronization to protect the - state of this POA. - - - USE_THREAD_LOCK: Use thread synchronization to protect the - state of this POA. - - - Changed POAC.{h,i,cpp}, POAS.{h,i,cpp} and POA{h,i,cpp} to - support this new policy. - - - Removed Strategy_POA and Strategy_POA_Manager. Both were - rather unnecessary in view of the above changes. - - * tests/POA/locking/locking.cpp: New test for showing off new POA - locking policy. - - * tao/Sequence.h (Octet>): Removed extra operator<< and operator>> - declarations, and changed the implementation to use non-private - members. - - * tao/Principal.i: Added new file (empty). - -Sat Jun 20 01:39:35 1998 Nanbor Wang - - * tao/TAO4.{mdp,mak}: Defined TAO_BUILD_DLL, undefined - TAO_NO_COPY_OCTET_SEQUENCES. Added Current{C,S}.cpp and - Forward_Servant.cpp into project. Removed timeprobe.cpp from - project. - - * tao/Forwarding_Servant.h: - * tao/POA{C,S,_CORBA}.h: Changed to use the underbar class names - for better portability. Thanks to Ernesto Guisado - for providing the perl script to - automate the process. - -Sat Jun 20 00:00:56 1998 Carlos O'Ryan - - * tao/GIOP.h: - * tao/GIOP.cpp: - * tao/Server_Request.cpp: - Used compiled encoding and decoding for the GIOP and Request - headers, thus reducing the time on the critical path. - Removed a memory allocation on the server side by using ad-hoc - marshalling for the object key: it does not need to increase the - reference count on the CDR message block because its lifetime is - shorter that the CDR stream. - Added compiled marshalling methods for the ServiceContextList, - this is mostly a waste because the context list is always - empty. - - * tao/CDR.h: - * tao/CDR.i: - Enabled >> and << operators for CDR and basic types, added new - operators for strings. - - * tao/corba.h: - * tao/ORB.cpp: - Added operators to marshal octet sequences. - - * tao/decode.cpp: - Use the new replace() method to set the message block on octet - sequences. - - * tao/Sequence.h: - * tao/Sequence.i: - Added new replace() method that set the internal message block - in an octet sequence. - - * orbsvcs/tests/start_services: - Recommend the $USER instead of the $login macro for bash. - -Fri Jun 19 21:30:22 1998 David L. Levine - - * TAO version 0.1.30 released. - -Fri Jun 19 15:18:04 1998 David L. Levine - - * orbsvcs/orbsvcs/Scheduler_Factory.{h,cpp} (preemption_priority, - set_preemption_priority): added these static functions. They are for - use by applications and the Event Channel, to get/set the - preemption priority of the calling thread. - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: replaced the static - ACE_Runtime_Factory instance with an ACE_Singleton instance - of a locally-defined struct. In addition, the struct - contains the ACE_TSS instance that is used by the static - {set_,}preemption_priority functions. - - * orbsvcs/orbsvcs/Event/RT_Task.cpp (svc): register each - Event Channel dispatch thread with the Scheduler's - set_preemption_priority () function. - - * orbsvcs/orbsvcs/Event/RT_Task.cpp (svc): suppress the - warning about thr_setprio failure on Solaris, if the - priority is 0 and not running as root. It's a no-op, - in that case, but Solaris' ::thr_setprio fails with EINVAL. - - * orbsvcs/tests/Concurrency/lex.CC_command.cpp{,.diff} - (ace_cc_yyinput): don't compile this function in if - ACE_CC_YY_NO_INPUT is defined, to avoid compile warning about - unused static function. - -Fri Jun 19 12:07:30 1998 Chris Gill - - * tests/Quoter/Generic_Factory.cpp: added .in() to passed - object reference parameter to remove compiler error - using g++ on Solaris 2.6 for Intel x86 - -Fri Jun 19 11:29:24 1998 David L. Levine - - * TAO version 0.1.29 released. - -Fri Jun 19 10:14:22 1998 Carlos O'Ryan - - * tests/POA/On_Demand_Activation/Servant_Activator.h: - * tests/POA/On_Demand_Activation/Servant_Activator.cpp: - * tests/POA/On_Demand_Activation/Servant_Locator.h: - * tests/POA/On_Demand_Activation/Servant_Locator.cpp: - * tests/POA/On_Demand_Activation/server.cpp: - The Locator and Activator objects require an ORB_ptr now (that - in turn is passed to the MyFooServant). - - * tests/POA/On_Demand_Activation/Makefile: - * tests/POA/Forwarding/Makefile: - Updated dependencies. - -Fri Jun 19 09:56:55 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/README: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp: - * tests/Cubit/TAO/MT_Cubit/Util_Thread.h: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/MT_Cubit/server.cpp: - (1) Minor aesthetic changes and code cleanup. - (2) Changes to the utilization tests of the server and client. We - now make the utilization "scavenger" thread run for a determined - period of time and report the number of computations performed. - The client thread that performs CORBA calls also reports the - number of calls performed. - -Fri Jun 19 07:25:41 1998 David L. Levine - - * orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp (Next): removed - break following a TAO_THROW to avoid compiler warning about - unreachable statement. - - * tao/ORB.cpp (run): #ifdef'ed out unused locals max_iterations and - counter. - - * tests/NestedUpcall/client.cpp: removed unused static - max_sequence_length. - - * tests/Param_Test/tests.cpp: removed or commented out some - unused variables. - -Thu Jun 18 18:33:34 1998 Carlos O'Ryan - - * tao/GIOP.cpp: - Added a few more Timeprobes to the client side. - Removed another memory allocation by using a buffer on the stack - for the (initial) output CDR stream. - - * tao/ORB.cpp: - No automatic printing of Timeprobes in the ORB anymore. The - application is responsible of invoking the ACE_TIMEPROBE_PRINT - macro as needed. - - * tao/IIOP_Object.cpp: - Added more Timeprobes. - - * tests/POA/Generic_Servant/Foo.idl: - * tests/POA/Generic_Servant/MyFooServant.h: - * tests/POA/Generic_Servant/MyFooServant.cpp: - Added methods to request a shutdown of the server. - - * tests/POA/Generic_Servant/client.cpp: - Added an option (-x) to shutdown the server. Also added support - for Timeprobe. - - * tests/POA/Explicit_Activation/server.cpp: - Print the timeprobes at exit. - -Thu Jun 18 14:17:35 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Attributes_T.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Validator.cpp: - * orbsvcs/orbsvcs/Trader/Lookup.cpp: - * orbsvcs/orbsvcs/Trader/Policies.cpp: - * orbsvcs/orbsvcs/Trader/Policy_Manager.cpp: - * orbsvcs/orbsvcs/Trader/Property_Filter.cpp: - * orbsvcs/orbsvcs/Trader/Property_Evaluator.cpp: - * orbsvcs/orbsvcs/Trader/Register.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - Eliminated warnings on NT compilation. - -Thu Jun 18 14:07:57 1998 David L. Levine - - * orbsvcs/tests/start_services: use port 0, use the -o and - -p Naming_Service options and use URL objrefstyle. Thanks - to Carlos for these suggestions. Also, write outputs to - different log files, and added note about setting the NameService - environment variable. - -Thu Jun 18 12:07:32 1998 Michael Kircher - - * tests/Quoter/{Factory_Finder, Generic_Factory}_Impl.cpp: - removed unneccessary code. - - * orbsvcs/LifeCycle_Service/LifeCycle_Service_Impl.cpp: - removed unneccessary code. - -1998-06-18 Torben Worm - - * orbsvcs/tests/Concurrency/CC_command.tab.cpp - orbsvcs/tests/Concurrency/Makefile - Now the yacc generated file is patched too. - -Thu Jun 18 11:38:32 1998 Seth Benjamin Widoff - - * orbscvs/tests/AVStreams/server_discovery/TS_Resolve.java: - * orbscvs/tests/AVStreams/server_discovery/Property_Evaluator.java: - * orbscvs/tests/AVStreams/server_discovery/Discover_Server.java: - * orbscvs/tests/AVStreams/server_discovery/Makefile: - * orbsvcs/tests/AVStreams/server_discovery/remote_netscape: - The beginnings of a Java tool to locate a best matched server for - the A/V demo's client using the Trading Service. - - -1998-06-18 Torben Worm - - * orbsvcs/tests/Concurrency/CC_command.cpp - orbsvcs/tests/Concurrency/CC_command.l - orbsvcs/tests/Concurrency/CC_command.tab.cpp - orbsvcs/tests/Concurrency/CC_test_utils.h - orbsvcs/tests/Concurrency/Makefile - orbsvcs/tests/Concurrency/lex.CC_command.cpp: - Removed warnings reported by DU cxx - Now a patch file is used to patch the output from flex. - -Thu Jun 18 10:21:28 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Comparing an _var to a 0 is non-portable (and non-complaint), - the right thing to do is CORBA::is_nil. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - Comparing a Time_Value to 0 is a bad idea (we can convert the 0 - to a Time_Value or the Time_Value to an int), we compare to - ACE_Time_Value::zero. - -Thu Jun 18 09:34:18 1998 David L. Levine - - * TAO_IDL/util/utl_scope.cpp (UTL_Scope ctor): removed - extraneous ; following the function definition. - - * orbsvcs/Event_Service/Event_Service.cpp (main), - orbsvcs/Scheduling_Service/Scheduling_Service.cpp (main): - added filename to debug messages. - -Wed Jun 17 22:03:42 1998 Aniruddha Gokhale - - * TAO_IDL: Massive restructuring of directories for be_include and - the "be" directories. Since each individual file was getting too big - with a large number of visitors, we have now subdivided them and - grouped them under individual subdirectories. - - The original header files (e.g., be_include/be_visitor_interface.h), - now only include their subdivided header files. This way the rest of - the code does not need to "#include" every individual file. They - still deal with the higher level include files only. This avoids - any modification of existing code. - - The new directory structure for the be_include directory and the - newly added files are shown below: - - - be_visitor_argument/arglist.h - be_visitor_argument/argument.h - be_visitor_argument/docall_cs.h - be_visitor_argument/marshal_ss.h - be_visitor_argument/post_docall_cs.h - be_visitor_argument/post_marshal_ss.h - be_visitor_argument/post_upcall_ss.h - be_visitor_argument/pre_docall_cs.h - be_visitor_argument/pre_upcall_ss.h - be_visitor_argument/upcall_ss.h - be_visitor_argument/vardecl_ss.h - be_visitor_array/any_op_ch.h - be_visitor_array/any_op_cs.h - be_visitor_array/array.h - be_visitor_array/array_ch.h - be_visitor_array/array_ci.h - be_visitor_array/array_cs.h - be_visitor_attribute/attribute.h - be_visitor_constant/constant_ch.h - be_visitor_constant/constant_cs.h - be_visitor_enum/any_op_ch.h - be_visitor_enum/any_op_cs.h - be_visitor_enum/enum_ch.h - be_visitor_enum/enum_cs.h - be_visitor_exception/any_op_ch.h - be_visitor_exception/any_op_cs.h - be_visitor_exception/ctor.h - be_visitor_exception/ctor_assign.h - be_visitor_exception/exception.h - be_visitor_exception/exception_ch.h - be_visitor_exception/exception_ci.h - be_visitor_exception/exception_cs.h - be_visitor_exception/exception_ctor.h - be_visitor_field/field_ch.h - be_visitor_field/field_ci.h - be_visitor_field/field_cs.h - be_visitor_interface/any_op_ch.h - be_visitor_interface/any_op_cs.h - be_visitor_interface/collocated_sh.h - be_visitor_interface/collocated_ss.h - be_visitor_interface/interface.h - be_visitor_interface/interface_ch.h - be_visitor_interface/interface_ci.h - be_visitor_interface/interface_cs.h - be_visitor_interface/interface_sh.h - be_visitor_interface/interface_si.h - be_visitor_interface/interface_ss.h - be_visitor_interface/tie_sh.h - be_visitor_interface/tie_si.h - be_visitor_interface_fwd/interface_fwd_ch.h - be_visitor_interface_fwd/interface_fwd_ci.h - be_visitor_module/any_op.h - be_visitor_module/module.h - be_visitor_module/module_ch.h - be_visitor_module/module_sh.h - be_visitor_operation/arglist.h - be_visitor_operation/argument.h - be_visitor_operation/collocated_sh.h - be_visitor_operation/collocated_ss.h - be_visitor_operation/exceptlist_cs.h - be_visitor_operation/operation_ch.h - be_visitor_operation/operation_cs.h - be_visitor_operation/operation_sh.h - be_visitor_operation/operation_ss.h - be_visitor_operation/rettype.h - be_visitor_operation/rettype_assign_ss.h - be_visitor_operation/rettype_docall_cs.h - be_visitor_operation/rettype_marshal_ss.h - be_visitor_operation/rettype_post_docall_cs.h - be_visitor_operation/rettype_post_upcall_ss.h - be_visitor_operation/rettype_pre_docall_cs.h - be_visitor_operation/rettype_return_cs.h - be_visitor_operation/rettype_vardecl_cs.h - be_visitor_operation/rettype_vardecl_ss.h - be_visitor_operation/tie_sh.h - be_visitor_operation/tie_si.h - be_visitor_root/any_op.h - be_visitor_root/root.h - be_visitor_root/root_ch.h - be_visitor_root/root_ci.h - be_visitor_root/root_cs.h - be_visitor_root/root_sh.h - be_visitor_root/root_si.h - be_visitor_root/root_ss.h - be_visitor_sequence/any_op_ch.h - be_visitor_sequence/any_op_cs.h - be_visitor_sequence/buffer_type.h - be_visitor_sequence/elemtype.h - be_visitor_sequence/sequence_base.h - be_visitor_sequence/sequence_ch.h - be_visitor_sequence/sequence_ci.h - be_visitor_sequence/sequence_cs.h - be_visitor_structure/any_op_ch.h - be_visitor_structure/any_op_cs.h - be_visitor_structure/structure.h - be_visitor_structure/structure_ch.h - be_visitor_structure/structure_ci.h - be_visitor_structure/structure_cs.h - be_visitor_typecode/typecode_decl.h - be_visitor_typecode/typecode_defn.h - be_visitor_typedef/any_op_ch.h - be_visitor_typedef/any_op_cs.h - be_visitor_typedef/typedef.h - be_visitor_typedef/typedef_ch.h - be_visitor_typedef/typedef_ci.h - be_visitor_typedef/typedef_cs.h - be_visitor_union/any_op_ch.h - be_visitor_union/any_op_cs.h - be_visitor_union/discriminant_ch.h - be_visitor_union/discriminant_ci.h - be_visitor_union/discriminant_cs.h - be_visitor_union/union.h - be_visitor_union/union_ch.h - be_visitor_union/union_ci.h - be_visitor_union/union_cs.h - be_visitor_union_branch/private_ch.h - be_visitor_union_branch/public_assign_cs.h - be_visitor_union_branch/public_ch.h - be_visitor_union_branch/public_ci.h - be_visitor_union_branch/public_cs.h - - The same logic of breaking up individual files and grouping them - under individual subdirectories is used for the be_visitor_*.cpp - files. Each individual file "#include"s their individual - subfiles. This way, we do not have to modify the Makefile to - compile individual file. In addition, the Makefile would have - required each individual subdirectory in its VPATH. Furthermore, - it does not compile files with the same name in different - directories. The new structure is shown below. - - be_visitor_argument/arglist.cpp - be_visitor_argument/argument.cpp - be_visitor_argument/docall_cs.cpp - be_visitor_argument/marshal_ss.cpp - be_visitor_argument/post_docall_cs.cpp - be_visitor_argument/post_marshal_ss.cpp - be_visitor_argument/post_upcall_ss.cpp - be_visitor_argument/pre_docall_cs.cpp - be_visitor_argument/pre_upcall_ss.cpp - be_visitor_argument/upcall_ss.cpp - be_visitor_argument/vardecl_ss.cpp - be_visitor_array/any_op_ch.cpp - be_visitor_array/any_op_cs.cpp - be_visitor_array/array.cpp - be_visitor_array/array_ch.cpp - be_visitor_array/array_ci.cpp - be_visitor_array/array_cs.cpp - be_visitor_attribute/attribute.cpp - be_visitor_constant/constant_ch.cpp - be_visitor_constant/constant_cs.cpp - be_visitor_enum/any_op_ch.cpp - be_visitor_enum/any_op_cs.cpp - be_visitor_enum/enum_ch.cpp - be_visitor_enum/enum_cs.cpp - be_visitor_exception/any_op_ch.cpp - be_visitor_exception/any_op_cs.cpp - be_visitor_exception/ctor_assign.cpp - be_visitor_exception/exception.cpp - be_visitor_exception/exception_ch.cpp - be_visitor_exception/exception_ci.cpp - be_visitor_exception/exception_cs.cpp - be_visitor_exception/exception_ctor.cpp - be_visitor_field/field_ch.cpp - be_visitor_field/field_ci.cpp - be_visitor_field/field_cs.cpp - be_visitor_interface/any_op_ch.cpp - be_visitor_interface/any_op_cs.cpp - be_visitor_interface/collocated_sh.cpp - be_visitor_interface/collocated_ss.cpp - be_visitor_interface/interface.cpp - be_visitor_interface/interface_ch.cpp - be_visitor_interface/interface_ci.cpp - be_visitor_interface/interface_cs.cpp - be_visitor_interface/interface_sh.cpp - be_visitor_interface/interface_si.cpp - be_visitor_interface/interface_ss.cpp - be_visitor_interface/tie_sh.cpp - be_visitor_interface/tie_si.cpp - be_visitor_interface_fwd/interface_fwd_ch.cpp - be_visitor_interface_fwd/interface_fwd_ci.cpp - be_visitor_module/any_op.cpp - be_visitor_module/module.cpp - be_visitor_module/module_ch.cpp - be_visitor_module/module_sh.cpp - be_visitor_operation/arglist.cpp - be_visitor_operation/argument.cpp - be_visitor_operation/collocated_sh.cpp - be_visitor_operation/collocated_ss.cpp - be_visitor_operation/exceptlist_cs.cpp - be_visitor_operation/operation_ch.cpp - be_visitor_operation/operation_cs.cpp - be_visitor_operation/operation_sh.cpp - be_visitor_operation/operation_ss.cpp - be_visitor_operation/rettype.cpp - be_visitor_operation/rettype_assign_ss.cpp - be_visitor_operation/rettype_docall_cs.cpp - be_visitor_operation/rettype_marshal_ss.cpp - be_visitor_operation/rettype_post_docall_cs.cpp - be_visitor_operation/rettype_post_upcall_ss.cpp - be_visitor_operation/rettype_pre_docall_cs.cpp - be_visitor_operation/rettype_return_cs.cpp - be_visitor_operation/rettype_vardecl_cs.cpp - be_visitor_operation/rettype_vardecl_ss.cpp - be_visitor_operation/tie_sh.cpp - be_visitor_operation/tie_si.cpp - be_visitor_root/any_op.cpp - be_visitor_root/root.cpp - be_visitor_root/root_ch.cpp - be_visitor_root/root_ci.cpp - be_visitor_root/root_cs.cpp - be_visitor_root/root_sh.cpp - be_visitor_root/root_si.cpp - be_visitor_root/root_ss.cpp - be_visitor_sequence/any_op_ch.cpp - be_visitor_sequence/any_op_cs.cpp - be_visitor_sequence/buffer_type.cpp - be_visitor_sequence/elemtype.cpp - be_visitor_sequence/sequence_base.cpp - be_visitor_sequence/sequence_ch.cpp - be_visitor_sequence/sequence_ci.cpp - be_visitor_sequence/sequence_cs.cpp - be_visitor_structure/any_op_ch.cpp - be_visitor_structure/any_op_cs.cpp - be_visitor_structure/structure.cpp - be_visitor_structure/structure_ch.cpp - be_visitor_structure/structure_ci.cpp - be_visitor_structure/structure_cs.cpp - be_visitor_typecode/typecode_decl.cpp - be_visitor_typecode/typecode_defn.cpp - be_visitor_typedef/any_op_ch.cpp - be_visitor_typedef/any_op_cs.cpp - be_visitor_typedef/typedef.cpp - be_visitor_typedef/typedef_ch.cpp - be_visitor_typedef/typedef_ci.cpp - be_visitor_typedef/typedef_cs.cpp - be_visitor_union/any_op_ch.cpp - be_visitor_union/any_op_cs.cpp - be_visitor_union/discriminant_ch.cpp - be_visitor_union/discriminant_ci.cpp - be_visitor_union/discriminant_cs.cpp - be_visitor_union/union.cpp - be_visitor_union/union_ch.cpp - be_visitor_union/union_ci.cpp - be_visitor_union/union_cs.cpp - be_visitor_union_branch/private_ch.cpp - be_visitor_union_branch/public_assign_cs.cpp - be_visitor_union_branch/public_ch.cpp - be_visitor_union_branch/public_ci.cpp - be_visitor_union_branch/public_cs.cpp - - * TAO_IDL/be_include - TAO_IDL/be - - Renamed be_visitor_args.{h, cpp} to be_visitor_argument.{h, cpp} - to reflect the correct name used by the AST node. - -Wed Jun 17 23:29:06 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Fixed many bugs in the disconnection code. The main ones were - related to memory managment (missing _duplicate() calls for - ES_Consumer_Rep objects) and to agressive memory release - (disconnecting a consumer could result in removing a critical - entry for the map of type consumers in a supplier, rendering the - supplier unusable). - The code more transparent for CORBA exceptions (it just passes - them back); but some places still catch them or create new - CORBA::Environment and/or signal errors using return values. - Looked more carefully at memory managment, but we still need - clean startup and shutdown to really track any problems in this - area. - Some stylistic changes here and there. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - Added an option to connect and disconnect the consumers and/or - suppliers before doing anything else. This was useful to debug - the EC. - - * orbsvcs/tests/EC_Multiple/Makefile: - Updated dependencies. - - * orbsvcs/tests/EC_Multiple/svc.conf: - Added more options to control the kind of lock used in the POA - and similar things. - - * orbsvcs/orbsvcs/Event/RT_Task.cpp: - Failing to run in the real-time class is only a warning, added - an explanation to the user in that sense. - - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - Added debug messages (now commented out). - - * orbsvcs/orbsvcs/Event/CORBA_Utils_T.i: - Fixed off-by-one bug in Simple_Array_Iterator. - - * orbsvcs/orbsvcs/Event_Utilities.cpp: - Initialize the rt_info field to 0. - -Wed Jun 17 23:21:45 1998 Chris Gill - - * orbsvcs/orbsvcs/Sched/DynSched.{cpp, h} - orbsvcs/orbsvcs/Sched/SchedEntry.{cpp, h, i} - orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp - - Several bug fixes for consumers specifying a period - of 0. Incorrect handle was being used for the - dependency, framing/reframing caused divide-by-zero - errors, merging was not correctly picking up the - priority information from the supplier. - - * orbsvcs/tests/Sched_Conf/Sched_Conf.cpp - - Added a -n argument, - and command-line argument processing code to the - test so that multiple copies with differently - named scheduling services can run simultaneously - within the context of a single naming service. - -Wed Jun 17 17:07:12 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/README: added new options with - explanations. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * tests/Cubit/TAO/MT_Cubit/client.cpp: Changed the utilization - test to bound the test by time instead of by number of requests. - - * tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - * tests/Cubit/TAO/MT_Cubit/server.cpp:Minor changes to cleanup - code. - - * tests/Cubit/TAO/MT_Cubit/README: Updated the options and - explanation of the options. - -Wed Jun 17 16:58:26 1998 Michael Kircher - - * orbsvcs/tests/start_services: Moved this file form - orbsvcs/tests/Simulator/ to this location. David - made it more generic in order to allow it to work - on more Unix platforms. - - * orbsvcs/tests/Simulator/ss: See comment above. - - * orbsvcs/tests/Simulator/README: Added some comments about - the above mentioned. - -Wed Jun 17 16:14:26 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/Makefile: minor fix for Chorus. - -Wed Jun 17 15:05:43 1998 Nanbor Wang - - * tao/Connect.cpp (activate): Set the thr_mgr of the service - handler so the newly spawned thread is created under the ORB's - Thread_Manager. - - * tao/ORB_Core.cpp (inherit_from_parent_thread): Inherit more - properties from the parent thread so the spawned thread has a - complete environment to run on. - - (add_to_collocation_table): - (get_collocated_poa): Changed to use the address in the - orb_params. - -1998-06-17 Torben Worm - - * orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory: Changed the - factory not to use an ACE_Lock, but rather to use the - ACE_Thread_Mutex directly. - - * orbsvcs/orbsvcs/Concurrency/CC_LockSet: Changed _d to _i - to be more consistent with ACE. - - * orbsvcs/orbsvcs/Concurrency/CC_LockSet: Don't create the - Thread_Mutex as a pointer since it doesn't change. - - * orbsvcs/tests/Concurrency/CC_client.{h,cpp} - orbsvcs/tests/Concurrency/CC_command.l - orbsvcs/tests/Concurrency/CC_command.y - orbsvcs/tests/Concurrency/Makefile - Now using yacc. Now patching the generated files like SVC - in order to make them more portable. Patching not used yet. - - * orbsvcs/tests/Concurrency/CC_client.{h,cpp} - orbsvcs/tests/Concurrency/CC_command.l - orbsvcs/tests/Concurrency/CC_command.y - orbsvcs/tests/Concurrency/Makefile - Now using yacc. Now patching the generated files like SVC - in order to make them more portable. Patching not used yet. - -Wed Jun 17 11:46:49 1998 David L. Levine - - * TAO_IDL/Makefile: suppressed some warnings from DEC cxx. - - * TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.h: removed unused - static variables. - -Tue Jun 16 17:00:14 1998 Aniruddha Gokhale - - * TAO_IDL/be_include/be_interface.h: Added a helper called - "collocated_ctor_helper" that will be passed to the - traverse_inheritance_graph to generate calls to the CTORs of each - and every base class in the viryal inheritance hierarchy - - * TAO_IDL/be/be_interface.cpp: Added code for - collocated_ctor_helper method. - - * TAO_IDL/be/be_visitor_interface.cpp: In the constructor for the - collocated class, we now call the interface node's - traverse_inheritance_graph with collocated_ctor_helper method as - the callback. This will generate calls to the ctors of all the - base classes in the entire class hierarchy. - - * TAO_IDL/be/be_visitor_exception.cpp: On suggestions by Irfan, - the generated code no more duplicates the typecode. Instead, it - will be the receipient's responsibility to duplicate the typecode - for the exceptions. - - * TAO_IDL/be/be_visitor_union_branch.cpp: A quick fix has been - made in the generated modifier functions. We now make sure that - memory is allocated to pointer union members if they were not - already set. Note that this solution is simply a quick fix to - allow making progress for IDl using unions. We still need to make - sure that old storage is freed. Will be done in the next attempt. - Thanks to Seth for reporting the problem. - -Tue Jun 16 16:52:16 1998 Carlos O'Ryan - - * orbsvcs/Event_Service/Makefile: - * orbsvcs/tests/Event_Latency/Makefile: - Updated dependencies. - -1998-06-16 Torben Worm - - * orbsvcs/tests/Concurrency/Makefile, CC_command.tab.cpp - Removed error detected by DU cxx. - -Tue Jun 16 15:39:43 1998 David L. Levine - - * orbsvcs/tests/Simulator/ss: use perl instead of cut to - extract uid and NameService IOR. It no longer extracted - the NameService IOR. The new method is based on regular - expressions instead of character counts, so is more resilient. - Ported to Linux (and many other Unix platforms that don't - have ksh). - - * tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp: added ACE_THR_FUNC - static cast of svr_worker to avoid warning on VxWorks. - -Tue Jun 16 15:14:50 1998 Nanbor Wang - - * tao/ORB_Core.cpp (inherit_from_parent_thread): Also inherit the orb - from the spawning thread. - -Tue Jun 16 15:10:11 1998 Chris GIll - - * orbsvcs/orbsvcs/Scheduler_Factory.{cpp,h,i} - - Added usability features. Added status enumerated - type and accessor so user can see if factory is - uninitialized, set up for a config run, or set up - for run time. Added explicit type casts for - enumerated types to output of dump_schedule, - added defaulted argument to allow a different format - string to be used in dump_schedule, made default - format print each struct initialization array on a - single column aligned line. - - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp - - Removed duplicated explicit template instantiations for - scheduling strategy instantiations of strategy scheduler. - - * orbsvcs/orbsvcs/Sched/DynSched.cpp - - Fixed bug in add_dependency: put in a break so case - for ONE_WAY dependency does not fall through to default. - -Tue Jun 16 13:50:33 1998 Seth Benjamin Widoff - - * orbsvcs/test/AVStreams/mpeg/source/server/augmented_server.{h,cpp}: - This new version of the AVStreams demo server, augmented_server, - exports an offer to the Trading Service containing a reference to the - MMDevice and a number of properties describing the MMDevice. - - * orbsvcs/test/AVStreams/mpeg/source/server/Machine_Properties.{h,cpp}: - * orbsvcs/test/AVStreams/mpeg/source/server/Video_Repository.{h,cpp}: - Dynamic Property callback handlers that supply values - for AV server machine performance, and the names and descriptions - of movies offered by the AV server. - - * orbsvcs/test/AVStreams/mpeg/source/server/Property_Exporter.{h,cpp}: - Utility to make it simpler for the augmented_server to export an - offer to the Trading Service. - -Tue Jun 16 14:44:42 1998 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp: - Added acceptor code to accept connection from the java GUI. - Added code to read the MMDevice ior and movie name from the - socket to java GUI. - -1998-06-16 Torben Worm - - * orbsvcs/tests/Concurrency/CC_command.h, CC_client.cpp - Removed errors detected by DU cxx - - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.{h,cpp} - Cleaned up debugging code. - -Tue Jun 16 14:01:52 1998 Carlos O'Ryan - - * tao/CDR.cpp: - Fixed potential inifinite loop in buffer growth if the initial - buffer size was 0. Thanks to Stuart Myles - for detecting this. - -Tue Jun 16 10:33:20 1998 David L. Levine - - * TAO/orbsvcs/tests/Event_Latency/Event_Latency.cpp: - use ACE_U64_TO_U32 conversion macro. WIN32's __int64 - and ACE_U_LongLong need an explicit narrowing to 32 bits. This - macro provides a consistent way to do that on all platforms. - -Tue Jun 16 10:14:28 1998 Carlos O'Ryan - - * tao/CDR.cpp: - Fixed memory leak on OutputCDR streams, thanks to Lothar - Werzinger for reporting and tracking down - the problem. - -Mon Jun 15 23:13:46 1998 David L. Levine - - * TAO version 0.1.28 released. - -Mon Jun 15 20:56:20 1998 Irfan Pyarali - - * tao/POAC: Changed all the exception from user exceptions to - system exceptions. - - * tao/GIOP.cpp (convert_CORBA_to_GIOP_exception): Added new - function to convert CORBA Exception type to GIOP reply type. - - * tao/Exception.cpp - - (init): Register POA exceptions as system exceptions - - (exception_type): Added code to determine if exception is a POA - exception. - - (print_exception): Changed code to use exception_type. - - Removed sys_exceptions and NUM_SYS_EXCEPTIONS. They were not - being used. - - * tao/Connect.cpp (send_error): Cannot assume that the exception - is a system exception. Must use - TAO_GIOP::convert_CORBA_to_GIOP_exception to find the correct - type of the exception. - -Mon Jun 15 16:14:28 1998 Nanbor Wang - - * test/Cubit/TAO/IDL_Cubit/collocation_test.cpp: New program to - test the performance of collocation optimization. - - * test/Cubit/TAO/IDL_Cubit/server_i.{h,cpp}: - * test/Cubit/TAO/IDL_Cubit/client_i.{h,cpp}: - * test/Cubit/TAO/IDL_Cubit/server.cpp: - * test/Cubit/TAO/IDL_Cubit/client.cpp: Extracted out the - implementation of Cubit_Server and Cubit_Client to *_i.{h,cpp} - so that I can reuse them with collocation_test.cpp. - - When shutting down the ORB, the client side will first turn off - the collocation optimization and get the shutdown object from - Naming Service. Then, it calls the shutdown method of that - object. Without this, we can't shutdown the server ORB. - - * test/Cubit/TAO/IDL_Cubit/svc.conf: Changed to use TSS resource. - - * test/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - * test/Cubit/TAO/IDL_Cubit/cubit.idl: Added a new interface for - shutting down the server ORB. This is necessary because we - can't use the shutdown in collocated object (which shuts down - the wrong ORB.) - - * test/Cubit/TAO/IDL_Cubit/Makefile: Added settings for building - collocation_test. Tidy up the Makefile a bit. - - * tests/Cubit/TAO/IDL_Cubit/README: Added documentation for - collocation_test. - - * tao/ORB_Core.{h,i} (using_collocation): Added a new method to allow - turn on/off collocation optimization at run time. - -Sat Jun 13 13:20:58 1998 David L. Levine - - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp: added explicit - template instantiations. - - * tao/POA.i (find_POA): rearranged to avoid use before - definition. - -Fri Jun 12 20:20:00 1998 Michael Kircher - - * tao/{Object_KeyC.cpp, Typecode_Constants.cpp}: Changed the - typecode manually. - -Fri Jun 12 19:34:00 1998 Michael Kircher - - * tao/POAC.cpp: The generation of the typecodes has changed, - this file had to be changed manually. - -Fri Jun 12 16:53:49 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_decl.cpp (gen_name2long): Michael found out that - the TAO_IDL compiler was generating non-portable code for the - TypeCode arrays of longs for the RepoID and the name. After - discussions with Doug and Irfan, we have decided to always - generate the arrays in network order (big endian) and add an - ACE_NTOHL macro as the static array is initialized. This way there - won't be any run-time penalty. At the same time, the code will be - portable. - - * TAO_IDL/{be_enum, be_exception, be_interface, be_structure, - be_typedef, be_union, be_predefined_type, be_field, be_enum_val, - be_union_branch}.cpp: Added the call to ACE_NTOHL macro for the - arrays of long that are generated for TypeCodes. - - * tests/Param_Test/params.idl: Added interface definition for - tests for arrays. This is still not working at this time. - -Fri Jun 12 15:39:41 1998 Irfan Pyarali - - * tests/POA/Generic_Servant: Added oneway calls. - -Fri Jun 12 15:01:16 1998 Marina Igorevna Spivak - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: Added _env parameter to - helper method, and added the check of environment in - all methods using . This is to allow exceptions - propagate back. - -1998-06-12 Torben Worm - - * orbsvcs/Concurrency/CC_LockSet.{h,cpp} - Added locks to avoid race conditions. - Corrected errors regarding the semantics of the service - One issue is still outstanding: The use of a semaphore to - lock the threads which do not preserve the ordering of the - locking. - -Fri Jun 12 11:48:00 1998 Michael Kircher - - * tao/POAC.cpp: The TAO_IDL compiler generates platform - dependent code for typecodes right now. POA.idl is !not! - recompiled on a compilation, because it has been customized. - This means, that a ifdef is needed to cover for the - platform dependence. - -Fri Jun 12 09:43:14 1998 David L. Levine - - * tao/Connect.cpp (send_error): dereferenced - forward_request_ptr->forward_reference so that it compiles - with g++. - -Fri Jun 12 9:00:00 1998 Michael Kircher - - * tao/Connect.cpp: Removed my own bug, using a var as a ptr. - -Thu Jun 11 21:30:00 1998 Michael Kircher - - * tests/POA/Forwarding/{client, server}.cpp: cleaned up the code. - -Thu Jun 11 21:15:00 1998 Michael Kircher - - * tao/Connect.cpp: Added send_error, which does proper system exception handling - and marshalling. - - * tao/Connect.h: Added the request_id as parameter to handle_message and - handle_locate - - * tao/GIOP.cpp: Changed the forwarding. A method named location_forward has been - introduced. It changes the IIOP_Profile of the object reference in copying the IIOP_Profile - from the object where the requests should go to, now. - - * tao/GIOP.h: Added the TAO_GIOP_Invocation::location_forward (CORBA::Environment &env); - - * tao/IIOP_ORB.cpp: The IIOP_Object pointer is now released in each case, not only - in the error case. This was necessary, because the control was given to the caller - and the ref_count was to high. - - * tao/IIOP_Object.cpp: Implemented the copy operator on IIOP_Profile, which is needed - by the above mentioned location_forward method. - - * tao/IIOP_Object.h: Removed old forward profile things and changed the copy operator - - * tao/IIOP_Object.i: Removed old forward profile stuff. - - * tao/Server_Request.cpp: Changed the exception handling. We have now a special - case of the forward_request exception. This exception contains an object reference - to a object at the new location. - - * tao/Server_Request.h: Added "CORBA::ULong request_id (void)" to query the request_id and - added a member "CORBA::Object_var forward_location_". - - * tao/Server_Request.i: added ACE_INLINE CORBA::ULong IIOP_ServerRequest::request_id (void) - - * docs/releasenotes/index.html: Added a reference to location forwarding. - - * docs/forwarding.html: Documentation about location forwarding. - -Thu Jun 11 21:09:30 1998 David L. Levine - - * tests/Quoter/Quoter_Impl.cpp (Quoter_Factory_Impl ctor): - dereference quoter_ior in ACE_DEBUG statement. - -Thu Jun 11 18:22:50 1998 Irfan Pyarali - - * tao/ORB_Core.cpp: Added template instantiations for Write_Guard - and Read_Guard. - -Thu Jun 11 16:45:11 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_array.cpp: (gen_encapsulation, gen_encap_len): - Added code that generates the TypeCode and encapsulations for - Arrays. - - be_array::gen_forany_{defn,impl}: Added a "nocopy ()" method that - returns the "nocopy" flag. This is useful for the <<+ and >>= - operators. - - Also, removed a lot of code that was commented out. - - * TAO_IDL/be_include/be_visitor_array.h - TAO_IDL/be/be_visitor_array.cpp: These are newly added files. - - Added a bunch of visitors that generate code for Arrays. As of now - only typedefined arrays have been handled. Work is still going on - for anonymous arrays. - - * TAO_IDL/Makefile: Added be_visitor_array.cpp for compilation - - * TAO_IDL/be/be_interpretive.cpp: Added cases for the Array - visitors. - - * TAO_IDL/be/{be_visitor_enum, be_visitor_exception, - be_visitor_interface, be_visitor_sequence, be_visitor_structure, - be_visitor_typedef, be_visitor_union}.cpp: Fixed an error in the - generate code for the "non copying" and "copying" versions of the - <<= operators. - - * TAO_IDL/be/be_visitor_interface.cpp: After discussions with - Irfan, we now use POA_var as a data member inside the generated - TIE classes. In addition, the code for the _default_POA, which - previously was incorrect, is now fixed. - - * TAO_IDL/be/be_visitor_sequence.cpp: We now always create a name - for the sequence node even when it is imported. The reason we have - to do this is that an imported sequence node may very well be used - in another IDL file. Thus, while code generation, if the name was - not set, then it resulted in seg faults. Thanks to John Geiss" - for reporting the problem. - - * TAO_IDL/be/be_visitor_typedef.cpp: For typedefs of a typedef to - an array, we simply generate the typedefs for the _var, _out, - _forany types. In addition, inline functions for the _alloc, _dup, - _copy, and _free are generated. - - * orbsvcs/orbsvcs/Makefile: In the realclean target, added the - *_T.* files that need to be cleaned. - -Thu Jun 11 15:32:02 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/Makefile: - * tests/Cubit/TAO/MT_Cubit/Task_Client.{h,cpp}: - * tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit_i.{h,cpp}: - * tests/Cubit/TAO/MT_Cubit/server.{h,cpp}: Added the server utilization - test. Use "-U" on both the client and the server. - -Thu Jun 11 15:26:36 1998 Nanbor Wang - - * tao/ORB_Core.{h,cpp} (inherit_from_parent_thread): This new - method was added to TAO_ORB_Core to localize all inheriting - operations needed when spawning new threads to handle incoming - requests. - - * tao/Connect.cpp (svc): Changed to use - inherit_from_parent_thread. - -Thu Jun 11 13:01:11 1998 Chris Gill - - * orbsvcs/orbsvcs/Sched/DynSched.cpp: - - Changed ACE_Thread_Mutex to ACE_SYNCH_MUTEX in - template instantiation statements and pragmas - -Thu Jun 11 12:40:11 1998 Michael Kircher - - * tao/Exception.cpp: Method Release created an any, named - free_it_all, which was responsible in old time to - deep free memory. Now that that Any automatically - encodes its content in a CDR stream this is no more - the right thing to do. It actually can create a - infinite loop, if an exception is thrown within - the encoding code. So it has been replaced by a - delete this command. - -Thu Jun 11 11:25:11 1998 Michael Kircher - - * orbsvcs/LifeCycle_Service/LifeCycle_Service.dsp: Added - proper multithreaded support. - - * orbsvcs/orbsvcs.dsw: Added the LifeCycle_Service - -Thu Jun 11 09:39:11 1998 David L. Levine - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: changed the - ACE_EC_Gateway template instantiations to TAO_EC_Gateway. - - * tests/Cubit/TAO/MT_Cubit/server.cpp (start_servants): - changed types of local i, and global num_of_objs, to u_int - to avoid signed/unsigned comparisons. - -Thu Jun 11 00:14:25 1998 Irfan Pyarali - - * tao/Connect.cpp (TAO_Server_Connection_Handler): Reordered base - class / member initialization. - -Wed Jun 10 20:00:21 1998 Michael Kircher - - * tests/POA/Forwarding/*: enhanced the Forwarding test enormously. - -Wed Jun 10 19:00:21 1998 Carlos O'Ryan - - * tao/Sequence.cpp: - Fixed small bug in octet sequence assignment operator. - -Wed Jun 10 16:09:49 1998 Irfan Pyarali - - * tao/ORB.cpp: fixed template instantiations: ACE_SYNCH_MUTEX - instead of ACE_SYNCH_RW_MUTEX. - - * tao/POAS.h (POA_PortableServer): Added missing TAO_Exports. - - * tests/POA/DSI: New test directory to show DSI features in TAO. - - * tests/POA/TIE: New test directory to show TIE features in TAO. - -1998-06-10 Torben Worm - - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.{h,cpp} - Added multiple possesion semantics. CC_Lock.{h,cpp} is - not used anymore. - -Wed Jun 10 14:29:55 1998 Chris Gill - - * orbsvcs/orbsvcs/Sched/Config_Scheduler.{h,cpp}: - - Moved included header files from .cpp to .h to - fix incomplete types error when compiling files - that include the header file and are using the - strategized scheduler implementation - - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime1.h - orbsvcs/tests/EC_Multiple/Scheduler_Runtime2.h: - - Fixed warning when compiling file that include these - header files: set all Info_Type values to 0 (Operation). - Values were 0-4, where the enum only goes 0-2 - -Wed Jun 10 13:03:03 1998 Irfan Pyarali - - * tests/POA/Explicit_Activation/server.cpp, - tests/POA/Generic_Servant/client.cpp, - tests/POA/NewPOA/NewPOA.cpp, and tests/POA/RootPOA/RootPOA.cpp: - Use ACE_DEBUG instead of cout. - - * tao/Server_Request.cpp (dsi_marshal): Only marshal if the params - are valid. - - * tao/ORB_Core.h: Changed the lock used by - ACE_Cached_Connect_Strategy from a rw_mutex to a regular mutex. - - * tao/ORB.cpp: Changed CORBA::B_TRUE and CORBA::B_FALSE from enums - to CORBA::Boolean. - - * tao/{Connect.cpp, ORB.cpp}: Fixed the template instantiations in - lieu of the changes to Hash_Addr. - - * tao/Any.h: Added ACE_Export to nested structs. - -Wed Jun 10 10:28:31 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Added support to automatically create the publication and - subscription lists for the gateways. - - * orbsvcs/orbsvcs/RtecEventChannelAdmin.idl: - Added fields to the QOS structures so gateways can be - distinguished in the EC. - Several field names were inconsistent (some had a trailing _ and - others won't). - - * orbsvcs/orbsvcs/Event_Utilities.h: - * orbsvcs/orbsvcs/Event_Utilities.i: - Adapted to use the changes in the QOS structures. - - * orbsvcs/orbsvcs/Event/EC_Gateway.h: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - As part of the plan to support UDP and multicast gateways we - have a base class to handle all the different configurations for - a gateway. - - * orbsvcs/orbsvcs/Event/Local_ESTypes.h: - Removed a lot of BOAImpl typesdefs, they were completely - outdated and quite ugly. - - * orbsvcs/orbsvcs/Event/RT_Task.cpp: - Added code to call ORB_init() no each thread, but it is - commented out until we know what arguments to pass and how. - - * orbsvcs/orbsvcs/Scheduler_Factory.h: - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - We cannot use enums in the POD_RTInfo because those are hard to - generate correctly. - - * orbsvcs/tests/EC_Multiple/svc.conf: - I'm starting to set a more realistic config for the Event - Channel, but we still have a lot of work to do in this area. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - The test uses the automatic gateway connection now. - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp: - The ConsumerQOS and SupplierQOS structure have changed. - - * TAO_IDL/driver/drv_preproc.cpp: - Fixed type in comment. - -Tue Jun 09 17:27:25 1998 Nanbor Wang - - * tao/Connect.{h,cpp} (activate): Added this method to - Default_Server_Connection_Handler so we can prepare information - for inheriting some objects/properties from the spawning thread. - (svc): Inherit and setup some properties/objects from the parent - thread. Currently, only root poa is inherited in spawned - threads. I should probably add another method called inherit () - to handle this. Anyhow, this solved the thread-per-connection - problem. - - * tao/ORB_Core.cpp (add_to_collocation_table): Removed the - explicit conversion from ACE_INET_Addr to ACE_Hash_Addr since - Irfan fixed ACE_Hash_Addr::operator==. - -Tue Jun 09 16:18:54 1998 David L. Levine - - * Makefile: removed old release targets. They're no longer - used, or maintained. Silenced the creation of INSTALL. - -Tue Jun 9 15:57:28 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader: The Trading Service now uses ACE - containers rather than stl containers. - - * orbsvcs/orbsvcs/Makefile: Since all stl containers in the - Trading Service have been replaced with ACE analogues, I've - updated the orbsvcs Makefile to eliminate the stl dependency. - -Tue Jun 09 15:41:53 1998 David L. Levine - - * TAO version 0.1.27 released. - -Tue Jun 9 15:14:09 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation.cpp: There was an error in the - generated code for the variable declaration of return types for - type Anys in the skeletons. Fixed. - -Tue Jun 9 13:29:19 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_typedef (be_visitor_typedef_ch::visit_predefined) - - We had forgottent to generate the typedef for the _var types for - pseudo objects and Anys. Thanks to Seth Widoff for reporting - this. - -Tue Jun 09 12:52:59 1998 Nanbor Wang - - * tao/ORB_Core.cpp (add_to_collocation_table): ACE_Hash_Addr must - be created with recyclable flag set to 1 otherwise the - Hash_Map_Manager can't find the object. - -Tue Jun 09 11:43:19 1998 David L. Levine - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: added newline to - shutdown message. - -1998-06-09 Torben Worm - - * Updated orbsvcs/tests/Concurrency/CC_command.h - Removed warnings generated by g++ - -Tue Jun 9 08:53:30 1998 Aniruddha Gokhale - - * TAO_IDL/be_include/be_codegen.h: Added two states (but no new - visitors) for argument passing to the upcall for the collocated - case. This was necessary since in this case, the argument is - passed as it is. In the skeleton case, we may have _var variables, - and hence we may have to pass the .in () or .inout () of those - _var variables. - - * TAO_IDL/be/{be_visitor_enum, be_visitor_exception, - be_visitor_interface, be_visitor_sequence, be_visitor_structure, - be_visitor_typedef, be_visitor_union}.cpp: - - Once again, due to the compulsions of the MSVC++ compiler and the - DLLs, we require the export/import macros for all the <<= and >>= - operators so that they are visible outside. - - * TAO_IDL/be/be_visitor_args.cpp: - TAO_IDL/be_include/be_visitor_args.cpp (be_visitor_upcall_ss): - - We were using _var variables to make sure that allocated memory - was released after the marshaling is done and the skeleton has - returned. However, for objrefs and strings, we ended up passing - the .in () values of these _var parameters. The expected value was - a pointer to the in () value. This is now corrected. - - Also dealt with the collocated case, where we simply pass the - argument from the parameter list to the upcall as it is. - - Due to these two differences, we had to add a bunch of visit_* - methods to the upcall_ss visitor. - - * TAO_IDL/be/be_visitor_operation.cpp: The same reasoning (case 1) - given for be_visitor_args.cpp holds here too for the return value - case. - -1998-06-08 Torben Worm - - * Updated orbsvcs/tests/Concurrency/CC_command.cpp because of an - error reported by g++ - - * Updated orbsvcs/tests/Concurrency/Makefile to reflect the - changed stated below - - * Added the following files: - orbsvcs/tests/Concurrency/CC_command.{h,cpp,y,l}: Command - interpreter for the test language for the concurrency service. - orbsvcs/tests/Concurrency/test.{basic,extended,e1,dinphil, - phil[1-5]: Tests for the concurrency service. - Updated: - orbsvcs/tests/Concurrency/{README,CC_client} to be aware of - the changes in CC_command. - -Mon Jun 08 09:41:52 1998 David L. Levine - - * tao/ORB_Core.cpp: added/fixed template instantiations. - -Sun Jun 7 17:54:31 1998 Nanbor Wang - - * docs/Options.html: Added options available for ORB, - Resource_Factory, and Default_Server_Strategy_Factory. - - * tao/IIOP_ORB.{h,cpp}: Removed _register_collocation from - IIOP_ORB and all usage of it. Also, when using a global - collocation table, it gets the table from the resource factory. - - * tao/ORB.h: Remove pure virtual function _register_collocation. - - * tao/ORB.cpp: Register the ORB's listening endpoint to the global - collocation table if we are using one. - - * ORB_Core.{h,i,cpp}: Added a new class TAO_COLTBL_Lock to choose - the lock to use in global collocation table at run time. - - Added a command option in ORB_Core to disable collocation - optimization and an option in Resource Factory to decide to use - a global collocation table or not. - - (using_collocation): Get whether we want to use the collocation - optimization. - - (add_to_collocation_table): Used to register a listening - endpoint when an ORB gets initialized. - - (get_collocated_poa): This function look thru the collocation - table and return the root poa associate with the ORB. - - (get_global_collocation_table): Return a pointer to the global - collocation table if we choose to use one, otherwise, return 0. - - * tao/Server_Strategy_Factory.{h,cpp} (create_coltbl_lock): Added - new method to allow not using a lock in the global collocation - table. - - * tao/default_server.{h,cpp} (create_coltbl_lock): Added - implementation of this method. - -Sat Jun 06 21:17:13 1998 Nanbor Wang - - * tests/Cubit/TAO/MT_Cubit/{server,client}.dsp: Both projects now - require to link against orbsvcs.lib. - -Sat Jun 6 20:32:26 1998 Douglas C. Schmidt - - * tests/OctetSeq/OctetSeq.cpp: Changed Test::_tc_CharSeq_seq and - Test::_tc_OctetSeq_seq to Test::_tc_CharSeq and - Test::_tc_OctetSeq. Thanks to David Levine for spotting this. - -Sat Jun 6 Alexander Babu Arulanthu - - * docs/orbsvcs.html: Changed the test directory from - CosPropertyService to Property. - -Sat Jun 6 Alexander Babu Arulanthu - - * Moved $TAO_ROOT/orbsvcs/tests/CosPropertyService to - $TAO_ROOT/orbsvcs/tests/Property. - -Sat Jun 6 18:55:51 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit.idl: - * tests/Cubit/TAO/MT_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit_i.h: - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/server.h: Changed the code to use the - same priority for all low priority clients. Deleted unnecessary - code that implemented a cubit factory, we now will use the file to - store/retrieve the iors. Fixed a bug having to with unsupported - fields in the rusage structure for NT. - -Sat Jun 6 17:35:59 1998 Douglas C. Schmidt - - * TAO_IDL/be/be_visitor_interface.cpp: Added CORBA::Environment - &env to the _default_POA() tie method. Thanks to David Levine - for reporting this. - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: Added a simple-minded - implementation of the log() method. This can certainly be - improved... - -Fri Jun 5 16:02:54 1998 Carlos O'Ryan - - * tao/CDR.h: - * tao/CDR.i: - * tao/CDR.cpp: - The output CDR class uses the Data_Block directly to minimize - memory allocation. - This has taken the count of memory allocations to 4 on the - client side and 4 on the server side. - - * tao/GIOP.cpp: - OutputCDR::stream() now returns a const message block. - - * tests/Param_Test/client.cpp: - * tests/Param_Test/driver.h: - * tests/Param_Test/driver.cpp: - * tests/Param_Test/options.h: - * tests/Param_Test/options.cpp: - * tests/Param_Test/param_test.idl: - * tests/Param_Test/param_test_i.h: - * tests/Param_Test/param_test_i.cpp: - It is now possible to shutdown the server using a method, this - is useful to test memory leaks because the client can request a - clean shutdown (using the option -x). - - * TAO_IDL/be/be_visitor_operation.cpp: - For some types the return values were not deleted at the end of - the upcall. I'm using T_var classes to automatically release the - memory. - -Fri Jun 5 12:22:44 1998 Darrell Brunsch - - * tao/debug.{h,cpp}: Added TAO_orbdebug flag so TAO code - does not check the flag in Service Configurator anymore. - That way, it should still work when there isn't a - Service Configurator. - - * tao/Connect.cpp: Made the switch to TAO_orbdebug. - - * tao/ORB_Core.cpp: First, since the semantics of the -d - flag in the Service Configurator now means to suppress - debug messages, it is now passed in by default unless - -ORBdebug was specified. Also sets TAO_orbdebug when - -ORBdebug is specified. - -Thu Jun 04 05:05:39 1998 Douglas C. Schmidt - - * TAO version 0.1.26 released. - -Thu Jun 04 03:45:12 1998 Nanbor Wang - - * TAO_IDL/be/be_visitor_interface.cpp - (be_visitor_interface_sh::visit_interface): Don't change the - output stream until the template declaration part is complete. - This delayed redirection of output writes the generated template - classes into regular *S.h file and get them enclosed by - appropriate namespace there. Perhaps we can put them in the - *S_T.h files, but that won't make platforms which don't have - namespace support happy. - - * TAO_IDL/be/be_visitor_module.cpp - (be_visitor_module_sh::visit_module): Changed to use - TAO_NAMESPACE as server side's module namescope. - -Wed Jun 3 17:50:09 1998 Aniruddha Gokhale - - Irfan Pyarali discussed the need to generate *_T.{h, i, cpp} files - that hold the generated code for the TIE classes. The *_T.h file - uses the ACE_TEMPLATES_REQUIRE_SOURCE and - ACE_TEMPLATES_REQUIRE_PRAGMA macros to conditionally include the - *_T.cpp files. The following changes were necessary to suport - these features. - - * TAO_IDL/be_include/be_codegen.h - TAO_IDL/be/be_codegen.cpp: - - Added more methods and data mebers for the server-side template - files that have the code for the TIE classes. The added methods - are: start_server_template_header, start_server_template_inline, - start_server_template_skeletons, end_server_template_header, and - end_server_template_skeletons. The corresponding data members were - added. - - * TAO_IDL/be_include/be_helper.h: Added 3 new enumerations for the - three newly introduced streams that will hold code for the TIE - classes. - - * TAO_IDL/be_visitor_interface.cpp: We now initialize the visitor - context of the TIE visitors with the appropriate *_T.{h, i} files. - - * TAO_IDL/be_visitor_root.cpp: Made calls to initialize and close - the newly added streams that hold the code for the TIE classes. - - * TAO_IDL/include/idl_global.h: - TAO_IDL/utils/utl_global.cpp: - - Added new methods that generate names for the newly introduced - streams that hold the code for TIE classes. These methods are: - be_get_server_template_fname, be_get_server_template_inline_fname, - be_get_server_template_inline_skeleton_fname and their - corresponding helper methods. - -Tue Jun 2 18:57:08 1998 Aniruddha Gokhale - - * TAO_IDL/be/{be_visitor_enum, be_visitor_exception, - be_visitor_interface, be_visitor_sequence, be_visitor_structure, - be_visitor_typedef, be_visitor_union}.cpp: - Factored out some code that should have been placed inside the - TypeCode visitors. - - * TAO_IDL/be/be_visitor_typecode.cpp: Added teh factored out code - mentioned above. - - * TAO_IDL/be_include/be_codegen.h: Added a few more enumerations - that deal with generation of the TIE classes and code for - interfaces, operations and attributes. - - * TAO_IDL/be/be_visitor_attribute.cpp: Added cases to deal with - attribute mapping inside a TIE class. - - * TAO_IDL/be_include/be_visitor_interface.h - TAO_IDL/be/be_visitor_interface.cpp: - - Added 2 new visitors for generation of the TIE class and its code - in the server header and server inline file. - - * TAO_IDL/be_include/be_visitor_operation.h - TAO_IDL/be/be_visitor_operation.cpp: - - Added 2 new visitors for generation of the operations and its code - inside the TIE class in the server header and server inline file. - - * TAO_IDL/be/be_interpretive.cpp: Added cases for the TIE visitors - for interfaces, operations and attributes. - - * docs/releasenotes.index.html: Updated to indicate support for - TIEs. - -Tue Jun 02 08:35:58 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/server.cpp: added cast to avoid - signed/unsigned comparison. - - * tests/Cubit/TAO/MT_Cubit/server.cpp: added cast to avoid - signed/unsigned comparison. Reordered initializers to - match declaration order. - -Tue Jun 02 08:29:20 1998 David L. Levine - - * orbsvcs/Event_Service/Makefile,orbsvcs/tests/EC_Multiple/Makefile, - orbsvcs/tests/Event_Latency/Makefile,tao/Makefile: - moved probe=1 support from individual Makefiles to - wrapper_macros.GNU. - -Mo Jun 1 21:36:00 1998 Michael Kircher - - * tests/Quoter: Several files had to be modified in order - to use the LifeCycle Service now as a separate object as - part of the orbsvcs. - - * orbsvcs/LifeCycle_Service: Did some more customizations. - -Mon Jun 1 15:48:28 1998 Aniruddha Gokhale - - * tao/orbconf.h: Modified the TAO_NAMESPACE related macros. Added - some more to deal with the nested namespaces that can occur due to - nested modules. - - * TAO_IDL/be_include/be_visitor_typecode.h - TAO_IDL/be/be_visitor_typecode.cpp: - - Added two new files that define a new visitor which will - generate code for different types. The TypeCode generation now - uses the different NAMESPACE related macros described above. - - * TAO_IDL/be_include/be_codegen.h: Added two new enumerations for - the TypeCode generating visitors. - - * TAO_IDL/be/{be_visitor_enum, be_visitor_exception, - be_visitor_interface, be_visitor_sequence, be_visitor_structure, - be_visitor_typedef, be_visitor_union}.cpp: Used the new TypeCode - visitors. One advantage of using these is that all code gets - factored into a visitor. At the same time, we can conditionally - opt not to generate the TypeCodes. This may be desired for - compiled marshaling. - - In be_visitor_sequence.cpp, we do not generate the typecode if the - sequences was typedefed. - - * TAO_IDL/be_include/be_visitor_constant.h - TAO_IDL/be/be_visitor_constant.cpp: Added similar logic to the - TypeCode generation when constants are defined insided modules - that get mapped to namespaces. - - * TAO_IDL/be/be_interpretive.cpp: Added cases to deal with the two - new TypeCode generating visitors. - - * TAO_IDL/fe/{idl.yy, y.tab.cpp}: Removed some incorrect code in - the action part of the idl.yy file. - - * TAO_IDL/Makefile: Reran make depend. - -Mo Jun 1 14:37:00 1998 Chris Gill - - * orbsvcs/orbsvcs/RtecScheduler.idl - orbsvcs/orbsvcs/Runtime_Scheduler.{cpp, h} - orbsvcs/orbsvcs/Scheduler_Factory.{cpp, h} - orbsvcs/orbsvcs/Event/Dispatching_Modules.{cpp, h, i} - orbsvcs/orbsvcs/Event/Event_Channel.cpp - orbsvcs/orbsvcs/Event/RT_Task.cpp - orbsvcs/orbsvcs/Sched/Config_Scheduler.{cpp, h} - orbsvcs/orbsvcs/Sched/DynSched.{cpp, h} - orbsvcs/orbsvcs/Sched/SchedEntry.h - orbsvcs/orbsvcs/Sched/Scheduler.{cpp, h} - - Removed Dynamic Subpriority from RtecScheduler IDL - interface: both static and dynamic subpriorities - now map into a single preemption subpriority value - - * orbsvcs/tests/Sched_Conf/Sched_Conf.cpp - orbsvcs/tests/Sched_Conf/Sched_Conf.{dsp, dsw} - orbsvcs/tests/Sched_Conf/Makefile - - Added a "test" program that simulates a configuration - run and generates a runtime scheduler header: to use - the strategized scheduler for static RMS scheduling, - put the following at the beginning of ace/config.h: - - #define TAO_USES_STRATEGY_SCHEDULER - #define TAO_USES_RMS_SCHEDULING - #define TAO_MIN_CRITICAL_PRIORITY 3 - -Mo Jun 1 10:16:00 1998 Michael Kircher - - * docs/orbsvcs.html: Added the LifeCycle Service to the list - of services. - - * docs/releasenotes/index.html: Added new information about - DOVE to the file. - -Mo Jun 1 10:16:00 1998 Michael Kircher - - * orbsvcs/LifeCycle_Service: Created the LifeCycle Service. - - * orbsvcs/Makefile: Added the LifeCycle Service to the list - of directories. - - * orbsvcs/orbsvcs/Makefile: Added the LifeCycleService* files. - - * orbsvcs/orbsvcs/LifeCycleService.idl: Created an IDL - file describing the interface of the LifeCycle Service. - -Fri May 29 17:58:16 1998 Douglas C. Schmidt - - * TAO version 0.1.25 released. - -Fri May 29 16:03:00 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/IDL_Cubit_Test.cpp: Removed the - terminate calls by adding -x option to the client so that it shuts - down the server. - -Fri May 29 13:00:35 1998 Michael Kircher - - * tests/Quoter/Factory_Trader.cpp: CosTradingC.h is only - parsed when the trading service is available. - -Fri May 29 11:02:35 1998 Aniruddha Gokhale - - * tao/orbconf.h: Removed an unnecessary OR condition for the - TAO_NAMESPACE macro. - -Fri May 29 09:15:49 1998 Douglas C. Schmidt - - * tao/ORB_Core.cpp (init): Added code to pass svcconf directives - to the Service Configurator. Thanks to Mark Boriack for - contributing this. - - * tao/ORB_Core.cpp (init): Make sure that we dynamically - string_dup() ALL the argv/argc arguments, not just some of them, - so that we can correctly clean stuff up when we're done. - -Thu May 28 14:32:07 1998 Aniruddha Gokhale - - * tao/Server_Request.cpp:(demarshal, marshal): more optimizations - to get rid of the NVList and other DSI-centric logic in the - handling of static skeletons generated by the IDL compiler. These - optimizations are the result of my discussions with Irfan - Pyarali. - -Thu May 28 11:37:35 1998 Aniruddha Gokhale - - * tao/orbconf.h: Removed the TAO_NAMESPACE_STORAGE_CLASS macro. - - * tao/CurrentS.cpp: In the initialization of the constructor, we - were calling the default ctor of the base class. However, we now - call the other ctor that takes the stub object and servant as - arguments. - - * tao/{encode, decode}.cpp: In Struct::{encode, decode}, I had - made an erroneous change a few days back where I was passing the - address of a pointer. This was for the Objref and Typecode - cases. Carlos pointed this out. Seth was getting lots of errors - due to this. This has been fixed. - - * TAO_IDL/be/{be_visitor_enum, be_visitor_exception, - be_visitor_interface, be_visitor_sequence, be_visitor_structure, - be_visitor_typedef, be_visitor_union}.cpp: - - Reverted my previous change where I generated the - TAO_NAMSPACE_STORAGE_CLASS macro if the data type was nested. We - no more generate this macro and this macro has been removed from - orbconf.h as explained above. - -Thu May 28 00:08:19 1998 Irfan Pyarali - - * tao/orbconf.h (TAO_NAMESPACE_STORAGE_CLASS): Changed it from - extern to static. - - * orbsvcs/orbsvcs/Naming/Entries.h: Removed the default for the - binding type in the constructor of NS_IntId. It was breaking - VC5.0 if CosNaming was a namespace. - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (rebind): Added - CosNaming::nobject as the binding type to NS_IntId instances - since the default was removed in the constructor. - -Wed May 27 17:56:07 1998 Nanbor Wang - - * TAO_IDL/be/be_visitor_module.cpp (visit_module): Supress - generation of NT export specifier after TAO_NAMESPACE. - - * tao/CurrentS.cpp (_tao_collocated_Current): Changed - "ACE_NESTED_CLASS (CORBA,Current)" to "CORBA_Current". - - * tao/POAS.cpp (_tao_collocated_Current): Changed - "POA_CORBA::_tao_collocated_Current" to ACE_NESTED_CLASS - (POA_CORBA,_tao_collocated_Current). - - * tao/POA_CORBA.h (_tao_collocated_Current): Changed its base - class to CORBA_Current. - -Wed May 27 16:08:10 1998 Aniruddha Gokhale - - * TAO_IDL/be/{be_visitor_enum, be_visitor_exception, - be_visitor_interface, be_visitor_sequence, be_visitor_structure, - be_visitor_typedef, be_visitor_union}.cpp: - - The typecode declarations generated in the header file for - user-defined IDL types used to be "static" if the data type was - enclosed inside a module. However, for platforms that support - "namespaces", this should be extern. Hence we generate a macro - called "TAO_NAMESPACE_STORAGE_CLASS" defined in tao/orbconf.h - - * orbsvcs/orbsvcs/Makefile: Ran make depend since some files in - TAO/tao were removed. - - * tao/PolicyS.{h, i}: Removed from the CVS repository - - * tao/CurrentC.{h, i, cpp} - tao/CurrentS.cpp: Added to the repository. This defined the - interface Current in the CORBA namespace. *NOTE* these are newly - added files. - - * tao/ORB.h: Moved Declarations for RepositoryID and Identifier - from the POA namespace to the CORBA namespace. Also added some - more TypeCode declarations e.g., _tc_Current, _tc_Identifier, - others. - - * tao/POAC.{h, i, cpp}: Removed everything related to - CurrentBase. RepositoryID and Identifier are now in the CORBA - namespace instead of the PortableServer namespace. - - * tao/POAS.{h, cpp}: PortableServer::Current now inherits from - POA_CORBA::Current instead of PortableServer::CurrentBase. - - * tao/POA_CORBA.h: Merger of the PolicyS.h and CurrentS.h - files. It defines the POA_CORBA namespace which is the C++ mapping - for the CORBA module for the server-side. It defines the Policy - and Current classes for the server-side. *NOTE* This is a newly - introduced file. - - * tao/PolicyC.cpp: Moved the definition of the _tc_Policy typecode - to the TypeCode constants file since this is owned by the ORB. - - * tao/Servant_Base.{h, cpp}: PortableServer::RepositoryId is now - CORBA::RepositoryId. - - * tao/Typecode_Constants.cpp: Added new typecode definitions for - all the newly introduced stuff as well as moved stuff such as - Current, Policy, PolicyType, PolicyList, RepositoryId, and - Identifier. - - * tao/orbconf.h: TAO_NAMESPACE macro is now "namespace" for - platforms that supports it. Needs to be checked. - - * tao/Makefile: Did make depend. - -Wed May 27 12:53:01 1998 David L. Levine - - * orbsvcs/tests/EC_Multiple/Makefile: ran make depend to - remove dependency on tao/Timeprobe.i. - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: added casts of - ACE_hrtime_t to long now that ACE_hrtime_t is an __int64 on WIN32. - Thanks to Irfan for reporting this. - -Tue May 26 22:25:23 1998 Nanbor Wang - - * tao/ORB.cpp (CORBA_ORB): Never assume a pointer will be - initialized to null. - -Tue May 26 21:32:03 1998 Douglas C. Schmidt - - * tao/GIOP.cpp (recv_request): Changed CDR::grow() to take an - ACE_Message_Block * rather than an ACE_Message_Block *& since we - don't seem to change the message block pointer in the method. - Thanks to Nanbor for reporting this. - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (new_context): Add a - couple of calls to the new init() method in the appropriate - places. - - * orbsvcs/orbsvcs/Naming/CosNaming_i: Changed the implementation - so there's now an init() method that must be called before using - the NamingContext. This is necessary to make sure we don't try - to initialize the lock_ until the ORB has been initialized. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: Changed the - implementation to call init() on the NamingContext - implementation. - -Tue May 26 20:22:12 1998 Carlos O'Ryan - - * tao/CDR.h: - * tao/CDR.i: - * tao/CDR.cpp: - * tao/GIOP.cpp: - I was able to remove a memory allocation on the client side by - playing some tricks with the underlying Data_Block. - - * tests/CDR/basic_types.cpp: - The ORB was destroyed before the test was run, hence all the - Typecodes were invalid. - - * tests/Param_Test/tests.cpp: - Disabled several DII tests because they will not compile. - -Tue May 26 18:39:11 1998 Carlos O'Ryan - - * tao/ORB.h: - * tao/ORB.cpp: - * tao/Server_Strategy_Factory.h: - * tao/Server_Strategy_Factory.cpp: - * tao/default_server.h: - * tao/default_server.cpp: - Added options to control the kind of locking in the ORB event - loop (i.e. ORB::run), by default it acquires no locks. - - * tao/Object.h: - * tao/Object.i: - All the objects in the ORB that are reference counted do *not* - have locks to protect the count. - -Tue May 26 16:24:41 1998 Carlos O'Ryan - - * tao/Server_Request.h: - * tao/Server_Request.cpp: - The Server Request does not need to copy the operation name from - the CDR stream. In TAO there is no translation for strings and - the underlying stream survives during all the invocation. - Fortunately the strings in CDR are zero terminated. - -Tue May 26 12:40:30 1998 Douglas C. Schmidt - - * tao/ORB.cpp: We seem to have an extra comma here... - -Tue May 26 10:32:12 1998 Nanbor Wang - - * TAO_IDL/tao_idl.dsp: Updated project files per Andy's changes. - -Tue May 26 10:03:51 1998 David L. Levine - - * tests/NestedUpcall/server.cpp (init_naming_service): dereferenced - the parameters to init () call. - - * tests/NestedUpcall/client.{h,cpp}: moved template instantiations - from .h file to .cpp file. Removed unused instantiations. - - * tests/NestedUpcall/NestedUpCalls_Test.cpp,NestedUpCalls_i.h, - client.{h,cpp},eh_i.{h,cpp},reactor_i.{h,cpp},server.h: - removed trailing ^M's from all lines. - -Tue May 26 09:51:20 1998 Aniruddha Gokhale - - This ChangeLog entry describes massive cleaning efforts to - remove all unwanted code as well as some more additions and - modifications to the TAO IDL compiler. - - * TAO_IDL/Makefile: Removed compilation of all the be_state* - files. - - * TAO_IDL/be_include/be_decl.h - TAO_IDL/be/be_decl.cpp: - Removed the gen_client_header, gen_client_inline, - gen_client_stubs, gen_server_header, gen_server_inline, - gen_server_skeleton methods. - - * TAO_IDL/be_include/ - - be_argument.h - be_array.h - be_attribute.h - be_constant.h - be_enum.h - be_enum_val.h - be_exception.h - be_field.h - be_interface.h - be_interface_fwd.h - be_module.h - be_native.h - be_operation.h - be_predefined_type.h - be_root.h - be_scope.h - be_sequence.h - be_string.h - be_structure.h - be_typedef.h - be_union.h - be_union_branch.h - - AND - - TAO_IDL/be/ - - be_argument.cpp - be_array.cpp - be_attribute.cpp - be_constant.cpp - be_enum.cpp - be_enum_val.cpp - be_exception.cpp - be_field.cpp - be_interface.cpp - be_interface_fwd.cpp - be_module.cpp - be_native.cpp - be_operation.cpp - be_predefined_type.cpp - be_root.cpp - be_scope.cpp - be_sequence.cpp - be_string.cpp - be_structure.cpp - be_typedef.cpp - be_union.cpp - be_union_branch.cpp - - Removed the gen_client_header, gen_client_inline, - gen_client_stubs, gen_server_header, gen_server_inline, - gen_server_skeleton methods. - - * TAO_IDL/be_include/be_codegen.h - TAO_IDL/be/be_codegen.cpp: - - Added a bunch of enumerations for code generation of the Any <<= - and >>= operators for all the IDL types - - Removed a bunch of methods and data members that were used for - the state based approach. - - * TAO_IDL/be_interpretive.cpp: Added cases for the newly - introduced enumerations for the <<= and >>= operators. - - * TAO_IDL/be_produce.cpp: added more documentation. - - * TAO_IDL/be_include/ - AND - TAO_IDL/be - - {be_visitor_enum, be_visitor_exception, be_visitor_interface, - be_visitor_module, be_visitor_root, be_visitor_sequence, - be_visitor_structure, be_visitor_typedef, be_visitor_union}.{h, - cpp}: - - Added visitors to each class called be_visitor_*_any_op_{ch,cs} to - each file. These generate the <<= and >>= operators for all the - types. - - * TAO_IDL/be_visitor_scope.cpp: Added a check to see if a node in - the scope is NUL or not. - - * TAO_IDL/be_include/be_state.h - - AND - - TAO_IDL/be/ - {be_state, be_state_argument, be_state_array, be_state_attribute, - be_state_exception, be_state_exception, be_state_operation, - be_state_sequence, be_state_structure, be_state_typedef, - be_state_union}.cpp: - - All these files are no longer needed. - -Tue May 26 09:40:42 1998 Carlos O'Ryan - - * tests/Makefile: - NestedUpcall was not on the list. - - * tests/NestedUpcall/Makefile: - Added a .PRECIOUS directive. - - * tests/NestedUpcall/Reactor.idl: - The file was full of ^M (i.e. it was using DOS end-of-line) - characters; that was confusing the IDL compiler. - - * TAO_IDL/be/be_visitor_args.cpp: - The code generation for strings and anys as out parameters was - broken. - -Tue May 26 01:46:23 1998 Irfan Pyarali - - * tao/Timeprobe.h: Broke up this file in small pieces. The time - probe map is now split over many files, reducing the - dependencies. - -Mon May 25 18:42:25 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/IDL_Cubit_Test.cpp: added - -ORBobjrefstyle url and -ORBport 0 to both the client and server - arguments. - -Mon May 25 15:54:01 1998 Carlos O'Ryan - - * tao/Timeprobe.h: - Protected the file against multiple inclusion. - - * tao/Makefile: - * tao/orbsvcs/orbsvcs/Makefile: - Updated dependencies. - -Sat Apr 18 01:27:52 1998 Irfan Pyarali - - * tao/Timeprobe.h: Added more timeprobes to POA, ORB, and GIOP. - - * TAO: Change the use of time probes. The new ACE scheme is now - used. - -Mon May 25 11:58:35 1998 Carlos O'Ryan - - * tests/Quoter/client.cpp: - * tests/Quoter/Factory_Finder.cpp: - * tests/Quoter/Generic_Factory.cpp: - * tests/Quoter/Life_Cycle_Service.cpp: - Added several .in() calls to disambiguate things, otherwise g++ - gets really confused. - -Mon May 25 10:04:52 1998 Carlos O'Ryan - - * tao/GIOP.cpp: - Removed some superflous memory allocations and copys. - - * tao/CDR.cpp: - write_octet_array_mb() was returning -1, but it should return a - CORBA_Boolean, thanks to David Levine (levine@cs.wust.edu) for - detecting this one. - -Mon May 25 09:55:36 1998 David L. Levine - - * ace/Sequence.cpp (TAO_Unbounded_Sequence ctor): initialize base - class before data members. - -Sun May 24 22:04:34 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_args.cpp: - Fixed some mistakes in previous change. - -Sat May 23 21:50:00 1998 Carlos O'Ryan - - * tao/CDR.h: - * tao/CDR.i: - * tao/CDR.cpp: - The no copy marshalling of octet sequences can only be applied - if the octet sequence owns its memory through a message block. - - * tao/Connect.cpp: - The input stream is allocated from the heap to permit the no - copy optimizations to work. - - * tao/GIOP.cpp: - Fixed some unitialized memory read problems. - - * tao/Request.cpp: - The result was not released. - - * tao/Sequence.h: - * tao/Sequence.cpp: - Added constructor based on a Message_Block. - Fixed memory deallocation in _allocate_buffer() for octet - sequences. - - * tao/Typecode.cpp: - The buffer was not released every time. - - * TAO_IDL/be/be_visitor_args.cpp: - The return value must be allocated by the upcall and is held in - a _var variable to guarantee automatic release. - - * tests/Cubit/TAO/IDL_Cubit/client.cpp: - The result is released by the request, no need to release it in - the invocation. - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - Initialize the octet sequence using a Message Block to exploit - the no copy marshalling. - - * tao/Any.cpp: - The cdr buffer must be released always. - -Fri May 22 16:39:14 1998 Nanbor Wang - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (NS_NamingContext): Use - the lock returned by server_factory ()-> create_servant_lock () - instead of hacking its own. - - * tao/default_server.cpp (create_servant_lock): Changed to use - ACE_Recursive_Thread_Mutex to avoid further trouble. - -Fri May 22 12:29:28 1998 Irfan Pyarali - - * tao/Connect.cpp (handle_message): Simplified code in this file. - - * tao/GIOP.cpp (writev_n): Changed TAO to use the new - ACE_IO_Vector class. - - * poaC.* (PortableServer): Updated the old exceptions in the POA - generated code. - - * tao/Server_Request.h (IIOP_ServerRequest): Merged the - ServerRequest and the GIOP_RequestHeader class into one - class. When these classes were separate, there were too many - questions about ownership of memory. The separation also caused - extra memory allocations and tight coupling between the two - classes. - -Fri May 22 10:24:48 1998 David L. Levine - - * tests/Quoter/Factory_Finder.cpp,Generic_Factory.cpp, - Life_Cycle_Service.cpp,Quoter_Impl.cpp: - added explicit int return value to function definition. - - * tests/Quoter/Criteria_Evaluator.cpp (getInitialization): - initialized sequence_ptr to 0 to avoid warning about use - of uninitialized variable. It looks like the implementation - is incomplete, though. - -Fri May 22 10:15:30 1998 Carlos O'Ryan - - * tao/ORB_Core.cpp: - The -ORBCDRtradeoff option had no effect, thanks to David Levine - (levine@cs.wust.edu) for catching that one. - -1998-05-22 Torben Worm - - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp - Removed unreached statement - -Fri May 22 07:34:35 1998 David L. Levine - - * TAO version 0.1.24 released. - -Thu May 21 21:59:19 1998 David L. Levine - - * TAO version 0.1.23 released. - -Thu May 21 17:28:55 1998 David L. Levine - - * tao/GIOP.cpp (writev_n): added static cast of iov_len to - ssize_t to avoid signed/unsigned comparison. - - * tests/OctetSeq/OctetSeq.cpp (main): changed type of loop - index to u_int to avoid signed/unsigned comparison. - -Thu May 21 12:16:34 1998 Carlos O'Ryan - - * tests/Cubit/TAO/MT_Cubit/Makefile: - orbsvcs should go before TAO in the link line. - - * tests/Quoter/Makefile: - Pass a -I flag to the IDL compiler so it can find the - CosLifeCycle.idl file. - - * tests/POA/Default_Servant/Makefile: - * tests/POA/Generic_Servant/Makefile: - Added dependencies. - - * tests/OctetSeq/Makefile: - Updated dependencies. - - * tests/OctetSeq/OctetSeq.cpp: - Removed yet another signed/unsigned comparison. - Also was doing the wrong kind of cast. - - * tao/GIOP.cpp: - Fixed pointer airthmetic, it was done using "void*" instead of - "char*". - - * tao/CDR.cpp: - Fixed problems in error detection for OutputCDR::adjust. - -Wed May 20 21:25:33 1998 David L. Levine - - * tao/CDR.cpp: Changed a few locals from int to size_t to - avoid signed/unsigned comparison. Added const to a char * - reinterpret cast. Wrapped and unreachable return with - ACE_NOTREACHED. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: started migration - to ACE_Stats. - -Wed May 20 16:44:29 1998 Nanbor Wang - - * tao/tests/NestedUpcall/{server,client}.dsp: Updated settings. - -Wed May 20 12:54:40 1998 Irfan Pyarali - - * tao/POA: Added the following optimizations to the POA: - - - Use the new ACE_CString to make sure that no malloc/strcpy are - done while the IOR is being parsed. This optimization is - valid irrespective of how deep/long the POA name is. - - - The class that holds the ObjectId in the IOR is now allocated - off the stack instead of coming from the heap. - - - Timestamping and checking for persistent/transient Ids in the - POA can be disabled by using POA_NO_TIMESTAMP flag in the TAO - config file. - - * tao/ORB_Core.cpp (create_and_set_root_poa): Renamed the RootPOA - from "RootPOA" to "" (the empty string). - -Wed May 20 12:10:12 1998 Carlos O'Ryan - - * tao/CDR.h: - * tao/CDR.i: - * tao/CDR.cpp: - OutputCDR buffers grow by appending a message blocks using the - cont() field. - - * tao/GIOP.cpp: - When sending an OutputCDR use writev to send the message block - chain. - - * tao/decode.cpp: - Added support for no copy marshalling of octet sequences. - - * tao/decode.cpp: - * tao/encode.cpp: - Reverted part of a change by Andy because it simply breaks tons - of code. The change in question was passing the address of a - pointer to a string (or wstring) to the - marshlling/dermarshalling interpreter, but only when the string - was a field of a structure. - - * tao/orbconf.h: - * tao/params.h: - * tao/params.i: - * tao/params.cpp: - * tao/ORB_Core.cpp: - * docs/Options.html: - Added options to control the tradeoff between copy vs. no copy - marshalling of octet sequences. If the octet sequence is "small - enough" and the current CDR buffer contains enough space the - octet sequence is copied instead of chained with the buffer. - - * tao/Typecode.cpp: - More fixes to avoid crashes at shutdown. - - * tao/Any.cpp: - The start() method was changed to begin() it looks more STL - like. Also removed a bunch of casts that are no longer needed. - - * tao/Align.h: - Corrected a typo in a comment. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - Reduce the maximum number of suppliers, consumers and messages, - otherwise we exceed the maximum stack size on NT. - - * orbsvcs/Event_Service/Event_Service.cpp: - Fixed error message. - - * tests/CDR/CDR.dsw: - * tests/CDR/growth.dsw: - * tests/CDR/growth.dsp: - Added growth to the project file. - - * tests/CDR/growth.cpp: - Workaound MSVC++ bug wrt conversions from UINT64 to double. - - * tests/Cubit/TAO/IDL_Cubit/client.cpp: - Use larger sequences. - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - Fixed ambiguous use of [] operator. - - * tests/Cubit/TAO/IDL_Cubit/client.dsp: - * tests/Cubit/TAO/IDL_Cubit/server.dsp: - For Win32 Debug we use aced.lib. - - * tests/Cubit/TAO/MT_Cubit/server.dsp: - Added orbsvcs.lib to the library list. The client will not - compile due to unportable use of getrusage. - - * tests/OctetSeq/OctetSeq.dsw: - * tests/OctetSeq/OctetSeq.dsp: - Added a project file for this test. - - * tests/OctetSeq/OctetSeq.cpp: - Fixed several portability problems. - The OutputCDR is not preallocated. - - * tests/Param_Test/tests.cpp: - Fixed bug in bounded string sequence test. - -1998-05-20 Torben Worm - - * orbsvcs/tests/Concurrency/CC_client.cpp - Fixed errors causing compilation problems on VxWorks. - -Wed May 20 08:40:51 1998 David L. Levine - - * orbsvcs/orbsvcs/Propery/CosPropertyService_i.cpp: fixed - instantiation #pragmas. - - * orbsvcs/orbsvcs/Naming/Naming_Service.cpp (parse_args): - removed break; following an ACE_ERROR_RETURN, to avoid compile - warning. - - * tao/POAC.cpp: initialized some retvals, of enum types, to -1 - to avoid GHS compile warnings. The warnings were all in - exception handling blocks, so performance isn't an issue here. - - * tests/Cubit/TAO/IDL_Cubit/README: added instructions on how - to build the client without the ACE and TAO libraries for - VxWorks. Thanks to Umar Syyid for asking - about this. - -Tue May 19 12:19:42 1998 Carlos O'Ryan - - * tao/Typecode.cpp: - Fixed crash at shutdown, TypeCode is a reference counted type, - but in some points they were removed by a simple "delete". - -Mon May 18 16:46:46 1998 Irfan Pyarali - - * tao/POA.cpp (parse_key): Changed the processing of IORs so that - POA names are not copied. Only a pointer is kept to the correct - place in the IOR. - -Mon May 18 12:34:57 1998 Darrell Brunsch - - * tao/Connect.cpp: Debug messages now check - Service_Configurator::debug() to see if -ORBdebug - is specified. - -Mon May 18 09:00:00 1998 Chris Gill - - * orbsvcs/orbsvcs/Sched/Config_Scheduler.h: added forward - declarations of scheduling strategy and dynamic scheduler - classes - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp: added - conditional inclusion of strategy scheduler header file. - -Sat May 16 13:56:01 1998 David L. Levine - - * orbsvcs/orbsvcs/Channel_Clients_T.h - (ACE_Push{Consumer,Supplier}_Adapter); added (private) - declarations of copy constructors. g++ 2.7.2.3/Solaris - needs them, to avoid missing definitions of the copy - constructors when linking with orbsvcs/EC_Gateway.cpp. - - * orbsvcs/orbsvcs/tmplinst-orbsvcs.cpp: added TAO_Object_Manager - instantiations. g++/LynxOS 2.5.0 needs them. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp (print_priority_info): - replaced Solaris priocntl () system calls with a call to - ACE_OS::lwp_getparams (). This allowed removal of #includes - of the priocntl headers, which were causing warnings with - g++ because _REENTRANT was #defined after they were #included. - - * orbsvcs/orbsvcs/Propery/CosPropertyService_i.cpp: fixed - instantiation #pragmas. - -1998-05-15 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp - (delete_all_properties): Removed the warnings by having _out - variables instead of having _var variables. - -1998-05-15 Torben Worm - - * orbsvcs/orbscvs/Concurrency/CC_Lock: - Added some debugging statements - * orbsvcs/tests/Concurrency/CC_client.cpp - orbsvcs/tests/Concurrency/CC_client.h - orbsvcs/tests/Concurrency/CC_naming_service.cpp - orbsvcs/tests/Concurrency/CC_naming_service.h - orbsvcs/tests/Concurrency/CC_tests.cpp - orbsvcs/tests/Concurrency/CC_tests.h: - Added more tests and diagnostics - -Fri May 15 11:12:26 1998 David L. Levine - - * orbsvcs/orbsvcs/Makefile: re-enabled EC_Gateway build. The - problem appears to be only with g++. - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: added - template instantiations. - - * orbsvcs/orbsvcs/Makefile: re-enabled CosPropertyService_i.cpp - build. - - * Makefiles in orbsvcs and tests: removed DCFLAGS = -g. That - should only be defined in the ACE platform_macros file. - -Fri May 15 10:42:22 1998 Carlos O'Ryan - - * tests/POA/Makefile: - * tests/POA/Forwarding/Makefile: - Removed the Forwarding test because it only compiles on NT. - - * tests/POA/Generic_Servant/Makefile: - Removed outdated comment. - -Fri May 15 09:33:47 1998 David L. Levine - - * TAO version 0.1.22 released. - -Fri May 15 08:40:40 1998 David L. Levine - - * orbsvcs/orbsvcs/tmplinst-orbsvcs.cpp: added template - instantiations. - - * orbsvcs/orbsvcs/Makefile: commented out Event/EC_Gateway and - Property/CosPropertyService_i because they cause build failures. - - * Makefile: added .PHONY for phony targets. - -Fri May 15 00:25:29 1998 Douglas C. Schmidt - - * TAO version 0.1.21 released. - -Thu May 14 16:39:15 1998 Aniruddha Gokhale - - * tao/Server_Request.{h,cpp}: Added an extra environment parameter - to the marshal method. This change was required since we wanted to - keep the ORB related exceptions and the user supplied - operation-raised exceptions to be separate. - - * tao/{POAS,PolicyS}.cpp: Made several changes to the IDL - compiler-generated code that were necessary due to the changes - made to the Server_Request's marshal interface explained above. - - * tao/{encode,decode}.cpp: Made a minor change by passing the - address of the void pointer for the string and object cases. This - needs to be thoroughly tested. - - * tao/orbconf.h: Added a conditional macro called TAO_NAMESPACE - that generates either "namespace" or "struct". - - * TAO_IDL/be/be_visitor_module.cpp: The code for the module now - uses the TAO_NAMESPACE macro. - - * TAO_IDL/be/be_visitor_constant.cpp: We were not checking of the - constant was imported or not. In addition, inside the stub - generation code, we were incorrectly checking if the header was - generated or not. Thanks to Andrew Harbick - for providing the bug report that led to - this fix. - - * TAO_IDL/be/be_visitor_operation.cpp: Modifications that were - necessary due to the changes in the Server_Request class and our - policy of distinguishing between ORB raised and user-raised - exceptions. - - * TAO_IDL/be/be_visitor_interface.cpp: Similar changes as in - be_visitor_operation.cpp for the _is_a_skel skeletons. - -Thu May 14 15:20:28 1998 David L. Levine - - * tests/Quoter/Makefile: moved TAO_ROOT definition outside of - "ifdef trader" block. - -Thu May 14 14:34:40 1998 Michael Kircher - - * orbsvcs/orbsvcs/Makefile: CosLifeCycle is now compiled - by default. - -Thu May 14 14:10:40 1998 Michael Kircher - - * tests/Quoter/{Factory_Trader.cpp, Factory_Trader.h - Makefile, run_test.sh}: Factored out the code depending - on the Trading Service. The standard compilation does - now not use the Trading Service. The Makefile has - to be called using the "trader=1" option to activate - compilation of the parts using the Trading Service. - "run_test.sh" will not use by default the - creation service "lifecycle service object", instead - it will ask the Generic Factory directly - -Thu May 14 14:10:26 1998 Carlos O'Ryan - - * tests/Param_Test/tests.cpp: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - Added the right .in() or .out() calls for some T_var types - passed to functions expecting a T_ptr or T_out parameter. - -Thu May 14 13:14:40 1998 Carlos O'Ryan - - * tests/Cubit/TAO/IDL_Cubit/cubit.idl: - * tests/Cubit/TAO/IDL_Cubit/client.h: - * tests/Cubit/TAO/IDL_Cubit/client.cpp: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.h: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - Added a simple test for octet sequences, it tries to compare the - end-to-end cost of a normal sequence (longs) vs an octet - sequence; it compares the cost for a small sequence vs a - small sequence and then repeats the test for a large - sequence. To make the comparison more acurate it uses the same - number of bytes in the sequence as in the sequence, - not the same number of elements. - - * tao/Sequence.h: - * tao/Sequence.i: - The message block accessor can be constant now. - - * tao/Typecode.h: - * tao/Typecode.i: - * tao/Typecode.cpp: - Clean up the destruction code: made the destructor nilpotent to - avoid double destructions. Also removed the redundant operator - new and operator delete; they were not doing any actual work. - -Thu May 14 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Makefile: Removed PropertyService from the - conditional compilation. - -Thu May 14 10:00:37 1998 Carlos O'Ryan - - * tests/OctetSeq/OctetSeq.cpp: - Removed signed/unsigned comparison warnings. - -Wed May 13 21:48:08 1998 David L. Levine - - * tests/Quoter/Makefile: define TAO_ROOT if it's not defined. - - * TAO/orbsvcs/tests/Concurrency/tmplinst.cpp, - TAO/tests/Cubit/TAO/{IDL,MT}_Cubit/tmplinst.cpp, - TAO/tests/Param_Test/tmplinst.cpp, - TAO/tests/Thruput/TAO/tmplinst.cpp: - removed TAO_Unbounded_Sequence instantiation - because it's now in libTAO. - -Wed May 13 18:18:56 1998 Douglas C. Schmidt - - * TAO version 0.1.20 released. - -Wed May 13 16:12:38 1998 Michael Kircher - - * tests/Quoter/Makefile: changed the compiling options for - the IDL compiler - - * tests/Quoter/Quoter.idl: changed the include path - -Wed May 13 06:58:38 1998 David L. Levine - - * tao/Makefile: added Forwarding_Servant. - - * tao/IIOP_Interpreter.cpp: added TAO_Unbounded_Sequence - template instantiation. - - * tao/IIOP_Interpreter.cpp,Typecode.cpp,append.cpp, - decode.cpp,encode.cpp,skip.cpp: - changed ~0 to ~0u to avoid signed/unsigned comparisons. - - * tao/IIOP_Interpreter.cpp (calc_seq_attributes): - replaced TAO_Unbounded_Sequence with - TAO_Unbounded_String_Sequence. For unknown reasons, - GreenHills couldn't compile it without this change. - Thanks to Carlos for providing the fix. - - * many *.{h,i,cpp,idl} files: inserted RCS keyword string. - - * tests/Param_Test/tests.cpp: moved some return statements - out of loops, and changed some loop indexes to CORBA::ULong - to avoid signed/unsigned comparison. - - * tests/Param_Test/run_tests.sh: fixed traps, and added - uid component to port number. - -Wed May 13 00:05:52 1998 Irfan Pyarali - - * tao/ORB.i (orb_free_resources): This should return - !CORBA_ORB::orb_init_count_ instead of simply - CORBA_ORB::orb_init_count_. Thanks to Pavel Motuzenko - for pointing these two problems out. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (TAO_Naming_Server): - Fixed the initialization of naming_context_name_. - - * tests/POA/Forwarding/: Added new test that shows the forwarding - features in TAO. - - * tao/default_server.cpp (concurrency_strategy): Made sure that - the reactive strategy is returned if no concurrency_strategy has - been explicitly set by the user. This should allow servers to - work without a svc.conf file. - - * tao/Server_Request.cpp (set_result and set_exception): These - should not raise exceptions if this->exception_ is set. - - * tao/Servant_Base.cpp: Removed implementation for - TAO_ServantBase::_dispatch() and made it pure virtual. Also, - passed the system environment to the DSI implementation class. - - * tao/POAC.cpp (ForwardRequest): Fixed old IDL code for this - exception. - - * tao/Forwarding_Servant: New DSI servant used by the POA for - forwarding. - - * tao/POA.cpp (forward_object): Adding forward support to the POA. - -Tue May 12 17:34:06 1998 Carlos O'Ryan - - * tests/OctetSeq/OctetSeq.cpp: - Added missing template instantiation. - - * tao/Sequence_T.i: - Fixed typo in Unbounded sequences. - -Tue May 12 16:53:18 1998 Carlos O'Ryan - - * tao/orbconf.h: - * tao/Sequence.h: - * tao/Sequence.i: - * tao/Sequence.cpp: - * tao/Sequence_T.h: - * tao/Sequence_T.i: - * tao/Sequence_T.cpp: - * tao/decode.cpp: - Unbounded Sequences of octets are specialized so their - demarshalling (and eventually their marshalling) is implemented - by increasing the reference count on the CDR stream message - block and then setting the buffer as a pointer to that stream. - The buffers are copied upon assingment or copy ctor. - The feature is enabled by the macro TAO_NO_COPY_OCTET_SEQUENCES, - by default the macro is defined inTAO_ROOT/tao/orbconf.h - and only applies if the CDR stream owns its buffer, in other - words the optimization is disabled when the buffer is allocated - on the stack or is not allocated by the CDR stream. - - * tao/IIOP_Interpreter.h: - * tao/IIOP_Interpreter.cpp: - If the octet sequence is enabled then the size of a sequence - depends on its basic type. - - * tao/ORB.cpp: - If the octet sequence optimization is enabled we don't need to - instantiate TAO_Unbounded_Sequence. - - * tests/Makefile: - * tests/OctetSeq/Makefile: - * tests/OctetSeq/svc.conf: - * tests/OctetSeq/test.idl: - * tests/OctetSeq/OctetSeq.cpp: - Added a simple test that just writes an octet sequence in a CDR - stream and then reads it back. The test compares the time - against a char sequence. - - * tao/GIOP.cpp: - Changed several system exceptions from COMPLETED_MAYBE to - COMPLETED_NO. - - * orbsvcs/orbsvcs/Sched/Config_Scheduler.h: - Added missing forward declaration for ACE_Scheduler. - - -Tue May 12 16:48:46 1998 Seth Benjamin Widoff - - * tao/corba.h: - Added a new macro TAO_CHECK_ENV_RETURN_VOID -- same as - TAO_CHECK_ENV_RETURN, but for methods with no return value. - -Tue May 12 15:22:53 1998 Carlos O'Ryan - - * tests/Param_Test/driver.cpp: - * tests/Param_Test/tmplinst.cpp: - Added missing template instantiations. - -Tue May 12 13:45:45 1998 Chris Gill - - * orbsvcs/orbsvcs/Sched/Config_Scheduler.{cpp,h}: - Fixed compile problem when using ACE_Scheduler - instead of ACE_DynScheduler - -1998-05-12 Torben Worm - - * Reordered initializers and added virtual destructors to - the files orbsvcs/tests/Concurrency/* files. - Updated README files in orbsvcs/tests/Concurrency and - orbsvcs/Concurrency_Service - -Mon May 11 18:11:03 1998 Carlos O'Ryan - - * tests/Param_Test/README: - * tests/Param_Test/driver.cpp: - * tests/Param_Test/options.cpp: - * tests/Param_Test/options.h: - * tests/Param_Test/param_test.idl: - * tests/Param_Test/param_test_i.cpp: - * tests/Param_Test/param_test_i.h: - * tests/Param_Test/tests.cpp: - * tests/Param_Test/tests.h: - Added many tests including bounded sequences of different types, - sequences of Any, Typecode and others. We know that some of this - tests still do not work. Thanks to Rob E. Thornton - for his collaboration on this. - -Mon May 11 17:00:00 1998 Chris Gill - - * ace/ace_dll.dsp - orbsvcs/orbsvcs/RtecScheduler.idl - orbsvcs/orbsvcs/orbsvcs.dsp - orbsvcs/orbsvcs/Sched/Config_Scheduler.{cpp,h} - orbsvcs/orbsvcs/Sched/DynSched.{cpp,h} - orbsvcs/orbsvcs/Sched/Scheduler.h - orbsvcs/orbsvcs/Sched/Strategy_Scheduler.{cpp,h} - - Integrated strategized scheduler with off-line scheduling - interface in Config_Scheduler.{cpp,h}. To use the - strategized scheduler, define the following symbols - in ace/config.h (you can substitute RMS, etc for MUF, - and can choose a different value for the minimum critical - priority - more on this in the release notes, once the - dynamic portion is integrated): - - #define TAO_USES_STRATEGY_SCHEDULER - #define TAO_USES_MUF_SCHEDULING - #define TAO_MIN_CRITICAL_PRIORITY 0 - - -Mon May 11 07:57:47 1998 David L. Levine - - * orbsvcs/Naming_Service/Naming_Service.cpp (init): - dereferenced second arg in init () call. Thanks to - Kirill Rybaltchenko for - reporting this. - - * IIOP/test/Makefile, IIOP/tests/Cubit/TAO/Makefile, - orbsvcs/tests/Trading_Service/Makefile, tests/CDR/Makefile, - tests/Cubit/CORBAplus/MT_Cubit/{client,server}/Makefile, - tests/Cubit/TAO/{DII,MT}_Cubit/Makefile, - tests/POA/Generic_Servant/Makefile, tests/Param_Test/Makefile, - tests/Thruput/CORBAplus/Makefile: removed Log from clean target. - - * TAO/tests/Cubit/CORBAplus/MT_Cubit/client/Makefile, - TAO/tests/Demux_Test/CodeGen/Makefile, - TAO/tests/Thruput/COOL/Makefile: - replaced WRAPPER_ROOT with ACE_ROOT. - -Sat May 09 12:01:37 1998 David L. Levine - - * orbsvcs/orbsvcs/Makefile: removed Log from clean target, - because it's now a directory that we need to keep. - - * orbsvcs/tests/Concurrency/NS_client.cpp (CosNaming_Client ctor): - reordered initializers to match declaration order. - (list_contents): changed loop index type to CORBA::ULong to avoid - signed/unsigned comparison. - - * tao/Makefile: suppress -g when building POA.o with ghs for - VxWorks/i86. - - * tests/Cubit/COOL/{IDL,MT}_Cubit/Makefile: added(ACELIB)(LIBS) - to VLDLIBS. Thanks to Steve Kay for - reporting that link lines were missing -lACE on Chorus. - -Fri May 8 16:32:55 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_exception.cpp: In the typecode generation, we were - incorrectly generating the byte order flag as 0 meaning big - endian. This is now changed to TAO_ENCAP_BYTE_ORDER. - - * TAO_IDL/be/be_visitor_exception.cpp: A spurious "return 0;" - statement in the middle of the code led to generation of empty - code for exception constructors. - - * TAO_IDL/be/be_visitor_interface.cpp: Added the "ACE_CORBA_1" - macro to the generated code so that MSVC++4.2 will be able to - parse the generated code. - - * orbsvcs/orbsvcs/Naming_Service/Naming_Service.cpp: We were - passing a variable of type ORB_var to a method expecting an - ORB_ptr. g++ was not too happy with this. So now we use the in () - method on the _var variable. - - * tao/Connect.cpp: Removed a large segment of commented-out code - which I had kept to remind me to use it to handle the DSI - case. See the log entry for Server_Request.{h,cpp}. - - * tao/{POAC, PolicyC}.h: Used the ACE_CORBA_1 macro when the - classes inherit from CORBA::Object. MSVC++4.2 was not too happy - with CORBA::Object. It needed CORBA_Object. - - * tao/ServantBase.h: Removed the Environment parameter from the - invoke method of TAO_DynamicImplementation class. This was - suggested by Irfan. - - * tao/Servant_Base.cpp: (invoke): Added code after the invoke to - the DSI implementation is made. This code creates a REPLY message - and then uses the dsi_marshal method (described below) to marshal - outgoing parameters. These methods are called only if the request - was 2 way. - - * tao/Server_Request.{h, cpp}: Several changes made - - Added a data member that indicates if the request was oneway or - twoway. This is used by the DSI when it has to decide if a reply - message must be constructed or not. - - Changed the is_user_exception_ data member to - exception_type_. This now explicitly tells us if it was a - GIOP_USER_EXCEPTION or a GIOP_SYSTEM_EXCEPTION or - GIOP_NO_EXCEPTION. This change was required because we faced a - situation in which we not only needed to know if the exception was - a user or a system exception but we wnated to know if there was an - exception itself or not. So a boolean variable was not sufficient - for this. - - Added a new method called "dsi_marshal". This is used by the DSI - to marshal the outgoing parameters. - -Thu May 07 19:14:16 1998 Douglas C. Schmidt - - * TAO version 0.1.19 released. - -Thu May 07 17:55:07 1998 Nanbor Wang - - * TAO/orbsvcs/orbsvcs/orbsvcs.dsp: - * TAO/orbsvcs/tests/Logger/server.dsp: Updated. Thanks to Carlos' - instruction on how to make the change. - -Thu May 7 16:11:00 1998 Robert Eric Thornton - - * orbsvcs/tests/Naming/ns_tree.cpp: added the NamingService to this - test. - -Thu May 7 15:29:46 1998 Carlos O'Ryan - - * TAO_IDL/be/be_codegen.cpp: - The warning was disabled before including other headers, it is - possible (and in some cases certain) that the headers will - enable the warning again. We now disable *after* all the - includes and re-enable at the end. Thanks to Darrell Brunsch - for catching this one before we even - tried it :-) - - * Makefile: - * orbsvcs/README: - The README file is generated from the docs/orbsvcs.html page - whenever a release is made. - - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Logger/logger_i.h: - * orbsvcs/tests/Logger/logger_i.cpp: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/Log/Logger_i.h: - * orbsvcs/orbsvcs/Log/Logger_i.cpp: - Moved the logging service implementation to the library. - - * TAO_IDL/be/be_codegen.cpp: - Generated #pragma to disable the "inheritance via dominance" - warnings on MSVC++; the warning is left on its original state - after when leaving the generated include files. - - * docs/orbsvcs.html: - Updated the document to reflect the new location of the Logging - Service implementation. - - * docs/orbsvcs.html: - Updated the documentation on the directory hierarchy and - contents. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - Fixed template instantiation pragmas. - - * tests/CDR/basic_types.cpp: - * orbsvcs/tests/Concurrency/NS_client.cpp: - * orbsvcs/tests/Concurrency/CC_client.cpp: - * orbsvcs/tests/Concurrency/CC_tests.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp: - * tao/skip.cpp: - * tao/encode.cpp: - * tao/Server_Request.cpp: - Fixed several warnings, mostly unused variables. - -Thu May 7 14:28:01 1998 Douglas C. Schmidt - - * Moved the explanation about adding IDL files to MSVC++ from the - docs/releasenotes/index.html file to the TAO-INSTALL.html file. - -Thu May 07 11:19:25 1998 David L. Levine - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: added - ACE_Condition instantiation. - - * tao/Object_Key.idl,POA.idl,Policy.idl: moved *.idl files - to *.IDL, so that the Makefile rules won't automatically - regenerate them. Inserted RCS keyword string. - - * tao/Makefile: removed rule to suppress regeneration from - .idl files, because it's no longer needed. - - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp: reordered - initializers to match declaration order. - - * orbsvcs/tests/Sched/DynSched.cpp,Makefile: added Quantify probes. - -Thu May 7 00:44:55 1998 Douglas C. Schmidt - - * Reverted a bunch of s/_env/env/g changes... Thanks to Sumedh - for reporting these. - -Wed May 6 23:58:22 1998 Carlos O'Ryan - - * TAO_IDL/be_include/be_visitor.h: - Added missing int in method declaration. - -Wed May 06 23:51:37 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/EC_Multiple.dsp: - * orbsvcs/tests/EC_Multiple/EC_Multiple.dsw: - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - The test now compiles on NT, it lacked a project file and we had - to workaround some MSVC++ bugs. - - * orbsvcs/orbsvcs.dsw: - Added the tests to the main workspace. - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/Event/EC_Gateway.h: - The export macro was wrong and Event/EC_Gateway files were not - in the project file. - -Wed May 6 18:16:42 1998 Douglas C. Schmidt - - * tests/NestedUpcall: Added the new "one-button" features for the - nested upcalls test so that it can run with a single file, just - like IDL_Cubit. Thanks to Rob Thornton for - this enhancement. - -Wed May 6 08:46:18 1998 Aniruddha Gokhale - - * rules.tao.GNU: Added dependency of the generated files on the - TAO_IDL compiler (in addition to the source IDL files). Thanks to - Jim Penny for suggesting this - modification. - -Wed May 06 06:36:18 1998 David L. Levine - - * tests/Param_Test/tests.cpp: (Test_Any::check_validity): added - missing definition of short_in. - - * tests/Param_Test/run_test: filtered "grep" out of ps output, - and use SIGCHLD instead of hard-coded signal number. - -Wed May 6 00:28:09 1998 Marina Igorevna Spivak - - * orbsvcs/tests/Naming/ns_tree.cpp: made several minor - modifications to the test program to make it work for compound - names. - -Tue May 5 15:40:09 1998 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: Changed the - ACE_SYNCH_MUTEX to ACE_SYNCH_RECURSIVE_MUTEX to try and - workaround intra-class method deadlocks. Thanks to Marina for - pointing this out. - - * tao/orbconf.h: Added macros for - TAO_SOCK_{STREAM,ACCEPTOR,CONNECTOR}, which can be overridden in - an ACE config.h file to select a different set of transport - APIs. - - * tao/{ORB_Core,GIOP,Server_Strategy_Factory,ORB}.{h,cpp}: Changed - all uses of ACE_SOCK_* to TAO_SOCK_* so we can override this to - use a different transport API without changing the code at - compile time. - -Mon May 4 11:57:34 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/EC_Multiple/gen_latency: - * orbsvcs/tests/EC_Multiple/gen_throughput: - * orbsvcs/tests/EC_Multiple/gen_utilization: - * orbsvcs/tests/EC_Multiple/histo.pl: - * orbsvcs/tests/EC_Multiple/latency.pl: - * orbsvcs/tests/EC_Multiple/run_latency: - * orbsvcs/tests/EC_Multiple/run_schedule: - * orbsvcs/tests/EC_Multiple/run_throughput: - * orbsvcs/tests/EC_Multiple/run_utilization: - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime1.h: - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime2.h: - The test now has two sets of consumers and two sets of - suppliers, running at different rates, with different events, - with varying number of suppliers and or consumers, etc. - Statistics are kept for latency, total time, laxity, time per - event, etc. - The scripts were updated for the new command line interface. - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - Fixed minor error in debug message. - - * orbsvcs/orbsvcs/Scheduler_Factory.h: - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - * orbsvcs/orbsvcs/Runtime_Scheduler.h: - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - The Runtime_Scheduler uses the POD_RT_Info array directly now. - - * orbsvcs/orbsvcs/Event/RT_Task.cpp: - Set the LWP priority of the task to obtain proper priorities. - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - The split some methods in the MT safe and non-MT safe counter - parts (i.e. the version that takes locks and the _i version that - does not), the method appeared to dead-lock in shutdown. - Anyway the methods are only used at shutdown and startup so - nothing should be broken by this. - - * orbsvcs/tests/EC_Multiple/README: - * docs/releasenotes/ec.html: - Updated the documentation on the multiple EC test. - -Mon May 4 09:35:07 1998 Torben Worm - - * Comitted the files for the concurrency service - * Updated release notes - -Mon May 04 09:05:04 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp,Util_Thread.cpp,server.cpp: - removed ACE_OS::thr_setprio class to set LWP priority, now that ACE - handles that internally. - -Sun May 03 02:05:21 1998 Douglas C. Schmidt - - * TAO version 0.1.18 released. - -1998-05-02 Alexander Babu Arulanthu - - * docs/releasenotes/index.html: Updated the status information for - PropertyService. - -Sat May 2 14:28:41 1998 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (init): There was a bug - in Ross' code that was failing to initialize the - naming_context_var_. This is now fixed. Thanks to Andy for - noticing this. - -Sat May 2 09:58:41 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_exception.cpp: We now make the *_alloc - method as a static method of the generated Exception class. The - reason for doing this was that some exceptions get borrowed from - included files. Now if we make the _alloc method as a static - method in the generated *C.cpp file, we don't see it in other - files where it is needed. The best way to do this was to make a - _alloc method as a static method on the generated exception class. - - * TAO_IDL/be/be_visitor_operation.cpp: Changes made above required - some trivial modifications. However, it remains to be see if - MSVC++ accepts the generated code or not OR whether it needs the - ACE_NESTED_CLASS macro. I am waiting for reports on this. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.{h,cpp}:(init): Due to - application of patches, the signature of the - TAO_Naming_Server::init got reverted to the older and buggy - version. This is now fixed. - -Fri May 01 17:56:07 1998 Nanbor Wang - - * tao/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: Moved #include of - Arg_Shifter.h after #include of tao/corba.h so that ACE_Export - is properly defined. - - * tao/TAO.dsp: Removed Arg_Shifter.cpp from the project. - -Fri May 1 17:26:31 1998 Douglas C. Schmidt - - * orbsvcs/Naming_Service/Naming_Service.cpp (init): Added support - for the -NScontextname option. Thanks to Ross J. Lillie - for this feature. - - * orbsvcs/orbsvcs/Naming_Utils.h: Added "argv/argc" parameters to - the TAO_Naming_Server::init() and constructor methods. Thanks - to Ross J. Lillie for this feature. - - * tao/Makefile: Moved the Arg_Shifter from TAO to ACE since it is - generic and not TAO-specific. - -Fri May 1 13:05:56 1998 Aniruddha Gokhale - - * tao/Stub.h: Added a new structure called TAO_Exception_Data that - holds the typecode and pointer to a function for the user - exception we are dealing with. This was necessary since the - interpreter had no clue of how to allocate storage for the - exception we are dealing with and how to decode it. - - * tao/GIOP.{h, cpp}: Affected by the above change is the "invoke" - method which takes the list of exceptions. It is this method that - is responsible for allocating the right amount of storage for the - exceptions and decode it. - - We kept the original invoke method as it is because the newer - signature cannot work with DII. This still needs work. - - * tao/IIOP_Object.cpp:(do_static_call) - When "invoke" is called, - we now pass the TAO_Exception_Data table. - - * TAO_IDL/be/be_visitor_operation.cpp: The exceptionlist table - that gets generated is now an array of TAO_Exception_Data. In - addition, it is made static. - - * TAO_IDL/be/be_visitor_exception.cpp: Added code to generate the - *_alloc function that allocates memory for the exception. - -Fri May 1 09:55:56 1998 Aniruddha Gokhale - - * tao/POAS.cpp: In the initialization section of constructors for - some of the collocated classes, we had forgotten to use the - ACE_NESTED_CLASS macro. This is now fixed. - -Fri May 1 06:19:03 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_interface.cpp: Modified the generated code - for <<= and >>= operators. It involves more memory allocation. The - previous version was buggy because it was holding pointers to data - allocated on function call stacks. - - * Makefiles: A few Makefiles have been updated with the .PRECIOUS - clause. Otherwise the make was deleting some IDL compiler - generated files. - - * tao/Marshal.i: trivial changes. Probably not even required to - do. Instead of casting the void pointer at the time of passing the - parameter to release, we do it prior to it and then pass the local - variable. - - Added theId: ChangeLog,v 1.1421 1998/05/15 05:26:25 schmidt Exp CVS string. - - * tests/Param_Test: Added support to handle Anys of Object - references (In our case Anys of Coffee objects). - -Thu Apr 30 20:18:44 1998 Alexander Babu Arulanthu - - * orbsvcs/tests/CosPropertyService/client.{h, cpp}, server.{h, - cpp}: The client and server programs exclusively for testing - CosPropertyService. - -Thu Apr 30 15:35:45 1998 David L. Levine - - * tao/tests/Cubit/TAO/MT_Cubit/Task_Client.*,Util_Thread.*, - client.cpp,server.cpp: adapted to work on VxWorks. - -Thu Apr 30 14:26:00 1998 David L. Levine - - * TAO version 0.1.17 released. - -Thu Apr 30 10:06:19 1998 David L. Levine - - * tao/tests/Cubit/TAO/MT_Cubit/server.{h,cpp}: moved the - start barrier from the stack frame of start_servants () - to the stack frame of main (). This turned out the be - the cause of the barrier failure on Linux. And on Solaris86, - but it only appeared there when the ior file was in /tmp. - That's because start_servants () was able to write the file - more quickly there, and then destroy the old barrier. Threads - are evil. - -Wed Apr 29 14:06:35 1998 Aniruddha Gokhale - - * tao/{Object, POAC, POAS, PolicyC, PolicyS}.cpp: Moved all the - static Param_Data and Call_Data tables from the outer global scope - to the scope of the respective stubs and skeletons. This was - necessary since the ORB-owned typecodes are now dynamically - allocated. Thus, if the tables remain in the global scope, the - values for typecodes get initialized to NUL. Thanks to Naga, - Sergio, and Sumedh who were trying in vain to understand why - things were failing. - - * TAO_IDL/be/be_visitor_interface.cpp: Moved the code generation - of static Param_Data tables for the _is_a_skel from the outer - global scope to inside the skeleton for _is_a_skel. - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: On line 119 to the call - to _narrow, we were passing the Object_var. g++ did not like - it. Hence we take the in () of the var object and pass it to - _narrow. - - * tao/skip.cpp: In Sequence::skip, we did not have a return - TRAVERSE_CONTINUE statement after successfull skipping. Hence we - always returned an exception. The same iwas true with Array::skip. - Thanks to Alex (alex@cs.wustl.edu) for reporting this bug. - -Wed Apr 29 12:26:12 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/Makefile: - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime1.h: - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime2.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - Added two precomputed schedules that are selected when the - argument to -s is either RUNTIME1 or RUNTIME2, but it is still - possible to have a global scheduler (-g) or to compute new - schedules (-s ). - The amount of work performed in the high priority threads can be - controlled using the -w option. - - * orbsvcs/tests/EC_Multiple/latency.pl: - * orbsvcs/tests/EC_Multiple/run_utilization: - * orbsvcs/tests/EC_Multiple/run_overhead: - * orbsvcs/tests/EC_Multiple/run_latency: - * orbsvcs/tests/EC_Multiple/gen_utilization: - * orbsvcs/tests/EC_Multiple/gen_overhead: - * orbsvcs/tests/EC_Multiple/gen_latency: - This scripts execute the test with different configurations - designed to measure latency, overhead, utilization, etc. - The run_* scripts execute the test, the gen_* scripts filter the - results and generate Encapsulated PostScript and JPEG files with - the results. - I've tried to make the file naming conventions consistent so its - easier to add new scripts or tests. - - * orbsvcs/Naming_Service/Naming_Service.h: - * orbsvcs/Naming_Service/Naming_Service.cpp: - Added an option (-p) to dump the process ID into a file, this is - useful when running the service from a script that has to shut - it down. - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - Fixed some memory managment problems, but the whole class has to - be revised to be more compliant. - -Wed Apr 29 07:08:18 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test): - fixed loop indices to follow ANSI scoping rules and avoid - signed/unsigned comparisons. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (run_tests): cast the - entire expression to u_long, not just the first term. - -Tue Apr 28 13:02:25 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation.cpp: The tables for Param_Data - and Call_Data in the stubs and skeletons are now generated inside - the stub/skeleton instead of being global. This change was - necessitated since we removed all statics from the TAO library. - - * TAO_IDL/be/be_visitor_structure.cpp: Some trivial indentation - changes and moved code a bit so that related code gets generated - near each other. - - * tao/Exception.cpp: Got rid of all static typecodes for system - exceptions. In addition, there was an error in - "make_standard_typecode" where we were creating a new - ExceptionList for every call to make_standard_typecode. This is - now moved to the init method. - - A few TypeCode definitions have been moved to - Typecode_Constants.cpp since these were owned by the ORB. - - * tao/Exception.h:(make_standard_typecode): The first parameter - now takes a reference to TypeCode_ptr. - - * tao/{Connect, GIOP, Server_Request}.cpp: Use the new TC_opaque - and TC_ServiceContextList typecode pointers rather than the - previous static TypeCode object. - - * tao/Marshal.cpp: Removed a lot of commented out code. - - * tao/Marshal.h: Added some documentation. - - * tao/ORB.cpp: Added a call to TAO_TypeCodes::init in the - init_orb_globals method. - - * tao/ORB.{h,i}: Missing documentation added. Added a new method - that returns a boolean value indicating if the ORB's reference - count for its globals has reached 0. The TypeCode destructor uses - this to get rid of ORB owned typecodes. - - * tao/Object_Key.idl: Added missing documentation. - - * tao/Sequence_T.h: Added missing documentation. - - * tao/Typecode.{h, cpp}: Refined the destructor such that ORB - owned typecodes are now destroyed once the reference count for - globals has reached 0. - - Added a new class called "TAO_Typecodes". It provides a namespace - to defined some static methods for initialization and finalization - of ORB owned typecodes. - - * tao/Typecode_Constants.cpp: Lots of changes. All typecodes are - now dynamically allocated. All the static allocation is removed. - - * tao/{append, skip}.cpp: In the respective append and skip - methods for Exceptions, we had forgotten to append/skip the - repository ID for the exception. In addition, we now use TC_opaque - pointer rather than the static object. - - * tao/decode.cpp: The static table __tc_consts had to be moved - inside the TypeCode::decode method since the typecodes are no more - static. Also, we use the newly defined TC_opaque typecode pointer. - - * tao/{encode, deep_copy, deep_free}.cpp: Used the TC_opaque - pointer instead of the static object TC_opaque that we previously - had. - - * tests/CDR/tc.cpp: Moved the static table of typecodes inside the - function since the typecodes are no more static. - -Mon Apr 27 16:46:42 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/*.cpp: put in RT class if running - as root, and set LWP priorities. - - * tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: added this shell - script, which spawns the server and client (locally). - -Sun Apr 26 10:19:49 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - The print_priority_info() routine is platform specific, but I - did not protect it with the right #ifdef/#endif block. - -Sun Apr 26 01:09:23 1998 Douglas C. Schmidt - - * TAO version 0.1.16 released. - -Sat Apr 25 16:14:02 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - Added routine to print the scheduling parameters of the main and - scavenger thread. - Before starting we report all the user defined parameters for - the test execution. - The push() method consumes a little CPU via the is_prime() - method. - Fixed problem with auto_ptr<> usage. - For the short circuit case the timer is reset at the beginning - of handle_timeout(), otherwise the main thread sleeps a constant - amount of time. - Changed the option to set the timeout interval to -i and now -t - tries to run the test in the Time-shared scheduling class. - The main thread scheduling parameters are modified after - parsing the user arguments. - - * orbsvcs/tests/EC_Multiple/run_latency: - * orbsvcs/tests/EC_Multiple/run_utilization: - * orbsvcs/tests/EC_Multiple/gen_data: - This scripts are attempts to make single button entries for the - diverse configurations of this test. - -Sat Apr 25 08:36:08 1998 David L. Levine - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - added a few .in () dereferences and ACE_UNUSED_ARGs. - -Fri Apr 24 14:08:47 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - The test creates its own scheduling service now, so all the - invocations are collocated. - Added support for overhead test, but it is still untested. - - * orbsvcs/tests/EC_Multiple/Makefile: - Updated dependencies. - - * orbsvcs/tests/EC_Multiple/latency.pl: - The program generates number in usecs now, less need for - conversion here. - - * orbsvcs/tests/EC_Multiple/gen_data: - Improved the graphs, include titles, the time is in usecs, the - EPS files are generated (for LaTeX) and then converted to JPEG - (for HTML). - - * orbsvcs/orbsvcs/Makefile: - Added Event/EC_Gateway.{h,cpp} and updated dependencies. - - * orbsvcs/Naming_Service/Naming_Service.cpp: - Removed obsolete options from usage message. - -Fri Apr 24 10:15:37 1998 Michael Kircher - - * tests/Quoter/Generic_Factory.{h,cpp,dsp}: server for a - Generic Factory conforming to the LifeCycle Service - - * tests/Quoter/Generic_Factory_Impl.{h,cpp}: Implementation - of a LifeCycle Service conforming Generic Factory - -Fri Apr 24 10:08:37 1998 David L. Levine - - * tao/NVList.cpp: added ACE_Node template - instantiation. - -Fri Apr 24 00:18:05 1998 Douglas C. Schmidt - - * TAO version 0.1.15 released. - -Thu Apr 23 18:50:29 1998 Douglas C. Schmidt - - * TAO_IDL/ast_enum.h, - TAO_IDL/ast_exception.h, - TAO_IDL/ast_interface.h, - TAO_IDL/ast_module.h, - TAO_IDL/ast_operation.h, - TAO_IDL/ast_root.h, - TAO_IDL/ast_structure.h, - TAO_IDL/ast_union.h, - TAO_IDL/utl_scope.h: Changed 'friend int yyparse()' to - 'friend int tao_yyparse()' to reflect new changes. - - * The following changes will hopefully provide a framework - for getting rid of all the nasty problems with statics - in TAO! - - * tao/ORB: Added a new static method called init_orb_globals() - that initializes the globals when necessary. - - * tao/ORB: Added a new orb_init_count_ data member that keeps - track of the number of times ORBs have been initialized in order - to do a better job of managing globa ORB resources. - - * tao/Exception: Added a new method called fini() that deletes the - dynamically allocated exceptions list. - - * tao/Exception: Changed init_standard_exceptions() to init() to - be consistent. - - * tao/Marshal: Changed initialize() to init() to be consistent. - - * tao/IIOP_Interpreter: Changed init_table() to init() to be - consistent. - - * tao/ORB: Added support so that we make sure to only initialize - and destroy global ORB resources when the first/last ORB is - created/destroyed, rather than using static objects (which are - causing problems on shutdown). - -Thu Apr 23 16:20:58 1998 Douglas C. Schmidt - - * TAO/TAO_IDL/Makefile: Change the YY* symbols to ACE_YY* symbols - to avoid clashes if we link with other flex/yacc generated code. - -Thu Apr 23 15:48:29 1998 Aniruddha Gokhale - - * TAO_IDL/be/{be_visitor_structure, be_visitor_exception, - be_visitor_union, be_visitor_sequence}.cpp: The code generation of - the >>= operators is now improved to take into account the fact - that an Any may not own the value. In such cases, the >>= operator - should simply do a cast rather than retrieving the value from the - CDR member - - * tao/Any.{h,i}: Added a new method (TAO extension) returning a - boolean to indicate if the Any owns the data or not. This is used - by the >>= operators generated for user-defined types - - * tao/Any.cpp: The constructor and assignment operator of Any that - was creating a CDR stream used to point its ACE_Message_Block - member to a buffer that was allocated on the function call - stack. We now explicitly call "clone" on it to make a deep copy. - - * tao/GIOP.{h,i}: Added two methods that return the underlying - input and output CDR streams. - - * tao/IIOP_Object.cpp: (do_dynamic_call): Made major - modifications. We are now able to handle the case when the user - has not supplied the top level storage for out and return - parameters. For these cases, we use exactly the same logic as the - Any::decode method. We maintain a pointer to the part of the CDR - stream that holds the value and save it in the Any. It is the - application's responsibility to use the appropriate >>= methods to - retrieve the value. - - * tao/NVList.{h, i, cpp}: We now use ACE_Unbounded_Queue to - maintain the list of NamedValues. The original code was mixing up - C++ and C memory management by using calloc and realloc. This was - cauisng too many problems. At the same time, reallocing would - introduce a large number of deep_copies of the Anys that are held. - All the add_* and item methods have been affected. - - * tao/ORB.cpp: Modified the create_list method since the NVList - now uses ACE_Unbounded_Queue to maintain a list of - NamedValues. - - * tao/{append, encode, decode, skip}.cpp: For the Union::{append, - encode, decode, skip} methods, it was necessary to use the >>= - operators to retrieve the label values. We were originally using - casts to the void* returned by the Any::value () method. However, - since this returns the underlying CDR buffer, we need to use the - type-safe >>= operators. For the enum case label, we explicitly - invoke the decoder. - - * tao/Server_Request.cpp:(demarshal): We now create an NVList of - size 0 and then add individual items according to the - CallData_skel table. This is no more wasteful as in the previous - scheme because now we use ACE_Unbounded_Queue to mainatin the - internal list and hence growing the list does not result in huge - amounts of deep_copies. - - * tests/Cubit/TAO/IDL_Cubit/client.cpp: Fixed the usage for DII in - struct_dii and union_dii to use the >>= operators. - - * tests/Param_test/tests.cpp: Partially fixed the way DII tests - should be coded. Some of them are now working. I need to fix the - rest of them. - -Wed Apr 22 15:56:58 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - The test also has a collocated scheduling service now. - - * orbsvcs/tests/EC_Multiple/svc.conf: - Added a missing svc.conf file. - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp: - The -n option can be used to specify the scheduling service name. - - * orbsvcs/orbsvcs/Scheduler_Factory.h: - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - We can find scheduling services with different names now. - Removed all method that used resolve_initial_references() to - find the scheduling service; this was needed before the naming - service was working. - - * orbsvcs/tests/EC_Multiple/latency.pl: - * orbsvcs/tests/EC_Multiple/gen_data: - Simple scripts to process the data obtained in the experiments. - -Mon Apr 20 16:46:07 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_interface.cpp: An ACE_NESTED_CLASS was - getting generated with a blank first argument for cases where the - interfaces were defined in the outermost scope. This is now fixed - by using a conditional "is_nested". - -Mon Apr 20 13:23:30 1998 Carlos O'Ryan - - * tao/Server_Request.h: - * tao/Server_Request.cpp: - We keep a flag to determine whether the exceptions stored with - the set_exception() method are user exceptions or system - exceptions. - -Mon Apr 20 09:48:01 1998 David L. Levine - - * tests/CDR/growth.cpp (main): cast ACE_ONE_SECOND_IN_USECS - to ACE_UINT32 to avoid ambiguity when using ACE_U_LongLong. - - * tao/append.cpp (append): commented out unused local - "continue_append". - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (run_tests): removed - unused local "context_switch". Protected declarations of - "ptartTime" and "pstopTime" for CHORUS only. - - * tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test): - protected declaration of context_switch for ACE_HAS_PRUSAGE_T or - ACE_HAS_GETRUSAGE. - -Mon Apr 20 06:36:44 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_interface.cpp: The generated typecode was incorect - in its encapsulation length. We were generating the entire - TypeCode length as the encapsulation length. - -Sat Apr 18 20:21:24 1998 Aniruddha Gokhale - - * TAO_IDL/be/{be_visitor_exception, be_visitor_sequence, - be_visitor_structure, be_visitor_union}.cpp: In the generated code - for the >>= operators, we were incorrectly passing the address of - the pointer to the decode method rather than simply passing the - pointer. - - * tao/Any.cpp: The value () routine either returns the cdr_ or the - value_ field depending on whether the Any owns the data or not. - - * tao/TypeCode.cpp: In private_equal, we had forgottent to account - for the tk_any case. - -Sat Apr 18 15:52:20 1998 Alexander Babu Arulanthu - - * tao/Exception.cpp (CORBA_Exception): Removed a debugging - statement assert (1==2) in the destructor of this class. - -Sat Apr 18 12:19:11 1998 David L. Levine - - * tests/Cubit/TAO/IDL_Cubit/server.cpp (init_naming_service): - dereference orb and child_poa with in () in calls to - my_name_server_.init (). - -Sat Apr 18 10:14:13 1998 Aniruddha Gokhale - - * tao/Any.cpp: There was a mistake in some of the the >>= - operators in which for the "any owns data" case, we were - retrieving the data from the value_ field instead of the cdr_ - field. - - * tao/GIOP.cpp: An unwanted explicit template instantiation for - Unbounded sequences of TypeCode is now removed. - - * tao/decode.cpp: A very very subtle error. For the case of - Any::decode, our strategy was to let the Any maintain a pointer to - the CDR stream and eventually let the >>= operators do the - retrieve part. We were correctly maintaining pointers to the - duplicated ACE_Message_Block. Unfortunately, this - ACE_Message_Block was maintaining a data member which is the CDR - stream which was allocated on the function call stack of - "do_static_call". As a result, all kinds of weird results started - showing up. We now make an explicit copy. Although this scheme - will slow down the performance for Anys, at this time, this is the - only feasible solution to get things working. - - * tests/CDR: Added test for Any in basic_types.cpp - - * tests/Param_Test: Added some debug statements. - -Fri Apr 17 19:15:24 1998 Alexander Babu Arulanthu - - * tao/Any.h : - * tao/Any.cpp : Added static dump () method for debugging any - values. It prints out type and value (if the type is primitive). - -Fri Apr 17 15:35:27 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: - An explicit ACE_Thread_Mutex was used, this is non-portable to - platforms without threads, the "Right Thing" is to use the macro - ACE_SYNCH_MUTEX. - -Fri Apr 17 13:29:46 1998 Nanbor Wang - - * tao/skip.cpp (skip): - * tao/deep_copy.cpp (deep_copy): - * TAO_IDL/be/be_decl.cpp (tc_name2long): Removed unreferenced - variables. - -Fri Apr 17 12:12:04 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation.cpp: There was an error in the - way the return Any type was passed to the demarshal and marshal - routines of the generated skeleton code. - - * tao/Any.cpp: Error in the assignment operator for Any fixed. For - the Any owns case, we were copying the data from the value_ field - instead of the cdr_ field. - - * tao/decode.cpp: In Any::decode, we were setting the value_ field - of the Any to the ACE_Message_Block rather than setting the cdr_ - field. - - * tao/encode.cpp: In Any::encode, we were reading from the value_ - field of the Any rather than the cdr_ field. - - * tests/Param_Test: Added code for the Any test. This is still - under test. - -Fri Apr 17 02:38:13 1998 Aniruddha Gokhale - - * TAO_IDL/be/{be_visitor_exception, be_visitor_sequence, - be_visitor_structure, be_visitor_union}.cpp: We had a mismatch in - the signatures of operator <<= in the declaration and - implementation. In addition, we force the generated code for >>= - operator to own the allocated memory. - - * TAO_IDL/be/be_visitor_interface.cpp: In the code that generates - >>= operator, we also generate code such that the allocated memory - is owned by the Any - - * tao/Any.{h, cpp}: We now have two data members in class Any. We - keep the older semantics of the value_ field. In addition, we - maintain a ACE_Message_Block *cdr_ member. Originally we shared - the value_ variable to mean either a CDR stream or a pointer to - some data type. This was based on whether the Any owns the data or - not. However, this strategy does not work because in the >>= - operators for constructed types, we must hold on to the newly - allocated storage since we own it and we must free it. - - * tao/TypeCode.cpp: In the constructor, we were initializing the - internal buffer to point to 4 bytes past the actual buffer that - was passed as a parameter. Things were fine as long as we were not - transmitting typecodes. However, once we started doing that, we - realized that somehow the buffers kept on reducing by 4 as we kept - transmitting typecodes over the wire. Thus, a typecode receive don - the other end had a smaller buffer (and hence different contents) - than the original. We fix this by making our internal buffer point - ot the start of the buffer that was passed as a parameter. The - side-effect of this is that whenever we have to initialize a - TAO_InputCDR with this internal buffer, we must do so by - explicitly skipping the first 4 bytes (which contains the byte - order flag) and indicating that the length is 4 less than the - actual. - - * tao/decode.cpp: In TypeCode::decode, there was a very subtle - error. Whenever we were decoding a typecode and determining that - it was one of the ORB maintained constants, we were simply - pointing to it and passing it back. However, this is not correct - because the application can call "release" which was resulting in - "Freeing Non-Heap Memory" which is terrible. We now "_duplicate" - such typecodes and then pass them to the applications. - -Thu Apr 16 20:34:40 1998 David L. Levine - - * tao/ORB_Core.cpp (TAO_ORB_Core): reordered initializers to - match declaration order. - - * tao/Exception.cpp: added ACE_Unbounded_Queue, - etc., instantiations. - - * tao/PolicyC.h (CORBA_PolicyList): commented out unused - _tc_PolicyList_seq. - -Thu Apr 16 19:22:10 1998 Seth Benjamin Widoff - - * TAO_IDL/be/be_visitor_interface.cpp: - The ACE_NESTED_CLASS macro in the base/member initialization - section of a collocated class was using the wrong scope to - initialize inherited collocated classes. Prefixed a "POA_" to - the scope. - -Thu Apr 16 16:00:35 1998 Aniruddha Gokhale - - * tao/decode.cpp: In TypeCode::decode, for the case of bounded - strings, we were passing a null pointer to the typecode - constructor. - - * tao/encode.cpp: In TypeCode::In encode, for strings, we were - encoding the typecode's buffer length rather than the bounds of - the string. - - * tests/Param_Test: Added code to test TypeCodes. Most of the - files in this suite are modified. - -Thu Apr 16 13:28:59 1998 Carlos O'Ryan - - * tao/decode.cpp: - An exception was raised if a nil object reference was decoded. - - * tao/POA.cpp: - For debugging purposes we print a message when an exception is - raised on the server side. - - * TAO_IDL/be/be_visitor_interface.cpp: - Use ACE_NESTED_CLASS macro for collocated classes, this makes - the generated code portable between NT and other platforms. - -Thu Apr 16 10:31:53 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_interface.cpp: I had forgotten to generate - a "return TRUE" statement in the code for the >>= operator on - interfaces. - - * TAO/tao/Any.cpp: All the basic >>= operators were using plain - casts. However, according to the new strategy, if the Any owns the - value, then it is a CDR stream. So we make this distinction in the - code. - - * TAO/tao/POAS.cpp: In the initialization section of a number of - skeleton class constructors, we were initializing - _tao_collocated_Policy without specifying its fully scoped name - which happens to be POA_CORBA::_tao_collated_Policy. g++ was - complaining. However, it remains to be seen if MSVC++ accepts this - new style. - -Thu Apr 16 10:10:16 1998 Michael Kircher - - * tests\Quoter\Quoter_Impl.cpp: Improved the copy operation - * tests\Quoter\client.{h,cpp}: Using the copy operation - Status: Bootstraping and copying of Lifecycle Objects works. - -Thu Apr 16 08:36:16 1998 David L. Levine - - * orbsvcs/Naming_Service/Naming_Service.cpp (parse_args): - removed break following an ACE_ERROR_RETURN. - -Thu Apr 16 01:25:18 1998 Irfan Pyarali - - * tao/poa.idl: Fixed the idl file. - - * tao/PolicyS.cpp (_tao_collocated_Policy): _tao_collocated_Policy - must inherit from CORBA_Policy and not from CORBA::Policy. This - is because the VC++ compiler cannot deal with inheriting from - nested typedefs. - - * tao/Policy{C,S}.h: Added TAO_Export macros. Also fixed the - #include files. - - * tao/POAS.*: Added code for _get_policy_type_skel() and - policy_type() by hand. - - * tao/POAC.*: Removed code for PortableServer::Policy. - - * tao/POA.cpp: Added the policy_type() method to the policy - classes. - - * TAO: Changed PortableServer::Policy to CORBA::Policy. - -Wed Apr 15 22:29:29 1998 Aniruddha Gokhale - - * TAO_IDL/be/{be_visitor_structure, be_visitor_union, - be_visitor_enum, be_visitor_sequence, be_visitor_interface, - be_visitor_exception}.cpp: Added code to generate the <<= and >>= - operators for CORBA::Any. - - * TAO_IDL/be/be_predefined_type.cpp: Added cases for LongLong, - ULongLOng, and LongDouble which were missing. Thanks to Sam Hauer - . - -Wed Apr 15 20:20:58 1998 Michael Kircher - - * orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer{Factory}.java.JDK1.2 - added these two files, they can be used by the JDK 1.2 instead - of by the Visigenic ORB. - -Wed Apr 15 15:59:58 1998 Aniruddha Gokhale - - * TAO/tao/append.cpp: Added a bunch of methods that take a CDR - stream and append it to another CDR stream while maintaining the - alignment. These functions use exactly the same logic as that used - by the encode, skip, decode, deep_free, and deep_copy methods. - - * TAO/tao/any.cpp: When we reset the contents, we set value_ to 0 - - * TAO/tao/CDR.{h, i, cpp}: Added a constructor to the - TAO_OutputCDR and TAO_InputCDR to take an ACE_Message_Block as - input. In addition, added the "append" methods that append one CDR - to other while maintaining the alignment. - - * TAO/tao/Exception.{h, i, cpp}: Added the definition and - implementation of the CORBA::ExceptionList class according to the - CORBA v2.2 (Feb 98). This required a few changes in the - Exception.cpp file while initializing the list of system - exceptions. - - * TAO/tao/{GIOP, IIOP_Object}.cpp: Changes required due the new - definition of ExceptionList - - * TAO/tao/Marshal.h: Added the append methods on all classes. - - * TAO/tao/ORB.h: Chnaged the definition of ExceptionList from - typedef to TAO_Unbounded_Object_Sequence to using - the new defintion. - - * TAO/tao/Typecode.{h, cpp}: Moved the defintions of Bounds and - BadKind inside the TypeCode class. This is where it belongs. - - * TAO/tao/decode.cpp: In Any::decode, we set the value_ data - member of Any to a duplicated ACE_Message_Block. - - * TAO/tao/encode.cpp: Changed the implementation of Any::encode - such that if the Any owns the data, then the value_ which is an - ACE_Message_Block that holds a CDR stream gets appended to the - destination CDR. Otherwise, the value is literally encoded into - the destination CDR. - - * TAO/tao/skip.cpp: Added WString::skip. In addition, we had - forgotten to pass the address of the discriminant_val to the - decoder inside the Union::skip function. - -Wed Apr 15 12:19:36 1998 Nanbor Wang - - * tao/deep_copy.cpp (deep_copy): We need a return if no error was - found. - -Wed Apr 15 09:28:16 1998 Carlos O'Ryan - - * tao/Stub.h: - A field was declared , this field is - needed to initialize a Sequence that requires a - parameter. The careful reader will notice - that there is no implicit conversion between the two types, the - first is a pointer to constant TypeCode_ptr no a constant - pointer to TypeCode_ptr. Only SGI/C++ detected this problem. - -Wed Apr 15 09:11:11 1998 David L. Levine - - * orbsvcs/orbsvcs/Sched/DynSched.cpp (compare_entry_finish_times): - added const's to first_entry and second_entry declarations and - casts, so that ANSI static_casts will succeed. - - * orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp (create): - removed extraneous trailing semicolon. - - * orbsvcs/orbsvcs/Event/RT_Task.h (ACE_RT_Task): added "class" - to declaration of friend ACE_RT_Thread_Manager. - - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp (main): added an _out - temporary to avoid compiler warning about a temporary being used - for a non-const reference. Because only Sun C++ seems to complain - about this, and the temporary is non-comformant (it is an _out - type, and users aren't supposed to create them), the hack is - only used with Sun C++. - -Tue Apr 14 19:35:50 1998 Michael Kircher - - * tests/Quoter/*: Quoter example is running using the Cos LifeCycle - Factory Finder. - -Tue Apr 14 16:37:50 1998 Carlos O'Ryan - - * tao/encode.cpp: - * tao/deep_copy.cpp: - * tao/decode.cpp: - * tao/Principal.cpp: - * tao/ORB.h: - * tao/IIOP_Object.cpp: - * tao/GIOP.cpp: - * tao/Exception.cpp: - Removed the last traces of CORBA_SEQUENCE, we use - TAO_Unbounded_Sequence for CORBA::OctetSeq and - TAO_Unbounded_Object_Sequence for CORBA::ExceptionList. - - * orbsvcs/Naming_Service/Naming_Service.cpp: - * orbsvcs/orbsvcs/Naming/Naming_Utils.h: - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: - It is less surprizing to receive arguments as T_ptr than as - T_var&. - Also followed the usual memory managment conventions of CORBA, - i.e. we don't own the parameters we receive, but we do own the - return values or out parameters we obtain. - - * orbsvcs/tests/Event_Latency/Event_Latency.h: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Pseudo-objects or objects passed as input parameters must be - duplicated before storing them in a T_var variable. - -Tue Apr 14 13:49:51 1998 Aniruddha Gokhale - - The following changes are untested. - - * TAO/tao/skip.cpp: Added a new file that can skip values in the - CDR stream. We need this functionality so that when an Any is - decoded, it will simply hold a pointer to the ACE_Message_Block - (which in turn consists the incoming CDR stream). However, we - still need to skip past the value. This skipping uses the same - interpretive algorithm used by the encoder and decoder. - - * TAO/tao/Any.{h, cpp}: Changed the way constructors, assignment - operators, replace method, and destructor worked. The policy is - that if the Any owns the value, then it immediately converts the - value to a CDR stream and destroys the value. - - * TAO/tao/CDR.{h, i}: Added some more functionality to do the - basic "skip" operations. - - * TAO/tao/Marshal.h: Added the skip methods on all the - TAO_Marshal_* classes. - - * TAO/tao/decode.cpp: When we decode an Any, the value pointer now - points to the CDR stream (represented as a ACE_Message_Block). It - is the application's responsibility to use the <<=, >>= operators - to retrieve the right type. - - * TAO/tao/Policy{C,S}.{h,i,cpp}: Added these files that have stubs - and skeletons for the CORBA::Policy interface. - - * TAO/tao/{ORB, corba}.h: Added definitions for the PolicyType, - Policy, and PolicyList. - -Tue Apr 14 12:27:35 1998 Carlos O'Ryan - - * tao/decode.cpp: - * tao/encode.cpp: - Use the write_*_array() and read_*_array() when - encoding/decoding arrays or sequences into/from a CDR - stream. Since every request has at least one sequence (the - object key) this is a improvement for all requests. - I was able to measure improvements in the order of 5% to 10% for - IDL_Cubit. - - * tests/CDR/growth.cpp: - The correct interface to accumulate measurements in a - ACE_High_Res_Timer is start_incr()/stop_incr(). - - * tests/Cubit/TAO/IDL_Cubit/client.cpp: - Increased the maximum sequence size to 100, otherwise it is hard - to notice how the sequences affect performance. - - * docs/releasenotes/ec.html: - Added an explicit example on how to run the Event_Latency test. - - * tao/Exception.cpp: - Fixed indentation. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - An exception was not "rethrown". - -Tue Apr 14 12:23:04 1998 David L. Levine - - * orbsvcs/orbsvcs/Sched/DynSched.cpp,Strategy_Scheduler.cpp, - tests/Cubit/TAO/MT_Cubit/Task_Client.h: - #include math.h after #including the ACE headers, to avoid a - compile warning on ghs/VxWorks. - - * orbsvcs/orbsvcs/Sched/DynSched.cpp (add_dependency): removed - a break statement following a return. - - * orbsvcs/orbsvcs/Sched/SchedEntry.h (OS_priority): removed - name qualifier (the class name). - - * tests/Param_Test/client.cpp (run_dii_test): removed second - return statement at end. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.{h,cpp},client.cpp - (get_latency): cast double latency_ to u_int. - -Tue Apr 14 10:23:32 1998 Douglas C. Schmidt - - * tao/ORB_Core.h (TAO_ORB_Core): Moved a bunch of "set" methods - into the public part of the class so that we can set them if - necessary. Also changed the "set" methods so they return the - original pointer, which enables "chaining". Thanks to Brian - Mendel for point this out. - -Tue Apr 14 07:16:21 1998 David L. Levine - - * Makefile: added CONTROLLED_FILES macro. Thanks to Doug - for reporting this. - - * INSTALL,Makefile: removed INSTALL from CVS control. - -Tue Apr 14 00:51:45 1998 Douglas C. Schmidt - - * TAO version 0.1.14 released. - -Sat Apr 11 20:02:32 1998 Douglas C. Schmidt - - * TAO version 0.1.13, released Sat Apr 11 20:02:32 1998. - -Sat Apr 11 10:00:09 1998 Michael Kircher - - * orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowser.java: - modified to be used only when the DOVE Browser is running as - an Java Application. - - * orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowserApplet.java: - used when the DOVE Browser is running as an Applet. - - * orbsvcs/tests/Simulator/DOVEBrowser/*: minor changes to handle - the afore mentioned changes. - -Fri Apr 10 15:11:44 1998 Nanbor Wang - - * tao/GIOP.cpp (message_name): Fixed a missing increment by 1 - code. Thanks to Sumedh for noticing the bug. - -Fri Apr 10 10:41:04 1998 Carlos O'Ryan - - * tests/Param_Test/tmplinst.cpp: - Added a missing template instantiation. - -Fri Apr 10 04:38:36 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_typedef.cpp: The changes made by me in the - log entry mentioned just below had some flaws. I had sort of - blidly applied it to a case in the "visit_typedef" node of the - be_visitor_typedef_ci class. I was resetting the alias context - before the code generation action was taken as aooposed to doing - it after the action was taken. Thanks to Seth Widoff for sending - the bug report. - -Thu Apr 9 21:57:52 1998 Douglas C. Schmidt - - * tao/POAS.cpp: Fixed up the POA to use the new - ACE_Static_Allocator_Base stuff. - - * tao/Operation_Table: Added an additional parameter to the - TAO_Dynamic_Hash_OpTable constructor so that we can pass in the - ACE_Static_Allocator_Base. Also, changed the code to use the - base/member initialization section, which is more efficient. - -Thu Apr 9 22:53:21 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_interface.cpp: We now use the - ACE_Static_Allocator_Base to define a static allocator for the - Dynamic Operation Hash Table. Using this approach will finally - solve the seg faults in the static destructors. - - * TAO_IDL/be/{be_visitor_args, be_visitor_array, be_visitor_field, - be_visitor_exception, be_visitor_operation, be_visitor_typedef, - be_visitor_union, be_visitor_union_branch}.cpp: The visit_typedef - operation on all the classes in these files was setting the - TAO_Visitor_Context's alias state to the typedef node being - visited. However, we were not resetting this context alias state - after the action has been taken. This broke code for a scenario - shown in a dummy IDL below: - - typedef X Y; - struct foo { ... }; - struct bar { - Y y_field; - long long_field; - }; - In the code generation for the struct "bar" (for that matter for - unions, exceptions, sequences, and others), when we are generating - the code for the field whose type is "Y", we set the alias - context, it gets set to Y and we use its primitive type which is X - to do the "accept". However, we do not reset the alias context. As - a result, when we are generating the code for the long_field, the - alias context is still "Y" which leads our IDL compiler to - generate code that says "Y long_field;" rather than "long - long_field;". This is now fixed. - -Thu Apr 9 20:15:41 1998 Nagarajan Surendran - - * orbsvcs/Naming_Service/Naming_Service.cpp (init): Added code to - recognize the -o option to output the Naming Service ior to a file - to avoid setting the NameService env. variable when multiple - naming services are running. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: Added a - naming_service_ior () method to return the ior of the Naming - Service. - -Thu Apr 9 19:25:44 1998 Michael Kircher - - * orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java, - orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.cpp. - orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp: - Had to conform to the new RtecScheduler.set ( ..) method, - some parameters were added. - - * docs/releasenotes/index.html: Enhanced description of the DOVE - -Thu Apr 9 10:07:34 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Time_Utilities.i: - Fixed warnings in convertion from 64 bit ints to 32 bit - ints. This is a classical example of a "good" cast, we know the - numbers will be in range (unless something *really* bad happens, - like), so the conversion will work. - -Wed Apr 08 10:02:16 1998 David L. Levine - - * bin/make_release: added this script that creates ACE and/or - TAO releases. - - * Makefile: added support for make_release. See comments at - the top of the Makefile. The old release mechanism has - been retained; to use it: make release-old. - - * tao/ORB.cpp (ORB_init): added missing __FILE__ to printout. - Thanks to Tom Brusehaver for reporting - this. - - * orbsvcs/Runtime_Scheduler.{h,i}, - orbsvcs/orbsvcs/Config_Scheduler.{h,i} (set): - removed const from Criticality and Info_Type arguments. Thanks - to Doug and Irfan for reporting this. - -Wed Apr 08 07:41:53 1998 Brian Mendel - - * tao/{default.bld, tao.bld}: Updated VxWorks GHS Build files. - - * orbsvcs/default.bld, - orbsvcs/orbsvcs/orbsvcs.bld, - orbsvcs/Event_Service/Event_Service.bld, - orbsvcs/Scheduling_Service/Scheduling_Service.bld, - orbsvcs/Naming_Service/Naming_Service.bld, - orbsvcs/Dump_Schedule/Dump_Schedule.bld: - Updated VxWorks GHS Build files. - - * tests/Cubit/TAO/IDL_Cubit/{default.bld,IDL_Cubit.bld}: - Updated VxWorks GHS Build files. - -Wed Apr 08 00:31:08 1998 Irfan Pyarali - - * tao/ORB_Core.cpp (init): If the host is not supplied by the - user, we will go ahead and call ACE_OS::hostname immediately. - This will help later down the road, since ACE_OS::hostname will - not have to be called each time an IIOP_Profile is created. - - * tao/IIOP_Object.cpp (set): Changed the calls to get_host_addr() - to get_host_name(). The name is more readable than the IP - address. - - * tao/ORB_Core.cpp (init): If the user explicitly specifies - -ORBport 0, we choose a port and start listening. This will - make sure that all IORs produced will be correct. If -ORBport 0 - is not specified, lazy listening is done as usual (on - orb->run()). - -Tue Apr 7 18:25:09 1998 Michael Kircher - - * tests/Quoter/quoter.idl: Extended the interface by a Factory - Finder. - - * tests/Quoter/QuoterFactoryFinder.{cpp,h}: Server and - Implementation of the Factory Finder. - -Tue Apr 7 16:22:09 1998 Carlos O'Ryan - - * TAO_IDL/util/utl_global.cpp: - Changed a buffer size from MAXNAMELEN to MAXPATHLEN, the former - is very small in some systems, plus the fact is that a fullpath - can be use in that buffer, so MAXPATHLEN is the right constant. - -Tue Apr 07 10:55:53 1998 David L. Levine - - * orbsvcs/tests/Simulator/ss: generate port numbers based on - uid, and set TAO_ROOT (based on ACE_ROOT) if it's not set. - This utility should be moved, maybe up two directories? - - * orbsvcs/orbsvcs/{Makefile,RtecScheduler.idl,Runtime_Scheduler.*, - Scheduler_Factor.*}, - orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp,Event_Channel.cpp, - ReactorTask.cpp, - orbsvcs/orbsvcs/Sched/Config_Scheduler.{h,cpp},DynSched.*, - SchedEntry.*,Scheduler.cpp,Strategy_Scheduler.{h,cpp}, - orbsvcs/tests/EC_Multiple/EC_Multiple.cpp, - orbsvcs/tests/Event_Latency/Event_Latency.cpp: - merged DynSched into liborbsvcs. - - * orbsvcs/tests/Sched/Makefile: added. - - * orbsvcs/tests/Sched/DynSched_Test.cpp: builds on Suns. And - runs! - -Mon Apr 6 14:43:13 1998 Carlos O'Ryan - - * tao/Connect.cpp: - The process would crash if it was unable to resolve an address - to a name, even though it was only used in a debugging - message. Thanks to Keith Nicewarner for - pointing out this. - -Mon Apr 06 09:59:22 1998 David L. Levine - - * tests/Thruput/tao/utils.cpp: hacked so that it will compile - on VxWorks and Chorus. It won't run properly, though. The - file should be updated to use ACE_Profile_Timer instead of - using rusage directly. - - * TAO_IDL/Makefile: moved include of rules.local.GNU to after - include of rules.bin.GNU. Without this change, tao_idl doesn't - get build on LynxOS. - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): ACE_OS::mktemp () - instead of mktemp (). - -Sun Apr 05 18:05:26 1998 Michael Kircher - - * orbsvcs/tests/Simulator/DOVEBrowser/{ DOVEBrowser.java, - DemoCore.java, PushConsumerFactory.java }: - The Browser accepts now the parameter -ORBnameserviceior. - -Sun Apr 05 10:04:57 1998 David L. Levine - - * tao/Makefile: don't regenerate files using TAO's IDL compiler. - Instead, always use what's in our CVS repository, or in the TAO - distribution. - - * tao/Makefile: use fakesvcconf = 1 if shared_libs is not defined, - instead of if CROSS-COMPILE is not defined. - -Sat Apr 04 21:25:43 1998 Douglas C. Schmidt - - * TAO version 0.1.12, released Sat Apr 04 21:25:43 1998. - -Sat Apr 4 17:43:08 1998 Douglas C. Schmidt - - * tao/Operation_Table.cpp: Removed the call to hash_.close() since - the Hash_Map_Manager destructor handles this already. - -Sat Apr 4 15:50:29 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence.cpp, - TAO_IDL/be_include/be_visitor_sequence.h: Added a case to - support sequence of exceptions. - -Sat Apr 04 07:45:33 1998 David L. Levine - - * tao/ORB.h: don't use u_longlong_t on Suns if - ACE_LACKS_U_LONGLONG_T is defined. - - * tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test): - moved declaration of loop index "i" out of two for loops, and - declared as u_int instead of int to prevent signed/unsigned - comparison. - -Sat Apr 4 04:26:49 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_interface_fwd.cpp: We were not checking if - the node was imported. Due to this, code was getting generated for - forward declared interfaces from "#include"d IDL files. - - * TAO_IDL/be/be_visitor_sequence.cpp: We were not calling - "nested_type_name" while generating the return type of the - operator [] in the sequence var class. As a result, a fully scoped - name was getting generated instead of a relative scoped name which - the MSVC++ compiler does not like. - - * TAO_IDL/be/be_visitor_exception.cpp: For "typedefed" nodes, we - were using their base types to generate the code. This is fixed. - - In addition, some files from the above and others were modified to - correct some formatting problems in the generated code. - -Sat Apr 4 00:24:01 1998 Douglas C. Schmidt - - * tests/Cubit/TAO/MT_Cubit/client.cpp: Fixed a typo where - "i" was being defined twice in the same block of code. - -Fri Apr 3 18:40:49 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/client.cpp: - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: Minor changes for - Chorus. Cleanup code. - -Fri Apr 3 18:39:21 1998 Steve Huston - - * tests/POA/On_Demand_Activation/Makefile: Changed LSRC to SRC to - match today's changes to ACE's rules.bin.GNU. - -Fri Apr 3 17:43:07 1998 Carlos O'Ryan - - * tao/CDR.h: - * tao/orbconf.h: - * tao/CDR.cpp: - Added configuration macros to enable swap on write, and to - disable swap on read. - Also increased the default size of a CDR buffer. - - * tests/CDR/Makefile: - * tests/CDR/growth.cpp: - Added another simple test of the CDR buffer, this one tries to - measure performance. - -Fri Apr 3 17:15:22 1998 Steve Huston - - * TAO_IDL/Makefile: The sources that go into the compiler are - listed in SRC, not LSRC. This matches a change in ACE's - include/makeinclude/rules.bin.GNU. - -Fri Apr 3 17:07:18 1998 Sergio Flores - - * tao/TAO_Internal.cpp (FAKE_SVC_ENTRY): - * tao/orbconf.h: Made minor changes to have the fake service - configurator receive its values through macros, instead of - changing the ".cpp" file. Seems cleaner this way. - -Fri Apr 3 15:35:39 1998 Alexander Babu Arulanthu - - * orbsvcs/tests/AVStreams/client.h, client.cpp: All PropertySet - methods and the Iterator class methods tested. - -Fri Apr 3 08:59:16 1998 Carlos O'Ryan - - * tao/CDR.cpp: - Null strings are transmitted as empty strings. - Fixed - - * tao/IIOP_ORB.cpp: - Ensure that CDR buffer created from the IOR string is properly - aligned. - - * tao/Server_Request.cpp: - More checking for exceptions while decoding parameters and we - print an error message if decoding fails. - - * tao/Typecode.cpp: - Only the first byte of the encapsulation stores the byte order, - the next three bytes are ignored because the is stored as - a long. - - * tao/decode.cpp: - Removed dead code, improve error message when decoding object - references and fix an off by one error in ObjRef::decode. - - * tao/encode.cpp: - When encoding Object References an encapsulated stream is - created in place, I debugged the computation of the length for - that stream and left some debug messages commented out. - The support for encoding null strings and wstrings as empty - strings is in the CDR classes, no need to duplicate the effort - here. - - * tao/Connect.cpp: - Cosmetic changes. - -Fri Apr 03 09:01:00 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/server.cpp (start_servants): - changed local "ior_file" to "ior_f" because it shadowed - the global and caused compile failure with g++. - - * tests/Cubit/TAO/MT_Cubit/server.cpp (start_servants): - check return values of activate calls. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (run_tests): - added default case to switch statement. - - * tao/Sequence*.{i,cpp}: use ACE_CAST_CONST instead of const - in reinterpret casts, to keep all compilers happy. - -Thu Apr 02 15:49:16 1998 Nanbor Wang - - * tao/tests/Cubit/TAO/MT_Cubit/client.dsp: - * tao/tests/Cubit/TAO/MT_Cubit/server.dsp: Updated project file. - - * tao/ORB_Core.{h,i,cpp} (create_and_set_root_poa): Added this - private method to create and set the root poa of the calling - ORB_Core. - (root_poa): Make sure this function will always return a valid - poa pointer (thru the use of create_and_set_root_poa above.) - - * tao/ORB.cpp (resolve_poa): Moved the creation of poa into - ORB_Core. - -Wed Apr 1 23:39:04 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp: - * tests/Cubit/TAO/MT_Cubit/Util_Thread.h: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/server.h: Fixed some bugs and added - some comments. - -Wed Apr 01 22:37:59 1998 Irfan Pyarali - - * tests/POA/Default_Servant/client.cpp: Fixed options parsing. - - * tao/Servant_Base.h: Added TAO_Export to - TAO_DynamicImplementation. - -Wed Apr 1 17:33:04 1998 Douglas C. Schmidt - - * tests/Cubit/TAO/MT_Cubit: Cleaned up the formatting of the code - to conform to the TAO programming style. - -Wed Apr 1 11:07:53 1998 Michael Kircher - - * orbsvcs/tests/Simulator/DOVEBrowser/VisCompFactory.java: - Implemented a Factory pattern to generate the Visualization - Components and the Java class loader is now used to instantiate - the JavaBeans Visualization Components. - - * orbsvcs/tests/Simulator/DOVEBrowser, DOVEMIB and Event Supplier - are running under NT properly. - -Wed Apr 01 09:44:31 1998 Nanbor Wang - - * tao/ORB_Core.cpp (init,fini): Removed calls to - ACE_OS::socket_init and ACE_OS::socket_fini because they are - taken care of by ACE already. - -Wed Apr 1 09:46:53 1998 Aniruddha Gokhale - - The following fix was also made by Carlos simultaneously. Here is - the reason what was going wrong. - - * tao/IIOP_Interpreter.cpp: In calc_nested_size_alignment_i, there - was a bug in which we were initializing the CDR stream for - nested parameters with an incorrect size. This was due to the - fact that we were computing the byte order outside and then - initializing the stream with 4 less bytes. However, the - constructor of the TAO_InputCDR was also computing the byteorder - using wrong locations in the bytestream. This is now fixed. - - * tests/Param_Test: Added barebones implementation to test - Anys. This is still not complete because we still have to work - on getting Anys in TAO to work correctly and get rid of the - memory management problems we are having. - -Wed Apr 1 09:41:07 1998 Carlos O'Ryan - - * tao/IIOP_Interpreter.cpp (calc_nested_size_and_alignment_i): - Fixed nested strem interpretation. - -Wed Apr 1 08:56:24 1998 Douglas C. Schmidt - - * tao: Renamed ResultFromScode to TAO_ResultFromScode to avoid - clashes with MFC functions. Thanks to David Janello - for reporting this. - -Tue Mar 31 21:01:30 1998 Nanbor Wang - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (init): Fixed a typo. - -Tue Mar 31 20:18:36 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (TAO_Naming_Server): - Added code to remove the IOR_Multicase event handler in the destructor. - -Tue Mar 31 19:50:48 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/server.cpp (Cubit_Server): Removed the - naming service unbind code from the destructor as the naming - server is a component and not an external server. Also they will - be destructed when the ~Cubit_Server is called. - -Tue Mar 31 19:30:03 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/server.cpp (Cubit_Server): Added a - check in the destructor to unbind the cubit_factory from the - naming service. - -Tue Mar 31 15:15:53 1998 Carlos O'Ryan - - * tao/Sequence.h: - * tao/Sequence.i: - * tao/Sequence_T.h: - * tao/Sequence_T.i: - g++ does not like typedefs inside templates, and we were abusing - them in the sequences. - - * tests/CDR/tc.cpp: - Fixed formatting problems. - - * tests/Param_Test/tmplinst.cpp: - Added missing template instantiations. - -Tue Mar 31 11:10:34 1998 Nanbor Wang - - * tao/ORB.h (String_out): Added the infamous TAO_Export macro. - -Tue Mar 31 14:38:29 1998 Douglas C. Schmidt - - * tao/Sequence_T.i (replace): Make sure to cast this->buffer_ - to (T *) to make compilers like GCC happy! - -Tue Mar 31 13:34:36 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (svc): dereference - cb_factory with .in (). - - * tests/Cubit/TAO/MT_Cubit/server.cpp (start_servants): declare - iorFile outside the conditional statement. - - * tests/Cubit/TAO/MT_Cubit/cubit.idl: added comments and RCS Id - string. - - * tests/Cubit/TAO/MT_Cubit/{client,server}.cpp: fixed priority - assignments so that they work on all platforms. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.h: fixed fabs() to negate - the argument if less than 0. - -Tue Mar 31 11:05:23 1998 Carlos O'Ryan - - * tao/CDR.h: - * tao/CDR.cpp: - * tao/decode.cpp: - * tao/Typecode.cpp: - Added constructor for encapsulated streams to the TAO_InputCDR - class; this was causing problems on Intel machines. - - * TAO_IDL/be/be_helper.cpp: - * TAO_IDL/be/be_codegen.cpp: - We end #if/#endif blocks using C style comments (/* */) as - opposed to C++ style (// ) - - * tao/Sequence.i: - * tao/Sequence.cpp: - * tao/Sequence_T.i: - * tao/Sequence_T.cpp: - Fixed a lot of const-correctness problems, thanks to J. Russell - Noteworthy for putting me on this - track. - - * tests/Param_Test/tmplinst.cpp: - * tests/Param_Test/tests.cpp: - * tests/Param_Test/param_test_i.h: - * tests/Param_Test/param_test_i.cpp: - * tests/Param_Test/param_test.idl: - The test now includes all kind of sequences: of basic types, of - structs, of strings, of objects; both bounded and unbounded. - Unfortunately only compilation is verified, I still have to add - code to verify functionality. - - * TAO_IDL/be/be_visitor_sequence.cpp: - Unproper code was generated for bounded sequences of strings. - - * tao/IIOP_ORB.cpp: - Added some debug messages to verify that collocation works. - - * orbsvcs/tests/EC_Multiple/README: - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - Now that the ORB supports collocation we can create a collocated - EC, but that requires a smarter startup. - It seems that the ECP is not receiving all the messages it - should. - The main purpose of the change was to verify that collocation - works and it seems to do so. - - * tao/Connect.cpp: - We set the flag to expect input *before* making the - request. This alleviates (but does not solve) the problems of - using several threads and a global ORB: in such a configuration - it is possible that one thread is running the event loop, but - another makes a request, if the reply is received before the - flag is set the ORB believes it has received an out-of-order - reply and shutdowns the connection. - The real solution is to use the leader-follower model. - - * tao/decode.cpp: - * orbsvcs/Event_Service/Event_Service.cpp: - Cosmetic changes. - -Mon Mar 30 21:38:32 1998 Nanbor Wang - - * tao/ORB_Core.cpp (fini): Added a call to ACE_OS::socket_fini (). - - * tao/IIOP_ORB.cpp (_get_collocated_object): Changed to call - TAO_ORB_Core_instance ()-> root_poa () instead of - this->resolve_poa (). Thanks to Carlos for tracing this down. - -Mon Mar 30 17:59:30 1998 Nanbor Wang - - * tao/ORB_Core.i: Only _NOT_ specialize - ACE_Hash_Addr when ACE needs to instantiate - template explicitly and it is not inlined. - -Mon Mar 30 13:13:07 1998 Carlos O'Ryan - - * tao/Typecode.cpp: - Fixed cast that dropped constness when only reinterpret_cast was - needed; thanks to David Levine (levine@cs.wustl.edu) for - detecting this. - - * tao/Server_Request.cpp: - bytes_remaining was called in a debug message (not seen in - Solaris); thanks to Nanbor Wang (nanbor@cs.wustl.edu) for - reporting this. - -Mon Mar 30 12:28:02 1998 David L. Levine - - * tao/ORB_Core.i: only specialize ACE_Hash_Addr - with ACE inlining enabled, to avoid link collision with the - instantiation in Connect.cpp. - - * tao/CDR.cpp (TAO_OuputCDR ctors): rearranged initializations - to match declaration order. - - * tao/t-sizes.cpp: #include "tao/corba.h" instead of "tao/orb.h". - -Mon Mar 30 10:28:05 1998 Carlos O'Ryan - - * Implemented new classes to manipulate CDR streams, this classes - separate input (interpretation) and output (creation) of the - streams; in an attempt to make the interface more robust. - The new classes provide methods to write and read strings and - arrays, this is currently used in very few places, but it could - provide a big performance boost. - - The change affected the following files: - - * TAO/tao/Align.h: - * TAO/tao/CDR.cpp: - * TAO/tao/CDR.h: - * TAO/tao/CDR.i: - * TAO/tao/Connect.cpp: - * TAO/tao/Connect.h: - * TAO/tao/Exception.cpp: - * TAO/tao/GIOP.cpp: - * TAO/tao/GIOP.h: - * TAO/tao/GIOP.i: - * TAO/tao/IIOP_Interpreter.cpp: - * TAO/tao/IIOP_Interpreter.h: - * TAO/tao/IIOP_ORB.cpp: - * TAO/tao/ORB.h: - * TAO/tao/Server_Request.cpp: - * TAO/tao/Server_Request.h: - * TAO/tao/Server_Request.i: - * TAO/tao/Typecode.cpp: - * TAO/tao/Typecode.h: - * TAO/tao/decode.cpp: - * TAO/tao/deep_copy.cpp: - * TAO/tao/deep_free.cpp: - * TAO/tao/encode.cpp: - * TAO/tao/orbconf.h: - * TAO/tao/params.h: - In most cases it was only a matter of changing the class name - and the method invocations. - - * tests/Param_Test/options.cpp: - Use CORBA::string_copy instead of ACE::strdup because we delete - the buffer with CORBA::string_free. - - * tests/Cubit/TAO/IDL_Cubit/client.cpp: - I limited the size of the sequences, otherwise the test time - grows non-linearly with the number of loops. - - * tests/Param_Test/README: - The test can also check string sequences, but the option to do - so (-t strseq) was not documented. - - * tests/CDR/basic_types.cpp: - The test is run several times; this is useful when trying to - verify performance. - -Sun Mar 29 03:09:17 1998 Nanbor Wang - - * tao/IIOP_ORB.{h,i,cpp}: Added an optimize_collocation_objects_ - flag to turn optimization for collocation objects on and off. - - * tao/ORB_Core.cpp: Added an initialization argument - -ORBcollocation to make ORB aware of collocation objects or - not. The default is on. - - * doc/Options.html: Added documentation for -ORBcollocation. - -Fri Mar 27 20:08:24 1998 Nanbor Wang - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (NS_NamingContext): - Changed to get lock from the ORB. - - * orbsvcs/orbsvcs/orbsvcs.dsp: Update the source file list. - - * tao/ORB.h: Added TAO_Export to class CORBA_ORB_var. - - * tao/params.cpp: Removed the extra inclusion of . - -Fri Mar 27 14:10:34 1998 Steve Huston - - * TAO_IDL/driver/drv_preproc.cpp: (also see my entry from 09:50) - Removed explicit char * operator call, and use the conversion - as it was before. However, I needed to change the ?: operator to - an if/else for AIX xlC to compile it correctly. - -Fri Mar 27 13:38:04 1998 Seth Benjamin Widoff - - * orbsvcs/IOR_Multicast.{h,cpp}: - * orbsvcs/Makefile: - * orbsvcs/Naming/Naming_Utils.{h,cpp}: - I moved the Ior_Multicast.{h,cpp} files up a directory and changed - the class name to TAO_IOR_Multicast. It didn't logically belong - in the Naming directory, since other bootstrappable services - require it. - -Fri Mar 27 11:47:58 1998 David L. Levine - - * tao/IIOP_ORB.*,IIOP_Object.{h,cpp},Request.{h,cpp},Server_Request.*, - Exception.*,params.*,Connect.*,default_{client,server}.*,corba.h: - #include the .i file in the .h/.cpp files instead of corba.h. - - * tests/Demux_Test/client.cpp: #include ace/stream.h instead of - system headers, and use ACE_OS::gethrtime () instead of - gethrtime (). - - * orbsvcs/orbsvcs/Event/Reactor_Task.cpp (ACE_ES_Reactor_Task): always - use ACE_OS::gettimeofday (). ACE_High_Res_Timer::gettimeofday () - now takes an argument, so it's not compatible with what - ACE_Timer_Queue needs. And it didn't seem necessary to have - separate code for VxWorks. And the hrtimer on WIN32 is flakely - on multiple-CPU machines. - - * tao/IIOP_ORB.cpp: added ACE_Unbounded_Set_Iterator template - instantiation. - -Fri Mar 27 09:50:52 1998 Steve Huston - - * TAO_IDL/driver/drv_preproc.cpp: Use explicit char * operator on - cpp_path (AIX xlC requires this). Added CVS Id. - - * tao/Sequence_T.h: Fully qualify the template type when used as a - function return. - -Fri Mar 27 04:45:46 1998 Nanbor Wang - - * tao/ORB.h: Added two pure virtual functions - _register_collocation and _get_collocated_servant to CORBA_ORB - class so the derived classes have their own implementations. - (resolve_poa,resolve_poa_current): Changed these two functions - from private methods to protected methods. I need to access - them from IIOP_ORB. - - * tao/IIOP_ORB.{h,cpp} (_register_collocation): Added this new - method to record connection end points an IIOP ORB owns. - (_get_collocated_servant): Added this new method which uses a - passed in STUB_Object to determine whether a requested object is - collocated or not. If it's a collocated object, returns the - servant of that object and we can use that to create a - collocated object reference. - (object_to_string): Added code to register object end point with - IIOP ORB. - (iiop_string_to_object): Added code to check whether a requested - object is collocated or not and return a collocated object if it - fits to do so. - - * tao/ORB_Core.cpp (preconnect): Added code to register success - preconnections to IIOP's end point repository. - - * tao/decode.cpp (TAO_Marshal_ObjRef::decode): Added code to - optimize against collocation objects. - -Thu Mar 27 10:57:02 1998 Michael Kircher - - * orbsvcs/tests/Simulator/DOVEMIB: New version of the DOVE - MIB. - - * orbsvcs/tests/Simulator/README: Updated. - - * docs/releasenotes/index.html: Updated. - -Thu Mar 26 21:24:59 1998 David L. Levine - - * tao/ORB.*,corba.h (CORBA_ORB::shutdown): uninlined, so that - ORB.i can be #included properly. - - * tao/CDR.{h,cpp},GIOP.{h,cpp},corba.h: #include the .i file - in the .h/.cpp files instead of corba.h. - - * TAO_IDL/fe/y.tab.cpp: wrapped a couple of assignments in - conditionals with parens. - -Thu Mar 26 17:28:24 1998 Douglas C. Schmidt - - * TAO version 0.1.11, released Thu Mar 26 17:28:24 1998. - -Thu Mar 26 10:07:02 1998 Michael Kircher - - * orbsvcs/tests/Simulator/DOVEMIB: Checked in a first draft - of the DOVE Management Information Base (DOVE MIB). A README - will be available with further details. - -Thu Mar 26 08:31:02 1998 Aniruddha Gokhale - - * TAO_IDL/fe/idl.yy: We were setting the name of a sequence (named - sequence) when the code for client header generation was - invoked. However, in cases where we import some definitions, we - never go into the code generation code for that type. As a result, - such imported typedefed (a.k.a named) sequences remained - nameless. So when the time came to emit their name, it resulted in - a segmentation fault. - - We fix this by setting the name of the sequence in the parsing - stage itself. - - Thanks to Torben Worm (tworm@cs.wustl.edu) for reporting the bug - to me. - - Changed files also include y.tab.cpp and y.tab.h - - * TAO_IDL/be/be_visitor_sequence.cpp: Minor correction to get the - formatting right. - - * TAO_IDL/be/be_decl.cpp: Simplified the logic of converting a - name into a padded long array. The original logic caused problems - on NT/PC because of its "little-endian" nature. This was causing - the repoIDs and names (represented as longs) undergo byte - swapping. - -Thu Mar 26 06:29:09 1998 David L. Levine - - * tao/Marshal.{h,cpp},ORB.*,Object.{h,cpp},corba.h: - #include the .i file in the .h/.cpp files instead of corba.h. - -Wed Mar 25 22:55:02 1998 Carlos O'Ryan - - * tao/Servant_Base.h: - * tao/Object.cpp: - Collocated objects (even if their dynamic type is simply - CORBA_Object) can use the servant to resolve the _is_a() - calls. - -Wed Mar 25 22:06:19 1998 Sumedh Mungee - - * tao/TAO.cpp: Added accessors for child/root poa. - -Wed Mar 25 15:10:48 1998 Aniruddha Gokhale - - * tao/encode.cpp: In the encoding of exceptions, we were not - encoding its repository ID. This is now fixed. - -Wed Mar 25 11:11:47 1998 David L. Levine - - * tao/ORB.h: use ACE_UINT32 instead of u_char for CORBA_Boolean - with Green Hills on Chorus, to work around a compiler bug. - The bug is revealed with accessing the root_poa, by - TAO/tests/POA/RootPOA/RootPOA. - - * tao/ORB.{h,cpp}: changed type of open_called_ and - should_shutdown_ flags from CORBA::Boolean to u_int, because - they're ACE_Atomic_Ops. This allows CORBA::Boolean to be - a typedef of bool. Without this change, bool would be required - to support all of the arithmetic operations that ACE_Atomic_Op - needs, and that's not standard. - - * orbsvcs/tests/Logger/{clnt.cpp,logger_i.*,svr.cpp}, - orbsvcs/orbsvcs/Naming/{Ior_Multicast.cpp,Naming_Utils.cpp}, - tests/Thruput/TAO/server.cpp: - removed unnecessary #include of ace/streams.h. - - * tao/Makefile,tests/Cubit/TAO/IDL_Cubit/Makefile, - tests/NestedUpcall/Makefile: - removed CPPFLAGS, LDFLAGS, and DCFLAGS because they duplicated - what's already in taoconfig.mk or platform_macros.GNU. - -Wed Mar 25 09:08:44 1998 Torben Worm - - * docs/releasenotes/index.html: Added comment to the concurrency - control service section. The implementation of the concurrency - control service is discontinued due to unclear specs. - -Wed Mar 25 02:36:06 1998 Nanbor Wang - - * tests/NestedUpcall/server.cpp: Renamed tao_util.h to TAO.h. - -Tue Mar 24 19:13:35 1998 Aniruddha Gokhale - - * tao/Server_Request.cpp: There was a lot of messy code on the - outgoing path from skeleton to the wire. Specifically, we were - mixing system exceptions with user defined exceptions. This has - been fixed and is under testing. - - * TAO_IDL/be/{be_visitor_exception, be_exception}.cpp: The generated - typecode for Exceptions erroneously had a "tk_struct" TypeCode - kind. This has been fixed to be "tk_except". - - * TAO_IDL/be/be_visitor_operation.cpp: Handling of oneway operations - in the server skeletons was buggy. It is now fixed. - - * TAO_IDL/be/be_predefined_type.cpp: TypeCodes for pseudo objects - were not getting properly generated. This is now fixed. - -Tue Mar 24 14:51:33 1998 Nanbor Wang - - * TAO_IDL/be/be_interface.cpp (gen_server_skeletons): Changed - op_name() to operation (). - - * TAO_IDL/be/be_visitor_operation.cpp (visit_operation): Added a - return statement. - - * tao/IIOP_Object.cpp: Initialze - TAO_Synchronous_Cancellation_Required::old_type_. - -Tue Mar 24 14:07:08 1998 Aniruddha Gokhale - - * tao/Server_Request.{h, i, cpp}: Made the class compliant with - the latest CORBA v2.2. Added some extensions. There were some - subtle bugs related to user defined exceptions that were not being - reported back to the caller. Modified the constructor to take a - GIOP_RequestHeader as a parameter. - - * tao/IIOP_Interpreter.{h, cpp}: Removed the "struct_traverse" and - "union_traverse" methods as they were no longer used. - - * tao/Typecode.{h, cpp}: Removed the original interpreter - "traverse" as it is no longer used since its logic is included in - the different encode and decode methods. - - * tao/POA.cpp: changed the usage of "op_name" to "operation" since - that is the correct method name of the ServerRequest class - according to the CORBA v2.2 spec. - - * tao/POAS.cpp: Massive changes made to use the new style of - skeleton code that the IDL compiler generates - - * tao/{Servant_Base, Operation_Table}.{h, cpp}: The "_find" and - "_bind" operations now take a "const char *opname" rather than - "CORBA::String &opname". - - * tao/Connect.cpp: Server_Request creation now uses the modified - constructor. - - * TAO_IDL/be/{be_visitor_operation, be_interpretive}.cpp: Added - another visitor that generates the exceptionlist for the client - stub. - - * TAO_IDL/be/be_visitor_interface.cpp: Change in generated code to - use the "operation" method on class Server_Request rather than the - non-compliant "op_name". - - * TAO_IDL/be/be_visitor_sequence.cpp: Minor correction to get some - formatting in generated code correct. - - * TAO_IDL/be_include/be_codegen.h: Added a state for exception - list generation - - * TAO_IDL/be_include/be_visitor_operation.h: Added a new visitor - for exception list generation. - -Tue Mar 24 11:01:33 1998 Nanbor Wang - - * tao/TAO.dsp: Added Stub.cpp into the project. - -Tue Mar 24 07:29:20 1998 David L. Levine - - * tao/Makefile,Any.{h,cpp},NVList.*,ORB.h,ORB_Core.{h,cpp}, - Stub.{h,i,cpp},Typecode.{h,cpp},corba.h: - #include the .i file in the .h/.cpp file instead of corba.h - - * tao/ORB.cpp (wscpy): removed, because we now use ACE_OS::wscpy () - instead. - -Mon Mar 23 19:44:11 1998 Irfan Pyarali - - * tao/ORB: CORBA_ORB no longer inherits from IUnknown. - - * tao/IIOP_Object.cpp (set): A valid key must be provided, else - the function will fail. Also removed all cases where the key - was given a default value (of "0"). - - * tao/IIOP_ORB.cpp (QueryInterface): Removed this method. - -Mon Mar 23 13:20:12 1998 Michael Kircher - - * orbsvcs/tests/Simulator/DOVEBrowser/WeaponsVisComp.java: - Found some uninitialized variables and fixed the problem. - This component should now be more stable. - -Mon Mar 23 10:42:12 1998 Chris Gill - - * orbsvcs/orbsvcs/Sched/DynSched.{cpp,h,i} - orbsvcs/orbsvcs/Sched/SchedEntry.{cpp,h,i} - orbsvcs/orbsvcs/Sched/Strategy_Scheduler.{cpp,h,i} - - Merged in the final round of timeline fixes from the - files in the old scheduler directory into the ones - in the new directory. - - * orbsvcs/tests/Sched/DynSched_Test.cpp - - Added directory orbsvcs/tests/Sched and checked in a - copy of DynSched_Test.cpp, the file used to test the - offline behavior of the dynamic scheduler locally. - This file will serve as the basis of a real TAO test - for the on and off line behaviors of the dynamic - scheduler when it is fully integrated into TAO. - -Mon Mar 23 09:18:12 1998 David L. Levine - - * orbsvcs/Dump_Schedule/Makefile,orbsvcs/Event_Service/Makefile, - orbsvcs/Scheduling_Service/Makefile, - orbsvcs/tests/Event_Latency/Makefile, - orbsvcs/tests/EC_Multiple: - replaced orbsvcs/orbsvcs/orbsvcs with orbsvcs/orbsvcs in some - dependencies. - - * tao/ORB.{h,cpp},tao/POA.cpp,tao/encode.cpp, - TAO_IDL/ast/ast_generator.cpp,TAO_IDL/be/be_generator.cpp: - migrated to ACE_OS::WChar. That has a size of 32 bits. - Thanks to Irfan for this recommendation. - - * tao/ORB.cpp (wstring_copy): changed null check at beginning - from "if (*str)" to "if (!str)". - - * tao/Sequence_T.cpp (allocbuf): added missing ; at end of - ACE_NEW_RETURN statement. - - * TAO_IDL/fe/Makefile,lex.yy.cpp,lex.yy.cpp.diff: replaced - #includes of standard headers with #include of OS.h so that - ace/config.h is #included first. The allows config.h to - #defined _REENTRANT before stdio.h is #included, for example. - - * tao/Makefile: marked Object_KeyC.* and POA[SC].* files as - .PRECIOUS so that gmake avoids deleting them. Thanks to - Chris Cleeland for this suggestion. - -Mon Mar 23 03:20:47 1998 Douglas C. Schmidt - - * TAO version 0.1.10, released Mon Mar 23 03:20:47 1998. - -Mon Mar 23 01:19:19 1998 Irfan Pyarali - - * tao/ORB_Core.cpp (init): It is ok not to have a svc.conf file, - therefore check should be: - - if (result != 0 && errno != ENOENT) - -Mon Mar 23 01:17:18 1998 Douglas C. Schmidt - - * tao/corba.h: Moved Request.i up a notch in the corba.h file so - that it will be defined correctly! This obviates the need for - Nanbor's fix below! - -Sun Mar 22 23:19:42 1998 Nanbor Wang - - * tao/Request.cpp: Include Request.i conditionally. - - * tao/Object.h: Added macro TAO_Export to class CORBA_Object_var - and class CORBA_Object_ptr. - -Sun Mar 22 21:54:57 1998 Douglas C. Schmidt - - * TAO_IDL/be/be_interface: Made full_coll_name() a NON-const - method to work around a bug with GCC... - - * TAO/tao: Moved a bunch of inline methods from *.i files into - *.cpp files to avoid warnings from G++. I don't know why it - complains but not inlining this code shouldn't matter unless we - find that these functions get called a lot via profiling... - Thanks to David Levine for pointing this out. - -Sun Mar 22 14:04:31 1998 Nanbor Wang - - * tao/tao.{dsp,dsw}: Updated Project files. - - * tao/Exception.{i,cpp}: Conditionally include its inline file. - Added codes for copy ctor and assignment operator for - CORBA_UserException and CORBA_SystemException. - -Sun Mar 22 13:05:15 1998 Aniruddha Gokhale - - * tao: Added comments, made some modifications, and refined some - class definitions. Changes were made to a large number of files. - -Sun Mar 22 08:00:08 1998 Douglas C. Schmidt - - * Naming_Service.h: Renamed tao_util.h to TAO.h. - - * tao: Removed the CORBA_Cls.* files (since they conflict with the - overall naming scheme) and merged them into the ORB.h class. - -Sun Mar 22 03:52:39 1998 Sergio Flores - - * tao/TAO_Internal.cpp (open_services): "this" may only be used - inside a nonstatic member function. - -Sun Mar 22 02:58:29 1998 Nanbor Wang - - * tao/Makefile: - * tao/corba.h: - * tao/CORBA_Cls.{h,i,cpp}: Rename CORBA.{h,i,cpp} to - CORBA_Cls.{h,i,cpp} because NT doesn't like the coexistance of - corba.h and CORBA.h. - -Sun Mar 22 02:39:54 1998 Sergio Flores - - * tao/CORBA.cpp (ORB_init): made change to check for the return - value when initializing the ORB Core instance. Also, changed the - TAO_Marshal::initialize() to be called before the initialization - of standard exceptions, where we need the marshal factory for CDR - streams. - * tao/ORB_Core.cpp (TAO_ORB_Core::init): made change to check for - the return value when initializing service configurator. - * tao/ORB_Core.cpp (TAO_Resource_Factory::parse_args): changes to - correctly parse the options for "-ORBresources" and "-ORBpoa" - -Sun Mar 22 01:52:01 1998 Douglas C. Schmidt - - * tao/CORBA.cpp: Moved TAO_Exceptions::init_standard_exceptions() - to the beginning of ORB_init() so that we can use exceptions - later within that function. Thanks to Sergio for reporting - this. - -Sat Mar 21 11:00:40 1998 Douglas C. Schmidt - - * tao: Renamed a bunch of files so that the names and - capitalization matches precisely. - - * tao/Request.i: Created this file and moved a bunch of inline - methods into here. - - * tao: Renamed the corbacom.* files (since we don't support COM - anyhow) into CORBA.h and the new CORBA.i and CORBA.cpp files. - - * tao/corbacom.h: Moved the CORBA_SEQUENCE stuff back into the - header file since it wasn't linking correctly... - - * tao/TAO_IDL: Changed all uses of do_call() to do_static_call(). - - * tao: Made lots of minor enhancements to formatting and style. - - * tao: Removed the invoke.cpp file and moved its functionality - back into iiopobj.cpp, where it belongs. - - * tao/sequence_T.i (replace): Added a cast to (T *) so compilers - wouldn't complain! Thanks to Sergio for pointing this out. - - * tao: Renamed IIOP_Object::do_call() to - IIOP_Object::do_static_call() to be symmetrical with - do_dynamic_call()... - - * tao/typecode.cpp: Due to the new reorganization of the code in - interp.cpp we're now able to put all the CORBA_TypeCode methods - back into typecode.cpp, where they belong... - - * tao: Added a new interp.h file and moved the TypeCode table - intialization function into that file. - - * tao/orbobj.cpp: Removed the friggin' global functions - - extern void __TC_init_table (void); - extern void __TC_init_standard_exceptions (CORBA::Environment &env); - - and put them inside of classes, where they belong... - - * tao/corbacom.cpp: Moved CORBA::ORB_init() from orbobj.cpp - (what was it doing there) to corbacom.cpp, which is where it - belongs! - - * tao/giop.cpp: Moved the TAO_GIOP_MsgType enum into the TAO_GIOP - class namespace and renamed all the enums accordingly. - - * tao/except.cpp: Added except.i file to split off inlines into - their own file. - - * tao/sequence_T.i (replace): Fixed some typos in the template - code. Thanks to Ben Eng for reporting these. - -Sat Mar 21 20:34:39 1998 Sergio Flores - - * tao/connect.cpp (open): fixed a bug due to wrong parens - location. - - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: added option to - disable use of the name service. hacked the code for platforms - that don't support floating point math. Added Quantify start/stop - primitives around CORBA calls. - -Sat Mar 21 17:55:40 1998 Michael Kircher - - * orbsvcs/test/Simulator/NavWeap.idl: removed typo - - * orbsvcs/test/Simulator/DOVEBrowser: New Demo using Java Beans - as visualization components added. This will replace the old - demo under orbsvcs/test/Simulator/Sim_Display. See the readme - file under orbsvcs/test/Simulator for further details. - -Fri Mar 20 23:25:28 1998 Seth Benjamin Widoff - - * orbsvcs/tests/Trading_Service/Makefile: - * orbsvcs/tests/Trading_Service/export_tests.cpp: - * orbsvcs/tests/Trading_Service/import_tests.cpp: - * orbsvcs/tests/Trading_Service/Offer_Exporter.{h,cpp}: - * orbsvcs/tests/Trading_Service/Offer_Importer.{h,cpp}: - * orbsvcs/tests/Trading_Service/Service_Type_Exporter.{h,cpp}: - * orbsvcs/tests/Trading_Service/TT_Info.{h,cpp}: - * orbsvcs/tests/Trading_Service/TTest.idl: - I've added the rough draft of tests that pound the Trading Service - with a variety of method invocations. - - * orbsvcs/Trading_Service/trader.cpp: - * orbsvcs/Trading_Service/Makefile: - The trader now responds to resolve_intial_references multicast - requests with the IOR of its Lookup interface, as per the - specification. - -Fri Mar 20 21:48:47 1998 Douglas C. Schmidt - - * TAO version 0.1.9, released Fri Mar 20 21:48:47 1998. - -Fri Mar 20 19:46:43 1998 Douglas C. Schmidt - - * tao/sequence_T: Added the full complement of get_buffer(), - replace(), and release() calls to TAO's sequences. - - * docs/releasenotes/index.html (href): Reformatted the DOVE - demo section of the release notes a bit. - -Thu Mar 20 17:05:42 1998 Michael Kircher - - *TAO_ROOT/docs/releasenotes/index.html: - Documentation about the DOVE demo - -Fri Mar 20 16:21:28 1998 Irfan Pyarali - - * tests/POA/Generic_Servant/MyFooServant.h: No need to include - generic_servant_export.h. - - * tests/POA/Generic_Servant/Makefile: Added flags to the idl - compiler so that the server library can be made as a dynamic - library. - -Thu Mar 20 16:12:42 1998 Michael Kircher - - *TAO_ROOT/orbsvcs/tests/Simulator/Event_Supplier: - New Project and Workspace files for NT - -Fri Mar 20 11:53:15 1998 Nanbor Wang - - * tests/NestedUpcall/client.cpp: Use EventHandler_vare.in() to - pass in a pointer. Added explicit template instantiation - codes. - -Fri Mar 20 09:46:50 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Memory_Pools.h: - * orbsvcs/orbsvcs/Event/Memory_Pools.cpp: - Locks are needed for the memory pool singletons; thanks to - Thomas Venturella for detecting this. - -Fri Mar 20 09:26:28 1998 David L. Levine - - * tests/POA/Generic_Servant/MyFooServant.h: added - #include "generic_servant_export.h". - - * tao/corbacom.{h,cpp},tao/encode.cpp,tao/poa.cpp, - TAO_IDL/ast/ast_generator.cpp,TAO_IDL/be/be_generator.cpp: - changed CORBA::WChar from platform-dependent type to ACE_UINT16. - This may require casts in application code, if they use - a native wchar_t, from wchar_t to CORBA::WChar. - -Fri Mar 20 02:47:22 1998 Nanbor Wang - - * tao/default_server.cpp - (create_servant_lock,create_poa_lock,create_poa_mgr_lock): - Don't return 0 but an ACE_Null_Mutex as default. - -Fri Mar 20 00:36:16 1998 Irfan Pyarali - - * tao/poa.cpp (dispatch_servant_i): The POA Current was not being - setup correctly. It was used before it was created. Fix was to - change the order of things in dispatch_servant_i() and restored - pre_invoke() to its original state. - - * tests/POA/Generic_Servant/client.cpp (main): Make sure the - client does not crash if the user does not provide an IOR. - - * tests/POA/Generic_Servant/MyFooServant.h (MyFooServant): Added - export macro so that the class gets properly included in the - DLL. - - * TAO_IDL/GenExportH.BAT: Changed %1% to %1. - - * tests/POA/Generic_Servant/generic_servant_export.h: The server - lib will now be created as a DLL instead of as a static library. - New file was added to get the exports right. - -Thu Mar 19 18:42:20 1998 Nanbor Wang - - * TAO_IDL/be/be_visitor_attribute.cpp (visit_attribute): Undefined - variable bt to removed a compilation warning. - - * tao/server_factory.cpp (create_servant_lock): - * tao/default_server.{h,cpp} (create_servant_lock): Added new - method which creates a servant lock according to various - strategies used. - -Thu Mar 19 18:45:13 1998 Alexander Babu Arulanthu - - * orbsvcs/tests/AVStreams/client.h: - * orbsvcs/tests/AVStreams/client.cpp: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - * orbsvcs/orbsvcs/AVStreams.idl (interface MMDevice): - PropertyService's PropertySet methods have been tested in the - AVStreams' test application. Tested using the MMDevice interface - of the AVStreams. - -Thu Mar 19 18:20:42 1998 Michael Kircher - - *TAO_ROOT/orbsvcs/tests/Simulator/README: New notes about this release - - *TAO_ROOT/orbsvcs/tests/Simulator/NavWeap.idl: New, simpler Weapons struct - because of a Visibroker for Java 3.2 bug. - - *TAO_ROOT/orbsvcs/tests/Simulator/Event_Supplier: Using the new - Weapons struct. - - *TAO_ROOT/orbsvcs/tests/Simulator/Sim_Display/NS_Resolve.java: Complying - with the new Name Service lookup protocol (4 bytes instead of 2) - - *TAO_ROOT/orbsvcs/tests/Simulator/Sim_Display/Display_Weapons.java: - Using the new Weapons struct. - - *TAO_ROOT/orbsvcs/tests/Simulator/Sim_Display/Display_Push_Consumer.java: - Complying with the naming conventions for the skeleton code of VB 3.2. - -Thu Mar 19 10:51:22 1998 Alexander Babu Arulanthu - - * docs/releasenotes/index.html: Updated entry for the property service. - -Thu Mar 19 09:55:41 1998 Carlos O'Ryan - - * tests/CDR/README: - * tests/CDR/basic_types.cpp: - * tests/CDR/tc.cpp: - Added basic documentation on the purpose of the tests. - -Thu Mar 19 09:26:25 1998 Torben Worm - - * docs/releasenotes/index.html: Added an entry for the Concurrency - Control Service - -Thu Mar 19 08:41:27 1998 David L. Levine - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (new_context): replaced - ???! with ???? in comment to avoid g++ "warning: 1 trigraph(s) - encountered". - - * orbsvcs/orbsvcs/Sched/Scheduler.cpp: removed two ACE_Lock_Adapter - template instantiations because they're in tao/poa.cpp. - - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: wrapped a few return - statements that follow ACE_THROW's with ACE_NOTREACHED. - - * orbsvcs/orbsvcs/Config_Scheduler.cpp: wrapped a couple of break - statements that follow returns with ACE_NOTREACHED. - -Thu Mar 19 05:26:10 1998 Aniruddha Gokhale - - * tao/typecode.cpp: In private_member_name, the return value of - "skip_typecode ()" was incorrectly compared with TRAVERSE_CONTINUE - rather than with a boolean value. This is now fixed. - -Wed Mar 18 21:43:46 1998 Aniruddha Gokhale - - * tao/typecode.cpp: private_equal method had a big error. I had - forgotten break statements after every case in the switch - statement. So no matter what, the last result which returned - "TRUE" used to be returned. This is now fixed. - -Wed Mar 18 21:32:24 1998 Douglas C. Schmidt - - * TAO version 0.1.8, released Wed Mar 18 21:32:24 1998. - -Wed Mar 18 21:26:29 1998 David L. Levine - - * orbsvcs/orbsvcs/Naming/Ior_Multicast.cpp (IOR_Multicast): - reordered initializers to match declaration order. - -Wed Mar 18 20:36:46 1998 Douglas C. Schmidt - - * tests/CDR/basic_types.cpp: Rearranged this test file a bit to - make it more structured. - -Wed Mar 18 18:52:12 1998 Aniruddha Gokhale - - * tao/object.{h, cpp}: Changed the name of the method "key ()" to - "_key ()" since this was clashing with names used by users in - their IDl files. As such "key" is not a standard method defined by - OMG on the class Object. Hence we must use a _ before it. - - * tao/{poa, servant_base}.cpp: Used _key instead of key as - explained above. - -Wed Mar 18 18:41:34 1998 Alexander Babu Arulanthu - - * orbsvcs/tests/CosPropertyService/main.cpp (main): Added testcode - for NamesIterator. - -Wed Mar 18 18:33:08 1998 Aniruddha Gokhale - - * tao/any.cpp: There was a bug in the assignment operator whereby - a Release was causing the Any object itself getting deleted. - - * tao/poa.cpp: Changed occurrences of "buffer ()" used on the - object key (which is a sequence) to use "get_buffer" according to - the latest C++ mapping. - -Wed Mar 18 18:32:04 1998 Sergio Flores - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: - * orbsvcs/orbsvcs/Naming/CosNaming_i.h: Fixed some allocation - errors and added synchronization mechanism for static internal - data structures. Also fixed an undefined symbol due to templates - not being instantiated. - -Wed Mar 18 17:22:40 1998 Douglas C. Schmidt - - * tao/sequence_T.h: Renamed buffer() to get_buffer() to confrom to - orbos/98-01-11. - - * tao/sequence[_T].*: Added the get_buffer(), release(), and - replace() methods defined by the proposed orbos/98-01-11 - specification. - -Wed Mar 18 16:54:33 1998 Irfan Pyarali - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (next_n): Changed ACE_NEW - to ACE_NEW_RETURN. - -Wed Mar 18 16:39:40 1998 Seth Benjamin Widoff - - * tao/orbobj.{h,cpp}: * tao/params.{h,cpp}: * tao/orbcore.cpp: - Expanded the resolve initial references protocol to include - bootstrappable services other than the Naming Service. Now, the - multicast message includes a field identifying the target - service. The values for this field are defined in orbobj.h -- - currently there are only TAO_SERVICEID_NAMESERVICE, and - TAO_SERVICEID_TRADINGSERVICE. For completeness I've added for - the -ORBtradingserviceior and -ORBtradingserviceport command - line parameters. - - * orbsvcs/Naming/Naming_Utils.cpp: - * orbsvcs/Naming/Ior_Multicast.cpp: - Now, on the receiving end, the bootstrappable service compares - the service_id it receives in the multicast message with its own - before responding to it. - -Wed Mar 18 16:04:38 1998 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/CosPropertyService.idl (CosPropertyService): - Uncommented sequence of typecodes. It passed the tao_idl - compiler. - -Wed Mar 18 07:18:08 1998 David L. Levine - - * release.pl: uncommented unlink of .del files. - - * tao/encode.cpp (TAO_Marshal_String::encode): #if 0'd unused - local "continue_encoding". - - * tao/sequence{,_T}.cpp: removed some more "meaningless" const - modifiers from casts. - - * tao/typecode.cpp (private_equal): wrapped a break with - ACE_NOTREACHED. - - * tao/corbacom.h: changed CORBA_Boolean to u_char. Thanks - to Seth and Carlos for pointing out that this will conform - to the standard. - - * tao/cdr.i: removed operator <> for CORBA::Boolean _with_ - ACE_HAS_BOOL. No ACE platform currently #defines ACE_HAS_BOOL, - and this will prevent divergence of TAO code if any do in the - future. - -Wed Mar 18 02:08:55 1998 Nanbor Wang - - * tests/Param_Test/client.cpp (~Param_Test_Client): Removed - releasing of the Param_Test pointer. It is owned by the Driver - class. - -Tue Mar 17 23:28:59 1998 Irfan Pyarali - - * tao/poa.h (POA): Changed the LOCATION_RESULT enum from protected - to private. - -Tue Mar 17 13:20:05 1998 David L. Levine - - * tests/Cubit/TAO/IDL_Cubit (print_stats): with - ACE_LACKS_FLOATING_POINT, multiply calls/usec by 10^6 to get - calls/sec. And, use call_count_ instead of hard-coded 1000. - - * tao/orbconf.h,interp.cpp: renamed TAO_ALIGNMENT_MAGIC_NUMBER to - TAO_MAXIMUM_NATIVE_TYPE_SIZE. - - * tao/sequence.i,sequence_T.{i,cpp}: removed "const" from some - ACE_reinterpret_casts, because ghs warned that it's "meaningless". - - * tao/cdr.*,decode.cpp (get_encapsulation): changed type of second - arg from size_t to CORBA::ULong for platform independence. - -Tue Mar 17 11:26:28 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_sequence.cpp: - Fixed return value for operator[] in sequences of basic types, - the _out and _var classes generated non-nested types. Thanks to - Frank. J. Hodum for reporting this problem. - -Tue Mar 17 10:25:46 1998 Carlos O'Ryan - - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_attribute.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_interface_fwd.cpp: - * TAO_IDL/be/be_operation.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_state_argument.cpp: - * TAO_IDL/be/be_state_attribute.cpp: - * TAO_IDL/be/be_state_union.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_union.cpp: - * TAO_IDL/be/be_visitor_exception.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_visitor_sequence.cpp: - * TAO_IDL/be/be_visitor_union_branch.cpp: - Some export macros were missing; also fixed minor formatting - problems. - -Mon Mar 16 18:26:51 1998 Irfan Pyarali - - * tests/POA/Default_Servant/File_i.cpp (open): Fixed string being - passed to create_reference_with_id(). The test now works. - - * tao/poa.cpp (find_servant): Added new method to the POA. It - finds and returns the servant related to the key passed by the - user. - -Mon Mar 16 15:27:21 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface.cpp: - The _narrow() method is more careful about collocation: the - servant could return 0 on the call to _downcast (for instance if - the servant is using DSI or is implementing the default servant - posicies), in such a case a remote object is created. - Generate the _interface_repository_id() method in all classes. - - * TAO_IDL/be/be_visitor_module.cpp: - In some cases the export macros were not generated. - - * tao/object.h: - * tao/object.cpp: - Added a new method to get the interface repository id (only - locally). - - * tao/servant_base.cpp: - Removed some dead code. - -Mon Mar 16 14:28:34 1998 David L. Levine - - * tao/orbconf.h: cleaned up #define of TAO_ALIGNMENT_MAGIC_NUMBER, - to allow it to be overridden. - -Mon Mar 16 10:47:08 1998 Carlos O'Ryan - - * tao/cdr.h: - * tao/cdr.i: - * tao/cdr.cpp: - The CDR stream class exposed its implementation completely, this - change is the first attempt to close that interface and make it - safer. The internal representation was changed to a - Message_Block, so CDR could eventually create chains of - Message_Blocks (minimizing buffer copies and using writev() for - output). - The next step is to split the class in an input and output - interface, following the Java IDL model. - - * TAO_IDL/Makefile: - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_enum.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_typedef.cpp: - * TAO_IDL/be/be_union.cpp: - * TAO_IDL/be/be_visitor_enum.cpp: - * TAO_IDL/be/be_visitor_exception.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_visitor_sequence.cpp: - * TAO_IDL/be/be_visitor_structure.cpp: - * TAO_IDL/be/be_visitor_typedef.cpp: - * TAO_IDL/be/be_visitor_union.cpp: - * tao/any.cpp: - * tao/connect.cpp: - * tao/decode.cpp: - * tao/except.cpp: - * tao/giop.h: - * tao/giop.cpp: - * tao/iioporb.cpp: - * tao/interp.cpp: - * tao/objkeyC.cpp: - * tao/poaC.cpp: - * tao/tc_const.cpp: - * tao/typecode.h: - * tao/typecode.cpp: - This files were modified to use (or generate, in the case of the - IDL compiler) the new CDR stream class interface. - - * TAO_IDL/be_include/be_type.h: - * TAO_IDL/be/be_type.cpp: - It used a static buffer to evaluate be_type::nested_type_name(), - it was changed for a per-class buffer, but the real solution is - to allocate a buffer on the fly and return it to the user, maybe - using UTL_String will solve the problem. - - * tests/Makefile: - * tests/CDR/Makefile: - * tests/CDR/basic_types.cpp: - * tests/CDR/tc.cpp: - Added some simple tests to verify that CDR streams work - correctly. - - * taoconfig.mk: - The clean target is defined in ACE config files. - - * docs/orbsvcs.html: - Included documentation on the collocation services. - - * docs/releasenotes/ec.html: - Moved some of the changes from "new in this release" to "changes - in previous releases". - -Sun Mar 15 22:36:08 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Admin.* - * orbsvcs/orbsvcs/Trader/Lookup.* - * orbsvcs/orbsvcs/Trader/Policies.* - * orbsvcs/orbsvcs/Trader/Policy_Manager.* - * orbsvcs/orbsvcs/Trader/Offer_Iterator_Collection.* - Added the logic to perform federated queries. At this point I'm - halting further coding of the Trading Service to concentrate on - testing and debugging. The only portion of the specfication left - unimplemented is the Proxy interface, which isn't of immediate - practical use anyway. - -Sun Mar 15 07:56:02 1998 David L. Levine - - * TAO_IDL/be/be_visitor_field.cpp - (be_visitor_field_cs::visit_sequence): made int return type - explicit. - -Sun Mar 15 06:18:58 1998 Aniruddha Gokhale - - * TAO_IDL/be_include/{be_codegen, be_visitor_args}.h: Added a new - state called "POST_MARSHAL_SS" i.e., to do post processing after - the marshaling of return, inout, and out parameters is done in a - server skeleton. Added new visitor class to the argument visitors. - - * TAO_IDL/be/{be_visitor_args, be_visitor_operation, - be_interpretive}.cpp: Code for post processing after marshaling in - the server skeletons. This was required to support object - references. - -Sat Mar 14 19:28:50 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_field.cpp: Added a case for handling - anonymous sequences in the client stub visitor. The header file - was also changed. - -Sat Mar 14 19:29:00 1998 David L. Levine - - * tests/Cubit/TAO/IDL_Cubit/client.cpp (print_stats): added - support for ACE_LACKS_FLOATING_POINT. - -Sat Mar 14 16:40:05 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation.cpp: We were not generating the - "_get_" and "_set_" prefixes for operations corresponding to - attributes. This is now fixed. - - * TAO_IDL/be/be_visitor_enum.cpp: Typecode implementation of enum - class was not getting generated due to an incorrect "if" - condition. Thanks to Seth Widoff for noticing this. - - * TAO_IDL/be/be_visitor_union_branch.cpp: We had forgotten to - generate the "set" and "get" operation implementation for union - members that are sequences. Thanks to Seth Widoff for noticing - this. - -Sat Mar 14 02:48:55 1998 Sumedh Mungee - - * orbsvcs/orbsvcs/Makefile (IDL_FILES): Added the SFP IDL files - and the AV/sfp.cpp to the rules. - -Sat Mar 14 02:17:34 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/*.*: - I've hammered out a number of errors from the initial port: - the Trading Service compiles on Solaris. - - * orbsvcs/orbsvcs/Makefile: - I've added all the necessary additions to the Makefile for the - Trading Service. The makefile will perform the compilation when - the 'trader' flag is set to 1 on the command line. - - * orbsvcs/Trading_Service/Makefile: - * orbsvcs/Trading_Service/trader.cpp: - trader.cpp instantiates a Trader object and registers its Lookup - interface with the bootstrapped Naming Service. All the Trader - interfaces are implicitly activated in the Trader class. In the - future we'll want to have the Trading Service bootstrappable - through the resolve_initial_references method. - -Sat Mar 14 00:36:30 1998 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp (define_property): - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.h (PropertyNamesIterator): - - * orbsvcs/orbsvcs/Property/CosProperty_Hash.cpp (CosProperty_Hash_Value): - - * orbsvcs/orbsvcs/Property/CosProperty_Hash.h: - The tao_idl compiler has been made to generate Any at some places - where it was generating Any_var. Hence, I had to modify this - implementaion to accomadate this change. - -Fri Mar 13 10:34:15 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation.cpp: For return types that are - object references, we were using the actual return type and - passing its address to the marshaling routine. However, the - marshaling routine needs the address of the base class i.e., - CORBA::Object. Due to "public virtual" inheritance all kinds of - crazy things happen. So now we had to resort to declaring the - return value of type "CORBA::Object_ptr" and things worked fine. - -Fri Mar 13 09:57:51 1998 David L. Levine - - * tao/corbacom.h: use types of known sizes, such as ACE_UINT32 - and ACE_INT16, instead of native types for Boolean, Short, - UShort, Float, and Double. - -Thu Mar 12 21:23:10 1998 Nanbor Wang - - * tao/debug.cpp (_dmsg_x): Changed ex->id () to ex->_id (). - -Thu Mar 12 20:40:09 1998 Sergio Flores - - * tests/Thruput/TAO/client.cpp: - * tests/Thruput/TAO/run_client: - * tests/Thruput/TAO/run_server: - * tests/Thruput/TAO/run_test: Minor fixes in the scripts and usage - message. - -Thu Mar 12 18:02:06 1998 Seth Benjamin Widoff - - * tao/request.cpp: - * tao/typecode.cpp: - The is_nil methods of typecode and CORBA had this: - (CORBA::Boolean) ptr == 0 to test for the nil condition, when we - really want this: (CORBA::Boolean) (ptr == 0). This way we cast - the result of the expression, and not the pointer, to - CORBA::Boolean. - -Thu Mar 12 17:49:45 1998 Aniruddha Gokhale - - * TAO_IDL/be_visitor_typedef.cpp: For typedefs of pseudo object - types, we had forgottten to generate a typedef to the _ptr type. - -Thu Mar 12 17:21:32 1998 Douglas C. Schmidt - - * tao/sequence_T.cpp: Fixed a couple of weird bugs were freebuf - (MAX) was being called instead of freebuf (tmp). Thanks to - Keith Nicewarner for reporting this. - -Thu Mar 12 15:53:44 1998 Aniruddha Gokhale - - * tao/except.h: Changed the member functions "type ()" and "id ()" - on the CORBA::Exception class to "_type ()" and "_id ()". This - affected the following files: - tao/{except, object, poaC, svrrqst}.cpp - - * TAO_IDL/be/be_visitor_exception.cpp: Made changes to use the - _type and _id methods. Thanks to Seth Widoff for noticing this in - his Trader application where a user defined exception had a member - called "type" which clashed with the base class operation "type". - -Thu Mar 12 15:00:47 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_exception.cpp: In those cases where object - references or strings were assigned, the g++ compiler failed to do - implicit conversion to assign a _var to a _ptr type. This is now - fixed by using the _var.in () method. - - * TAO_IDL/be/be_visitor_typedef.cpp: Fixed a bug that was - generating typecode information for data types that were imported - resulting in a multiply defined symbol error at link time. - -Thu Mar 12 09:01:43 1998 David L. Levine - - * TAO_IDL/Makefile: added -Wno-unused to g++ CCFLAGS to - suppress warnings about unused parameters and variables. - - * TAO_IDL/be/be_visitor_interface.cpp - (be_visitor_interface_sh::visit_interface, - be_visitor_interface_collocated_ss::visit_interface): - changed type of loop index "i" to signed, to avoid - signed/unsigned comparison. - - * TAO_IDL/be/be_visitor_sequence.cpp - (be_visitor_sequence_ci::visit_sequence): made int return - type explicit. - - * tests/Cubit/TAO/IDL_Cubit/server.cpp (~Cubit_Server): changed - root_poa_ to poa_. - -Thu Mar 12 01:03:17 1998 Irfan Pyarali - - * tests/POA/NewPOA/NewPOA.cpp (main): Updated the following files - to correctly use CORBA::Policies that are used to create new - POAs. Things that needed fixing included proper exception - handling and making sure to destroy the policies once we were - through using them. - - - TAO/tao/tao_util.cpp - - TAO/tests/Cubit/TAO/MT_Cubit/server.cpp - - TAO/tests/POA/Default_Servant/server.cpp - - TAO/tests/POA/Explicit_Activation/server.cpp - - TAO/tests/POA/NewPOA/NewPOA.cpp - - TAO/tests/POA/On_Demand_Activation/server.cpp - -Wed Mar 11 21:02:13 1998 David L. Levine - - * tao/svrrqst.cpp (marshal): instead of declaring a new loop - index "i", use the one at outer scope because it was shadowed. - -Wed Mar 11 18:10:47 1998 Nanbor Wang - - * tao/TAO_IDL/tao_idl.dsp: Added new visitor files into the project. - -Wed Mar 11 17:23:49 1998 Douglas C. Schmidt - - * tao/tao_util: Changed the name of root_poa_ to poa_ since it - doesn't have to be a root POA. - -Wed Mar 11 14:37:08 1998 Aniruddha Gokhale - - * TAO_IDL/Makefile: Included be_visitor_exception.cpp and ran make - depend - - * TAO_IDL/be/be_interpretive.cpp: The factory is now able to - produce concrete visitors for exceptions. - - * TAO_IDL/be/be_visitor_args.cpp - TAO_IDL/be_include/be_visitor_args.h: Added a method - "void_return_type" that determines if the operation return type - was "void" or not. This was necessary since we were incorrectly - generating ACE_NEW_RETURN statements in stubs for cases that had - void return types - - * TAO_IDL/be/be_visitor_context.cpp - TAO_IDL/be_include/be_visitor_context.h: Added a boolean data - member that indicates whether we are generating the special - constructor in the exceptions. - - * TAO_IDL/be/be_visitor_exception.cpp - TAO_IDL/be/be_visitor_exception.h: Added various visitors for - exception handling. - - * TAO_IDL/be/be_visitor_{struct, union, module, interface, - sequence}.cpp: Made sure that code is not generated for imported - types. - - * TAO_IDL/be/be_visitor_typedef.cpp: Eliminated the multiple - declaration of typedefed variables and their typecodes. - - * TAO_IDL/be/be_visitor_interface.cpp: The "_is_a_skel" now uses - the same table driven approach as the other skeletons do. - -Wed Mar 11 12:54:59 1998 Irfan Pyarali - - * tests/POA/Explicit_Activation/server.cpp (main): The server was - changed to test how the POA handles a user given ID which does - not contain printable characters. - - * tao/poa (Policies and Currents): Since Policies and Currents do - not have locality constraints, they now inherit from regular - servants rather than local servants. This change causes them to - register with POAs when their _this() method is invoked. - Therefore, the destroy() methods on the Policies was changed to - make sure that the Policies are deactivated from the POA they - were registered with. - - * tao/sequence_T.cpp (operator=): The semantics of the elements of - a sequence are the same as that of a var variable. Therefore we - will not duplicate the user provided pointer before assigning it - to the internal variable. However, we will release it. - -Tue Mar 10 16:09:56 1998 Aniruddha Gokhale - - * tao/cdr.{h,cpp}: Added a get_string and put_string method for - retrieving and encoding a string. This uses "memcpy" rather than - having to go through a get_char/put_char for every byte of the - string. - - * tao/connect.cpp: In "handle_request", the marshaling of inout, - out, and return value parameters was done inside this method after - the operation skeleton had returned. This required unnecessary - heap allocation of these parameters. Allocating these parameters - on the skeleton call stack was not possible since the marshaling - took place after the skeleton had returned. To eliminate these - unnecessary waste, 2 new methods on the ServerRequest class are - added that perform the demarshaling and marshaling while the - skeleton call stack is active. More explanation on these is given - below. - - * tao/{encode, decode}.cpp: Used the get_string and put_string - methods on the CDR class. - - * tao/giop.*: Added a method called "stream" that returns a - reference to the underlying CDR stream. This is helpful when you - need access to the stream so that data types can be marshaled into - the stream using a compiled form of marshaling. This form of - marshaling will soon be added to TAO IDL compiler. - - * tao/object.{h, cpp}: Added a method called "stubobj" which - returns a pointer to the underlying Stub_Object. This method - eliminates the need to call QueryInterface inside every stub. This - way some code size is reduced. - - Also, removed the "get_most_derived" method as well as the "void - *sub_" data member which was useless. - - * tao/svrrqst.{h, i, cpp}: Added a new file svrrqst.i. Added two - new methods on class IIOP_ServerRequest. These methods enable - demarshaling and marshaling of parameters while the operation - skeleton's call stack is active. The interface to these methods is - exactly like the one used by do_call i.e., a table driven - approach. Two new data structures - TAO_Param_data_Skel and - TAO_Call_Data_Skel are added. These two tables behave in exactly - the same way as the TAO_Param_Data and TAO_Call_Data tables. See - the generated code to see how these are used by the demarshal and - marshal methods. - - Two more methods and data members are added to this class - - "incoming" and "outgoing". These are the CDR streams that indicate - the incoming and the outgoing CDR streams. - - An additional "init_reply" method is added that is useful for the - compiled marshaling. This is still experimental. - - * TAO_IDL: This is the first release of the new TAO_IDL compiler - based on the Visitor pattern. All the old files and code is still - included in this release until the transition is complete. - - Although the Visitor pattern is used, we still maintain all the - code generation states we had in the previous version of the - compiler. The reason is that we maintain a Factory of Visitors - indexed on these enumerated states. The downside is the necessity - to have states and a larger code size. The larger code size is due - to the fact that everytime a Visitor is required, we must first - set the appropriate state and then ask the factory to produce it - for us. The positive side of this design is that almost all the - Visitor files are independent of each other. They only deal with - an abstract base level Visitors. The Factory will produce the - appropriate specialized Visitor which is a subclass of the base - "visitor" class. An additional benefit is that we can switch from - having to generate code that uses Interpretive marshaling to - compiled marshaling. Visitors for compiled marshaling will be - added later. Here are the files that are added: - - be_include/ - be_visitor.h - be_visitor_args.h - be_visitor_attribute.h - be_visitor_constant.h - be_visitor_context.h - be_visitor_decl.h - be_visitor_enum.h - be_visitor_field.h - be_visitor_interface.h - be_visitor_interface_fwd.h - be_visitor_module.h - be_visitor_operation.h - be_visitor_root.h - be_visitor_scope.h - be_visitor_sequence.h - be_visitor_structure.h - be_visitor_typedef.h - be_visitor_union.h - be_visitor_union_branch.h - be/ - be_visitor.cpp - be_visitor_args.cpp - be_visitor_attribute.cpp - be_visitor_constant.cpp - be_visitor_context.cpp - be_visitor_decl.cpp - be_visitor_enum.cpp - be_visitor_exception.cpp - be_visitor_field.cpp - be_visitor_interface.cpp - be_visitor_interface_fwd.cpp - be_visitor_module.cpp - be_visitor_operation.cpp - be_visitor_root.cpp - be_visitor_scope.cpp - be_visitor_sequence.cpp - be_visitor_structure.cpp - be_visitor_typedef.cpp - be_visitor_union.cpp - be_visitor_union_branch.cpp - - NOTE: Code generation for attributes is achieved by using a crude - form of the Adapter pattern. We convert the Attribute node into - one or possibly two operation nodes and add scope elements that - are arguments. The code gene ration is then handed over to the - Operation Visitors. - - * be/be_interpretive.cpp: This file defined the implementation of - the Factory of Visitors for intepretive marshaling. - - * be_include/be_codegen.h: Added a few more states. Some others - are now useless. They will be removed eventually. Also added the - Abstract Factory for Visitors. - - * Makefile: Modofoed to include all the visitor files and ran - "make depend" on it. - -Tue Mar 10 13:22:20 1998 David L. Levine - - * orbsvcs/tests/Event_Latency/Makefile, - orbsvcs/tests/EC_Multiple/Makefile, - orbsvcs/tests/Simulator/Event_Supplier/Makefile: removed -pedantic - from g++ CCFLAGS because prevented use of native long long - (Linux/i386). - - * orbsvcs/orbsvcs/RtecScheduler.idl: addressed RT_Info open issues, - and updated to match TAO paper. The updates consisted of - changing the names of the Importance enum values so that we - don't have collisions when criticality is added, and comment - updates. - - * orbsvcs/Event/Dispatching_Modules.cpp,ReactorTask.cpp, - orbsvcs/Sched/Config_Scheduler.cpp, - orbsvcs/tests/EC_Multiple/EC_Multiple.cpp, - orbsvcs/tests/Event_Latency/Event_Latency.cpp, - orbsvcs/tests/Simulator/Event_Supplier/Event_{Con,Sup}.cpp: - added _IMPORTANCE to Importance enum values. - -Mon Mar 09 22:27:53 1998 Irfan Pyarali - - * tests/POA/Generic_Servant/client.cpp: Added code to time calls - and produce stats. - - * tao/svrrqst: Removed the lock in CORBA_ServerRequest which was - used to protect the refcount. This protection was excessive. - - * tao/optable.cpp: Changed the table so that it does not use a RW - Lock. Since the optable is read only, a null lock will suffice. - - * tao/objtable.cpp: Changed the implementation of - TAO_Dynamic_Hash_ObjTable so that it does not use a RW Lock. The - POA takes care of all necessary locking, and therefore, a null - lock will suffice. - - * tao/poa: The following optimizations were made to decrease the - time a POA takes to find a servant: - - - Added new classes TAO_Creation_Time and - TAO_Temporary_Creation_Time. These classes are used to record - and compare the creation time of POAs. The old method was - inefficient as unsigned long were used. These long required - conversions to strings. The new scheme uses a fixed size - buffer. The TAO_Temporary_Creation_Time is a special class - that tracks the creation time only during the lifetime of the - upcall. - - - parse_key_permanent_id() and parse_key_temporary_id() were - added so that the parse_key() routine can distinguish when to - create a new id and when to create a special id which is only - used during the lifetime of the upcall. - - - rfind() was added so that the TAO_POA::String::rfind() does - not have to be used. - - - Changed the object_key_type from String to char. - - - In post_invoke(), only create the POA_var if necessary. - - - Changed create_object_key() and parse_key() so that the old - format of: - - Transient/Seconds/MicroSecond/POAName/ObjectId - - to: - - T/TimeStampPOAName/ObjectId - - - Removed excessive memcpy() and strcpy() calls in parse_key(). - - - Changed create_object_id() to not include the POA name. - - - Changed is_poa_generated_id() to take the changes to - create_object_id() into account. - - - Changed string_to_ObjectId() and ObjectId_to_string() to not - use encode and decode routines. - -Mon Mar 9 15:23:19 1998 Sumedh Mungee - - * orbsvcs/tests/AVStreams/mpeg/source/server/server.cpp (open): - Temporarily disabled use of threads, and reverted back to the - forking model. The threaded model needs more work before it can - safely support multiple clients. - -Mon Mar 9 14:57:13 1998 Carlos O'Ryan - - * tao/sequence.h: - * tao/sequence.cpp: - * tao/sequence_T.h: - * tao/sequence_T.cpp: - Removed the _narrow_fixup() method, it was causing problem with - sequences of TypeCodes and it is not really needed: the - functionality can be implemented in the stubs (skeletons) and/or - the >>= methods. - -Mon Mar 09 09:59:01 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: removed - VxWorks-specific code, because it was no longer used, and - relied on a header that was not distributed with TAO. - -Sat Mar 07 12:14:58 1998 Chris Cleeland - - * TAO version 0.1.7, released Sat Mar 07 12:14:58 1998. - -Sat Mar 7 11:59:27 1998 Chris Cleeland - - * tao/orb_core.cpp (get_root_poa): Changed this from being a - macro-implemented method to a hand-implemented method. This is - necessary b/c the location of its resource is keyed not off - resource_source_ but rathe off poa_source_, and there's no macro - avaialble for that. Thanks to John Geiss for - reporting the bug that led to this fix! - -Sat Mar 07 08:29:51 1998 David L. Levine - - * tao/orb_core.cpp (TAO_Default_Reactor ctor and dtor): removed - inline qualifiers. - - * tests/Cubit/TAO/MT_Cubit/Makefile: changed -lm to(MATHLIB). - It looks like Sun C++ and g++ link with -lm by default, so - there shouldn't be any affect on those platforms. Others may - have to define MATHLIB in their platform_macros.GNU. - - * tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test): - changed variables low_client and high_client to low_priority_client - and high_priority_client. Replaced use of cerr with ACE_DEBUG. - -Fri Mar 6 17:56:25 1998 Chris Cleeland - - * Aloha: I bid fond farewall to Team TAO for now. Thanks for the - fun times! - - * tests/NestedUpcall/server.cpp: Integrated new stuff. - - * tests/NestedUpcall/client.cpp: Called new 'stop' method. - - * tests/NestedUpcall/{Reactor.idl,reactor_i.*}: Added 'stop' to Reactor - interface to shutdown the server. - - * tao/tao_util.cpp: Added code to explicitly destroy policies - after creating a child POA. - - * tao/poaS.h: Added a little comment to bring this up in C++ mode - in emacs. - - * tao/poa.cpp: Performed explicit deletes on buffers. - - * tao/object.{cpp,i}: Moved DTOR into .cpp and stuck in comment - explaining refcount semantics on CORBA_Object. - - * tao/iiopobj.i: Changed initial refcount value to zero; the ORB - Core must perform an explicit AddRef() if it intends to hold on to - this object. - - * tao/iiopobj.cpp: Changed Release() so that it will call 'delete - this' whenever the refcount is below zero. - -Fri Mar 06 11:38:38 1998 Nanbor Wang - - * docs/Options.html: Shrinked the table widths to 80% so we can - see everything without scrolling. Thanks to Darrell for the - HTML tip. - -Fri Mar 06 09:36:47 1998 David L. Levine - - * tao/object.i (CORBA_Object): reordered initializers to match - declaration order. Also, move _set_parent () before the - constructor so that it is defined before being used. - - * tao/cdr.{i,cpp}: modified to base in/out operations - on ULongLong instead of LongLong, because we have - better support for ULongLong with ACE_LACKS_LONGLONG_T. - - * tao/cdr.{h,cpp} (get_ulonglong): removed const argument qualifier. - -Fri Mar 06 00:18:38 1998 Irfan Pyarali - - * tao/poaS and poaC: Removed about a 1000 lines of stubs and - skeletons code from poaC.cpp and poaS.cpp. This code was not - necessary because of the locality constraints on certain POA - objects. This should help reduce the footprint of TAO. - -Thu Mar 5 19:54:27 1998 Sergio Flores - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: bind_context, rebind, - and bind were fixed to handle errors more carefully. Thanks to - Mark Boriack for pointing this out. - -Thu Mar 5 18:15:32 1998 Chris Cleeland - - * tao/giop.cpp: Removed crufty unused code. - - * tao/iioporb.cpp: - * tao/iiopobj.*: - * tao/decode.cpp: - * tao/object.{h,i}: - * tao/orbobj.cpp: - * tao/poaC.cpp: - * tao/request.cpp: - * tao/servant_base.{h,cpp}: - Broke the old, incestous, bizarre "contained" relationship between - IIOP_Object and CORBA_Object. Now, multiple CORBA_Objects can - reference the same IIOP_Object, and each is reference-counted - separately. Moreover, an IIOP_Object has no back-pointer to a - CORBA_Object. All of this should help alleviate many memory - leaks. - - * TAO_IDL/be/be_interface.cpp: Changed emitted code for _narrow - and _bind to deal with new relationship btw. CORBA_Object and - IIOP_Object. - -Thu Mar 5 17:45:28 1998 Carlos O'Ryan - - * tao/cdr.i: - If CORBA::WChar is an alias for CORBA::Short we cannot overload - operator<< on it. - - * tao/corbacom.h: - * tao/typecode.h: - MSVC++ does not like a class forward declared as a structure. - - - * tests/Cubit/TAO/MT_Cubit/Makefile: - -lm is required in IRIX. - -Thu Mar 05 16:18:53 1998 Irfan Pyarali - - * tao/poa.cpp (ObjectId_to_wstring and ObjectId_to_const_wstring): - Changed the odd looking access to a sequence's buffer to use the - new buffer() accessor. - -Thu Mar 5 13:15:37 1998 Carlos O'Ryan - - * tao/cdr.h: - * tao/cdr.i: - Added a error flag to the class and some << and >> operators to - start a more useable interface for the CDR streams. - - * tao/any.h: - * tao/any.cpp: - * tao/except.h: - * tao/except.cpp: - * tao/nvlist.h: - * tao/nvlist.cpp: - * tao/principa.h: - * tao/principa.cpp: - * tao/request.h: - * tao/request.cpp: - * tao/typecode.h: - * tao/typecode.i: - * tao/typecode.cpp: - They don't inherit from IUnknown any more. Removed the - QueryInterface method, but kept AddRef and Release to keep the - change propagation to a minimum. - In accordance to the new memory managment scheme the locks were - also removed, the agument is: - + In the common case the locks are *not* needed. - + When needed a lock at that level does *not* work. - + The application can add its own locking for the objects that - are effectively shared among threads. - - * tao/sequence.h: - * tao/sequence.cpp: - * tao/sequence_T.h: - * tao/sequence_T.cpp: - Sequences of objects require some post processing *after* - demarshalling: the object references must be narrowed to the - right type; a new virtual method was added for that purpose. - -Thu Mar 05 09:08:09 1998 David L. Levine - - * .../Makefile: added(POSTLINK) to link commands. - Please, if you don't use rules.bin.GNU, be sure to - follow it as closely as possible. - -Wed Mar 04 19:49:31 1998 David L. Levine - - * tao/orb_core (preconnect): changed type of loop index to - size_t to avoid signed/unsigned comparison. Added some - template instantiations. - -Wed Mar 4 16:35:37 1998 Chris Cleeland - - * tao/orbobj.*: Added an extension to the CORBA_ORB interface - that allows an application to preconnect to multiple servers by - specifying a string of host:port pairs. - - * tao/orb_core.*: Broke the preconnection logic out of init() - and made it its own method, preconnect(). This also uses - Connector<>::connect_n() rather than implementing its own loop. - It really didn't make things much easier, but we can take - advantage of future improvements to that implementation - transparently, now. - - * docs/Options.html: Added more details on various options. - -Tue Mar 03 21:11:22 1998 David L. Levine - - * orbsvcs/orbsvcs/RtecScheduler.idl: updated a comment: the units - of Period are 100 ns. - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp (initialize_queues), - Task_Manager.cpp (initialize): maintain period in units of 100 ns - when converting period from a 64 bit to a 32 bit int. - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp (open_queue), - ReactorTask.cpp (open_reactor): assign name to thread using units - of us. - -Mon Mar 2 19:01:44 1998 Alexander Babu Arulanthu - - * orbsvcs/tests/CosPropertyService/main.cpp (class - TAO_PropertySet_Tester): Added this wrapper class to organise my - test code, testing the methods in the PropertyService interfaces. - -Mon Mar 2 16:48:59 1998 Carlos O'Ryan - - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: - * TAO_IDL/util/utl_global.cpp: - More changes attempting to remove the \ problem for NT. - - * tao/orbobj.h: - Added a missing TAO_Export macro. - - * tao/typecode.h: - * tao/typecode.i: - Added the _var and _out classes for CORBA_TypeCode. - - * tao/corbacom.h: - Added the TypeCode_var and TypeCode_out classes to the CORBA - class. - -Mon Mar 2 15:39:57 1998 Douglas C. Schmidt - - * tao/sequence_T.h: Added a ptr() accessor to both the - TAO_Bounded_Sequence and TAO_Unbounded_Sequence classes. Thanks - to Carol Sanders for suggesting this. - - * tao/sequence[_T].{i,cpp}: Cleaned up a bunch of - ACE_reinterpret_cast() operations. Thanks to Russ Noseworthy - for reporting this. - -Mon Mar 2 13:13:19 1998 Carlos O'Ryan - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: - Fixed pathname canonization for NT, we convert a double - backslash into a single slash. - -Mon Mar 02 08:00:41 1998 David L. Levine - - * tao/orb_core.cpp: only instantiate ACE_Convert with g++. - Even that shouldn't need it, because it's always inline. - But, g++ typically creates out-of-line instantiations of - inline template member functions. - - * tao/sequence.{h,cpp} (TAO_{B,Unb}ounded_Base_Sequence): - added (virtual) destructors. Without them, GreenHills on - Chorus was duplicating their vtables when instantiating - templates based on those classes. - - * orbsvcs/orbsvcs/Makefile,tmplinst-orbsvcs.cpp: - renamed tmplinst.cpp to tmplinst-orbsvcs.cpp to avoid mangled name - collisions with tmplinst.cpp in test directories, when using - GreenHills/Chorus. - - * tests/Cubit/TAO/IDL_Cubit/server.cpp (main): added explicit - int return type. - -Sun Mar 1 13:42:56 1998 Nanbor Wang - - * release.pl: This script will now move the 'Current' tag to - point to the latest beta release. - -Sun Mar 1 10:40:31 1998 Aniruddha Gokhale - - * tao/{poa, objtable}.cpp: Removed the "Anachronism" warning - associated with the _out parameters passed to the find () method. - -Sat Feb 28 18:37:54 1998 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/CosProperty_Hash.cpp: - * orbsvcs/orbsvcs/Property/CosProperty_Hash.h: - * orbsvcs/tests/CosPropertyService/main.cpp: - Added some more code to test the functions defined in CosPropertyService_i.cpp. - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.h: - * orbsvcs/orbsvcs/CosPropertyService.idl: - * orbsvcs/tests/Makefile (DIRS): Added the directory - CosPropertyService under DIRS here. It is compiled when av=1. - -Fri Feb 27 19:55:09 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/IDL_Cubit_Test.cpp (main): Added this - file which spawns the server and client and terminates them after - some time. - -Fri Feb 27 17:57:55 1998 Chris Cleeland - - * tests/NestedUpcall/server.cpp: Started integrating the - TAO_ORB_Manager, but it's untested thus far so it's - conditionally-compiled out. - - * tao/{any,connect,default_server,except, - orb_core,orbobj,principa,request}.cpp: Whacked out a bunch of @@ - comments. - -Fri Feb 27 16:11:53 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp: - * tests/Cubit/TAO/MT_Cubit/Util_Thread.h: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/server.h: Changes to make it compile on - sigle-threaded platforms. - - * docs/releasenotes/index.html: update to naming service - entry. - -Fri Feb 27 15:03:58 1998 Chris Cleeland - - * docs/Options.html (TAO_Default_Server_Strategy_Factory): Added - documentation for POA-related lock strategies. - - * tao/connect.cpp (handle_input): Added call to - Reactor::suspend_handler() in here so that, in the bizarre corner - case where sub-event loop "A" eventually leads to sub-sub-event - loop "B" being called, but input becomes available for "A"'s - descriptor prior to "B"'s descriptor, B's loop won't spin wildly, - gobbling up CPU. - -Fri Feb 27 15:00:42 1998 David L. Levine - - * orbsvcs/orbsvcs/Time_Utilities.i (hrtime_to_TimeT): with - ACE_LACKS_LONGLONG_T, set the high word directly. The - ACE_U_LongLong operator >> returns an ACE_U_LongLong, - so the assignment won't work otherwise. - - * tao/orb_core.cpp: added ACE_Convert (const char *, u_int &) - instantiation. - -Fri Feb 27 12:08:19 1998 Nanbor Wang - - * tao/orb_core.h (TAO_Resource_Factory): Changed to use - TAO_Default_Reactor class in TAO_Resource_Factory. - -Fri Feb 27 11:10:24 1998 Chris Cleeland - - * test/NestedUpcall/{eh_i,reactor_i}.cpp: Changed debug statements - to utilize the new ACE_Log_Msg conversions to indent scopes, etc. - -Fri Feb 27 00:40:36 1998 Douglas C. Schmidt - - * TAO version 0.1.6, released Fri Feb 27 00:40:36 1998. - -Thu Feb 26 19:29:33 1998 Seth Benjamin Widoff - - * orbscvs/orbsvcs/Trader/Admin.cpp: - * orbsvcs/orbsvcs/Trader/Admin.h: - * orbsvcs/orbsvcs/Trader/Attributes.cpp: - * orbsvcs/orbsvcs/Trader/Attributes.h: - * orbsvcs/orbsvcs/Trader/Constraint.cpp: - * orbsvcs/orbsvcs/Trader/Constraint.h: - * orbsvcs/orbsvcs/Trader/Constraint_Evaluator.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Evaluator.h: - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h: - * orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Nodes.h: - * orbsvcs/orbsvcs/Trader/Constraint_Tokens.h: - * orbsvcs/orbsvcs/Trader/Constraint_Validator.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Validator.h: - * orbsvcs/orbsvcs/Trader/Constraint_Visitor.h: - * orbsvcs/orbsvcs/Trader/Constraint_l.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_y.cpp: - * orbsvcs/orbsvcs/Trader/Dynamic_Property.cpp: - * orbsvcs/orbsvcs/Trader/Dynamic_Property.h: - * orbsvcs/orbsvcs/Trader/Interpreter.cpp: - * orbsvcs/orbsvcs/Trader/Interpreter.h: - * orbsvcs/orbsvcs/Trader/Link.cpp: - * orbsvcs/orbsvcs/Trader/Link.h: - * orbsvcs/orbsvcs/Trader/Lookup.cpp: - * orbsvcs/orbsvcs/Trader/Lookup.h: - * orbsvcs/orbsvcs/Trader/Monitor.h: - * orbsvcs/orbsvcs/Trader/Offer_Filter.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Filter.h: - * orbsvcs/orbsvcs/Trader/Offer_Id_Iterator.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Id_Iterator.h: - * orbsvcs/orbsvcs/Trader/Offer_Iterator.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Iterator.h: - * orbsvcs/orbsvcs/Trader/Offer_Modifier.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Modifier.h: - * orbsvcs/orbsvcs/Trader/Policies.cpp: - * orbsvcs/orbsvcs/Trader/Policies.h: - * orbsvcs/orbsvcs/Trader/Policy_Manager.cpp: - * orbsvcs/orbsvcs/Trader/Policy_Manager.h: - * orbsvcs/orbsvcs/Trader/Preference_Interpreter.cpp: - * orbsvcs/orbsvcs/Trader/Preference_Interpreter.h: - * orbsvcs/orbsvcs/Trader/Property_Evaluator.cpp: - * orbsvcs/orbsvcs/Trader/Property_Evaluator.h: - * orbsvcs/orbsvcs/Trader/Property_Filter.cpp: - * orbsvcs/orbsvcs/Trader/Property_Filter.h: - * orbsvcs/orbsvcs/Trader/Proxy.cpp: - * orbsvcs/orbsvcs/Trader/Proxy.h: - * orbsvcs/orbsvcs/Trader/Query_Only_Offer_Iterator.cpp: - * orbsvcs/orbsvcs/Trader/Query_Only_Offer_Iterator.h: - * orbsvcs/orbsvcs/Trader/README: - * orbsvcs/orbsvcs/Trader/Register.cpp: - * orbsvcs/orbsvcs/Trader/Register.h: - * orbsvcs/orbsvcs/Trader/Register_Offer_Iterator.cpp: - * orbsvcs/orbsvcs/Trader/Register_Offer_Iterator.h: - * orbsvcs/orbsvcs/Trader/Sequences.idl: - * orbsvcs/orbsvcs/Trader/Service_Type_Map.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Map.h: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.h: - * orbsvcs/orbsvcs/Trader/Trader.cpp: - * orbsvcs/orbsvcs/Trader/Trader.h: - * orbsvcs/orbsvcs/Trader/Trader_Base.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Base.h: - * orbsvcs/orbsvcs/Trader/constraint.l: - * orbsvcs/orbsvcs/Trader/constraint.y: - * orbsvcs/orbsvcs/CosTrading.idl: - * orbsvcs/Trading_Service/Makefile: - * orbsvcs/Trading_Service/trader.cpp: - - The Trading Service has a new home and a new orb. I've migrated - the VisiBroker implementation of the Trading Service to TAO by - having the interfaces inherit from the POA_CosTrading skeletons, - replacing the the C++ exception handling with the TAO_* macro - exception handling and CORBA::Environment passing, and prefixing - all top level classes with 'TAO_'. Because the tao_idl generated - code from CosTrading.idl was having some trouble, nothing here has - been compiled since the port. The README file contains additions - to the Makefile necessary to accommodate the Trading Service's - reliance on STL. - - The orbsvcs/Trading_Service/trader.cpp is a server that activates - the supported interfaces of our Trading Service. At this point our - Trader adheres to the Stand Alone Trader designation of - conformance as described in the specification. - -Thu Feb 26 18:38:56 1998 Nanbor Wang - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (TAO_Naming_Server): - Fixed a syntax error. - -Thu Feb 26 18:07:16 1998 Alexander Babu Arulanthu - - * docs/releasenotes/index.html: Added an entry for the Property Service. - -Thu Feb 26 17:36:21 1998 Nanbor Wang - - * tao/orb_core.{h,cpp} (TAO_Default_Reactor): I added the new class - tring to strategize the type of reactor used. It is not used at - the moment. - -Thu Feb 26 16:18:47 1998 Douglas C. Schmidt - - * TAO_IDL/be/be_interface.cpp (gen_client_stubs): Split out some - code to use a couple temporary variables to work around what - might be a Heisenbug with GCC. Thanks to Carlos O'Ryan and - Keith Nicewarner for reporting this. - -Thu Feb 26 14:52:20 1998 Chris Cleeland - - * tests/NestedUpcall/{eh_i,reactor_i}.{h,cpp}: Added - implementation for the new decrement operation. - - * tests/NestedUpcall/client.cpp: Added calls to invoke the new - decrement operation. - - * tests/NestedUpcall/Reactor.idl: Added a new operation, - decrement, to test multi-nested upcalls. - - * tao/connect.cpp (send_request): Fixed to return appropriate - return values, especially in case of errors. - -Thu Feb 26 14:02:36 1998 Nanbor Wang - - * tao/tao_util.cpp (activate_under_child_poa): Instead of - returning a String_var, return String_var._retn (). - (activate_under_child_poa): Actually, it seems better just - use String than String_var. - -Thu Feb 26 13:31:06 1998 David L. Levine - - * TAO_IDL/Makefile: added "all" target for CROSS-COMPILE platforms. - -Thu Feb 26 05:39:43 1998 Nanbor Wang - - * tests/NestedUpcall/client.cpp: Cast (char *) to 0 which is used - to initialize remote_reactor_key. - (main): Added ACE_const_cast in string_to_object call. - - * tests/NestedUpcall/NestedUpcall.dsw: - * tests/NestedUpcall/client.dsp: - * tests/Nestedupcall/server.dsp: New project files for NT. - - * tests/Cubit/TAO/IDL_Cubit/server.cpp (init_naming_service,main): - Appended a return at the end. - - * tests/Cubit/TAO/IDL_Cubit/client.dsp: - * tests/Cubit/TAO/IDL_Cubit/server.dsp: Updated project file - lists. - - * tao/TAO.dsp: Added tao_util.cpp into this project. - - * tao/tao_util.h (TAO_ORB_Manager): Added TAO_Export flag. - - * orbsvcs/orbsvcs/orbsvcs.dsp: Added Ior_Multicast.cpp and - Naming_Utils.cpp into this project. - - * orbsvcs/orbsvcs/Naming/Ior_Multicast.h: - * orbsvcs/orbsvcs/Naming/Naming_Utils.h: Added - TAO_ORBSVCS_Export flag. - - * orbsvcs/Naming_Service/Naming_Service.cpp: Added a return - statement to muffle MSVC. - -Wed Feb 25 22:53:56 1998 Douglas C. Schmidt - - * tao/orbobj: Changed the signature of the run(ACE_Time_Value &) - method to run(const ACE_Time_Value &) so we can pass the const - ACE_Time_Value::zero to it. Thanks to Chris Cleeland for - suggesting this. - - * orbsvcs/orbsvcs/Event/RT_Task.h: Changed the use of ACE_MT_SYNCH - to ACE_SYNCH so that we can at least build the Event Channel on - a single-threaded platform. - - * orbsvcs/orbsvcs/Event_Service_Constants.h: Changed the use of - ACE_Thread_Mutex and ACE_RT_Thread_Mutex to ACE_THREAD_MUTEX and - ACE_RW_THREAD_MUTEX, respectively, so that TAO will build on - non-threaded platforms. - - * tao/poa.cpp, - tao/default_server.cpp: Fixed TAO by conditionally - compiling the code that relies on the recursive mutexes - and mutexes. Thanks to Jim Penny - for reporting this. - -Wed Feb 25 22:47:48 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/README:: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * tests/Cubit/TAO/MT_Cubit/cubit.idl: - * tests/Cubit/TAO/MT_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit_i.h: Made changes to have the - option to specify oneway calls instead of the usual two-way - cube_X() call. Now, you can specify the "-o" argument on the - client side. - -Wed Feb 25 22:47:16 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/client.cpp (parse_args): Similar to - server.cpp changed the meaning of -s option to not to use the - naming service and naming service is used by default. - - * tests/Cubit/TAO/IDL_Cubit/server.cpp (parse_args): Changed the - meaning of the -s option to "don't use the naming service" and made - using the naming service the default. - -Wed Feb 25 22:47:16 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/server.cpp (parse_args): Changed the - meaning of the -s flag to "don't use the naming service" and made - using the naming service the default. - -Wed Feb 25 18:03:35 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/tests/AVStreams/Makefile: - * tests/Cubit/TAO/IDL_Cubit/Makefile: - Updated dependencies. - -Wed Feb 25 17:13:05 1998 Nagarajan Surendran - - * orbsvcs/Naming_Service/Naming_Service.cpp (Naming_Service): - Changed the main to just create an instance of Naming_Service and - call init and run on it. - - * orbsvcs/Naming_Service/Naming_Service.h: Added this file which - defines a Naming_Service class to simplify the Naming_Service.cpp - file. - -Wed Feb 25 16:52:13 1998 Chris Cleeland - - * tao/servant_base.cpp: Updated to reflect change of poa_current_ - from structure to pointer. - - * tao/poa.*: Changed signature of pre_invoke() and post_invoke() - to deal with poa current storage coming from the stack. - - * tao/poa.cpp (dispatch_servant_i): Changed to create POA Current - information record on the stack during the upcall, thus clearing - the way for proper operation in the face of nested upcalls. - - * tao/orbobj.cpp: Updated to reflect change of poa_current_ from - structure to pointer. - - * tao/orb_core.*: Changed poa_current_ to a pointer rather than - ownership. This allows the structure holding the POA Current - information to be created in the activation record for the upcall, - thus opening the door for proper operation in the face of nested - upcalls. - - * tao/giop.h: Removed cruft/unused code. - - * tao/giop.cpp: Addressed some '@@' comments. - - * tao/connect.*: Fixed a problem where nested upcalls would only - work every other time. This was caused by the fact that the - servant-turned-client cached the connection to the - client-turned-servant. However, when the client-turned-servant - terminated, the servant-turned-client was ignoring input events on - this cached connection handle. Then, when the next instance of - the client-turned-servant came along and tried to connect, when - the servant-turned-client made the invocation back to the - client-turned-servant, the cached handle was returned. However, - when its input was read, rather than getting the expected - response, an EOF was received and the servant-turned-client - aborted the entire original invocation. - - This was fixed by having the TAO_Client_Connection_Handler always - registered to receive input events and to maintain record of its - state so that it can tell whether or not it's expecting input. If - it receives an unexpected input event, then it will simply close - down the connection, possibly logging a warning message as well. - -Wed Feb 25 16:06:59 1998 Sumedh Mungee - - * orbsvcs/tests/AVStreams/{client,server}.{h,cpp}: Added callback - support - -Wed Feb 25 16:04:49 1998 Sumedh Mungee - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp,h: Added support for making - upcalls into the application when connection is established, - requested etc.. - -Wed Feb 25 12:58:04 1998 Nagarajan Surendran - - * tao/tao_util.cpp: Added the implementation for the 2 new methods - to use a child_poa. - - * tao/tao_util.h (class TAO_ORB_Manager): Added 2 new methods - init_child_poa and activate_under_child_poa to create a child_poa - with policies PERSISTENT and USER_ID. - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (bind): Added checks for - null pointers in ACE_DEBUG. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: Moved this file from - orbsvcs/Naming_Service/ to this dir. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.h: Moved this file from - orbsvcs/Naming_Service/ to this directory. - -Wed Feb 25 12:20:04 1998 David L. Levine - - * tao/any.cpp (operator<<=): removed declaration of local "tc", - which shadowed the declaration in the outer scope. - - * tao/giop.cpp (start): added a debug message for connection - failures. This is where problems often occur for new users/ - environments, and it'll help diagnose configuration problems. - And Linux getsockname () bugs. - -Tue Feb 24 21:05:08 1998 Nagarajan Surendran - - * orbsvcs/Naming_Service/Main.cpp: This now contains the main - which was previously in Naming_Service.cpp to facilitate - integrating the IOR_Multicast class defined in Naming_Service.cpp - into the orbsvcs library. - - * orbsvcs/Naming_Service/Naming_Utils.h: Defines a new - TAO_Naming_Server wrapper class which can be used as a - Naming_Server component if one wants a separate Naming_Server. - - * orbsvcs/Naming_Service/Naming_Utils.cpp: Added this new file - which implements the TAO_Naming_Server class. - - * tests/Cubit/TAO/IDL_Cubit/client.cpp (read_ior): Added 2 new - methods read_ior and init_naming_service. - - * tests/Cubit/TAO/IDL_Cubit/server.cpp: Now contains the - implementation of Cubit_Server class with a really simple main. - - * tests/Cubit/TAO/IDL_Cubit/server.h (class Cubit_Server): Defined - a new Cubit_Server class akin to Cubit_Client. - - * orbsvcs/Naming_Service/Naming_Service.cpp: Moved the main () to - a separate file Main.cpp - -Tue Feb 24 17:45:20 1998 Douglas C. Schmidt - - * tao/orbobj.h: Removed the unnecessary = 0 on the new run method. - - * tao/orbobj.cpp (run): Added a new run() method that takes an - ACE_Time_Value & rather than an ACE_Time_Value * so that we don't - need to pass the address! - -Tue Feb 24 14:31:37 1998 Chris Cleeland - - * tests/NestedUpcall/client.cpp (main): Replaced orb->open() with - orb->run(&ACE_Time_Value::zero), which though still non-standard, - is less non-standard than open(). - - * tests/NestedUpcall/README: Added one for the good of all - mankind. - -Tue Feb 24 13:23:48 1998 Michael Kircher - - * orbsvcs/tests/Simulator/NavWeap.idl: Added new fields - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp: - adopted to new IDL file - - * orbsvcs/tests/Simulator/Sim_Display/Display_Push_Consumer.java: - adopted to new IDL file - - -Tue Feb 24 00:41:48 1998 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: Added TITLE, - DESCRIPTION for all the classes - -Mon Feb 23 22:40:22 1998 David L. Levine - - * tao/cdr.h: removed old, commented out configuration code. - - * TAO_IDL/be/be_decl.cpp (tc_name2long): changed type of "buf" array - from char to long so that it gets properly aligned. This solves - the core dump problem with tao_idl on egcs/Solaris. Thanks to - Håkan Källberg for reporting this. - - * TAO/tests/Thruput/TAO/utils.cpp (prep_timer): cast LONG_MAX - to ACE_INT32 to avoid overflow problems if the result is an - int type, and long is bigger than int. - - * orbsvcs/orbsvcs/Event/Event_Channel.i: specify constant - 2147483648u as unsigned, to avoid compiler warning. - - * TAO_IDL/Makefile: removed -fPIC for g++ because it's not needed - without shared libraries. - - * TAO_IDL/Makefile: added Cleanup section, which cleans out builds - that were created with the nested version of the Makefile. - -Mon Feb 23 22:13:14 1998 David L. Levine - - * TAO version 0.1.5, released Mon Feb 23 22:13:14 1998. - -Mon Feb 23 21:30:04 1998 David L. Levine - - * TAO_IDL/Makefile: added the g++ options that were picked up - from be/Makefile. - - * tests/Cubit/TAO/MT_Cubit/server.cpp (start_servants): - declare local "i" outside of for loop because it is reused - in a few loops. - -Mon Feb 23 20:45:03 1998 Michael Kircher - - * orbsvcs/tests/Simulator/Sim_Display: Fixed some small - bugs concerning the representation - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp: - Changed the rate on which events are supplied - - -Mon Feb 23 18:51:03 1998 Sergio Flores - - * orbsvcs/Naming_Service/Naming_Service.cpp (main): Set the handle - limit to the maximum. - - * tests/Cubit/TAO/MT_Cubit/server.cpp (initialize_orb): Fixed a - warning from compiler. - -Mon Feb 23 17:33:52 1998 Carlos O'Ryan - - * TAO_IDL/Makefile: - We don't generate the compiler as a single executable, without - multiple shared libraries. - -Mon Feb 23 16:55:08 1998 David L. Levine - - * orbsvcs/orbsvcs/Event_Service_Constants.h: changed types of - ACE_ES_* constants from u_long to long to match - RtecEventComm::EventType. - - * orbsvcs/orbsvcs/Event/Memory_Pools.cpp: updated template - instantiations to use ACE_Singleton instead of ACE_TSS. - -Mon Feb 23 12:25:21 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Memory_Pools.h: - * orbsvcs/orbsvcs/Event/Memory_Pools.i: - * orbsvcs/orbsvcs/Event/Memory_Pools.cpp: - We cannot use TSS memory pools: in some cases the memory is - allocated in one thread and disposed in another. Until we can - clean out that behavior I'm using a singleton. - -Mon Feb 23 11:57:16 1998 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/ : Changed the names EXT_ID and INT_ID - that I used for Hash_Table operations to less generic - CosProperty_Hash_Key and CosProperty_Hash_Value respectively. - -Mon Feb 23 11:40:37 1998 David L. Levine - - * tao/corbacom.h (CORBA::LongLong): use ACE_BIG_ENDIAN - instead of TAO_WORDS_BIGENDIAN. - - * tao/orbconf.h (TAO_ENCAP_BYTE_ORDER): use ACE_LITTLE_ENDIAN - instead of trying to figure it out from cpp #defines, which - failed for LynxOS. Also, removed TAO_WORDS_BIGENDIAN. - - * tao/interp.cpp (declare_entry,setup_entry): use the align_struct_ - with padding by default, unless TAO_HAS_FIXED_BYTE_ALIGNMENT is - #defined. - - * tao/corba.h: added ACE_UNUSED_ARG (VAR); to TAO_CATCH macro - for platforms without ACE_HAS_EXCEPTIONS, to avoid compiler - warning about unused variable if VAR isn't used anywhere. - - * TAO_IDL/Makefile: added clean and realclean targets for - CROSS-COMPILE platforms. - - * TAO_IDL/be/be_interface.cpp (be_interface::relative_name): - commented out unused local variable "def_scope". - - * TAO_IDL/be/be_sequence.cpp: commented out some unused variables - to avoid compiler warnings. The comments correspond to commented-out - sections of code. - - * TAO_IDL/be/be_visitor_interface.cpp - (be_visitor_collocated_ss::visit_operation): removed unused - local "nl". - - * TAO_IDL/be/be_visitor_root.cpp (be_visitor_root_ch::visit_sequence): - added ACE_UNUSED_ARG (node). - - * TAO_IDL/be/be_visitor_sequence.cpp - (be_visitor_sequence_ch::visit_sequence): commented out unused - local "cg". - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp - (Latency_Supplier::push): added ACE_UNUSED_ARG (_env). - -Mon Feb 23 10:58:42 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/AV/AVStreams_i.h: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/Fast_Reactor.h: - * orbsvcs/orbsvcs/Event/GPlot_File.h: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.h: - * orbsvcs/orbsvcs/Property/CosProperty_Hash.h: - * orbsvcs/orbsvcs/Sched/DynSched.h: - * orbsvcs/orbsvcs/Sched/SchedEntry.h: - * orbsvcs/orbsvcs/Sched/Strategy_Scheduler.h: - * Added more TAO_ORBSVCS_Export macros, this time in files that - are not compiled all the time. - -Sun Feb 22 22:14:08 1998 Chris Cleeland - - * tao/giop.cpp (invoke): Created my own temporary variable in - order to de-warn on g++ and Sun CC. - -Sun Feb 22 20:12:24 1998 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs/orbsvcs.dsp: Adapted chages to the directory - rearrangement. - - * orbsvcs/orbsvcs/Runtime_Scheduler.h: - * orbsvcs/orbsvcs/Scheduler_Utilities.h: - * orbsvcs/orbsvcs/Event/BCU.h: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Memory_Pools.h: - * orbsvcs/orbsvcs/Event/RT_Task.h: - * orbsvcs/orbsvcs/Event/ReactorTask.h: - * orbsvcs/orbsvcs/Event/Task_Manager.h: - * orbsvcs/orbsvcs/Naming/CosNaming_i.h: - * orbsvcs/orbsvcs/Naming/Entries.h: - * orbsvcs/orbsvcs/Sched/Config_Scheduler.h: - * orbsvcs/orbsvcs/Sched/Scheduler.h: - * orbsvcs/orbsvcs/Sched/Scheduler_Generic.h: Added - TAO_ORBSVCS_Export flags. - -Sat Feb 21 08:08:55 1998 David L. Levine - - * rules.tao.GNU: added -Wno-used to CCFLAGS, with g++ only. - - * tao/align.h,corbacom.h,orbconf.h,orbobj.cpp: - use ACE Basic_Types instead of local SIZEOF_* macros. - - * tao/debug.cpp: null f{,un}lockfile with ACE_HAS_DCE_DRAFT4_THREADS - (LynxOS). - - * tao/any.cpp (operator<<=): initialized local "tc" to avoid compiler - warnings. - - * tests/POA/On_Demand_Activation/Servant_Activator.cpp (etherealize), - Servant_Locator.cpp (preinvoke,postinvoke): - added some ACE_UNUSED_ARG's. - - * TAO_IDL/Makefile,tao/Makefile: use CROSS-COMPILE flag instead of - CHORUS, LYNXOS, and VXWORKS. This allows us to add new cross- - compile platforms without having to modify the TAO Makefiles. - The new platform need only set the CROSS-COMPILE flag. - -Sat Feb 21 00:31:20 1998 Chris Cleeland - - * tao/connect.* (send_request): Modified to take an extra arg - which specifies whether or not the request is a twoway, i.e., - whether or not it should enter a sub-event loop looking for a - reply. - - * tao/giop.cpp (invoke): Changed to match signature of - send_request. - - * tests/NestedUpcall/Reactor.idl: Added a oneway method to test - nested upcalls with oneways. - - * tests/NestedUpcall/reactor_i.*: Added the oneway implementation. - - * tests/NestedUpcall/client.cpp: Made oneway invocation to test a - problem that the nested upcall allowing ORB exhibited. Thanks to - Carlos for reporting this! - -Fri Feb 20 14:40:28 1998 Chris Cleeland - - * tao/connect.*: Extended TAO_Client_Connection_Handler to be run - a sub-event loop while sending a request in order to handle nested - upcalls. A really cool side-effect of this is that if your - application start out being a client but has servants too, it's - really easy to get that up and running. An example of this is - shown in the new test, NestedUpcall. - - * tao/giop.cpp (invoke): Changed to call send_request on the - client connection handler rather than TAO_GIOP. This new - send_request will handle nested upcalls (see above). - - * tao/giop.* (send_request): Changed signature so that the - TAO_SVC_HANDLER* wasn't passed by reference. This was totally - unnecessary. - - * tao/{iioporb,orbobj}.* (string_to_object): Removed unnecessary - 'const' preceding CORBA::String. - -Fri Feb 20 08:29:35 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (svc): added .in () - dereference to several objref uses. - - * orbsvcs/orbsvcs/Event/Memory_Pools.cpp: updated the - ACE_TSS > template instantiation to use the - ACE_LOCAL_MEMORY_POOL macro. - - * orbsvcs/orbsvcs/Event/Event_Channel.{h,cpp} - (ACE_ES_{Con,Dis}junction_Group): added virtual destructors. - -Thu Feb 19 12:54:50 1998 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp - (create_initial_propertysetdef): Assigned dummy return values in - order to avoid Warnings. - - * orbsvcs/orbsvcs/Property/CosProeprtyService.idl file removed - from here. It is supposed to be there in ./.. - -Thu Feb 19 12:49:49 1998 David L. Levine - - * Makefile: build orbsvcs before tests. - - * tao/Makefile: set fakesvcconf on LynxOS. - - * TAO_IDL/Makefile: don't build the IDL compiler for - Chorus, LynxOS, or VxWorks. - - * tao/orbobj.cpp: enhanced some printouts. - - * tao/tao_util.cpp (orb): added .in () dereference to orb_ argument. - -Thu Feb 19 10:15:00 1998 Michael Kircher - * orbsvcs/test/Simulator: Set the file permissions right. - -Thu Feb 19 10:15:00 1998 Michael Kircher - * orbsvcs/test/Simulator: - Intruduced new demo, using the Event Service as transport - media for monitoring events. - See orbsvcs/test/Simulator/README for more information - - in orbsvcs/tests/Simulator: - NavWeap.idl - IDL definition of the Navigation and Weapons struct - ss - restart services script - - in orbsvcs/tests/Simulator/Event_Supplier: - Event_Sup.cpp - Event Supplier - Event_Sup.h - Event Supplier class definition - Makefile - Event Supplier Makefile - (Event_Con.cpp, Event_Con.h - Event Consumer for testing) - svc.conf - helper file - - in orbsvcs/tests/Simulator/Sim_Display: - Display.java - Simulation - Display_Client.java - Main Entry point of the Simulation - Display_Consumer.java - Event Consumer - Display_Object.java - Interface for an Display_Object - Display_Weapons.java - Implementation of an Display_Object - Display_Art_Horizon.java - Implementation of an Display_Object - Display_Object_Factory.java - Factory Object for Display_Objects - Graph.java - Simulation - Graph_Panel.java - Simulation - NS_Resolve.java - Resolving the inital reference to the Naming Service - Queue.java - Simulation - Sim_Panel.java - Simulation - Border_Panel.java - Simulation - - -Wed Feb 18 22:15:06 1998 Sumedh Mungee - - * tao/tao_util.cpp,h: Updated class to include a constructor so - user can supply his own orb, poa or manager. - -Wed Feb 18 21:40:24 1998 - - * docs/orbsvcs.html: - Updated the description of orbsvcs directory hierarchy. - -Wed Feb 18 19:45:57 1998 Alexander Babu Arulanthu - - * Added the idl file for the CosPropertyService , i.e. - orbsvcs/orbsvcs/Property/CosPropertyService.idl - -Wed Feb 18 17:56:54 1998 Carlos O'Ryan - - * orbsvcs: - Moved all the implementations to the orbsvcs libraries, this is - the first step to give the user control over object - collocation. - Please note that this version is only known to compile on - Solaris/CC, it will *not* compile on NT (some "export" macros - are missing); since this change is very disruptive (because it - moves files around) it was thought that holding it for a long - time will result in more harm than good. - A top-level make onTAO_ROOT/orbsvcs works OK. - -Wed Feb 18 17:10:23 1998 Sumedh Mungee - - * tao/tao_util.cpp (init): The ORB_Manager class does not create - it's own POA, but uses the default root POA instead. - -Wed Feb 18 16:02:34 1998 Alexander Babu Arulanthu - - * Commented and indented the follwing files in orbsvcs/orbsvcs/ - CosPropertyService.idl - CosPropertyService_i.h - CosPropertyService_i.cpp - -Wed Feb 18 12:28:58 1998 Carlos O'Ryan - - * tests/Thruput/TAO/tmplinst.cpp: - The templates should be instantiated over the CORBA:: typedefs, - otherwise they fail in weird platforms. - -Wed Feb 18 11:57:24 1998 Chris Cleeland - - * tests/Cubit/TAO/MT_Cubit/Makefile (LDLIBS): Removed -lposix4 - from the LDLIBS. Thanks to Bob Olson for - reporting this. - -Wed Feb 18 02:58:40 1998 Nanbor Wang - - * orbsvcs/Naming_Service/Naming_Service.cpp (IOR_Multicast): Make - sure that response_addr_ is properly initialized before it is - used to initialize response_, which is an ACE_SOCK_Dgram. - -Tue Feb 17 20:20:35 1998 Douglas C. Schmidt - - * tao/giop.cpp: Removed an extra explicit template instantiation - of TAO_Unbounded_Sequence. Thanks to - Ben Eng for reporting this! - - * tests/Thruput/TAO/Makefile: Removed the "clean" macro since it - was conflicting with the TAO default. - -Tue Feb 17 21:47:41 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp (shutdown): Renamed please_exit - method to shutdown. - - * tests/Cubit/TAO/IDL_Cubit/cubit.idl: Renamed please_exit operation to - shutdown. - -Tue Feb 17 17:22:47 1998 Chris Cleeland - - * TAO version 0.1.4, released Tue Feb 17 17:22:47 1998. - -Tue Feb 17 16:50:20 1998 Chris Cleeland - - * tao/orbobj.cpp (open): Modified so that if it's been called - multiple times it returns '1' rather than '-1', thus not appearing - to calling code as an error. - -Tue Feb 17 16:05:55 1998 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs.dsp: Chris G. updated the file list of - this project. - - * orbsvcs/orbsvcs/Time_Utilities.h: - * orbsvcs/orbsvcs/Event_Utilities.h: Added MS keayword, - TAO_ORBSVCS_Export. - - * tests/Cubit/TAO/IDL_Cubit/client.dsp: - * tests/Cubit/TAO/IDL_Cubit/server.dsp: Updated project setting to - take the advantage of TAO naming service. - - * orbsvcs/tests/Event_Latency/Event_Latency.dsp: Updated project - setting to use DLL version of orbsvcs. - -Tue Feb 17 15:39:49 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/Makefile: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.h:: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit.idl: - * tests/Cubit/TAO/MT_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit_i.h: - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/server.h: Made a bunch of changes to - correctly support the POA. In addition, MT_Cubit now uses the - Name Service to bind the Cubit objects. In case the Name Service - doesn't exist, there is still the "cut&paste" ior method that uses - a cubit factory to give the client a reference to the cubit - objects. - -Tue Feb 17 13:25:52 1998 Nanbor Wang - - * TAO-INSTALL.html: Added instructions on using the CPP_LOCATION - environment variable in NT's section. You can also use it on - UNIX but NT is the only platform which depends on it. - -Tue Feb 17 11:30:53 1998 David L. Levine - - * tao/orbconf.h: set TAO_ALIGNMENT_MAGIC_NUMBER to 128 if - ACE_SIZEOF_LONG > 4, e.g., on 64-bit CPUs. - - * tao/except.cpp (make_standard_typecode): replaced unsigned long/ - long with CORBA::ULong/CORBA::Long. - - * TAO_IDL/ast/ast_array.cpp,ast_operation.cpp,ast_sequence.cpp, - ast_string.cpp, - TAO_IDL/util/utl_decllist.cpp,utl_exceptlist.cpp,utl_exprlist.cpp, - utl_idlist.cpp,utl_labellist.cpp,utl_namelist.cpp,utl_strlist.cpp: - moved base class initialization to beginning of initializer list. - -Tue Feb 17 10:43:45 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/CosTimeBase.idl: - * orbsvcs/orbsvcs/Time_Utilities.cpp: - * orbsvcs/orbsvcs/Time_Utilities.h: - * orbsvcs/orbsvcs/Time_Utilities.i: - Added the standard CORBA types for time, also added some helper - routines to convert between BasicTime::TimeT and the common - representations of time in ACE (ACE_Time_Value and ACE_hrtime_t) - - * orbsvcs/orbsvcs/RtecEventComm.idl: - * orbsvcs/orbsvcs/RtecScheduler.idl: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * orbsvcs/Event_Service/ReactorTask.cpp: - * orbsvcs/Event_Service/Task_Manager.cpp: - * orbsvcs/Scheduling_Service/Config_Scheduler.cpp: - * orbsvcs/Scheduling_Service/Config_Scheduler.h: - * orbsvcs/Scheduling_Service/Scheduler.cpp: - * orbsvcs/orbsvcs/Channel_Clients_T.i: - * orbsvcs/orbsvcs/Event_Service_Constants.h: - * orbsvcs/orbsvcs/Event_Utilities.i: - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * orbsvcs/orbsvcs/Runtime_Scheduler.h: - * orbsvcs/Event_Service/Dispatching_Modules.cpp: - * orbsvcs/Event_Service/Event_Channel.cpp: - Adapted all the code to use the new time structures. - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/tests/EC_Multiple/Makefile: - * orbsvcs/tests/Event_Latency/Makefile: - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Simple_Naming/Makefile: - * orbsvcs/Event_Service/Makefile: - * orbsvcs/Naming_Service/Makefile: - * orbsvcs/Scheduling_Service/Makefile: - * orbsvcs/Dump_Schedule/Makefile: - Updated dependencies. - - * docs/releasenotes/ec.html: - Updated documentation for this release. - -Tue Feb 17 07:40:49 1998 Douglas C. Schmidt - - * tao/any.cpp: Added a "return *this" to operator= to stop certain - compilers from complaining. Thanks to Andy for fixing this. - -Tue Feb 17 04:08:11 1998 Nanbor Wang - - * TAO_IDL/driver/drv_preproc.cpp (DRV_cpp_init): Setting the - CPP_PATH has been causing a lot of nasty trouble on NT. I - changed this function to allow overwriting the internal c++ - compiler location at run time using CPP_LOCATION. If someone - forgets to set the CPP_PATH when compiling tao_idl, one can - make tao_idl work by defining this environment variable to - something like: - - set CPP_LOCATION="C:/Program Files/DevStudio/VC/BIN/CL.exe" - - Notice that CPP_LOCATION _must_ be a full pathname of the c++ - compiler. - -Tue Feb 17 00:56:08 1998 Alexander Babu Arulanthu - - * orbsvcs/tests/CosPropertyService/main.cpp (main): Added some - more testing for Any in and out of Hash Table. - -Mon Feb 16 18:01:23 1998 Chris Cleeland - - * TAO version 0.1.3, released Mon Feb 16 18:01:23 1998. - -Mon Feb 16 18:00:15 1998 Chris Cleeland - - * release.pl: Changed C++ comment leaders to Perl comment leaders. - -Mon Feb 16 17:51:15 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/svr.cpp : Added -s option to use the - NamingService. Default doesn't use NamingService. - -Mon Feb 16 17:38:15 1998 Chris Cleeland - - * tao/iioporb.cpp: Made sure to count separators when allocating - space for the IOR. This corrected ABW errors in purify. - - * tao/connect.cpp: Explicitly set the buffer when being purified - to avoid complaints. - -Mon Feb 16 17:22:15 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/Makefile: Changed LDFLAGS to link orbsvcs - library.Now uses the Naming service. - - * tests/Cubit/TAO/IDL_Cubit/svr.cpp: Added code to register - IDL_Cubit/cubit_factory name with the naming service. - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Added a -s flag to use the - NamingService to resolve the cubit_factory flag. It still has the - commandline IOR and -f ior_file options. - -Mon Feb 16 13:29:31 1998 Brian Mendel - - * tao/poa.cpp: Added SCE_HAS_TEMPLATE_TYPEDEFS_CHAR guards - around ACE_OS:strlen calls for WChar(s). - * tao/default.bld, tao.bld: Update VxWorks GHS Build files. - -Mon Feb 16 12:24:04 1998 Chris Cleeland - - * tests/Cubit/TAO/IDL_Cubit/clnt.h (needed.): Added missing member - variable. Things now compile. - -Mon Feb 16 10:18:25 1998 David L. Levine - - * tao/poa.cpp (decode_string_to_sequence): moved declaration of - local "i" outside of loop because it is used after the loop. - - * orbsvcs/Event_Service/RT_Task.cpp (synch_threads): try two - fallback strategies if the task activiation fails: - ACE_SCHED_OTHER scheduling class with requested priority, then - ACE_SCHED_OTHER scheduling class with minimum thread priority. - Thanks to Bob Olson for reporting the - problem in Irix, which doesn't have a thread priority of 0 - with ACE_SCHED_OTHER. - - * tao/corbacom.h (CORBA_SEQUENCE): replaced CORBA::B_FALSE with 0 - because some compilers, such as egcs, can't handle its use before - definition below in class CORBA. Thanks to Todd Pack - for reporting this. - - * tao/giop.cpp (TAO_GIOP_message_name): cast quotient of sizeof's - to int to avoid signed/unsigned comparison. - - * tao/interp.cpp (calc_nested_size_and_alignment,private_size, - private_alignment): qualified TC_KIND_COUNT with CORBA::, - so that the file-scope TC_KIND_COUNT isn't used in the - comparison. - -Mon Feb 16 10:14:34 1998 Carlos O'Ryan - - * TAO_IDL/be/be_array.cpp: - The _free method was emitted in the .i file, but it was not - declared inline. Thanks to Michael Kircher (mk1@cs.wustl.edu) - for reporting this one. - -Mon Feb 16 02:34:24 1998 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/CosPropertyService_i.cpp: Defined some of the - functions for the TAO_PropertySet class. - - * orbsvcs/orbsvcs/CosPropertyService_i.h: Defined the classes for - implementing the CosPropertyService for TAO. - - * orbsvcs/tests/CosPropertyService/Makefile: Added this - Makefile ( Makefile for making test program for the - PropertyService ) - - * orbsvcs/orbsvcs/CosProperty_Hash.cpp: Added this file. - - * orbsvcs/orbsvcs/CosProperty_Hash.h (Table): Added this - file. This contains the classes for maintaining Hash Table for - storing the PropertySets. - - * orbsvcs/tests/CosPropertyService/main.cpp (main): Added this - test file for CosPropertyService - - -Sun Feb 15 20:12:00 1998 Chris Cleeland - - * tao/poa.{h,cpp}: Heavily modified several routines to correct - problems with the notion of what, exactly, an object key really - is. Some were treating it as simply an octet sequence, others as - a zero-terminated string (C-style), while others as a sequence of - octets which must be terminated by a zero. - - Object keys and IDs are now stored canonically as opaque octet - sequences, and two new conversion routines - (encode_sequence_to_string and decode_string_to_sequence) have - been created to convert between these octet sequences and C-style - strings. - - * tao/iioporb.cpp (object_to_string): Modified to utilize the new - encoding routines to convert from octet sequences to printable - strings. - - * tao/{tao_internals,orbobj}.cpp: Added explicit inclusion of - Object_Manager.h. - -Sun Feb 15 16:15:49 1998 Nagarajan Surendran - - * tests/Param_Test/options.cpp (parse_args): Changed the -f option - to read the servant-IOR from a file. - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Changed the -f - to -f . Reads the ior - from that file. - - * tests/Cubit/TAO/IDL_Cubit/svr.cpp : Added -o - option to output the cubit factory ior to a file. - -Sat Feb 14 22:39:46 1998 Sergio Flores - - * orbsvcs/tests/Logger/clnt.cpp (init): Added negative test case - of name not found when calling the naming service' resolve() - method. - -Fri Feb 13 19:37:01 1998 Douglas C. Schmidt - - * tao/orbobj.cpp (resolve_name_service): Changed char buf[BUFSIZ] - to char buf[ACE_MAX_DGRAM_SIZE] to make sure we don't overflow - the buffer! - -Fri Feb 13 18:18:54 1998 Sergio Flores - - * tests/Makefile: - * tests/Thruput/TAO/client.cpp: - * tests/Thruput/TAO/Makefile: - * tests/Thruput/TAO/server.cpp: - * tests/Thruput/TAO/ttcp_i.cpp: - * tests/Thruput/TAO/ttcp_i.h: - * tests/Thruput/TAO/utils.cpp: Made changes to use the new POA. - -Fri Feb 13 12:56:01 1998 David L. Levine - - * release.pl: fixed typo, missing comma between chmod args. - -Fri Feb 13 12:46:26 1998 David L. Levine - - * TAO version 0.1.2, released Fri Feb 13 12:46:26 1998. - -Thu Feb 12 21:09:22 1998 Sumedh Mungee - - * orbsvcs/orbsvcs/AVStreams_i.{h,cpp}: Updated MMDevice and StreamCtrl - -Thu Feb 12 20:55:48 1998 Sumedh Mungee - - * tests/AVStreams/client,server: Updated to use the new StreamCtrl, MMDevice etc.. - -Thu Feb 12 11:06:48 1998 Chris Cleeland - - * tao/poaC.i (PortableServer): Moved POA::_nil() definition above - many uses. - -Thu Feb 12 10:21:47 1998 David L. Levine - - * tests/TAO/Cubit/TAO/MT_Cubit/Task_Client.cpp (svc): added .in () - to objref and cb so that it will compile with g++. - - * tao/Makefile,xdr.{h,cpp},t-xdr.cpp,corba.h: removed xdr files - because they're no longer used. - - * tao/encode.cpp,poa.{h,cpp},poaC.{h,cpp}: replaced wchar_t - with CORBA::WChar. - - * TAO_IDL/ast/ast_generator.cpp,TAO_IDL/be/be_generator.cpp - (create_wstring): use short instead of wchar_t if - ACE_HAS_WCHAR_TYPEDEFS_CHAR. - - * TAO_IDL/be/be_array.cpp (tao_name): changed type of loop index - "i" to unsigned int to avoid signed/unsigned comparison. - - * TAO_IDL/be/be_state_exception.cpp,be_state_structure.cpp (gen_code): - added default case to switch statement, which sets "os" to 0, to - avoid compiler warning about possible unitialized use. - - * tests/POA/Default_Servant/File_i.cpp (lseek): changed type - of "result" to CORBA::Long to avoid signed/unsigned comparison - with -1. Cast it to CORBA::ULong on return. Also, added a - couple of ACE_UNUSED_ARG (env)'s. - - * tests/Param_Test/server.cpp (main): initialize local - "param_test" to 0 to avoid warning about unitialized use. - - * orbsvcs/Scheduling_Service (compute_scheduling): added cast - of impl->tasks () to RtecScheduler::handle_t to avoid signed/ - unsigned comparison. Also, added a bunch of ACE_UNUSED_ARG (env)'s. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp (EC_Proxy::push, - Test_ECP::push): changed type of loop index "i" to u_int to - avoid signed/unsigned comparison. Also, added an - ACE_UNUSED_ARG (env). - -Wed Feb 11 11:20:34 1998 David L. Levine - - * tao/iiopobj.h,stub.h (operator =): added return type to avoid - compiler warning, and wrapped in ACE_UNIMPLEMENTED_FUNC. - - * tao/corbacom.h: rearranged LongLong typedefs so that they work - with ACE_LACKS_LONGLONG_T. - - * tao/Timeprobe.cpp (print_times): divide by 1000u instead of 1000 - to allow overload resolution of ACE_U_LongLong::operator /. - - * tao/orb_core.cpp: removed break's after return's to avoid compiler - warnings. - - * tao/typecode.cpp: wrapped some break and return statements with - ACE_NOTREACHED to avoid compiler warnings. - - * tao/debug.cpp (use_debug_stream_to_get_rid_of_warning): changed - to return debug_stream instead of (not) using it. ghs warned that - "controlling expression is constant" the way things were. - - * TAO_IDL/Makefile: added default_vxworks target to prevent make - warning. - -Tue Feb 10 17:39:13 1998 Chris Gill - - * orbsvcs/Scheduling_Service/SchedEntry.cpp - orbsvcs/Scheduling_Service/DynSched.{cpp,h} - orbsvcs/Scheduling_Service/Strategy_Scheduler.{cpp,h} : - - fixes to priority assignment, timeline generation methods - (fourth cut - timelines being generated) - -Tue Feb 10 11:19:20 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - Fixed several problems detected by SGI/C++ compiler. - -Mon Feb 9 20:00:55 1998 Chris Gill - - * orbsvcs/Scheduling_Service/SchedEntry.{cpp,h,i} - orbsvcs/Scheduling_Service/DynSched.{cpp,h,i} - orbsvcs/Scheduling_Service/Strategy_Scheduler.{cpp,h} : - - finished timeline coding, got a clean source compile - (third cut - still a work in progress) - - -Mon Feb 9 12:59:29 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/RtecEventComm.idl: - * orbsvcs/Event_Service/Event_Channel.cpp: - * orbsvcs/Event_Service/Event_Channel.i: - * orbsvcs/orbsvcs/Event_Utilities.cpp: - * orbsvcs/orbsvcs/Event_Utilities.i: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Added comments to the EventComm module and a new field (ttl_: - Time-to-Live) to the event data structure. - - * orbsvcs/orbsvcs/Channel_Clients_T.cpp: - * orbsvcs/orbsvcs/Channel_Clients_T.h: - * orbsvcs/orbsvcs/Channel_Clients_T.i: - I finally needed the TIE classes for PushConsumers and - PushSupplier, they work OK now. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/README: - * orbsvcs/tests/EC_Multiple/Makefile: - * orbsvcs/tests/Makefile: - Added a simple example on how to connect multiple event - channels. - - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/Naming_Service/CosNaming_i.cpp: - Added and/or fixed some debug messages. - - * orbsvcs/Scheduling_Service/Config_Scheduler.cpp: - Reduce default output level. - - * tao/corba.h: - Fixed TAO_RETHROW_RETURN macro. - - * docs/releasenotes/ec.html: - * docs/releasenotes/index.html: - Split the Event Channel release notes to a separate file, the - index.html was growing without control. - -Mon Feb 9 09:15:08 1998 Carlos O'Ryan - - * docs/releasenotes/orbcore.html: - Fixed reference to TAO-Install.html, thanks to Sreedharani - for reporting this one. - -Sun Feb 08 21:41:24 1998 David L. Levine - - * tao_util.cpp (run): added return 0 statement at end. - -Sun Feb 8 19:48:33 1998 Chris Gill - - * orbsvcs/Scheduling_Service/SchedEntry.{cpp,h,i} : Moved the - Classes for the various scheduling entries out of the - ACE_Scheduler class and into a separate set of files - (first cut - still a work in progress) - - * orbsvcs/Scheduling_Service/DynSched.{cpp,h,i} : Completed - merges of dispatches, and a thorough review of priority - assignment (second cut - still a work in progress) - - * orbsvcs/Scheduling_Service/Strategy_Scheduler.{cpp,h} : - Completed merges of dispatches, and a thorough review of the - modified strategies (second cut - still a work in progress) - -Fri Feb 6 15:31:17 1998 Carlos O'Ryan - - * TAO_IDL/be/be_array.cpp: - Fixed several problems with the array code generation, - including: - + The name for the array TypeCode and its alias TypeCode were - clashing. - + Several inconsistencies in the declaration and definition of - operations for _var, _out and _forany parameters. - Thanks to James Mason for reporting this. - - * TAO_IDL/be/be_type.cpp: - Increased the buffer size for some names to the "standard" - NAMEBUFSIZE. - - * docs/releasenotes/orbcore.html: - The "Last Updated" field is set by CVS now. - - * tao/interp.cpp: - * tao/encode.cpp: - Removed obsolete comments. - -Wed Feb 4 12:30:43 1998 Chris Cleeland - - * tao/objkeyC.h: Modified so that the namespace mapping for the - TAO module uses the alternative "underbar" mapping, i.e., rather - than TAO::ObjectKey, it's now TAO_ObjectKey. The scoping - operation is now performed in tao.h. - - * tao/tao.h: This now contains a class (used as a namespace) in - which components which *should* be in the TAO:: namespace are - typedef'd. - - * tao/tao_util.*: Moved TAO_ORB_Manager into here. - - * tao/stub.h: - * tao/servant_base.cpp: - * tao/poa.h: - * tao/poa.cpp: - * tao/orbobj.h: - * tao/orbobj.cpp: - * tao/orb_core.h: - * tao/orb_core.cpp: - * tao/object.h: - * tao/object.cpp: - * tao/iiopobj.h: - * tao/iiopobj.cpp: - * tao/corba.h: - Changed references of TAO::ObjectKey to TAO_ObjectKey. - - * tao/Makefile: Adjusted build tao_util.so rather than tao.so. - -Mon Feb 2 22:51:03 1998 Nanbor Wang - - * rules.tao.GNU (TAO_IDLFLAGS): - * orbsvcs/orbsvcs/Makefile (TAO_IDLFLAGS): Changed IDLFLAGS to - TAO_IDLFLAGS to avoid naming conflict with IDLFLAGS for other - IDL compilers. - -Mon Feb 2 21:41:32 1998 Nanbor Wang - - * orbsvcs/orbsvcs/Makefile: Added Win32 IDL flags for portability. - -Mon Feb 02 18:50:19 1998 Nanbor Wang - - * orbsvcs/orbsvcs/Scheduler_Factory.h: Added the - TAO_ORBSVCS_Export directive to class Scheduler_Factory. - - * TAO_IDL/GenExportH.BAT: New Windows batch file which generate - an header file with approriate exporting flags defined. See - this file for details. - - * orbsvcs/orbsvcs_export.h: New file that defines the Export - directives for Win32. Generated by GenExportH.BAT in TAO_IDL/. - - * orbsvcs/orbsvcs/orbsvcs.dsw: Added new project file for DLL - version of orbsvcs library. - - * orbsvcs/orbsvcs/orbsvcs.dsp: New project file for DLL version of - orbsvcs library. - - * orbsvcs/orbsvcs/orbsvcs_lib.dsp: Changed the tao_idl custom - build commands so it builds files for both LIB and DLL - libraries. - - * orbsvcs/orbsvcs.dsw: - * orbsvcs/Dump_Schedule/Dump_Schedule.dsp: - * orbsvcs/Event_Service/Event_Service.dsp: - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/Scheduling_Service/Scheduling_Service.dsp: Changed to - use DLL version of orbsvcs library. - -Mon Feb 2 18:08:21 1998 Carlos O'Ryan - - * tao/sequence_T.cpp: - Fixed problems in memory reallocation for - TAO_Unbounded_Sequence::operator=(). - -Mon Feb 2 13:47:23 1998 Sumedh Mungee - - * tao/Makefile: Renamed tao_util to tao. Ditto for the .h and .cpp - files. Also renamed the TAO_Util::ORB_Manager class to TAO_ORB_Manager. - -Mon Feb 2 13:47:01 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_args.cpp: - Fixed the mapping for strings as INOUT parameters. - -Mon Feb 02 08:59:57 1998 David L. Levine - - * tao/tao_util.cpp (init): added .in () to poa_object in call to - _narrow, so that it will compile with g++. - - * orbsvcs/tests/Logger/Makefile, - orbsvcs/orbsvcs/Makefile, - tests/POA/FindPOA/Makefile, - tests/POA/{Default,Generic}_Servant/Makefile, - tests/POA/NewPOA/Makefile, - tests/Cubit/TAO/{IDL,MT}_Cubit/Makefile, - tests/Param_Test/Makefile, - tests/Thruput/TAO/Makefile: - inserted (or moved) TAO_ROOT definition to top of file. - -Sat Jan 31 01:08:19 1998 Carlos O'Ryan - - * docs/releasenotes/index.html: - The IDL compiler has support for NT DLLs already, I moved the - tiem from the "issues" to the "new features" list. - - * docs/index.html: - * docs/compiler.html: - Added documentation for TAO IDL compiler behavior and options. - - * TAO_IDL/be/be_init.cpp: - Print a reasonable version for the compiler back-end, it is no - longer the Sun example BE and the version is (around 0.1.0). - -Fri Jan 30 16:27:47 1998 Douglas C. Schmidt - - * TAO version 0.1.1, released Fri Jan 30 16:27:47 1998. - -Fri Jan 30 15:35:06 1998 Carlos O'Ryan - - * TAO_IDL/be/be_args.cpp: - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/be/be_enum.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_interface_fwd.cpp: - * TAO_IDL/be/be_module.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_typedef.cpp: - * TAO_IDL/be/be_union.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_visitor_sequence.cpp: - * TAO_IDL/include/idl_global.h: - * TAO_IDL/util/utl_global.cpp: - Added support for export macros and a user defined include file, - this was needed to support DLL's in NT. - - * tests/Cubit/TAO/IDL_Cubit/Makefile: - Removed a broken test target; thanks to Michael Kircher - - -Fri Jan 30 15:30:30 1998 Chris Gill - - * orbsvcs/Scheduling_Service/DynSched.{cpp,h,i} : The Dynamic - Scheduler Implementation (first cut - still a work in progress) - - * orbsvcs/Scheduling_Service/Strategy_Scheduler.{cpp,h,i} : The - strategized scheduler subclass and the corresponding strategies - (first cut - still a work in progress) - -Fri Jan 30 15:10:01 1998 Douglas C. Schmidt - - * README: Updated the documentation to reflect the latest changes - to TAO. Thanks to Hans Rohnert for noticing this. - -Fri Jan 30 14:38:30 1998 Sumedh Mungee - - * orbsvcs/orbsvcs/util.cpp : Added TAO_ORB_Manager, a simple - helper class that does simple ORB and POA initialization and - object activation etc. - - * orbsvcs/orbsvcs/util.h : Added file - -Fri Jan 30 13:15:10 1998 Chris Cleeland - - * Makefile (RELEASE_FILES): Added rules.tao.GNU and taoconfig.mk - to this...missing in release 0.1.0. Thanks to Mark Boriack of - SAIC for reporting this. - -Fri Jan 30 11:55:38 1998 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs_lib.dsp: Logging service was somehow - missing from the library. - - * orbsvcs/tests/Logger/Logger.dsw: - * orbsvcs/tests/Logger/{server,client}.dsp: Added new project file. - - * orbsvcs/tests/Logger/svr.cpp: - * orbsvcs/tests/Logger/clnt.cpp: - * orbsvcs/tests/Logger/logger_i.h: - * orbsvcs/tests/Logger/logger_i.cpp: Changed to - "ace/streams.h". We should always use "ace/streams.h". - -Fri Jan 30 11:42:10 1998 Chris Cleeland - - * docs/releasenotes/orbcore.html: Updated to reflect - characteristics of the latest release as well as what we have to - look forwrd to. - - * announcement: Added this boilerplate for release announcement. - Actually, it's a sciprt which can be piped to something like - 'mailx'. - -Fri Jan 30 01:55:59 1998 Sergio Flores - - * tests/Cubit/COOL/IDL_Cubit/README: - * tests/Cubit/COOL/IDL_Cubit/Makefile: - * tests/Cubit/COOL/IDL_Cubit/client.cpp: - * tests/Cubit/COOL/IDL_Cubit/client.h: - * tests/Cubit/COOL/IDL_Cubit/cubit.idl: - * tests/Cubit/COOL/IDL_Cubit/cubit_i.cpp: - * tests/Cubit/COOL/IDL_Cubit/cubit_i.h: - * tests/Cubit/COOL/IDL_Cubit/server.cpp: - * tests/Cubit/COOL/IDL_Cubit/tmplinst.cpp: Added test code for - Chorus COOL ORB, for the IDL Cubit example. - - * tests/Thruput/COOL/README: - * tests/Thruput/COOL/Makefile: - * tests/Thruput/COOL/client.cpp: - * tests/Thruput/COOL/server.cpp: - * tests/Thruput/COOL/ttcp.idl: - * tests/Thruput/COOL/ttcp_decl.h: - * tests/Thruput/COOL/ttcp_i.cpp: - * tests/Thruput/COOL/ttcp_i.h: - * tests/Thruput/COOL/utils.cpp: Added test code for Chorus COOL - ORB, for the Thruput example. - - * tests/Thruput/TAO/ttcp_decl.h: Make declarations of variables - consistent with definition. Changed srcDataSize from CORBA::ULong - to unsigned long. - - * tests/Thruput/TAO/Makefile: Updated to use rules.tao.GNU. and - taoconfig.mk. This was suggested by a change Carlos O'Ryan did to - the long lost Thruput_test directory. - -Thu Jan 29 23:10:05 1998 Douglas C. Schmidt - - * orbsvcs/tests/Simple_Naming/clnt.cpp (CosNaming_Client): - Reordered the constructor initializations to match the class - definition. - -Thu Jan 29 20:10:33 1998 Chris Cleeland - - * TAO version 0.1.0, released Thu Jan 29 20:10:33 1998. - -Thu Jan 29 15:58:01 1998 Chris Cleeland - - * tests/Param_Test/run_test: Allowed specification of the - invocation style (sii vs. dii) using a shaell variable. - - * docs/releasenotes/{index,orbcore}.html: Updated to include some - details regarding this release. These files are behind the - release, but I'm opting to get the release out and update these - files ex post facto. - - * release.pl: Updated this script so that it can update different - levels of the release version number based on the setting of the - RELEASE_TYPE environment variable. - - * Makefile: Added release.chk to the list of files going into the - release. This file is our checklist for things that have been - tested and work leading up to a release. Check in here for - details on how a test has worked on a platform. - - * tests/POA/FindPOA/FindPOA.cpp (main): Added missing double-quote - in ACE_DEBUG(). - -Thu Jan 29 15:55:25 1998 Carlos O'Ryan - - * orbsvcs/tests/Logger/clnt.h: - * orbsvcs/tests/Logger/clnt.cpp: - We need to keep a reference to the ORB is some place. - -Thu Jan 29 14:59:01 1998 Chris Cleeland - - * tests/POA/On_Demand_Activation/server.cpp: - * tests/POA/Generic_Servant/MyFooServant.cpp: - * tests/POA/Explicit_Activation/server.cpp: - * tests/POA/Default_Servant/server.cpp: - * tests/Cubit/TAO/MT_Cubit/server.cpp: - _var's passed as pointers need to use the .in() method. - - * tests/Param_Test/run_test: Added a longer delay, changed port #, - and made all output be prefaced by either "SERVER: " or - "CLIENT(): ". - - * tao/poa.cpp: Re-ordered member initializers to de-warn g++. - - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp: _narrow needs to be - passed a .in() from _vars (you get a lollipop if you understand - that comment). - - * docs/poa_migration.html: Added this file to start the ball - rolling. Right now it's poorly-formatted and a rehash of some - emails, but it will be refined and grow over time. - -Thu Jan 29 12:33:30 1998 Carlos O'Ryan - - * orbsvcs/tests/Simple_Naming/clnt.cpp: - * orbsvcs/tests/Simple_Naming/clnt.h: - Simple Naming simply tries to locate the Naming Service, it is - useful to test the TAO facilities (multicast, environment, - command line) for that purpose. - - * orbsvcs/tests/Logger/clnt.cpp: - * orbsvcs/tests/Logger/clnt.h: - We do not attempt to use nested context unless requested by the - user, the reason is that it is failing consistently right now. - -Thu Jan 29 10:34:08 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_operation.cpp: Some bug fixes made in the pre-POA - TAO version were accidentally overwritten during the POA to main - branch merge. This has been fixed. - - * tao/{encode, decode}.cpp: Fixed the terrible alignment problems - that we were having on VxWorks for marshaling structures. At this - time, the fix has been made only to "structs". These problems were - being caused because the C++ compiler on NT/VxWorks was laying out - structures on a 4 byte aligned address. If a "double" is the very - first field, it will allocate the double at the 4 byte aligned - address even if a double is 8 byte aligned. The fix is to make - sure that when we align, we must take into account the start - address of the structure as well as the address at which the field - is laid out. - -Thu Jan 29 10:29:14 1998 Carlos O'Ryan - - * Makefile: - Compile before , if the first one fails the - second will sure fail also. - - * tests/Cubit/TAO/MT_Cubit/Makefile: - Updated comments and reformated some unreadable things. - -Wed Jan 28 15:35:37 1998 Carlos O'Ryan - - * tests/Makefile: - * tests/Cubit/Makefile: - Fixed Makefiles so we can invoke the top level Makefile safely. - -Wed Jan 28 13:45:16 1998 Nanbor Wang - - * tests/POA/Default_Server/{client,server}.dsp: Updated project - files. - - * tests/Cubit/TAO/MT_Cubit/client.dsp: Added CubitS.cpp to - client.dsp. - - * tests/POA/Generic_Servant/{client,server}.dsp: Added idl - compilation rules. - - * tests/Parem_Test/{client,server}.dsp: Updated idl file - compilation rules. Added Parem_TestS.cpp to client project. - -Wed Jan 28 14:25:29 1998 Chris Cleeland - - * tests/Param_Test/run_test: Updated to utilized the new '-o' - option on the server side and for the clients to get the IOR from - that file. - - * tests/Param_Test/server.cpp: Added '-o' option to specify the - name of a file in which the server can deposit the IOR which the - client should use. - - * tests/Param_Test/options.cpp: Updated the options string (forgot - it last time through). - -Wed Jan 28 13:56:07 1998 Carlos O'Ryan - - * tests/POA/Makefile: - * tests/POA/Default_Servant/Default_Servant.dsw: - * tests/POA/Default_Servant/File.idl: - * tests/POA/Default_Servant/File_i.cpp: - * tests/POA/Default_Servant/File_i.h: - * tests/POA/Default_Servant/Makefile: - * tests/POA/Default_Servant/client.cpp: - * tests/POA/Default_Servant/client.dsp: - * tests/POA/Default_Servant/server.cpp: - * tests/POA/Default_Servant/server.dsp: - * tests/POA/Default_Servant/svc.conf: - Added some missing tests that were in the POA branch. - -Wed Jan 28 13:35:11 1998 Chris Cleeland - - * tests/Param_Test/server.cpp: Changed so that the IOR is printed - ALL the time. - - * tests/Param_Test/options.*: Updated to work with POA. Got rid - of host and port arguments and added an IOR argument. - - * tests/Param_Test/driver.*: Updated to work with POA. - - * tests/Cubit/TAO/IDL_Cubit/clnt.h: Added emacs mode setting at - beginning. - - * tao/optable.h: Cleaned up some formatting in header file. - -Wed Jan 28 13:19:55 1998 Carlos O'Ryan - - * tests/Cubit/TAO/IDL_Cubit/README: - Update README on how to run the test. - - * tests/Cubit/TAO/IDL_Cubit/svr.cpp: - Print the IOR always, it is neded to run properly. - - - * tests/Cubit/TAO/MT_Cubit/tmplinst.cpp: - * tests/Cubit/TAO/IDL_Cubit/tmplinst.cpp: - Instantiate on CORBA::Long instead of a plain long. - - * orbsvcs/tests/Logger/svr.cpp: - Cosmetic changes on debug messages. - -Wed Jan 28 11:20:38 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/Logger.idl: - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Logger/logger.idl: - Moved a prototype logger.idl to the orbsvcs library, eventually - this will become a full blown service in the TAO architecture. - - * orbsvcs/tests/Logger/clnt.cpp: - * orbsvcs/tests/Logger/clnt.h: - * orbsvcs/tests/Logger/logger_i.cpp: - * orbsvcs/tests/Logger/logger_i.h: - * orbsvcs/tests/Logger/svr.cpp: - Ported the experimental logging server to POA. - - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp: - Fixed minor problem with call using a _var as input parameter - -Wed Jan 28 09:14:30 1998 Carlos O'Ryan - - * tests/POA/Makefile: - Fixed order in the DIRS variable, Generic_Servant goes first - since it builds a library needed in some of the other tests. - - * tests/POA/On_Demand_Activation/Makefile: - * tests/POA/Explicit_Activation/Makefile: - Fixed order for libraries, -lserver uses -lTAO so it must go - first. - - * orbsvcs/orbsvcs/Makefile: - Another case of misplaced includes. - - -Tue Jan 27 17:29:11 1998 Carlos O'Ryan - - * tests/Cubit/TAO/IDL_Cubit/Makefile: - Reorder includes to avoid evil definition for the IDL compiler. - -Tue Jan 27 16:16:11 1998 Chris Cleeland - - * tests/Param_Test/server.cpp: Added ACE_UNUSED_ARG() inside the - TAO_CATCH() macro scope to de-warn on g++. - - * tests/Param_Test/param_test_i.cpp (Param_Test_i::CTOR): Removed - argument name to de-warn on g++. - - * tests/Cubit/TAO/IDL_Cubit/{svr,clnt}.cpp: Use in() method on - _var class to explicitly get an _ptr. - - * tao/objtable.cpp (find): Changed conditional expression to not - rely on implicit conversion from _var to _ptr type. - - * tao/giop.cpp: Updated "illegal message" error message to - actually print out the type of the offending message. This also - caused the addition of a helper function--TAO_GIOP_message_name(). - -Tue Jan 27 15:06:28 1998 Carlos O'Ryan - - * TAO_IDL/Makefile: - * TAO_IDL/be/Makefile: - * orbsvcs/Dump_Schedule/Makefile: - * orbsvcs/Event_Service/Makefile: - * orbsvcs/Naming_Service/Makefile: - * orbsvcs/Scheduling_Service/Makefile: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/tests/Event_Latency/Makefile: - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Simple_Naming/Makefile: - * tao/Makefile: - * tests/Cubit/TAO/IDL_Cubit/Makefile: - * tests/Cubit/TAO/MT_Cubit/Makefile: - * tests/POA/Explicit_Activation/Makefile: - * tests/POA/FindPOA/Makefile: - * tests/POA/Generic_Servant/Makefile: - * tests/POA/NewPOA/Makefile: - * tests/POA/On_Demand_Activation/Makefile: - * tests/POA/RootPOA/Makefile: - * tests/Param_Test/Makefile: - Updated dependencies, apparently they were not properly - generated last time; they worked for Solaris/CC, but not in many - other platforms. - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/tmplinst.cpp: - * orbsvcs/orbsvcs/TAO_IDL_templates.cpp: - It seems that tmplinst.cpp is becoming our standard for template - instantiation files. - - * tao/poa.h: - No need to include poa_T.h, it is not used in any place (yet), - and it produces many warnings on IRIX machines. - - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp: - Use a _var for the output sequence of RT_Infos. - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Fixed some misuses of _var, thanks to Chris Cleeland for - bringing those to my attention. - - * release.pl: - Added CVS id. - -1998-01-27 Nagarajan Surendran - - * tests/POA/FindPOA:Added comments to all files - * tests/POA/On_Demand_Activation: Added comments to all files - * tests/POA/Generic_Servant: Added comments to all files - -Mon Jan 26 21:29:24 1998 David L. Levine - - * tao/compat/objbase.h: don't #define NOERROR on DIGITAL_UNIX, - or on any other platform that already has it #defined. - Thanks to Oliver Kellogg for - reporting this. - - * tao/corbacom.h: use ACE_INT32, etc., for defining Long, etc. - -Mon Jan 26 16:15:18 1998 Chris Cleeland - - * tao/giop.cpp (read_buffer): Modified this to detect ECONNRESET - and report is as a normal EOF occurrence. This will hopefully - eliminate a disturbing (but innocuous) message on NT. Thanks to - Frank H. at SAIC for reporting this. - - * tests/Param_Test/run_test: Added this script to run the server - and client with all arguments. - -Mon Jan 26 16:02:51 1998 Carlos O'Ryan - - * tests/Cubit/TAO/MT_Cubit/Makefile: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit_i.h: - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/server.h: - It compiles now, but it won't run. - -Mon Jan 26 15:29:37 1998 Sumedh Mungee - - * orbsvcs/tests/AVStreams/ (main): - Added simple client/server to test AVStreams - -Mon Jan 26 15:23:54 1998 Sumedh Mungee - - * orbsvcs/orbsvcs/AVStreams_i.cpp: - Added dummy implementation for VDev, MMDevice, and StreamEndPoint - classes - -Mon Jan 26 15:01:49 1998 Alexander Babu Arulanthu - - * tests/POA/RootPOA.cpp: Added Comments - -Mon Jan 26 14:31:46 1998 Sumedh Mungee - - * tests/POA/FindPOA.cpp: Added CVS ID - -Mon Jan 26 00:57:56 1998 Douglas C. Schmidt - - * tao/connect.cpp (open): Conditionally compile the code for - TCP_NODELAY only if this macro is present. Thanks to Edgar - Villanueva for reporting this. - -Sun Jan 25 14:30:04 1998 Nanbor Wang - - * tests/Cubit/TAO/IDL_Cubit/client.dsp: Added a missing source. - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp (Cubit_Client): Changed to - initialize Cubit_Client.cubit_key_ from heap. It should use - memory either from stack or heap, but never both. - -Sat Jan 24 21:55:55 1998 Sumedh Mungee - - * orbsvcs/orbsvcs/{AVStreams_i.h, AVStreams_i.cpp}: - Made changes for new POA - -Sat Jan 24 21:46:23 1998 Sumedh Mungee - - * orbsvcs/orbsvcs/AVStreams.idl: - Changed type key to be a string, rather than a sequence, which - breaks tao_idl! - -Sat Jan 24 21:01:00 1998 - - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp: - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/Naming_Service/Naming_Service.cpp: - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Fixed several minor error and sources of non-complaince. - - * TAO_IDL/tao_idl.dsp: - * tao/TAO.dsp: - CVS does not merge binary files properly. - -Sat Jan 24 15:51:41 1998 Carlos O'Ryan - - * tao/objtable.cpp: - Another merge problem. - -Sat Jan 24 11:20:42 1998 Carlos O'Ryan - - * Added latest changes by Irfan. - - Sat Jan 24 03:04:51 1998 Irfan Pyarali - - * tao/poa.cpp (id_to_reference): Reimplemented this method so that - it does not use id_to_servant and servant_to_reference combo. - This is necessary since id_to_reference may be used in a - MULTI_ID mode. - - * tao/poaS: Added explicit copy and destroy to all collocated - policies. This will help avoid the inheritance via dominance - warnings. - -Sat Jan 24 11:08:28 1998 Carlos O'Ryan - - * TAO_IDL/be_include/be_visitor.h: - The forward declaration of TAO_OutStream was missing; I guess it - was some slopiness in the merge. - -Sat Jan 24 10:30:40 1998 Carlos O'Ryan - - * The POA branch is merged back into the main trunk. For the - record we reproduce the ChangeLog in the branch. - - * ============ - * ============ Start of POA branch changes. - * ============ - - Fri Jan 23 17:13:14 1998 Carlos O'Ryan - - * Merged changes from main_to_poa_merge_11 up to - main_to_poa_merge_12 - - Fri Jan 23 17:08:45 1998 Carlos O'Ryan - - * orbsvcs/Event_Service/Event_Channel.h: - * orbsvcs/Event_Service/Event_Channel.i: - Fixed problem with Event Channel, it was using _this - unproperly. - - Fri Jan 23 16:49:19 1998 Chris Cleeland - - * tests/Param_Test/{server.cpp,param_test_i.h,param_test_i.cpp}: - Updated to compile with new POA. - - * tests/Param_Test/Makefile: Moved LDFLAGS up, included the - rules.tao.GNU, and removed the dependencies which were causing me - no end of grief. - - * tests/Cubit/TAO/IDL_Cubit/svr.cpp (main): Changed the check on - return value from resolve_initial_references() to use the - CORBA::is_nil() check. - - Fri Jan 23 16:43:12 1998 Carlos O'Ryan - - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp: - * orbsvcs/Event_Service/Event_Channel.cpp: - * orbsvcs/Event_Service/Event_Channel.i: - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/Naming_Service/CosNaming_i.cpp: - * orbsvcs/Naming_Service/CosNaming_i.h: - * orbsvcs/Naming_Service/Naming_Service.cpp: - * orbsvcs/Scheduling_Service/Config_Scheduler.cpp: - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp: - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.h: - "Ported" the orbsvcs and the Event_Latency test to POA, with - little success though, things will compile and it seems that the - Naming_Service and Scheduling_Services run properly, but - Event_Service does not. - We use a nested POA with "PERSISTENT" lifespan policy because it - is easier to set an enviroment variable or command line to the - NameService IOR. - - * tests/Cubit/TAO/IDL_Cubit/svr.cpp: - Removed some extra (and unwanted) code. - - Fri Jan 23 14:47:18 1998 Chris Cleeland - - * tests/POA/{FindPOA,RootPOA,NewPOA}/Makefile: Added - -L$(TAO_ROOT)/tao to LDFLAGS. - - * tests/POA/NewPOA/NewPOA.cpp: - * tests/POA/RootPOA/RootPOA.cpp: - * tests/POA/FindPOA/FindPOA.cpp: - Used the ::in() method as first argument to _narrow() calls. - - * tests/{Makefile,README}: Updated for new tests. - - * tao/poa.cpp: Added explicit template instantiations. - - Fri Jan 23 14:30:19 1998 Carlos O'Ryan - - * tao/poa.h: - * tao/poa.cpp: - * tao/servant_base.cpp: - _this() was using the object id for the current servant in *all* - objects, now it only does so for the servant invoked. - - * tests/Cubit/TAO/IDL_Cubit/Makefile: - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: - * tests/Cubit/TAO/IDL_Cubit/clnt.h: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.h: - * tests/Cubit/TAO/IDL_Cubit/svr.cpp: - Ported the Cubit test to POA, including some funky persistent - policies to simplify its use. - - Sat Jan 24 01:24:24 1998 Irfan Pyarali - - * tao/poa.cpp (destroy_i): Changed etherealize objects to correct - report remaining_activations. - - Fri Jan 23 10:55:40 1998 Carlos O'Ryan - - * tao/objtable.cpp: - Linear object tables were not using the initial size to - pre-allocate a buffer. - - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_state_argument.cpp: - Fixed the mapping for native as OUT or INOUT parameters, also - fixed the name for the _dispatch() method. - - Fri Jan 23 01:12:28 1998 Irfan Pyarali - - * tao/poaS.cpp: Added ACE_NESTED_CLASS macro to constructors. - - Thu Jan 22 23:57:31 1998 Chris Cleeland - - * tao/poa.cpp (wstring_to_ObjectId): Stuck the CORBA::WChar type - in parens for sizeof...g++ likes it better that way. - - Fri Jan 23 00:14:03 1998 Irfan Pyarali - - * tao/poa: - - - Added support for transient and persistent POAs by changing - the ObjectKey. From now on, each key will contain an - identifier that will indicate whether the key came from a - persistent or transient POA. That way the dispatch method can - decide the value of the activate_it flag while finding the - POA. If the key is from a persistent POA, the activate_it - flag will be true, else the flag will be set to false. - - - All operations on the parent POA will check for a valid parent - before executing the call. Remember that the RootPOA does not - have a parent POA. - - - Temporarily added export macros to the POA implementation - classes, so that the implementations can directly be debugged - (rather than going through the stubs/skeletons). These should - be removed once the debugging process is over. - - - Moved the registeration of the POA with its manager from the - create_POA method to the POA constructor. This is to insure - that the registration of the RootPOA is not "missed" since the - RootPOA is not created via the create_POA call. Similarly, - moved the removal of the POA from its manager from the destroy - method to the POA destructor. - - - TAO_POA::delete_child and TAO_POA_Manager::remove_poa were - changed such that when the object is closing down, we are - currently iterating over our poa collection and there is not - need to remove the item from our collection. - - - Changed use of substr from starting_at/ending_at to - starting_at/now_many. - - - Methods that return duplicated values/objects, must first be - assigned to a _var variable before being used. This will - avoid memory leaks. - - - For find methods, always use != -1 for success. - - - Added code to create_POA_i and find_POA_i_optimized to check - when topmost_poa_name == this->name_. - - - Added the concept of creation time to a POA. This way when a - transient POA gets a object key from a previous incarnation, - the OBJECT_NOT_EXISTS exception can be thrown. - - - Added a locator cookie field to TAO_POA_Current to keep track - of the cookie produced by the servant locator. - - - Made all methods virtual. - - - Renamed active_object_table to active_object_map. - - - Added pre_invoke and post_invoke methods to setup the - necessary state before doing the upcall to the servant. - - - Changed locate_servant to return 0 for success and -1 for - failure instead of trying to return a servant. This change is - necessary since there may not be a servant available but there - may be default servants or servant managers that could fill in - for the servant. Currently the locate_servant method takes an - optimistic approach to return TRUE when the servant was not - found but a default servant or servant manager was registered - with the POA, hoping the default servant or servant manager - will be able to fill in when the real request arrives. - - - Add a validity checks for POA policies. - - - Added support for servant managers (both servant locators and - servant activators), default servants and DSI. - - * tao/poaC.h: Added DynamicImplementation class to the - PortableServer. - - * tao/poaS: Changed dispatch to _dispatch. - - * tao/servant_base: - - - Added TAO_DynamicImplementation class - (a.k.a. PortableServer::DynamicImplementation). Users will - inherit from this to implement DSI. - - - Added prefix _ to all methods names in the ServantBase class - to avoid potential crashes with user specified method names. - - - Made TAO_POA a friend of ServantBase. - - * tao/connect.cpp (handle_locate): Changed to use latest version - of TAO_POA::locate_servant. - - * tao/servant_base.cpp (_default_POA): Changed to use - TAO_ORB_Core_instance()->root_poa() instead of - TAO_ORB_Core_instance()->orb()->resolve_initial_references("RootPOA"). - - * tao/poaC: Added string_to_ObjectId and ObjectId_to_string - methods to PortableServer. - - * tao/poa.cpp (TAO_Adapter_Activator::unknown_adapter): Changed - the implementation of this object so that it does not depend on - being friends with the POA and the POAManager. Initially, this - was done to avoid recursive locks. However, since user may want - to write their own implementations, recursive locks were deemed - necessary. - - * tao/default_server.cpp (create_poa_lock): Changed implementation - to produce ACE_Recursive_Thread_Mutex instead of - ACE_Thread_Mutex. - - * tests/POA/RootPOA/RootPOA.cpp (main) and - tests/POA/NewPOA/NewPOA.cpp (main): Added code to destroy the - rootPOA. I am not sure this is the responsibility of the user - to destroy the rootPOA since they never really created it. The - responsibility probably lies with the ORB, but since the spec - seems neutral about this, it is ok for now. - - * tao/object.i (CORBA_Object::Release): We must delete the object - when the parent_ refcount goes to zero. - - Thu Jan 22 16:56:32 1998 Carlos O'Ryan - - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - Fixed some relative name problems for the server header file. - - * TAO_IDL/be/be_visitor_sequence.cpp: - * TAO_IDL/be/be_visitor_root.cpp: - * TAO_IDL/be/be_visitor_args.cpp: - Get rid of some "unused arg" warnings. - - Thu Jan 22 15:26:55 1998 Chris Cleeland - - * tao/object.i: CORBA::Object --> CORBA_Object for internal stuff. - - * tao/object.i (CORBA_Object): Re-ordered member initialization to - match declaration order. - - Thu Jan 22 14:40:01 1998 Carlos O'Ryan - - * tao/corbacom.h: - Fixed multiple definitions of ORB_var and ORB_out due to a - simplistic merge. - - * TAO_IDL/be/be_interface.cpp: - Generate _find() to locate operations; using just find() is not - complaint. - - Thu Jan 22 10:40:13 1998 Carlos O'Ryan - - * Merged changes from main_to_poa_merge_10 up to - main_to_poa_merge_11 - - Wed Jan 21 17:35:20 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface.cpp: - Generate CORBA_Object instead of CORBA::Object to keep NT - happy. - - * TAO_IDL/be/be_visitor_args.cpp: - Fixed mapping for strings as arguments, they should always be - char*. - - Mon Jan 19 22:03:38 1998 - - * tao/sequence_T.i: - Object_Manager constructor was calling _duplicate(). That is not - the right semantics, and produces a crash when working on an - unitialized buffer. - - * tests/POA/NewPOA/NewPOA.cpp: - * tests/POA/NewPOA/NewPOA.dsp: - Fixed signed/unsigned warning. - - * tests/POA/NewPOA/NewPOA.dsp: - Fixed missing options to find ACE. - - Mon Jan 19 16:36:22 1998 Carlos O'Ryan - - * tao/iiopobj.h: - * tao/iiopobj.cpp: - Added a missed in action key() method to IIOP_Object. - - * tao/stub.h: - * tao/objkeyC.h: - * tao/object.h: - * tao/object.cpp: - Removed the non-complaint ObjectKey_ptr type. - - Mon Jan 19 16:19:28 1998 Carlos O'Ryan - - * tao/deep_free.cpp: - A reinterpret cast was dropping constness also, thanks to Irfan - for pointing this one out. - - Mon Jan 19 15:36:10 1998 Carlos O'Ryan - - * tao/sequence_T.i: - * tao/sequence_T.cpp: - The last merge was too smart, it kept some changes on this - branch that should have gone away. - - Mon Jan 19 13:58:01 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_interface.cpp: - Fixed operation table initialization, also called proper - constructor for CORBA::Object in collocated classes. - - * tao/corba.h: - More include reordering. - - * tao/servant_base.h: - The operation table was not properly initialized. - - Mon Jan 19 11:28:47 1998 Carlos O'Ryan - - * Merged changes from main_to_poa_merge_9 up to - main_to_poa_merge_10. - - Sun Jan 18 01:04:22 1998 - - * TAO_IDL/be/be_attribute.cpp: - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be_include/be_interface.h: - * tao/servant_base.h: - Added support for collocation in the _narrow method, this - required a complete implementation of _downcast() for each - skeleton. - - Sat Jan 17 20:54:26 1998 - - * TAO_IDL/be/be_attribute.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_visitor_sequence.cpp: - More bug fixes in code generation for sequences, attributes, - etc. Most of them were minor inconsitencies. Also fixed - constructors for collocated classes on NT (working around MSVC++ - bug). - - * tao/servant_base.cpp: - * tao/servant_base.h: - Added default implementation for _downcast(), it just works if - downcasting to "Object". - - * tao/sequence_T.cpp: - * tao/sequence_T.h: - * tao/sequence_T.i: - Fixed some problems with managed sequences. - - Sat Jan 17 19:27:12 1998 - - * tao/servant_base.h: - * tao/servant_base.cpp: - Added the new _is_a() method on TAO_ServantBase. - - * TAO_IDL/tao_idl.dsp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_string.cpp: - * TAO_IDL/be/be_visitor_args.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_visitor_sequence.cpp: - * TAO_IDL/be_include/be_visitor.h: - * TAO_IDL/be_include/be_visitor_args.h: - * TAO_IDL/be_include/be_visitor_interface.h: - Added a new _is_a to the generated servants, also implemented - the _is_a method on the collocated classes by invoking that - _is_a(). - Added support for attributes in collocated classes, thanks to - Irfan for noticing this. - - Sat Jan 17 15:44:43 1998 - - * tao/corba.h: - * tao/iiopobj.cpp: - Fixed undetected inconsistencies in the last merge. - - * tao/objkeyC.cpp: - * tao/objkeyC.h: - * tao/objkeyC.i: - I regenrated from the IDL file to use the new sequences. - - Sat Jan 17 11:49:15 1998 - - * Merged changes from main_to_poa_merge_8 to main_to_poa_merge_9. - - Sat Jan 17 00:45:59 1998 Irfan Pyarali - - * tests/POA: Added new tests: Explicit_Activation_POA_Ids and - NewPOA. - - * tao/servant_base.h (TAO_ServantBase): Added a _downcast method - that gets the servant with the correct vtable. Also added a new - class TAO_Local_ServantBase that overwrites _create_stub. - TAO_Local_ServantBase::_create_stub uses a fake key and does not - registration with the default POA. - - * tao/poaS.*: Added _downcast to the generated code. Also added - attribute accessor methods. Also updated constructors to - explicitly initialize the virtual base class (CORBA::Object). - - * tao/poaC.h: Added TAO_Local_ServantBase to the PortableServer - namespace as PortableServer::LocalServantBase. - - * tao/poaC.cpp (_narrow): Changed the implementation of _narrow to - produce a collocated class when appropriate. - - * tao/poa.cpp (TAO_POA::create_*_policy): Made sure these methods - return collocated classes and not implementation classes. - - * tao/poa.h (class TAO_POA_Policies): Added set methods to - TAO_POA_Policies. - - * tao/orbobj.cpp (resolve_poa): Made sure that the RootPOA is - created with the PortableServer::IMPLICIT_ACTIVATION policy. - - * tao/object: Added servant pointer and a collocated flag to - object class. - - Fri Jan 16 03:27:30 1998 Irfan Pyarali - - * tao: - - BOA begone: CORBA::POA and all BOA related code has been - removed from TAO. - - POA: Today the PortableServer and the POA were born in TAO. - - * tao/connect (handle_request): Changed handle_request to accept - the TAO_GIOP_RequestHeader parameter by reference rather than by - value. - - * tao/corba.h: Rearranged header to accommodate the new POA. - - * tao/corbacom.h (CORBA): Added typedefs for Object_var Object_out - in the CORBA class. - - * tao/current: Absorbed all the POACurrent code into the poa.* - files. - - * tao/iiopobj.cpp (operator==): Added comparison operator for - TAO::ObjectKey. - - * tao/orbobj.cpp (resolve_poa_current and resolve_poa): Made sure - that we return the colocated class and not the implementation - class. - - * tao/orbobj.h (objref.): POA_init was deprecated. Please use - orb->resolve_initial_references ("RootPOA") instead. - - * tao/objtable.cpp (find): Change the use of auto_ptr(s) to deal - correctly with explicit constructors. - - Thu Jan 15 17:27:26 1998 Chris Cleeland - - * tao/orb_core.{h,i}: Added the poa_current() method and internal - structure so that state is available to the POA and to the upcall. - - * tao/orbobj.{h,cpp}: Added resolve_poa_current() in order to - return the POACurrent state context. Added the "POACurrent" to - one of the things for which resolve_initial_references() works. - Changed resolve_poa() so that things can compile; the impl isn't - correct but when the POA stuff gets committed, this will be - changed accordingly. - - Tue Jan 13 12:15:54 1998 Carlos O'Ryan - - * TAO_IDL/be_include/be_operation.h: - * TAO_IDL/be/be_operation.cpp: - * TAO_IDL/be/be_state_operation.cpp: - The stubs and skeletons for operations that have a "native" - argument or return value simply "throw" a CORBA::MARSHAL - exception; those methods cannot be called for remote objects. - I also had to return something when an exception is raised and - the return type is a "native", we choose to return 0 for lack of - a better choice. - - Tue Jan 13 10:49:48 1998 Chris Cleeland - - * tao/current.{i,cpp}: Added a first cut at implementations for - the POA Current impl. - - Mon Jan 12 19:47:42 1998 Carlos O'Ryan - - * tao/poa.h: - * tao/poa.cpp: - Added a _get_stub() method that encapsulates code common to all - _this implementations. - - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - The _this() method implementation was changed to use the new - _get_stub finally adding full support for the standard poa, some - changes were required in the _tao_collocated classes and their - constructors. - - * TAO_IDL/be_include/be_helper.h: - * TAO_IDL/be/be_helper.cpp: - Added "manipulators" to increase and decrement indentation - level. - - Mon Jan 12 14:55:53 1998 Chris Cleeland - - * tao/current.h (class TAO_POA_Current_Impl): Added this as the - beginning of the implementation for the POA Current. More to - come... - - * tao/default_server.*: Added implementations of create_poa_lock() - and create_poa_mgr_lock() to obtain their values from -ORBpoalock - and -ORBpoamgrlock options, respectively, to the Default Server - Strategy Factory specified in svc.conf. Values for these are - either "thread" or "null", which specify an ACE_Thread_Mutex or - ACE_NULL_Mutex, respectively. - - * tao/server_factory.*: Added create_poa_lock() and - create_poa_mgr_lock() to obtain locks for use in POA and POA - Manager instances. - - Mon Jan 12 12:10:58 1998 Carlos O'Ryan - - * tao/objtable.cpp: - Fixed some problems with misused auto_ptr and dynamic cast that - was taking away constness at the same time. - - Mon Jan 12 11:55:53 1998 Chris Cleeland - - * tao/orbobj.cpp (resolve_poa): Added skeletal code to create root - POAs using the resolve_initial_references() interface. Irfan will - fill in the correct code for actually creating the POA. - - Sun Jan 11 14:09:48 1998 - - * orbsvcs/Dump_Schedule/Dump_Schedule.dsp: - * orbsvcs/Event_Service/CORBA_Utils_T.cpp: - * orbsvcs/Event_Service/Dispatching_Modules.cpp: - * orbsvcs/Event_Service/Event_Channel.cpp: - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Adapted so they compile with the new POA mapping. - - Sun Jan 11 11:33:36 1998 - - * tao/connect.cpp: - On this branch the find() method for POA's require a - PortableServer::Servant parameter. - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp: - * orbsvcs/Naming_Service/Naming_Service.cpp: - * orbsvcs/Naming_Service/CosNaming_i.cpp: - Modified to use the new POA mapping for servers. - - * TAO_IDL/tao_idl.dsp: - Replaced the old drv_main.cpp with tao_idl.cpp. - - * orbsvcs/orbsvcs/orbsvcs_lib.dsp: - The final library is not generated inside Debug and its name is - orbsvcs.lib, not orbsvcs_lib.lib - - Sun Jan 11 10:55:04 CST 1998 Carlos O'Ryan - - * Merged changes from tag main_to_poa_merge_5 and - main_to_poa_merge_6. This late merge is risky, needs complete - validation before public release. - - Sat Jan 10 22:11:47 1998 - - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - Work around bug in MSVC++ 5.0 wrt inheritance from nested - classes and the constructor invocation. - - Sat Jan 10 19:21:18 1998 - - * TAO_IDL/tao_idl.dsp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be_include/be_interface.h: - * tao/orb_core.cpp: - Fixed some problems in the latest merges. - - Sat Jan 10 18:06:24 1998 - - * Merged changes from tag main_to_poa_merge_7 and - main_to_poa_merge_8. - Resolved many conflicts in TAO_IDL due to similar changes in - both branches. - - Sat Jan 10 16:57:42 1998 - - * Merged changes from tag main_to_poa_merge_6 and - main_to_poa_merge_7. - - Fri Jan 9 17:58:43 1998 Carlos O'Ryan - - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_decl.cpp: - * TAO_IDL/be/be_enum.cpp: - * TAO_IDL/be/be_enum_val.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_expression.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_interface_fwd.cpp: - * TAO_IDL/be/be_module.cpp: - * TAO_IDL/be/be_predefined_type.cpp: - * TAO_IDL/be/be_root.cpp: - * TAO_IDL/be/be_scope.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_string.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_type.cpp: - * TAO_IDL/be/be_typedef.cpp: - Minor cosmetic changes to make the main trunk changes identic to - the ones on this branch. - - Thu Jan 8 15:50:59 1998 Carlos O'Ryan - - * TAO_IDL/be/be_state_operation.cpp: - Added support for native as return type. - - Thu Jan 8 13:20:11 1998 Carlos O'Ryan - - * TAO_IDL/ast/Makefile: - * TAO_IDL/be/Makefile: - Added ast_native and be_native to the list of files. - - * TAO_IDL/be_include/be_native.h: - * TAO_IDL/be/be_native.cpp: - * TAO_IDL/be_include/be_visitor.h: - * TAO_IDL/be/be_visitor.cpp: - Added support for visiting be_native. - - * TAO_IDL/be_include/be_visitor_args.h: - * TAO_IDL/be/be_visitor_args.cpp: - Added support for native and improved the implementation. - - * TAO_IDL/fe/y.tab.cpp: - Removed some includes and pragmas that cause trouble on NT. - - * TAO_IDL/be/be_type.cpp: - Print an error if the default implementation for write_as_return - is called. - - Thu Jan 8 12:53:28 1998 Chris Cleeland - - * tao/corbacom.i (wstring_dup): Added this, which simply calls - wstring_copy(). Of course, I can't find any mention of EITHER of - these functions in the 2.0 or 2.1 spec, but what good are wstrings - if you can't make copies? Plus, Irfan really wanted it. - - Wed Jan 7 15:09:47 1998 Carlos O'Ryan - - * TAO_IDL/fe/y.tab.cpp: - This is the actual file generated from idl.yy, thanks to the - "clone" scheme for building ACE it was lost in the previous - commits. - - Wed Jan 7 14:17:14 1998 Chris Cleeland - - * tao/orbobj.{h,cpp} (key_to_object): Changed signature so that - it's more in line with what we really need. This is okay because - this method is not in the standard, so we can choose whatever we - damn well please! - - Wed Jan 7 14:08:41 1998 Carlos O'Ryan - - * Merged changes from version main_to_poa_merge_4 and - main_to_poa_merge_5. - - Tue Jan 6 17:35:44 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface.cpp: - Added several fixes for mutiple inheritance, but still needs - some work. - - Tue Jan 6 15:20:13 1998 Carlos O'Ryan - - * tao/object.h: - * tao/object.cpp: - Removed obsolete methods, they were there to support upcalls on - the server side, but now this is done on - PortableServer::ServantBase. - - Tue Jan 6 14:46:27 1998 Carlos O'Ryan - - * tao/poa.h: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - Added a _get_servant () method to the collocated classes, to - obtain access to the underlying skeleton. - - Tue Jan 6 13:31:20 1998 Carlos O'Ryan - - * tao/objtable.h: - * tao/objtable.cpp: - Fixed some problems with the PortableServer::ObjectId and - PortableServer::Servant changes. - - * tao/poa.h: - * TAO_IDL/be/be_interface.cpp: - Added a method to get the interface repository name for a - skeleton. - - * tao/encode.cpp: - Fixed problem on object reference enconding. - - Mon Jan 05 23:41:59 1998 - - * tao/objkeyC.cpp: - The code for memory reallocation was missing, I added it back. - - * tao/iiopobj.cpp: - Fixed bug in object key generation. - - * tao/poa.cpp: - More debug messages when an object is missing. - - Mon Jan 05 17:46:00 1998 - - * tao/connect.cpp: - * tao/corba.h: - * tao/corbacom.h: - * tao/default_server.cpp: - * tao/default_server.h: - * tao/iiopobj.cpp: - * tao/iiopobj.i: - * tao/iioporb.cpp: - * tao/orbobj.cpp: - * tao/params.h: - * tao/params.i: - * tao/poa.cpp: - * tao/poa.h: - * tao/server_factory.cpp: - * tao/server_factory.h: - The ObjectId changes were "accepted for revision" by the POA - committe, hence I'll commit them, they check them and then I'll - have to make the changes they require ;-) - The current scheme uses TAO::ObjectKey as a representation for - sequence, this class is generated by the IDL compiler. - The ORB core uses a typedef (TAO_opaque) for all its internal - object keys; the current (and deprecated) POA uses ObjectId - (another typedef on the same thing) as object identifiers. - - Mon Jan 5 13:06:19 1998 Carlos O'Ryan - - * Merged changes from revision main_to_poa_merge_3 up to revision - main_to_poa_merge_4. - - Mon Jan 05 00:11:45 1998 - - * tao/objtable.h: - * tao/objtable.cpp: - New Object Table interface, in preparation for the POA needs. - - Sat Jan 03 11:37:21 1998 - - * TAO_IDL/be/be_visitor_args.cpp: - Typedefs and predefined types where unproperly handled. - - Fri Jan 2 14:09:49 1998 Carlos O'Ryan - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: - Sequences work on Solaris, even Purify gives its "Houston it's a - go", so I'm reinstating them. - - * tests/Cubit/TAO/IDL_Cubit/svr.cpp: - Minor cosmetic changes. - - Fri Jan 02 08:31:32 1998 - - * Merged changes from revision main_to_poa_merge_2 up to revision - main_to_poa_merge_3. - Had to disable sequence test from IDL_Cubit. - - Thu Jan 01 15:43:43 1998 - - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - Generated code for collocations setup the "parent_" field - properly. - - * tao/objkeyC.h: - * tao/corbacom.h: - Added export macros. - - * tao/objtable.cpp: - * tao/objtable.h: - * tao/poa.cpp: - * tao/poa.h: - Object table is based on servants now. - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/IDL_Cubit/server.dsp: - * tests/Cubit/TAO/IDL_Cubit/svr.cpp: - Fixed to use the new POA mapping. - - * TAO_IDL/tao_idl.dsp: - * tao/TAO.dsp: - Added the new files to the MSVC++ project. - - Tue Dec 30 16:38:42 1997 Carlos O'Ryan - - * More advances in code generation, it compiles and links now, but - won't run. - - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_enum.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_interface_fwd.cpp: - * TAO_IDL/be/be_predefined_type.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_string.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_type.cpp: - * TAO_IDL/be/be_typedef.cpp: - * TAO_IDL/be/be_union.cpp: - * TAO_IDL/be/be_visitor_args.cpp: - * TAO_IDL/be_include/be_array.h: - * TAO_IDL/be_include/be_enum.h: - * TAO_IDL/be_include/be_exception.h: - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be_include/be_interface_fwd.h: - * TAO_IDL/be_include/be_predefined_type.h: - * TAO_IDL/be_include/be_sequence.h: - * TAO_IDL/be_include/be_string.h: - * TAO_IDL/be_include/be_structure.h: - * TAO_IDL/be_include/be_type.h: - * TAO_IDL/be_include/be_typedef.h: - * TAO_IDL/be_include/be_union.h: - Added methods to be_type to generate the return types; this - time without any switches, just visitors and virtual - dispatching. - - * tao/poa.cpp: - * tao/poa.h: - Added the methods to lookup operations, this are TAO specific - and should have complaint names, but currently I just kept the - old names to avoid a major breakdown. - - * TAO_IDL/ast/Makefile: - * TAO_IDL/be/Makefile: - * TAO_IDL/driver/Makefile: - * TAO_IDL/fe/Makefile: - * TAO_IDL/narrow/Makefile: - * TAO_IDL/util/Makefile: - Updated dependencies. - - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be_include/be_visitor_interface.h: - * TAO_IDL/be/be_interface.cpp: - Reverted some changes (code moved from be_interface.cpp into - visitors) to avoid massive conflicts with Andy's changes. - - Tue Dec 30 11:07:06 1997 Chris Cleeland - - * tao/orb_core.h (TAO_Resource_Factory): Corrected my "fat-finger" - mistake for the return type of get_allocator (). - - Mon Dec 29 16:26:24 1997 Chris Cleeland - - * tao/orb_core.{h,cpp}: Added methods for the orb core allocator - to the resource factory. - - Mon Dec 29 13:18:49 1997 Carlos O'Ryan - - * TAO_IDL/be/Makefile: - * TAO_IDL/be/be_visitor.cpp: - * TAO_IDL/be/be_visitor_args.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be_include/be_visitor.h: - * TAO_IDL/be_include/be_visitor_args.h: - * TAO_IDL/be_include/be_visitor_interface.h: - Started implementation of the collocated class code generation, - using the visitor pattern; hence the new be_visitor class and - some examples of its use. - - * TAO_IDL/be_include/be_type.h: - * TAO_IDL/be_include/be_typedef.h: - * TAO_IDL/be/be_type.cpp: - * TAO_IDL/be/be_typedef.cpp: - Added method to obtain the node type for the most "unaliased" - type though a typedef chain. This is needed in several points - for code generation. - - * TAO_IDL/be/be_interface.cpp: - Implemented the collocated class generation using visitors, - ditto for (part of) the main class. - - * TAO_IDL/util/utl_identifier.cpp: - Fixed memory deallocation problem. The string was copied using - ACE_OS::strdup(), but deleted using operator delete[]. - - * TAO_IDL/be/be_argument.cpp: - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_attribute.cpp: - * TAO_IDL/be/be_constant.cpp: - * TAO_IDL/be/be_decl.cpp: - * TAO_IDL/be/be_enum.cpp: - * TAO_IDL/be/be_enum_val.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_expression.cpp: - * TAO_IDL/be/be_field.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_interface_fwd.cpp: - * TAO_IDL/be/be_module.cpp: - * TAO_IDL/be/be_operation.cpp: - * TAO_IDL/be/be_predefined_type.cpp: - * TAO_IDL/be/be_root.cpp: - * TAO_IDL/be/be_scope.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_string.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_type.cpp: - * TAO_IDL/be/be_typedef.cpp: - * TAO_IDL/be/be_union.cpp: - * TAO_IDL/be/be_union_branch.cpp: - * TAO_IDL/be/be_union_label.cpp: - * TAO_IDL/be_include/be.h: - * TAO_IDL/be_include/be_argument.h: - * TAO_IDL/be_include/be_array.h: - * TAO_IDL/be_include/be_attribute.h: - * TAO_IDL/be_include/be_constant.h: - * TAO_IDL/be_include/be_decl.h: - * TAO_IDL/be_include/be_enum.h: - * TAO_IDL/be_include/be_enum_val.h: - * TAO_IDL/be_include/be_exception.h: - * TAO_IDL/be_include/be_expression.h: - * TAO_IDL/be_include/be_field.h: - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be_include/be_interface_fwd.h: - * TAO_IDL/be_include/be_module.h: - * TAO_IDL/be_include/be_operation.h: - * TAO_IDL/be_include/be_predefined_type.h: - * TAO_IDL/be_include/be_root.h: - * TAO_IDL/be_include/be_scope.h: - * TAO_IDL/be_include/be_sequence.h: - * TAO_IDL/be_include/be_string.h: - * TAO_IDL/be_include/be_structure.h: - * TAO_IDL/be_include/be_type.h: - * TAO_IDL/be_include/be_typedef.h: - * TAO_IDL/be_include/be_union.h: - * TAO_IDL/be_include/be_union_branch.h: - * TAO_IDL/be_include/be_union_label.h: - Added the accept() method for the vistor pattern - implementation. - - Mon Dec 29 11:37:47 1997 Chris Cleeland - - * tests/Cubit/TAO/MT_Cubit/server/Makefile: Updated dependencies. - - Fri Dec 26 12:05:41 1997 Chris Cleeland - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: Correctly modified the - make_cubit() method to properly access the underlying object key. - - * tao/objkeyC.cpp: Added this crucial file that I somehow missed - adding in the last round of changes. - - Wed Dec 24 15:50:38 1997 Chris Cleeland - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: Removed non-standard - reliance on underlying object key implementation. It relied on - the buffer being publicly-accessible, which is wrong. However, - I'm not sure that my interim fix is very "right" since it takes - the address of operator[](0) to get to the underlying entire - buffer. - - * tests/Cubit/TAO/{IDL_Cubit,MT_Cubit/{server,client}}/Makefile: - Updated to use rules.tao.GNU. - - * tests/Thruput_test/Makefile: Updated to use rules.tao.GNU. - - * tao/orb.h: Removed unnecessary inclusions of object.h and - corbacom.h from this file. - - * tao/objkeyC.{h,cpp}: Moved the inclusion of corba.h from the - header to the implementation because of strange requirements of - the orb core. This means that this file CANNOT be used as - generated by the IDL compiler. - - * tao/{orbobj,stub,object,iiopobj}.cpp: Updated to use the proper - TAO::ObjectKey_ptr type. - - * tao/Makefile: Updated this after the recent merge that - accidentally overrote some changes I'd made. - - * taoconfig.mk: Moved the implicit rule into rules.tao.GNU. - - * rules.tao.GNU: Added this file where rules specific to TAO can - be collected. Right now it just contains an implicit rule for - executing the IDL compiler on .idl files. - - Tue Dec 23 12:00:38 1997 Carlos O'Ryan - - * TAO-INSTALL.html: - * VERSION: - * Benchmark/benchmark/Makefile: - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_attribute.cpp: - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/be/be_decl.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_operation.cpp: - * TAO_IDL/be/be_scope.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_state.cpp: - * TAO_IDL/be/be_state_argument.cpp: - * TAO_IDL/be/be_state_exception.cpp: - * TAO_IDL/be/be_state_operation.cpp: - * TAO_IDL/be/be_state_sequence.cpp: - * TAO_IDL/be/be_state_structure.cpp: - * TAO_IDL/be/be_state_typedef.cpp: - * TAO_IDL/be/be_state_union.cpp: - * TAO_IDL/be/be_type.cpp: - * TAO_IDL/be/be_union.cpp: - * TAO_IDL/be/be_union_branch.cpp: - * TAO_IDL/be_include/be_array.h: - * TAO_IDL/be_include/be_codegen.h: - * TAO_IDL/be_include/be_decl.h: - * TAO_IDL/be_include/be_scope.h: - * TAO_IDL/be_include/be_sequence.h: - * TAO_IDL/be_include/be_state.h: - * TAO_IDL/narrow/narrow.cpp: - * docs/Options.html: - * docs/components.html: - * docs/configurations.html: - * docs/index.html: - * docs/orbsvcs.html: - * docs/releasenotes/index.html: - * orbsvcs/README: - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp: - * orbsvcs/Dump_Schedule/Makefile: - * orbsvcs/Event_Service/Dispatching_Modules.cpp: - * orbsvcs/Event_Service/Dispatching_Modules.i: - * orbsvcs/Event_Service/Event_Channel.cpp: - * orbsvcs/Event_Service/Event_Channel.i: - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/Event_Service/Makefile: - * orbsvcs/Event_Service/RT_Task.cpp: - * orbsvcs/Event_Service/ReactorTask.cpp: - * orbsvcs/Naming_Service/CosNaming_i.cpp: - * orbsvcs/Naming_Service/Makefile: - * orbsvcs/Scheduling_Service/Config_Scheduler.cpp: - * orbsvcs/Scheduling_Service/Config_Scheduler.h: - * orbsvcs/Scheduling_Service/Makefile: - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/RtecEventChannelAdmin.idl: - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * orbsvcs/orbsvcs/Runtime_Scheduler.h: - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * orbsvcs/tests/Event_Latency/Makefile: - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Logger/clnt.cpp: - * orbsvcs/tests/Simple_Naming/Makefile: - * tao/Makefile: - * tao/Timeprobe.cpp: - * tao/corba.h: - * tao/corbacom.cpp: - * tao/deep_free.cpp: - * tao/encode.cpp: - * tao/except.cpp: - * tao/except.h: - * tao/giop.cpp: - * tao/invoke.cpp: - * tao/managed_types.cpp: - * tao/managed_types.h: - * tao/managed_types.i: - * tao/object.i: - * tao/orb_core.cpp: - * tao/request.cpp: - * tao/tao_internals.cpp: - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: - * tests/Cubit/TAO/IDL_Cubit/clnt.h: - * tests/Cubit/TAO/MT_Cubit/client/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/client/Task_Client.h: - * tests/Cubit/TAO/MT_Cubit/client/client.cpp: - * tests/Cubit/TAO/MT_Cubit/client/cubit.idl: - * tests/Cubit/TAO/MT_Cubit/server/cubit.h: - * tests/Cubit/TAO/MT_Cubit/server/cubit.idl: - * tests/Cubit/TAO/MT_Cubit/server/cubit_i.cpp: - * tests/Cubit/TAO/MT_Cubit/server/cubit_i.h: - * tests/Cubit/TAO/MT_Cubit/server/method_db.i: - * tests/Cubit/TAO/MT_Cubit/server/svr.cpp: - Merged in the changes between revisions main_to_poa_merge_1 and - main_to_poa_merge_2. - The only conflicts were: - + ChangeLog: - removed all the main truck comments and added the one you are - reading just now. - + tests/Cubit/TAO/MT_Cubit/client/Makefile: - + tests/Cubit/TAO/MT_Cubit/client/Makefile: - Left the branch revision, it included the dependencies and had - correct syntax. - + tao/poa.cpp: - CORBA_POA::handle_request was removed on the - branch but modified on the main revision; keep it removed. - - Wed Dec 17 02:11:11 1997 Chris Cleeland - - * tao/poa.h: - * tao/poa.cpp: - * tao/orbobj.h: - * tao/orbobj.cpp: - * tao/objkeyC.i: - * tao/objkeyC.h: - * tao/object.h: - * tao/iiopobj.h: - * tao/iiopobj.cpp: - * tao/decode.cpp: - * tao/corbacom.h: - * tao/corba.h: - * tao/any.cpp: - All affected by changes to support interfaces required by the new - POA, specifically CORBA::Object::key() and - CORBA::ORB::key_to_object(). It does not compile now, and seems - as if it's simply an ordering problem of header files. - - Mon Dec 15 19:39:20 1997 Chris Cleeland - - * TAO_IDL/be/Makefile: - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_state.cpp: - * TAO_IDL/be/be_state_attribute.cpp: - * TAO_IDL/be/be_state_exception.cpp: - * TAO_IDL/be/be_union_branch.cpp: - * TAO_IDL/be_include/be_state.h: - * docs/releasenotes/orbcore.html: - * docs/releasenotes/index.html: - * orbsvcs/Naming_Service.cpp: - * tao/iiopobj.h: - * tao/except.h: - * tao/except.cpp: Merged in changes from the main trunk. - - * tests/Thruput_test/Makefile: Updated to use taoconfig.mk. - - Sat Dec 13 22:06:25 1997 Chris Cleeland - - * tao/poa.* (get_key): Removed this method, since it's - unnecessary. - - * tao/objkey.idl: Added this file, which is the idl for an object - key. - - * tao/iiopobj.*: Added some '@@' comments for Irfan. - - * tao/Makefile: Reworked this monstrositry a bit. - - Fri Dec 12 12:09:42 1997 Chris Cleeland - - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: Changed to use - CORBA::Object::key() rather than _get_name(). - - * tests/Cubit/TAO/{DII_Cubit,IDL_Cubit,MT_Cubit}/Makefile: Updated - to use taoconfig.mk. - - * tao/orb_core.i: Removed stray printf. - - * taoconfig.mk: Added this file which contains common - configuration stuff for applications. - - Thu Dec 11 21:28:09 1997 Chris Cleeland - - * tao/poa.{h,cpp}: Moved handle_request to - TAO_Server_Connection_Handler and moved create to - CORBA::ORB::key_to_object. - - * tao/orbobj.{h,cpp}: Added key_to_object as a method to create an - object reference from an object key and type id. This code - actually used to live in POA::create. - - * tao/object.h: Brief documentation twiddling, and renamed - get_subclass to get_most_derived, which is hopefully more - explicative. - - * tao/{object,iiopobj,stub}.{h,cpp}: Renamed _get_name to 'key' - and have it return a TAO_ObjectKey_ptr rather than a const char*. - - * tao/corbacom.h: Added typedef for TAO_ObjectKey, which - represents an object key in GIOP. - - * tao/connect.{h,cpp}: Moved handle_request from the POA into - here, thereby helping confine IIOP-ness to the ORB Core and - keeping the POA pristine. - - Thu Dec 11 22:18:52 1997 Aniruddha Gokhale - - * TAO_IDL/be/be_interface.cpp: Moved the code generation for the - _var and _out classes before the actual class declaration, but - after the forward declaration. This was necessary if any elements - in the scope of the interface are defined to be of the same type - as that interface. In such a situation those elements are defined - to be of the _var type. Hence the declaration for _var and _out - must precede the class declaration. - - Thu Dec 11 22:00:52 1997 Sergio Flores - - * orbsvcs/Naming_Service/Naming_Service.cpp (main): Fixed a bug - related to returning an empty string as the ior in the reply from - the multicast request. - - Thu Dec 11 14:06:50 1997 Aniruddha Gokhale - - * TAO_IDL/be/{be_exception,be_state_exception}.cpp: Support for - exceptions added. Added a new file called - "be_state_exception.cpp". - - * TAO_IDL/be_include/be_state.h: Added a new singleton for - be_state_exception. - - * TAO_IDL/be/be_state.cpp: Template instantiations for - be_state_exception. - - * TAO/docs/releasenotes/index.html: Updated to include exception - support. - - * TAO/tao/except.{h,cpp}: Moved the TypeCode member from the - private section to the protected section so that derived classes - can set it. Also, changed the variable from _type to type_ to - stick to the ACE design standards. - - * ============ - * ============ End of POA branch changes. - * ============ - -Fri Jan 23 10:29:17 1998 David L. Levine <@cs.wustl.edu> - - * tao/deep_free.cpp (TAO_Marshal_Sequence::deep_free): added - ACE_UNUSED_ARGs of dest and env. - - * TAO_IDL/fe/{Makefile,y.tab.cpp,y.tab.cpp.diff}: added patch to - fix up y.tab.cpp to compile cleanly with g++. - - * TAO_IDL/fe/{Makefile,lex.yy,cpp,lex.yy.cpp.diff}: added patch to - fix up lex.yy.cpp to compile cleanly with g++. - -Thu Jan 22 18:18:07 1998 Nanbor Wang - - * orbsvcs/Event_Service/GPlot_File.{h,cpp}: Shuffled template - instantiations and typedef's for ACE_Map_Manager around to - eliminate compilation errors from g++. - -Thu Jan 22 16:32:56 1998 Chris Cleeland - - * tao/nvlist.cpp (is_nil): Fixed some return lines that were - probably returning the wrong value by not enclosing a comparison - in parens. Fortunately we weren't really checking the return - value on these, I suspect ;-) Thanks to Frederic Andres - for turning this in. - -Thu Jan 22 16:16:32 1998 Sumedh Mungee - - * orbsvcs/orbsvcs/CosPropertyService_i.cpp, CosPropertyService_i.h, AVStreams_i.cpp, AVStreams_i.h: - Added empty implementation files for AVStreams and propertyservice implementations - - * orbsvcs/orbsvcs/Makefile: - Fixed the Makefile so that it will compile the AV related stuff - only when run as `make av=1`. - -Thu Jan 22 14:22:46 1998 Nanbor Wang - - * orbsvcs_lib.dsp: Changed to use multithreaded libraries. - -Thu Jan 22 14:20:13 1998 Nanbor Wang - - * tests/Param_Test/{server,client}.dsp: The project files - somehow got messed up. - - * orbsvcs/orbsvcs_lib.dsp: Changed to use multithreaded - libraries. - - * orbsvcs/Scheduling_Service/Scheduling_Service.dsp: Removed - unnecessary link-time libraries. - - * orbsvcs/Dump_Schedule/Dump_Schedule.dsp: Changed to use - multithreaded libraries. - -Wed Jan 21 20:49:51 1998 Chris Cleeland - - * TAO version 0.0.54, released Wed Jan 21 20:49:51 1998. - -Wed Jan 21 19:38:02 1998 Aniruddha Gokhale - - * tao/encode.cpp, decode.cpp: Fixed alignment problem. Done only - in Marshal_Struct for the time being. Details of this fix will be - inserted later. - -Wed Jan 21 16:27:58 1998 Chris Cleeland - - * Makefile: Updated this to use the new release.pl file below. - - * release.pl: Added new script to take over some of the release - work rather than having it all inline in the Makefile. - - * tests/Cubit/TAO/MT_Cubit/README: Changed docs to reflect the new - names and command line requirements. - -Wed Jan 21 15:38:52 1998 Carlos O'Ryan - - * orbsvcs/Event_Service/Makefile: - Removed GPlot_File from the list, it does not compile on - Solaris/g++, but it is not needed. - -Wed Jan 21 11:48:19 1998 Aniruddha Gokhale - - * tao/encode.cpp: Updated the ObjRef::encode routine to encode NUL - object references - - * tests/Param_Test: Further improvements. - - * TAO_IDL/be/{be_state_attribute, be_attribute}.cpp: Solved the - problem of return types. The stubs explicitly allocate the top - level storage. A similar fix was made for "operations" mentioned - in a previous ChangeLof entry. - -Wed Jan 21 12:23:29 1998 Carlos O'Ryan - - * tests/Cubit/TAO/MT_Cubit/Makefile: - Fixed typo in object list for server and client. - -Wed Jan 21 11:25:36 1998 Carlos O'Ryan - - * tests/Param_Test/tmplinst.cpp: - Removed extra ';' in instantiation pragma. - -Wed Jan 21 11:13:56 1998 Carlos O'Ryan - - * tests/Cubit/TAO/MT_Cubit/Makefile: - * tests/Cubit/TAO/MT_Cubit/tmplinst.cpp: - * tao/giop.cpp: - Added missing template instantiations. - - * tao/sequence_T.h: - * tao/sequence_T.i: - No need to return const reference to pointer, a simple return - by value (of the pointer) is OK. - -Wed Jan 21 10:38:22 1998 Chris Cleeland - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Added template instantiation - for Env_Value. - - * tests/{Thruput/TAO,Param_Test,Cubit/TAO/IDL_Cubit}/Makefile: - Added the appropriate tmplinst.* so that it gets built/linked. - - * tests/{Thruput/TAO,Param_Test,Cubit/TAO/IDL_Cubit}/tmplinst.cpp: - Added this file, which contains explicit template instantiations - for code generated by the IDL compiler. Ideally, this file (or - something like it) would be generated by the compiler, but we're - just not there yet. So, since it's not TOO much work, we do this. - -Wed Jan 21 09:40:27 1998 Carlos O'Ryan - - * tao/sequence.cpp: - * tao/sequence_T.cpp: - Fixed allocation problem for operator= in sequences, the new - buffer should have size "rhs.maximum_", not "this->maximum_" - -Wed Jan 21 04:43:57 1998 Aniruddha Gokhale - - * tao/corbacom.h: Added Object_var and ORB_var to the CORBA class - (i.e., to the namespace) - - * tao/sequence.cpp: Operator= for string sequence still had bugs - where we were not allocating a larger buffer of the assigned - quantity was larger than us. Similar bugs *might* be present in - other sequence classes and I have not tested them yet. - -Wed Jan 21 01:34:07 1998 Nanbor Wang - - * tests/Cubit/TAO/MT_Cubit/{server,client}.cpp: Ifdef'ed out - ACE_THR_PRIO_FIFO_DEF if it's not defined. - - * orbsvcs/Naming_Service/Naming_Service.cpp: We should use - "ace/streams.h" to include iostream definition instead of using - directly. It is not compatible with the new - standard CPP libraries. - - * orbsvcs/Event_Service/Event_Service.dsp: - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/Scheduling_Service/Scheduling_Service.dsp: It used the - wrong libraries. - -Tue Jan 20 22:59:42 1998 Chris Cleeland - - * tao/sequence_T.cpp: Fixed more typos where it was referring to - the argument as 'seq' rather than the real name 'rhs'. - -Tue Jan 20 22:38:10 1998 - - * tests/Param_Test/tests.cpp: - No need to call CORBA::string_free() on opname_, since it is a - String_var - - * tao/sequence_T.cpp: - Fixed typo in object sequences. - -Tue Jan 20 21:53:52 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/TAO_IDL_templates.cpp: - Added missing template instantiations, they go into their own - file because I could not think of a "natural" place to put them. - -Tue Jan 20 20:25:41 1998 Carlos O'Ryan - - * tao/sequence.h: - * tao/sequence.i: - * tao/sequence.cpp: - * tao/sequence_T.i: - * tao/sequence_T.cpp: - Another round of changes, this time fixing several bugs reported - by Andy and Irfan. - -Tue Jan 20 20:23:57 1998 Carlos O'Ryan - - * tao/nvlist.h: - * tao/nvlist.i: - Fixed warnings for IRIX and follow the spec, use const methods - but return non-const types! - -Tue Jan 20 17:00:15 1998 Chris Cleeland - - * tao/strategy_T.h: Added this file to contain template strategies - such as TAO_Reactive_Strategy<>. - - * tao/default_server.*: Moved TAO_Reactive_Strategy<> into its own - set of files. Thanks to Bryan Mendel - for suggesting this fix! - - * tao/sequence_T.cpp (operator =): Corrected a problem where T** - was being assigned to T*. - - * tao/orb_core.cpp (init): Moved setting of stuff in orb_params() - to be post-service initialization. It needs to be this way - because the ORB Parameters are now regulated by the resource - factory settings, and that gets created during service - initialization. - - * tao/giop.cpp: Changed the TAO_GIOP_LocateRequestHeader::init to - be more efficient and not generate warnings on Irix. - - * tao/{giop,connect}.cpp: Update code that touches ORB-internal - sequences to use the API of TAO_Unbounded_Sequence<> rather than - the old crufty code. - - * tao/giop.h: Change ORB-internal sequences (such as the - ServiceContextList) to use the new TAO_Unbounded_Sequence<> - template rather than the deprecated CORBA_SEQUENCE<> hack. - -Tue Jan 20 09:18:31 1998 Aniruddha Gokhale - - * TAO/tao/interp.cpp: Used TAO_opaque to set the size of any - generic sequence. - - * TAO_IDL/be/{be_operation,be_state_operation}.cpp: For return - value of sequences, the stub now allocates the top level storage - for the sequence class. - -Tue Jan 20 05:34:16 1998 Aniruddha Gokhale - - * TAO/tao/sequence.cpp: In the assignment operator for Unbounded - string sequences, we had forgotten to update the max and length - fields to that of the assigned sequence in the event of it being - larger than ourselves. We had also forgottent o set our release - flag to true as well as free the old buffer (if already our - release flag was true). I have not checked if there are similar - bugs in other "=" operators or not. But these will be evident as - more tests are added to the Param_Test example. - -Mon Jan 19 23:35:45 1998 - - * tao/sequence_T.h: - * tao/sequence_T.i: - * tao/sequence_T.cpp: - Finished suit of parametric classes for sequences, including - bounded sequences of objects and strings. - Fixed some more bugs in the Manager classes for sequences of - objects. - -Mon Jan 19 17:33:45 1998 Chris Cleeland - - * orbsvcs/tests/Simple_Naming/clnt.cpp (init): Changed the marker - name for the naming service to "NameService" and fixed a bunch of - places in init() where "1" was being returned instead of "-1". - - * tests/Cubit/TAO/IDL_Cubit/README: Fixed portion that talks about - the IOR to use the correct default IOR. Thanks to J Russell - Noseworthy for catching - this and submitting fixes! - -Mon Jan 19 15:41:53 1998 Nanbor Wang - - * tests/Cubit/TAO/MT_Cubit/server.cpp (create_servants): Added a - final return statement to avoid warnings. - (ACE_THR_PRI_FIFO_DEF): This macro is not defined on NT. I - ifdef'ed the priority setting statement out temporarily until we - figure out a way to map NT's thread priority values to pthread's - priority values. - - * tests/Cubit/TAO/MT_Cubit/server.dsp: Updated project file. - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp (Cubit_Client): Changed the - data type of to CORBA::UShort. - - * tests/Param_Test/options.{h,cpp} (portnum): Changed it to type - CORBA::UShort. - - * tests/Param_Test/helper.cpp (gen_fixed_struct): Added - parenthesis to avoid warnings. - - * tao/sequence.h (TAO_Unbounded_String_Sequence): Added TAO_Export - to class TAO_Unbounded_String_Sequence. - -Mon Jan 19 11:24:43 1998 Carlos O'Ryan - - * tao/sequence_T.i: - g++ does not like nested types in templates. - - * docs/releasenotes/index.html: - Updated docs on services. - -Sun Jan 18 21:33:21 1998 - - * tao/sequence.h: - * tao/sequence.i: - * tao/sequence.cpp: - * tao/sequence_T.h: - * tao/sequence_T.i: - * tao/sequence_T.cpp: - Added new class for sequences of strings, the approach based on - templates was not worth it. - Also fixed a number of bugs in the unbounded object sequences. - The following items are in the TODO list: - + Bounded sequences of objects - + Bounded sequences of strings. - - * TAO_IDL/be_include/be_helper.h: - * TAO_IDL/be/be_helper.cpp: - Addded small manipulators to indent and unindent an output - stream. - - * TAO_IDL/be/be_visitor_sequence.cpp: - Synch up with new classes for string and objects. - - * tests/Param_Test/tests.cpp: - Fixed some problems with the test for sequences of variable - sized structures. - - * orbsvcs/Event_Service/CORBA_Utils_T.cpp: - Fixed unsigned/signed comparison. - -Sun Jan 18 18:30:16 1998 Nanbor Wang - - * TAO/tests/Cubit/TAO/MT_Cubit/*.{dsp.MAK}: - * TAO/tests/Param_Test/*.{dsp,MAK}: Played with exported - makefiles some more. It's ultimately funny that when a project - file has some customed build commands in it, the exported - makefile sometime won't work correctly. - -Sat Jan 17 23:41:33 1998 Nanbor Wang - - * Added more MSVC makefiles in some test directories. - - * tests/Param_Test/{client,server}.dsp: Correct idl generated - files' dependency. - -Sat Jan 17 22:40:29 1998 Aniruddha Gokhale - - * TAO/tao/orbobj.{h,i}: Added _var and _out for CORBA_ORB - -Sat Jan 17 21:28:05 1998 - - * tao/corba.h: - * tao/corbacom.h: - Moved the definition of TAO_opaque from corbacom.h to corba.h so - it appears after the "sequence.h" file. - - * tao/sequence.h: - * tao/sequence.cpp: - Reorder includes to avoid "inline called before declared so" - warning in g++. - - * tests/Cubit/TAO/MT_Cubit/server.cpp: - The OA uses TAO_opaque instead of CORBA::OctetSeq. - -Sat Jan 17 16:07:51 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_args.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be_include/be_visitor_args.h: - * TAO_IDL/be_include/be_visitor_interface.h: - New visitors to generate collocated classes (only used on the - POA branch) and the arguments declaration. - -Fri Jan 16 23:38:38 1998 - - * tao/decode.cpp: - * tao/deep_free.cpp: - * tao/giop.h: - * tao/iiopobj.cpp: - * tao/sequence.h: - * tao/sequence_T.h: - * tao/sequence_T.cpp: - Fixed some memory *deallocation* problems with sequences, they - needed a _deallocate_buffer() method, not to implement the base - class destructor, but to implement deep_free. - -Fri Jan 16 18:01:03 1998 Carlos O'Ryan - - * The Event Service works on Solaris/SunCC again. - - * tao/poa.h: - * tao/poa.cpp: - * tao/objtable.h: - * tao/objtable.cpp: - * tao/connect.cpp: - The object table, and POA use a real TAO_Unbounded_Sequence, - removing some nasty casts. - - * tao/sequence_T.i: - * tao/sequence_T.cpp: - Fixed some memory allocation problems in operator= - - * TAO_IDL/be/be_interface.cpp: - No need to cast the object key when calling POA::bind(), it - takes a TAO_opaque now. - -Thu Jan 15 17:15:29 1998 Carlos O'Ryan - - * TAO/TAO_IDL/be/be_interface.cpp: - * TAO/tao/connect.cpp: - * TAO/tao/corba.h: - * TAO/tao/corbacom.cpp: - * TAO/tao/corbacom.h: - * TAO/tao/decode.cpp: - * TAO/tao/encode.cpp: - * TAO/tao/iiopobj.cpp: - * TAO/tao/iiopobj.i: - * TAO/tao/iioporb.cpp: - * TAO/tao/poa.cpp: - Now TAO_opaque is implemented using the new TAO_*_Sequence - classes, this is needed because the demarshaller expects that - class. There are some other sequences in the ORB core that - need the same change, but currently that is not so urgent. - The object table expects a CORBA_SEQUENCE so some casting is - still done among those classes and the new templates. The POS - branch already solved this, so I will wait until the merge to - fix it. - - * TAO/tao/sequence_T.h: - * TAO/tao/sequence_T.i: - * TAO/tao/sequence_T.cpp: - Now we include sequence_T.i in sequence_T.h, this is needed for - template instantiation. - The ACE_ASSERT for indices was comparing to the value of - length_, it must compare with maximum_, it is possible that the - user creates the sequence with enough space (thus maximum_ is - properly set, but length_ is 0), then inserts some data and - finally sets the length, with the previous asserts that would - fail. - - * TAO/tao/Makefile: - * TAO/TAO_IDL/*/Makefile: - * TAO/orbsvcs/*/Makefile: - * TAO/tests/Cubit/TAO/*/Makefile: - Dependencies regenerated. - -Wed Jan 14 23:10:13 1998 - - * sequence.h: - * sequence.i: - * sequence.cpp: - * sequence_T.h: - * sequence_T.i: - More generated and parametric code reduced, also fixed some - problems detected by MSVC++. - - * tao/TAO.dsp: - * TAO_DL/tao_idl.dsp: - Updated projects to include new files. - -Wed Jan 14 21:03:18 1998 Carlos O'Ryan - - * sequence.h: - * sequence.i: - * sequence.cpp: - Removed unused TAO_Unbounded_String class, it has been - superseeded by - TAO_Unbounded_Managed_String. - - * sequence_T.h: - * sequence_T.i: - Managed sequences only need the const version of operator[], - because they return a Manager by value. - -Wed Jan 14 20:32:47 1998 - - * tao/sequence_T.h: - Fixed typo in base class for ACE_Bounded_Managed_Sequence. - -Wed Jan 14 17:54:31 1998 Carlos O'Ryan - - * TAO_IDL/be_include/be_visitor_sequence.h: - * TAO_IDL/be/be_visitor_sequence.cpp: - * TAO_IDL/be/be_interpretive.cpp: - * TAO_IDL/be/be_sequence.cpp: - The compiler generates code using the new managed sequence - parametric classes. - Also handled typedefs correctly while generating sequence code - specially template arguments and return types for operator[] in - _var and _out classes. - Simplified code generation for sequences of sequences: the - generated typedefs can be used to instantiate the templates. - Finally made some of the visitors more generic, so less - knowledge on the stream files gets distributed. - - * tao/sequence.h: - * tao/sequence.cpp: - * tao/sequence_T.h: - * tao/sequence_T.i: - * tao/sequence_T.cpp: - Re-implemented the Managed_Sequence classes using the "Manager" - as a parameter instead of a nested type. - Still requires some work because the sequences need privileged - access (friend) to the Managers. - -Tue Jan 13 15:55:32 1998 Chris Cleeland - - * Makefile (INSTALL): Added a rule to build the INSTALL file from - TAO-INSTALL.html. Also added both TAO-INSTALL.html and INSTALL to - the list of files included in the release. TAO-INSTALL.html had - not been included at all. - - * TAO-INSTALL.html: Updated some of the text in the Unix portion - to be explicit regarding the need for GNU Make. - - * INSTALL: Added this file, which is the output of 'lynx -dump - TAO-INSTALL.html'. - -Mon Jan 12 20:04:32 1998 Sumedh Mungee - - * tests/Cubit/TAO/MT_Cubit/server.cpp: Added comments - -Mon Jan 12 17:29:44 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_codegen.cpp: Added initialization for an abstract - visitor factory in the constructor and deletion in the - destructor. - - Added code for the "make_visitor" factory method. - - * TAO_IDL/be/be_factory.cpp: Added destructor and constructor for - abstract factory (*note* it is not pure abstract). - - * TAO_IDL/be/be_produce.cpp: We use the different visitors for the - root to start code generation. At this time, we instantiate the - visitor factory with the concrete factory of visitors which will - generate stubs/skeletons using TAO's interpretive marshaling - engine. - - * TAO_IDL/be_be_sequence.cpp: Commented out a large part of code - to enable visitors for sequences to take over code generation. - - * TAO_IDL/be/be_visitor.cpp: Abstract factory of visitors. - - * TAO_IDL/be/{be_visitor_root, be_visitor_sequence}.cpp: visitors - for Root and Sequences respectively. be_visitor_sequence.cpp is a - new file. - - * TAO_IDL/be_include/{be_codegen, be_visitor, be_visitor_root, - be_visitor_sequence, be_factory, be_sequence}.h: Files affected - due to introduction of visitors and visitor factory. Added a - boolean "unbounded ()" method on sequences. - - * TAO/tao/{decode, encode}.cpp: Uses TAO_Base_Sequence instead of - the hack of using CORBA_SEQUENCE. - - * TAO/tao/{sequence, sequence_T}.{h,i,cpp}: Added large amount of - code for bounded and unbounded sequences as well as the special - cases for sequences of object references and strings, along with - their managed types. - - * TAO/tests/Param_Test: Added tests for object references and - sequence of variable structs. There are some problems with the - generated code. - -Sun Jan 11 11:15:35 1998 David L. Levine - - * tao/sequence.i (TAO_Base_Sequence): reordered initializers to match - declaration order. - - * tao/nvlist.h: changed AddRef and Release declarations to return - CORBA::ULong instead of ULONG, to match their definitions. - -Sat Jan 10 14:08:09 1998 - - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_interface.cpp: - We no longer generate names with CORBA_1 or CORBA_3 macros, but - sometimes we cannot use the typedefs in CORBA:: because some - weird MSVC++ features (bugs?). - -Fri Jan 09 21:37:39 1998 - - * TAO_IDL/be/be_typedef.cpp: - Added missing accept() method for visitors. - - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - Fixed signed/unsigned warning. - - * orbsvcs/Naming_Service/CosNaming_i.cpp: - Yet another fix for the namespace warnings. - - * orbsvcs/Dump_Schedule/Dump_Schedule.dsp: - * orbsvcs/Event_Service/Event_Service.dsp: - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/Scheduling_Service/Scheduling_Service.dsp: - * orbsvcs/tests/Event_Latency/Event_Latency.dsp: - Executables are not generated into the Debug subdirectory. - -Fri Jan 9 20:49:41 1998 Sergio Flores - - * orbsvcs/Naming_Service/CosNaming_i.cpp: Fixed some code dealing - with Warning (Anachronism) messages. - -Fri Jan 9 19:04:10 1998 Nanbor Wang - - * tao/orbobj.cpp: Moved template instantiation codes around to - eliminate compilation errors. - -Fri Jan 9 17:49:55 1998 Carlos O'Ryan - - * tao/Makefile: - * tao/corba.h: - * tao/corbacom.h: - * tao/sequence.cpp: - * tao/sequence.h: - * tao/sequence.i: - * tao/sequence_T.cpp: - * tao/sequence_T.h: - * tao/sequence_T.i: - Added the new TAO_Base_Sequence class and its parametric - children (TAO_Bounded_Sequence and TAO_Unbounded_Sequence). This - classes will be used in the implementation of all the IDL - sequences, thus providing the interpreter with a base class to - manipulate them. - - * orbsvcs/Scheduling_Service/Scheduler.cpp: - Fixed some instantiation problems. - - * TAO_IDL/be/Makefile: - * TAO_IDL/be/be_argument.cpp: - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_attribute.cpp: - * TAO_IDL/be/be_constant.cpp: - * TAO_IDL/be/be_decl.cpp: - * TAO_IDL/be/be_enum.cpp: - * TAO_IDL/be/be_enum_val.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_expression.cpp: - * TAO_IDL/be/be_field.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_interface_fwd.cpp: - * TAO_IDL/be/be_module.cpp: - * TAO_IDL/be/be_native.cpp: - * TAO_IDL/be/be_operation.cpp: - * TAO_IDL/be/be_predefined_type.cpp: - * TAO_IDL/be/be_root.cpp: - * TAO_IDL/be/be_scope.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_string.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_type.cpp: - * TAO_IDL/be/be_union.cpp: - * TAO_IDL/be/be_union_branch.cpp: - * TAO_IDL/be/be_union_label.cpp: - * TAO_IDL/be/be_visitor.cpp: - * TAO_IDL/be/be_visitor_root.cpp: - * TAO_IDL/be_include/be.h: - * TAO_IDL/be_include/be_argument.h: - * TAO_IDL/be_include/be_array.h: - * TAO_IDL/be_include/be_attribute.h: - * TAO_IDL/be_include/be_constant.h: - * TAO_IDL/be_include/be_decl.h: - * TAO_IDL/be_include/be_enum.h: - * TAO_IDL/be_include/be_enum_val.h: - * TAO_IDL/be_include/be_exception.h: - * TAO_IDL/be_include/be_expression.h: - * TAO_IDL/be_include/be_field.h: - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be_include/be_interface_fwd.h: - * TAO_IDL/be_include/be_module.h: - * TAO_IDL/be_include/be_native.h: - * TAO_IDL/be_include/be_operation.h: - * TAO_IDL/be_include/be_predefined_type.h: - * TAO_IDL/be_include/be_root.h: - * TAO_IDL/be_include/be_scope.h: - * TAO_IDL/be_include/be_sequence.h: - * TAO_IDL/be_include/be_string.h: - * TAO_IDL/be_include/be_structure.h: - * TAO_IDL/be_include/be_type.h: - * TAO_IDL/be_include/be_typedef.h: - * TAO_IDL/be_include/be_union.h: - * TAO_IDL/be_include/be_union_branch.h: - * TAO_IDL/be_include/be_union_label.h: - * TAO_IDL/be_include/be_visitor.h: - * TAO_IDL/be_include/be_visitor_root.h: - Added visitors from the poa branch into the main trunk. - -Fri Jan 9 16:17:37 1998 Chris Cleeland - - * tao/orb_core.*: Changed ORB parameters, OA parameters, and the - endpoint address to be switchable btw. global and tss resources. - I also cleaned up the redundant accessor methods by using macros - to define them. Thanks to Keith Nicewarner - for his bug reports which led to this solution. - - * tao/orbobj.cpp (run,perform_work): Added code to set the - Reactor's owner to the current thread prior to calling - handle_events(). Thanks to Keith Nicewarner - for his bug reports which led to this - solution. - -Fri Jan 9 16:00:21 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_interface.cpp: Removed a Release statement that - was getting generated in the _narrow method - - * TAO_IDL/be/{be_state_argument, be_state_operation}.cpp: All - typedefed strings are handled as if they are strings. - -Fri Jan 09 12:29:55 1998 - - * tao/default_server.cpp: - Fixed missing initialization for object_lookup_strategy_ - -Fri Jan 9 12:17:02 1998 Carlos O'Ryan - - * orbsvcs/Event_Service/Dispatching_Modules.cpp: - * orbsvcs/Event_Service/Event_Channel.cpp: - * orbsvcs/Event_Service/GPlot_File.cpp: - * orbsvcs/Event_Service/Memory_Pools.cpp: - * orbsvcs/Event_Service/Task_Manager.cpp: - * orbsvcs/Scheduling_Service/Scheduler.cpp: - * orbsvcs/Scheduling_Service/Scheduler_Generic.cpp: - Added missing instantiation for platforms with - ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA (IRIX) - - * orbsvcs/Event_Service/CORBA_Utils_T.h: - Added missing member to ACE_ES_Array_Iterator. - - * orbsvcs/Scheduling_Service/Scheduler.h: - Use ACE_SYNCH_MUTEX instead of ACE_HAS_THREADS and - ACE_Null_Mutex vs ACE_Thread_Mutex. - - * orbsvcs/orbsvcs/Makefile: - The IDL generated files are .PRECIOUS - -Thu Jan 8 21:58:18 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_interface.cpp: be_interface::relative_skel_name () - was producing incorrect results because we were overwriting an - internal string with '\0' - - * TAO/tao/deep_free.cpp: Marshal_Struct::deep_free. Commented out - the call to String::deep_free if a member is a string because that - free should happen automatically as the member is a String_var - type. In addition, String::deep_free was setting the pointer to 0. - - * TAO/tao/marshal.i: In string::deep_free, commente dout the line - that sets the pointer to 0. - - * TAO/tests/Param_Test: Added a string member field to the - var_struct. Also some modifications. Needs more improvement. - -Thu Jan 08 17:48:49 1998 - - * Naming_Service/NS_CosNaming.cpp: - * orbsvcs/Naming_Service/CosNaming_i.cpp: - ACE_NESTED is only needed in the generated code. - - * Scheduling_Service/Scheduling_Service.cpp: - MSVC++ 5.0 seems to have a bug: if the implementation for the - scheduling service is stored into a RtecScheduler::Scheduler_ptr - then the server crashes; this is OK in other platforms and looks - OK since the pointers are in fact compatible. - - * tests/Event_Latency/Event_Latency.cpp: - Removed some warnings by using "CORBA::ULong" instead of "int" - in comparisons against sequence<>::length. - - * Dump_Schedule/Dump_Schedule.dsp: - * orbsvcs/orbsvcs_lib.dsp: - Fixed some names and missing options. - -Thu Jan 08 15:55:21 1998 Nanbor Wang - - * tao/objtable.cpp: - * tao/optable.cpp: - * tao/orbobj.cpp: - * orbsvcs/Naming_Service/CosNaming_i.cpp: Added missing template - instantiation codes. - -Thu Jan 8 12:53:28 1998 Chris Cleeland - - * tao/corbacom.i (wstring_dup): Added this, which simply calls - wstring_copy(). Of course, I can't find any mention of EITHER of - these functions in the 2.0 or 2.1 spec, but what good are wstrings - if you can't make copies? Plus, Irfan really wanted it. - -Thu Jan 8 11:36:38 1998 Aniruddha Gokhale - - * TAO_IDL/be_include/be_interface.h, TAO_IDL/be/be_interface.cpp: - Added a method called "relative_skel_name" to be used for - generating names of inherited interfaces in the keleton class - name. - - * TAO_IDL/be/be_state_argument.cpp: Generation of space was - missing after the "native" type in a parameter list declaration. - - * TAO_IDL/fe/{y.tab.*, lex.yy.cpp}: Due to changes in the idl.ll - and idl.yy files, these had to be regenerated. - -Thu Jan 08 00:14:56 1998 - - * orbsvcs/orbsvcs.dsw: - * orbsvcs/Dump_Schedule/Dump_Schedule.dsp: - * orbsvcs/Dump_Schedule/Dump_Schedule.dsw: - * orbsvcs/Event_Service/Event_Service.dsp: - * orbsvcs/Event_Service/Event_Service.dsw: - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/Naming_Service/Naming_Service.dsw: - * orbsvcs/Scheduling_Service/Scheduling_Service.dsp: - * orbsvcs/Scheduling_Service/Scheduling_Service.dsw: - * orbsvcs/tests/Event_Latency/Event_Latency.dsp: - * orbsvcs/tests/Event_Latency/Event_Latency.dsw: - Added preliminar (untested) versions of the project files for - MSVC++ 5.0. - -Wed Jan 7 22:41:41 1998 Carlos O'Ryan - - * tao/corba.h: - Removed varout.h from the list of included files; it is no used - and would abort compilation on IRIX. - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: - * tao/orbobj.cpp: - Added missing template instantiations. - - * tao/varout.h: - Some fixes, but actually the changes were aborted, Andy informed - me that the file wasn't really used. - -Wed Jan 07 21:52:20 1998 - - * TAO_IDL/tao_idl.dsp: - Added the new native_* functions to the project file. - Also use the new tao_idl.cpp file in the top level directory. - -Wed Jan 7 20:20:56 1998 Sergio Flores - - * orbsvcs/Naming_Service/NS_CosNaming.cpp: - * orbsvcs/Naming_Service/CosNaming_i.cpp: Use the correct - _duplicate function. Also changed the code to use exceptions - already supported by TAO. - -Wed Jan 7 18:00:08 1998 Carlos O'Ryan - - * TAO_IDL/Makefile: - * TAO_IDL/tao_idl.cpp: - * TAO_IDL/driver/Makefile: - * TAO_IDL/driver/drv_main.cpp: - Moved the main() routine to the topmost directory, this is - needed for platforms like SGI that will not link a group of - shared libraries without any object files. It also seems more - reasonable (IMHO). - -Wed Jan 7 13:55:26 1998 Chris Cleeland - - * tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Changed the assignment of - default port number to fetch the value from the environment - similar to what is done in orb_core.cpp. - - * tao/poa.{h,cpp} (handle_request): Moved functionality to - TAO_Server_Connection_Handler in connect.*. - - * tao/orb_core.cpp: Added the ability to specify the default - server port via an environment variable using the ACE_Env_Value - template. The name of the environment variable is the same as the - preprocessor #define: TAO_DEFAULT_SERVER_PORT. - - * tao/giop.* (TAO_GIOP_LocateRequest): Added a CTOR and init - method similar to TAO_GIOP_Request. - - * tao/connect.{h,cpp} (handle_locate): Added to handle the - LocateRequest CORBA request. Also moved handle_request() method - from the poa to here. - - * tao/Makefile: Added "fakesvcconf" variable check so that if - somebody wants to build with faked svc config entries on a - platform, they can simply do "make fakesvcconf=1". The CHORUS and - VXWORKS sections now override the value of this variable to be 1. - -Wed Jan 7 12:00:14 1998 Aniruddha Gokhale - - * TAO/tao/corbacom.h: Added forward declarations for - CORBA_Object_var and CORBA_Object_out - - * TAO/tao/varout.h: some improvements. However, this file is not - used currently. - - * TAO_IDL/include/ast_native.h: New file that defines the "native" - type defined by the POA spec. - - * TAO_IDL/include/{ast, ast_interface, ast_module, ast_decl, - idl_fwd, idl_global, utl_scope}: - Added the create_native and fe_add_native methods for the newly - added "native" type. Added a enum value for native in - AST_Decl.h. Added an enum value for the current parse state in - idl_global.h. Added forward declarations in idl_fwd.h. Added the - "add_native" method in utl_scope.h - - * TAO_IDL/ast/{ast_generator, ast_interface, ast_module}.cpp: - Added the create_native and fe_add_native methods for the newly - added "native" type. - - * TAO_IDL/ast/ast_native.cpp: New file for native type - - * TAO_IDL/fe/idl.ll: Added a rule to recognize the "native" - keyword. - - * TAO_IDL/fe/idl.yy: Added a grammar rule for the "native" type. - - * TAO_IDL/util/utl_scope.cpp: Added add_native and fe_add_native - methods. - - * TAO_IDL/be_include/be_native.h: New file for the backend for - "native" type. - - * TAO_IDL/be/be_native.cpp: New file for backend implementation of - "native". - - * TAO_IDL/be/be_attribute.cpp: For the "set" method, we were - setting the paramdata structure of the get method. This has been - fixed. - - * TAO_IDL/be/be_generator.cpp: Added create_native method. - - * TAO_IDL/be/be_interface.cpp: - For a special case of a deeply nested inheritance graph and one - specific way of inheritance in which a node that was already - visited, but is not present in the queue, gets inserted at the - tail. This sitation arises when a node multiply inherits from two - or more interfaces in which the first parent is higher up in the - tree than the second parent. In addition, if the second parent - turns out to be a child of the first. Thanks to Carlos O'Ryan for - reporting the error. - - In addition, we use the nested_type_name for the inherited classes - in the class definition. - - * TAO_IDL/be/be_type.cpp: We generate relative paths instead of - the ACE_NESTED_CLASS macro. However, I am going to make this an - IDL option at a later point. - - * TAO_IDL: Did "make depend" on all the Makefiles. - - * TAO/tests/Param_Test: Added tests for testing object - references. This is still incomplete. - -Tue Jan 6 19:48:45 1998 Sumedh Mungee - - * TAO/tests/Cubit/TAO/MT_Cubit/README: Updated README to explain - the latest generalization of the MT_Cubit tests. - -Tue Jan 6 17:25:57 1998 Nanbor Wang - - * MT_Cubit.dsw,client.dsp,server.dsp: Update workspace and - project files to reflect the change in directory structure. - -Mon Jan 05 23:54:13 1998 - - * Added project files for a static orbsvcs library. - -Mon Jan 5 16:37:14 1998 Sumedh Mungee - - * Makefile: Merged client and server rules - - * server.dsp, svc.conf, svr.cpp, client.dsp, cubit.idl, - cubit_i.cpp, cubit_i.h, Task_Client.cpp, Task_Client.h, - Util_Thread.cpp, Util_Thread.h, client.cpp, Makefile: - Merged client/server code into one directory. - -Mon Jan 5 11:50:00 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_attribute.cpp: Code generated for setting the - attribute value (in the server skeleton) had some undefined symbol - errors as well as the create_list parameter was wrong. - - * TAO/tao/object.{h.i}: Added code for Object_var and Object_out - -Mon Jan 05 09:53:51 1998 David L. Levine - - * tao/corbacom.{h,cpp},encode.cpp: replaced defined (VXWORKS) && - defined (ghs) with defined (ACE_HAS_WCHAR_TYPEDEFS_CHAR). - - * tao/Makefile: add -DTAO_PLATFORM_SVC_CONF_FILE_NOTSUP to - CPPFLAGS on VxWorks. - - * tests/Cubit/TAO/MT_Cubit/Util_Thread.{h,cpp} (Util_Thread ctor): - rearranged initializers to match declaration order. - -Sun Jan 04 17:19:34 1998 Douglas C. Schmidt - - * TAO version 0.0.53, released Sun Jan 04 17:19:34 1998. - -Sun Jan 4 13:49:21 1998 Aniruddha Gokhale - - * TAO/tao/nvlist.cpp: NamedValue::Release was calling delete, but - this was not correct since NamedValues are allocated using - calloc. So now we exclusively call the destructor and free the - memory using "free". - - * TAO/tests/Param_Test/{client.cpp, tests.cpp}: Since we do not - pass the OUT_LIST_MEMORY flag to create_request, we cannot own the - return, inout, and out parameters and hence cannot free them. - -Sun Jan 4 13:41:41 1998 Sumedh Mungee - - * tests/Cubit/TAO/IDL_Cubit/svr.cpp: Fixed prev_priority to - previous_priority - -Sun Jan 04 07:47:52 1998 Douglas C. Schmidt - - * TAO version 0.0.52, released Sun Jan 04 07:47:52 1998. - -Sun Jan 04 07:37:31 1998 David L. Levine - - * tao/orb_core.i: Changed ! ACE_LACKS_TEMPLATE_SPECIALIZATION - to ACE_HAS_TEMPLATE_SPECIALIZATION, to be consistent with - ACE config files. - -Sun Jan 4 06:06:28 1998 Aniruddha Gokhale - - * TAO/tao/typecode.*: Some modifications in the destruction - strategy to eliminate fatal errors such as FNH (freeing non-heap - memory) or FMW (freed memory write). Most of these errors were - occuring because we were trying to delete our private typecode - stuff that was not allocated from heap. For example, in case of - sequences of strings the private member tc_content_type used to - point to a statically preallocated "tc_string" typecode. - - Also, preliminary support for checking for typecode equality and - the "member_name" method added. - - Looking at the current private_* methods, it looks like a lot of - stuff can be abstracted into a few methods. So the next attempt - will be to eliminate as many of the private_* methods (that do - repititive work) and replace them with a couple of helper - methods. In addition, we may not need all those tc_*_known_ - boolean variables. Only one may suffice. All this will be done in - the next pass. - - * TAO/tao/{except.h, except.cpp, giop.cpp, object.cpp}: Removed - the TAO_CONST CORBA::String insanity and replaced by const - char*. This is also in accordance with the mapping as well as - eliminates strange compiler warnings about assigning const char* - to char*. - - * TAO_IDL/be/be_sequence.cpp: We now generate #if defined (..) - macros for sequences and their managed types to avoid multiple - declaration/definition errors. - -Sat Jan 3 14:58:21 1998 Sumedh Mungee - - * Task_Client.h, Util_Thread.cpp, Util_Thread.h, client.cpp, - Task_Client.cpp, Makefile: - The Util_Thread class basically computes CPU usage. Integrated - this class with the MT_Cubit test, so that the Util_Thread - performs computation in the background while the test is - running. Also extended the test to use `n' clients talking to `n' - servants. - - -Sat Jan 03 09:04:28 1998 David L. Levine - - * tao/invoke.cpp (ACE_Synchronous_Cancellation_Required): - disabled on VxWorks to avoid runtime warnings with - ACE_NOTSUP_VERBOSE, because thr_setcanceltype isn't - supported there. - - * tao/corba.h: g++/VxWorks doesn't like backslashes at the - end of comment lines, so replaced a commenting of a #define - with #if 0. - -Fri Jan 02 18:42:31 1998 Douglas C. Schmidt - - * TAO version 0.0.51, released Fri Jan 02 18:42:31 1998. - -Fri Jan 2 16:29:20 1998 Nanbor Wang - - * orbsvcs/Event_Service/GPlot_File.cpp: - * orbsvcs/Event_Service/Event_Channel.cpp: - * orbsvcs/Scheduling_Service/Scheduler.cpp: - * tao/connect.cpp: Added missing explicit template - instantiations. - -Fri Jan 02 10:24:21 1998 Nanbor Wang - - * tests/Param_Test/driver.cpp (main): Added a trailing return in - main() to prevent MSVC from complaining. - - * tests/Param_Test/helper.cpp (gen_fixed_struct): Changed to use - ACE_OS::rand () * 1.0 instead of drand48 (). - - * tao/connect.cpp: - * orbsvcs/Scheduling_Service/Scheduler.cpp: - * orbsvcs/Event_service/Gplot_File.cpp: - * orbsvcs/Event_Service/Event_Channel.cpp: Added explicit template - instantiation for ACE_Map_Iterator_Base. - -Fri Jan 2 10:39:02 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_type.cpp: Completely reimplemented the way - ACE_NESTED_CLASS macro gets generated. - - * TAO_IDL/be/be_state_sequence.cpp: Fixed an error where the - reference operator "&" was getting generated at the wrong place. - diff --git a/TAO/ChangeLog-98b b/TAO/ChangeLog-98b deleted file mode 100644 index 56d71761a62..00000000000 --- a/TAO/ChangeLog-98b +++ /dev/null @@ -1,9061 +0,0 @@ -Wed Sep 30 15:47:26 1998 Carlos O'Ryan - - * tao/Connect.h: - * tao/Connect.cpp: - * tao/Invocation.cpp: - Removed some calls to TAO_ORB_Core_instance(), we use the - ORB_Core cached in the Invocation and pass it down to the GIOP - module and eventually to the Client_Connection_Handler. - - * tao/ORB_Core.cpp: - Fixed silly syntax errors. - -Wed Sep 30 14:58:16 1998 Darrell Brunsch - - * tao/ORB_Core.{h,i}: Had problems with the explicit template - instantiation for two hash_i functions on MSVC 6. So, Irfan - and I decided to move it into the .h and make them real - "inline" functions for now. Otherwise, the compiler doesn't - seem to understand the hint made by the prototype and will - not use the explicitly defined method. - -Wed Sep 30 11:14:35 1998 Darrell Brunsch - - * tao/POA.cpp: Needed to properly terminate a CString in - locate_poa_and_servant_i () by copying it to another - CString and then extracting the char * from it. - - * tao/POA.cpp: Needed to properly terminate a CString in - locate_poa_and_servant_i () by copying it to another - CString and then extracting the char * from it. - -Wed Sep 30 10:32:00 1998 Chris Gill - - * docs/releasenotes/index.html - orbsvcs/tests/Simulator/README - orbsvcs/tests/Simulator/NavWeap.idl - orbsvcs/tests/Simulator/DOVEBrowser/DataHandler.java - orbsvcs/tests/Simulator/DOVEBrowser/DemoCore.java - orbsvcs/tests/Simulator/DOVEBrowser/NavWeapDataHandler.java - orbsvcs/tests/Simulator/DOVEBrowser/Properties.java - orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java - orbsvcs/tests/Simulator/DOVEBrowser/make.bat - orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.cpp - orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.{cpp, dsp} - orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.{cpp, dsp, h}: - Enhancements for Boeing demo: expanded and revised make.bat to build - java browser using Visibroker on NT. Revised supplier and consumer - logic to allow an ACT to indicate whether or not to update the - scheduling information with actual data xollected by the EC. Added - a logging supplier that sets this ACT to request actual data update. - Modified java consumer so entire event is passed to data handler. - This allows the DOVE Browser to view either simulated or "live" - scheduling data. - logic to allow an ACT to indicate whether or not to update the - scheduling information with actual data xollected by the EC. Added - a logging supplier that sets this ACT to request actual data update. - Modified java consumer so entire event is passed to data handler. - This allows the DOVE Browser to view either simulated or "live" - scheduling data. - - -Wed Sep 30 03:47:31 1998 Nagarajan Surendran - - * tao: Removed some cases of explicit template instantiation of - ACE_Hash_Addr from TAO since it is no longer used inside the - cached connector. It is still necessary since it is used inside - the collocation table. - - * tao/ORB_Core: Changed return type of ACE_Hash_Addr::hash_i() to - u_long. Also added template specialization for - ACE_Refcounted_Hash_Recyclable::hash_i(). - - * tao/POA.cpp (dispatch_servant_i): Reduced access to - TAO_ORB_Core_instance() inside the POA. - - * tao: Removed some cases of explicit template instantiation of - ACE_Hash_Addr from TAO since it is no longer used inside the - cached connector. It is still necessary since it is used inside - the collocation table. - - * tao/ORB_Core: Changed return type of ACE_Hash_Addr::hash_i() to - u_long. Also added template specialization for - ACE_Refcounted_Hash_Recyclable::hash_i(). - - * tao/POA.cpp (dispatch_servant_i): Reduced access to - TAO_ORB_Core_instance() inside the POA. - -Wed Sep 30 02:18:36 1998 Carlos O'Ryan - - * performance-tests/Cubit/TAO/IDL_Cubit/README: - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: - * performance-tests/Cubit/TAO/IDL_Cubit/Makefile: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - IDL_Cubit does *not* use the Naming Service anymore. It was - simply too slow to compile orbsvcs and the Naming Service has - many other examples that show how to use it and this test is - compiled often after changin the ORB. - * performance-tests/Cubit/TAO/IDL_Cubit/README: - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: - * performance-tests/Cubit/TAO/IDL_Cubit/Makefile: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - IDL_Cubit does *not* use the Naming Service anymore. It was - simply too slow to compile orbsvcs and the Naming Service has - many other examples that show how to use it and this test is - compiled often after changin the ORB. - -Wed Sep 30 00:26:44 1998 Carlos O'Ryan - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - * tao/CDR.h: - * tao/CDR.cpp: - * tao/Connect.cpp: - * tao/Invocation.i: - * tao/Invocation.cpp: - The resource factory can create either TSS or global allocators - for the InputCDR stream, thus applications that don't need the - CDR stream buffer to survive after the upcall, or release it in - another thread (most CORBA compliant apps fall in this category) - can benefit from this feature that reduces locks and - fragmentation in the global heap. - - * tao/default_client.h: - Fixed minor syntax error (comma at the end of an enum). - - * orbsvcs/tests/EC_Custom_Marshal/svc.conf: - * orbsvcs/tests/EC_Custom_Marshal/svc.conf: - Use a global allocator for the CDR stream. - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - * tao/CDR.h: - * tao/CDR.cpp: - * tao/Connect.cpp: - * tao/Invocation.i: - * tao/Invocation.cpp: - The resource factory can create either TSS or global allocators - for the InputCDR stream, thus applications that don't need the - CDR stream buffer to survive after the upcall, or release it in - another thread (most CORBA compliant apps fall in this category) - can benefit from this feature that reduces locks and - fragmentation in the global heap. - - * tao/default_client.h: - Fixed minor syntax error (comma at the end of an enum). - - * orbsvcs/tests/EC_Custom_Marshal/svc.conf: - * orbsvcs/tests/EC_Custom_Marshal/svc.conf: - Use a global allocator for the CDR stream. - - -Tue Sep 29 21:57:02 1998 Irfan Pyarali - - - * examples/TAO_Examples.dsw: Removed incorrect dependency. - - * examples/TAO_Examples.dsw: Removed incorrect dependency. - - * examples/POA/FindPOA/FindPOA.dsp: Renamed from FindPOA Server to - simply FindPOA. - -Tue Sep 29 19:17:17 1998 Jeff Parsons - - * Tao/tests/DynAny_Test/server.dsp: - * Tao/tests/DynAny_Test/client.dsp: - * Tao/tests/DynAny_Test/tckind.idl: - * Tao/tests/DynAny_Test/DynAny.idl: - * Tao/tests/DynAny_Test/DynAny_i.{h,cpp}: - * Tao/tests/DynAny_Test/DynArray_i.{h,cpp}: - * Tao/tests/DynAny_Test/DynEnum_i.{h,cpp}: - * Tao/tests/DynAny_Test/DynSequence_i.{h,cpp}: - * Tao/tests/DynAny_Test/DynStruct_i.{h,cpp}: - * Tao/tests/DynAny_Test/DynUnion_i.{h,cpp}: - Removed from repository. Some are going to TAO and some - are just obsolete (new test code will be written). - - * Tao/tests/DynAny_Test/DynAny_Test.dsw: - Updated to reflect removed projects. - -Tue Sep 29 15:33:52 1998 Irfan Pyarali - - * examples/POA/Explicit_Activation/run_test.pl: Added the ability - to pass through extra command line options to the client and - server. - - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf: Added - ORBclientconnectionhandler ST and changed -ORBconcurrency - thread-per-connection. - - * tao/default_client.cpp (parse_args): Added a new option to - TAO_Default_Client_Strategy_Factory. -ORBclientconnectionhandler - allows the user to select the correct type of client connection - handler creation strategy. - - * tao/ORB_Core.cpp (Pre_Allocated): Initialize the - correctly with a creation factory - from client_factory ()>. - - * tao/Connect.h (TAO_ST_Client_Connection_Handler and - TAO_MT_Client_Connection_Handler): Added new classes that - override handle_input and send_request. The MT class uses the - leader-follower scheme, while the ST class uses the old simple - reactive strategy. - - * tao/Client_Strategy_Factory.cpp (create_client_creation_strategy): - * tao/default_client.cpp (create_client_creation_strategy): - - Added new method to create the correct type of the client - connection handler creation strategy. - -Tue Sep 29 13:23:25 1998 Jeff Parsons - - * TAO/docs/releasenotes/orbcore.html - Added entry for current status of DynAny support. - -Tue Sep 29 13:09:49 1998 Sergio Flores - - * TAO/performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - * TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: Used - begin() to obtain iterator fom the ACE_Unbounded_Queue class. In - addition, I made changes to fix minor warnings. - -Tue Sep 29 12:20:16 1998 Carlos O'Ryan - - * docs/releasenotes/ec.html: - Documented the latest feaures of the EC. - - * docs/releasenotes/orbcore.html: - Documented some of the latest optimizations implemented in the - ORB. - - * docs/releasenotes/TODO.html: - Yet another task for the EC. - -Tue Sep 29 11:08:08 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/Event/Timer_Module.h: - * orbsvcs/orbsvcs/Event/Timer_Module.i: - * orbsvcs/orbsvcs/Event/Timer_Module.cpp: - * orbsvcs/orbsvcs/Event/Task_Manager.h: - * orbsvcs/orbsvcs/Event/Task_Manager.i: - * orbsvcs/orbsvcs/Event/Task_Manager.cpp: - New class Timer_Module that replaces the Task_Manager - class. This module of the EC is in charge of implementing the - timer queue. Currently there are two implementations of the - module: a pool of Reactors running at different priorities - to dispatch the timers; a single reactor (shared with the ORB) - to dispatch all the timers. - In the future we plan to implement the timers using the - Thread_Timer_Queue_Adapter or a similar mechanism. - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.i: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Use the new abstractions in the Timer_Module to schedule and - cancel timers. - - * orbsvcs/orbsvcs/Event/Module_Factory.h: - * orbsvcs/orbsvcs/Event/Module_Factory.cpp: - Added methods to create the new module. - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - Some experimental changes to test the new single threaded module - factory for the Event Channel. - - * Many makefiles were updated because the dependencies changed. - - * tests/Param_Test/README: - Removed outdated arguments. - - * docs/releasenotes/TODO.html: - Minor updates. - -Tue Sep 29 07:18:28 1998 David L. Levine - - * performance-tests/Thruput/COOL/ttcp_decl.h,client.cpp,server.cpp: - replaced USE_QUANTIFY with ACE_HAS_QUANTIFY. - - * performance-tests/Thruput/COOL/client.cpp,server.cpp, - performance-tests/Thruput/CORBAplus/ttcp_i.cpp: - replaced direct {f,io}stream.h #includes with #include of - ace/streams.h. - - * performance-tests/Thruput/TAO/ttcp_decl.h,ttcp_i.cpp,client.cpp, - server.cpp: - performance-tests/Thruput/CORBAplus/ttcp_decl.h,client.cpp, - server.cpp: replaced USE_QUANTIFY with ACE_HAS_QUANTIFY. - -Tue Sep 29 00:18:22 1998 Matthew J Braun - - * examples/POA/FindPOA/run_test.pl - * examples/POA/Forwarding/run_test.pl - Perl escripts to run the tests in their respective - directories. The Forwarding script is kinda hairy and was a pain - in the tookas. - -Mon Sep 28 21:35:47 1998 David L. Levine - - * orbsvcs/orbsvcs/Time_Utilities.cpp: removed #define ACE_BUILD_DLL. - Thanks to Irfan for reporting that it's not correct. - - * performance-tests/Cubit/COOL/MT_Cubit/Task_Client.cpp: changed - USE_QUANTIFY to ACE_HAS_QUANTIFY. - -Mon Sep 28 16:39:30 1998 Sergio Flores - - * TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * TAO/performance-tests/Cubit/TAO/MT_Cubit/client.cpp: Replaced - the use of ACE_Unbounded_Set with ACE_Unbounded_Queue, fixing the - inconsistent results of stats. - -Mon Sep 28 15:39:40 1998 Irfan Pyarali - - * tao/POA.cpp (create_object_key): Don't add the space for - persistent_key_type_length and creation_time_length when - POA_NO_TIMESTAMP is defined. - -Mon Sep 28 15:03:02 1998 Marina Igorevna Spivak - - * TAO/orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: updated destroy - method to commit suicide only if not root. - - * TAO/docs/releasenotes/index.html: updated releasenotes for the - Naming Service to reflect recent changes. - -Mon Sep 28 14:41:48 1998 David L. Levine - - * orbsvcs/orbsvcs/Time_Utilities.cpp: added #define ACE_BUILD_DLL. - Thanks to Brian Mendel for - reporting link failure without it on NT. - - * tao/Object_Table.i (TAO_Object_Table_Impl::create_object_id): added - comment noting that the function is supposed to always fail. - Only TAO_Active_Demux_ObjTable::create_object_id is supposed to - succeed. - - * TAO-INSTALL.html: updated instructions for installing gperf - in host-target (cross-compile) environments. - -Mon Sep 28 02:26:39 1998 Irfan Pyarali - - * examples/POA: Added ability to support perl scripts for running - the tests and writing IORs to files: - - - ACE_wrappers/TAO/examples/POA/DSI/client.cpp - - ACE_wrappers/TAO/examples/POA/DSI/server.cpp - - ACE_wrappers/TAO/examples/POA/Generic_Servant/client.cpp - - ACE_wrappers/TAO/examples/POA/On_Demand_Activation/server.cpp - -Sun Sep 27 23:00:06 1998 Irfan Pyarali - - * tao/POA: Changed the creation time to have a binary encoding - rather than the hex encoding. Binary is better than the hex - representation because it takes half the space to store. - - Also, changed the Object Id generation and parsing code to not - use MAX_SPACE_REQUIRED_FOR_TWO_CORBA_ULONG_TO_HEX but use - (2 * sizeof (CORBA::ULong)). - -Sun Sep 27 22:53:08 1998 Matthew J Braun - - * examples/POA/Explicit_Activation/run_test.pl: Changed - permissions to allow execution. Nothing special. Feh. - -Sun Sep 27 22:37:11 1998 Matthew J Braun - - * examples/POA/Default_Servant/server.cpp - * examples/POA/Default_Servant/client.cpp - * examples/POA/DSI/server.cpp - * examples/POA/DSI/client.cpp - Fixed a small misuse of strdup - - * tests/OctetSeq/run_test.pl: Small script to run OctetSeq test - - * tests/Multiple_Inheritance/run_test.pl: Script to run client and - server - - * tests/Multiple_Inheritance/server.cpp - * tests/Multiple_Inheritance/client.cpp - Added command line parsing and ability to output the IOR to a - file (server) and read from a file (client) - - * tests/Multiple_Inheritance/Makefile: Fixed realclean to remove - server and client binaries - -Sun Sep 27 21:05:40 1998 David L. Levine - - * tao/Object_Table.i (create_object_id): added - ACE_UNUSED_ARG (servant). - - * tao/Object_Table.cpp (TAO_Dynamic_Hash_ObjTable, - TAO_Linear_ObjTable ctors): added static cast of - TAO_Object_Table_Impl::DEFAULT_TABLE_SIZE to size_t, - to avoid g++ complaints about enumeral and non-enumeral - type in conditional expression. - -Sun Sep 27 19:25:08 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - Added some more comments. - -Sun Sep 27 00:58:31 1998 Douglas C. Schmidt - - * tao/Object_Table.cpp: Cleaned up the code a bit and got it to - work on SunC++ again. This may break DU's C++ compiler, but - we'll take on step at a time here... - - * TAO_IDL/be/be_interface.cpp: Generate the "unsigned int" - signatures for hash() and lookup() to match the changes in - gperf. - - * TAO_IDL/be/be_interface.cpp (gen_perfect_hash_methods): Removed - the -S1 flag to GPERF. This is now implicit if GPERF can't - generate a proper "lookup array" duplicate solution... - Naturally, this means that you MUST update GPERF... - -Sun Sep 27 00:02:57 1998 Irfan Pyarali - - * tao/Object_Table and POA: - - - Added no-op destructors to all class. g++ was having problems. - - - Moved the Hash_Map_Manager template specialization to the .i - file. Hopefully, the DU compiler will pick it up. - - - There was a bug in TAO_POA::encode_sequence_to_string where - the order of encoding higher order bits vs the lower order - bits was reversed relative to the decoding routine. - - - Changed the object id in the SYSTEM_ID case so that it now - contains the binary values for the index and the generation - count. This should make the parsing of the id faster. - - - Made sure that the POA policies are getting registered with - the RootPOA rather than the creator POA. This allows implicit - activation of the policies. - - - There was a bug in create_object_id which was fixed by moving - along if index is not reused. - -Sat Sep 26 20:25:18 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - Fixed problem in TAO_ECG_Mcast_EH::unsubscribe() method. - -Sat Sep 26 09:59:59 1998 Chris Gill - - * orbsvcs/tests/Simulator/NavWeap.idl - orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp - orbsvcs/tests/Simulator/DOVEBrowser/NavWeapDataHandler.java - orbsvcs/tests/Simulator/DOVEBrowser/PushConsumerFactory.java: - Expanded time members of Navigation and Weapons structures to have - secs and usecs, as for ACE_Time_Value class in C++ - - * orbsvcs/tests/Simulator/DOVEBrowser/DemoCore.java: - Made Latency, Jitter, and Deadlines GUI components the - defaults for demo startup. - - * orbsvcs/tests/Simulator/DOVEBrowser/make.bat: - Massive cleanup and expansion of this script: now does make clean, - make realclean, nicer VB rebuild on NT. - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.dsp: - Added copy line to NavWeap.idl custom build step - copies the - file from the parent directory before calling TAO_IDL. - - * orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.{cpp, dsp, h}: - New event supplier application to be used with actual runtime - logging of scheduling behavior in the EC: does not depend on data - being fed from simulation results file. - -Sat Sep 26 09:59:59 1998 Chris Gill - - * orbsvcs/tests/Simulator/DOVEBrowser/NS_Resolve.java: - Reverted TAO_DEFAULT_NAME_SERVER_REQUEST_PORT to 10013. - -Sat Sep 26 09:24:10 1998 David L. Levine - - * tao/Object_Table.i (TAO_Dynamic_Hash_ObjTable_Iterator): - moved this constructor up in the file, to avoid use - before definition. - - * tao/Object_Table.cpp (bind,find,unbind): removed check - for "index" < 0. Because it's unsigned, it can never - be less than 0. GreenHills warned about that. - -Sat Sep 26 00:07:14 1998 Carlos O'Ryan - - * tao/Object_Table.i: - * tao/Object_Table.cpp: - Optimized object id parsing for the active demultiplexing object - table. - Moved the TAO_Object_Table constructor to the .cpp file, EGCS - did not like it there. - -Fri Sep 25 22:00:49 1998 Irfan Pyarali - - * tao/POA: Changed the POA so that the IOR it generates when the - SYSTEM_ID policy is used can be used to actively find the - servant. This new IOR contains an extra byte to indicate - whether the IOR is from a POA with SYSTEM_ID or USER_ID policy. - When the SYSTEM_ID is used, the IOR contains two pieces of - information. (a) The index of the slot where the servant is - registered. (b) The generation count of that slot. The - generation count is used to identify old IORs and allows the - recycling of the slots in the Active Object Map. - - Another advantage of the SYSTEM_ID policy is that the Object Id - is of fixed size. This makes the parsing of the incoming IOR - quicker. - - Obviously, the changes in the IOR required changes to the - parsing routines and the IOR generation routines. - - Also, fixed a bug in TAO_POA::destroy. We must destroy self - only after releasing the lock. This is the same bug I found in - Marina's code ;-) - - * tao/IIOP_Object.cpp (operator!=): Added operator!= for - TAO_opaque. Also, fixed IIOP::Profile::set() so that it does - not try to do get_host_name() if use_dotted_decimal_addresses () - is set. - - * tao/Object_Table: New file (Object_Table.i) which contains the - smaller functions from Object_Table.cpp. The new Object_Table - files contain an almost complete rewrite of TAO_Linear_ObjTable - and specially of TAO_Active_Demux_ObjTable. Also, moved the - responsibility of object id creation from the POA to the Object - Table. - - * tao/Server_Strategy_Factory.cpp (object_table_size): Added - method to access user specified object table size. - -Fri Sep 25 22:07:55 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Mcast/README: - * orbsvcs/tests/EC_Mcast/EC_Mcast.h: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - The UDP_Receiver is a RtecEventChannelAdmin::Observer so it can - update its set of mcast group subscriptions automatically. We - still need to improve the underlying socket abstractions to - handle multiple groups (even when the number grows beyond the - limits of a single socket). - - * orbsvcs/orbsvcs/Event_Utilities.cpp: - The debug routine for QoS structures did not print the - is_gateway field. - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Fixed some problems on shutdown, related to observer updates. - -Fri Sep 25 19:02:03 1998 Darrell Brunsch - - * tao/try_macros.h: Fixed the TAO_THROW_ENV_RETURN macro for - native exceptions. It was not taking in the RETURN value - argument - -Fri Sep 25 15:31:17 1998 Matthew J Braun - - * tests/CDR/run_test.pl: New script to run all three CDR tests and - format the output. - - * tests/CDR/growth.cpp: Added ability to set a few basic variables - from the command line. - - * tests/CDR/basic_types.cpp: Added ability to set a few basic - variables from the command line - -Fri Sep 25 07:37:01 1998 David L. Levine - - * examples/Simple/echo/Client_i.cpp (Client_i): reordered - initializers to match declaration order. - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: added - ACE_Map_Manager - - * TAO_IDL/be/be_codegen.cpp (gperf_input_stream): don't - delete the gperf_input_stream on Linux, only, because - it causes tao_idl to seg fault. - -Thu Sep 24 20:55:01 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway.h: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - Completed the implementation of (potentially) remote observers - for the subcription and/or publication list of an Event - Channel. - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - Fixed yet another error message. - - * orbsvcs/orbsvcs/RtecEventChannelAdmin.idl: - The observer handle can be an unsigned long. - Added exceptions to report problems when adding and/or removing - observers. - - * orbsvcs/orbsvcs/RtecEventComm.idl: - Added a "#pragma prefix" to cancel the "omg.org" prefix. - - * orbsvcs/orbsvcs/Makefile: - Updated dependencies. - -Thu Sep 24 18:01:47 1998 Irfan Pyarali - - * tao (Current.pidl Object_Key.pidl POA.pidl Policy.pidl): The - makefiles in ACE look for files with the .idl extension to run - the IDL compiler on. Therefore, to prevent the IDL files in - TAO/tao to get compiled by the user, we named them with a .IDL - extension. Unfortunately, the NT filesystem is not case - sensitive. Therefore, when one typed make, it ran the IDL - compiler on those files. - - I have fixed this by renaming the IDL files in TAO/tao with a - .pidl extension instead of the .IDL extension. - -Thu Sep 24 15:39:39 1998 Carlos O'Ryan - - * tao/corba.h: * tao/try_macros.h: Moved the TAO_TRY macros (and - friends) to a separate file. - - * tao/poa_macros.h: - Removed extra scope that was releasing locks too soon. - Use the new macros TAO_GUARD_THROW macros. - - * Many Makefile dependencies updated. - -Thu Sep 24 13:41:19 1998 Vishal Kachroo - - * examples/Simple/bank/AccountManager_i.cpp: - Removed the warning TAO_TRY_LABEL unreferenced. - -Wed Sep 23 23:30:28 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: - TAO_THROW requires calls like this: - TAO_THROW (Type()); - instead of simply - TAO_THROW (Type); - the latter works in platforms without native C++ exceptions the - former does not. - -Wed Sep 23 10:02:20 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/summarize: fixed - calculation of number of low-priority threads. - - * performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: fixed - typo in $iiop_lite. - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - cleaned up latency/jitter code, and added printouts with - number of samples. - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - increment number_of_samples in iteration loops, instead of - relying on loop_count. Without this change, the jitter - calculation is incorrect, and underestimates jitter. It's - not clear why the actual number of messages and loop count - differ by so much, e.g, 150 instead of 1000. - - * utils/IOR-parser/ior-handler.cpp (findIfVisiIor,interpretIor): - removed unused locals "nullOctet". - - * orbsvcs/tests/Sched/Makefile: removed Quantify relics. - - * orbsvcs/tests/Sched/DynSched_Test.cpp: replaced quantify with - ACE_HAS_QUANTIFY. - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp (preemption_priority, - set_preemption_priority): for HPUX aCC only, added typedef - to replace direct use of RtecScheduler::Preemption_Priority - as an operator name. It can't handle it. Thanks to - Alan Scheinine for reporting this problem - and providing the fix. - -Wed Sep 23 02:39:29 1998 Douglas C. Schmidt - - * TAO version 0.2.14 released. - -Wed Sep 23 01:24:09 1998 Irfan Pyarali - - * tao/ORB.h (struct TAO_Leader_Follower_Info): Added constructor - cause all the fields were not being initialized properly. - -1998-09-22 Nagarajan Surendran - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp : - Fixed the stats.sample to just pass the - latency as it in microseconds and also removed the 0.5 addition - since it caused an floating point exception on chorus. - Also fixed the (1/frequency) error while calculating sleep_time - for a thread which caused the high priority to keep running in - chorus. - - * performance-tests/Cubit/TAO/MT_Cubit/Globals.h: - Fixed the pccTimerInit macro for chorus. - - * performance-tests/Cubit/TAO/MT_Cubit/Timer.cpp: - performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - Fixed chorus compile errors. - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - -Tue Sep 22 23:04:01 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: - enable -ORBiioplite by default, and added -l option to - disable. - - * performance-tests/Cubit/TAO/MT_Cubit/summarize: - added this script, which summarizes the results - from multiple MT_Cubit_Test runs. - -Tue Sep 22 22:46:52 1998 Sergio Flores - - * performance-tests/Cubit/TAO/MT_Cubit/Makefile: Updated - dependencies. - -Tue Sep 22 22:29:30 1998 David L. Levine - - * exmaples/POA/{Forwarding,TIE}: added FooS_T.* to - realclean target. - -Tue Sep 22 19:18:36 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Mcast/EC_Mcast.h: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - Updated the comments and removed some warnings. - - * utils/IOR-parser/ior-handler.cpp: - Fixed out-of-bounds error in an array. - the IorHander::hexChar2int() function was not returning a value - on every execution path. - - * examples/Simple/chat/Client_i.cpp: - * examples/Simple/bank/Server_i.cpp: - Removed unreached statement. - - * examples/Simple/bank/Client_i.cpp: - Removed unused variable. - - * examples/Simple/grid/Client_i.cpp: - * examples/Simple/chat/Client_i.cpp: - Reordered initializers to match the declaration. - - * examples/POA/On_Demand_Activation/server.cpp: - Removed signed/unsigned comparison warning. - -Tue Sep 22 18:19:42 1998 Carlos O'Ryan - - * tao/IIOP_Object.cpp: - Fixed unreachable statement warning: this was an excellent - warning because the semantics were broken. - - * TAO_IDL/util/utl_scope.cpp: - Removed unused variable. - - * docs/releasenotes/TODO.html: - Added brief note about a (potential) EC bug. - - * docs/configurations.html: - Added more documentation about the use of dotted decimal - addresses to work in platforms without a DNS server. - -Tue Sep 22 18:03:13 1998 Carlos O'Ryan - - * examples/Simple/chat/Client_i.h: - Added missing file. - -Tue Sep 22 16:59:30 1998 Douglas C. Schmidt - - * tao/ORB.cpp (CORBA_ORB): Changed - leader_follower_info_.leader_thread_ID_ = 0; - - to - - leader_follower_info_.leader_thread_ID_ = ACE_OS::NULL_thread; - - Thanks to Alan Scheinine for reporting this. - -Tue Sep 22 16:16:49 1998 Carlos O'Ryan - - * Updated dependencies for many Makefiles. - -Tue Sep 22 15:33:48 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Mcast/EC_Mcast.h: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - Added simple support for dynamic reconfiguration of the consumer - subscriptions; we still have to propagate this to the multicast - groups that we join. - - * orbsvcs/orbsvcs/Scheduler_Factory.h: - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - Added support for configuring a local scheduler, without using - the naming service. - -Tue Sep 22 14:29:29 1998 Vishal Kachroo - - Made changes to the ACE_DEBUG to print the server/client Process - ID/ thread ID for all messages to console. Also modified README to - include the description of tests done by client. - - * examples/Simple/bank/README: - * examples/Simple/bank/ AccountManager_i.cpp - * examples/Simple/bank/ Account_i.cpp - * examples/Simple/bank/ Client_i.cpp - * examples/Simple/bank/Server_i.cpp - * examples/Simple/bank/client.cpp - * examples/Simple/bank/server.cpp - -Tue Sep 22 13:21:02 1998 Irfan Pyarali - - * orbsvcs/Naming_Service/Naming_Service.cpp (init): Don't look for - an existing naming service, just become one. - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (destroy): Must destroy - self only after releasing the lock. - -Tue Sep 22 07:12:31 1998 David L. Levine - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (TAO_NamingContext ctor): - reordered initializers to match declaration order. - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: replaced - quantify with ACE_HAS_QUANTIFY. - - * orbsvcs/tests/Event_Latency/Makefile, - orbsvcs/tests/EC_Multiple/Makefile, - orbsvcs/tests/EC_Throughput/Makefile, - orbsvcs/tests/EC_Custom_Marshal/Makefile: removed Quantify - support, now that it's in wrapper_macros.GNU. - - * performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: - put the sleep in a loop that checks for the server ior file. - The old 4 second sleep wasn't always long enough. - - * tests/Makefile: removed DynAny_Test from DIRS because it - doesn't yet have a Makefile. - -Tue Sep 22 03:22:56 1998 Douglas C. Schmidt - - * TAO version 0.2.13 released. - -Tue Sep 22 02:40:33 1998 Douglas C. Schmidt - - * examples/Simple/grid: Printout the process id and thread id - for the client and server. - - * examples/Simple/Makefile (DIRS): Enabled all the "Simple" test - examples in the Makefile so we can see if they compile on other - platforms. - - * TAO_IDL/be/be_interface.cpp (gen_perfect_hash_methods): Added - the -S1 flag, which generates a switch statement if duplicate - keys are encountered. This works around a bug with gperf that - needs to be fixed soon... - -Mon Sep 22 01:08:51 1998 Kirthika Parameswaran - - * changed examples/Simple/echo/Client_i.cpp - - the initialization of the naming service just - needs a single argument now. - - * changed examples/Simple/echo/Server_i.cpp - - return values from TAO_CHECK_ENV have been removed. - - * checked in - examples/Simple/echo/Echo.dsw, - examples/Simple/echo/client.dsp, - examples/Simple/echo/server.dsp. - -Mon Sep 21 22:24:45 1998 Irfan Pyarali - - * orbsvcs/orbsvcs/Naming/Naming_Utils.h (TAO_Naming_Client): Added - timeout to init(). - -Mon Sep 21 21:44:39 1998 David L. Levine - - * tao/CDR.i,tao/Connect.cpp, - performance-tests/Cubit/CORBAplus/MT_Cubit/server/Makefile - performance-tests/Cubit/TAO/MT_Cubit/Makefile - performance-tests/Thruput/COOL/ttcp_i.cpp - performance-tests/Thruput/CORBAplus/ttcp_i.cpp - performance-tests/Thruput/TAO/ttcp_i.cpp: - use ACE_HAS_PURIFY instead of ACE_PURIFY. And, removed - purify settings from Makefiles now that they're in ACE's - wrapper_macros.GNU. - -Mon Sep 21 21:32:31 1998 Douglas C. Schmidt - - * orbsvcs: Removed the extra args after all the - TAO_Naming_Client::init() calls. - -Mon Sep 21 18:20:35 1998 Irfan Pyarali - - * tao/ORB_Core.cpp (init): Added compile time option - TAO_USE_DOTTED_DECIMAL_ADDRESSES that makes the use of dotted - decimal addresses the default. Also changed the - -ORBdotteddecimaladdresses option to take an argument (0 or 1). - - * tao/ORB.cpp: - * tao/Connect.cpp: - - g++ cannot gork templates typedefs. - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (new_context and list): - Cannot call _this() directly since the POA has the USER_ID - policy. Therefore, added a simple scheme for producing names - based on a counter value. - -Mon Sep 21 18:15:13 1998 Carlos O'Ryan - - * tao/ORB.cpp: - * tao/Connect.cpp: - Fixed template instantiations, thanks to Irfan for his help - tracking this down. - -Mon Sep 21 01:38:46 1998 Irfan Pyarali - - * performance-tests/Cubit/TAO/DII_Cubit/client.cpp (init_naming_service): - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp - (init_naming_service): Fixed initialization of Naming_Server. - - * orbsvcs/orbsvcs/IOR_Multicast.h (TAO_IOR_Multicast): Changed - char * to const char *. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.h (TAO_Naming_Server): - Complete revamp of Naming_Server and Naming_Client. New - implementation is better with respect to functionality, memory - management and other indescribable things ;-) - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (TAO_NamingContext): - Deprecated init(). Also fixed some other simple stuff. - - * tao/IIOP_Object.cpp (IIOP_Object): Fixed initialization for - this->fwd_profile_lock_ptr_. - - * tao/IIOP_Object.i (reset_handler) and (~IIOP_Object): Added code - to cleanup hint svc_handler. - - * tao/ORB.cpp: Fixed template instantiations. - - * tao/GIOP: - * tao/Invocation.cpp - - Changed close to handle_close. - - * tao/Environment.cpp (print_exception): Check for zero exception - before printing. - - * tao/Connect.cpp (handle_close): Close socket but don't delete - instance. Instance will be deleted when all "hints" are - removed. Instance is deleted in close(). - -Sun Sep 20 23:30:20 1998 Douglas C. Schmidt - - * tao/ORB: It is now possible to give an ACE_Time_Value to the - ORB's resolve_initial_references() method in order to bound the - amount of time spent waiting for a service to be resolved via - multicast. - - * tao/orbconf.h: Renamed TAO_DEFAULT_NAME_SERVER_TIMEOUT to - TAO_DEFAULT_SERVICE_RESOLUTION_TIMEOUT, which is more - descriptive. - -Sun Sep 20 22:57:28 1998 Marina Igorevna Spivak - - * TAO/orbsvcs/orbsvcs/Naming/CosNaming_i.h, - TAO/orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: - updated servants to keep a reference to their POA (which might be - different from the root POA). - -Sun Sep 20 22:41:02 1998 Kirthika Parameswaran - - * examples/Simple/echo/Echo_i.cpp: - changes in Echo::echo() made. - -Sun Sep 20 01:21:07 1998 Darrell E. Brunsch - - * ChangeLog: IIOP_Object changes. - - * tao/IIOP_Object.cpp, tao/IIOP_Object.h, tao/IIOP_Object.i: - Fixed the static call to revert back to the original profile when the - forwarded profile fails. - -1998-09-20 Kirthika Parameswaran - - * examples/Simple/echo/Echo_i.cpp: - changes in method Echo::echo. - -Sun Sep 20 21:20:05 1998 Marina Igorevna Spivak - - * TAO/orbsvcs/orbsvcs/CosNaming.idl: added comments. - - * TAO/orbsvcs/orbsvcs/Naming/*: - renamed all classes NS_* to be TAO_* - - * TAO/orbsvcs/orbsvcs/Naming/CosNaming_i.*: - modified implementation to support C++ exception via use of TAO's - portable exception macros. Updated destroy methods. Created - flag, which can be set in the constructor to identify a - root context. - - * tao/corba.h: added TAO_TRY_THROW macro, which should be used - inside a TAO_TRY block, and caught by the following TAO_CATCH... - -Sun Sep 20 20:20:20 1998 Vishal Kachroo - - * TAO/tests/Simple/bank : Checked in the final versions of the following files : - /Account_i.cpp - /Account_i.h - /AccountManager_i.cpp - /AccountManager_i.h - /Server_i.cpp - /Server_i.h - /Client_i.cpp - /Client_i.h - /server.cpp - /client.cpp - /Bank.idl - -Sun Sep 20 01:19:16 1998 Darrell Brunsch - - * tao/IIOP_Object.{cpp,i,h}: Fixed the static call to - revert back to the original profile when the forwarded - profile fails. - -Sat Sep 19 21:35:28 1998 Darrell Brunsch - - * tests/Simple_Naming/client.dsp: - * tests/Trading/TradingLib.dsp: - More projects that need to be changed because of the - TAO_IDL's move. - -Sat Sep 19 21:27:38 1998 Darrell Brunsch - - * tao/GIOP.cpp: Fixed a signed/unsigned comparison in - writev_n. - -Sat Sep 19 14:26:54 1998 Darrell Brunsch - - * examples/TAO_Examples.dsw: - * performance-tests/TAO_Perf_Tests.dsw: - * tests/TAO_Tests.dsw: - Split up the workspaces to work with the new structure - of examples, performance-tests, and tests. - - * TAO_IDL/tao_idl.dsp: - * tao/tao.dsp: - * examples/POA/Generic_Servant/server.dsp: - Changed behavior of all DLL projects and utilities (like - tao_idl) to put the dll and executables in $ACE_ROOT/bin. - - * examples/POA/DSI/client.dsp: - * examples/POA/Forwarding/client.dsp: - * examples/POA/Forwarding/server.dsp: - * examples/POA/Generic_Servant/client.dsp: - * examples/POA/TIE/client.dsp: - * examples/POA/TIE/server.dsp: - * examples/Quoter/Factory_Finder.dsp: - * examples/Quoter/Generic_Factory.dsp: - * examples/Quoter/client.dsp: - * examples/Quoter/server.dsp: - * examples/Simple/time/client.dsp: - * examples/Simple/time/server.dsp: - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: - * performance-tests/Cubit/TAO/IDL_Cubit/client.dsp: - * performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp: - * performance-tests/Cubit/TAO/IDL_Cubit/server.dsp: - * performance-tests/Cubit/TAO/MT_Cubit/client.dsp: - * performance-tests/Cubit/TAO/MT_Cubit/server.dsp: - * tests/Multiple_Inheritance/client.dsp: - * tests/Multiple_Inheritance/server.dsp: - * tests/NestedUpcall/MT_Client_Test/client.dsp: - * tests/NestedUpcall/MT_Client_Test/server.dsp: - * tests/NestedUpcall/Reactor/client.dsp: - * tests/NestedUpcall/Reactor/server.dsp: - * tests/NestedUpcall/Triangle_Test/initiator.dsp: - * tests/NestedUpcall/Triangle_Test/server_A.dsp: - * tests/NestedUpcall/Triangle_Test/server_B.dsp: - * tests/OctetSeq/OctetSeq.dsp: - * tests/Param_Test/client.dsp: - * tests/Param_Test/server.dsp: - Had to update projects that compile IDL files since tao_idl - was moved to $ACE_ROOT/bin. - - * TAO-INSTALL.html - Updated the instructions for all this. - -Sat Sep 19 14:03:27 1998 Irfan Pyarali - - * examples/POA/Explicit_Activation/alternate.conf: Fixed service - config directive since directory name of the alternate resource - factory was changed. - -Sat Sep 19 13:13:46 1998 David L. Levine - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp (consumer_push): added - another ACE_CAST_CONST. Thanks to Hans for reporting that - it was needed to compile with Sun C++. - -Fri Sep 18 17:39:03 1998 Jeff Parsons - - * TAO/tests/DynAny_Test/DynUnion_i.{h,cpp}: - * TAO/tests/DynAny_Test/README: - Checked in the finished DynUnion code and updated the - README file. - - Quickly tested what I could of DynUnion functions, but TAO - IDL compiler doesn't yet deal with a union default case or - with more than one label for the same element. There were - also problems with insertion into an Any for unions with a - string or typecode active member, but these are also IDL - problems and are also present with structs. - - Aside from the above limitations, preliminary check on - DynUnion is a thumbs-up. - -Fri Sep 18 16:44:42 1998 Douglas C. Schmidt - - * utils: Added the latest and greatest IOR parser. Thanks to - Priya Narasimhan for this. - -Fri Sep 18 11:27:00 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.{h,cpp}: Moved all the - template code from Endpoint_Strategy.{h,cpp} into these separate - files. - -Fri Sep 18 08:48:20 1998 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs.dsp: Fixed some idl custom build - settings for release version. Thanks to jmorey@tbi.com (John - Morey) for reporting this. - -Fri Sep 18 08:39:13 1998 David L. Levine - - * orbsvcs/tests/EC_Mcast/EC_Mcast.i - ({consumer,supplier}_{ipaddr,name}): added ACE_CAST_CONST to please - Sun C++. Thanks to Hans Rohnert for reporting this. - - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp (svc): - (svc): print out errno string if ORB initialization fails. - - * tao/POA.i (operator ==,!=): added ACE_UNUSED_ARG (rhs) with - POA_NO_TIMESTAMP. - - * orbsvcs/tests/EC_Custom_Marshal/Makefile: ran make depend. - Thanks to Hans Rohnert for reporting that the build failed - without it. - -Fri Sep 18 02:15:23 1998 Douglas C. Schmidt - - * TAO version 0.2.12 released. - -Fri Sep 18 00:11:07 1998 Alexander Babu Arulanthu - - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be/be_interface.cpp: - - Used ACE::open_temp_file () instead of ACE_OS::open (). - Commented out be_interface::cleanup_gperf_temp_file (). - -Thu Sep 17 23:47:31 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: - Added the correct template instantiations for IRIX 6.2 - - * tao/ORB_Core.cpp: - Minor fix in argument parsing. - -Thu Sep 17 22:52:48 1998 Carlos O'Ryan - - * TAO_IDL/be/be_sunsoft.cpp: - For character constants we print the hex escape sequence if the - character is not printable. - -Thu Sep 17 22:22:51 1998 Carlos O'Ryan - - * docs/configurations.html: - Updated the section about homogenous configurations. - -Thu Sep 17 21:48:21 1998 Carlos O'Ryan - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: - Added support for hex scape sequences for char constants. - -Thu Sep 17 21:22:42 1998 Jeff Parsons - - * TAO/tests/DynAny_Test/README.txt - Updated and edited file. - -Thu Sep 17 18:52:14 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * tao/GIOP.cpp: - We now use the iovec structure becauce ACE_IO_Vector has been - deprecated. - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Removed some debug messages. - -Thu Sep 17 14:18:19 1998 Jeff Parsons - - * TAO/tests/DynAny_Test/README.txt - Added this new file. - -Thu Sep 17 09:04:34 1998 Carlos O'Ryan - - * tao/ORB_Core.cpp: - More fixes for HP-UX 10.2, we have to use ACE_OS::thr_equal() - instead of operator==, thanks to Anne Blankert - for pointing out this problems. - -Wed Sep 16 22:36:55 1998 David L. Levine - - * orbsvcs/tests/EC_Mcast/EC_Mcast.i - ({supplier,consumer}_{name,ipaddr}): added static - casts to CORBA::ULong to avoid signed/unsigned comparisons. - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp (consumer_push): - added static cast to avoid signed/unsigned comparison. - Added ACE_UNUSED_ARG (_env). - - * examples/POA/Explicit_Activation/server.cpp (write_iors_to_file): - changed type of local "result" from int to u_int to - avoid signed/unsigned comparison. - -1998-09-16 Kirthika Parameswaran - - * examples/Simple/echo/Client_i.h (class Client_i): - initialized the use_naimg_service variable to 1. - - * examples/Simple/echo/Client_i.cpp: - changed the names of the variables needed for the naming_service. - -Wed Sep 16 20:39:14 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: - Fixed template instantiation problem on IRIX, thanks to - Margherita Vittone Wiersma for - reminding me of this. - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.h: - Removed TAO_Register<>::find_property() it wasn't defined or - used in any place and it caused problems on IRIX. - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - Use the new ACE_OS::rand_r() interface. - - * orbsvcs/orbsvcs/Sched/Scheduler.cpp: - * orbsvcs/orbsvcs/Sched/DynSched.cpp: - Changed some debug messages so it would be easier to recognize - the source. - -Wed Sep 16 20:30:53 1998 Vishal Kachroo - - * examples/Simple/bank/run_test.pl: Added this script - with proper sleep time between server and client. - -1998-09-16 Kirthika Parameswaran - - * examples/Simple/echo/run_test.pl: - modified the script so that it works for the test - example with Naming service. - -Wed Sep 16 18:47:55 1998 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp (push): Added a cast to - (const ACE_IO_Vector_Base *) so that aCC can correctly - disambiguate the send() call. Thanks to John Mulhern for - reporting this. - -Wed Sep 16 15:25:01 1998 Nanbor Wang - - * performance-tests/Cubit/TAO/MT_Cubit/Globals.h (SCHED_PRIORITY): - Changed the scheduling scheme in the macro to ACE_SCHED_FIFO on - Win32. Thanks to David's hint. - -Wed Sep 16 12:21:20 1998 Marina Igorevna Spivak - - * TAO/orbsvcs/tests/Simple_Naming/run-test.pl - Updated perl script to run all client tests. - - * TAO/orbsvcs/tests/Simple_Naming/client.cpp - Updated Tree_Test to provide output in case a test is successful. - -Wed Sep 16 09:14:16 1998 Carlos O'Ryan - - * tao/Connect.cpp: - Fixed several portability problems, some ACE_thread_t variables - were initialized to 0 instead of ACE_OS::NULL_thread and == was - used to compare them, instead of ACE_OS::thr_equal. - - * tao/CDR.cpp: - A faster implementation of read_array() for the case were - byteswapping is required. Thanks to Anders W. Tell - for this patch. - -Tue Sep 15 21:37:07 1998 Carlos O'Ryan - - * tao/IIOP_Object.cpp: - Fixed Sun/CC warning, a local variable named was hiding - the class field with the same name in IIOP::Profile::set() - -Tue Sep 15 20:10:37 1998 Douglas C. Schmidt - - * Makefile: Completely revised TAO's directory structure so that - there are now two new top-level directories: examples and - performance-tests. This structure is designed to mimick the - directory structure in ACE. - -1998-09-15 Vishal Kachroo - - * TAO/tests/Simple/bank : Added the client and server files for this test. - /Account_i.cpp - /Account_i.h - /AccountManager_i.cpp - /AccountManager_i.h - /Server_i.cpp - /Server_i.h - /Client_i.cpp - /Client_i.h - /server.cpp - /client.cpp - /Bank.idl - -1998-09-15 Kirthika Parameswaran - - * tests/Simple/echo : Checked in the following files. - /Client_i.cpp - /Client_i.h - /Echo_i.cpp - /Echo_i.h - /Echo.idl - /Makefile - /Server_i.cpp - /Server_i.h - /client.cpp - /run_test.pl - /server.cpp - -Tue Sep 15 18:00:55 1998 Matthew J Braun - - * tests/POA/DSI/README: A few caveats for the users. Nothing major. - - * tests/POA/DSI/run_test.pl: New test script. Runs the client and - server. - - * tests/POA/DSI/server.cpp: Added a parse_args method and changed - to output the IOR to a file. Added an argument to set the - TAO_debug_level - - * tests/POA/DSI/client.cpp: Altered to get the IOR from a file and - added an argument to set the TAO_debug_level - -Tue Sep 15 17:47:07 1998 Matthew J Braun - - * tests/POA/Default_Servant/client.cpp: Added TAO_debug_level - option to the arguments list - -Tue Sep 15 17:07:19 1998 Matthew J Braun - - * tests/POA/Default_Servant/test: Modified the permissions (they - were breaking things). There were _no_ permissions set, so I - added read and write access. - - * tests/POA/Default_Servant/run_test.pl: The wonderful new test - script (huzzah!). - - * tests/POA/Default_Servant/server.cpp: Changed the syntax for - writing the IOR to a file to be more in line with the syntax of - the new test scripts. - - * tests/POA/Default_Servant/client.cpp: Added support for reading - the IOR from a file, a requirement for the new test script. - -Tue Sep 15 16:23:31 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/client.cpp(~Client_i) : - Used delete [] instead of delete for this->low_priority_client_. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (~Task_State): - Used delete [] for this->iors_ in place of the wrong delete. - Thanks to David and Sergio for reporting this. - -Tue Sep 15 15:35:31 1998 Alexander Babu Arulanthu - - * TAO_IDL/util/utl_global.cpp (IDL_GlobalData): Replaced "\"s with - "\\"s. - -Tue Sep 15 14:34:04 1998 Carlos O'Ryan - - * tao/CDR.h: - * tao/CDR.i: - Removed the << and >> operators involving the Boolean, Octet, - Char or WChar. The helper classes from_boolean/char/wchar/octet - or to_boolean/char/wchar/octet have to be used. - - * TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp: - The generated code now uses the from_boolean/char/wchar/octet - helpers for the << operators and the corresponding to_* form - for the >> operators - - * tao/Invocation.cpp: - Use the from_boolean and to_boolean helpers. - - * TAO_IDL/be/be_visitor_root/cdr_op.cpp: - Cosmetic changes. - -Tue Sep 15 13:51:36 1998 Marina Igorevna Spivak - - * TAO/orbsvcs/tests/Simple_Naming/client.cpp : - Added return values to all methods. - -Tue Sep 15 13:10:51 1998 Alexander Babu Arulanthu - - * TAO_IDL/util/utl_global.cpp (IDL_GlobalData): Replaced "/"s with - "\"s while specifying absolute path for gperf on WIN32. - -Tue Sep 15 12:54:22 1998 Alexander Babu Arulanthu - - * TAO_IDL/driver/drv_args.cpp (DRV_parse_args): Added a new line - after the warning. - -Tue Sep 15 10:26:45 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_array/{cdr_op_ch, cdr_op_cs}.cpp: - - The CDR <<, >> operators now use the _forany type as - parameter. This was necessary to distinguish between a - degenerate pointer versus an array. We use the same strategy as - used by the Any <<= and >>= operators. - - In addition, for types such as arrays of strings and object - references, the generated implementation for the CDR operators - use the "in" and "inout" types. Special handling is also - necessary for arrays of arrays. - - * TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp: - - Fields that are array types (typedefined or anonymous) must be - passed using their forany types. Special care must be taken to - distinguish between typedefed arrays and anonymous arrays. - - * TAO_IDL/be/be_visitor_root/cdr_op.cpp: - - Reactivated the CDR operator code generation. This was - temporarily commented out. - - * tao/CDR>{h, i}: - - Added << and >> operators that take the Any's helper classes - like from_boolean, to_boolean and others. This is necessary to - distinguish between these types. - - * tao/IIOP_Object.cpp: - - There was a local variable called "host" that was hiding the - data member "host". This is now fixed. - -Tue Sep 15 10:11:03 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_root/cdr_op.cpp: - Disabled generation of << and >> operators for InputCDR and - OutputCDR. - -Tue Sep 15 10:08:05 1998 Nanbor Wang - - * TAO-INSTALL.html (NOTE): Revised adding IDL files into your MSVC - project setion to all IDL generated files should be put into - both client and server projects. - -Tue Sep 15 00:21:39 1998 Irfan Pyarali - - * tao/ORB_Core.cpp (init): Added new option - -ORBdotteddecimaladdresses. - -Mon Sep 14 23:41:22 1998 Douglas C. Schmidt - - * TAO version 0.2.11 released. - -Mon Sep 14 22:23:15 1998 Douglas C. Schmidt - - * orbsvcs/tests/Simple_Naming/client.cpp (class My_Test_Object): - Added a default value for the My_Test_Object constructor so that - it compiles properly. Thanks to Hans Rohnert for reporting - this. - -Mon Sep 14 20:44:56 1998 Alexander Babu Arulanthu - - * docs/compiler.html: Added a section about Operation Lookup Strategy. - -Mon Sep 14 20:33:46 1998 Alexander Babu Arulanthu - - * TAO_IDL/util/utl_global.cpp : - * TAO_IDL/driver/drv_args.cpp : - Some more robust handling for failure on running - . Also updated the warning message when failure on - running. - - We try to run the $ACE_ROOT/bin/gperf. If $ACE_ROOT doesnt - exist then we try to execute "gperf" hoping that PATH is - set correctly. If -g option is used, we use that path to - execute gperf. If nothing works, we print the following - the note. - "TAO_IDL:Note:GPERF could not be executed. Using Dynamich Hashed OpLookup instead of Perfect Hashing\n" - "To make use of Perfect Hashing\n" - "\t-Build the program at $ACE_ROOT/apps/gperf\n" - "\t-Set the environment variable $ACE_ROOT appropriately or add $ACE_ROOT/bin to the PATH\n" - "\t-Refer to Operation Lookup section in the TAO IDL User Guide ($TAO_ROOT/docs/compiler.html) for more details" - - -Mon Sep 14 17:47:41 1998 Chris Gill - Irfan Pyarali - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp: - Changed ownership of data to 0 in reused any so the - any does not try to delete the data out from under us - -Mon Sep 14 17:47:41 1998 Chris Gill - - * orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java: - converted nested struct memberwise initializations into - new calls to nested class ctors. - -Mon Sep 14 14:33:41 1998 Darrell Brunsch - - * TAOACE.dsw: Added gperf to the projects here. - -Mon Sep 14 13:50:25 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/client.cpp: Fixed memory problems - reported by purify. - -Mon Sep 14 11:06:00 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/{Globals.cpp,Task_Client.cpp}: - moved ACE_Condition instantiation from - Task_Client.cpp to Globals.cpp so that the server can link it. - - * tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test): - changed type of loop index "j" from unsigned to signed to - avoid signed/unsigned comparison with argc_. - -Sun Sep 13 22:40:57 1998 Douglas C. Schmidt - - * TAO version 0.2.10 released. - -Sun Sep 13 18:16:46 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/Globals.{h,cpp}: Converted some old - #ifdefed code in server.cpp and client.cpp into macros - for sched_params and new method for fifo scheduling initialization. - - * tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp: Replaced magic numbers - with symbolic constants. - - * tests/Cubit/TAO/MT_Cubit/Timer.cpp: Fixed the elapsed time - calculation for vxworks. Thanks to sergio for finding this. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - Fixed memory leaks. - -Sun Sep 13 00:44:07 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/client.cpp: Added some template - instantiations. Fixed bug related to the task name when creating - the active object. - - * tests/Cubit/TAO/MT_Cubit/Makefile (CUBIT_SVR_OBJS): Deleted some - unnecessary object files. - -Sat Sep 12 23:34:17 1998 Jeff Parsons - - * tao/Typecode.h: - Fixed the equivalent(0 function I added a few days ago - - seems the .h and .cpp signatures didn't agree. Must be - Alzheimer's. - -Sat Sep 12 21:54:04 1998 Seth Widoff - - * orbsvcs/orbsvcs/Trader/constraint.l: - * orbsvcs/orbsvcs/Trader/Constraint_l.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Database.cpp: - TAO_Literal_Constraint has constructors that need to distinguish - between CORBA::Long and CORBA::Boolean parameters. When CORBA::B_FALSE - and CORBA::B_TRUE in the TAO_Literal_Constraint constructors were - changed to 0 and 1, they were interpreted as longs and not - booleans. Bad things happened. So I added explicit casts. - -Sat Sep 12 20:42:49 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: Fixed the bugs in - latency and jitter calculation. - - * tests/Cubit/TAO/MT_Cubit/Globals.h : Removed the - TIME_IN_MICROSEC macro as all time calculations are made - uniformly in microseconds. - -Sat Sep 12 18:45:03 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: Guarded the - print_RtiPacket statements with TAO_debug_level > 0 condition. - -Sat Sep 12 18:05:22 1998 Carlos O'Ryan - - * tao/Invocation.cpp: - Added compatibility with ORBs that return a status of - SYSTEM_EXCEPTION, but are actually returning a UserException; - Visibroker does this. - - * tao/encode.cpp: - * tao/decode.cpp: - Fixed decoding and encoding of structures that have object - references as fields. - -Sat Sep 12 16:07:21 1998 Darrell Brunsch - - * TAO-INSTALL.html: Updated the location of the MSVC project - file for IDL Cubit. - -Fri Sep 11 22:28:26 1998 Marina Igorevna Spivak - - * TAO/orbsvcs/tests/Simple_Naming/client.h - * TAO/orbsvcs/tests/Simple_Naming/client.cpp - * TAO/orbsvcs/tests/Simple_Naming/README - Replaced simple test with a set of tests for Naming Service. - -Fri Sep 11 22:08:25 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit: Added my name to the authors in the - header files and also added some comments. - -Fri Sep 11 17:49:31 1998 Jeff Parsons - - * tao/TypeCode.{h,cpp}: - * tao/Any.cpp; - Added an equivalent() function to typecode, similar to equal(), - but disregarding aliases. Changed the extraction operators in - Any to use equivalent() instead of equal(). - -Fri Sep 11 17:29:11 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/Task_Client.{h,cpp} : Replaced the - ACE_timer_t based global_jitter_array with ACE_Unbounded_Set. - -1998-09-11 Pradeep Gore - - * tests/Simple/chat: Added new test program. This simple chat - program was originally a test in ORBacus and should help ORBacus - users to move to TAO and the POA. - -Fri Sep 11 12:14:03 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.cpp : Fixed a memory allocation - error where ior array was allocated before parsing the arguments. - -Thu Sep 10 15:22:16 1998 Carlos O'Ryan - - * TAO_IDL/be_include/be_predefined_type.h: - * TAO_IDL/be/be_predefined_type.cpp: - The repository ID in the TypeCode of a structure containing a - CORBA_Object was invalid. - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - Use CORBA::Object::_duplicate() instead of foo->_duplicate() the - first one is more readable. - - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - An object was stored in a T_var and then as the field of a - structure, resulting in a double delete. - -Tue Sep 08 14:05:56 1998 Irfan Pyarali - - * tests/POA/On_Demand_Activation/run_test.pl: Added a perl script - that makes it easier to run this test. - - * tests/POA/On_Demand_Activation/svc.conf: Removed this file. - - * tests/POA/On_Demand_Activation/server.cpp: Added the ability to - write IORs to files. - - * TAO_IDL/be/be_decl.cpp (compute_repoID): Add the "/" only if - there is a prefix. - -Wed Sep 10 13:14:30 1998 Chris Gill - - * orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java: - cleaned up a couple more inconsistencies with the new - RtecEventComm::Event interface. - -Wed Sep 10 11:48:34 1998 Chris Gill - - * orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.cpp - orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.cpp - orbsvcs/tests/Simulator/Event_Supplier/Event_Con.cpp: - cleaned up remaining inconsistencies with new RtecEventComm::Event - interface. - -Thu Sep 10 09:49:39 1998 David L. Levine - - * tests/Cubit/TAO/IDL_Cubit/run_test.pl: set default - $exepref to '.' . $DIR_SEPARATOR, so that the user - need not have '.' in their PATH. - -Wed Sep 09 22:33:34 1998 Nanbor Wang - - * TAO_IDL/util/utl_global.cpp (IDL_GlobalData): Don't warn about - undefined ACE_ROOT on Win32 at all. It is not used and we don't - use gperf on NT for now. - -Wed Sep 9 15:28:24 1998 Darrell Brunsch - - * tao/Connect.cpp: - * tao/GIOP.cpp: - * tao/Invocation.cpp: - Added ORBdebug functionality to several debug messages - -Wed Sep 9 15:00:16 1998 Jeff Parsons - - * TAO/tests/DynAny_Test/server.dsp: - * TAO/tests/DynAny_Test/client.dsp: - * TAO/tests/DynAny_Test/DynAny_Test.dsw: - * TAO/tests/DynAny_Test/driver.cpp: - * TAO/tests/DynAny_Test/DynAny.idl: - * TAO/tests/DynAny_Test/tckind.idl: - * TAO/tests/DynAny_Test/da_tests.idl: - * TAO/tests/DynAny_Test/DynAny_i.{h,cpp}: - * TAO/tests/DynAny_Test/DynArray_i.{h,cpp}: - * TAO/tests/DynAny_Test/DynStruct_i.{h,cpp}: - * TAO/tests/DynAny_Test/DynEnum_i.{h,cpp}: - * TAO/tests/DynAny_Test/DynUnion_i.{h,cpp}: - * TAO/tests/DynAny_Test/DynSequence_i.{h,cpp}: - All the DynAny stuff so far. DynUnion isn't finished yet. - The client project is just a repository for the idl files - and driver.cpp has nothing in it. IDL-generated files need - to be modified before this will compile. These files have - been committed so Carlos can start moving stuff into TAO - while I work on class assignments and modifications to - TypeCode.cpp and Any.cpp in order to finish DynUnion. - -Wed Sep 9 13:03:20 1998 Darrell Brunsch - - * tao/ORB_Core.cpp: Adapted the behavior to use the new - ACE::debug () instead of sending -d to the Service - Configurator. - -Wed Sep 09 07:01:26 1998 David L. Levine - - * tao/IIOP_Interpreter.cpp (calc_union_attr_is_var_sized_member): - wrapped the unreachable return statement with ACE_NOTREACHED. - - * tests/Cubit/TAO/MT_Cubit/Makefile: fixed dependencies, many - were missing a / after $(ACE_ROOT). - - * TAO_IDL/be/be_interface.cpp (cleanup_gperf_temp_file): added - comment on why we don't delete ss on Linux. - - * BUG-REPORT-FORM,Makefile: added BUG-REPORT-FORM. Thanks - to Susan Liebeskind for the form. - -Tue Sep 8 21:47:46 1998 Darrell Brunsch - - * tests/Simple/grid/Grid_i.cpp: Changed some RANGE_ERRORs - to Grid::RANGE_ERROR to compile on MSVC. - - * tests/Simple/grid/run_test.pl: Some changes with ACE - object, and use lib. - - * tests/Simple/grid/Grid.dsw: - * tests/Simple/grid/client.dsp: - * tests/Simple/grid/server.dsp: - MSVC 5/6 project files. - -Tue Sep 8 21:45:32 1998 Nanbor Wang - - * *.{dsp,dsw}: Updated for VC 6. - -Tue Sep 8 20:34:08 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp : Split the run_tests - and svc method into smaller functions. - - * tests/Cubit/TAO/MT_Cubit/Cubit_Task.h: Moved Cubit_Task class - from server.h to this file. - - * tests/Cubit/TAO/MT_Cubit/client.cpp: Replaced magic numbers with - #defines. Fixed vxWorks errors. - - * tests/Cubit/TAO/MT_Cubit/Globals.h : Added #defines for the - constants. - -Tue Sep 8 17:28:27 1998 Carlos O'Ryan - - * tao/decode.cpp: - * tao/Sequence.i: - The correct way to set the length of the Message_Block inside a - decoded octet sequences is to do it on the decoding code, using - the ::replace() method brings all kind of problems a - crashes. Especially if the sequence is encoded, as in the - $TAO_ROOT/orbsvcs/EC_Custom_Marshal example. Thanks to Dave - Meyer for finding out this problem. - -Tue Sep 08 14:05:56 1998 Irfan Pyarali - - * tao/ORB_Core.cpp (init): Turn on Service_Config debugging only - when debugging != 0. - - * tests/POA/Explicit_Activation/server.cpp (write_iors_to_file): - Added checks to catch potential failures in fprintf. - -Tue Sep 08 16:12:36 1998 David L. Levine - - * TAO_IDL/be/be_interface.cpp (cleanup_gperf_temp_file): - replaced the #ifdef that prevented deletion of ss on linux. - It's not OK without it. - -Tue Sep 8 15:09:14 1998 Carlos O'Ryan - - * tests/Simple/time/run_test.pl: - The waitforfile() function has to be qualified as - ACE::waitforfile(). - -Tue Sep 8 13:55:02 1998 Darrell Brunsch - - * orbsvcs/Naming_Service/Naming_Service.{dsp,dsw}: - Updated for MSVC 6. (dsp was done a slightly different - way than Nanbor did at 10:47. - -Tue Sep 8 12:57:44 1998 Carlos O'Ryan - - * TAO_IDL/be/be_interface.cpp: - The table for perfect hashing of operations did not include the - _non_existent skeleton. - -Tue Sep 08 10:47:49 1998 Nanbor Wang - - * orbsvcs/Event_Service/Event_Service.dsp: - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/Scheduling_Service/Scheduling_Service.dsp: - * orbsvcs/tests/Event_Latency/Event_Latency.dsp: Performed VC 6 - modification. - -Tue Sep 08 07:30:33 1998 David L. Levine - - * TAO_IDL/be/be_interface.cpp (cleanup_gperf_temp_file): - removed the #ifdef that prevented deletion of ss on linux. - It should be OK to delete it now, thanks to the recent - fix provided by Ravi Nagabhyru . - - * tao/POA.cpp: removed explicit ACE_Guard instantiation - because it is now in ace/Message_Block.cpp. - - * tao/IIOP_Interpreter.cpp (calc_union_attr_is_var_sized_member): - wrapped a couple of break statements with ACE_NOTREACHED. - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp (TAO_ECG_UDP_Sender::push): - commented out unused local "count". - - * tests/POA/TIE/Makefile: use ACE_HAS_GNUG_PRE_2_8 to suppress builds - with old g++. - -Mon Sep 7 21:10:06 1998 Balachandran Natarajan - - * tests/Simple/grid: Made some changes to Constructors - -Mon Sep 7 20:39:06 1998 Balachandran Natarajan - * tests/Simple/grid: Added the first implementation of the Grid - example. This example is loosely modeled on the Grid demo that - is distributed with Orbix. - -Mon Sep 7 19:45:15 1998 Seth Benjamin Widoff - - * orbsvcs/Trading_Service/README: - * orbsvcs/tests/Trading/README: - Added README files directing the user to the - docs/releasenotes/trader.html Trading Service documentation. - -Mon Sep 7 19:31:28 1998 Nagarajan Surendran - - * tests/Simple/time/run_test.pl: Added require Process. Changed - ACE::waitforfile to waitforfile. Thanks to Bala for reporting - this. - -Mon Sep 7 10:22:19 1998 Douglas C. Schmidt - - * tests/Cubit/TAO/MT_Cubit: Fixed a bunch of warnings. Thanks to - David Levine for reporting this. - -Mon Sep 07 09:37:07 1998 David L. Levine - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp (TAO_ECG_UDP_Sender::push): - renamed loop index "i" to "b" to avoid shadowing local of the - same name. - -1998-09-07 Torben Worm - - * orbsvcs/tests/Concurrency/CC_client.cpp - Updated to handle missing commandline arguments - -Sun Sep 6 23:06:38 1998 Douglas C. Schmidt - - * TAO_IDL/be/be_decl.cpp, - TAO_IDL/util/utl_global.cpp, - orbsvcs/tests/ImplRepo/ir_implrepo_impl.cpp: - Replaced all uses of ACE_OS::strnew() with ACE::strnew() to - reflect the new changes. - -Sun Sep 6 17:57:16 1998 Darrell Brunsch - - * tests/Simple/time/Client_i.cpp: Changed the use of exceptions in - Client_i::time () to the macros, TAO_TRY, etc. - -Sun Sep 6 14:07:49 1998 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Log/Logger_i.h: Moved to ACE_NEW_THROW macros - that Matt Braun wrote into $ACE_ROOt/ace/OS.h so they can be - accessed by other applications. - -Sun Sep 6 10:34:11 1998 Carlos O'Ryan - - * TAO_IDL/be/be_interface.cpp: - Fixed some memory corruption problems, thanks to Ravi Nagabhyru - for reporting them and providing a - patch. - -Fri Sep 04 20:46:07 1998 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs.dsp: Updated project source file list. - -Fri Sep 4 18:46:10 1998 Carlos O'Ryan - - * tests/Thruput/TAO/ttcp_i.cpp: - The use of iostream.h was removed, thanks to John Mulhern - <9107@mn3.lawson.lawson.com> for reporting this. - - * TAO_IDL/Makefile: - * TAO_IDL/fe/idl.yy: - * TAO_IDL/fe/y.tab.cpp: - * TAO_IDL/fe/y.tab.cpp.diff: - Fixed problems for HP-UX 11, thanks to John Mulhern - <9107@mn3.lawson.lawson.com> for reporting this. - -Fri Sep 4 17:10:36 1998 Douglas C. Schmidt - - * utils/catior/catior.cpp (catior): Removed a check for "if (tmp - [0] && !isspace (tmp [0]))" since not all ORBs encode IORs - consistently. Thanks to Jeff Hopper for reporting this. - - * utils/catior/foo/catior.cpp (main): Added a fix for IORs with - embedded '\0' characters. Thanks to Jeff Hopper - for this. - -Fri Sep 4 16:44:19 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/RtecUDPAdmin.idl: - * orbsvcs/orbsvcs/RtecEventChannelAdmin.idl: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * orbsvcs/orbsvcs/Event/EC_UDP_Admin.h: - * orbsvcs/orbsvcs/Event/EC_UDP_Admin.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.h: - * orbsvcs/tests/EC_Mcast/EC_Mcast.i: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - * orbsvcs/tests/EC_Mcast/sample.cfg: - * orbsvcs/tests/EC_Mcast/README: - New implementation of the EC_Mcast test, the test can now handle - multiple processes, each process joins several multicast groups - and push events to a (potentially different) set of multicast - groups. Since the configuration is more complicated a sample - file is included. - The test is prepared to support several interesting features, - such as: - + Dynamic changes in the multicast group joined. - + Handle OS limitations wrt the maximum number of mcast groups - per socket. - + Support different mappings for the type->mcast group - relation (currently the event type *is* the multicast - group). - The current implementation also offers the initial interfaces to - observe changes in the subcription and/or publication list of a - *remote* event channel, this will enable the automation and - optimization of the local publication list (there is no sense in - sending an event if nobody is currently interested). - - * orbsvcs/orbsvcs/Event_Utilities.cpp: - * orbsvcs/orbsvcs/Event_Utilities.i: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.i: - * orbsvcs/orbsvcs/RtecEventComm.idl: - * orbsvcs/orbsvcs/Event/EC_Gateway.h: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.cpp: - Added a new IDL structure to represent the Event Header, this - will let us factor out the minimum information needed to - transmit QoS and subscription/publication info. - I also normalized some of the field names in the RtecEventComm - structures. - -Fri Sep 4 16:22:17 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/Globals.{h,cpp}: Added macro VX_VME_INIT - for the VME initialization code in VXWORKS. Added a - MT_priority class that is used by both the client and server - side for determining the thread priorities. - - * tests/Cubit/TAO/MT_Cubit/server.{h,cpp}: cleaned up the #ifdefs - using the new ACE_DEBUG with %A for ACE_timer_t and other macros. - Thanx to Nanbor for implementing the %A option in ACE_DEBUG. - - * tests/Cubit/TAO/MT_Cubit/client.{h,cpp}: Modularized the code. - Defining a Client_i helper class. Moved all the static functions to - this class. Clenaed up the #ifdefs using the new ACE_DEBUG support. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.{h,cpp}: cleaned the #ifdefs. - - * tests/Cubit/TAO/MT_Cubit/Timer.{h,cpp}: Changed the double to - ACE_timer_t. Defines a class MT_Cubit_Timer which uses pccTimer - for CHORUS and ACE_High_Res_Timer for other platforms. - -Fri Sep 4 14:20:28 1998 Jeff Parsons - - * tao/Any.cpp: - Slight modification to the constructor-from-cdr. Since this - constructor sets any_owns_data, the value_ should be set to - 0, because the destructor deals only with the cdr for anys - that own their data. - -Fri Sep 04 14:10:28 1998 Nanbor Wang - - * tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp (run): Re-enable - cube_rti_data test. - -Fri Sep 4 14:35:58 1998 Aniruddha Gokhale - - * tao/IIOP_Interpreter.{h, cpp}: - - Added a new static method called - "calc_union_attr_is_var_sized_member". - - It turns out that since variable sized data typed become pointer - variables inside the C++ mapping of union members, the "size" - calculation in IIOP_Interpreter.cpp (calc_union_attributes) was - completely wrong. In addition, it did not take into the account - the size of the vtable. This is necessary since our C++ union - mapping is a class that derives from the TAO_Base_Union class. - - This code has been verified to work on the Cubit example for the - RTI test which was previously failing. - -Fri Sep 04 13:25:58 1998 David L. Levine - - * orbsvcs/Scheduling_Service/Makefile, - orbsvcs/Event_Service/Makefile, - orbsvcs/Dump_Schedule/Makefile, - orbsvcs/LifeCycle_Service/Makefile, - orbsvcs/Logging_Service/Makefile, - orbsvcs/tests/Logger/Makefile, - orbsvcs/tests/Event_Latency/Makefile, - orbsvcs/tests/EC_Multiple/Makefile, - orbsvcs/tests/EC_Throughput/Makefile, - orbsvcs/tests/EC_Mcast/Makefile, - orbsvcs/tests/EC_Custom_Marshal/Makefile, - tests/Quoter/Makefile: - removed VBIN definition, now that it's in wrapper_macros.GNU. - -Fri Sep 4 12:54:58 1998 Matthew J Braun - - * orbsvcs/Naming_Service/Naming_Service.cpp: Parse-args was not - recognizing the "-d" argument to set the debug level. Fixed. - -Fri Sep 04 02:37:05 1998 Irfan Pyarali - - * tests/POA/Explicit_Activation/: - tests/POA/Generic_Servant/: - - Added the ability to read and write IORs from files. Also, - added a perl script. - -Fri Sep 04 02:17:43 1998 Douglas C. Schmidt - - * TAO version 0.2.9 released. - -Thu Sep 03 23:06:35 1998 Nanbor Wang - - * tests/Param_Test/driver.{h,cpp}: Stop instantiating Driver class - as a singleton object. Instead, put it in main's local stack. - This was causing trouble because we used the singleton Driver to - initialize the ORB, which in turn, instantiated TAO_ORB_Core by - creating a TSS_Singleton object of it and then initialized it. - What this implies is TAO_ORB_Core would get removed from - Object_Manager's cleanup stack before Driver. Since Driver - contains an ORB_var, it needs to access TAO_ORB_Core when - removing the ORB. The result is ORB destructor ended up using - an newly created but uninitialized ORB_Core to perform the - shutdown. - -Thu Sep 3 22:52:39 1998 Carlos O'Ryan - - * utils/catior/catior.cpp: - Fixed off-by-one problem in the substring extraction. - -Thu Sep 3 20:49:13 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/server.cpp: Removed some warnings about - signed with unsigned comparisons. - -Thu Sep 03 18:57:47 1998 David L. Levine - - * orbsvcs/tests/start_services: removed -ORBobjrefstyle url - from Naming_Service startup. It caused interoperability problems - with VisiBroker java when running Simulator/DOVEBrowser. - - * tests/POA/TIE/Makefile: fixed g++ exclusion to work in - with nested makes, by specifying all, clean, and realclean - targets. Also, enhanced the g++ check so that it allows - egcs (and g++ 2.8.x) to build this module. - -Thu Sep 3 16:22:54 1998 Alexander Babu Arulanthu - - * TAO_IDL/util/utl_global.cpp: - * TAO_IDL/driver/drv_args.cpp: Fixed the case where ACE_ROOT is not - set. OpLookup strategy changes over to Dynamic Hash. - -Thu Sep 3 15:52:33 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp: Fixed g++ warnings. - -Thu Sep 03 14:00:47 1998 Nanbor Wang - - * tests/Cubit/TAO/MT_Cubit/MT_Cubit.dsw: - * tests/Cubit/TAO/MT_Cubit/{client,server}.dsp: Updated project - settings. - - * tests/Cubit/TAO/MT_Cubit/server.cpp: Removed an unused local - variable. - -Thu Sep 3 13:36:36 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/Timer.cpp: Fixed syntax errors that - appeared with VxWorks. - - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: Fixed some warnings - and cleaned up some code. - -Thu Sep 3 13:22:08 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - Split the huge functions into smaller functions. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.h: - Added MACROS for quantify calls. - - * tests/Cubit/TAO/MT_Cubit/Timer.{h,cpp}: - A class that abstracts the timer over pcctimer for Chorus - platforms and uses ACE_Timer for other platforms. - - * tests/Cubit/TAO/MT_Cubit/Cubit_i.{h,cpp}: - Added an ORB member so that shutdown is done using that - instead of TAO_ORB_Core_instance. - -Thu Sep 03 10:36:07 1998 David L. Levine - - * orbsvcs/tests/EC_Mcast/Makefile: added VBIN definition so that - the Makefile will work again. This was supposed to have been - done in my Tue Aug 25 11:11:54 1998 change, but wasn't. Thanks - to Carlos for finding it. - -Wed Sep 2 22:50:30 1998 Douglas C. Schmidt - - * utils/catior/catior.cpp (catpoop): Fixed an unused variable - warning. Thanks to David Levine for reporting this. - -Wed Sep 02 21:12:40 1998 Douglas C. Schmidt - - * TAO version 0.2.8 released. - -Wed Sep 2 19:24:24 1998 Carlos O'Ryan - - * tao/Sequence.i: - * tao/Sequence.cpp: - Another method made inline (::replace()) to workaround a bug in - Sun/CC on Solaris 2.6. Thanks to Don Davis - for reporting this and providing a fix! - - * tao/POA.cpp: - Added some missing template instantiations. - -Wed Sep 2 18:59:22 1998 Alexander Babu Arulanthu - - * TAO_IDL/driver/drv_args.cpp : Updated the print statements to - include the recent command line options. - -Wed Sep 2 18:16:32 1998 Carlos O'Ryan - - * orbsvcs/Trading_Service/Trading_Service.cpp: - Removed some TAO_HAS_OBJECT_IN_STRUCT_MARSHAL_BUG uses. - -Wed Sep 02 16:59:56 1998 Douglas C. Schmidt - - * TAO version 0.2.7 released. - -Wed Sep 2 14:48:11 1998 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Log/Logger_i.cpp (make_logger): Removed all - vestiges of the exception specification. - - * TAO/utils/catior: Integrated Jeff Hopper's new version of his - "catior" program, which now parses Orbix "POOP" object - references. Made a few minor syntax changes, as well. - - * TAO/orbsvcs/Logger.idl, - TAO/orbsvcs/orbsvcs/Log/Logger_i: Added some minor fixes to get - rid of the special-purpose exception and use system exceptions. - -Wed Sep 2 14:30:46 1998 Darrell Brunsch - - * tests/Param_Test/Param_Test.dsw: - * tests/Param_Test/client.dsp: - * tests/Param_Test/server.dsp: - Updated to use new filenames for TAO_IDL generated files - and also updated to MSVC 6. - - * tests/Param_Test/ub_objref_seq.cpp: - Fixed warnings on MSVC 6 -- an extra semicolon after a - TAO_CATCHANY and a return 0 needed at the end of a method. - -Wed Sep 2 14:28:54 1998 Carlos O'Ryan - - * tao/Sequence.i: - The replace() method that use a Message_Block was setting the - length of the sequence but not of the message block, this was at - the very least confusing. Thanks to Dave Meyer - for reporting this problem and testing the - fix. - -Wed Sep 2 11:38:35 1998 Matthew J Braun - - * orbsvcs/tests/Logger/Logging_Test_i.cpp: Now checks for the - new exceptions thrown by make_logger - - * orbsvcs/orbsvcs/Log/Logger_i.{h,cpp}: - Logger_Factory_i::make_logger now checks the results of binding - entries into the hash_map_manager and throws exceptions if that - or new fails. Added new macros to Logger_i.h for eventual - incorporation into OS.h. - -Wed Sep 2 09:37:42 1998 Carlos O'Ryan - - * tao/Environment.cpp: - The exception() modifier was trying to _raise() the new - exception even if it was 0. Thanks to J. Russell Noseworthy - for reporting this problem. - -Tue Sep 01 21:45:05 1998 David L. Levine - - * orbsvcs/tests/EC_Multiple: added VBIN so that the executable - will be built when only shared libs are built. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: replaced a bunch of - static casts with ACE_U64_TO_U32 so that it will compile on - platforms that don't have native 64-bit ints. - -Tue Sep 1 19:57:46 1998 Darrell Brunsch - - * tests/Simple/Time/Time.dsw: - * tests/Simple/Time/client.dsp: - * tests/Simple/Time/client_static.dsp: - * tests/Simple/Time/server.dsp: - * tests/Simple/Time/server_static.dsp: - * tests/Cubit/TAO/IDL_Cubit/IDL_Cubit.dsw: - * tests/Cubit/TAO/IDL_Cubit/client.dsp: - * tests/Cubit/TAO/IDL_Cubit/server.dsp: - * tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp: - Updated for MSVC 6. - - * tests/Cubit/TAO/IDL_Cubit/run_test.pl: - Fixed a problem on NT with ACE_ROOT and updated it to use all - the stuff I learned about Perl since the last time I was here. - -Tue Sep 01 19:28:28 1998 Irfan Pyarali - - * tests/POA/Generic_Servant/client.cpp and - tests/POA/TIE/client.cpp (main): Fixed incorrect test condition. - -Tue Sep 1 19:06:44 1998 Alexander Babu Arulanthu - - * TAO_IDL/util/utl_global.cpp : Fixed "strdup + delete" - bug!!! Replaced the strdup's with ACE_OS::strnew. Thanks to Darrell - for pointing this out. - -Tue Sep 1 16:29:30 1998 Carlos O'Ryan - - * tao/Exception.h: - * tao/Exception.cpp: - CORBA_SystemException shoul be a concrete class. Thanks to Tom - Dobridge for pointing this out. - - * tao/default_server.h: - * tao/default_server.cpp: - Added new default creation strategy for Server side connection - handlers. This reduces the number of calls to - ORB_Core_instance() a notch. - - * tao/Makefile: - Updated dependencies. - -Tue Sep 1 10:43:24 1998 Douglas C. Schmidt - - * utils/catior/catior.cpp: Replaced the use of - CORBA::B_{TRUE,FALSE} with 1 and 0 to be compatible with the - CORBA spec. - -Tue Sep 1 09:37:01 1998 Douglas C. Schmidt - - * utils/catior/catior.cpp (main): Fixed a minor printing bug - -- a loop wasn't breaking out when '\n' or EOF was reached... - - * utils/catior: Added several new tests for Jeff Hopper's catior - program, as well as a new version of his program. Thanks Jeff. - -Mon Aug 31 18:08:10 1998 Darrell Brunsch - - * TAO-INSTALL.html: Now mentions the perl scripts (run_test.pl) - that we use, and the versions of perl that we work with. - -Mon Aug 31 13:44:27 1998 Douglas C. Schmidt - - * orbsvcs/Naming_Service/Naming_Service.cpp (main): Renamed the - class TAO_Naming_Service to be more specific... - -Mon Aug 31 15:22:42 1998 Darrell Brunsch - - * TAOACE.dsw: - * TAOACE_Static.dsw: - * tao/TAO.dsw: - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - * TAO_IDL/tao_idl.dsw: - * TAO_IDL/tao_idl.dsp: - * TAO_IDL/tao_idl_static.dsp: - Updated for MSVC 6. - -Mon Aug 31 07:50:23 1998 David L. Levine - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp (dump_schedule): - ooops, the 64-to-32 bit cast had to be const. - -Sun Aug 30 22:17:06 1998 David L. Levine - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp (dump_schedule): - orbsvcs/orbsvcs/Sched/DynSched.cpp: - explicitly convert 64 bit RtecScheduler::Times to - 32 bits with ACE_U64_TO_U32 in ACE_OS::fprintf () call. - -Sun Aug 30 15:11:37 1998 Carlos O'Ryan - - * tests/Cubit/TAO/IDL_Cubit/Makefile: - * tests/Param_Test/Makefile: - * tests/NestedUpcall/Reactor/Makefile: - * tests/Simple/time/Makefile: - Updated dependencies. - - * utils/Makefile: - Fixed the directory name for IorParser (again). - -Sun Aug 30 01:57:51 1998 Irfan Pyarali - - * tao/GIOP.cpp (recv_request): Fixed type mismatch. - -Sat Aug 29 23:23:32 1998 Irfan Pyarali - - * tao/GIOP.cpp (close_connection): We realized that use of - CORBA::B_TRUE and CORBA::B_FALSE is not standard. Therefore, we - have deprecated CORBA::B_TRUE and CORBA::B_FALSE. The - replacements are 1 and 0 respectively. This script will help in - the conversion: - - http://www.cs.wustl.edu/~schmidt/ACE_wrappers/bin/corba-boolean.perl - -Sat Aug 29 20:58:08 1998 Carlos O'Ryan - - * tao/Connect.h: - * tao/Connect.i: - * tao/Connect.cpp: - * tao/GIOP.h: - * tao/GIOP.cpp: - * tao/Invocation.h: - * tao/Invocation.cpp: - * tao/Server_Request.h: - * tao/Server_Request.i: - * tao/Server_Request.cpp: - * tao/params.h: - * tao/params.i: - * tao/params.cpp: - Added support for a modified version of IIOP that tries to - minimize overhead in the case of a totally homogeneous system, - for instance: - + It removes the GIOP magic number - + It does not include a protocol version on the header. - + It does not include a byte order on the header. - + It does not include a Service Context or a Principal on the - Requests. - This protocol can be activated by using the -ORBiioplite - option. - Another round trying to minimize calls to the - ORB_Core_instance() function; in general we try to keep the - pointer during the upcalls and downcalls. - - * tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - Run the onewau test at the end, otherwise it fills up the pipe - to the server, and the next test gives bad results. - - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp: - Added option to let the user pick the scheduler. Thanks to Dave - Meyer for giving us this patch. - -Sat Aug 29 20:29:53 1998 Nanbor Wang - - * tao/ORB_Core.cpp (TAO_Resource_Factory): Changed - use_lock_freed_reactor_ and its access function to - reactor_lock_. Also declare new enum TAO_NULL_LOCK and - TAO_TOKEN to specify the type of lock to use with - Select_Reactor. - -Sat Aug 29 18:56:06 1998 Irfan Pyarali - - * tests/POA/TIE: Change Foo to A, B, and C. Hopefully g++ can - gork this. - -Sat Aug 29 12:40:56 1998 Carlos O'Ryan - - * tests/POA/TIE/client.cpp: - * tests/POA/TIE/server.cpp: - Added missing template instantiations. - - * tests/POA/Forwarding/MyFooServant.cpp: - A call to is_nil() using a T_var was missing the .in () - invocation. - - * tests/POA/Makefile: - Fixed order. Thanks to David for reporting this problems. - -Sat Aug 29 09:15:02 1998 David L. Levine - - * utils/catior/catior.cpp (iiop_string_to_object): commented out - because it's currently unused. (main): commented out unused local - "orb_ptr". - - * TAO_IDL/be/be_interface.cpp (cleanup_gperf_temp_file): - don't delete ss on linux. It causes a core dump on - RedHat 5.1/Intel. Thanks to James CE Johnson - for reporting this. Also, at James' suggestion, removed - check for ss being 0 before deleting it. - -Fri Aug 28 19:43:36 1998 Nanbor Wang - - * tao/orbconf.h (TAO_DEFAULT_RESOURCE_FACTORY_ARGS): Added - "-ORBreactorlock null" as default resource factory args on - platforms that require "fake_service_entries." Notice that this - options should not be used thread-per-connection concurrency - strategy. - -Fri Aug 28 17:57:34 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h: - Moved some declarations out of the private section of - TAO_Preference_Interpreter because that made some IRIX compilers - really mad. Thanks to Margherita Vittone Wiersma - for reporting this problem. - -Fri Aug 28 13:49:10 1998 Alexander Babu Arulanthu - - * rules.tao.GNU (TAO_IDL): Added suffixes Ser.* and Cli.* in - addition to the S.* and C.* to the set of the IDL generated - files. - -Fri Aug 28 12:25:36 1998 Darrell Brunsch - - * utils/IorParser/ior-handler.[h,cpp]: Fixed some struct/class - discrepancies and returning refs to a local variable error. - - * utils/IorParser/IOR_Parser.[dsp,dsw]: Added these submitted - project files from Lothar Werzinger . - (with a few small modifications to make them ACE/TAO-like) - -Fri Aug 28 11:19:04 1998 David L. Levine - - * tao/Sequence.{i,cpp} (TAO_String_Manager::out): - uninlined to avoid use before definition. It calls - CORBA::string_free (), which is defined in tao/ORB.i. - That file is included after Sequence.i: - - tao/corba.h - [...] - tao/ORB.h - tao/corba.h - tao/Sequence.h - tao/Sequence.i <==== called CORBA::string_free () - tao/Sequence_T.h - tao/Sequence_T.i - tao/Sequence_T.cpp - tao/Sequence_T.h - tao/Object_KeyC.h - tao/Object_KeyC.i - tao/Union.h - tao/ORB.i <==== CORBA::string_free () defined here - - Thanks to Carlos for suggesting the fix. - - * utils/Ior-Parser/ior-handler.cpp (interpretIor): removed - unused local "nullOctet". - - * tests/POA/Forwarding/Servant_Locator.cpp (MyFooServantLocator ctor): - reordered initializers to match declaration order. - -Fri Aug 28 02:45:36 1998 Irfan Pyarali - - * tests/POA/TIE/client.cpp (run_test): Fixed the use of explicit - template functions so that this test can work with the CC - compiler. - -Thu Aug 27 21:48:48 1998 Nanbor Wang - - * docs/Options.html: - * tao/ORB_Core.cpp (parse_args): Renamed the option - -ORBlockfreedreactor of Resource_Factory to -ORBreactorlock. - Valid options become "null"/"token". Default is "token". - -Thu Aug 27 20:09:41 1998 Carlos O'Ryan - - * tao/IIOP_Interpreter.h: - The TAO_attribute_calculator typedef had a default value. This - is illegal. Thanks to John Mulhern for pointing this out. - -Thu Aug 27 20:01:55 1998 Douglas C. Schmidt - - * utils/IOR-parser: Added a number of enhancements from Priya - Narasimhan and cleaned up the code a - bit more to make it more ACE/TAO-like! - -Thu Aug 27 17:52:38 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_operation/tie_si.cpp: - * TAO_IDL/be/be_visitor_interface/tie_si.cpp: - * TAO_IDL/be/be_visitor_operation/arglist.cpp: - The destructor for the _tie classes was trying to release an - object of type POA_var; there is no need to do that. - -Thu Aug 27 17:20:07 1998 Alexander Babu Arulanthu - - * tests/Param_Test/: - Modified the Makefiles and the following source files to - have the IDL-compiler-generated stubs to have "Ser.h" & - "Ser.cpp" suffixes and the skeletons to have "Cli.h" & - "Cli.cpp". Just an example to show the newly added IDL - compiler options for optional file name endings. - - Modified Files: - Makefile any.h bd_long_seq.h bd_short_seq.h bd_str_seq.h - bd_string.h bd_struct_seq.h client.dsp client.h except.h - fixed_array.h fixed_struct.h helper.h nested_struct.h objref.h - objref_struct.h param_test_i.h server.dsp short.h tmplinst.cpp - typecode.h ub_any_seq.h ub_long_seq.h ub_objref_seq.h - ub_short_seq.h ub_str_seq.h ub_string.h ub_struct_seq.h - ulonglong.h var_array.h var_struct.h - -Thu Aug 27 17:20:00 1998 Douglas C. Schmidt - - * tests/POA/Makefile (DIRS): Added TIE and Forwarding to the list - of directories that are built and tested. - -Thu Aug 27 15:41:44 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/client.cpp: Deleted some unnecessary - ACE_DEBUG statements. Cleaned up code. - -Thu Aug 27 12:38:20 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: - Fixed some problems in the generated code; the counter was - compared to 0 and not the sequence length. - - * TAO_IDL/be/*/*.cpp: - Removed tons of warnings due to unused variables. - -Thu Aug 27 12:23:37 1998 Carlos O'Ryan - - * Makefile: - * utils/Makefile: - Added a Makefile for the utils directory. - - * utils/catior/catior.cpp: - Fixed some problems with EGCS and the new scope rules in for() - loops. - - * utils/IorParser/ior-handler.h: - * utils/IorParser/ior-handler.cpp: - Removed a hardcoded ASCII code (yikes!) and moved some buffers - to the class, so we don't return local variables (re-yikes!), - using a fixed size buffer looks like a bad idea also; but I'm - not going there yet. - - * tao/Environment.cpp: - Fixed the initialization for the first default environment. - -Thu Aug 27 11:55:29 1998 Douglas C. Schmidt - - * utils/IOR-parser/ior-handler.cpp (hexChar2int): Added a return 0 - to make the compiler happy. Thanks to Lothar Werzinger - for reporting this. - -Thu Aug 27 09:55:31 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/Task_Client.{h,cpp}: changed argc_ from - int to u_int so to avoid g++ compiler warning. - - * tests/Cubit/TAO/MT_Cubit/client.cpp: added - ACE_Singleton instantiation. - - * orbsvcs/tests/Simulator/DOVEBrowser/Makefile: - change all _long to long in Visibroker 3.2 idl2java output. - _long doesn't seem to be defined anywhere, so compilation - of java output with it fails. - - * orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java: - added required fields to EventData constructor call. - -Thu Aug 27 07:59:18 1998 Aniruddha Gokhale - - * TAO_IDL/Makefile: - - Added dependencies and targets to build the C++ keywords lookup - table using GPERF generated perfect hash functions. - - Also, redid "make depend". - - * TAO_IDL/be/be_array.cpp: - TAO_IDL/be/be_interface.cpp: - TAO_IDL/be/be_interface_fwd.cpp: - TAO_IDL/be/be_structure.cpp: - TAO_IDL/be/be_union.cpp: - TAO_IDL/be_visitor_sequence/sequence_ch.cpp: - TAO_IDL/be_visitor_sequence/sequence_ci.cpp: - - The _out class' copy constructor and assignment operator (from a - _out) now use the "const" parameter. The CORBA v2.2 spec has a - flaw in which it does not specify the "const"ness. Without the - "const" keyword, however, we were getting warnings/errors from - the C++ compilers because they were trying to create - temporaries. To circumvent these warnings/errors, we were until - now instantiating variables of the _out class. According to the - spec, however, the _out types are to be used only in the - signatures. The above fix will make everything CORBA - compliant. The spec will also be fixed regarding the - "const" keyword. - - In addition, as per Carlos's instructions, since the private - data member (ptr_) is not a const, we have to use the - "ACE_const_cast" macro to cast away the "const"ness. - - * The first step towards supporting compiled marshaling stubs and - skeletons. At this time, we generate the CDR << and >> operators - for different IDL data types. Unions still need to be - handled. They do not do anything at time. - - *NOTE* CDR operators are defined in the global scope just as the - Any <<=, >>= operators are. At this time, both the Any operators - as well as the CDR operators are defined. As a policy decision, - this is going to be the default case. Users who choose to use the - compiled marshaling approach and do not want the excess code for - the Any operators and the TypeCodes will be required to use a - "disable" flag. This is still TO-DO. - - Affected files and new entries are shown below: - - TAO_IDL/be_include/be_decl.h - TAO_IDL/be/be_decl.cpp: - - Accesors and mutators that check if the CDR <<, >> operators - for a given IDL type have been generated or not. Once - generated, the mutator sets a boolean value to TRUE and the - accessor prevents multiple declaration/definition. - - TAO_IDL/be_include/be_codegen.h - TAO_IDL/be/be_codegen.cpp: - - Added a number of code generation states for the generation of - CDR operators for various types. - - In addition, we define a new enumeration indicating the sub - state during the CDR operator code generation. These sub - states are necessary to prevent explosion of visitors. For - example, consider generation of the CDR operators for - interfaces or structures. The three possible substates are (1) - generating the << (output) operator, (2) generating the >> - (input) operators, and (3) generating code for the elements - defined in that scope. - - TAO_IDL/be_include/be_visitor_context.h: - TAO_IDL/be/be_visitor_context.cpp: - - Maintain the code generation substate required for the CDR - operators and provide accesor/mutator for it. - - TAO_IDL/be_include/be_visitor_array/{cdr_op_ch, cdr_op_cs}.h: - TAO_IDL/be/be_visitor_array/{cdr_op_ch, cdr_op_cs}.cpp: - TAO_IDL/be_include/be_visitor_array.h: - TAO_IDL/be/be_visitor_array.cpp: - - New visitors for generation of CDR operators for - arrays. Included the newly added files to the top level - be_visitor_array.{h,cpp} files. - - TAO_IDL/be_include/be_visitor_enum/{cdr_op_ch, cdr_op_cs}.h: - TAO_IDL/be/be_visitor_enum/{cdr_op_ch, cdr_op_cs}.cpp: - TAO_IDL/be_include/be_visitor_enum.h: - TAO_IDL/be/be_visitor_enum.cpp: - - New visitors for generation of CDR operators for - enums. Included the newly added files to the top level - be_visitor_enum.{h,cpp} files. - - TAO_IDL/be_include/be_visitor_exception/{cdr_op_ch, cdr_op_cs}.h: - TAO_IDL/be/be_visitor_exception/{cdr_op_ch, cdr_op_cs}.cpp: - TAO_IDL/be_include/be_visitor_exception.h: - TAO_IDL/be/be_visitor_exception.cpp: - - New visitors for generation of CDR operators for - exceptions. Included the newly added files to the top level - be_visitor_exception.{h,cpp} files. - - TAO_IDL/be_visitor_exception/exception.cpp: - - In the event that we are generating code for the CDR operators - the types defined in our scope, the appropriate visitors for - the "field" node are grabbed here. - - TAO_IDL/be_include/be_visitor_field/{cdr_op_ch, cdr_op_cs}.h: - TAO_IDL/be/be_visitor_field/{cdr_op_ch, cdr_op_cs}.cpp: - TAO_IDL/be_include/be_visitor_field.h: - TAO_IDL/be/be_visitor_field.cpp: - - New visitors for generation of CDR operators for - fields. Included the newly added files to the top level - be_visitor_field.{h,cpp} files. - - TAO_IDL/be_include/be_visitor_interface/{cdr_op_ch, cdr_op_cs}.h: - TAO_IDL/be/be_visitor_interface/{cdr_op_ch, cdr_op_cs}.cpp: - TAO_IDL/be_include/be_visitor_interface.h: - TAO_IDL/be/be_visitor_interface.cpp: - - New visitors for generation of CDR operators for - Interfaces. Included the newly added files to the top level - be_visitor_interface.{h,cpp} files. - - TAO_IDL/be_visitor_interface/interface.cpp: - - In the event that we are generating code for the CDR operators - for the types defined in our scope, the appropriate visitors - for the nodes in our scope are grabbed here. - - TAO_IDL/be_include/be_visitor_module/cdr_op.h: - TAO_IDL/be/be_visitor_module/cdr_op.cpp: - TAO_IDL/be_include/be_visitor_module.h: - TAO_IDL/be/be_visitor_module.cpp: - - New visitors for generation of CDR operators for - elements of the Module scope. Included the newly added files - to the top level be_visitor_module.{h,cpp} files. - - TAO_IDL/be_visitor_module/module.cpp: - - In the event that we are generating code for the CDR operators - for the types defined in our scope, the appropriate visitors - for the nodes in our scope are grabbed here. - - TAO_IDL/be_include/be_visitor_root/cdr_op.h: - TAO_IDL/be/be_visitor_root/cdr_op.cpp: - TAO_IDL/be_include/be_visitor_root.h: - TAO_IDL/be/be_visitor_root.cpp: - - New visitors for generation of CDR operators for - elements of the Module scope. Included the newly added files - to the top level be_visitor_module.{h,cpp} files. - - TAO_IDL/be_visitor_operation/arglist.cpp: - - Cosmetic changes to get the indentation right. - - TAO_IDL/be_visitor_root/root.cpp: - - In the event that we are generating code for the CDR operators - for the types defined in our scope, the appropriate visitors - for the nodes in our scope are grabbed here. - - In addition, we invoke generation of the CDR operators at the - very end i.e., in the global scope, just after all the Any - operators are generated. - - TAO_IDL/be_include/be_visitor_sequence/{cdr_op_ch, cdr_op_cs}.h: - TAO_IDL/be/be_visitor_sequence/{cdr_op_ch, cdr_op_cs}.cpp: - TAO_IDL/be_include/be_visitor_sequence.h: - TAO_IDL/be/be_visitor_sequence.cpp: - - New visitors for generation of CDR operators for - sequences. Included the newly added files to the top level - be_visitor_sequences.{h,cpp} files. Code generated for the - sequences of primitive types uses TAO's internal, optimized - CDR functions. - - TAO_IDL/be/be_visitor_sequence/gen_object_manager_ch.cpp: - - Generate the in (), inout (), out (), and _retn () methods for - the object manager class. These are required in the CDR - operators for sequences of object references. - - TAO_IDL/be_include/be_visitor_structure/{cdr_op_ch, cdr_op_cs}.h: - TAO_IDL/be/be_visitor_structure/{cdr_op_ch, cdr_op_cs}.cpp: - TAO_IDL/be_include/be_visitor_structure.h: - TAO_IDL/be/be_visitor_structure.cpp: - - New visitors for generation of CDR operators for - structures. Included the newly added files to the top level - be_visitor_structure.{h,cpp} files. - - TAO_IDL/be_visitor_structure/structure.cpp: - - In the event that we are generating code for the CDR operators - for the types defined in our scope, the appropriate visitors - for the field nodes in our scope are grabbed here. - - TAO_IDL/be_include/be_visitor_typedef/{cdr_op_ch, cdr_op_cs}.h: - TAO_IDL/be/be_visitor_typedef/{cdr_op_ch, cdr_op_cs}.cpp: - TAO_IDL/be_include/be_visitor_typedef.h: - TAO_IDL/be/be_visitor_typedef.cpp: - - New visitors for generation of CDR operators for - typedefs. Included the newly added files to the top level - be_visitor_typedef.{h,cpp} files. - - TAO_IDL/be_include/be_visitor_union/{cdr_op_ch, cdr_op_cs}.h: - TAO_IDL/be/be_visitor_union/{cdr_op_ch, cdr_op_cs}.cpp: - TAO_IDL/be_include/be_visitor_union.h: - TAO_IDL/be/be_visitor_union.cpp: - - New visitors for generation of CDR operators for - unions. Included the newly added files to the top level - be_visitor_union.{h,cpp} files. - - TAO_IDL/be_include/be_visitor_union_branch/{cdr_op_ch, cdr_op_cs}.h: - TAO_IDL/be/be_visitor_union_branch/{cdr_op_ch, cdr_op_cs}.cpp: - TAO_IDL/be_include/be_visitor_union_branch.h: - TAO_IDL/be/be_visitor_union_branch.cpp: - - New visitors for generation of CDR operators for - union_branchs. Included the newly added files to the top level - be_visitor_union_branch.{h,cpp} files. - - TAO_IDL/be/be_interpretive.cpp: - - Return the appropriate visitors for the newly defined CDR - states. *NOTE* these should really go into a "be_compiled.cpp" - file. However, all the elegant patterns will be added in the - next attempt. - - * TAO_IDL/fe/idl.ll: - TAO_IDL/fe/lex.yy.cpp: - TAO_IDL/fe/fe_lookup.cpp: - TAO_IDL/fe/keywords.dat: - TAO_IDL/be_include/fe_private.h: - - Added code to handle C++ keywords. We now use ACE's GPERF - generated perfect hash functions for keyword lookup. The - fe_private.h file defines an entry for the lookup table used - by the lexical analyzer (scanner). When the scanner comes - across an identifier, it first checks if this identifier is a - C++ keyword or not. If it is, then according to the C++ - mapping, a new identifier with a _cxx_ prepended to the C++ - keyword is generated. The keywords.dat file maintains the - GPERF input file of C++ keywords. The fe_lookup.cpp is the - file generated by GPERF with some additional ACE-specific - include files. This file is not to be regenerated everytime. - - * tao/CDR.{h, i}: - - Added << and >> operators for CORBA::Object, CORBA::TypeCode, - and CORBA::Any. - - * tao/Environment.h: - - Cosmetic changes to adhere to the ACE programming style. - - * tao/Sequence.h: - tao/Sequence.i: - tao/Sequence_T.h: - tao/Sequence_T.cpp: - - Added the in (), inout (), out (), and _retn () methods for the - String and Object manager classes. These are necessary for the - CDR operators for sequences of strings and object references. - - * tao/corba.h: - - Added new macros called TAO_THROW_ENV and TAO_THROW_ENV_RETURN - that allow us to specify our own environment variable rather - than getting tied to the _env variable. - - Moved the #include "singletons.h" earlier. - -Thu Aug 27 01:22:53 1998 Irfan Pyarali - - * tests/POA/Explicit_Activation/alternate.conf: - * tests/POA/Explicit_Activation/Alternate_Resource_Factory/Resource_Factory.cpp: - tests/POA/Explicit_Activation/Alternate_Resource_Factory/Resource_Factory.h: - tests/POA/Explicit_Activation/Alternate_Resource_Factory/Alt_Resource_Factory.h: - - Fixed Nanbor's changes. - -Wed Aug 26 23:57:09 1998 Douglas C. Schmidt - - * TAO version 0.2.6 released. - -Wed Aug 26 22:29:51 1998 Nanbor Wang - - * tests/POA/Explicit_Activation/Alternate_Resource_Factory/*: - Renamed Alternate_Resource_Factory.* to Alt_Resource_Factory.*. - - * tao/ORB_Core.h (TAO_ORB_Core): Don't need to specify default - parameters when declaring friend relationship. - -Wed Aug 26 22:52:14 1998 Carlos O'Ryan - - * tao/ORB_Core.cpp: - The ACE_Select_Reactor_Token_T class and the - Select_Reactor_T over this class are used even when threads are - enabled. - -Wed Aug 26 22:29:51 1998 Nanbor Wang - - * tao/tao.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: Changed the destination directories - for release libraries to the default directories. - -Wed Aug 26 22:04:37 1998 David L. Levine - - * TAO_IDL/driver/drv_preproc.cpp (DRV_check_for_include): declare - for loop indices "fi" and "i" before the loops, because they are - used after. - -Wed Aug 26 19:13:49 1998 Carlos O'Ryan - - * tao/Sequence.i: - * tao/Sequence.cpp: - Moved the sequence::get_buffer method to the .i file to - work around a Sun/C++ bug (apparently it only shows up on - Solaris 2.6 for x86). - - * tao/CDR.cpp: - Fixed syntax error when compiling without - TAO_NO_COPY_OCTET_SEQUENCES. - -Wed Aug 26 20:37:33 1998 Sergio Flores - - * tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp: - * tests/Cubit/TAO/MT_Cubit/Globals.cpp: - * tests/Cubit/TAO/MT_Cubit/Globals.h: - * tests/Cubit/TAO/MT_Cubit/Makefile: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit_i.h: - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/server.h: Added code to test ORB/OS CPU - overhead. Separated code into different source files. The server - does not depend on the Task_State class anymore. - -Wed Aug 26 20:13:27 1998 Douglas C. Schmidt - - * utils/IOR-parser/*: Added this another utility (which was - donated by Priya Narasimhan ) that - takes in a stringified IOR and decodes it, printing out the - information contained in it. - - * tao/ORB.h (CORBA): Added default arguments to the final two - parameters of ORB_init() to simplify common use-cases. - -Wed Aug 26 19:13:33 1998 Darrell Brunsch - - * utils/catior/*: Added this utility (which was donated by Jeff - Hopper ) that takes in a stringified IOR and - decodes it, printing out the information contained in it. - -Wed Aug 26 17:00:38 1998 Nanbor Wang - - * TAO_IDL/driver/drv_preproc.cpp (DRV_check_for_include): Removed - an unused local variable . - -Wed Aug 26 19:13:33 1998 Darrell Brunsch - - * utils/catior/*: Added this little utility (which was donated - by Jeff Hopper ) which will take in a - stringified IOR and decode it, printing out the information - contained in it. - -Wed Aug 26 18:15:37 1998 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/: Added a README file and - renamed the README and INSTALL files to README.OGI and - INSTALL.OGI. - -Wed Aug 26 18:07:31 1998 Jeff Parsons - - * tao/orb.h: - Removed static declarations of _tc_struct, _tc_enum, - _tc_sequence, _tc_array, _tc_union. These need to be - generated by the IDL compiler. - - * any.{h,i,cpp}: - At Carlos' recommendation, added a constructor that takes - a typecode pointer and a CDR stream, and a CDR accessor - method. - -Wed Aug 26 17:00:38 1998 Nanbor Wang - - * tao/Environment.cpp (CORBA_Environment): Disable updating the - default environment for now. (Per Carlos' instruction.) - - * tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp (run): Don't run the - cube_rti_data test for now. - - * tao/orbconf.h: Defined TAO_NULL_LOCK_REACTOR as - ACE_Select_Reactor_T< - ACE_Select_Reactor_Token_T>. - - * tao/ORB_Core.{h,cpp}: Added a new option '-ORBlockfreereactor' - for TAO_Resource_Factory. Specify it to 'yes' if you don't want - any locking with the reactor. Use with care, e.g., if you are - running a completely single-threaded ORB or a Reactor-per-thread - model. - -Wed Aug 26 17:05:27 1998 Alexander Babu Arulanthu - - * docs/releasenotes/index.html: Updated the IDL compiler portion, - adding a note about the recent options and the fixing of the - relative path name problems. - -Wed Aug 26 16:32:18 1998 Alexander Babu Arulanthu - - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/util/utl_global.cpp: - * TAO_IDL/include/idl_global.h: - * TAO_IDL/driver/drv_preproc.cpp: - Fixed the relative #include path generation. tao_idl now - puts header names derived from the #include'd idl files as they - appear originally in the main idl file. - Thanks to Carlos and Andy for their suggestions and - guidance. - -Wed Aug 26 13:12:57 1998 Matthew J Braun - - * tests/Cubit/TAO/DII_Cubit/client.cpp - * orbsvcs/tests/Concurrency/CC_naming_service.cpp - Added ".in ()" to orb argument for my_name_client.init. - -Wed Aug 26 12:11:23 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp : Fixed the _out warnings - given by the SunCC compiler. Thanks to David for the fix. - -Mon Aug 24 15:07:29 1998 Nanbor Wang - - * tests/Cubit/TAO_IDL_Cubit/{client,server}.dsp: Added RTI_IO.cpp - into the project. - - * tests/Cubit/TAO/IDL_Cubit/RTI_IO.h: Make sure we use "ace/OS.h" - instead of directly. - -Tue Aug 25 14:32:41 1998 Irfan Pyarali - - * tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp (cube_rti_data): - * tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp (cube_rti_data): - - Fixed the use of _out variables. - - * tests/Cubit/TAO/IDL_Cubit/RTI_IO.cpp (print_RtiPacket): Changed - code to use ACE_DEBUG instead of iostreams. - -Tue Aug 25 11:11:54 1998 David L. Levine - - * orbsvcs/tests/Simulator/{Event_Supplier,DOVEMIB}/Makefile: - cleaned up to work on both Solaris and VxWorks. - - * orbsvcs/tests/Simulator/DOVEBrowser/Makefile: added. - - * orbsvcs/tests/Simulator/Makefile,README: added DOVEBrowser - module to top-level Simulator Makefile. - - * orbsvcs/tests/Simulator/DOVEMIB/AnyAnalyser.cpp (analyze): - removed unused variable "size". ghs complained that it - was defined but not used. - - * orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java: - initialize ulonglong with (0) instead of (0, 0) now. - - * orbsvcs/Scheduling_Service/Makefile, - orbsvcs/Event_Service/Makefile, - orbsvcs/Dump_Schedule/Makefile, - orbsvcs/LifeCycle_Service/Makefile, - orbsvcs/Logging_Service/Makefile, - orbsvcs/tests/Logger/Makefile, - orbsvcs/tests/Event_Latency/Makefile, - orbsvcs/tests/EC_Multiple/Makefile, - orbsvcs/tests/EC_Throughput/Makefile, - orbsvcs/tests/EC_Mcast/Makefile, - orbsvcs/tests/EC_Custom_Marshal/Makefile, - tests/Quoter/Makefile: - replaced BUILD macro with VBIN, because that's what - wrapper_macros.GNU uses. Many of the Makefile don't - use rules.bin.GNU (why?); it provides the same VBIN - definition. - -Tue Aug 25 11:03:12 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_union/union_ci.cpp: - * TAO_IDL/be/be_visitor_union/union_cs.cpp: - The default constructor for unions is now generated on the .cpp - file, this removes a warning in some versions of g++. - - * TAO_IDL/be/be_visitor_argument/arglist.cpp: - Fixed an indentation problem in the C.cpp file. - -Mon Aug 24 21:24:55 1998 Irfan Pyarali - - * tao/ORB_Core.cpp (TAO_ORB_Core): Added code to clean up memory - pools. - -Mon Aug 24 20:58:36 1998 Nagarajan Surendran - - * tao/ORB.h: Changed CORBA_Boolean for CHORUS platforms to - unsigned long as it was same as CORBA::ULong before. - Thanks to David for this. - -Mon Aug 24 18:14:58 1998 Matthew J Braun - - * orbsvcs/tests/Concurrency/CC_naming_service.{h,cpp} - * orbsvcs/tests/Concurrency/NS_client.{h,cpp} - Added TAO_Naming_Client code. This test doesn't appear to do - anything, however. - -Mon Aug 24 15:33:25 1998 David L. Levine - - * orbsvcs/tests/Simulator/Event_Supplier/Makefile: - fixed so that it builds the executables. - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.h: - removed unnecessary (and bothersome to ghs) Event_Sup - qualifier from get_options () declaration. - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Con.cpp: - removed unused constant "SOURCE_ID" and local variable "temp". - -Mon Aug 24 10:53:17 1998 Douglas C. Schmidt - - * tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp (cube_rti_data): Improved - the I/O printing a bit more. - - * tests/Cubit/TAO/IDL_Cubit/RTI_IO.cpp (operator<<): Only - print out the RTI structure of TAO_debug_level is > 0. - - * tests/Cubit/TAO/IDL_Cubit: Renamed a number of files to be more - consistent. Also, integrated the RTI test operation. Thanks to - Dave Meyer for contributing this. - -Mon Aug 24 14:45:55 1998 Matthew J Braun - - * orbsvcs/tests/Property/run_test.pl: Now uses uniqueid for the - -ORBnameserviceport argument - - * orbsvcs/tests/Property/run_test.pl: New file. Script to execute - the test (Naming_Service + server + client). - -Mon Aug 24 10:31:39 1998 Carlos O'Ryan - - * tao/Environment.cpp: - When the ORB is getting destroyed the Environment created with - it should *not* pop itself from the environment stack. - - * The IDL compiler support #pragma prefix - - * TAO_IDL/be_include/be_decl.h: - * TAO_IDL/be/be_decl.cpp: - Added method to compute the prefix based on the pragmas - defined. - This is used to generate the implementation repository ID. - - * TAO_IDL/be/be_visitor_scope.cpp: - Added some code useful for debugging pragmas. - - * TAO_IDL/Makefile: - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/idl.yy: - * TAO_IDL/fe/lex.yy.cpp: - * TAO_IDL/fe/y.tab.cpp: - * TAO_IDL/fe/y.tab.h: - * TAO_IDL/include/idl_global.h: - * TAO_IDL/util/utl_error.cpp: - * TAO_IDL/util/utl_stack.cpp: - The pragma collection was far from perfect. Once a scope was - closed the old pragmas (defined before the scope) were lost. We - need to restore, in the global pragma list, the list of pragmas - as defined before entering the scope. This restore must make a - *copy* otherwise the list of pragmas associated with the scope - are modified. - - * orbsvcs/orbsvcs/AVStreams.idl: - * orbsvcs/orbsvcs/CosConcurrencyControl.idl: - * orbsvcs/orbsvcs/CosLifeCycle.idl: - * orbsvcs/orbsvcs/CosNaming.idl: - * orbsvcs/orbsvcs/CosPropertyService.idl: - * orbsvcs/orbsvcs/CosTimeBase.idl: - * orbsvcs/orbsvcs/CosTrading.idl: - Added the #pragma "omg.org" directive. This should allow - TAO's services to interoperate seamlessly with other standard - CORBA ORBs. - - * orbsvcs/Trading_Service/Makefile: - More dependencies were outdated. - -Sun Aug 23 18:37:26 1998 Douglas C. Schmidt - - * orbsvcs: Changed all occurrences of *_Impl to *_i to be more - consistent. Thanks to David Levine for reporting this. - -Sun Aug 23 16:17:03 1998 Alexander Babu Arulanthu - - * docs/compiler.html: Updated documentation about new options. - -Sun Aug 23 16:11:58 1998 Alexander Babu Arulanthu - - * TAO_IDL/driver/drv_args.cpp: Commented out - warning message on failure to execute GPERF. Added <-H perfect> - and <-H dynamic> options. - -Sun Aug 23 14:17:03 1998 David L. Levine - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp (connect): return - CORBA::B_FALSE instead of -1 on failure. - -Sun Aug 23 13:40:11 1998 Carlos O'Ryan - - * tests/Quoter/Makefile: - * orbsvcs/LifeCycle_Service/Makefile: - Updated dependencies. - -Sun Aug 23 13:12:53 1998 Alexander Babu Arulanthu - - * docs/compiler.html: Documented the recent options to the IDL - compiler. - -Sat Aug 22 23:11:41 1998 Alexander Babu Arulanthu - - * tests/Cubit/TAO/IDL_Cubit/Makefile: Removed -P option from the - Makefile. Perfect hashing (using GPERF) is the default OpLookup - strategy now. To force dynamic hashing use -H flag of tao_idl. - -Sat Aug 22 22:51:44 1998 Alexander Babu Arulanthu - - Added the following options : - -g : To specify the path for perfect hasing program - (GPERF). Default is $ACE_ROOT/bin/gperf. - -H : To force IDL compiler to use dynamic hashed operation lookup - strategy. Default is Perfect Hashing strategy NOW. - -o : To specify the output directory to IDL compiler as to where - all the IDL-compiler-generated files are to be put. By - default, all the files are put in the current directory - from where is called. - - * TAO_IDL/driver/drv_args.cpp: - * TAO_IDL/be/be_codegen.cpp: - Tries executing GPERF and checks the wait status of the - spawned process. If on GPERF has failed, changing to - Dynamic Hashed Operation Lookup strategy. - - * TAO_IDL/include/idl_global.h: - * TAO_IDL/util/utl_global.cpp: - Added addition parameter to the helper functions that - deals with stubs and skeleton names, to give base name or the full - path, depending on the value of the flag. This helps when we need - full names while storing stubs and skeletons, but only the base - names when using them with "#include"s. - -Sat Aug 22 21:59:54 1998 David L. Levine - - * tests/NestedUpcall/MT_Client_Test/Makefile: - updated dependencies so that the module can build. - -Sat Aug 22 16:01:07 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/Makefile: - Changed to reflect the moving of pccTimer.cpp to - /project/doc/mvme. - -Sat Aug 22 14:47:07 1998 Nagarajan Surendran - - * tests/Cubit/COOL/MT_Cubit/cubit_impl.{h,cpp}: - Renamed these files to cubit_i.{h,cpp} to be consistent. - -Sat Aug 22 13:17:06 1998 Douglas C. Schmidt - - * tests/NestedUpcall/{MT_Client_Test,Triangle_Test}, - tests/Quoter: Changed all *_Impl to *_i to be more consistent. - - * tests/Simple/time: Added more comments and cleaned up the test - so that it minimizes the use of dynamic memory allocation. Also, - renamed some files to be more consistent. - -Sat Aug 22 11:01:15 1998 Carlos O'Ryan - - * tests/Simple/Makefile: - Added a Makefile so making everything from the top-level would - work. - -Sat Aug 22 02:30:26 1998 Irfan Pyarali - - * tests/Cubit/TAO/IDL_Cubit/client_i.cpp (read_ior): Use the - buffer's allocator to free the memory. - - * tests/Simple/time/: Made a big pass through the example to clean - things up, remove extra code, and rename things. - -Sat Aug 22 01:41:38 1998 Darrell Brunsch - - * tao/TAO.dsp: - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: - Forgot to fix the output directories. - - * TAO_IDL/tao_idl.dsp: - * tests/Simple/time/server.dsp: - * tests/Simple/time/client.dsp: - More Alpha configurations added. - -Fri Aug 21 23:16:47 1998 Darrell Brunsch - - * tao/TAO.dsp: - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: - Added Alpha configurations. - -Fri Aug 21 20:12:29 1998 Carlos O'Ryan - - * tests/Thruput/TAO/client.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Removed uneeded #include's that made some HP-UX platforms very - angry. Thanks to John Mulhern <9107@mn3.lawson.lawson.com> - for reporting this. - - * orbsvcs/orbsvcs/AV/AVStreams_i.h: - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: - EGCS (on Solaris) complained about a missing function, but the - function was pure virtual! My attempts to teach it better failed - so I resorted to define the function anyway. - -Fri Aug 21 19:22:27 1998 Carlos O'Ryan - - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_interface/collocated_sh.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp: - * TAO_IDL/be/be_visitor_interface/tie_sh.cpp: - * TAO_IDL/be/be_visitor_operation/arglist.cpp: - * TAO_IDL/be/be_visitor_operation/operation_sh.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - The IDL compiler generates all the method definitions with a - default value for the CORBA::Environment argument. - - * tao/Makefile: - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - * tao/Environment.h: - * tao/Environment.i: - * tao/Environment.cpp: - * tao/Exception.h: - * tao/Exception.i: - * tao/Exception.cpp: - The ORB provides a default for the CORBA_Environment, this - default is stored in TSS storage. Creating a new - CORBA_Environment pushes that default and replaces it with the - new variable; the old default is restores when the variable is - destroyed. - The CORBA_Environment class was moved to its own file to avoid - cyclic dependencies with the ORB_Core. - - * tao/Any.h: - * tao/CDR.h: - * tao/Connect.h: - * tao/CurrentC.h: - * tao/Forwarding_Servant.h: - * tao/GIOP.h: - * tao/IIOP_Interpreter.h: - * tao/IIOP_ORB.h: - * tao/IIOP_Object.h: - * tao/Invocation.h: - * tao/Marshal.h: - * tao/NVList.h: - * tao/ORB.h: - * tao/Object.h: - * tao/POA.h: - * tao/POAC.h: - * tao/POAS.h: - * tao/POA_CORBA.h: - * tao/PolicyC.h: - * tao/Request.h: - * tao/Sequence.h: - * tao/Sequence_T.h: - * tao/Servant_Base.h: - * tao/Server_Request.h: - * tao/Stub.h: - * tao/TAO.h: - * tao/Typecode.h: - * tao/corba.h: - * tao/poa_T.h: - * tao/varout.h: - All methods taking a CORBA_Environment as the last argument - provide a default value for it. - - * The new files in $TAO_ROOT/tao required the regeneration of the - dependencies for all the Makefiles. - -Fri Aug 21 19:06:21 1998 Carlos O'Ryan - - * tests/Param_Test/client.dsp: - Added the new except.cpp and except.h - - * TAO_IDL/driver/drv_preproc.cpp: - Check the error result when running the preprocessor. - -Fri Aug 21 15:00:21 1998 Jeff Parsons - - * tao/Any.i: - Oops, forgot to implement the from_wchar and to_wchar - constructors (see my last ChangeLog entry). - -Fri Aug 21 14:27:27 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/Endpoint_Strategy.{h,cpp}: Added virtual - destructors to all the classes. Thanks to Carlos for reporting - this. Fixed a few template warnings. - -Fri Aug 21 13:47:27 1998 Jeff Parsons - - * tao/Typecode.cpp: - private_equal() was missing tk_ulonglong in the switch - statement. - - * tao/Any.{h,i,cpp): - Added <<= and >>= for long long, unsigned long long - and wchar. - -Fri Aug 21 11:34:42 1998 Nagarajan Surendran - - * tests/Cubit/TAO/IDL_Cubit/client_i.cpp (init_naming_service): - * tests/Cubit/TAO/MT_Cubit/server.cpp (initialize_orb): - Fixed the g++ warning for passing ORB_var to an ORB_ptr - argument. - -Fri Aug 21 00:04:11 1998 Carlos O'Ryan - - * tao/Exception.cpp: - * tao/corba.h: - * tao/orbconf.h: - The ORB is ready to work with exceptions now. I was able to - throw an exception on the server side, catch it, transmit it to - the client, the client is able to build the exception with the - right dynamic type and then raise it again. This, of course, - using SII. We still have to do some more work to support DII. - - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp: - Fixed misuses of TAO_THROW and TAO_TRY macros that did not work - when the code was used with exceptions enabled. - - * tests/Param_Test/except.cpp: - * tests/Param_Test/param_test_i.cpp: - * tests/Param_Test/param_test_i.h: - Removed throw specs from the servant implementation, they just - complicate things. Cleanup the client side. - -Thu Aug 20 19:42:07 1998 Carlos O'Ryan - - * tao/Invocation.cpp: - Fixed two warnings reported by David. They were only a problem - when using user exceptions in DII, something that still requires - some work. - -Thu Aug 20 18:24:04 1998 Matthew J Braun - - * orbsvcs/tests/Property/client.{h,cpp} - * orbsvcs/tests/Property/server.cpp} - Added Naming_Utils code to simplify Naming Service - operations. Note that this code is shakey, and will not always - execute properly. For better results, try executing the client - and server with -ORBnameserviceport set - -Thu Aug 20 18:18:43 1998 Jeff Parsons - - * TAO_IDL/be/be_visitor_interface/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp: - Modified IDL compiler to reflect the CORBA spec, which - states that objects need only one version of the <<= - operator. - - * tao/CurrentC.{h,cpp}: - Modified this IDL-generated file to reflect the above - change. - -Thu Aug 20 17:36:52 1998 Matthew J Braun - - * orbsvcs/tests/CosPropertyService/: Removed. For equivalent - code, see orbsvcs/tests/Property - -Thu Aug 20 17:21:32 1998 Jeff Parsons - - * tao/Any.{h,i,cpp}: - Misread the CORBA spec - do not need two versions of <<= - for objects and (presumably) other pointer types, so - fixed earlier commit. - -Thu Aug 20 16:14:54 1998 Matthew J Braun - - * orbsvcs/tests/Sched_Conf/Sched_Conf.cpp: Added Naming_Utils code - to simplify Naming Service operations - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/sendpt.h - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/util32.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/util.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ordered2.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ordered.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/motionvector.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/mono.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/mb_ordered.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/jrevdct.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/hybriderr.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/hybrid.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/gray.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs4.h - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs2fast.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs2.h - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/decoders.h - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/2x2.cpp - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/24bit.cpp - Added "ace/OS.h" to fix RCSID errors - - * orbsvcs/tests/AVStreams/mpeg/source/server/server.{h,cpp} - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.{h,cpp} - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.{h,cpp} - Added Naming_Utils code to simplify Naming Service - operations. Also added "ace/OS.h" include to fix RCSID errors - - -Thu Aug 20 14:32:12 1998 Jeff Parsons - - * tao/Any.{h,i,cpp}: - We now have <<= and >>= (copying and non-copying - versions) for typecodes and CORBA objects. - -Thu Aug 20 14:14:30 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp : - * orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp : - Fixed compile errors and warning shown by g++. - -Thu Aug 20 13:58:53 1998 Carlos O'Ryan - - * tao/orbconf.h: - * tao/corba.h: - Exception support is controlled my the TAO_USE_EXCEPTIONS - macro. - - * tao/POAC.h: - * tao/POAC.cpp: - * tao/Typecode.cpp: - Added the _raise () methods, they use a macro (TAO_RAISE) to - actually throw the exception, the macro expands to nothing if - exceptions are not supported. - - * tao/Exception.h: - * tao/Exception.i: - * tao/Exception.cpp: - Fixed problems with operator= - The modifier for the CORBA_Environment::exception() would raise - the exception if native C++ exceptions are supported. - - * tao/Connect.h: - * tao/Connect.cpp: - Use TAO_TRY macros to catch the exceptions in the upcall, this - is in preparation for the support for native C++ exceptions. - - * TAO_IDL/be/be_visitor_exception/exception_ch.cpp: - * TAO_IDL/be/be_visitor_exception/exception_cs.cpp: - The compiler generates the _raise() method now. - - * tao/debug.h: - * tao/debug.cpp: - Removed some _FAR uses. - -Thu Aug 20 11:57:04 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/CosPropertyService.idl : - Changed the struct PropertyException back to exception - PropertyException as AVStreams.idl has one method raising this - exception. - -Thu Aug 20 11:41:03 1998 David L. Levine - - * orbsvcs/tests/Simulator/Event_Supplier/Makefile: - define TAO_ROOT if not already defined. - - * orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.cpp - (DOVE_Supplier): reordered initializers to match declaration order. - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp: - added explicit template instantiations. - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp - (load_schedule_data): don't dereference data->operation_name, - because it already is a char *. - - * orbsvcs/tests/Simulator/DOVEMIB/PrintVisitor.h (~PrintVisitor): - made destructor virtual because PrintVisitor inherits from a - class, NodeVisitor, that has virtual functions. - - * orbsvcs/tests/Simulator/DOVEMIB/Node.cpp: added explicit - template instantiations. - - * orbsvcs/tests/Simulator/{DOVEMIB,Event_Supplier}/Makefile, - orbsvcs/tests/Simulator/README: - added rules to copy .idl files, so that it doesn't have - to be done manually. And, added the .idl and generated - files to the realclean target. - - * orbsvcs/tests/Simulator/Makefile: added. - - * orbsvcs/orbsvcs/RtecEventComm.idl: added an any field, - unless TAO_LACKS_EVENT_CHANNEL_ANY is defined. This - field is needed by orbsvcs/tests/Simulator. It can - be omitted by a make flag: - - * orbsvcs/orbsvcs/Makefile: added support for tao_idl - -DTAO_LACKS_EVENT_CHANNEL_ANY. To enable, either uncomment - the marked line in the Makefile, or add - TAO_LACKS_EVENT_CHANNEL_ANY=1 to your make invocation. - -Thu Aug 20 08:29:13 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_operation/tie_si.cpp: - * TAO_IDL/be/be_operation.cpp: - The _tie classes generated improper code when one of the base - classes was imported from another file and the number of - arguments was non-zero. Thanks to Christa Schwanninger - , for patiently convincing - me that this problem was real. - -Wed Aug 19 21:03:38 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/Task_Client.{h,cpp} : - Fixed memory leaks. Added a destructor to - Task_State. - * tests/Cubit/TAO/MT_Cubit/client.cpp: - Added code to delete dynamically allocated - memory. - * tests/Cubit/TAO/MT_Cubit/server.cpp: - Removed unnecessary argv code and fixed memory leaks. - -Wed Aug 19 19:20:57 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface/any_op_ch.cpp: - Fixed the declarations for <<= and >>= operators. - -Wed Aug 19 19:18:11 1998 Matthew J Braun - - * tests/Cubit/TAO/MT_Cubit/server.{h,cpp]: Added Naming_Utils code - to simplify Naming Service operations. Also added variable - definitions that was affecting compilation (around line 457). - -Wed Aug 19 17:54:13 1998 Matthew J Braun - - * orbsvcs/tests/AVStreams/benchmark/client.{h,cpp} - * orbsvcs/tests/AVStreams/benchmark/server.{h,cpp} - Added Naming_Utils code to simplify Naming Service - operations. Note: Due to multicast weirdness yet to be resolved - sometimes the Naming Service will not be properly detected. I - found that running the Naming Service and the server in the same - window helped. I added comments to that effect. - -Wed Aug 19 17:37:51 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/Makefile: Integrated the Audio/video streams - stuff into the mainstream orbsvcs. - -Wed Aug 19 17:32:40 1998 Matthew J Braun - - * orbsvcs/orbsvcs/Naming/Naming_Utils.{h,cpp}: I decided not to - add an init_old_naming () method to the Naming_Server since it - seemed inappropriate. I added a get_context () method which is - basically the same as "->" (they both return the - Naming_Context_ptr) for stylistic reasons. - -Wed Aug 19 16:49:21 1998 Matthew J Braun - - * tests/Cubit/TAO/DII_Cubit/client.cpp: Added Naming_Utils code to - simplify Naming Service operations. - -Wed Aug 19 16:43:36 1998 Jeff Parsons - - * Param_Test/objref.{h,cpp}: - Fixed the DII version of the objref test. They should all - work now. - -Wed Aug 19 16:38:37 1998 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/CosPropertyService.idl: - Changed to . - -Wed Aug 19 15:25:07 1998 Alexander Babu Arulanthu - - * $ACE_wrappers/TAO/orbsvcs/tests/CosPropertyService/client.cpp: - Fixed the SunCC warnings. - -Wed Aug 19 11:48:57 1998 Alexander Babu Arulanthu - - * tests/Cubit/TAO/IDL_Cubit/README: Removed the note on - IDL_Cubit_Test. It is no more there. run_test.pl does all. - -Wed Aug 19 15:58:23 1998 David L. Levine - - * TAO-INSTALL.html: added instructions for cross-compiled targets. - -Wed Aug 19 15:18:36 1998 Matthew J Braun - - * orbsvcs/orbsvcs/AV/Endpoint_Strategy.{h,cpp}: - Fixed template errors that derailed compilation - - * orbsvcs/tests/Property/client.{h,cpp}: - * tests/Cubit/TAO/MT_Cubit/Task_Client.{h,cpp}: - * tests/Cubit/TAO/MT_client/server.{h,cpp} - * tests/Cubit/TAO/IDL_Cubit/client_i.{h,cpp} - Replaced old code with Naming_Utils code. Added a - TAO_Naming_Client to the *.h, and used it in the *.cpp to - contact the Naming Service for binds and resolves. - -Wed Aug 19 15:06:59 1998 Carlos O'Ryan - - * tao/ORB.h: - * tao/Exception.h: - * tao/Exception.cpp: - * tao/Invocation.cpp: - Added the new CORBA::UnknownUserException, that is used with DII - when a user exception is raised. - User and system exceptions are created using the right dynamic - type. - Minimized code size by using a factory method for the system - exceptions in the TAO_Exceptions class. - - * tao/Typecode.h: - * tao/Typecode.cpp: - Completed the implementation for the Bounds and BadKind - exceptions. - - * tests/Param_Test/Makefile: - * tests/Param_Test/README: - * tests/Param_Test/driver.cpp: - * tests/Param_Test/options.cpp: - * tests/Param_Test/options.h: - * tests/Param_Test/param_test.idl: - * tests/Param_Test/param_test_i.cpp: - * tests/Param_Test/param_test_i.h: - * tests/Param_Test/run_test.pl: - * tests/Param_Test/tests.h: - Added a new test for exceptions, it verifies that user - exceptions are properly transmitted and demarshaled and that - unexpected exceptions are converted into CORBA::UNKNOWN. - - * tests/Param_Test/any.cpp: - * tests/Param_Test/ub_any_seq.cpp: - The tests (specially the server side) are silent unless the - TAO_debug_level is greater than 0. - -Wed Aug 19 14:24:18 1998 David L. Levine - - * TAO version 0.2.5 released. - -Wed Aug 19 10:48:37 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Custom_Marshal/run_test.pl: - * orbsvcs/tests/EC_Throughput/run_test.pl: - Fixed syntax errors, wrong paths and increased sleep time, seems - to work now. - - * tests/Cubit/TAO/DII_Cubit/run_test.pl: - The script was giving the wrong options to the server. - - * tests/NestedUpcall/Reactor/run_test.pl: - Increased sleep time, simplify command line args. - -Wed Aug 19 09:47:58 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/README: removed instructions for - building client w/o libraries for VxWorks. They were out-of-date, - and too much of libACE/TAO are needed now for it to be done easily. - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (parse_args): check - for success of ACE_OS::fopen () call on the IOR file. Print - an ACE_ERROR message and return -1 if it failed. - - * orbsvcs/tests/Sched_Conf/Sched_Conf.cpp (main): replaced {0, 0} - initializers for Times with 0, now that CORBA::ULongLong is an - int type. - - * orbsvcs/tests/Sched_Conf/Makefile: replaced explicit build - rule for Sched_Conf with include of rules.bin.GNU. There's - no net difference on Unix, and now it builds on VxWorks. - -Wed Aug 19 08:07:38 1998 Douglas C. Schmidt - - * tao/debug: Fixed a couple of uses of TAO_Export to make MSVC 6.0 - happy. Thanks to Goran Lowkrantz - for reporting this. - -Tue Aug 18 23:58:05 1998 Irfan Pyarali - - * tao/ORB_Core.h (TAO_Resource_Factory): Changed this class so - that most of the methods are virtual and the private section is - protected. This makes it easier for users to inherit and extend - this class. - -Tue Aug 18 19:14:27 1998 Jeff Parsons - - * tests/Cubit/TAO/DII_Cubit/clinet.cpp: - Had an incorrect "owns-data" boolean arg in all the cubit - test request constructions. - -Tue Aug 18 17:54:16 1998 Irfan Pyarali - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (init): Fixed incorrect - assignment. - - * tests/Cubit/TAO/IDL_Cubit/server.cpp (main): Added print - statements for initialization errors. - -Tue Aug 18 16:54:24 1998 David L. Levine - - * TAO version 0.2.4 released. - -Tue Aug 18 15:43:16 1998 Jeff Parsons - - * Param_Test/ub_objref_seq.cpp: - * Param_Test/client.dsp: - * Param_Test/README: - DII test now works with objref sequences. Also changed client - file to reflect that longlong.cpp was changed to ulonglong.cpp. - Updated README file. - -Tue Aug 18 15:23:21 1998 Steve Huston - - * tao/Any.cpp: Use operator delete directly, rather than delete, to - free un-typed memory. Thanks to John Mulhern for this fix. - -Tue Aug 18 09:39:50 1998 David L. Levine - - * tests/Param_Test/Makefile,driver.cpp,longlong.{h,cpp}, - options.{h,cpp},param_test.idl,param_test_i.{h,cpp}, - run_test.pl,tests.h,ulonglong.{h,cpp}: replaced - long long with unsigned long long, so that the test - builds and runs on platforms that don't have a native - 64-bit int type. - -Mon Aug 17 22:01:05 1998 Carlos O'Ryan - - * TAO_IDL/fe/lex.yy.cpp: - Removed unwanted #includes that produced warnings in some - platforms; thanks to David Levine for catching this one. - - * TAO_IDL/Makefile: - Yet another RCS id that was not properly protected, I also need - to thank David for this report. - -Mon Aug 17 17:16:29 1998 Douglas C. Schmidt - - * TAO_IDL: Renamed README to README.sun and INSTALL to INSTALL.sun - to reflect the fact that these documents are now very much out - of date. Thanks to Marherita Vittone - for reporting this. - -Mon Aug 17 15:10:25 1998 Carlos O'Ryan - - * TAO_IDL/be_include/be_visitor_context.h: - * TAO_IDL/be/be_visitor_context.cpp: - * TAO_IDL/be_include/be_visitor_interface/tie_si.h: - * TAO_IDL/be_include/be_visitor_interface/tie_sh.h: - * TAO_IDL/be/be_visitor_operation/tie_si.cpp: - * TAO_IDL/be/be_visitor_interface/tie_si.cpp: - * TAO_IDL/be/be_visitor_interface/tie_sh.cpp: - The _tie classes did not override the methods of the base - classes, thus, some _tie classes were abstract and thus - useless. - -Mon Aug 17 15:27:22 1998 Carlos O'Ryan - - * docs/releasenotes/ec.html: - Updated the "Known Issues" section. - - * docs/releasenotes/trader.html: - The problems in TAO that affected the trading server were - solved. - -Mon Aug 17 15:16:13 1998 Nagarajan Surendran - - * docs/releasenotes/index.html: Removed some outdated notes - on A/V streaming service. - -Mon Aug 17 11:07:09 1998 Carlos O'Ryan - - * orbsvcs/tests/Concurrency/CC_command.tab.cpp.diff: - * orbsvcs/tests/Concurrency/CC_command.tab.cpp: - Removed unused label. Thanks to David for pointing this out. - -Mon Aug 17 10:45:09 1998 David L. Levine - - * orbsvcs/tests/Trading/Makefile: removed shared_libs_only=1, - because that's taken care of in the platform_macros.GNU file. - This module now builds on VxWorks. - - * tests/Cubit/TAO/IDL_Cubit/README: removed instructions for - building client w/o libraries for VxWorks. They were out-of-date, - and too much of libACE is needed now for it to be done easily. - - * orbsvcs/orbsvcs/Log/Logger_i.{h,cpp}: use ACE_Cstring instead - of const char * for the hash_map_ EXT_ID. - -Sun Aug 16 23:49:20 1998 Nanbor Wang - - * orbsvcs/tests/EC_Throughput/ECT_Consumer.dsp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.dsp: - Updated project files. - - * orbsvcs/tests/EC_Custom_Marshal/EC_Custom_Marshal.dsw: - * orbsvcs/tests/EC_Custom_Marshal/ECCM_Supplier.dsp: - * orbsvcs/tests/EC_Custom_Marshal/ECCM_Consumer.dsp: - New projects/workspace added. - -Sun Aug 16 17:15:39 1998 Carlos O'Ryan - - * tao/Connect.h: - * tao/Connect.cpp: - Fixed incosistent use of response_required, sometimes it was an - int and other it was a CORBA_Boolean. Thanks to Naga for - reporting this problem. - -Sun Aug 16 11:52:47 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Trader/Offer_Database.h: - * orbsvcs/orbsvcs/Trader/Offer_Database.cpp: - Fixed unproper use of private typedefs and of ACE_TYPENAME - macro, thanks to John Mulhern <9107@mn3.lawson.lawson.com> for - this patches. - -Sun Aug 16 09:11:33 1998 David L. Levine - - * orbsvcs/orbsvcs/Trader/Trader.cpp: added #include - "Trader_Interfaces.h", for use by instantiation pragmas. - - * orbsvcs/orbsvcs/Trader/Trader.cpp: only instantiate - ACE_Unbounded_Queue, etc., if ACE_HAS_MOSTLY_UNICODE_APIS. - Otherwise, they're in ace/ARGV.cpp. - -Sat Aug 15 12:00:15 1998 Carlos O'Ryan - - * tao/varout.h: - * tao/varout.i: - Fixed some cast-away-const problems in the new - TAO_Object_Field_T class. - - * orbsvcs/orbsvcs/tmplinst-orbsvcs.cpp: - Typecodes use a TAO_Unbounded_Pseudo_Sequence, not a - TAO_Unbounded_Object_Sequence. - -Sat Aug 15 08:19:26 1998 David L. Levine - - * tao/deep_free.cpp (deep_free), - tao/decode.cpp (decode), - tao/encode.cpp (encode): - replaced ACE_static_cast with an ACE_reinterpret_cast/ACE_const_cast. - - * orbsvcs/tests/Trading/Offer_Exporter.cpp (export_offers_to_all): - added a TAO_CHECK_ENV for platforms without - TAO_HAS_OBJECT_IN_STRUCT_MARSHAL_BUG. This avoids a warning - about TAO_TRY_LABEL being declared but not referenced. - - * orbsvcs/tests/Trading/Offer_Exporter.cpp (export_offers_to_all): - dereference link_info->target_reg with .in (). - - * orbsvcs/tests/Trading/Offer_Importer.cpp (perform_directed_queries): - dereference link_info->target with .in (). - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp,Trader_Utils.cpp: - added a few .in () dereferences. - - * orbsvcs/tests/Trading/Makefile: added LIBS, for use when - building libTTest. - - * orbsvcs/orbsvcs/Event_Utilities.h,Scheduler_Utilities.h, - Time_Utilities.h,Event/EC_Gateway.h,Event/EC_Gateway_UDP.h, - Trader/Trader.h: - added #include "orbsvcs/orbsvcs_export.h". Thanks to - Joseph E. LaPrade for - reporting this. - -Fri Aug 14 22:09:41 1998 David L. Levine - - * orbsvcs/tests/Logger/Logging_Test_i.cpp (init_naming_service): - dereferenced orb_ with .in () to please g++. - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp (run): - dereferenced local_ec with .in () to please g++. - (shutdown): added ACE_UNUSED_ARG (_env). - -Fri Aug 14 20:13:28 1998 Carlos O'Ryan - - * tao/CDR.h: - * tao/GIOP.h: - * tao/GIOP.cpp: - * tao/corba.h: - * tao/ORB.cpp: - * tao/Principal.h: - * tao/Principal.cpp: - The operator<< and operator>> for marshaling and demarhaling - return a CORBA_Boolean, this makes the detection of errors - faster that returning a TAO_OutputCDR& or TAO_InputCDR&. - - * orbsvcs/tests/EC_Custom_Marshal/ECM_Data.h: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Data.cpp: - The custom marshalling methods follow the same protocol as the - (proposed) compiled marshalling ones. - -Fri Aug 14 14:44:49 1998 Carlos O'Ryan - - * tao/IIOP_Interpreter.cpp: - * tao/deep_free.cpp: - * tao/encode.cpp: - * tao/decode.cpp: - Completed support for object references inside structures. - - * tao/Object.h: - * tao/Object.i: - * tao/Object.cpp: - * tao/varout.h: - * tao/varout.i: - * tao/varout.cpp: - Added a new class to represent an object reference when - contained inside a structure, it is similar to a T_var class - - * tao/Sequence.h: - * tao/Sequence.i: - * tao/Sequence.cpp: - * tao/Sequence_T.h: - * tao/Sequence_T.i: - * tao/Sequence_T.cpp: - Sequences contain new methods (_upcast() and _downcast()) that - help in the correct marshaling and demarshaling of sequences of - object references. - New parametric classes were added to support sequences of - pseudo-objects. - - - * TAO_IDL/be_include/be_sequence.h: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: - Added support for the new TAO_Unbounded_Pseudo_Sequence used - for pseudo-objects. - - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - Generate the new _upcast() and _downcast() methods for sequences - of objects. - - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp: - Generate the template instantiation for the - TAO_Object_Field_T class. - - * TAO_IDL/be/be_visitor_field/field_ch.cpp: - Object references in structures are defined using a - TAO_Object_Field_T object. - - * orbsvcs/orbsvcs/CosTrading.idl: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - The ORB supports object rereferences inside structures. - - * orbsvcs/orbsvcs/CosPropertyService.idl: - Cosmetic changes. - - * tests/Param_Test/Makefile: - * tests/Param_Test/README: - * tests/Param_Test/run_test.pl: - * tests/Param_Test/driver.cpp: - * tests/Param_Test/objref_struct.cpp: - * tests/Param_Test/objref_struct.h: - * tests/Param_Test/options.cpp: - * tests/Param_Test/options.h: - * tests/Param_Test/param_test.idl: - * tests/Param_Test/param_test_i.cpp: - * tests/Param_Test/param_test_i.h: - * tests/Param_Test/tests.h: - * tests/Param_Test/ub_objref_seq.cpp: - Cleanup the object reference sequence test and added a test for - sequences inside structures. - -Fri Aug 14 09:46:44 1998 David L. Levine - - * orbsvcs/orbsvcs/Sched/DynSched.cpp (calculate_utilization_params): - removed ACE_UINT64_DBLCAST_ADAPTER from effective_period (), - because it's 32 bits, not 64. - - * orbsvcs/orbsvcs/Sched/SchedEntry.i (effective_execution_time): - replaced ACE_UINT32 static cast with ACE_U64_TO_U32, so that - it works with ACE_LACKS_LONGLONG_T. - - * orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp: - replaced long static casts with ACE_U64_TO_U32, so that - they work with ACE_LACKS_LONGLONG_T. - - * tao/POA.cpp: reordered template instantiations so that they - build with g++ 2.7.2.3, and removed some unneeded ones so that links - succeed with ghs/VxWorks. - -Fri Aug 14 09:15:51 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/CosTimeBase.idl: - Removed outdated comment, thanks to David Levine for pointing - this out. - -Thu Aug 13 17:45:00 1998 Chris Gill - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: changed dump_schedule - so that if one of the arrays is length 0, 0 is output for its size - (instead of a formula with a built-in access violation ;-) - - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp - orbsvcs/orbsvcs/Sched/DynSched.cpp - orbsvcs/orbsvcs/Sched/SchedEntry.{cpp, h, i} - orbsvcs/orbsvcs/Sched/Strategy_Scheduler.{cpp, h}: fixes related to - the new 64 bit times for NT. - - * orbsvcs/tests/Sched_Conf/Sched_Conf.cpp: expanded the test to - 16 operations, ranging across 4 rates, and 2 criticalities - (half are still consumers, the other half suppliers) - - -Thu Aug 13 15:20:06 1998 David L. Levine - - * tao/ORB_Core.i (hash_i): suppress the specialization with - non-egcs g++. Older versions of g++, such as 2.7.2.3, - can't compile it. - - * orbsvcs/orbsvcs/Sched/Scheduler.cpp (dispatch_configuration): - made int return type explicit. - - * orbsvcs/orbsvcs/Sched/DynSched.cpp: added - ACE_Unbounded_Set template instatiations. - - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp (supplier_task), - orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp (supplier_task): - cast event_count_ to CORBA::Long instead of CORBA::ULong, - to avoid signed/unsigned comparison. - -Thu Aug 13 15:16:38 1998 Darrell Brunsch - - * TAOACE.dsw: When I changed the name of TAO_IDL's project - file, the dependencies got messed up. Now they should be - back to normal. - -Thu Aug 13 15:03:01 1998 Carlos O'Ryan - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: - * TAO_IDL/fe/lex.yy.cpp.diff: - The scanner was looking for wchar_t and wstring_t but the IDL - types are called wchar and wstring. - The patch is not needed when using a modern flex, like 2.5.4 - (available in /pkg/gnu/bin/flex for the DOC group). - - * TAO_IDL/Makefile: - Added a rule to generate (upon the user *explicit* request) the - lex.yy.cpp file. - -Thu Aug 13 09:14:12 1998 Carlos O'Ryan - - * tests/Param_Test/Makefile: - * tests/Param_Test/README: - * tests/Param_Test/driver.cpp: - * tests/Param_Test/options.cpp: - * tests/Param_Test/options.h: - * tests/Param_Test/param_test.idl: - * tests/Param_Test/param_test_i.cpp: - * tests/Param_Test/param_test_i.h: - * tests/Param_Test/run_test.pl: - * tests/Param_Test/run_test.sh: - * tests/Param_Test/tests.h: - * tests/Param_Test/longlong.h: - * tests/Param_Test/longlong.cpp: - Added a new test to check if works. - - * orbsvcs/orbsvcs/CosTimeBase.idl: - * orbsvcs/orbsvcs/Event_Service_Constants.h: - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * orbsvcs/orbsvcs/Runtime_Scheduler.h: - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - * orbsvcs/orbsvcs/Time_Utilities.cpp: - * orbsvcs/orbsvcs/Time_Utilities.h: - * orbsvcs/orbsvcs/Time_Utilities.i: - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp: - * orbsvcs/orbsvcs/Sched/Config_Scheduler.h: - * orbsvcs/orbsvcs/Sched/DynSched.cpp: - * orbsvcs/orbsvcs/Sched/SchedEntry.cpp: - * orbsvcs/orbsvcs/Sched/SchedEntry.i: - * orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp: - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime1.h: - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime2.h: - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime_Dynamic.h: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Modified CosTimeBase.idl to use instead of a - structure. - - * TAO_IDL/fe/fe_init.cpp: - The IDL name for wchar_t is just wchar, ditto for wstring. - - * docs/releasenotes/index.html: - Documented the fact that 64bit longs are working. - - * docs/releasenotes/ec.html: - Fixed minor syntax error. - -Wed Aug 12 14:40:00 1998 Chris Gill - - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp - orbsvcs/tests/EC_Mcast/EC_Mcast.cpp - orbsvcs/tests/Sched_Conf/Sched_Conf.cpp: - - Added config info to calls to compute_scheduling and dump_schedule - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp - - Added config info to calls to compute_scheduling, dump_schedule, - use_runtime, and ACE_Runtime_Scheduler::ACE_Runtime_Scheduler - - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime1.h - orbsvcs/tests/EC_Multiple/Scheduler_Runtime2.h - orbsvcs/tests/EC_Multiple/Scheduler_Runtime_Dynamic.h: - - Added config info array and size value - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - - Added missing ;'s to output - -Wed Aug 12 14:39:40 1998 Carlos O'Ryan - - * tao/Stub.h: - * tao/IIOP_Object.h: - * tao/IIOP_Object.cpp: - The do_static_call() method uses argc/argv style to receive all - the arguments (actually an array of void*) instead of the - varargs style used before. This is simpler, more efficient and - easier to debug. - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - * TAO_IDL/be/be_visitor_operation/argument.cpp: - * TAO_IDL/be/be_visitor_argument/docall_cs.cpp: - The generate code to use the new do_static_call() interface. - - * tao/Object.cpp: - * tao/POAC.cpp: - * tao/PolicyC.cpp: - Change the calls to do_static_call() - - * orbsvcs/orbsvcs/Runtime_Scheduler.h: - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * orbsvcs/orbsvcs/Sched/Scheduler.h: - * orbsvcs/orbsvcs/Sched/Config_Scheduler.h: - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp: - Removed some extra "enum" keywords accompanying - RtecScheduler::Dispatching_Type declarations that were choking - Sun/CC. - -Wed Aug 12 12:05:31 1998 Carlos O'Ryan - - * tao/POA.cpp: - Added several missing template instantiations for the new - Hash_Map_Manager. - -Wed Aug 12 12:00:00 1998 Chris Gill - - * orbsvcs/orbsvcs/Runtime_Scheduler.{h, cpp} - orbsvcs/orbsvcs/Sched/Scheduler.{h, cpp} - orbsvcs/orbsvcs/Sched/DynSched.{h, cpp} - orbsvcs/orbsvcs/Sched/Strategy_Scheduler.{h, cpp}: - - Added methods and data members to generate dispatching - queue configuration information. - -Tue Aug 11 18:24:13 1998 Irfan Pyarali - - * tao/POA.h (POA): Changed the children POA map from a Map_Manager - to a Hash_Map_Manager. This should improve the time it takes to - find child POAs. - -Tue Aug 11 17:27:58 1998 Alexander Babu Arulanthu - - * docs/compiler.html : Updated the documentation. - -Tue Aug 11 16:18:53 1998 Alexander Babu Arulanthu - - * be/be_codegen.cpp - * be/be_visitor_root/root_sh.cpp - * driver/drv_args.cpp - * include/idl_global.h - * util/utl_global.cpp - - Added options to to make the file names of the - IDL-generated stubs and skeletons optional. - - The following optins have been added. - - = File name endings for all the IDL generated header files, - stub files, skeleton files and inline files. - - = Various 'h'eader_file_name_endings. - - [-hc ] - Default is "C.h". - [-hs ] - Default is "S.h". - [-hT ] - Default is "S_T.h". - - = Various 'c'lient side stub file_name_endings. - - [-cs ] - Default is "C.cpp". - [-ci ] - Default is "C.i". - - = Various 's'erver side skeleton file name endings. - - [-ss ] - Default is "S.cpp". - [-sT ] - Default is "S_T.cpp". - [-si ] - Default is "S.i". - [-st ] - Default is "S_T.i". - -Tue Aug 11 13:51:00 1998 Carlos O'Ryan - - * TAO_IDL/driver/drv_preproc.cpp: - Under Win32 we need to convert backslashes into double - backslashes before printing the file name in the #line - directive, otherwise the C++ preprocessor gets confused. Thanks - to John Geiss for reporting this problem. - -Tue Aug 11 13:47:53 1998 David L. Levine - - * tao/ORB_Core.cpp: removed unnecessary trailing semicolons - on a couple of IMPLEMENT_{APP,PRE}_GET_METHOD macro invocations. - -Tue Aug 11 10:51:36 1998 Carlos O'Ryan - - * tao/Sequence.h: - * tao/Sequence.cpp: - * tao/CDR.cpp: - Added support for octet sequences containing chains of message - blocks. NOTE: the use of chains of message blocks inside octet - sequences is *ONLY* for custom marshaling, many octet sequence - features (such as get_buffer() or operator[]) are either hard or - expensive to implement when the buffer is split across several - message blocks; thus they are *not* supported. This is only an - issue if the users decides to take advantage of some TAO - extensions to octet sequences; using the normal octet sequences - has *no* side effects. - - * orbsvcs/tests/EC_Throughput/README: - * orbsvcs/tests/EC_Throughput/Makefile: - * orbsvcs/tests/EC_Throughput/run_test.pl: - * orbsvcs/tests/EC_Throughput/data.idl: - * orbsvcs/tests/EC_Throughput/ECT_Data.h: - * orbsvcs/tests/EC_Throughput/ECT_Data.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.h: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.h: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - The test was trying to achieve too much, I made it smaller by - taking the custom marshaling example to a new test - (EC_Custom_Marshal) and just trying to exercise throughput on - this one. - - * orbsvcs/tests/Makefile: - * EC_Custom_Marshal/Makefile: - * EC_Custom_Marshal/README: - * EC_Custom_Marshal/data.idl: - * EC_Custom_Marshal/run_test.pl: - * EC_Custom_Marshal/ECM_Data.h: - * EC_Custom_Marshal/ECM_Data.cpp: - * EC_Custom_Marshal/ECM_Consumer.h: - * EC_Custom_Marshal/ECM_Consumer.cpp: - * EC_Custom_Marshal/ECM_Supplier.h: - * EC_Custom_Marshal/ECM_Supplier.cpp: - Added a new test to show how custom marshaling works, actually - this was already in EC_Throughput, but that test was growing too - fat. - -Mon Aug 10 22:46:39 1998 David L. Levine - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: updated template - instantiations to reflect Memory_Pools.h changes. - -Mon Aug 10 20:02:45 1998 Jeff Parsons - - * Param_Test/README - Added info about the perl script command line args and a note - to the effect that there are still problems with objref. - -Mon Aug 10 19:10:27 1998 Jeff Parsons - - * Param_Test/*.{h,cpp}: - Had moved many #includes to corresponding .h files. I've - been advised that this is not always a good idea, so I - moved them back. - -Mon Aug 10 17:03:12 1998 Jeff Parsons - - * Param_Test/bd_string.cpp: - Opname was being set to "test_unbounded_string" (oops). - -Mon Aug 10 16:54:12 1998 Jeff Parsons - - * Param_Test/run_test.pl: - Added run-through for typecodes (it was missing) and increased wait - between server and client startup to 5 (first time you run server, it - takes a little longer to get going and the first test was getting - skipped). - -Mon Aug 10 16:46:50 1998 Darrell Brunsch - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: Fixed an error - where "not all control paths return a value" in init (). - -Mon Aug 10 15:56:42 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Memory_Pools.h: - The memory pools are global from some time now, but they did not - have the right kind of lock; this lead to memory corruption - problems when sending events at a very high rate. Thanks to - Mark L. Boriack for reporting this - problem. - -Mon Aug 10 13:59:24 1998 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/Impl_Repo.idl: - * orbsvcs/tests/ImplRepo/client.dsp: - * orbsvcs/tests/ImplRepo/client_impl.cpp: - * orbsvcs/tests/ImplRepo/implrepo.dsp: - * orbsvcs/tests/ImplRepo/ir_implrepo_impl.cpp: - * orbsvcs/tests/ImplRepo/ir_implrepo_impl.h: - * orbsvcs/tests/ImplRepo/ir_server.cpp: - * orbsvcs/tests/ImplRepo/server.dsp: - * orbsvcs/tests/ImplRepo/server_impl.cpp: - * orbsvcs/tests/ImplRepo/server_impl.h: - * orbsvcs/tests/ImplRepo/svc.conf: - The server now registers itself with the IR. - -Mon Aug 10 13:33:52 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/RtecEventChannelAdmin.idl: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Added suspend_connection/resume_connection calls to the - PushConsumerProxy interface ala Notification Service, using this - methods a Consumer can temporarly disable the reception of - events; the events are dropped on the Event Service side, thus - minimizing network traffic (but the EC still has to do some - computation). - - * orbsvcs/tests/Simple_Naming/Makefile: - Updated dependencies. - -Mon Aug 10 12:45:01 1998 Matthew J Braun - - * orbsvcs/tests/Logger/Logging_Test_i.cpp: Added extra code to - test the "logv ()" method. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.{h,cpp}: Added new method - "init_new_naming ()" which creates a new naming service. Modified - "init ()" to try and resolve a preexisting NameService before - calling "init_new_naming ()" - - * orbsvcs/orbsvcs/Log/Logger_i.{h,cpp}: Implemented new "logv ()" - method - - * orbsvcs/orbsvcs/Logger.idl (Logger): Added new method "logv ()" - which allows logging with a specified verbosity level. - -Mon Aug 10 10:51:08 1998 Carlos O'Ryan - - * tests/Cubit/TAO/DII_Cubit/client.cpp: - Removed signed/unsigned comparison, thanks to David for pointing - this out. - -Mon Aug 10 09:13:17 1998 David L. Levine - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: added missing - ACE_Hash_Map_Iterator template instantiations. - -Sun Aug 09 23:36:31 1998 Douglas C. Schmidt - - * TAO version 0.2.3 released. - -Sun Aug 9 23:08:51 1998 Douglas C. Schmidt - - * Checked in a bunch of files/directories that I'd neglected - to check in before. - -Sun Aug 09 23:12:33 1998 Douglas C. Schmidt - - * TAO version 0.2.2 released. - -Sun Aug 9 19:46:33 1998 Jeff Parsons - - * Param_Test/var_array.cpp: - - Changed this->out_.out () in add_args to - this->out_.inout (), which works with dii requests. - -Sun Aug 9 19:08:53 1998 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Removed explicit template instantiation for - ACE_Malloc and the - corresponding ACE_Allocator_Adapter<> because it is already - instantiated in ACE. - - * tao/ORB.cpp: - Added missing instantiation of - ACE_Guard, event it is not directly - used in TAO it is used by the ACE_Cached_Connector<> (when - instantiated using that lock) and some compilers do no recursive - instantiation. - -Sun Aug 9 18:20:59 1998 Darrell Brunsch - - * tests/Simple/client_static.dsp: - * tests/Simple/server_static.dsp: - * TAOACE_Static.dsw: - * TAO_IDL/tao_idl.dsp: - * TAO_IDL/tao_idl.dsw: - * TAO_IDL/tao_idl_static.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsw - * orbsvcs/orbsvcs/orbsvcs_static.dsp: - * tao/TAO_Static.dsp: - * tests/Simple/Simple_Object.dsw: - * tests/Simple/client.dsp: - * tests/Simple/server.dsp: - Added and updated projects for a static version of the - TAO libraries. - -Sun Aug 9 12:56:12 1998 Carlos O'Ryan - - * tests/Param_Test/fixed_struct.cpp: - * tests/Param_Test/objref.cpp: - * tests/Param_Test/ub_objref_seq.cpp: - * tests/Param_Test/ub_string.cpp: - * tests/Param_Test/var_array.cpp: - Added missing includes and fixed some T_var to base type - translation problems (it wouldn't compile on Sun/CC otherwise). - -Sun Aug 9 08:51:58 1998 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Trader/Trader.cpp: Added a #include of - Offer_Iterators_T.h so that the code will compile on VxWorks. - Thanks to Sergio for reporting this. - -Sun Aug 9 000:45:55 1998 Jeff Parsons - - * Param_Test/client.dsp: - - Added a missing header file to FileView and created separate - client and server directories under Debug\ so separate .pdb - files can be kept for client and server projects. - - * Param_Test/ub_any_seq.{h,cpp}: - - DII test now works and is CORBA-compliant. - - * Param_Test/any.cpp: - * Param_Test/bd_long_seq.cpp: - * Param_Test/bd_short_seq.cpp: - * Param_Test/bd_str_seq.cpp: - * Param_Test/bd_struct_seq.cpp: - * Param_Test/client.cpp: - * Param_Test/driver,{h,cpp}: - * Param_Test/fixed_array.cpp: - * Param_Test/fixed_struct.cpp: - * Param_Test/nested_struct.cpp: - * Param_Test/objref.cpp: - * Param_Test/short.{h,cpp}: - * Param_Test/typecode.cpp: - * Param_Test/ub_long_seq.cpp: - * Param_Test/ub_objref_seq.cpp: - * Param_Test/ub_short_seq.cpp: - * Param_Test/ub_str_seq.cpp: - * Param_Test/ub_string.cpp: - * Param_Test/ub_struct_seq.cpp: - * Param_Test/var_array.cpp: - * Param_Test/var_struct.cpp: - - Made cosmetic changes to the code. - - -Sat Aug 8 22:47:22 1998 Jeff Parsons - - * Param_Test/fixed_array.{h,cpp}: - * Param_Test/var_array.{h,cpp}: - * Param_Test/var_struct.{h,cpp}: - * Param_Test/nested_struct.{h,cpp}: - * Param_Test/any.{h,cpp}: - - DII tests now work with _vars and are CORBA-compliant. - -Sat Aug 8 21:28:33 1998 Carlos O'Ryan - - * tao/Exception.h: - * tao/Exception.i: - * tao/Exception.cpp: - Removed superflous operator new and operator delete. - - * docs/releasenotes/TODO.html: - More updates. - - * docs/configurations.html: - Added a few hints on when to use ORB-per-thread and what the - consequences are. - -Fri Aug 7 21:39:26 1998 Carlos O'Ryan - - * docs/releasenotes/TODO.html: - Update the notes. - - * docs/releasenotes/index.html: - Added a pointer to the TODO list. - - * orbsvcs/tests/EC_Throughput/run_test.pl: - We need to wait for the NamingService and the EventService after - killing them. We also need a pause after starting up the - consumer. - - * tao/CDR.cpp: - * tao/CDR.h: - * tao/CDR.i: - The OutputCDR class receives allocators for the buffers and the - data blocks. - - * tao/Connect.cpp: - Minimize the number of calls to TAO_ORB_Core_instance() in the - upcall. - - * tao/IIOP_Object.cpp: - Use the ORB_Core allocators for the outgoing CDR stream. - - * tao/Invocation.cpp: - * tao/Invocation.h: - * tao/Invocation.i: - Receive the ORB_Core as an argument to minimize calls to - TAO_ORB_Core_instance. - Use allocators for the outgoing stream. - - * tao/ORB_Core.cpp: - * tao/ORB_Core.h: - * tao/ORB_Core.i: - Added TSS allocators for the outgoing stream. - - * tests/Cubit/TAO/IDL_Cubit/client_i.cpp: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - Fixed problems with Timeprobe registrations. - Also made the <-x> option functional when -v or -o is used. - - * tests/Cubit/TAO/IDL_Cubit/Makefile: - Enabled GPERF support in the IDL compiler again. - -Fri Aug 7 18:00:22 1998 Jeff Parsons - - * Param_Test/bd_short_seq.{h,cpp}: - * Param_Test/bd_long_seq.{h,cpp}: - * Param_Test/bd_str_seq.{h,cpp}: - * Param_Test/bd_struct_seq.{h,cpp}: - * Param_Test/ub_short_seq.{h,cpp}: - * Param_Test/ub_long_seq.{h,cpp}: - * Param_Test/ub_str_seq.{h,cpp}: - * Param_Test/ub_struct_seq.{h,cpp}: - - DII tests now work with _vars. - -Fri Aug 7 15:30:06 1998 Jeff Parsons - - * tests/Param_Test/typecode.{h,cpp}: - - DII test now works. - -Fri Aug 07 14:32:50 1998 Irfan Pyarali - - * tao/ORB_Core.cpp (init): Removed the public set function and - made the ORB_Core a friend. - -Fri Aug 7 10:41:23 1998 Douglas C. Schmidt - - * tao/ORB_Core.cpp (init): Changed the code to use the new - shutdown_lock() accessor so TAO will compile. Thanks to Andy - Gokhale for reporting this. - - * tao/ORB: Added an accessor to set the shutdown lock. - -Fri Aug 07 01:10:48 1998 Irfan Pyarali - - * tao/ORB.cpp - - (shutdown): Restored the flag. In - shutdown, we try to cancel all the threads in the ORB (e.g., - threads from a thread-per-connection policy). If the - flag is set, we wait for all threads to - exit. Note that there is one problem with this: on platforms - that do not support thread cancellation, the threads won't get - cancelled. Therefore, the only way they will wake up and - realize that the ORB has shutdown is that a client makes a - request to them. Hence the flag cannot - reliably used on platforms that do not have thread cancellation. - - (run): Simplified code for accessing shutdown_lock_ and - should_shutdown_ - - * tao/ORB.i (should_shutdown): Added set and get methods for the - should_shutdown_ flag. - - * tao/ORB_Core.cpp - - (Pre_Allocated): Added a constructor that makes sure that the - thread manager does not wait for threads by default. - - (init): Set the for the ORB. - - * tao/Connect.cpp - - (handle_input): Check to see if we've been cancelled - cooperatively before executing the client request. - - (TAO_Server_Connection_Handler::TAO_Server_Connection_Handler, - TAO_Client_Connection_Handler::TAO_Client_Connection_Handler) - If the thread manager of the svc_handlers is zero, set them to - TAO_ORB_Core_instance ()->thr_mgr () and not - ACE_Thread_Manager::instance (). - - (activate): There is no need to assign the thr_mgr (again) as it - was already set correctly at creation time. - - (TAO_Client_Connection_Handler::close): Removed this method. The - base class already does this. - - * tests/Cubit/TAO/IDL_Cubit/IDL_Cubit_Test.cpp: - tests/NestedUpcall/Reactor/NestedUpCalls_Test.cpp: - Removed these tests since they have been superseded by the perl - scripts. Also updated the Makefiles. - - * tests/Cubit/CORBAplus/IDL_Cubit: - * tests/Cubit/TAO/IDL_Cubit: - Removed references to TAO_ORB_Core_Instance. - - * tests/Cubit/TAO/IDL_Cubit/svc.conf: Added back the tss flag for - ORBresources. This is necessary because the collocation test - uses two threads. - - * tests/Cubit/TAO/IDL_Cubit/cubit.idl: Removed the Cubit_Shutdown - object. It is not needed. Also removed the string from - make_cubit since it was not being used. - - * tests/Cubit/TAO/IDL_Cubit/server_i: - - Changed to a Cubit_Factory_i pointer and created - it dynamically so that we can pass it the ORB pointer. - - Removed , , , - , , , - - * tests/Cubit/TAO/IDL_Cubit/client_i: - - was removed since it was not needed anymore. - - Changed to a Cubit_var from a Cubit_ptr. - - Fixed the memory management for . - - Instead of using the Cubit_Shutdown object, we simply turn off - collocation, reinit all our vars (converting them from - collocated to regular objects), and then call shutdown on the - cubit object. - -Thu Aug 6 21:49:55 1998 Douglas C. Schmidt - - * orbsvcs/tests/Trading/Makefile: Changed - - LIBS = -lorbsvcs -lTAO - LDLIBS = -lTTest $(LIBS) - - to - - LDLIBS = -lTTest -lorbsvcs -lTAO - - to work around weirdo bugs with the HP/UX GNU make... Thanks to - John Mulhern <9107@mn3.lawson.lawson.com> for reporting this. - -Thu Aug 6 18:27:24 1998 Darrell Brunsch - - * tests/TAO_Tests.dsw: Added the Multiple Inheritance client - and server projects. - - * tests/Multiple_Inheritance/client.dsp: - * tests/Multiple_Inheritance/server.dsp: - Updated the Release versions to be in synch with the rest - of the tests. - -Thu Aug 6 18:11:20 1998 Darrell Brunsch - - * TAO-INSTALL.html: Added instructions on how to create a - static library for TAO. - - * orbsvcs/orbsvcs/Sched/DynSched.cpp: Fixed a typo where - there was a == when there should have been a =. This was - in schedule_threads (). - -Thu Aug 6 16:37:55 1998 Jeff Parsons - - * tests/Param_Test/typecode.{h,cpp}: - Moved the table of typecodes used for random - selection to be local to init_parameters (). - When it was global and static, the CORBA:: - typecodes could not be used - they weren't yet - initialized. - -Thu Aug 6 14:24:30 1998 Carlos O'Ryan - - * tests/Cubit/TAO/DII_Cubit/client.cpp: - Removed warning about unreached statement. - - * orbsvcs/orbsvcs/Trader/Trader.cpp: - Removed duplicate instantiation of a template. - -Thu Aug 6 13:39:32 1998 Jeff Parsons - - * tao_idl/be/be_visitor_argument/vardecl_ss.cpp: - * tao_idl/be/be_visitor_argument/post_upcall_ss.cpp: - Removed code from visit_predefined_type () in - post_upcall_ss.cpp and changed vardecl_ss.cpp to - accomplish the same thing in a less messy and more - memory-robust manner. Applies to code generated for - test_typecode_skel () in param_TestS.cpp. - -Thu Aug 06 12:51:52 1998 Irfan Pyarali - - * tao/orbconf.h: Added a define for the type of reactor that TAO - will use. By default, this is the Select_Reactor. - - * tao/ORB_Core.cpp (TAO_Default_Reactor): Instantiate TAO_REACTOR - instead of the Select_Reactor. Also made ~TAO_Default_Reactor - virtual. BTW, there is no need to keep a pointer to the - Reactor_Impl class. Simply ask the Reactor class to delete it - when its done. - -Thu Aug 6 09:46:46 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.cpp : Used the new ARGV - constructor which creates a new ARGV with 2 argvs. Removed all - usages of 3*BUFSIZ. - -Wed Aug 5 22:14:39 1998 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp, - orbsvcs/orbsvcs/Trader/Offer_Database.cpp: removed unnecessary - typenames. Thanks to John Mulhern <9107@mn3.lawson.lawson.com> - for reporting this. - -Wed Aug 05 17:34:52 1998 Irfan Pyarali - - * tao/Invocation.h (TAO_GIOP_Invocation): Removed the - TAO_Client_Connection_Handler pointer from this class. It was - moved into the IIOP_Object where it would be easier to recycle - it since instances of TAO_GIOP_Invocation are transient while - IIOP_Objects are not. - - * tao/ORB_Core.cpp (TAO_Cached_Connector_Lock): Added a new - adaptive lock type TAO_Collocation_Table_Lock that will be used - to control the type of locking used by the connector in TAO. - - Moved all the connect strategies from the ORB_Core to the - resource factory. If the strategies were left in the ORB_Core, - each thread would get its own copy of the strategies since - ORB_Core is TSS. - - Removed all instances of TAO_HAS_CLIENT_CONCURRENCY. They were - incomplete, not used, and annoying. - - * tao/ORB.cpp: Changed the template instantiations of the - Connector to specify the new TAO_Cached_Connector_Lock instead - of ACE_SYNCH_NULL_MUTEX or ACE_SYNCH_MUTEX. - - * tao/default_server.cpp (parse_args): Added a new option - (-ORBconnectorlock) to control the lock on the connector. It - defaults to a thread lock, but can set to null. - - Also, changed the lock type of the collocation table from - ACE_SYNCH_RECURSIVE_MUTEX to ACE_SYNCH_MUTEX. - - * tests/Cubit/TAO/IDL_Cubit/svc.conf: Removed excessive options - from the svc.conf file. Also added -ORBconnectorlock null to - avoid locking in the connector. - - * tao: Renamed all instances of coltbl to collocation_table. - -Wed Aug 5 17:48:31 1998 Jeff Parsons - - * tests/Param_Test/var_struct.{h,cpp}: - * tests?param_Test/nested_struct.{h,cpp}: - DII now works, but is non-compliant (OUT arg - has to be extracted to get correct value). - -Wed Aug 5 17:05:36 1998 Darrell Brunsch - - * TAO-INSTALL.html: Added instruction for the addition of - ACE_wrappers/ace to the executable directories under MSVC - 5, since this is needed for the TAO_IDL compiler to work - inside of MSVC. - -Wed Aug 5 16:43:38 1998 Darrell Brunsch - - * docs/implrepo.html: Added information on the new POA policy where - the format of the persistent IOR can be changed from that of both - the last-known-server-IOR and Implementation Repository to that - just of the Implementation Repository. Also added a note on the - use of CLOEXEC to make TAO fork-safe. - -Wed Aug 5 16:04:21 1998 Darrell Brunsch - - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: - * tests/CDR/basic_types.dsp: - * tests/CDR/growth.dsp: - * tests/CDR/tc.dsp: - * tests/Cubit/TAO/DII_Cubit/client.dsp: - * tests/Cubit/TAO/IDL_Cubit/client.dsp: - * tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp: - * tests/Cubit/TAO/IDL_Cubit/server.dsp: - * tests/Cubit/TAO/MT_Cubit/client.dsp: - * tests/Cubit/TAO/MT_Cubit/server.dsp: - * tests/NestedUpcall/MT_Client_Test/client.dsp: - * tests/NestedUpcall/MT_Client_Test/server.dsp: - * tests/NestedUpcall/Reactor/client.dsp: - * tests/NestedUpcall/Reactor/server.dsp: - * tests/NestedUpcall/Triangle_Test/initiator.dsp: - * tests/NestedUpcall/Triangle_Test/server_A.dsp: - * tests/NestedUpcall/Triangle_Test/server_B.dsp: - * tests/OctetSeq/OctetSeq.dsp: - * tests/POA/DSI/client.dsp: - * tests/POA/DSI/server.dsp: - * tests/POA/Default_Servant/client.dsp: - * tests/POA/Default_Servant/server.dsp: - * tests/POA/Explicit_Activation/server.dsp: - * tests/POA/FindPOA/FindPOA.dsp: - * tests/POA/Forwarding/client.dsp: - * tests/POA/Forwarding/server.dsp: - * tests/POA/Generic_Servant/server.dsp: - * tests/POA/NewPOA/NewPOA.dsp: - * tests/POA/On_Demand_Activation/server.dsp: - * tests/POA/RootPOA/RootPOA.dsp: - * tests/POA/TIE/client.dsp: - * tests/POA/TIE/server.dsp: - * tests/POA/locking/locking.dsp: - * tests/Param_Test/client.dsp: - * tests/Param_Test/server.dsp: - * tests/Quoter/Factory_Finder.dsp: - * tests/Quoter/Generic_Factory.dsp: - * tests/Quoter/client.dsp: - * tests/Quoter/server.dsp: - * tests/Simple/client.dsp: - * tests/Simple/server.dsp: - Updated all the Release versions of these projects. I'll - spend another session on converting the rest of the orbsvcs - soon. - - Note: Most of the run_test.pl's do not yet have support for - running the Release version instead of the debug version. - - * tests/TAO_Tests.dsw: Inserted a dependency between DII_Cubit - and IDL_Cubit. - - * tests/Cubit/TAO/IDL_Cubit/run_test.pl: New and improved script - that supports more useful options. - - * tests/Cubit/TAO/IDL_Cubit/README: Added a reference to - run_test.pl and updated the "output" here to what it looks like - now. - -Wed Aug 5 16:02:08 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.cpp : - Used TAO_ORB_Manager to do the ORB and POA - initialization and activation of servants. - -Wed Aug 5 15:38:34 1998 Jeff Parsons - - * tests/Param_Test/fixed_array.{h,cpp}: - * tests/Param_Test/var_array.{h,cpp}: - Fixed DII implementation. - -Wed Aug 5 14:17:27 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: - Added missing template instantiations. - - * orbsvcs/Logging_Service/Makefile: - Moved the TAO_ROOT definition to the top. - - * orbsvcs/Logging_Service/Logging_Service_i.cpp: - Fixed usage message. - -Wed Aug 5 11:21:29 1998 Carlos O'Ryan - - * tests/Cubit/TAO/MT_Cubit/server.cpp: - Fixed couple of minor bugs: assignment of a to a - and a misplaced close paren. - - * tests/Cubit/TAO/DII_Cubit/client.cpp: - Removed EGCS warning about implicit use of & with function - pointers. - - * tests/Param_Test/bd_struct_seq.h: - Removed fully qualified name in method declaration. - -Tue Aug 4 22:23:47 1998 Douglas C. Schmidt - - * tests/Cubit/TAO/MT_Cubit/server.cpp: Cleaned up some of the code - and the comments. - -Tue Aug 4 21:20:35 1998 Nagarajan Surendrany - - * tests/Cubit/TAO/MT_Cubit/server.cpp : - Replaced 3*BUFSIZ with ACE_DEFAULT_ARGV_BUFSIZ and - allocated memory after calculating the length. - -Tue Aug 4 20:00:59 1998 Jeff Parsons - - * Param_Test/ub_any_seq.{h,cpp}: - Added non-_var members for DII OUT arg and - return value. Test now works for DII and SII. - -Tue Aug 4 18:10:16 1998 Jeff Parsons - - * Param_Test/ub_short_seq.{h,cpp}: - Param_Test/ub_long_seq.{h.cpp}: - Param_Test/ub_str_seq.{h,cpp}: - Param_Test/ub_struct_seq.{h,cpp}: - Added non-_var members for DII OUT args and - return values. Tests now work for DII and SII. - -Tue Aug 4 17:32:30 1998 Matthew J Braun - - * orbsvcs/tests/Logger/Logging_Test_i.cpp: - * orbsvcs/Logging_Service/Logging_Service_i.cpp: - Added some debugging code to test the hashing feature. - - * orbsvcs/orbsvcs/Log/Logger_i.{h,cpp}: Added ACE_Hash_Map - code. Now calls to make_logger will use the parameter as a - hash key to return either a new Logger or a preexisting one. Added - some debugging code to the hash-relevant portions. - -Tue Aug 4 17:23:31 1998 Douglas C. Schmidt - - * orbsvcs/tests/Trading/export_test.cpp, - orbsvcs/tests/Trading/Trading_Service.cpp: Changed all uses of - TAO_OBJID_TRADINGSERVICE to "TradingService" to be compliant - with the CORBA specification. - -Tue Aug 04 16:42:50 1998 Irfan Pyarali - - * tests/Multiple_Inheritance: This module is used as a test for - IDL interfaces that inherit from multiple interfaces. The - "diamond of death" inheritance hierarchy is used in this example - where there is a common base class (A), two classes deriving - from the common base class (B and C) and then a final derived - class (D) that inherits from both B and C. - - The client starts off with CORBA Object, narrows to interface A, - then B, then C, and finally D. It calls all the methods on each - interface. - -Tue Aug 4 16:00:16 1998 Darrell Brunsch - - * TAO-INSTALL.html: Added a section on the use of - instead of . Also cleaned up some other - sections about TAOACE.dsw and adding a IDL file to a MSVC - project. - -Tue Aug 4 15:56:34 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.cpp : Changed BUFSIZ to - 3*BUFSIZ to fit the arguments. Made the default base orb port - as 0. - -Tue Aug 4 14:52:12 1998 Jeff Parsons - - * TAO/tests/Param_Test/bd_struct_seq.{h,cpp}: - Same changes as other bounded sequence tests - checked in yesterday (non _var members for DII - OUT arg and return value). Test now works for DII - as well as SII. - -Tue Aug 4 12:55:06 1998 Matthew J Braun - - * orbsvcs/tests/Logger/run_test.pl: Revised test script to call - the executables in the correct directories. - -Tue Aug 4 12:11:55 1998 Matthew J Braun - - * docs/releasenotes/index.html: Added logging service section - -Tue Aug 04 11:08:56 1998 Nanbor Wang - - * TAO_IDL/GenExportH.BAT: Moved it to where it really belong, - $ACE_ROOT/bin/. - -Mon Aug 3 19:46:55 1998 Jeff Parsons - - * tao_idl/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp: - moved buffer allocation in default constructor from body to - base class call - prevents debug assertion in param tests. - - * tao/Sequence_T.i: - change corresponding to the above - - * TAO/tests/Param_Test/bd_short_seq.{h,cpp}: - TAO/tests/Param_Test/bd_long_seq.{h,cpp}: - TAO/tests/Param_Test/bd_str_seq.{h,cpp}: - created non-_var members for OUT args and return values, - changed add_args and check_validity accordingly. These - param tests now work for SII and DII. - -Mon Aug 3 17:21:42 1998 Gonzalo Diethelm - - * IIOP/test/clnt.cpp: - * IIOP/test/cubit.cpp: - * IIOP/test/cubitC.cpp: - * IIOP/test/cubitS.cpp: - * IIOP/test/cubit_i.cpp: - * IIOP/test/svr.cpp: - * IIOP/test/test1.cpp: - * IIOP/test/test1_clnt.cpp: - * IIOP/test/test1_svr.cpp: - * IIOP/test/Orbeline/base_server/Profile_Timer.cpp: - * IIOP/test/Orbeline/base_server/cubit_impl.cpp: - * IIOP/test/Orbeline/base_server/server.cpp: - * IIOP/test/Orbeline/client/Profile_Timer.cpp: - * IIOP/test/Orbeline/client/client.cpp: - * IIOP/test/Orbix/base_server/cubitC.cpp: - * IIOP/test/Orbix/base_server/cubitS.cpp: - * IIOP/test/Orbix/base_server/cubit_impl.cpp: - * IIOP/test/Orbix/base_server/server.cpp: - * IIOP/test/Orbix/base_server/tpr.cpp: - * IIOP/test/Orbix/client/client.cpp: - * IIOP/test/Orbix/client/cubitC.cpp: - * IIOP/test/Orbix/factory_client/client.cpp: - * IIOP/test/Orbix/factory_client/cubitC.cpp: - * IIOP/test/Orbix/factory_client/cubitS.cpp: - * IIOP/test/Orbix/tpool/cubitC.cpp: - * IIOP/test/Orbix/tpool/cubitS.cpp: - * IIOP/test/Orbix/tpool/cubit_impl.cpp: - * IIOP/test/Orbix/tpool/server.cpp: - * IIOP/test/Orbix/tpool/tpool.cpp: - * IIOP/test/Orbix/tpr/cubitC.cpp: - * IIOP/test/Orbix/tpr/cubitS.cpp: - * IIOP/test/Orbix/tpr/cubit_impl.cpp: - * IIOP/test/Orbix/tpr/server.cpp: - * IIOP/test/Orbix/tpr/tpr.cpp: - * IIOP/test/Orbix/tps/cubitC.cpp: - * IIOP/test/Orbix/tps/cubitS.cpp: - * IIOP/test/Orbix/tps/cubit_impl.cpp: - * IIOP/test/Orbix/tps/server.cpp: - * IIOP/test/Orbix/tps/tps.cpp: - * IIOP/tests/Cubit/Orbix/base_server/cubitC.cpp: - * IIOP/tests/Cubit/Orbix/base_server/cubitS.cpp: - * IIOP/tests/Cubit/Orbix/base_server/cubit_impl.cpp: - * IIOP/tests/Cubit/Orbix/base_server/server.cpp: - * IIOP/tests/Cubit/Orbix/base_server/tpr.cpp: - * IIOP/tests/Cubit/Orbix/client/client.cpp: - * IIOP/tests/Cubit/Orbix/client/cubitC.cpp: - * IIOP/tests/Cubit/Orbix/factory_client/client.cpp: - * IIOP/tests/Cubit/Orbix/factory_client/cubitC.cpp: - * IIOP/tests/Cubit/Orbix/factory_client/cubitS.cpp: - * IIOP/tests/Cubit/Orbix/tpool/cubitC.cpp: - * IIOP/tests/Cubit/Orbix/tpool/cubitS.cpp: - * IIOP/tests/Cubit/Orbix/tpool/cubit_impl.cpp: - * IIOP/tests/Cubit/Orbix/tpool/server.cpp: - * IIOP/tests/Cubit/Orbix/tpool/tpool.cpp: - * IIOP/tests/Cubit/Orbix/tpr/cubitC.cpp: - * IIOP/tests/Cubit/Orbix/tpr/cubitS.cpp: - * IIOP/tests/Cubit/Orbix/tpr/cubit_impl.cpp: - * IIOP/tests/Cubit/Orbix/tpr/server.cpp: - * IIOP/tests/Cubit/Orbix/tpr/tpr.cpp: - * IIOP/tests/Cubit/Orbix/tps/cubitC.cpp: - * IIOP/tests/Cubit/Orbix/tps/cubitS.cpp: - * IIOP/tests/Cubit/Orbix/tps/cubit_impl.cpp: - * IIOP/tests/Cubit/Orbix/tps/tps.cpp: - * IIOP/tests/Cubit/TAO/clnt.cpp: - * IIOP/tests/Cubit/TAO/cubit.cpp: - * IIOP/tests/Cubit/TAO/cubitC.cpp: - * IIOP/tests/Cubit/TAO/cubitS.cpp: - * IIOP/tests/Cubit/TAO/cubit_i.cpp: - * IIOP/tests/Cubit/TAO/svr.cpp: - * IIOP/tests/Cubit/TAO/test1.cpp: - * IIOP/tests/Cubit/TAO/test1_clnt.cpp: - * IIOP/tests/Cubit/TAO/test1_svr.cpp: - * IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp: - * IIOP/tests/Cubit/VisiBroker/base_server/cubit_impl.cpp: - * IIOP/tests/Cubit/VisiBroker/base_server/server.cpp: - * IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.cpp: - * IIOP/tests/Cubit/VisiBroker/client/client.cpp: - * IIOP/tests/Thruput_test/client.cpp: - * IIOP/tests/Thruput_test/server.cpp: - * IIOP/tests/Thruput_test/ttcpC.cpp: - * IIOP/tests/Thruput_test/ttcpS.cpp: - * IIOP/tests/Thruput_test/ttcp_i.cpp: - * IIOP/tests/Thruput_test/utils.cpp: - Added ACE_RCSID to these files. - -Mon Aug 3 16:49:45 1998 Gonzalo Diethelm - - * TAO_IDL/Makefile: - We don't attempt to traverse any subdirectories now. - - * TAO_IDL/ast/Makefile: - * TAO_IDL/be/Makefile: - * TAO_IDL/be/be_state.cpp: - * TAO_IDL/be/be_state_argument.cpp: - * TAO_IDL/be/be_state_array.cpp: - * TAO_IDL/be/be_state_attribute.cpp: - * TAO_IDL/be/be_state_exception.cpp: - * TAO_IDL/be/be_state_operation.cpp: - * TAO_IDL/be/be_state_sequence.cpp: - * TAO_IDL/be/be_state_structure.cpp: - * TAO_IDL/be/be_state_typedef.cpp: - * TAO_IDL/be/be_state_union.cpp: - * TAO_IDL/driver/Makefile: - * TAO_IDL/fe/Makefile: - * TAO_IDL/narrow/Makefile: - * TAO_IDL/util/Makefile: - Erased these now useless files. - - * Benchmark/Marshal_Test/Orbix/marshal.h: - Added a RCS Id. - - * Benchmark/Marshal_Test/Orbix/client.cpp: - * Benchmark/Marshal_Test/Orbix/marshal.h: - * Benchmark/Marshal_Test/Orbix/orbix_marshal_client.cpp: - * Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.cpp: - * Benchmark/Marshal_Test/Orbix/orbix_marshal_server.cpp: - * Benchmark/Marshal_Test/Orbix/server.cpp: - * Benchmark/Marshal_Test/TAO/client.cpp: - * Benchmark/Marshal_Test/TAO/marshalC.cpp: - * Benchmark/Marshal_Test/TAO/marshalS.cpp: - * Benchmark/Marshal_Test/TAO/server.cpp: - * Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp: - * Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp: - * Benchmark/Marshal_Test/TAO/tao_marshal_server.cpp: - * Benchmark/Marshal_Test/VisiBroker/client.cpp: - * Benchmark/Marshal_Test/VisiBroker/server.cpp: - * Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.cpp: - * Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.cpp: - * Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.cpp: - * Benchmark/benchmark/driver.cpp: - * Benchmark/benchmark/marshal_options.cpp: - * Benchmark/benchmark/marshal_proxy.cpp: - * Benchmark/benchmark/marshal_results.cpp: - Added ACE_RCSID to these files. - -Mon Aug 3 15:05:39 1998 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/Makefile: Added this Makefile - which compiles the AVStreams mpeg application. - -Mon Aug 3 14:23:22 1998 Gonzalo Diethelm - - * tests/CDR/basic_types.cpp: - * tests/CDR/growth.cpp: - * tests/CDR/tc.cpp: - * tests/Cubit/COOL/IDL_Cubit/client.cpp: - * tests/Cubit/COOL/IDL_Cubit/cubit_i.cpp: - * tests/Cubit/COOL/IDL_Cubit/server.cpp: - * tests/Cubit/COOL/IDL_Cubit/tmplinst.cpp: - * tests/Cubit/COOL/MT_Cubit/Task_Client.cpp: - * tests/Cubit/COOL/MT_Cubit/Util_Thread.cpp: - * tests/Cubit/COOL/MT_Cubit/client.cpp: - * tests/Cubit/COOL/MT_Cubit/cubit_impl.cpp: - * tests/Cubit/COOL/MT_Cubit/pccTimer.cpp: - * tests/Cubit/COOL/MT_Cubit/server.cpp: - * tests/Cubit/CORBAplus/IDL_Cubit/clnt.cpp: - * tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.cpp: - * tests/Cubit/CORBAplus/IDL_Cubit/svr.cpp: - * tests/Cubit/CORBAplus/MT_Cubit/client/Task_Client.cpp: - * tests/Cubit/CORBAplus/MT_Cubit/client/client.cpp: - * tests/Cubit/CORBAplus/MT_Cubit/server/cubit_i.cpp: - * tests/Cubit/CORBAplus/MT_Cubit/server/svr.cpp: - * tests/Cubit/Hardpack/IDL_Cubit/client.cpp: - * tests/Cubit/Hardpack/IDL_Cubit/client_i.cpp: - * tests/Cubit/Hardpack/IDL_Cubit/server.cpp: - * tests/Cubit/Hardpack/IDL_Cubit/server_i.cpp: - * tests/Cubit/Orbix/base_server/cubit_impl.cpp: - * tests/Cubit/Orbix/base_server/server.cpp: - * tests/Cubit/Orbix/client/client.cpp: - * tests/Cubit/Orbix/client/cubitC.cpp: - * tests/Cubit/Orbix/factory_client/client.cpp: - * tests/Cubit/Orbix/factory_client/cubitC.cpp: - * tests/Cubit/Orbix/factory_client/cubitS.cpp: - * tests/Cubit/Orbix/tpool/cubitC.cpp: - * tests/Cubit/Orbix/tpool/cubitS.cpp: - * tests/Cubit/Orbix/tpool/cubit_impl.cpp: - * tests/Cubit/Orbix/tpool/server.cpp: - * tests/Cubit/Orbix/tpool/tpool.cpp: - * tests/Cubit/Orbix/tpr/cubitC.cpp: - * tests/Cubit/Orbix/tpr/cubitS.cpp: - * tests/Cubit/Orbix/tpr/cubit_impl.cpp: - * tests/Cubit/Orbix/tpr/server.cpp: - * tests/Cubit/Orbix/tpr/tpr.cpp: - * tests/Cubit/Orbix/tps/cubitC.cpp: - * tests/Cubit/Orbix/tps/cubitS.cpp: - * tests/Cubit/Orbix/tps/cubit_impl.cpp: - * tests/Cubit/Orbix/tps/tps.cpp: - * tests/Cubit/TAO/DII_Cubit/client.cpp: - * tests/Cubit/TAO/IDL_Cubit/IDL_Cubit_Test.cpp: - * tests/Cubit/TAO/IDL_Cubit/client.cpp: - * tests/Cubit/TAO/IDL_Cubit/client_i.cpp: - * tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/IDL_Cubit/server.cpp: - * tests/Cubit/TAO/IDL_Cubit/server_i.cpp: - * tests/Cubit/TAO/IDL_Cubit/tmplinst.cpp: - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - * tests/Cubit/TAO/MT_Cubit/cubit_i.cpp: - * tests/Cubit/TAO/MT_Cubit/pccTimer.cpp: - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/tmplinst.cpp: - * tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp: - * tests/Cubit/VisiBroker/base_server/cubit_impl.cpp: - * tests/Cubit/VisiBroker/base_server/server.cpp: - * tests/Cubit/VisiBroker/client/Profile_Timer.cpp: - * tests/Cubit/VisiBroker/client/client.cpp: - * tests/Demux_Test/client.cpp: - * tests/Demux_Test/server.cpp: - * tests/Demux_Test/CodeGen/client.cpp: - * tests/Demux_Test/CodeGen/gen.cpp: - * tests/Demux_Test/CodeGen/impl.cpp: - * tests/Demux_Test/CodeGen/objcreate.cpp: - * tests/Demux_Test/CodeGen/perf.cpp: - * tests/Demux_Test/CodeGen/skel.cpp: - * tests/Demux_Test/CodeGen/stub.cpp: - * tests/Demux_Test/CodeGen/tao.cpp: - * tests/NestedUpcall/MT_Client_Test/MT_Object_Impl.cpp: - * tests/NestedUpcall/MT_Client_Test/client.cpp: - * tests/NestedUpcall/MT_Client_Test/local_server.cpp: - * tests/NestedUpcall/MT_Client_Test/server.cpp: - * tests/NestedUpcall/Reactor/NestedUpCalls_Test.cpp: - * tests/NestedUpcall/Reactor/client.cpp: - * tests/NestedUpcall/Reactor/eh_i.cpp: - * tests/NestedUpcall/Reactor/reactor_i.cpp: - * tests/NestedUpcall/Reactor/server.cpp: - * tests/NestedUpcall/Triangle_Test/Initiator_Impl.cpp: - * tests/NestedUpcall/Triangle_Test/Object_A_Impl.cpp: - * tests/NestedUpcall/Triangle_Test/Object_B_Impl.cpp: - * tests/NestedUpcall/Triangle_Test/initiator.cpp: - * tests/NestedUpcall/Triangle_Test/server_A.cpp: - * tests/NestedUpcall/Triangle_Test/server_B.cpp: - * tests/OctetSeq/OctetSeq.cpp: - * tests/POA/DSI/Database_i.cpp: - * tests/POA/DSI/client.cpp: - * tests/POA/DSI/server.cpp: - * tests/POA/Default_Servant/File_i.cpp: - * tests/POA/Default_Servant/client.cpp: - * tests/POA/Default_Servant/server.cpp: - * tests/POA/Explicit_Activation/server.cpp: - * tests/POA/FindPOA/FindPOA.cpp: - * tests/POA/Forwarding/MyFooServant.cpp: - * tests/POA/Forwarding/Servant_Locator.cpp: - * tests/POA/Forwarding/client.cpp: - * tests/POA/Forwarding/server.cpp: - * tests/POA/Generic_Servant/MyFooServant.cpp: - * tests/POA/Generic_Servant/client.cpp: - * tests/POA/NewPOA/NewPOA.cpp: - * tests/POA/On_Demand_Activation/Servant_Activator.cpp: - * tests/POA/On_Demand_Activation/Servant_Locator.cpp: - * tests/POA/On_Demand_Activation/server.cpp: - * tests/POA/RootPOA/RootPOA.cpp: - * tests/POA/TIE/Foo_i.cpp: - * tests/POA/TIE/client.cpp: - * tests/POA/TIE/server.cpp: - * tests/POA/locking/locking.cpp: - * tests/Param_Test/any.cpp: - * tests/Param_Test/bd_long_seq.cpp: - * tests/Param_Test/bd_short_seq.cpp: - * tests/Param_Test/bd_str_seq.cpp: - * tests/Param_Test/bd_string.cpp: - * tests/Param_Test/bd_struct_seq.cpp: - * tests/Param_Test/client.cpp: - * tests/Param_Test/driver.cpp: - * tests/Param_Test/fixed_array.cpp: - * tests/Param_Test/fixed_struct.cpp: - * tests/Param_Test/helper.cpp: - * tests/Param_Test/nested_struct.cpp: - * tests/Param_Test/objref.cpp: - * tests/Param_Test/options.cpp: - * tests/Param_Test/param_test_i.cpp: - * tests/Param_Test/results.cpp: - * tests/Param_Test/server.cpp: - * tests/Param_Test/short.cpp: - * tests/Param_Test/tmplinst.cpp: - * tests/Param_Test/typecode.cpp: - * tests/Param_Test/ub_any_seq.cpp: - * tests/Param_Test/ub_long_seq.cpp: - * tests/Param_Test/ub_objref_seq.cpp: - * tests/Param_Test/ub_short_seq.cpp: - * tests/Param_Test/ub_str_seq.cpp: - * tests/Param_Test/ub_string.cpp: - * tests/Param_Test/ub_struct_seq.cpp: - * tests/Param_Test/var_array.cpp: - * tests/Param_Test/var_struct.cpp: - * tests/Quoter/Factory_Finder.cpp: - * tests/Quoter/Factory_Finder_Impl.cpp: - * tests/Quoter/Generic_Factory.cpp: - * tests/Quoter/Generic_Factory_Impl.cpp: - * tests/Quoter/Quoter_Impl.cpp: - * tests/Quoter/client.cpp: - * tests/Quoter/server.cpp: - * tests/Simple/client.cpp: - * tests/Simple/client_impl.cpp: - * tests/Simple/server.cpp: - * tests/Simple/server_impl.cpp: - * tests/Simple/simple_object_impl.cpp: - * tests/Thruput/COOL/client.cpp: - * tests/Thruput/COOL/server.cpp: - * tests/Thruput/COOL/ttcp_i.cpp: - * tests/Thruput/COOL/utils.cpp: - * tests/Thruput/CORBAplus/client.cpp: - * tests/Thruput/CORBAplus/server.cpp: - * tests/Thruput/CORBAplus/ttcp_i.cpp: - * tests/Thruput/CORBAplus/utils.cpp: - * tests/Thruput/Orbix/Client.cpp: - * tests/Thruput/Orbix/Srv_Main.cpp: - * tests/Thruput/Orbix/ttcp_i.cpp: - * tests/Thruput/Orbix/utils.cpp: - * tests/Thruput/TAO/client.cpp: - * tests/Thruput/TAO/server.cpp: - * tests/Thruput/TAO/tmplinst.cpp: - * tests/Thruput/TAO/ttcp_i.cpp: - * tests/Thruput/TAO/utils.cpp: - Added ACE_RCSID to these files. - -Mon Aug 3 13:51:27 1998 Gonzalo Diethelm - - * orbsvcs/Makefile: - * orbsvcs/Concurrency_Service/Concurrency_Service.cpp: - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp: - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/LifeCycle_Service/Criteria_Evaluator.cpp: - * orbsvcs/LifeCycle_Service/Factory_Trader.cpp: - * orbsvcs/LifeCycle_Service/Life_Cycle_Service.cpp: - * orbsvcs/LifeCycle_Service/Life_Cycle_Service_Impl.cpp: - * orbsvcs/Logging_Service/Logging_Service.cpp: - * orbsvcs/Logging_Service/Logging_Service_i.cpp: - * orbsvcs/Naming_Service/Naming_Service.cpp: - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp: - * orbsvcs/Trading_Service/Trading_Service.cpp: - * orbsvcs/orbsvcs/Channel_Clients.cpp: - * orbsvcs/orbsvcs/Channel_Clients_T.cpp: - * orbsvcs/orbsvcs/Event_Utilities.cpp: - * orbsvcs/orbsvcs/IOR_Multicast.cpp: - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - * orbsvcs/orbsvcs/Scheduler_Utilities.cpp: - * orbsvcs/orbsvcs/Time_Utilities.cpp: - * orbsvcs/orbsvcs/tmplinst-orbsvcs.cpp: - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: - * orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp: - * orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.cpp: - * orbsvcs/orbsvcs/Event/BCU.cpp: - * orbsvcs/orbsvcs/Event/CORBA_Utils_T.cpp: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/GPlot_File.cpp: - * orbsvcs/orbsvcs/Event/Local_ESTypes.cpp: - * orbsvcs/orbsvcs/Event/Memory_Pools.cpp: - * orbsvcs/orbsvcs/Event/Module_Factory.cpp: - * orbsvcs/orbsvcs/Event/RT_Task.cpp: - * orbsvcs/orbsvcs/Event/ReactorTask.cpp: - * orbsvcs/orbsvcs/Event/Task_Manager.cpp: - * orbsvcs/orbsvcs/Log/Logger_i.cpp: - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: - * orbsvcs/orbsvcs/Naming/Entries.cpp: - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp: - * orbsvcs/orbsvcs/Sched/DynSched.cpp: - * orbsvcs/orbsvcs/Sched/SchedEntry.cpp: - * orbsvcs/orbsvcs/Sched/Scheduler.cpp: - * orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp: - * orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Database.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - * orbsvcs/orbsvcs/Trader/Trader.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_T.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - * orbsvcs/tests/AVStreams/benchmark/child.cpp: - * orbsvcs/tests/AVStreams/benchmark/client.cpp: - * orbsvcs/tests/AVStreams/benchmark/server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/client/vcr.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/24bit.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/2x2.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ab.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/audio.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ctr.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/decoders.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/file.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs2.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs2fast.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/fs4.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/global.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/gray.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/hybrid.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/hybriderr.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/info.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/jrevdct.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/mb_ordered.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/mono.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/motionvector.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ordered.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ordered2.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/para.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/parseblock.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/prog.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ui.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/util.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/util32.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/vb.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/vd.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/video.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/vp.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibButton.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibDrawArea.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibFrame.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibLabel.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibList.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibMenu.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibRadioBox.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibScale.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibScrollBar.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibTextBig.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibTextBox.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibToggle.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibload.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Control_State.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Control_i.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Globals.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_State.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_i.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/as.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/las.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/lvs.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/vs.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/com.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/fileio.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/filters.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/routine.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/sendpt.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Machine_Properties.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Property_Exporter.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/as.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/vcrs.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/vs.cpp: - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery.cpp: - * orbsvcs/tests/AVStreams/server_discovery/Trader_Client.cpp: - * orbsvcs/tests/AVStreams/server_discovery/main.cpp: - * orbsvcs/tests/AVStreams/sfp/client.cpp: - * orbsvcs/tests/Concurrency/CC_client.cpp: - * orbsvcs/tests/Concurrency/CC_command.cpp: - * orbsvcs/tests/Concurrency/CC_naming_service.cpp: - * orbsvcs/tests/Concurrency/CC_test_utils.cpp: - * orbsvcs/tests/Concurrency/CC_tests.cpp: - * orbsvcs/tests/Concurrency/NS_client.cpp: - * orbsvcs/tests/Concurrency/tmplinst.cpp: - * orbsvcs/tests/CosPropertyService/client.cpp: - * orbsvcs/tests/CosPropertyService/main.cpp: - * orbsvcs/tests/CosPropertyService/server.cpp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Data.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * orbsvcs/tests/ImplRepo/client.cpp: - * orbsvcs/tests/ImplRepo/client_impl.cpp: - * orbsvcs/tests/ImplRepo/ir_server.cpp: - * orbsvcs/tests/ImplRepo/ir_server_impl.cpp: - * orbsvcs/tests/ImplRepo/ir_simple_object_impl.cpp: - * orbsvcs/tests/ImplRepo/server.cpp: - * orbsvcs/tests/ImplRepo/server_impl.cpp: - * orbsvcs/tests/ImplRepo/simple_object_impl.cpp: - * orbsvcs/tests/Logger/Logging_Test.cpp: - * orbsvcs/tests/Logger/Logging_Test_i.cpp: - * orbsvcs/tests/Logger/client.cpp: - * orbsvcs/tests/Logger/client_i.cpp: - * orbsvcs/tests/Logger/server.cpp: - * orbsvcs/tests/Logger/server_i.cpp: - * orbsvcs/tests/Naming/ns_tree.cpp: - * orbsvcs/tests/Property/client.cpp: - * orbsvcs/tests/Property/main.cpp: - * orbsvcs/tests/Property/server.cpp: - * orbsvcs/tests/Sched/DynSched_Test.cpp: - * orbsvcs/tests/Sched_Conf/Sched_Conf.cpp: - * orbsvcs/tests/Simple_Naming/client.cpp: - * orbsvcs/tests/Simulator/DOVEMIB/AnyAnalyser.cpp: - * orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.cpp: - * orbsvcs/tests/Simulator/DOVEMIB/Node.cpp: - * orbsvcs/tests/Simulator/DOVEMIB/PrintVisitor.cpp: - * orbsvcs/tests/Simulator/DOVEMIB/any_test_i.cpp: - * orbsvcs/tests/Simulator/DOVEMIB/clnt.cpp: - * orbsvcs/tests/Simulator/DOVEMIB/svr.cpp: - * orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.cpp: - * orbsvcs/tests/Simulator/Event_Supplier/Event_Con.cpp: - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp: - * orbsvcs/tests/Trading/Offer_Exporter.cpp: - * orbsvcs/tests/Trading/Offer_Importer.cpp: - * orbsvcs/tests/Trading/Service_Type_Exporter.cpp: - * orbsvcs/tests/Trading/Simple_Dynamic.cpp: - * orbsvcs/tests/Trading/TT_Info.cpp: - * orbsvcs/tests/Trading/colocated_test.cpp: - * orbsvcs/tests/Trading/export_test.cpp: - * orbsvcs/tests/Trading/import_test.cpp: - Added ACE_RCSID to these files. - -Mon Aug 3 12:08:15 1998 Gonzalo Diethelm - - * TAO_IDL/tao_idl.cpp: - * TAO_IDL/ast/ast_argument.cpp: - * TAO_IDL/ast/ast_array.cpp: - * TAO_IDL/ast/ast_attribute.cpp: - * TAO_IDL/ast/ast_check.cpp: - * TAO_IDL/ast/ast_concrete_type.cpp: - * TAO_IDL/ast/ast_constant.cpp: - * TAO_IDL/ast/ast_decl.cpp: - * TAO_IDL/ast/ast_enum.cpp: - * TAO_IDL/ast/ast_enum_val.cpp: - * TAO_IDL/ast/ast_exception.cpp: - * TAO_IDL/ast/ast_expression.cpp: - * TAO_IDL/ast/ast_field.cpp: - * TAO_IDL/ast/ast_generator.cpp: - * TAO_IDL/ast/ast_interface.cpp: - * TAO_IDL/ast/ast_interface_fwd.cpp: - * TAO_IDL/ast/ast_module.cpp: - * TAO_IDL/ast/ast_native.cpp: - * TAO_IDL/ast/ast_operation.cpp: - * TAO_IDL/ast/ast_predefined_type.cpp: - * TAO_IDL/ast/ast_recursive.cpp: - * TAO_IDL/ast/ast_redef.cpp: - * TAO_IDL/ast/ast_root.cpp: - * TAO_IDL/ast/ast_sequence.cpp: - * TAO_IDL/ast/ast_string.cpp: - * TAO_IDL/ast/ast_structure.cpp: - * TAO_IDL/ast/ast_type.cpp: - * TAO_IDL/ast/ast_typedef.cpp: - * TAO_IDL/ast/ast_union.cpp: - * TAO_IDL/ast/ast_union_branch.cpp: - * TAO_IDL/ast/ast_union_label.cpp: - * TAO_IDL/be/be_args.cpp: - * TAO_IDL/be/be_argument.cpp: - * TAO_IDL/be/be_array.cpp: - * TAO_IDL/be/be_attribute.cpp: - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/be/be_constant.cpp: - * TAO_IDL/be/be_decl.cpp: - * TAO_IDL/be/be_enum.cpp: - * TAO_IDL/be/be_enum_val.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_expression.cpp: - * TAO_IDL/be/be_factory.cpp: - * TAO_IDL/be/be_field.cpp: - * TAO_IDL/be/be_generator.cpp: - * TAO_IDL/be/be_helper.cpp: - * TAO_IDL/be/be_init.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_interface_fwd.cpp: - * TAO_IDL/be/be_interpretive.cpp: - * TAO_IDL/be/be_module.cpp: - * TAO_IDL/be/be_native.cpp: - * TAO_IDL/be/be_operation.cpp: - * TAO_IDL/be/be_predefined_type.cpp: - * TAO_IDL/be/be_produce.cpp: - * TAO_IDL/be/be_root.cpp: - * TAO_IDL/be/be_scope.cpp: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_state.cpp: - * TAO_IDL/be/be_state_argument.cpp: - * TAO_IDL/be/be_state_array.cpp: - * TAO_IDL/be/be_state_attribute.cpp: - * TAO_IDL/be/be_state_exception.cpp: - * TAO_IDL/be/be_state_operation.cpp: - * TAO_IDL/be/be_state_sequence.cpp: - * TAO_IDL/be/be_state_structure.cpp: - * TAO_IDL/be/be_state_typedef.cpp: - * TAO_IDL/be/be_state_union.cpp: - * TAO_IDL/be/be_string.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_sunsoft.cpp: - * TAO_IDL/be/be_type.cpp: - * TAO_IDL/be/be_typedef.cpp: - * TAO_IDL/be/be_union.cpp: - * TAO_IDL/be/be_union_branch.cpp: - * TAO_IDL/be/be_union_label.cpp: - * TAO_IDL/be/be_visitor.cpp: - * TAO_IDL/be/be_visitor_argument.cpp: - * TAO_IDL/be/be_visitor_array.cpp: - * TAO_IDL/be/be_visitor_attribute.cpp: - * TAO_IDL/be/be_visitor_constant.cpp: - * TAO_IDL/be/be_visitor_context.cpp: - * TAO_IDL/be/be_visitor_decl.cpp: - * TAO_IDL/be/be_visitor_enum.cpp: - * TAO_IDL/be/be_visitor_exception.cpp: - * TAO_IDL/be/be_visitor_field.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_visitor_interface_fwd.cpp: - * TAO_IDL/be/be_visitor_module.cpp: - * TAO_IDL/be/be_visitor_operation.cpp: - * TAO_IDL/be/be_visitor_root.cpp: - * TAO_IDL/be/be_visitor_scope.cpp: - * TAO_IDL/be/be_visitor_sequence.cpp: - * TAO_IDL/be/be_visitor_structure.cpp: - * TAO_IDL/be/be_visitor_typecode.cpp: - * TAO_IDL/be/be_visitor_typedef.cpp: - * TAO_IDL/be/be_visitor_union.cpp: - * TAO_IDL/be/be_visitor_union_branch.cpp: - * TAO_IDL/be/be_visitor_argument/arglist.cpp: - * TAO_IDL/be/be_visitor_argument/argument.cpp: - * TAO_IDL/be/be_visitor_argument/docall_cs.cpp: - * TAO_IDL/be/be_visitor_argument/marshal_ss.cpp: - * TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp: - * TAO_IDL/be/be_visitor_argument/post_marshal_ss.cpp: - * TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/pre_docall_cs.cpp: - * TAO_IDL/be/be_visitor_argument/pre_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp: - * TAO_IDL/be/be_visitor_array/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_array/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_array/array.cpp: - * TAO_IDL/be/be_visitor_array/array_ch.cpp: - * TAO_IDL/be/be_visitor_array/array_ci.cpp: - * TAO_IDL/be/be_visitor_array/array_cs.cpp: - * TAO_IDL/be/be_visitor_attribute/attribute.cpp: - * TAO_IDL/be/be_visitor_constant/constant_ch.cpp: - * TAO_IDL/be/be_visitor_constant/constant_cs.cpp: - * TAO_IDL/be/be_visitor_enum/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_enum/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_enum/enum_ch.cpp: - * TAO_IDL/be/be_visitor_enum/enum_cs.cpp: - * TAO_IDL/be/be_visitor_exception/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_exception/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_exception/ctor_assign.cpp: - * TAO_IDL/be/be_visitor_exception/exception.cpp: - * TAO_IDL/be/be_visitor_exception/exception_ch.cpp: - * TAO_IDL/be/be_visitor_exception/exception_ci.cpp: - * TAO_IDL/be/be_visitor_exception/exception_cs.cpp: - * TAO_IDL/be/be_visitor_exception/exception_ctor.cpp: - * TAO_IDL/be/be_visitor_field/field_ch.cpp: - * TAO_IDL/be/be_visitor_field/field_ci.cpp: - * TAO_IDL/be/be_visitor_field/field_cs.cpp: - * TAO_IDL/be/be_visitor_interface/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_interface/collocated_sh.cpp: - * TAO_IDL/be/be_visitor_interface/collocated_ss.cpp: - * TAO_IDL/be/be_visitor_interface/interface.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ci.cpp: - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp: - * TAO_IDL/be/be_visitor_interface/interface_si.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - * TAO_IDL/be/be_visitor_interface/tie_sh.cpp: - * TAO_IDL/be/be_visitor_interface/tie_si.cpp: - * TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ch.cpp: - * TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ci.cpp: - * TAO_IDL/be/be_visitor_module/any_op.cpp: - * TAO_IDL/be/be_visitor_module/module.cpp: - * TAO_IDL/be/be_visitor_module/module_ch.cpp: - * TAO_IDL/be/be_visitor_module/module_sh.cpp: - * TAO_IDL/be/be_visitor_operation/arglist.cpp: - * TAO_IDL/be/be_visitor_operation/argument.cpp: - * TAO_IDL/be/be_visitor_operation/collocated_sh.cpp: - * TAO_IDL/be/be_visitor_operation/collocated_ss.cpp: - * TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp: - * TAO_IDL/be/be_visitor_operation/operation_ch.cpp: - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - * TAO_IDL/be/be_visitor_operation/operation_sh.cpp: - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp: - * TAO_IDL/be/be_visitor_operation/rettype.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_assign_ss.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_docall_cs.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_marshal_ss.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_post_docall_cs.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_post_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_pre_docall_cs.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_return_cs.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_vardecl_cs.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp: - * TAO_IDL/be/be_visitor_operation/tie_sh.cpp: - * TAO_IDL/be/be_visitor_operation/tie_si.cpp: - * TAO_IDL/be/be_visitor_root/any_op.cpp: - * TAO_IDL/be/be_visitor_root/root.cpp: - * TAO_IDL/be/be_visitor_root/root_ch.cpp: - * TAO_IDL/be/be_visitor_root/root_ci.cpp: - * TAO_IDL/be/be_visitor_root/root_cs.cpp: - * TAO_IDL/be/be_visitor_root/root_sh.cpp: - * TAO_IDL/be/be_visitor_root/root_si.cpp: - * TAO_IDL/be/be_visitor_root/root_ss.cpp: - * TAO_IDL/be/be_visitor_sequence/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/buffer_type.cpp: - * TAO_IDL/be/be_visitor_sequence/elemtype.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_object_manager_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_base.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp: - * TAO_IDL/be/be_visitor_structure/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_structure/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_structure/structure.cpp: - * TAO_IDL/be/be_visitor_structure/structure_ch.cpp: - * TAO_IDL/be/be_visitor_structure/structure_ci.cpp: - * TAO_IDL/be/be_visitor_structure/structure_cs.cpp: - * TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp: - * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp: - * TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_typedef/typedef.cpp: - * TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp: - * TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp: - * TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp: - * TAO_IDL/be/be_visitor_union/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_union/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_union/discriminant_ch.cpp: - * TAO_IDL/be/be_visitor_union/discriminant_ci.cpp: - * TAO_IDL/be/be_visitor_union/discriminant_cs.cpp: - * TAO_IDL/be/be_visitor_union/union.cpp: - * TAO_IDL/be/be_visitor_union/union_ch.cpp: - * TAO_IDL/be/be_visitor_union/union_ci.cpp: - * TAO_IDL/be/be_visitor_union/union_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_access_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_ch.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp: - * TAO_IDL/driver/drv_args.cpp: - * TAO_IDL/driver/drv_fork.cpp: - * TAO_IDL/driver/drv_init.cpp: - * TAO_IDL/driver/drv_link.cpp: - * TAO_IDL/driver/drv_preproc.cpp: - * TAO_IDL/driver/drv_private.cpp: - * TAO_IDL/fe/fe_declarator.cpp: - * TAO_IDL/fe/fe_extern.cpp: - * TAO_IDL/fe/fe_init.cpp: - * TAO_IDL/fe/fe_interface_header.cpp: - * TAO_IDL/fe/fe_private.cpp: - * TAO_IDL/narrow/narrow.cpp: - * TAO_IDL/util/utl_decllist.cpp: - * TAO_IDL/util/utl_error.cpp: - * TAO_IDL/util/utl_exceptlist.cpp: - * TAO_IDL/util/utl_exprlist.cpp: - * TAO_IDL/util/utl_global.cpp: - * TAO_IDL/util/utl_identifier.cpp: - * TAO_IDL/util/utl_idlist.cpp: - * TAO_IDL/util/utl_indenter.cpp: - * TAO_IDL/util/utl_labellist.cpp: - * TAO_IDL/util/utl_list.cpp: - * TAO_IDL/util/utl_namelist.cpp: - * TAO_IDL/util/utl_scope.cpp: - * TAO_IDL/util/utl_stack.cpp: - * TAO_IDL/util/utl_string.cpp: - * TAO_IDL/util/utl_strlist.cpp: - * TAO_IDL/util/utl_tmpl/utl_decllist.cpp: - * TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp: - * TAO_IDL/util/utl_tmpl/utl_exprlist.cpp: - * TAO_IDL/util/utl_tmpl/utl_idlist.cpp: - * TAO_IDL/util/utl_tmpl/utl_labellist.cpp: - * TAO_IDL/util/utl_tmpl/utl_list.cpp: - * TAO_IDL/util/utl_tmpl/utl_namelist.cpp: - * TAO_IDL/util/utl_tmpl/utl_strlist.cpp: - Added ACE_RCSID to these files. - -Mon Aug 3 09:27:46 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: - Bounded octet sequences do not have the Message_Block - constructor, but we were generating it. Thanks to John Geiss - for reporting this problem. - -Fri Jul 31 20:34:27 1998 Gonzalo Diethelm - - * tao/Any.cpp: - * tao/CDR.cpp: - * tao/Client_Strategy_Factory.cpp: - * tao/Connect.cpp: - * tao/CurrentC.cpp: - * tao/CurrentS.cpp: - * tao/Exception.cpp: - * tao/Forwarding_Servant.cpp: - * tao/GIOP.cpp: - * tao/IIOP_Interpreter.cpp: - * tao/IIOP_ORB.cpp: - * tao/IIOP_Object.cpp: - * tao/Invocation.cpp: - * tao/Marshal.cpp: - * tao/NVList.cpp: - * tao/ORB.cpp: - * tao/ORB_Core.cpp: - * tao/ORB_Strategies_T.cpp: - * tao/Object.cpp: - * tao/Object_KeyC.cpp: - * tao/Object_Table.cpp: - * tao/Operation_Table.cpp: - * tao/POA.cpp: - * tao/POAC.cpp: - * tao/POAS.cpp: - * tao/PolicyC.cpp: - * tao/PolicyS.cpp: - * tao/Principal.cpp: - * tao/Request.cpp: - * tao/Sequence.cpp: - * tao/Sequence_T.cpp: - * tao/Servant_Base.cpp: - * tao/Server_Request.cpp: - * tao/Server_Strategy_Factory.cpp: - * tao/Stub.cpp: - * tao/TAO.cpp: - * tao/TAO_Internal.cpp: - * tao/Typecode.cpp: - * tao/Typecode_Constants.cpp: - * tao/Union.cpp: - * tao/append.cpp: - * tao/debug.cpp: - * tao/decode.cpp: - * tao/deep_free.cpp: - * tao/default_client.cpp: - * tao/default_server.cpp: - * tao/encode.cpp: - * tao/params.cpp: - * tao/poa_T.cpp: - * tao/skip.cpp: - * tao/t-sizes.cpp: - Added ACE_RCSID to these files. - -Fri Jul 31 15:34:55 1998 Jeff Parsons - - * Param_Test/bd_string.cpp: - * Param_test/ub_string.cpp: - I had been playing around and left the files in a state - where dii wouldn't work - undid my oversight. - -Fri Jul 31 15:10:12 1998 Carlos O'Ryan - - * tao/Any.h: - * tao/Any.cpp: - * tao/decode.cpp: - When decoding Any's the ORB was not releasing the memory already - held by the Any. - -Fri Jul 31 13:51:46 1998 Seth Benjamin Widoff - - * orbsvcs/tests/AVStreams/mpeg/source/server/Machine_Properties.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Property_Exporter.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.h: - * orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.idl: - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.h: - Added comments and made other cosmetic changes. - - * orbsvcs/tests/AVStreams/server_discovery/Makefile: - * orbsvcs/tests/AVStreams/server_discovery/Queue.java: - * orbsvcs/tests/AVStreams/server_discovery/README: - * orbsvcs/tests/AVStreams/server_discovery/Server_0005fDiscovery_0005fUtil.h: - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery.cpp: - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery.java: - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Browser.java: - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Perf.java: - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Selection.java: - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Util.java: - * orbsvcs/tests/AVStreams/server_discovery/Strip_Chart.java: - * orbsvcs/tests/AVStreams/server_discovery/Trader_Client.cpp: - * orbsvcs/tests/AVStreams/server_discovery/Trader_Client.h: - * orbsvcs/tests/AVStreams/server_discovery/main.cpp: - This is the A/V Demo on the client side. The README file in this - directory details its design and current status, and includes a - description of the work that remains. - -Fri Jul 31 14:06:22 1998 Jeff Parsons - - * tao_idl/be/be_visitor_argument/post_upcal_ss.cpp: - added an action to visit_predefined_type for the - PT_pseudo case (OUT arg) that fixes the typecode - sii param test. - -Fri Jul 31 07:58:36 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_union_branch/{public_ci, - public_assign_cs}.cpp: The code for string members was using an - incorrect, undefined type for a _var variable. We now use - CORBA::String_var instead. Thanks to Kirk Ellett - for reporting this problem. - - * doc/releasenotes/index.html: Updated to indicate that anonymous - arrays are suppored inside structs but not inside unions. - -Thu Jul 30 17:05:09 1998 Douglas C. Schmidt - - * TAO version 0.2.1 released. - -Thu Jul 30 16:40:10 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/run_test.pl: - * orbsvcs/tests/EC_Throughput/run_test.pl: - * orbsvcs/tests/Event_Latency/run_test.pl: - * orbsvcs/tests/Simple_Naming/run_test.pl: - * tests/Cubit/TAO/DII_Cubit/run_test.pl: - * tests/Cubit/TAO/IDL_Cubit/run_test.pl: - * tests/Cubit/TAO/MT_Cubit/run_test.pl: - * tests/NestedUpcall/MT_Client_Test/run_test.pl: - * tests/NestedUpcall/Triangle_Test/run_test.pl: - * tests/Param_Test/run_test.pl: - * tests/Quoter/run_test.pl: - * tests/Simple/run_test.pl: - Removed the last calls to system("del") and minor cosmetic - fixes. - -Thu Jul 30 15:38:52 1998 Matthew J Braun - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: - * orbsvcs/orbsvcs/IOR_Multicast.cpp: - * tao/ORB.cpp - Made some debugging messages dependent on - TAO_debug_level. - -Thu Jul 30 13:46:38 1998 Carlos O'Ryan - - * orbsvcs/tests/Concurrency/Makefile: - The CC_command.tab.{h,cpp} and lex.CC_command.cpp files are - distributed in the TAO release, there is no need for the users - to generate them. We do include targets to warn of potentially - outdated files, but this is only for our own purposes. - - * orbsvcs/tests/Concurrency/CC_command.y: - * orbsvcs/tests/Concurrency/CC_command.tab.h: - * orbsvcs/tests/Concurrency/CC_command.tab.cpp: - * orbsvcs/tests/Concurrency/CC_command.tab.cpp.diff: - Generated using a modified version of yacc, that produces more - portable code. - -Thu Jul 30 13:07:00 1998 Matthew J Braun - - * orbsvcs/Makefile: - * orbsvcs/Logging_Service/Makefile: New file. Makefile for the - Logging service. - - * orbsvcs/Logging_Service/Logging_Service_i.{h,cpp}: New files, - renamed from tests/Logger/server_i.{h,cpp}. Migrated from a test - to a service. Added ability to name the factory from the command - line. - - * orbsvcs/tests/Logger/Makefile: Eliminated server - compilation. Changed client name to Logging_Test - - * orbsvcs/tests/Logger/Logging_Test_i.cpp: New file, renamed from - tests/Logger/client_i.cpp. Altered includes to reflect transition - of server from test server to actual service. - - * orbsvcs/tests/Logger/Logging_Test_i.h: New file, renamed from - tests/Logger/client_i.h. Added multiple include protection. - - * orbsvcs/tests/Logger/Logging_Test.cpp: New file, renamed from - tests/Logger/server.cpp. Removed some debugging code. - - * orbsvcs/tests/Logger/Logging_Test.cpp: New file, renamed from - tests/Logger/client.cpp. Edited to reflect changed filenames. - - -Thu Jul 30 00:39:10 1998 Douglas C. Schmidt - - * orbsvcs/tests/Concurrency/{CC_command.tab,lex.CC_command}.cpp.diff: - Updated these files to prevent complains from lex and yacc. - Thanks to J. Russell Noseworthy - for reporting this fix. - -Wed Jul 29 18:46:46 1998 Douglas C. Schmidt - - * orbsvcs/tests/Concurrency: Touched the lex and yacc files so - that Make won't try to remake their *.cpp files. This is just a - temporary fix until we get this working correctly. Thanks to - J. Russell Noseworthy for - reporting this and to Carlos for suggesting the fix. - -Wed Jul 29 18:46:46 1998 Douglas C. Schmidt - - * TAO version 0.2 released. - -Wed Jul 29 13:55:20 1998 Irfan Pyarali - - * tao/Connect.cpp: Fixed indentation. - - * tao/TAO_Internal.cpp (close_services): service_open_count_ - should be reduced by one. - -Wed Jul 29 12:32:48 1998 Carlos O'Ryan - - * tests/Param_Test/run_test.pl: - * tests/NestedUpcall/Triangle_Test/run_test.pl: - * tests/NestedUpcall/MT_Client_Test/run_test.pl: - * tests/Simple/run_test.pl: - * tests/Cubit/TAO/IDL_Cubit/run_test.pl: - * tests/Cubit/TAO/DII_Cubit/run_test.pl: - Use unlink instead of system("rm") or system("del"). - - * tests/Cubit/TAO/Makefile: - * tests/Cubit/TAO/DII_Cubit/Makefile: - Added DII_Cubit to the default compilation. - - * tests/Cubit/TAO/MT_Cubit/run_test.pl: - Added a one-button test. - - * tests/NestedUpcall/MT_Client_Test/client.h: - * tests/NestedUpcall/MT_Client_Test/client.cpp: - Instead of using the thread id to decide which server we use - each client thread is assigned a number, even threads choose the - first server, odd threads the second one. The thread id - approach was non-portable. - - * tests/POA/RootPOA/README: - * tests/POA/FindPOA/README: - * tests/POA/NewPOA/README: - Updated this files, the tests don't print warning messages about - the svc.conf file anymore (actually the ORB doesn't). - -Wed Jul 29 08:58:01 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_field/{field_ci, field_cs}.cpp: Added code - to handle arrays. I had forgotten to invoke the code generator for - arrays that are struct members. I had only handled the header file - but not the inline file and the implementation file. The visitor - that does this was already done, but it was not getting - invoked. Thanks to Andreas Geisler - for reporting this problem. - -Wed Jul 29 06:45:54 1998 David L. Levine - - * tests/NestedUpcall/MT_Client_Test/ local_server.cpp (MT_Server): - reordered initializers to match declaration order. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: allow up to 1024 each - consumers and suppliers. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp (main): dynamically - allocate the Test_ECG instance so that a large stack space isn't - required. - - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime_Dynamic.h, - run_dynamic,gen_dynamic,dyn_plot: added 1000 low-priority - consumers. Used these versions for DASC-98 paper. - -Tue Jul 28 23:01:21 1998 Darrell Brunsch - - * orbsvcs/tests/Logger/runtests.pl: Removed this since it has been - replaced. - - * orbsvcs/tests/Logger/run_test.pl: Cleaned this script up by - removing the code that wasn't needed. - -Tue Jul 28 16:54:00 1998 Jeff Parsons - - * TAO/tests/Param_Test/bd_struct_seq.cpp: Sequence length - initialization didn't work, so zero-length sequence always - returned "correct" results in sii call. Fixed it so the - sequence length is actually initialized, gets correct results - in sii test, correct with dii as well, but request crashes on - release, same as for var_struct. Still looking into that. - -Tue Jul 28 16:43:22 1998 Carlos O'Ryan - - * orbsvcs/tests/Event_Latency/run_test.pl: - * orbsvcs/tests/EC_Multiple/run_test.pl: - * orbsvcs/tests/EC_Throughput/run_test.pl: - * orbsvcs/tests/Simple_Naming/run_test.pl: - Added and updated the one-button tests for this directories. - - * tests/Param_Test/bd_string.cpp: - The name of the test was wrong. - -Tue Jul 28 16:25:11 1998 Jeff Parsons - - * tao/Sequence_T.i : Reversed the order of 2 args in - the base class call of one of the - constructors for TAO_Bounded_Sequence and added a line to - this and to the default constructor for TAO_Bounded_Sequence - to allocate the buffer to MAX size upon instantiation. - - * tao_idl/be/be_visitor/gen_bounded_sequence_ch.cpp: - * tao_idl/be/be_visitor/gen_bounded_str_sequence_ch.cpp: - * tao_idl/be/be_visitor/gen_bounded_obj_sequence_ch.cpp: - Made the changes corresponding to the changes above in - Sequence_T.i. - -Tue Jul 28 16:22:28 1998 David L. Levine - - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime_Dynamic.h: - removed ACE_Scheduler_Factory::use_runtime () call, so that - this header can be included by EC_Multiple.cpp even for - local (config) runs. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: added - ACE_Scheduler_Factory::use_runtime () calls, when in - runtime mode only. Also, added printouts just before - registering each supplier and consumer, to help debugging. - - * tests/NestedUpcall/MT_Client_Test/client.cpp (init): use of - ACE_thread_t as an unsigned long requires a reinterpret_cast. - -Tue Jul 28 15:07:32 1998 Nagarajan Surendran - - * tests/Cubit/Hardpack/IDL_Cubit/cubit.idl: - Added cube_oneway and cube_void operations. - * tests/Cubit/Hardpack/IDL_Cubit/cubit_impl.{h,cpp}: - * tests/Cubit/Hardpack/IDL_Cubit/client_i.{h,cpp}: - Added implementation code for cube_oneway and cube_void. - -Tue Jul 28 14:49:52 1998 Douglas C. Schmidt - - * TAO-INSTALL.html (HREF): The paragraph "A note on Make" was - duplicated. Thanks to Jeff McDaniel - for reporting this. - -Tue Jul 28 13:49:01 1998 Carlos O'Ryan - - * tests/NestedUpcall/Makefile: - Added MT_Client_Test. - - * tests/NestedUpcall/MT_Client_Test/Makefile: - Updated dependencies. - -Tue Jul 28 11:09:35 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.cpp : - Removed unnecessary commented code. - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - Added argument processing code for option "-r" which - enables the thread-per-rate test. - * tests/Cubit/TAO/MT_Cubit/client.cpp: - Added code so that the main thread waits on a condition - variable after activating the CB_20_HZ_CONSUMER thread so - that it finishes the argument processing. - -Tue Jul 28 10:17:18 1998 David L. Levine - - * orbsvcs/tests/EC_Multiple/Scheduler_Runtime_Dynamic.h: - removed static storage class qualifier from declaration of - scheduler_factory_setup. It's the right thing to do, but - with it, DEC cxx complains about an unused variable. - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp (footer): removed - "static" storage class qualifier so that it's not inserted - into generated code. - -Tue Jul 28 10:08:33 1998 Seth Benjamin Widoff - - * orbsvcs/LifeCycle_service/Factory_Trader.cpp: - Addressed one cxx and one g++ error. - -Mon Jul 27 15:23:33 1998 Irfan Pyarali - - * tao/ORB.cpp (open): Changed the open_called_ flag from an atomic - op to a normal int. Also added the open_lock_ mutex to protect - the entire open routine. Now we do a double check instead of - checking the simply check the open_called_ atomic op. - - (create_stub_object): Added a new method to the ORB that makes - sure that the open routine has been called before creating any - stubs. - - * tao/ORB_Core.cpp (init): There is no need to call ORB::open if - the port is 0. It will automagically be called when the first - stub is created. - - * tao/Servant_Base.cpp (_create_stub): Made sure to call the new - ORB method when creating stubs. - - * tao/orbconf.h (TAO_DEFAULT_SERVER_PORT): Changed the default - port to 0. - - * tests/NestedUpcall/Reactor/client.cpp (run): - * tests/NestedUpcall/MT_Client_Test/local_server.cpp (run_ORB_briefly): - * tests/NestedUpcall/Triangle_Test/initiator.cpp (run): - - No need to call orb->run (ACE_Time_Value::zero) - -Mon Jul 27 17:30:53 1998 Darrell Brunsch - - * orbsvcs/LifeCycle_Service/Factory_Trader.{h,cpp}: Enabled all - the functionality by default since the Trading Service is now - in good shape. - - * tests/Quoter/client.cpp: - * tests/Quoter/Generic_Factory.cpp: - * tests/Quoter/run_test.pl: - Enabled all the LifeCycle functionality and all looks good on - NT. - - * TAO_IDL/tao_idl.dsp: Release version now has debug information - in a separate file (or else it doesn't work at all), and the - Release version of the compiler is placed in the Release - subdirectory. This will most likely be teh format we will use - for executables: the debug version in .\ and the release in - .\Release\ (both with the same name). - -Mon Jul 27 16:59:14 1998 Matthew J Braun - - * orbsvcs/orbsvcs/Naming/Naming_Utils.{h,cpp}: Added minor - formating changes - * orbsvcs/tests/Logger/README: Added minor formatting changes - * orbsvcs/tests/Logger/client.cpp: Added minor formatting changes - * orbsvcs/tests/Logger/server.cpp: Added minor formatting changes - * orbscvs/tests/Logger/client_i.{h,cpp}: Added minor formatting - changes - * orbsvcs/tests/Logger/server_i.{h,cpp}: Added minor formatting - changes - * orbsvcs/tests/Logger/run_test.pl: Fixed a small error where - script tried to kill a non-existant process. - -Mon Jul 27 17:15:25 1998 David L. Levine - - * orbsvcs/tests/EC_Multiple/dyn_plot: added this perl script, - which was used to generate plots for the DASC '98 paper. - -Mon Jul 27 17:11:07 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Trader_T.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Constraint_Visitor.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - Fixed compiler errors with g++ 2.7.2. Thanks to good ol' Sergio - for pointing this out. - -Mon Jul 27 16:55:18 1998 Carlos O'Ryan - - * tests/NestedUpcall/MT_Client_Test/run_test.pl: - * tests/NestedUpcall/Reactor/run_test.pl: - * tests/NestedUpcall/Triangle_Test/run_test.pl: - * tests/Simple/run_test.pl: - * tests/Cubit/TAO/DII_Cubit/run_test.pl: - * tests/Cubit/TAO/IDL_Cubit/run_test.pl: - Capture the client status and return it, also wait (or kill) the - server before exit. - - * tests/Param_Test/results.h: - * tests/Param_Test/results.cpp: - * tests/Param_Test/client.cpp: - Print the test name *before* attempting to run it, so the output - is visible even on a crash. Also print an easy to grep message - on test failure. - - * tests/Param_Test/run_test.pl: - By default use ORBport 0 and run the tests 5 times (just for - luck). - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - Made the push() methods on the Supplier_Module and the - Consumer_Module virtual, so users can provide their own. - -Mon Jul 27 1:26:44 1998 Jeff Parsons - - * TAO/tests/Param_Test/var_struct{.h,.cpp}: Committed my - changes so far so others can check it out. DII version - doesn't work yet. - -Mon Jul 27 12:44:12 1998 Nanbor Wang - - * tao/Invocation.cpp (start): Modified the code in - TAO_ARL_USES_SAME_CONNECTOR_PORT so the connector always binds - to the host IP address specified in the ORB Core. Thanks to - Fred Kuhns for pointing this out. - -Sun Jul 26 21:01:09 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.cpp: - * tests/Cubit/TAO/MT_Cubit/client.cpp: - Added preliminary argument processing code so - that we can allocate memory for data structures for the - number of threads specified on the command line. - -Sun Jul 26 16:58:54 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.cpp : Fixed the argument - processing of low priority servants. - -Sun Jul 26 16:02:00 1998 Michael Kircher - - * tao/ORB_Core.cpp: Removed a line in unset_leader_wake_up_follower - which did not belong there any more. - -Sun Jul 26 13:50:20 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/tests/Concurrency/Makefile: - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Simple_Naming/Makefile: - * orbsvcs/tests/Trading/Makefile: - * tests/NestedUpcall/Reactor/Makefile: - * tests/NestedUpcall/Triangle_Test/Makefile: - * tests/POA/Default_Servant/Makefile: - * tests/POA/Generic_Servant/Makefile: - The realclean target was not removing all the files. - -Sun Jul 26 10:11:07 1998 Carlos O'Ryan - - * orbsvcs/Trading_Service/Trading_Service.cpp: - * orbsvcs/tests/Trading/colocated_test.cpp: - MSVC++ and std::auto_ptr don't like implicit conversions from - the pointer type to the auto_ptr, this is (I believe) the - standard behavior. - - * orbsvcs/tests/Logger/server.dsp: - * orbsvcs/tests/Logger/client.dsp: - Added missing files to the project. - -Sun Jul 26 09:17:58 1998 David L. Levine - - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: increased - MAX_CONSUMERS and MAX_SUPPLIERS to 100. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: 1) added support - for dynamic scheduling test (ECM3). 2) In config runs, dump - the schedule before shutting the test down. An exception is - usually thrown when shutting the test down, for all but the - first EC. This change allows the schedule to still be dumped. - - * orbsvcs/tests/EC_Multiple/{Scheduler_Runtime_Dynamic.h, - run_dynamic,gen_dynamic}: added support for dynamic - scheduling test. Currently, it requires that TAO - be build with the CCFLAGS: -DTAO_USES_STRATEGY_SCHEDULER - -DTAO_USES_MUF_SCHEDULING -DTAO_MIN_CRITICAL_PRIORITY=0. - - * orbsvcs/tests/EC_Multiple/run_{latency,overhead,schedule, - throughput,utilization}: use ORBport 0 instead of hard-coded port. - For NameService, use $NameServicePort if it is defined in the - user's environment. - -Sat Jul 25 15:21:45 1998 Carlos O'Ryan - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: - The condition for imported vs. main file changed after the - addition of the #line directive. - -Sat Jul 25 14:15:46 1998 David L. Levine - - * orbsvcs/orbsvcs/Sched/Scheduler.cpp: removed - ACE_{Read,Write)_Guard template instantiations - because they're in libTAO. - -Sat Jul 25 13:56:45 1998 Carlos O'Ryan - - * TAO_IDL/driver/drv_preproc.cpp: - Generate a #line directive which is accepted by more compilers. - -Fri Jul 24 21:44:09 1998 Carlos O'Ryan - - * tao/Exception.i: - * tao/Exception.cpp: - ExceptionList was not releasing the TypeCodes in its destructor, - this produced a memory leak at shutdown, because there is a list - with the standard exceptions typecodes. - A similar problem ocurred with the CORBA::_tc_* exceptions. - NOTE: Purify-4.0.1 on Solaris 2.5 gets confused by these fixes - and reports bogus FNH and memory leak problems. The bug is - triggered by an interaction with TAO's use of the Service - Configurator to dynamically load libTAO, apparently when using - Purify the library static constructors are called two times; the - problem does not ocurr when *not* using purify or when not - loading the library. To test the latter just run a TAO test - (like $TAO_ROOT/tests/Param_Test) with and without the option - "-ORBsvcconf /dev/null". Verifying the purify confusion - requires more work, try stopping in one of the static - constructors (like TypeCodes), then set a breakpoint for the - same constructor at the same address and continue the program, - when TAO loads the library you will see the constructor executed - again; this will *not* happen when running without purify. - - * tao/Object_Table.h: - * tao/Object_Table.cpp: - Removed static object, now it is a member of the class. - - * tao/Typecode.cpp: - Removed outdated comments. - - * tests/Param_Test/svc.conf: - Removed obsolete comments, the web page describes the options in - more detail. - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Fixed delete of (void*). Thanks to John Mulhern - <9107@mn3.lawson.lawson.com> for reporting this. - - * tests/Param_Test/any.cpp: - Fixed ambiguous call to >>= also reported by John Mulhern - - * orbsvcs/orbsvcs/Makefile: - The maintaince of the .PRECIOUS directives for IDL generated - files was becoming a nightmare, it is automated now. - Some IDL files include others, we need to add an explicit - dependency in those cases. - - * TAO_IDL/driver/drv_preproc.cpp: - Added a #lineno "filename" directive to the temporary files, so - the IDL compiler can generate better error messages. - -Fri Jul 24 17:00:09 1998 David L. Levine - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp (open_queue): - set period of dispatch queue to its period, rather than 0, - so that the scheduler will handle it properly. - -Fri Jul 24 16:15:08 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Offer_Database.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.h: - Fixed template trait problems with HP/UX 11. Thanks to - John Mulhern <9107@mn3.lawson.lawson.com> for reporting this. - -Fri Jul 24 15:16:28 1998 Douglas C. Schmidt - - * orbsvcs/tests/Concurrency/CC_command.tab.cpp, - orbsvcs/tests/Concurrency/CC_command.tab.y: Fixed a couple of - minor inconsistencies that showed up on HP/UX 11. Thanks to - John Mulhern <9107@mn3.lawson.lawson.com> for reporting this. - -Fri Jul 24 09:56:27 1998 Carlos O'Ryan - - * tests/Simple/client_impl.cpp: - On UNIX you close() the handle, not the file name. - - * tests/Makefile: - * tests/Simple/Makefile: - Added $TAO_ROOT/tests/Simple to the compilation. - -Fri Jul 24 01:40:53 1998 Carlos O'Ryan - - * tao/CDR.cpp: - The check for memory ownership of the Message_Block was - inverted, thanks to Dave Meyer for - catching this one. - - * release.chk: - Updated the file to include the new platforms, the new tests in - Param_Test and to remove the old info (that is probably - outdated) - -Thu Jul 23 23:15:33 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/server.cpp (start_servants): - fixed some signed/unsigned comparisons. (main): removed - unused local "temp_ptr". - -Thu Jul 23 19:59:31 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.cpp: Added code so that -ORB - arguments are passed to the low priority thread as well. Also now - the high priority threads checks the -p and -h arguments before - ORB_init so that it uses the port specified on the command line. - -Thu Jul 23 16:54:59 1998 Carlos O'Ryan - - * tao/Server_Request.cpp: - Care must be exercised when transferring the exception from the - Environment to the Any (in set_exception()): both believe that - they own the Exception so the refcnt() must be increased. - - * tao/Any.cpp: - The Any owns the top-level memory for the objects it contains, - we delete it now. - - * tao/Typecode.h: - * tao/Typecode.cpp: - Fixed memory leaks in the private_member_name_list and in - Typecodes created on the stack (not owned by the ORB, yes there - are some). - - * orbsvcs/Trading_Service/Makefile: - * orbsvcs/tests/Trading/Makefile: - Updated dependencies. - -Thu Jul 23 13:06:10 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_union/union_cs.cpp: - Removed excesive unindentation, the generated code was - unreadable, but correct, it just happens that I have to debug it - every so often. - - * TAO_IDL/be/be_helper.cpp: - Never accept negative indentation values. - -Thu Jul 23 12:18:04 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/server.cpp: added - ACE_Singleton template instantiation. - -Wed Jul 22 19:18:03 1998 Irfan Pyarali - - * tao/ORB_Core.cpp (inherit_from_parent_thread): Added the - inheritance of the Acceptor, Reactor, and the Connector to the - newly created thread. - -Wed Jul 22 17:33:36 1998 Carlos O'Ryan - - * tao/compat/initguid.h: - * tao/compat/objbase.h: - This files are not used anymore, in fact, I thought I had - removed them already. - -Wed Jul 22 16:37:56 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.{h,cpp}: Added a new Globals - class which is used as a singleton by the various threads for - accessing the global parameters. Also added code so that the - server accepts -ORB arguments on the command line. - -Wed Jul 22 16:26:34 1998 Carlos O'Ryan - - * tao/Makefile: - * tao/Marshal.h: - * tao/Marshal.i: - * tao/deep_copy.cpp: - The deep_copy methods are not used any more, Anys using - marshalling instead. - - * tao/ORB.h: - * tao/NVList.h: - * tao/NVList.i: - * tao/Request.h: - * tao/Request.i: - Added T_var and T_out classes for NVList, NamedValue and - Request. - - * tao/Object.i: - * tao/Object.cpp: - All the Object_out and Object_var methods are defined as inline - methods. - - * tests/Param_Test/client.cpp: - Use the new CORBA::Request_var class. - - * tests/Param_Test/any.cpp: - * tests/Param_Test/any.h: - * tests/Param_Test/bd_long_seq.cpp: - * tests/Param_Test/bd_long_seq.h: - * tests/Param_Test/bd_short_seq.cpp: - * tests/Param_Test/bd_short_seq.h: - * tests/Param_Test/bd_str_seq.cpp: - * tests/Param_Test/bd_str_seq.h: - * tests/Param_Test/bd_string.cpp: - * tests/Param_Test/bd_string.h: - * tests/Param_Test/bd_struct_seq.cpp: - * tests/Param_Test/bd_struct_seq.h: - * tests/Param_Test/fixed_array.cpp: - * tests/Param_Test/fixed_array.h: - * tests/Param_Test/fixed_struct.cpp: - * tests/Param_Test/fixed_struct.h: - * tests/Param_Test/nested_struct.cpp: - * tests/Param_Test/nested_struct.h: - * tests/Param_Test/objref.cpp: - * tests/Param_Test/objref.h: - * tests/Param_Test/short.cpp: - * tests/Param_Test/short.h: - * tests/Param_Test/typecode.cpp: - * tests/Param_Test/typecode.h: - * tests/Param_Test/ub_any_seq.cpp: - * tests/Param_Test/ub_any_seq.h: - * tests/Param_Test/ub_long_seq.cpp: - * tests/Param_Test/ub_long_seq.h: - * tests/Param_Test/ub_objref_seq.cpp: - * tests/Param_Test/ub_objref_seq.h: - * tests/Param_Test/ub_short_seq.cpp: - * tests/Param_Test/ub_short_seq.h: - * tests/Param_Test/ub_str_seq.cpp: - * tests/Param_Test/ub_str_seq.h: - * tests/Param_Test/ub_string.cpp: - * tests/Param_Test/ub_string.h: - * tests/Param_Test/ub_struct_seq.cpp: - * tests/Param_Test/ub_struct_seq.h: - * tests/Param_Test/var_array.cpp: - * tests/Param_Test/var_array.h: - * tests/Param_Test/var_struct.cpp: - * tests/Param_Test/var_struct.h: - The add_args() method receives NVList_ptr parameters instead of - NVList_ptr& otherwise it is too hard to use a NVList_var. - -Wed Jul 22 15:58:11 1998 David L. Levine - - * TAO version 0.1.41 released. - -Wed Jul 22 15:00:00 1998 Matthew J Braun - - * orbsvcs/tests/Logger/client_i.cpp: Did a little cleaning up, - that's all. - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: Adjusted the - method to work properly. - - -Wed Jul 22 14:16:53 1998 Matthew J Braun - - * Makefile: Removed the reference to "client.h" which was - confusing the compiler and causing all sorts of mayhem (since - client.h has been removed). Huzzah. - -Wed Jul 22 14:12:34 1998 Jeff Parsons - - * TAO/tests/Cubit/TAO/DII_Cubit/client.cpp - Changed ACE_OS::strdup () in constructor initializations to - CORBA::string_dup () and added corresponding CORBA::string_free () - in destructor. - -Wed Jul 22 13:43:15 1998 Jeff Parsons - - * TAO/tests/Param_Test/options.{h,cpp}: - fixed -f option in parse_args so a #define MAX_BUFFER_LENGTH - is no longer needed. Added private member function read_ior - which uses ACE_Read_Buffer. - -Wed Jul 22 12:41:22 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Database.h: - * orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_T.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Utils.{h,cpp}: - Used CORBA::is_nil consistently. Fixed purify warning. - -Wed Jul 22 11:55:35 1998 Carlos O'Ryan - - * tao/Any.cpp: - Removed uses == operator for TypeCode_var and TypeCode_ptr, - NT does not like this (it is ambigous) and the semantics are - also broken, we use TypeCode::equal() instead; thanks to Darrell - Brunsch for reporting this. - - * tao/Server_Request.cpp: - * tao/NVList.cpp: - We were passing a TypeCode_var without calling .in() first, - thansk to Seth B. Widoff for catching up this one. - -Wed Jul 22 11:18:51 1998 Matthew J Braun - - * Makefile: Updated the Makefile to include the server_i and - client_i. This should fix failing compiles. I should have done - this in my previous commit. Gomen ^_^ - -Wed Jul 22 11:15:07 1998 David L. Levine - - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp (compute_scheduling): - dereference infos (with ptr ()) before comparing it with 0. - No more visits from Mr. SIGSEGV. - -Wed Jul 22 11:09:55 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface/interface_si.cpp: - The in_multiple_inheritance() method was generated for the wrong - class. - -Wed Jul 22 10:07:17 1998 Carlos O'Ryan - - * tao/Any.cpp: - * tao/CurrentC.cpp: - * tao/IIOP_Object.cpp: - * tao/NVList.cpp: - * tao/POAC.cpp: - * tao/Server_Request.cpp: - * tao/append.cpp: - * tao/decode.cpp: - * tao/deep_copy.cpp: - * tao/deep_free.cpp: - * tao/encode.cpp: - * tao/skip.cpp: - Callers to Any::type should be careful to release the - TypeCode_ptr it returns. - - * TAO_IDL/be/be_visitor_union/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_exception/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_enum/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_array/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_structure/any_op_cs.cpp: - The >>= was using Any::type() but not realeasing the memory that - method returns. We stick the result into a _var. I also added - a small optimization: for some types the >>= operator uses - replace() to change the contents of the Any (thus minimizing - future memory allocation and demarshalling), but it reused the - Any typecode, usually obtained from the wire; now we use the - global Typecode, in an attempt to free memory ASAP inside the - ORB. - - * docs/Options.html: - The info about the -ORBpoalock default value was wrong. - -Wed Jul 22 08:56:34 1998 Aniruddha Gokhale - - * TAO_IDL/be_include/be_interface.h - TAO_IDL/be/be_interface.cpp: - - Added a data member (called in_mult_inheritance_) and - corresponding set/get methods for determining if an - interface node is involved in some form of multiple inheritance - either directly or indirectly thru its ancestors. We make use of - the template method "traverse_inheritance_graph" by passing a new - helper method called "in_mult_inheritance_helper". - - * TAO_IDL/be_visitor_interface/{interface_sh, interface_si}.cpp: - Added code to generate the inline method on the skeleton class - that indicates if we are directly or indirectly involved in some - form of multiple inheritance. - -Wed Jul 22 00:29:32 1998 Carlos O'Ryan - - * tao/Invocation.cpp: - Fixed problem in TIMEPROBE initialization. - -Tue Jul 21 22:05:15 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/ Task_Client.cpp: added - ACE_Condition template instantiation. - -Tue Jul 21 21:12:31 1998 Matthew J Braun - - * orbsvcs/orbsvcs/Log/Logger_i.{h,cpp}:Added 2 new methods to get and - set the verbosity level - - * orbsvcs/orbsvcs/Logger.idl: Enabled the verbosity method - - * orbsvcs/tests/Logger/run_test.pl: Renamed from - runtests.pl. Removed nameservice code - - * orbsvcs/tests/Logger/README: Edited to provide more detail - - * orbsvcs/tests/Logger/client_i.{h,cpp}: New files. Interface and - implementation of the class - - * orbsvcs/tests/Logger/server_i.{h,cpp}: New files. Interface and - implementation of the class. - - * orbsvcs/tests/Logger/client.cpp: Restructured the code. Moved - most of the work onto the class defined in - client_i.h. main () is now rather stripped down - - * orbsvcs/tests/Logger/server.cpp: Restructured the code. Moved - most of the work onto the class defined in - server_i.h. main () is now rather stripped down. - -Tue Jul 21 17:29:15 1998 Darrell Brunsch - - * orbsvcs/orbsvcs/orbsvcs_lib.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsw - Removed orbsvcs_lib since it isn't needed anymore and it is - very out-of-date. - - * tests/Cubit/TAO/IDL_Cubit/IDL_Cubit.dsp: - tests/Cubit/TAO/IDL_Cubit/IDL_Cubit.dsw: - The perl script run_tests.pl replaces the executable. - - * TAOACE.dsw: - Added Naming Service to the list, since it is used by many - tests (and I was forgetting to rebuild it all the time). - - * tests/Simple/run_test.pl: - * tests/Quoter/run_test.pl: - * tests/Cubit/TAO/IDL_Cubit/run_test.pl: - Uses common Uniqueid now. - - * tests/Cubit/TAO/DII_Cubit/DII_Cubit.dsw: - The included project was renamed. - - * tests/TAO_Tests.dsw: - New Workspace that includes all the project files for TAO tests. - - * orbsvcs/orbsvcs.dsw: - Moved some tests out and some servers in. - - * TAO_IDL/tao_idl.dsp - * orbsvcs/Concurrency_Service/Concurrency_Service.dsp: - * orbsvcs/Dump_Schedule/Dump_Schedule.dsp: - * orbsvcs/Event_Service/Event_Service.dsp: - * orbsvcs/LifeCycle_Service/LifeCycle_Service.dsp: - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/Scheduling_Service/Scheduling_Service.dsp: - * orbsvcs/Trading_Service/Trading_Service.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/tests/Concurrency/CC_client.dsp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.dsp: - * orbsvcs/tests/EC_Multiple/EC_Multiple.dsp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.dsp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.dsp: - * orbsvcs/tests/Event_Latency/Event_Latency.dsp: - * orbsvcs/tests/Logger/client.dsp: - * orbsvcs/tests/Logger/server.dsp: - * orbsvcs/tests/Sched_Conf/Sched_Conf.dsp: - * orbsvcs/tests/Simple_Naming/client.dsp: - * orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.dsp: - * orbsvcs/tests/Simulator/DOVEMIB/DOVEMIBx.dsp: - * orbsvcs/tests/Simulator/DOVEMIB/TestClient.dsp: - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.dsp: - * orbsvcs/tests/Trading/Colocated_Test.dsp: - * orbsvcs/tests/Trading/Export_Test.dsp: - * orbsvcs/tests/Trading/Import_Test.dsp: - * orbsvcs/tests/Trading/TradingLib.dsp: - * tao/TAO.dsp: - * tests/CDR/basic_types.dsp: - * tests/CDR/growth.dsp: - * tests/CDR/tc.dsp: - * tests/Cubit/TAO/DII_Cubit/client.dsp: - * tests/Cubit/TAO/IDL_Cubit/client.dsp: - * tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp: - * tests/Cubit/TAO/IDL_Cubit/server.dsp: - * tests/Cubit/TAO/MT_Cubit/client.dsp: - * tests/Cubit/TAO/MT_Cubit/server.dsp: - * tests/NestedUpcall/MT_Client_Test/client.dsp: - * tests/NestedUpcall/MT_Client_Test/server.dsp: - * tests/NestedUpcall/Reactor/client.dsp: - * tests/NestedUpcall/Reactor/server.dsp: - * tests/NestedUpcall/Triangle_Test/initiator.dsp: - * tests/NestedUpcall/Triangle_Test/server_A.dsp: - * tests/NestedUpcall/Triangle_Test/server_B.dsp: - * tests/OctetSeq/OctetSeq.dsp: - * tests/POA/DSI/client.dsp: - * tests/POA/DSI/server.dsp: - * tests/POA/Default_Servant/client.dsp: - * tests/POA/Default_Servant/server.dsp: - * tests/POA/Explicit_Activation/server.dsp: - * tests/POA/FindPOA/FindPOA.dsp: - * tests/POA/Forwarding/client.dsp: - * tests/POA/Forwarding/server.dsp: - * tests/POA/Generic_Servant/client.dsp: - * tests/POA/Generic_Servant/server.dsp: - * tests/POA/NewPOA/NewPOA.dsp: - * tests/POA/On_Demand_Activation/server.dsp: - * tests/POA/RootPOA/RootPOA.dsp: - * tests/POA/TIE/client.dsp: - * tests/POA/TIE/server.dsp: - * tests/POA/locking/locking.dsp: - * tests/Param_Test/client.dsp: - * tests/Param_Test/server.dsp: - * tests/Quoter/Factory_Finder.dsp: - * tests/Quoter/Generic_Factory.dsp: - * tests/Quoter/client.dsp: - * tests/Quoter/server.dsp: - * tests/Simple/client.dsp: - * tests/Simple/server.dsp: - Changed the libraries to use the *d.dll naming convention so - all the projects needed to be changed. While I was there, - also cleaned things up by adding some folders and added the - dependency to the tao_idl compiler, so if the compiler changes, - the idl files get recompiled. - - In the future I'll work on the release versions of the projects - to set them up correctly. Until now, most often the release - version in the project was ignored since it was a major hassle - to test it. - -Tue Jul 21 17:41:26 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_T.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - Since according to Carlos' last ChangeLog entry the call to - CORBA::Any::type () returns a duplicated typecode, I've ensured - calls to type () are matched with CORBA::TypeCode::release ()s. - - * tao/Any.cpp (type): needed return statement. - -Tue Jul 21 17:29:18 1998 Carlos O'Ryan - - * tao/Any.cpp: - The type() method has to return a copy (per the spec). - The replace() method first duplicate its TypeCode arg and *then* - releases the internal TypeCode, this protect us in case both are - the same thing. - We still have to fix some problems in the IDL generated - operator>>=. - -Tue Jul 21 16:57:07 1998 Irfan Pyarali - - * tao/IIOP_ORB.cpp (iiop_string_to_object): Don't decrement the - ref count on the IIOP_Object since the policy has changed such - that the CORBA_Object is taking ownership of the IIOP_Object. - -Tue Jul 21 15:49:34 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/server.{h,cpp}: Added a new Server - class and moved all the static functions and variables to that - class. - -Tue Jul 21 15:46:49 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (svc): changed - char*const* argv to char **argv so that it compiles on platforms - like IRIX . Thanks to Carlos for reporting this. - -Tue Jul 21 14:53:09 1998 David L. Levine - - * orbsvcs/tests/EC_Multiple/README: use ORBport 0 with - EC_Multiple. - -Tue Jul 21 14:19:28 1998 Carlos O'Ryan - - * General pass though memory managment: - + Added the pseudo-object mandatory methods (T::_duplicate, - T::_nil()) missing in several classes. - + Normalized the use of reference counting, all the classes - follow the same protocol. - + Added locks to protect reference counting mechanisms. - + Fixed problems in STUB_Object memory managment. - + The CORBA::release(), CORBA::is_nil(), T::_nil() and - T::_duplicate() methods are on the .i files now. - - * tao/Any.h: - * tao/Any.i: - * tao/Any.cpp: - Anys don't need reference counting, they are regular C++ object - and (per the spec) their contents are deep copied by the copy - ctor, the assignment operator and other methods. - Also fixed several methods that did *not* duplicate the - TypeCode, per the spec, they have to do it; we use - TypeCode::_duplicate() for that purpose, not the (propietary) - _incr_refcnt() - - * tao/Server_Request.h: - * tao/Server_Request.i: - * tao/Server_Request.cpp: - The CORBA::release(), CORBA::is_nil(), T::_nil() and - T::_duplicate() methods are on the .i files now. - NOTE: Server_Request objects in TAO are magical, the - _duplicate() method returns 0 and release() does nothing. - The problem starts because Server_Request is allocated from the - stack (to speed up things), hence reference counting would be - useless. Adding a clone() method will work better, but the - Server_Request holds pointers to several positions in the CDR - stream, we could clone the CDR stream, but a normal - Server_Request does not own it.... In our opinion (Carlos and - Irfan) we need not worry about this until we find a use case for - it. - - * tao/Typecode_Constants.cpp: - Use CORBA::release() instead of calling the delete operator - directly, this removed some nasty FMR and FMW problems at - shutdown. - - * TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp: - The generated code leaked object references passed as - inout arguments. - - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: - The generated code did not manage STUB_Object memory properly. - - * tao/IIOP_Object.h: - * tao/IIOP_Object.i: - * tao/IIOP_Object.cpp: - Refcount follows the same pattern as for the pseudo-objects, it - starts at 1, it is stored in a CORBA::ULong and delete happens - when count reaches 0. - - * tao/NVList.h: - * tao/NVList.i: - * tao/NVList.cpp: - * tao/ORB.h: - * tao/ORB.i: - * tao/ORB.cpp: - * tao/Exception.h: - * tao/Exception.cpp: - Pseudo object methods revision. - - * tao/Object.h: - * tao/Object.i: - * tao/Object.cpp: - Added locking to the reference count; this should *not* affect - the critical path, hence it is a *good* change. - - * tao/CurrentC.cpp: - * tao/POAC.cpp: - * tao/PolicyC.cpp: - Hand crafted the changes in the IDL compiler (mostly fixes to - STUB_Object memory managment). - - * tao/Principal.h: - * tao/Principal.i: - * tao/Principal.cpp: - * tao/Request.h: - * tao/Request.i: - * tao/Request.cpp: - Completed the pseudo object support for this class. - - * tao/Typecode.h: - * tao/Typecode.i: - * tao/Typecode.cpp: - ORB owned typecodes follow the same memory rules as normal - ones. Since the ORB always holds a reference to them they just - survive for a longer time. - - * tao/decode.cpp: - Corrections to the memory managment of STUB_Objects; the - CORBA_Object does release them, but it does not increase the - refcnt on the ctor. - - * tao/deep_copy.cpp: - Used T::_duplicate instead of the (propietary) - object->_incr_refcnt(). - - * tests/Param_Test/param_test_i.cpp: - The objref test was not releasing its inout argument before - changing it. - -Tue Jul 21 12:09:40 1998 Darrell Brunsch - - * tests/NestedUpcall/MT_Client_Test/run_test.pl: - * tests/NestedUpcall/Reactor/run_test.pl: - * tests/NestedUpcall/Triangle_Test/run_test.pl: - Added new perl scripts for the tests. - -Tue Jul 21 12:02:41 1998 Nagarajan Surendran - - * tests/Cubit/TAO/MT_Cubit/Task_Client.cpp : - Added code so that the client can accept -ORB arguments on - the command line. The main thread blocks on a condition - variable until the high priority thread does the argument - parsing and changes the global Task_State . The main - thread then creates the low priority threads. - - * tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test): - Added code for the main thread to block on a condition - variable after activating the high priority thread until the high - priority thread wakes it up. - -Tue Jul 21 10:00:00 1998 Michael Kircher - - * tao/Connect.cpp: Improved the location forwarding, now we check - the environment for exceptions and the Server Request. - - * tao/ORB.{h,cpp}: Moved the leader_follower model variables form - the ORB_Core to in here. The ORB_Core has methods to access - all the variables. - - * tao/ORB_Core.{h,cpp}: Removed the leader_follower model variables - but kept the accessing methods. - - * tao/Server_Request.{h,cpp}: Changed the exception handling slightly. - A forwarding exception has the type USER_EXCEPTION now. - Also, two accessor methods were added to get the forward location - and the exception type. This is all used in the Server_Connection_Handler. - -Mon Jul 20 23:09:21 1998 Nagarajan Surendran - - * docs/release_notes.html: Updated the status on the Audio/Video - streaming service. - -Mon Jul 20 23:10:00 1998 Michael Kircher - - * docs/locate_request.html: Locate request documentation. - - * docs/releasenotes/index.html: Added a reference to the - locate request documentation. - -Mon Jul 20 21:10:00 1998 Michael Kircher - - * tests/Cubit/TAO/IDL_Cubit/IDL_Cubit_Client.java: - A class to access the IDL_Cubit server via the JavaIDL - ORB. - - * tests/Cubit/TAO/IDL_Cubit/README: Documented how to - use the aforementioned Java class. - -Mon Jul 20 19:06:57 1998 David L. Levine - - * tao/Invocation.cpp (invoke): wrapped final return statement - with ACE_NOTREACHED. - - * orbsvcs/tests/Trading/Makefile: moved -lorbsvcs and -lTAO - from LDLIBS to LIBS, so that the libTTest.so build will link - against them. - -Mon Jul 20 18:17:02 1998 Alexander Babu Arulanthu - - * docs/releasenotes/index.html: Updated the IDL compiler entry - (GPERF-IDL integration). - -Mon Jul 20 17:51:01 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Offer_Iterators.h: - * orbsvcs/orbsvcs/Trader/Trader_Utils.h: - * orbsvcd/tests/Trading/import_test.cpp: - Fixed another g++ linker error and one compile-time error. - -Mon Jul 20 17:30:49 1998 Alexander Babu Arulanthu - - * TAO_IDL/be/be_interface.cpp (gen_perfect_hash_methods): Changed - the absolute path for gperf to $ACE/bin. - -Mon Jul 20 16:55:54 1998 Seth Benjamin Widoff - - * TAO_IDL/be/be_interface.cpp (copy_ctor_helper): - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp (visit_interface): - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp (visit_interface): - * TAO_IDL/be_include/be_interface.h (copy_ctor_helper): - To alleviate the g++ linker's confusion in the face of profuse - virtual inheritence in the skeletons, the IDL compiler now - explicitly generates a copy constructor in each skeleton - class. The copy constructor calls the copy constructor of each - superclass in the skeleton's inheritence hierarchy. - -Mon Jul 20 15:08:11 1998 Alexander Babu Arulanthu - - * TAO_IDL/driver/drv_args.cpp (DRV_parse_args): Added a "#if - !defined (ACE_HAS_GPERF)" so that IDL Compiler will use Dynamic - Hashing if gperf is not found but -P option is specified. - - * TAO_IDL/be/be_interface.cpp (gen_perfect_hash_methods): Fixed - the ACE_Process' command line to use absolute path - <$ACE/apps/gperf/src/gperf>. - -Mon Jul 20 13:00:41 1998 Carlos O'Ryan - - * tests/Cubit/TAO/IDL_Cubit/Makefile: - * tests/Cubit/TAO/IDL_Cubit/client_i.h: - * tests/Cubit/TAO/IDL_Cubit/client_i.cpp: - Added options to just run the VOID or the ONEWAY test. - -Mon Jul 20 12:27:29 1998 Seth Benjamin Widoff - - * docs/releasenotes/index.html: - Added a reference to trader.html in the Trading Service portion - of the releasenotes. - - * docs/releasenotes/trader.html: - Minor editorial changes to the trader documentation. - -Mon Jul 20 11:46:04 1998 Carlos O'Ryan - - * tao/corba.h: - TAO_THROW_SPEC is a little different than ACE_THROW_SPEC, not - only we need support for exceptions in the platform, we also - would need them in the IDL compiler. - Plus it gives a lot of warnings in MSVC++ 5.0 - -Mon Jul 20 11:15:52 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Trader.cpp: - Eliminated superfluous template instantiation - ACE_Unbounded_Queue. - -Mon Jul 20 10:57:00 1998 Michael Kircher - - * tao/Connect.cpp: Changed the handle_locate method completely - to try to upcall to the non_existent method. This method - is not part of the standard, is TAO internal. We know - that this method is supported by each TAO Object. So - if we fail we know the object is not there. If we succeed, - the object is available and if we get forward_request - exception we will forward the call. - - * tao/IIOP_Object.{h,i,cpp}: Added code to branch to do a conditonal - locate request, depending on two flags. One tells to - use it at all the other tells if it is the first call- - because we want to do it only on the first call. - - * tao/Invocation.{h,i,cpp}: Added code to the start method, - which branches into different CDR stream generation, - depending on the kind of message we want to send. The two - options right now are: Request and LocateRequest. - A new subclass has been introduces: TAO_GIOP_ - LocateRequest_Invocation, which is similar to the - Twoway subclass but does a locate request. It has its own - invoke method and does not call the common invoke method. - Closing of a connection is the same in all the three cases - (oneway, twoway, locate_request), I factored the code out - into a close_connection method. - - * tao/Object.{h,cpp}: Added a method call to activate - the locate request on the first call after the activation. - The locate request will be done only once unless it is activated - a second time. - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: Changed - the code generation of the non_existent method. It accepts - only one parameter, not two. So I changed the param_count - from 2 to 1. - -Mon Jul 20 10:35:33 1998 David L. Levine - - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.{h,cpp}, - Offer_Iterators_T.cpp: - wrapped TAO_THROW_SPEC arguments with double parens. - - * orbsvcs/orbsvcs/Trader/Offer_Iterators.h: moved = 0 (for pure - virtual) to after the exceptions spec. - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp,Trader_Utils.cpp: - fixed exceptions specs to match declarations in .h files. - - * orbsvcs/tests/Trading/TT_Info.cpp (dump_properties): changed - types of locals "seq_length" and "i" from CORBA::ULong to - CORBA::Long to avoid signed/unsigned comparison. - -Mon Jul 20 10:20:00 1998 Michael Kircher - - * docs/releasenotes/index.html: Added a reference to the - global resources and leader-follower model documentation. - - * docs/leader_follower.html: Documentation about the leader-follower - model used for global resources, especially for one Reactor - accessed by multiple threads. - -Mon Jul 20 06:52:02 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_array/{array_ch, array_ci, array_cs}.cpp: - Added support for anonymous arrays. This is yet to be tested - - * TAO_IDL/be/be_visitor_field/field_ch.cpp: Handled anonymous - array declaration in structures. - - *Note* that although the above changes were made a couple of weeks - back I have not been able to test them. - -Sun Jul 19 22:58:45 1998 David L. Levine - - * orbsvcs/orbsvcs/Trader/Trader.cpp: added - ACE_Unbounded_Queue, etc., template - instantiations. - - * tao/corba.h: define TAO_THROW_SPEC using ACE_THROW_SPEC. - -Sat Jul 18 23:01:51 1998 Douglas C. Schmidt - - * TAO version 0.1.40 released. - -Sat Jul 18 22:16:14 1998 Douglas C. Schmidt - - * TAO version 0.1.39 released. - -Sat Jul 18 20:22:19 1998 Michael Kircher - - * tests/Quoter/run_test.sh: Removed this file, - all the functionality is provided by the - run_test.pl script. - - * tao/Server_Request.{h,cpp}: Added a new constructor, - which does not need an input CDR stream. It is going - to be used for locate requests. When we invoke - the non_existend method on the object to see if it - is there, forwarded or not existent. - - * orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2: - Adopted to the new interfaces for the Event Service. - -Sat Jul 18 19:37:19 1998 Darrell Brunsch - - * orbsvcs/tests/Simple_Naming/client.cpp: The ORB now looks - at argv and argc before the client does. - - * orbsvcs/tests/Simple_Naming/run_test.pl: New Perl script - for testing. - -Sat Jul 18 17:31:29 1998 Nagarajan Surendran - - * tests/Cubit/Hardpack/IDL_Cubit/cubit.idl: - * tests/Cubit/Hardpack/IDL_Cubit/cubit_impl.{hh,cc}: - * tests/Cubit/Hardpack/IDL_Cubit/client_i.{h,cpp}: - * tests/Cubit/Hardpack/IDL_Cubit/server_i.{h,cpp}: - * tests/Cubit/Hardpack/IDL_Cubit/client.cpp: - * tests/Cubit/Hardpack/IDL_Cubit/server.cpp: - * tests/Cubit/Hardpack/IDL_Cubit/Makefile: - * tests/Cubit/Hardpack/IDL_Cubit/README: - * tests/Cubit/Hardpack/IDL_Cubit/initref.cfg: - Added these files for the IDL_Cubit test for the Hardpack - ORB. - -Sat Jul 18 15:44:59 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Database.*: - * orbsvcs/orbsvcs/Trader/Offer_Iterators.*: - * orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - * orbsvcs/orbsvcs/Trader/Trader.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.*: - * orbsvcs/orbsvcs/Trader/Trader_T.cpp - * orbsvcs/orbsvcs/Trader/Trader_Utils.*: - * orbsvcs/tests/Trading/Offer_Exporter.*: - * orbsvcs/tests/Trading/Service_Type_Exporter.*: - * orbsvcs/tests/Trading/Offer_Importer.*: - * orbsvcs/tests/Trading/export_test.cpp: - * orbsvcs/tests/Trading/import_test.cpp: - * orbsvcs/tests/Trading/collocated_test.cpp: - * orbsvcs/tests/Trading/Makefile: - * orbsvcs/Trading_Service/Trading_Service.cpp: - * orbsvcs/Trading_Service/Makefile: - - Fixed g++ 2.7.2 compilation warnings/errors. Note: the tests and - applications, although they compile now with g++ 2.7.2, don't link - properly because the g++ linker is baffled by the profuse - virtual/multiple inheritance in the skeletons generated from the - CosTrading.idl file, and can't find the copy constructors it - autogenerated. The solution is to have the IDL compiler generate - explicit copy constructors for these skeleton classes. - -Sat Jul 18 15:39:42 1998 Darrell Brunsch - - * orbsvcs/tests/Simple_Naming/client.dsp: Updated this MSVC - project file to use the latest changes to the Simple - Naming test. - -Sat Jul 18 15:30:00 1998 Michael Kircher - - * docs/forwarding.html: Added some optimization - suggestions. - -Sat Jul 18 14:19:48 1998 Seth Benjamin Widoff - - * tao/orbconf.h: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/CosTrading.idl: - Moved the definition of TAO_HAS_OBJECT_IN_STRUCT_MARSHAL_BUG into - orbconf.h and CosTrading.idl, and out of the orbsvcs Makefile. - -Sat Jul 18 14:12:00 1998 Michael Kircher - - * tests/Cubit/TAO/IDL_Cubit/svc.conf: Added the - ORBiiopprofilelock switch to the client configuration to - switch off the lock needed for forwarding. We know, we - do not need it, so we use a null lock instead. This - should improve the performance a little bit. - - * tao/Connect.cpp: Added code for handle_locate, which is still - commented, because not tested. - The TAO_ORB_Core_instance is now cached in send_request and - handle_input. - -Sat Jul 18 14:00:38 1998 Douglas C. Schmidt - - * tests/Cubit/TAO/IDL_Cubit/Makefile: Always try to - generate perfect hash functions for the operation - dispatching by enabling the -P flag. - -Sat Jul 18 11:29:43 1998 Chris Gill - - * orbsvcs/orbsvcs/Event/RT_Task.h - orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp - - Changed to always typedef ACE_ES_QUEUE as the base - template class ACE_Message_Queue and - explicitly construct dynamic message queues as needed. - -Sat Jul 18 10:19:37 1998 David L. Levine - - * orbsvcs/tests/Logger/client.cpp (nesting_test): added return 0 - at end. (init): removed unused local factory_ref2. - -Sat Jul 18 08:19:24 1998 Douglas C. Schmidt - - * orbsvcs/tests/Simple_Naming/client.cpp: Beefed up this test so - that it illustrates how to bind(), resolve(), and unbind() an - object reference to a remote Naming Context. This is an - important test to make sure that things are working properly. - - * orbsvcs/orbsvcs/Naming/Naming_Utils: Added an init() method to - this class to begin to factor out common code for being a client - of a Naming Service. - - * TAO/orbsvcs/tests/Naming/ns_tree.cpp (main): Cleaned up the - formatting for this test. - - * orbsvcs/tests/Simple_Naming: Renamed clnt.* to client.* to - be more consistent. - - * tests/Cubit/TAO/IDL_Cubit/svc.conf: Changed the default ORB - concurrency model from reactive to thread-per-connection since - the latter is considerably faster. - -Fri Jul 17 17:42:27 1998 Douglas C. Schmidt - - * docs/Options.html: Added documentation for the TAO environment - variables. - - * tao/ORB.cpp (resolve_trading_service): Changed the environment - variable for NameService and TradingService to NameServiceIOR - and TradingServiceIOR to be more consistent. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.h: Started adding the new - TAO_Naming_Client class, which will simplify the initialization - and access to a NamingContext. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: Changed the - capitalization of GetNamingContext() to get_naming_context(), - which is consistent w/TAO programming style. - - * tao/skip.cpp: Replaced uses of old-style C casts with a - static_cast. - -Fri Jul 17 19:34:11 1998 Darrell Brunsch - - * tao/ORB.cpp: The return value for acceptor ().enable () is no - longer being checked for -1, since platforms that don't - support it (like NT) will return -1. - -Fri Jul 17 18:46:17 1998 Matthew J Braun - - * orbsvcs/orbsvcs/Log/Logger_i.h: Added new fields for verbosity - * orbsvcs/orbsvcs/Log/Logger_i.cpp: Adjusted for new fields - * orbsvcs/tests/client.h: Added new methods- resolve_name () & - nesting_test () - * orbsvcs/tests/client.cpp: Compacted code somewhat. Broke run () and - init () into smaller functions - * orbsvcs/orbsvcs/Logger.idl: Adjusted TAO_MAXLOGMSGLEN - * orbsvcs/tests/server.cpp: Partialy incomplete incorporation of - name service - -Fri Jul 17 17:58:37 1998 Darrell Brunsch - - * docs/implrepo.html: Addressed some more comments. - -Fri Jul 17 11:47:42 1998 David L. Levine - - * tao/IIOP_Object.cpp (do_static_call,put_params): on sparcs - with g++ prior to 2.8, e.g., 2.7.2.3, only; added an awful - hack to two-way va_arg processing. The hack throws away - the first var arg. Apparently, g++ 2.7.2.3 provides a bogus - arg to the first va_arg call by mistake. This ugliness - works around that problem. We haven't seen this elsewhere - with va_arg, or with later versions of g++. - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - fixed supplier id (it was the same for all suppliers) and other - very minor cleanup. - - * orbsvcs/tests/Event_Latency/run_tests.sh: added. - -Fri Jul 17 11:02:29 1998 Seth Benjamin Widoff - - * tao/POAC.h: unclosed comments. - - * orbsvcs/tests/AVStreams/source/mpeg/server/Machine_Properties.{h,cpp}: - * orbsvcs/tests/AVStreams/source/mpeg/server/Video_Repository.{h,cpp}: - * orbsvcs/tests/AVStreams/source/mpeg/server/Property_Exporter.{h,cpp}: - * orbsvcs/tests/AVStreams/source/mpeg/server/augmented_server.{h,cpp}: - Updated these files in light of recent changes to the Trading Service. - -Fri Jul 17 09:46:56 1998 Douglas C. Schmidt - - * tao/POAC.h: Replaced #endif // ... with #endif /* ... */ since - this is more portable... - - * tao/POAC.h: Changed CORBA::Policy to ACE_CORBA_1 (Policy) to - work around friggin' bugs with MSVC++ 4.2. Thanks to Ernesto - Guisado for reporting this. - -Fri Jul 17 08:28:55 1998 David L. Levine - - * Makefile (CONTROLLED_FILES): added TAO-inheritance.{pdf,ps}.gz - to distribution. - -Thu Jul 16 15:20:12 1998 Carlos O'Ryan - - * tao/Connect.cpp: - * tao/ORB.cpp: - Set the close-on-exec flag using the new IPC_SAP interfaces. - - * tao/ORB_Core.cpp: - * orbsvcs/orbsvcs/Event/RT_Task.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.h: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - Use ACE_SYNCH_CONDITION instead of - ACE_Condition some template instantiations are - removed. - -Thu Jul 16 15:15:46 1998 Seth Benjamin Widoff - - * orbsvcs/Makefile: - * orbsvcs/tests/Makefile: - * orbsvcs/orbsvcs/Makefile: - Trading Service now compiles by default! Let the mayhem begin! - -Thu Jul 16 12:55:54 1998 Carlos O'Ryan - - * tao/Connect.cpp: - Added the close-on-exec flag the Client and Server - Connection_Handlers, this avoid resource leaks in the event of - fork/execs. - -Thu Jul 16 12:57:08 1998 Seth Benjamin Widoff - - * tao/ORB_Core.cpp: Fixed explicit template instantiation of - ACE_Thread_Condition and ACE_Condition on IRIX. - -Thu Jul 16 11:50:00 1998 Michael Kircher - - * tao/ORB_Core.{h,cpp}: Due to merging a cvs branch - to the main trunk, the following changes went away, and - where now reintroduced: - -Thu Jul 16 00:00:20 1998 Carlos O'Ryan - - * Removed all the COM madness, TAO no longer uses the IUnknown - classes, QueryInterface(), AddRef() or Release(). The new - reference counting methods are called _incr_refcnt and - _decr_refcnt (the leading underscore is necessary for CORBA - complaince, but it breaks ANSI/C or ANSI/C++ complaince, yuk!). - This change save a few microseconds on the critical path, - because QueryInterface() was used in remote method invocation, - invoking many virtual methods, increasing the refcnt and then - decreasing it again; but the real motivations are: - + It was confusing to users it what way did TAO support COM (it - does not, yet). - + Removing QueryInterface() and the ref counting from the - critical path will allow us to protect the ref counts with - mutexes (strategized, of course). - - * tao/Any.cpp: - * tao/Any.h: - * tao/CurrentC.cpp: - * tao/Exception.cpp: - * tao/Exception.h: - * tao/IIOP_ORB.cpp: - * tao/IIOP_Object.cpp: - * tao/IIOP_Object.h: - * tao/Invocation.cpp: - * tao/Makefile: - * tao/Marshal.i: - * tao/NVList.cpp: - * tao/NVList.h: - * tao/ORB.cpp: - * tao/ORB.h: - * tao/ORB.i: - * tao/Object.cpp: - * tao/Object.h: - * tao/Object.i: - * tao/POAC.cpp: - * tao/PolicyC.cpp: - * tao/Principal.cpp: - * tao/Principal.h: - * tao/Request.cpp: - * tao/Request.h: - * tao/Server_Request.cpp: - * tao/Server_Request.h: - * tao/Server_Request.i: - * tao/Stub.h: - * tao/Typecode.cpp: - * tao/Typecode.h: - * tao/append.cpp: - * tao/corba.h: - * tao/decode.cpp: - * tao/deep_copy.cpp: - * tao/encode.cpp: - * tao/skip.cpp: - This are the files affected by the change. - - * tao/compat/initguid.h: - * tao/compat/objbase.h: - Removed! COM is gone from TAO. - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: - Generate the new CORBA_Object methods to gain access to the - STUB_Object, we don't generate the old COM methods. - - * taoconfig.mk: - Removed -I$(TAO_ROOT)/tao/compat - - * Makefiles: - Updated the dependencies in all the Makfiles of TAO (due to the - removal of objbase.h & friends). Also fixed many problems in the - Makefiles, like missing SRC or LSRC lists, removed the - -I$(TAO_ROOT)/tao/compat includes, added missing TAO_ROOT - definitions, etc. - - * docs/releasenotes/ec.html: - Added the latest changes. - - * tests/Cubit/TAO/IDL_Cubit/client_i.cpp: - Fixed mismatched memory free (new vs. malloc). - - * orbsvcs/tests/Logger/client.h: - Fixed method declaration. - -Wed Jul 15 22:17:20 1998 David L. Levine - - * tao/ORB_Core.cpp: added ACE_Unbounded_Set, - etc., template instantiations. Added ACE_Thread_Condition and - ACE_Condition instantiations, w/o ACE_HAS_TEMPLATE_TYPEDEFS. - -Wed Jul 15 21:16:19 1998 Darrell Brunsch - - * orbsvcs/Trading_Service/Trading_Service.{dsp,dsw}: - * orbsvcs/tests/Trading/Trading.dsw: - * orbsvcs/tests/Trading/Colocated_Test.dsp: - * orbsvcs/tests/Trading/Export_Test.dsp: - * orbsvcs/tests/Trading/Import_Test.dsp: - * orbsvcs/tests/Trading/TradingLib.dsp: - Project files for the Trading service for MSVC. - -Wed Jul 15 20:12:47 1998 Darrell Brunsch - - * tao/ORB_Core.cpp: Changed the warnings that occur when - a conf file is not found to be debug warnings (only show - up with -ORBdebug) - -Wed Jul 15 19:28:51 1998 Seth Widoff - - * orbsvcs/orbsvcs/orbsvcs.dsp: Added trader files. - -Wed Jul 15 18:00:00 1998 Michael Kircher - - * tao/Invocation.cpp: Made sure, that all control paths - resume the handler - checking invoke methods. - -Wed Jul 15 16:27:01 1998 Darrell Brunsch - - * tests/Simple: Added a new test that is just a simple test - which can be used as a basis for new tests or just to see - the basics of a CORBA client and server. - -Wed Jul 15 16:00:39 1998 Matthew J Braun - - * client.cpp: Changed a few cast statments; added comments - - * runtests.pl: New script to automate running of tests - -Wed Jul 15 15:44:10 1998 Jeff Parsons - - * tao/Invocation.cpp: Carlos corrected his omission of code to - invoke before waiting for a reply. - -Wed Jul 15 12:40:00 1998 Michael Kircher - - * tao/Connect.{h,cpp}: Changed handle_input and send_request - of the Client Connection Handler to support global - resources and multiple threads. It is achieved through - the leader follower model. - - * tao/Invocation.cpp: The suspended Client Connection Handler - from Connect.cpp get resumed (TAO_GIOP_Invocation::invoke). - - * tao/ORB.{h,cpp}: The run method conforms to the rules - of the leader follower model. - - * tao/ORB_Core.{h,cpp}: The ORB Core now supports all - the variables for the leader follower model. - -Wed Jul 15 12:07:15 1998 Carlos O'Ryan - - * tao/Servant_Base.cpp: - Added timeprobes in operation lookup. - - * tests/Cubit/TAO/IDL_Cubit/client.cpp: - * tests/Cubit/TAO/IDL_Cubit/server.cpp: - Added TIMEPROBE_PRINT at the end. - -Wed Jul 15 12:11:01 1998 Nagarajan Surendran - - * orbsvcs/tests/Property/Makefile: - Removed unnecessary STL dependencies. - -Wed Jul 15 11:44:57 1998 Alexander Babu Arulanthu - - * orbsvcs/tests/CosPropertyService/Makefile: Removed STL stuff and - did a make depend. - -Wed Jul 15 10:55:33 1998 David L. Levine - - * tests/Quoter/run_tests.pl: removed hard-coded perl path. - -Wed Jul 15 09:47:17 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Module_Factory.cpp: - Removed a bogus include file. - - * orbsvcs/orbsvcs/Makefile: - Updated dependencies again. - -Tue Jul 14 21:56:30 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Makefile (FILES): updated dependencies. - -Tue Jul 14 21:50:04 1998 David L. Levine - - * tests/Quoter/run_test.sh: use sh instead of ksh, $login - instead of mk1, and $ps_opts. - - * orbsvcs/tests/start_services: bash doesn't always supply $USER, - so use $login with it also. - -Tue Jul 14 21:25:19 1998 Seth Benjamin Widoff - - * orbsvcs/tests/Trading/Makefile: - * orbsvcs/tests/Trading/Offer_Exporter.{h,cpp}: - * orbsvcs/tests/Trading/Offer_Importer.{h,cpp}: - * orbsvcs/tests/Trading/Offer_Importer.h: - * orbsvcs/tests/Trading/Service_Type_Exporter.{h,cpp}: - * orbsvcs/tests/Trading/TT_Info.{h,cpp}: - * orbsvcs/tests/Trading/colocated_test.cpp: - * orbsvcs/tests/Trading/export_test.cpp: - * orbsvcs/tests/Tradingimport_test.cpp: - These tests now copmile with egcs. In addition, Added modify and - withdraw_using_constraint tests, and the "quiet" flag, which will - staunch the usual barrage of output by not printing the contents - of offers and service types. - - * orbsvcs/Trading_Service/Trading_Service.cpp: compiles with - egcs. - - * orbsvcs/orbsvcs/Trader/*.*: Compiles with egcs. Improved the - modify method. - -Tue Jul 14 19:15:41 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/Event/Module_Factory.h: - * orbsvcs/orbsvcs/Event/Module_Factory.cpp: - * orbsvcs/orbsvcs/Event/Fast_Reactor.h: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - The Event Channel modules are constructed using a Factory class, - that will simplify configuration of the EC, like using RTU or - FIFO dispatching, disabling correlation, or filtering, etc. - -Tue Jul 14 18:35:56 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp: - The generated replace() method released the buffer twice. - -Tue Jul 14 15:56:46 1998 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/Machine_Properties.{h,cpp}: - * orbsvcs/tests/AVStreams/Property_Exporter.{h,cpp}: - Removed as they are moved to - orbsvcs/tests/AVStreams/mpeg/source/server. - - * orbsvcs/tests/AVStreams/Makefile: - * orbsvcs/tests/AVStreams/server.{h,cpp}: - Removed as they are outdated. - -Tue Jul 14 15:28:44 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_field/field_ch.cpp: - Added support for arrays inside structures. Anonymous arrays do - *not* work. Thanks to Eric Powers for this - patch. - -Tue Jul 14 14:40:36 1998 David L. Levine - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp (print_stats): - when short-circuiting, don't print out time breakdowns to/in/from EC. - -Tue Jul 14 13:30:01 1998 Chris Gill - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp - orbsvcs/orbsvcs/Event/RT_Task.h: - - Added conditional compilation logic to cause EC to use dynamic queues - with appropriate dispatching strategies when the MUF, EDF, or MLF - strategies are defined. This is a temporary measure to allow - testing of the EC performance with the dynamic queues, and will - be relaced with a better configuration mechanism, based on the results - of the off-line scheduling run, in the very near future. - -Tue Jul 14 12:00:18 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp: - * TAO_IDL/be/be_visitor_interface/be_interface.cpp: - Added server side support for CORBA::Object::_non_existent, in - the future it could be implemented in the POA, saving an - operation lookup and reducing the footprint somewhat. - - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.h: - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h: - * orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp: - Replaced ACE_Thread_Mutex with ACE_SYNCH_MUTEX so it compiles in - platforms without threads, not that it will work though. - -Tue Jul 14 12:30:45 1998 David L. Levine - - * tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test): - removed dependence on local context_switch on platforms that don't - have ACE_HAS_PRUSAGE_T and ACE_HAS_GETRUSAGE. Thanks to - Arturo Montes for reporting this. Also, - removed csw on those platforms, because it was no longer being used. - -Tue Jul 14 11:48:23 1998 Nanbor Wang - - * tao/ORB_Core.{h,cpp} (arl_same_port_connect): Added the new - member function to ORB_Core to check if we want the client to - initiate a connection using the same local port number as - server's. - - * tao/Invocation.cpp (start): Added code to specify the following: - - This change is only for ARL only and to enable the feature, you - must add - - #if defined (TAO_ARL_USES_SAME_CONNECTOR_PORT) - - to your $ACE_ROOT/ace/config.h. Add the command line option - - -ORBarlsameportconnect yes - - when starting the client. - - *** This is not for the general audience of TAO. Don't use - it. *** - -Tue Jul 14 11:34:02 1998 David L. Levine - - * tao/IIOP_Object.cpp (do_static_call): commented out unused - local "status". - -Mon Jul 13 18:35:22 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: - * TAO_IDL/be/be_sequence.cpp: - Code generation for sequences of octets was incorrect in - platforms that do not support automatic template - instantiation. Thanks to Eric Powers for - pointing this out. - -Mon Jul 13 17:50:35 1998 Nanbor Wang - - * tao/TAO.dsp: Added Invocation.cpp into project. - - - The following two changes were made per Carlos' instructions. - (I was just typing.) - - * tao/deep_free.cpp (DEEP_FREE): Commented out 'delete source' in - case of CORBA::tk_struct. - - * tao/Any.cpp (operator=, ~CORBA_Any, replace): Added delete - this->value after DEEP_FREEing. - -Mon Jul 13 17:37:01 1998 Carlos O'Ryan - - * tao/Object.cpp: - Fixed some problems in the implementation of _non_existent(), - thanks to Dave Meyer - -Mon Jul 13 16:20:30 1998 Carlos O'Ryan - - * tao/corba.h: - * tao/Makefile: - * tao/Invocation.h: - * tao/Invocation.i: - * tao/Invocation.cpp: - * tao/GIOP.h: - * tao/GIOP.i: - * tao/GIOP.cpp: - * tao/IIOP_Object.h: - * tao/IIOP_Object.cpp: - On the client side we can optimize memory allocation for - oneway requests by not allocating the response - buffer. But to do this and take as much memory as possible from - the stack also requires to follow different execution paths for - the oneway vs. two way tests. - With this changes the memory allocations are: - + For oneways: - 1 on the client side (can be TSS allocator). - 3 on the server side (one can be TSS allocator). - + For twoway: - 3 on the client side (1 can be a TSS allocator). - 3 on the server side (1 can be TSS allocator). - - - * tests/Cubit/TAO/IDL_Cubit/cubit.idl: - * tests/Cubit/TAO/IDL_Cubit/client_i.h: - * tests/Cubit/TAO/IDL_Cubit/client_i.cpp: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.h: - * tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: - Added simple tests with no arguments or return values, also - added a oneway test. - - * orbsvcs/Dump_Schedule/Makefile: - * orbsvcs/Event_Service/Makefile: - * orbsvcs/LifeCycle_Service/Makefile: - * orbsvcs/Naming_Service/Makefile: - * orbsvcs/Scheduling_Service/Makefile: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/tests/EC_Mcast/Makefile: - * orbsvcs/tests/EC_Multiple/Makefile: - * orbsvcs/tests/EC_Throughput/Makefile: - * orbsvcs/tests/Event_Latency/Makefile: - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Simple_Naming/Makefile: - * tests/CDR/Makefile: - * tests/Cubit/TAO/IDL_Cubit/Makefile: - * tests/Cubit/TAO/MT_Cubit/Makefile: - * tests/NestedUpcall/Reactor/Makefile: - * tests/NestedUpcall/Triangle_Test/Makefile: - * tests/OctetSeq/Makefile: - * tests/POA/Default_Servant/Makefile: - * tests/POA/Explicit_Activation/Makefile: - * tests/POA/FindPOA/Makefile: - * tests/POA/Generic_Servant/Makefile: - * tests/POA/NewPOA/Makefile: - * tests/POA/On_Demand_Activation/Makefile: - * tests/POA/RootPOA/Makefile: - * tests/Param_Test/Makefile: - * tests/Quoter/Makefile: - * tests/Thruput/TAO/Makefile: - The new files in the tao library changed the dependencies. - - * orbsvcs/Dump_Schedule/Makefile: - Sources were listed in the wrong macro. - -Mon Jul 13 14:37:06 1998 David L. Levine - - * Event_Latency.cpp: use ACE_CU64_TO_CU32 to convert const - 64-bit u_ints to 32-bits happily with Sun C++. Also, replaced - a function-style cast and some other old casts with ACE - ANSI-style casts. - -Mon Jul 13 13:59:08 1998 Carlos O'Ryan - - * tests/Param_Test/run_test.pl: - Fixed a few (minor) perl warnings. - -Mon Jul 13 11:49:29 1998 Seth Benjamin Widoff - - * tao/Marshall.i: Now setting freed string pointer to zero. - - * tao/deep_free.cpp: Although the struct fields were being freed, - the memory for the struct itself wasn't. Note: other types may - also have this problem. - -Sun Jul 12 19:47:34 1998 Seth Widoff - - * docs/releasenotes/trader.html: - Finished the initial draft of the Trading Service documentation. - -Sun Jul 12 13:45:00 1998 Michael Kircher - - * tests/NestedUpcalls/MT_Client_Test/*: - Added a new test for testing multiple threads accessing - global resources, which means, one ORB and one Reactor. - It also tests for proper nested upcalls. - -Sun Jul 12 01:40:58 1998 Carlos O'Ryan - - * Fixed several problems reported by John Mulhern - <9107@mn3.lawson.lawson.com>, that fix portability problems to - HP/aCC. - - * tao/Typecode.cpp: - Declared a temporary buffer as CORBA::Octet* instead of void*, - otherwise HP/aCC balks. - - * TAO_IDL/be_include/be_sequence.h: - * TAO_IDL/be/be_sequence.cpp: - fe_add_sequence() was redefined with different arguments and - return value. It was not the intention and it triggered warnings - on several compilers (HP/aCC, SGI/CC). - - * TAO_IDL/fe/y.tab.cpp: - Removed indent pragma. - Declared tao_yyerror as taking a const char*, it is not used - anyway. - - * TAO_IDL/be/be_visitor_operation/tie_si.cpp: - Tie delegation is similar to collocated upcalls, the arguments - are T_ptr objects and not T_var, hence, no .in () calls are - needed. - - * TAO_IDL/fe/fe_extern.cpp: - * TAO_IDL/driver/drv_preproc.cpp: - Changed old C-style cast to reinterpret_cast, that should make - HP/aCC compiler happy. This is just because SunCFE uses File* as - a compilation barrier for FILE*, IMHO a waste of time. - -Sat Jul 11 10:17:35 1998 Carlos O'Ryan - - * orbsvcs/tests/Makefile: - Added EC_Mcast to the list of tests. - -Fri Jul 10 22:25:44 1998 David L. Levine - - * TAO version 0.1.38 released. - -Fri Jul 10 22:06:16 1998 David L. Levine - - * tao/CDR.i (do_byte_swap): added explicit int return type. - -Fri Jul 10 17:51:13 1998 Jeff Parsons - - * Param_Test/bd_str_seq.cpp: - * Param_Test/ub_str_seq.cpp: - DII tests now work. - - * Param_Test/bd_short_seq.cpp: - * Param_Test/ub_short_seq.cpp: - * Param_Test/bd_long_seq.cpp: - * Param_Test/ub_long_seq.cpp: - Minor changes in notation - no new functionality. - -Fri Jul 10 17:29:25 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Mcast/Makefile: - * orbsvcs/tests/EC_Mcast/svc.conf: - * orbsvcs/tests/EC_Mcast/EC_Mcast.h: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - Added the first implementation of a UDP/Mcast based gateway to - the EC. The current classes require a lot of manual - configuration. - Also implemented a small test to show the usage. - - * tao/CDR.h: - * tao/CDR.i: - * tao/CDR.cpp: - Give access to external users of the swap_ methods, also - provide an accesor for the byte swapping flag in OutputCDRs. - - * tao/GIOP.cpp: - Use the new byte swap accessor. - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Completed support for gateways that are interested in the - supplier list changes. It is now possible to add Gateways - *after* the consumer or supplier list has stabilized. - - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - Do nothing if receive a supplier update. - - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - Destroy the Event Channel *after* the consumers unsubscribe from - it. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/Event_Service/Event_Service.cpp: - Before a normal exit we unbind the Event Service (and, if local, - the Scheduling Service) from the Naming Service. - -Fri Jul 10 17:03:11 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.h: - * orbsvcs/orbsvcs/Trader/Offer_Database.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - * orbsvcs/orbsvcs/Trader/Trader.{h, cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_T.h: - * orbsvcs/orbsvcs/Trader/Trader_Utils.{h,cpp}: - Addressed a number of memory leaks in the Trading - Service. However, typecodes still leak oodles of memory. - - * orbsvcs/Trading_Service/Trading_Service.cpp: - Cleans self up properly after catching SIGINT. - - * orbsvcs/tests/Trading/TT_Info.cpp: - * orbsvcs/tests/Trading/Service_Type_Exporter.cpp: - * orbsvcs/tests/Trading/export_test.cpp: - Aesthetic changes. - -Fri Jul 10 16:35:21 1998 Jeff Parsons - - * TAO/tests/Param_Test/client.cpp: - Fixed bug in DII arg list creation. - - * TAO/tests/Param_Test/bd_short_seq.cpp: - * TAO/tests/Param_Test/bd_long_seq.cpp: - * TAO/tests/Param_Test/ub_short_seq.cpp: - * TAO/tests/Param_Test/ub_long_seq.cpp: - DII tests now work. - - * TAO/tests/Param_Test/any.cpp: - Made some changes - not done yet. DII test still doesn't work. - -Fri Jul 10 15:32:42 1998 Darrell Brunsch - - * docs/implrepo.html: Another pass. - -Fri Jul 10 12:21:18 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/Makefile: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - Fixed errors and warnings reported by David. - -Fri Jul 10 00:32:51 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp: - The skeletons were not releasing the strings allocated while - demarshalling the arguments. - - * docs/implrepo.html: - Another pass at the design document. - -Thu Jul 09 23:02:48 1998 Irfan Pyarali - - * tao/POA.cpp (create_internal_lock): Change method to watch out - for platforms without threads. Thanks to Hongyin Quan - for pointing this out. - -Thu Jul 9 17:48:37 1998 Darrell Brunsch - - * docs/implrepo.html: Carlos's comments have been addressed. - -Thu Jul 9 15:12:35 1998 Seth Benjamin Widoff - - * tao/deep_free.cpp: wasn't freeing string fields of structs. - - * tests/Quoter/Makefile: removed STL vestige. - -Wed Jul 8 21:08:53 1998 Carlos O'Ryan - - * docs/implrepo.html: - Quick revision and added comments with remaining issues. - -Wed Jul 8 19:01:02 1998 Darrell Brunsch - - * docs/implrepo.html: Another big revision of the paper. - -Wed Jul 8 17:13:00 1998 Jeff Parsons - - * TAO/tests/Cubit/TAO/DII_Cubit/client.cpp, - TAO/tests/Cubit/TAO/DII_Cubit/client.h, - TAO/tests/Cubit/TAO/DII_Cubit/DII_Cubit.dsw, - TAO/tests/Cubit/TAO/DII_Cubit/DII_Cubit_Test.cpp, - TAO/tests/Cubit/TAO/DII_Cubit/DII_Cubit_Test.dsp, - TAO/tests/Cubit/TAO/DII_Cubit/README, - TAO/tests/Cubit/TAO/DII_Cubit/Makefile: - Combined client.h and client.cpp into one file, - initialized the return variables in all the Cubit - operations (to get rid of some UMRs in Purify), - removed the one-button test file DII_Cubit_Test.cpp - and the corresponding project file in VC (the perl - script does the same thing and more safely), updated - the DII_Cubit.dsw, Makefile and README files. - -Tue Jul 8 14:00:00 1998 Michael Kircher - - * orbsvcs/orbsvcs/orbsvcs.dsp: When changing the RtecEventComm.id - file or the RtecScheduler.idl file, it is needed to - recompile the RtecEventChannelAdmin.idl file. This is a common - problem. So the programmer has to take care that the - dependencies in the Makefile or VC++ project file - are set properly. - - * orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.cpp, - orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java, - orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2, - orbsvcs/tests/Simulator/README: - Simplified the event data. - -Tue Jul 7 22:11:17 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Trader.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_T.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.{h,cpp}: - Fixed DEC cxx errors, addressed a memory leak. - -Tue Jul 7 20:48:37 1998 Nanbor Wang - - * tao/Connect.{h,cpp}: Revert my previous changes. - -Tue Jul 7 19:47:15 198 Jeff Parsons - - * TAO/tao/Request.cpp: Slight modification (Andy's - suggestion) to send_oneway (), getting rid of an - error message when shutting down the Cubit server - via DII. - -Tue Jul 7 19:25:55 1998 Jeff Parsons - - * tests/Cubit/TAO/DII_Cubit/DII_Cubit_Test.cpp: - New file that implements a "one-button" DII Cubit test. - * DII_Cubit/Makefile: Added a build for dii_cubit_test.exe. - * DII_Cubit/DII_Cubit_Test.dsp: New project in the workspace. - * DII_Cubit/DII_Cubit.dsw: Updated workspace (new project). - -Tue Jul 7 08:21:41 1998 Carlos O'Ryan - - * TAO_IDL/Makefile: - * orbsvcs/Dump_Schedule/Makefile: - * orbsvcs/Event_Service/Makefile: - * orbsvcs/LifeCycle_Service/Makefile: - * orbsvcs/Naming_Service/Makefile: - * orbsvcs/Scheduling_Service/Makefile: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/tests/Concurrency/Makefile: - * orbsvcs/tests/EC_Multiple/Makefile: - * orbsvcs/tests/EC_Throughput/Makefile: - * orbsvcs/tests/Event_Latency/Makefile: - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Simple_Naming/Makefile: - * tao/Makefile: - * tests/CDR/Makefile: - * tests/Cubit/TAO/IDL_Cubit/Makefile: - * tests/Cubit/TAO/MT_Cubit/Makefile: - * tests/OctetSeq/Makefile: - * tests/POA/Default_Servant/Makefile: - * tests/POA/Explicit_Activation/Makefile: - * tests/POA/FindPOA/Makefile: - * tests/POA/Generic_Servant/Makefile: - * tests/POA/NewPOA/Makefile: - * tests/POA/On_Demand_Activation/Makefile: - * tests/POA/RootPOA/Makefile: - * tests/Param_Test/Makefile: - * tests/Quoter/Makefile: - * tests/Thruput/TAO/Makefile: - * tests/NestedUpcall/Reactor/Makefile: - * tests/NestedUpcall/Triangle_Test/Makefile: - Updated dependencies. - -Tue Jul 07 07:36:36 1998 David L. Levine - - * tao/compat/objbase.h: use #if 0 instead of // to comment out a - multiline #define, to avoid warning about a multiline comment. - - * tests/Param_Test/results.{h,cpp}: added trailing $ to Id string. - -Mon Jul 6 19:33:54 1998 Jeff Parsons - - * TAO/tests/Cubit/TAO/DII_Cubit/client.cpp: - Made the shutdown request DII instead of SII. Everything - works on NT except for the shutdown option. Unix is OK. - Also, changed the parse_args call to come after initializing - the orb, so other orb-specific args can be used and not - confuse parse_args. - -Mon Jul 6 19:17:00 1998 Michael Kircher - - * docs/Options.html: Added documentation about the - -ORBiiopprofilelock switch. - -Mon Jul 6 17:00:00 1998 Jeff Parsons - - * TAO/tests/Cubit/TAO/DII_Cubit/client.{h,cpp}: - Added a DII request on the naming service to get the - Cubit factory IOR, plus code to implement all the - command line options. Built with SunCC, it works on Unix, - but not yet on NT. - -Mon Jul 6 15:46:35 1998 Carlos O'Ryan - - * tao/decode.cpp: - Strings contain a nested CDR with the bounds for it, the - demarshalling code in that case was invoking the TypeCode - constructor with the wrong parameters, hence the bounds were - invalid. The problem only shows up now because we were ignoring - the bounds in previous releases. - -Mon Jul 6 15:24:21 1998 Matthew J Braun - - * tests/Logger/client.h - * tests/Logger/client.cpp - * orbsvcs/orbsvcs/Log/Logger_i.h - * orbsvcs/orbsvcs/Log/Logger_i.cpp - * orbsvcs/orbsvcs/Logger.idl - - Routine checkin. Ignore the man behind that curtain.... - Fully working version complete, but not yet Purified. - -Mon Jul 06 15:13:11 1998 Nanbor Wang - - * tao/compat/initguid.h: Reordered some stuff. - - * tao/corba.h: Don't include in "compat/initguid.h" anymore. - -Mon Jul 6 15:10:30 1998 Carlos O'Ryan - - * orbsvcs/Naming_Service/Makefile: - Updated dependencies. - - * orbsvcs/tests/EC_Throughput/ECT_Data.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - The CDR size was wrong, this resulted in all kind of strange - errors n the client side. This is another reminder that an octet - sequence only uses a single Message_Block, not a chain of them. - -Mon Jul 06 14:58:14 1998 Nanbor Wang - - * tao/IIOP_Object.{h,cpp}: - * tao/Object.{h,i,cpp}: - * tao/Server_Request.{h,cpp}: - * tao/compat/objbase.h: Renamed REFIID to TAO_REFIID and - DEFINE_GUID to TAO_DEFINE_GUID to avoid conflict with MSVC's - COM. We don't support COM at this moment. - - * tao/compat/objbase.h: Disable the definition of TAO_VARENUM. It - is not used currently. Thanks to Maximilian Hoferer - for noticing this. - -Mon Jul 06 09:07:36 1998 Steve Huston - - * tao/ORB_Core.{i cpp}: Removed redundant preprocessing token - concatentations - HP-UX aCC warned about them. - - * tao/Connect.h: Added #include "tao/corba.h" so the defs are visible - at template instantiation on AIX xlC. - -Mon Jul 6 04:45:02 1998 Nanbor Wang - - * tao/Connect.h (TAO_Client_Connect_Handler): Added a new data - member to trace whether this client connection is - running reactively or in a separate thread (other than the main - thread.) - - * tao/Connect.cpp (open,close,send_request): Check to see if the - client is going to run in a separate thread (by comparing its - thread id with that of reactor's.) If so, the handler won't try - to register itself with the reactor and simply block on the - socket IO calls. This change enables the NestedUpcall/Reactor - example to use the thread-per-connection strategy. - -Sun Jul 5 21:22:42 1998 Darrell Brunsch - - * tao/orbconf.h: Undid the change I made on July 3. Although it - fixed the one problem I was looking at, it broke everything - else. Oops. - - * TAO_IDL/be/be_codegen.cpp: Changed the TAO_EXPORT_MACRO - definition to override any that came before. Without this the - ordering of includes (putting corba.h before an orbsvc, such as - CosNamingC.h) would break in certain configurations. Also moved - it after the includes so it shouldn't affect included files. - -Sat Jul 4 01:18:21 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Visitor.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_l.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Interpreters.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - * orbsvcs/orbsvcs/Trader/Trader.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - Addressed warnings/errors on IRIX. - -Fri Jul 03 21:51:44 1998 David L. Levine - - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp (parse_args): - reset n_suppliers_ to 1, if <= 0, before the ACE_ERROR_RETURN - instead of after. (supplier_task): cast event_count_ to - CORBA::ULong to avoid signed/unsigned comparison. - - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp (push_consumer): - commented out unused local "ID". - -Fri Jul 3 19:54:03 1998 Darrell Brunsch - - * tao/orbconf.h: Changed the TAO_NAMESPACE_STORAGE_CLASS macros to - work better with namespaces on MSVC. - -Fri Jul 3 18:40:46 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Utils.{h,cpp}: - Debugged and tested directed queries. - - * orbsvcs/tests/Trading/Offer_Importer.{h,cpp}: - * orbsvcs/tests/Trading/import_test.cpp: - Added code to test directed queries. - -Fri Jul 03 17:30:00 1998 Michael Kircher - - * orbsvcs/tests/Simulator/README: Added more documentation. - - * orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java: Register - now only for notification events. - - * orbsvcs/tests/Simulator/DOVEMIB/AnyAnalyser.{h,cpp}: support time stamps. - - * orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.{h,cpp}: support time stamps. - - * orbsvcs/tests/Simulator/DOVEMIB/PrintVisitor.{h,cpp}: support time stamps - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.{h, cpp}: moved - a lot of connection management into the new DOVE Supplier. - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.dsp: Added the DOVE - Suplier files. - - * orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.{h,cpp}: All - the connection management with the event service is done here. - A standardized interface is now supported, thanks to - Kevin Stanley . - -Fri Jul 03 16:38:12 1998 Steve Huston - - * tao/Sequence.h (TAO_Unbounded_Sequence) Removed the - template type specification from constructor names so that this - compiles on AIX xlC as well as Sun C++ and HPUX aCC. - -Fri Jul 03 13:58:08 1998 David L. Levine - - * TAO version 0.1.37 released. - -Fri Jul 3 13:05:01 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Data.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - Fixed template instantiations. - -Fri Jul 03 11:36:04 1998 David L. Levine - - * tests/Param_Test/Makefile, - tests/Cubit/TAO/IDL_Cubit/Makefile: disabled perfect - hashing until we can stabilize its use. - -Fri Jul 03 11:34:38 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/Makefile: - Added new object files to the Makefile. - - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - Protected against null publication or subscription list. - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Removed a possible race condition in consumer - disconnections. Thanks to Thomas Venturella - for the last two fixes. - -Fri Jul 03 08:40:28 1998 Steve Huston - - * tao/corba.h: Reordered some includes to get it to compile clean on - HP-UX aCC. - -Fri Jul 03 02:03:23 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Data.h: - * orbsvcs/tests/EC_Throughput/ECT_Data.cpp: - * orbsvcs/tests/EC_Throughput/data.idl: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - Added an example on how to send C++ data across the wire. - - * orbsvcs/orbsvcs.dsw: - * orbsvcs/tests/EC_Throughput/EC_Throughput.dsw: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.dsp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.dsp: - Added MSVC++ project files for the new test. - - * tao/CDR.h: - Fixed typo in a extraction operator for InputCDR and strings, it - was declared as operator>>. - -Fri Jul 3 00:39:03 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Utils.{h,cpp}: - Added code to sort by preference the merged result sequence of a - federated query. - -Thu Jul 2 19:41:46 1998 Alexander Babu Arulanthu - - * tests/Param_Test/Makefile: - * tests/Cubit/TAO/IDL_Cubit/Makefile: Added TAO_IDLFLAGS -P to enable - Perfect-hashed-operation-lookup strategy for the idl compiler. - -Thu Jul 2 19:22:24 1998 Carlos O'Ryan - - * orbsvcs/tests/Makefile: - * orbsvcs/tests/EC_Throughput/Makefile: - * orbsvcs/tests/EC_Throughput/svc.conf: - * orbsvcs/tests/EC_Throughput/data.idl: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.h: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.h: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - This test shows how to use the EC for custom marshalling, later - it will be adapted to measure throughput in the EC. - - * orbsvcs/orbsvcs/RtecEventComm.idl: - Added some padding so the payload (an encapsulated CDR) is - always properly aligned. - - * orbsvcs/tests/EC_Throughput/README: - * docs/releasenotes/ec.html: - Included some info about this new test. - -Thu Jul 2 14:28:01 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_array.cpp: We were generating incorrect code for - the out () and _retn () methods of the Array_var class. - - * TAO_IDL/be_include/be.h: Missing #include for Process.h added. - - * TAO_IDL/Makefile: Ran make depend - - * tests/Param_Test/README: Added description for the array tests. - -Thu Jul 2 12:36:28 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Trader/Trader[_T].{h,cpp}: - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.{h,cpp}: - For the 'in' operator in the standard OMG constraint language, the - Constraint Interpreter needs to identify and extract from Anys - sequences of primitive types, regardless of how many times the - sequence has been typedef'd. Added code to do this. - - * orbsvcs/tests/Trading/TTest.idl: - * orbsvcs/tests/Trading/TT_Info.cpp: - * orbsvcs/tests/Trading/Service_Type_Exporter.cpp: - * orbsvcs/tests/Trading/Offer_Exporter.cpp: - Now sends aliased sequences to the Trader to test the above - enhancement. - -Thu Jul 2 12:29:10 1998 Alexander Babu Arulanthu - - The Next round of changes for GPERF + TAO_IDL integration. NT - related stuff have been taken care of. attributes also should work - now. - * TAO_IDL/driver/drv_args.cpp: - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be_include/be_codegen.h: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_helper.cpp: - * TAO_IDL/be/be_codegen.cpp: - -Thu Jul 02 09:17:57 1998 David L. Levine - - * tests/CDR/growth.cpp (main), - tests/OctetSeq/OctetSeq.cpp (run): replaced - ACE_hrtime_t-to-ACE_INT32 static casts with ACE_U64_TO_U32 - for compatibility with ACE_U_LongLong. - - * tests/NestedUpcall/Triangle_Test/Object_A_Impl.cpp: added - newline at end of file. - - * tests/POA/On_Demand_Activation/Servant_Locator.cpp (postinvoke): - added ACE_UNUSED_ARG (my_servant) to avoid compile warning about - unused variable with ACE_NDEBUG. - - * tests/Cubit/TAO/MT_Cubit/Task_Client (run_tests): use - ACE_OS::fprintf instead of fprintf, and fixed the format - specifier to match the argument type. - - * Makefile (release): use $(MAKE) instead of make for - recursive make. - -Thu Jul 02 01:50:58 1998 Irfan Pyarali - - * tao/POA: Renamed TAO_POA_Locking to Synchronization. Also - renamed the related enums to not use the USE_ prefix. - -Wed Jul 1 22:42:13 1998 Seth Benjamin Widoff - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/CosTrading.idl: - Merged Sequences.idl into CosTrading.idl. - - * orbsvcs/orbsvcs/Trader/Trader.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_T.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Utils.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.{h,cpp}: - Addressed DEC cxx warnings/errors. Hopefully solved some, probbaly - introduced more. - -Wed Jul 01 21:14:11 1998 David L. Levine - - * tests/Param_Test/any.cpp: commented out unused static - any_table. - - * tests/Param_Test/fixed_array.cpp (check_validity): commented - out unused local ret. - - * tests/Param_Test/{bd,ub}_str_seq.cpp (init_parameters): - commented out unused local gen. - -Wed Jul 1 19:20:00 1998 Michael Kircher - - * orbsvcs/LifeCycle_Service/Makefile: I hopefully - fixed the complains of the DEC cxx compiler. - -Wed Jul 1 15:50:00 1998 Michael Kircher - - * tao/ORB.cpp: Fixed a memory leak in the initial - references code. The pointers (name_service_ and trading_service_) - were not properly reused and not properly released. - - * tao/Operation_Table.h: Fixed a spelling problem with - TAO_operation_db_entry. - -Wed Jul 1 13:59:30 1998 Seth Benjamin Widoff - - * orbsvcs/LifeCycle_Service/Makefile: Removed STL flags. - - * tao/TAO.{h,cpp}: Passing in argc to the TAO_ORB_Manager by - reference, since ORB_init takes argc by reference. - - * orbsvcs/Trading_Service/Trading_Service.{h,cpp}: - * orbsvcs/Trading_Service/Makefile: - Made Trading Service app resemble other orbsvcs apps. Accepts -TS* - command line arguments. Has the ability to form a complete graph - federation with other traders on the same multicast network. - - * orbsvcs/tests/Trading/Offer_Exporter.{h,cpp}: - * orbsvcs/tests/Trading/Offer_Importer.{h,cpp}: - * orbsvcs/tests/Trading/Service_Type_Exporter.{h,cpp}: - * orbsvcs/tests/Trading/export_test.cpp: - * orbsvcs/tests/Trading/Makfile: - export_test will now export service types and offers to all - traders linked to the multicast-enabled trader, so import_test - will test federated queries. - - * orbsvcs/orbsvcs/IOR_Multicast.{h,cpp}: Added an init method for - initialization outside the constructor. - - * orbsvcs/orbsvcs/Makefile: Changed macro name from - TAO_HAS_DYNAMIC_PROPERTY_BUG to TAO_HAS_OBJECT_IN_STRUCT_MARSHAL_BUG. - - * orbsvcs/orbsvcs/Trader/*.*: - o Hopefully fixed DEC cxx errors/warnings. - o Added command-line configuration of trader policies, interfaces, - and multithreading support. - o Debugged link interface and federated queries. - o Added explicit template specialization. - -Wed Jul 1 1:55:23 1998 Jeff Parsons - - * TAO/tests/Cubit/TAO/DII_Cubit/Makefile: It works, at least with - SunCC. It builds the DII client and also the IDL server if - necessary (since we run it before running client.exe) -thanks - to David Levine for that. - * TAO/tests/Cubit/TAO/DII_Cubit/client.h, cpp: Now builds and - executes on Unix and NT. Also added some macros for the - environment checking inside the operations. - -Wed Jul 1 10:28:07 1998 Alexander Babu Arulanthu - - * TAO_IDL/be_include/be_interface.h (be_type): Fixed the warnings - in g++. - -Wed Jul 1 06:36:11 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp: For the copying - version of the <<= operator, we were not doing a copy. Thanks to - Seth Widoff for pointing this out. - -Tue Jun 30 22:08:38 1998 David L. Levine - - * TAO_IDL/be/be_codegen.cpp (lookup_strategy): added full - qualification of TAO_CodeGen::LOOKUP_STRATEGY return type. - -Tue Jun 30 18:27:49 1998 Carlos O'Ryan - - * tao/Sequence_T.i: - Another ACE_CAST_CONST problem, thanks to Seth Widoff - (sbw1@cs.wustl.edu) for catching this one. - -Tue Jun 30 18:21:04 1998 Seth Benjamin Widoff - - * tests/Quoter/Makefile: - Removed STL includes --- no longer needed for Trading Service. - -Tue Jun 30 16:50:12 1998 Alexander Babu Arulanthu - - First round of changes for GPERF + TAO_IDL integration. Execute - tao_idl with -P option to enable PERFECT_HASH operation lookup - strategy. - - IDL-Attributes are not supported yet. - - * TAO_IDL/driver/drv_args.cpp: Added option -P to enable - PERFECT_HASH operation lookup strategy. - - * TAO_IDL/be_include/be_interface.h: Added methods to generate - perfect hashing operation lookup table in the server skeleton - code. - - * TAO_IDL/be_include/be_helper.h (class TAO_OutStream): Added a - new stream type GPERF_INPUT to indicate the outstream is for - gperf's input file. - - * TAO_IDL/be_include/be_codegen.h (class TAO_CodeGen): Added to indicate various lookup - strategies. Added the member and access methods that keeps track - of the TAO_OutStream that corresponds to the gperf's input file. - - * TAO_IDL/be_include/be.h: Included "ace/Process.h". - - * TAO_IDL/be/be_interface.cpp: - - * TAO_IDL/be/be_helper.cpp: - - * TAO_IDL/be/be_codegen.cpp: - - * tao/Operation_Table.h (TAO_Perfect_Hash_OpTable): - * tao/Operation_Table.cpp : - Defined the class TAO_Perfect_Hash_OpTable, the factory - class for Perfect_Hashing-Operation_Lookup strategy. - -Tue Jun 30 13:23:59 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp: - Workaround Sun/CC problem when compiling with -O (but not - -fast). Apparently it does not like to use static (file) scope - symbols in the definition of a template. - -Tue Jun 30 10:40:00 1998 Michael Kircher - - * docs/configurations.html: Added documentation about the - -ORBiiopprofilelock switch. - - * tao/Client_Strategy_Factory.{h,cpp}: Added the create_iiop_profile_lock (void) - - * tao/GIOP.cpp: Use ACE_Lock instead of ACE_SYNCH_MUTEX. - - * tao/IIOP_Object.cpp: Added the initialization of the fwd_profile_lock_ptr to - the constructor. - - * tao/IIOP_Object.h: Changed the forward profile lock to a pointer to a lock. - - * tao/IIOP_Object.i: Added the initialization of the fwd_profile_lock_ptr to - the constructor. - - * tao/default_client.{h,cpp}: Added the parsing of "-ORBportiiopproflielock" to - the parse_args method. "thread" (default) means to use a mutex lock - on the access of the forwarding iiop profile. "null" means, use a null - mutex, which is faster, but does not provide any protection. - Added also the function create_iiop_profile_lock () to allow - others to create a new lock, depending on the above mentioned switch. - -Tue Jun 30 00:58:57 1998 Douglas C. Schmidt - - * TAO version 0.1.36 released. - -Mon Jun 29 14:43:17 1998 David L. Levine - - * TAO_IDL/be/be_array.cpp (gen_forany_defn): changed - declaration of friend CORBA::Any to friend class CORBA_Any, - to keep DEC cxx from complaining. Also, commented out - the declaration, because it doesn't appear to be necessary. - - * tests/OctetSeq/OctetSeq.cpp (main): cast sizeof to int - to avoid egcs warning about signed/unsigned comparison. - -Mon Jun 29 11:05:03 1998 Carlos O'Ryan - - * tao/encode.cpp: - Removed unused variable. - -Mon Jun 29 11:00:26 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - - After the call to do_static_call, we were not checking if some - exception was raised. This was causing major problems if there was - any post do_static_call processing such as narrowing to be - done. Thanks to Seth Widoff for reporting the problem. - -Sun Jun 28 21:33:48 1998 David L. Levine - - * tao/GIOP.cpp: replaced ACE_SYNCH_RW_MUTEX with - ACE_SYNCH_MUTEX so that it will compile with g++ - (and be correct :-). - - * tests/OctetSeq/OctetSeq.cpp (main): changed loop index - i from u_int to int to avoid signed/unsigned comparison. - -Sun Jun 28 16:10:00 1998 Michael Kircher - - * tests/NestedUpcalls/Triangle_Test/Makefile: Added - this Makefile for use on Unix machines. - -Sun Jun 28 15:30:00 1998 Michael Kircher - - * tao/GIOP.cpp: In method location_forwarding, removed - the explicit release of the IIOP_Object. It is implicitly - released by the release of the CORBA::OBject pointer. - - * tests/Quoter/Generic_Factory_Impl.{h,cpp}: Splitted - the create_object method into two parts. - -Sat Jun 27 18:13:05 1998 Irfan Pyarali - - * TAO/tests/POA/Explicit_Activation/server.cpp (main): Changed - #include "ace/Timeprobes.h" to #include "tao/Timeprobes.h". diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c deleted file mode 100644 index dba65d73192..00000000000 --- a/TAO/ChangeLog-98c +++ /dev/null @@ -1,5511 +0,0 @@ -Thu Dec 31 16:28:27 1998 Nanbor Wang - - * TAO_IDL/tao_idl.dsp: - * TAO_IDL/tao_idl_static.dsp: Also write the executables to - $ACE_ROOT/bin. - - * orbsvcs/Naming_Service/Naming_Service.dsp: Dependency update. - - * orbsvcs/orbsvcs/orbsvcs.dsp: Added Corlos' new files for Event - Channel into the project. Cleaned up IDL configurations. - - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp: - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp: - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp: - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp: Don't need to - specify relative path for header files reside in the same - directory. - - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h: - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h: - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.h: - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h: - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h: Added - TAO_ORBSVCS_export decls. - -Thu Dec 31 15:28:49 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.h: - I'm prototyping a new version of the real-time Event Channel, - this version will be more efficient, more configurable and - (hopefully) easier to maintain. This initial commit is just for - backup purposes, it does not compile and it will suffer many - changes before it is usable. - -Thu Dec 31 15:34:47 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp: - Removed temporary reference called _env, it is not needed - because we can use TAO_THROW_ENV() instead of TAO_THROW. - -Thu Dec 31 15:04:57 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - Added the CosEC files to the Makefile; it compiles with both - Sun/CC and egcs. - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp: - Removed template instantiations, they are in - orbsvcs-tmplinst.cpp already. - -1998-12-31 Seth Widoff - - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: - Fixed another g++ error (assignment to an invalid narrower type). - -Thu Dec 31 13:20:17 1998 Vishal Kachroo - - * orbsvcs/orbsvcs/CosTimeBase.idl: Updated the comments to say - that module TimeBase is a part of the TAO Time Service IDL. - -Thu Dec 31 12:39:24 1998 Vishal Kachroo - - * orbsvcs/Time_Service/Server_i.cpp (parse_args): Changed - the _env to TAO_TRY_ENV. - - * orbsvcs/Time_Service/Server_i.cpp (parse_args): Changed - the _env to TAO_TRY_ENV. Checked for invalid filename while - reading from the IOR file. Removed the unreferenced variables. - -Thu Dec 31 12:28:31 1998 Vishal Kachroo - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp (handle_timeout): Changed - the _env to TAO_TRY_ENV. - - * orbsvcs/orbsvcs/Time/TAO_TIO.cpp : Changed the _env to TAO_TRY_ENV. - Removed the unreferenced variables as pointed out by IRIX compiler. - Thanks to Carlos for this. Fixed warnings like statement unreachable. - - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp : Changed the _env to TAO_TRY_ENV. - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp : Changed the _env - to TAO_TRY_ENV. Removed some unreferenced variables. - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp :Changed the _env - to TAO_TRY_ENV. - -Thu Dec 31 11:56:47 1998 Carlos O'Ryan - - * Fixed several errors and warnings detected by the IRIX - compiler. - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp: - Removed unused variable. - - * TAO_IDL/be/be_visitor_typedef/typedef.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_argument/pre_docall_cs.cpp: - * TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp: - Removed unused variables and unreached statements. - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.h: - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h: - Added several forward declarations. - - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: - Removed unnecesary template instantiations. - -1998-12-31 Seth Widoff - - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.{cpp,h}: - Fixed a crazy #include problem with g++. - -Thu Dec 31 09:46:12 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - Same change as Andy, but also added a dependency between - TimeService.idl and CosTimeBase.idl; this is safer and should - also work when running make -j 2 (or more). - -Thu Dec 31 09:27:05 1998 Aniruddha Gokhale - - * orbsvcs/orbsvcs/Makefile: - - TimeService.idl includes CosTimeBase.idl. However, the - CosTimeBase.idl file was run through the IDL compiler after - TimeService.idl which was causing errors because the generated - files for TimeService were including the generated files for - CosTimeBase. - -Thu Dec 31 03:54:05 1998 Kirthika Parameswaran - - * examples/POA/Loader/Servant_Activator.{h,cpp}: Added the - ServantActivator_i implementation files which load the dll on - creation and make object-servant associations on demand. - - * examples/POA/Loader/Servant_Locator.{h,cpp}: Added the - ServantLocator_i implementation files which load the dll on - creation and obtain and delete servants on demand per client - request. - - * examples/POA/Loader/Server_Manager.{h,cpp}: Helper class - implementation used by the server application. - - * examples/POA/Loader/server.cpp: The server application. - - * examples/POA/Loader/Makefile: Added to the repository. - - * examples/POA/Loader/README: Explains the example. - - * examples/POA/Loader/run_test.pl: Perl script for executing the - example. - - * examples/POA/Generic_Servant/MyFooServant.cpp (supply_servant): - Added this function. It will provide the appropriate servant - depending on the ObjectId passed to it. - - * examples/POA/Generic_Servant/MyFooServant.cpp (destroy_servant): - Added this function. It will terminate the servant. - -Thu Dec 31 00:11:32 1998 Irfan Pyarali - - * performance-tests/POA/Object_Creation_And_Registration/registration.cpp (main): - Added timing stats for calls to servant_to_id(). - - * orbsvcs/tests/Time/Time.dsp: - * orbsvcs/Time_Service/Time_Service.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: - - Added new Time Service files. - - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: Fixed comment typo. - - * performance-tests/POA/Object_Creation_And_Registration/registration.cpp (main): - Added code to check the effectiveness of the hashing of - servants. - - * tao/ORB_Core.cpp (root_poa): Reset the root_poa_reference_ when - the root_poa_ is changed. - - * tao/Servant_Base.cpp (_default_POA): Changed implementation to - use new ORB_Core::root_poa_reference() routine. - - * tao/ORB_Core.i (root_poa_reference): Added this method so that - we do not have to create a new reference every time the POA - reference is needed. - -Wed Dec 31 00:01:40 1998 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/server.cpp: Added support so that - the program can break out of main () in case of any exception/error. - - * examples/POA/On_Demand_Loading/Servant_Manager.h: - Made and as ACE_CString variables. - Thanks to Irfan for suggesting it. - - * examples/POA/On_Demand_Loading/Servant_Manager.cpp - (parse_string): Changed the method to implement simpler parsing - using ACE_CString methods. - - * examples/POA/On_Demand_Loading/Servant_Manager.cpp - (create_dll_object_id): Concatenation achieved very simply using - ACE_CString variable. - - * examples/POA/On_Demand_Loading/README: Thanks to Doug for - modifying it and making the concept used in the example much - clearer. - - * examples/POA/On_Demand_Loading/server.cpp: Removed unnecessary - TAO_TRY macros. - -Wed Dec 30 22:52:16 1998 David L. Levine - - * tao/Makefile: on ghs/VxWorks, removed -g suppression for - POA.cpp build. It no longer seems to be necessary, and - for some reason confused the make on SunOS 5.7 host. - -Wed Dec 30 20:45:42 1998 Pradeep Gore - - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.h: - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp: - moved initialization from contructor to the init method. - added a shutdown method. - - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h: - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp: - moved initialization from contructor to the init method. - - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h: - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp: - moved initialization from contructor to the init method. - - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h: - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp: - initialize the EventHeader using the SupplierQOS. - added method. - -Wed Dec 30 19:17:44 1998 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/Server_Manager.{h,cpp}: - Added these two files for the helper class Server_i used by the - server application. - - * examples/POA/On_Demand_Loading/server.cpp: - This file has been totally revamped and now uses the Server_i - class object. - - * examples/POA/On_Demand_Loading/Makefile: - Added an extra entry for Server_Manager used by the server - program. - -Wed Dec 30 17:25:51 1998 Vishal Kachroo - - The following files have been added to the newly created - Time directory under orbsvcs/orbsvcs - - * orbsvcs/orbsvcs/Time/TAO_TIO.cpp: This is the Time Interval - Object. It represents a time interval and has operations to - compare itself with a UTO or another TIO. It can also create - a UTO from the value of it's time interval. - - * orbsvcs/orbsvcs/Time/TAO_TIO.h: This is the Time Interval - Object. It represents a time interval and has operations to - compare itself with a UTO or another TIO. It can also create - a UTO from the value of it's time interval. - - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp: Universal Time Object - Implementation. This is an encapsulation of time. It provides - the following operations on basic time. - - - Construction of a UTO from piece parts, and extraction - of the parts from a UTO. The piece parts are the readonly - attributes : - time - inaccuracy - time displacement factor - structure with all the above. - - - Comparison of time. - - - Conversion from relative to absolute time, and conversion - to an interval (TIO). - - * orbsvcs/orbsvcs/Time/TAO_UTO.h: Class definition for TAO_UTO.cpp - - * orbsvcs/orbsvcs/Time//TAO_Time_Service_Server.cpp:The server Object - implementation implements methods to retrieve current time as well - as secure current time. The times are retrieved as UTOs. The object - also allows creation of a TIO for a given time interval. The notion - of time returned here is the local time of the system. - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h: Class definition - for TAO_Time_Service_Server.cpp - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp: The clerk Object - implementation implements methods to retrieve GLOBAL time as well as - secure GLOBAL time. The times are retrieved as UTOs. The object also - allows creation of a TIO for a given time interval. The notion of time - returned here is the globally synchronized time. - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h: Class definition - for TAO_Time_Service_Clerk.cpp - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp: This is the helper class used - by clerk to get globally syncronized time. This class is registered with - the reactor that calls the handle_timeout () on this preiodically. The - handle_timeout, in turn, gets time from the various servers in the network. - It then updates the clerks notion of time. - - * orbsvcs/orbsvcs/Time/Timer_Helper.h: Class definition for the - Timer_Helper.cpp - - -Wed Dec 30 17:03:16 1998 Vishal Kachroo - - * orbsvcs/orbsvcs/TimeService.idl (CosTime): This is the IDL - for the Time Service. It includes CosTimeBase.idl that - defines the module TimeBase. This module has the IDL definition - for the various data structures used in the time service. - The separation of the two modules is required because the - TimeBase module is being used in other TAO services. - - * orbsvcs/orbsvcs/Makefile : Updated the makefile to now make - the newly added Time Service to TAO. This includes generating - the IDL stubs in orbsvcs/orbsvcs and adding all the implementation - objects in /orbsvcs/orbsvcs/Time to liborbsvcs. - -Wed Dec 30 17:37:19 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.i: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.h: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - Detecting if a fragment comes from the current process is harder - than I thought: just using the local address of the seding - socket is not enough, because in some platform this address has - the ipaddr set to 0 (the source address is chosen by the kernel - after routing considerations). - We use the ACE facilities to find the list of local ipaddresses - to work around this problem. - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - Adjusted the timeout value for the UDP fragments, it was too - low. - - * orbsvcs/tests/EC_Mcast/README: - Updated the documentation. - -Wed Dec 30 16:43:35 1998 Vishal Kachroo - - The following files have been added to the newly created - Time_Service directory under orbsvcs/ - - * orbsvcs/Time_Service/Server_i.h: This is the server driver - program for the Time Service. It registers the - TAO_Time_Service_Server with the orb and listens infinitely - within orb.run () for invocations from the clerk. - - * orbsvcs/Time_Service/Server_i.cpp: This is the server driver - program for the Time Service. It registers the - TAO_Time_Service_Server with the orb and listens infinitely - within orb.run () for invocations from the clerk. - - * orbsvcs/Time_Service/Clerk_i.h : This is the clerk driver - program for the Time Service. It registers the - TAO_Time_Service_Clerk with the orb. It also gets the IORs - of the various time servers in the network and passes them to - the TAO_Time_Service_Clerk. It listens for invocations from - the clients. - - * orbsvcs/Time_Service/Clerk_i.cpp: This is the clerk driver - program for the Time Service. It registers the - TAO_Time_Service_Clerk with the orb. It also gets the IORs - of the various time servers in the network and passes them to - the TAO_Time_Service_Clerk. It listens for invocations from - the clients. - - * orbsvcs/Time_Service/server.cpp: This is the server wrapper - program. - - * orbsvcs/Time_Service/clerk.cpp: This is the clerk wrapper - program. - - * orbsvcs/Time_Service/Makefile: This is the Makefile for this - directory that generates the server and the clerk binaries. - - -Wed Dec 30 16:26:51 1998 Vishal Kachroo - - The following files have been added to the newly created Time - directory under orbsvcs/tests. - - * orbsvcs/tests/Time/Makefile: This makefile compiles just the - client test in this directory. - - * orbsvcs/tests/Time/client.cpp: This is the client wrapper. - - * orbsvcs/tests/Time/Client_i.cpp: This class runs the various - tests for the Time Service. It calls the TimeService clerk - running on the same machine and asserts the correctness of the - various operations. - - * orbsvcs/tests/Time/Client_i.h: This class runs the various - tests for the Time Service. It calls the TimeService clerk - running on the same machine and asserts the correctness of the - various operations. - - -Wed Dec 30 16:19:06 1998 Pradeep Gore - - * orbsvcs/tests/CosEC_Basic: - * orbsvcs/tests/CosEC_Basic/README: - * orbsvcs/tests/CosEC_Basic/CosECConsumer.cpp: - * orbsvcs/tests/CosEC_Basic/CosECConsumer.h: - * orbsvcs/tests/CosEC_Basic/CosECSupplier.cpp: - * orbsvcs/tests/CosEC_Basic/CosECSupplier.h: - * orbsvcs/tests/CosEC_Basic/CosEC_Basic.cpp: - * orbsvcs/tests/CosEC_Basic/CosEC_Basic.h: - * orbsvcs/tests/CosEC_Basic/Makefile: - Added the following files for the CosEC test to orbsvcs - -1998-12-30 Seth Widoff - - * orbsvcs/orbsvcs/Trader/Trader_T.{cpp,h}: - Fixed a couple of syntax errors in my last change that were - caught by NT, but missed by the more liberal SunCC - compiler. Ack! - -Wed Dec 30 12:22:58 1998 Nanbor Wang - - * tao/Any.cpp (CORBA_Any): Removed sharing of in the copy - constructor. It'd nice to have it but according to CORBA spec. - Any always performs a deep_copy and owns the object. - -Wed Dec 30 02:47:46 1998 Irfan Pyarali - - * tao/IIOP_Object (Profile): Removed the 1001 different - constructors and set() methods of the Profile class. We are now - down to a bare minimum. Also did a complete make-over of this - class to make it easier and simpler to use. - - The major change that improved the performance of creating new - objects was moving the calls to get_host_name() and - get_host_addr() out of the Profile class and into the ORB - initialization routine. This way these functions are only - called once per ORB and not once per object. - - In other words, these changes were necessary to improve the - performance of object creation in TAO. The change is fairly - simple in the sense that previously the IIOP::Profile was fed - the endpoint INET_Addr on creation by the ORB_Core and the - Profile figured out the host and port information from the - INET_Addr. The figuring out part was through the very expensive - gethostby{name,addr} routine. - - The change was to move the expensive gethostby{name,addr} - routine out of the Profile and into the ORB_Core and simply - provide the cached host and port information to the - IIOP::Profile when it is constructed. - - * tao/Servant_Base.cpp (_create_stub): Removed the creation of an - extra STUB_Object. - - * tao/params.h (TAO_ORB_Parameters): Did a complete make-over of - this class to make it easier and simpler to use (memory - management issues are now much simpler). - - * tao/ORB_Core.h (TAO_Resource_Factory): Removed the from - the ORB_Core. It was already in the orb parameters. - - * tao/Active_Object_Map.i (TAO_Active_Object_Map): Added the - deletion of the reverse map. - - * performance-tests/POA/Object_Creation_And_Registration/registration.cpp: - New test to measure the time it takes to register and activate - an object in the POA. - - * examples/POA/DSI/run_test.pl: - * examples/POA/Default_Servant/run_test.pl: - * examples/POA/On_Demand_Loading/run_test.pl: - * examples/POA/On_Demand_Activation/run_test.pl: - * examples/POA/Explicit_Activation/run_test.pl: - - Unlink ior files before starting the server. - -Wed Dec 30 01:17:42 1998 Nanbor Wang - - * tests/DynAny_Test/basic_test.dsp: Fixed project configurations. - - * tests/DynAny_Test/test_dynsequence.cpp (run_test): Don't delete - , it is owned by the any underneath. - - * tao/encode.cpp (TAO_Marshal_Any::encode): Try to reuse the cdr - string in an any as long as it has one, which is almost always - be the case. - - * tao/DynAny_i.cpp (from_any,to_any): The correct way of making - sure if an any contains any data is to check it's cdr ptr, not - it's value. - - * tao/Any.cpp: Cleaned up the code and fixed many discrepencies - between code and comments. Make sure ownerships are well kept. - (CORBA_Any): Always duplicates the cdr string. - now only refers to ownership of . - (CORBA_Any): (Copy ctor) Always duplicates the cdr string. If - owns its data, then we borrow it. Notice the copying any - doesn't own the object. - -Tue Dec 29 22:53:08 1998 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/run_tests.pl: - removed # at beginning of first line of script. Thanks - to Nanbor and Andy for reporting that they couldn't - run it, because they use tcsh and set their LD_LIBRARY_PATH - after sourcing their .[t]cshrc. - -1998-12-29 Seth Widoff - - * orbsvcs/orbsvcs/Trader/Trader_T.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.{h,cpp}: - For the "in" operator, the trader now uses Dynamic Anys to - access the values of service offer sequences rather than - the deprecated Any::value method. Thanks to Nanbor - for noticing this use of the deprecated - method. - -Tue Dec 29 14:29:22 1998 Carlos O'Ryan - - * tao/try_macros.h: - Changed the definition of the TAO_TRY_ENV macro from __env to - _tao_try_environment. - - * tao/decode.cpp: - Removed another __ in a variable name. - - * tao/ORB.cpp: - * tao/DynAnyC.cpp: - * tao/Object_KeyC.cpp: - * tao/POAC.cpp: - Changed _tc__tc for _tc_TAO_tc - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Removed explicit use of __env. - -Tue Dec 29 15:18:09 1998 Douglas C. Schmidt - - * TAO version 0.2.46 released. - -Tue Dec 29 14:40:55 1998 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/README: Added changes to the - README so as to make it clear that the level of granualarity in - this example is at the object level, i.e. every object is - associated with an dll which is loaded on demand. - -Tue Dec 29 14:32:06 1998 Douglas C. Schmidt - - * TAO version 0.2.45 released. - -Tue Dec 29 13:16:08 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp: - - We were generating variables with names that had two consecutive - underscores ('_'). However, as per the C++ standard, variables - with __ are reserved for the compiler. This happened with the - typecode variables with prefix _tc__tc. We now generate - _tc_TAO_tc. Thanks to Jonathan Biggar for - noticing this. - -Mon Dec 28 16:44:18 1998 Irfan Pyarali - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP: Fixed "used before it was - declared inline" problem. Also, made opertor== and opertor!= - class methods. - -Mon Dec 28 13:13:03 1998 Douglas C. Schmidt - - * examples/Simple/time/Server_i.cpp (parse_args): Fixed an - incorrect return value. Thanks to Barry Hoggard - for reporting this. - -Mon Dec 28 11:49:04 1998 Carlos O'Ryan - - * */Makefile: - Updated dependencies. - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - Fixed egcs 1.1.1 warning, thanks to David for reporting this - one. - - * tao/ORB.h: - Removed _tc_alias and _tc_except from the list of TypeCode - constants, thanks to Jerry De Master for - reporting this problem. - -Mon Dec 28 10:07:55 1998 David L. Levine - - * orbsvcs/orbsvcs/Makefile: re-enabled sfp build. It - should be fixed now. - -Sun Dec 27 15:23:25 1998 Nanbor Wang - - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - * orbsvcs/orbsvcs/Trader/Trader.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: Removed some - extra template instantiations. Thanks to Ben Eng - for reporting this. - -Sun Dec 27 14:33:33 1998 David L. Levine - - * TAO_IDL/Makefile,fe/y.tab.{h,cpp,cpp.diff}: commented out - #pragma ident in generated parser, because some compilers - complain about it. Thanks to Barry Hoggard - for reporting this. - - * performance-tests/Cubit/TAO/DII_Cubit/Makefile: added - -ptr options for Sun CC, so that it uses the IDL_Cubit - template repository. - -Sun Dec 27 09:27:23 1998 David L. Levine - - * orbsvcs/orbsvcs/Makefile: don't build sfp, even with - Sun CC, because the Makefile didn't handle it properly. - -Fri Dec 25 18:26:31 1998 Irfan Pyarali - - * tao/Object_Table: Renamed all Object_Table classes to - Active_Object_Map. This makes the names consistent with the new - POA spec. Also renamed the files. - - The other major change was to add a reverse lookup table to the - active object map. This new table map servants to object ids. - This is used to find servants in the active object map when - _this() is called. The previous implementation was a simple, - but expensive, linear search. This made object registration and - activation very expensive when there are many objects in the - active object map. Note that this optimization is only relevant - in the UNIQUE_ID POA policy. - - Thanks to Jonathan Biggar for suggesting - this optimization. - - * tao/orbconf.h: TAO_DEFAULT_SERVER_OBJECT_TABLE_SIZE is - deprecated. Please use - TAO_DEFAULT_SERVER_ACTIVE_OBJECT_MAP_SIZE. - - * tao/Server_Strategy_Factory, default_server and params: Added - the ability to change the default creation policy of reverse - active object map. - - * tao/Operation_Table: Removed template specialization and made - use of the new ACE_Hash_Map_Manager_Ex. - - * tao/Servant_Base.h (TAO_Servant_Hash): Added a new class so that - we can hash servants. - - * tao/Sequence.h (TAO_Base_Sequence): Removed the hash() method - from this class. It was a non-standard method that is not - required with the new Hash_Map_Manager_Ex design. - - Added TAO_ObjectId_Hash that will help us hash object ids. - - * tao/POA: Removed the second POA constructor which took the - active object map as a parameter. Since the user never gets to - call this function, this second constructor is extra. Anyway, - if the user does want to specific their own (custom) active - object map, they should use the -ORBsystemidpolicydemuxstrategy - user or -ORBuseridpolicydemuxstrategy user or - -ORBuniqueidpolicyreversedemuxstrategy user policy. - - This change also effected some functions in ORB.cpp, - ORB_Core.cpp, and poa_T.cpp. - - * tao/default_server.cpp (parse_args): Added new option - -ORBuniqueidpolicyreversedemuxstrategy. - -Fri Dec 25 18:27:21 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_array.cpp - TAO_IDL/be_include/be_array.h: - - Moved code generation of the var, out, and forany classes to the - visitor for arrays since there were some dependencies on the - information stored in the visitor context. In particular, this - was required to handle anonymous arrays in structs and unions. - - * TAO_IDL/be/be_type.cpp (nested_type_name) - TAO_IDL/be_include/be_type.h (nested_type_name): - - Added a third parameter for prefix. We need this for anonymous - array type names who have an underscore prepended to the field - name. - - * TAO_IDL/be/be_visitor_array/array_ch.cpp - TAO_IDL/be/be_visitor_array/array_ci.cpp - TAO_IDL/be/be_visitor_array/array_cs.cpp - TAO_IDL/be/be_visitor_array/cdr_ch.cpp - TAO_IDL/be/be_visitor_array/cdr_cs.cpp - TAO_IDL/be_include/be_visitor_array/array_ch.h - TAO_IDL/be_include/be_visitor_array/array_ci.h: - - Moved code generation of the var, out, and forany classes to the - visitors. In addition, fixed a number of problems with anonymous - arrays in structs and unions. Fixed CDR operators for anonymous - arrays. - - * TAO_IDL/be/be_visitor_field/field_ch.cpp - TAO_IDL/be/be_visitor_field/field_ci.cpp - TAO_IDL/be/be_visitor_field/field_cs.cpp - TAO_IDL/be/be_visitor_field/cdr_cs.cpp - - Fixed problems with anonymous arrays and sequences. - - * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp - TAO_IDL/be/be_visitor_union_branch/public_access.cpp - TAO_IDL/be/be_visitor_union_branch/public_assign.cpp - TAO_IDL/be/be_visitor_union_branch/public_ch.cpp - TAO_IDL/be/be_visitor_union_branch/public_ci.cpp - TAO_IDL/be/be_visitor_union_branch/public_cs.cpp - TAO_IDL/be/be_visitor_union_branch/public_reset.cpp: - - Fixed problems with anonymous arrays and sequences. - -Thu Dec 24 09:45:36 1998 Douglas C. Schmidt - - * TAO version 0.2.44 released. - -Thu Dec 24 09:22:02 1998 David L. Levine - - * orbsvcs/orbsvcs/Makefile: only build sfp with Sun CC - for now. On some other platforms, the generated code - from sfp.idl doesn't compile. - -Wed Dec 23 23:55:25 1998 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/Servant_Manager.{h,cpp}: - New addition to the repository. These are the helper files - containing the common code between the ServantActivator and the - ServantLocator. - - * examples/POA/On_Demand_Loading/Servant_Activator.{h,cpp}: - * examples/POA/On_Demand_Loading/Servant_Locator.{h,cpp}: - Removed the superflous methods and added an object of - ServantManager which provides the helper methods. - - * examples/POA/On_Demand_Loading/Makefile: - It now contains a Servant_Manager entry. - -Wed Dec 23 15:16:00 CST 1998 Chris Gill - - * TAO/docs/events_tutorial.html: added tutorial on event channel. - Thanks to Carlos O'Ryan for ongoing help maintaining this, and to - Tim Harrison for providing the original version. - - * TAO/orbsvs/tests/EC_Throughput/ECT_Consumer.cpp - TAO/orbsvs/tests/EC_Throughput/ECT_Consumer_Driver.cpp - TAO/orbsvs/tests/EC_Throughput/ECT_Supplier_Driver.cpp: - converted a number of places to use the TAO_CHECK_ENV_RETURN_VOID - macro consistently, added comments, etc. - -Wed Dec 23 14:44:04 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - - Due to a bug in g++2.7.2.3 we were getting lots of link time - undefined symbol errors. This happened for sequences of objects - and interfaces for those platforms that do not support template - specializations or require explicit template - instantiations. Thanks to the efforts of David Levine, we were - able to pinpoint precisely where the problem occured. This was - fixed by moving the generated class declaration of the object - manager after the generated class declaration of the sequence. - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - - In the generated code for _non_existent_skel, the - _tao_obj_reference parameter was unused. We were getting - warnings for this case. - - * tao/Sequence.h: - - A number of classes had their destructors protected. They are - now moved to the public section. - -Wed Dec 23 12:30:25 1998 Nanbor Wang - - * tao/try_macros.h (TAO_RETHROW_RETURN_VOID): This macro was not - defined for platforms without native c++ exceptions. - - * tests/Param_Test/except.cpp (dii_req_invoke): Changed to use - TAO_RETHROW_SAME_ENV_RETURN_VOID. We are not throwing the - exception to another env here. - -Wed Dec 23 11:07:46 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_type.cpp (nested_type_name): - - We had forgotten to insert a "::" in the computation of the - nested type name. Thanks to Christian von Mueffling (cvm@aiss.de) - for sending the bug report. - -Wed Dec 23 03:41:07 1998 Nanbor Wang - - * tests/Param_Test/*.{h,cpp} (dii_req_invoke): Added a new mehtod - for all test classes. All of them but Test_Exception simply - invoke the passed-in DII request. But for Test_Exception, we - need to catch the exceptions from the server and check if the - exceptions are what we are waiting for. - - * tests/Param_Test/objref.cpp (init_parameters): Although - and are pointers to return values, - they still need to be initialized to nil object reference. - Otherwise, any can't encode it. - -Tue Dec 23 02:07:14 1998 Kirthika Parameswaran - - * examples/POA/Explicit_Activation/Makefile: - * examples/POA/On_Demand_Activation/Makefile: - * examples/POA/On_Demand_Loading/Makefile: - - Removed dependency on libserver.a from all the above Makefiles. - -Tue Dec 22 13:43:35 1998 Nanbor Wang - - * TAO_IDL/be/be_visitor_array/array_ch.cpp (visit_array): We - should use TAO_NAMESPACE_STORAGE_CLASS to decorate the array - memory management functions only when the array is directly - within a module. Otherwise, "static" should always be used. - -Tue Dec 22 09:13:06 1998 David L. Levine - - * examples/Simple/chat/README: updated VxWorks information. - - * examples/POA/Generic_Servant/Makefile: added LIBS=-lTAO to avoid - build warning on DU 4.0. - - * TAO_IDL/driver/drv_private.cpp: protected NFILES #define. - -Tue Dec 22 09:36:37 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_cs.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_cs.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp: - - Added these new files. Some compilers were giving lots of - problems when we had virtual methods inlined. So we have now - moved these methods (e.g., _allocate_buffer, _deallocate_buffer, - _shrink_buffer) to the implementation file. - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp: - - The destructor is now defined "virtual" because there are - virtual methods. - - * TAO_IDL/be/be_visitor_sequence.cpp: - - Added #include statements for the newly added files. - - * TAO_IDL/be_include/be_visitor_sequence/sequence_cs.h: - - A bunch on new methods added to the visitor class. These methods - are defined in the five new files added above. - -Tue Dec 22 07:44:07 1998 David L. Levine - - * tao/Marshal.i (deep_free): commented out unused parameter - "source". - -Tue Dec 22 03:33:14 1998 Nanbor Wang - - * tao/Exception.{h,cpp}: If you try to catch the same exception - twice, VC will complain. Added a new TAO_DONT_CATCH class for - use when we want to disable catching all exceptions. - -Tue Dec 22 02:37:38 1998 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/Servant_Activator.h: - Added an ACE_HASH_MAP_MANAGER member which associates an - ObjectId with an dll. - - * examples/POA/On_Demand_Loading/Servant_Activator.cpp - (activate_servant): The dll object is bound to the ObjectId of - the servant. - - * examples/POA/On_Demand_Loading/Servant_Activator.cpp - (deactivate_servant): The dll object is removed from the servant - hash map. - -Tue Dec 22 01:12:16 1998 Nanbor Wang - - * tao/try_macros.h: Defined TAO_CATCHANY as - TAO_CATCH (TAO_DONT_CATCH, ex) when building DEBUG library - (when ACE_NDEBUG is _not_ defined.) This will make un-expected - exception very out-standing and let debuggers have a chance to - catch these exceptions for us. - - * orbsvcs/orbsvcs/Trader/Trader_T.cpp (extract): Changed to use - any's >>= operator to extract a sequence. No need to decode it - yourself. - -Mon Dec 21 21:42:24 1998 Nanbor Wang - - * orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp - (TAO_Literal_Constraint): Strings carried by any's are managed - by any's. They must be duplicated before assigned to others. - -Mon Dec 21 20:45:26 1998 Irfan Pyarali - - * examples/POA/Generic_Servant/MyFooServant.cpp: Changed - ACE_Svc_Export to GENERIC_SERVANT_Export. - -Mon Dec 21 17:05:25 1998 Douglas C. Schmidt - - * TAO/TAO-INSTALL.html: Updated the installation notes to indicate - that all of TAO should be built. Thanks to Brian Wallis - for reporting this. - -Mon Dec 21 17:05:25 1998 Nanbor Wang - - * tao/Marshal.i (deep_free): - * tao/decode.cpp: - * tao/encode.cpp: More memory management bug fixes for Any with - Any. - -Mon Dec 21 11:56:29 1998 Irfan Pyarali - - * TAO_IDL/be/be_visitor_array/array_ch.cpp (visit_array): Fixed - the functions to use TAO_NAMESPACE_STORAGE_CLASS instead of - static. Thanks to Patrice Bensoussan - for reporting this bug. - -Mon Dec 21 09:15:11 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Driver.i: - Fixed some warnings reported by David. - -Mon Dec 21 08:30:09 1998 David L. Levine - - * performance-tests/Cubit/TAO/DII_Cubit/Makefile: - for DEC cxx only, added IDL_Cubit template repository - location to CCFLAGS. That allows the linker to find - all necessary template instantiations. - -Sun Dec 20 20:28:36 1998 Nanbor Wang - - * tests/Param_Test/param_test_i.cpp (test_any): Added tests for - array, struct, and sequence types. - - * tests/Param_Test/any.{h,cpp}: Added tests for more data types. - Restructured parameters setting routine so it will always test - all the types included in the test. - -Sun Dec 20 09:17:51 1998 David L. Levine - - * examples/Simple/chat/README: added VxWorks info. - -Sun Dec 20 04:34:58 1998 Irfan Pyarali - - * examples/Simple/chat/Client_i.cpp: Couple of minor changes. - - * examples/Simple/chat: Added NT makefiles. - -Sat Dec 19 20:12:36 1998 Nanbor Wang - - * tao/Any.cpp (operator<<=): Added a missing "const" keyword. - Thanks to David for noticing this. - -Fri Dec 18 00:20:37 1998 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/Servant_Locator.{h,cpp}: - This interface of the Servant_Manager loads the servant per - client request. - - * examples/POA/On_Demand_Loading/run_test_pl: This script is used - to run this example. - - * examples/POA/On_Demand_Loading/server.cpp: Added changes to - incorporate the Servant Locator interface. - - * examples/POA/On_Demand_Loading/README: Added changes about the - Servant Locator. - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp (export): - commented out declaration/initialization of unused - local plength. - -Fri Dec 18 23:02:08 1998 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading: Removed the following entries: - examples/POA/On_Demand_Loading/Dir_Service.idl - examples/POA/On_Demand_Loading/Dir_Sevice_i.{h,cpp} - examples/POA/On_Demand_Loading/Makefile.DirService - examples/POA/On_Demand_Loading/Makefile.Client - examples/POA/On_Demand_Loading/client.cpp - - Now this example uses the - examples/POA/Generic_Servant/MyFooServant as the servant which - will be loaded on demand. - - * examples/POA/Generic_Servant/Makefile: Added changes so that an - libMyFoo.so is created. - - * examples/POA/Generic_Servant/MyFooServant.cpp (create_MyFoo): - Added this extern "C" function which creates an MyFoo object. - - -Fri Dec 18 16:18:50 1998 Nanbor Wang - - * tao/Any.{i,cpp} (free_value): Moved it to cpp file. - - * be/be_visitor_interface/any_op_cs.cpp (>>=): - Fixed a memory management problem. - - * be/be_visitor_array/any_op_cs.cpp (>>=): - * be/be_visitor_enum/any_op_cs.cpp (>>=): - * be/be_visitor_exception/any_op_cs.cpp (>>=): - * be/be_visitor_sequence/any_op_cs.cpp (>>=): - * be/be_visitor_structure/any_op_cs.cpp (>>=): - * be/be_visitor_union/any_op_cs.cpp (>>=): Adopted the changes - made in Any. Some of them may still have memory management - problem. - - * tao/Any.{h,i,cpp}: The usage of was not very - consistant. Sometime it meant any owns the cdr string, - sometimes it meant any owns the internal data stored in - . It is now changed to indicate whether any owns the - internal data. - (value): Now return the internal data if there's own, - otherwise, it return a pointer to the cdr string. - (free_value): A small helper function to free up the internal - data held by any. - (any_owns_data): Now return true when any owns a valid data. - - * tao/Connect.cpp: Fixed typo in error messages. - -Fri Dec 18 12:14:48 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Scheduler_Info.h: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - I'm starting to support a run-time scheduler for this test. - But it is still experimental and must be enabled at compile - time. - -Fri Dec 18 09:34:14 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Driver.h: - * orbsvcs/tests/EC_Throughput/ECT_Driver.i: - * orbsvcs/tests/EC_Throughput/ECT_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - The test can easily measure latency as well as throughput, so I - added the necessary methods in the ECT_Driver class. - - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - Added missing template instantiations. - Fixed warnings reported by g++ 2.7.2.3 - -1998-12-17 Seth Widoff - - * orbsvcs/orbsvcs/Trader/Trader_Utils.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.{cpp}: - My crazy attempt to save copying by passing around sequence - buffers backfired -- it worked on some platforms but not - others. So I've supplanted that approach with good, old - fashioned copying. Thanks to Sunil Kumar 's - example program for helping me to pinpoint the problem. - -Thu Dec 17 16:11:58 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.i: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - Added support for fragmentation and reassembly to the UDP - gateway. This is still experimental, but seems to work OK. - Though I have payed attention to the first order optimizations: - no data copying, little or no memory allocation, reduced - locking; we have to systematically explore if there are any - performance bottlenecks or problems. - I still have to Purify/Quantify this code. - - * tao/ORB_Core.cpp: - By default the CDR allocators where TSS, but this was not safe - for certain applications. Thanks to Ron Barack - for pointing this out. - - * orbsvcs/tests/EC_Throughput/run_test.pl: - Updated the script. - -Thu Dec 17 14:09:33 1998 Jeff Parsons - - * tao/DynAnyC.cpp: - Added some AHETI lines at the end to reflect what the updated - IDL compiler does. Should fix a build error reported on Dec - Alpha. - Builds ok on NT, doing further checking on Unix. - -Thu Dec 17 04:45:39 1998 Aniruddha Gokhale - - * tao/IIOP_Object.cpp (constructor): - - We were missing the initialization of the forward profile and - forward profile success in the constructor with the following - signature. - - IIOP_Object::IIOP_Object (const char *host, - const CORBA::UShort port, - const char *objkey, - char *repository_id); - - Without the above initialization, we were getting segmentation - fault in the destructor of the underlying Profile as it tried to - delete the forward profile which pointed to an illegal address - in memory. - -Tue Dec 15 19:39:45 1998 Nanbor Wang - - * tao/ORB.h: - * tao/corba.h: Commented out "#pragma pack" directive NT used. - This fixed the mis-alignment problem specific on NT. - -Tue Dec 15 19:04:37 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/sfp.idl : Changed according to the version 1.1 - changes. - - * orbsvcs/orbsvcs/AV/sfp.{h,cpp}: Implemenation of the Simple Flow - Protocol specified in the Audio/Video Streaming - specification. This currently has support for sending simple - frames without fragmentation. - - * orbsvcs/tests/AVStreams/sfp/client.cpp: - * orbsvcs/tests/AVStreams/sfp/server.cpp: - client and server test files for sfp. - - * orbsvcs/orbsvcs/Makefile: Added sfp to the list of IDL_SRCS. - -Tue Dec 15 14:45:49 1998 David L. Levine - - * *.h,TAO_IDL/be/be_codegen.cpp (end_server_template_header): - removed () from #pragma implementation argument. Thanks to - Christian v. Mueffling for reporting this. - -Tue Dec 15 14:29:33 1998 Nanbor Wang - - * orbsvcs/tests/EC_Throughput/EC_Throughput.ds[wp]: - * orbsvcs/tests/EC_Throughput/EC_Supplier.dsp: - * orbsvcs/tests/EC_Throughput/EC_Comsumer.dsp: Added/Updated - projects/workspace. - -Tue Dec 15 10:40:03 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/Makefile: - * orbsvcs/tests/EC_Throughput/ECT_Driver.h: - * orbsvcs/tests/EC_Throughput/ECT_Driver.cpp: - Base class for the test drivers. - - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.h: - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.h: - * orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.h: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.h: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - Moved the non-collocated test drivers to separate files. - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.h: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - This is a collocated version of the Event Channel Throughput - test. - -Mon Dec 14 20:38:54 1998 Nanbor Wang - - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/be/be_init.cpp (BE_init): Changed to initialize tao_cg - to 0 and delay the actual initialization in BE_init. This avoid - the "order of initialization" problem and allow us to trace - TAO_IDL. The output if not pretty though. Thanks to Ulf - Jaehrig for reporting this. - -Mon Dec 14 16:16:34 1998 Carlos O'Ryan - - * tao/Environment.cpp: - Added the CORBA_Environment::exception_id() method, thanks to - diesel@dekwl.abb.com (sorry, your name was not in the message!) - for reporting this problem. - -1998-12-14 Seth Widoff - - * docs/releasenotes/trader.html: - Added instructions on using -TSdumpior to have the trader dump - its ior to a file for use by -ORBtradingserviceior and the - TradingServiceIOR environment variable. Removed the bit about - having the export_test use -ORBport 0 when run on the same - machine as the trader it's testing, since this is now the - default. Thanks to Carlos O'Ryan for pointing this out. - -Mon Dec 14 12:21:23 1998 Nanbor Wang - - * TAO/performance-tests/Cubit/TAO/MT_Cubit/{client,server}.dsp: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/{client,server}.dsp: - * TAO/tao/TAO_Static.dsp: Removed "__ACE_INLINE__=0" from the - default static release build settings. - -Mon Dec 14 08:35:11 1998 David L. Levine - - * BUG-REPORT-FORM: added a few FMMs. - - * performance-tests/Cubit/TAO/MT_Cubit/Timer.cpp (get_elapsed_time): - removed VxWorks-conditional code. It was unnecessary, and - dangerous because it overwrote the measured usecs with a hard-coded - value of 2000. - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp (print_util_stats): - fixed printout to reflect whether -l option had been used or not. - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - moved ACE_OS::exit () call to run (), in the hope that we'll - eventually be able to run more than one iteration of the - utilization test before exiting. - -Mon Dec 14 08:08:32 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp: - - The generated code was using inline functions such as allocbuf - and freebuf before their implementation. Some compilers were - issuing lots of warnings. Thanks to David Levine for sending me - a log of these warnings. In addition, when we use these static - methods, we now use their fully scoped name to avoid any - conflicts and/or ambiguities. - -Sun Dec 13 08:32:04 1998 David L. Levine - - * orbsvcs/tests/Trading/Service_Type_Exporter.cpp (remove_all_types): - removed unused label "remove_type_label". - -1998-12-12 Seth Widoff - - * orbsvcs/tests/Trader/README: - * orbsvcs/tests/Trader/Service_Type_Exporter.cpp: - The trader test no longer prints an exception message in the - unexceptional case that the trader has unregistred test types - when the export_test first tries to remove them. Updated the - expected output in the README file to reflect the change. - -Sat Dec 12 11:29:38 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_object_manager_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp: - - The generated signatures of various methods contained default - arguments which should only appear in the class definition. This - has been fixed. Thanks to David Levine for reporting the problem. - -Sat Dec 12 09:15:14 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp - (print_latency_stats): "microseconds" instead of "seconds". - Also, added a call to ACE_OS::exit (), for the utilization - test only. Otherwise, the program never terminates. - -Fri Dec 11 16:53:41 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - The UDP_Sender::init() method should only create the RT_Info if - it is not there already. Thanks to Dave Meyer - and J. Russell Noseworthy - for providing this fix. - -Fri Dec 11 12:39:22 1998 Alexander Babu Arulanthu - - * TAO_IDL/tao_idl.1: - * docs/compiler.html: Updated documentation for lookup - strategies. - -Fri Dec 11 11:11:27 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_sequence.cpp: - - For sequences of CORBA::Object, we were generating code such - that the base class was the Pseudo_Sequence class in - tao/sequence_T.h. However, these base template classes do not - provide the _upcast and _downcast methods since they are not - required for the pseudo objects. Thus, whenever the element type - of a sequence is AST_PredefinedType::PT_pseudo, we check if it - was a CORBA::Object or a true pseudo-object. If it is - CORBA::Object, then the managed type becomes MNG_OBJREF instead - of MNG_PSEUDO. Thus, now we generate the base template class to - be Object_Sequence which have the _upcast and _downcast - methods. - - Thanks to Ron Barack (rab@terminal.cz) for reporting that the - _upcast and _downcast methods were not available for sequences - of CORBA::Objects. - - -Fri Dec 11 08:54:42 1998 David L. Levine - - * VERSION: added ace-users/comp.soft-sys.ace info. - -Fri Dec 11 07:28:54 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence.cpp: - - Added #include for newly added files described below. - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/gen_object_manager_ch.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: - - We no longer generate all the code for the base sequence classes - in the header file itself (Recall that these base sequence - classes are used for platforms that do not support template - specialization OR require explicit template instantiation). - Instead, the implementation of all the methods of the - classes is now generated in the *.i (inlined) file. The reason - for doing this was to handle problems with sequences of forward - declared interfaces. Code for sequences of forward declared - interfaces would use operations such as _duplicate, _nil, and - others that get defined only when the actual interface - definition is seen. To circumvent this problem, we now generate - only the class definition in the header file and all the - implementation is moved to the inline file. Thanks to Ron Barack - (rab@terminal.cz) for submitting the bugreport. - - In addition, I realized that these base sequence classes were - used only when the platform requires explicit template - instantiation or does not support template specialization. For - the other cases, the code for these base classes was never used - and it was unnecessarily increasing the footprint. Hence, we now - generate these base sequence classes and its associated inlined - code inside conditional macro which we call AHETI (please see - generated code). - - * TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp: - TAO_IDL/be_include/be_visitor_sequence/sequence_ci.h: - - Added code and new methods so that code for the base sequence - classes can be generated in the *.i file. - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_object_manager_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp: - - Newly added files that generate code for the base sequences in - the *.i file. - -Thu Dec 10 21:48:08 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Consumer_Signal_Handler.h: - * examples/Callback_Quoter/Consumer_Input_Handler.h: - * examples/Callback_Quoter/Consumer_Handler.cpp: - - Replaced #include by #include "ace/OS.h" and also - changed all #include to #include "ace/foo.h" wherever - applicable. Thanks to David for pointing out these discrepancies. - -Thu Dec 10 09:30:23 1998 David L. Levine - - * examples/Callback_Quoter/Consumer_Input_Handler.h: - replaced #include of OS.h with ACE.h. - - * examples/Callback_Quoter/Consumer_Signal_Handler.h: - inserted #include of ace/ACE.h. - - * tao/Invocation.cpp (invoke): added ACE_UNUSED_ARG (retval) - to avoid cxx compile warnings (with exceptions enabled). - - * VERSION: updated to match ACE VERSION file. - -Wed Dec 09 23:07:46 1998 David L. Levine - - * TAO version 0.2.43 released. - -Wed Dec 09 22:43:19 1998 David L. Levine - - * examples/Callback_Quoter/Consumer_Input_Handler.h: - inserted #include of "ace/OS.h". - - * examples/POA/Forwarding/Makefile: removed hard-coded - -g DCFLAG. Not all platforms use -g, and DCFLAGS should - be set in $ACE_ROOT/include/makeinclude/platform_macros.GNU. - -Wed Dec 9 16:05:07 1998 Nanbor Wang - - * tao/Invocation.cpp (invoke): Fixed the memory leaks in preparing - new exceptions. Thanks to Terry Rosenbaum - for sending us the patch. - Also applied more exception handling macros into this file. - - * tao/try_macros.h: Added TAO_THROW_ENV_RETURN_VOID. - -Wed Dec 9 13:26:50 1998 Chris Gill - - * orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowser.java - orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowserApplet.java - orbsvcs/tests/Simulator/DOVEBrowser/DemoCore.java - orbsvcs/tests/Simulator/DOVEBrowser/NS_Resolve.java - orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java - orbsvcs/tests/Simulator/DOVEBrowser/PushConsumerFactory.java: - - Cleaned up some type names in that had changed when RtecScheduler.idl - was brought up to CORBA standard (type names and element names must - differ in more than just letter case). - - Added support for -ORBnameserviceport on command line of the - compiled DOVEBrowser version. Generalized command line option - handling, fixed bug with using == instead of .equals for string - comparison. - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.dsp - orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.dsp: added -I - switch with relative path to TAO\orbsvcs\orbsvcs to tao_idl - invocation in the custom build step. - -1998-12-09 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp : Fixed warnings with - TAO_ENDTRY after the return statements in functions. - -Wed Dec 9 11:03:13 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence/elemtype.cpp: - - In the visit_interface and visit_interface_fwd methods, we were - not generating the fully scoped name for code generated in the - *.i or *.cpp file. Thanks to Naga (naga@cs.wustl.edu) for - submitting the bugreport. - -Wed Dec 09 07:02:06 1998 David L. Levine - - * README, VERSION: expanded mention of BUG-REPORT-FORM. - - * performance-tests/Cubit/TAO/MT_Cubit/README.tests: removed - -s option, because it's no longer used with MT_Cubit. - -Wed Dec 9 02:34:33 1998 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/server.cpp : - * examples/POA/On_Demand_Loading/client.cpp : - Replaced env.exception () checks with the TAO_TRY,TAO_CHECK - macros. - - * examples/POA/On_Demand_Loading/Servant_Activator.cpp (incarnate): - Added TAO_THROW macro for OBJECT_NOT_EXIST exception. - -Tue Dec 08 21:39:16 1998 David L. Levine - - * TAO_IDL_Makefile: enable DU 4.0 cxx 6.x warnings by default. - -Tue Dec 08 15:10:35 1998 Nanbor Wang - - * performance-tests/Cubit/TAO/IDL_Cubit/{client,server}.dsp: Added - static build configurations. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp (init): - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp (init): - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp (initialize_orb): - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (init_orb): - Hard-coded the orb initialization code to use the new - function to setup resources when compiling - static linked versions on NT. Notice when building - static-linked version on NT, the svc.conf file is not used and - the configurations is hard-coded in these two files. - - * tao/TAO_Internal.{h,cpp} (open_services): Added a new - method that simply takes the arguments for - TAO_Resource_Factory, TAO_Default_Client_Strategy_Factory and - TAO_Default_Server_Strategy_Factory directly and initializes - them. This eliminates the need of loading in a DLL when it is - not desirable. Removed for this is now - covered by the new method. - - Like the original , the new method is also - one-shot. Once you call either , all subsequence - calls to either functions become no-ops. - -Tue Dec 8 10:17:16 1998 Carlos O'Ryan - - * tao/CDR.cpp: - Fixed a problem with the CDR::grow routine: it estimated the - size *before* alignment, after the alignment the object did not - fit anymore. Thanks to Dave Meyer for - providing an easy way to reproduce this problem, and for his - workmates at SAIC for finding the problem. - Also fixed a problem in the write_array() method when - SWAP_ON_WRITE is enabled, thanks to Istvan Buki - for reporting this one. - -Tue Dec 8 07:22:42 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp : Fixed the template - instantiation problems. Thanks to Andy for reporting this. - -Tue Dec 8 02:09:47 1998 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/server.cpp (main): Changed the - ObjectID format. - - * examples/POA/On_Demand_Loading/client.cpp (main): Added the - end_note() request call on the object. - - * examples/POA/On_Demand_Loading/Servant_Activator.h: Changed the - dll object pointer from a pointer object to simply an - instantiation of ACE_DLL. - - * examples/POA/On_Demand_Loading/Servant_Activator.cpp (incarnate): - Added an dll object open() call explicitly which was done - implicitly before along with the dll object creation. - - * examples/POA/On_Demand_Loading/Servant_Activator.cpp (parse_string): - Updated the ObjectID format to dllname:factory_method. - - * examples/POA/On_Demand_Loading/Dir_Service_i.cpp: Added some ACE_DEBUG - statements to make the output clearer. - - * examples/POA/On_Demand_Loading/README: Added it to the repository. - -Tue Dec 8 00:49:23 1998 Nanbor Wang - - * tao/CDR.i: Applied more exception handling macros. - -Mon Dec 7 22:00:50 1998 Jeff Parsons - - * TAO_IDL/ast/ast_expression.cpp: - - Changed a few lines so the idl compiler will accept a value - of 65535 for a const unsigned short (it previously rejected - anything > 65534). - -Mon Dec 7 15:28:16 1998 Shawn Michael Atkins - - * performance-tests/Thruput/TAO/utils.cpp (psecs): fixed another - warning that David was getting about an implicit cast from double - to int. - -Mon Dec 7 12:48:29 1998 Nanbor Wang - - * tao/try_macros.h: Removed TAO_CHECK_CONDITION_ENV_RETURN[_VOID]. - - * tao/decode.cpp: Removed the use of TAO_CHECK_CONDITION_ENV_RETURN. - -Mon Dec 7 05:26:35 EST 1998 Aniruddha Gokhale - - * docs/compiler.html: - - Fixed the entry for -St (suppressing typecodes). It was - appearing as -Ge. Thanks to Ossama Othman for noticing this. - -Sun Dec 6 17:48:21 1998 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - * orbsvcs/tests/ImplRepo/Repository_Test.cpp: - * orbsvcs/tests/ImplRepo/airplane_server_i.cpp: - * orbsvcs/tests/ImplRepo/run_test.pl: - * orbsvcs/ImplRepo_Service/ImplRepo.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo.idl: - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.h: - * orbsvcs/ImplRepo_Service/Repository.cpp: - Redid all formating (mainly {} blocks) to be the common - ACE style. Checked and fixed the base member init - sections to be in the right order. Made sure that all - methods threw the exceptions (and only the exceptions) - that were specified. - - Also changed how the -d debug flag works. Unlike other - tests it now takes in a level with it (instead of the - additive property. This allows me to use a default of - 1 and lets the user use -d 0 to quiet the IR altogether. - -1998-12-06 Pradeep Gore - - added the following files for the implementation of - the Cos Event Channel - - * orbsvcs/orbsvcs/CosEventChannelAdmin.idl - * orbsvcs/orbsvcs/CosEventComm.idl - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.h - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp - -1998-12-06 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp : Fixed the TAO_THROW - compilation errors. Thanks to David for pointing this out. - -Sun Dec 6 14:13:52 1998 Ossama Othman - - * TAO_IDL/tao_idl.1: Created a man page for tao_idl based on - Carlos' HTML tao_idl compiler page. - -Sat Dec 6 13:30:50 1998 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/server_impl.cpp: Forgot a - TAO_CHECK_ENV. - - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - * orbsvcs/tests/ImplRepo/IR_Helper.h: - * orbsvcs/ImplRepo_Service/ImplRepo.idl: - * orbsvcs/ImplRepo_Service/ImplRepo_i.h: - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/ImplRepo_Service/Repository.h: - * orbsvcs/ImplRepo_Service/Repository.cpp: - * orbsvcs/tests/ImplRepo/Repository_Test.cpp: - Changed the storage of the hostname from a number to a string. - -Sun Dec 6 03:23:21 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AVStreams.idl: Added the idl code for the - Audio/Video full profile implementation. - - * orbsvcs/orbsvcs/AV/AVStreams_i.{h,cpp}: Added code for the full - profile implementation of the Audio/Video Streaming service. The - Audio/Video Streaming service now supports flows. - Defined new classes TAO_FlowConnection, TAO_FlowEndPoint, - TAO_FlowProducer, TAO_FlowConsumer, TAO_FlowConnection, TAO_FDev. - - Also added code to the existing A/V classes so that they now - behave according to the full profile. - -Sun Dec 6 00:43:46 1998 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/Dir_Service.idl: - * examples/POA/On_Demand_Loading/Dir_Service.{h,cpp}: - - The servant library idl interface and files. - - * examples/POA/On_Demand_Loading/Servant_Activator.{h,cpp}: - - This file is the servant_manager activator interface. - - * examples/POA/On_Demand_Loading/server.cpp: - - This is the server process. - - * examples/POA/On_Demand_Loading/client.cpp: - - This is the client process. - - * examples/POA/On_Demand_Loading/generic_servant_export.h: - - Generated and needed for the defining a servant class. - - * examples/POA/On_Demand_Loading/Makefile.Client: - * examples/POA/On_Demand_Loading/Makefile.DirService: - * examples/POA/On_Demand_Loading/Makefile: - - The makefiles needed for the test. - - Added the above files to the repository. This test example loads - an servant library on demand and associates a servant with an object. - -Sat Dec 5 22:10:13 1998 Nanbor Wang - - * tao/Typecode.cpp (private_equal_struct,private_equal_except): - (private_equal_sequence,private_equal_union,private_equal_union): - Changed to the use of TAO_CHECK_CONDITION_ENV_RETURN to - TAO_CHECK_ENV_RETURN and then check the condition explicitly. - This avoids warnings on some compiler. - (typecode_param): Fixed an error. - - Thanks to David for pointing these out. - -Fri Dec 04 19:35:56 1998 Nanbor Wang - - * tao/Typecode.cpp (typecode_param): Moved declaration of loop - counter up to avoid a skipping declaration warning from MSVC. - - * tao/try_macros.h (TAO_TRY_THROW[_EX]): Removed extra spaces in - definitions for native exceptions. - -Fri Dec 4 16:51:16 1998 Nanbor Wang - - * docs/exceptions.html: Added guidelines on throwing exceptions - from within try blocks and using - TAO_RETHROW_SAME_ENV_RETURN[_EX]. - - * tao/try_macros.h: Added TAO_TRY_THROW[_EX] which allow - exceptions beting thrown within try blocks be caught. - - Rename TAO_RETHROW_RETURN[_VOID]_SYS to - TAO_RETHROW_SAME_ENV_RETURN[_VOID]. - - * tao/IIOP_Object.cpp: - * tao/Invocation.cpp: Replaced TAO_RETHROW_RETURN[_VOID]_SYS with - TAO_RETHROW_SAME_ENV_RETURN[_VOID]. - - * tao/deep_free.cpp: - * tao/Typecode.cpp: Changed to handle exceptions with macros in - try_macros.h. - -Fri Dec 4 16:04:56 1998 Ossama Othman - - * TAO_IDL/util/utl_global.cpp(IDL_GlobalData constructor): - Added support for hardcoding a gperf default path other than - $ACE_ROOT/bin/gperf. This works by #defining the ACE_GPERF - macro at compile time to be the desired gperf. - - For example: -DACE_GPERF=\"/usr/local/bin/gperf-ace\" - - The actual gperf program must be included in the definition of - ACE_GPERF, not just the directory in which it is located. - -Fri Dec 04 12:45:01 1998 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/README: added sample - of passing the IOR on the command line, on VxWorks. - -Fri Dec 4 12:28:06 1998 Nanbor Wang - - * tao/try_macros.h (TAO_TRY_VAR[_EX]): Fixed unreferenced variable - warnings on platforms supporting native exceptions. - -Fri Dec 04 07:38:57 1998 David L. Levine - - * tao/ORB.cpp (perform_work): copied const ACE_Time_Value - arg to a non-const temporary, to pass to handle_events (). - -Thu Dec 3 22:41:35 1998 Shawn Michael Atkins - - * performance-tests/Thruput/TAO/README: added info about the perl - scripts to the readme file (new_server_test, new_client_test, and new_run_test) - - * performance-tests/Thruput/TAO/ttcp_decl.h: changed psecs to take - in a double instead of a long - - * performance-tests/Thruput/TAO/utils.cpp: fixing more minor - things like things I was using for testing and never reference - anymore (taking them out). - -Thu Dec 3 17:58:32 1998 Douglas C. Schmidt - - * tao/ORB.h (CORBA_ORB): Changed perform_work() to take a default - value of ACE_Time_Value::zero to correspond to the intended - semantics of the CORBA spec. Thanks to Steve Vinoski for - clarifying this and for Loren Rittle for - surfacing the issue in the first place. - -Thu Dec 03 14:23:03 1998 Nanbor Wang - - * tao/try_macros.h: Removed macros TAO_TRY_SYS[_EX] - TAO_CHECK_ENV_SYS[_EX] and TAO_CATCH_SYS for they are covered by - Irfan's TAO_TRY_VAR[_EX]. Thanks to Irfan for reminding this. - - * docs/exceptions.html: Added guidelines for TAO_TRY_VAR and - TAO_TRY_VAR_EX. - - * tao/IIOP_Object.cpp: - * tao/Invocation.cpp: - * tao/Typecode.cpp: Replaced the uses to TAO_TRY_SYS and - TAO_TRY_SYS_EX with TAO_TRY_VAR and TAO_TRY_VAR_EX. - -Thu Dec 3 12:37:10 1998 Nanbor Wang - - * tao/Exception.cpp (make_standard_typecode): Changed the - operation name encoded in typecode to "completed". - -Thu Dec 03 12:33:53 1998 David L. Levine - - * tao/Makefile: removed DynUnion_i_T from ORBCORE_SRCS, because - it just contains template members. Thanks to Ossama for - reporting this. - -Thu Dec 3 11:59:23 1998 Aniruddha Gokhale - - * TAO_IDL/ast/ast_operation.cpp: - - Ensured that a oneway operation can never have a "raises" - clause. Thanks to Tom Ziomek (tomz@cc.comm.mot.com) for - reporting this. - - * TAO_IDL/util/utl_error.cpp: - - Improved the error message for EIDL_ILLEGAL_RAISES error code. - - * TAO_IDL/fe/(idl.yy, y.tab.cpp, y.tab.h}: - - Ensured that discriminant of type octet inside a union - declaration is flagged as an error. The OMG spec does not allow - discriminants of type octets. - -Thu Dec 3 10:31:12 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp - TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - - We make sure that the upcast and downcast methods are now - generated only for CORBA::Object sequences and not for sequences - of CORBA::TypeCodes. In the latter case, the upcast and downcast - methods are not needed and furthermore, casting them to - CORBA::Object_ptr is totally incorrect. - -Thu Dec 3 07:09:07 1998 Sergio Flores - - * performance-tests/Cubit/TAO/MT_Cubit/README.tests: Added - instructions for utilization test. - -Thu Dec 03 01:24:41 1998 Irfan Pyarali - - * tao/try_macros.h: Added TAO_TRY_VAR and TAO_TRY_VAR_EX. These - macros are similar to TAO_TRY and TAO_TRY_EX, except that they - work with a user specified environment variable instead of - creating one for itself. - - * tao/Object.cpp (_non_existent): Added the use of exception - macros to this method. This will make this method work with - native exceptions. - - If the _non_existent() remote call succeeds, it return 0; if - CORBA::OBJECT_NOT_EXIST is thrown, it returns 1; and any other - (system) exception raised in making the remote call is passed - through to the user. Thanks to Sunil Kumar - for reporting this. - -Thu Dec 03 01:00:47 1998 Nanbor Wang - - * tao/Environment.cpp: - * tao/Exception.cpp: - * tao/POAC.cpp: - * tao/debug.cpp: Changed the uses of "completion ()" to "completed - ()". - -Wed Dec 2 21:56:56 1998 Shawn Michael Atkins - - * performance-tests/Thruput/TAO/ttcp_decl.h: commented out - RtiPackets since I haven't gotten that working yet: Was preventing - compilation for anyone but me (the variable isn't defined but in - my workspace at the moment). - - * performance-tests/Thruput/TAO/utils.cpp: fixed minor errors that - were preventing compilation on linux. - - -Wed Dec 02 18:33:08 1998 Irfan Pyarali - - * tao/Exception (completed): The name of the function (both - accessor and modifier) should be completed(), not completion(). - - Thanks to Steve Totten for pointing this - out. - -Wed Dec 2 17:40:54 1998 Shawn Michael Atkins - - * performance-tests/Thruput/TAO/ttcp_decl.h: forgot to add this - along with the changes to utils.cpp. Changed the definition of - some of the methods in utils.cpp like prusage. - -Wed Dec 2 14:26:58 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp - TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - - The upcast and downcast methods are now generated even for - sequences of CORBA::Objects and CORBA::TypeCodes. Thanks to Ron Barack - for reporting the problem. - -Wed Dec 02 11:03:17 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - removed a few debugging printouts. - -Wed Dec 2 09:17:34 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_helper.cpp (TAO_OutStream::gen_ifdef_AHETI): - - We were checking if the TAO_LACKS_TEMPLATE_SPECIALIZATION macro - is defined or not. Such a macro is not defined anywhere in ACE - or TAO. The correct macro to be used here is - ACE_HAS_TEMPLATE_SPECIALIZATION. Thanks to Peter Nordlund - (petern@nada.kth.se) for noticing this. - - * TAO_IDL/be/be_visitor_union/union_ci.cpp: - - In the generated _reset (void) method, we now zero out the - underlying union. In some specific cases, without this zeroing - out, we were getting segmentation faults. Thanks to Ron Barack - (rab@terminal.cz) for reporting the problem and suggesting the - fix. - - * tao/DynAnyC.{h, cpp}: - - Used ACE_HAS_TEMPLATE_SPECIALIZATION in place of - TAO_LACKS_TEMPLATE_SPECIALIZATION. - - * tao/TypeCode.cpp (private_member_label): - - Used TAO_CATCHANY_SYS instead of TAO_CATCHANY. The latter was - giving "undefined __env" error. - - * tao/Exception.cpp (item): - - Used TAO_THROW_ENV_RETURN instead of TAO_THROW_ENV because a - return value was expected. - -Wed Dec 02 03:31:16 1998 Nanbor Wang - - * tao/try_macros.h: Added TAO_CHECK_CONDITION_ENV_RETURN and - TAO_CHECK_CONDITION_ENV_RETURN_VOID macros. These two macros - work with TAO's simulated exception by checking the specified - CORBA_Exception for exception and also a user specified - condition. - - * CDR.i: - * Exception.cpp: - * Marshal.i: - * Typecode.cpp: - * decode.cpp: - * deep_free.cpp: Integrated exception handling macros into TAO in - order to document the code better and to unify TAO's behavior - with or without native exception support. The code got modified - according to how it would work with native exception enabled. - I don't expect to finish integrating the macros in a short - time. - -Wed Dec 2 01:48:54 1998 Shawn Michael Atkins - - * performance-tests/Thruput/TAO/utils.cpp: fixed the problem with - the displaying of wierd numbers to the screen. utils.cpp now used - ACE_Profile_Timer instead of using struct rusage directly. - -Tue Dec 01 15:32:48 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/run_test.pl: added - -r option to support thread-per-rate test. - -Tue Dec 1 14:35:51 1998 Carlos O'Ryan - - * tao/ORB.h: - * tao/IIOP_ORB.h: - * tao/IIOP_ORB.cpp: - * tao/POA.h: - * tao/POA.cpp: - CORBA::ORB::string_to_object() was taking a argument, - but it should be a . - -Tue Dec 01 13:55:24 1998 Irfan Pyarali - - * examples/POA/Generic_Servant/client.cpp: Changed to add native - exception handling. - -Tue Dec 1 12:33:50 1998 Chris Gill - - * orbsvcs/tests/Simulator/DOVEMIB/Makefile - orbsvcs/tests/Simulator/Event_Supplier/Makefile: fixed problem with - tao_idl invocation in Makefiles, added TAO/orbsvcs/orbsvcs include - path switch to flags for tao_idl, modified rules to ensure flags were - used as part of rule. Thanks to Joe Loyall for - reporting this. - -Tue Dec 1 10:12:57 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - Use an ACE_INET_Addr in recvfrom(); a plain ACE_Addr produces - problems on NT. Thanks to Dave Meyer for - reporting this and providing the fix. - - * tao/Typecode.cpp: - The size for a TypeCode field was not computed properly (it - should be sizeof(TypeCode_ptr)). - - * docs/releasenotes/TODO.html: - Added the blocking writes task. - -Tue Dec 01 10:16:02 1998 David L. Levine - - * TAO version 0.2.42 released. - -Mon Nov 30 01:10:35 1998 Matt Braun - - * tests/Param_Test/ub_any_seq.cpp: Added test for const char* and - changed sequence length from 1 to 5 because the "random" choice - of types was only pseudo-random and the various test types - wern't being tested. Currently, the test segfaults, but I - believe this to be indicative of a deeper problem. - -Sun Nov 29 18:09:52 1998 Nanbor Wang - - * tao/ORB.{h,cpp} (resolve_initial_references): Allows this - function to pass back InvalidName exception. - (InvalidName): New CORBA::ORB exception type. - -Sat Nov 28 10:57:54 1998 Nanbor Wang - - * tao/corba.h: Added TAO_Export to global variable . - - * tao/Typecode.h (CORBA_TypeCode): Added TAO_Export for Bounds and - BadKind excepiton classes. - - * tao/ORB.{h,cpp} (operator==,operator!=): Added comparison - operations for non-native long double. We also need other - comparison operators for our long double to work transparently. - -Thu Nov 26 11:37:23 1998 Nanbor Wang - - * tao/Invocation.cpp (invoke): Variable must be - initialized to avoid g++ warnings. - -Thu Nov 26 01:08:00 1998 Darrell Brunsch - - * orbsvcs/ImplRepo_Service/ImplRepo.idl: All methods are now - available. - - * orbsvcs/ImplRepo_Service/Repository.{h,cpp}: Only stores the - host/port of the server, not the entire object IOR. This - allows the use of more than one object in the same POA. - - * orbsvcs/ImplRepo_Service/ImplRepo_i.{h,cpp}: Support for all - methods and made switch to host/port instead of ior. - - * orbsvcs/tests/ImplRepo/Repository_Test.cpp: Tests with - host/port instead of IOR now. - - * orbsvcs/ImplRepo_Service/ImplRepo.{dsp,dsw}: Updated the - MSVC project files. Mainly cosmetic changes. - - * orbsvcs/tests/ImplRepo/svc.conf: - * orbsvcs/tests/ImplRepo/implrepo.conf: - Split the conf files up since IR needs -ORBpoalock null and - thread-per-connection, but the tests don't necessarily need it. - - * orbsvcs/tests/ImplRepo/IR_Helper.{h,cpp}: New helper class - that contains the logic for using the IR from a server. - - * orbsvcs/tests/ImplRepo/Airplane.idl: - * orbsvcs/tests/ImplRepo/airplane_client.cpp: - * orbsvcs/tests/ImplRepo/airplane_client.dsp: - * orbsvcs/tests/ImplRepo/airplane_client_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_client_i.h: - * orbsvcs/tests/ImplRepo/airplane_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_i.h: - * orbsvcs/tests/ImplRepo/airplane_server.cpp: - * orbsvcs/tests/ImplRepo/airplane_server.dsp: - * orbsvcs/tests/ImplRepo/airplane_server_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_server_i.h: - New Paper Airplane Server! The purpose is to show off the - IR_Helper class use and to have a different server to test - the IR with. - - * orbsvcs/tests/ImplRepo/ImplRepo_Test.dsw: Now includes the - Paper Airplane Server. - - * orbsvcs/tests/ImplRepo/run_test.pl: Updated to perform different - types of tests. - - * orbsvcs/tests/ImplRepo/server.dsp: Removed server.h, a file that - doesn't exist anymore. - - * orbsvcs/tests/ImplRepo/server_impl.cpp: Cleaned up a bit. - Removed unnecessary code. - -Wed Nov 25 20:50:55 1998 Irfan Pyarali - - * tao/Invocation.cpp: The ORB was raising incorrect exceptions - when the connection to the server was broken, or if the client - was not able to create a new connection to the server. The - correct behavior in these (and some other) cases is to raise the - TRANSIENT exception; and not raise the COMM_FAILURE exception. - - TRANSIENT exception indicates that some (all) resources that the - client ORB requires to complete the remote method call are - unavailable. These resources includes the server ;) - - COMM_FAILURE exception indicates that a failure happened while - the client and server were in the middle of some communication. - - Thanks to Christa Schwanninger - for pointing out this - problem, and to Carlos for helping sort the exceptions. - -Mon Nov 23 17:45:16 1998 Irfan Pyarali - - * tao/IIOP_Object.cpp (do_static_call): cannot be - initialized to zero. - -Wed Nov 25 18:20:55 1998 Darrell Brunsch - - * tao/Invocation.cpp: Added a couple of TAO_CHECK_ENV_SYS macros - to the check for thrown exceptions. - -Wed Nov 25 10:26:57 1998 Douglas C. Schmidt - - * examples/Simple/echo: Reenabled the use of the Naming Service - for this example and then fixed the run_tests.pl script to not - use them ;-) - - * tao/TAO.h: Added a clarification on the role of the - TAO_ORB_Manager. Thanks to Christian Mueffling - for motivating this. - - * tao/ORB: Added the rudiments of a way to keep track of the - "default ORB" using the Singleton pattern. Thanks to Irfan and - Carlos for uncovering the need for this, as well as Jon Biggar - and Steve Vinoski for verifying this need. - -Wed Nov 25 00:47:33 1998 Nanbor Wang - - * tao/Invocation.cpp (invoke): Reordered error handling so - handle_close (of client side connection) happens in the right - places. - - * tao/GIOP.cpp (send_error): - * tao/Connect.cpp (handle_input): Prevent handle_close from being - called in here. Simply return -1 should do the trick. - Otherwise, servers may crash when communication errors occur. - -Tue Nov 24 15:03:19 1998 Nanbor Wang - - * tao/Invocation.cpp (location_forward): Removed an unused - variable. Thanks to David for noticing this. - -Mon Nov 23 17:09:14 1998 Nanbor Wang - - * tao/IIOP_Object.cpp (do_static_call): Explicitly initialize - to avoid gcc warnings. - - * tao/try_macros.h: Fixed a typo. - -Mon Nov 23 07:56:09 1998 Aniruddha Gokhale - - * tao/try_macros.h: - - Made enhancements to the macros added by anbor. In particular, - we now have TAO_TRY_SYS_EX (LABEL) and TAO_CHECK_ENV_SYS_EX - (LABEL) to overcome problems arising out of redefinition of - labels. This was happening in IIOP_Object.cpp file - - * tao/IIOP_Object.cpp: - - Use TAO_TRY_SYS_EX (LABEL) and TAO_CHECK_ENV_SYS_EX (LABEL) - macros to eliminate the multiple label declaration error. Also, - Nanbor had forgotten to use the TAO_CHECK_ENV macros to check if - an exception was thrown or not. - -Mon Nov 23 01:20:27 1998 Nanbor Wang - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h: Changed - the default argument of Cubit_Client to not using collocation so - the client will not shutdown the server without being asked to - do so. - - * tao/IIOP_Object.cpp (do_static_call): Made the method native - exception safe so it will not return prematurely and will try - out all the forwarding profiles one by one. - - * tao/Invocation.cpp (invoke): Make sure all the invoke method - doesn't send back GIOP MessageError back to server. They should - be taken care of in TAO_GIOP::recv_request. Also made these - invoke methods native exception safe so the connections get - closed down properly and error messages gets generated as - directed. - - * tao/try_macros.h: Added more "exception" handling macros for - TAO's internal use. The motivation is to reuse the - CORBA_Environment passed in to TAO's internal function to avoid - declaring more env variables and copying exceptions between - these variables. - - * tao/GIOP.{h,cpp}: The following changes are needed to make sure - we differentiate receiving a GIOP MessageError from something - goes wrong when receiving a request. It also makes sure that - the ORB doesn't send out MessageError unnecessarily. - - (make_error): Removed unused method. - (GIOP::MessageType): Added CommunicationError to further - classify errors. - (send_error): Changed the server type from - to - because this method is not used by clients only. - (recv_request): Made sure the proper error status get returned - in various stages. Prevented it from sending sendsuperfluous - MessageError back to its party. Only GIOP header receiving - errors can trigger that. - (parse_header_std): Changed from returning MessageError to -1. - If something goes wrong here, it doesn't mean we received a - MessageError message. - - * tao/Connect.cpp (handle_input): Made sure we differentiate the - real GIOP MessageError and other cases when errors occur in - receiving a request. Also make sure the server won't throw - unnecessary exception in any case when receiving requests. - Otherwise, the server may crash because of a rogue link. - -Sun Nov 22 18:20:11 1998 Torben Worm - - * orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp: - Changed ACE_NEW_RETURN to ACE_NEW_THROW_RETURN in order to - support exceptions - - * orbsvcs/tests/Concurrency/test.basic: - Changed the exception to reflect new exception type - -Sat Nov 21 19:30:11 1998 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/benchmark/{client,server}.cpp: Added - template class, #pragma instantiate for the templates. Thanks to - Leif Jakobsmeier" for pointing - this out. - -Sat Nov 21 02:29:00 1998 Marina Spivak - - * TAO/orbsvcs/tests/Simple_Naming/run-test.pl: modified the - script to also run the newly added multithreaded test. - - * TAO/orbsvcs/tests/Simple_Naming/process-m-output.pl: added perl - script to analyze the output of the multithreaded test and print a - diagnostic message. - - * TAO/orbsvcs/tests/Simple_Naming/README: updated file to include - new test description. - -Fri Nov 20 19:07:44 1998 Marina Spivak - - * TAO/orbsvcs/tests/Simple_Naming/client.{h,cpp}: added two new - tests, MT_Test and Loop_Test for multiclient (concurrent) access - to the Naming Service. - -Fri Nov 20 17:46:40 1998 Marina Spivak - - * tao/Typecode.h: - * tao/Typecode.i: - * tao/Typecode.cpp: - Added locks for changes in the Typecode private state. We use - the Double Checked Lock pattern to minimize the run-time cost. - -Fri Nov 20 07:08:28 1998 David L. Levine - - * orbsvcs/orbsvcs/Event/Timer_Module.cpp (cancel_timer): changed - static_cast to const_cast + reinterpret_cast. - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp (output_latency): - shortened name of latency_file as much as possible. It appears - that VxWorks has a limitation of 100 characters for the full - path name to an NFS file. - - * performance-tests/Cubit/TAO/MT_Cubit/Globals.h: removed -s from - force_argv because its no longer used. - -Fri Nov 20 07:48:54 EST 1998 Aniruddha Gokhale - - * tao/CDR.{h, i}: - - Added the missing <<, >> operators for long double. - -Thu Nov 19 15:12:06 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp (output_latency): - changed underscores to dash in output file name. For some reason, - underscores confuse rsh/bash, so the output file couldn't be - closed. - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp - (print_latency_stats): fixed printout on VxWorks, it was printing - usecs but said that the units were msecs. Also, changed summary - output to be in usecs in Unix, for consistency with VxWorks and - Chorus. And, it gets rid of the insidious conversion from - usec to msec using ACE_ONE_SECOND_IN_MSEC. It works, but it's BAD! - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (svc): - on VxWorks, instead of calling ACE_OS::thr_exit (), call - the client Thread_Manager's exit (). That will allow the - main thread to determine when all the clients have finished, - because it calls wait () on the client Thread_Manager. - - (get_cubit): removed a couple of printouts that notified - of string_to_object () and _narrow () success. - - * performance-tests/Cubit/TAO/MT_Cubit/summarize: - added support for output in either usec or msec. - Added 0.5 to floating point inputs, to round instead of truncate. - -Thu Nov 19 14:51:29 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp: - The CDR insertion and extraction operators for interfaces must - be declared inline before we emit the code for the members of - the interface. Otherwise code like this: - // IDL - interface Foo { - exception Bar {Foo where_it_failed;}; - }; - fails on some platforms. - -Thu Nov 19 10:15:28 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Timer_Module.h: - * orbsvcs/orbsvcs/Event/Timer_Module.i: - * orbsvcs/orbsvcs/Event/Timer_Module.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - If the event channel was configured with a reactive Timer_Module - the Event_Handler used for timeouts was destroyed with the EC, - but could still be registered with the Reactor dispatching the - timeouts. - The solution was to make the Timer_Module responsible for - mapping the Reactor timeouts Event dispatching, in this way the - Timer_Module::shutdown() method is able to cancel any timers - from the Reactor before getting destroyed. - Thanks to Dave Meyer and Russ - Noseworthy for pointing this out. - - * orbsvcs/orbsvcs/Event/Module_Factory.h: - Fixed typo in forward declaration. - - * orbsvcs/Event_Service/Event_Service.cpp: - Added an option so we can choose a reactive event service from - the command line. - - * docs/releasenotes/TODO.html: - Updated. - -Wed Nov 18 15:49:52 1998 David L. Levine - - * tao/ORB_Strategies_T.cpp: added ifndef protection against - multiple inclusion. - - * *.cpp: changed include protection from #if !defined to ifndef. - Added #pragma once, if possible, i.e., after #include of - an ace/ header. It can only be done after ace/config.h - is included, because some platforms don't allow #pragma once. - -Tue Nov 17 22:00:26 1998 Jeff Parsons - - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp: - Just fixed some cosmetic things, like indents. - - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp: - Added const and non-const get_buffer() methods to generated code - -Tue Nov 17 21:34:13 1998 Nanbor Wang - - * orbsvcs/ImplRepo_Service/Makefile: - * orbsvcs/tests/ImplRepo/Makefile: New makefiles for UNIX. - Notice that the second makefile depends on the first makefile. - -Tue Nov 17 20:10:41 1998 Jeff Parsons - - * tao/Sequence.{h,cpp}: - Added get_buffer methods (const and non-const) to - TAO_Unbounded_String_Sequence. - -Tue Nov 17 11:28:20 1998 Carlos O'Ryan - - * tao/decode.cpp: - Fixed problems with Any demarshaling, the buffer allocated could - be misaligned and sometimes too small. Thanks to Arturo Montes - for pointing this out. - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.i: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - When dispatching events the push() method may raise an - exception, it is a oneway but it could raise a - CORBA::SystemException. - For debugging purpose we print the exception in case it is - raised, instead on the uninformative error message it was - there. - Thanks to J. Russell Noseworthy - for pointing this out. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - Removed a few problems with invocations through nil references. - -Tue Nov 17 10:25:25 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/run_test.pl: removed - obsolete client/server -s option. Added support for - -l, -n, and -t options to the script, see its usage message - for decriptions. - -Mon Nov 16 20:22:21 1998 Nanbor Wang - - * performance-tests/Cubit/TAO/MT_Cubit/{server,client}.dsp: Added - static Debug/Release version settings. - - * tao/TAO_Static.dsp: A bunch of files were missing in the static - library project. - -Mon Nov 16 17:54:13 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Fixed Subscription_Module::unsubscribe, the consumer was added - to the type_subscriber list only when it subscribed with - source==0, hence it should be removed from the list in the same - circumstances. - Also fixed the generation of the observers QoS info (in - Consumer_Module::fill_qos), the source only susbscription case - was not working properly. - Thanks to Thomas Venturella - for pointing this out. - - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - We also had problems with source only subscriptions here. - Thanks to Thomas Venturella - for pointing this out. - - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - Fixed debug message. - -Sun Nov 15 09:52:14 EST 1998 Aniruddha Gokhale - - * tao/TypeCode.cpp: - - Added a default clause to a switch statement in the TypeCode - constructor to prevent g++ warnings. Thanks to David Levine for - pointing this out to me. - - * TAO_IDL/ast/ast_module.cpp: - - Modifications to allow reopening of modules. Thanks to Hamish - Friedlander (hamishf@usa.net) for providing this fix. - -Sat Nov 14 18:31:57 1998 Shawn Michael Atkins - - * performance-tests/Thruput/TAO/new_run_test: new perl version of - the previous shell script (run_test) - - * performance-tests/Thruput/TAO/new_server_test: new perl version - of the previous shell script (run_server) - - * performance-tests/Thruput/TAO/new_client_test: new perl version - of the previous shell script (run_client) - - -Sat Nov 14 14:29:47 1998 Douglas C. Schmidt - - * TAO version 0.2.41 released. - -Fri Nov 13 18:26:24 1998 Irfan Pyarali - - * tao/Typecode_Constants.cpp (init): Qualified CompletionStatus to - CORBA::CompletionStatus. - -Fri Nov 13 16:59:20 EST 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp: - - We now generate the size information for the typecodes by passing - the compiled time knowledge of the size of the data type and - storing it in the typecode. This will (hopefully) solve our - problems of trying to calculate the size of complex data - structures in an interpreted manner. - - * tao/Any.cpp - tao/DynAnyC.cpp - tao/Exception.cpp - tao/ORB.cpp - tao/Object_KeyC.cpp - tao/POAC.cpp - tao/TypeCode.{h, cpp} - tao/Typecode_Constants.cpp - tao/decode.cpp: - - The TypeCode constructor for complex types now takes an - additional parameter which is the size in bytes of the data - type. This statically known value is stored in the private_tc_ - section of the TypeCode. This will save us the size calculation - using the code in IIOP_Interpreter.cpp. Once we have verified - that everything works fine, we can start cleaning up the - unwanted code from IIOP_Interpreter.* files. - -Fri Nov 13 15:09:58 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (svc): - on VxWorks, kill own task when done, to avoid memPartFree during - ORB cleanup. - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp (main): - changed comment to reflect that the memPartFree comes - from libTAO, I think. It certainly doesn't come from - liborbsvcs, because we no longer link that in to this test. - -Fri Nov 13 12:41:11 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: - Fixed problems in CDR extraction operator for Octet sequences - (compiled marshaling). - - * performance-tests/Thruput/TAO/run_client: - * performance-tests/Thruput/TAO/run_test: - Fixed some problems in the debugging messages. - - * performance-tests/Thruput/TAO/server.cpp: - The IOR file was created only if debugging was also enabled! - - * performance-tests/Thruput/TAO/utils.cpp: - * performance-tests/Thruput/TAO/client.cpp: - Fixed minor formating problems in the output. - -1998-11-13 Pradeep Gore - - * examples/Simple/chat/README: added explaination - about how the IOR is used to locate the chat server. - - * examples/Event_Comm/Event_Comm_i.h (Notifier): added - a missing comment to ShutdownCallback::close. - -Fri Nov 13 11:51:21 1998 Matthew J Braun - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: Modified to reuse code a - little better - -Thu Nov 12 23:21:26 1998 Irfan Pyarali - - * tao/orbconf.h: Native exceptions seem to be working fine. I - have restored the TAO_HAS_EXCEPTIONS option in the configuration - file. Thanks to Tom Ziomek for bringing - this to our attention. - -Thu Nov 12 17:30:00 1998 Chris Gill - - * orbsvcs/orbsvcs/Scheduler_Factory.cpp - orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp - orbsvcs/tests/EC_Mcast/EC_Mcast.{cpp, h} - orbsvcs/tests/EC_Multiple/EC_Multiple.{cpp, h} - orbsvcs/tests/EC_Multiple/Scheduler_Runtime1.h - orbsvcs/tests/EC_Multiple/Scheduler_Runtime2.h - orbsvcs/tests/EC_Multiple/Scheduler_Runtime_Dynamic.h - orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp - orbsvcs/tests/Event_Latency/Event_Latency.cpp: Fixed stray - compiler errors caused by RtecSceduler IDL portability changes. - -Thu Nov 12 14:21:41 1998 Matthew J Braun - - * orbsvcs/tests/Logger/README: Made a few edits to reflect added - tests for the twoway methods and included sample output - * orbsvcs/tests/Logger/Logging_Test_i.cpp: Added tests for new - twoway methods log2() and logv2(). - * orbsvcs/orbsvcs/Log/Logger_i.cpp: Changed formating of messages - for log2() and logv2 (). - -Thu Nov 12 14:03:00 1998 Chris Gill - - * orbsvcs/orbsvcs/RtecScheduler.idl - orbsvcs/orbsvcs/Runtime_Scheduler.{cpp, h} - orbsvcs/orbsvcs/Scheduler_Factory.{cpp, h} - orbsvcs/orbsvcs/Scheduler_Utilities.{h, i} - orbsvcs/orbsvcs/Event/Dispatching_Modules.{cpp, h, i} - orbsvcs/orbsvcs/Event/Event_Channel.{cpp, i} - orbsvcs/orbsvcs/Event/RT_Task.cpp - orbsvcs/orbsvcs/Event/ReactorTask.{cpp, h} - orbsvcs/orbsvcs/Event/Timer_Module.{cpp, h, i} - orbsvcs/orbsvcs/Sched/Config_Scheduler.{cpp, h} - orbsvcs/orbsvcs/Sched/DynSched.{cpp, h} - orbsvcs/orbsvcs/Sched/SchedEntry.{cpp, h} - orbsvcs/orbsvcs/Sched/Scheduler.h - orbsvcs/orbsvcs/Sched/Strategy_Scheduler.{cpp, h}: - Changed RtecScheduler type names to remove non-portable IDL - declarations like "Priority priority;" where identifiers only - differ by case. Thanks to Martin Renner (Martin.Renner@pp-ulm.de) - for pointing out the problem and the appropriate snippet of the - CORBA spec. - -Thu Nov 12 14:01:47 1998 Darrell Brunsch - - * tao/try_macros.h: Made the native exception macros fit - on one line so compilers don't get confused by the "try" - by itself. Thanks to Virginie Amar - for submitting this fix. - -Thu Nov 12 07:26:48 1998 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/client.cpp: - removed code that shouldn't have been put in. - -Thu Nov 12 00:42:06 1998 Seth Widoff - - * docs/releasenotes/trader.html: - Fixed a typo in the docs: CosTrading::Preferences should read - CosTrading::Lookup::Preferences. Thanks to Ivan Leong - for detecting this. - -Wed Nov 11 22:11:32 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Consumer_Input_Handler.cpp (register_consumer): - added check for carriage return while getting string input. - * examples/Callback_Quoter/Consumer.dsp - * examples/Callback_Quoter/Notifier.dsp - * examples/Callback_Quoter/Supplier.dsp - * examples/Callback_Quoter/Callback_Quoter.dsw - The Callback_Quoter example project workspace created for Win32 - platform users and added to the repository. - -Wed Nov 11 17:44:10 1998 Darrell Brunsch - - * tests/NestedUpcall/MT_Client_Test/run_test.pl: - * tests/NestedUpcall/Reactor/run_test.pl: - * tests/NestedUpcall/Triangle_Test/run_test.pl: - * tests/CDR/run_test.pl: - * tests/DynAny_Test/run_test.pl: - * tests/Multiple_Inheritance/run_test.pl: - * tests/OctetSeq/run_test.pl: - * tests/Param_Test/run_test.pl: - * examples/POA/DSI/run_test.pl: - * examples/POA/Default_Servant/run_test.pl: - * examples/POA/Explicit_Activation/run_test.pl: - * examples/POA/FindPOA/run_test.pl: - * examples/POA/NewPOA/run_test.pl: - * examples/POA/On_Demand_Activation/run_test.pl: - * examples/Simple/echo/run_test.pl: - * examples/Simple/grid/run_test.pl: - * examples/Simple/time/run_test.pl: - * orbsvcs/tests/EC_Basic/run_test.pl: - * orbsvcs/tests/EC_Custom_Marshal/run_test.pl: - * orbsvcs/tests/EC_Multiple/run_test.pl: - * orbsvcs/tests/EC_Throughput/run_test.pl: - * orbsvcs/tests/Event_Latency/run_test.pl: - * orbsvcs/tests/Logger/run_test.pl: - * orbsvcs/tests/Property/run_test.pl: - * orbsvcs/tests/Simple_Naming/run_test.pl: - - General updates, including switching to the ACE class - and using .\ or ./ before executable names. - -Wed Nov 11 14:47:00 1998 Chris Gill - - * orbsvcs/orbsvcs/Sched/DynSched.{cpp, h} - orbsvcs/orbsvcs/Sched/SchedEntry.{cpp, h} - orbsvcs/tests/Sched_Conf/Sched_Conf_Anomalies_Runtime.h: - Added reporting of specific RT_Info entry points with unresolved - local or remote dependencies in the generated schedule header file. - -Wed Nov 11 14:47:41 1998 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/client.cpp,Cubit_Client.cpp: - commented out shutdown on VxWorks, until we figure out what causes - the memPartFree error. - - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf: - removed second (redundant) -ORBreactorlock null from - Resource_Factory_Service_Object. - -Wed Nov 11 13:56:15 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: - - Added code so that for octet sequences, we will now be able to - use the special optimizations that Carlos has developed. We - generate this code enclosed in #if defined (TAO_NO_COPY_SEQUENCES) - macros. - -Tue Nov 10 22:37:55 1998 Douglas C. Schmidt - - * TAO version 0.2.40 released. - -Tue Nov 10 17:53:42 1998 Matthew J Braun - - * orbsvcs/orbsvcs/Log/Logger_i.h - * orbsvcs/orbsvcs/Log/Logger_i.cpp - * orbsvcs/orbsvcs/Logger.idl - Added new methods log2() and logv2(). They are twoway versions - of the preexisting log() and logv() methods. Thanks to Sigg - Pascal for reporting this. - -Tue Nov 10 13:12:48 1998 Chris Gill - - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp - orbsvcs/orbsvcs/Scheduler_Factory.cpp - orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp - orbsvcs/orbsvcs/Sched/DynSched.cpp - orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: Fixed compilation errors - and warnings from g++, Sun C++ for scheduling anomaly features. - - -Mon Nov 9 23:47:02 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Notifier_i.cpp - examples/Callback_Quoter/Notifier_i.h - examples/Callback_Quoter/Notifier_Input_Handler.cpp - examples/Callback_Quoter/Notifier_Input_Handler.h - examples/Callback_Quoter/Consumer_Input_Handler.cpp - examples/Callback_Quoter/Consumer_Input_Handler.h - examples/Callback_Quoter/Consumer_Signal_Handler.cpp - examples/Callback_Quoter/Consumer_Signal_Handler.h - examples/Callback_Quoter/Consumer_Handler.cpp - examples/Callback_Quoter/Consumer_Handler.h - examples/Callback_Quoter/Supplier_Signal_Handler.cpp - examples/Callback_Quoter/Supplier_Signal_Handler.h - examples/Callback_Quoter/Supplier_i.cpp - examples/Callback_Quoter/Supplier_i.h - examples/Callback_Quoter/supplier.cpp - examples/Callback_Quoter/consumer.cpp - examples/Callback_Quoter/notifier.cpp - examples/Callback_Quoter/README - - All the above files are added. - This version is a working Callback_Quoter example. - -Mon Nov 09 23:06:55 1998 David L. Levine - - * BUG-REPORT-FORM: added phase (compilation/linking/execution/other), - and ACE+TAO/application/both. - -Mon Nov 9 19:29:38 1998 Nanbor Wang - - * tao/ORB.h (CORBA::ExceptionType): Swapped the enum definition - order of USER_EXCEPTION and SYSTEM_EXCEPTION so it complies with - the CORBA spec. - - * tao/GIOP.h (TAO_GIOP_ReplyStatusType): Swapped the enum definition - order of TAO_GIOP_USER_EXCEPTION and TAO_GIOP_SYSTEM_EXCEPTION - so it complies with the CORBA spec. - - Thanks very much for Bob Price for - noticing this and send us the bug report. - -Mon Nov 09 18:12:48 1998 Chris Gill - - * orbsvcs/orbsvcs/RtecScheduler.idl - orbsvcs/orbsvcs/Runtime_Scheduler.{cpp, h} - orbsvcs/orbsvcs/Scheduler_Factory.{cpp, h} - orbsvcs/orbsvcs/Sched/Config_Scheduler.{cpp, h} - orbsvcs/orbsvcs/Sched/DynSched.{cpp, h} - orbsvcs/orbsvcs/Sched/SchedEntry.{cpp, h, i} - orbsvcs/orbsvcs/Sched/Scheduler.h - orbsvcs/orbsvcs/Sched/Scheduler_Generic.{cpp, h} - orbsvcs/orbsvcs/Sched/Strategy_Scheduler.{cpp, h}: - Implemented anomaly recording in the strategized - scheduler so all warning and error level scheduling anomalies - can be propagated to generated runtime header file without - halting the scheduler (except for a fatal anomaly). Thanks to - Tom Venturella for suggesting this. - - * orbsvcs/tests/Sched_Conf/Sched_Conf.{cpp, dsw} - orbsvcs/tests/Sched_Conf/Sched_Conf_Anomalies.{cpp, dsp} - orbsvcs/tests/Sched_Conf/Sched_Conf_Anomalies_Runtime.h - orbsvcs/tests/Sched_Conf/Sched_Conf_Runtime.h: - modified tests to validate anomaly logging and scheduler. - -Mon Nov 09 14:12:48 1998 Nanbor Wang - - * orbsvcs/tests/Simple_Naming/client.cpp (init): - * examples/Quoter/Quoter_i.cpp (copy): - * tests/Param_Test/ub_objref_seq.cpp (check_validity): - * tests/Param_Test/except.cpp (run_sii_test): - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp - (create_initial_propertysetdef): - (create_constrained_propertysetdef): - (create_initial_propertyset): - (create_constrained_propertyset): Changed to use - TAO_ENDTRY_RETURN. - - * tao/try_macros.h (TAO_ENDTRY_RETURN): Added a new macro - 'TAO_ENDTRY_RETURN(X)' to avoid compilation errors when a return - statement goes right after the TAO_ENDTRY macro. Thanks to - David for pointing this out. - - -Mon Nov 9 13:04:56 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Consumer_Input_Handler.cpp (handle_input): - added TAO try macro exceptions. - -Sun Nov 8 15:59:07 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Notifier_Input_Handler.cpp (handle_input): - Rectified an parse error due to an arbitary symbol ' in this - method. - -Mon Nov 09 09:59:45 1998 David L. Levine - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: changed some - ACE_NOTREACHED (return 0) statements to return 0, if - TAO_HAS_EXCEPTIONS is _not_ defined. There's got to be a - better way. - -1998-11-08 Pradeep Gore - - * examples/Event_Comm/Event_Comm.idl: Added exceptions - CannotSubscribe and CannotUnSubscribe. - * examples/Event_Comm/Event_Comm_i.h: Modified ACE_Map_Manager, - ACE_Map_Iterator and ACE_Map_Entry to use Consumer_ptr. - Added the ShutdownCallback helper class. - * examples/Event_Comm/Event_Comm_i.cpp: Made changes to Notifier_i - to use Consumer_ptr instead of the previous "marker" for Orbix. - Added a warning message for platforms (e.g. Win32) that do not - support regular expression functions such as compile and step. - Added explicit template instantiation code for the egcs compiler. - * examples/Event_Comm/Notifier_Server.h: Added this new file. - * examples/Event_Comm/Notifier_Server.cpp: Added this new file. - * examples/Event_Comm/Notifier.cpp: Uses Notifier_Server class. - * examples/Event_Comm/consumer.cpp: Class consumer now derives - from ACE_Event_Handler and implements the ShutdownCallback. - * examples/Event_Comm/Consumer_Handler.h: Added the following - methods - - int init (int argc, char *argv[], - ShutdownCallback *_shutdowncallback); - int run (void); - void close (void); - void shutdown (void); - ACE_Reactor *reactor (void); - int get_notifier (void); - data members - - Consumer_i receiver_i_; - Event_Comm::Consumer_var receiver_; - Event_Comm::Notifier_var notifier_; - TAO_Naming_Client naming_services_client_; - * examples/Event_Comm/Consumer_Handler.cpp: Uses the naming service - to get hold of the Notifier object instead of using an IOR. - * examples/Event_Comm/Consumer_Input_Handler.h: - Class Consumer_Input_Handler derives from ACE_Event_Handler. - * examples/Event_Comm/Consumer_Input_Handler.cpp: handle_input - calls Consumer_Handler::shutdown to initiate a shutdown on - the "quit" command. - Uses register_stdin_handler and remove_stdin_handler to - register the input handler. - * examples/Event_Comm/supplier.cpp: Class Supplier derives from - ACE_Event_Handler and implements ShutdownCallback. - * examples/Event_Comm/Supplier_Input_Handler.h: Derives from - ACE_Event_Handler. - * examples/Event_Comm/Supplier_Input_Handler.cpp:handle_input - calls Supplier_Handler::shutdown to initiate a shutdown on - the "quit" command. - * Makefile: detects if the g++ compiler version is lesser than - 2.8.0 and if so, prints a warning message. - - -Sun Nov 08 14:55:53 1998 Irfan Pyarali - - * tao/orbconf.h: Please uncomment TAO_HAS_EXCEPTIONS and - TAO_USE_EXCEPTIONS once exceptions are working in TAO. For now, - they are not working properly. - - * tao/Object_Table.cpp (find): Fixed the find routine. It was - considering the is_free_ field in all cases, but this field is - not used when the dynamic hashing mechanism is used. - - * tao/orbconf.h: Please uncomment TAO_HAS_EXCEPTIONS and - TAO_USE_EXCEPTIONS once exceptions are working in TAO. For now, - they are not working properly. - - * tao/Object_Table.cpp (find): Fixed the find routine. It was - considering the is_free_ field in all cases, but this field is - not used when the dynamic hashing mechanism is used. - -Fri Nov 6 19:11:39 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Notifier_i.cpp: - Added exceptions handling to methods: - register_callback, unregister_callback, market_status. - -Fri Nov 6 17:09:52 1998 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/mpeg_shared/MMDevice_Exporter.idl: - The new idl defining the wrapper interface for exporting both - Audio and Video MMDevices. - -Fri Nov 06 10:59:43 1998 David L. Levine - - * VERSION: added reference to BUG-REPORT-FORM. Thanks to - Peter Nordlund for provided the new - text. - -Thu Nov 5 23:46:42 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/README (TIP): - Just added a line telling the users about the format for the - input file of the supplier market daemon. - -Thu Nov 05 15:52:50 1998 Irfan Pyarali - - * tao/Object_Table.cpp (find): Added a check for is_free in the - find algorithm. Thanks to Frank Patz for - sending the bug report. - -Thu Nov 05 04:03:01 1998 Nanbor Wang - - * tao/ORB.cpp (multicast_to_service): Make sure that the multicast - sockets are closed properly no matter how the function exits. - Thanks to Achim Stindt for reporting this. - -Wed Nov 04 22:46:00 1998 Irfan Pyarali - - * tao/Operation_Table.cpp: Added a timeprobe table. - -Wed Nov 4 15:31:29 1998 Darrell Brunsch - - * tao/IIOP_Object.h: Added TAO_Export to Profile so I can use - it in the Implementation Repository. - - * orbsvcs/ImplRepo_Service/*: The Implementation Repository - (which now supports DSI and Ping Objects) has been moved here. - - * orbsvcs/tests/ImplRepo/*: Updated the test to check DSI and - the Ping Object, and also added a test for just the Repository - class in ImplRepo_Service. - -Tue Nov 3 21:02:30 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Supplier_Timer_Handler.cpp - Added a change to Consumer_Input_Handler::quit_consumer_process - by which the consumer exits gracefully even on a communication - failure with the notifier. - Also, this is a working version of the Callback Quoter example. - -Tue Nov 3 19:57:03 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/README: - Added this file which explains the Callback Quoter example and - the way the execute it. - -Tue Nov 3 17:14:35 1998 Yamuna Krishnamurthy - - * orbsvcs/tests/AVStreams/server_discovery/Trader_Client.{h,cpp}: - Bind to the mpeg client receiver to push the audio and video - device references to the AV mpeg client in load_movie (). The - references to the audio and video mmdevice are obtained from the - mmdevice exporter through the trading service. Added code to - hash the MMDevice_Exporter reference. - - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery.cpp: - Change the method names corresponding to the names generated in - the Server_0005fDiscovery_0005fUtil.h.Declare the jobject array - server_names as a class member and not within the get_server - method. Initilaize the _movie_class in the get_movie_info method - before allocation of buffer. Added code in load_movie (). - - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Selection.java: - Changed the way the movie tree was created and accessed. Do an - updateUI() on the table to display it. - - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Util.java: - Change the second parameter passed to load_movie() from - movie_name of String type to movie of Movie class type to pass - the movie info - - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.{h,cpp}: - Write a wrapper MMDevice_Exporter to export the audio and video - references and the machine and movie info properties.Add - AV_Video_MMDevice and AV_Audio_MMDevice. - - * orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.idl: - Replace the member filename_ with audio_filename_ and - video_filename_. - -Tue Nov 3 16:10:49 1998 Douglas C. Schmidt - - * docs/configurations.html: The macro - TAO_USE_DOTTED_DECIMAL_ADDRESSES was given as - TAO_USES_DOTTED_DECIMAL_ADDRESES in docs/configuration.html. - Thanks to Byron Harris for reporting this! - -Tue Nov 3 14:39:05 1998 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/mpeg_shared/Receiver.idl: - Added a video object reference and video file parameters to the - push_mmdevice method in the Receiver interface. - - * orbsvcs/tests/AVStreams/mpeg/mpeg_client/Command_Handler.{h,cpp}: - Changed the implementation of the Receiver interface to - implement code for the video reference and videofile parameters - to push_mmdevice method. - -Mon Nov 2 17:57:23 1998 Nanbor Wang - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.{h,cpp}: - * performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp - Make sure the client instructs the server to shutdown no matter - we are using the collocation optimization or not. - - * performance-tests/Demux/demux_test_client.cpp (run_linear_test, - run_random_test, run_worst_test, run_best_test): Win32 doesn't - support conversion from unsigned __int64 to double directly. - Therefore, we must use the ACE_UINT64_DBLCAST_ADAPTER to convert - it to __int64 first. In this case, it'll be safer if we do the - substraction first before multiplying the constant factor. - - * performance-tests/Demux/{server,client}.cpp (main): Added - trailing return statements to avoid warnings from VC 6. - - * performance-tests/Demux/Demux.dsw: - * performance-tests/Demux/{server,client}.dsp: - * performance-tests/Demux/CodeGen/CodeGen.dsp: New - project/workspace files. - - * performance-tests/Demux/demux_test_client.cpp (run_random_test): - Replaced srand48 () and lrand48 () with ACE_OS::srand () and - ACE_OS::rand (). - - * performance-tests/Demux/demux_test_server.cpp - (~Demux_Test_Server): Removed unreferenced local variables. - - * performance-tests/Demux/CodeGen/client.cpp - (gen_client_incl_code): This function should return a value. - - * performance-tests/Demux/CodeGen/gen_names.cpp (is_present): - Fixed a syntax error. - (gen_rand): Changed lrand48 () to ACE_OS::rand (). - - * performance-tests/Demux/CodeGen/codegen.h: Removed inclusion of - and . They caused conflicts with - standard C++ library and should be included by ACE's header - files. - -1998-11-02 Kirthika Parameswaran - - * examples/Callback_Quoter/Supplier_Timer_Handler.h: - * examples/Callback_Quoter/Supplier_Timer_Handler.cpp: - Added these files, for implementing the timer handler for - the supplier. - -Sun Nov 01 19:53:15 1998 Irfan Pyarali - - * tao/TAO.h (TAO_ORB_Manager::run): Added default environment to - this method. Thanks to Terry Rosenbaum - for suggesting this. - -Sun Nov 01 09:03:40 1998 Douglas C. Schmidt - - * TAO version 0.2.39 released. - -Sun Nov 01 08:24:19 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp - (calc_delta): removed fabs wrap of real_time with - ACE_LACKS_FLOATING_POINT, because real_time is unsigned - on those platforms. GHS complained about useless - check for < 0. - - (do_test): changed sleep_time - delta < 0 check to - sleep_time < delta, because GHS 1.8.8 complained (improperly) - that sleep_time - delta could never be less than 0. - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h: - removed fabs () #define with ACE_LACKS_FLOATING_POINT, - because it's no longer used. - -Sat Oct 31 17:49:18 1998 Douglas C. Schmidt - - * TAO version 0.2.38 released. - -Sat Oct 31 17:14:49 1998 Douglas C. Schmidt - - * performance-tests/Demux/CodeGen/gen_names.cpp: Cleaned up the - code a little bit and fixed a problem with ACE_CString -- it was - being passed the address of a character, which really confused - it! Thanks to Vishal for chasing this down. - -Sat Oct 31 13:03:58 1998 David L. Levine - - * tao/CDR.i (operator<<): removed some return statements so that - returns at end of functions don't need to be wrapped with - ACE_NOTREACHED. That seems to be the only way to keep - both GHS and DEC cxx happy. - -Sat Oct 31 01:49:06 1998 Nanbor Wang - - * performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp (main): - Added check for argv[0] to determine whether to use collocation - optimization or not. - -Fri Oct 30 23:04:20 1998 David L. Levine - - * examples/Callback_Quoter/Consumer_Handler.h (reactor_used): - removed superfluous class name qualification. - - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp (add_type): - added ACE_UNUSED_ARG (inc_num). With native exceptions enabled, - it's never used, because it's a default return value. - -Fri Oct 30 15:21:52 1998 Nanbor Wang - - * performance_tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.{h,cpp}: - Fixed the collocation test. It was broken when we stop using - Naming Service with the test. Also, separate out the - shutdown_server method out since it needs to do more than an - ordinary shutdown call to the server when we are testing the - collocation. Notice that Irfan is currently fixing this and in - the future, we'll no longer need to treat collocated object - specially. - -Fri Oct 30 15:10:16 EST 1998 Aniruddha Gokhale - - * performance_tests/Demux/CodeGen - - Made modifications such that a new method called shutdown is - always generated for every interface. This method will be called - to shutdown the ORB on the server side. - - In addition, we now generate the poa-names.dat file with a POA - depth appaneded to it. Thus we shall have names like - poa_names_1.dat. This will enable us to create many executables - at the same time. Otherwise, everytime we ran the demux - executable, we were overwriting this file. In the servant - implementation, for the shutdown mehtod, we call the shutdown on - the ORB. - - Affected files are: - - codegen.cpp - codegen.h - gen_names.cpp - idl.cpp - servant_impl.cpp - - * performance_tests/Demux/demux_test_client.cpp - - The client now invokes the shutdown method on the very first obj - reference it holds. This will enable the ORB shutting down on - the other side. - -Fri Oct 30 13:50:21 1998 David L. Levine - - * TAO_IDL/be/be_visitor_array/any_op_cs.cpp, - TAO_IDL/be/be_visitor_exception/any_op_cs.cpp, - TAO_IDL/be/be_visitor_interface/any_op_cs.cpp, - TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp, - TAO_IDL/be/be_visitor_structure/any_op_cs.cpp, - TAO_IDL/be/be_visitor_union/any_op_cs.cpp (operator <<=): - removed "return 0" in TAO_TRY block in generated code, and - therefore the ACE_NOTREACHED wrapper around the "return 0" - at the end of the function. Thanks to Carlos for suggesting - this simplification. - -Fri Oct 30 09:35:05 1998 Douglas C. Schmidt - - * tao/orbconf.h: Changed TAO_USE_EXCEPTIONS to TAO_HAS_EXCEPTIONS - to be consistent with ACE_HAS_EXCEPTIONS. Thanks to - Terry.Rosenbaum@Radiology.MSU.edu for - suggesting this. - -Thu Oct 29 18:19:55 1998 Douglas C. Schmidt - - * TAO version 0.2.37 released. - -Thu Oct 29 18:02:36 1998 Darrell Brunsch - - * TAO-INSTALL.html: Added a comment about enabling native - exceptions with TAO. - -Thu Oct 29 16:25:50 1998 Carlos O'Ryan - - * TAO_IDL/Makefile: - * TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ci.cpp: - * TAO_IDL/be_include/be_visitor_interface_fwd/cdr_op_ci.h: - A forward declaration of an interface also generates the forward - declaration of its << and >> operators. - - * TAO_IDL/be_include/be_visitor_interface_fwd.h: - * TAO_IDL/be_include/be_interface_fwd.h: - * TAO_IDL/be_include/be_decl.h: - * TAO_IDL/be_include/be_codegen.h: - * TAO_IDL/be/be_visitor_root/root.cpp: - * TAO_IDL/be/be_visitor_root/cdr_op.cpp: - * TAO_IDL/be/be_visitor_module/module.cpp: - * TAO_IDL/be/be_visitor_interface/cdr_op_ch.cpp: - * TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_scope.cpp: - * TAO_IDL/be/be_visitor_interface_fwd.cpp: - * TAO_IDL/be/be_visitor_factory.cpp: - * TAO_IDL/be/be_decl.cpp: - Some cleanup and added support for the new additions above. - -Thu Oct 29 07:49:51 1998 David L. Levine - - * tao/DynUnion_i.cpp: added a bunch of .in () dereferences - so that it will compile with g++. - - * TAO_IDL/Makefile: strip $(CXX) to avoid odd behavior if had - trailing whitespace. Thanks to Steve Kay - for providing the test case :-) - - * performance-tests/Cubit/TAO/MT_Cubit/summarize: reverted to - prior version, to use microsecond scaling. - - * performance-tests/Cubit/TAO/MT_Cubit/plot: support floating - point numbers. - -Wed Oct 28 22:22:44 1998 David L. Levine - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (new_context): - removed return statement in TAO_TRY block so that final - return statement will be reached, if an exception isn't thrown. - This avoids a cxx warning that the last statement is unreachable. - - * TAO_IDL/be/be_visitor_enum/any_op_cs.cpp (visit_enum): removed - ACE_NOTREACHED wrapper fron final return statement, because it's - reachable. - -Wed Oct 28 21:47:32 1998 Jeff Parsons - - * TAO_IDL/be/be_visitor_enum/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_structure/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_union/any_op_cs.cpp: - Fixed <<= operators (copying version) to be - leak-free and consistent (now all use ACE_NEW - and return immediately if it fails). - -Wed Oct 28 20:44:27 1998 Jeff Parsons - - * tao/Any.cpp: - Modified >>= (to_string) to get rid of a leak found with Purify. - * tao/DynAnyC.h: - * tao/POA_CORBA.h: - Added 'TAO_Export' to some classes I missed. - * tao/DynAny_i.cpp: - * tao/DynArray_i.cpp: - * tao/DynEnum_i.cpp: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.cpp: - * tao/DynUnion_i.cpp: - Fixed memory leaks. - * TAO/tests/DynAny_Test/data.cpp: - * TAO/tests/DynAny_Test/test_dynany.{h,cpp}: - * TAO/tests/DynAny_Test/test_dynarray.{h,cpp}: - * TAO/tests/DynAny_Test/test_dynenum.{h,cpp}: - * TAO/tests/DynAny_Test/test_dynsequence.{h,cpp}: - * TAO/tests/DynAny_Test/test_dynstruct.{h,cpp}: - * TAO/tests/DynAny_Test/test_dynunion.{h,cpp}: - Cleaned up dependencies, fixed leaks and added a few more - test cases. - -Wed Oct 28 07:35:20 1998 Alexander Babu Arulanthu - - * TAO_IDL/util/utl_global.cpp (validate_included_idl_files): - Fixed the g++ warning. Thanks to David Levine for letting me - know this. - -Wed Oct 28 00:09:52 1998 Alexander Babu Arulanthu - - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/include/idl_global.h: - * TAO_IDL/driver/drv_preproc.cpp: - * TAO_IDL/util/utl_global.cpp (validate_included_idl_files): Fixed - the problem with generating #include statements for #include'd idl - files. - -Tue Oct 27 22:46:18 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Notifier_i.cpp (shutdown): - removed all the iterating sequence through the Hash map. - -Sun Oct 25 16:13:52 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/ - Consumer_Input_Handler.cpp (unregister_consumer): - -made changes to reinitialize variable unregistered_. - Consumer_Signal_Handler.h - Consumer_Input_Handler - -added friend class ShutupPlusPlus to stop g++ from cribbing - about having a private destructor and no friend methods. - -Tue Oct 27 22:22:05 1998 David L. Levine - - * TAO version 0.2.36 released. - -Tue Oct 27 12:53:05 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.{h,cpp} : - * orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp: - * orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp: - Fixed a few g++ warnings and added code to work properly with - property service. - -Tue Oct 27 08:39:38 1998 David L. Levine - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - wrapped some final return 0 statements with ACE_NOTREACHED. - - * orbsvcs/tests/Simple_Naming/client.cpp (init): wrapped - final return 0 statement with ACE_NOTREACHED. - - * examples/Quoter/Quoter_i.cpp (copy): wrapped - final return 0 statement with ACE_NOTREACHED. - - * tests/Param_Test/ub_objref_seq.cpp (check_validity): wrapped - final return 0 statement with ACE_NOTREACHED. - - * tests/Param_Test/except.cpp (run_sii_test): wrapped - final return 0 statement with ACE_NOTREACHED. - - * TAO_IDL/driver/drv_preproc.cpp: reverted to version 1.29 - because 1.30 doesn't work. - -Tue Oct 27 06:00:38 1998 Douglas C. Schmidt - - * TAO version 0.2.35 released. - -1998-10-26 Seth Widoff - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - * orbsvcs/tests/Trading/colocated_test.cpp: - In an effort to be efficient, in certain methods I was stealing - sequence buffers from 'in' parameters that would have otherwise - needed to have been copied. However, this doesn't work in the - colocated case, since those 'in' parameters are passed directly - rather than copied over the wire. This was causing the the trader's - colocated_test to fail. Thanks to Jim Penny - for reporting this. - -Mon Oct 26 18:53:49 1998 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/README: - * TAO/performance-tests/Cubit/TAO/DII_Cubit/README: - Oops, forgot to update the README files pertaining to - the checkin below. - -Mon Oct 26 18:40:03 1998 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp: - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: - Fixed a bug reported in the DII Cubit test. Removed -s option - from server (harmful), also from client (not harmful but - useless) and removed these args from the perl file. Thanks to - Jim Penny for reporting this. - Also fixed a typo in the perl file (thanks, Carlos). - -Mon Oct 26 18:28:36 1998 Carlos O'Ryan - - * Updated dependencies for all the Makefiles. - -Mon Oct 26 16:01:27 1998 Douglas C. Schmidt - - * tests/DynAny_Test: Made the run_tests.pl script have - 755 permission. Thanks to Jim Penny - for reporting this. - -Mon Oct 26 14:22:18 1998 Matthew J Braun - - * examples/POA/DSI/README - * examples/POA/DSI/run_test.pl - * examples/POA/DSI/server.cpp - * examples/POA/DSI/client.cpp - * tests/Multiple_Inheritance/run_test.pl - * tests/Multiple_Inheritance/server.cpp - * tests/Multiple_Inheritance/client.cpp - Fixed command line arguments to conform to Irfan's - specifications. - -Mon Oct 26 12:01:30 1998 David L. Levine - - * TAO_IDL/be/be_visitor_union/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_array/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_exception/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_enum/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_structure/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp: - Replaced the final "return 0;", because other compilers, - such as g++, warned without it. But now, it's wrapped with - ACE_NOTREACHED. - -Mon Oct 26 09:57:29 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_union/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_array/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_exception/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_enum/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_structure/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp: - Removed a redundant "return 0;" found on each >>= operator. This - was causing nasty warnings in some compilers. - -Mon Oct 26 09:34:32 1998 Alexander Babu Arulanthu - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): While scanning - for #include'd idl file, we should also look for other - than "file.idl". Thanks to "John Geiss" for - reporting this problem. - -Mon Oct 26 00:05:54 1998 Irfan Pyarali - - * tao/ORB.cpp (multicast_to_service): Changed htons to ACE_HTONS. - This change allows TAO to have reduced dependencies to system - libraries. Thanks to Paul K. Fisher for - suggesting this change. - -Mon Oct 26 00:03:44 1998 Douglas C. Schmidt - - * TAO version 0.2.34 released. - -Sun Oct 25 20:26:59 1998 Jeff Parsons - - * tao/DynArray_i.cpp: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.cpp: - * tao/DynUnion_i.cpp: - * TAO/tests/DynAny_Test/test_dynany.cpp: - * TAO/tests/DynAny_Test/test_dynarray.cpp: - * TAO/tests/DynAny_Test/test_dynenum.cpp: - * TAO/tests/DynAny_Test/test_dynsequence.cpp: - * TAO/tests/DynAny_Test/test_dynstruct.cpp: - * TAO/tests/DynAny_Test/test_dynunion.cpp: - Fixed some memory leaks - the ones that are left - are all similar, but I'm not sure how to approach - it yet. - - -Sun Oct 25 16:12:16 1998 Darrell Brunsch - - * TAO/examples/Simple/time/README: Rearranged and cleared - up some explanations of the options. - -Sun Oct 25 15:24:14 1998 Jeff Parsons - - * TAO/tests/DynAny_Test/run_test.pl - Perl script to run one or all of the tests. Thanks to - Darrell for example file to cut and paste from, as - well as help getting Corrido set up correctly. - -Sun Oct 25 13:30:49 1998 Jeff Parsons - - * TAO/tests/DynAny_Test/Makefile: - * TAO/tests/DynAny_Test/README: - Added Makefile and updated README. - -Sun Oct 25 12:45:17 1998 Jeff Parsons - - * TAO/tests/DynAny_Test/driver.{h,cpp}: - * TAO/tests/DynAny_Test/data.cpp: - Just some minor changes to avoid CC and g++ warnings. - -Sat Oct 24 23:56:45 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/ - added files: - Consumer_Handler.h - Consumer_Handler.cpp - Consumer_Signal_Handler.h - Consumer_Signal_Handler.cpp - - Consumer_Handler creates the Consumer_Input_Handler and the - Consumer_Signal_Handler objects which are derived from - ACE_Event_Handler for managing events of input and signal type. - - -Sat Oct 24 14:51:29 1998 David L. Levine - - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp (supplier_task): - wrapped shift of "byte_order" with CORBA::Any::from_boolean (), - because egcs 1.1b complained about ambiguous overload resolution. - Thanks to Carlos for this solution. - - * orbsvcs/tests/EC_Custom_Marshal/run_tests.pl: specify full path - to executables. That way, users don't need to have . in their - path. - -Fri Oct 23 18:45:43 1998 Irfan Pyarali - - * examples/POA: - - ACE_wrappers/TAO/examples/POA/DSI/client.dsp - ACE_wrappers/TAO/examples/POA/DSI/server.dsp - ACE_wrappers/TAO/examples/POA/Default_Servant/client.dsp - ACE_wrappers/TAO/examples/POA/Default_Servant/server.dsp: - - Updated project files with the new IDL compiler location and new - bin/DLL directory location. - - ACE_wrappers/TAO/examples/POA/DSI/server.cpp: - - Fixed signed/unsigned problem. - - Thanks to John Morey for reporting them. - - -Fri Oct 23 18:23:07 1998 Kirthika Parameswaran - - * examples/Simple/echo/README (Options): - Added explanation regarding ior. - -Fri Oct 23 17:54:16 1998 Jeff Parsons - - * Tao/tests/DynAny_Test/test_dynsequence.cpp: - Fixed a typo that was giving a false error. - -Fri Oct 23 16:31:50 1998 Jeff Parsons - - * TAO/tests/DynAny_Test/da_tests.idl: - Removed da_tests.pidl and added above (same - file). My mistake. - -Fri Oct 23 15:54:13 1998 Jeff Parsons - - * TAO/tests/DynAny_Test/data.{h,cpp}; - * TAO/tests/DynAny_Test/driver.{h,cpp}; - * TAO/tests/DynAny_Test/test_dynany.{h,cpp}; - * TAO/tests/DynAny_Test/test_dynarray.{h,cpp}; - * TAO/tests/DynAny_Test/test_dynenum.{h,cpp}; - * TAO/tests/DynAny_Test/test_dynsequence.{h,cpp}; - * TAO/tests/DynAny_Test/test_dynstruct.{h,cpp}; - * TAO/tests/DynAny_Test/test_dynunion.{h,cpp}; - * TAO/tests/DynAny_Test/test_wrapper.{h,cpp}; - * TAO/tests/DynAny_Test/da_tests.pidl; - * TAO/tests/DynAny_Test/DynAny_Test.dsw; - * TAO/tests/DynAny_Test/basic_test.dsp; - The basic DynAny test stuff. Makefile and README - file to come shortly. Only works on NT for now. - -Fri Oct 23 15:00:30 1998 Chris Gill - - * orbsvcs/tests/Simulator/DOVEMIB/DOVEMIBx.dsp - orbsvcs/tests/Simulator/DOVEMIB/TestClient.dsp - orbsvcs/tests/Simulator/DOVEMIB/any_test_i.cpp: Modified custom - build step for .idl files to look for the TAO IDL compiler in - the $ACE_ROOT/bin directory, converted ostream output for which - compiler was complaining about an ambiguous << operator into - ACE_DEBUG output form. Thanks to Brian Gilstrap - for pointing this out. - -1998-10-23 Vishal Kachroo - - * examples/Simple/bank/README (Options): Explained the [-o IOR_file_name] - option for the server more clearly. - -Fri Oct 23 12:41:14 1998 Carlos O'Ryan - - * tao/Environment.cpp: - When using native C++ exceptions the - CORBA_Environment::default_environment() function clears the - environment every time it is called. This should fix some - problems reported by Goran Lowkrantz - - -Fri Oct 23 12:33:56 EDT 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp: - - Modified the generated code sightly to make sure that we check - for exceptions. Thanks to Naga for pointing this out. - -Fri Oct 23 11:17:00 1998 David L. Levine - - * tao/CDR.i (operator<<): wrapped several final return statements - with ACE_NOTREACHED to avoid unreachable statement warnings from - DEC cxx. - -Fri Oct 23 10:25:49 1998 Alexander Babu Arulanthu - - * TAO_IDL/be/be_codegen.cpp : Fixed the - problem with getting the suffix for a #include'd idl file. Use - strrchr instead of strstr. Thanks to Ron Barack - for tracking this down. - -Fri Oct 23 00:40:14 1998 Douglas C. Schmidt - - * TAO version 0.2.33 released. - -Thu Oct 22 23:28:52 1998 Douglas C. Schmidt - - * TAO version 0.2.32 released. - -Thu Oct 22 21:35:17 1998 Darrell Brunsch - - * TAO-INSTALL.html: Since we've been successfully using MSVC 6.0 - for a while, might as well mention it here in the documentation, - -Thu Oct 22 20:43:06 1998 Jeff Parsons - - * tao/DynAnyC.h: - Added 'TAO Export' to the DynAny utility classes - AnySeq and NameValuePairSeq so the linker could find them. - -Thu Oct 22 14:09:12 1998 Aniruddha Gokhale - - * TAO_IDL/fe/fe_lookup.cpp: - TAO_IDL/Makefile: - - Since GPERF had issued a warning indicating collision of keys, I - used an additional -k1,2,$ option to GPERF. Thanks to Doug - Schmidt for suggesting this. The collisions are now resolved. - -Thu Oct 22 11:01:12 1998 David L. Levine - - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp (visit_interface): - initialize _tao_obj_ptr to 0 to avoid g++ warnings about possible - use before initialization, in generated code. - - * examples/POA/Generic_Servant/Makefile: changed LSRC definition - to use $(IDL_SRC) instead of $(POA_CLT_SRCS), so that client.o - is not put into libserver.a. It caused link collisions on VxWorks. - - * orbsvcs/tests/Concurrency/lex.CC_command.cpp: forced CVS check-in - to avoid out-of-date warnings during builds, after new checkouts. - - * tao/orbconf.h: enable TAO_USE_EXCEPTIONS ifdef ACE_HAS_EXCEPTIONS. - -Thu Oct 22 11:26:34 1998 Aniruddha Gokhale - - * TAO_IDL/include/fe_private.h: - - The hash and the lookup methods now use unsigned int as the type - for the second argument. - - * TAO_IDL/fe/fe_lookup.cpp: - - Regenerated the file since the prototype for the hash and lookup - methods had changed. - -Wed Oct 21 22:34:18 1998 Douglas C. Schmidt - - * TAO version 0.2.31 released. - -Wed Oct 21 22:49:09 1998 Darrell Brunsch - - * examples/POA/DSI/server.dsp: - * examples/POA/DSI/client.dsp: - Just noticed that these were pointing to the old location - of tao_idl. Now fixed to look in /bin. - -Wed Oct 21 22:29:35 1998 Alexander Babu Arulanthu - - * TAO_IDL/be/be_codegen.cpp (TAO_CodeGen): Fixed the problem with - #include'ing the server skeleton header of the another #included - idl file. Thanks to Stach (t.stach@inobis.de) for tracking this - down. - -Wed Oct 21 15:01:23 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_array/any_op_cs.cpp - TAO_IDL/be/be_visitor_enum/any_op_cs.cpp - TAO_IDL/be/be_visitor_exception/any_op_cs.cpp - TAO_IDL/be/be_visitor_interface/any_op_cs.cpp - TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp - TAO_IDL/be/be_visitor_structure/any_op_cs.cpp - TAO_IDL/be/be_visitor_union/any_op_cs.cpp: - - Added an extra "return 0;" after the TAO_ENDTRY; in each >>= - operator. Thanks to David Levine for reporting the compiler - warnings requiring a return statement. - -Wed Oct 21 13:09:54 1998 Nagarajan Surendran - - * performance-tests/Cubit/TAO/MT_Cubit/README: - * performance-tests/Cubit/TAO/IDL_Cubit/README: - Updated the instructions for running Cubit tests on CHORUS. - -Wed Oct 21 12:32:37 EDT 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_array/any_op_cs.cpp - TAO_IDL/be/be_visitor_enum/any_op_cs.cpp - TAO_IDL/be/be_visitor_exception/any_op_cs.cpp - TAO_IDL/be/be_visitor_interface/any_op_cs.cpp - TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp - TAO_IDL/be/be_visitor_structure/any_op_cs.cpp - TAO_IDL/be/be_visitor_union/any_op_cs.cpp: - - Added the TAO_TRY macros to the generated code for the <<= and - >>= operators. In addition, David Levine had reported warnings - because of the presence of an unnecessary, unreachable return - statement. This has been fixed. - - * TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp - TAO_IDL/be/be_visitor_array/cdr_op_cs.cpp - TAO_IDL/be/be_visitor_enum/cdr_op_cs.cpp - TAO_IDL/be/be_visitor_exception/cdr_op_cs.cpp - TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp - TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp - TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: - - For IDL types defining a scope (e.g., structure, intrfaces), we - were generating the inline CDR operators that used the CDR - operators for their children before defining them. This was - resulting in lots of compile errors. We now make sure that the - CDR operators for the children are available before their use in - the parent. - - * tao/IIOP_Interpreter.cpp (calc_key_union_attributes): There was - an error in the calculation of the padded size of the - discriminant. We were not taking inot account the size of the - Base_Union. Thanks to Kirk Ellett (kellett@mdc.com) for sending - me the bug report and a sample code that illustrated this - problem. His example used a sequence of unions in which one of - the member was double (size 8, alignment 8) that finally - pinpointed this error to me. - -Wed Oct 21 07:22:12 1998 David L. Levine - - * TAO_IDL/driver/drv_args.cpp (DRV_parse_args): initialized - local "s" to 0 to avoid g++ warning about possible - unitialized use. - -Tue Oct 20 18:04:30 1998 Alexander Babu Arulanthu - - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/driver/drv_args.cpp: Fixed the problem with separating - suffix from the mail file name. It was hard coded assuming that - all files will end with .cpp which may not be true when somebody - uses -sT or -st option to specify someother suffix like .cxx or - something. So, we now use "." to separate the main name from the - suffix. If . is also not there (sanity check), we just take the - whole name as it is. Thanks to - Terry.Rosenbaum@Radiology.MSU.edu for - reporting this problem. - -1998-10-20 Seth Widoff - - * orbsvcs/Trading_Service/Trading_Service.{h,cpp}: - * docs/releasenotes/trader.html: - Added a command line argument -TSdumpior to dump the trader's ior - to a file. Thanks to Sunil Kumar for - noticing this was missing. - -Tue Oct 20 11:07:18 1998 Matthew J Braun - - * tests/Param_Test/param_test_i.cpp: A re-check in... - -Tue Oct 20 11:17:01 EDT 1998 Aniruddha Gokhale - - * TAO_IDL/be: - - Introduced a small modification (read hack) so that all the CDR - operators are now generated in the *.i file and with the - ACE_INLINE keyword. Also, if ACE_INLINE is not defined, then we - take care of this by generating the prototypes in the header - enclosed within #ifndef .. #define .. #endif statements. This is - just a first attempt to reduce fuction call overhead for - compiled marshaling operators. However, an elegant solution to - do this on a selective basis is needed. At this time, we force - all <<, >> operators to be inlined. If the compiler decides not - to inline, then we are going to pay a penalty. - - Affected files are: - - be_visitor_root/root.cpp - be_visitor_root/cdr_op.cpp - - In addition, I found out that in a number of files, we were - tightly coupling the generated code to a specific output stream - e.g., the client stubs file. In the above scenario, when I moved - the generation of the CDR operators to the inline files in the - root.cpp file, I expected all the children nodes to generate - code in the inline file. However, since the code for the child - nodes were tightly coupled with the client stubs file, it - resulted in errors. - - The best way to hide which output stream we are currently - dealing with is to use the "stream" accessor of the - visitor_context class. The desired stream gets set at the root - level and this information is passed to all the children via the - context. - - Affected files are: - - be_visitor_array/any_op_ch.cpp - be_visitor_array/any_op_cs.cpp - be_visitor_array/cdr_op_ch.cpp - be_visitor_array/cdr_op_cs.cpp - be_visitor_enum/any_op_ch.cpp - be_visitor_enum/any_op_cs.cpp - be_visitor_enum/cdr_op_ch.cpp - be_visitor_enum/cdr_op_cs.cpp - be_visitor_exception/any_op_ch.cpp - be_visitor_exception/any_op_cs.cpp - be_visitor_exception/cdr_op_ch.cpp - be_visitor_exception/cdr_op_cs.cpp - be_visitor_interface/any_op_ch.cpp - be_visitor_interface/any_op_cs.cpp - be_visitor_interface/cdr_op_ch.cpp - be_visitor_interface/cdr_op_cs.cpp - be_visitor_sequence/any_op_ch.cpp - be_visitor_sequence/any_op_cs.cpp - be_visitor_sequence/cdr_op_ch.cpp - be_visitor_sequence/cdr_op_cs.cpp - be_visitor_structure/any_op_ch.cpp - be_visitor_structure/any_op_cs.cpp - be_visitor_structure/cdr_op_ch.cpp - be_visitor_structure/cdr_op_cs.cpp - be_visitor_typedef/any_op_ch.cpp - be_visitor_typedef/any_op_cs.cpp - be_visitor_typedef/cdr_op_ch.cpp - be_visitor_typedef/cdr_op_cs.cpp - be_visitor_union/any_op_ch.cpp - be_visitor_union/any_op_cs.cpp - be_visitor_union/cdr_op_ch.cpp - be_visitor_union/cdr_op_cs.cpp - - * performance-tests/Demux: - performance-tests/Demux/CodeGen: - - Completely rewrote the entire test suite using proper ACE - programming guidelines. The older version was written to work - with the SunSoft's IIOP code. the current one is now fully CORBA - compliant and works with TAO. - - A bunch of files have been deleted and new ones added. In - particular, we now generate an interface definition and rely on - TAO_IDL compiler to generate the stubs and skeletons (rather - than we generating them as we did before). In addition, we have - added an additional parameter i.e., POA depth. - - Read the README files in both the directories to see how to use - this test suite. We need to experiment with this to see how TAo - performs. - - Newly added files are: - - ./demux_test_client.{h, cpp} - ./demux_test_macros.h - ./demux_test_server.{h, cpp} - ./CodeGen/codegen.{h, cpp} - ./CodeGen/debug.cpp - ./CodeGen/demux.cpp - ./CodeGen/gen_names.cpp - ./CodeGen/idl.cpp - ./CodeGen/servant_hdr.cpp - ./CodeGen/servant_impl.cpp - - Files removed are: - - ./CodeGen/gen.cpp - ./CodeGen/impl.cpp - ./CodeGen/objcreate.cpp - ./CodeGen/perf.cpp - ./CodeGen/impl.cpp - ./CodeGen/skel.cpp - ./CodeGen/stub.cpp - ./CodeGen/tao.{h, cpp} - - -Mon Oct 19 21:40:56 1998 David L. Levine - - * *.h: changed include protection from #if !defined to ifndef. - Added #pragma once, if possible, i.e., after #include of - an ace/ header. It can only be done after ace/config.h - is included, because some platforms don't allow #pragma once. - - * tests/Param_Test/Makefile: don't build with g++ versions prior - to 2.8, because they can't handle nested classes. Thanks to - JM Strauss for confirming this. - - * examples/Quoter/Makefile: don't build with g++ versions prior - to 2.8, because they can't handle nested classes. - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp (disconnect_push_supplier): - added ACE_UNUSED_ARG (_env). - - * utils/catior/catior.cpp: added #include of ace/streams.h - because this file uses ifstreams. - - * tao/DynUnion_i.cpp (get_extractor): moved return statement - inside of ACE_LACKS_LONGLONG_T protection to avoid compiler - warning about unreachable statement. - -Mon Oct 19 15:37:53 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp (create_B): Fixed a - warning for using TAO_TRY_ENV with no TAO_CHECK_ENV.Thanks to - David for reporting this. - -Mon Oct 19 15:37:30 1998 Chris Gill - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.dsp - orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.dsp: - Modified custom build step for NavWeap.idl to look for - the TAO IDL compiler in the $ACE_ROOT/bin directory. - -Mon Oct 19 14:28:30 1998 Matthew J Braun - - * examples/POA/NewPOA/run_test.pl: Runs the test. Not exactly a - difficult task, since there's one executable with no arguments. - -Mon Oct 19 11:24:40 1998 David L. Levine - - * orbsvcs/tests/Simple_Naming/client.cpp (already_bound_test, - already_bound_test2): added .in () dereference of "obj" arg. - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp (open_receiver): added - .in () reference of "addr_server" arg. - - * orbsvcs/tests/EC_Basic/EC_Basic.cpp (run): added - .in () reference of several args. - - * orbsvcs/tests/EC_Basic/EC_Basic.cpp: added a bunch of - ACE_UNUSED_ARG's. Thanks to JM Strauss - for reporting these. - - * test/Param_Test/driver.cpp: added - Param_Test_Client instantiation. - - * TAO/rules.tao.GNU: added -Wno-uninitialized with egcs 2.91.x. - It seems to be overly aggressive: - - DynAny_i.cpp:565: warning: `class TAO_DynAny_i * this' might be - used uninitialized in this function - - * TAO_IDL/Makefile: added include of rules.tao.GNU, to pick up - -Wno-unused and -Wno-uninitialized with g++/egcs. - -Sun Oct 18 22:05:00 1998 Chris Gill - - * orbsvcs/tests/Sched_Conf/Sched_Conf.cpp - orbsvcs/tests/Sched_Conf/Sched_Conf_Runtime.cpp - orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp - orbsvcs/orbsvcs/Sched/DynSched.cpp - orbsvcs/orbsvcs/Sched/SchedEntry.{cpp,h,i} - orbsvcs/orbsvcs/Sched/Scheduler.h: - Propagated warnings for unresolved remote RT_Info dependencies - throughout the call graph in the strategized scheduler, enabled - schedule table generation even when there are unresolved remote - dependencies or the utilization bound is exceeded. These changes - allow iterative development of a schedule with useful scheduler - warnings in debug mode. - -Sun Oct 18 21:40:23 1998 Sergio Flores - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/client.h: - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp: Fixed some - unreferenced variables that caused warnings. Deleted some - variables that were not being used. Cleaned up the code a bit. - -Sun Oct 18 15:59:36 1998 Matthew J Braun - - * tests/Param_Test/param_test_i.cpp: Changed use of "TRUE" to 1 - for a Boolean value. Thanks David! - -Sun Oct 18 14:20:35 1998 Jeff Parsons - - * tao/DynAny_i.h: - * tao/DynArray_i.h: - * tao/DynEnum_i.h: - * tao/DynSequence_i.h: - * tao/DynStruct_i.h: - * tao/DynUnion_i.h: - * tao/DynUnion_i_T.h: - Edited files to conform to TAO layout style. - -Sun Oct 18 09:32:38 1998 David L. Levine - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp (push, - start_generating_events): fixed a couple of 64-to-32 - bit casts so that it will compile for VxWorks. - - * examples/Callback_Quoter/Supplier_i.cpp (Supplier): - reordered initializers to match declaration order. - - * utils/IOR_Parser/ior-handler.cpp (getString,getIdlInterface): - declared char arrays that are used for return values as static. - -Sat Oct 17 13:04:50 1998 Douglas C. Schmidt - - * TAO version 0.2.30 released. - -Sat Oct 17 10:34:01 1998 Douglas C. Schmidt - - * tao/Sequence: Added a hash() method to TAO_Base_Sequence(). - This makes it possible to use TAO bounded and unbounded - sequences in the ACE_Hash_Map_Manager. Thanks to David Levine - and John Geiss for reporting this. - -Sat Oct 17 00:44:10 1998 Douglas C. Schmidt - - * TAO version 0.2.29 released. - -Fri Oct 16 15:48:48 1998 Douglas C. Schmidt - - * tao: Replaced all #if !defined (TAO_FOO_H) with #ifndef - TAO_FOO_H since many C++ preprocessors can recognize this idiom - and optimize for it. - - * tao/POA.cpp: Changed from operator++ to ++operator to be more - efficient. Thanks to Irfan for suggesting this change. - -Fri Oct 16 17:00:47 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_array/cdr_op_cs.cpp: - be_visitor_enum/cdr_op_cs.cpp: - be_visitor_exception/cdr_op_cs.cpp: - be_visitor_interface/cdr_op_cs.cpp: - be_visitor_sequence/cdr_op_cs.cpp: - be_visitor_structure/cdr_op_cs.cpp: - be_visitor_union/cdr_op_cs.cpp: - - The generated <<, >> operators now have the C++ "inline" keyword - before them. Thanks to Chris Cleeland for suggesting this. - -Fri Oct 16 04:16:19 1998 Irfan Pyarali - - * tao/Object_Table and POA: Changed the object table and POA/TAO - options such that the POA now supports linear, active, and - dynamic lookup strategies with the system id policy and supports - linear, and dynamic lookup strategies with the user id policy. - The default lookup strategy for the system id policy is active, - while the default lookup strategy for the user id policy is - dynamic. - - Note that the active lookup strategy is only supported with the - system id policy. This is so because the user cannot decide the - id for the active lookup strategy. It must be generated by the - system. - - Also, added the ability for TAO_Dynamic_Hash_ObjTable and - TAO_Linear_ObjTable to create object ids. This makes them - usable with the system id policy. - - * tao/default_server.cpp (parse_args): Replaced -ORBdemuxstrategy - with -ORBsystemidpolicydemuxstrategy and - -ORBuseridpolicydemuxstrategy. - - * tao/params.h (TAO_Demux_Strategy): Removed TAO_NONE. It was not - being used. - -Fri Oct 16 01:52:01 1998 Douglas C. Schmidt - - * TAO version 0.2.28 released. - -Fri Oct 16 01:25:43 1998 Sergio Flores - - * performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp - * performance-tests/Cubit/TAO/MT_Cubit/Makefile - * performance-tests/Cubit/TAO/MT_Cubit/README - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp - * performance-tests/Cubit/TAO/MT_Cubit/server.cpp - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp: Fixed a bug - with the utilization test, updated the README file, and some - aesthetic changes to the help. - -Fri Oct 16 00:45:22 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Notifier_Input_Handler.h - * examples/Callback_Quoter/Notifier_Input_Handler.cpp - added Event mechanism in the Notifier_Input_Handler. - - * examples/Callback_Quoter/Notifier_i.h - * examples/Callback_Quoter/Notifier_i.cpp - added close call in the shutdown method. - - -Thu Oct 15 23:00:35 1998 Jeff Parsons - - * tao/DynAny_i.h: - * tao/DynArray_i.h: - * tao/DynEnum_i.h: - * tao/DynSequence_i.h: - * tao/DynStruct_i.h: - * tao/DynUnion_i.h: - Added TAO_Export to the class declarations (ouch!) - -Thu Oct 15 22:10:48 1998 Sergio Flores - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/README: Synchronized the - README file with the actual options in the source files. Cleaned - up the wording for the help in the README and source files. - Thanks to Brian Gilstrap for pointing this - out. - -Thu Oct 15 22:06:48 1998 Alexander Babu Arulanthu - - * TAO_IDL/driver/drv_args.cpp: Fixed the help message to print the - new options -H linear_search and -H binary_search. - -Thu Oct 15 21:20:56 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AVStreams.idl: Uncommented the previously - commented out code that uses Property. - -Thu Oct 15 20:08:36 1998 Nagarajan Surendran - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.{h,cpp} : - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.{h,cpp}: - * performance-tests/Cubit/TAO/MT_Cubit/Globals.{h,cpp}: - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/server.h: - Removed Naming service code from all the files. MT_Cubit - uses only files to share iors of servants to clients. So -s option - is also removed. - - * performance-tests/Cubit/TAO/MT_Cubit/Makefile: - Removed liborbsvcs from the LD_LIBS. - - * performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: - Removed -s option for server and client. - -Thu Oct 15 17:29:42 1998 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs[_static].dsp: Added EC_UDP_Admin.cpp. - Thanks to Russell L. Carter for - reporting this. - - -Thu Oct 15 13:54:23 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Supplier_i.cpp: - examples/Callback_Quoter/Supplier_i.h - Changed the names as they conflicted with (lowercase) - supplier.cpp on NT. - -Thu Oct 15 13:22:39 1998 Jeff Parsons - - * TAO/tests/Param_Test/param_test_i.cpp: - Added a Param_Test:: qualifier to declaration of - PathSpec_var rPathSpec - got rid of a compile error. - -Thu Oct 15 10:49:58 1998 David L. Levine - - * TAO version 0.2.27 released. - -Wed Oct 14 23:33:24 1998 Douglas C. Schmidt - - * TAO version 0.2.26 released. - -Wed Oct 14 20:10:00 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - This test uses the Reactive version of the EC, just to show how - to configure the EC in that mode (this test does not attempt to - preserve priorities, so it is good place to put this). - - * tao/encode.cpp: - Fixed encoding for Any when both cdr_ and value_ are zero - (usually when the Any is holding a tk_null). - -Wed Oct 14 18:35:26 1998 Kirthika Parameswaran - - * TAO/examples/Callback_Quoter/ - Consumer.idl Consumer_Input_Handler.cpp - Consumer_Input_Handler.h Consumer_i.cpp Consumer_i.h Makefile - Notifier.idl Notifier_Input_Handler.cpp - Notifier_Input_Handler.h Notifier_i.cpp Notifier_i.h - Supplier.cpp Supplier.h consumer.cpp notifier.cpp supplier.cpp - - Renamed and added above files. - - * TAO/examples/Callback_Quoter/ - Client_i.cpp Consumer.dsp Consumer.idl Consumer_i.cpp - Consumer_i.h Makefile MarketFeed.dsp MarketFeed_i.cpp - MarketFeed_i.h Server_i.cpp Server_i.h Supplier.dsp Supplier.idl - Supplier_i.cpp Supplier_i.h consumer_client.cpp - marketfeed_client.cpp server.cpp - - Removed these files. - -Wed Oct 14 12:05:37 1998 Matthew J Braun - - * tests/Param_Test/ub_struct_seq.h - * tests/Param_Test/ub_struct_seq.cpp - * tests/Param_Test/param_test_i.h - * tests/Param_Test/param_test_i.cpp - * tests/Param_Test/param_test.idl - * tests/Param_Test/helper.h - * tests/Param_Test/helper.cpp - * tests/Param_Test/driver.cpp - Added test for unbounded sequence of structs. This is in - response to a bug report from Seung-Lee Hoon - . Thanks to Andy and Carlos for help. - -Wed Oct 14 11:20:26 1998 Douglas C. Schmidt - - * TAO version 0.2.25 released. - -Wed Oct 14 10:47:47 1998 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Fixed template instantiations. - -Wed Oct 14 00:42:25 1998 Douglas C. Schmidt - - * TAO version 0.2.24 released. - -Tue Oct 13 23:03:24 1998 Carlos O'Ryan - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - * tao/Invocation.i: - * tao/Connect.cpp: - * tao/CDR.h: - * tao/CDR.cpp: - The input CDR can be created using a user provided data block, - this is used to select the right kind of locking for the - Data_Block reference count. The ORB_Core acts as a Factory of - Data_Blocks, selecting the right type according to the - -ORBinputcdrallocator option. - - * orbsvcs/Event_Service/svc.conf: - Use the appropiate allocator for the EC, because it shares the - CDR buffers between several threads (to minimize data copying). - -Tue Oct 13 22:15:53 1998 Irfan Pyarali - - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp (svc): Must set the - wr_ptr correctly. Otherwise, the ORB doesn't know how much to - data to encode. - - * orbsvcs/orbsvcs/Event/Event_Manip.cpp (_create): event_set - length must be calculated before the call to get_buffer() since - that call will change the length. - -Tue Oct 13 17:04:15 1998 Jeff Parsons - - * tao/Any.cpp: Modified copy constructor and assignment operator - to avoid encoding the value of the source Any when it is 0 - (which it is if the Any was constructed from just a typecode). - Perhaps this sequence of calls should never be made, but this - guards against it anyway. - -Tue Oct 13 10:51:10 1998 Carlos O'Ryan - - * tao/ORB.cpp: Thread ids in some platforms (ex: HP-UX) are - structures, so they cannot be initialized to 0. Thanks to David - Janello for reporting this. - -Tue Oct 13 09:16:20 1998 David L. Levine - - * orbsvcs/orbsvcs/Sched/DynSched.cpp: changed a handful - of == to =. Thanks, g++ :-) - - * orbsvcs/tests/EC_Basic/EC_Basic.cpp (dump_results): - changed type of static array elements from int to - CORBA::ULong to avoid signed/unsigned comparisons. - -Mon Oct 12 18:55:00 1998 Chris Gill - - * orbsvcs/orbsvcs/RtecScheduler.idl - orbsvcs/orbsvcs/Event/EC_Gateway.cpp - orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp - orbsvcs/orbsvcs/Sched/DynSched.{cpp, h} - orbsvcs/orbsvcs/Sched/SchedEntry.{cpp, i}: Added a new kind RT_Info - type for EC_Gateway RT_Infos that depend on remote invocations. This - change facilitates building a distributed schedule without requiring - the use of a single global scheduling service. Thanks to Tom - Venturella for this idea. - - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp - orbsvcs/orbsvcs/Scheduler_Factory.cpp - orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp - orbsvcs/tests/EC_Multiple/EC_Multiple.cpp - orbsvcs/tests/Sched_Conf/Sched_Conf.{cpp, dsp} - orbsvcs/tests/Sched_Conf/Sched_Conf_Runtime.{cpp, dsp, h} (NEW): - Fixed a number of problems with correctness and usability of the - config and runtime schedulers, and the scheduler factory. Thanks - to Amir Bahmanyari for providing detailed - debugging reports. - -Mon Oct 12 18:32:01 1998 Carlos O'Ryan - - * tao/try_macros.h: - Added new macros to support multiple TRY blocks in the same - function. Andy is going to test them. - - * performance-tests/Cubit/TAO/IDL_Cubit/README: - The file still made references to the -s option. - -Mon Oct 12 14:55:41 1998 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (TAO_NamingContext): Made - a mistaken with my Naming_Context change for the - Hash_Map_Manager. We need to use the argument to set the size - of the table, not the data member since it hasn't been assigned - yet. Thanks to Chris Gill and Kirthika for reporting this. - -Mon Oct 12 11:30:38 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/Memory_Pools.cpp: - Removed some template instantiations that were not used anymore. - Moved the template instantiations related to memory pool from - Event_Channel.cpp into Memory_Pools.cpp - Added a comparison operator for the TAO_EC_Event class, this is - needed to complete the instantiation of ACE_Array. - - * orbsvcs/orbsvcs/Event/Event_Manip.h: - The constructor was private, making some g++ variants very - angry. - -Mon Oct 12 10:31:35 1998 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Naming/CosNaming_i: Removed the need to allocate - HASH_MAP dynamically. This helps improve performance and also - eliminates another point of failure in the constructor. - -Mon Oct 12 09:52:46 1998 David L. Levine - - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (TAO_NamingContext ctor): - reordered initializers to match declaration order. - - * performance-tests/Cubit/TAO/MT_Cubit/run_tests.pl: - put ./ in front of executable names. That way, users - don't need to have . in their path. - -Sun Oct 11 23:18:19 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Event_Manip.h: - * orbsvcs/orbsvcs/Event/Event_Manip.i: - * orbsvcs/orbsvcs/Event/Event_Manip.cpp: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.i: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/CORBA_Utils_T.h: - * orbsvcs/orbsvcs/Event/CORBA_Utils_T.i: - * orbsvcs/orbsvcs/Event/CORBA_Utils_T.cpp: - * orbsvcs/orbsvcs/Event/Memory_Pools.h: - * orbsvcs/orbsvcs/Event/Memory_Pools.i: - * orbsvcs/orbsvcs/Event/Memory_Pools.cpp: - Implemented a new class to manage event life time. There are - two components to the new strategy: a reference counted version - of the EventSet buffer and a smart pointer to a single event in - the buffer. - This new strategy allowed us to go down from 6 memory copies to - 1 copies for events received remotely (and 2 for local events). - Since the copies were nested and the Event structure can be - quite complicated this reduced the number of memory allocations - significantly. - The old CORBA_Utils classes are no longer needed. - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Fixed a problem with correlation, if a consumer was expecting - A&B and a supplier sent A, A, B the consumer received two copies - of A. - - * orbsvcs/tests/EC_Basic/EC_Basic.h: - * orbsvcs/tests/EC_Basic/EC_Basic.i: - * orbsvcs/tests/EC_Basic/EC_Basic.cpp: - Added a new correlation test. - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/Event_Service/Makefile: - * orbsvcs/tests/EC_Multiple/Makefile: - * orbsvcs/tests/EC_Basic/Makefile: - * orbsvcs/tests/EC_Mcast/Makefile: - * orbsvcs/tests/EC_Custom_Marshal/Makefile: - Updated the dependencies. - - * orbsvcs/tests/EC_Basic/README: - * orbsvcs/tests/EC_Mcast/README: - The README file was out of date. - - * docs/releasenotes/TODO.html: - Updated the task corresponding to this change. - -1998-10-11 Marina Igorevna Spivak - - * orbsvcs/Naming_Service/Naming_Service.{h, cpp}, README: Added a - command line option to specify how long a service should run - before shutting down. This is useful for running purify, - quantify, or avoiding having explicitly kill the process. - - * orbsvcs/orbsvcs/CosNaming_i.{h,cpp}: - Removed several memory allocations (in , and - ). - Factored some common code out into function. - Cleaned up some code and got rid of . - Changed TAO_NamingContext to contain a pointer to the hash map - rather than actual object to allow command line option of choosing - the size of hash map allocated upon creation (rather than using - the default size). - -Sun Oct 11 17:59:32 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Client_i.cpp (CLient_i::run ()): - changed the argument wrongly passed to the unregister_callback - from Consumer_var to Consumer_var.in (). - -Sun Oct 11 17:09:16 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: - * tao/POAC.cpp: - * tao/PolicyC.cpp: - * tao/DynAnyC.cpp: - * tao/CurrentC.cpp: - Optimized _narrow() it does not need to call _create_stub() on - the collocated case, using the CORBA::Object stub is good - enough. - -1998-10-11 Marina Igorevna Spivak - - * orbsvcs/Naming_Service/Naming_Service.h : change the order of - data member declarations to match initialization order in - constructors in .cpp file. - -1998-10-10 Marina Igorevna Spivak - - * orbsvcs/orbsvcs/Naming/Naming_Utils.{h, cpp}: Updated - TAO_Naming_Server to take in and pass on a parameter specifying - the size for the naming cotexts' hash tables. - - * orbsvcs/Naming_Service/Naming_Service.{h, cpp}, README: Added a - command line option to specify size of hash tables - allocated upon creation of naming contexts. - -Sat Oct 10 22:31:00 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Client_i.cpp: - added the part where the consumer keys in information. - -Sat Oct 10 16:19:11 1998 Carlos O'Ryan - - * tests/CDR/tc.cpp: - This file was still referencing CORBA::_tc_Bounds and - CORBA::_tc_BadKind - -1998-10-10 Marina Igorevna Spivak - - * orbsvcs/tests/Simple_Naming/client.cpp: Added parenthesis to - avoid warnings when compiling on NT. - -Sat Oct 10 00:51:52 1998 Douglas C. Schmidt - - * TAO version 0.2.23 released. - -Fri Oct 09 23:48:40 1998 Irfan Pyarali - - * tao/Server_Request.cpp (set_exception and set_result): Used the - Any copy constructor to copy the user provided any. - -Fri Oct 9 17:13:32 1998 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp: Used the host and - pid to get a unique names for the vdev and streamendpoint objects - to register with the Naming Service while using the Process - Endpoint strategy. This will avoid name clashes between the audio and - video process. - - * orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp: Used the child's host - and pid to lookup for Vdev and streamendpoint for the process - endpoint strategy. - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: Removed the code that used - _out variable to pacify sun_CC warnings. Sun_CC doesn't complain - anymore. - -Fri Oct 9 16:44:14 1998 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/Receiver.idl: - Added this new interface for the Trader Agent to push the server - mmdevice and the filenames to the mpeg client. - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.{h,cpp}: - Added code to implement the Receiver interface. - Fixed memory leaks. - Fixed the code so that it works for multiple movies i.e - tears down the stream after every movie and starts a new - connection. - Also made code robust by using suspend and resume - handlers for the video client to wait for the initial frame from - the server. - Added an option to specify the data host to bind for - the data which can be used for specify an ATM interface. - Fixed the problem of Play command not playing from where - fastforward/rewind stopped. - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ctr.cpp: - - Removed some unnecessary and redundant code and moved them into - classes in Command_Handler.cpp. - - * orbsvcs/tests/AVStreams/mpeg/source/client/vcr.cpp: - - Fixed the code so that it passes the command line arguments - properly to the command_handler. - -Fri Oct 9 16:27:46 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Supplier.h: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.h: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - We measure and report the elapsed time for the test (in the case - of the consumer the time since we receive the first event). - We use this to measure throughput (in events per second). - - * orbsvcs/orbsvcs/Event/Memory_Pools.h: - * orbsvcs/orbsvcs/Event/Memory_Pools.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - We do not overload operator new and operator delete anymore. The - allocators we were using were problematic for this use case and - we believe that a better speed up can be obtained by reducing - the number of allocations. Thanks to "Mark Hyett" - , "Mark L. Boriack" - , "J. Russell Noseworthy" - for helping us with this bug. - -Fri Oct 09 15:27:17 1998 Nanbor Wang - - * tao/ORB_Core.cpp (~App_Allocated): Free up the memory pool - before deleting the allocators. - -Fri Oct 9 13:42:47 1998 Shawn Michael Atkins - - * performance-tests/Thruput/TAO/results/REMOTE/README: added this - file so cvs won't erase these empty directories for storing - results of the thruput test. Note: also added the empty - directories ./results/REMOTE. - - * performance-tests/Thruput/TAO/run_client: run_client now checks - for the testname directory and if it doesn't exist, it will - create a directory to put the results. - -Fri Oct 09 02:19:09 1998 Irfan Pyarali - - * tao/IIOP_Object.cpp (Profile): Added new constructor. - -Fri Oct 9 01:15:54 1998 Alexander Babu Arulanthu - - * tao/Operation_Table.cpp: - * tao/Operation_Table.h: - * TAO_IDL/be/be_interface.cpp: - - Integrated Linear Search operation lookup strategy option to - TAO_IDL. We use again GPERF for generating lookup method for - this. Thanks to great work by Vishal (vishal@cs), GPERF has an - option to generate linear search code. - -Thu Oct 8 17:37:14 1998 Carlos O'Ryan - - * tao/ORB.h: - * tao/Typecode.h: - * tao/Typecode.cpp: - * tao/Typecode_Constants.h: - * tao/Typecode_Constants.cpp: - Moved the CORBA::TypeCode::_tc_Bounds and - CORBA::TypeCode::_tc_Kind typecodes to their proper namespace. - - * docs/releasenotes/TODO.html: - Updated some tasks related to the last change. - - * tao/Connect.cpp: - If an exception is thrown while handling a oneway request we - just ignore it, unless the debugging flags in the ORB are - enabled, in that case we print an informative message and the - exception. - - * tao/ORB_Core.h: - * tao/ORB_Core.cpp: - The App_Allocated class does not own the CDR allocators all the - time, sometimes they are global and shared by all the - App_Allocated objects. - -Thu Oct 08 16:14:04 1998 Nanbor Wang - - * tao/ORB_Core.{h,cpp} (~App_Allocated): Added a destructor for - this class. Some of its members are now allocated from the heap - and they need to be deleted. - -Thu Oct 8 12:15:38 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Supplier.h: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.h: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - The new test sends "bursts" of events, without any pause between - each event. Multiple burst can be sent with small pauses in - between. - Shutdown works now, even if multiple suppliers and multiple - consumers are beign used. The ECT_Consumer program only needs to - know the number of suppliers beign used. - -Thu Oct 08 09:50:18 1998 Nanbor Wang - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.h: Added #progma - to disable VC "inheritance via dominance" warnings. - - * docs/releasenotes/orbcore.html (Miscellany): Fixed a dead link. - Thanks to Mark Weel for reporting this. - -Wed Oct 07 23:27:07 1998 Douglas C. Schmidt - - * TAO version 0.2.22 released. - -Wed Oct 7 22:27:48 1998 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp - (delete_property): Fixed the double deletion case. Thanks to - "Ulf Jhrig" for reporting this. - -Wed Oct 7 21:44:52 1998 Carlos O'Ryan - - * tao/try_macros.h: - Some compilers (MSVC++ 5.0) will complain about throwing an - exception and not returning a value. - - * tao/Object_Table.cpp: - The find() method on the object table was asserting that the - entry ought to be in use, in fact if the entry was free the - object was not found and we just have to return -1. - -Wed Oct 07 14:49:32 1998 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs[_static].dsp: Added property service - files. Thanks to Ulf Jaehrig for noticing - this. - -Wed Oct 07 11:33:37 1998 Irfan Pyarali - - * tao/POA.cpp (state): Fully qualified the enums of the - POA_Manager's Processing_State. Thanks to John Morey - for helping with this. - -Wed Oct 7 10:53:45 1998 Carlos O'Ryan - - * examples/Callback_Quoter/Supplier_i.cpp: - Added missing template instantiations. - -Wed Oct 7 09:19:00 1998 Douglas C. Schmidt - - * tao/try_macros.h (TAO_RETHROW): Added a return to - TAO_THROW_ENV_RETURN. Thanks to John Morey for reporting this. - -Wed Oct 7 08:39:59 1998 Aniruddha Gokhale - - * tao/try_macros.h: - - Added a backslash in a the TAO_TRY macro definition. Thanks to - John Morey (jmorey@tbi.com) for sending the bug fix. - -Wed Oct 7 08:29:51 1998 Aniruddha Gokhale - - * doc/compiler.html: - - Updated the documentation for the -Ge, -Gt options. Thanks to - Tom Dobridge for pointing this out. - -Wed Oct 07 02:50:39 1998 Douglas C. Schmidt - - * TAO version 0.2.21 released. - -Wed Oct 7 000:13:19 1998 Jeff Parsons - - * presentations/TAO/dynany.tex: - New file for use whenever the nexr presentation comes around. - -Wed Oct 07 00:07:43 1998 Irfan Pyarali - - * tests/Param_Test/server.cpp: - * performance-tests/Thruput/TAO/server.cpp: - * orbsvcs/tests/Simulator/DOVEMIB/svr.cpp: - - Changed "RootPOA_is_BAD" to "child_poa". It was sending - negative POA vibes ;-) - -Tue Oct 06 22:49:27 1998 Irfan Pyarali - - * tao/Connect.cpp (handle_close): Replaced this->shutdown() with - explicit removal from the reactor and explicit closing of the - socket. this->shutdown() also doing too much since it was also - purging the recycling act from the recycler. We need the - recycling act to be available until all the reference to the - Svc_Handlers are removed and the Svc_Handler is destroyed since - we need the recycling act to check the hint. - - Thanks to Mark L. Boriack for helping in - tracking down this problem. - -Tue Oct 6 22:12:30 1998 Douglas C. Schmidt - - * examples/Simple/grid/Grid_i.cpp: Fixed bugs with exceptions. - Thanks to Tom Dobridge for pointing - this out. - -Tue Oct 6 21:25:22 1998 Darrell Brunsch - - * TAO-INSTALL.html: Added an extra note about compiling the - release version. Care has to be taken since conflicts - between the two tao_idl compilers can occur. - -Tue Oct 6 21:02:24 1998 Vishal Kachroo - - * examples/Simple/bank/AccountManager_i.cpp (close): Changed - TAO_TRY_ENV to _env to avoid duplicate definition. Thanks to - Tom Dobridge for pointing this out. - -Tue Oct 6 20:28:10 1998 Carlos O'Ryan - - * tao/try_macros.h: The TAO_TRY macro generates a new do/while - block even for the native C++ exception case, this is more - consistent with the alternative mapping. Thanks to Tom Dobridge - for pointing this out. - - * examples/Callback_Quoter/MarketFeed_i.cpp: * - examples/Callback_Quoter/Client_i.cpp: Removed instantiations of - TAO_TRY_ENV because TAO_TRY does it for us. Thanks to Tom - Dobridge for pointing this out. - - -Tue Oct 6 20:05:55 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Supplier_i.cpp (unregister_callback): - removed a variable which was defined unnecessarily. Thanks to - David Levine for reporting this. - -Tue Oct 6 17:16:46 1998 Jeff Parsons - - * tao/DynUnion_i.cpp: Another try at making VxWorks happy without - using memcmp in DynUnion_i_T.cpp. This should do it. - -Tue Oct 6 13:01:24 1998 Carlos O'Ryan - - * TAO_IDL/be/be_sunsoft.cpp: Fixed some problems with char and - octet constants. Thanks to Anders W. Tell - for reporting this. - -Tue Oct 06 11:23:32 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: added - support for server and client on different machines, using - -r option. It assumes that the user's shell is Bourne - shell-compatible. I'll try to fix that soon. - - * performance-tests/Cubit/TAO/MT_Cubit/plot: plot high - priority in blue, low in light green. - -Tue Oct 6 10:26:06 1998 Carlos O'Ryan - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - Dummy initialization for "observer_handler" to give compilers - some peace of mind about its use. - - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - Assigning an _var to a _ptr is ambiguous, we have to use .in(). - -Tue Oct 6 08:06:33 1998 Aniruddha Gokhale - - * TAO_IDL/driver/drv_args.cpp: - - Added a -Gi option to enable interpretive marshaling. More work - needs to be done here such that we can selectively generate - compiled or interpretive marshaling based on some pragmas. - - * docs/compiler.html: - - Added documentation for the new options for the IDl compiler. - -Tue Oct 06 03:56:05 1998 Douglas C. Schmidt - - * TAO version 0.2.20 released. - -Tue Oct 06 03:12:38 1998 Douglas C. Schmidt - - * TAO version 0.2.19 released. - -Tue Oct 6 02:58:35 1998 Alexander Babu Arulanthu - - * docs/compiler.html: Updated documentation for the new Binary - Search operation lookup stratetgy. - -Tue Oct 06 00:11:11 1998 Douglas C. Schmidt - - * TAO version 0.2.18 released. - -Mon Oct 5 22:12:07 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - Added some template instantiations. - - * docs/Options.html: - * docs/configurations.html: - Added a few comments for the latest options. - -Mon Oct 05 21:43:26 1998 Douglas C. Schmidt - - * TAO version 0.2.17 released. - -Mon Oct 5 20:35:28 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway.h: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - The IIOP Gateways were not preserving the remote supplier IDs - properly. The current implementation uses a map of - ProxyPushConsumer on the "local" EC, using a different entry for - each supplier ID the local consumers show interest in. - At run-time the events are dispatched to the corresponding entry - in the map. - A special consumer is used for all the other events. - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Fixed a dead-lock during shutdown. - Also fixed some problems while updating the Observers; we held - the EC lock during the complete process, but it is fairly common - to make changes to the EC while the observers are beign updated. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - Some improvements on shutdown. - - * docs/releasenotes/TODO.html: - Updated the tasks corresponding to the changes in this ChangeLog - entry. - -Mon Oct 5 21:16:53 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Supplier_i.cpp (unregister_callback): - The code to perform the unregistration of the consumer was added. - -Mon Oct 05 18:54:31 1998 Irfan Pyarali - - * orbsvcs/orbsvcs/Naming/CosNaming_i: Fixed the POA id generation - to take into account the name of the parent. Otherwise everyone - was using the same "namespace". - - * performance-tests/Cubit/TAO/IDL_Cubit: Added the testing of - sequences of structs. - -Mon Oct 5 18:07:38 1998 Douglas C. Schmidt - - * examples/Makefile: Changed the Makefile so that it'll now also - build the new Callback_Quoter test. - -Mon Oct 5 18:15:31 1998 Carlos O'Ryan - - * tests/Param_Test/Makefile: - * orbsvcs/tests/Logger/Makefile: - * orbsvcs/tests/Simple_Naming/Makefile: - * examples/Quoter/Makefile: - * examples/POA/Forwarding/Makefile: - * examples/POA/Generic_Servant/Makefile: - * orbsvcs/orbsvcs/Makefile: - * performance-tests/Cubit/TAO/IDL_Cubit/Makefile: - Removed the -Gc options for the IDL compiler, if wanted the - option can be added on the command line when invoking make, as: - $ make TAO_IDLFLAGS=-Gc - -Mon Oct 5 17:29:14 1998 Jeff Parsons - - * tao/DynUnion_i.cpp: - * tao/DynUnion_i_T.cpp: - Put a preprocessor conditional around the case that - instantiates the longlong type of template class - in get_extractor(). Because of this, the memcmp in - DynUnion_i_T.cpp has been removed - no need for it - now and VxWorks and Chorus should still be happy. - -Mon Oct 05 16:39:44 1998 Nanbor Wang - - * tao/corba.h: Removed duplicated macro definitions that are - defined in try_macros.h. - - * tao/try_macros.h (TAO_CATCH): Added ACE_UNUSED_ARG (VAR) for - this when TAO_USE_EXCEPTIONS and removed ACE_UNUSED_ARG (VAR) - when !TAO_USE_EXCEPTIONS. - - * tao/Dyn{Any,Array,Enum,Sequence,Struct,Union}_i.cpp: Changed - exceptions CORBA::NO_MEMORY to CORBA::NO_MEMORY () to avoid - compilation errors when TAO_USE_EXCEPTIONS is enabled. - -Mon Oct 05 16:13:48 1998 David L. Levine - - * TAO version 0.2.16 released. - -Mon Oct 05 15:37:26 1998 Douglas C. Schmidt - - * TAO version 0.2.15 released. - -Mon Oct 5 14:56:03 1998 Kirthika Parameswaran - - * examples/Callback_Quoter/Consumer_i.cpp (push): - Since I was checking whether the stock_value was greater - than the threshold desired, I changed the consumer's reaction - to selling shares rather than buying them. - -Mon Oct 05 13:52:17 1998 David L. Levine - - * tao/DynAnyC.cpp,DynArray_i.cpp,DynEnum_i.cpp,DynSequence_i.cpp, - DynStruct_i.cpp,DynUnion_i.cpp,DynUnion_i_T.cpp: - added ACE_LACKS_LONG_LONG_T support. - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp (print_priority_info): - use ACE_OS::getpid () instead of getpid (). - -Mon Oct 5 11:28:02 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - MSVC++ does not like - auto_ptr x = new Foo; - but it does like - auto_ptr x (new Foo); - Thanks to Nanbor for catching this problem and commiting the - fix. - -Mon Oct 5 10:47:52 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp: - - Had to remove the code that Carlos had added to propagate the - exception from the _tao_skel_env to the _tao_env parameter. This - was necessary since we no longer use the _tao_skel_env parameter. - -Mon Oct 5 07:54:21 EDT 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp: - - There was a bug in the generated code. Thanks to David Levine - for sending me the bug report. - - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp: - TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - - We no longer need the _tao_skel_environment variable in the - skeletons. These modifications were necessary to maintain - support for both the compiled as well as interpretive - marshaling. The _is_a_skel now generates a proper - TAO_CHECK_ENV_RETURN_VOID statement. - - Also made sure that unused local variables are not generated. - - * TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp - TAO_IDL/be_include/be_visitor_operation/rettype_vardecl_ss.h: - - Added a new visitor for compiled marshaling for the generation - of return type variable in the server skeleton code. - - * TAO_IDL/be/be_visitor_factory.cpp: - - For compiled marshaling we now invoke a new visitor for the - return val variable in the skeleton. The reason we do this is - since the interpreted version uses an OBject_var. - - * tao/{CurrentS, POAS, PolicyS}.cpp: - - Since we no longer use the _tao_skel_environment, we had to make - the necessary modifications. - - * tao/Server_Request.{h, cpp}: - - The marshal method no longer takes in the _skel_env parameter - -Mon Oct 05 06:44:11 1998 David L. Levine - - * orbsvcs/tests/EC_Basic/EC_Basic.cpp (run): declare loop - index "i" outside of loop because it is used again. - -Sun Oct 4 19:48:25 1998 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp: - Exceptions were not beign transmitted from the server back to - the client. We need to rethink the use of two environments in - the skeleton. - -Sun Oct 4 16:37:23 1998 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - It is now possible to have several suppliers with the same ID on - the same Event Channel. - I also fixed a bug with the supplier reconnections: if a - consumer was filtering by source it wouldn't receive the events - if the supplier disconnected and connected again. Thanks to - Thomas Venturella for some his hints on how - to fix this. - Fixed some problems with exception handling and propagation. - - * orbsvcs/tests/Makefile: - * orbsvcs/tests/EC_Basic/Makefile: - * orbsvcs/tests/EC_Basic/README: - * orbsvcs/tests/EC_Basic/run_test.pl: - * orbsvcs/tests/EC_Basic/EC_Basic.h: - * orbsvcs/tests/EC_Basic/EC_Basic.i: - * orbsvcs/tests/EC_Basic/EC_Basic.cpp: - Added a new test for the Event Channel, this will grow to become - the main regression test for the EC, at this point it only tests - the use of several suppliers with the same ID. - - * docs/releasenotes/TODO.html: - Update the file. - -Sun Oct 4 15:40:05 1998 Balachandra Natarajan - - * Any.cpp - Anticipated fix for break in build. The TypeCode_ptr was not - completely qualified (as CORBA::TypeCode_ptr). - -Sun Oct 04 08:40:12 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp,client.cpp, - server.cpp,run_tests.pl: used IIOP instead of URL style obj - refs for maximum performance. - -Sat Oct 3 20:20:14 1998 Alexander Babu Arulanthu - - * TAO_IDL/be/be_interface.cpp (gen_gperf_lookup_methods): Added - code to handle Binary Search operation lookup strategy. Not yet - tested with GPERF. - - * tao/Operation_Table.cpp: Added class for Binary Search operation - lookup strategy. s - - * TAO_IDL/be_include/be_codegen.h: New LOOKUP_STRATEGY enum for - Binary search. - - * tao/Operation_Table.h (TAO_Active_Demux_OpTable): Added class - for Binary Search operation lookup strategy. - - * TAO_IDL/be_include/be_interface.h (be_type): Added private - methods to generate code for binary searh and linear search. Not - yet tested with GPERF. Doesnt harm using the old operation lookup - strategies. - - * TAO_IDL/include/idl_global.h (class IDL_GlobalData): Renamed - perfect_hasher by gperf_path. gperf is going to be used for binary - search and linear search as well. So it is not specific to perfect - hashing. - - * TAO_IDL/driver/drv_args.cpp (DRV_parse_args): Changed the option - <-H dynamic> to <-H dynamic_hash>. Added options - <-H perfect_hash>, <-H binary_search> and <-H linear_search>. Do - NOT try these *_search options yet. It is yet to be tested with - GPERF. Also extended testing for GPERF's existance in the case of - Binary Search strategy also. - -Sat Oct 3 19:35:05 1998 Balachandra Natarajan - - * Any.cpp - Fix for memeory leaks in extraction. - -Sat Oct 3 15:16:05 1998 Marina Igorevna Spivak - - * orbsvcs/tests/Simple_Naming/client.cpp - * orbsvcs/tests/Simple_Naming/README - * orbsvcs/tests/Simple_Naming/run_test.pl - Added destroy test to the set of tests already there. - -Sat Oct 03 09:54:14 1998 David L. Levine - - * performance-tests/Thruput/Orbix/Makefile: removed - Quantify/Purify relics. - - * performance-tests/Thruput/Orbix/ttcp_decl.h,ttcp_i.cpp, - Client.cpp,Srv_Main.cpp: replace USE_QUANTIFY with - ACE_HAS_QUANTIFY. - - * TAO_IDL/be/be_visitor_scope.cpp (next_elem): initialized - local "node" to 0 to avoid g++ warning about possible - uninitialized used. - -Fri Oct 2 23:03:20 1998 Carlos O'Ryan - - * docs/releasenotes/ec.html: - Added an entry to explain the differences between the TAO event - service and the standard CORBA event service. - -Fri Oct 2 20:16:35 1998 Jeff Parsons - - * tao/DynAnyC.cpp: - David got a couple of warnings with Dec cxx that led me to - some lines that I had commented out to find a bug and - forgot to uncomment. - -Fri Oct 2 20:02:42 1998 Jeff Parsons - - * TAO_IDL/be/be_sunsoft.cpp: - IDL compiler will now generate correct code for - a constant char that is an escape sequence. - -Fri Oct 02 16:49:59 1998 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.{h,cpp}, - client.cpp,server.cpp: replaced NO_ACE_QUANTIFY with - ACE_HAS_QUANTIFY. - - * performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: - kill with -15 instead of -1, because HUP no longer - kills TAO processes. - -Fri Oct 2 16:09:24 1998 Douglas C. Schmidt - - * tao/IIOP_Object.i (use_locate_requests): Changed the 1s to 0s so - they would work correctly. Thanks to Michael Kircher - for reporting this. - -Fri Oct 02 09:02:54 1998 Nanbor Wang - - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp: Removed an - unused local variable, not the one Andy just added. ;) - -Fri Oct 2 08:18:28 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp: - - There was a local variable that got removed by mistake while - removing all unused locals. It has been reincluded. - -Thu Oct 1 23:31:34 1998 Carlos O'Ryan - - * Updated the dependencies in all the Makefiles due to the DynAny - changes. - -Thu Oct 1 22:05:39 1998 Jeff Parsons - - * tao/DynAny.pidl: - * tao/InconsistentTypeCode.pidl: - * tao/DynAnyC.{h,i,cpp}: - * tao/DynAnyS.cpp: - * tao/DynAny_i.{h,cpp}: - * tao/DynArray_i.{h,cpp}: - * tao/DynEnum_i.{h,cpp}: - * tao/DynSequence_i.{h,cpp}: - * tao/DynStruct_i.{h,cpp}: - * tao/DynUnion_i.{h,cpp}: - * tao/DynUnion_i_T.{h,cpp}: - * tao/InconsistentTypeCode.{h,cpp}: - * tao/corba.h: - * tao/ORB.{h,i,cpp}: - * tao/POA_CORBA.h: - * tao/Makefile: - * tao/TAO.dsp: - All the DynAny stuff, plus the necessary additions to - other TAO files, plus mods to Unix Makefile and VC - project file. Builds were successful using VC5, Sun cc - and GNU g++. - -Thu Oct 01 21:21:19 1998 Nanbor Wang - - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp - (gen_raise_exception): - (gen_check_exception): - (gen_demarshal_params): Removed unused local variable(s) to - avoid warnings from VC5. - -Thu Oct 1 20:51:39 1998 Nanbor Wang - - * TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp: Added trailing - return statements to supress warnings from g++. - -Thu Oct 1 16:03:55 1998 Darrell Brunsch - - * performance-tests/Cubit/TAO/IDL_Cubit/client.dsp: - * performance-tests/Cubit/TAO/IDL_Cubit/server.dsp: - * performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp: - Removed orbsvcs reference. - -Thu Oct 01 14:22:35 1998 Nanbor Wang - - * tao/CDR.i (operator<<): Changed to use TAO_CHECK_ENV for Any, - Object and TypeCode operations and added trailing return - statement to avoid warnings from MSVC. - - * TAO/TAO_IDL/tao_idl.dsp: - * TAO/TAO_IDL/tao_idl_static.dsp: Updated project based on Andy's - changes. (by Darrell.) - - * TAO/TAO_IDL/be/be_visitor_array/any_op_cs.cpp: - * TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp: - * TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp: - * TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp: - * TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp: - * TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp: Added trailing - "return 0;" for generated code for operator>>= of these to avoid - MSVC warnings. - -Thu Oct 1 12:42:58 EDT 1998 Aniruddha Gokhale - - * TAO_IDL/be/be_factory.cpp - /be_include/be_factory.h - /be_stream - - Renamed to be_factory.{h, cpp} to be_stream_factory.{h, cpp}, - respectively. We removed the visitor factory related classes and - code from these files and created new files. - - * TAO_IDL/be/be_interpretive.cpp - /be_include/be_interpretive.h: - - Removed. Instead we now have the be_visitor_factor.{h, cpp} file - described next. - - * TAO_IDL/be/be_visitor_factory.cpp - /be_include/be_visitor_factory.h: - - Added the abstract base class visitor factory called - "TAO_Visitor_Factory" that provides the "make_visitor" factory - method. Special concrete visitor factories called - "TAO_Interpreted_Visitor_Factory", - "TAO_Compiled_Visitor_Factory", and "TAO_Common_Visitor_Factory" - are now available as Singleton concrete factories. - - The TAO_Common_Visitor_Factory is never used directly by the - client (i.e., the tao_cg object). There are several visitors - that are common to both the interpretive as well as the compiled - approaches e.g., interface code generation, any operators, - etc. Thus, the two primary factories (interpretive or compiled) - will internally delegate code generation to the common factory - based on the state. - - * TAO_IDL/be/be_codegen.cpp - /be_include/be_codegen.h: - - Removed a large number of unused enumerations for the - CG_STATE. Also, renamed all the *DOCALL* states to *INVOKE* - states to make it look generic and applicable to both - interpretive as well as compiled marshaling. - - Added a new method called "config_visitor_factory (void)". This - allows the TAO_CODEGEN Singleton object to be strategized with - the desired visitor factory which can be either the interpretive - or the compiled visitor factory, but never the common - factory. The common factory gets invoked internally by the other - two factories as described before. This strategy is fixed based on - the command line option provided to the compiler. - - We no longer create a new factory and own it. Instead, as - described before, we simply hold a pointer to the abstract base - factory. This is initialized to either the interpretive or - compiled factory objects using the config_visitor_factory - method. - - * TAO_IDL/be_include/be.h: - - Made the necessary changes due to the addition and renaming of - files described above. - - * TAO_IDL/be/be_produce.cpp: - - We call the config_visitor_factory method on our TAO_CODEGEN - singleton, strategy object. It will configure itself with the - right visitor factory. - - * TAO_IDL/be/be_visitor_argument.cpp - /be_include/be_visitor_argument.h: - - Added new include *.{h, cpp} files described next. - - * TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp - /compiled_marshal_ss.cpp - /pre_invoke_cs.cpp - /be_include/be_visitor_argument/compiled_marshal_cs.h - /compiled_marshal_ss.h - /pre_invoke_cs.h: - - New files with new visitors added for compiled marshaling - support. The compiled_marshal_{cs,ss}.{h,cpp} has visitors that - generates the code for marshaling and demarshaling parameters - using the CDR <<, >> operators. The pre_invoke_cs is a visitor - that inherits from the pre_docall_cs. Its sole purpose is to - override the visit_interface and visit_interface_fwd - methods. The reason we need to do this is because for compiled - marshaling, we do not need to deal with the base - CORBA_Object_ptr types and do the necessary _narrow inside the - stub/skel. This is all done in the code for the <<, >> - operators. - - * TAO_IDL/be/be_visitor_argument/docall_cs.cpp - /pre_docall_cs.cpp - /marshal_ss.cpp - /post_upcall_ss.cpp - /upcall_ss.cpp: - - For all the variable sized types, especially the out parameters, - we were declaring the _var, _out, and the ptr type for the - parameter. We no londer need to instantiate so many - variables. We can deal with just the _var types. All actions - including memory allocation, passing it to the do_static_call or - the upcall, is handled using the _var parameter. This reducs - code size as well as the activation record size since the number - of local variables is significantly reduced. - - * TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp - /be_include/be_visitor_argument/vardecl_ss.h: - - We define an addition class called - be_compiled_visitor_args_vardecl_ss that inherits from the base - be_visitor_args_vardecl_ss. Its only purpose is to override the - base class's visit_interface methods. The overridden methods - avoid the generation of the extra local variables of the - CORBA::Object_ptr type. - - * TAO_IDL/be/be_visitor_array/any_op_cs.cpp: - TAO_IDL/be/be_visitor_enum/any_op_cs.cpp: - TAO_IDL/be/be_visitor_structure/any_op_cs.cpp: - - The code for <<=, and >>= now uses the TAO_TRY macros so that - they can work with real C++ exceptions also. - - This is not yet done for all types since this is under testing. - - * TAO_IDL/{be, be_include}/be_visitor_enum/enum_ch.{h, cpp} - TAO_IDL/{be, be_include}/be_visitor_exception/cdr_op_cs.{h, cpp} - TAO_IDL/{be, be_include}/be_visitor_exception/exception_ctor.{h, cpp} - TAO_IDL/{be, be_include}/be_visitor_interface/cdr_op_cs.{h, cpp}: - TAO_IDL/{be, be_include}/be_visitor_operation/argument.{h, cpp}: - TAO_IDL/{be, be_include}/be_visitor_union/cdr_op_cs.{h, cpp}: - - Modifications were necessary due to the change in the - "post_process" signature and semantics. - - * TAO_IDL/be/be_visitor_interface/interface.cpp: - - Removed some commented-out code. - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - - The skeleton code now uses the TAO_TRY macros for seamless exception - support between the real C++ exceptions and the alternate mapping. - - * TAO_IDL/be/be_visitor_operation.cpp - /be_include/be_visitor_operation.h: - - Added new include *.{h, cpp} files described below. - - * TAO_IDL/be/be_visitor_operation/operation.cpp - TAO_IDL/be/be_visitor_operation/argument_invoke.cpp - TAO_IDL/be/be_visitor_operation/argument_marshal.cpp - TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp - TAO_IDL/be/be_visitor_operation/rettype_preinvoke_cs.cpp - TAO_IDL/be/be_visitor_operation/rettype_return_cs.cpp - TAO_IDL/be/be_visitor_operation/rettype_marshal_ss.cpp - TAO_IDL/be_include/be_visitor_operation/operation.h - TAO_IDL/be_include/be_visitor_operation/argument_invoke.h - TAO_IDL/be_include/be_visitor_operation/argument_marshal.h - TAO_IDL/be_include/be_visitor_operation/compiled_marshal.h - TAO_IDL/be_include/be_visitor_operation/rettype_preinvoke_cs.h: - - For all the variable sized return types we were declaring the - _var, _out, and the ptr type for the parameter. We no londer - need to instantiate so many variables. We can deal with just the - _var types. All actions including memory allocation, passing it - to the do_static_call is handled using the _var parameter. This - reduces code size as well as the activation record size since - the number of local variables is significantly reduced. - - Some other visitors such as the asrgument_invoke and - argument_marshal are needed to generate the right number of && - operator at the right place in the large "if" statement that is - generated for marshaling or unmarshaling parameters. This is - useful only for the compiled approach. - - The base class operation visitor was added to the operation.{h, - cpp} files. It provides a number of helper classes used commonly - by inherited visitors. - - * TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp: - TAO_IDL/be_include/be_visitor_operation/rettype_vardecl_ss.h: - - Define a new class for compiled marshaling approach that - overrides the visit_interface method over its base class. This - way we avoid generation of extra variables. - - * TAO_IDL/{be, be_include}/be_visitor_operation/operation_ch.{h,cpp} - TAO_IDL/{be, be_include}/be_visitor_operation/operation_cs.{h,cpp} - TAO_IDL/{be, be_include}/be_visitor_operation/operation_sh.{h,cpp} - TAO_IDL/{be, be_include}/be_visitor_operation/operation_ss.{h,cpp}: - - All these now inherit from the base operation visitor. - - For the client side stubs (operation_cs.{h, cpp}) and server - side skeletons (operation_ss.{h, cpp}), we now factor out all - the code that is common to both the interpreted and compiled - stubs/skels. Thus, the visit_operation method is now a template - method. It calls operations that are implemented only by - derived classes. These methods e.g., gen_pre_stub_info, - gen_marshal_and_invoke, and others will generate the code that - is different for the interpreted vs compiled approaches.. - - We define derived classes called - "be_interpretive_visitor_operation_cs" and - "be_compiled_visitor_operation_cs" (similarly for the skeletons) - that provide the implementation for the pure virtual methods - called by the template method "visit_operation". - - * TAO_IDL/be/be_visitor_scope.cpp - /be_include/be_visitor_scope.cpp: - - Added a new "pre_process" method. Both the pre_process and - post_process methods now take the "be_decl *" as an - argument. This was the change made to the post_process. - - In addition, post_process is always invoked irrespective of the - node being the last one in the scope or not. - - To test if the node being processed is the last one, we have - added a new method called "last_node" returning a boolean - value. Similarly, we have added "next_elem" method that gives us - our successor and the "elem_number" that gives us our number in - the list. - - * TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: - - For bounded vs unbounded strings, we generate different code for - the CDR operators. - - I need to check if this policy is strictly followed for all - aggregate types that can have a string member. - - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp: - - For sequences of arrays, there were some weird problems using - the ACE_reinterpret_cast which is now fixed. - - * TAO_IDL/be/be_visitor_typedef/typedef.cpp: - - Removed lots of cases in the switch statement since we removed - those enumerations from the CG_STATE of the TAO_CODEGEN object. - - * TAO_IDL/Makefile: - - ran make depend. - - * TAO_IDL/driver/drv_args.cpp: - - ACEified the code. - - Updated the usage_error message with new command line options. - - Handled the new options. - - -Gc - generate compiled marshaled code - -Ge - enable C++ exception support (unimplemented) - -Gt - generate optimized typecodes (unimplemented) - -Sa - suppress any operators - -St - suppress typecode generation - - The default is to always generate all the Any operators, - TypeCodes and to use the Interpretive marshaling. - - * TAO_IDL/include/idl_global.h - /utils/utl_global.cpp: - - Added a number of mutator and accesor methods for the newly - added command line options. - - * performance_tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - - Commented out the RTI and the Union tests since the CDR - operators are not yet done for the unions. - - * tao/Any.{h, i} - tao/ORB.{h, i} - tao/Object.{h, i} - tao/Typecode.{h, i}: - - The parameter to the copy ctor and assignment operator of the - _out class is now "const". This resolves the weird warnings we - were getting about a temporary being created. We were also - required to instantiate the _out type explicitly to overcome - this. However, we no londer need to write this non-compliant - code. - - * tao/CDR.i: - - Code for <<, >> operators for objref, typecode, and Anys had a - bug. - - * tao/corba.h: - - Moved the inclusion of the try_macros.h before the CDR.h since - we us the macros in the code - -Thu Oct 1 11:18:35 1998 Douglas C. Schmidt - - * examples/Simple/bank/AccountManager_i.cpp: Removed the unneeded - ';' at the end of the #pragmas. Thanks to Margherita Vittone - Wiersma for reporting this. - -Thu Oct 01 10:39:44 1998 David L. Levine - - * tao/ORB_Core.cpp (input_cdr_dblock_allocator): wrapped - break following return with ACE_NOTREACHED, in two places. - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: removed - ACE_Malloc - instantiation because it's now in tao/ORB_Core.cpp. - -Thu Oct 01 00:17:17 1998 Irfan Pyarali - - * tao/ORB_Core.h: Removed template specialization for - INET_Addr.hash(). Also changed/fixed explicit template - instantiations. diff --git a/TAO/ChangeLog-99a b/TAO/ChangeLog-99a deleted file mode 100644 index 186c9cc4a80..00000000000 --- a/TAO/ChangeLog-99a +++ /dev/null @@ -1,14605 +0,0 @@ -Tue Jun 01 21:40:20 1999 Carlos O'Ryan - - * tao/Request_Mux_Strategy.h: - MSVC does not like forward declaration of struct as class - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - Added new files to the project - -Tue Jun 1 21:54:56 1999 Carlos O'Ryan - - * tao/Connector_Registry.cpp: - * tao/Acceptor_Registry.cpp: - Remove all the elements from the acceptor and connector - registries when their close_all() method is invoked. - -Tue Jun 1 21:50:16 1999 Carlos O'Ryan - - * tao/Pluggable.cpp: - Added missing #include - - * tao/UIOP_Transport.cpp: - * tao/IIOP_Transport.cpp: - Removed pesky warnings about unreached statements - -Tue Jun 1 19:48:12 1999 Carlos O'Ryan - - * Merged in the changes from ami_phase1_start to - ami_phase1_end. The main trunk *before* the merge is tagged as - pre_ami_phase1_merge and after the merge is pos_ami_phase1_merge - - * This change is the first phase in the quest for supporting - asynchronous messaging in TAO, it involved a somewhat large - re-organization of the critical path to: - - * Decouple the waiting strategy for the protocol implementations: - a new strategy in incorporated that can handle any of the - current waiting modes (on read, select or the leader-follower - set) using *any* protocol. - - * Allowing multiple simultaneous requests over the same - connection, this is also strategized so low-latency or QoS - enabled applications can obtain better guarantees. Currently - only the "exclusive" strategy is implemented. - - * Decoupling the thread that sends a request from the thread that - receives the reply: a new object is introduced, the - Reply_Dispatcher that will process the reply. Currently the - Synch_Reply_Dispatcher is a noop and simply stores the CDR - stream and reply status. The thread that initiated the request - then process the reply. In the future an - Asynch_Reply_Dispatcher will process the reply as soon as it - arrives and pass it up to the Reply_Handlers specified by the - user when making asynchronous invocations. - - * Most of the work on this branch was done by Alexander Babu - Arulanthu I'm just helping him with the - merge. Please check - http://www.cs.wustl.edu/~alex/Messaging/messaging_design.html - for more details on these changes. - -Tue Jun 1 18:00:23 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Control_State.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Audio_Control_i.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Globals.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_State.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_i.cpp: - Added missing template instantiation pragmas. - - * orbsvcs/tests/AVStreams/mpeg/source/server/as.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/vs.cpp: - Added missing template instantiation pragmas. - - * orbsvcs/tests/AVStreams/mpeg/source/server/Property_Exporter.cpp: - Fixed a Any reference to CORBA::Any. - -Tue Jun 1 17:27:49 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp: - Removed ACE_NTOHL macro from code generated for - 32-bit union case label values (long, ulong and enum). - The bytes were getting swapped one too many times. - Thanks to Carlos for his explanation of the byte- - swapping that goes on in typecode generation. - -Tue Jun 1 14:08:46 1999 Carlos O'Ryan - - * docs/releasenotes/orbcore.html: - Documented the new (and correct) behavior of ORB_init() - -Tue Jun 1 14:37:14 1999 Douglas C. Schmidt - - * examples/Simple/time-date: Got this example to work on UNIX - platforms, as well as NT. - -Tue Jun 1 13:56:09 1999 Vishal Kachroo - - Replaced ACE_U_LongLong * ACE_UINT64 with - ACE_U_LongLong * ACE_UINT32 in the following files : - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp - -Tue Jun 01 12:33:53 1999 Irfan Pyarali - - * tao/TAO.cpp (init_child_poa and init): Added new methods that - take the addition orb name parameter. - - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp - (initialize_orb): Fixed orb initialization such that a different - orb name is specified for every new ORB. - -Tue Jun 01 10:45:04 1999 David L. Levine - - * tao/Request.cpp: added TAO_Object_Manager - explicit instantiation. - - * tao/ValueFactory_Map.cpp: added ACE_Hash_Map_Iterator_Ex - and ACE_Hash_Map_Reverse_Iterator_Ex explicit instantiations. - -Tue Jun 1 09:57:42 1999 Douglas C. Schmidt - - * TAO-INSTALL.html: Updated the list of platforms that TAO is - supported on. - - * tao/Policy.pidl: Removed a stray '_' at the end of the file. - Thanks to David Levine for reporting this. - - * examples/Simple/Simple_util: Fixed more inconsistent programming - style. Thanks to David Levine for reporting this. - -Tue Jun 1 09:37:20 1999 Fred Kuhns - - * removed the explicit instantiation of ACE_Node, - ACE_Unbounded_Set and - ACE_Unbounded_Set_Iterator from params.cpp. These - are already instantiated in Service_Config.cpp. Thanks to David - Levine for reporting this. - -Mon May 31 20:34:26 1999 Irfan Pyarali - - * tests/InterOp-Naming/: Fixed NT project files. - - * performance-tests/POA/Object_Creation_And_Registration/registration.cpp - (parse_args): Fixed signed/unsigned comparison. - - * tao/orb.idl: Included the Policy.pidl file in orb.idl. This - will bring the Policy interface into the CORBA module. - - * tao/Policy.pidl: Added ending pragmas and appropriate #defines - for file inclusion. - -Mon May 31 19:32:29 1999 Carlos O'Ryan - - * docs/releasenotes/ec.html: - * examples/POA/Default_Servant/README: - * examples/POA/Forwarding/README: - * examples/POA/Generic_Servant/README: - * examples/POA/On_Demand_Activation/README: - * examples/Simulator/README: - * orbsvcs/Naming_Service/README: - * orbsvcs/orbsvcs/Event/RT_Task.cpp: - * orbsvcs/tests/start_services: - * orbsvcs/tests/AVStreams/benchmark/server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/server.cpp: - * orbsvcs/tests/EC_Multiple/README: - * orbsvcs/tests/EC_Multiple/run_dynamic: - * orbsvcs/tests/EC_Multiple/run_latency: - * orbsvcs/tests/EC_Multiple/run_overhead: - * orbsvcs/tests/EC_Multiple/run_schedule: - * orbsvcs/tests/EC_Multiple/run_throughput: - * orbsvcs/tests/EC_Multiple/run_utilization: - * performance-tests/Cubit/COOL/IDL_Cubit/README: - * performance-tests/Cubit/CORBAplus/MT_Cubit/server/svr.cpp: - * performance-tests/Cubit/TAO/DII_Cubit/README: - * performance-tests/Thruput/CORBAplus/run_server: - * performance-tests/Thruput/TAO/new_server_test: - * performance-tests/Thruput/TAO/run_server: - * tests/NestedUpcall/MT_Client_Test/README: - * tests/NestedUpcall/Reactor/README: - * tests/NestedUpcall/Triangle_Test/README: - Removed all references to the -ORBhost or -ORBport options, - first because the default values work in most cases and second - because the options are obsolete (-ORBendpoint replaces both). - -Mon May 31 19:21:59 1999 Ossama Othman - - * tao/UIOP_Acceptor.cpp: - - Enabled and fixed default UIOP endpoint creation code. - -Mon May 31 18:09:22 1999 Carlos O'Ryan - - * tests/InterOp-Naming/InterOp-Naming.dsw: - * tests/InterOp-Naming/INS_client.dsp: - * tests/InterOp-Naming/INS_server.dsp: - * tests/InterOp-Naming/InterOp_test.dsp: - Updated the MSVC project files, thanks to Vishal for updating - this example. - -Mon May 31 18:19:01 1999 Jeff Parsons - - * tao/encode.cpp: Removed a superfluous cast to ACE_Message_Block* - in TAO_Marshal_Union::encode(). - -Mon May 31 17:45:56 1999 Jeff Parsons - - * tao/Stub.cpp: Made a change in do_dynamic_call() in the case - where the 'return' Any contains only a message block. This was - one of those 'how did this code ever work?' situations, but it's - possible that this branch had never been tested. After making - this small mod, I saw a way to eliminate two CDR stream - constructions (I think). I left the original code (with the - small fix) commented out, so it can be quickly restored if - anyone sees something I missed or if there are resulting - problems. This fixes a problem reported by Dale/Christine Wood - . - -Mon May 31 17:35:51 1999 Ossama Othman - - * docs/Options.html: Updated -ORBendpoint documentation with new - "default endpoint" description. - -Mon May 31 15:55:07 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp, - orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp, - orbsvcs/orbsvcs/Time/Timer_Helper.cpp: Fixed a warning on - VxWorks. Replaces long int * ACE_UINT64 with ACE_UINT64 * - ACE_UINT64. - - * Removed tests/InterOp-Naming/InterOp_test.cpp as it was - obsolete. - -Mon May 31 16:44:22 1999 Ossama Othman - - * tao/Acceptor_Registry.{h,cpp} (close_all): Added an - Acceptor_Registry::close_all() method that closes all registered - open acceptors. - - * tao/Acceptor_Registry.{h,cpp} (open, open_default): Updated to - accept "empty string" endpoints. If an endpoint is specified - with only the protocol, e.g. `uiop://', then open an Acceptor - with a default endpoint. This conforms to the "iioploc" syntax. - All TAO pluggable protocols will be expected to have the ability - to create a default endpoint. - - Minor cosmetic changes. - - * tao/Connector_Registry.cpp (close_all): Minor cosmetic changes. - - * tao/ORB_Core.cpp (fini): Added calls to - Connector_Registry::close_all() and - Acceptor_Registry::close_all() to make sure all connectors and - acceptors are shutdown properly. - - * tao/IIOP_Profile.cpp (set): Added a comment about passing in - TAO_ORB_Core as a parameter, instead of using the TAO_ORB_Core - singleton. - - * tao/UIOP_Connector.cpp: Fixed pragma template instantiation that - was split between two lines without a backslash. - - * tao/UIOP_Profile.cpp (parse_string): Corrected memory - allocation/deallocation mismatch. Memory was being allocated - using CORBA::string_alloc() but deallocated by delete []. - - * tao/params.cpp: ACE_Unbounded_Set_Iterator template - was being incorrectly instantiated with a second template - argument. In addition, ACE_CString was mispelled "ACE_Cstring." - -Mon May 31 15:55:07 1999 Vishal Kachroo - - Converted the INS test to a stand-alone. It was previously - working in conjunction with the bank server.The test can be used - to locate the Naming Service or any arbitrary service through - iioploc IORs. Added the following files : - - * tests/InterOp-Naming/INS.idl: Defines a simple interface with - a single operation. - - The following files define the INS test server capable of being - located through iiopoc IORs. - * tests/InterOp-Naming/Server_i.h: - * tests/InterOp-Naming/Server_i.cpp: - * tests/InterOp-Naming/INS_test_server: - - The following files define the servant implementation. - * tests/InterOp-Naming/INS_i.cpp: - * tests/InterOp-Naming/INS_i.h: - - The test client : - * tests/InterOp-Naming/INS_test_client.cpp: - - Changed the Makefile and README according to the above changes. - * tests/InterOp-Naming/README: - * tests/InterOp-Naming/Makefile: - -Mon May 31 14:50:07 1999 Nanbor Wang - - * tao/default_resource.cpp (init_protocol_factories): This routine - needs to provide default protocol factories for both IIOP and - UIOP if it cannot get ones from Service_Config. Otherwise, - programs that skip TAO_Internal::open_services() won't work. - -Mon May 31 13:49:17 1999 Ossama Othman - - * performance-tests/Cubit/TAO/MT_Cubit/server.cpp: - - Removed all occurrences of -ORBhost and -ORBport, and updated - to use new -ORBendpoint option instead. This removes all of the - run-time warnings regarding the usage of -ORBhost and -ORBport. - -Mon May 31 11:56:43 1999 Nanbor Wang - - * performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp - (main): Removed unused . Rearranged code. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp - (~Cubit_Server): No need to deactivate the factory object - because by the time we reach the destructor, the ORB has already - been shut down. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp - (init,shutdown_server): Changed to toggle collocation - optimization directly from the ORB. We cannot do this thru - TAO_ORB_Core_instance anymore because it gives you back the - "default" ORB which is not the one we want in collocation_test. - - * performance-tests/Cubit/TAO/IDL_Cubit/collocation/svc.conf: - Changed obsolete option -ORBreactorlock to -ORBreactortype. - Changed to use reactive concurrency model. Currently, ORB - cannot shutdown the acceptor thread if we use - thread-per-connection model. - -Mon May 31 11:22:53 1999 Douglas C. Schmidt - - * examples/Simple/time-date: Added a new example that illustrates - how to dynamically link the TAO ORB into an application using - the ACE Service Configurator. Thanks to Michael Kircher for - helping with this implementation. - - * examples/Simple/Simple_Util: Fixed a few inconsistencies in the - programming style. - - * tao/ORB_Core.cpp (init), - tao/TAO_Internal.cpp (close_services): Added the - SkipServiceConfigOpen option to ensure the ORB doesn't try to - perform the Service Config open() processing, which is important - if the ORB is already being linked by the ACE Service - Configurator. - -Sun May 30 21:23:31 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/sfp.idl : - * orbsvcs/orbsvcs/AV/sfp.cpp: - - Fixed the case-only difference in IDL by suffixing a _Msg to all - enumerators as a temporary fix until the OMG AVStreams RTF fixes - the SFP idl. - -Sun May 30 16:23:17 1999 Ossama Othman - - * docs/releasenotes/index.html: - * docs/releasenotes/orbcore.html: - - Updated Pluggable Protocol release notes and updated all - references of the now deprecated "-ORBhost" and "-ORBport" - options with "-ORBendpoint." - -Sun May 30 13:51:18 1999 Ossama Othman - - * tao/Acceptor_Registry.cpp: - * tao/Connector_Registry.cpp: - * tao/Protocol_Factory.cpp: - * tao/Resource_Factory.cpp: - - Removed semi-colons at end of pragma template instantiations. - -Sun May 30 13:39:47 1999 Jeff Parsons - - * docs/compiler.html: - Added new IDL compiler options -Cw and -Ce to the - releasenotes, along with an explanation of the - current inconsistency between OMG's identifier - spelling rule and its sfp.idl file. - -Sat May 29 20:25:10 1999 Jeff Parsons - - * TAO_IDL/include/UTL_Identifier.h: - * TAO_IDL/include/UTL_Error.h: - * TAO_IDL/include/IDL_Global.h: - * TAO_IDL/util/UTL_Identifier.cpp: - * TAO_IDL/util/UTL_Scope.cpp: - * TAO_IDL/util/UTL_Global.cpp: - * TAO_IDL/util/UTL_String.cpp: - * TAO_IDL/util/UTL_Error.cpp: - * TAO_IDL/driver/DRV_Args.cpp: - Started out as an attempt to have the IDL compiler output - an error if two identifiers in the same scope differ only - in the case of one or more or their characters. However, it - was discovered that sfp.idl (which is derived from the spec) - contains such errors - some enum values clash with struct - names, and since enums don't generate their own scope... - So what we did was to default the IDl compiler to produce - a warning if this happens. This behavior can also be - specified explicitly by the command line option -Cw. To - be more strict and produce errors instead, use the command - line option -Ce. - -Sat May 29 17:48:24 1999 Irfan Pyarali - - * tao/Object.cpp (_non_existent): This function is not required - with minimum CORBA. - - * tao/POAC: Forwarding exception is not supported with minimum - CORBA. - - * tao/UIOP_Connect.cpp (handle_locate): - * tao/Connect.cpp (handle_locate): - - No need to check for Forwarding exception in the case of minimum - CORBA. - - * tao/orbconf.h: With minimum CORBA, we don't have the - ForwardRequest exception. Therefore, we can't support the INS - forwarding agent. - -Sat May 29 16:33:13 1999 Jeff Parsons - - * TAO/tests/DynAny_Test/da_tests.idl: - * TAO/tests/DynAny_Test/test_dynenum.cpp: - * TAO/tests/DynAny_Test/test_dynunion.cpp: - Changed some enum value names in the IDl file to - be not so likely to clash with something else in the - namespace. Hopefully this will get rid of some DU - errors, reported by David Levine. - -Sat May 29 13:40:41 1999 Marina Spivak - - * tao/TAO.{h, cpp} (TAO_ORB_Manager): - added method to put the POA manager into - the state for processing the requests. This is useful - for clients, which are not going to call "orb->run", yet want to - be able to process incoming CORBA requests while waiting on CORBA - requests sent to servers. - * orbsvcs/tests/Simple_Naming/client.cpp: - added a call to TAO_ORB_Manager::activate_poa_manager in client - initialization code, so client can respond to incoming requests - (this fixes a problem in Exception test that surfaced due to - recent updates to the POA). - -Fri May 28 23:11:56 1999 Carlos O'Ryan - - * tao/Connect.cpp: - Instead of constructing a CORBA::Environment on the stack for - each upcall we use the one allocated on TSS storage. This saves - a little time since each Environment has its one mutex that - needs to be initialized in that case. - - * performance-tests/Cubit/TAO/IDL_Cubit/client.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/server.cpp: - The server and client try to put themselves on the real-time - scheduling class, if they cannot make it they just print a - warning. - -Fri May 28 16:21:02 1999 Jeff Parsons - - * tao/ORB.cpp: - Removed 'ACE_INLINE' from the create_dyn_* functions, - which had eveidently been moved out of ORB.i. Thanks - to Carlos for reporting the resulting link errors - on CC. - -Fri May 28 15:51:18 1999 Vishal Kachroo - - Fixed the overflow problem in some expressions. Thanks to - Byron Harris for reporting this and - suggesting the fix. - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp: - -Fri May 28 12:09:27 1999 Carlos O'Ryan - - * tao/Object.cpp: - Added missing #include - -Fri May 28 09:56:29 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_root/root.cpp: - Fixed bug in processing for forward declarations. - -Fri May 28 04:41:30 1999 Nanbor Wang - - * docs/compiler.html: Added documentation for -Gv flag (to - generate code that supports OBV.) - - * TAO_IDL/ast/ast_module.cpp (AST_Module): Symbols in module CORBA - should only be added to the table once. - - * tao/orb.idl: Added macros to avoid including this file twice. - - * tao/GIOP_Server_Request.i (principal): Changed to return - Principal_var::ptr() directly to avoid type ambiguity. - - * tao/Stub.i: Reordered function definitions to avoid inline - functions being used before declared inlined. - -Thu May 27 23:15:53 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (init_new_naming): - Modified to add the object reference to the root naming context to - the orb's ior lookup table, so that Naming Service can be located - through iioploc IORs. - -Thu May 27 22:00:07 1999 Carlos O'Ryan - - * tao/Any.cpp: - * tao/Object.cpp: - If an object is extracted from an InputCDR stream that doesn't - have an ORB Core configured then the default ORB core is - used. This is common in extraction from Anys. - Thanks to Jeff Parsons for tracking this down. - - * TAO_IDL/driver/drv_preproc.cpp: - Added missing '/' between ACE_ROOT and TAO/tao to find the - orb.idl file - -Thu May 27 21:42:28 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_array.cpp: - Fixed a typo. - -Thu May 27 21:02:54 1999 Carlos O'Ryan - - * TAO_IDL/Makefile: - * TAO_IDL/be/be_decl.cpp: - * TAO_IDL/be/be_visitor_array.cpp: - * TAO_IDL/be/be_visitor_enum.cpp: - * TAO_IDL/be/be_visitor_exception.cpp: - * TAO_IDL/be/be_visitor_factory.cpp: - * TAO_IDL/be/be_visitor_field.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_visitor_root.cpp: - * TAO_IDL/be/be_visitor_sequence.cpp: - * TAO_IDL/be/be_visitor_structure.cpp: - * TAO_IDL/be/be_visitor_typedef.cpp: - * TAO_IDL/be/be_visitor_union.cpp: - * TAO_IDL/be/be_visitor_union_branch.cpp: - * TAO_IDL/be/be_visitor_valuetype.cpp: - * TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_array/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_enum/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_enum/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_exception/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_exception/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_exception/exception.cpp: - * TAO_IDL/be/be_visitor_field/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_interface/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_interface/interface.cpp: - * TAO_IDL/be/be_visitor_module/module.cpp: - * TAO_IDL/be/be_visitor_root/root.cpp: - * TAO_IDL/be/be_visitor_sequence/cdr_op_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp: - * TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_structure/structure.cpp: - * TAO_IDL/be/be_visitor_typedef/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_typedef/typedef.cpp: - * TAO_IDL/be/be_visitor_union/cdr_op_ch.cpp: - * TAO_IDL/be/be_visitor_union/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_union/union.cpp: - * TAO_IDL/be/be_visitor_union_branch/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_valuetype/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_valuetype/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_valuetype/field_cdr_ci.cpp: - * TAO_IDL/be/be_visitor_valuetype/valuetype.cpp: - * TAO_IDL/be_include/be_codegen.h: - * TAO_IDL/be_include/be_visitor_array.h: - * TAO_IDL/be_include/be_visitor_enum.h: - * TAO_IDL/be_include/be_visitor_exception.h: - * TAO_IDL/be_include/be_visitor_field.h: - * TAO_IDL/be_include/be_visitor_interface.h: - * TAO_IDL/be_include/be_visitor_sequence.h: - * TAO_IDL/be_include/be_visitor_structure.h: - * TAO_IDL/be_include/be_visitor_typedef.h: - * TAO_IDL/be_include/be_visitor_union.h: - * TAO_IDL/be_include/be_visitor_union_branch.h: - * TAO_IDL/be_include/be_visitor_valuetype.h: - * TAO_IDL/be_include/be_visitor_array/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_array/cdr_op_cs.h: - * TAO_IDL/be_include/be_visitor_enum/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_enum/cdr_op_cs.h: - * TAO_IDL/be_include/be_visitor_exception/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_exception/cdr_op_cs.h: - * TAO_IDL/be_include/be_visitor_field/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_field/cdr_op_cs.h: - * TAO_IDL/be_include/be_visitor_interface/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_sequence/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_structure/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_structure/cdr_op_cs.h: - * TAO_IDL/be_include/be_visitor_typedef/cdr_op_ch.h: - * TAO_IDL/be_include/be_visitor_typedef/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_typedef/cdr_op_cs.h: - * TAO_IDL/be_include/be_visitor_union/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_union/cdr_op_cs.h: - * TAO_IDL/be_include/be_visitor_union_branch/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_union_branch/cdr_op_cs.h: - * TAO_IDL/be_include/be_visitor_valuetype/cdr_op_ch.h: - * TAO_IDL/be_include/be_visitor_valuetype/cdr_op_ci.h: - * TAO_IDL/be_include/be_visitor_valuetype/cdr_op_cs.h: - * TAO_IDL/be_include/be_visitor_valuetype/field_cdr_ci.h: - Moved all the code to generate CDR extraction and insertion - operators to the _ci files (and classes), they were in the _cs - files due to an historic accident. - This was no big deal, but I needed to move the CDR operators for - sequences generated into the *C.cpp files, so I needed to - separate the code for the C.i file from the code to the C.cpp - file. - With this change Param_Test compiles with both compiled and - interpretive marshaling. - - * tests/Multiple_Profiles/Makefile: - * tests/Multiple_Profiles/forward.cpp: - Removed, the test was obsolete. - -Thu May 27 19:16:47 1999 Jeff Parsons - - * tao/orb.idl: - Removed the empty "interface" definitions. Recognizing certain - scoped names is now handled in the IDL compiler. - - * TAO_IDL/fe/fe_init.cpp: - Removed initialization of predefined types 'TypeCode' and - 'ValueBase'. They're now added inside CORBA module, and - must not be used in an IDL file without the CORBA:: - scoping. - - * TAO_IDL/be/be_module.cpp: - Added code to call base class (AST_Module) constructor - explicitly, in order to use a private function to add - the above types to the symbol table. - - * TAO_IDL/ast/ast_module.cpp: - If called for 'module CORBA' inside orb.idl, constructor adds - 'CORBA::TypeCode' and 'CORBA::ValueBase' to symbol - table. - - * TAO/tests/Param_Test/param_test.idl: - Added '#include ' and scoped all typecode - test parameters with 'CORBA::'. - - * TAO/tests/Param_Test/server.dsp: - * TAO/tests/Param_Test/Makefile: - Removed '-Gi' from command line for IDL compiler. - Carlos fixed the problem that made that arg necessary. - - * TAO/orbsvcs/orbsvcs/CosPropertyService.idl: - * TAO/orbsvcs/orbsvcs/CosTradingDynamic.idl: - * TAO/orbsvcs/orbsvcs/CosTradingRepos.idl: - Added '#include ' and added 'CORBA::' to - all 'TypeCode' parameters. - -Thu May 27 18:14:26 1999 Ossama Othman - - * docs/Options.html: - - Added the new `-ORBendpoint' option to the CORBA::ORB option - table, and added a note to the `-ORBhost' and `-ORBport' options - explaining that the `-ORBendpoint' option supercedes them. - - Updated the `-ORBpreconnect' option description to reflect the - new endpoint format. - -Thu May 27 14:27:21 1999 Ossama Othman - - * tao/[IU]IOP_Connector.cpp (preconnect): - - Fixed bug where memory was being freed even if no memory was - allocated. - - Added debugging output for successful and unsuccessful - preconnections. - -Thu May 27 12:28:45 1999 Ossama Othman - - * tao/[IU]IOP_Profile.cpp (parse_string, to_string): - - Updated URL style object reference parsing and creation methods - to conform to the "iioploc" BNF specification. All URL style - object references will be of the form: - - protocol://V.v@addr1,...,W.w@addrN/object_key - - The version prefix (e.g. "V.v@") is optional. All endpoints and - preconnects specified with the "-ORBendpoint" and - "-ORBpreconnect" command line options should be of the above - form (without the object key). - - NOTE: The UIOP URL style object reference uses a vertical bar - "|" to delimit where the object key begins. This is needed to - avoid any ambiguities caused by the fact that UIOP endpoints can - have forward slashes "/" in them. The use of the vertical bar - "|" as an object key delimiter for UIOP may change in the - future. - - * tao/Pluggable.cpp (make_mprofile): - * tao/params.cpp (parse_endpoint): - - Updated to support the new URL style endpoints as specified by - the "iioploc" BNF specification. - - * tao/Acceptor_Registry.cpp (open): - * tao/[IU]IOP_Connector.cpp (preconnect): - - Corrected a problem where the protocol version was not removed - from the endpoint string prior to passing it to the appropriate - acceptor/connector. - - * tao/Pluggable.h: - * tao/[IU]IOP_Connector.{h,cpp}: - - Added "object_key_delimiter ()" method. This method is used - when parsing URL style IORs during MProfile creation. - - * tao/ORB_Core.cpp (init): - - Fixed the "-ORBpreconnect" option so that the preconnect strings - get added to the preconnect set, not the endpoint set. - -Thu May 27 11:55:55 1999 Irfan Pyarali - - * performance-tests/POA/Object_Creation_And_Registration/registration.cpp: - Small fixes to the quantify code. - -Wed May 26 22:28:18 1999 Irfan Pyarali - - * TAO: Patched a bunch of NT project files: - - - examples/TAO_Examples.dsw - - examples/Callback_Quoter/Consumer.dsp - - examples/Callback_Quoter/Notifier.dsp - - examples/Callback_Quoter/Supplier.dsp - - examples/Event_Comm/Consumer.dsp - - examples/Event_Comm/Event_Comm.dsw - - examples/Event_Comm/Notifier.dsp - - examples/Event_Comm/Supplier.dsp - - examples/OBV/Typed_Events/client.dsp - - examples/OBV/Typed_Events/server.dsp - - examples/POA/DSI/client.dsp - - examples/POA/DSI/server.dsp - - examples/POA/Default_Servant/client.dsp - - examples/POA/Default_Servant/server.dsp - - examples/POA/Forwarding/client.dsp - - examples/POA/Forwarding/server.dsp - - examples/POA/Generic_Servant/client.dsp - - examples/POA/Generic_Servant/server.dsp - - examples/POA/Identity/Identity.dsp - - examples/POA/TIE/client.dsp - - examples/POA/TIE/server.dsp - - examples/Quoter/Factory_Finder.dsp - - examples/Quoter/Generic_Factory.dsp - - examples/Quoter/client.dsp - - examples/Quoter/server.dsp - - examples/Simple/bank/client.dsp - - examples/Simple/bank/server.dsp - - examples/Simple/chat/client.dsp - - examples/Simple/chat/server.dsp - - examples/Simple/echo/client.dsp - - examples/Simple/echo/server.dsp - - examples/Simple/grid/client.dsp - - examples/Simple/grid/server.dsp - - examples/Simple/time/client.dsp - - examples/Simple/time/server.dsp - - examples/Simple/time-date/Time_Date.idl - - examples/Simple/time-date/Time_Date_Client_i.cpp - - examples/Simple/time-date/Time_Date_Client_i.h - - examples/Simple/time-date/Time_Date_i.cpp - - examples/Simple/time-date/Time_Date_i.h - - examples/Simple/time-date/client.dsp - - examples/Simple/time-date/client_static.dsp - - examples/Simple/time-date/server.dsp - - examples/Simple/time-date/server_static.dsp - - examples/Simple/time-date/time_date.dsw - - performance-tests/TAO_Perf_Tests.dsw - - performance-tests/POA/Object_Creation_And_Registration/registration.dsp - - performance-tests/Pluggable/Pluggable.dsw - - performance-tests/Pluggable/client.dsp - - performance-tests/Pluggable/server.dsp - -Thu May 27 10:05:28 1999 Carlos O'Ryan - - * tao/Managed_Types.i: - Fixed initialization of TAO_String_Manager, unfortunately we - still don't have a portable fix for TAO_WString_Manager. - Thanks to Tim Stack for reporting this - problem. - -Thu May 27 09:55:10 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp: - * TAO_IDL/be/be_visitor_argument/marshal_ss.cpp: - Fixed problem with generated code for arrays in interpretive - marshaling based skeletons. - - * TAO_IDL/be_include/be_codegen.h: - Minor cosmetic fixes. - -Thu May 27 09:16:17 1999 Jeff Parsons - - * tao/decode.cpp: - * tao/Stub.cpp: - Changed some any_owns_data_ assignments from 1 to 0. - In all cases, the Any's value_ had just been freed - and set to 0. - -Thu May 27 09:06:01 1999 Jeff Parsons - - * tao/corbafwd.h: - * tao/Principal.h: - * tao/Principal.i: - * tao/GIOP_Server_Request.h: - * tao/GIOP_Server_Request.cpp: - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - Added _var and _out code for class Principal, and - made request_principal_ member of GIOP_Server_Request - a _var. When a TAO server gets a request from an - OmniORB client, the Principal pointer in the header - is non-null, and we were leaking the memory. Thanks - to Rebecca Sanford - for pointing this out. - -Wed May 26 21:40:34 1999 Carlos O'Ryan - - * examples/POA/Adapter_Activator/run_test.pl: - * examples/POA/Explicit_Activation/run_test.pl: - * examples/POA/Forwarding/run_test.pl: - * examples/POA/Loader/run_test.pl: - * examples/POA/On_Demand_Activation/run_test.pl: - * examples/POA/On_Demand_Loading/run_test.pl: - * examples/POA/Reference_Counted_Servant/run_test.pl: - * examples/Quoter/run_test.pl: - * orbsvcs/tests/AVStreams/benchmark/run_test.pl: - * orbsvcs/tests/ImplRepo/run_test.pl: - * orbsvcs/tests/Time/run_test.pl: - * performance-tests/Cubit/TAO/DII_Cubit/run_test.pl: - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: - * performance-tests/Cubit/TAO/MT_Cubit/run_test.pl: - * tests/CDR/run_test.pl: - * tests/NestedUpcall/MT_Client_Test/run_test.pl: - * tests/NestedUpcall/Reactor/run_test.pl: - * tests/NestedUpcall/Triangle_Test/run_test.pl: - * tests/Param_Test/run_test.pl: - Removed all uses of -ORBobjrefstyle and -ORBport from the - run_test.pl scripts. - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - Changed the deprecated -ORBport and -ORBhost options for a - -ORBendpoint option. - - * performance-tests/POA/Object_Creation_And_Registration/registration.cpp: - Added little methods to wrap around Quantify vs. Visual Quantify - calls. - -Wed May 26 20:44:30 1999 Carlos O'Ryan - - * tao/Pluggable.h: - * tao/IIOP_Connector.h: - * tao/IIOP_Connector.cpp: - * tao/UIOP_Connector.h: - * tao/UIOP_Connector.cpp: - Declaring a method with return type "const char" is superfluous, - "char" is enough. Some compilers don't like that. - -Wed May 26 20:21:18 1999 Carlos O'Ryan - - * tao/Pluggable.cpp: - A variable declared in a loop (like for(int i;;)), was declared - again in another loop, this is not a problem in ANSI C++, but - some compilers don't know this yet. - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - Added the new files (from the branch) into the project files. - -Wed May 26 18:51:39 1999 Carlos O'Ryan - - * tao/*: - Merged the pluggable_testing branch. From the tag - to - The main trunk was tagged before - (pluggable_testing_pre_merge1) and after the merge - (pluggable_testing_pos_merge1). - - Now for the interesting stuff: this branch adds support for: - - * Multiple endpoints in the ORB, a list of TAO_Acceptors is kept - in the acceptor registry, when the ORB needs to create an IOR it - iterates over all the acceptors to do so. Using either multiple - -ORBendpoint options or several endpoints separated by ';' the - user can specify what addresses the ORB should use. Each - endpoint is specified in URL format - (ex: iiop://foo.bar.com:0), this format can be extended to - support different protocols. - - * If the user does not specify a list of endpoints then the ORB - creates a default endpoint for each protocol configured. - - * Support for multiple Connectors in the ORB, the ORB finds the - correct connector based on the tag for the profile. - - * Support for multiple profiles in the IORs, when the ORB - demarshals an IOR it queries the Connector Registry to create - the right kind of profile for the known protocols. If one of - the protocols is unknown we create a special profile class - that can only be used for marshaling and demarshaling, not - communication. - - * Protocol can be dynamically loaded into the ORB: the default - resource factory reads the protocol "names" from its list of - arguments. These protocol names are used to load an abstract - factory via the service configurator, this factory can create - acceptors or connectors on demand. - By default only IIOP and UIOP are loaded. - - * Added a correct implementation of CORBA::ORB_init(), if the - same ORBid is passed (either in the orbid argument or via an - -ORBid option) the same ORB is returned. WARNING: this changes - the current behavior in TAO, which returns a different ORB on - each thread! - - * The -ORBhost and -ORBport options are deprecated, the new - -ORBendpoint option supercedes them, the ORB issues a warning if - they are used. - - * The -ORBpreconnect option supports multiple protocols using the - same URL formats that -ORBendpoint does. Notice that the old - host:port format is supported for backwards compatibility. - - * Enabled the UIOP protocol, this protocol uses local IPC (aka - UNIX domain) sockets as the transport mechanism. The protocol - is loaded by default but no endpoints are created unless an - explicit -ORBendpoint option is used. - - * Most of these changes where implemented by Fred Kuhns and Ossama - Othman. I am simply the humble CVS merger - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/Time_Service/IR_Helper.h: - * orbsvcs/Time_Service/IR_Helper.cpp: - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - Adapted to work with the pluggable protocols framework, but - needs a major redesign to be fully integrated. - - * */Makefile: - Updated dependencies - -Wed May 26 17:37:40 1999 Vishal Kachroo - - * tao/ORB.cpp : Used delete [] in resolve_initial_references () - instead of delete. Changed the signatures of add/find IORs in - the IOR table to use consts. - * tao/ORB.h : Changed the function declarations for the above. - * tao/IOR_LookupTable.cpp : Removed the private members ObjectID - and IOR table. Added comments for the class description. Used - consts in the function declarations wherever appropriate. - * tao/IOR_LookupTable.h : Changed the function declarations for - the above. - -Wed May 26 15:50:00 1999 Irfan Pyarali - - * tao/POAManager: - - Fixed hold_requests_i(), discard_requests_i(), and - deactivate_i() such that there is a check for a valid - flag and the flag is - processed correctly on all the POAs that the POA Manager is - managing. - - * tao/POA: - - Renamed to - since waiting doesn't only happen on destruction. - - find_POA_i(): Check the state of the POA Manager before - dispatching a POA creation request to the adapter activator. - - check_for_valid_wait_for_completions(): The thread that calls a - POA/ORB function with set to true must not - be a dispatch thread itself. If it is, this would lead to a - deadlock situation. In this case, the ORB must raise a - CORBA::BAD_INV_ORDER() exception. - - wait_for_completions(): Waits for outstanding requests on this - POA to complete. - - cleanup_servant(): We need to let go of the Object Adapter / POA - lock before calling etherealize() on the servant activator. - - cleanup_servant(): Teardown of the servant lock must happen - before the _remove_ref() or etherealize() calls since they might - end up deleting the servant. - - * tao/Object_Adapter: - - deactivate(): The Object Adapter now keeps a list of all active - POA Managers. This is useful in ORB::shutdown() where we need - to deactivate all the POA Managers. - - dispatch_servant_i(): Check the state of the POA Manager before - dispatching the client request to the target POA. Only if the - POA Manager state is active is the request dispatched to the - servant. - - dispatch_servant_i(): The single threaded POA lock must be - acquired *after* the POA lock has been released. This is - necessary since we cannot block waiting for the servant lock - while holding the POA lock. Otherwise, the thread that wants to - release this lock will not be able to do so since it can't - acquire the POA lock. - - * tao/ORB.cpp (shutdown): Fixed this function such that it - properly deactivates all the POA Managers. - - * tao/Messaging_Policy_i.h: Fixed inherits via dominance warnings. - - * performance-tests/POA/Object_Creation_And_Registration/registration.cpp: - This test was out of date and needed some maintenance. Also, - made the reverse map effectiveness checking optional, and added - exception checking code. - -Wed May 26 14:56:03 1999 Nanbor Wang - - * examples/OBV/Typed_Events/Event_Types_impl.h: Disabled VC - warning 4250. Also added macros to prevent circular inclusion. - - * examples/OBV/Typed_Events/Event_Types.dsw: - * examples/OBV/Typed_Events/client.dsp: - * examples/OBV/Typed_Events/server.dsp: New workspace/projects. - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: Fixed build options for - newly added template files. - -Wed May 26 14:05:18 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/IOR_Multicast.cpp: - Added missing include file. - -Wed May 26 13:56:56 1999 Nanbor Wang - - * tao/Messaging_Policy_i.h: Disabled VC warning 4250 for class - TAO_RelativeRoundtrigTimeoutPolicy_i. - -Wed May 26 11:54:39 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union_branch/cdr_op_cs.cpp: - Fixed extractor for pseudo objects (at least for - the two cases TypeCode and Object. A case for - ValueBase is still TODO). - -Wed May 26 10:28:21 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: - Fixed extractor for bounded strings. Existing - code assumed that CORBA::Any::to_string::bound_ - includes the terminating '\0', which it does not. - Thanks to Keith Nichol - for pointing this out. - -Wed May 26 08:41:32 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/CosEvent_Utilities.cpp: - Added several explicit .in() calls to convert from T_var into - T_ptr, old g++ cannot handle the implicit conversion. Thanks to - David Levine for bringing this up. - -Tue May 25 17:00:08 1999 Balachandran Natarajan - - * examples/Callback_Quoter/Supplier_i.cpp (via_naming_service): - * examples/Callback_Quoter/Consumer_Handler.cpp - * examples/Callback_Quoter/Consumer_Input_Handler.cpp - * examples/Callback_Quoter/Consumer_Signal_Handler.cpp - * examples/Callback_Quoter/Notifier_Input_Handler.cpp - * examples/Callback_Quoter/Notifier_i.cpp - * examples/Callback_Quoter/Supplier_i.cpp - * examples/Callback_Quoter/notifier.cpp : Removed some - ACE_TRY_NEW_ENV's and cleaned up the way exception handling is - being done. - -Tue May 25 16:24:23 1999 Nanbor Wang - - * tao/ORB_Core.cpp (set_endpoint): Seveal "reason" strings for - "%p" directive were missing. Thanks to Christopher Kohlhoff - for pointing this out. - -Tue May 25 12:54:23 1999 Carlos O'Ryan - - * tao/Messaging_Policy_i.h: - Fixed syntax error only IRIX catched this one. - - * tao/ORB.h: - The throw specs need complete types in IRIX/MIPSPro, added - include for PolicyC.h - - * tao/ORB.cpp: - Fixed problems in resolve_initial_references. - -Tue May 25 12:39:27 1999 David L. Levine - - * tao/Environment.cpp,Exception.{h,cpp},Invocation.cpp,corbafwd.h: - added support for passing location and errno through minor status - of CORBA_SystemExceptions. - - * docs/releasenotes/orbcore.html: added mention of support - for CORBA_SystemException minor status. - -Tue May 25 12:17:00 1999 Carlos O'Ryan - - * orbsvcs/tests/Event/Performance/Connect.dsp: - * orbsvcs/tests/Event/Performance/Throughput.dsp: - * orbsvcs/tests/Event/lib/ECTest.dsp: - Fixed configuration for Win32/Release - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - Added new files to the TAO project - -Tue May 25 12:07:25 1999 Carlos O'Ryan - - * tao/Makefile: - TAO_HAS_CORBA_MESSAGING is defined in the orbconf.h the user - must comment out that definition to eliminate the CORBA - messaging support. - - * tao/Invocation.cpp: - Added some debugging code (currently commented out) to test the - timeout policies. - If the send() call fails we should return an TAO_INVOKE_RESTART, - this needs more debugging, but the code there was broken - anyway. - - * tao/Messaging_Policy_i.cpp: - * tao/Messaging_Policy_i.h: - * tao/Messaging_Policy_i.i: - Added new file for the Messaging policy implementations. - - * tao/MessagingS.h: - Removed declaration of skeletons, the skeletons where in fact - removed, but somehow I missed the files. - - * tao/orbconf.h: - * tao/MessagingC.cpp: - Initialize the Policy_Type constants using macros in orbconf.h - that way we can use the same macros to switch() in the code. - - * tao/ORB.h: - * tao/ORB.cpp: - Added the create_policy() method, it delegates on the right - class to actually create the policy. - In resolve_initial_references() the hard-coded object ids (such - as "RootPOA") are searched before anything else. - - * tao/Stub.h: - * tao/Stub.cpp: - * tao/ORB_Core.h: - * tao/ORB_Core.i: - Added new method to query the default timeout policy in an - efficient way. - - * tao/Policy_Manager.h: - * tao/Policy_Manager.i: - * tao/Policy_Manager.cpp: - We keep a pointer to the RelativeRoundtripTimeoutPolicy - *implementation* that way the ORB can speed up its lookups, - minimize memory allocations and in general work in a more - deterministic way. - - * tao/corbafwd.h: - Added missing forward declaration for PolicyManager_var, - PolicyCurrent_var and their _out classes. - -Tue May 25 11:50:01 1999 Nanbor Wang - - * tao/ORB.cpp (ORB_init): Removed out-dated comments. Thanks to - Irfan for pointing this out. - -Tue May 25 11:40:29 1999 Jeff Parsons - - * TAO/orbsvcs/orbsvcs/AV/sfp.cpp: - Initialized 'result' in end_stream()to avoid a compiler - warning. - -Tue May 25 11:21:00 1999 Jeff Parsons - - * TAO_IDL/fe/idl.yy: - * TAO_IDL/fe/y.tab.{h,cpp}: - Added a couple of ACE_UNUSED_ARG macros to the - yacc file and regenerated y.tab. Thanks to David - Levine for pointing out the egcs warnings. - -Tue May 25 11:03:17 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - Fixed errors in fragment size computation, thanks to J. Russell - Noseworthy for catching this up - and providing a fix. - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: - Fixed several uses of T_var in calls to _duplicate(), old g++ - needs you to call the .in() method explicitly. Thanks to Irfan - for catching this one. - -Tue May 25 10:06:41 1999 Irfan Pyarali - - * tao/Request.cpp: Moved the #endif for TAO_HAS_MINIMUM_CORBA - after the template instantiations. Thanks to Andreas - for pointing this out. - -Tue May 25 10:23:52 1999 Jeff Parsons - - * TAO_IDL/be/be_union.cpp: - Fixed a signed/unsigned mismatch and an unused - variable warning. - - * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp: - Fixed some 'statement not reached' warnings. - -Tue May 25 08:23:03 1999 David L. Levine - - * tao/try_macros.h (TAO_THROW_ENV,TAO_THROW_ENV_RETURN): - with native exceptions, added ACE_UNUSED_ARG (ENV). - - * examples/Quoter/Quoter_i.cpp (copy): wrapped final - return statement with ACE_NOTREACHED, to please - DU cxx 6.2-021. - - * orbsvcs/tests/Simple_Naming/client.cpp (init): - commented out retun in catchany clause, to avoid - warning about redundant return at end of function - from DU cxx. - -Tue May 25 01:42:03 1999 Nanbor Wang - - * tao/Exception.h (TAO_Exceptions): Added an static ACE_Allocator - pointer which is used when building the - global system exception typecode. - - * tao/Exception.cpp (init,fini): Added creation and deletion of - . - (make_unknown_user_typecode,make_standard_typecode): Changed to - use the TAO_Exceptions::global_allocator_ for OutputCDR's. They - are default to acquire allocators from the ORB. But we have to - move the typecode creation before the ORB_init call so we can - throw exceptions in case ORB_init itself failed. - - * tao/ORB.cpp (ORB_init): Moved init_orb_globals method before - oc->init because init_orb_globals no longer accesses the orb. - This allows up to throw an exception if ORB_init failed. TAO - players, notice that you should not access any orb specific - information from within init_orb_globals method because the ORB - was not initialized when the orb globals get constructed. - -Mon May 24 22:15:05 1999 Jeff Parsons - - * tao/corbafwd.h: - Added a 'CORBA_' to one of the TypeCode typedefs so it - cosmetically matches the other groups of typedefs. - -Mon May 24 17:56:22 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union_branch/cdr_op_cs.cpp: - Removed '.in ()' and '.out ()' from pseudo-object - implementations of << and >> respectively. Pseudo- - objects are declared in unions as _ptr, not as _var. - -Mon May 24 16:28:20 1999 Irfan Pyarali - - * tao/Policy_Manager.cpp (implementation): Moved a couple of - functions from the .i file to the .cpp file so that it compiles - when inlining is turned on. - -Mon May 24 16:43:17 1999 Jeff Parsons - - * TAO/tests/Dynany_Test/test_dynarray.cpp: - * TAO/tests/Dynany_Test/test_dynsequence.cpp: - * TAO/tests/Dynany_Test/test_dynstruct.cpp: - Fixed some scoping errors due to my moving AnySeq, - FieldName and NameValuePairSeq to the CORBA - namespace. Thanks to Irfan for reporting this - problem. - - * TAO/tests/DynAny_Test/da_tests.idl: - Commented out a typecode-inside-union case until - it can be fixed in the IDL compiler. - -Mon May 24 16:20:39 1999 Jeff Parsons - - * TAO/tests/Param_Test/recursive_struct.h: - * TAO/tests/Param_Test/recursive_struct.cpp: - * TAO/tests/Param_Test/param_test.idl: - * TAO/tests/Param_Test/param_test_i.h: - * TAO/tests/Param_Test/param_test_i.cpp: - * TAO/tests/Param_Test/driver.cpp: - * TAO/tests/Param_Test/options.h: - * TAO/tests/Param_Test/options.cpp: - * TAO/tests/Param_Test/tests.h: - * TAO/tests/Param_Test/client.dsp: - * TAO/tests/Param_Test/run_test.pl: - * TAO/tests/Param_Test/Makefile: - Added new test to Param_Test to test a struct that - contains a sequence of itself, for example: - struct foo { - long x; - sequence offspring; - }; - Also made the IDL compiler use interpreted marshaling - until a further mod to the IDl compiler is made - (according to Andy, his changes work now only for - interpreted marshaling). - -Mon May 24 16:03:20 1999 Irfan Pyarali - - * tests: Modified/fixed the following NT makefiles: - - - TAO_Tests.dsw - - DynAny_Test/DynAny_Test.dsw - - DynAny_Test/basic_test.dsp - - InterOp-Naming/InterOp_test.dsp - - MT_Client/client.dsp - - MT_Client/orb_creation.dsp - - MT_Client/server.dsp - - NestedUpcall/MT_Client_Test/client.dsp - - NestedUpcall/MT_Client_Test/server.dsp - - NestedUpcall/Reactor/client.dsp - - NestedUpcall/Reactor/server.dsp - - NestedUpcall/Triangle_Test/initiator.dsp - - NestedUpcall/Triangle_Test/server_A.dsp - - NestedUpcall/Triangle_Test/server_B.dsp - -Mon May 24 15:58:14 1999 Jeff Parsons - - * tao/CDR_Interpreter.cpp: - Committed a fix to calc_seq_attributes() sent to me - by Andy Gokhale , - which corrected a problem with recursive structs. - Thanks, Andy! - -Mon May 24 15:35:57 1999 Jeff Parsons - - * TAO_IDL/be/be_union.cpp: - Fixed a couple of MSVC warnings - a signed/unsigned - mismatch and a 32-bit overflow caused by adding 1 to - ACE_UINT32_MAX. - -Mon May 24 15:13:14 1999 Irfan Pyarali - - * tao/Policy_Current: Made changes to this class such that the - Policy_Current class is no longer TSS. This object belongs to - the ORB, but its implementation (TAO_Policy_Current_Impl) is in - TSS. These changes are similar to the ones made to the POA - Current classes. The following files were changed: - - - ORB.cpp - - ORB_Core.cpp - - ORB_Core.h - - Policy_Manager.cpp - - Policy_Manager.h - - Policy_Manager.i - - Stub.cpp - -Mon May 24 13:15:16 1999 Carlos O'Ryan - - * tao/corbafwd.h: - Use the OMG assigned number of the default minor code. - -Mon May 24 12:47:45 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_union/union_ci.cpp: - There was a missing ';' in the generated code. - -Mon May 24 07:59:45 EDT 1999 Aniruddha Gokhale - - * TAO_IDL/ast/ast_generator.cpp (create_union_branch): - TAO_IDL/ast/ast_union_branch.cpp (constructor): - TAO_IDL/be/be_generator.cpp (create_union_branch): - TAO_IDL/be_include/be_generator.h (create_union_branch): - TAO_IDL/be_include/be_union_branch.h (constructor): - TAO_IDL/fe/{idl.yy, y.tab.cpp, y.tab.h}: - TAO_IDL/include/ast_geneator.h (create_union_branch): - TAO_IDL/include/ast_union_branch.h (constructor): - - Constructor of the union_branch node has been slightly modified - so that now it can take a list of labels as its parameter - instead of a single Union_Label node. This was required because - a single union branch can be shared by several case labels as - shown in the example below: - - union U switch (long) - { - case 0: - char c; - case 1: - case 2: - default: - octet o; - }; - - We were also required to make modifications to the "actions" in - the fe/idl.yy file for the union branch rule because previously - it would not allow us to have a union branch node to have - several case labels. We now create a UTL_Label_List out of all - such shared case/default labels and then pass this list as a - parameter to the constructor of the UnionBranch node. This - required us to the change the create_union_branch operation - signature in the generator classes. The fe/y.tab.{h, cpp} have - been regenerated. - - * TAO_IDL/be/be_union.cpp: - TAO_IDL/be_include/be_union.h: - - Added the compute_default_value and default_value methods. These - methods will compute/return the value that must be used for the - "default" label. There are two scenarios whenever such a value - is required. Wheneveran explicit "default" label exists in a - union definition, the Typecode for the default label must - provide a value for the default case. This default value must be - something other than that used by all other case labels and - which is a permissible value as defined by the "type" of the - discriminant. For example, if the discriminant type is an - unsigned long, then the permissible value for default label is - anything from 0 to MAX_ULONG except those already used up by the - case labels. The second scenario where we need this default - value is when no explicit default clause is provided in the - union definition AND the case labels do not cover all the - permissible values supported by the discriminant type. In such a - scenario, the CORBA IDL->C++ mapping requires us to generate a - method called "default ()". - - The compute_default_value () method provides the algorithm that - takes care of computing the default value (if at all it is - required) as demanded by the two scenarios described above. The - "default_value" method simply returns the computed value. - - * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp: - - In the gen_encapsulation and compute_encap_len for union_branch, - we must now account for the shared case labels as well as the - default label that we now support. In particular, the - modifications were necessary because union branches now contain - a list of UnionLabels and special treatment is necessary for - default labels. If we want optimized typecodes, we can now - generate indirections for union branches that have several - shared case labels. Thus, the first one will be fully specified - and the rest will be indirections. No specific change was - required for this part to work. - - Another cosmetic change was for "tk_objref", there was an - indentation missing. - - * TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp: - TAO_IDL/be/be_visitor_union/union_ch.cpp: - TAO_IDL/be/be_visitor_union/union_ci.cpp: - TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp: - TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp: - TAO_IDL/be/be_visitor_union_branch/public_access_cs.cpp: - - Provided support to handle shared case labels and default - label. We now generate the "default ()" method whenever it is - required as described in the scenario above. - - * TAO_IDL/be/be_visitor_union_branch/cdr_op_cs.cpp: - - Thanks to (name unknown) gwtovrea@west.raytheon.com for pointing - out incorrectly generated code for enums in the CDR >> - operator. Rather than generating the actual type for the enum, - we were generating CORBA::Long. This is now fixed. - -Sun May 23 18:06:37 1999 Carlos O'Ryan - - * orbsvcs/tests/Event/Basic/Observer.h: - * orbsvcs/tests/Event/Basic/Observer.cpp: - Fixed memory leak in the test - - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - Initialize fields to avoid UMR problems in purify. - -Sun May 23 16:37:03 1999 Carlos O'Ryan - - * orbsvcs/tests/Event/lib/Driver.cpp: - On IRIX the threads were not activated because the priority was - too high. - -Sun May 23 16:06:05 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/Event/EC_Defaults.h: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.i: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.cpp: - Added a new header file where the default configuration of the - EC is defined. The current values provide an MT-safe - configuration, which allows delayed operations to wait for a - long time. This works best in most cases, but hard real-time - applications may wish to fine tune the algorithm to avoid - starvations of delayed changes. - - * orbsvcs/tests/Event/Basic/run_test.pl: - * orbsvcs/tests/Event/Performance/ec.st.conf: - * orbsvcs/tests/Event/Performance/run_test.pl: - The configuration file now sets the configuration for a single - threaded event channel, without any locks. The default settings - are MT-safe so there is no need to use a file anymore. - - * orbsvcs/tests/Event/lib/Driver.cpp: - Some fields where unitiliazed, fixed. - -Sun May 23 10:06:36 1999 Carlos O'Ryan - - * orbsvcs/tests/Event/lib/README: - * orbsvcs/tests/Event/Basic/README: - * orbsvcs/tests/Event/Basic/run_test.pl: - * orbsvcs/tests/Event/Performance/README: - * orbsvcs/tests/Event/Performance/run_test.pl: Added some README - files explaining the purpose of each test and how to run - it. Also added some simple run_test scripts to execute the - tests. - -Sat May 22 22:16:57 1999 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: The busy_hwm - should be set in the attributes now. - -Sat May 22 18:43:00 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs.dsw: - * orbsvcs/CosEvent_Service/CosEvent_Service.dsp: - * orbsvcs/CosEvent_Service/CosEvent_Service.dsw: - * orbsvcs/examples/CosEC/Factory/Makefile: - * orbsvcs/examples/CosEC/Factory/Factory.dsw: - * orbsvcs/examples/CosEC/Factory/FactoryClient.dsp: - * orbsvcs/examples/CosEC/Factory/FactoryServer.dsp: - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl: - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: - * orbsvcs/tests/Event/Event.dsw: - * orbsvcs/tests/Event/Basic/Basic.dsw: - * orbsvcs/tests/Event/Basic/Observer.dsp: - * orbsvcs/tests/Event/Basic/Reconnect.dsp: - * orbsvcs/tests/Event/Basic/Schedule.dsp: - * orbsvcs/tests/Event/Basic/Shutdown.dsp: - * orbsvcs/tests/Event/Performance/Connect.dsp: - * orbsvcs/tests/Event/Performance/ECPerformance.dsw: - * orbsvcs/tests/Event/Performance/Throughput.dsp: - * orbsvcs/tests/Event/lib/ECTest.dsp: Added project files for - several new tests and examples. - -Sat May 22 17:50:12 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.i: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp: The EC - attributes include parameters that control the level of - concurrency in the proxy supplier sets. - - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.h: - * orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp: Added - reference counting: several threads could be pushing on one - consumer proxy and another thread decides to disconnect from it. - The corresponging supplier set must be deleted only once all the - threads finish using it. In many cases the implementation is - trivial because there is a clear owner (ex: the ConsumerAdmin), - and in others the locking is shared with the consumer proxy - (Per_Supplier). - - * orbsvcs/orbsvcs/Event/EC_Gateway.h: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: The gateway was not - properly synchronized. The locking in the push() method is - interesting: we don't hold the lock during the complete - dispatch, instead we keep track of the number of threads pushing - to the gateway. If we receive an update_consumer() call during - a push we post the change until all the push() call finish. Only - the last update_consumer() is kept because they overwrite each - other. - - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: We needed an - unprotected accessor to the publications, to avoid dead-locks - during connect_push_consumer call. Use the new reference - counting on the EC_SupplierFiltering class. - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: We were holding - locks during upcalls to the gateways and not setting the QoS - parameters correctly. The update_consumer/update_supplier - messages were backwards. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: Fixed several race - conditions related to connect/disconnect calls during pushes. - - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.cpp: Removed - debug messages. - - * orbsvcs/tests/Event/Basic/Observer.h: - * orbsvcs/tests/Event/Basic/Observer.cpp: - * orbsvcs/tests/Event/Basic/svc.conf: Fixed minor problems with - the test itself. - -Sat May 22 17:10:11 1999 Chris Gill - - * TAO version 0.3.23 released. - -Sat May 22 14:07:57 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.{h,cpp} - (TAO_Forward_FlowSpec_Entry): Prefixed the enumerations with - TAO_AV to avoid name clash. Thanks to David Levine for reporting - this error. - -Fri May 21 22:09:09 1999 Irfan Pyarali - - * tao: Modified the following files to make minimum CORBA work - again. - - - Connect.cpp - - DomainC.cpp - - DomainS.cpp - - ORB_Core.cpp - - POA.cpp - - POAC.h - - POAManager.h - - POAManager.i - - POAS.cpp - - PolicyS.cpp - - Request.cpp - - WrongTransactionC.cpp - - WrongTransactionC.h - - corbafwd.h - - orbconf.h - - * examples/Simple/Simple_util.cpp (test_for_ins): Removed - unnecessary bank dependencies that Vishal had added to this - generic code. - - * tao/Connect.cpp (svc): - * tao/ORB_Core.cpp (inherit_from_parent_thread): - - Redid (with the help of Carlos) these methods in view of the new - architecture. ORB_Core is no longer TSS, only - TAO_ORB_Core_TSS_Resources is. This will fix a bug in all - applications using the new architecture, TSS resources and - thread per connection (like the ImplRepo). - - * tao/Connect.cpp (handle_message): Changed the length of the INS - lookup string from to - . Since Vishal always tested - with the "bank" string, he got lucky with this since - is 4 and strlen ("bank") is - also 4. - - Thanks to Vyacheslav A. Batenin for - reporting this. - -Fri May 21 16:19:08 1999 Jeff Parsons - - * TAO/tests/Param_Test/param_test.idl: - * TAO/tests/Param_Test/complex_any.h: - * TAO/tests/Param_Test/complex_any.cpp: - * TAO/tests/Param_Test/options.h: - * TAO/tests/Param_Test/options.cpp: - * TAO/tests/Param_Test/driver.cpp: - * TAO/tests/Param_Test/param_test_i.h: - * TAO/tests/Param_Test/param_test_i.cpp: - * TAO/tests/Param_Test/tests.h: - * TAO/tests/Param_Test/client.dsp: - * TAO/tests/Param_Test/Makefile: - Added new test. The data type is a complex Any, suggested - by a real-world use case submitted by - Frank Buschmann . See - comment in complex_any.cpp above reset_parameters for - the Any structure. - - * TAO/tests/Param_Test/any.cpp: - Fixed some indentation and removed a memory leak related - to gen_string. - -Fri May 21 12:27:16 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.{h,cpp}: - * orbsvcs/orbsvcs/AV/sfp.cpp: - Fixed g++ template errors and warnings. Thanks to David and Andy - for reporting these errors. - -Fri May 21 09:20:10 1999 Carlos O'Ryan - - * tao/GIOP.cpp: - Changed character literals in the GIOP magic number to numeric - constants, otherwise it does not work in EBCDIC (or machines - that are not ASCII for that matter). Thanks to Jim Rogers - for pointing out this problem. - - * orbsvcs/tests/Property/Makefile: - Updated dependencies - -Fri May 21 09:31:32 EDT 1999 Aniruddha Gokhale - - * orbsvcs/orbsvcs/Makefile: ran "make depend". - -Thu May 20 23:09:32 1999 Pradeep Gore - - * orbsvcs/examples/CosEC/Factory/FactoryClient.cpp: - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp: - Added error checks in the and - methods. - -Thu May 20 21:49:42 1999 David L. Levine - - * all run_test*pl scripts: moved comment line(s) from head - of file so that it is not interpreted as a csh file. Thanks - to Gregory W Ross for - reporting problems with the comment lines. - -Thu May 20 21:28:25 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.{h,cpp}: - Fixed a few MSVC warnings and prefixed the Direction enumeration - to DIR_ since IN,OUT and INOUT are MSVC keywords. - -Thu May 20 21:09:29 1999 Jeff Parsons - - * tao/DomainC.cpp: - Added #include "tao/POA_CORBA.h" so we can compile on - IBM OpenEdition. Thanks to Jim Rogers - for pointing this out. - -Thu May 20 20:29:16 1999 Irfan Pyarali - - * tao/ORB.i (orb_core): Added accessor. - - * tao/POA.cpp (implementation): Removed extra semi-colon. - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp (invoke): Needed fixing - since the POA Current changed. - -Thu May 20 20:34:35 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/Makefile: - Added sfp to Makefile and updated dependencies. - -Thu May 20 20:00:08 1999 Jeff Parsons - - * tao/decode.cpp: - Added a typecode release call to TAO_Marshal_Any::decode() - to plug a memory leak occurring with inout Any parameters. - -Thu May 20 19:52:49 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.{h,cpp}: - Changed TAO_StreamEndPoint from a template to non-template and - added MSVC dominance warning disabling pragma and moved it from - AVStreams_i_T.{h,cpp} to these files. Also Added a flowspec - class to parse the flowSpec string into different components. - - * orbsvcs/orbsvcs/AV/AVStreams_i_T.{h,cpp}: - Removed the AVStreams_i_T.{h,cpp} as they're no longer needed. - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.{h,cpp}: - Changed TAO_PropertySet from a template to non-template and - added MSVC dominance warning disabling pragma and moved it from - CosPropertyService_i_T.{h,cpp} to these files. - - * orbsvcs/orbsvcs/Property/CosPropertyService_i_T.{h,cpp}: - Removed these files as they're no longer needed. - - The above fixes solves the template errors/warnings in orbsvcs seen on - HP-UX,SunOS 5.6 and Digital Unix. - Thanks to John R. Taylor - ,gwtovrea@west.raytheon.com, - Andy Gokhale and David - Levine for reporting these errors. - - * orbsvcs/orbsvcs/Makefile: - Updated dependencies. - -Thu May 20 18:46:44 1999 Pradeep Gore - - * orbsvcs/examples/CosEC/Factory/Makefile: - updated dependencies. - - * orbsvcs/orbsvcs/CosEC_Utility_Methods_T.{h,cpp}: - Removed this file. templates seem to be an overkill here. - - * orbsvcs/orbsvcs/CosEvent_Utilities.h: - added TAO_ORBSVCS_Export. - added a #pragma for msvc warning 4250 - - * orbsvcs/orbsvcs/Makefile: - removed CosEC_Utility_Methods_T - - * orbsvcs/orbsvcs/CosEvent_Utilities.cpp: - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp: - removed CosEC_Utility_Methods usage. - - * orbsvcs/CosEvent_Service/CosEvent_Service.h - added a method. - - * orbsvcs/CosEvent_Service/README - modified the README to reflect the change in parameter options. - -Thu May 20 17:39:50 1999 Nanbor Wang - - * TAO/tao/TAO.dsp: - * TAO/TAO_IDL/tao_idl.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: Fixed Alpha configurations. Thanks - to Christian Schuderer for - reporting this. - - * TAO/TAO_IDL/tao_idl_static.dsp: Removed definitions of - IDL_CFE_VERSION. - -Thu May 20 17:11:02 1999 Jeff Parsons - - * tao/Typecode_Constants.cpp: - Added _tc_Pollable, _tc_DIIPollable, and - _tc_PollableSet to fini(). - -Thu May 20 15:22:49 1999 Irfan Pyarali - - * tao/default_resource.cpp (get_reactor): The problem was that - when the reactor implementation was given to the reactor - interface class, it was not instructed to delete the - implementation. Once this was fixed, the change below by Carlos - was not necessary. - - * tao/POA_Current: Changed the POA Current from a TSS specific - object to a global object owned by the ORB. Its state, however, - is still managed by a TSS object (this new object is called - TAO_POA_Current_Impl). All the POA, Object_Adapter, - TSS_Resources, and Servant Base classes were changed to use this - new class. - - Also, cleaned up the POA Current implementation class. There - were many extra methods that not used in the new scheme. - - Thanks to Jon Biggar for pointing out that the - original scheme was not compliant. - - * examples/POA/DSI: - - - Changed access to POA Current. Previously, we use to ask the - ORB everytime. Now we only ask once and keep it around as a - state variable. - - - Added shutdown() method. - - - Fixed exception handling. - - - Added more debugging info to the server. - -Thu May 20 15:00:37 1999 Carlos O'Ryan - - * tao/Pluggable.h: - * tao/IIOP_Acceptor.h: - * tao/IIOP_Acceptor.cpp: - * tao/default_resource.cpp: - Added a close() method to the TAO_Acceptor class to orderly - cleanup the resources on shutdown. - -Thu May 20 13:53:11 1999 Carlos O'Ryan - - * orbsvcs/tests/Event/Basic/Makefile: - * orbsvcs/tests/Event/Basic/Observer.h: - * orbsvcs/tests/Event/Basic/Observer.cpp: - * orbsvcs/tests/Event/Basic/observer.conf: - * orbsvcs/tests/Event/lib/Consumer.h: - * orbsvcs/tests/Event/lib/Consumer.cpp: - * orbsvcs/tests/Event/lib/Driver.h: - * orbsvcs/tests/Event/lib/Driver.cpp: - New test for the observers and dynamic - connection/reconnections. It compiles, but needs more testing - and I cannot do that on Linux. - - * orbsvcs/orbsvcs/Event/EC_Gateway.h: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - Minor fixes to support configurations without an scheduling - service. - -Thu May 20 12:17:36 1999 Jeff Parsons - - * tao/Any.h: - * tao/Any.cpp: - * tao/GIOP_Server_Request.cpp: - * tao/NVList.cpp: - Changed the signature of - - void _tao_replace (CORBA::TypeCode_ptr, - const ACE_Message_Block *mb, - CORBA::Boolean any_owns_data, - CORBA::Environment &TAO_IN_ENV = - CORBA::default_environment ()); - - to - - void _tao_replace (CORBA::TypeCode_ptr, - const ACE_Message_Block *mb, - CORBA::Environment &TAO_IN_ENV = - CORBA::default_environment ()); - - Also modified Any's copy contructor and assignment - operator to set any_own_data_ to 0. In all these cases, - the void* value_ is freed, but not set to anything. - Also changed the calls to _tao_replace() in the last - two files to reflect the new signature. - - -Thu May 20 12:14:20 1999 Carlos O'Ryan - - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp: - Added missing template instantiations. - -Thu May 20 11:06:25 1999 Pradeep Gore - - * orbsvcs/orbsvcs/CosEvent_Utilities.cpp: - Fixed a bug in parsing QOS parameters - thanks to Paul Calabrese - for reporting this and providing a fix. - * orbsvcs/orbsvcs/CosEC_Utility_Methods_T.cpp: - removed an extra ";" - -Wed May 19 18:14:41 1999 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs_static.dsp: - * performance-tests/Cubit/TAO/IDL_Cubit/client.dsp - * performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp - * performance-tests/Cubit/TAO/IDL_Cubit/server.dsp: Fixed Release - configuations. - -Wed May 19 16:21:11 1999 Carlos O'Ryan - - * tao/default_resource.cpp: - Fixed incorrect use of ACE_WIN32, ACE_HAS_FL and ACE_HAS_XT - macros, thanks to Jeff Parsons for reporting this. - -Wed May 19 15:54:53 1999 Jeff Parsons - - * tao/Typecode_Constants.cpp: - Added some typecodes to fini() that I had forgotten to - add before. - -Wed May 19 15:25:00 1999 Carlos O'Ryan - - * tao/corbafwd.h: - * tao/corbafwd.i: - * tao/ORB.h: - * tao/ORB.i: - * tao/ORB.cpp: - * tao/CDR_Interpreter.cpp: - * tao/Managed_Types.cpp: - * tao/Managed_Types.h: - * tao/Managed_Types.i: - * tao/Marshal.i: - * tao/POA.cpp: - * tao/POA.h: - * tao/Request.cpp: - * tao/Typecode_Constants.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp: - * orbsvcs/tests/Logger/Logging_Test_i.cpp: - * orbsvcs/tests/Logger/client_i.cpp: - * orbsvcs/tests/Property/client.cpp: - * orbsvcs/tests/Property/main.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf: - * tests/Param_Test/options.cpp: - Added support for CORBA::WString_var and CORBA::WString_out, - also did a quick cleanup for the WString_Manager classes. - Thanks to Lothar Werzinger for providing - this fixes. - Also removed all uses of string_copy which is a non-standard TAO - extension. - - * docs/releasenotes/TODO.html: - More EC updates - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: - Added copy-on-read to avoid dead-locks during dispatch. - -Wed May 19 15:12:26 1999 Carlos O'Ryan - - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp: - * orbsvcs/CosEvent_Service/svc.conf: - Use the TAO_EC_Default_Factory for the Rtec Event Channel and - configure it using a svc.conf file. - - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp: - Fixed more template instantiation problems. - -Wed May 19 13:07:06 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/CosEvent_Utilities.cpp: - Fixed several syntax errors, at least it compiles now. - -Wed May 19 00:20:08 1999 Pradeep Gore - - * orbsvcs/orbsvcs/CosEvent_Utilities.{h,cpp}: - * orbsvcs/orbsvcs/CosEC_Utility_Methods_T.{h,cpp}: - Added these files to provide utility base classes and - useful methods for implementing CosEC applications. - - * orbsvcs/orbsvcs/Makefile: - added CosEvent_Utilities and CosEC_Utility_Methods_T - to the CosEvent section. - - * orbsvcs/examples/CosEC/Factory/FactoryCosEventChannel_i{h,cpp}: - Removed these files - All the functionality of this implementation - has been moved to the class defined in - orbsvcs/orbsvcs/CosEvent_Utilities.h - - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp - modified to use the class. - - * orbsvcs/examples/CosEC/Factory/FactoryClient.cpp - Added an extra debug message in the method. - - * orbsvcs/examples/CosEC/Factory/Makefile - removed FactoryCosEventChannel_i. - - * orbsvcs/CosEvent_Service/CosEvent_Service.{h,cpp}: - All redone now to use the class. - -Tue May 18 22:19:36 1999 Carlos O'Ryan - - * tao/Resource_Factory.h: - * tao/Resource_Factory.cpp: - * tao/default_resource.h: - * tao/default_resource.i: - * tao/default_resource.cpp: - * docs/Options.html: - The default resource factory can select any of the "exotic" ACE - reactors (XtReactor, FlReactor, WFMO_Reactor, Msg_WFMO_Reactor) - as well as the regular Select reactor (with or without locking). - The old option (-ORBreactorlock) is obsolete and should be - removed after a couple of beta kits. - - * tests/Makefile: - * tests/FL_Cube/Makefile: - * tests/FL_Cube/client.cpp: - * tests/FL_Cube/server.cpp: - * tests/FL_Cube/svc.conf: - * tests/FL_Cube/test.idl: - * tests/FL_Cube/test_i.cpp: - * tests/FL_Cube/test_i.h: - * tests/FL_Cube/test_i.i: - A small example that illustrates how TAO can work with the - FlReactor. A simple server displays a cube using the FL toolkit - for the GUI elements and OpenGL for the graphics, its CORBA - interface lets the client control the viewpoint for the cube. - A simple client uses GUI elements to let the user control the - remote cube displayer. - -Tue May 18 11:05:23 1999 David L. Levine - - * TAO_IDL/Makefile: removed DU cxx and Green Hills gcx warning - suppressions because they're no longer necessary (at least with - cxx 6.2-020). - -Mon May 17 19:41:04 1999 Jeff Parsons - - * tao/corbafwd.h: - * tao/POA_CORBA.h: - * tao/Typecode_Constants.cpp: - * tao/DynAnyC.{h,i,cpp}: - * tao/dynAnyS.cpp: - * tao/DynArray_i.{h,cpp}: - * tao/DynSequence_i.{h,cpp}: - * tao/DynStruct_i.{h,cpp}: Moved AnySeq, FieldName, NameValuePair, - and NameValuePairSeq to the CORBA namespace. They had previously - been in the global namespace. Generated new typecodes for - these, to reflect the new scoping, and moved the typecodes to - Typecode_Constants.cpp. Thanks to Serge Du for - pointing out a namespace clash with AnySeq in his application - that led to all this. - -Mon May 17 18:17:42 1999 Douglas C. Schmidt - - * tao/UIOP_Transport.cpp, - tao/IIOP_Transport.cpp: Removed ACE_DEFAULT_WRITEV_MAX and - replaced it with IOV_MAX. - -Mon May 17 15:25:40 1999 David L. Levine - - * orbsvcs/tests/Event_Latency/run_tests.sh: replaced - hard-coded user name with $login, which is derived using - the same logic as in orbsvcs/tests/start_services. - Thanks to Lothar Werzinger for - reporting this. - -Mon May 17 15:17:50 1999 Carlos O'Ryan - - * tests/Event/Makefile: - * tests/Event/Performance/Connect.cpp: - * tests/Event/Performance/Connect.h: - * tests/Event/Performance/Makefile: - * tests/Event/Performance/Throughput.cpp: - * tests/Event/Performance/Throughput.h: - * tests/Event/Performance/ec.mt.conf: - * tests/Event/Performance/ec.st.conf: - * tests/Event/lib/Consumer.h: - * tests/Event/lib/Driver.cpp: - * tests/Event/lib/Driver.h: - * tests/Event/lib/Supplier.h: - Added new test to measure the throughput/latency of the EC and - the time it takes to connect/disconnect from it. - - * orbsvcs/orbsvcs/Event_Service_Constants.h: - * orbsvcs/Event/Event_Channel.cpp: - In some applications we need to use recursive mutexes in the - Event Channel otherwise it dead-locks. Thanks to Mike Mazurek - for finding this bug and providing the - fixes. - -Mon May 17 14:40:09 1999 Irfan Pyarali - - * tao/ORB_Core.cpp (init): Removed extra call to - orb_params()->use_dotted_decimal_addresses. - -Mon May 17 11:31:48 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp - * orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp: - Added "ACE_UNUSED_ARG (c_impl);" to avoid DEC compiler warning. - -Mon May 17 11:04:02 1999 Jeff Parsons - - * tao/tests/Param_Test/ub_any_seq.cpp: - Changed the logic of check_validity() so that *all* the - elements of the sequence get checked instead of just the - first one (this should also get rid of a DU warning), - added a constant representing the number of possible - types tested in the sequence, and removed some - unnecessary switch cases in init_parameters() and - reset_parameters(). - -Sun May 16 21:07:34 1999 Nanbor Wang - - * rules.tao.GNU: Merged the stub and skeleton rules for flick - compiler together. - - * TAO_IDL/Makefile: - * TAO_IDL/fe/Makefile.am: lex.yy.cpp needs to be patched with - lex.yy.cpp.diff. - - * TAO_IDL/fe/idl.ll: Applied ACE_NOTREACHED to unreachable - break's. - - * TAO_IDL/fe/lex.yy.cpp: Patched with lex.yy.cpp.diff. - - * TAO_IDL/fe/lex.yy.cpp.diff: Added this file to preserve patches - that can't be done using 'sed'. It also prevents me from - throwing tantrums. - -Sun May 16 18:47:38 1999 Douglas C. Schmidt - - * TAO version 0.3.22 released. - -Sun May 16 18:25:26 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - Fixed default concurrency high water mark. - -Sun May 16 10:59:12 1999 Carlos O'Ryan - - * orbsvcs/examples/CosEC/Factory/FactoryCosEventChannel_i.cpp: - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp: - Added missing template instantiations, at least IRIX/MIPSPro - needs them. - - * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp: - Removed unused variable - - * TAO_IDL/be/be_visitor_union/any_op_cs.cpp: - The generated code produced a warning in the extraction operator - of unions from anys. - -Sun May 16 10:35:17 1999 Pradeep Gore - - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp: - Fixed a compile warning regarding checking nil pointers. - -Sat May 15 23:04:55 1999 David L. Levine - - * TAO_IDL/fe/lex.yy.cpp (TAO_YY_BREAK): removed the ACE_NOTREACHED - because it caused tao_idl to fail on IRIX and DU. - Ref: Sat May 15 11:38:59 1999 Nanbor Wang . - -Sat May 15 22:15:20 1999 Carlos O'Ryan - - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp: - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h: - Added some more @@ comments for Pradeep, in response to his - questions. - - * tao/Connect.cpp: - Remvoed yet another call to ORB_Core_instance() - -Sat May 15 22:16:06 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.cpp: - Added variable to store the return value in the - method. This is to avoid various compiler warnings regarding - "reaching the end of non-void function". - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: - Fixed an incorrect comment. - -1999-05-15 Vishal Kachroo - - * performance-tests/POA/Demux/poa_names_100.dat: - * performance-tests/POA/Demux/demux_test_server.h - * performance-tests/POA/Demux/demux_test_server.cpp - - Removed the restriction on the no. of servants on the server - side. - -Sat May 15 16:51:08 1999 Vishal Kachroo - - * tao/ObjectIDList.i : Fixed some warnings on VxWorks. Thanks to - David Levine for pointing this out. - -Sat May 15 16:26:49 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.cpp: - Fixed placement new expression, thanks to David Levine for - pointing this out. - -Sat May 15 14:45:28 1999 David L. Levine - - * orbsvcs/ImplRepo_Service/Repository.h: - added #include of ace/SString.h. - - * orbsvcs/ImplRepo_Service/Repository.h,ImplRepo_i.h: - change multiple #include protection to #ifndef. - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp (activate_object): - commented out unused local "new_addr". - -Sat May 15 14:35:48 1999 David L. Levine - - * tao/ObjectIDList.*: fixed RCS Id string. - -Sat May 15 14:11:37 1999 Carlos O'Ryan - - * TAO_IDL/Makefile: - * TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp: - * TAO_IDL/be/be_visitor_argument/marshal_ss.cpp: - * TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp: - * TAO_IDL/be/be_visitor_operation/argument.cpp: - * TAO_IDL/be/be_visitor_operation/argument_marshal.cpp: - * TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp: - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_post_docall_cs.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_post_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_vardecl_cs.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp: - * TAO_IDL/be_include/be_visitor_argument.h: - * TAO_IDL/be_include/be_visitor_argument/post_upcall_ss.h: - * TAO_IDL/be_include/be_visitor_operation/rettype_post_docall_cs.h: - * TAO_IDL/be_include/be_visitor_operation/rettype_post_upcall_ss.h: - Fixed warnings in generated code if the arguments of an - operation where arrays. The changes have been tested for both - fixed sized and variable sized arrays in Param_Test. - This should also fix the compilation problem on HP-UX and other - platforms. - -Sat May 15 11:38:59 1999 Nanbor Wang - - * TAO_IDL/fe/lex.yy.cpp (TAO_YY_BREAK): Reapplied my old change - that handles not-reached break statement. How did it get lost? - -Sat May 15 10:22:52 EDT 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_array.cpp: - TAO_IDL/be_include/be_array.h: - TAO_IDL/be/be_enum.cpp: - TAO_IDL/be_include/be_enum.h: - TAO_IDL/be/be_enum_val.cpp: - TAO_IDL/be_include/be_enum_val.h: - TAO_IDL/be/be_exception.cpp: - TAO_IDL/be_include/be_exception.h: - TAO_IDL/be/be_field.cpp: - TAO_IDL/be_include/be_field.h: - TAO_IDL/be/be_interface.cpp: - TAO_IDL/be_include/be_interface.h: - TAO_IDL/be/be_interface_fwd.cpp: - TAO_IDL/be_include/be_interface_fwd.h: - TAO_IDL/be/be_predefined_type.cpp: - TAO_IDL/be_include/be_predefined_type.h: - TAO_IDL/be/be_scope.cpp: - TAO_IDL/be_include/be_scope.h: - TAO_IDL/be/be_sequence.cpp: - TAO_IDL/be_include/be_sequence.h: - TAO_IDL/be/be_string.cpp: - TAO_IDL/be_include/be_string.h: - TAO_IDL/be/be_structure.cpp: - TAO_IDL/be_include/be_structure.h: - TAO_IDL/be/be_typedef.cpp: - TAO_IDL/be_include/be_typedef.h: - TAO_IDL/be/be_union.cpp: - TAO_IDL/be_include/be_union.h: - TAO_IDL/be/be_union_branch.cpp: - TAO_IDL/be_include/be_union_branch.h: - - Removed the gen_encapsulation, gen_typecode, tc_size, and - tc_encap_len methods. All this has been moved to the typecode - visitor (be_visitor_typecode_defn). - - * TAO_IDL/be/be_decl.cpp: - TAO_IDL/be_include/be_decl.h: - - Removed the data members encap_len_, and the methods - gen_encapsulation, gen_typecode, tc_encap_len, tc_size, - tc_name2long, repoID_encap_len, and name_encap_len. All this has - been moved to the be_visitor_typecode_defn visitor. - - * TAO_IDL/be/be_helper.cpp: - TAO_IDL/be_include/be_helper.h: - - Added more operator<< for various ACE_CDR types. - - * TAO_IDL/be/be_sequence.cpp: - TAO_IDL/be_include/be_sequence.h: - TAO_IDL/be/be_structure.cpp: - TAO_IDL/be_include/be_structure.h: - TAO_IDL/be/be_type.cpp: - TAO_IDL/be_include/be_type.h: - TAO_IDL/be/be_union.cpp: - TAO_IDL/be_include/be_union.h: - - Added a method (in_recursion) that returns a boolean result that - indicates whether the sequence's element type is involved in a - direct or indirect recursion. An example of such a scenario is: - - struct foo - { - // other fields - sequence bar; - }; - - The be_type's in_recursion method always returns 0 because all - other subclasses of be_type except be_sequence, be_structure, - and be_union will never be involved in the limited recursion - allowed by the CORBA spec. - - * TAO_IDL/be/be_visitor_typecode.cpp: - - Added explicit template instantiations for templates used in the - typecode_defn.cpp file. See below. - - * TAO_IDL/be/be_visitor_argument_post_docall_cs.cpp: - - In the visit interface method, we were not handling the out - type. Now we correctly narrow the type and release the base type. - - * TAO_IDL/be/be_visitor_array/cdr_op_cs.cpp: - TAO_IDL/be/be_visitor_attribute/attribute.cpp: - TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: - - Added default cases to switch statements to eliminate warnings - produced by EGCS about enums not handled. - - * TAO_IDL/be_include/be_codegen.h: - - Added new substate enumerations for use in typecode generation. - - * TAO_IDL/be/be_valuetype.cpp: - TAO_IDL/be_include/be_valuetype.h: - - Commented out the typecode related methods. These need to be - added later to the typecode visitor. This is still TO-DO. - - * TAO_IDL/be/be_visitor_enum/enum_cs.cpp: - TAO_IDL/be/be_visitor_exception/exception_cs.cpp: - TAO_IDL/be/be_visitor_interface/interface_cs.cpp: - TAO_IDL/be/be_visitor_structure/structure_cs.cpp: - TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp: - TAO_IDL/be/be_visitor_union/union_cs.cpp: - - Added a step where we set the context substate to typecode - generation. This way we can then generate the top-level typecode - encapsulation for the type we are dealing with. Nested typecodes - are then generated by the visitor itself by setting the - appropriate substate. - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - - Rearranged the invocation of the POST_INVOKE_CS - visitor. Otherwise some code was getting duplicated. - This was also necessary because for interpreted marshaling, we - had to do some cleaning up of local variables. However, this was - not required for the compiled marshaling stubs. - - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: - TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp: - - Commented out the code that generates typecodes for anonymous - sequences. Once we are sure that nothing breaks, we will remove - this code. - - * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp: - TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h: - - All the typecode generation is now handled by this visitor - rather than individual files such as be_array.cpp, and - others. Added all the methods for typecode generation such as - gen_typecode, gen_encapsulation, tc_size, tc_encap_len, - repoID_encap_len, name_ID_len, and name2long. Also added data - members to track the computed sizes. We were required to add all - the visit_* methods to deal with all the types. - - The most prominent addition to this visitor is the capability to - generate typecodes for recursive types and the ability to - generate optimized typecodes. Optimized typecodes use sharing of - typecodes for repeated types. This is achieved via - indirections. We do not optimize for typecodes of primitive - types. - - * TAO_IDL/be/be_visitor_union_branch/public_access.cpp - (visit_interface): - - The access method for object references was incorrect. We have - now come up we a new way of returning the value from the acces - method. In particular, instead of casting the value to - CORBA::Object_ptr and then to void *, we simply return a pointer - to TAO_Object_Field_T. In the decode and encode methods of - the marshaling engine (see ChangeLog entry below), we invoke the - appropriate upcast method to give us the right CORBA::Object_ptr - value. This fix has now led to successful working of the - Param_Test test for obj references that use interpretive - marshaling. - - * TAO_IDL/driver/drv_args.cpp: - - Enabled optimized typecode handling. Also, we were checking for - -Go option instead of -Gt option. This is now fixed. - - * tao/CDR_Interpreter.cpp: - - Handled indirected streams properly so that it will allow us to - cross encapsulation boundaries. Previously, it wouldn't allow us - to do so. - - * tao/Typecode.h: - tao/Typecode.cpp: - - Added two data members called tc_base_ and root_tc_base_. The - tc_base_ points to our tk_kind field in the CDR - representation. The root_tc_base_ is for children typecodes - (i.e., nested typecodes who have parents) and it points to the - tk_kind field of the topmost level typecode. - - Also note that in the CTOR for complex typecodes, we now - allocate 8 bytes in addition to the length parameter. The first - two words occupy the top-level typecode's tk_kind value and the - encapsulation length. The buffer_ member still points to the - encapsulation so that no other change in the entire file is - required. The reason why we had to have these extra 8 bytes at - the start is to handle the recursive typecodes. For example - - struct foo - { - // fields - sequence bar; - }; - - The encaspulation for the above will generate an indirection - whose offset will point to the tk_kind field of "foo". However, - prior to the change described here, we only maintained the CDR - representation of the encapsulation. So the offset would have - pointed to 8 bytes before the encapsulation which really diod - not exist. We would have required unnecessary code to handle - such a case. So the best way was to maintain the entire typecode - representation. - - * tao/decode.cpp: - tao/encode.cpp: - - Indirected streams are now constructed properly such that we can - cross encapsulation boundaries. We were not required to make any - changes to the CTORs of ACE_InputCDR. - - We also properly handle the object reference fields of - unions. The access method gives us a TAO_Object_Field_T<> - pointer and then we invoke the _upcast method to give us the - CORBA::Object_ptr. - - * tests/Param_Test/param_test.idl: - tests/Param_Test/big_union.cpp: - - cosmetic changes. - - TO-DO - - for anonymous sequences whose element type gives rise to a - recursion, we must generate the <<, >> compiled marshaling - operators in the *.cpp file else we get a circular dependency. - -Fri May 14 23:55:47 1999 Jeff Parsons - - * tao/Request.{h,i,cpp}: - Added Context_ptr member ctx_ to class CORBA_Request, along - with accessor and mutator methods. Although Contexts are not - implmented by TAO, these methods do not throw - CORBA::NO_IMPLEMENT. Since I didn't see any functions in - CORBA_Request using environment variables, I kept to that - scheme and therefore could not use ACE_THROW or related - macros. The accessor simply returns the member (which is - set to 0 in all constructors) and the mutator does nothing - but throw away its arg. For the record, these were actually - checked in a few days ago, but I neglected to make a - ChangeLog entry at the time. - -Fri May 14 20:27:59 1999 Pradeep Gore - - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.{h,cpp}: - * orbsvcs/examples/CosEC/Factory/FactoryCosEventChannel_i.{h,cpp}: - * orbsvcs/examples/CosEC/Factory/FactoryClient.cpp: - * orbsvcs/examples/CosEC/Factory/main.cpp: - code review changes and compile error fixes. - -Fri May 14 17:00:43 1999 Douglas C. Schmidt - - * tao/IIOP_Transport.cpp (send), - tao/UIOP_Transport.cpp (send): Removed the local const for - TAO_WRITEV_MAX and replaced it with the new - ACE_DEFAULT_WRITEV_MAX. - -Fri May 14 17:14:12 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp: - Removed bogus ACE_INLINE, left over when moved from .i file. - -Fri May 14 16:15:00 1999 Chris Gill - - * orbsvcs\orbsvcs\Sched\Reconfig_Scheduler.{cpp, h}: more on a - very rough draft of the initial implementation. - -Fri May 14 15:25:18 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: Added new files in the EC - implementation - - * orbsvcs/tests/Event/Event.dsw: - * orbsvcs/tests/Event/Basic/Basic.dsw: - * orbsvcs/tests/Event/Basic/Schedule.dsp: Added new project for - the Schedule test. - - * orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.cpp: Fixed type - conversions problem. - -Fri May 14 15:06:47 1999 Carlos O'Ryan - - * docs/releasenotes/OBV.html: Added releases notes contributed by - Torsten Kuepper. - -Fri May 14 12:34:27 1999 Balachandran Natarajan - - * tao/DomainC.i: - * tao/DomainC.cpp: Moved CORBA_DomainManager::_nil () from - DomainC.i to DomainC.cpp file. - - * tao/Request.i: - * tao/Request.cpp: Moved two methods CORBA::release () and - CORBA_Request::_nil () from the Request.i to Request.cpp. This - would help us to avoid annoying warnings with Sun_g++ which was - complaining about these two methods being inline as they were - used before they were declared so. This seems to be a easier way - to get around this. - -Fri May 14 12:20:38 1999 Carlos O'Ryan - - * tao/ValueBase.h: - * tao/ValueBase.i: - * tao/ValueBase.cpp: Added new patches from Torsten Kuepper, this - should eliminate the warnings about enums. - - * */Makefile: Updated all the dependencies - -Fri May 14 09:30:14 1999 Carlos O'Ryan - - * Integrated scheduling back into the EC, this is still - experimental. - - * orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.h: - * orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.i: - * orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.cpp: - * orbsvcs/orbsvcs/Event/EC_Null_Scheduling.h: - * orbsvcs/orbsvcs/Event/EC_Null_Scheduling.i: - * orbsvcs/orbsvcs/Event/EC_Null_Scheduling.cpp: - * orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.h: - * orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.i: - * orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.cpp: The scheduling - strategy parametrize the aspects of the EC that relate to the - Scheduler. When using the Null_Scheduling the EC does not - update dependencies in the Scheduler, making that a suitable - choice for run-time execution (once the dependencies have been - computed in configuration runs) and for systems that do not - require scheduling. The Priority_Scheduling strategy does - update the dependencies in the scheduler. Notice that many - real-time properties of the EC do *not* depend on this, for - example, locks are bounded to minimize priority inversion in any - case. Thus application that require real-time behavior but no - scheduling can use the EC too. - - * orbsvcs/orbsvcs/Event/EC_QOS_Info.h: - * orbsvcs/orbsvcs/Event/EC_QOS_Info.i: Add fields to carry RT_Info - and Preemption priority information. - - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp: Use the - scheduling strategy to update the dependencies. - - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.i: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp: Added new methods to - the factory to obtain the scheduling strategy. - - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: The event channel - receives an scheduler and an scheduling strategy from the - attributes and the factory respectively. The scheduler may be a - nil object reference in it is not used. - - * orbsvcs/orbsvcs/Event/EC_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.cpp: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.cpp: - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Type_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp: In some cases the - Filter_Builder may need to make CORBA calls and thus requires an - CORBA::Environment. Added new operation to add dependencies - between leaves of the filter tree and RT_Infos. This operation - is a noop if no scheduling is enabled, and in fact it is not - even invoked. - - * orbsvcs/orbsvcs/Event/EC_Sched_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Sched_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Sched_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.i: - * orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.cpp: Added new - type of filter, it decorates a regular filter to inform the - scheduling service of the dependencies between the filter - elements and finally between suppliers and consumers. - - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.h: - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.i: - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.cpp: Allocates the - message blocks from a per-queue thread, also use a per-thread - data block to minimize memory allocations. - - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.i: - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp: Use the - TAO_EC_QOS_Info and the scheduling service to determine on which - queue we should dispatch the event. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: Update the filtering - aspects of this class. - - * orbsvcs/tests/Event/Basic/Makefile: - * orbsvcs/tests/Event/Basic/Schedule.h: - * orbsvcs/tests/Event/Basic/Schedule.cpp: - * orbsvcs/tests/Event/Basic/sched.conf: - * orbsvcs/tests/Event/Basic/Reconnect.cpp: - * orbsvcs/tests/Event/lib/Driver.h: - * orbsvcs/tests/Event/lib/Driver.cpp: Added new test that creates - an scheduler and uses the scheduling strategies. - - * orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.cpp: Loop over - consumers and then over events, not vice-versa. That improves - throughput by reducing the locking overhead. - - * orbsvcs/orbsvcs/Makefile: Added the new files, updated - dependencies - - * orbsvcs/Event_Service/Makefile: Added depedencies - -Fri May 14 07:18:31 1999 David L. Levine - - * orbsvcs/tests/Concurrency/Makefile,lex.CC_command.cpp, - lex.CC_command.cpp.diff: hacked scanner a bit to remove - unreachable code warning with ace_yy_wrap() #defined to 1. - -Thu May 13 22:58:38 1999 Irfan Pyarali - - * examples/POA/DSI/Database_i.cpp (invoke): Removed extra return. - -Thu May 13 22:46:05 1999 David L. Levine - - * examples/OBV/Typed_Events/Event_Types_impl.h: added "class" to a - bunch of friend declarations. - - * examples/OBV/Typed_Events/Makefile: updated dependencies. - -Thu May 13 19:33:27 1999 David L. Levine - - * orbsvcs/examples/CosEC/Factory/Makefile: don't built if either - CosEvent or Naming weren't built. - -Thu May 13 18:18:50 1999 Carlos O'Ryan - - * tao/DomainC.cpp: Added instantiation for - TAO_Object_Manager - -Thu May 13 14:48:22 1999 Balachandran Natarajan - - * tao/corbafwd.h (CORBA): - * tao/corbafwd.cpp: Fixed warnings on Greenhills compiler. - -Thu May 13 11:44:02 1999 Carlos O'Ryan - - * tao/ORB.h: - * tao/ORB.cpp: Fixed const violation in - resolve_initial_references() - -Thu May 13 09:55:52 1999 Carlos O'Ryan - - * orbsvcs/Makefile: - * orbsvcs/examples/Makefile: - * orbsvcs/examples/CosEC/Makefile: - * orbsvcs/examples/CosEC/Factory/Makefile: - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl: - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp: - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h: - * orbsvcs/examples/CosEC/Factory/FactoryClient.cpp: - * orbsvcs/examples/CosEC/Factory/FactoryCosEventChannel_i.cpp: - * orbsvcs/examples/CosEC/Factory/FactoryCosEventChannel_i.h: - * orbsvcs/examples/CosEC/Factory/FactoryDriver.h: Added several @@ - comments in the new CosEC/Factory example. - -Thu May 13 00:42:38 1999 Irfan Pyarali - - * tao/ORB.h (CORBA_ORB): Rewrote the comments for . - Previously, it was somewhat unclear what this function was - doing. Thanks to Trey Grubbs for - pointing this out. - -Wed May 12 19:40:12 1999 Jeff Parsons - - * tao/Object.{h,cpp}: Changed the name of the second - create_request function to be identical to the name of the - first. The spec clearly indicates in some places that it is to - be called 'create_request2', but that's wrong. - -Wed May 12 19:22:28 1999 Jeff Parsons - - * tao/corba.h: Added some missing #includes which turned up in the - branding tests. - -Wed May 12 18:02:20 1999 Jeff Parsons - - * tao/Any.{h,i}: Added a non-copying version of <<= for Any into - Any, as required by the CORBA spec (see CORBA 2.3a, section - 20.16.2, page 20-58). - -Wed May 12 16:26:14 1999 Balachandran Natarajan - - * tao/ORB.cpp (resolve_initial_references): Changed the const - CORBA::String to const char * as is expected by the test suite - and also by the CORBA v2.2 spec vide page 20-115, section - 20-39-20. - -Wed May 12 16:04:39 1999 Jeff Parsons - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: Added Bala's new files (below) to the MSVC - projects. - -Wed May 12 15:46:57 1999 Balachandran Natarajan - - * tao/Makefile: - * tao/ORB.h - * tao/ORB.i - * tao/ORB.i - * tao/Managed_Types.h - * tao/Services.h - * tao/Services.i - * tao/Services.cpp - * tao/Pluggable.h - * tao/corbafwd.cpp (New file) - * tao/corbafwd.i (New file) Added a new method - get_service_information in to ORB.h. This added a few circular - dependencies which was resolved by Carlos by adding new files - viz. corbafwd.cpp & corbafwd.i. Updated the Services.* files - with some new headers and removed the "tao/corba.h" file - inclusion from them as this would add a high dependency on these - files. Managed_Types.h included ORB.h for just a few operations - which has now been moved to corbafwd.i - -Wed May 12 15:41:39 1999 Jeff Parsons - - * tao/corbafwd.h: - * tao/Context.i: - * tao/Environment.{h,i,cpp}: Added CORBA::is_nil() for Contexts, - and both CORBA::release() and CORBA::is_nil() for - Environment. In implementing the release() method, also added - refcount_, refcount_lock_, incr_refcount() and decr_refcount() - to Environment. All the above methods were declared in - corbafwd.h (CORBA::is_nil (Context_ptr) was commented out), but - not implemented. - -Wed May 12 14:47:37 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - * orbsvcs/orbsvcs/Event/EC_Command.h: - * orbsvcs/orbsvcs/Event/EC_Command.i: - * orbsvcs/orbsvcs/Event/EC_Command.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.h: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.h: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.cpp: - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.h: - * orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp: Fixed several - memory leaks on "dirty" shutdowns of the EC (i.e. shutdowns when - there are some consumers or suppliers still connected). - Implemented new "delayed" shutdown operation on the - Supplier_Sets. Handling shutdowns while the EC is still - processing events may prove more tricky, I'm certain that there - are some race conditions still lurking there. - - * orbsvcs/tests/Event/Basic/Makefile: Fixed order of libraries. - - * orbsvcs/tests/Event/lib/Driver.cpp: Reset all pointers to 0 - after destruction. - -Wed May 12 13:58:59 1999 Jeff Parsons - - * tao/ORB.{h,cpp}: Added the dummy function - list_initial_services(). For now it just throws - CORBA::NO_IMPLEMENT. - -Wed May 12 13:35:19 1999 Carlos O'Ryan - - * tao/MProfile.h: - * tao/MProfile.cpp: Fixed warnings - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: I forgot to fix the - TAO_Stub constructors in this file. - - * orbsvcs/ImplRepo_Service/Makefile: Updated dependencies. - -Wed May 12 12:14:41 1999 Ossama Othman - - * COPYING: Additional updates/clarifications suggested by Richard - Stallman. - -Wed May 12 10:38:03 1999 Carlos O'Ryan - - * tao/MProfile.h: - * tao/MProfile.i: - * tao/MProfile.cpp: - * tao/Stub.h: - * tao/Stub.i: - * tao/Stub.cpp: - * tao/Pluggable.h: - * tao/Pluggable.i: - * tao/Pluggable.cpp: - * tao/IIOP_Profile.h: - * tao/IIOP_Profile.i: - * tao/IIOP_Profile.cpp: - * tao/UIOP_Profile.h: - * tao/UIOP_Profile.i: - * tao/UIOP_Profile.cpp: - * tao/Invocation.cpp: - * tao/ORB.cpp: - * tao/Object.cpp: Fixed memory leaks in the managment of - MProfiles. Use references to document and clarify the memory - managment rules. Implemented the forward_to() methods on - TAO_Profile instead of TAO_IIOP_Profile, they are required for - all protocols. - -Wed May 12 10:18:34 1999 Carlos O'Ryan - - * docs/releasenotes/TODO.html: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: Some servants where - not being properly deactivated, thanks to J. Russell Noseworthy - for pointing this out. - -Wed May 12 10:16:15 EDT 1999 Aniruddha Gokhale - - * tao/corbafwd.h: Fixed the warnings on NT related to foward - declaration of ServiceDetail and ServiceInformation. - - * tao/ObjectIDList.h: Fixed an error in the declaration of the CDR - operators. - - * tao/Service.h: Fixed an error where - TAO_Unbounded_Sequence should have been - TAO_Unbounded_Sequence - -Wed May 12 08:56:40 EDT 1999 Aniruddha Gokhale - - * tao/corbafwd.h - tao/ORB.h - tao/ObjectIDList.{h, i, cpp}: Fixed a number of compile errors - with the newly added ObjectIdList class. We now use the same - trick that we use for classes defined in the CORBA - namespace. Thus, we define the ObjectIdList class as - CORBA_ORB_ObjectIdList and then typedef it inside class - CORBA_ORB. We needed some forward declarations in corbafwd.h. - - Removed some possibly unnecessary explicit template - instantiation from ObjectIDList.cpp. We were trying to - instantiate a TAO_Object_Field_T. - -Wed May 12 02:38:52 1999 Pradeep Gore - - Code review changes and additions for the CosEC Factory. - Added the following files: - - * orbsvcs/examples/CosEC/Factory/main.cpp - - * orbsvcs/examples/CosEC/Factory/FactoryDriver.{h,cpp} - modified the following: - - * orbsvcs/examples/CosEC/Factory/FactoryClient.cpp: - completed the test code for the factory. - - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.{h,cpp}: - - * orbsvcs/examples/CosEC/Factory/FactoryCosEventChannel_i.{h,cpp}: - code review corrections. - -Tue May 11 22:39:38 1999 Jeff Parsons - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: Added Bala's new files to these projects. - -Tue May 11 21:46:52 1999 Vishal Kachroo - - Added a new type ObjectIDList to the ORB interface. This is - required by the list_initital_references (). Handcrafted - the IDL generated files into the following files : - * tao/ObjectIDList.cpp - * tao/ObjectIDList.h - * tao/ObjectIDList.i - Added the above files. - - Included the declaration of ObjectIDList in the CORBA_ORB class. - * tao/ORB.h - - Included ObjectIDList into the makefile. - * tao/Makefile - -Tue May 11 21:46:29 1999 Jeff Parsons - - * tao/DomainC.h: Removed the generated typecode declarations - - they're unnecessary and cause warnings on VxWorks. - -Tue May 11 20:40:52 1999 Jeff Parsons - - * tao/Environment.cpp: Added a check for NULL pointer before - dereferencing the exception (to increment the refcount) in the - copy constructor. This was causing all the DII param_tests to - fail. - - * tao/Any.cpp: Removed the branch from value() that returns (void - *)cdr_. After checking through all the code in the TAO - directory, there seems to be nothing that this endangers. Also - ran the DII param_tests before and after committing the change - - the results were the same. So now the functionality is cleanly - divided: Any::value() for the void* and Any::_tao_get_cdr() for - the cdr_. - -Tue May 11 18:06:40 1999 Balachandran Natarajan - - * tao/Makefile: - * tao/corbafwd.h - * tao/corba.h - * tao/TypeCode_Constants.cpp - * tao/Services.i (New file) - * tao/Services.cpp (New file) - * tao/Services.h (New file): Addition of new data types that we - did not have and which is carefully checked for by the test - suite from Open Group. The data types added include ServiceType, - ServiceDetailType, ServiceOption, ServiceDetail, - ServiceInformation. The defintions come from CORBA 2.2 spec, - chapter4, pg-4.2. The above data types have been tested on SunCC - & Linux_EGCS with some test cases in TAO liek Param_Test. They - compiled clean and ran without any errors. - -Tue May 11 17:47:30 1999 Jeff Parsons - - * tao/append.cpp: Fixed a case (wchar) of - TAO_Marshal_Union::append that Andy had marked as TODO and - eliminated another shaky call to Any::value(). - -Tue May 11 17:19:30 1999 Carlos O'Ryan - - * orbsvcs/tests/Event/Event.dsw: - * orbsvcs/tests/Event/Basic/Basic.dsw: - * orbsvcs/tests/Event/Basic/Reconnect.dsp: - * orbsvcs/tests/Event/Basic/Shutdown.dsp: - * orbsvcs/tests/Event/lib/Consumer.h: - * orbsvcs/tests/Event/lib/Driver.h: - * orbsvcs/tests/Event/lib/ECTest.dsp: - * orbsvcs/tests/Event/lib/ECTest.dsw: - * orbsvcs/tests/Event/lib/Supplier.h: - * orbsvcs/tests/Event/lib/ectest_export.h: Added project files, - workspaces and export macros to compile this tests on NT. - -Tue May 11 16:46:20 1999 Jeff Parsons - - * tao/Object.{h,cpp}: Added the second form of - create_request(). It has two additional args - an exception list - and a context list, which are both unused in this - implementation. - -Tue May 11 16:03:01 1999 Jeff Parsons - - * tao/corbafwd.h: - Added some flags to the enum containing the ones - for NVList. The new ones are: - DEPENDENT_LIST - If a sublist is added as a single item, - this indicates that it should be freed - when the parent list is freed. - CTX_RESTRICT_SCOPE - Used in Context::get_values to limit the scope of - the search to the supplied scope arg. - CTX_DELETE_DESCENDENTS - Deletes child Context objects along with the parent. - INV_NO_RESPONSE - INV_TERM_ON_ERR - RESP_NO_WAIT - Used in deferred synchronous requests. - -Tue May 11 14:34:56 1999 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/{client,server}.cpp: - removed unnecessary #includes of "tests/test_config.h". - - * performance-tests/Cubit/TAO/IDL_Cubit/run_tests.pl: fixed check - for existing files to work on NT, by using full path. - -Tue May 11 14:17:54 1999 Jeff Parsons - - * tao/DomainS.cpp: Added some ACE_UNUSED_ARGs for generated code - that has been commented out, and a marshaling exception because - this method (ConstructionPolicy::make_domain_manager) is not yet - implemented. - -Tue May 11 13:51:55 1999 Carlos O'Ryan - - * docs/releasenotes/TODO.html: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h: - * orbsvcs/tests/Event/Basic/Makefile: - * orbsvcs/tests/Event/Basic/Reconnect.cpp: - * orbsvcs/tests/Event/Basic/Shutdown.cpp: - * orbsvcs/tests/Event/Basic/Shutdown.h: - * orbsvcs/tests/Event/lib/Consumer.cpp: - * orbsvcs/tests/Event/lib/Driver.cpp: - * orbsvcs/tests/Event/lib/Driver.h: - * orbsvcs/tests/Event/lib/Supplier.cpp: Completed the - implementation of the destroy() method in the new Event - Channel. It was not invoking the disconnect_push_XXX() - operations on its list of suppliers and consumers. - -Tue May 11 13:45:00 1999 Jeff Parsons - - * tao/WrongTransactionC.{h,cpp}: - * tao/corbafwd.h: - * tao/Typecode_Constants.cpp: - * tao/TAO.dsp: - * tao/TAO_Staatic.dsp: - * tao/Makefile: Added WrongTransaction exception. It applies to - Requests so it is not part of minimum CORBA. Also, while the - spec does not say so explicitly, it seems to be thrown only on - the client side, so only that part of the generated code is - here. If this turns out not to be the case, server side code - will have to be added. - -Tue May 11 13:25:40 1999 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/{server.dsp,client.dsp}: - fixed path for static release builds. Actually, Nanbor fixed - it. - -Tue May 11 12:30:45 1999 Jeff Parsons - - * TAO_IDL/ast/AST_Expression.cpp: - * TAO_IDL/include/AST_Expression.h: Backed out the change I made - yesterday. Not an important change by itself, but one day we'll - have to overhaul all the basic type stuff in the IDL compiler. - -Tue May 11 11:03:16 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: - support shells that don't have $OPTIND. - -Tue May 11 09:48:09 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h: - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.h: - Added missing TAO_ORBSVCS_Export macros, thanks to Frank Hodum - for pointing this out. - -Tue May 11 09:22:08 1999 David L. Levine - - * tao/DomainC.cpp: added TAO_Object_Field_T - explicit template instantiation. - -Mon May 10 22:57:37 1999 Carlos O'Ryan - - * tao/DomainC.cpp: - Added missing #include - -Mon May 10 22:40:29 1999 Carlos O'Ryan - - * docs/releasenotes/TODO.html: - * docs/releasenotes/ec.html: - Updated to include the latest EC results. - -Mon May 10 22:39:30 1999 Jeff Parsons - - * TAO_IDL/ast/AST_Expression.cpp: - * TAO_IDL/include/AST_Expression.h: - Added constructors for AST_Expressions of type - long long and unsigned long long - bracketed with - ifdefs concerning ACE_LACKS_LONGLONG_T. - -Mon May 10 21:54:30 1999 Carlos O'Ryan - - * orbsvcs/tests/Makefile: - Added the Event directory - - * orbsvcs/tests/Event/Basic/Reconnect.h: - * orbsvcs/tests/Event/Basic/Reconnect.cpp: - Added new option to control the number of disconnections, fixed - some minor problems. Removed execution of the regular test since - it will take too long to run thousands of consumers and - suppliers. - - * orbsvcs/tests/Event/lib/Driver.h: - * orbsvcs/tests/Event/lib/Driver.i: - * orbsvcs/tests/Event/lib/Driver.cpp: - Fixed and cleaned up memory managment for tasks. - Fixed computation of the Supplier QOS - Fixed argument parsing - Fixed throughput computation - - * orbsvcs/tests/Event/lib/Supplier.cpp: - Better error handling if the QoS is invalid - - * orbsvcs/tests/Event/lib/Consumer.cpp: - Fixed throughput computation - - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - Implemented reconnection of suppliers - - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - Fixed typo - -Mon May 10 19:44:16 1999 Jeff Parsons - - * Domain.pidl: - * DomainC.{h,i,cpp}: - * DomainS.{h,cpp}: - * DomainS_T.{h,i,cpp}: - New files incorporating the (as yet unimplemented) - classes DomainManager, ConstructionPolicy, and - DomainManagerList. - - * corbafwd.h: - * POA_CORBA.h: - * Typecode_Constants.cpp: - * TAO.dsp: - * TAO_Static.dsp: - * Makefile: - All the necessary modifications corresponding to - the above new files. Also removed the (nonexistent) - file PolicyS.h from the two projects. - -Mon May 10 17:21:52 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - New class TAO_EC_Event_Channel_Attributes used to initialize the - event channel. This will close the interface for the EC - constructor, yet will allow us to add more (optional or - mandatory) arguments. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - The event channel can be configured to support multiple - connect() calls to the same ProxyPushSupplier. - - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp: - * orbsvcs/examples/CosEC/Factory/FactoryCosEventChannel_i.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - Use the TAO_EC_Event_Channel_Attributes class to initiliaze - TAO_EC_Event_Channel - - * orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.cpp: - Minor cosmetic fixes. - - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - Removed dead code. - -Mon May 10 16:46:41 1999 Nanbor Wang - - * TAO-INSTALL.html (href): Added a link to Barry Hoggard's CORBA - page which contains TAO specific information. - -Mon May 10 15:02:21 1999 Balachandran Natarajan - - * tao/Exception.h: - * tao/Exception.cpp: - * tao/corbafwd.h: Added new exceptions in TAO_SYSTEM_EXCEPTIONS - viz.TRANSACTION_REQUIRED, TRANSACTION_ROLLEDBACK & - INVALID_TRANSACTION. These are part of the spec, v2.2, section - 3.5.3, page 3-39. We had not implemented this and it was flagged - of by the branding test suite. - -Mon May 10 12:47:29 1999 Nanbor Wang - - * TAO_IDL/driver/drv_preproc.cpp (DRV_cpp_init): TAO_IDL will try - to figure out where MSVC is located if CPP_LOCATION is not - defined. It does this by checking if MSVCDir environment - variable is defined. Although this approach ties TAO_IDL closer - to MSVC, it is probably the most widely used compiler on Win32 - platforms. Therefore, I think it is not really a "bad taste." - - Thanks to Jonathan Biggar for suggesting - this. - -Mon May 10 11:43:04 1999 Ossama Othman - - * COPYING: Made some updates suggested by Richard Stallman - of the Free Software Foundation - (http://www.fsf.org/). - -Mon May 10 08:24:20 1999 David L. Levine - - * TAO/orbsvcs/orbsvcs/Makefile,examples/Callback_Quoter/Makefile, - tests/MT_Client/Makefile: - ran make depend to fix dependencies. Thanks to Andy for reporting - that they were missing. - -Mon May 10 08:39:19 EDT 1999 Aniruddha Gokhale - - * tao/Request.cpp: Explicit template instantiations for the newly - added sequence of CORBA::Request were missing. - -Mon May 10 00:36:02 1999 Balachandran Natarajan - - * tao/Request.h (CORBA_Request>): - * tao/Request.cpp : Added new definition for the class - CORBA_ORB_RequestSeq. This was added to facilitate the testing - process. Thanks to Carlos for helping to generate the new class - by inheriting from TAO_Pseudo_Unbounded_Sequence (). - -Sun May 9 12:47:47 1999 Carlos O'Ryan - - * docs/releasenotes/index.html: - * docs/releasenotes/OBV.html: - Added template for the OBV release notes. - -Sun May 09 11:26:57 1999 Chris Gill - - * TAO/examples/Callback_Quoter/Makefile - TAO/examples/Event_Comm/Makefile - TAO/examples/OBV/Typed_Events/Makefile - TAO/examples/POA/Adapter_Activator/Makefile - TAO/examples/POA/DSI/Makefile - TAO/examples/POA/Default_Servant/Makefile - TAO/examples/POA/Explicit_Activation/Makefile - TAO/examples/POA/Forwarding/Makefile - TAO/examples/POA/Generic_Servant/Makefile - TAO/examples/POA/Identity/Makefile - TAO/examples/POA/On_Demand_Activation/Makefile - TAO/examples/POA/Reference_Counted_Servant/Makefile - TAO/examples/POA/TIE/Makefile - TAO/examples/Quoter/Makefile - TAO/examples/Simple/bank/Makefile - TAO/examples/Simple/chat/Makefile - TAO/examples/Simple/echo/Makefile - TAO/examples/Simple/grid/Makefile - TAO/examples/Simple/time/Makefile - TAO/orbsvcs/Concurrency_Service/Makefile - TAO/orbsvcs/CosEvent_Service/Makefile - TAO/orbsvcs/Dump_Schedule/Makefile - TAO/orbsvcs/Event_Service/Makefile - TAO/orbsvcs/ImplRepo_Service/Makefile - TAO/orbsvcs/LifeCycle_Service/Makefile - TAO/orbsvcs/Logging_Service/Makefile - TAO/orbsvcs/Naming_Service/Makefile - TAO/orbsvcs/Scheduling_Service/Makefile - TAO/orbsvcs/Time_Service/Makefile - TAO/orbsvcs/Trading_Service/Makefile - TAO/orbsvcs/orbsvcs/Makefile - TAO/orbsvcs/tests/Concurrency/Makefile - TAO/orbsvcs/tests/CosEC_Basic/Makefile - TAO/orbsvcs/tests/CosEC_Multiple/Makefile - TAO/orbsvcs/tests/EC_Basic/Makefile - TAO/orbsvcs/tests/EC_Custom_Marshal/Makefile - TAO/orbsvcs/tests/EC_Mcast/Makefile - TAO/orbsvcs/tests/EC_Multiple/Makefile - TAO/orbsvcs/tests/EC_Throughput/Makefile - TAO/orbsvcs/tests/Event_Latency/Makefile - TAO/orbsvcs/tests/ImplRepo/Makefile - TAO/orbsvcs/tests/Logger/Makefile - TAO/orbsvcs/tests/Property/Makefile - TAO/orbsvcs/tests/Sched_Conf/Makefile - TAO/orbsvcs/tests/Simple_Naming/Makefile - TAO/orbsvcs/tests/Time/Makefile - TAO/orbsvcs/tests/Trading/Makefile - TAO/performance-tests/Cubit/TAO/DII_Cubit/Makefile - TAO/performance-tests/Cubit/TAO/IDL_Cubit/Makefile - TAO/performance-tests/Cubit/TAO/MT_Cubit/Makefile - TAO/performance-tests/Thruput/TAO/Makefile - TAO/tao/Makefile - TAO/tests/MT_Client/Makefile - TAO/tests/Multiple_Inheritance/Makefile - TAO/tests/NestedUpcall/MT_Client_Test/Makefile - TAO/tests/NestedUpcall/Reactor/Makefile - TAO/tests/NestedUpcall/Triangle_Test/Makefile - TAO/tests/OctetSeq/Makefile - TAO/tests/Param_Test/Makefile: ran make depend after adding new - RB_Tree interface. - -Sat May 08 17:17:57 1999 David L. Levine - - * TAO_IDL/be/be_valuetype.cpp,be_valuetype_fwd.cpp: removed - extraneous ; after function definitions. - -Sat May 8 16:10:33 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_valuetype/field_ch.cpp: - * TAO_IDL/be/be_visitor_valuetype/field_cs.cpp: - Added non-const accesor for array fields in valuetypes. Thanks - to David Levine for pointing this out. - -Sat May 8 15:02:37 1999 Balachandran Natarajan - - * tao/GIOP.h (TAO_GIOP): - * tao/GIOP.cpp: - * tao/Connect.cpp: - * tao/corbafwd.h: Changed the exception type defined as an enum in - corbafwd.h as 'ExceptionType' to 'exception_type'. This is - defined in the spec in chapter-3, pg.3-38, section 3.15.1 under - Standard Exception Definitions in CORBAv2.2 spec. The vsOrb test - suite also tests for this with this spelling. - - The previous spelling 'ExceptionType' seems to a - spill out of the CORBA-COM, CORBA-OLE specs. Changes to other - *.cpp and *.h files listed above to acommodate the change made - in corbafwd.h. - -Sat May 08 08:42:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: added missing - template instantiation for ACE_RB_Tree_Reverse_Iterator. - -Sat May 08 08:20:48 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - changed type of SWITCHES from int to u_int to avoid - signed/unsigned comparisons. - -Sat May 08 08:17:48 1999 David L. Levine - - * tao/DynUnion_i_T.{h,cpp} (DU_Extractor): added virtual - destructor, to please egcs 1.1.2/VxWorks. - -Sat May 08 03:45:55 1999 Nanbor Wang - - * TAO/TAO_Static.dsp: Added missing source files. - - * TAO_IDL/tao_idl_static.dsp: - * examples/Simple/time/client_static.dsp: - * examples/Simple/time/server_static.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: - * performance-tests/Cubit/TAO/IDL_Cubit/client.dsp: - * performance-tests/Cubit/TAO/IDL_Cubit/server.dsp: - * performance-tests/Cubit/TAO/MT_Cubit/client.dsp: - * performance-tests/Cubit/TAO/MT_Cubit/server.dsp: - * tao/TAO_Static.dsp: We should have used ACE_NO_INLINE instead of - defining __ACE_INLINE__=0 to supress the use of inlining. - Thanks to Nick Sawadsky for - reporting this. - -Sat May 08 02:36:53 1999 Irfan Pyarali - - * examples/POA/Identity/Identity.cpp (test_poas): Added testing - for root POA. - - * tao/POA.cpp (reference_to_servant and reference_to_id): Fixed - the checking of results from TAO_POA::parse_key(). POA names - should not be compared when the target POA is the root POA. - Thanks to Tommy Andreasen for - pointing out this bug. - - * tao/TAO_Static.dsp and tao/TAO.dsp: Removed Sequence_T.cpp from - compilation list; it only contains template code. - -Fri May 07 23:49:38 1999 Irfan Pyarali - - * tao/default_server.cpp (parse_args): Fixed - ORBuniqueidpolicyreversedemuxstrategy option. Thanks to Phil - Mesnier for pointing out that the "user" - option was extra and that the "linear" option was missing. - -Fri May 07 22:45:33 1999 David L. Levine - - * orbsvcs/tests/Trading/Makefile: removed -lTTest from LDLIBS - because it now appears explicitly on the link line, because - it is a dependency of $(BIN). egcs complained about the - multiple occurrences. - -Fri May 7 22:34:58 1999 Balachandran Natarajan - - * tao/corbafwd.h (CORBA): - * tao/TypeCode_Constants.cpp: Added new typecode for the interface - NamedValue. This would make us compatible with CORBA spec. - -Fri May 7 19:50:41 1999 Carlos O'Ryan - - * tao/Sequence_T.i: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp: - Fixed bug in TAO_Bounded_Sequence thanks for - Jim Rogers for finding this out. - -Fri May 7 20:57:19 1999 Jeff Parsons - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - Added Sequence_T.cpp and Object_Adapter.h to the - projects. - -Fri May 7 20:39:30 1999 Jeff Parsons - - * tao/Sequence_T.i: - Added a to the argument of the copy constructor for - TAO_Object_Manager. Was causing a problem with IBM - OpenEdition. - - * tao/Object_Adapter.h: - Moved the classes Hint_Strategy, Active_Hint_Strategy, and - No_Hint_Strategy to the public section of TAO_Object_Adapter. - IBM OpenEdition didn't like the protected class Hint_Strategy - being inherited by the other two. - - * tao/ORB.h: - Moved forward declaration and typedefs of - CORBA_ORB_InconsistentTypeCode outside of class - ORBA_ORB to the beginning of the file. IBM OpenEdition - didn't like this either. - - Thanks to Jim Rogers for pointing - out the problems and suggesting fixes. - -Fri May 7 19:37:18 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.h: - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.i: - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp: - Eliminate one memory allocation on the priority dispatching - case, thanks to Tom Venturella - for this idea. In the future we should use a per-supplier data - block instead of a global one, to minimize priority inversion. - -Fri May 7 19:16:50 1999 Jeff Parsons - - * TAO_IDL/be/be_sunsoft.cpp: - * TAO_IDL/ast/ast_expression.cpp: - * TAO_IDL/include/ast_expression.h: - Put in many many #if ! defined (ACE_LACKS_LONGLONG_T) - brackets to avoid compile errors on GreenHills and - IBM OpenEdition. Thanks to Jim Rogers - for pointing out the problem. - -Fri May 7 16:55:08 1999 Balachandran Natarajan - - * tao/Typecode.h (CORBA_TypeCode): Changed the _narrow definitions - in TypeCode::BadKind and Type_code::Bounds to be of type - static. THis will now be according to the spec. This is the - result of test run on the header module. - - * tao/ORB.h, - * ORB.cpp: Changed the signature of the method, - resolve_initial_reference(). This now takes in const string and - it was previously a non-const one. We had to make this change to - be compatible with the spec and the vsOrb test suite checks for - this. - -Fri May 7 12:56:08 1999 Alexander Babu Arulanthu - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): Integrated Byron - Harris 's patches for checking for \\'s in - command line IDL file given to tao_idl. - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: Fixed the - IRIX warnings. - -Fri May 7 10:00:25 1999 Carlos O'Ryan - - * tao/Makefile: - * tao/Context.cpp: - * tao/Context.h: - * tao/DynAnyC.h: - * tao/ORB.cpp: - * tao/ORB.h: - * tao/Object_Adapter.cpp: - * tao/POA.i: - * tao/POAC.i: - * tao/Typecode_Constants.cpp: - * tao/corbafwd.h: - Several fixes to support minimum CORBA. - - * examples/Quoter/server.cpp: - Fixed error in my use of ACE_PRINT_EXCEPTION. - -Thu May 6 21:49:22 1999 Carlos O'Ryan - - * TAO_IDL/be/be_union_branch.cpp: - * TAO_IDL/be/be_visitor_interface/tie_si.cpp: - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp: - * examples/Callback_Quoter/Supplier_i.cpp: - * examples/POA/Default_Servant/client.cpp: - * examples/POA/Default_Servant/server.cpp: - * examples/Quoter/server.cpp: - * examples/Simple/Simple_util.cpp: - * orbsvcs/Trading_Service/Trading_Service.cpp: - * orbsvcs/orbsvcs/IOR_Multicast.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/Timer_Module.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * performance-tests/Thruput/TAO/ttcp_i.cpp: - * tao/ORB_Core.cpp: - * tao/Operation_Table.cpp: - * tests/MT_Client/server.cpp: - * tests/Multiple_Inheritance/client.cpp: - * tests/Multiple_Inheritance/server.cpp: - * utils/catior/catior.cpp: - Fixed inconsisten use of ACE_ERROR and LM_DEBUG, also removed - use of the DEBUG macro in favor of ACE_NDEBUG. - -Thu May 6 18:34:43 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - Fixed problem with disconnections while pushing an event, thanks - to Pradeep Gore for finding this out. - -Thu May 6 18:09:15 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_valuetype/field_cs.cpp: - * TAO_IDL/be/be_visitor_valuetype/field_ch.cpp: - Fixed return type for the accesor of array fields of a - valuetype. - -Thu May 6 17:52:47 1999 Kirthika Parameswaran - - * examples/Simple/echo/README (client): - Updated Naming Service option from -s to -n. - -Thu May 6 15:46:00 1999 Carlos O'Ryan - - * TAO_IDL/be/be_args.cpp: - * TAO_IDL/be/be_visitor.cpp: - Removed characters after #endif - - * TAO_IDL/be/be_valuetype.cpp: - * TAO_IDL/be_include/be_valuetype.h: - Function overloaded with different signature? - - * examples/OBV/Typed_Events/Event_Types_impl.cpp: - Fixed return expression on void function. - - * tao/ValueBase.h: - * tao/ValueBase.i: - No sense in passing arguments by value as const, and they gave - Sun/CC 4.2 some headaches. - Use unsigned quantities for enums MSVC balks at expressions like - (-0x80000000L). - - * tao/ValueFactory_Map.cpp: - Fixed some constness problems. - - * utils/catior/catior.cpp: - Fixed unsigned/signed warning. - - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - No need to change the priority of this thread, it is activated - at the right priority. - - * orbsvcs/tests/EC_Throughput/ECT_Driver.cpp: - Fixed debug messages. - - * orbsvcs/tests/EC_Throughput/ECT_Scheduler_Info.h: - Adjusted priorities for LynxOS. - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp: - Use (min+max)/2 as default priority, to avoid problems on LynxOS - where the lowest real-time priority is the lowest priority of - the system! - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.i: - Inline functions where not declared as such, got duplicate - symbols when compiling against static library. - - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.cpp: - Do not exit the loop on exception, continue until shutdown - event. - -Thu May 06 14:34:31 1999 Carlos O'Ryan - - * TAO_IDL/tao_idl.dsp: - * TAO_IDL/tao_idl_static.dsp: - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - Added the new files that support OBV. - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: - Added missing idl files CosTradingRepos.idl, - CosTradingDynamic.idl and some new EC files too. - -Thu May 6 12:11:22 1999 Carlos O'Ryan - - * Many thanks and kudos to Torsten Kuepper - who contributes an initial - implementation of Object-by-Value to TAO. His ChangeLog entry - follows: - - * TAO/tao/Makefile: - * TAO/TAO_IDL/Makefile: - * TAO/tao/orbconf.h: - * TAO/TAO_IDL/include/idl.h: - Support of Valuetypes if TAO_HAS_OBV resp. IDL_HAS_OBV is - defined. - This is far from complete. However - + you are able to pass valuetypes as arguments in operation - signatures (see examples/OBV). - - Valuetype as member of other types (union, sequence ...) is - missing until the compiler backend is provided with visitors - for that. - + A valuetype could have a valuetype as state member, ... - - ... but currently the sharing of valuetypes in the context - of an invocation is not yet implemented. This means you got - two out of one (if two references point to one object) and - cyclic references are not feasible. - + The marshalling code accesses the state member data directly - for optimization (-Wb,obv_opt_accessor). - - This will be changed for unoptimized (standard) valuetypes, - where the implementer should be able to override the - accessor/modifier functions even for marshalling. Currently - she isn't able to do so. - - The marshalling does no fragmentation (chunking) yet. But - this is required for custom marshalling and truncation. - - Ordinary (not hashed) repository ids are used. Some code is - missing that would optimize sending repo ids away (if the - formal parameter is equal the current type) or that - backreferences earlier send repository ids, when marshalling - a graph. - - The code generated for typedefs and forwards of valuetypes - is not complete and will not compile. - - Support of an interface is not yet there. Perhaps the TIE to - a valuetype may give comparable functionality. - - Abstract interfaces are not implemented too. - - TypeCode for valuetypes are missing, and without that, - packing a valuetype into an any is not yet possible. - - init () is not yet mapped to create () in the _init - class. But you can declare create () on your own in your - factory class. - - Some helper classes (e.g. _var for ValueFactory) are - missing. - And I have confused a few issues on constness in modifier - functions and members (in _init) which should be private and - friend of another class, but it didn't want to compile right. I - will correct these points, when I have the time. - - * TAO/examples/OBV/Typed_Events [new]: - Demonstration of Typed Events, e.g. measuring values. The idea - is to have common attributes (time and origin id) and operations - (do_print()) in a base class. - The event (temperature, position...) that is derived from the - base is created in one process and is passed (type safe) to - another process which invokes member function of the base class - to do something with this concrete event (e.g. show, perform a - test). - (Naturally, the receiving process must have an implementation of - the valuetypes.) - - * TAO_IDL/idl_global.h: - * TAO_IDL/utl_global.cpp: - * TAO_IDL/drv_args.cpp: - * TAO_IDL/be/be_args.cpp: - New TAO_IDL options - -Gv enable OBV (Valuetype) - -Sv disable OBV (Valuetype) (currently default) - read option with idl_global->obv_support() - -Wb,obv_opt_accessor Nonvirtual inline accessor/modifier - functions - Currently it is necessary to use compiled marshalling (-Gc) when - using the valuetype feature. - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/fe_init.cpp: - Compiler FE recognizes the OBV token (abstract, custom, init, - private, public, supports, truncatable, valuetype) (CORBA 2.3 - 3.2.4), but only if it is compiled with IDL_HAS_OBV and -Gv is - given. - - * TAO_IDL/fe/idl.yy: - There are some new productions in the parser. member is now a - wrapper for member_i, which previously was member but now - accesses $0 as visibility parameter. - - * TAO_IDL/include/ast_generator.h: - * TAO_IDL/be/be_generator.cpp: - * TAO_IDL/include/ast_interface.h: - * TAO_IDL/ast/ast_interface.cpp: - * TAO_IDL/include/ast_interface_fwd.h: - * TAO_IDL/ast/ast_interface_fwd.cpp: - * TAO_IDL/include/ast_field.h: - * TAO_IDL/ast/ast_field.cpp: - * TAO_IDL/be_include/be_field.h: - * TAO_IDL/be/be_field.cpp: - * TAO_IDL/be_include/be_valuetype.h [new]: - * TAO_IDL/be/be_valuetype.cpp [new]: - * TAO_IDL/include/fe_interface_header.h: - * TAO_IDL/fe/fe_interface_header.cpp: - AST_Interface is currently used for valuetypes too. (This - attempt was made for better staying in sync with the rushing TAO - development.) - Though lots of code for name lookup and inheritance rules can be - reused. AST_Interface has the new methods is_valuetype(), - is_abstract_valuetype() and is_abstract_interface() which allows - the frontend to distinguish them. Later on a new AST_ class - should be refactored which is a base class to the IDL types - that provide inheritance. - - Some shared code in idl.yy is now in AST_Interface::redefine() - and AST_Interface::fwd_redefinition_helper(). Forward definition - is a little changed, that the dummy full definition be_ object - stored in AST_InterfaceFwd is of the right type. - - FE_InterfaceHeader::compile_inheritance () is extended with the - rules to check right inheritance of valuetypes and abstract - interfaces. - The constructor of FE_InterfaceHeader has now a default - parameter which let the derived FE_obv_header invoke - compile_inheritance () at later time. - - * TAO_IDL/be_include/be.h: - * TAO_IDL/be_include/be_codegen.h: - * TAO_IDL/be_include/be_visitor.h: - * TAO_IDL/be_include/be_visitor_module/module.h: - * TAO_IDL/be_include/be_visitor_root/root.h: - * TAO_IDL/be_include/be_visitor_argument/arglist.h: - * TAO_IDL/be_include/be_visitor_argument/compiled_marshal_cs.h: - * TAO_IDL/be_include/be_visitor_argument/compiled_marshal_ss.h: - * TAO_IDL/be_include/be_visitor_argument/post_docall_compiled_cs.h: - * TAO_IDL/be_include/be_visitor_argument/upcall_ss.h: - * TAO_IDL/be_include/be_visitor_argument/vardecl_ss.h: - * TAO_IDL/be_include/be_visitor_field/field_ch.h: - * TAO_IDL/be_include/be_visitor_operation/compiled_marshal.h: - * TAO_IDL/be_include/be_visitor_operation/rettype*.h: - * TAO_IDL/be_include/be_visitor_valuetype.h [new]: - * TAO_IDL/be_include/be_visitor_valuetype_fwd.h [new]: - * TAO_IDL/be_include/be_visitor_valuetype/*.h [new]: - * TAO_IDL/be/be_visitor.cpp: - * TAO_IDL/be/be_visitor_factory.cpp: - * TAO_IDL/be/be_visitor_module/module.cpp: - * TAO_IDL/be/be_visitor_root/root.cpp: - * TAO_IDL/be/be_visitor_argument/arglist.cpp: - * TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp: - * TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp: - * TAO_IDL/be/be_visitor_argument/post_docall_compiled_cs.cpp: - * TAO_IDL/be/be_visitor_argument/upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp: - * TAO_IDL/be/be_visitor_field/field_ch.cpp: - * TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp: - * TAO_IDL/be/be_visitor_operation/rettype*.cpp: - * TAO_IDL/be/be_visitor_valuetype_fwd.cpp [new]: - * TAO_IDL/be/be_visitor_valuetype/*.cpp [new]: - - The visiting of valuetype is integrated into the root and module - visitors. The OBV_ classes resp. namespaces are generated in an - extra pass over the syntax tree. - - * tao/corba.h: - * tao/corbafwd.h: - * tao/ValueBase.h [new]: - * tao/ValueBase.i [new]: - * tao/ValueBase.cpp [new]: - All valuetypes inherit from the CORBA::ValueBase. It has - abstract operations for the reference counting, which are - implemented by multiply inherit from - e.g. CORBA::DefaultValueRefCountBase. - _copy_value () is not yet implemented. - There is some internal stuff for doing [un]marshalling and - dynamic type conversion (used by _downcast ()), whose - underlaying mechanism is like in the tao_idl compiler - itself: - The static member _downcast () calls a virtual function, which - is implemented from the IDL compiler, with an id of the wanted - type. These it is compared against the actual id of the - object. In case of mismatch the ancestors of the valuetype are - called (in depth first order). - _downcast () is used during unmarshaling too. This may result in - quite undeterministic real time behaviour. The worst case would - be that the _downcast walks the complete inheritance graph. - The detailed marshaling is best studied from the comments in - ValueBase.cpp. - - * tao/ValueFactory.h [new]: - * tao/ValueFactory.i [new]: - * tao/ValueFactory.cpp [new]: - * tao/ValueFactory_Map.h [new]: - * tao/ValueFactory_Map.i [new]: - * tao/ValueFactory_Map.cpp [new]: - The map of registered valuetype factories. - TAO_OBV_REGISTER_FACTORY macro is for on the fly factory - registration, but its not like in the OMG specs. - - * tao/ORB.h: - * tao/ORB.cpp: - Integration of the factory map for valuetypes with the ORB. - It is accessed through CORBA_ORB::register_value_factory (), - unregister_value_factory () and lookup_value_factory (). - This needs some revision to make the changing of the map thread - safe and changes to make it per ORB and not per process as it is - currently. - - * */Makefile: - Many makefile dependencies updated. - - * examples/Simple/chat/Makefile: - The dependencies did not include Client_i.cpp or Server_i.cpp - - * orbsvcs/tests/Trading/Makefile: - Added dependencies to for parallel compilation. - -Thu May 6 09:24:30 1999 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - Small changes in debugging messages. - -Wed May 05 15:11:26 1999 David L. Levine - - * orbsvcs/orbsvcs/Time_Utilities.i (Time_Value_to_TimeT): - replaced static cast of ACE_ONE_SECOND_IN_NSECS to ACE_UINT32 - with ACE_U_ONE_SECOND_IN_NSECS, so we don't cast away - constness. - -Wed May 05 13:07:49 1999 David L. Levine - - * all Makefiles: replaced /bin/rm with $(RM) and /bin/mv with mv. - -Wed May 5 12:58:14 1999 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - Calibrate the High_Res_Timer before starting the test. - - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - The last shutdown event was not properly initialized. - - * orbsvcs/tests/EC_Throughput/ECT_Driver.cpp: - Corrected variance computation and use the - ACE_High_Res_Timer::global_scale_factor() to map from - ACE_hrtime_t to microseconds. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - Minor cosmetic fixes. - - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp: - For experimentation purposes the dispatching thread runs at a - higher priority that the supplier threads. This minimizes the - latency because the dispatching thread becomes runnable as soon - as there is data available. - Of course this will be controlled by the scheduler in production - code. - -Wed May 05 12:20:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: added missing - template instantiations for ACE_RB_Tree_Iterator_Base. Thanks - to David Levine for reporting this. - -Wed May 05 09:52:18 1999 David L. Levine - - * orbsvcs/CosEvent_Service/Makefile: added subset dependency - on Event2, because it needs the TAO_EC_Event_Channel ctor. - -Wed May 5 02:20:15 1999 Jeff Parsons - - * tao/corbafwd.h: - * tao/Environment.{h,i,cpp}: - Added _var and _out classes. - - * tao/Any.{h,i,cpp}: - Edited the comment for the Any_var extraction - operators, added the Any_out -> operator, which - was missing, and made a cosmetic change to Any.cpp. - - * tao/Typecode.{h,i}: - Moved the operator assigning a TypeCode_var to a - TypeCode_out to private: and removed the - implementation - it's not allowed. - -Tue May 4 23:50:04 1999 Jeff Parsons - - * tao/corbafwd.h: - * tao/ORB.{h,cpp}: - * tao/Typecode_Constants.cpp: - Added typedef'd strings ORBid to CORBA and - ObjectId to CORBA_ORB, along with their typecodes. - - Also moved the typecode initialization for the exception - InconsistentTypeCode out of ORB.cpp and into - Typecode_Constants. Also cosmetized Typecode_Constants - a little. - -Tue May 4 21:46:31 1999 Carlos O'Ryan - - * TAO_IDL/driver/drv_preproc.cpp: - Fixed memory managment problems with the new implicit option - -I$TAO_ROOT/tao, also use $ACE_ROOT/TAO if TAO_ROOT is not - defined and print a warning message if none is defined. - -Tue May 4 21:15:51 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.h: - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.i: - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.cpp: - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.i: - * orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.cpp: - Added new Dispatching strategy that uses multiple threads (one - per priority) and a queues to dispatch the events. This strategy - allows invocations from high-priority suppliers to low-priority - consumers or vice-versa with minimum priority inversion. - It also decouples the collocated suppliers from the time spent - in the collocated consumers. - - * orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp: - Added support for the new dispatching strategy and for Immediate - changes in the supplier sets, but with locking. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - Before passing data to the dispatching module we increment the - reference count, that way the dispatching module doesn't have to - do it and we minimize locking overhead. - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - Minor cosmetic changes. - - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - Enabled debug message if an empty event is received. - - * orbsvcs/tests/EC_Throughput/ec.conf: - * orbsvcs/tests/EC_Throughput/ec.mt.conf: - Added new configuration for Priority_Dispatching strategy. - Re-ordered options in old configuration to match the new one. - -Tue May 4 20:23:37 1999 Jeff Parsons - - * tao/Any.{h.cpp}: - Change the signature of the constructor - CORBA_Any (CORBA::TypeCode_ptr type, - const ACE_Message_Block* mb) - - to - - CORBA_Any (CORBA::TypeCode_ptr type, - COREBA::UShort dummy, - const ACE_Message_Block* mb) - - in order to avoid ambiguity with a call to - - CORBA_Any (CORBA::TypeCode_ptr type, - void *value = 0, - CORBA::Boolean any_owns_data = 0) - - where the second arg is NULL and the third arg - is left out. - - * tao/DynArray_i.cpp: - * tao/DynEnum_i.cpp: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.cpp: - * tao/DynUnion_i.cpp: - * tao/Invocation.cpp: - * tao/Typecode.cpp: - Changed the signature of all the calls to the above - constructor. - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: - Fixed the '*/ outside of comment' warning. - -Tue May 4 20:17:41 1999 Balachandran Natarajan - - * tao/CORBA.pidl: New file for adding entries that would generate - new typecodes. - -1999-05-04 Seth Widoff - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/CosTrading.idl: - * orbsvcs/orbsvcs/CosTradingRepos.idl: - * orbsvcs/orbsvcs/CosTradingDynamic.idl: - Broke the CosTrading.idl file up so that each idl file - gets one module. - - * orbsvcs/orbsvcs/Trader/Offer_Iterators.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader.h: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_T.{h,cpp}: - * orbsvcs/orbsvcs/Trader/Trader_Utils.{h,cpp}: - For the stem_id used in federated query, obliterated the calls - to rand_r, since they apparently return -1 on NT. Since random - numbers were kind of a cludge anyway, the trader now establishes - a unique sequence number space by generating a prefix consisting - of IP address and process id. If the trader is running on a - machine without an IP address, then it defaults to a random - prefix (using plain old rand, this time). Thanks to - Ulf Jährig for pointing this problem out. - - I also adapted all servants in the trader to use POA reference - counting. - - * orbsvcs/tests/Offer_Exporter.cpp: - * orbsvcs/tests/TT_Info.cpp: - Fixed the includes to respect the new idl file schema. - -Tue May 4 17:45:43 1999 Jeff Parsons - - * TAO/tao/orb.idl: - Added this file as required by CORBA spec. Contains only - empty interface defs for ORB, TypeCode and Object, inside - module CORBA, so the IDL compiler can recognize 'CORBA::' - scoped versions of the above. Interface defs suggested by - Carlos, who also says we may need to add to them later. - - * TAO_IDL/driver/drv_preproc.cpp: - Added a line to include the $TAO_ROOT/tao directory in the - preprocessor invocation, so it can find orb.idl. - -Tue May 4 14:11:43 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/sfp.cpp: Fixed the misinterpretation of the - credit message where I was adding the cred_num field to the - allowed credit. Its actually a sequence number and the credit - doesn't change for a session. Thanks to Leif Jakobsmeier - for pointing this out. - -Tue May 4 12:34:08 1999 Carlos O'Ryan - - * tao/orbconf.h: - * TAO_IDL/be/be_helper.cpp: - The IDL compiler can use either templates or explicit code for - the classes mapped from IDL sequences. I cleaned up the macros - to control which scheme is used by default on each platform. - The complete documentation is in orbconf.h next to - TAO_USE_SEQUENCE_TEMPLATES - -Tue May 04 12:15:06 1999 David L. Levine - - * tao/Object_Adapter.cpp (dispatch_servant_i): replaced - direct comparison of ACE_thread_t's with ACE_OS::thr_equal (). - Thanks to Steven D. Chen - for reporting this on HP-UX and for verifying the fix. - -Tue May 04 12:03:52 1999 David L. Levine - - * orbsvcs/orbsvcs/Makefile,tmplinst-orbsvcs.cpp: - removed tmplinst-orbsvcs.cpp, because none of its - explicit instantiations appear to be used. - - Arranged orbsvcs subsets so that the Naming Service - is always built. Many examples and tests need it. - - * docs/configurations.html: removed note about orbsvcs - subsets not considering dependencies between the services. - The hard-coded dependencies and Makefile dependencies - should take care of that now. - -Tue May 4 09:47:04 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: - Completed implementation of the EC_Basic_ObserverStrategy. - Fixed computation of the consumers subscription list. - Thanks to J. Russell Noseworthy - for helping out with this. - - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp: - Added locking on the SupplierAdmin object, the ConsumerAdmin - does not need it since the locking is handled by its - SupplierSet. - - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - Cleaned up publication list computation, thanks to J. Russell - Noseworthy for helping out with - this. - - * orbsvcs/Event_Service/svc.conf: - Added locks for the ConsumerAdmin and SupplierAdmin modules. - - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - Minor cosmetic fixes. - - * orbsvcs/tests/EC_Mcast/svc.conf: - Added the right configuration options for the new EC. - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - Added initialization of the EC_Default_Factory. - Workaround what appears to be a bug in glibc2 implementation of - rand_r(), it returns negative values but it should only return - numbers in the range [0,RAND_MAX) - -Mon May 3 23:46:31 1999 Jeff Parsons - - * TAO_IDL/driver/drv_preproc.cpp: - Added a line to suppress inclusion of "fooC,h" and - "fooS.h" if foo.idl is "orb.idl". We're not - fully functional with '#include ' yet - - more changes to come. - -Mon May 03 22:02:34 1999 David L. Levine - - * TAO_IDL/include/ast_expression.h: reverted replacement of - LongLong with Long for GreenHills/Solaris, because it'll - take a lot more than that. - -Mon May 03 21:57:56 1999 David L. Levine - - * TAO_IDL/tao_idl.cpp,TAO_IDL/be/be_init.cpp, - TAO_IDL/driver/drv_{args,fork,preproc}.cpp, - TAO_IDL/fe/fe_init.cpp,TAO_IDL/fe/lex.yy.cpp: - replaced exit (n) with ACE_OS::exit (n). Thanks - to Steve Huston for reporting this abomination. - -Mon May 3 18:31:25 1999 Jeff Parsons - - * TAO/examples/POA/DSI/Database_i.{h,cpp}: - Updated format of a CORBA::NO_IMPLEMENT exception and - removed a leading underbar from an 'is_a' so that - declaration, definition and call signature all agree. - -Mon May 3 17:19:26 1999 Jeff Parsons - - * tao/Any.{h,i}: - Added insertion and extraction operators for Any_var. - CORBA spec requires these for all copying insertion - operators defined as members of Any. The extraction - operators are there as a tip of the hat to user of - other ORBs that may be used to them. - -Mon May 3 16:09:24 1999 Ossama Othman - - * tao/IIOP_Server_Reqeust.*: - * tao/GIOP_Server_Request.*: - - Changed all references to IIOP_ServerRequest to GIOP_ServerRequest - since the implementation is GIOP-specific, not IIOP-specific. - - * tao/UIOP_Server_Request.*: - - A UIOP-specific ServerRequest class is no longer needed since - the UIOP case falls under the GIOP case. Removed these files. - - * tao/Connect.cpp: - * tao/UIOP_Connect.cpp: - - Changed references to IIOP_ServerRequest and UIOP_ServerRequest - to GIOP_ServerRequest since both transport protocols fall under - GIOP. - -Mon May 3 15:53:45 1999 Jeff Parsons - - * TAO_IDL/include/AST_Expression.h: - Used #if defined (ACE_LACKS_LONGLONG_T) to conditionally - define a longlong and unsigned longlong as a long and - an unsigned long, respectively. This in only to make - GreenHills/Solaris happy. Thanks to David Levine for - reporting the problem. - -Mon May 03 15:26:19 1999 David L. Levine - - * tao/Object_Adapter.h: added "class" in friend - declarations. - -Mon May 03 10:39:33 1999 David L. Levine - - * TAO version 0.3.21 released. - -Mon May 03 10:18:24 1999 David L. Levine - - * tests/NestedUpcall/MT_Client_Test/Makefile: - removed unused orbsvcs references. - -Mon May 03 10:04:00 1999 David L. Levine - - * performance-tests/POA/Demux/Makefile, - tests/InterOp-Naming/Makefile: only build if the - orbsvcs library was built with the Naming component. - -Mon May 03 09:46:31 1999 David L. Levine - - * performance-tests/Cubit/TAO/DII_Cubit/Makefile: removed - use of orbsvcs headers and lib. They're no longer needed. - -Sun May 02 22:11:42 1999 David L. Levine - - * orbsvcs/orbsvcs/Makefile: always build Trader with LifeCycle. - -Sun May 02 22:09:42 1999 David L. Levine - - * orbsvcs/orbsvcs/CosEvent/{Consumer,Supplier}Admin_i.cpp, - EventChannel_i.cpp,ProxyPush{Consumer,Supplier}_i.cpp: - added auto_ptr and ACE_Auto_Basic_Ptr explicit instantiations, - for old g++. - -Sun May 02 22:05:46 1999 David L. Levine - - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp (create_dispatching): - put ??? in a comment, so that old g++ doesn't complain - about encountering a trigraph. - -Sun May 2 15:57:33 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp: - Removed the call to remove_handlers () in the ~Command_Handler - to avoid double deletion of the signal handler. - -Sun May 02 14:47:58 1999 David L. Levine - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: removed - ACE_Reverse_Lock and ACE_Guard > - explicit template instantiations because they're in - tao/Object_Adapter.cpp. - -Sun May 02 14:32:44 1999 David L. Levine - - * orbsvcs/orbsvcs/Time_Utilities.i (Time_Value_to_TimeT): - added static cast of ACE_ONE_SECOND_IN_NSECS to ACE_UINT32 - so that it will compile with ACE_LACKS_U_LONGLONG_T. - -Sun May 02 14:02:23 1999 David L. Levine - - * orbsvcs/orbsvcs/Makefile: always build Sched with Event - or Event2. Added dependency on Event's IDL_SRC's. Thanks - to Carlos for letting me know that these are necessary. - Reordered subset support to be top-to-bottom, so that - lower level services can be easily included if needed - only by higher level services. - - * orbsvcs/Event_Service/Makefile,orbsvcs/tests/EC_Throughput/Makefile: - added dependency on TAO_ORBSVCS Naming. Thanks to Carlos for - pointing out that these modules use Naming. - -Sun May 02 11:55:00 1999 Chris Gill - - * orbsvcs\orbsvcs\Sched\Reconfig_Scheduler.{cpp, h, i} (new) - orbsvcs\orbsvcs\Scheduler_Factory.h: Very early draft - of the reconfigurable scheduler implementation. - -Sun May 02 08:15:50 1999 David L. Levine - - * tao/Context.cpp: removed ACE_Unbounded_Queue - explicit instantiations, because they're in ace/ARGV.cpp - (except ACE_HAS_MOSTLY_UNICODE_APIS, which we only use on - WIN CE). - -Sun May 2 00:12:40 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp: - Fixed the code to restart the event loop for Audio Buffer and - Video Buffer process for the java init case when the Java Gui - sends ior to the mpeg client. - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibButton.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibLabel.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibList.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/mibToggle.cpp: - Fixed compilation errors for using unsigned char * instead of - XmString on SunOS5.7 CC 4.2. Thanks to Bala for helping with this. - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Globals.h: - Fixed a redundant redinition warnings for macros nextByte and - computePicSize. - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/routine.{h,cpp}: - Fixed void usleep to int usleep to avoid ambiguity errors on - SunOS5.7 CC 4.2. - - * orbsvcs/tests/AVStreams/mpeg/source/server/Machine_Properties.cpp: - Redefined xdr_void to int xdr_void (XDR *,void *) to fix - compilation errors on SunOS5.7 CC 4.2. - -Sat May 1 23:30:08 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.{h,cpp}: - * orbsvcs/orbsvcs/AV/AVStreams_i_T.{h,cpp}: - * orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp: - Added the correct implementation of destroy method according to - Irfan's suggestion. Also corrected some TAO_ macros used for - exceptions. - -Sat May 1 22:01:41 1999 Pradeep Gore - - * orbsvcs/CosEvent_Service/CosEvent_Service.h: - added virtual destructors. - -Sat May 1 21:01:40 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp: Stub - code generation was not checking inout args for the char, wchar, - boolean and octet cases, where the Any::to_* structs must be - used when demarshaling. Result was 'ambiguous >> operator' error - in compilation. Added the switch statement, checks and code - generation. Thanks to englishmalc@my-dejanew.com for reporting - this bug. - -Sat May 1 17:44:34 1999 Douglas C. Schmidt - - * tao/ORB.cpp (multicast_query): Make sure we close down the - ACE_SOCK_Acceptor so we don't leak handles. Thanks to Vishal - and James Johnson for tracking this down. - -1999-05-01 Vishal Kachroo - - * orbsvcs/orbsvcs/Time_Utilities.i: Fixed the precision error. - Use 64-bit precision for 64bit*32bit operation. Thanks to - Tom Venturella for reporting - that is had been using only 32-bit precision. - -Sat May 1 15:06:40 1999 Nagarajan Surendran - - * tao/Typecode.cpp (parameter): Changed the variable env to - ACE_TRY_ENV in CORBA_TypeCode::parameter method. - -Sat May 1 13:32:13 1999 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp : Fixed the - g++ warnings. - -1999-05-01 Vishal Kachroo - - * orbsvcs/orbsvcs/IOR_Multicast.cpp (handle_input): - Added stream.close () after stream.send_n () to explicitly - close the socket. - - Thanks to James Johnson for finding this bug - and suggesting the fix. - -Sat May 01 08:22:12 1999 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: - check to see that the executables exist before trying - to run them. - -Sat May 01 03:03:47 1999 Nanbor Wang - - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h: - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.{h,cpp}: - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.{h,cpp}: - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h: - * orbsvcs/orbsvcs/CosEvent/Event_Channel_i.h: - * orbsvcs/orbsvcs/Event/Event_Channel.h: Disable MSVC's warning - 4250. - - * tao/tao[_static].dsp: Added IIOP_Server_Request.{h,i,cpp}. - -Fri Apr 30 21:43:29 1999 Alexander Babu Arulanthu - - * orbsvcs/tests/Property/server.cpp - * orbsvcs/tests/Property/README - * orbsvcs/tests/Property/client.cpp - * orbsvcs/tests/Property/client.h - * orbsvcs/tests/Property/main.cpp - * orbsvcs/tests/Property/server.cpp - * orbsvcs/orbsvcs/Property/CosPropertyService_i_T.h: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.h: - * orbsvcs/orbsvcs/Property/CosPropertyService_i_T.cpp: - Update the code to use ACE exception macros. - Also updated the destroy method semantics to do POA deactivate. - Removed unnecessary ACE_DEBUG's from the code. - -Fri Apr 30 20:06:44 1999 Jeff Parsons - - * tao/Typecode_Constants.cpp: - Fixed a bunch of 'Memory in Use' reports from Purify - reported by Irfan. Of a group of 10 Policy-related - Typecodes in init(), only 3 had been added to fini(). - -Fri Apr 30 19:55:26 1999 Pradeep Gore - - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.*: - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.*: - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.*: - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.*: - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.*: - modified the CosEvent Channel to use reference counted - servants. - -Fri Apr 30 19:05:32 1999 Ossama Othman - - * tao/Server_Request.*: - * tao/IIOP_Server_Request.*: - * tao/UIOP_Server_Request.*: - - Moved IIOP specific stuff from Server_Request.* to - IIOP_Server_Request.*. Created UIOP-specific UIOP_Server_Request - files based on the IIOP ones. - - * tao/Makefile: - - Added IIOP_Server_Request files to the Makefile and updated the - dependencies. - - * tao/UIOP_Connect.{h,i,cpp}: - - Rough implementation of UIOP connection handlers based on the IIOP - connection handlers. Not operational yet. - - * tao/Connect.*: - - Changed all references of TAO_SVC_HANDLER to TAO_IIOP_SVC_HANDLER. - - * tao/LSOCK_*: - * tao/UIOP_*: - - Changed all references of "LSOCK" to "UIOP" (except for ACE - related LSOCK references). Renamed all `LSOCK*' files to - `UIOP*'. Thanks to Fred for motivating these naming - conventions. - -Fri Apr 30 18:46:10 1999 Jeff Parsons - - * TAO_IDL/be/be_sunsoft.cpp: - Added a couple of cases to the character constant switch - that eliminated the IDL compiler error messages - produced from one of the test IDL files in the OMG tests. - I don't think all of the IDL compiler tests have been run - yet, so there may remain more to be done. - -Fri Apr 30 17:41:31 1999 Jeff Parsons - - * tao/Typecode.{h,cpp}: - Added a parameter() function. Although this function is gone - from CORBA2.3a, it is still in 2.2 (though deprecated). - - Also found twp methods, ulong_param and typecode_param, that - were internal hacks to use until other member functions had - been written. They were never part of the spec and not now - used by anything in TAO, orbsvcs, or any of the tests or - examples, so they have been removed. - -Fri Apr 30 14:06:41 1999 Douglas C. Schmidt - - * COPYING: Updated the COPYING file to reflect the use new of - ACE(TM) and TAO(TM). - -Fri Apr 30 12:42:06 1999 Carlos O'Ryan - - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp: - * TAO_IDL/be/be_visitor_interface/tie_sh.cpp: - * TAO_IDL/be/be_visitor_operation/arglist.cpp: - * TAO_IDL/be/be_visitor_operation/operation_sh.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - Generate CORBA::default_environment() instead of - CORBA::Environment::default_environment. It is easier to - generate code for the TAO library that way and it is slightly - more efficient. - - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h: - Added support for reference counting of ProxyPushConsumer and - ProxyPushSupplier objects. - Also fixed the initialization of the default_POAs for those - classes and the Admin interfaces. - Added strategized locking to the - - * tao/Context.h: - * tao/Context.cpp: - Use CORBA::defaul_environment() instead of - CORBA::Environment::default_environment() that way we can - include Context.h without requiring Environment.h - Also reordered some includes in the .cpp file to validate the - Context.h file on its own. - - * tao/IOR_LookupTable.cpp: - * tao/ORB.cpp: - Protected some debug messages with TAO_debug_level. Also added a - few more to check the iioploc support. - -Fri Apr 30 11:58:23 1999 Nanbor Wang - - * tao/Request.{h,cpp} (operator[]): Changed the return type from - "const CORBA::Request_ptr" to "const CORBA::Request*". - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp (connect): Reordered the code - to avoid putting compiler specific code here. - -Fri Apr 30 02:05:22 1999 Irfan Pyarali - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp - (Cubit_Factory_i): Make sure to deactivate the cubit servant (in - addition to cubit factory servant) from the POA. - - * tao/TAO.cpp (deactivate_under_child_poa and deactivate): The - code was incorrect in assuming that the parameter is the - object id; it is actually the ior. Anyway, it should work now. - -Fri Apr 30 01:56:37 1999 Jeff Parsons - - * tao/corbafwd.h; - * tao/Request.{h,cpp}: - * tao/ORB.{h,cpp}: - Added the RequestSeq class, inherited from - TAO_Unbounded_Sequence. Used as an arg in the - (no-op) new ORB functions send_multiple_requests_oneway() - and send_multiple_requests_deferred(), although the - RequestSeq class itself is fully functional, should any - of this ever really get implemented. - - Added several spec-required ORB functions: - - create_environment() - - create_exceptions() - - create_context_list() - - create_named_value() - - get_default_context() - - send_multiple_requests_onewasy() - - send_multiple_requests_deferred() - - get_next_response() - - poll_next_response() - All of these are no-ops and just throw CORBA::NO_IMPLEMENT. - -Fri Apr 30 00:40:44 1999 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/Server_Manager.h: - * examples/POA/On_Demand_Loading/Servant_Activator.h: - * examples/POA/On_Demand_Loading/Servant_Loader.h: - Changed TAO_TRY to ACE_TRY macros. - * examples/POA/On_Demand_Loading/Server_Manager.cpp: - * examples/POA/On_Demand_Loading/Servant_Activator.cpp: - * examples/POA/On_Demand_Loading/Servant_Loader.cpp: - Added ACE_NEW_DECLARE_CORBA_ENV instead of ACE_TRY_NEW_ENV - and also changed the CORBA::OBJECT_NOT_EXIST() exception - to fit the current api. - * examples/POA/Loader/Server_Manager.h: - * examples/POA/Loader/Servant_Activator.h: - * examples/POA/Loader/Servant_Loader.h: - Changed TAO_TRY to ACE_TRY macros. - * examples/POA/Loader/Server_Manager.cpp: - * examples/POA/Loader/Servant_Activator.cpp: - * examples/POA/Loader/Servant_Loader.cpp: - Added ACE_NEW_DECLARE_CORBA_ENV instead of ACE_TRY_NEW_ENV - and also changed the CORBA::OBJECT_NOT_EXIST() exception - to fit the current api. - -Thu Apr 29 22:12:25 1999 Marina Spivak - - * orbsvcs/tests/Simple_Naming/client.cpp: - modified the dummy servants to use POA reference counting. - -Thu Apr 29 19:58:03 1999 Douglas C. Schmidt - - * examples/Simple: Added the new time-date example, which - will illustrate how to dynamically link an ORB via the - svc.conf! - -Thu Apr 29 19:53:09 1999 Jeff Parsons - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - Added corbafwd.h and Invocation.h to the projects. - -Thu Apr 29 19:21:14 1999 Irfan Pyarali - - * tao/Object_Adapter.cpp (find_servant_i): We are grabbing the - lock in this function when we had already grabbed it in - find_servant(). This causes a deadlock when the lock are - non-recursive (i.e., on all non-NT platforms). Thanks to Marina - for helping with this. - -Thu Apr 29 19:28:49 1999 Jeff Parsons - - * tao/Request.{h,i,cpp}: - * tao/Object.cpp: - Added the contexts() and env() operations to Request. - Since this involved adding an env_ member to Request, - I modified Objects's _create_request and _request - methods to pass along their environment args to the - Request constructors, whicn were also modified to - accept them and initialize env_. This won't change the - signature or the functionality of any existing code. - -Thu Apr 29 19:16:04 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp (connect): - Fixed a Vxworks warning for ACE_NOTREACHED in the connect - function.Thanks to Irfan for pointing this out. - -Thu Apr 29 18:35:52 1999 Jeff Parsons - - * tao/Request.{h,cpp}: - Added no-op versions of send_deferred, get_response, - and poll_response. These just throw CORBA::NO_IMPLEMENT. - -Thu Apr 29 17:28:36 1999 Nanbor Wang - - Added support to allow Policy objects to be locality constraint. - This reduces the footprint of TAO when policy objects will never - be accessed remotely. You can enable this feature by defining - TAO_HAS_LOCALITY_CONSTRAINT_POLICIES. - - * tao/POAC.{h,cpp}: - * tao/CurrentS.cpp: - * tao/POAS.{h,i,cpp}: - * tao/POA_CORBA.h - * tao/PolicyS.cpp: Other than supporting locality constraint - policies, also removed unused op_tables, skeletons, stubs. - -Thu Apr 29 16:33:31 1999 David L. Levine - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: added - ACE_Guard > explicit instantiation, - for old g++. - -Thu Apr 29 16:23:15 1999 Douglas C. Schmidt - - * TAO_IDL/COPYING.sun: Split out the copyright information - from the INSTALL.sun file. - -Thu Apr 29 15:58:30 1999 Jeff Parsons - - * TAO/performance-tests/Pluggable/PP_Test_Server.{h,cpp}: - * TAO/performance-tests/Pluggable/server.dsp: - Fixed servant deletion to deactivate under the POA - before doing so. Also added some files to the server - MSVC project for convenience. - -Thu Apr 29 13:59:23 1999 David L. Levine - - * tao/Context.cpp: replaced # that was inadvertantly - removed by last change. - -Thu Apr 29 13:57:33 1999 Jeff Parsons - - * tao/Context.cpp: - Fixed an include problem that was causing string_dup - and string_free not to be found when linking to TAO. - -Thu Apr 29 12:15:22 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp: - Provided a temporary fix for the methods, to avoid - crashing since the new POA changes. Appropriate fix will be - committed soon together with the restructured version of Naming - implementation classes. - - * orbsvcs/tests/Simple_Naming/client.cpp: - Updated for servants to deregister from POA before being destroyed. - -Thu Apr 29 10:36:59 1999 Nanbor Wang - - * tao/Servant_Base.{h,cpp}: Changed the type of ref_count_ to - CORBA::ULong and removed the template instantiation for - Atomic_Ops. - -Thu Apr 29 09:34:40 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: - check to see that the executables exist before trying - to run them (and wait for the ior file to be created). - -Thu Apr 29 06:41:34 1999 David L. Levine - - * tao/Context.cpp: removed ACE_Atomic_Op - explicit instantiation because it was already in - Exception.cpp. - -Thu Apr 29 02:54:04 1999 Nanbor Wang - - * lots of .cpp files: Removed "TAO_DEFAULT_MINOR_CODE, - CORBA::COMPLETED_NO" from many system exception instantiations - because they are what the default constructors use. Thanks to - Irfan for suggesting this. - -Thu Apr 29 01:23:03 1999 Irfan Pyarali - - * tao/POA (policies): Fixed destroy() methods of the policies by - (a) removing "delete this" from the destroy() function, and (b) - using servant/POA reference counting. - - The new destroy() function simply removes self from POA. - Because of reference counting, the POA will automatically delete - the servant when all pending requests on this servant are - complete. - - * tao/Object_Adapter.cpp (TAO_Object_Adapter): Fixed memory leak - by deleting dynamically allocated lock. - -Wed Apr 28 21:16:55 1999 Irfan Pyarali - - * tao/MessagingS.h: Removed inclusion of MessagingS_T.h. Old g++ - cannot handle nested template classes properly. This is the - same reason we cannot compile examples/POA/TIE with old g++. - - * docs/Options.html: Removed -ORBpoa option since it - does not make sense in the new ORB/POA architecture. - - * examples/Simple/echo/server.dsp: - * examples/Simple/echo/client.dsp: - - Added release dependencies to the IDL compiler. - - * examples/POA/Reference_Counted_Servant/server.dsp: Updated this - since some source files were removed. - - * examples/POA/Explicit_Activation/server.cpp (main): Added the - use of SINGLE_THREAD_MODEL POA policy. This helps in MT - debugging of the POA. - -Wed Apr 28 19:03:34 1999 Jeff Parsons - - * tao/corbafwd.h: - * tao/Context.{h,i,cpp}: - Added an implementation of ContextList, based on TAO's - implementation of ExceptionList, since the IDL definitions - and the C++ mappings are very similar. Also added - ContextList_var and ContextList_out classes. - - Added the methods from the OMG C++ mapping for Context. - Since our support for Context is intentionally minimal, - these methods just throw CORBA::NO_IMPLEMENT. Wherever - a Context_ptr is used as an argument in TAO, the only - value it may have is 0 (or the above exception is raised). - - * Exception.h: - Added the _var_type typedef to class Exception. It wouldn't - compile before, because of a (just-discovered) typo in - corbafwd.h. - -Wed Apr 28 18:52:49 1999 Irfan Pyarali - - * tao/Object_Adapter: - - - Single_Threaded_POA_Lock: This class helps us by locking - servants in a single threaded POA for the duration of the - upcall. Single_Threaded_POA_Lock has a magic constructor and - destructor. We acquire the servant lock in the constructor. - We release the servant lock in the destructor. - - * tao/POA: - - - Added appropriate code for establishing and tearing down locks - for servants in POAs with the SINGLE_THREAD_MODEL policy. - - * tao/Servant_Base: - - - Added a lock pointer to the servant base class. This lock - will be created when the servant is registered with a single - threaded poa and removed/deleted when the servant is - deactivated from the POA. - - Note that because a servant maybe registered with multiple - single threaded POAs simultaneously, we do reference counting - on this lock. - -Wed Apr 28 18:05:38 1999 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs[_static].dsp: Fixed dependencies of some - idl files. - -Wed Apr 28 15:21:33 1999 Irfan Pyarali - - * tao/TAO.cpp (deactivate_under_child_poa and deactivate): Changed - object_id to object_id.in (). - -Wed Apr 28 16:21:02 1999 David L. Levine - - * performance-tests/Cubit/TAO/DII_Cubit/Makefile: - moved BUILD definition to after wrapper_macros.GNU include, - because that would always clobber it. Thanks to Irfan - for reporting that the IDL_Cubit server didn't get built - first without this change. - -Wed Apr 28 15:56:23 1999 Carlos O'Ryan - - * tao/orbconf.h: - * tao/MessagingC.h: - * tao/MessagingC.cpp: - * tao/MessagingS.h: - * tao/MessagingS.cpp: - * tao/Policy_Manager.h: - * tao/Policy_Manager.cpp: - * tao/TAO.dsp - * tao/TAO_Static.dsp - Added the Messaging components to the NT build, not very - relevant since this are just the skeleton features that we will - need, but good for validation. - - * tao/MessagingS_T.i: - * tao/MessagingS_T.cpp: - Fixed problems under HP-UX/aCC thanks to Brian Wallis - for initially reporting this problem - and helping us with the fix validation. - -Wed Apr 28 14:00:20 1999 Carlos O'Ryan - - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h: - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp: - * orbsvcs/examples/CosEC/Factory/FactoryCosEventChannel_i.cpp: - Added @@ comments for Pradeep. - -Wed Apr 28 10:07:54 1999 David L. Levine - - * examples/POA/Reference_Counted_Servant/Makefile: added PSRC - and re-ran make depend. The old dependencies had a syntax error. - -Wed Apr 28 09:47:05 1999 David L. Levine - - * TAO/tests/CDR/octet_sequence.cpp: replaced use of cout - with ACE_DEBUG statements. Thanks to James D. Rucker - for reporting that it - didn't build on VxWorks. - -Wed Apr 28 09:19:24 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - ORB_init() was crashing if argv was nil or argc was 0, thanks to - David for reporting this one. - - * tao/ORB.cpp: - Use double checked pattern to reduce locking overhead in - CORBA::instance(), the method is invoked on the critical path, - that needs fixing too. Thanks to Irfan for reporting this - problem. - - * tao/Exception.cpp: - Added missing template instantiation. - -Wed Apr 28 09:09:03 1999 David L. Levine - - * orbsvcs/Event_Service/Makefile, - orbsvcs/tests/EC_Mcast/Makefile, - orbsvcs/tests/EC_Throughput/Makefile: - require Event2 TAO_ORBSVCS component, instead of Event. - -Wed Apr 28 03:20:42 1999 Nanbor Wang - - * tao/Exception.{h,i,cpp}: Added a new class - CORBA_ExceptionList_var and changed the class - CORBA_ExceptionList to enable reference counting. Fixed the - constructor's signature of all CORBA_SystemException's derived - classes. Thanks to Ian Pepper for reporting - this. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: Added a typedef - TAO_EC_Unlock to avoid MSVC errors. - (reactive_push_to_consumer): Declared reverse_lock as - TAO_EC_Unlock. - - * tao/corbafwd.h: Added typedef of ExceptionList_ptr and - ExceptionList_var in CORBA's namespace. - Added a macro definition TAO_DEFAULT_MINOR_CODE. - - * orbsvcs/orbsvcs/Trader/Locking.h: Changed system exception - initialization signature using TAO_DEFAULT_MINOR_CODE. - - * lots of *.cpp files: Fixed system exception instantiations. - -Wed Apr 28 02:07:42 1999 Pradeep Gore - - * created the directories orbsvcs/examples/CosEC/Factory - * added the following files: - orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl: - idl definition of the CosEventChannelFactory module. - orbsvcs/examples/CosEC/FactoryCosEventChannelFactory_i.h: - orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp: - servant implementation of the CosEC Factory. - orbsvcs/examples/CosEC/Factory/FactoryCosEventChannel_i.h: - orbsvcs/examples/CosEC/Factory/FactoryCosEventChannel_i.cpp: - Decorator for the CosEventChannelAdmin::EventChannel servant. - orbsvcs/examples/CosEC/Factory/FactoryClient.cpp: - Client to test the Factory. - orbsvcs/examples/CosEC/Factory/Makefile - -Wed Apr 28 01:45:33 1999 Irfan Pyarali - - * examples/POA/Generic_Servant/MyFooServant.cpp (timed_operation): - Added a timed operation. This can be used to see how the POA - dispatches multiple upcalls simultaneously. - - * examples/POA/Reference_Counted_Servant/server.cpp - (Reference_Counted_Foo): There is no need to completely redefine - Reference_Counted_Foo. Simply use the magic of multiple - inheritance and inherit from PortableServer::RefCountServantBase - and MyFooServant. - -Wed Apr 28 00:44:59 1999 Pradeep Gore - - * orbsvcs/CosEvent_Service/CosEvent_Service.{h,cpp}: - modified to use the new RtEC. - -Tue Apr 27 23:32:52 1999 Irfan Pyarali - - * tao/TAO.cpp (deactivate_under_child_poa and deactivate): Added - new methods to deactivate the servant. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp - (~Cubit_Server): Deactivate servant before deleting it. - -Tue Apr 27 23:01:30 1999 Vishal Kachroo - - Added the directory $TAO_ROOT/performance-tests/POA/Demux and the - following files for the POA Demux tests. - - * Makefile - * README - * client.cpp : client for the tests. - * demux_stats.cpp : To calculate statistics out of the timeprobe - data generated. - * demux_test.idl : IDL used for the test. - * demux_test_client.cpp : Makes calls on the remote objects - parameterized by the no. of POAs, servants and operations. - * demux_test_client.h: - * demux_test_client.i: Helper class for the client. - * demux_test_i.cpp : Servant Implementation. - * demux_test_i.h: - * demux_test_macros.h: Some #defines for the test. - * demux_test_server.cpp: Server for the test. Parameterized by the - POA ID policy, lifespan policy, no. of servants, operations. - * demux_test_server.h - * names_file: Names used by the servants. - * poa_names_100.dat: Names used by the POAs. - * server.cpp : server main program. - * write_names.cpp : generates the names_file. - -Tue Apr 27 22:35:10 1999 Irfan Pyarali - - * tao/Object_Adapter.cpp: Fixed template instantiations and - constructor initialization order problems. - -Tue Apr 27 21:46:08 1999 Carlos O'Ryan - - * Eliminated priority inversion in the reactive dispatcher, we - release the lock during the upcall to limit the time during - which it is held. - - * orbsvcs/orbsvcs/Event/EC_Dispatching.cpp: - Use the "reactive_push_to_consumer()" method in the - ProxyPushSupplier to ensure that the lock is released during the - upcall. - - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.cpp: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.cpp: - The timeout "filters" need direct access to the - ProxyPushSupplier. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp: - Added a new callback method to the ProxyPushSupplier used by the - Timeout filters to correctly grab the lock before dispatching - the timeout. - We need to control access to this kind of callback interfaces, - possibly using helper classes with "friend" access. - - * orbsvcs/tests/EC_Throughput/ec.conf: - * orbsvcs/Event_Service/svc.conf: - By default use a regular mutex in the ProxyPushSupplier, it is - more efficient and works correctly. - -Tue Apr 27 17:27:16 1999 Ossama Othman - - * tao/LSOCK_Acceptor.{h,cpp}: - * tao/LSOCK_Connector.{h,cpp}: - * tao/LSOCK_Profile.{h,i,cpp}: - * tao/LSOCK_Transport.{h,cpp}: - - These are the Unix Domain Socket pluggable protocol files for TAO. - They are not operational yet, but getting them under CVS - control at this point seems like a good thing to do. - -Tue Apr 27 16:48:24 1999 Irfan Pyarali - - * tao/POA: - - - destroy_i: If the parameter is TRUE, the - destroy operation will return only after all requests in - process have completed and all invocations of etherealize have - completed. Otherwise, the destroy operation returns after - destroying the POAs. - - If a servant manager is associated with the POA, - ServantLocator::etherealize will be invoked with the oid and - the servant. (The deactivate_object operation does not wait - for the etherealize operation to complete before - deactivate_object returns.) - - If the POA has no ServantActivator associated with it, the POA - implementation calls _remove_ref when all operation - invocations have completed. If there is a ServantActivator, - the Servant is consumed by the call to - ServantActivator::etherealize instead. - - * tao/Object_Adapter: - - - Non_Servant_Upcall: This class helps us with a recursive - thread lock without using a recursive thread lock. - Non_Servant_Upcall has a magic constructor and destructor. We - unlock the Object_Adapter lock for the duration of the - non-servant (i.e., adapter activator and servant activator) - upcalls; reacquiring once the upcalls complete. Even though - we are releasing the lock, other threads will not be able to - make progress since - has been - set. - - - Outstanding_Requests: This class helps us by increasing - for the duration of the servant - upcall. Outstanding_Requests has a magic constructor and - destructor. We increment in the - constructor. We decrement in the - destructor. Note that the lock is released after - is increased and - is decreased after the lock has - been reacquired. - - * tao/Active_Object_Map: - - - Added flag to each entry in the map. This flag - is needed because there is a period of time between an - object's deactivation and the etherealization (during which - outstanding requests are being processed) in which arriving - requests on that object should not be passed to its - servant. During this period, requests targeted for such an - object act as if the POA were in holding state until - etherealize completes. If etherealize is called as a - consequence of a deactivate call with a etherealize_objects - parameter of TRUE, incoming requests are rejected. - - - bind_using_system_id(): Removed extra code: entry->system_id_ - = entry->user_id_; this was already happening in - TAO_Active_Hint_Strategy::bind(). - - - unbind_using_user_id(): Only unbind servant if non-zero. - - * tao/Servant_Base.h (TAO_ServantBase): Change reference count - from ACE_Atomic_Op to - ACE_Atomic_Op. This way we can utilize - the InterlockedIncrement / InterlockedDecrement specializations - for Atomic_Op on NT. - - * tao/ORB_Core.cpp (create_and_set_root_poa): Fixed POA - constructor call. - - * tao/default_server.cpp (enable_poa_locking): Changed server - factory to simply inform Object Adapter if POA locking should be - enabled. The Object Adapter will create the proper lock. - -Tue Apr 27 16:40:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp: added some additional - structure member initializations to remove uninitialized memory - reads that were being reported by Purify. - -Tue Apr 27 15:04:14 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - Removed an incorrect "var" string appended to the - local member name in the case where a union contains - another union. Was causing a compile error in fooC.i. - Thanks to Srikumar Kareti - for reporting this. - -Tue Apr 27 12:01:38 1999 Nanbor Wang - - * orbsvcs/Event_Service/Event_Service.cpp (main): Changed to use - TAO_EC_Default_Factory::init_svcs () to add the static service - into service configurator. - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp (connect): - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.cpp (init): - Added ACE_NOTREACHED macros. KAI compiler is pretty good at - figuring out unreachable statements. - -Mon Apr 26 16:49:24 1999 Nanbor Wang - - * TAO_IDL/fe/lex.yy.cpp: Redefined TAO_YY_BREAK as ACE_NOTREACHED - (break;) and made sure it is used properly in the file. - -Mon Apr 26 10:44:18 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Default_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - Added helper method to register the default factory with the - service configurator. This is needed on NT where the - export/import madness does no allow us to use the static service - declaration from outside the DLL. - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: - Added the new Event Channel files. - -Mon Apr 26 09:16:51 1999 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Driver.h: - * orbsvcs/tests/EC_Throughput/ECT_Driver.i: - * orbsvcs/tests/EC_Throughput/ECT_Driver.cpp: - Encapsulated throughput measurements in a helper class. - Added support for accumulating several latency measurements. - - * orbsvcs/tests/EC_Throughput/ECT_Consumer.h: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.h: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.h: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - Added support for accumulated throughput and per-consumer - latency. - - * orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp: - Fine tuned. - - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.cpp: - We should not raise an exception when removing a supplier, - because we would need to filter out supplier removal too. It is - enough to raise the exception from the SupplierAdmin module. - - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp: - Added debugging messages (currently commented out). - - * orbsvcs/orbsvcs/Event/EC_Filter.cpp: - Added some @@ comments. - -Mon Apr 26 05:35:12 1999 Nanbor Wang - - * tao/TAO_Internal.{h,cpp}: Changed *_args to of type const char - *. Thanks to Andy for reporting this. - - * tao/TAO_Internal.{i,cpp} (default_svc_conf_entries): Moved to - .cpp file and remove TAO_Internal.i from repository. - -Sun Apr 25 16:59:59 1999 Nanbor Wang - - * TAO_IDL/fe/lex.yy.cpp: Added ACE_NOTREACHED to two redundant - break statements. - - * TAO_IDL/ast/ast_expression.cpp (coerce_value): Removed a - redundant return statement. - -Sun Apr 25 16:05:19 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.i: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.i: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.i: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - The EC_Factories create a Supplier_Filter_Builder now. This - simplifies some of the memory managment in the system: now the - EC must handle the builder and the builder handles the object it - creates. I was able to lift a restriction of the factories - implemented so far: they can be used from multile ECs now. - - * orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.i: - * orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - The EC_Factory creates a factory object for the supplier-side - filters. Analogous to the consumer-side filter builder. - The ProxyPushConsumer uses this object to create its filter, but - the creation is deferred until the user connects to the - ProxyConsumer (as it is done in the consumer side). - - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.h: - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.cpp: - * orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.cpp: - Moved the trivial supplier-side filter to its own filter. Added - a builder for it. - - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp: - Fixed some problems with late registration of - suppliers/consumers. - - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp: - Fixed several bugs during consumer/supplier match. Also added a - supplier filter builder for this type. - The EC_Default_Factory has support for it too. - - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.h: - Fixed comments. - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - Use the new EC by default. - Start the threads at the right priority. - - * orbsvcs/tests/EC_Throughput/ec.conf: - Enabled the per-supplier filters by default. - - * Updated many makefiles. - -Sat Apr 24 22:57:42 1999 Jeff Parsons - - * TAO_IDL/be/be_interface.cpp: - Fixed a typo that was causing a derived interface's - _set_xxx_skel method to call the base class' - _get_xxx_skel method. Thanks to Kris Johnson - for pointing this out. - -Sat Apr 24 08:51:11 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Factory.cpp: - IRIX required an extra #include - -Sat Apr 24 07:21:24 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Global.cpp (get_high_priority): - on VxWorks, fixed access of default_priority. It's in the - Globals singleton. - -Fri Apr 23 18:11:42 1999 Jeff Parsons - - * tao/ORB.cpp: - Modified file_string_to_object() to use ACE::fopen - instead of ACE::open. Formerly it was crashing when - called from the MSVC debugger, due to a recent change - made to plug a memory leak. This change (suggested by - Carlos) will not support cool filename-within-file - recursive behavior (past the file descriptor limit), but - has the advantage of working with NT and causing no - leaks on Unix. - -Fri Apr 23 16:09:41 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: - Added EC_Default_Factory to the project files. - - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - Added include file that is required on NT, but not on Unix, - beats me. - -Fri Apr 23 16:17:04 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Globals.{h,cpp}: - use ACE_THR_PRI_OTHER_DEF instead of ACE_THR_PRI_FIFO_DEF, - and THR_NEW_LWP instead of THR_BOUND, if not using FIFO scheduling. - Thanks to David H. Whittington - for testing these changes on HP/UX (where we're still not - successful) and Irix (where we are successful), not running - as root. - -Fri Apr 23 11:12:29 1999 Carlos O'Ryan - - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.i: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.i: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Cleaned up EC_Event_Channel initialization: now it takes the POA - for the consumer and suppliers in the constructor instead of - using the factory. This is was required since not all factories - can be initialized with the right POAs. - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - * orbsvcs/tests/EC_Mcast/svc.conf: - This test also uses the default factory now. - -Fri Apr 23 10:15:26 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Factory.cpp: - The factory is a service object now. - Some factories will require the user to set the POA objects. - - * orbsvcs/orbsvcs/Event/EC_Default_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.i: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp: - Added new EC_Factory that uses the command line arguments to - control which strategies and objects are created, it is not very - efficient, but is very useful for experimentation. - - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - Added new methods to set the POAs in the factory, they should be - used for factories that require them. - Added support for controlling ownership of the factory - class. - If the user does not specify any factories explicitly we try to - dynamically load the abstract factory. If that fails we fall - back of the EC_Default_Factory. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - The proxy was not reporting its destruction to the EC, thus it - wasn't removed from all the data structures. - - * orbsvcs/Event_Service/Event_Service.h: - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/Event_Service/svc.conf: - The new Event Service is configured using the EC_Default_Factory - and the svc.conf file. - - * orbsvcs/tests/EC_Throughput/run_test.pl: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/tests/EC_Throughput/ec.conf: - Added support for the new "dynamically loadable" - EC_Default_Factory. - The ec.conf file contains the proper configuration for this - test. - - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.h: - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp: - Added option to disable EC shutdown on program exit. - - * orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp: - Minor fixes in debugging messages. - -Fri Apr 23 000:39:51 1999 Jeff Parsons - - * tao/Marshal.{h,i}: - TAO_Marshal_Any::deep_free() was a no-op! I just forced - the Any's destructor call. This may not be portable, but - the alternative would probably necessitate un-inlining - the function. Time will tell. Anyway, this fixed memory - leaks due to Anys containing Anys. - * tao/append.cpp: - TAO_Marshal_Any::append() was causing client side memory - leaks due to unreleased typecodes. Also fixed some Any - weirdness I noticed by chance in TAO_Marshal_Union. - * tao/skip.cpp: - TAO_Marshal_Any::skip() was causing server side memory - leaks due to unreleased typecodes. - - Thanks to Frank Buschmann - for providing a tortuous Any test idea. - -Thu Apr 22 20:18:58 1999 Ossama Othman - - * man/man7/TAO.7: - - Moved `man/man1/TAO.1' to `man/man7/TAO.7' since TAO.1 doesn't - describe a user program. It seems to fit better in - "Miscellaneous," i.e. man section 7. - - * man/man1/*: - - Updated to reflect move of TAO.1 to man/man7/TAO.7. - -Thu Apr 22 17:24:27 1999 Jeff Parsons - - * tao/Typecode.cpp: - Cosmetic changes to ~TC_Private_State so I can read it. - -Thu Apr 22 13:37:49 1999 Ossama Othman - - * man/man1/tao_idl.1: - - Moved tao_idl man page to newly created man page directory. - - * man/man1/TAO.1: - * man/man1/TAO_Concurrency_Service.1: - * man/man1/TAO_CosEvent_Service.1: - * man/man1/TAO_Event_Service.1: - - Started added man pages for TAO and TAO's ORB services. There are - still several more to complete. Some of the ones listed above need - to be revised. - -Thu Apr 22 07:53:07 1999 Carlos O'Ryan - - * examples/POA/Reference_Counted_Servant/Makefile: - Fixed small compilation problems. - -Wed Apr 21 22:15:43 1999 Irfan Pyarali - - * tao/POA: Phase three of the POA rearchitecturing is now - complete. This phase includes: - - - Addition of reference counting to servants. This includes: - - (a) obeying reference counting protocol between the POA and the - servant - (b) addition of the ServantBase_var class to TAO - (c) addition of the RefCountServantBase class to TAO - (d) addition of reference counting hooks to the ServantBase - class - (e) addition of reference counting to active object map entries - to help in counting the number of outstanding requests on - the servant - - - Etherealization of servants has now been fixed. - and should both - have correct values. - - - New methods were added that help in deactivating and cleaning - up servants. These methods are used by both the POA and the - POA Manager. - - - New example was added. Reference_Counted_Servant shows how to - use reference counted servants to automatically manage dynamic - memory for servants. - - - Setting up of POA Current object id was only done with the - RETAIN policy. This has now been fixed such that it works - properly for all policies. Thanks to Steve Totten - for pointing this out. - -Wed Apr 21 21:56:01 1999 David L. Levine - - * examples/Quoter/client.cpp (main): adding missing , - between arguments to activate (). - -Wed Apr 21 19:11:00 1999 Chris Gill - - * examples/Simulator/DOVEBrowser/NS_Resolve.java: - New NS resolution method based on CORBA standard approach. - Many thanks to Margaret Reitz and - Hans Ridder for contributing these changes. - - * examples/Simulator/NavWeap.idl - examples/Simulator/Event_Supplier/{DualEC_Sup, Event_Sup, - Logging_Sup}.dsp: - Changes to use the new CORBA standard TimeBase.idl - -Wed Apr 21 14:45:28 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - Use Recursive_Mutexes for the Basic_Factory, otherwise we risk a - dead-lock if the user decides to disconnect or push a new event - that it finally reaches the same consumer. - - * orbsvcs/orbsvcs/Event/EC_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Dispatching.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - Added new method push_to_consumer() to the ProxyPushSupplier - implementation, this method is invoked by the dispatching module - to really push the event. Its job is to verify that the consumer - is not disconnected and/or suspended. - The Dispatching module does not need to receive the consumer - anymore. - - * orbsvcs/orbsvcs/Event_Service_Constants.h: - * orbsvcs/orbsvcs/Event_Utilities.i: - Added new macro for the ANY_SOURCE source id. - - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp: - Timeout filters should not accept any events in the filter() - methods. - The Timeout generator passes the event directly to their - push_nocopy() methods. - - * orbsvcs/orbsvcs/Makefile: - Fixed little problem with the Time -> ImplRepo dependency in - TAO_ORBSVCS - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - Added compile-time support for the new Event Channel, just for - experimentation purposes. - -Wed Apr 21 11:06:57 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Globals.{h,cpp}, - server.cpp,client.cpp: factored out thread creation flags to - Globals::thr_create_flags. Only set THR_SCHED_FIFO flag if - sched_fifo_init operation to set process FIFO scheduling succeeded. - -Wed Apr 21 09:37:27 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/summarize: - added 0 low-priority thread case to example usage. - - * performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: - added exit at end of trap statement, so that the script - will die after catching a signal and cleaning up. - -Wed Apr 21 09:25:16 1999 David L. Levine - - * tests/NestedUpcall/MT_Client_Test/client.cpp (main), - examples/Quoter/client.cpp (main), - performance-tests/Cubit/COOL/MT_Cubit/client.cpp - (do_priority_inversion_test): - replaced ACE_SCHED_FIFO with THR_SCHED_FIFO in activate calls. - Thanks to Carlos for finding this subtle error. - -Wed Apr 21 09:12:20 1999 Carlos O'Ryan - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/server.cpp: - The activate() function was called with the wrong flag, - ACE_SCHED_FIFO was used, but THR_SCHED_FIFO is the Right - Thing[tm] - -Wed Apr 21 03:41:51 1999 Douglas C. Schmidt - - * TAO version 0.3.20 released. - -Wed Apr 21 01:24:26 1999 Irfan Pyarali - - * tao/default_resource.cpp: Removed extra #pragma instantiates for - TAO_Collocation_Table_Lock. - -Wed Apr 21 00:56:21 1999 Nanbor Wang - - * orbsvcs/orbsvcs/Property/CosPropertyService_i_T.cpp - (operator=): Added an empty implementation to stop MSVC from - complaining. - -Tue Apr 20 23:21:22 1999 Jeff Parsons - - * tao/Typecode.cpp: - Removed a superfluous duplication of an ACE_Message_Block - in private_member_label(). This got rid of another memory - leak associated with unions. In general, it's never necessary - to duplicate a message block before calling the Any - constructor that takes a message block or either of the - Any::_tao_replace() functions. All of these duplicate the - message block themselves. - -Tue Apr 20 22:57:57 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union/any_op_cs.cpp: - <<= was causing a memory leak. Removed the ->clone () - from the message block being inserted into the Any. - Tested both copying and non-copying versions of <<=, - over the wire, with a dynamically allocated type inside - the union. All worked ok, and the leak was gone. - -Tue Apr 20 20:43:25 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/Property/CosPropertyService_i_T.h: Added a - operator= declaration to avoid this being generated which leads to - undefined operator= for the PropertyTypes member when linking orbsvcs. - Thanks to Irfan Pyarali for the fix. - -Tue Apr 20 20:27:48 1999 Darrell Brunsch - - * orbsvcs/ImplRepo_Service/*: Added an options class for storing - program options and also changed the repository class to not - use the ACE Naming Context. It doesn't have persistence now, - but that will be added soon. - - * orbsvcs/tests/ImplRepo/*: Changed to work with the above changes. - -Tue Apr 20 17:31:28 1999 Douglas C. Schmidt - - * docs: Performed copy editing on a bunch of documentation and - added the new Interoperable Naming Service documentation to the - main documentation page. - -Tue Apr 20 15:24:00 1999 Darrell Brunsch - - * tests/MT_Client/orb_creation.dsp: - * tests/MT_Client/MT_Client.dsp: - New MSVC project file for orb_creation. - -Tue Apr 20 15:18:35 1999 Vishal Kachroo - - * TAO_ROOT/docs/INS.html: Added this page. It documents the - InterOperable Naming Service. - * TAO_ROOT/docs/releasenotes/index.html: Added a link to INS.html - -Tue Apr 20 14:27:07 1999 Jeff Parsons - - * tao/deep_free.cpp: - Removed local variable discrim_size_with_pad, which is no - longer being used. - -Tue Apr 20 11:09:07 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Removed several memory leaks, including the ORB_Core itself: it - wasn't destroyed when the last ORB reference went away. - - * tao/ORB.cpp: - Fixed resource leak in file_string_to_object() - - * tao/default_resource.h: - * tao/default_resource.i: - * tao/default_resource.cpp: - Merged the App_Allocated and Pre_Allocated classes into a single - class, it is easier to control their lifetime and it didn't make - sense to have two. - - * tao/IIOP_Connector.cpp: - Fixed comment. - - * tests/MT_Client/client.global.conf: - * tests/MT_Client/client.tss.conf: - Use static services. - - * tests/MT_Client/orb_creation.cpp: - * tests/MT_Client/server.cpp: - * tests/MT_Client/client.cpp: - Use the ACE macros to print out exceptions. - - * tao/MessagingC.cpp: - Fixed warnings about unitialized variables. - - * tests/MT_Client/Makefile: - Updated dependencies - - * tests/MT_Client/run_test.pl: - Added support for the orb_creation test. - -Tue Apr 20 02:47:32 1999 Nanbor Wang - - * tests/Param_Test/param_test_i.cpp (test_exception): It was still - using environment to throw exceptions. Changed to use ACE_THROW. - - * tests/Param_Test/except.{h,cpp}: Differentiated results based on - the exception received in that iteration so we can determine if - the exception is the one the test is waiting. Egcs on Linux - seems to have trouble downcasting exceptions. - -Mon Apr 19 22:17:28 1999 Irfan Pyarali - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp - (visit_interface): Removed access to input CDR since it is not - used in this function. Thanks to David for pointing this out. - -Mon Apr 19 20:17:02 1999 Jeff Parsons - - * tao/Any.{h,i}: - Changed the signature of the constructor for Any::to_object - to reflect the change set out in issue 154 of the 1.3 RTF. - This makes the caller responsible for disposing of the - results of extracting to to_object, and allows the constructor - to be passed an Object_var to facilitate this. - Also had to add '#include Object.h' to keep sunc++ happy. - -Mon Apr 19 17:09:14 1999 Douglas C. Schmidt - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp (start_servant): - Arrgh! There was a missing comma that caused the test to fail! - Thanks to David H. Whittington - for reporting this. - -Mon Apr 19 16:26:43 1999 Jeff Parsons - - * tao/deep_free.cpp: - Updated TAO_Marshal_Union::deep_free to use the - Union class virtual functions. The old code was - bumpint the void *data pointer along to point to - the discriminator value, then to the member value. - This wasn't working on NT where the first thing - in the union class memory layout is the vptr. Also - changed the use of value() to _tao_get_cdr() on - the elements of the member label list. That - wouldn't work on any platform because those Anys - are all created with void *value = 0; - - * tao/decode.cpp, - * tao/encode.cpp, - * tao/skip.cpp: - Changed the tk_enum case for the discriminator inside - the TAO_Marshal_Union versions to use CORBA::ULong as - was determined to be the correct mapping earlier today. - Also finished implementing the tk_wchar cases, which - Andy had marked TODO. - -Mon Apr 19 15:23:56 1999 Irfan Pyarali - - * orbsvcs/tests/Trading/colocated_test.cpp (main): - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp (run): - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp (run): - * orbsvcs/Trading_Service/Trading_Service.cpp (init): - * tao/Stub.cpp (set_policy_overrides): - * tao/POA.cpp (create_POA): - - Avoided annoying g++ warning about by explicitly - making a temporary. Thanks to David for pointing this out. - -Mon Apr 19 13:54:10 1999 David L. Levine - - * docs/configurations.html: removed TAO_ORBSVCS limitation - that said we don't check for the macro in the each of the - orbsvcs and orbsvcs/tests subdirectories. We do now. - -Mon Apr 19 13:15:25 1999 Irfan Pyarali - - * tao/POA: Fixed POA code to pass and use the environment when - calling _add_ref and _remove_ref on servants. - - * tao/Servant_Base (_add_ref and _remove_ref): Added default - environment parameter to call. Thanks to David for pointing - this out. - - * tao/ORB.cpp (resolve_root_poa and resolve_poa_current): Now that - resolve_initial_references takes a environment, we don't need to - create temporary environments. Changed these functions to take - the environment as a parameter. Thanks to Carlos for pointing - this out. - - * tao/POA: The following changes were made to comply with the new - servant reference counting schemes in the upcoming CORBA 2.3 - specification: - - - Changed type of from Servant to - ServantBase_var. This will help in (a) calling _remove_ref() - on when it is replaced with a new - and (b) calling _remove_ref() on - when the POA goes away. - - - Added servant reference counting to the following methods: - - get_servant - set_servant - activate_object - activate_object_with_id - servant_to_id - servant_to_reference - reference_to_servant - id_to_servant - - - To be done: Calling _remove_ref() on deactivation of objects, - deactivation of POAs, and destruction of POAs. - -Sun Apr 18 12:32:15 1999 Nanbor Wang - - * TAO_IDL/driver/drv_args.cpp (DRV_parse_args): Added check of - validity of temp directory. If tao_idl can't access the temp - directory, spit out some warning and switch to use current - directory. - -Sun Apr 18 09:08:13 1999 David L. Levine - - * tao/ORB.cpp: removed ACE_Atomic_Op - explicit template instantiation. It duplicated the one - in Servant_Base.cpp. - -Sun Apr 18 03:34:33 1999 Irfan Pyarali - - * tao/Servant_Base.h (class ServantBase_var): Added reference - counting servant auto pointer class (as per CORBA spec). - - * tao/Servant_Base (class RefCountServantBase): Added reference - counted mix-in class (as per CORBA spec). - - * tao/Servant_Base.cpp (operator= and TAO_ServantBase): - - - Fixed the copy constructor and assignment operator to copy the - optable pointer from the object. - - - Made the assignment operator protected (as per CORBA spec). - - - Also added _remove_ref() and _add_ref() (as per CORBA spec). - - * tao/Servant_Base.h (TAO_ServantBase): Made _is_a public and add - _non_existent. - - * tao/Object.cpp (_non_existent): Added collocation optimization - similar to the ones in _is_a(). - - * TAO_IDL/be/be_visitor_interface/collocated_ss.cpp - * TAO_IDL/be/be_visitor_interface/collocated_sh.cpp - (visit_interface): Removed the generation of the _is_a from the - collocated class since there is already a call to the servant - from the object if the object is collocated. - - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp - (visit_interface): Removed the incorrect comment that said that - CORBA_Object::_is_a is a remote call. - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp - (visit_interface): Changed the _is_a skeleton to use compiled - marshaling. Also, changed the _non_existent skeleton to use - compiled marshaling and to call the servant instead of simply - returning false. - - * tao/Sequence.cpp (operator==): Moved the comparison of octet - sequences from Stub.cpp to Sequence.cpp. Also, removed the - comparison of object keys. - -Sat Apr 17 17:41:12 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.{h,cpp} : - * orbsvcs/orbsvcs/AV/AVStreams_i_T.cpp : - Fixed g++ warnings/errors. Thanks to David Levine and JM Strauss - for reporting this. - -Fri Apr 16 21:57:15 1999 David L. Levine - - * examples/Simple/{bank,echo,grid,time}/Makefile: - only build if the orbsvcs library was built with - the Naming TAO_ORBSVCS component. - -Fri Apr 16 19:40:27 1999 Jeff Parsons - - * tao/Typecode.cpp: - Okay, here goes. A recent bug report concerning crashes - upon exit after inserting a union into an Any led to this - discovery. When the Any goes away, it calls free_value() - on the union (since it owns it). This leads eventually to - TAO_Marshal_Union::deep_free(). The union wants to free - its contents, so it goes to its own typecode's - private_member_label() to find out which case is active. - The private_state member_label_list is not constructed - until a member_label is asked for, so one is often constructed - at this point. It is an array of Any_ptrs, and each Any - is constructed on the heap from an output CDR stream - which is formed from a message block read from an input - CDR stream formed from the typecode's buffer_. So far so - good? The output CDR stream was constructed using the - default ORB allocators. Then, when the typecode's destructor - is called, it wants to free the member_label_list, which means - freeing the Any(s), which means freeing their message blocks, - which means freeing their data blocks. But by this time, the - ORB has gone away, so the data block(s) are hanging, and we - crash. The solution is to construct the output CDR with - specified allocators, namely ACE_Allocator::instance (). This - class seems to have been designed especially for problems like - this, since it hangs around longer than anybody. As far as I - can tell, there are no more instances in Typecode where a CDR - stream hangs around, so this should be the only place where - this fix is needed (but a better one will come along someday). - Thanks to Irfan for mucho help with this and to Frank Buschmann - for reporting the problem. - -Fri Apr 16 19:02:07 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: Fixed a few warnings in g++ - and also added TAO_McastConfigIf and TAO_Negotiator class declarations. - -Fri Apr 16 16:39:22 1999 Irfan Pyarali - - * tao/Connect: Added a new connection handling strategy that - simply blocks in recv() when waiting for a response from the - server instead of waiting in the Reactor. This strategy only - works when the application does not have to worry about new - requests showing up when waiting for a response. Therefore, this - strategy is appropriate only for "pure" clients. - - Note that applications with nested upcalls are not "pure" - clients. Also note that this strategy will only effect two way - calls, since there is no waiting for one way calls. - - This strategy can also be used in an application that is both a - client and a server, if the server side is handled by a separate - thread and the client threads are "pure" clients. - - Carlos has promised to add policies that will make the selection - of these connection handling policies finer grain than the "all - or nothing" selection that currently exists. The aim would be - to allow some clients (maybe invocations) to use one connection - handling policy and while others to use other policies. - - If applications can use this strategy, they can improve their - performance since the Reactor will not get involved in this code - path. - - Descriptive comparison of the different connection handling - strategies is available in: - http://www.cs.wustl.edu/~schmidt/ACE_wrappers/TAO/docs/Options.html - - Here are some numbers that compare the effect of different - policies on the performance of a simple two way call: - - Policy Performance Speedup percentage - (calls/second) (relative to MT) - ------ ----------- ---------------- - - MT Connection Handler (with a Reactor lock) 4346 0.0 - ST Connection Handler (with a Reactor lock) 4416 1.6 - ST Connection Handler (without a Reactor lock) 4473 2.9 - RW Connection Handler 4676 7.6 - - The above numbers were obtained from the - examples/POA/Generic_Servant/client and - examples/POA/Explicit_Activation/server examples (with the other - usual optimizations turned on) using the following configuration - in loopback mode: - - MSVC 6.0, release mode, NT4.0 SP 3, on a quad CPU Zeon (400 MHz) - - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf.dynamic: - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf: - - Added the new RW connection handling option to these tests. - - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf.static: Removed - this file is it was now identical to the svc.conf file. - -Fri Apr 16 17:16:23 1999 David L. Levine - - * examples/Simulator/{DOVEMIB,Event_Supplier}/Makefile: - only build if the orbsvcs library was built with the necessary - TAO_ORBSVCS components. Also, ran make depend on DOVEMIB - Makefile. - -Fri Apr 16 17:02:43 1999 Balachandran Natarajan - - * examples/Simple/bank - * examples/Simple/time - Update the README files - -Fri Apr 16 15:31:04 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/Trader/Trader.h : - Added TAO_ORBSVCS_Export to TAO_String_Hash_Key as it is used in - AVStreams implemtation. - -Fri Apr 16 14:49:04 1999 Vishal Kachroo - - * tests/InterOp-Naming/Makefile (LDLIBS): - Removed the -lorbsvcs. - -Fri Apr 16 14:17:08 1999 Jeff Parsons - - * TAO_IDL/be_include/be_visitor_field/cdr_op_cs.h: - * TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp: - Added a visit_typedef() method to - be_visitor_cdr_op_field_decl, so that we can - generate cdr operations for typedef'd members - of structs as well as anonymous ones. Previously, - cdr operation code for this type of struct member - would just be missing. Thanks to Torsten Kuepper - for pointing out the - problem and suggesting a fix. - -Fri Apr 16 13:41:00 1999 Chris Gill - - * examples/Simulator/Event_Supplier/DOVE_Supplier.cpp - examples/Simulator/Event_Supplier/Logging_Sup.cpp - examples/Simulator/Event_Supplier/DualEC_Sup.cpp: - changed a number of instances of ORBSVCS_Time::zero - to ORBSVCS_Time::zero () - -Fri Apr 16 09:39:47 1999 David L. Levine - - * tests/NestedUpcall/Triangle_Test/Makefile: - removed unnecessary use of orbsvcs include path and library. - - * tests/NestedUpcall/Reactor/Makefile, - performance-tests/Demux/Makefile, - examples/Callback_Quoter/Makefile, - examples/Event_Comm/Makefile: - only build if the orbsvcs library was built with the Naming - TAO_ORBSVCS component. - - * examples/Quoter/Makefile: - only build if the orbsvcs library was built with the Naming - and LifeCycle TAO_ORBSVCS components. - -Fri Apr 16 09:36:14 1999 David L. Levine - - * tao/default_resource.cpp: removed ACE_*Guard instantiation - pragmas. There were no corresponding template class - instantiation directives, and the pragmas duplicated those - in ORB_Core.cpp. - -Fri Apr 16 08:24:58 1999 Carlos O'Ryan - - * tests/MT_Client/Makefile: - * tests/MT_Client/orb_creation.cpp: - Added new test to check if the simultaneous creation of multiple - ORB works and to check for memory leaks in the ORB - lifecycle. - - * tests/MT_Client/client.cpp: - Minor cosmetic fix. - - * tao/default_resource.cpp: - Re-order the destruction of objects in the - TAO_App_Allocated_Resources class, otherwise we get seg faults - on shutdown. Thanks to Irfan for reporting this problem. - -Fri Apr 16 07:25:25 1999 David L. Levine - - * orbsvcs/Dump_Schedule/Makefile,orbsvcs/Event_Service/Makefile, - orbsvcs/Scheduling_Service/Makefile,orbsvcs/tests/EC_Basic/Makefile, - orbsvcs/tests/EC_Custom_Marshal/Makefile, - orbsvcs/tests/EC_Mcast/Makefile,orbsvcs/tests/EC_Multiple/Makefile, - orbsvcs/tests/EC_Throughput/Makefile, - orbsvcs/tests/Event_Latency/Makefile - orbsvcs/tests/Sched/Makefile,orbsvcs/tests/Sched_Conf/Makefile: - only build if the orbsvcs library was built with the respective - TAO_ORBSVCS component. - -Thu Apr 15 16:35:27 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - * tao/Environment.cpp: - Fixed initialization problem, to query the default environment - we don't need the ORB_Core, only its TSS resources, this allow - us to use CORBA_init() without the environment argument. - -Thu Apr 15 15:58:52 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Trader/Trader_Utils.h: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - * orbsvcs/tests/AVStreams/server_discovery/Trader_Client.cpp: - * orbsvcs/tests/Trading/Offer_Importer.cpp: - * orbsvcs/tests/Trading/Offer_Importer.h: - Changed the name of the TAO_Policy_Manager class in Trader_Utils - to TAO_Policy_Creator, the previous name had conflicts with the - new TAO_Policy_Manager in $TAO_ROOT/tao. - - * docs/releasenotes/TODO.html: - A small update - -Thu Apr 15 15:40:53 1999 David L. Levine - - * all orbscvs/tests/AVStreams Makefiles: added BIN2, LIB2, - and SHLIB2 support, for make realclean. - - * orbsvcs/tests/AVStreams/server_discovery/Makefile: - added Video_Discovery.idl to make realclean target. - -Thu Apr 15 13:22:15 1999 Carlos O'Ryan - - * tao/ORB.h: - * tao/ORB_Core.h: - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - Fixed some problems with compilation under NT. - -Thu Apr 15 10:44:12 1999 Carlos O'Ryan - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - * tao/TAO_Internal.cpp: - * tao/ORB.h: - * tao/ORB.cpp: - Each ORB creates its own ORB_Core. The ORB_Core is no longer a - TSS singleton, instead it keeps some of its resources in TSS - storage, but it is a per-ORB resource. - TAO_ORB_Core_instance() returns the ORB_Core of the default ORB. - - * tao/default_server.h: - * tao/default_server.cpp: - * tao/Server_Strategy_Factory.h: - * tao/Server_Strategy_Factory.cpp: - The open() method receives the ORB_Core as a parameter to avoid - recursive calls to TAO_ORB_Core_instance() during startup. - - * tao/default_client.h: - * tao/default_client.cpp: - Moved the {MT,ST}_Connect_Creation_Strategy classes to this file - because here is where they are used, not in the ORB_Core. - - * tao/IIOP_Connector.cpp: - Moved template instantiations required on this file from - ORB_Core.cpp - - * tao/Servant_Base.cpp: - * tao/POAManager.cpp: - * tao/Object_Adapter.h: - * tao/Object_Adapter.i: - * tao/Invocation.cpp: - * tao/IIOP_Profile.cpp: - * tao/Connect.cpp: - Added some includes because they were removed from ORB_Core.h - - * tao/Connect.h: - * tao/params.h: - * tao/params.i: - * docs/Options.html: - Removed deprecated OA options. - - * tao/Resource_Factory.h: - * tao/Resource_Factory.cpp: - * tao/default_resource.h: - * tao/default_resource.i: - * tao/default_resource.cpp: - Separated the Resource_Factory from the ORB_Core files, also - separated the Resource_Factorty from its default implementation, - as we do for the client and server strategy factories. - - * tests/MT_Client/client.global.conf: - * tests/MT_Client/client.tss.conf: - * tests/NestedUpcall/MT_Client_Test/client.conf: - * examples/POA/On_Demand_Loading/svc.conf: - * examples/Quoter/client.conf: - * examples/Quoter/server.conf: - * examples/Simulator/DOVEMIB/svc.conf: - * examples/Simulator/Event_Supplier/svc.conf: - * orbsvcs/tests/AVStreams/benchmark/clnt.conf: - * orbsvcs/tests/AVStreams/benchmark/svc.conf: - * orbsvcs/tests/AVStreams/mpeg/source/client/svc.conf: - * orbsvcs/tests/AVStreams/mpeg/source/server/svc.conf: - * orbsvcs/tests/ImplRepo/implrepo.conf: - * orbsvcs/tests/ImplRepo/svc.conf: - * orbsvcs/tests/Time/implrepo.conf: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf.dynamic: - * performance-tests/Thruput/TAO/svc.conf: - Updated the configuration files, to reflect the new name of the - default resource factory. - -Wed Apr 14 20:38:51 1999 Irfan Pyarali - - * tao/PolicyC.cpp: Added missing template instantiations. Thanks - to Robert V. Head for reporting them. - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: Added missing instantiation - for TAO_PropertySet. - - * tao/Object_Adapter.cpp: Removed trailing semi-colon from #pragma - instantiate. - -Wed Apr 14 16:43:32 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - One of the strings removed in ORB_Core::init() was not - duplicated first. - -Wed Apr 14 15:33:35 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp: - * orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp: - * orbsvcs/orbsvcs/AV/AVStreams_i_T.cpp: - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: - Replaced all uses of TAO_TRY macros with ACE_TRY macros. - -Wed Apr 14 15:25:53 1999 Balachandran Natarajan - - * TAO_IDL/be_visitor_sequnce/gen_object_manager_ch.cpp - * TAO_IDL/be_visitor_sequnce/gen_object_manager_ci.cpp - Added a new -> operator and also removed a 'const' signature - for the .in method in TAO_Object_Manager_{Name}_Sequence classes - that are generated by the IDL compiler. This has been in TAO - for sometime now.. - --------------------------------------------- - tao/Sequence_T.i (operator->): Added operator-> to - TAO_Object_Manager. Also, made the in() method return a - non-const pointer - ------------------------------------------- -Wed Apr 14 13:01:13 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: Fixed template instantiation - errors. Thanks to Andy Gokhale for reporting this. - -Wed Apr 14 07:06:11 1999 David L. Levine - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - fixed semicolons at ends of explicit template - instantiations. - -Wed Apr 14 00:24:42 1999 Irfan Pyarali - - * tao/Object_Adapter.cpp: Added missing template instantiations. - Thanks to Robert V. Head for reporting them. - -Tue Apr 13 17:02:39 1999 Carlos O'Ryan - - * tao/Stub.cpp: - auto_ptr<> requires an explicit constructor, thanks to David and - the green hills compiler for detecting this. - -Tue Apr 13 13:59:32 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp: - Added inlcudes and macros to send output to a file, as - the tests in ACE_wrappers/tests do. The macros are - commented out, so the cubit tests will work exactly - the same as before unless client.cpp and server.cpp are - built with those macros uncommented. Especially useful - for dealing with timeprobes, where there might be - hundreds of entries in the output - -Tue Apr 13 12:35:18 1999 Carlos O'Ryan - - * tao/Connect.h: - * tao/Connect.cpp: - The MT_Client_Connection handler was using ORB_Core_instance() - all over the place. Now it uses the ORB_Core provided in the - send_request call. - We will need to revisit this class, right now it allocates one - condition variable per-connection, but allocating one on a - per-thread (many per-thread-per-ORB) basis should be enough. - We are also careful to use the ORB_Core's reactor to send the - request and to implement the leader-follower model. - - * tao/ORB_Core.cpp: - Changed bunch of calls to TAO_ORB_Core_instance() in an ORB_Core - method, using is enough in that case. - - * tests/MT_Client/client.cpp: - * tests/MT_Client/server.cpp: - * tests/MT_Client/test_i.cpp: - * tests/MT_Client/server.conf: - * tests/MT_Client/client.tss.conf: - * tests/MT_Client/client.global.conf: - * tests/MT_Client/run_test.pl: - Added configuration files for the client, it can use TSS storage - now. Also added some (optional) debugging information to monitor - the client progress. - The script supports this new features too. - Simplified the server configuration file. - - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf: - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf.static: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf.dynamic: - We can use TSS allocators in this examples. - -Tue Apr 13 09:52:20 1999 David L. Levine - - * orbsvcs/Concurrency_Service/Makefile, - orbsvcs/CosEvent_Service/Makefile, - orbsvcs/ImplRepo_Service/Makefile, - orbsvcs/Logging_Service/Makefile, - orbsvcs/Naming_Service/Makefile, - orbsvcs/tests/Concurrency/Makefile, - orbsvcs/tests/CosEC_Basic/Makefile, - orbsvcs/tests/CosEC_Multiple/Makefile, - orbsvcs/tests/ImplRepo/Makefile, - orbsvcs/tests/Logger/Makefile, - orbsvcs/tests/Simple_Naming/Makefile: added BIN2 support, - for make realclean. - -Mon Apr 12 22:12:27 1999 Vishal Kachroo - - Removed the resolve_commandline_ref (). This was no longer - being used. Also passed ACE_TRY_ENV as a parameter to the - following functions. Carlos suggested these changes : - - resolve_service () - multicast_to_service () - resolve_trading_service () - - * tao/ORB.h - * tao/ORB.cpp - -Mon Apr 12 17:13:37 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/orbsvcs.dsp: Added the AVStreams_i_T.{h,cpp} and - CosPropertyService_i_T.{h,cpp} to the project file. - - * orbsvcs/tests/AVStreams/benchmark/AV_benchmark.dsw: - * orbsvcs/tests/AVStreams/benchmark/av_benchmark_client.dsp: - * orbsvcs/tests/AVStreams/benchmark/av_benchmark_server.dsp: - * orbsvcs/tests/AVStreams/benchmark/av_benchmark_child.dsp: - Added the NT VC++ project files and worspace files. - - * orbsvcs/tests/AVStreams/benchmark/server.cpp: - * orbsvcs/tests/AVStreams/benchmark/client.cpp: - Fixed the compilation errors on NT. - Works fine on Unix platforms. - * orbsvcs/tests/AVStreams/benchmark/child_process.cpp: - Added the new file which has just the main() for the child - process. Thanks to David Hooker for - reporting the errors. - - * orbsvcs/orbsvcs/AV/AVStreams_i_T.{h,cpp}: Moved the - TAO_StreamEndpoint classes from AVStreams_i.{h,cpp} as it was made - a template to avoid interface inheritance errors on NT VC++. - - * orbsvcs/orbsvcs/Property/CosPropertyService_i_T.{h,cpp}: Moved the - TAO_PropertySet classes from AVStreams_i.{h,cpp} as it was made - a template to avoid interface inheritance errors on NT VC++. - - * orbsvcs/orbsvcs/Makefile: Added the new AVStreams_i_T.{h,cpp} - and CosPropertyService_i_T.{h,cpp}. - -Mon Apr 12 14:24:12 1999 Carlos O'Ryan - - * tao/ORB.cpp: The resolve_policy_manager() and - resolve_policy_current() only worked if TAO_HAS_CORBA_MESSAGING - was defined. - - * tao/ORB_Core.cpp: - * tao/Stub.cpp: More problems if TAO_HAS_CORBA_MESSAGING is not - defined. - -Mon Apr 12 14:19:45 1999 David L. Levine - - * LifeCycle_Service/Makefile,tests/Property/Makefile, - Trading_Service/Makefile,tests/Trading/Makefile: only build if - the orbsvcs library was built with the necessary component. - - * Time_Service/Makefile,tests/Time/Makefile: added BIN2 support, - for make realclean. - -Mon Apr 12 14:09:06 1999 Alexander Babu Arulanthu - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp, - * tao/Servant_Base.h, - * tao/Server_Request.i, - * tao/Operation_Table.h, - * tao/Servant_Base.cpp, - * tao/Server_Request.cpp, - * tao/Operation_Table.cpp: Committed again the changes related to - Removing strlen calculation for the Operation Name from the - critical path. Length as it is obtained during demarshalling is - stored in the IIOP_Request object and passed to the Perfect - Hash's find operation. ACE_CString is used to store the - operation as opposed char *. Thanks to Irfan for suggesting this - change. - -Mon Apr 12 13:41:23 1999 Jeff Parsons - - * tao/Timeprobe.h, - * tao/Connect.cpp, - * tao/Invocation.cpp: - Added four new timeprobes to measure client outgoing process - time and server process time. Whereas the pluggable protocols - timeprobes were a subset of the regular timeprobes, these are a - disjoint set. If both the pluggable and minimal timeprobes - macros are uncommented in Timeprobe.h, pluggable will override. - -Mon Apr 12 12:37:39 1999 Carlos O'Ryan - - * tao/Stub.cpp: - Added missing template instantiations. - -Mon Apr 12 10:38:46 1999 Carlos O'Ryan - - * tao/MessagingC.cpp: - * tao/PolicyC.cpp: - Removed warnings about unused variables, the variables are - required for platforms without native C++ exceptions. - - * docs/Options.html: - Fixed description of the ORBinputcdrallocator option. - -Mon Apr 12 09:52:58 1999 Carlos O'Ryan - - * tao/Makefile: - Keep working on the CORBA Messaging framework. - - * tao/orbconf.h: - * tao/ORB.h: - * tao/ORB.cpp: - Added support for "PolicyCurrent" and "ORBPolicyManager" into - resolve_initial_references() - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - Added methods to set and query the TSS PolicyCurrent and the - per-ORB PolicyManager. - - * tao/Object.h: - * tao/Object.cpp: - Implemented the standard methods to access and query policies, - but they just delegate on the TAO_Stub methods. - - * tao/Stub.h: - * tao/Stub.cpp: - Added methods to set and query the policies. - - * tao/Policy_Manager.h: - * tao/Policy_Manager.i: - * tao/Policy_Manager.cpp: - Simple implementation of the CORBA::PolicyManager and - CORBA::PolicyCurrent interfaces. There is a helper class shared - between both implementations that is also used by the - corresponding methods in CORBA::Object (and TAO_Stub). - - * tao/MessagingC.cpp: - Added missing template instantiation - - * tests/Param_Test/Makefile: - * examples/Event_Comm/Makefile: - * examples/Quoter/Makefile: - * performance-tests/Cubit/TAO/IDL_Cubit/Makefile: - * performance-tests/Pluggable/Makefile: - * performance-tests/Thruput/TAO/Makefile: - Removed extra rules to compile .idl files, they were giving me - headaches when running parallel compiles. - -Mon Apr 12 03:30:18 1999 Pradeep Gore - - * TAO_IDL/be/be_visitor_union/any_op_cs.cpp (gen_extraction): - modified ACE_static_cast to ACE_dynamic_cast to fix a compile - error on SunCC 5.0 when casting to void* from non-void pointer. - Thanks to Darren Whobrey for reporting - this bug. - -Mon Apr 12 00:26:31 1999 Douglas C. Schmidt - - * TAO version 0.3.19 released. - -Sun Apr 11 23:55:50 1999 Balachandran Natarajan - - * tests/Param_Test/driver.cpp - * tests/Param_Test/multdim_array.cpp - * tests/Param_Test/param_test.idl - * tests/Param_Test/param_test_i.cpp - * tests/Param_Test/param_test_i.h - Temporarily comments out test code for Multi-dimensional arrays - due to nasty compile bugs on NT. - -Sun Apr 11 19:38:39 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp - * orbsvcs/orbsvcs/Persistent_Naming_Context.{h, cpp} - * orbsvcs/orbsvcs/Persistent_Context_Index_T.cpp - Changed the use of the variable name to - to avoid conflict with the macro of the same name. - -Sun Apr 11 18:29:47 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (TAO_Naming_Client): - Fixed the use of ACE_Thread_Mutex to ACE_SYNCH_MUTEX to ensure - this will run properly on non-threaded platforms. Thanks to - Alex for reporting this. - -Sun Apr 11 15:36:33 1999 Balachandran Natarajan - - * examples/POA/DSI/Database_i.cpp - * examples/POA/DSI/Database_i.h - Fixed some warnings on IRIX - -Sun Apr 11 11:45:49 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp: - Added missing template instantiation. - - -Sat Apr 10 20:55:00 1999 Balachandran Natarajan - - * tests/Param_Test/multdim_array.cpp: - * tests/Param_Test/multdim_array.h - * tests/Param_Test/Makefile - * tests/Param_Test/driver.cpp - * tests/Param_Test/options.cpp - * tests/Param_Test/param_test.idl - * tests/Param_Test/param_test_i.cpp - * tests/Param_Test/param_test_i.h - * tests/Param_Test/tests.h: Added a new test case for - multi-dimensional array checking. - -Sat Apr 10 16:22:59 1999 Vishal Kachroo - - * doc/papers/COOTS-99/poa.tex (): Made the Nos. in the table - consistent with the figure. - -Sat Apr 10 14:26:48 1999 Alexander Babu Arulanthu - - * tao/POA.cpp: Removed #POA_NO_TIMESTAMP according to Irfan's - suggestion to get things to work on Soalris. - -Fri Apr 9 22:18:08 1999 Alexander Babu Arulanthu - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - * tao/Servant_Base.h : - * tao/Server_Request.i : - * tao/Operation_Table.h : - * tao/Servant_Base.cpp: - * tao/Server_Request.cpp : - * tao/Operation_Table.cpp : - - Reverted the earlier changes related to saving strlen calculation - on the critical path. - -Fri Apr 9 17:49:25 1999 Carlos O'Ryan - - * tao/Server_Request.h: - * tao/Server_Request.i: - Removed extra in return type. The return was by-value, - no sense in putting const in that case. Further, some compilers - bark when you do so. - -Fri Apr 9 17:14:09 1999 Carlos O'Ryan - - * rules.tao.GNU: - Fixed typos in the alternative extensions for generated files. - -Fri Apr 9 16:23:47 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/README: - Added a short blurb about persistent Naming Service - - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.cpp: Removed - the use of nested typedefs, as this was breaking old g++ - compiler. Surrounded Debug statements by . Added a return - statement to avoid warnings. - - * orbsvcs/Naming_Service/README: Added description of persistence - command-line option. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.{h,cpp}: Changed the order - of arguments in method and constructor, to avoid breaking - old code with the addition of the new parameter. - -Fri Apr 09 16:19:12 1999 Irfan Pyarali - - * tao/POA.cpp (create_object_key and parse_key): We must include - the persistent bit even when the POA_NO_TIMESTAMP is defined. - Otherwise, we won't know which POA map to search. Thanks to Russ - Noseworthy for reporting this. - -Fri Apr 9 15:20:10 1999 Alexander Babu Arulanthu - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp (visit_interface): - * tao/Servant_Base.h (TAO_ServantBase): - * tao/Server_Request.i (operation): - * tao/Operation_Table.h (TAO_Operation_Table): - * tao/Servant_Base.cpp: - * tao/Server_Request.cpp (retval_): - * tao/Operation_Table.cpp (TAO_Dynamic_Hash_OpTable): Removed - strlen calculation for the Operation Name from the critical - path. Length as it is obtained during demarshalling is stored in - the IIOP_Request object and passed to the Perfect Hash's find - operation. - -Fri Apr 09 12:52:24 1999 Irfan Pyarali - - * examples/POA/DSI/Database_i.cpp (_is_a): Removed - ACE_UNUSED_ARG(named_value_1) since named_value_1 was removed. - -Fri Apr 9 14:29:42 1999 Jeff Parsons - - * tao/Any.{h,cpp}: Changed the argument of the static dump() - function from const value to const reference. Thanks to Ulf - Jaehrig for suggesting this. - -Fri Apr 9 13:28:06 1999 Vishal Kachroo - - Added the following .xls files : - - * TAO/performance-tests/Demux/operation_demux2d.xls - * TAO/performance-tests/Demux/operation_demux3d.xls - * TAO/performance-tests/Demux/servant_dispatch2d.xls - * TAO/performance-tests/Demux/servant_dispatch3d.xls - * TAO/performance-tests/Demux/poa_lookup2d.xls - * TAO/performance-tests/Demux/poa_lookup3d.xls - - Updated the following .dsp files to incorporate the recent file - name changes for Time service server and clerk. - - * Time_Service_{Server,Clerk}.dsp - -Fri Apr 9 11:30:37 1999 Nanbor Wang - - * tao/default_server.cpp: - * tao/default_client.cpp: - * tao/ORB_Core.cpp: Removed ACE_STATIC_SVC_REQUIRE. - - * tao/TAO_Internal.cpp (open_services): Added in TAO's default - static services here. - -Fri Apr 09 08:19:42 1999 David L. Levine - - * Logging_Service/Makefile,Naming_Service/Makefile, - tests/Logger/Makefile,tests/Simple_Naming/Makefile: - only build if the orbsvcs library was built with the - necessary component. - -Fri Apr 09 01:51:52 1999 Irfan Pyarali - - * tao/PolicyC.i (_duplicate and _nil): Non-inlined these to remove - "used before defined" warning. - - * tao/Object_Adapter.i (lock and find_persistent_poa): Rearranged - to remove "used before defined" warning. - -Fri Apr 9 00:49:35 1999 Balachandran Natarajan - - * examples/POA/On_Demand_Activation/server.cpp (main), - * examples/POA/On_Demand_Activation/Servant_Activator.cpp, - * examples/POA/On_Demand_Activation/Servant_Locator.cpp: Made some - cosmetic changes. Basically changed some ACE_TRY macros - -Fri Apr 9 00:04:45 1999 Pradeep Gore - - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp: - * orbsvcs/tests/CosEC_Basic/CosEC_Basic.cpp: - * orbsvcs/tests/CosEC_Multiple/CosEC_Multiple.cpp: - added trailing ";" to ACE_DECLARE_NEW_CORBA_ENV - -Thu Apr 8 23:12:18 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Naming/Naming_Utils.h (TAO_Naming_Server): Added - a default value of 0 to the persistence_location so that the - code will build again... - - * tao/ORB.cpp: Rewrote the multicast_query() method to test a - theory about what might be causing the problem on NT. Thanks to - Margaret Reitz for motivating this. - -Thu Apr 08 18:45:56 1999 Irfan Pyarali - - * tao/ORB_Core.cpp (root_poa_reference): Had to non-inline this - function because of reference to the TAO_POA class. - - * tao/POA: - * tao/POAManager: - - Changed a bunch of functions to be non-virtual. - - * tao/Active_Object_Map.cpp: - * tao/Object_Adapter.cpp: - - Inlined a bunch of functions. - - * tao/Object_Adapter: Moved the timeprobes from the POA to this - class. - -Thu Apr 08 20:36:39 1999 Nanbor Wang - - * tao/TAO[_Static].dsp: - * orbsvcs/orbsvcs/orbsvcs[_static].dsp: Reworked. - -Thu Apr 8 15:30:55 1999 Marina Spivak - - * docs/releasenotes/index.html: Updated to reflect the - availability of the Persistent Naming Service. - - * orbsvcs/tests/Simple_Naming/client.cpp: Added a missing coma - after macro. - - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index.{h, cpp} - * orbsvcs/orbsvcs/Naming/Persistent_Bindings_Map.{h, cpp} - * orbsvcs/orbsvcs/Naming/Persistent_Entries.{h, cpp}: Fixed - various compiler warnings/errors, e.g., order of member - initialization, explicit template instantiation, qualifying - types with class names, etc. - - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.{h, cpp}: - Added the files to separate template code from non-template code - in Persistent_Context_Index.{h,cpp}. - - * orbsvcs/orbsvcs/Naming/Shared_Hash_Map.{h, cpp}: Changed the - name to Shared_Hash_Map_T.{h, cpp}. - -Thu Apr 08 14:48:15 1999 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf.dynamic, - performance-tests/Cubit/TAO/MT_Cubit/svc.conf.static: Added - -ORBallowreactivationofsystemids 0. - -Thu Apr 08 14:31:19 1999 Irfan Pyarali - - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf: Added - -ORBallowreactivationofsystemids 0 to the svc.conf files since - no reactivation of servants was taking place. - -Thu Apr 8 14:17:31 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/sfp/sfp_client.dsp: - * orbsvcs/tests/AVStreams/sfp/sfp_server.dsp: - * orbsvcs/tests/AVStreams/sfp/sfp_tests.dsw: Added these project/ - worspace files for VC++. - - * orbsvcs/tests/AVStreams/sfp/server.cpp: - * orbsvcs/tests/AVStreams/sfp/client.cpp: Added a ORB shutdown so - that the tests terminate when the SFP stream terminates. - - * orbsvcs/tests/AVStreams/sfp/common.h: Added a #include - "orbsvcs_export.h" for VC++. - - * orbsvcs/orbsvcs/AV/sfp.{h,cpp}: Changed the DUMP_BUF macro to a - function. Fixed the signed/unsigned warnings on NT.Fixed a - missing return 0 so that the tests work on NT. - -Thu Apr 8 13:49:16 1999 Carlos O'Ryan - - * tao/Active_Object_Map.cpp: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: Added missing - template instantiations. Thanks to Dave Meyer - for this one. - - * rules.tao.GNU: - * orbsvcs/orbsvcs/Makefile: Fixed some dependencies and rules - problems with the IDL generated files, now we can do "make -j 4" - in orbsvcs (and apparently all the TAO directories) - -Thu Apr 08 14:05:28 1999 David L. Levine - - * CosEvent_Service/Makefile,tests/CosEC_Basic/Makefile, - tests/CosEC_Multiple/Makefile: only build if the orbsvcs library - was built with the CosEvent TAO_ORBSVCS component. - -Thu Apr 08 13:47:03 1999 David L. Levine - - * BUG-REPORT-FORM,PROBLEM-REPORT-FORM, - README,VERSION,Makefile,Makefile.am: moved BUG-REPORT-FORM to - PROBLEM-REPORT-FORM. Thanks to Thomas Lockhart - for suggesting this. - -Thu Apr 8 12:59:21 1999 Vishal Kachroo - - * tao/orbconf.h (TAO_DEFAULT_SERVICE_RESOLUTION_TIMEOUT): Changed - the value from 1 to 4 to prevent premature timeouts. Thanks to - Margaret Reitz for motivating this. - - Also removed the #ifdef for TAO_DEFAULT_MULTICAST_SEND_ATTEMPTS - since this is obsolete now. - -Thu Apr 8 11:40:59 EDT 1999 Aniruddha Gokhale - - * orbsvcs/orbsvcs/Naming_Service/Persistent_Context_Index.cpp: - Missing implementation of the virtual destructor for TAO_Index - added. - -Wed Apr 7 20:28:03 1999 Nanbor Wang - - * orbsvcs/tests/CosEC_Multiple/CosECConsumer.cpp: - * orbsvcs/tests/CosEC_Multiple/CosECSupplier.cpp: - * orbsvcs/tests/CosEC_Multiple/CosEC_Multiple.cpp: Added trailing - semi-columns after ACE_DECLARE_NEW_CORBA_ENV. - -Wed Apr 7 19:34:44 1999 Alexander Babu Arulanthu - - * orbsvcs/tests/Property/{server, client}.dsp:Made the release - versions. - -Wed Apr 7 18:49:41 1999 Carlos O'Ryan - - * tao/Typecode_Constants.cpp: Added missing _tc_ static in the - CORBA module. - - * tao/Object_Adapter.cpp: Removed duplicate template - instantiations. - - * tao/MessagingS_T.i: Commented out code for CORBA::Poller and - friends. - - * tao/MessagingC.cpp: Removed unwanted template instantiations. - -Wed Apr 7 17:31:40 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/sfp.{h,cpp}: Replaced CDR with ACE_CDR. Also - moved the FRAGMENT_SET_ITERATOR typedef outside the - TAO_SFP_Fragment_Table_Entry. Thanks to David Hooker - for reporting this. - -Wed Apr 7 16:36:26 1999 Darrell Brunsch - - * TAO-INSTALL.html: Added a note about rebuilding all when - upgrading releases. - -Wed Apr 7 16:32:05 1999 Jeff Parsons - - * TAO_IDL/ast/ast_expression.cpp: - * TAO_IDL/include/ast_expression.h: A quick fix for the DEC bug - report by Rod Joseph and Hoggard - . More extensive changes are in progress. This - fix just removes the declaration and definition of - AST_Expression constructors taking ACE_CDR::LongLong and - ACE_CDR::ULongLong args. - -Wed Apr 7 16:25:49 1999 Darrell Brunsch - - * orbsvcs/orbsvcs/orbsvcs.dsp: Renamed references to CosTimeBase - to TimeBase. - - * tao/GIOP.cpp: Removed what looked to be a rogue "o". - -Wed Apr 7 15:52:06 1999 Ossama Othman - - * Makefile.am: Added `clean-local' targets to all Makefile.am - files. Minor updates to the top-level TAO Makefile.am. - -Wed Apr 07 15:17:02 1999 Carlos O'Ryan - - * tao/POA_CORBA.h: - * tao/Typecode_Constants.cpp: Fixed problems with the - (unimplemented) CORBA::Poller and friends. Thanks to Darrell for - pointing this out. - -Wed Apr 7 15:13:23 1999 Ossama Othman - - * configure.in: - * tao-config.1.in: - * tao-config.in: - * taoConf.sh.in: - * Makefile.am: - * TAO_IDL/ast/Makefile.am: - * TAO_IDL/be/Makefile.am: - * TAO_IDL/be_include/Makefile.am: - * TAO_IDL/driver/Makefile.am: - * TAO_IDL/fe/Makefile.am: - * TAO_IDL/include/Makefile.am: - * TAO_IDL/narrow/Makefile.am: - * TAO_IDL/util/Makefile.am: - * TAO_IDL/Makefile.am: - * orbsvcs/Concurrency_Service/Makefile.am: - * orbsvcs/CosEvent_Service/Makefile.am: - * orbsvcs/Dump_Schedule/Makefile.am: - * orbsvcs/Event_Service/Makefile.am: - * orbsvcs/ImplRepo_Service/Makefile.am: - * orbsvcs/LifeCycle_Service/Makefile.am: - * orbsvcs/Logging_Service/Makefile.am: - * orbsvcs/Naming_Service/Makefile.am: - * orbsvcs/Scheduling_Service/Makefile.am: - * orbsvcs/Time_Service/Makefile.am: - * orbsvcs/Trading_Service/Makefile.am: - * orbsvcs/Makefile.am: - * orbsvcs/orbsvcs/AV/Makefile.am: - * orbsvcs/orbsvcs/Concurrency/Makefile.am: - * orbsvcs/orbsvcs/CosEvent/Makefile.am: - * orbsvcs/orbsvcs/Event/Makefile.am: - * orbsvcs/orbsvcs/Makefile.am: - * orbsvcs/orbsvcs/Log/Makefile.am: - * orbsvcs/orbsvcs/Naming/Makefile.am: - * orbsvcs/orbsvcs/Property/Makefile.am: - * orbsvcs/orbsvcs/Sched/Makefile.am: - * orbsvcs/orbsvcs/Time/Makefile.am: - * orbsvcs/orbsvcs/Trader/Makefile.am: - * orbsvcs/tests/AVStreams/benchmark/Makefile.am: - * orbsvcs/tests/AVStreams/mpeg/source/client/Makefile.am: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Makefile.am: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_mib/Makefile.am: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Makefile.am: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_shared/Makefile.am: - * orbsvcs/tests/AVStreams/mpeg/source/server/Makefile.am: - * orbsvcs/tests/AVStreams/mpeg/source/Makefile.am: - * orbsvcs/tests/AVStreams/mpeg/Makefile.am: - * orbsvcs/tests/AVStreams/server_discovery/Makefile.am: - * orbsvcs/tests/AVStreams/sfp/Makefile.am: - * orbsvcs/tests/AVStreams/Makefile.am: - * orbsvcs/tests/Makefile.am: - * tao/Makefile.am: - Checked these files into the CVS repository. These files are - part of the TAO+auto{conf,make}/libtool integration work. There - are still some missing files and some of the above files need to - be modified before they will work. I just wanted to get these - files under CVS control so that I can easily recover from a - mishap or for some reason beyond my control. - -Wed Apr 07 14:34:31 1999 Irfan Pyarali - - * examples/POA/DSI/Database_i.cpp (_is_a): Removed unused - variable. - - * examples/POA/Loader/Servant_Activator.cpp (ServantActivator_i): - * examples/POA/Loader/Servant_Locator.cpp (ServantLocator_i): - * examples/POA/On_Demand_Loading/Servant_Manager.cpp - (obtain_servant): Should use a simple cast for casting functions - and not reinterpret_cast. - - * examples/POA/On_Demand_Loading/Servant_Manager.cpp - (parse_string): Fixed comparison between signed and unsigned; - should be signed. - -Wed Apr 7 14:05:09 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/Hash_Naming_Context.{h,cpp} - * orbsvcs/orbsvcs/Naming/Naming_Context.{h, cpp} - * orbsvcs/orbsvcs/Naming/Naming_Utils.{h,cpp} - Updated to use new exceptions macros. - - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.{h,cpp} - * orbsvcs/orbsvcs/Naming/Persistent_Entries.{h,cpp} - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index.{h,cpp} - * orbsvcs/orbsvcs/Naming/Persistent_Bindings_Map.{h,cpp} - * orbsvcs/orbsvcs/Naming/Shared_Hash_Map.{h,cpp} - * orbsvcs/orbsvcs/Naming/Naming_Utils.{h,cpp} - * orbsvcs/Naming_Service/Naming_Service.{h,cpp} - * orbsvcs/orbsvcs/Makefile: Added the files above, to implement - persistent naming service. The first version of persistent - naming service is available. It uses memory-mapped file to - store the persistent state of the naming service. When starting - the Naming Service from orbsvcs/Naming_Service, if -f - option is provided, the persistent implementation is - used, if no -f option is provided, an non-persistent - implementation is used. - - We'll be adding comments/documentation for the above shortly. - The class structure for the persistent implementation will also - change in the near future, as I'll be merging some of - persistent/non-persistent classes. - -Wed Apr 07 14:11:19 1999 Nanbor Wang - - * tao/PolicyS.cpp: Need to use ACE_CORBA_1 to specify - PolicyManager and PolicyCurrent in constructors. - -Wed Apr 7 13:42:13 1999 Balachandran Natarajan - - * examples/POA/DSI/Database_i.cpp (_is_a): Added a ACE_UNSED_ARG - to avoid warnings.. - -Wed Apr 07 13:27:00 1999 Nanbor Wang - - * tao/POAS.h: - * tao/POAC.h: Removed unnecessary TAO_EXPORT_MACRO redefinition. - Made sure warning 4250 is reenabled at the end of header files. - - * tao/POA_CORBA.h: Disabled warnings 4250 on NT. - -Wed Apr 7 12:54:49 1999 Marina Spivak - - * orbsvcs/tests/Simple_Naming/client.{h,cpp}: Updated the files to - use the new exceptions macros. - -Wed Apr 7 12:40:46 1999 Carlos O'Ryan - - * tao/PolicyC.cpp: Fixed syntax error, Sun/CC is *way* too lax. - - * tao/POA.cpp: Fixed duplicate template instantiations. - -Wed Apr 7 12:03:33 1999 Carlos O'Ryan - - * tao/Makefile: - * tao/Exception.h: - * tao/Exception.cpp: - * tao/Current.pidl: - * tao/DynAnyC.cpp: - * tao/DynAnyS.cpp: - * tao/IOP.pidl: - * tao/iopfwd.h: - * tao/corbafwd.h: - * tao/POA_CORBA.h: - * tao/Typecode_Constants.cpp: - * tao/InconsistentTypeCodeC.cpp: - * tao/Messaging.pidl: - * tao/MessagingC.cpp: - * tao/MessagingC.h: - * tao/MessagingC.i: - * tao/MessagingS.cpp: - * tao/MessagingS.h: - * tao/MessagingS.i: - * tao/MessagingS_T.cpp: - * tao/MessagingS_T.h: - * tao/MessagingS_T.i: - * tao/Policy.pidl: - * tao/PolicyC.cpp: - * tao/PolicyC.h: - * tao/PolicyC.i: - * tao/PolicyS.cpp: - * tao/Pollable.pidl: - * tao/PollableC.cpp: - * tao/PollableC.h: - * tao/PollableC.i: - * tao/PollableS.cpp: - * tao/PollableS.h: - * tao/PollableS.i: - * tao/PollableS_T.cpp: - * tao/PollableS_T.h: - * tao/PollableS_T.i: - * tao/TimeBase.pidl: - * tao/TimeBaseC.cpp: - * tao/TimeBaseC.h: - * tao/TimeBaseC.i: - * tao/TimeBaseS.cpp: - * tao/TimeBaseS.h: - * tao/TimeBaseS.i: - * tao/TimeBaseS_T.cpp: - * tao/TimeBaseS_T.h: - * tao/TimeBaseS_T.i: Started work on the Messaging spec policy - framework. I added new modules (such as Messaging, TimeBase and - IOP) and extended others to include more features (such as - Policy). Right now the modules are not compiled by default, I - want to test the changes in more platforms before moving on. - Also added support for more system exceptions and left some - place holders for the Poller and Handler objects that are part - of the AMI support. - - * TAO_IDL/fe/fe_lookup.cpp: - * TAO_IDL/fe/keywords.dat: Added support for the "export" C++ - keyword. - - * TAO_IDL/util/utl_global.cpp: Added support for files with .IDL, - .pidl and .PIDL extensions. - - * TAO_IDL/be/be_visitor_exception/exception_ch.cpp: - * TAO_IDL/be/be_visitor_exception/exception_ctor.cpp: Any helper - classes for the fields of an exception must be generated - *before* the code for the ctor, because the ctor uses them. - - * orbsvcs/orbsvcs/CosTimeBase.idl: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/RtecEventComm.idl: - * orbsvcs/orbsvcs/RtecScheduler.idl: - * orbsvcs/orbsvcs/TimeBase.idl: - * orbsvcs/orbsvcs/TimeService.idl: - * orbsvcs/orbsvcs/Time_Utilities.h: - * orbsvcs/orbsvcs/Sched/DynSched.cpp: - * orbsvcs/orbsvcs/Sched/SchedEntry.cpp: - * orbsvcs/orbsvcs/Sched/SchedEntry.i: Removed all references to - CosTimeBase.idl, the standard file name is TimeBase.idl, I also - changed things so the code is actually defined in - $TAO_ROOT/tao/TimeBase.pidl because the ORB needs those types. - Many dependencies where updated to match this. - - * orbsvcs/tests/Trading/Offer_Exporter.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Machine_Properties.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Property_Exporter.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Property_Exporter.h: - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.h: - * orbsvcs/orbsvcs/Trader/Offer_Database.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.h: - * orbsvcs/LifeCycle_Service/Factory_Trader.cpp: - * orbsvcs/LifeCycle_Service/Factory_Trader.h: - * orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp: Changed all - the calls to export() into _cxx_export() the people responsible - for this code should revise my changes. - - * orbsvcs/tests/EC_Throughput/Makefile: Added some missing files - to the SRC variable, the dependencies were incomplete. - -Wed Apr 7 11:27:08 1999 Carlos O'Ryan - - * TAO_IDL/ast/ast_expression.cpp: Fixed the problems with LL_MAX - and friends, use the ACE_*_MAX constants instead. - - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: T::_narrow() - can use T::_unchecked_narrow() to complete its job. - - * TAO_IDL/be/be_interface.cpp: The generated operation table is - static to avoid namespace pollution. - - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp: - * TAO_IDL/be/be_visitor_interface/interface_si.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: The generated - code is more readable now. The code for the collocated class - and the skeleton where mixed and thus harder to read. - -Wed Apr 07 10:11:23 1999 David L. Levine - - * orbscvs/Concurrency_Service/Makefile, - orbscvs/tests/Concurrency/Makefile, only build if the orbsvcs - library was built with the Concurrency TAO_ORBSVCS component. - - * orbscvs/tests/AVStreams/sfp/Makefile: only build if the orbsvcs - library was built with the AV TAO_ORBSVCS component. And, - commented out (and replaced /bin/rm with $(RM)) unused realclean - target. - -Wed Apr 07 02:50:08 1999 Douglas C. Schmidt - - * TAO version 0.3.18 released. - -Wed Apr 07 01:02:31 1999 Irfan Pyarali - - * tao/POA.cpp (parse_key and create_object_key): Improved the - parsing of object keys belonging to the RootPOA. Since this is - the default POA and is commonly used, we have given it a - reserved byte in the object key in order to quickly identify - it. With the reserved bit, the active demux key for the RootPOA - is not used, and no map lookups are required. - - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.h - (ServiceTypeRepository): Used Service_Type_Map_Iterator instead - of Service_Type_Map::iterator. Stupid g++ could not gork it. - - * tao/default_server.cpp (parse_args): Removed parsing for - POAManager lock since it is no longer supported. - - * tao/Object_Adapter.cpp: Added missing template instantiations - for ACE_Hash_Map_Manager_Ex_Adapter and ACE_Map_Manager_Adapter. - Thanks to Carlos for pointing this out. - - * tao/POA.cpp (create_object_key and parse_key): Fixed the use of - ACE_NTOHL and ACE_HTONL. Thanks to David for helping here. - - * tao/POA (Current): The object id information in the POA Current - was broken since it kept the system id instead of the user - id. The fix was to modify the Active_Object_Map to always - recover the user id. Thanks to Steve Totten - for pointing this out. - -Wed Apr 7 01:10:55 1999 Darrell Brunsch - - * orbsvcs/tests/Property/PropertyTest.dsw: - * orbsvcs/tests/Property/server.dsp: - * orbsvcs/tests/Property/client.dsp: - * orbsvcs/tests/Property/README: Tested on WIN NT. - -Tue Apr 6 18:20:48 1999 Vishal Kachroo - - * tao/ORB.cpp (multicast_query ()): Used ACE_HTONS for the sent - data length (CORBA::Short). - - * orbsvcs/orbsvcs/IOR_Multicast.cpp (handle_input()): Used - ACE_NTOHS on the received CORBA::Short. - -Tue Apr 6 17:55:48 1999 Balachandran Natarajan - - * examples/POA/NewPOA/NewPOA.cpp (main): - * examples/POA/Loader/server.cpp: - * examples/POA/Identity/Identity.cpp: - * examples/POA/Generic_Servant/client.cpp: Changed ACE_TRY_NEW_ENV - as ACE_TRY with appropriate declaration - -Tue Apr 06 16:29:58 1999 Nanbor Wang - - * tao/ORB.cpp (ORB_init): Some how, calling to init_orb_globals() - got moved before ORB Core initialization. This must come AFTER - the initialization of ORB Core. Otherwise, all hell breaks - loose. - -Tue Apr 6 16:29:55 1999 Balachandran Natarajan - - * examples/Simple/echo/Echo_i.cpp (echo_string): - * examples/Simple/echo/Echo_Client_i.cpp - * examples/Simple/echo/server.cpp: Made some changes to the - ACE_TRY macros - -Tue Apr 6 15:44:52 1999 Vishal Kachroo - - * Changed the Names of the following files: - orbsvcs/Time_Service/server.cpp -> Time_Service_Server.cpp: - orbsvcs/Time_Service/clerk.cpp -> Time_Service_Clerk.cpp: - - * orbsvcs/Time_Service/Makefile: Changed the Makefile to reflect - the above changes. - -Tue Apr 06 15:33:34 1999 David L. Levine - - * all orbscvs/tests/AVStreams Makefiles: only build if the orbsvcs - library was built with the AV TAO_ORBSVCS component. - -Tue Apr 06 05:04:51 1999 Irfan Pyarali - - * tao/POA.cpp: Phase two of the new POA design is complete. - - - We now have support for active demuxing of POAs. For transient - POAs, we directly use an active demuxing key in the object key - since transient POAs cannot be reactivated. For persistent - POAs, we have added a active demux hint field in the object - key. This hint is in addition to the persistent POA name. - - - Transient POAs identifiers in the object key are of fixed - size. For persistent POAs, the object key contains a number - that specifies how long the POA name is. This feature speeds - up things since there is no need for sequential, byte by byte - searching for field separators. - - - The use of the active demux hint for the POA name in the - object key is optional. If used, the lookups are faster - (unless the hint is invalidated by a deactivation or by - restarting a persistent POA). However, using the hint results - in a larger IOR, and more memory being used in the active - object map. This option can be controlled through the - -ORBactivehintinpoanames runtime switch and is turned on by - default. - - - The POA related classes have been rewritten with respect to - exceptions. Memory management in case of exceptions from - servants and in case of dynamic memory / constructor failures - have been greatly improved through the use of auto pointers - and the new ACE_NEW_THROW_EX macro. One of the problems - related to exceptions was that the POA Current was not reset - properly. This has also been fixed. - - - New file Object_Adapter contains an abstraction for all the - POAs in the ORB. This class is used to hold the Object - Adapter lock and the tables for the POAs in the ORB. The - point of contact for dispatching requests and finding servants - has changed from the RootPOA to the Object Adapter. The file - also contains classes to iterate through a folded POA name. - - - New file Key_Adapters contains the common classes used by the - Object_Adapter class and the Active_Object_Map class. These - common classes are usually used for similar maps such as the - ACE_Active_Map_Manager_Adapter and - ACE_Hash_Map_Manager_Ex_Adapter. - - - POA name separator was changed from '/' to '\0'. Since POA - names are strings, this makes a better choice since there is - no chance of a conflict with the string specified by the - user. - - - The POA name separator change also led to the removal of the - TAO specific extension which allowed users to specify a nested - POA name in find_POA() and create_POA(). The - Explicit_Activation, FindPOA, and NewPOA examples were changed - not to use the above TAO extention. - - - Fixed RootPOA example to remove extra exception code left - there by Bala. - - - Collocation table now maps addresses to Object Adapters - instead to the Root POAs. - - - POA objects and POA Manager objects now contain a reference to - lock rather than a lock instance. The lock comes from the - Object Adapter. This change was made to centralize the - locking and reduce the number of locks grabbed during request - dispatching. - - - Added ids for POA policies. - - * tao/Active_Object_Map.cpp: - - - Fixed the calculation of . - - - Removed a memory leak by iterating over the entries left in - the user id map and deleting the dynamically allocated - s. - - - Made sure that the user can specify the map sizes if desired. - - * tao/Connect.cpp (handle_message): Reduced the number of calls - made to access the object_key and its buffer. - - * tao/Object_KeyC.h: Added operator!= for Object Keys. - - * tao/poa_macros.h (TAO_POA_GUARD_RETURN and TAO_POA_GUARD): Added - new macros. - - * examples/POA/Adapter_Activator/: Added new example to test the - dynamic creation of POAs when dispatching requests. The - original POAs are deleted once the object references have been - created. After this, an adapter activator is install in the - RootPOA to reactivate the POAs on demand. - -Tue Apr 6 02:40:31 1999 Nanbor Wang - - * examples/Simple/Simple_util.cpp (init): We have to make sure we - don't try to proceed if querying of naming service failed. - Thanks to David Hauck for reporting the - bug. - -Tue Apr 06 00:12:11 1999 Irfan Pyarali - - * examples/POA/DSI/Database_i.cpp (_is_a): Added back the code - that Bala had commented out. I am not sure why Bala had - commented this out, but without this code, the application does - not work. - -Mon Apr 5 21:34:05 1999 Jeff Parsons - - * TAO_IDL/include/ast_expression.h: - * TAO_IDL/ast/ast_expression.cpp: - * TAO_IDL/ast/ast_constant.cpp: - * TAO_IDL/be/be_expression.cpp: - * TAO_IDL/be/be_sunsoft.cpp: - * TAO_IDL/util/utl_global.cpp: We can now define constants (in - .idl files) of type long long, unsigned long long and - wchar. This has been made easier by the fact that the CORBA - basic types are now defined in ACE. Still need more ACE/TAO - support in order to do long double and wide strings, though. All - the above builds cleanly on NT, sunc++, g++ and egcs. A few - simple examples work on NT - more testing to come. - -Mon Apr 5 16:26:32 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/IOR_Multicast.cpp (handle_input): Fixed the - handle_input () that handles the multicast to work for both - Naming and Trading Service. Thanks to James CE Johnson - for reporting this. - -Mon Apr 05 09:59:26 1999 David L. Levine - - * tao/Makefile,docs/configurations.html: removed enabling of - fakesvcconf with static libraries, so that we can use - -ORBsvcconf with them. - - * tao/POA.cpp (create_object_key): don't declare local - creation_time_length with POA_NO_TIMESTAMP, to avoid compiler - warning. Also, replaced two occurrences of - TAO_Creation_Time::creation_time_length () with - creation_time_length, to save the function call. - -Mon Apr 5 02:06:57 1999 Nanbor Wang - - * performance-tests/Thruput/TAO/svc.conf: - * orbsvcs/tests/ImplRepo/svc.conf: - * orbsvcs/tests/AVStreams/mpeg/source/client/svc.conf: - * orbsvcs/tests/AVStreams/mpeg/source/server/svc.conf: - * examples/Simulator/Event_Supplier/svc.conf: - * examples/POA/On_Demand_Loading/svc.conf: - * examples/Simulator/DOVEMIB/svc.conf: - * tests/Param_Test/svc.conf: - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf: Some of the - services didn't get changed to be static. - -Sun Apr 04 22:33:23 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf.static: updated - comments to show -ORBsvcconf svc.conf.static option. - -Sun Apr 4 14:15:12 1999 Jeff Parsons - - * TAO_IDL/tao_idl.cpp: Removed an extra semicolon from a chain of - << stream insertions. - -Sun Apr 4 04:50:00 1999 Nanbor Wang - - * TAO_IDL/be/be_init.cpp: - * TAO_IDL/tao_idl.cpp: - * TAO_IDL/Makefile: Moved the IDL_CFE_VERSION macro definition - from Makefile to tao_idl.cpp. It doesn't get changed anyway. - Changed the version information generated by "tao_idl -V" to - something more helpful. This is what it looks like now: - - tao_idl - FE: Base on Sun IDL CFE version 1.3.0 - TAO C++ BE, Version 0.3.17 - - * examples/POA/Forwarding/run_test.pl: Changed to use - ACE::waitforfile to ensure proper startup of servers and the - client. Also made sure the temporary ior files get removed - after each test cycle so ACE::waitforfile works properly. - - * examples/POA/Forwarding/MyFooServant.cpp (forward): The prefix - for I/R id has changed from 'IDL:' to 'IDL:omg.org/'. - - * tao/Forwarding_Servant.cpp (invoke): We do own the exception in - Any. - -Sun Apr 4 01:59:48 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/sfp/client.cpp: - * orbsvcs/tests/AVStreams/sfp/server.cpp: Added code to test the - fragmentation/reassembly features using a -f option. - - * orbsvcs/orbsvcs/AV/sfp.h: Defined new classes for sfp - fragmentation and reassembly. - - * orbsvcs/orbsvcs/AV/sfp.cpp: Removed the unnecessary connect on - the ACE_SOCK_Dgram which prevented the code from working on - Windows because calling sendto on a connected socket is wrong. - Thanks to David Hooker for reporting this. - - Added code to do reassembly of fragmented SFP packets. The code - is now cleaner as it uses the interpretive marshalling to - marshal/demarshal sfp headers. - -Sun Apr 4 00:33:20 1999 Balachandran Natarajan - - * examples/POA/Forwarding/client.cpp (do_calls): - * examples/POA/Forwarding/Servant_Locator.cpp: - * examples/POA/Forwarding/MyFooServant.cpp: Made some aesthetic - changes and the way exception is thrown. - -Sat Apr 3 23:55:32 1999 Balachandran Natarajan - - * examples/POA/DSI/Database_i.cpp (destroy_entry): Made some - changes to the way exceptions are thrown - -Fri Apr 02 23:25:47 1999 David L. Levine - - * tao/Version.h: added. - -Fri Apr 02 15:42:34 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf{,.static}: updated - ORB configuration to correspond to that of IDL_Cubit, except to - use -ORBresources tss. Thanks to Irfan for providing the - configuration parameters. - -Fri Apr 2 13:25:37 1999 Carlos O'Ryan - - * examples/POA/Default_Servant/File_i.cpp: Fixed some more - warnings. - -Fri Apr 2 12:33:45 1999 Balachandran Natarajan - - * examples/POA/Default_Servant/File_i.cpp: Fixed error in IRIX - -Thu Apr 01 22:52:00 1999 Douglas C. Schmidt - - * TAO version 0.3.17 released. - -Thu Apr 1 21:41:01 1999 Balachandran Natarajan - - * $TAO_ROOT/examples/POA/FindPOA/FindPOA.cpp: Made some cosmetic - changes - -Thu Apr 1 13:47:56 1999 Vishal Kachroo - - * tao/Connect.cpp (handle_message): Changed a c-style cast to - ACE_reinterpret_cast (). - - * orbsvcs/orbsvcs/IOR_Multicast.cpp (handle_input): Fixed a - warning for g++. - -Thu Apr 1 12:17:14 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface/interface_ci.cpp: - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: Moved - _duplicate() to the .cpp file again, this eliminates a pesky - warning from the broken g++ 2.7.X compilers. - -Thu Apr 01 03:26:30 1999 Nanbor Wang - - * TAO/tao/ORB_Core.{h,cpp}: - * TAO/tao/TAO_Internal.{h,i,cpp}: - * TAO/tao/default_client.{h,cpp}: - * TAO/tao/default_server.{h,cpp}: TAO is now build with static - services enabled. You can use TAO components as either static - or dynamic services (wrt. Service Configurator.) There are many - ways to set up the svc.conf entries. All these are documented - in - - http://www.cs.wustl.edu/~schmidt/ACE_wrappers/TAO/docs/configurations.html#programming - - * Changed all svc.conf file to use TAO components as static - services. A perl script call tao_svcconf.pl under - $ACE_ROOT/bin/ can help you convert svc.conf files. - - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf.dynamic: Renamed - svc.conf.static to svc.conf.dynamic as a sample svc.conf file - that uses dynamic services. - -Wed Mar 31 23:32:13 1999 Vishal Kachroo - - Purified the INS changes in the following files. Also minimized - data copying. - - * tao/IOR_LookupTable.cpp: - * tao/IOR_LookupTable.h: Passed params by reference for the add () - and find (). - * tao/Connect.cpp: Removed data copying. - * tao/ORB_Core.cpp: Changed the add_to_ior_table () to fix some memory - leaks. - * tao/ORB.cpp: Fixed memory leaks in resolve_initial_references () - and iioploc_string_to_object (). Changed the add/find IOR APIs - to take params by reference for minimal copying. - * tao/ORB.h: Changed the signatures of the add/find IOR APIs. - -Wed Mar 31 14:09:51 1999 Balachandran Natarajan - - * examples/POA/Explicit_Activation/server.cpp: Made some cosmetic - changes to the ACETRY macros defined inside. - -Wed Mar 31 09:02:39 1999 Carlos O'Ryan - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: Moved the output CDR allocators from the - ORB_Core into the resource factory. Even though this resources - can always be TSS the ORB_Core is not used is a single thread - anymore. Changes similar to this may be required as the - ORB-thread relationship is decoupled. - -Wed Mar 31 06:58:28 1999 Douglas C. Schmidt - - * tao/ORB.cpp (multicast_to_service): Fixed a couple mistakes in - this function that were causing it to fail on errors. Thanks to - Mike Mazurek for reporting this. - -Wed Mar 31 03:24:35 1999 Nanbor Wang - - * tao/POAS.{h,cpp}: - * tao/POAC.{h,i,cpp}: Brought these files in-synch with TAO_IDL - generated files. Major changes are: Use of namespace on - platforms that support it. Use of perfect-hash optable. Use of - compile marshalling. Added _interface_repository_id accessors. - Added _non_existent_skel for skeletons. Repository ID changed - to start with IDL:omg.org/. Remote operation invocation now - understand MP. Use of ACE_TRY macros. - - Thanks to Jeff for the reminder. - -Wed Mar 31 000:42:30 1999 Jeff Parsons - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/lex.yy.cpp: Added a definition above the rules section - to generalize newline to handle '\n' and "\r\n", and plugged the - definition in where appropriate in the rules section. Since we - don't regenerate lex.yy.cpp with every build, that had to be - generated and checked in as well. Thanks to Ossama for his quick - hack of a simple test for this. Also tested by ftp of Ping.idl - (in binary mode) from NT to Unix and rebuild of orbsvcs after - removing generated Ping interface files. Also, thanks to - Andreas Geisler for reporting - the problem. - -Wed Mar 31 00:25:17 1999 Pradeep Gore - - * orbsvcs/tests/CosEC_Multiple/CosECConsumer.cpp: fixed a bug in - counting down the events received in the consumer's - method. - -Wed Mar 31 00:14:53 1999 Balachandran Natarajan - - * examples/POA/Default_Servant/File_i.cpp (destroy): - * examples/POA/Default_Servant/server.cpp - * examples/POA/Default_Servant/client.cpp - - * examples/POA/DSI/Database_i.cpp - examples/POA/DSI/server.cpp - examples/POA/DSI/client.cpp: MAde some cosmetic changes to the - ACETRY macros defined inside - -Tue Mar 30 18:30:27 1999 Nanbor Wang - - * docs/Options.html: Added a paragraph describing the relation and - useage of command-line options, environment variables, and - svc.conf files. Thanks to Don Busch for - pointing this out. - -Tue Mar 30 12:33:06 1999 Douglas C. Schmidt - - * TAO version 0.3.16 released. - -Tue Mar 30 11:16:57 1999 Nanbor Wang - - * tao/ORB.cpp - (resolve_initial_references,iioploc_string_to_object): We don't - need a char* array here. - -Tue Mar 30 09:51:03 1999 Carlos O'Ryan - - * tao/ORB.cpp: Missing ORB_Core argument in the InputCDR for - ior_string_to_object. - - * tao/GIOP.cpp: Improved error messages. - - * tao/Server_Request.cpp: Use ACE_TRY macros to throw exceptions. - - * tao/ORB_Core.cpp: We cannot cache the allocators because the - ORB_Core_instance will not be TSS in the future. - - * tests/MT_Client/server.conf: Use global resources. - - * tests/MT_Client/client.cpp: Use ACE_PRINT_EXCEPTION to print the - exception. - -Mon Mar 29 22:42:31 1999 Vishal Kachroo - - * tao/Connect.cpp : Used CORBA::string_dup () in handle_message - (). Un-owned memory was being assigned to an auto-ptr, which - caused the INS test to fail on NT. Also added a check for - TAO_debug_level. - - * tests/InterOp-Naming/InterOp_test.cpp (main): Removed some Debug - statements. - -Mon Mar 29 21:27:56 1999 David L. Levine - - * TAO-INSTALL.html: removed 2>&1 from cross-compilation - instructions. Thanks to Jeff for reporting that t/csh doesn't - like it. - -Mon Mar 29 20:12:12 1999 Vishal Kachroo - - Changed the ACE_TRY_ENV in ACE_PRINT_EXCEPTION to ACE_ANY_EXCEPTION. - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp - * orbsvcs/orbsvcs/Time/TAO_TIO.cpp - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp - - * TAO/examples/Simple/time: Updated the following projects to - contain Simple_util.* Removed the obsolete files. Thanks to - Barry Hoggard for pointing this out. - - * TAO/examples/Simple/timeserver.dsp - * TAO/examples/Simple/timeclient.dsp - * TAO/examples/Simple/timeserver_static.dsp - * TAO/examples/Simple/timeclient_static.dsp - - * TAO/examples/Simple/time: Updated the following projects to - contain Simple_util.* Removed the obsolete files. Thanks to - Barry Hoggard for pointing this out. - - * TAO/examples/Simple/timeserver.dsp - * TAO/examples/Simple/timeclient.dsp - * TAO/examples/Simple/timeserver_static.dsp - * TAO/examples/Simple/timeclient_static.dsp - -Mon Mar 29 19:10:09 1999 Carlos O'Ryan - - * tao/Stub.h: - * tao/Stub.i: - * tao/Stub.cpp: The Stub carries the ORB_Core around, this reduces - the number of calls to TAO_ORB_Core_instance(), at least on the - client-side. It is also the first step to be able to get to the - policy list effective for an object, because we needed some way - to map from the CORBA::Object to the ORB that it belongs to. - - * tao/CDR.h: - * tao/CDR.i: - * tao/CDR.cpp: The InputCDR class can carry the ORB_Core around to - initialize the TAO_Stub's appropiately. Unfortunately we cannot - use this feature everywhere. - - * tao/Invocation.i: Initialize the InputCDR with the right - ORB_Core. - - * tao/ORB.cpp: Changed the code to create TAO_Stub's to use the - new constructor and pass it the ORB_Core. Use the right - ORB_Core when extracting an object reference from a string. - - * tao/Object.cpp: When extracting an Object from a CDR stream we - use the right ORB_Core. - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: Use the - ORB_Core in the stub instead TAO_ORB_Core_instance() to make a - request. - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: Migrated to the new - TAO_Stub constructors. - -Mon Mar 29 15:55:23 1999 Balachandran Natarajan - - * tao/Request.h (CORBA_Request): Put a default argument for calls - send_oneway () and invoke () as - CORBA::Environment::default_environment(). This is for users who - are using the native exception. But users using the non-native - exceptions should pass in their environment to get the exception - back. This change is attributed to Barry Hoggard - - -Sun Mar 28 21:37:42 1999 David L. Levine - - * examples/Simple/grid/Grid_Client_i.cpp (run): fixed typo in - ACE_DECLARE_NEW_CORBA_ENV. - -Sun Mar 28 18:28:10 1999 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/nestea_i.cpp: Removed extra - ACE_File_Connector variables that were not being used. - -Sun Mar 28 17:55:10 1999 Vishal Kachroo - - Replaced the TAO exception macros with ACE exception macros. - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp (handle_timeout): - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp - * orbsvcs/orbsvcs/Time/TAO_TIO.cpp - -Sun Mar 28 14:58:50 1999 Balachandran Natarajan - - * tests/Param_Test/any.cpp - * tests/Param_Test/bd_short_seq.cpp - * tests/Param_Test/bd_str_seq.cpp - * tests/Param_Test/client.cpp - * tests/Param_Test/except.cpp - * tests/Param_Test/objref.cpp - * tests/Param_Test/server.cpp - Made cosmetic changes to these files. - -Sun Mar 28 14:27:28 1999 Nanbor Wang - - * orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/Event/EC_ObserverStrategy.cpp: - * orbsvcs/Event/EC_Per_Supplier_Filter.cpp: - * orbsvcs/Event/EC_ProxyPushSupplier_Set_T.cpp: - * orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/Event/EC_SupplierFiltering.cpp: - * orbsvcs/Naming/Hash_Naming_Context.cpp: Replaced - ACE_GRUAD_THROW* with ACE_GUARD_TRHOW_EX with appropriate - ACE_CHECK*. - -Sun Mar 28 14:20:25 1999 Jeff Parsons - - * tao/DynAnyC.{h,i,cpp}: - * tao/DynAny_i.{h,cpp}: - * tao/DynArray_i.{h,cpp}: - * tao/DynEnum_i.{h,cpp}: - * tao/DynSequence_i.{h,cpp}: - * tao/DynStruct_i.{h,cpp}: - * tao/DynUnion_i.{h,cpp}: Changed over TAO_IN_ENV to ACE_TRY_ENV - and ACE_NEW_THROW_RETURN to ACE_NEW_THROW_EX/ACE_CHECK_RETURN. - Also replaced a few Any_ptr/delete pairs with Any_vars. - -Sun Mar 28 11:39:36 1999 Nanbor Wang - - * examples/Simple/bank/AccountManager_i.cpp (open): Fixed a typo. - -Sun Mar 28 07:40:45 1999 David L. Levine - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: added - ACE_Auto_Basic_Ptr explicit instantiation. - -Sun Mar 28 03:27:59 1999 Nanbor Wang - - * TAO/examples/Callback_Quoter/Notifier_i.cpp: - * TAO/examples/Simple/bank/AccountManager_i.cpp: - * TAO/examples/Simple/grid/Grid_i.cpp: - * TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp: - * TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp: - * TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp: - * TAO/orbsvcs/orbsvcs/Log/Logger_i.cpp: - * TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp: - * TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp: - * TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp: - * TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp: - * TAO/orbsvcs/orbsvcs/Time/TAO_UTO.cpp: - * TAO/tao/DynAny_i.cpp: - * TAO/tao/Invocation.cpp: - * TAO/tao/ORB.cpp: - * TAO/tao/Typecode.cpp: Replaced ACE_NEW_THROW* macros with - ACE_NEW_THROW_EX and appropriate ACE_CHECK* macros. - -1999-03-27 Nagarajan Surendran - - * docs/releasenotes/index.html: Updated the A/V documentation. - -Sat Mar 27 14:20:09 1999 Pradeep Gore - - * examples/Event_Comm/Consumer_Input_Handler.cpp, - Notifier_Handler.cpp, Supplier_Input_Handler.cpp, - notifier.cpp: - Fixed compile warnings. - -Sat Mar 27 11:57:11 1999 Carlos O'Ryan - - * tao/ORB.h: - * tao/ORB.cpp: Removed an Unbounded_Set that I - moved from IIOP_ORB, but it was not used at all. - -Sat Mar 27 06:51:38 1999 David L. Levine - - * examples/Event_Comm/Makefile: updated dependencies so that it - can build. - -Fri Mar 26 23:50:46 1999 Nanbor Wang - - * tao/POA.pidl (PortableServer): Added State and get_state. - Thanks to Umar Syyid for pointing this out. - -Fri Mar 26 22:53:09 1999 Jeff Parsons - - * tao/Any.h: - * tao/Context.h: - * tao/DynAnyC.h: - * tao/Environment.h: - * tao/Exception.h: - * tao/NVList.h: - * tao/ORB.h: - * tao/Object.h: - * tao/POA_CORBA.h: - * tao/POAC.h: - * tao/Principal.h: - * tao/Request.h: - * tao/Server_Request.h: - * tao/TypeCode.h: Put in some more of the _ptr_type and _var_type - typedefs. As I read in the Henning/Vinoski book, I see that - these things are used just about anywhere xxx_ptr and/or xxx_var - are defined. This should about do it for TAO code. Still some - places in the IDL compiler left where these can be generated. - -Fri Mar 26 21:57:44 1999 Balachandran Natarajan - - * tao/POAManager.cpp (get_state): Made changes to the type - declarations in this file. The scoping was not right to acces - the enum variables. Thanks to Naga for pointing out the mistake. - -Fri Mar 26 18:08:10 1999 Carlos O'Ryan - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: Removed the IIOP_ORB.{h,cpp} from the - project files. - -Fri Mar 26 18:07:43 1999 Nanbor Wang - - * tao/POAC.h: - * tao/POAS.{h,cpp}: - * tao/POAManager.{h,cpp} (get_state): Added enum definition for - PortableServer::POAManager::State and the get_state method which - got added in Corba 2.3 spec. Thanks to Umar Syyid - for pointing this out. - -Fri Mar 26 18:12:56 1999 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/airplane_server_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_server_i.cpp: I think the passing - of a _var into a method that accepts _ptr was causing errors on - some platforms so I added .ionout () to it hoping to fix it. - -Fri Mar 26 17:59:22 1999 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - * orbsvcs/tests/ImplRepo/airplane_client_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_i.h: - * orbsvcs/tests/ImplRepo/airplane_server.cpp: - * orbsvcs/tests/ImplRepo/airplane_server_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_server_i.h: - * orbsvcs/tests/ImplRepo/nestea_client_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_server.cpp: - * orbsvcs/tests/ImplRepo/nestea_server_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_server_i.h: Replaced all TAO - exception macros with ACE exception macros. - -Fri Mar 26 17:58:58 1999 Carlos O'Ryan - - * tao/Makefile: - * tao/IIOP_ORB.h: - * tao/IIOP_ORB.i: - * tao/IIOP_ORB.cpp: - * tao/IOR_LookupTable.h: - * tao/IOR_LookupTable.cpp: - * tao/ORB.h: - * tao/ORB.i: - * tao/ORB.cpp: - * tao/ORB_Core.cpp: Removed the IIOP_ORB class, it was not needed, - it was confusing the pluggable protocols work and it added more - layering than was desirable. Also added a pointer from the ORB - to the ORB_Core that created it, that way we don't need to rely - on the TAO_ORB_Core_instance() method. The more I think about - it the more the ORB_Core looks like an implementation class for - the ORB interface. - - * examples/Makefile: Added Event_Comm to the list. - - * docs/releasenotes/TODO.html: Updated with the new tasks ahead. - -Fri Mar 26 15:38:00 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/IOR_Multicast.cpp (handle_input): Cosmetic - change. Moved the null termination of service name ahead so it - prints properly in the ACE_DEBUG. - -Fri Mar 26 16:00:58 1999 David L. Levine - - * orbsvcs/orbsvcs/Makefile: instead of not building Time component - if ImplRepo component isn't built, build ImplRepo component if - Time component is built. - -Fri Mar 26 13:01:50 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp: Modified - code to use member environment variable inside cube_* calls, and - ACE_TRY_ENV inside init and shutdown code. - - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.dsp: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp: - Deleted a header file that was included twice and added a couple - that were missing. - -Fri Mar 26 12:51:07 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/Naming_Context.{h, cpp} - orbsvcs/orbsvcs/Naming/Hash_Naming_Context.{h, cpp} - orbsvcs/orbsvcs/Naming/README: Added the files above. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.{h, cpp} - orbsvcs/orbsvcs/Makefile: Update the files above. - - * orbsvcs/orbsvcs/Naming/CosNaming_i.{h, cpp}: Removed the files - above. Restructured the implementation of the Naming Service to - follow the bridge pattern. This will allow to easily plug - additional implemenations of the Naming Service, as well as - dynamically load the appropriate implementation at run-time with - Service_Config. - - Please see orbsvcs/orbsvcs/Naming/README for details. - -Fri Mar 26 11:39:44 1999 Steve Huston - - * orbsvcs/orbsvcs/Event/EC_Timeout_Generator.h: Replaced forward - declaration of TAO_EC_Timeout_Filter with include - EC_Timeout_Filter.h so static_cast knows the complete type. - - * utils/IOR-parser/Makefile: Now builds without a library; builds - on HP-UX. - -Fri Mar 26 09:26:48 1999 David L. Levine - - * orbsvcs/orbsvcs/Time_Utilities.*: replace static zero object - with static zero () member function. This removes the - dependencies of all other services on TAO's Time Service. - - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp, - orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp, - orbsvcs/orbsvcs/Event/EC_Gateway.cpp, - orbsvcs/orbsvcs/Event/Event_Channel.{h,cpp}, - orbsvcs/orbsvcs/Event/ReactorTask.cpp, - orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp, - orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp, - orbsvcs/tests/EC_Basic/EC_Basic.cpp, - orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp, - orbsvcs/tests/EC_Mcast/EC_Mcast.cpp, - orbsvcs/tests/EC_Multiple/EC_Multiple.cpp, - orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp, - orbsvcs/tests/Event_Latency/Event_Latency.cpp: changed - ORBSVCS_Time::zero to ORBSVCS_Time::zero (). - -Fri Mar 26 08:39:45 1999 Carlos O'Ryan - - * TAO_IDL/be/be_helper.cpp: Fixed minor syntax error in the - be_helper.cpp file. - -Fri Mar 26 01:33:05 1999 Vishal Kachroo - - Updated the InterOperable Naming Service sections of the - following: - * docs/Options.html: - * docs/releasenotes/#nservices: - -Thu Mar 25 22:08:21 1999 Jeff Parsons - - * tao/CDR.{h,cpp}: Changed TAO_TRY stuff to ACE_TRY; - -Thu Mar 25 21:42:28 1999 Ossama Othman - - * TAO_IDL/be/be_helper.cpp: Updated tao_idl's copyright message. - -Thu Mar 25 21:11:11 1999 Jeff Parsons - - * TAO/tests/Dynany_Test/driver.cpp: - * TAO/tests/Dynany_Test/test_dynany.cpp: - * TAO/tests/Dynany_Test/test_dynarray.cpp: - * TAO/tests/Dynany_Test/test_dynenum.cpp: - * TAO/tests/Dynany_Test/test_dynsequence.cpp: - * TAO/tests/Dynany_Test/test_dynstruct.cpp: - * TAO/tests/Dynany_Test/test_dynunion.cpp: - * TAO/tests/Dynany_Test/test_dynunion.cpp: - * TAO/tests/CDR/basic_types.cpp: - * TAO/tests/CDR/tc.cpp: - * TAO/performance-tests/Pluggable/server.cpp: - * TAO/performance-tests/Pluggable/PP_Test_Server.cpp: - * TAO/performance-tests/Pluggable/PP_Test_Client.cpp: - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp: - Changed TAO_TRY stuff to ACE_TRY. Also re-enabled the - cube_union test in DII_Cubit. - -Thu Mar 25 20:26:40 1999 Vishal Kachroo - - * tao/ORB.cpp : Fixed some memory leaks in - resolve_initial_references (). Called resolve_service for - service names other than those statically defined in the orb. - The resolve_service was initially resolve_naming_service. Now it - takes a string as a parameter for the service name to be - resolved. - - * tao/ORB.h: Changed the function resolve_naming_service () to - resolve_service passing in the service name as a parameter. - This function calls multicast_to_service () with the given - service name. - -Thu Mar 25 16:34:55 1999 Carlos O'Ryan - - * TAO_IDL/be/be_union_branch.cpp: The TypeCode buffer generated - for unions that had a short, ushort, char or wchar as - discriminator was broken. This was giving all kinds of problems - with the new test in Param_Test - (union inside any). Hopefully it will fix the problem that - Frank Buschmann reported. - - * tao/Typecode.cpp: Changed one of the methods - (private_member_label) to use the ACE_TRY macros and fixed - several problems with its demarshaling of the labels. Another - attempt at fixing the problem with unions that was good, but no - the right solution. - - * TAO_IDL/be_include/be_visitor_union/any_op_cs.h: - * TAO_IDL/be/be_visitor_union/any_op_cs.cpp: Added support for - interpretive and compiled marshaling versions of the <<= and >>= - operators for unions. This was an attempt to fix a bug in - marshaling unions inside anys, but finally the problem was in - other place, the change is useful though, and I am leaving it as - an example on how to start removing the need for the encode() - and decode() operations, even in the support of the CORBA::Any - type. - - * tao/Any.h: - * tao/Any.cpp: Added new operations to manipulate CORBA::Any with - compiled marshaling. - - * tests/Param_Test/any.h: - * tests/Param_Test/any.cpp: - * tests/Param_Test/client.cpp: - * tests/Param_Test/param_test_i.cpp: Added new sub-test for the - any test. It inserts a union into the any. - - * tao/encode.cpp: Simplified implementation of union marshaling. - - * tao/decode.cpp: Minor optimization in Any demarshaling. - - * tao/Invocation.cpp: Added @@ comment. - - * tao/Stub.cpp: - * tao/GIOP.cpp: Minor cosmetic fix. - -Thu Mar 25 16:24:08 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/{MT_Cubit_Test,run_test.pl}, - performance-tests/Cubit/TAO/IDL_Cubit/run_tests.pl: changed - iioplite to gioplite. See ChangeLogTag:Mon Mar 8 20:49:45 1999 - Carlos O'Ryan. - -Thu Mar 25 15:09:37 1999 Vishal Kachroo - - Added the following files for the InterOperable Naming Service - test. - * tests/InterOp-Naming/InterOp_test.cpp: - * tests/InterOp-Naming/README: - * tests/InterOp-Naming/Makefile: - -Thu Mar 25 07:41:57 1999 Carlos O'Ryan - - * TAO_IDL/util/utl_global.cpp: Fixed use of ACE_NEW_RETURN, - ACE_NEW was the right macro here. - -Thu Mar 25 01:05:47 1999 Alexander Babu Arulanthu - - * TAO_IDL/include/idl_global.h (class IDL_GlobalData): - - * TAO_IDL/driver/drv_preproc.cpp: Removed the code that was - resolving "TEMP" variable to figure out temp directory. Instead - use the global temp_dir () which has already been resolved once - in drv_args.cpp - - * TAO_IDL/util/utl_global.cpp (temp_dir): - * TAO_IDL/driver/drv_args.cpp: - Added an option -t to specify temp directory for the IDL - COMPILER. If this is not specified, it will be resolved from - ACE_DEFAULT_TEMP_DIR_ENV environment variable. IF that is also - not defined, /tmp/ will be used. - - * TAO_IDL/be/be_interface.cpp: Fixed to use the temp directory to - keep the gperf temp files. - - Thanks to Margaret Reitz for reporting - the problem. - -Wed Mar 24 16:39:03 1999 Darrell Brunsch - - * examples/Quoter/Quoter_i.cpp: Fixed a warning with copy (). - -Wed Mar 24 15:07:22 1999 Darrell Brunsch - - * TAO_IDL/Makefile: Hardcoded our specialized yacc path in it (and - it can be overridden via the command line). Also automatically - put an CVS ID string in the y.tab.cpp also. - - * TAO_IDL/fe/y.tab.cpp.diff: - * TAO_IDL/fe/y.tab.cpp: Removed some warnings and updated the - diff. - -Wed Mar 24 10:04:28 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ci.cpp: - Removed definitions of inline functions for the T_var and T_out - classes corresponding to a forward declaration. The classes will - be generated again for the interface. This change should let us - use inline versions of T::_nil() and T::_duplicate(). - -Wed Mar 24 09:00:01 1999 Carlos O'Ryan - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: This is the only file - outside $TAO_ROOT/tao that was using STUB_Object. - -Wed Mar 24 06:13:45 1999 David L. Levine - - * tao/Invocation.cpp (invoke_i): removed ACE_NOTREACHED wrapper - from final return statement. Both DU cxx and ghs complained - that the statement is reachable, I think because the last switch - statement doesn't have a default case. - -Tue Mar 23 22:33:43 1999 Carlos O'Ryan - - * tao/Stub.h: - * tao/Stub.i: - * tao/Stub.cpp: Changed the name from STUB_Object to TAO_Stub, - otherwise it pollutes the namespace. This affected many files. - - * tao/corbafwd.h: - * tao/Exception.h: - * tao/Exception.cpp: Added new system exceptions: INV_POLICY - (invalid policy), REBIND - (request will require object rebind) and TIMEOUT (the request - timed out). This new exceptions are not raised yet, but they - will be as part of the CORBA Messaging effort. - - * tao/IIOP_Profile.cpp: Changed all CORBA_DATA_CONVERSION - exceptions for CORBA::MARSHAL. DATA_CONVERSION is reserved to - errors while handling basic types, such as fixed<> or marshaling - character sets. - - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_visitor_interface/collocated_sh.cpp: - * TAO_IDL/be/be_visitor_interface/collocated_ss.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ci.cpp: - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: The IDL - compiler generates TAO_Stub now. Moved the generation of the - _duplicate() and _nil() methods to the .i files. We now - generate the _unchecked_narrow() method. - -Tue Mar 23 21:55:21 1999 David L. Levine - - * rules.tao.GNU,orbsvcs/orbsvcs/Makefile,docs/configurations.html: - moved TAO_ORBSVCS default setting from rule.tao.GNU to - orbsvcs/orbsvcs/Makefile. - -Tue Mar 23 21:36:12 1999 Carlos O'Ryan - - * tao/Invocation.cpp: The error codes returned from invoke_i() - were wrong. Resulting in missing user exceptions and other evil - things. - - * docs/Options.html: - * tao/ORB_Core.cpp: Added option to control TAO_debug_level - directly. - - * tao/GIOP.cpp: Enabled more debugging messages for the beginning - of an outgoing buffer, only if TAO_debug_level > 3. - - * orbsvcs/tests/Simple_Naming/client.cpp: Print some debugging - messages if the tests fail. - -Tue Mar 23 19:14:23 1999 Vishal Kachroo - - * examples/Simple/Simple_util.h (class Server): Added a method to - test the InterOperable Naming Service with any of the existing - Simple examples in TAO (like bank,time etc.) Specifying a "-i - object_id" option to the any of the examples will allow a client - to use the multiple end-point iioploc ior for the server as - iioploc:1.0//:/, - - This change will be used by the InterOperable Naming Service - test that will be added soon to the TAO\tests. - - * tao/ORB.cpp (multicast_query): Printed the error message in the - accept call only if the TAO_debug_level > 0. - -Tue Mar 23 10:14:58 1999 Douglas C. Schmidt - - * TAO_IDL/be/be_interface.cpp: There were some missing '\n' that - were making the ACE_ERROR statements hard to read. - -Tue Mar 23 09:27:51 1999 David L. Levine - - * orbsvcs/Makefile: if not building ImplRepo Service, don't build - Time Service. - - * ImplRepo_Service/Makefile,Time_Service/Makefile, - tests/ImplRepo/Makefile,tests/Time/Makefile: only build if the - orbsvcs library was built with the respective TAO_ORBSVCS - component. - -Tue Mar 23 09:01:01 1999 Carlos O'Ryan - - * tao/Invocation.h: - * tao/Invocation.cpp: Fixed throw spec declarations. - -Tue Mar 23 08:59:22 1999 David L. Levine - - * tao/Stub.cpp (do_static_call,do_dynamic_call): removed unused - local variable "status". - -Tue Mar 23 00:22:16 1999 Carlos O'Ryan - - * tao/Invocation.h: - * tao/Invocation.i: - * tao/Invocation.cpp: - * tao/Stub.h: - * tao/Stub.cpp: Major changes to the start() and invoke() methods, - they now control most of the loop for connection establishment - and forwarding. The clients only need to restart the request if - the invoke method returns TAO_INVOKE_RESTART. Also factored out - the common code for several versions of the invoke() method. - Fixed severe error in protocol implementation, a successful - write followed by a read error must result in a COMM_FAILURE - exception. Carefully examined what exceptions and what status - code to raise from start() and invoke(). Re-organized the - implementation of do_static_call and do_dynamic_call to use the - new features of the invocation classes. Cleaned up the - LocationRequest implementation. - - * tao/Pluggable.h: - * tao/Pluggable.cpp: - * tao/IIOP_Connector.h: - * tao/IIOP_Connector.cpp: No exceptions are raised by the - connector, simply an error code is returned. - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: Changed the - IDL compiler to exploit the new features in the Invocation - classes. - - * tao/IIOP_Transport.cpp: - * tao/GIOP.cpp: Cleaned up error propagation. - - * tao/Environment.cpp: - * tao/Connect.cpp: Minor cosmetic fixes. Improved error messages - format. - - * tao/Object.cpp: Reimplemented some methods using the new form of - compiled marshaling. - -Mon Mar 22 17:32:19 1999 Vishal Kachroo - - * tao/IIOP_ORB.cpp: Removed an extra ACE_DEBUG. - - * orbsvcs/Time_Service/Server_i.cpp (init): Added a TAO_CHECK_ENV. - This came up while I was testing the InterOperable Naming - Service on NT. - - * tao/ORB.cpp (multicast_query): removed the unused variable - 'result'. egcs was complaining for this. - - * tao/orbconf.h: Removed the #defs for IIOPNAME_PREFIX and - IIOPLOC_PREFIX. I am not using these anywhere. - - * tao/ORB.cpp (multicast_query): Removed an unnecessary ACE_DEBUG. - Moved the dgram.close () up. - -Mon Mar 22 17:15:20 1999 Darrell Brunsch - - * tao/tao.dsp: Added IOR_LookupTable files. - - * tao/IIOP_ORB.cpp: Fixed a signed/unsigned warning and an error - with an ambiguous use of []. - -Mon Mar 22 16:40:36 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp (TAO_UTO): Included - "ace/OS.h". Used ACE_static_cast. - -Mon Mar 22 16:40:36 1999 Vishal Kachroo - - The first version of the InterOperable Naming Service is commited. - - * tao/ORB.cpp: Changed the resolve_initial_references () to check - for the ORB params ORBInitRef and ORBDefaultInitRef. - - resolve_initial_references (): - The references are resolved in the following order : - 1. ORBInitRef 2. DefaultInitRef 3. Multicast to service. The - IORs can be specified in the iiopname or iioploc format. - - multicast_query (): - Sends out a multicast to locate a service (specified by a - service name) and receives the response using TCP instead of - UDP. The service name and port are sent in the data of the - multicast. - - multicast_to_service (): - Calls multicast_query with a service name instead of a service - ID. Owns the memory read into in multicast_query (). - - resolve_naming_service (), resolve_trading_service (): - Call multicast_to_service () with a service name instead of a - service ID. - - * tao/IIOP_ORB.h: Added the following APIs to the ORB to access the - table of IORs TAO_IOR_LookupTable : - _tao_add_to_IOR_table () - _tao_find_in_IOR_table (). - - * tao/IIOP_ORB.cpp: Added the function iioploc_string_to_object(). - This function is called by the string_to_object () for iioploc - IORs. It creates a multiple profile stub object and then an - object reference. The string_to_object () parses the incoming - ior to detect an iioploc IOR and then calls the - iiooploc_ior_to_string (). Conversion for the iiopname type IORs - will be added soon. - - * tao/ORB_Core.cpp: Added the options -ORBInitRef and - -ORBDefaultInitRef. Added the orb parameters init_ref and - ior_lookup_table. These parameters are populated based on the - commandline options. They are used by the - resolve_initial_references () that calls get on these params - through the singleton instance of the ORB core. - - * tao/POA.cpp: Added a TAO_Object_key_prefix (^t^a^o\0). All the - changes are within #ifndef (TAO_NO_IOR_TABLE). Changed the - parse_key () to skip over the TAO Object key prefix. Changed - the create_object_key () to prepend TAO Object key to all - generated object keys. - - * tao/Connect.cpp : Changed the handle_message () to parse the - object key in the incoming IIOP request. If the object key is - not preceded by ^(TAO)/0 - (which is now the default for all usual TAO object keys) then - the key is treated as simple and looked up in the IOR table. A - LOCATION_FORWARD/NOT_EXIST exception is raised if the key is - found/not-found in the table. Currently only the GIOP Request - type messages are handled. Similar logic will be added to the - GIOP LocateRequest type messages. This will go into the - handle_locate method. - - * orbsvcs/orbsvcs/IOR_Multicast.cpp: Changed the handle_input - method to receive a multicast for a service, parse the data for - the service name and a reply port. Then use TCP to send back - the IOR of the requested service. If the service is other than a - "NameService" then the table is looked up for an IOR. The table - can be populated through commandline orb parameters and can use - iioploc/iiopname format IORs. - - * tao/Makefile: - * tao/IOR_LookupTable.h: - * tao/IOR_LookupTable.cpp: This is an abstraction over the hash - map manager. It is used by the orb to keep track of the - object-id : IOR mappings. The table is owned by the orb and - _tao_{add,find}_ior_{to,in}_table are APIs to access it. The - APIs take CORBA_Object * as a parameter and stringify it before - adding to the table. This takes care of adding only valid IOR - strings to the table. - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/IOR_LookupTable.h: - * orbsvcs/orbsvcs/IOR_LookupTable.cpp: - Removed IOR_LookupTable, it is now in $TAO_ROOT/tao. - - * tao/params.{cpp,h,i}: Added the params init_ref, - ior_lookup_table and default_init_ref to the orb core. Also - added the GET/SET methods for these. - - * tao/orbconf.h: Added the protocol prefixes iiopname and iioploc. - -Mon Mar 22 14:13:17 1999 David L. Levine - - * tao/Makefile,orbsvcs/orbsvcs/Makefile: added ace_components - support for TAO_COMPONENTS and ORBSVCS_COMPONENTS, respectively. - This allows other Makefiles to determine which components were - built into libTAO and liborbsvcs. - -Sun Mar 21 22:33:17 1999 Douglas C. Schmidt - - * tao/ORB_Core.cpp (init): The second call to sock_rcvbuf_size() - should be sock_sndbuf_size(). Thanks to Russ Noseworthy for - reporting this. - -Sun Mar 21 21:23:44 1999 Douglas C. Schmidt - - * TAO version 0.3.15 released. - -Sun Mar 21 20:52:58 1999 Douglas C. Schmidt - - * TAO version 0.3.14 released. - -Sun Mar 21 20:27:37 1999 Carlos O'Ryan - - * tests/Param_Test/objref.cpp: - The test for object references was broken; but only Linux/EGCS - triggered the error. - -Sun Mar 21 15:45:04 1999 Jeff Parsons - - * tao/GIOP.cpp: - Added missing comma in timeprobe message string array. - -Sun Mar 21 14:47:12 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp (TAO_UTO): Used #ifdef - (ACE_LACKS_U_LONGLONG_T) instead of #ifdef (VXWORKS)||(CHORUS) - -Sat Mar 20 23:38:39 1999 Irfan Pyarali - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * tests/MT_Client/server.dsp: - * tests/MT_Client/client.dsp: - - Fixed some project settings for the above project files. - -Sat Mar 20 20:27:54 1999 Carlos O'Ryan - - * tests/MT_Client/MT_Client.dsw: - Added projects and workspace for this test, thanks to Irfan - for helping me out with it. - - * tests/MT_Client/README: - * tests/MT_Client/run_test.pl: - Added canonical files to the example. - - * tests/MT_Client/client.cpp: - Added an error message in case thread creation fails. - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - Added a debug message when orb->shutdown() is called. - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - Removed one method from the Profile classes that was only used - here. Used the constructor instead, which is more efficient, - anyway. - - * orbsvcs/tests/ImplRepo/Makefile: - Removed call to upper level Makefile, that's not the style we - use. - -Sat Mar 20 19:10:48 1999 Carlos O'Ryan - - * tao/IIOP_Connector.h: - * tao/IIOP_Connector.cpp: - * tao/IIOP_ORB.cpp: - * tao/IIOP_Profile.h: - * tao/IIOP_Profile.i: - * tao/IIOP_Profile.cpp: - * tao/Invocation.h: - * tao/Invocation.cpp: - * tao/ORB_Core.h: - * tao/ORB_Core.cpp: - * tao/Pluggable.h: - * tao/Pluggable.cpp: - Fixed a nasty concurency problem in the Cached_Connector. The - solution is to separate the path to return the new hint and the - new Svc_Handler from the Cached_Connector (check the ACE - changelog for details). - We store the profile and transport used for an invocation in the - Invocation object to avoid the same concurrency problems. In - this way if another thread changes the profile_in_use() of the - stub object that we are using we are not affected. - We still need to check that the modifications to the MProfile - and to STUB_Object object are thread-safe. - -Sat Mar 20 15:21:41 1999 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/nestea_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_i.h: - - Implemented persistance for the number of cans. It saves - it to a file. - - * orbsvcs/tests/ImplRepo/nestea_server.cpp: - * orbsvcs/tests/ImplRepo/nestea_server_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_server_i.h: - - Removed leftover references to Paper Airplanes. - -Sat Mar 20 14:40:10 1999 Darrell Brunsch - - * examples/Quoter/Factor_Finder.dsp: - * examples/Quoter/client.dsp: - * examples/Quoter/server.dsp: - - Removed the generated headers from the projects. I don't - think the listing of generated classes in classview is - helpful. - - * examples/Quoter/Quoter_i.h: - * examples/Quoter/Quoter_i.cpp: - - Fixed some warnings. - -Sat Mar 20 14:28:59 1999 Carlos O'Ryan - - * tests/Makefile: - * tests/MT_Client/Makefile: - * tests/MT_Client/client.cpp: - * tests/MT_Client/server.conf: - * tests/MT_Client/server.cpp: - * tests/MT_Client/test.idl: - * tests/MT_Client/test_i.cpp: - * tests/MT_Client/test_i.h: - * tests/MT_Client/test_i.i: - New test that runs a MT client using the same object reference - is all threads. Notice that this may be a bad idea - performance-wise, but it must work correctly. - -Sat Mar 20 13:38:23 1999 Jeff Parsons - - * tao/Timeprobe.h: - Left some macros uncommented which would lead to link - errors when building TAO. Fixed. - -Sat Mar 20 11:06:16 1999 Douglas C. Schmidt - - * tao/ORB.cpp (multicast_query): Only print an error message if - the TAO_debug level is > 0. Also, make sure to terminate the - line with '\n'. Thanks to Russ Noseworthy for reporting this. - -Sat Mar 20 01:34:28 1999 Jeff Parsons - - * tao/Timeprobe.h: - * tao/CDR.cpp: - * tao/Connect.cpp: - * tao/GIOP.cpp: - * tao/IIOP_Transport.cpp: - * tao/Invocation.cpp: - * tao/Operation_Table.cpp: - * tao/ORB.cpp: - * tao/POA.cpp: - * tao/Servant_Base.cpp: - * tao/Server_Request.cpp: - * tao/Stub.cpp: - Renamed the timeprobe macros that are pertinent to - the pluggable protocols test and added a macro to - Timeprobe.h that turns off all the others. - -Fri Mar 19 22:04:55 1999 Irfan Pyarali - - * tao/decode.cpp (decode): - When decoding an Any we need to create a Message_Block, use - append() to copy the contents of the CDR stream and then store - the message block into the any for later decoding (when we - either use DynAny or we have enough static information). - The manipulation of the Message_Block was incorrect: the data - was copied using an OutputCDR stream, that copies the contents - but acts on a duplicate of the Message_Block, thus, it does not - update the wr_ptr() and rd_ptr(). - We corrected this problem and things are happy again. - - * examples/POA/DSI/Database_i.h (class DatabaseImpl): Switched the - memory allocator to be a local one rather than a persistent one. - -Fri Mar 19 19:15:56 1999 Carlos O'Ryan - - * tao/Stub.h: - * tao/IIOP_ORB.h: - * Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp: - * Benchmark/Marshal_Test/TAO/marshalS.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * utils/catior/catior.cpp: - Removed last references to IIOP_Object. - -Fri Mar 19 17:55:47 1999 Jeff Parsons - - * tao/CurrentC.h: - * tao/DynAnyC.h: - * tao/PolicyC.h: - * tao/POAC.h: - * tao/Object_KeyC.h: - Added the _ptr_type and _var_type typedefs for these - non-regenerated classes. Thanks to - Carl Grinstead and - James A. Risinger - for pointing out the oversight. - -Fri Mar 19 14:56:59 1999 Carlos O'Ryan - - * tao/corbafwd.h: - * tao/CDR.h: - * tao/CDR.cpp: - * tao/Connect.cpp: - * tao/GIOP.cpp: - * tao/IIOP_ORB.cpp: - * tao/Invocation.h: - * tao/Invocation.i: - * tao/Invocation.cpp: - * tao/Typecode.cpp: - * tao/decode.cpp: - * orbsvcs/orbsvcs/AV/sfp.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.i: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * utils/catior/Makefile: - * utils/catior/catior.cpp: - The CDR class changed to ACE_CDR. - - * TAO_IDL/util/utl_global.cpp: - By default we must generate "tao/corba.h" instead of - ; in other words the compiler behaves as if the if - the "-in" option was used. - - * TAO_IDL/driver/drv_args.cpp: - Added an error message if the -i option is missused, only -ic - and -in are valid. - - * Updated the dependencies since to exploit the change in the - generate #includes. - -Fri Mar 19 14:27:58 1999 Jeff Parsons - - * TAO/examples/POA/DSI/Database_i.cpp: - Changed DatabaseImpl::Entry::_is_a() to use >>= before - comparing arg values. This slows down the test code, but - TAO defers populating the void* field of the Any until - necessary (most of the time ;-)), which speeds up everything else. - -Fri Mar 19 14:20:58 1999 Jeff Parsons - - * tao/Server_Request.cpp: - Fixed an incorrect (and on closer inspection, unnecessary) - use of TAO_CHECK_ENV. Also added a release() for a newly - allocated (and immedialtely duplicated) message block. - -Fri Mar 19 01:19:16 1999 Jeff Parsons - - * tao/Server_Request.h: - Typo in comments. - - * tao/Server_Request.cpp: - Fixed IIOP_Server_Request::arguments(), which was - totally broken, with a change suggested by Carlos. - -1999-03-18 Seth Widoff - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - Returning from a query where the request_id had been seen wasn't - allocating memory for the out parameters. This was causing an - unwholesome seg fault. Thanks to Pradeep Gore - for discovering this. - -Thu Mar 18 21:06:58 1999 David L. Levine - - * tao/Server_Strategy_Factory.cpp - (Active_Object_Map_Creation_Parameters): removed extraneous - semicolon following the function definition. - -1999-03-18 Seth Widoff - - * orbsvcs/Trading_Service/Trading_Service.cpp: - On Linux, the get_host_name call added the domain name complete - with dots. Since I'm using the hostname as part of the link - identifiers for the trader federation, dots are bad. I changed - the dots to underscores. - - * orbsvcs/tests/Trader/Offer_Importer.cpp: - * orbsvcs/tests/Trader/Offer_Exporter.cpp: - * orbsvcs/tests/Trader/Service_Type_Exporter.cpp: - Some vestigial TAO_HAS_OBJECT_IN_STRUCT_MARSHAL_BUG code was - being compiled and screwing up the exporter_test for federated - exports. That code has been vanquished. - -Thu Mar 18 16:43:44 1999 Marina Spivak - - * orbsvcs/tests/Simple_Naming/client.cpp (execute): fixed NT - warnings in two Naming Service tests. - -Thu Mar 18 15:41:08 1999 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/run_test.pl: Fixed spelling error - and reorganized both_ir test. - -Thu Mar 18 12:32:02 1999 Ossama Othman - - * orbsvcs/tests/Property/client.cpp - (test_delete_property, test_get_property_value): - Fixed warnings about unused arguments. Fixed conversion from - `CORBA_Object_var' to non-scalar type `CORBA_Any::to_object' - problem. Thanks to Jeff for helping me out on this. - -Thu Mar 18 01:54:09 1999 Irfan Pyarali - - * tao/POAC.h: Fixed all the _out copy constructors to prevent - warnings. - -Wed Mar 17 23:39:44 1999 Marina Spivak - - * orbsvcs/orbsvcs/IOR_Multicast.cpp (handle_input): - - 1) Made the server send only 1 reply in response to multicast, - since the client (ORB.cpp) was modified to use multiple - attempts, i.e., it's the responsibility of the client to attempt - to insure 'reliability', server just replies once. - - 2) If replying to a multicast fails, the multicast handler is - *not* deregistered from the reactor, unless we get some really - bad errno. This needs to be further refined. This fixes the - bug on Linux servers of multicast not working properly. - - Thanks to Seth Widoff for tracking this down. - -Wed Mar 17 22:53:33 1999 Irfan Pyarali - - * tao/POA.cpp: Phase one of the new POA design is complete. - - - We now have support for active demuxing of user defined - ids. This is achieved by using a active demux hint field in - the object key. - - - We have support for reactivating servants with system - generated ids. In this case, system ids are simply generated - by incrementing a counter. Note that in this case, the id -> - servant map is a hash map since active demux keys cannot be - reused once deactivated. However, the good news is that the - active demux key can be used as the hint in the object key. - - - The use of the hint in the object key is optional. If used, - the lookups are faster (unless the hint is invalidated by a - deactivation or by restarting a persistent POA). However, - using the hint results in a larger IOR, and more memory being - used in the active object map. This option can be controlled - through the -ORBactivehintinids runtime switch and is turned - on by default. - - - If the applications knows that reactivations will not occur, - they can simply use the old scheme of directly using the - active demux key as the system id. This will (a) make the IOR - shorter, (b) less memory will be used in the active object - map, and (c) the lookups will be quicker and (more) - predictable. - - - Etherialization of servants (through the use of a Servant - Activator) is temporarily disabled. Once we fix the reference - counting on the servants, this will start working again. - - - Removed the POA exceptions from the list of system exceptions, - and reverted them back to being user exceptions. - - - Timestamps are no longer used in persistent object keys. - - - Removed the TAO specific synchronization POA policy. In the - new POA design, this scheme will not be required. Also, - removed the POA locking example in - $TAO_ROOT/examples/POA/locking. - - * examples/POA/Identity/: Added new example to test a whole bunch - of conversions from servant to id to reference. The example is - designed to test the new POA IOR creation and its Active Object - Map. - - * tao: Added support for minimalCORBA to TAO. For some - applications CORBA is too large to meet exacting size and - performance requirements. Such scenarios require a cut-down - version of CORBA. This cut-down version is called - minimumCORBA. minimumCORBA defines a profile (or subset) of - CORBA where the following features are removed: - - - Dynamic Invocation Interface - - Dynamic Skeleton Interface - - Dynamic Any - - Interface Repository - - Interceptors - - Advance POA features: - - Servant Managers - - Adaptor Activators - - Most POA Manager features - - On platforms that use the Makefiles, simply minimum_corba=1. On - Win32, define TAO_HAS_MINIMUM_CORBA in the orbconf.h file. - - * tao/Makefile: Added support for measuring subsets of TAO. These - subsets are not independent, but are useful in providing an idea - of how big different components of the ORB are. - - * tao/Server_Strategy_Factory.cpp: Remove the active object map - creation responsibilities from this class. Now it simply holds - on to the creation parameters and feeds them to the active - object map constructor. - - * tao/Sequence_T.i (operator->): Added operator-> to - TAO_Object_Manager. Also, made the in() method return a - non-const pointer. Missing still is operator= taking - T::var_type. Other managers should also be check for these - features (Carlos said he'll look into it). - - * examples/POA/Loader/run_test.pl: - * examples/POA/On_Demand_Loading/run_test.pl: - * examples/POA/On_Demand_Activation/run_test.pl: - - - We now have support for active demuxing of user defined - ids. This is achieved by using a active demux hint field in - the object key. - - - We have support for reactivating servants with system - generated ids. In this case, system ids are simply generated - by incrementing a counter. Note that in this case, the id -> - servant map is a hash map since active demux keys cannot be - reused once deactivated. However, the good news is that the - active demux key can be used as the hint in the object key. - - - The use of the hint in the object key is optional. If used, - the lookups are faster (unless the hint is invalidated by a - deactivation or by restarting a persistent POA). However, - using the hint results in a larger IOR, and more memory being - used in the active object map. This option can be controlled - through the -ORBactivehintinids runtime switch and is turned - on by default. - - - If the applications knows that reactivations will not occur, - they can simply use the old scheme of directly using the - active demux key as the system id. This will (a) make the IOR - shorter, (b) less memory will be used in the active object - map, and (c) the lookups will be quicker and (more) - predictable. - - - Etherialization of servants (through the use of a Servant - Activator) is temporarily disabled. Once we fix the reference - counting on the servants, this will start working again. - - - Removed the POA exceptions from the list of system exceptions, - and reverted them back to being user exceptions. - - - Timestamps are no longer used in persistent object keys. - - - Removed the TAO specific synchronization POA policy. In the - new POA design, this scheme will not be required. Also, - removed the POA locking example in - $TAO_ROOT/examples/POA/locking. - - * examples/POA/Identity/: Added new example to test a whole bunch - of conversions from servant to id to reference. The example is - designed to test the new POA IOR creation and its Active Object - Map. - - * tao: Added support for minimalCORBA to TAO. For some - applications CORBA is too large to meet exacting size and - performance requirements. Such scenarios require a cut-down - version of CORBA. This cut-down version is called - minimumCORBA. minimumCORBA defines a profile (or subset) of - CORBA where the following features are removed: - - - Dynamic Invocation Interface - - Dynamic Skeleton Interface - - Dynamic Any - - Interface Repository - - Interceptors - - Advance POA features: - - Servant Managers - - Adpator Activators - - Most POA Manager features - - On platforms that use the Makefiles, simply minimum_corba=1. On - Win32, define TAO_HAS_MINIMUM_CORBA in the orbconf.h file. - - * tao/Makefile: Added support for measuring subsets of TAO. These - subsets are not independent, but are useful in providing an idea - of how big different components of the ORB are. - - * tao/Server_Strategy_Factory.cpp: Remove the active object map - creation responsibilities from this class. Now it simply holds - on to the creation parameters and feeds them to the active - object map constructor. - - * tao/Sequence_T.i (operator->): Added operator-> to - TAO_Object_Manager. Also, made the in() method return a - non-const pointer. Missing still is operator= taking - T::var_type. Other managers should also be check for these - features (Carlos said he'll look into it). - - * examples/POA/Loader/run_test.pl: - * examples/POA/On_Demand_Loading/run_test.pl: - * examples/POA/On_Demand_Activation/run_test.pl: - - Fixed the above scripts to pass the extra parameters along to - the client and the server. - - * examples/POA/DSI/server.cpp: Added missing #include - "ace/Get_Opt.h" - -Wed Mar 17 19:36:31 1999 Vishal Kachroo - - Fixed compilation errors for VxWorks and CHORUS. Used the - constructor of ACE_ULongLong (UINT32, UINT32) for VxWorks which - doesnt have an unsigned long long. * - orbsvcs/orbsvcs/Time/Timer_Helper.cpp (handle_timeout) * - orbsvcs/orbsvcs/Time/TAO_UTO.cpp (TAO_UTO). - -Wed Mar 17 19:00:14 1999 Nanbor Wang - - * performance-tests/Cubit/TAO/MT_Cubit/Globals.h: FreeBSD also - needs to get SCHED_PRIORITY at runtime. Thanks to Russell - L. Carter for reporting this. - -Wed Mar 17 14:47:32 1999 Jeff Parsons - - * TAO/docs/releasenotes/orbcore.html: Added an entry about the new - Context stuff and removed one about DynAnys being "in progress". - -Wed Mar 17 14:26:14 1999 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/airplane_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_i.cpp: Removed the #include - "time.h" from these files. They shouldn't be needed there. - -Wed Mar 17 13:33:49 1999 Jeff Parsons - - * tao/Context.i: Removed definition of is_nil(). Must have been - pasted in by mistake. Anyway, our Contexts are always nil, so we - don't need it. - -Wed Mar 17 13:14:16 1999 Jeff Parsons - - * tao/Any.cpp: Added a check for NULL ACE_Message_Block pointer in - _tao_replace(). - - * tao/Request.i: Type in comments. - - *tao/Context.{h,i,cpp}: New files for our minimal Context support, - basically just so Object::_create_request() can be compliant. - - * tao/Object.{h,cpp}: - * tao/corbafwd.h: - * tao/corba.h: - * tao/TAO.dsp: - * tao/Makefile: Other files that needed additions for Context - support. - - * TAO/tests/param_test/client.cpp: - * TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp: Test - files that use _create_request() and so needed the added Context - arg in the calls. - -Wed Mar 17 12:28:32 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - Fixed a cut-and-paste error. Thanks to Greg Holtmeyer - for pointing this out. - -Wed Mar 17 11:32:01 1999 Balachandran Natarajan - - * tests/Param_Test/objref.cpp - * tests/Param_Test/ub_objref_seq.cpp: Fixed warnings from the - build. - -Wed Mar 17 10:05:15 1999 Douglas C. Schmidt - - * tao/GIOP: Replaced *IIOP_LITE* with *GIOP_LITE* since we've - renamed this. - - * tao/GIOP.cpp (recv_request): Replaced the magic number 5 with - TAO_IIOP_LITE_HEADER_LEN. Thanks to the ever vigilant Mark - Boriak for reporting this. - -Wed Mar 17 08:39:59 1999 David L. Levine - - * TAO version 0.3.13 released. - -Wed Mar 17 02:06:47 1999 Douglas C. Schmidt - - * TAO version 0.3.12 released. - -Tue Mar 17 01:01:57 1999 Irfan Pyarali - - * tao/Object.cpp (_non_existent): - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp - (gen_marshal_and_invoke): <_invoke_status> should be set before - use (at least according to g++). - - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp (TAO_UTO): Changed - attr_utc_time_.inacchi> to 0 since the conversion - routines Vishal used are not supported on vxworks. Vishal should - consult David in fixing this correctly. - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp (handle_timeout): Also - changed to 0. Vishal should fix this also. - -Tue Mar 16 15:52:57 1999 David L. Levine - - * tao/POAManager.i (lock): moved function definition before inline - activate (), because that function uses it. - -Tue Mar 16 15:41:13 1999 Balachandran Natarajan - - * tests/Param_Test/*.cpp Made them exception safe using the latest - ACE_TRY macros. Had a bunch of code which did not handle - exception. Added code so that they are exception safe.. - -Tue Mar 16 15:34:29 1999 David L. Levine - - * examples/Simple/bank/AccountManager_i.cpp: removed - ACE_Hash and ACE_Equal_To explicit - template instantiations, because they're in tao/POA.cpp. Thanks - to Wei Chiang for reporting this. - -1999-03-16 Nagarajan Surendran - - * tao/Server_Request.cpp: Removed a continue statement in the - marshal method since it prevented an exception from getting - printed on the server side if the idl method had no arguments - and only a return value. - -Tue Mar 16 02:25:56 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp: A line of - code was being generated without an ending semicolon. - -Tue Mar 16 00:26:01 1999 Jeff Parsons - - * tao/Server_Request.cpp: Used Any::_tao_get_cdr() in init_reply() - instead of casting to ACE_Messsage_Block* the return of - Any::value(). Also streamlined dsi_marshal(), again based on - the use of Any::_tao_get_cdr(). - - * tao/Any.cpp: Changed the constructor from ACE_Message_Block* to - set the value of any_owns_data_ to 0, since the value_ of this - Any is 0, so we want the value() call to return the cdr_. - -Mon Mar 15 21:08:55 1999 Jeff Parsons - - * tao/POAC.cpp: Replaced all the <<= and >>= with newer versions - generated by the latest TAO IDL compiler. - -Mon Mar 15 19:09:35 1999 Irfan Pyarali - - * tao/TAO.cpp (run): Added the other run() methods to the - ORB_Manager. Thanks to Jean-Marc Strauss - for pointing this out. - -Mon Mar 15 02:27:05 1999 Nanbor Wang - - * tao/Environment.{h,cpp}: - * tao/Exception.h: - * tao/IIOP_Profile.{h,i}: Removed all FLICK specific code. Thanks - very much to Tim Stack for removing the dependency from FLICK. - -Mon Mar 15 17:35:14 EST 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_field/field_ch.cpp (visit_predefined_type): - * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp - (visit_predefined_type): For struct/union members that are - object references, we always generate the TAO_Object_Field_T - parametrized type. Earlier we were generating CORBA::Object_var - if the member was of the type CORBA::Object and the parametrized - type for interfaces. However, this was causing runtime errors in - the (de)marshaling engine. - - * tao/{encode, decode}.cpp (TAO_Marshal_Struct::{encode,decode}): - Members that are simple CORBA::Object_ptr and not a user defined - interface type is also treated in the same way as if it was an - interface type. Thus, we can treat everything as a - TAO_Object_Field_T* type. - -Mon Mar 15 15:27:34 1999 Darrell Brunsch - - * orbsvcs/LifeCycle_Service/Life_Cycle_Service.cpp: - * orbsvcs/LifeCycle_Service/Life_Cycle_Service.h: - * orbsvcs/LifeCycle_Service/Life_Cycle_Service_i.cpp: - * orbsvcs/LifeCycle_Service/Life_Cycle_Service_i.h: - Renamed to the following to have a more consistent - naming scheme. - - * orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp: - * orbsvcs/LifeCycle_Service/LifeCycle_Service.h: - * orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp: - * orbsvcs/LifeCycle_Service/LifeCycle_Service_i.h: - New file names. - - * orbsvcs/LifeCycle_Service/LifeCycle_Service.dsp: - * orbsvcs/LifeCycle_Service/Makefile: - Uses the new names. - -Mon Mar 15 02:27:05 1999 Nanbor Wang - - * tao/POAManager.i: Fixed typos. - - * tao/POAManager.h: Added include 'poa_macros.h'. - -Mon Mar 15 10:48:39 1999 Carlos O'Ryan - - * tests/Param_Test/except.cpp: Fixed throw expression. In - platforms that support native C++ exceptions the right way to - throw is TAO_THROW(Foo()); not TAO_THROW(Foo). Of course the - form proposed works in platforms without native C++ exceptions - too. - -Mon Mar 15 10:42:27 EST 1999 Aniruddha Gokhale - - * tao/POAManager.{h,i,cpp}: There were some compile errors in teh - changes that Nanbor made. There was a need to include the - poa_macros.h file and change "env" to "ACE_TRY_ENV". - - * tao/encode.cpp (Alias::encode): The "data" parameter was first - cast to char* and then passed to stream->encode. Instead, we now - pass data itself. I am not sure, however, if this will fix some - of the runtime errors we are getting in the Trading Service. - -Mon Mar 15 02:27:05 1999 Nanbor Wang - - * tao/POA.{h,cpp}: Applied "some" ACE try macros into POA. - (etherealize_servants): Moved the function out of destroy - method. - - * tao/POAManager.{h,i,cpp} (remove_poa): Removed the POAManager if - there is no more POA under this POAManager's control. The - current implementation may cause potential race condition when - one thread hold the lock to remove the last POA and another - thread is blocked the POAManager's lock and is trying to add - another POA into this POAManager. This should be solved by - refcounting the POAMnanger's usage but currently, POA uses - TAO_POA_Manager directly... - - * tao/POAManager.{h,i,cpp} (deactivate_i): According to the spec., - this function should etherealize servants in the managing POAs - and wait for request completion instead of destroying the POAs. - (activate_i,hold_requests_i,discard_requests_i,deactivate_i): - Added these no-lock functions. - -Sun Mar 14 18:05:51 1999 Balachandran Natarajan - - * tests/Param_Test/*.h - * tests/Param_Test/*.cpp: Made the changes that are necessary - because of the previous changes to the tao/Request.* - -Sun Mar 14 14:58:51 1999 Balachandran Natarajan - - * tao/Request.i: - * tao/Request.cpp: - * tao/Request.h: Changed the arguments of two method call in the - Request class. They are send_oneway () and invoke (). They now - take in the environment variable ACE_TRY_ENV that should be - passed in from the application. These methods were using a - variable env_ stored in the class itself. The variable env_ has - also been removed thus necesitating the users of the API to send - their own environment variables that should be theoretically in - a TRY block. - - * performance-tests/Cubit/TAO/DII_Cubit/client.cpp: Made the - changes that is a fallout of the above changes.. - -Sun Mar 14 14:13:22 19 99 Vishal Kachroo - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp (handle_timeout): Fixed - warnings reported by David and Carlos for g++/egcs. Replaced - the constant 0xFFFFFFFFFFFFFFFF with 0xFFFFFFFFFFFFFFFFull and - for platforms lacking Ulonglong, called the constructor of - ACE_U_LongLong. - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp (handle_timeout): Added - the ACE_UINT64_LITERAL () to fix an NT warning. - -Sat Mar 13 23:35:01 1999 Pradeep Gore - - * orbsvcs/tests/CosEC_Basic/CosEC_Basic.cpp: - * orbsvcs/tests/CosEC_Basic/CosECConsumer.cpp: - * orbsvcs/tests/CosEC_Multiple/CosEC_Multiple.cpp: - * orbsvcs/tests/CosEC_Multiple/CosECConsumer.cpp: - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp: fixed minor - compile warnings regarding "statements not reached", "unused - parameters", and using .in (). - -Sat Mar 13 23:33:14 1999 David L. Levine - - * tao/Object.cpp: removed trailing semicolons from instantiation - pragmas. - -Sat Mar 13 21:53:57 1999 Vishal Kachroo - - * Added the Inaccuracy measure to the time returned by a Universal - Time Object (UTO). The inaccuracy is a 64 bit number broken into - inacchi and inacclo as: - - Inaccuracy 64-bits - |------------------------------------| - | | inacchi | inacclo | - |------------------------------------| - 16-bits 16-bits 32-bits - - The current measure of inaccuracy is the skew in synchronization - of the clerk's time. It is the difference in the largest and - smallest times from servers that the clerk syncs its time - with. The inaccuracy is dynamically updated with every time - synchronization cycle. - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp (handle_timeout): Added - the logic to calculate the inaccuracy from the times returned by - servers. - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp: Constructed the - Inaccuracy within UTO from the hi,lo values in UTC struct in - uto_from_utc(). Filled the UTO with the current inaccuracy - estimate in universal_time (). Added the GET/SET methods for the - inaccuracy. - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h: Added a class - variable for inaccuracy estimate and the declarations for the - GET/SET methods. These are used by the Timer_Helper class to set - the inaccuracy. - - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp: Changed the constructor to - initialise the UTO inacchi and inacclo with properly extracted - bits from the given inaccuracy. Rewrote the GET method for - inaccuracy to construct the inaccuracy from the UTC struct hi,lo - values. This was previously being returned as just the addition - of hi and lo values. - - * orbsvcs/tests/Time/Client_i.cpp : Changed the test to test for - the newly added inaccuracy and timezone information in the UTO - time. - - * orbsvcs/Time_Service/README : Updated to include this addition - in the Time Service. Thanks to Brian Dance - for reporting this. - -Sat Mar 13 11:58:27 1999 Carlos O'Ryan - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: Removed unused variable, - thanks to David Levine for reporting this. - - * TAO-INSTALL.html: Updated the notes on how to compile TAO. - - * orbsvcs/orbsvcs/orbsvcs_static.dsp: Added the new event channel - files to the static library. Also removed some old files that - are no longer used (Event/Task_Manager.cpp) thanks to Francois - Bernier for reporting this problem. - -Sat Mar 13 11:57:27 1999 Douglas C. Schmidt - - * tao/ORB.cpp (ORB_init): Revised the multicast_query() stuff just - a bit to make it easier to maintain. - -Sat Mar 13 00:44:51 1999 Douglas C. Schmidt - - * TAO version 0.3.11 released. - -Fri Mar 12 20:48:00 1999 Carlos O'Ryan - - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: Fixed improper use of - TAO_RETHROW macros. - - * tao/Invocation.cpp: Fixed problem in location forwarding, the - test for errors while demarshaling the new object reference was - inverted. - -Fri Mar 12 19:51:36 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: Fixed some - bugs with forwarding support in void functions without output - arguments. - - * tao/Object.cpp: Fixed warning about unused variable. - -Fri Mar 12 18:09:25 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp: Removed warnings - in generated code. - - * TAO_IDL/be/be_helper.cpp: Cosmetic changes. - -Fri Mar 12 16:17:40 1999 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/client.cpp: - * orbsvcs/tests/ImplRepo/client.dsp: - * orbsvcs/tests/ImplRepo/client_impl.cpp: - * orbsvcs/tests/ImplRepo/client_impl.h: - * orbsvcs/tests/ImplRepo/server.cpp: - * orbsvcs/tests/ImplRepo/server.dsp: - * orbsvcs/tests/ImplRepo/server_impl.cpp: - * orbsvcs/tests/ImplRepo/server_impl.h: - * orbsvcs/tests/ImplRepo/Simple_Object.idl: - * orbsvcs/tests/ImplRepo/simple_object_impl.cpp: - * orbsvcs/tests/ImplRepo/simple_object_impl.h: - Removed the Simple Test. - - * orbsvcs/tests/ImplRepo/Nestea.idl: - * orbsvcs/tests/ImplRepo/nestea_client.cpp: - * orbsvcs/tests/ImplRepo/nestea_client.dsp: - * orbsvcs/tests/ImplRepo/nestea_client_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_client_i.h: - * orbsvcs/tests/ImplRepo/nestea_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_i.h: - * orbsvcs/tests/ImplRepo/nestea_server.cpp: - * orbsvcs/tests/ImplRepo/nestea_server.dsp: - * orbsvcs/tests/ImplRepo/nestea_server_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_server_i.h: - Added the new Nestea Bookshelf test. - - * orbsvcs/tests/ImplRepo/README: - * orbsvcs/tests/ImplRepo/run_test.pl: - * orbsvcs/tests/ImplRepo/ImplRepo.dsw: - Changed because of the new test. - - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.h: - Now uses ACE exception handling macros. - - * orbsvcs/tests/ImplRepo/airplane_client_i.cpp: - Added the -k option for IOR input. - -Fri Mar 12 14:11:28 1999 Fred Kuhns - - * ORB.h, ORB.cpp and orbconf.h: Fixed multicast problem. Removed - dynamic memory allocation in multicast_query () and now pass a - pointer to a buffer allocated on the stack in - multicast_to_service (). Also added a macro - TAO_DEFAULT_MULTICAST_SEND_ATTEMPTS = 2. This control the - number of attempts multicast)query () will make to get a - response. - - Also moved a call to multicast.close () to after to attempt - loop. It seems when multicast.close () is called the reply - packet from the server is lost on solaris hosts. By moving this - to after the recv the packets are now read on the first recv. - -Fri Mar 12 12:23:07 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp (handle_timeout): - Retrieved the timezone information and set the time displacement - factor for the clerk's time. - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h : Added the - GET/SET methods for the time displacement factor. - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp : Added - implementation for the above methods. Passed the time zone - information to the UTO created in universal_time (). - - The timer_helper uses the newly added timezone wrappers of - OS.h. These wrappers are yet to be tested on NT. Thanks to Brian - Dance for reporting this. - -Fri Mar 12 10:38:18 EST 1999 Aniruddha Gokhale - - * tao/CDR_Interpreter.cpp: setup_entry for objrect references - required TAO_Object_Field_T as the first parameter - instead of CORBA_OBject_ptr for the accurate size - computation. Thanks to Alexey Gadzhiev for - reporting the bug and supplying us with a test program and other - information to help us fix the bug. - - * tao/{encode, decode, deep_free}.cpp: In encode/decode/deep_free - for structures, for the case where we are dealing with fields - that are object references, we cast the data to - TAO_Object_Field_T* instead of simply - TAO_Object_Field*. These changes were made during the bug fix - described aove. These fixes also removed the Array Bounds Read - (ABR) error message produced by Purify. - -Fri Mar 12 00:35:47 1999 Marina Spivak - - * orbsvcs/orbsvcs/IOR_Multicast.cpp Fixed the problem of client - not being able to resolve Naming Service ior through multicast - when client and server are run on different hosts. Thanks to - Steve Totten for tracking down since when this was broken, and - to Carlos O'Ryan for providing hypotheses as to why. - - Made the server wait a little bit before sending a reply to the - multicast as well as send a reply several times. This 1) gives - client a chance to start listening for a reply, 2) provides a - better protection against packet loss. (The problem was - occuring because the server sent a reply before the client had a - chance to start receiving. This was happening due to the added - dynamic memory allocation in the client code in the interval - between multicast_send and reply_receive). - - A more flexible policy-based solution should be added (as - opposed to hardcoding intervals and retries). This will - probably be a part of Vishal's upcoming Interoperable Naming - Service changes. - - Values encoded in the code now should work for most - platforms/networks. However, they are not guaranteed to work - for all! Part of the problem is that UDP is unreliable, so in - theory can be retransmitted 100 times and still not work. Also, - specific network configurations (busy network, busy hosts, old - routers, etc.) may have special needs. Again, this should be - better addressed once hardcoded values are replaced by flexible - policies. - -Thu Mar 11 22:49:35 1999 Marina Spivak - - * tao/ORB.cpp (multicast_query): INET_Addr::get_port_number () - returns a port number converted to host byte order. Made - changes to account for that. - - * orbsvcs/orbsvcs/IOR_Multicast.cpp: Made sure that upon the - receipt of the multicast packet, the reply was sent to the port - indicated in the array contained in the packet as opposed to the - port from which the packet came from. - -Thu Mar 11 20:41:39 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/IOR_Multicast.cpp: There were some major - inconsistencies with byte order conversions. - - * tao/ORB.cpp (multicast_query): Fixed some subtle bugs with - multicast. First, we were sending a struct when we should have - been sending an array (due to portability issues with struct - padding). Second, we weren't being consistent with ACE macros. - - * tao/ORB.cpp (multicast_query): There was a read of BUFSIZ where - there should have been a read of ACE_MAX_DGRAM_SIZE. Thanks to - Marina for noticing this. - -Thu Mar 11 20:46:04 1999 Marina Spivak - - * orbsvcs/tests/Simple_Naming/client.cpp: In the - CosNaming_Client::init () changed - - // Initialize ORB. - is->orbmgr_.init (argc, - argv, - TAO_TRY_ENV); - to - // Initialize ORB. - this->orbmgr_.init (this->argc_, - this->argv_, - TAO_TRY_ENV); - - to facilitate proper processing of the arguments. - -Thu Mar 11 19:55:18 1999 Carlos O'Ryan - - * tao/Object.cpp: Fixed template instantiations and some warnings. - - * tao/encode.cpp: Removed unused variable. - - * tests/Param_Test/run_test.pl: Use IOR object references, they - are actually easier than URL-style. - -Thu Mar 11 19:07:20 1999 Carlos O'Ryan - - * tao/CDR.h: - * tao/CDR.cpp: - * tao/Connect.cpp: - * tao/Exception.cpp: - * tao/IIOP_ORB.cpp: - * tao/IIOP_Profile.h: - * tao/IIOP_Profile.i: - * tao/IIOP_Profile.cpp: - * tao/MProfile.h: - * tao/MProfile.i: - * tao/Object.h: - * tao/Object.i: - * tao/Object.cpp: - * tao/Pluggable.h: - * tao/Server_Request.cpp: - * tao/Stub.h: - * tao/Stub.i: - * tao/decode.cpp: - * tao/encode.cpp: - Implemented compiled marshaling and demarshaling of object - references. Removed uses of do_static_call() from the - CORBA::Object class in favor of compiled marshaling. Removed - several uses of interpretive marshaling, we can use compiled - marshaling now. - - * tests/Param_Test/run_test.pl: The client cleanly shutdowns the - server now. - -Thu Mar 11 16:36:34 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: Fixed code - generation of _ptr_type and _var_type typedefs to include a - guard against certain versions of g++. - -Thu Mar 11 14:30:05 1999 Carlos O'Ryan - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: Check for error in call - to Repository::get_hostport - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: Enabled - test for unions and the RTI data structure. - -Thu Mar 11 13:59:05 1999 David L. Levine - - * tao/Any.{i,cpp} (operator<<=): un-inlined, to avoid use of - inline CORBA::string_dup () before definition. - -Thu Mar 11 13:43:12 1999 Carlos O'Ryan - - * TAO_IDL/util/utl_global.cpp: Enabled compiled marshaling by - default (again). - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: Fixed - generated code to handle location forwarding. - - * tao/Invocation.cpp: Minor cosmetic fixes. - - * orbsvcs/tests/ImplRepo/airplane_client_i.cpp: We don't abort on - the first exception, instead we keep trying. We also clear the - environment before making a request. - -Wed Mar 10 16:43:55 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp: - The type of event generated by the filter is can be passed in - the Filter constructor. This is also used to control if the - event is a one shot timeout or an interval timeout. - - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.cpp: We must - create a Timeout_Filter for events of type ACE_ES_TIMEOUT_EVENT - too. The type of event is passed to the Timeout_Filter. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: Only push events if - the consumer is not disconnected. - - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.cpp: Fixed - memory managment bug. - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: The UDP gateway does - not require an scheduler, it can be argued that it cannot use an - scheduler because UDP is not suitable for hard real-time - systems. - - * orbsvcs/tests/EC_Mcast/EC_Mcast.h: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: Removed scheduler and some - includes related to the old EC. - - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.h: Work around - horrible g++ 2.7.2 bug with forward declaration of templates. - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h: Also fixed a couple - of g++ 2.7.2 warnings, that look like compiler bugs to me. - - * tao/decode.cpp: Updated some comments in the object reference - decoder. - - * tests/CDR/allocator.cpp: Minor cosmetic fixes. - -Wed Mar 10 10:43:08 EST 1999 Aniruddha Gokhale - - * TAO_IDL/fe/idl.yy: The front-end was incorrectly handling - "const" definitions of type strings. Thanks to Yaolong Lan - (lyaolong@cs.sunysb.edu) for reporting the problem. - - * TAO_IDL/fe/{y.tab.cpp, y.tab.h, lex.yy.cpp}: Regenerated since - idl.yy was modified. - -Tue Mar 9 20:01:40 1999 Ossama Othman - - * examples/Simulator/DOVEMIB/Makefile: - * examples/Simulator/Event_Supplier/Makefile: - * orbsvcs/Naming_Service/Naming_Service.dsp: - * orbsvcs/tests/AVStreams/benchmark/Makefile: - * orbsvcs/tests/AVStreams/server_discovery/Makefile: - * performance-tests/Demux/Makefile: - * performance-tests/POA/Object_Creation_And_Registration/Makefile: - * tao/Makefile: - * tao/ORB.cpp: - * tao/TAO.dsp: - * tao/TAO4.mak: - * tao/TAO_Static.dsp: - * tao/Typecode.cpp: - * tao/tao.bld: Updated these files to use the newly renamed - CDR_Interpreter classes and files. - - * tao/IIOP_Interpreter.h - * tao/IIOP_Interpreter.cpp - - Renamed these files to: - - * tao/CDR_Interpreter.h - * tao/CDR_Interpreter.cpp - All references to IIOP_Interpreter have been changed to - CDR_Interpreter since "IIOP_Interpreter" is no longer an - accurate name for the classes and files in question. - -Tue Mar 9 19:58:54 1999 Nanbor Wang - - * tao/POA.{h,cpp}: - * tao/Makefile: - * tao/TAO[_Static].dsp: - * tao/POAManager.{h,i,cpp}: Moved POA_Manager implementation to - separate files. - -Tue Mar 9 15:40:06 1999 Jeff Parsons - - * TAO/tests/Param_Test/big_union.cpp: Fixed a MSVC++ - double-to-float warning. - -Tue Mar 9 15:35:31 1999 Darrell Brunsch - - * examples/Quoter/Factory_Finder.cpp: - * examples/Quoter/Generic_Factory.cpp: - * examples/Quoter/server.cpp: Fixed null-pointer usage in the - server destructors when the naming service wasn't resolved. - - * examples/Quoter/server.cpp: Also fixed some memory leaks. - -Tue Mar 9 13:42:49 1999 Douglas C. Schmidt - - * TAO_IDL/fe: Regenerated the y.tab.cpp file using Berkeley yacc - rather than yacc so the nifty tracing features will be enabled. - -Tue Mar 9 13:05:49 1999 Alexander Babu Arulanthu - - * docs/releasenotes/index.html: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: Fixed all the - Sequence_out parameters to get created even though their length - may be zero. This is according to the CORBA spec. - -Tue Mar 09 01:16:41 1999 Douglas C. Schmidt - - * TAO version 0.3.10 released. - -Tue Mar 09 00:52:42 1999 Douglas C. Schmidt - - * TAO version 0.3.9 released. - -Mon Mar 8 23:33:28 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Makefile: Fixed a problem in the Makefile. - -Mon Mar 08 22:20:32 1999 David L. Levine - - * orbsvcs/orbsvcs/Makefile (TAO_ORBSVCS_SRCS): if the Trader is - built without the Naming Service in TAO_ORBSVCS, add - IOR_Multicast because the Trader needs it. Thanks to Seth for - reporting this. - -Mon Mar 8 20:49:45 1999 Carlos O'Ryan - - * tao/params.h: - * tao/ORB_Core.cpp: - * docs/Options.html: - * docs/configurations.html: - * docs/releasenotes/orbcore.html: - Change the iioplite option to gioplite. - - * tao/IIOP_ORB.h: - * tao/IIOP_ORB.cpp: - Added support for file://-style IORs; we simply use the - ACE_Read_Buffer class to read the IOR from the file and then - call string_to_object again. - - * tao/GIOP.cpp: Fixed debug message. - - * tao/Server_Request.cpp: Minor cosmetic fixes. - -Mon Mar 8 20:09:07 1999 Jeff Parsons - - * TAO/docs/releasenotes/index.html: Added an entry about the - Pluggable test. - -Mon Mar 8 19:02:21 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: Added the new - typedefs for _ptr_type and _var_type (see Advanced CORBA - Programming with C++, section 7.6.1). I couldn't find anywhere - that the IDL compiler generates code for template member - functions - everything like that in orbsvcs seems to be - handwritten. If anyone sees that I overlooked something. let me - know. - -Mon Mar 8 16:20:22 1999 Douglas C. Schmidt - - * tao/ORB.i: Moved CORBA::string_dup() into the *.i file and made - it an inline method. Thanks to Jon Biggar for suggesting this. - -Mon Mar 8 16:46:36 1999 Matthew J Braun - - * orbsvcs/tests/Logger/README: Changed description of correct test - output to reflect change from get_host_by_name () to - get_host_by_addr (). - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: Altered the return values in - verbosity_conversion to correspond to the changed values in - ace/Log_Msg.h. Also modified logv to use get_host_by_addr () - rather than get_host_by_name (). This speeds things up - somewhat. Thanks to Ulf Jährig for pointing this out. - -Mon Mar 8 14:27:38 1999 Jeff Parsons - - * tao/Invocation.cpp: - * tao/IIOP_Transport.cpp: - * tao/Connect.cpp: - * tao/ORB.cpp: - * tao/skip.cpp: The first four files have the new ACE timeprobes - for the pluggable protocols test. The last has a change in - TAO_Marshal_Union::skip() from using - (ACE_Message_Block *) Any::value() to Any::_tao_get_cdr (). - -Mon Mar 8 13:44:23 1999 Douglas C. Schmidt - - * tao/ORB.cpp: Added a superfast implementation of - CORBA::string_copy(). Thanks to Terry Rosenbaum - for suggesting this and to - Jon Biggar for optimizing it still further ;-). - -Mon Mar 8 11:08:02 EST 1999 Aniruddha Gokhale - - * TAO_IDL/include/utl_scope.h: - TAO_IDL/util/utl_scope.cpp: Incorporated the right scoping - lookup rules based on the latest CORBA 2.3 revisions. Thanks to - Torsten Kuepper for providing the - patches. - -Sun Mar 7 19:29:06 1999 Balachandran Natarajan - - * docs/Options.html (bgcolor): Updated the documentation for the - ORB configuration - -Sun Mar 07 17:39:22 1999 Nanbor Wang - - * tao/IIOP_Transport.cpp (send): Remember to reset after - we send out a batch of data. - -Sun Mar 7 17:27:31 1999 Jeff Parsons - - * TAO/performance-tests/Pluggable/client.cpp: Removed - ACE_OS::thr_exit(). this was borrowed from - IDL_Cubit/client.cpp. It has been decided that this usage is a - "Bad Thing"[TM], and that line has been removed from the IDL - Cubit client as well. - -Sun Mar 07 16:39:03 1999 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/client.cpp (main): removed - call to ACE_OS::thr_exit (). It's no longer necessary; it's - just a relic from a workaround that's no longer needed. Thanks - to Jeff for noticing it. - -Sun Mar 7 16:03:51 1999 Jeff Parsons - - * TAO/performance-tests/Pluggable/PP_Test_Client.{h,cpp}: - * TAO/performance-tests/Pluggable/PP_Test_Server.{h,cpp}: - * TAO/performance-tests/Pluggable/PP_Test_i.{h,cpp}: - * TAO/performance-tests/Pluggable/PP_Test.idl: - * TAO/performance-tests/Pluggable/client.cpp: - * TAO/performance-tests/Pluggable/server.cpp: - * TAO/performance-tests/Pluggable/client.dsp: - * TAO/performance-tests/Pluggable/server.dsp: - * TAO/performance-tests/Pluggable/Pluggable.dsw: - * TAO/performance-tests/Pluggable/Makefile: - * TAO/performance-tests/Pluggable/README: New files implementing - tests for pluggable protocols stuff, using ACE - Timeprobes. Builds and runs fine on NT, builds with suncc, but - client seg faults on ACE_OS::thr_exit(). I've emailed the doc - group to see if anyone can give me a hand with this bug. - -Sun Mar 7 10:41:58 1999 Alexander Babu Arulanthu - - * orbsvcs/tests/Property/client.cpp: Fixed the g++ warnings - -Fri Mar 5 21:59:18 1999 Darrell Brunsch - - * examples/Quoter/Factory_Finder.cpp: - * examples/Quoter/Factory_Finder_i.cpp: - * examples/Quoter/Quoter_i.cpp: - * examples/Quoter/Quoter_i.h: - * examples/Quoter/client.cpp: - * examples/Quoter/client.h: - * examples/Quoter/server.cpp: - * examples/Quoter/server.h: In general, redid a lot of exception - handling to work better with native exceptions. - -Fri Mar 5 20:50:23 1999 Pradeep Gore - - * orbsvcs/Makefile: included the CosEvent_Channel in the list of - directories to build. - - * orbsvcs/CosEvent_Service/CosEvent_Service{.h, .cpp}: replaced - the TAO_TRY macros with ACE_ macros. - - * orbsvcs/tests/CosEC_Basic/{*.h, *.cpp}: replaced the TAO_TRY - macros with ACE_ macros. - - * orbsvcs/tests/CosEC_Basic/CosECConsumer{.h.cpp}: added an ORB - pointer, which is used to shutdown the ORB after a is - received by a consumer. - - * orbsvcs/tests/CosEC_Basic/CosEC_Basic{.h, .cpp}: fixed a bug - that caused this test to fail - thanks to Jim Crossley - for pointing this out. The RtEC needs to be - constructed with a valid TAO_Reactive_Module_Factory. Creating - the Rtec on the heap with an initialized module factory fixed - this. - - * orbsvcs/tests/CosEC_Multiple {*.h, *.cpp} replaced the TAO_TRY - macros with ACE_ macros. - - * docs/releasenotes/index.html: updated the CosEC information. - -Fri Mar 5 18:11:04 1999 Darrell Brunsch - - * orbsvcs/orbsvcs/orbsvcs.dsp: Added the new EC files. - -Fri Mar 5 16:43:06 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp: Fixed const - correctness problem, Sun/CC didn't even give a warning for this - one! - - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.cpp: Added - missing template instantiation. - -Fri Mar 5 15:12:00 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Null_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.i: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.cpp: - * orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.h: - * orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.i: - * orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.cpp: - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Timeout_Generator.h: - * orbsvcs/orbsvcs/Event/EC_Timeout_Generator.i: - * orbsvcs/orbsvcs/Event/EC_Timeout_Generator.cpp: Added support - for timeout events, including a simple Timeout_Generator based - on the ORB's reactor. - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.i: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.i: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: Fixed several - problems with g++ 2.7.2.X; thanks to David Levine for reporting - them. - - * orbsvcs/tests/Makefile: Added a bunch of missing directories to - the list. - - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: The Event2 - service is compiled by default, not need to check for it. - - * orbsvcs/Event_Service/Event_Service.h: - * orbsvcs/Event_Service/Event_Service.cpp: Added support for the - new EC implementation. - - * tao/append.cpp: - * tao/decode.cpp: - * tao/deep_free.cpp: - * tao/encode.cpp: - * tao/skip.cpp: The debug messages are only be printed out if - TAO_debug_level is greater than 0. Also fixed many of them. - - * orbsvcs/Event_Service/Makefile: - * orbsvcs/ImplRepo_Service/Makefile: - * orbsvcs/tests/EC_Mcast/Makefile: - * orbsvcs/tests/EC_Throughput/Makefile: - * orbsvcs/tests/CosEC_Multiple/Makefile: - * orbsvcs/tests/Property/Makefile: - * orbsvcs/tests/Sched/Makefile: - * orbsvcs/tests/Sched_Conf/Makefile: Updated dependencies. - - * orbsvcs/tests/ImplRepo/Makefile: Fixed the Makefile so it would - compile. - - * orbsvcs/tests/ImplRepo/airplane_client_i.cpp: Fixed memory leak. - - * orbsvcs/orbsvcs/Event/EC_Busy_Lock.h: - * orbsvcs/orbsvcs/Event/EC_Command.h: - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.h: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_QOS_Info.h: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h: - * orbsvcs/orbsvcs/Event/EC_Type_Filter.h: - * orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp: - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - Minor cosmetic changes. - -Fri Mar 05 12:51:08 1999 David L. Levine - - * rules.tao.GNU: replaced -Wno-used for g++, but just for pre-2.8. - It has many complaints about unused parameters in generated - code. - -Fri Mar 5 12:15:50 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Trader/Trader.cpp: Removed some repeated - template instantiations. - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: Removed some template - instantiations that belong in Trader/Trader.cpp - -Thu Mar 04 21:04:59 1999 Irfan Pyarali - - * orbsvcs/orbsvcs/Trader: Removed TAO_Hashable_ULong as all the - Trader classes were changed to use the new Hash_Map_Manager_Ex. - -Thu Mar 4 20:19:32 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_array/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_enum/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_exception/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_structure/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_union/any_op_cs.cpp: Removed redundant - cast to ACE_Message_Block* of the return value of - _tao_get_cdr(). - -Thu Mar 4 18:40:45 1999 Jeff Parsons - - * tao/CurrentC.cpp: Changed the code for the >>= operator to get - rid of another Any::value() inconsistency and to reflect what - the IDL compiler now generates for these operators. - -Thu Mar 4 16:53:28 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp: - * TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp: Removed some more - unused args, as noted by Irfan and g++. - -Thu Mar 04 16:29:41 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/orbsvcs.dsp: Added new Event Channel to the - orbsvcs project file. - -Thu Mar 04 16:08:22 1999 David L. Levine - - * tao/Makefile: removed unused LSRC2 macro definition. - -Thu Mar 4 15:42:23 1999 Fred Kuhns - - * Primarily cosmetic changes to - tao/GIOP.cpp - tao/GIOP.h - tao/IIOP_Acceptor.h - tao/IIOP_Connector.h - tao/IIOP_Profile.cpp - tao/IIOP_Profile.h - tao/IIOP_Profile.i - tao/IIOP_Transport.cpp - tao/IIOP_Transport.h - tao/Invocation.cpp - tao/Pluggable.cpp - tao/Pluggable.h - tao/Stub.cpp - -Thu Mar 4 15:14:19 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.cpp: - Fixed minor warnings. - -Thu Mar 4 12:43:46 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Filter.i: Fixed nasty bug, thanks to - J. Russell Noseworthy for catching - this one. - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: Removed a couple of - memory leaks, thanks to J. Russell Noseworthy - for catching them up. - - * orbsvcs/Event_Service/Makefile: - * orbsvcs/Event_Service/Event_Service.h: - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: The ACE_EventChannel - implementation does not shutdown the ORB anymore, instead we use - composition in the Event_Service program to shutdown the ORB - there (where it actually makes sense). - - * orbsvcs/orbsvcs/Makefile: Updated dependencies. - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.i: Minor cosmetic - fixes. - - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Command.h: - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.h: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_QOS_Info.h: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h: - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.h: - * orbsvcs/orbsvcs/Event/EC_Type_Filter.h: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h: - Added the TAO_ORBSVCS_Export in many classes. - -Thu Mar 04 10:22:55 1999 David L. Levine - - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp - (parse_args): when type_count_ <= 0, moved the statement that - resets it to 1 to before the ACE_ERROR_RETURN. That way, it - really will be reset to 1 :-) - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp (parse_args): - when ec_concurrency_hwm_ <= 0, moved the statement that resets - it to 1 to before the ACE_ERROR_RETURN. - -Wed Mar 3 18:28:51 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.i: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin_T.h: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin_T.i: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin_T.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.h: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.i: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.h: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.i: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set_T.cpp: Factored - out the collection of ProxyPushSuppliers from the ConsumerAdmin - class: it is used in other places like the SupplierFiltering - strategies. I also added extensive documentation about the - several variations on this particular strategy. - - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.cpp: Added a new - SupplierFiltering strategy, simply keep the list of consumers - for each supplier. - - * orbsvcs/orbsvcs/Event/EC_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Type_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp: Changed the mechanism - to match suppliers and consumers: the filter objects have a new - method that can be used to detect if a event is potentially - interesting to the consumer. The red-black tree is not needed - anymore. - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.i: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: Moved the - instantiation of the EventHeader red-black tree to this file, - because now this is the only place we use it. - - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp: Added new factory - methods to create and detroy EC_ProxyPushSupplier_Set objects. - - * tao/orbconf.h: Added description of the - TAO_DOTTED_DECIMAL_ADDRESSES macro. - - * tao/MProfile.i: - * tao/Any.h: - * orbsvcs/Event_Service/Event_Service.cpp: Minor cosmetic fixes. - -Wed Mar 3 18:15:14 1999 Darrell Brunsch - - * tests/Param_Test/client.dsp: - * tests/Param_Test/server.dsp: Added big_union. - -Wed Mar 3 03:05:06 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp: - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.dsp: - * TAO/performance-tests/Cubit/TAO/DII_Cubit/README: - * TAO/performance-tests/Cubit/TAO/DII_Cubit/Makefile: Removed all - the naming service stuff from DII_Cubit_Test. Made a note in - the README file that the IDL server no longer uses it - either. Also removed the orbsvcs library load from the makefile - since we no longer need it. And removed client.h from the VC - project file and the link to orbsvcsd.lib from same. - -Tue Mar 2 17:36:29 1999 Pradeep Gore - - * orbsvcs/orbsvcs/CosEventComm.idl: - * orbsvcs/orbsvcs/CosEventChannelAdmin.idl: added a comment header - to describe the idl file contents. - -Tue Mar 2 11:41:00 1999 Chris Gill - - * examples/Simulator/DOVEBrowser/DoubleVisComp.java: Added - flexible monotonic scaling of all DoubleVisComp windows. - -Tue Mar 2 02:32:34 1999 Nanbor Wang - - * tao/IIOP_Profile.{h,i,cpp}: Added new file IIOP_Profile.i for - inline functions. Moved some accessors from .cpp file to .i - file. Added _host_(), _port_(), _object_key_(), - reset_object_addr() when TAO_USES_FLICK is defined. Flick needs - to access the structure directly. - -Mon Mar 1 23:37:58 1999 Jeff Parsons - - * tao/Server_Request.cpp: Fixed yet another instance of backwards - any_owns_data behavior, is dsi_marshal(). Will look at the rest - of Server_Request.cpp later - there seems to be questionable - stuff in the other methods as well. - -Mon Mar 1 17:57:18 1999 Jeff Parsons - - * TAO/tests/dynany_test/test_dynsequence.cpp: Fixed a - double-deletion problem with a data string. All the dynany test - code will need to be looked over for memory-handling behavior - since the many recent changes to the IDL compiler. Thanks to - Barry Hoggard for reporting this bug. - -Mon Mar 1 17:31:57 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/sfp.cpp: Added the flowProtocol:: class - specifier for frameHeader so that it compiles on win32. Thanks - to David Hooker for the fix. - -Mon Mar 01 17:19:04 1999 David L. Levine - - * TAO version 0.3.8 released. - -Mon Mar 1 14:43:20 1999 Carlos O'Ryan - - * docs/compiler.html: Fixed minor error in the IDL compiler - documentation, thanks to Frederic Maria for - pointing this out. - -Mon Mar 01 14:20:44 1999 David L. Levine - - * TAO version 0.3.7 released. - -Mon Mar 01 08:28:26 1999 David L. Levine - - * tao/ORB_Core.cpp: removed ACE_Guard template - instantiation, because it collided with - ACE_Guard in ace/Synch.cpp. - -Sat Feb 27 20:05:10 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp: Removed - unused variables. - - * TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp: The temporary used to - read the discriminant must be declared using the fully qualified - name of the type, because the operator>> is in the global scope. - -Fri Feb 26 23:41:08 1999 Nanbor Wang - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): Oops, unlinking - of temp file should not be disable on non-Win32 platforms. - Thanks to David for noticing this. - -Fri Feb 26 23:30:12 1999 David L. Levine - - * TAO_IDL/Makefile: removed the clean target, because it deleted - tao_idl. The realclean target does that. Thanks to Tres Seaver - for reporting this. - -Fri Feb 26 21:03:47 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: Added support - for forwarding in stubs generated with compiled marshaling. We - use the new ACE_TRY macros to do this. - - * TAO_IDL/be/be_union_branch.cpp: - * TAO_IDL/be/be_union_label.cpp: - * TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_access_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp: - * TAO_IDL/be_include/be_type.h: - * TAO_IDL/be_include/be_union_branch.h: Fixed code generation for - unions whose discriminators are enums. It wasn't prefixing the - enum label with the scope where the enum was generated i.e. for - enums defined inside a module Foo it was using "value1" instead - of "Foo::value1". - - * orbsvcs/orbsvcs/Event/Timer_Module.cpp: Fixed Timeprobe use. - - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin_T.cpp: Minor cosmetic - fixes. - - * orbsvcs/orbsvcs/Event/README: Added more details, started a - section that describes the interaction between the components. - - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.cpp: The - SupplierFiltering module splits an EventSet into single events - before passing them to the ProxyPushSuppliers, this is needed so - that filtering will work correctly. - -Fri Feb 26 18:29:04 1999 Balachandran Natarajan - - * orbsvcs/tests/Time/implrepo.conf - tests/NestedUpcall/MT_Client_Test/client.conf - examples/POA/On_Demand_Loading/svc.conf - examples/Quoter/client.conf - examples/Quoter/server.conf - performance-tests/Cubit/TAO/MT_Cubit/svc.conf - performance-tests/Thruput/TAO/svc.conf - - Changed -ORBdemuxstrategy option to - -ORBsystemidpolicydemuxstrategy - -Fri Feb 26 18:00:52 1999 Jeff Parsons - - * tao/Makefile: - * tao/TAO.dsp: Removed file Align.h from the repository, the - makefile and the project file. All that stuff moved to OS.h with - the CDR classes. - -Fri Feb 26 17:37:04 1999 Fred Kuhns - - * Added the function next_profile_retry to stub object. - -Fri Feb 26 16:46:37 1999 Fred Kuhns - - * Added some methods to Stub_Object for forwarding. - -Fri Feb 26 13:32:35 1999 Balachandran Natarajan - - * examples/Simple/grid/README: New file for the benefit of the - community. Thanks to Dr.Schmidt for reminding me to do this. - -Fri Feb 26 12:44:58 1999 Carlos O'Ryan - - * tests/Param_Test/big_union.cpp: Fixed some warnings for - Linux/EGCS. check_validity was incomplete. - - * tests/Param_Test/svc.conf: Removed obsolete options. - -Fri Feb 26 11:35:51 1999 Carlos O'Ryan - - * TAO_IDL/Makefile: - * TAO_IDL/be/be_visitor_factory.cpp: - * TAO_IDL/be/be_visitor_union_branch.cpp: - * TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_union/union_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp: - * TAO_IDL/be_include/be_codegen.h: - * TAO_IDL/be_include/be_visitor_union/cdr_op_cs.h: Implemented - compiled marshaling for unions. I also had to debug and fix - parts of the union implementation too. - - * tests/Param_Test/Makefile: - * tests/Param_Test/run_test.pl: - * tests/Param_Test/tests.h: - * tests/Param_Test/driver.cpp: - * tests/Param_Test/driver.h: - * tests/Param_Test/options.cpp: - * tests/Param_Test/options.h: - * tests/Param_Test/param_test.idl: - * tests/Param_Test/param_test_i.cpp: - * tests/Param_Test/param_test_i.h: - * tests/Param_Test/big_union.h: - * tests/Param_Test/big_union.cpp: Added a new test for unions, the - union contains many basic types, sequences, arrays, variable and - fixed sized structures, object references, sequences, strings, - etc. I couldn't test unions inside unions because there seems - to be a bug with union code generator. - -Fri Feb 26 10:06:57 1999 Fred Kuhns - - * Fixed inline function ordering in Stub.i! - -Fri Feb 26 00:43:30 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs: Updated all the ORB services IDL files so that - they are protected by #ifndef ... #endifs. Thanks to Lothar - Werzinger for this suggestion. - -Fri Feb 26 00:05:16 1999 Douglas C. Schmidt - - * TAO version 0.3.6 released. - -Thu Feb 25 23:38:46 1999 Jeff Parsons - - * tao/decode.cpp: Fixed another confusion between an Any's value - and its message block. This one was in TAO_Marshal_Union. Maybe - unions will work a little better now ;-). - -Thu Feb 25 20:19:26 1999 Ossama Othman - - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.h: - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Globals.h: - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - - Modified these files so that they will compile if ACE was built - without thread support by changing ACE_MT_SYNCH macros to - ACE_SYNCH and by using the ACE_SYNCH_SEMAPHORE macro instead of - ACE_Thread_Semaphore. Thanks to Doug for suggesting the ACE_SYNCH - changes. - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: Modified - these files so that they will compile if ACE was built without - thread support by changing ACE_MT_SYNCH macros to ACE_SYNCH and - by using the ACE_SYNCH_SEMAPHORE macro instead of - ACE_Thread_Semaphore. Thanks to Doug for suggesting the - ACE_SYNCH changes. - - ACE_Condition in Task_Client.h for the unthreaded case will be - dealt with soon. - - ACE_Condition in Task_Client.h for the unthreaded case will be - dealt with soon. - -Thu Feb 25 18:16:31 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp: - * TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp: - * TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp: - * TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: IDL generated code - was passing in the size instead of the length for bounded - strings. Then CDR would add 1 to get back the size... Just - subtracted 1 in the appropriate spots in IDL compiler - code. Checked out the new version in param_test and all seems to - be ok. Thanks to Henrik Nordberg for - reporting this bug. - -Thu Feb 25 16:06:49 1999 Nanbor Wang - - * rules.tao.GNU: Added make commands to generate dummy *S_T.* - files when building with Flick. - -Thu Feb 25 15:53:13 1999 Balachandran Natarajan - - * TAO_IDL/be - TAO_IDL/driver: Changed the TAO_TRY macros with ACE_TRY macros - in the IDL generated stubs and skeletons - -Thu Feb 25 15:35:14 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp (main): removed - ACE_OS::thr_exit () call on VxWorks, because it's no longer - necessary: the client doesn't die on shutdown. - -Thu Feb 25 14:44:40 1999 Jeff Parsons - - * orbsvcs/Event/Timer_Module.cpp: Fixed a typo, still another - timeprobe error - not sure what was intended, will email - doc_group. - -Thu Feb 25 12:41:08 1999 Douglas C. Schmidt - - * TAO/performance-tests/Cubit/Orbix: Updated the Makefiles to use - the newer dependencies. Thanks to Uma Markandu - for reporting this. - -Thu Feb 25 11:38:48 1999 Nanbor Wang - - * tao/default_server.cpp (parse_args): Still allow the use of - -ORBdemuxstrategy but spit out a warning when used. - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): Don't remove - temporary files on Win95/98. Thanks to Rod Joseph - for reporting the problem. - - * docs/Options.html: Added a short note about the change of - -ORBdemuxstrategy. - -Thu Feb 25 09:27:07 1999 Carlos O'Ryan - - * TAO_IDL/util/utl_global.cpp: Use interpretive marshaling by - default, at least until unions work correctly. - -Wed Feb 24 23:21:53 1999 Pradeep Gore - - * orbsvcs/tests/CosEC_Multiple/CosECConsumer.cpp: - * orbsvcs/tests/CosEC_Multiple/CosECSupplier.cpp: added #include - - -Wed Feb 24 22:54:59 1999 Nanbor Wang - - * tao/TAO_Internal.i (_svc_conf): This new function allows user to - overwrite TAO_DEFAULT_*_ARGS settings at application's main - without recompiling TAO library. Notice these settings are - further overwritten by external svc.conf files because svc.conf - files are parsed before these fake entries. - - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf: -ORBdemuxstrategy - has become -ORBsystemidpolicydemuxstrategy now. - - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf.static: Fixed - static service's names. Changed to use - -ORBsystemidpolicydemuxstrategy. - - * tao/orbconf.cpp: Fixed TAO_DEFAULT_*_ARGS. - - * tao/ORB_Core.cpp: - * tao/default_client.cpp: - * tao/default_server.cpp: Corrected names of the static services. - -Wed Feb 24 17:08:27 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Command.cpp: - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin_T.h: - * orbsvcs/orbsvcs/Event/EC_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: - Fixed explicit template instantiations. - -Wed Feb 24 16:01:53 1999 Darrell Brunsch - - * tao/Stub.cpp: Fred and I fixed up Location Forward logic in - do_static_call (). It wasn't advancing the profiles when a - location forward message was returned. - -Wed Feb 24 14:13:03 1999 Nanbor Wang - - * docs/index.html: Added a link to - $ACE_ROOT/docs/exceptions.html. - -Wed Feb 24 11:45:29 1999 Fred Kuhns - - * Added a test for multiple profile forwarding. This test - verifies the Stub methods by duplicating the forwarding and - request handling logic in wrappers. - tests/Multiple_Profiles/forwarding.cpp - -Wed Feb 24 11:40:08 1999 Fred Kuhns - - * Stub.cpp - changed goto two_way to goto one_way - -Wed Feb 24 11:07:32 1999 Fred Kuhns - - * Updated how forwarding is performed so that multiple profiles - are used. This following files were modified. These is still - an issue with concurrency since the Stub object is responsible - for managing the profile list and forwarding information. - IIOP_Profile.cpp - IIOP_Profile.h - Invocation.cpp - MProfile.cpp - MProfile.h - MProfile.i - Pluggable.cpp - Pluggable.h - Stub.cpp - Stub.h - Stub.i - encode.cpp - -Tue Feb 23 20:10:52 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: Added EC_ObserverStrategy to the set - of files for Event2 - - * orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/Event/EC_ConsumerAdmin.i: - * orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/Event/EC_ConsumerAdmin_T.h: - * orbsvcs/Event/EC_ConsumerAdmin_T.i: - * orbsvcs/Event/EC_ConsumerAdmin_T.cpp: - * orbsvcs/Event/EC_SupplierFiltering.cpp: Implemented delayed - and/or immediate removal and additions from the ConsumerAdmin - internal set (of ProxyPushSupplier). This is important to - applications that use reactive dispatching and can generate - disconnections and/or connections to the EC as part of the - consumer upcalls. This strategies require condition variables - and thus the use of templates to parametrize the locking - strategy. I also added a simple policy to control the level of - concurrency in the ConsumerAdmin set: the user can specify how - many threads can be concurrently running on the ConsumerAdmin. - If this limit is exceeded then the new threads must wait until - all the other threads leave. At that point the delayed - operations are executed. This strategy ensures that operations - are not delayed forever; setting the HWM to 1 (the default) - ensures that operations are executed before the next upcall; - setting the HWM to a very high value results in maximum - concurrency; this could be a reasonable options if periodically - there are periods without any activity. - - * orbsvcs/Event/EC_ObserverStrategy.h: - * orbsvcs/Event/EC_ObserverStrategy.i: - * orbsvcs/Event/EC_ObserverStrategy.cpp: Added missing destructor. - Minor cosmetic changes. - - * orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/Event/EC_ProxySupplier.cpp: Added reference counting to - this objects. - - * orbsvcs/Event/EC_Busy_Lock.h: - * orbsvcs/Event/EC_Busy_Lock.i: - * orbsvcs/Event/EC_Busy_Lock.cpp: A simple adapter that conforms - to the ACE_Lock interface. It invokes the busy() and idle() - method on another object to acquire and release. - - * orbsvcs/Event/EC_Command.h: - * orbsvcs/Event/EC_Command.i: - * orbsvcs/Event/EC_Command.cpp: Implemented two simple Command - objects that can invoke the connected_i() and disconnected_i() - methods on another class, this are useful to implement the - delayed connection and disconnection from the EC. - - * orbsvcs/Event/EC_Null_Factory.cpp: - * orbsvcs/Event/EC_Basic_Factory.cpp: Use the new EC_ConsumerAdmin - types with the right locking strategies. - - * tests/EC_Throughput/ECT_Consumer.cpp: - * tests/EC_Throughput/ECT_Consumer.h: - * tests/EC_Throughput/ECT_Consumer_Driver.cpp: - * tests/EC_Throughput/ECT_Consumer_Driver.h: - * tests/EC_Throughput/ECT_Supplier.cpp: - * tests/EC_Throughput/ECT_Supplier.h: - * tests/EC_Throughput/ECT_Supplier_Driver.cpp: - * tests/EC_Throughput/ECT_Supplier_Driver.h: - * tests/EC_Throughput/ECT_Throughput.cpp: - * tests/EC_Throughput/ECT_Throughput.h: The test is more flexible - wrt event types subscribed by each consumer and published by the - suppliers, this could be useful to measure how the test scales - with the number of consumers and/or suppliers. - - * orbsvcs/RtecEventComm.idl: - * orbsvcs/Event/EC_Event_Channel.cpp: Minor cosmetic changes. - -Tue Feb 23 19:44:20 1999 Yamuna Krishnamurthy - - * TAO_IDL/be/be_visitor_root/root.cpp: Added context state. - Thanks to Mason Taube. - -Tue Feb 23 18:11:11 1999 Kirthika Parameswaran - - * examples/Callback_Quoter/Callback_Quoter.dsw: - examples/Callback_Quoter/Notifier.dsp: - examples/Callback_Quoter/Consumer.dsp: - examples/Callback_Quoter/Supplier.dsp: Changes due to the - removal of the ACE_LACKS_PRAGMA_ONCE directive from the stubs - and skeletons generated by the tao_idl compiler. This directive - caused compiler errors using MSVC 5.0. It went through when - compiled with MSVC 6.0. - -Tue Feb 23 17:22:00 1999 Chris Gill - - * examples/Simulator/DOVEBrowser/make.bat - examples/Simulator/DOVEMIB/DOVEMIB.dsp - examples/Simulator/DOVEMIB/DOVEMIBx.dsp - examples/Simulator/DOVEMIB/TestClient.dsp - examples/Simulator/Event_Supplier/DualEC_Sup.dsp - examples/Simulator/Event_Supplier/Event_Sup.dsp - examples/Simulator/Event_Supplier/Logging_Sup.dsp - orbsvcs/tests/Simulator/Makefile - orbsvcs/tests/Simulator/NavWeap.idl - orbsvcs/tests/Simulator/README - orbsvcs/tests/Simulator/DOVEBrowser/AnswerEvent.java - orbsvcs/tests/Simulator/DOVEBrowser/AnswerListener.java - orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowser.html - orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowser.java - orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowserApplet.java - orbsvcs/tests/Simulator/DOVEBrowser/DataHandler.java - orbsvcs/tests/Simulator/DOVEBrowser/DemoCore.java - orbsvcs/tests/Simulator/DOVEBrowser/DemoObservable.java - orbsvcs/tests/Simulator/DOVEBrowser/DoubleVisComp.java - orbsvcs/tests/Simulator/DOVEBrowser/MTDataHandlerAdapter.java - orbsvcs/tests/Simulator/DOVEBrowser/MTQueue.java - orbsvcs/tests/Simulator/DOVEBrowser/Makefile - orbsvcs/tests/Simulator/DOVEBrowser/NS_Resolve.java - orbsvcs/tests/Simulator/DOVEBrowser/NavWeapDataHandler.java - orbsvcs/tests/Simulator/DOVEBrowser/NavigationVisComp.java - orbsvcs/tests/Simulator/DOVEBrowser/ObservablesDialog.java - orbsvcs/tests/Simulator/DOVEBrowser/Properties.java - orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java - orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2 - orbsvcs/tests/Simulator/DOVEBrowser/PushConsumerFactory.java - orbsvcs/tests/Simulator/DOVEBrowser/PushConsumerFactory.java.JDK1.2 - orbsvcs/tests/Simulator/DOVEBrowser/Queue.java - orbsvcs/tests/Simulator/DOVEBrowser/VisComp.java - orbsvcs/tests/Simulator/DOVEBrowser/VisCompFactory.java - orbsvcs/tests/Simulator/DOVEBrowser/WeaponsVisComp.java - orbsvcs/tests/Simulator/DOVEBrowser/make.bat - orbsvcs/tests/Simulator/DOVEMIB/AnyAnalyser.cpp - orbsvcs/tests/Simulator/DOVEMIB/AnyAnalyser.h - orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.cpp - orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.dsp - orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.dsw - orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.h - orbsvcs/tests/Simulator/DOVEMIB/DOVEMIBx.dsp - orbsvcs/tests/Simulator/DOVEMIB/Makefile - orbsvcs/tests/Simulator/DOVEMIB/Node.cpp - orbsvcs/tests/Simulator/DOVEMIB/Node.h - orbsvcs/tests/Simulator/DOVEMIB/NodeVisitor.h - orbsvcs/tests/Simulator/DOVEMIB/PrintVisitor.cpp - orbsvcs/tests/Simulator/DOVEMIB/PrintVisitor.h - orbsvcs/tests/Simulator/DOVEMIB/TestClient.dsp - orbsvcs/tests/Simulator/DOVEMIB/any_test.idl - orbsvcs/tests/Simulator/DOVEMIB/any_test_i.cpp - orbsvcs/tests/Simulator/DOVEMIB/any_test_i.h - orbsvcs/tests/Simulator/DOVEMIB/clnt.cpp - orbsvcs/tests/Simulator/DOVEMIB/clnt.h - orbsvcs/tests/Simulator/DOVEMIB/svc.conf - orbsvcs/tests/Simulator/DOVEMIB/svr.cpp - orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.cpp - orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.h - orbsvcs/tests/Simulator/Event_Supplier/DualEC_Sup.cpp - orbsvcs/tests/Simulator/Event_Supplier/DualEC_Sup.dsp - orbsvcs/tests/Simulator/Event_Supplier/DualEC_Sup.h - orbsvcs/tests/Simulator/Event_Supplier/EDF.dat - orbsvcs/tests/Simulator/Event_Supplier/Event_Con.cpp - orbsvcs/tests/Simulator/Event_Supplier/Event_Con.h - orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp - orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.dsp - orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.dsw - orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.h - orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.cpp - orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.dsp - orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.h - orbsvcs/tests/Simulator/Event_Supplier/MLF.dat - orbsvcs/tests/Simulator/Event_Supplier/MUF.dat - orbsvcs/tests/Simulator/Event_Supplier/Makefile - orbsvcs/tests/Simulator/Event_Supplier/RMS.dat - orbsvcs/tests/Simulator/Event_Supplier/RMS_Dyn.dat - orbsvcs/tests/Simulator/Event_Supplier/svc.conf: moved the DOVE - Simulator from orbsvcs/tests to examples (adjusting NT project - files and batch scripts accordingly). - -Tue Feb 23 16:53:14 1999 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp (run): - removed old comment that server shutdown would cause a - memPartFree on VxWorks. It no longer does. - - * performance-tests/Cubit/TAO/MT_Cubit/Globals.{h,cpp} - (sched_fifo_init): removed SCHED_PARAMS_FIFO macro, because it's - not needed, fixed name of program in comment. - -Tue Feb 23 15:24:46 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp: Fixed some more - g++ warnings in generated code. It was unused arg in the case of - the union and an unnecessary ACE_NOTREACHED in the case of the - objref. If g++ is going to complain now about this, we might - need to add it to the list in the #define of ACE_NOTREACHED. - -Tue Feb 23 11:48:15 1999 Darrell Brunsch - - * TAO_IDL/be/be_codegen.cpp (start_client_stubs, - start_server_skeletons): removed #pragma once directives because - they do not make sense in .cpp files, plus they don't work with - MSVC 5. - -Mon Feb 22 20:34:02 1999 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs_static.dsp: Totally broken. - - * orbsvcs/LifeCycle_Service/LifeCycle_Service.dsp: Fixed - configurations. - - * orbsvcs/Concurrency_Service/Concurrency_Service.dsp: Fixed - Release build settings. - -Mon Feb 22 19:18:55 1999 Balachandran Natarajan - - * $TAO/examples/POA/RootPoa/RootPoa.cpp: Fixed a annoying warning - due to an unchecked exception - - * examples/Simple/Simple_util.cpp: - - * examples/Simple/bank/Makefile: Updated dependencies - -Mon Feb 22 19:13:58 1999 Carlos O'Ryan - - * examples/Simple/bank/Bank_Client_i.cpp: Removed an annoying - warning due to an unchecked exception. - -Mon Feb 22 19:15:09 1999 Darrell Brunsch - - * examples/Simple/bank/bank.dsw: - * examples/Simple/bank/client.dsp: - * examples/Simple/bank/server.dsp: Created MSVC Project files for - the Simple Bank Example. - - * examples/TAO_Examples.dsw: Added the Simple Bank Example project - files. - -Mon Feb 22 14:27:44 1999 Nanbor Wang - - * rules.tao.GNU: Added rules to compile IDL files using Flick. - You need to invoke a Makefile with "use_flick=1" command line - flag. Thanks to Tim Stack for sending the - detailed instruction. - -Mon Feb 22 12:34:31 1999 David L. Levine - - * TAO_IDL/be/be_codegen.cpp - (start_client_header,start_client_stubs, - start_server_header,start_server_skeletons): added #pragma once - directives to generated code. Thanks to Doug for suggesting - this. - -Mon Feb 22 10:32:09 1999 Balachandran Natarajan - - * examples/Quoter/Factory_Finder.cpp - * examples/Quoter/Factory_Finder_i.cpp - * examples/Quoter/Generic_Factory.cpp - * examples/Quoter/Generic_Factory_i.cpp - * examples/Quoter/Quoter.cpp: Changed the TAO_TRY macros to - ACE_TRY macros. - -Mon Feb 22 09:38:29 1999 Ossama Othman - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/Module_Factory.cpp: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - * orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - * orbsvcs/tests/Trading/Service_Type_Exporter.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - * tao/IIOP_Profile.cpp: - Added some ACE_UNUSED_ARGs to prevent g++ 2.7.x from warning - about unused arguments. - -Sun Feb 21 21:48:12 1999 Balachandran Natarajan - - * examples/POA: Changed TAO_TRY macros to ACE_TRY macros. - -Sun Feb 21 18:59:15 1999 Douglas C. Schmidt - - * TAO version 0.3.5 released. - -Sun Feb 21 17:29:28 1999 Balachandran Natarajan - - * examples/Simple/bank/server.cpp: - * examples/Simple/bank/AccountManager_i.cpp: - Fixed compilation error in EGCS compiler - -Sun Feb 21 16:54:46 1999 Jeff Parsons - - * tao/MProfile.i: Modifed TAO_MProfile::get_prev() and - TAO_MProfile::get_current_profile() to always return a value - - warning turned up in VC 6.0. - -Sun Feb 21 16:38:15 1999 Alexander Babu Arulanthu - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): Took care of - #includes with <>'s in the idl files. Thanks to Mark Little - for pointing this out. - -Sun Feb 21 09:07:38 1999 David L. Levine - - * orbsvcs/tests/EC_Throughput/ECT_Driver.cpp (dump_results): fixed - 64-to-32 bit conversions so that they operate on the 64-bit - quantity directly, instead of a quotient. And, divide by a - float instead of an int, to use floating point division. Thanks - to Souhad Mcheik for reporting - that the code attempted to convert an unsigned 64-bit integer to - a double. That's not supported by MSVC++ 5.0. - -Sat Feb 20 21:09:49 1999 Balachandran Natarajan - - * examples/Simple/bank/AccountManager_i.cpp (AccountManager_i): - * examples/Simple/bank/Bank_Client_i.cpp: - * examples/Simple/bank/Bank_Client_i.h: - * examples/Simple/bank/client.cpp: - * examples/Simple/bank/server.cpp: - Made changes to the TAO_TRY macros - -Sat Feb 20 15:55:01 1999 David L. Levine - - * tests/Param_Test/Makefile: moved TAO_IDLFLAGS override to after - includes, so that any settings in platform_macros.GNU are not - lost. - -Sat Feb 20 000:28:57 1999 Jeff Parsons - - * tao/InconsistentTypeCodeC.h: Added title and description to the - class header. - -Fri Feb 19 23:12:58 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp: Updated to - the new request arg manipulation functions. Commented out - cube_union for the present until compiled marshaling gets - finished for unions. - -Fri Feb 19 22:53:19 1999 Douglas C. Schmidt - - * TAO/tao/Pluggable: Began to add support for CORBA operation - calls that can timeout. Thanks to Kevin Royalty - for suggesting this. - -Fri Feb 19 21:52:45 1999 Irfan Pyarali - - * tao/Invocation.cpp: The Twoway_Invocation class was re-fetching - the profile and transport objects *after* sending the - request. But during a nested upcall the transport hint in the - current profile can change (if an invocation over the same - object reference is required). The solution is to keep a - reference to the transport object in the stack and pass it down - to the invoke_i() method of the GIOP_Invocation class. Thanks - to Hans Horsmann for reporting - this bug. - -Thu Feb 18 20:07:10 1999 Yamuna Krishnamurthy - - * TAO_IDL/be/be_visitor_factory.cpp: Added missing context states - in the TAO_Compiled_Visitor_Factory for servant implementation - files Thanks to Mason Taube for bringing - it to our notice. - -Thu Feb 18 17:28:43 1999 Jeff Parsons - - * TAO/tests/dynany_test/Makefile: Fixed a line that needed to - start with a tab. Thanks to Hakan Kallberg for - reporting this. - -Thu Feb 18 00:50:10 1999 Nanbor Wang - - * tao/MProfile.cpp: Need to include MProfile.i here when not - inlined. - -Wed Feb 17 17:57:01 1999 Fred Kuhns - - * IIOP_ORB.cpp MProfile.cpp MProfile.h ORB.cpp Stub.cpp Stub.h - Stub.i decode.cpp MProfile.i Inlined many of the MProfile - methods Also, changed MProfile so it could assume ownership of a - profile, thus saving a lock. - -Wed Feb 17 10:45:28 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.i: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: I added an strategy - to support the Event Channel observers. The Event Channel uses - this strategy to implement the append_observer(), - remove_observer() methods and it informs the strategy of any - changes in the set of consumers and/or suppliers. - - * orbsvcs/orbsvcs/RtecEventChannelAdmin.idl: The operation - remove_observer can also raise a SYNCHRONIZATION_ERROR exception - - * orbsvcs/orbsvcs/Event/EC_Filter.h: Added a typedef for the - HeaderSet iterator. - - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.i: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp: Made the iterator - over the set of consumers a public interface. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: Minor cosmetic fixes. - -Tue Feb 16 17:15:12 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/vb.{h,cpp}: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ab.{h,cpp} - Defined a new VideoBuffer () class for the Video buffering - process and AudioBuffer class for the audio buffering process - and used the reactor for i/o handling instead of blocking i/o - calls. Also uses a socketpair between the control process for - exit notifications which eliminates the SIGUSR* signals. Also - replaced the exit () calls with reactor end_event_loop so that - the processes exit cleanly. - - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/vd.cpp: Replaced - the SIGUSR signals code with socket notification code. - -Tue Feb 16 16:48:28 1999 Nanbor Wang - - * tao/Exception.{h,cpp} (print_exception): Added this method to - print out the exception type in a human readable form. This is - not CORBA compliant and should never be used directly in user - code. - - * tao/Environment.cpp (print_exception): Changed to use _narrow to - determine if we have a SystemException or not. - - * tao/Invocation.cpp (location_forward): Changed to use - ACE_PRINT_EXCEPTION. - -Tue Feb 16 16:45:38 1999 Carlos O'Ryan - - * tao/Invocation.cpp: Fixed warning due to unproper use of ACE_TRY - macros, this time the warning was *very* significant. - -Mon Feb 15 21:22:55 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/pre_docall_cs.cpp: - * TAO_IDL/be/be_visitor_argument/upcall_ss.cpp: Some g++ unused - arg warning fixes I overlooked checking in. - -Mon Feb 15 17:24:52 1999 Pradeep Gore - - * tao/Invocation.cpp: - * tao/Invocation.i: replaced all the TAO_TRY macros with their - ACE_ equivalents. - -Mon Feb 15 16:24:42 1999 Carlos O'Ryan - - * tests/CDR/Makefile: - * tests/CDR/allocator.cpp: Added a new test to measure the effect - of using TSS allocators in the CDR streams. - -Mon Feb 15 13:26:29 1999 Douglas C. Schmidt - - * TAO version 0.3.4 released. - -Mon Feb 15 10:45:10 EST 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp: - * TAO_IDL/be_include/be_visitor_argument/post_docall_compiled_cs.cpp: - Jeff's changes are now valid only for the "inout" paramater and - not to the "out" parameter. - -Mon Feb 15 09:11:27 EST 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_argument.cpp - TAO_IDL/be_include/be_visitor_argument.h: Jeff had forgotten to - #include the newly added files that he mentioned in his - ChangeLog below. Due to this, we wre getting compile errors. - - * TAO_IDL/be_include/be_visitor_argument/post_docall_cs.h: Once - again, Jeff had forgotten to add the visit_string method to the - class declaration, although he had provided the implementation. - -Sun Feb 14 18:29:50 1999 Jeff Parsons - - * TAO_IDL/be_include/be_visitor_argument/post_docall_compiled_cs.h: - * TAO_IDL/be/be_visitor_factory.cpp: - * TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp: - * TAO_IDL/be_include/be_visitor_argument/post_docall_compiled_cs.cpp: - * TAO_IDL/be_include/be_visitor_operation/operation_cs.h: - * TAO_IDL/be_include/be_visitor_operation/arglist.h: Added - post_invoke string_free() for INOUT and OUT strings, and - release() for OUT objects, to plug a leak found with Purify. - Added the compiled marshaling version classes for this as well. - Changed the spot where post_invoke lines are generated, plus - some other cosmetic fixes. - -Sun Feb 14 12:41:55 1999 Carlos O'Ryan - - * tao/Invocation.cpp: - * tao/Pluggable.cpp: We must always check the environment after - passing it down to another function. - - * tao/IIOP_Acceptor.cpp: - * tao/IIOP_Connector.cpp: - * tao/IIOP_ORB.cpp: - * tao/IIOP_Profile.cpp: - * tao/ORB.cpp: - * tao/Object_KeyC.cpp: - * tao/POAC.cpp: - * tao/Typecode_Constants.cpp: - * tao/orbconf.h: Several cosmetic fixes, mostly trailing spaces - removed. - -Sat Feb 13 17:52:01 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp, - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp), - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp: Changed the following to - make the time returned in units of 100 nanoseconds instead of - seconds. - -Sat Feb 13 01:11:52 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/source/server/Property_Exporter.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.cpp: - Replaced the _env environment variable usages with the - TAO_IN_ENV parameters. - -Fri Feb 12 22:04:31 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: Added new methods to - create the locking strategies in the ProxyPushConsumer and - ProxyPushSupplier. The Null_Factory uses - ACE_Lock_Adapter, the Basic_Factory uses - ACE_Lock_Adapter. - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.i: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: The - ProxyPushSupplier uses the new locking strategies. A couple of - private _i methods were added to avoid dead-locks. - - * orbsvcs/orbsvcs/Event/EC_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Dispatching.cpp: The dispatching - strategy receives the consumer object reference from the - ProxyPushSupplier, otherwise it has to make an upcall and incurs - in a dead-lock. - - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.h: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: Minor cosmetic - changes. - - * orbsvcs/orbsvcs/Makefile: Added dependencies for the new Event2 - service. - - * tao/GIOP.cpp: Added some comments. - -Fri Feb 12 21:20:49 1999 Jeff Parsons - - * TAO/orbsvcs/orbsvcs/Time/TAO_UTO.cpp: - * TAO/orbsvcs/orbsvcs/Time/TAO_TIO.cpp: - * TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp: - * TAO/orbsvcs/orbsvcs/Log/Logger_i.cpp: - * TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp: - * TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - * TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.{h,cpp}: - * TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: - * TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - * TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h: - * TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h: - * TAO/orbsvcs/orbsvcs/Trader/Trader_T.h: - * TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp: - * TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp: - * TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp: - * TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp: - * TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp: - * TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp: - * TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h: - * TAO/orbsvcs/LifeCycle_Service/Life_Cycle_Service.cpp: - * TAO/orbsvcs/Time_Service/IR_Helper.cpp: - * TAO/orbsvcs/Time_Service/Server_i.cpp: - * TAO/orbsvcs/Time_Service/Clerk_i.cpp: - * TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * TAO/orbsvcs/tests/Simple_Naming/client.cpp: - * TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp: - * TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp: - * TAO/orbsvcs/tests/Concurrency/CC_tests.cpp: - * TAO/orbsvcs/tests/Concurrency/CC_naming_service.cpp: - * TAO/orbsvcs/tests/Concurrency/CC_command.tab.cpp: - * TAO/orbsvcs/tests/Trading/TT_Info.h: - * TAO/orbsvcs/tests/Trading/Simple_Dynamic.h: - * TAO/examples/Callback_Quoter/Consumer_Signal_Handler.cpp: - * TAO/examples/Callback_Quoter/Consumer_i.cpp: - * TAO/examples/Callback_Quoter/Supplier_Timer_Handler.cpp: - * TAO/examples/Callback_Quoter/Notifier_i.cpp: - * TAO/examples/POA/Forwarding/Servant_Locator.cpp: - * TAO/examples/POA/Generic_Servant/MyFooServant.cpp: - * TAO/examples/Simple/bank/Account_i.cpp: - * TAO/examples/Simple/bank/Server_i.cpp: - * TAO/examples/Simple/bank/Client_i.cpp: - * TAO/examples/Simple/chat/Broadcaster_i.cpp: - * TAO/examples/Simple/echo/Echo_i.cpp: - * TAO/examples/Simple/time/Time_i.cpp: - * TAO/examples/Simple/grid/Grid_i.cpp: - * TAO/tests/OctetSeq/OctetSeq.cpp: - * TAO/tests/NestedUpcall/Reactor/reactor_i.cpp: - * TAO/tests/NestedUpcall/Reactor/eh_i.cpp: - * TAO/tests/NestedUpcall/Traingle_Test/Object_A_i.cpp: - * TAO/tests/NestedUpcall/Traingle_Test/Object_B_i.cpp: - * TAO/tests/NestedUpcall/Traingle_Test/Initiator_i.cpp: - * TAO/tests/NestedUpcall/Traingle_Test/initiator.cpp: - This takes care of the g++ unused arg warnings for all except - IDL-generated code. I'm sure there are some mistakes in here, - and I may have missed a file or two. I'll build what I can - before I go tonight, but there will still be a few mistakes, I'm - sure. - -Fri Feb 12 17:30:50 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_argument/pre_docall_cs.cpp: - * TAO_IDL/be/be_visitor_argument/upcall_ss.cpp: I missed a couple. - -Fri Feb 12 17:12:33 1999 Jeff Parsons - - * TAO_IDL/util/utl_scope.cpp: - * TAO_IDL/be/be_visitor.cpp: - * TAO_IDL/be/be_visitor_argument/argument.cpp: - * TAO_IDL/be/be_visitor_argument/docall_cs.cpp: - * TAO_IDL/be/be_visitor_argument/post_marshal_ss.cpp: - * TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/pre_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp: - * TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp: - * TAO_IDL/be/be_visitor_argument/pre_invoke_cs.cpp: - * TAO_IDL/be/be_visitor_array/array.cpp: - * TAO_IDL/be/be_visitor_exception/exception.cpp: - * TAO_IDL/be/be_visitor_field/field_ch.cpp: - * TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_interface/interface.cpp: - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_is.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_post_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_operation/rettype_return_cs.cpp: - * TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp: - * TAO_IDL/be/be_visitor_structure/structure.cpp: - * TAO_IDL/be/be_visitor_typedef/typedef.cpp: - * TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp: - * TAO_IDL/be/be_visitor_union/union.cpp: - * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_access_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_ch.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/cdr_op_cs.cpp: - Fixed g++ unused arg warnings for the TAO_IDL files. - -Fri Feb 12 16:16:19 1999 Nanbor Wang - - * tao/POA.cpp: Added missing parens. - - * docs/configurations.html: Changed the pointer to multi-thread, - thread-per-connection example back to IDL_Cubit. - - * performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp: - * performance-tests/Cubit/TAO/IDL_Cubit/Makefile: Changed to - generate collocation_test executable to collocation/ so it can - use a different default svc.conf file. - - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf.static: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf: Changed to use - global ORB resources. - -Fri Feb 12 15:04:24 1999 Jeff Parsons - - * tao/DynanyC.cpp: - * tao/Exception.cpp: - * tao/Object.cpp: - * tao/POA.cpp: - * tao/Server_Request.cpp: - * tao/IIOP_Acceptor.cpp: - * tao/Stub.cpp: - * tao/Connect.cpp: - * tao/Active_object_Map.cpp: - Fixed some new g++ unused arg warnings. - -Fri Feb 12 12:55:53 1999 Balachandran Natarajan - - * examples/Simple/Simple_util.cpp: Fix for the warning from - Digital Unix - -Fri Feb 12 10:03:56 1999 Fred Kuhns - - * tao/IIOP_Profile.{h,cpp} - tao/ORB.cpp - tao/Stub.{i,cpp} Modified Stub and IIOP_Profile creation to use - the cached address info in the orb_core. Thanks to Dr. David - A. Janello for reporting this performance - problem. - - * Modified tao/Stub.i to not print warning messages with a - forwarded request is itself forwarded. Since the multiple - profile code and forwarding is still in development I left a - debug message. - -Fri Feb 12 09:35:00 1999 Chris Gill - - * TAO/orbsvcs/tests/Simulator/DOVEBrowser/DemoCore.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/DoubleVisComp.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/MTQueue.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/make.bat: changed all - uses of notify () to notifyAll () in MTQueue class, added - monotonic scaling of windows for the dual EC demo. - - * TAO/orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.{cpp, h} - TAO/orbsvcs/tests/Simulator/Event_Supplier/DualEC_Sup.{cpp, h}: - added dummy registrations to schedulers to ensure priority - separation for high and low priority channels, put all threads - in DualEC_Sup process into the realtime scheduling class. - -Thu Feb 11 20:11:33 1999 Balachandran Natarajan - - * examples/Simple/grid/Grid_Client_i.cpp: - * examples/Simple/grid/Grid_Client_i.h: - * examples/Simple/grid/client.cpp: Made changes to accomodate - changes that were put in to Simple_util for Naming service. - -Thu Feb 11 18:01:42 1999 Jeff Parsons - - * TAO/performance-tests/cubit/tao/idl_cubit/Cubit_Client.cpp: Took - out one too many "unused args". Had to put one back. Thanks to - Nanbor for pointing this out. - -Thu Feb 11 17:37:02 1999 Balachandran Natarajan - - * examples/Simple/time/client.cpp (main): - * examples/Simple/time/Time_Client_i.cpp: - * examples/Simple/time/Time_Client_i.h - * examples/Simple/echo/client.cpp: - * examples/Simple/echo/Echo_Client_i.cpp: - * examples/Simple/echo/Echo_Client_i.h - * examples/Simple/Simple_util.cpp - * examples/Simple/Simple_util.h: Made changes to use the name - service. - -Thu Feb 11 16:01:17 1999 Vishal Kachroo - - * orbsvcs/Time_Service/Clerk_i.cpp: Changed the ior_read () method - to use ACE_Read_Buffer instead of fscanf (). Also ran purify on - this. Got 0 memory leaks. - - * orbsvcs/Time_Service/Clerk_i.h (class Clerk_i): Changed ior_fp_ - from FILE * to int. Used an ACE_HANDLE instead of FILE*. - -Thu Feb 11 15:36:42 1999 Jeff Parsons - - * orbsvcs/Trader/Trader_Utils.h: Fixed a g++ unused arg warning. - -Thu Feb 11 15:29:20 1999 Nanbor Wang - - * tao/Exception.h: - * tao/Environment.{h,cpp}: Unprotected private members and add - exception id and major number to CORBA_Environment if - TAO_USES_FLICK is defined. Thanks to Tim Stack - for notifying us the change. - -Thu Feb 11 15:28:49 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: Fixed the g++ unused - argument warnings. Thanks to Irfan for reporting this. - -Thu Feb 11 15:12:08 1999 Irfan Pyarali - - * tao/Forwarding_Servant.cpp (_primary_interface): Fixed the g++ - unused arg warnings. - -Thu Feb 11 15:02:44 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/tao/idl_cubit/Cubit_Client.cpp: - Fixed the g++ unused arg warnings. - -Thu Feb 11 14:59:52 1999 Alexander Babu Arulanthu - - * orbsvcs/tests/Property/client.cpp: - * orbsvcs/orbsvcs/CosPropertyService.idl: - * orbsvcs/orbsvcs/AVStreams.idl: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp : Fixed the - problem with marshalling/demarshalling multiple exceptions. Also - changed PropertyException from exception to struct the - CosPropertyService.idl file, as suggested by OMG. But, AVStreams - is not updated by OMG yet. All the instances of "raises - CosPropertyService::PropertyException" in AVStreams.idl has been - changed to "raises AVStreams::PropertyException". Thanks to - Carlos for the great help in debugging exception marshalling - problem. Thanks to Ulf for the bug report. - -Thu Feb 11 14:40:01 1999 Jeff Parsons - - * tao/DynanyC.cpp: - * tao/DynanyS.cpp: - * tao/DynAny_i.cpp: - * tao/DynEnum_i.cpp: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.cpp: - * tao/DynUnion_i.cpp: - Fixed the g++ unused arg warnings for these files. - -Thu Feb 11 14:34:46 1999 Darrell Brunsch - - * tao/tao.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: Fixed Alpha Configuration. - -Thu Feb 11 14:07:54 1999 Nanbor Wang - - * docs/configurations.html: Changed the multi-thread, - thread-per-connection example to Concurrency_Service. Thanks to - Terry Rosenbaum for - reporting this. - -Thu Feb 11 11:28:44 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/IOR_LookupTable.cpp: removed an extra #pragma - from the file. - -Thu Feb 11 11:23:05 1999 Carlos O'Ryan - - * tao/IIOP_Interpreter.cpp: The GreenHills compiler (at least - versions 1.8.8 and 1.8.9 of it) gets really confused by some - template forward declarations. We had to re-arrange the includes - to match the compiler liking. - - * tao/TAO_Internal.cpp: Need to include ORB_Core.h in platforms - that do not support svc.conf or when tao is using a static - services. - -Thu Feb 11 10:34:41 1999 Fred Kuhns - - * Use of PHandle in MProfile.{h,cpp} create a name conflict. - Added TAO_ to fix this. - - * Thanks to John Morey for reminding me of the - ACE-Guidelines ;). - -Thu Feb 11 02:51:34 1999 Nanbor Wang - - * tao/ORB.cpp (ORB_init): Only initialize the ORB global variables - _after_ the ORB has been initialized. Otherwise, the - init_orb_globals() will create a server_strategy_factory (as TAO - is now) before we have a chance to initialize it. This bug was - causing grief in POA registration test. Thanks to David - A. Janello for reporting the bug. - -Wed Feb 10 23:50:11 1999 Irfan Pyarali - - * tao/Connect.cpp (handle_input): It is unfotunate that an - exception (probably a system exception) was thrown by the upcall - code (even by the user) when the client was not expecting a - response. However, in this case, we cannot close the connection - down, since it really isn't the client's fault. Thanks to Mark - L. Boriack for helping in tracking down - this problem. - -Wed Feb 10 23:15:27 1999 Vishal Kachroo - - * orbsvcs/Time_Service/Clerk_i.cpp : Fixed a bug for the service - not working on NT with files. The initialization of the - ACE_Array_Base was not being done in the right place. Thanks to - Souhad Mcheik for reporting - this. - -Wed Feb 10 22:16:01 1999 Darrell Brunsch - - * TAO_IDL/be/be_interface.cpp: Fixed off-by-one error with - calculating dynamic string length. - -Wed Feb 10 19:39:27 1999 Alexander Babu Arulanthu - - * TAO_IDL/be/be_interface.cpp: Using ACE_DEFAULT_TEMP_FILE for - generating gperf input file. Thanks to Lothar Werzinger - for suggesting this. - -Wed Feb 10 18:55:09 1999 Fred Kuhns - - * Changed Stub.i, set_fwd_profiles () so it doesn't complain about - fwd_profiles which are themselves forwarded. - -Wed Feb 10 17:17:46 1999 Carlos O'Ryan - - * TAO_IDL/be/be_decl.cpp: I had to zero out the buffer to generate - identical Typecodes on all platforms, including the padding - bytes (which are now zeros). Thanks to Jim Crossley - for chasing down the problems with this - code and for suggesting that we test it out by comparing the - output of different IDL compilers; this showed that the padding - bytes were not initialized. - -Wed Feb 10 16:36:41 1999 Jeff Parsons - - * tao/Request.{i,cpp}: Streamlined the new arg manipulation helper - functions. They're now short enought to be inlined. - -Wed Feb 10 14:22:34 1999 Carlos O'Ryan - - * rules.tao.GNU: Enabled the unused variable warning again. It - compiles cleanly enough on Linux/EGCS. - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: - * TAO_IDL/be/be_visitor_argument/marshal_ss.cpp: - * TAO_IDL/be/be_visitor_argument/post_marshal_ss.cpp: - * TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/pre_docall_cs.cpp: - * TAO_IDL/be/be_visitor_argument/pre_upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/upcall_ss.cpp: - * TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp: - * TAO_IDL/be/be_visitor_array/array_ci.cpp: - * TAO_IDL/be/be_visitor_array/array_cs.cpp: - * TAO_IDL/be/be_visitor_enum/enum_cs.cpp: - * TAO_IDL/be/be_visitor_exception/ctor_assign.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_object_manager_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp: - * TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp: - * TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp: - * TAO_IDL/util/utl_stack.cpp: - Fixed bunch of warnings about unused variables. - -Wed Feb 10 14:11:07 1999 Jeff Parsons - - * tao/Any.{h,cpp}: - * tao/NVList.cpp: Added a method to Any called - _tao_replace(). NVList method add_value() called - Any::replace(). A bug report pointed out that, in the case where - the Any arg to add_value() has been copy-constructed or assigned - to, its value_ is 0, and replace() deals only with - value_. _tao_replace is now called in add_value() if the value_ - of the Any arg is 0, and _tao_replace() uses the Any's message - block instead. A simple test adapted from the bug report code - runs ok now with no leaks. Thanks to Barry Hoggard for reporting - this bug. - -Wed Feb 10 13:05:17 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Event/Event_Channel.h (pdf): Moved struct - Observer_Entry into the public part of the class to avoid - problems with the SGI compiler. Thanks to Eric Mitchell - for reporting this. - -Wed Feb 10 10:39:09 1999 Carlos O'Ryan - - * orbsvcs/Time_Service/IR_Helper.cpp: To use TAO_RETHROW the - methods must use TAO_IN_ENV as the incoming CORBA_Environment - argument. - - * tao/Typecode.i: Removed unused argument in kind() - -Wed Feb 10 10:28:16 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/IOR_LookupTable.cpp (add_ior): - Fixed a warning by cxx. - -Tue Feb 9 22:26:52 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/IOR_LookupTable.cpp, - * orbsvcs/orbsvcs/IOR_LookupTable.h, - * orbsvcs/orbsvcs/Makefile: Added the class IOR_LookupTable which - is an abstraction over the Hash_Map_Manager to store the - object_name -> IOR mappings that will be used by the - resolve_initial_references (). Updated the Makefile to include - this class. - -Tue Feb 9 22:11:08 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: The generated - code contained a variable that was not used in all cases. Now we - only generate the variable if we actually use it. - -Tue Feb 9 22:06:12 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/IOR_Multicast.h: Added Title and description - comments to the class declaration. - -Tue Feb 9 21:40:29 1999 Balachandran Natarajan - - * $TAO_ROOT/examples/Event_Comm/*.cpp Changed all the TAO_* macros - for exceptions to ACE_* macros. This went clean on SunOSC++. - -Tue Feb 9 20:38:24 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp: Silenced pesky - warning about unreached statement. - - * TAO_IDL/be_include/be_visitor_field/cdr_op_cs.h: - * TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp: Added new visitor to - generate the variable declarations required for marshaling - certain kind of fields. - - * TAO_IDL/be/be_visitor_exception/cdr_op_cs.cpp: - * TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp: Use the new - visitor to generate field declarations. - -Tue Feb 9 20:43:13 1999 Balachandran Natarajan - - * $TAO_ROOT/examples/Callback_Quoter/*.cpp Changed all the TAO_* - macros for exceptions to ACE_* macros. This went clean on - SunOSC++ and SunOSg++ - -Tue Feb 9 17:55:31 1999 Carlos O'Ryan - - * tao/corbafwd.h: - * tao/Active_Object_Map.h: - * tao/Any.cpp: - * tao/CDR.h: - * tao/Client_Strategy_Factory.h: - * tao/IIOP_ORB.h: - * tao/Marshal.h: - * tao/ORB.cpp: - * tao/Object.cpp: - * tao/Object.i: - * tao/POA.h: Fixed several g++ errors and warnings, the main - problem was that g++ could not cope with this code: - - class CORBA { - public: - int foo (); - void bar (int x = CORBA::foo ()); - }; - - I had to create two versions of the bar() method (actually - ORB_init()). It also had some problems with the order of - definition of some inline methods (which I was able to solve) - and it required the definition (not only forward declarations) - of some templates before some templates could be instantiated. - Overall a small set of re-arrangment of includes and - declarations. We have to test in other platforms now. - -Tue Feb 9 17:53:42 1999 Jeff Parsons - - * TAO/docs/configurations.html: Changed the first entry under - Homogeneous Systems to reflect the move of - tao/orbconf.h/TAO_DISABLE_SWAP_ON_READ to - ace/OS.h/ACE_DISABLE_SWAP_ON_READ. - -Tue Feb 9 16:52:41 1999 Alexander Babu Arulanthu - - * TAO_IDL/be/be_exception.cpp (gen_typecode): Thanks to - Carlos. Fixed the problem with the typecode generation for the - exceptions. - -Tue Feb 9 16:39:27 1999 Carlos O'Ryan - - * TAO_IDL/be_include/be_decl.h: - * TAO_IDL/be/be_decl.cpp: - * TAO_IDL/be/be_enum.cpp: - * TAO_IDL/be/be_enum_val.cpp: - * TAO_IDL/be/be_exception.cpp: - * TAO_IDL/be/be_field.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_predefined_type.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_typedef.cpp: - * TAO_IDL/be/be_union.cpp: - * TAO_IDL/be/be_union_branch.cpp: The name2long() function was - using a but it needed a 32-bit type; the right type to - use is a ACE_UINT32. This fixes some strange problems in 64-bit - machines, like Alphas. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: Fixed - the ACE_DEBUG calls, they should be protected by the - TAO_debug_level. - -Tue Feb 9 13:47:37 1999 Balachandran Natarajan - - * tao/try_macros.h: Changed the definition of TAO_IN_ENV to - ACE_TRY_ENV - - -Mon Feb 8 17:09:03 1999 Carlos O'Ryan - - * tao/debug.h: - * tao/debug.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - * tao/ORB_Core.cpp: - * tao/Stub.cpp: - * tao/deep_free.cpp: - * tests/NestedUpcall/Reactor/client.cpp: Removed all the - references to dmsg(), dmsg1(), dexc() and similar debugging - macros, that's what we have ACE_DEBUG() for!! - - * performance-tests/Thruput/TAO/client.cpp: - * tests/Multiple_Inheritance/server.cpp: Another couple of files - that relied on "tao/corba.h" to include "ace/Get_Opt.h" - -Mon Feb 08 15:20:09 1999 Carlos O'Ryan - - * tao/corba.h: - * tao/corbafwd.h: On NT we need to define DEBUG when _DEBUG is - defined, but this definition was left on corba.h by mistake, now - it is in corbafwd.h - - * tao/Invocation.h: MSVC++ doesn't know that a class and a struct - are the same thing, and it complains when a structure is forward - declared as a class; silly - - * orbsvcs/orbsvcs/Trader/Trader.cpp: MSVC++ gets confused by - typedefs inside classes again. - - * tao/ORB_Strategies_T.cpp: Added missing #include. - - * tao/debug.cpp: - * tao/debug.h: Fixed some #include problems. - -Mon Feb 8 15:25:00 1999 Balachandran Natarajan - - * examples/Simple/echo/Makefile, - * examples/Simple/echo/client.cpp, - * examples/Simple/echo/server.cpp, - * examples/Simple/echo/Echo_i.cpp: Replaced old TAO_TRY macros - with ACE_TRY macros - * examples/Simple/echo/Echo_Client_i.cpp, - * examples/Simple/echo/Echo_Client_i.h: New files after removing - Server_i.* and Client_i.* - -Mon Feb 8 14:26:29 1999 Carlos O'Ryan - - * tao/DynAnyC.cpp, - * tao/Object.cpp: Added missing #include for template - instantiations. - - * tao/ORB.cpp, - * tao/ORB_Core.cpp: Re-ordered includes, otherwise - "ace/Dynamic_Service.h" does not have the proper context. - -Mon Feb 8 13:43:10 1999 Carlos O'Ryan - - * tao/corbafwd.h: - * tao/corba.h: - * tao/Active_Object_Map.cpp: - * tao/Active_Object_Map.h: - * tao/Any.cpp: - * tao/Any.h: - * tao/CDR.cpp: - * tao/CDR.h: - * tao/CDR.i: - * tao/Client_Strategy_Factory.cpp: - * tao/Client_Strategy_Factory.h: - * tao/Connect.cpp: - * tao/Connect.h: - * tao/CurrentC.cpp: - * tao/CurrentC.h: - * tao/CurrentS.cpp: - * tao/DynAnyC.cpp: - * tao/DynAnyC.h: - * tao/DynAnyS.cpp: - * tao/DynAny_i.cpp: - * tao/DynAny_i.h: - * tao/DynArray_i.cpp: - * tao/DynEnum_i.cpp: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.cpp: - * tao/DynUnion_i.cpp: - * tao/DynUnion_i_T.h: - * tao/Environment.cpp: - * tao/Environment.h: - * tao/Exception.cpp: - * tao/Exception.h: - * tao/Forwarding_Servant.cpp: - * tao/Forwarding_Servant.h: - * tao/GIOP.cpp: - * tao/GIOP.h: - * tao/IIOP_Acceptor.cpp: - * tao/IIOP_Acceptor.h: - * tao/IIOP_Connector.cpp: - * tao/IIOP_Connector.h: - * tao/IIOP_Interpreter.cpp: - * tao/IIOP_Interpreter.h: - * tao/IIOP_ORB.cpp: - * tao/IIOP_ORB.h: - * tao/IIOP_Profile.cpp: - * tao/IIOP_Profile.h: - * tao/IIOP_Transport.cpp: - * tao/IIOP_Transport.h: - * tao/InconsistentTypeCodeC.cpp: - * tao/InconsistentTypeCodeC.h: - * tao/Invocation.cpp: - * tao/Invocation.h: - * tao/MProfile.cpp: - * tao/MProfile.h: - * tao/Makefile: - * tao/Managed_Types.cpp: - * tao/Managed_Types.h: - * tao/Managed_Types.i: - * tao/Marshal.cpp: - * tao/Marshal.h: - * tao/Marshal.i: - * tao/NVList.cpp: - * tao/NVList.h: - * tao/ORB.cpp: - * tao/ORB.h: - * tao/ORB.i: - * tao/ORB_Core.cpp: - * tao/ORB_Core.h: - * tao/Object.cpp: - * tao/Object.h: - * tao/Object.i: - * tao/Object_KeyC.cpp: - * tao/Object_KeyC.h: - * tao/Object_KeyC.i: - * tao/Operation_Table.cpp: - * tao/Operation_Table.h: - * tao/POA.cpp: - * tao/POA.h: - * tao/POAC.cpp: - * tao/POAC.h: - * tao/POAS.cpp: - * tao/POAS.h: - * tao/POA_CORBA.h: - * tao/Pluggable.cpp: - * tao/Pluggable.h: - * tao/PolicyC.cpp: - * tao/PolicyC.h: - * tao/PolicyS.cpp: - * tao/Principal.cpp: - * tao/Principal.h: - * tao/Principal.i: - * tao/Request.cpp: - * tao/Request.h: - * tao/Sequence.cpp: - * tao/Sequence.h: - * tao/Sequence_T.h: - * tao/Servant_Base.cpp: - * tao/Servant_Base.h: - * tao/Server_Request.cpp: - * tao/Server_Request.h: - * tao/Server_Request.i: - * tao/Server_Strategy_Factory.cpp: - * tao/Server_Strategy_Factory.h: - * tao/Stub.cpp: - * tao/Stub.h: - * tao/Stub.i: - * tao/TAO.cpp: - * tao/TAO.h: - * tao/TAO_Internal.h: - * tao/Typecode.cpp: - * tao/Typecode.h: - * tao/Typecode.i: - * tao/Typecode_Constants.cpp: - * tao/Union.cpp: - * tao/Union.h: - * tao/append.cpp: - * tao/debug.cpp: - * tao/decode.cpp: - * tao/deep_free.cpp: - * tao/default_client.h: - * tao/default_server.h: - * tao/encode.cpp: - * tao/orbconf.h: - * tao/params.cpp: - * tao/params.h: - * tao/poa_T.h: - * tao/singletons.h: - * tao/skip.cpp: - * tao/t-sizes.cpp: - * tao/varout.h: - Cleaned up the include madness, now all the files inside TAO - include "tao/corbafwd.h" to obtain the CORBA namespace. This - files includes very little (only "ace/CDR.h" and - "tao/orbconf.h"); so it is lighter than including "tao/corba.h". - External applications only need to include "tao/corba.h", as - before, but this file has been trimmed down somewhat. - There are still some dependencies between several header files - in TAO (specially "tao/ORB_Core.h"), but this are minor compared - to the previous situation. - - * utils/catior/catior.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/Time_Service/IR_Helper.cpp: - This files make changes to the IIOP_Profile so they need to - include "tao/IIOP_Profile.h" explicitly, notice that all the - other files in TAO do not need to. - - * examples/POA/Default_Servant/server.cpp: - * examples/POA/Explicit_Activation/server.cpp: - * examples/POA/Forwarding/server.cpp: - * examples/POA/On_Demand_Activation/server.cpp: - * orbsvcs/Naming_Service/Naming_Service.cpp: - * orbsvcs/tests/Trading/colocated_test.cpp: - * tests/CDR/basic_types.cpp: - * tests/Param_Test/options.cpp: - This files used the "fact" that "tao/corba.h" included - "ace/Get_Opt.h". - - * All the Makefiles in TAO where updated. - -Mon Feb 8 12:16:33 1999 Nanbor Wang - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp: - Changed to generate ACE_TRY_ENV instead of TAO_IN_ENV. - -Mon Feb 08 00:52:18 1999 Douglas C. Schmidt - - * TAO version 0.3.3 released. - -Mon Feb 8 00:00:02 1999 Carlos O'Ryan - - * orbsvcs/tests/Simulator/Event_Supplier/Makefile: - Some binaries did not link both NavWeapC.o and NavWeapS.o, this - is needed for colocation support. - -Sun Feb 7 23:45:19 1999 Fred Kuhns - - * Updated makefile dependencies in - orbsvcs/tests/Simulator/Event_Supplier - -Sun Feb 7 22:31:01 1999 Fred Kuhns - - * IIOP_ORB.cpp, poa declared twice. - -Sun Feb 7 21:35:17 1999 Fred Kuhns - - * Stub.i - added initialization for type_id - from arg repository_id. - -Sun Feb 7 20:01:29 1999 Douglas C. Schmidt - - * tao/Stub.i (STUB_Object): Fixed warnings about repository_id - being unused. Thanks to David for reporting this. - - * tao/IIOP_ORB.cpp: Added some checks for failed memory - allocation. - -Sun Feb 7 16:57:55 1999 Balachandran Natarajan - - * examples/Simple/Simple_util.cpp - * examples/Simple/time/Time_Client.cpp - * examples/Simple/time/server.cpp - * examples/Simple/grid/Grid_Client_i.cpp - * examples/Simple/grid/server.cpp - Changed TAO_TRY macros to ACE_TRY macros - -Sun Feb 7 15:30:34 1999 Jeff Parsons - - * tao/IIOP_Profile.cpp: - Changed a line in is_equivalent(). The lhs of a == - operator comparing two Versions was actually a - pointer to a Version. - -Sun Feb 7 14:32:00 1999 Chris Gill - - * TAO/orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowser.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowserApplet.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/DemoCore.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/MTDataHandlerAdapter.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/PushConsumerFactory.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/make.bat : strategized - browser concurrency: can either use direct orb upcalls (default) - or use queueing in active data handler adapter objects - (via the -queue command line switch). - - * TAO/orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.{cpp, h} - TAO/orbsvcs/tests/Simulator/Event_Supplier/DualEC_Sup.{cpp, h}: - fixed shutdown to ensure disconnection of the scheduler and EC - servants, deregistration of these from the Naming Service. Also - added command line switches -n and -w to set the number of - usec slept before generating each navigation or weapons event, - respectively. - -Sun Feb 7 11:44:58 1999 Carlos O'Ryan - - * TAO_IDL/driver/drv_args.cpp: - Fixed the -Gi parsing code, it was setting compiled marshaling - to 1, it must be 0. - -Sun Feb 07 11:19:13 1999 David L. Levine - - * TAO_IDL/be/be_codegen.cpp: changed #include protection - from #if !defined to #ifndef. This allows compilers that - recognize the #ifndef ... #define ... #endif idiom - to optimize their reads of #include files. - -Sun Feb 7 01:06:58 1999 Carlos O'Ryan - - * tao/CDR.h: - * tao/CDR.i: - Yet another extraction operator for CDR streams (for - CORBA::Char*). - -Sun Feb 7 00:52:36 1999 Jeff Parsons - - * orbsvcs/tests/EC_Custom_Marshal/ECCM_Consumer.dsp: - * orbsvcs/tests/EC_Custom_Marshal/ECCM_Supplier.dsp: - Changed the tao_idl.exe path to ACE_wrappers/bin. - -Sat Feb 6 23:16:14 1999 Carlos O'Ryan - - * TAO_IDL/util/utl_global.cpp: - Activated compiled marshaling by default. IRIX/MIPSpro and - Linux/EGCS are happy, and so seems Solaris/CC; the old behavior - can be invoked using the -Gi IDL compiler option, or by setting - the TAO_IDLFLAGS environment variable to "-Gi". - - * TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp: - A ACE_static_cast was used to remove constness, it should be - ACE_const_cast. - - * TAO_IDL/be/be_visitor_array/cdr_op_ch.cpp: - Sometimes the array name is prefixed by an _, but the operator - << and >> for CDR streams was generated by appending the _ to - the complete name, not just the base name; this made the IRIX - compiler very unhappy. - - * tao/CDR.h: - * tao/CDR.i: - Added the operator << for TAO_OutputCDR and "const CORBA::Char*" - -Sat Feb 06 21:11:05 1999 Jeff Parsons - - * corba.h: - Changed to reflect the renaming of the ACE filed to - CDR_Stream.* - -Sat Feb 06 20:41:00 1999 Chris Gill - - * TAO/orbsvcs/tests/Simulator/Event_Supplier/DualEC_Sup.dsp - TAO/orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.dsw - TAO/orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.dsp: - Redid NT project file for DualEC_Sup using MSVC++ 5.0, added - dependencies for .\NavWeap.idl on ..\NavWeap.idl - -Sat Feb 6 19:56:27 1999 Carlos O'Ryan - - * tao/CDR.h: - * tao/CDR.i: - * tao/CDR.cpp: - Added << and >> operators for the TAO_*CDR classes; otherwise we - get a lot of ambiguos definitions with the ACE_*CDR versions. - - * tao/orbconf.h: - TAO_NO_COPY_OCTET_SEQUENCES is enabled always, until somebody - actually defines ACE_NO_COPY_OCTET_SEQUENCES. - -Sat Feb 6 17:50:16 1999 Alexander Babu Arulanthu - - * orbsvcs/tests/Property/client.cpp: - * orbsvcs/tests/Property/server.cpp: - * orbsvcs/tests/Property/README: - Fixed the problem with get_property_value passing IOR - -1999-02-06 Nagarajan Surendran - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): Added an exit(1) - when the preprocessor fails so that tao_idl doesn't hang. - -Sat Feb 06 07:55:00 1999 Chris Gill - - (new) * TAO/orbsvcs/tests/Simulator/DOVEBrowser/MTDataHandlerAdapter.java: - Adapts data handler to be an active object that processes events - enqueued by another thread. - -Sat Feb 06 07:33:19 1999 David L. Levine - - * tao/decode.cpp (decode): removed break statement following - a return, because some compilers claim that it's not - reachable. - -Sat Feb 06 01:20:53 1999 Irfan Pyarali - - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf: No need to - specify THR_BOUND since it is now the default. - - * tao/default_server.cpp (TAO_Default_Server_Strategy_Factory): - Made THR_BOUND the default thread flags. - -Fri Feb 05 21:59:12 1999 Jeff Parsons - - * tao/CDR.{h,i,cpp}: - * tao/orbconf.h: - * tao/GIOP.cpp: - * tao/ORB_Core.cpp: - * tao/params.cpp: - * tao/orb.cpp: - * tao/orb.h: - * tao/corba.h: - * tao/Any.{h,i}:: - * tao/Invocation.cpp: - * tao/Connect.cpp: - The leveraging of the ACE CDR classes into TAO. Compiles - cleanly on VC, suncc and g++. Both the ACE and the TAO - CDR tests are working fine. - -Fri Feb 05 21:23:33 1999 Douglas C. Schmidt - - * TAO version 0.3.2 released. - -Fri Feb 5 19:44:40 1999 Carlos O'Ryan - - * release.chk: - Cleared all the marks, the file was not up-to-date. - -Fri Feb 5 18:45:36 1999 Fred Kuhns - - * tao/Stub.i: - Rearranged order of declarations. - -Fri Feb 5 18:11:33 1999 Fred Kuhns - - * tao/MProfile.cpp - Fixed set () so it would reinitialize the list of profiles. - -Fri Feb 05 16:55:00 1999 Chris Gill - - * TAO/orbsvcs/tests/Simulator/README: Documented DualEC_Sup. - -Fri Feb 05 16:05:00 1999 Chris Gill - - * TAO/orbsvcs/tests/Simulator/DOVEBrowser/PushConsumerFactory.java: - Added -dualECdemo switch that resolves the appropriate event and - scheduling service names for the DualEC_Sup supplier. - -Fri Feb 5 15:56:31 1999 Alexander Babu Arulanthu - - * orbsvcs/tests/Property/client.cpp: - * orbsvcs/tests/Property/server.cpp: - Added the fixes suggested by jaehrig@desys.com regarding - CORBA::Any scopes to all the from_* and to_* methods of Any - variables. - * orbsvcs/tests/Property/README: Added this file - -Fri Feb 05 15:55:00 1999 Chris Gill - - * TAO/orbsvcs/tests/Simulator/Event_Supplier/DualEC_Sup.{cpp, h}: - Changed to generate navigation, weapons events from separate threads - - * TAO/orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.cpp: - fixed a problem valuing the wrong data structure - -Fri Feb 5 15:25:56 1999 Fred Kuhns - - * Changed IIOP_Core.{h,cpp} and IIOP_ORB.cpp to use - ACE_INET_Addr in the hash map rather than ACE_Addr. - -Fri Feb 5 14:45:25 1999 Fred Kuhns - - * MProfile.{h,cpp} Added descriptive comments and fixed several - cases of mixing int's with unsigned int's. - -Fri Feb 5 14:21:33 1999 Carlos O'Ryan - - * tao/IIOP_ORB.cpp: - Fixed problems in the parsing of URL style IORs. - - * tao/IIOP_Profile.cpp: - Added some comments for Fred. - -Fri Feb 05 13:15:00 1999 Chris Gill - - * TAO/orbsvcs/tests/Simulator/DOVEBrowser/DemoCore.java - (new) TAO/orbsvcs/tests/Simulator/DOVEBrowser/MTQueue.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/NavWeapDataHandler.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/PushConsumerFactory.java - TAO/orbsvcs/tests/Simulator/DOVEBrowser/make.bat : reorganized - DOVE browser to accept events from multiple named event channels, - using a set of named schedulers. Synchronized the data handler, - added threaded queueing adapter to do early demultiplexing of ORB - upcalls onto data handler threads. - - * TAO/orbsvcs/tests/Simulator/NavWeap.idl - TAO/orbsvcs/tests/Simulator/Event_Supplier/DOVE_Supplier.{cpp, h} - (new) TAO/orbsvcs/tests/Simulator/Event_Supplier/DualEC_Sup.{cpp, dsp, h} - TAO/orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.{cpp, dsp, dsw} - TAO/orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.{cpp, dsp} - TAO/orbsvcs/tests/Simulator/Event_Supplier/Makefile : reorganized - supplier infrastructure to be able to define an EC and scheduler - per supplier proxy instance. Added a new supplier, DualEC_Sup, - which creates two event channels and two schedulers, then generates - events and sends them over two channels. - -Fri Feb 5 11:12:04 EST 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - - The generated stubs were using IIOP_Object to access the CORBA - object's underlying stub object. However, since the IIOP_Object - class is now removed, we use the STUB_Object class. - -Fri Feb 05 03:41:09 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/RT_Task.h: - * orbsvcs/orbsvcs/Event/ReactorTask.h: - * orbsvcs/orbsvcs/Event/Timer_Module.h: - MSVC++ gets really confused by a default argument of the form - Module::Foo::_nil () - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/tests/EC_Basic/EC_Basic.cpp: - Updated to reflect the changes above. - -Fri Feb 5 02:34:27 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/Module_Factory.cpp: - * orbsvcs/orbsvcs/Event/RT_Task.cpp: - * orbsvcs/orbsvcs/Event/RT_Task.h: - * orbsvcs/orbsvcs/Event/ReactorTask.cpp: - * orbsvcs/orbsvcs/Event/ReactorTask.h: - * orbsvcs/orbsvcs/Event/Timer_Module.cpp: - * orbsvcs/orbsvcs/Event/Timer_Module.h: - The Event Channel can receive a reference to the scheduler in - its constructor, this reference is propagated to all the modules - and used instead of the Scheduler_Factory singleton. - This can be used to have more than one Event Channel for process - or to simplify the testing of multiple Scheduling services. - If no scheduler is specified the Event Channel bootstraps from - the Scheduler_Factory as usual. - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.h: - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.h: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.h: - * orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.h: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.h: - * orbsvcs/tests/EC_Basic/EC_Basic.cpp: - It doesn't use the Scheduler_Factory anymore, this illustrates - how the EC can receive the scheduler as an argument. - - -Fri Feb 5 02:33:05 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Fixed explicit template instantiations for the new collocation - map, it may not work correctly though. - - * orbsvcs/tests/EC_Custom_Marshal/Makefile: - Updated dependencies. - -Thu Feb 04 23:42:39 1999 Nanbor Wang - - * tao/Stub.cpp: It should now include Stub.i instead of - STUB_Object.i. - - * tao/TAO[_Static].dsp: Removed IIOP_Object and added MProfile. - -Thu Feb 4 22:18:13 1999 Fred Kuhns - - * added public destructor to TAO_IIOP_Profile - -Thu Feb 4 21:33:07 1999 Carlos O'Ryan - - * utils/catior/catior.cpp: - It included $ACE_ROOT/tao/IIOP_Profile.h explicitly, the file - has been removed. I'm not sure if the program will work, but at - least I could update the Makefile dependencies. - -Thu Feb 4 19:18:51 1999 Fred Kuhns - - * Multiple Profiles (MP). - This required the modification of several files, deleting others - as well as adding and removing classes. - - * Removed the files IIOP_Object.{h,i,cpp} and object IIOP_Object. - All functionality now resided in the old base class STUB_Object. - - * Changed many files and classes to multiple profiles or to - account for removing the IIOP_Object class. - - 1) IIOP_Connector.cpp - 2) IIOP_ORB.{h,cpp} - IIOP_ORB.cpp changed references from IIOP_Object and - Client_Handler to STUB_Object and TAO_Transport. Also - moved much of the IIOP specific marsheling code to IIOP_Profile. - 3) Invocation.{h,i,cpp} - Changed references from IIOP_Object to STUB_Object. - 4) ORB.{h,i,cpp} - 5) ORB_Core.{h,i,cpp} - 6) Object.{i,cpp} - 7) Servant_Base.cpp - 8) Server_Request.cpp - 9) Stub.{h,i,cpp} - All logic from IIOP_Object (minus transport specific stuff) moved to - the STUB_Object. Also the MProfile class is used for storing all - profiles. - 10) decode.cpp - Changed IIOP_Object ref to STUB_Object - 11) encode.cpp - Changed IIOP_Object ref to STUB_Object - 12) Any.h - Changed "friend class IIOP_Object" to "friend class STUB_Object" - 13) corba.h - Added #include's for the Multiple Profile header files. - -Thu Feb 4 15:07:29 1999 Fred Kuhns - - * updated MT_Cubit/svc.conf to use THR_BOUND as the default. - -Thu Feb 4 14:34:43 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/mpeg/mpeg_server/Globals.cpp: Added the - initialization of a missing member variable. Thanks to Phil - Ruelle for the fix. - -Thu Feb 04 10:55:28 1999 Nanbor Wang - - * tao/ORB_Strategies_T.cpp (activate_svc_handler): Fixed unmatched - ACE_TRACE message. - -Thu Feb 4 00:02:17 1999 Nanbor Wang - - * tao/orbconf.h: Made sure _WIN32 doesn't get redefined. Thanks - to Terry Rosenbaum for - pointing this out. - -Wed Feb 03 15:01:22 1999 Nanbor Wang - - * tao/TAO_Internal.cpp (open_services): Do not try to parse the - default svc.conf file is TAO_PLATFORM_SVC_CONF_FILE_NOTSUP is - defined. You can still use the -f command line option to open a - specific svc.conf file. - -Wed Feb 3 12:17:02 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.cpp: - Wait for all the children to accept their events, then it does. - - * orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.cpp: - Accepts an event if any of its children does. - - * orbsvcs/orbsvcs/Event/EC_Type_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Type_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp: - A filter based on source and/or type. - - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.i: - * orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.cpp: - This Filter_Builder can use the new filters to support basic - filtering and correlation. - - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.i: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - A sample configuration based on the filtering above. - - * orbsvcs/orbsvcs/Event/EC_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Filter.cpp: - Use a RB_Tree to represent the set of event types required by a - set of filters; this will let us implement the matching of - consumers and suppliers more effificiently [O(nlog(n))] - - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - Call unbind() on the SupplierFiltering strategy, so it can - release our resources. - - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.h: - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.cpp: - Added an unbind() method to support automatic destruction. - - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.h: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - Updated comments. - -Wed Feb 03 07:07:07 1999 David L. Levine - - * tao/IIOP_Transport.h (send_request): commented out argument - names to avoid g++ 2.7.2.3 warnings about unused arguments. - - * docs/configurations.html: removed note about TAO_ORBSVCS - not being supported by orbsvcs/orbsvcs/tmplinst-orbsvcs.cpp. - Thanks to Carlos, it is now supported. - -Tue Feb 02 09:22:31 1999 David L. Levine - - * tao/ORB.cpp (create_stub_object): removed unused local - "orb_core". - - * tao/decode.cpp (decode): removed return and continue statements - following breaks, because some compilers complain that - they're unreachable. - - * tao/IIOP_Transport.cpp (do_sendv): added static cast of - iov_len to size_t. It avoids a compile warning about - signed/unsigned comparison on g++/Solaris86. - -Mon Feb 01 21:28:27 1999 Douglas C. Schmidt - - * TAO version 0.3.1 released. - -Mon Feb 1 16:33:39 1999 Carlos O'Ryan - - * tao/IIOP_Profile.cpp: - * tao/params.cpp: - * utils/catior/catior.cpp: - Fixed some egcs warnings. - -Mon Feb 1 15:33:59 1999 Fred Kuhns - - * Update Connect.{h,cpp}, removed two unused args - TAO_IIOP_Handler_Base - -Mon Feb 01 13:55:19 1999 David L. Levine - - * orbsvcs/tests/EC_Custom_Marshal/Makefile: ran make depend. - -Sun Jan 31 20:32:54 1999 Alexander Babu Arulanthu - - * docs/compiler.html: - * tao_idl.1 - * idl_global.h - * drv_args.cpp - * be_codegen.cpp - Added these two options to the tao_idl compiler. - -in To generate #include statements with <>'s for the standard include - files (e.g. tao/corba.h) indicating them as non-changing files. - Thanks to Andreas Geisler for - this suggestion. - - -ic To generate #include statements with ""s for changing standard - include files (e.g. tao/corba.h). - -Sat Jan 30 18:30:50 1999 Yamuna Krishnamurthy - - * docs/compiler.html: - * docs/releasenotes/index.html: - Reworded the documents to call the implementation skeleton - files as servant implementation templates - -Sat Jan 30 16:28:57 1999 Pradeep Gore - - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.{h,cpp}: - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp: - renamed variables named "ppc" to "proxypushconsumer" to fix the - compile errors on Green Hills cross-compiler 1.8.8 for PowerPC. - -Sat Jan 30 14:26:41 1999 Vishal Kachroo - - Added a new option -ORBInitRef to the ORB. The syntax is - -ORBInitRef =. - - The option works for the IOR formats understandable by the - string_to_object (). The string_to_object () will be modified later to - understand other ior formats like iiopname, iioploc. - - The new option takes precedence over the current methods of resolving - an initial reference to an arbitrary object ID - (through resolve_initial_references ()). - - * tao/ORB.cpp : Added a new function resolve_commandline_ref (). This - function is called by the resolve_initial_references () to resolve a - reference to an arbitrary object id specified in the -ORBInitRef param. - * tao/ORB.h : Added the declaration for the above method. - * tao/ORB_Core.cpp : Added the new option -ORBInitRef in init (). Also - set the init_ref parameter if this option is specified. - * tao/params.h : Added a new parameter init_ref_. Also added declarations - for the Get/Set methods of init_ref_. - * tao/params.i : Defined the Get/Set methods for the init_ref_ parameter. - * tao/params.cpp : Added the constructor initialization of the init_ref_. - -Sat Jan 30 11:55:00 1999 Chris Gill - - * TAO/orbsvcs/tests/Sched_Conf/Sched_Conf.cpp - TAO/orbsvcs/tests/Sched_Conf/Sched_Conf_Anomalies.cpp - TAO/orbsvcs/tests/Sched_Conf/Sched_Conf_Anomalies_Runtime.h - TAO/orbsvcs/tests/Sched_Conf/Sched_Conf_Runtime.{cpp, h}: updated - types that had been changed in RtecScheduler.idl. Thanks to gwross - for providing this ix, which solves a - compilation problem with MSVC++ 6.0. - -Sat Jan 30 10:08:17 1999 Carlos O'Ryan - - * examples/POA/Generic_Servant/Makefile: - The definition for the static library target was missing (LIB=) - Thanks to Robert V. Head for pointing this - out. - - * examples/Event_Comm/Event_Comm_i.cpp: - Fixed the instantiation pragmas. Thanks to Robert V. Head - for pointing this out. - -Fri Jan 29 20:16:45 1999 Jeff Parsons - - * tao/NVList.cpp: - Changed add_value() to always copy the value of the Any, - ignoring the CORBA::IN_COPY_VALUE flag. Calling replace(), - as we did before, is faster, but if the value of the Any is - 0 (void* value is null), a crash will result. Thanks to - Carlos for figuring this out and to Barry Hoggard for - reporting the bug. - -Fri Jan 29 18:07:28 1999 Yamuna Krishnamurthy - - * TAO_IDL/be/be_visitor_operation/rettype_is.cpp: - Removed unused variables as this was giving warnings with the - SGI compiler - -Fri Jan 29 18:04:25 1999 Fred Kuhns - - * Fixed an old style ref to IIOP::MY_MINOR and IIOP::MY_MAJOR to - TAO_IIOP_Profile::DEF_IIOP_MAJOR, - TAO_IIOP_Profile::DEF_IIOP_MINOR in utils/catior/catior.cpp - -Fri Jan 29 15:55:41 1999 Darrell Brunsch - - * Makefile: Added TAOACE.dsw to the list of Controlled Files. - -Fri Jan 29 13:07:42 1999 Nanbor Wang - - * docs/configurations.html: Added links to various examples for - different configurations. Thanks to Jerry D. De Master - for this suggestion. - -Fri Jan 29 12:22:22 1999 Yamuna Krishnamurthy - - * orbsvcs/tests/AVStreams/server_discovery/AV_Demo : - Moved Seths README to AV_Demo - - * orbsvcs/tests/AVStreams/server_discovery/README : - Provided information about how to run the Java Interface - to the AV Demo - - * orbsvcs/tests/AVStreams/mpeg/README: - Added how to run the AV Demo with the Trading Service - -Fri Jan 29 11:01:50 1999 Fred Kuhns - - * Updated profile references in - orbsvcs/Time_Service/IR_Helper.cpp - orbsvcs/ImplRepo_Service/ImplRepo_i.cpp - -Fri Jan 29 09:57:27 1999 Carlos O'Ryan - - * orbsvcs/Event_Service/Event_Service.cpp: - I commited a version with support for the new Event Channel, - this was a mistake, I'm reverting the change. - -Fri Jan 29 09:07:47 1999 David L. Levine - - * orbsvcs/tests/Sched_Conf/Sched_Conf.cpp: use - RtecScheduler::Criticality_t, Importance_t, and Info_Type_T. - Thanks to gwross for providing this - fix, which solves a compilation problem with MSVC++ 6.0. - -Thu Jan 28 21:36:38 1999 Carlos O'Ryan - - * Updated the dependencies in all the Makefiles. - -Thu Jan 28 20:49:56 1999 David L. Levine - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: removed ACE_Hash - explicit template instantiation, because it's in tao/POA.cpp. - -Thu Jan 28 18:04:07 1999 Carlos O'Ryan - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - Added the new files to the NT projects. - - * tao/Makefile: - Minor cosmetic changes. - - * tao/IIOP_Profile.h: - * tao/IIOP_Profile.cpp: - * tao/IIOP_Transport.cpp: - Fixed warnings about out of order initialization of members and - about signed/unsigned comparisons. - -Thu Jan 28 16:47:12 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/AVStreams_Full.idl: - * orbsvcs/orbsvcs/CosEventChannelAdmin.idl: - * orbsvcs/orbsvcs/CosEventComm.idl: - * orbsvcs/orbsvcs/RtecScheduler.idl: - * orbsvcs/orbsvcs/TimeService.idl: - Fixed some problems with #pragma prefix - -Thu Jan 28 16:34:14 1999 Fred Kuhns - - * Added support for Pluggable Protocols (PP) This required the - modification of several files, deleting others as well as adding - and removing classes. - - * Added the following classes and files - 1) Pluggable.h - Contains all the base classes and registries - used in Pluggable protocols. New transport implementations - will have - to use these classes in order to 'plugin' to the framework. - a) TAO_Profile - b) TAO_Connector - c) TAO_Transport - d) TAO_Acceptor - e) TAO_Connector_Registry - Pluggable.cpp - Connector_Registry implementation and Profile - Version class. Each transport specific TAO_[*]_Connector - registers itself with this singleton. - 2) IIOP_Profile.{h,cpp} - Class TAO_IIOP_Profile is defined here and it profides IIOP - specific processing. Much of the transport specific - processing located in the IIOP_Object has been relocated - to here. - In particular an IIOP_Profile will contain a reference to the - currently used transport, that is the connection handler. - 3) IIOP_Connector.{h,cpp} - All transport specific connection processing is hidden behind - this class. The connection handler hint () is taken from the - TAO_Profile (i.e. IIOP_Profile) object. - 4) IIOP_Acceptor - basically just a transport neutral wrapper - for the Acceptor. - - * Changed many files and classes to use this new transport - independent Pluggable classes. Also relocated transport - specific processing to the new classes. - 1) Connect.{h,cpp} - Created new base classes TAO_IIOP_Client_Transport and - TAO_IIOP_Server_Transport in order to keep TAO_Transport - references and leverage dynamic binding. That is, all - handlers use either of these classes as a base class. - TAO_SVC_HANDLER is a member object. - - Edited code so it passed TAO_Transport object references to - GIOP::send_request and GIOP::recv_request. - 2) GIOP.{h,cpp} - Replaced all references to the handler object with the new - transport object. Also moved all transport specific code - used for reading and writing messages to the network to the - new IIOP_Transport class. - 3) IIOP_ORB.{h,cpp} - IIOP_ORB.h -> got rid of the #include "tao/corba.h" - moved much of the IIOP specific marsheling code to IIOP_Profile. - 4) Invocation.{h,i,cpp} - use TAO_Transport and TAO_Profile instead of Client_Handler and - IIOP_Object::IIOP. - Additionally, the connection is now made by the - Connector_Registry object. - All IIOP specific processing moved to TAO_IIOP_Profile. - 5) ORB.{h,i,cpp} - The preconnect method's functionality is moved to - Connector_Registry and TAO_[*]_Profile. - 6) ORB_Core.{h,i,cpp} - The ORB_Core was changed to allocate memory for the new - objects: TAO_Connector_Registry, TAO_IIOP_Connector and - TAO_IIOP_Acceptor. Preconnect () moved also. - 7) Servant_Base.cpp - Changed to use STUB_Object refs rather than IIOP_Object. - 8) Server_Request.cpp - Changed to use STUB_Object refs rather than IIOP_Object. - 9) decode.cpp - Moved all IIOP specific processing (parsing IORs) to - IIOP_Profile. - 12) encode.cpp - Moved all IIOP specific processing (parsing IORs) to - IIOP_Profile. - 13) params.{h,i,cpp} - Changed use_IIOP_lite_protocol to use_lite_protocol. - 14) corba.h - Added #include's for the new Pluggable Protocol header - files. - -Thu Jan 28 15:26:49 1999 Darrell Brunsch - - * tao/examples/Simple/grid/client.dsp: - * tao/examples/Simple/grid/server.dsp: - * tao/examples/Simple/time/client.dsp: - * tao/examples/Simple/time/server.dsp: - * tao/examples/Simple/time/client_static.dsp: - * tao/examples/Simple/time/server_static.dsp: - Updated to work with Bala's changes. - - * tao/examples/Simple/Time_Client_i.cpp: - Added TAO_CHECK_ENV after using TAO_TRY_ENV in several spots. - -Thu Jan 28 11:32:11 1999 Nanbor Wang - - * tao/IIOP_ORB.cpp (string_to_object): Checked if the passed - in is null. If yes, simply return a null object. - - * TAO-INSTALL.html (href): Fixed directory name leads to - IDL_Cubit. Thanks to Zoran Ivanovic for - reporting these. - -Thu Jan 28 11:41:39 1999 Carlos O'Ryan - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - Disabled the support for the new EC implementation, it is not - compiled by default in orbsvcs, hence it cannot be used by - default either. - -Wed Jan 27 22:09:14 1999 Yamuna Krishnamurthy - - * orbsvcs/tests/AVStreams/mpeg/source/server/Property_Exporter.cpp: - Enaaabled the exporting of properties by mutiple augmented servers - - * orbsvcs/tests/AVStreams/mpeg/source/server/Machine_Properties.cpp: - Need to initialize the handle everytime in rstat - - * orbsvcs/tests/AVStreams/server_discovery/Strip_Chart.java: - Modified the algorithm to get the performance graph working - - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery_Selection.java: - Modified the Jtree to to display multiple movie info - Enabled the display of the performance graph - - * orbsvcs/tests/AVStreams/server_discovery/Server_Discovery.java: - Added the thread to get the dynamic properties and display as a - graph - -Wed Jan 27 21:59:13 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - Added a new entry to the TAO_ORBSVCS macro, Event2, right now it - is disabled by default. - The makefile add a -DTAO_ORBSVCS_HAS_* for each entry in the - TAO_ORBSVCS list. - - * orbsvcs/orbsvcs/tmplinst-orbsvcs.cpp: - Use the TAO_ORBSVCS_HAS_* macros to instantiate only the needed - templates. - - * orbsvcs/orbsvcs/Event/EC_Null_Factory.i: - A variable was not properly initialized. - - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp: - Added missing template instantiations - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.h: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - It can create an instance of the new EC for testing purposes. - -Wed Jan 27 19:59:58 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.i: - * orbsvcs/orbsvcs/Event/EC_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.i: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_QOS_Info.cpp: - * orbsvcs/orbsvcs/Event/EC_QOS_Info.h: - * orbsvcs/orbsvcs/Event/EC_QOS_Info.i: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.cpp: - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.h: - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.i: - Completed the first prototype, this version does not support - filtering or real-time features, but it is useful to get - baseline numbers. - -Wed Jan 27 13:14:32 1999 David L. Levine - - * TAO version 0.2.53 released. - -Tue Jan 26 22:06:01 1999 David L. Levine - - * rules.tao.GNU,docs/configurations.html: moved TAO_ORBSVCS - documentation from rules.tao.GNU to docs/configurations.html. - -Tue Jan 26 16:24:57 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/README: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - Added some documentation about the new Event Channel - implementation. - - * orbsvcs/orbsvcs/Event/EC_Dispatching.cpp: - * orbsvcs/orbsvcs/Event/EC_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Filter.cpp: - * orbsvcs/orbsvcs/Event/EC_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.cpp: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.i: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - Added the implementation of a null filter and the corresponding - filter builder. Also implemented the reactive dispatching - strategy. - -Mon Jan 25 17:24:50 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/Timer_Module.h: - Removed superfluous component in include path, thanks to - Eric B. Mitchell for reporting this - one. - - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_Dispatching.i: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.i: - * orbsvcs/orbsvcs/Event/EC_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Filter.h: - * orbsvcs/orbsvcs/Event/EC_Filter.i: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.h: - * orbsvcs/orbsvcs/Event/EC_Filter_Builder.i: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.i: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h: - These files compile now, and are fairly complete, but I still - have to implement the TAO_EC_Filter hierarchy, the dispatching - strategies and a couple of example ProxySupplier/ProxyConsumer - classes. - We also need to implement the locking strategies. - - * orbsvcs/orbsvcs/Makefile: - Updated dependencies. - -Mon Jan 25 13:54:00 1999 David L. Levine - - * rules.tao.GNU,orbsvcs/orbsvcs/Makefile: added TAO_ORBSVCS - support for subsetting the liborbsvcs build. See rules.tao.GNU - for usage information and limitations. - -Sun Jan 24 22:46:43 1999 Vishal Kachroo - - * removed the orbsvcs/orbsvcs/Time_Service/implrepo.conf file. - This file is not required here. It is required in the tests dir. - - Made changes to the following Makefiles to incorporate the - Implementation Repository service. - - * orbsvcs/orbsvcs/Makefile - * orbsvcs/Makefile - * orbsvcs/orbsvcs/ImplRepo_Service/Makefile - * orbsvcs/orbsvcs/Time_Service/Makefile - -Sun Jan 24 17:04:47 1999 Nanbor Wang - - * orbsvcs/tests/ImplRepo/Repository_Test.cpp: Removed inclusion of - . ACE should take care of it. - -Sun Jan 24 00:48:01 1999 Darrell Brunsch - - * orbsvcs/ImplRepo_Service/Ping.idl: - * orbsvcs/ImplRepo_Service/ImplRepo.idl: - * orbsvcs/orbsvcs/Ping.idl: - * orbsvcs/orbsvcs/ImplRepo.idl: - Moved IDL files from ImplRepo to orbsvcs. - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/ImplRepo_Service/implrepo.dsp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.h: - * orbsvcs/tests/ImplRepo/IR_Helper.h: - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - * orbsvcs/tests/ImplRepo/Repository_Test.dsp: - * orbsvcs/tests/ImplRepo/airplane_client.dsp: - * orbsvcs/tests/ImplRepo/airplane_server.dsp: - Changed because of the above move. - - * orbsvcs/Time_Service/Clerk_i.cpp: - * orbsvcs/Time_Service/IR_Helper.cpp: - * orbsvcs/Time_Service/IR_Helper.h: - * orbsvcs/Time_Service/Server_i.cpp: - * orbsvcs/Time_Service/Time_Service_Clerk.dsp: - * orbsvcs/Time_Service/Time_Service_Server.dsp: - Changed because the IR IDL files moved, and also fixed various - warnings on NT (mainly just changing TAO_CHECK_ENV_RETURNs to - TAO_CHECK_ENV - since it looks like the result was the same). - - * orbsvcs/tests/ImplRepo/run_test.pl: - Only one test now runs at a time. - - * orbsvcs/tests/Time/Time_Service_Test.dsp: - * orbsvcs/tests/Time/run_test.pl: - Fixed various problems on NT. - -Sat Jan 23 22:29:12 1999 Darrell Brunsch - - * docs/implrepo.html: - * docs/implrepo/paper.html: - * docs/implrepo/index.html: - Moved the IR document to the implrepo subdirectory and updated - it to address comments from John Mulhern - <9107@mn3.lawson.lawson.com>. - - * docs/orbsvcs.html: Added information about the Implementation - Repository. - - * TAO-INSTALL.html: Updated the Unix compile instructions. - -Sat Jan 23 19:44:32 1999 Darrell Brunsch - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: Hopefully fixed some - warnings on g++. - -Sat Jan 23 11:59:38 1999 Nanbor Wang - - * tao/Connect.cpp (send_error): - (handle_input): Must use ACE_TRY_CHECK within the try block, not - ACE_CHECK. Thanks to David for reporting this. - -Fri Jan 22 18:45:48 1999 Yamuna Krishnamurthy - - * docs/releasenotes/index.html: Added the information about the - generation of servant implementations for implementation by the - IDL Compiler - - * docs/compiler.html: - Added the IDL compiler options for generating servant implementations - -Fri Jan 22 13:08:00 1999 Chris Gill - - * TAO/orbsvcs/orbsvcs/Sched/Sched_Entry.{cpp, h} - TAO/orbsvcs/orbsvcs/Sched/DynSched.cpp - TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp: moved gcd and - minimum_frame_size helper functions to class ACE as static methods, - removed unnecessary #includes of math.h. - -Fri Jan 22 11:30:00 1999 Chris Gill - - * TAO/orbsvcs/tests/Simulator/DOVEBrowser/make.bat: added a - "make setup" capability to set up the DOVE browser directory - prior to the first build on NT. - -Fri Jan 22 08:43:30 1999 David L. Levine - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp (parse_args): - initialize local "aux" to 0, because DU strtok_r requires it. - - * examples/Simple/grid/Grid_Client_i.cpp (parse_args): removed - unused local "result". - -Thu Jan 21 22:21:20 1999 David L. Levine - - * TAO_IDL/util/utl_global.cpp (IDL_GlobalData), - TAO_IDL/be/be_codegen.cpp (TAO_CodeGen): - reordered initializers to match declaration order. - -Thu Jan 21 20:16:22 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_module/module_ih.cpp: - Removed warning about unused variable. - -Thu Jan 21 19:04:36 1999 Carlos O'Ryan - - * tao/ORB_Core.h: - * tao/corba.h: - Moved the declaration of ORB_Core_instance() to the corba.h - file, this solves some problems for the SAIC guys. - -Thu Jan 21 15:00:10 1999 Yamuna Krishnamurthy - - * TAO_IDL/util/utl_global.cpp: - * TAO_IDL/include/idl_global.h: - Add the following flags: - implementation_hdr_ending_ - impl_class_suffix_ - impl_class_prefix_ - implementation_skel_ending_ - gen_impl_files_ - gen_copy_ctor_ - gen_assign_op_ - - (be_get_implementation_hdr): - (be_get_implementation_skel): - (be_get_implementation_hdr_fname): - (be_get_implementation_skel_fname): - (implementation_hdr_ending): - (implementation_skel_ending): - (impl_class_prefix): - (impl_class_suffix): - (implementation_hdr_ending): - (implementation_skel_ending): - (gen_impl_files): - (gen_copy_ctor): - (gen_assign_op): - - * TAO_IDL/driver/drv_args.cpp: Addded options to generate - implementation header and skeleton files. Also provided options to - change the name of the implemenation files created, adding copy - constructors, providing prefixes and suffixes to the - implementation class names - - * TAO_IDL/be/be_visitor_root/root.cpp: - Add the following case statements to set constext - case TAO_CodeGen::TAO_ROOT_IH - case TAO_CodeGen::TAO_ROOT_IS - - * TAO_IDL/be/be_visitor_operation/arglist.cpp: - Added the following case satements: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IS: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IH: - os->indent (); - *os << "CORBA::Environment &TAO_TRY_ENV"; - break; - - - * TAO_IDL/be/be_visitor_module/module.cpp: - Added the following case statements to set the context - case TAO_CodeGen::TAO_MODULE_IH: - case TAO_CodeGen::TAO_MODULE_IS: - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - Added the statements: - "const POA_" << node->local_name () << "& rhs)" - node->local_name () << " (const - to generate a copy constructor in the skeleton - with the object passed declared as a const. Initially the const - was missing - - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp: - Added the statement - "<< namebuf << " (const " << namebuf << "&rhs);" << be_nl" - to generate a copy constructor in the skeleton - with the object passed declared as a const. Initially the const - was missing - - * TAO_IDL/be/be_visitor_interface/interface.cpp: - Added the following case statements to set the context - case TAO_CodeGen::TAO_INTERFACE_IH - case TAO_CodeGen::TAO_INTERFACE_IS - - * TAO_IDL/be/be_visitor_attribute/attribute.cpp: - Added the following case statements to set the context - case TAO_CodeGen::TAO_ATTRIBUTE_IH - case TAO_CodeGen::TAO_ATTRIBUTE_IS - case TAO_CodeGen::TAO_ATTRIBUTE_IH - case TAO_CodeGen::TAO_ATTRIBUTE_IS - - * TAO_IDL/be_include/be_visitor_root.h: - Added statements to include root_is.h and root_ih.h - - * TAO_IDL/be/be_visitor_root.cpp: - Added statements to include root_is.h and root_ih.cpp - - * TAO_IDL/be_include/be_visitor_operation.h: - Added statements to include operation_is.h, operation_ih.h and rettype_is.h - - * TAO_IDL/be/be_visitor_operation.cpp: - Added statements to include operation_is.cpp, operation_ih.cpp and rettype_is.cpp - - * TAO_IDL/be_include/be_visitor_module.h: - Added statements to include and module_ih.h - - * TAO_IDL/be/be_visitor_module.cpp: - Added statements to include and module_ih.cpp - - * TAO_IDL/be_include/be_visitor_interface.h: - Added statements to include interface_is.h and interface_ih.h - - * TAO_IDL/be/be_visitor_interface.cpp: - Added statements to include interface_is.cpp and interface_ih.cpp - - * TAO_IDL/be/be_visitor_factory.cpp: - Added case statements for - TAO_ROOT_IH - TAO_ROOT_IS - TAO_MODULE_IH - TAO_MODULE_IS - TAO_INTERFACE_IH - TAO_INTERFACE_IS - TAO_ATTRIBUTE_IH - TAO_ATTRIBUTE_IS - TAO_OPERATION_IS - TAO_OPERATION_IH - TAO_OPERATION_RETTYPE_IS - TAO_OPERATION_ARGLIST_IH - TAO_OPERATION_ARGLIST_IS - to return corresponding visitors - - * TAO_IDL/be/be_produce.cpp: - Added steps 7 and 8 to generate the implementation header and - skeleton if it is asked for by the user by giving the -GI option - when running tao_idl - - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be/be_interface.cpp: - (gen_copy_ctors): - function to generate copy constructors - (gen_copy_ctors_helper): - helper for generating the copy constructors - (gen_def_ctors): - function to generate default constructors - (gen_def_ctors_helper): - helper to generate default constructors - - - * TAO_IDL/be_include/be_helper.h: - * TAO_IDL/be/be_helper.cpp: - Added the two cases for TAO_IMPL_HDR and TAO_IMPL_SKEL - - * TAO_IDL/be_include/be_decl.h: - * TAO_IDL/be/be_decl.cpp: - Added the impl_hdr_gen,impl_skel_gen_ - ,impl_hdr_gen_,impl_skel_gen_ flags to check if the implementation - headers and skeletons are created - (impl_hdr_gen): - (impl_skel_gen): - return the corresponding flags - - * TAO_IDL/be_include/be_codegen.h: - Add the following to the enumeration: - TAO_ATTRIBUTE_IH - TAO_ATTRIBUTE_IS - TAO_INTERFACE_IH - TAO_INTERFACE_IS - TAO_MODULE_IH - TAO_MODULE_IS - TAO_OPERATION_IH - TAO_OPERATION_IS - TAO_OPERATION_RETTYPE_IS - TAO_OPERATION_ARGLIST_IH - TAO_OPERATION_ARGLIST_IS - TAO_ROOT_IH - TAO_ROOT_IS - - Also add the new methods from be_codegen.cpp below - - * TAO_IDL/be/be_codegen.cpp: - Added the implementation_header_(0) - and implemenattion_skeleton_(0) that hold the corresponding the - TAO_OutStream - - (end_implementation_header): - generate the #endif at the end of the implementation header file - (implementation_skeleton): - get the implemenatation skeleton stream - (start_implementation_skeleton): - set the implementation skeleton file stream and generate the - #include statements - (implementation_header): - get the implementation header stream - (start_implementation_header): - method to set the implemenatation header file stream - and generate the ifndef and #include satements - - * TAO_IDL/be/be_visitor_operation/rettype_is.cpp: - * TAO_IDL/be_include/be_visitor_operation/rettype_is.h: - Create a visitor to generate the return statements for the - operations - - * TAO_IDL/be_include/be_visitor_operation/operation_ih.h: - * TAO_IDL/be/be_visitor_operation/operation_ih.cpp: - Create a visitor to generate code for the IDL operations in - the implementation header - - * TAO_IDL/be/be_visitor_operation/operation_is.cpp: - * TAO_IDL/be_include/be_visitor_operation/operation_is.h: - Create a visitor to generate code for the IDL operations in - the implementation skeleton - - * TAO_IDL/be_include/be_visitor_interface/interface_is.h (class be_visitor_interface_is): - * TAO_IDL/be/be_visitor_interface/interface_is.cpp: - create a visitor to generate code for the IDL interface in - implementation skeleton - - * TAO_IDL/be/be_visitor_interface/interface_ih.cpp: - * TAO_IDL/be_include/be_visitor_interface/interface_ih.h: - Create a visitor to generate code for the IDL interface in - the implementation header - - * TAO_IDL/be_include/be_visitor_module/module_ih.h (class be_visitor_module_ih): - * TAO_IDL/be/be_visitor_module/module_ih.cpp: - Create a visitor to generate code for the IDL module - in implementation header - - * TAO_IDL/be/be_visitor_root/root_ih.cpp: - * TAO_IDL/be_include/be_visitor_root/root_ih.h: - Create a visitor to generate code for the root node in - the implementation header - - * TAO_IDL/be/be_visitor_root/root_is.cpp: - * TAO_IDL/be_include/be_visitor_root/root_is.h: - Create a visitor to generate code for the root node in - the implementation skeleton - -Thu Jan 21 14:10:20 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp (handle_timeout): - Added the macro ACE_U64_TO_U32 to the ULongLong parameters and - added a #ifdef as - #if defined ACE_LACKS_LONGLONG_T - < apply the conversion macros > - #else - < dont use the macros > - -Thu Jan 21 14:10:33 1999 Carlos O'Ryan - - * orbsvcs/Time_Service/Makefile: - The server program was not compiling on IRIX, some object files - were placed after the libraries in the link line. - -Thu Jan 21 10:57:25 1999 Carlos O'Ryan - - * tao/CDR.cpp: - Fixed a problem with TAO_OutputCDR::write_octet_array_mb, thanks - to Dave Meyer for reporting and isolating - this bug. - - * tests/CDR/Makefile: - * tests/CDR/octet_sequence.cpp: - Added a new test to verify that the fix above worked, thanks to - Dave for this test also. - - * tests/CDR/CDR.dsw: - * tests/CDR/octet_sequence.dsp: - Added a new project for the octet_sequence test. - - * EC_ConsumerAdmin.cpp: - * EC_ConsumerAdmin.h: - * EC_ConsumerAdmin.i: - * EC_Event_Channel.cpp: - * EC_Event_Channel.h: - * EC_Event_Channel.i: - * EC_Factory.h: - * EC_Factory.i: - * EC_Filter.h: - * EC_Filter.i: - * EC_ProxyConsumer.h: - * EC_ProxySupplier.cpp: - * EC_ProxySupplier.h: - * EC_ProxySupplier.i: - * EC_SupplierAdmin.cpp: - * EC_SupplierAdmin.h: - * EC_SupplierAdmin.i: - Continue the implementation of the new event channel. - -Wed Jan 20 23:32:47 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp (handle_timeout): - Added the ACE_U64_TO_U32 macros to fix the warnings by g++386. - -Wed Jan 20 20:52:45 1999 Nanbor Wang - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): Removed Win32 - specific code. - -Wed Jan 20 13:54:37 1999 David L. Levine - - * tao/ORB_Core.cpp: removed explicit ACE_Convert instantiation. - LynxOS' g++ was raising an internal compiler error on it, and - it appears to no longer be used. - - * *.h,TAO_IDL/be/be_codegen.cpp (end_server_template_header): - replaced () around #pragma implementation argument. Thanks to - Susan Liebeskind and - Steve Huston for reporting and confirming that it's necessary - on AIX. - -Tue Jan 19 18:38:57 1999 Balachandran Natarajan - - * examples/Simple/time/Time_Client_i.h - * examples/Simple/Simple_util.h - * examples/Simple/Simple_util.cpp - * examples/Simple/time/Time_i.cpp - * examples/Simple/time/Time_i.h - Added stuff for the g++ compiler to compile clean - and build clean. - -Tue Jan 19 16:51:00 1999 Chris Gill - - * TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h - TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.{cpp, h}: added new - TAO_Criticality_Scheduler_Strategy. Thanks to Amir Bahmanyari - (abahmany@teknowledge.com) for suggesting this. - - * TAO/orbsvcs/tests/Simulator/DOVEBrowser/NavWeapDataHandler.java: - added some additional debugging information if an unrecognized any - type is received. - -Tue Jan 19 15:44:09 1999 David L. Levine - - * orbsvcs/tests/Simulator/Event_Supplier/Makefile: - added dependencies. - -Tue Jan 19 15:22:14 1999 Carlos O'Ryan - - * orbsvcs/tests/tests.dsw: - Added the ECT_Throughput project file. - - * orbsvcs/tests/EC_Throughput/ECT_Driver.cpp: - MSVC5 does not support conversion from 64bit unsigneds to - doubles. - -Tue Jan 19 01:31:36 1999 Nanbor Wang - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): Added a quick - hack to open the tmp_file in the "correct" status on Win32 so - the tmp_file will get removed automatically. - - We need to reimplement ACE_OS::fopen to make it behave the same - as on other platforms at some later point. - - (DRV_copy_input): Changed to use ACE_OS::f* functions. It - doesn't really make any difference here because the temp file - get closed before unlink. - -Mon Jan 18 22:57:31 1999 Darrell Brunsch - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * tao/TAO.dsp: - Updated for NT Alpha. - -Mon Jan 18 22:01:13 1999 Pradeep Gore - - * orbsvcs/tests/CosEC_Multiple/run_test.pl - Added this script to run the test. - This is still *under construction*. - * orbsvcs/tests/CosEC_Multiple/README: - Updated the README to reflect all the new options. - * orbsvcs/tests/CosEC_Multiple/CosECConsumer{.h,cpp}: - Added an parameter. - * orbsvcs/tests/CosEC_Multiple/CosECSupplier{.h,cpp}: - Added an parameter. - * orbsvcs/tests/CosEC_Multiple/CosEC_Multiple.cpp: - modified the method to check for nil pointer. - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp: - 1. Removed the code to [un]register the local scheduler with - the naming service.This fixed the "-s global option not working" bug. - 2. Modified the method to scan for just 1 pair - of {sourceid, event type} from the command line. - * orbsvcs/CosEvent_Service/README: - Updated the README to reflect all the new options. - -Mon Jan 18 17:37:45 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Channel_Clients.h: - * orbsvcs/orbsvcs/Event/Channel_Clients.i: - * orbsvcs/orbsvcs/Event/Channel_Clients_T.i: - There was an horrible confusion with this files. I removed some - obsolote versions and fixed an include. Thanks to Jeff - Olszewski for pointing this out. - -Mon Jan 18 16:51:56 1999 Vishal Kachroo - - The bank example was throwing an exception if run multiple times. - - * examples/Simple/bank/Server_i.cpp (init_naming_service): - Added the TAO_TRY blocks. Used rebind instead of bind. - - * examples/Simple/bank/server.cpp: - Added a TAO_CHECK_ENV. - -Mon Jan 18 11:20:10 1999 Carlos O'Ryan - - * tao/decode.cpp: - Fixed a problem with indirected type codes, thanks to Slava - Galperin for detecting the problem - and providing us with a patch for it. - - * examples/Simple/time/server.cpp: - * examples/Simple/time/Time_Client_i.cpp: - Added missing template instantiations. - -Mon Jan 18 01:16:53 1999 Nanbor Wang - - * tao/Connect.cpp: - * tao/GIOP.cpp: Replaced TAO try macros with ACE try macros. - - * tao/try_macros.h: Source in ace/CORBA_macros.h so we can start - switching over to the new macros. Most of the macros in this - file will be gone once we finish the transition. - -Mon Jan 18 00:25:40 1999 Douglas C. Schmidt - - * TAO version 0.2.52 released. - -Sun Jan 17 16:15:10 1999 Carlos O'Ryan - - * tao/GIOP.h: - * tao/GIOP.cpp: - Checked the return value of some send_n() calls, at least to - print appropiate debug messages if TAO_orbdebug is not 0. - Also added constants to document the size of the IIOP_Lite - header (vs. the GIOP header) and the offset of the message size - in the GIOP and the IIOP_Lite headers. - -Sun Jan 17 15:51:39 1999 Vishal Kachroo - - * orbsvcs/Time_Service/Time_Service_Server.dsp: Added the generated - files of ImplRepo to the project .dsp. This is required till the - ImplRepo idl files are moved to the orbsvcs/orbsvcs directory. - -Sun Jan 17 15:41:12 1999 Nanbor Wang - - * TAO/TAOACE_Static.dsw: Removed outdated project files. - - * TAO/TAO_IDL/tao_idl.dsp: - * TAO/TAO_IDL/tao_idl_static.dsp: - * TAO/orbsvcs/orbsvcs/orbsvcs.dsp: - * TAO/orbsvcs/orbsvcs/orbsvcs_static.dsp: - * TAO/tao/TAO.dsp: - * TAO/tao/TAO_Static.dsp: Rearranged the intermediate directory - for DLL/LIB build to avoid confusing the build utility in VC. - -Sun Jan 17 15:34:17 1999 Douglas C. Schmidt - - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp (wait_until_ready): - Replaced ACE_Thread_Mutex with ACE_SYNCH_MUTEX so that this will - compile properly with threads=0. Thanks to Russ Noseworthy for - reporting this! - -Sat Jan 16 22:54:14 1999 Ossama Othman - - * TAO_IDL/driver/drv_args.cpp (DRV_check_gperf): - Added ability to check for a gperf program with a name other - than "gperf." This modification complements the change that - was made to TAO_IDL/util/utl_global.cpp a few months ago that - allowed TAO to use a gperf with a name besides "gperf." As before, - define the ACE_GPERF macro like so: - -DACE_GPERF=\"gperf-ace\" - for example, to specify a perfect hash function generator called - "gperf-ace." - -Sat Jan 16 11:49:45 1999 Douglas C. Schmidt - - * TAO_IDL/util/utl_global.cpp (add_to_included_idl_files): - Change line 515 from: this->n_included_idl_files_ += INCREMENT; - to: this->n_allocated_idl_files_ += INCREMENT; - so that tao_idl won't crash when including 64 or more files. - Thanks to Tommy Andreasen - for reporting this. - -Fri Jan 15 19:11:10 1999 Balachandran Natarajan - - * examples/Simple/time/Time_Client_i.cpp: - * examples/Simple/time/Time_Client_i.h: - Added permissions for these files. - -Fri Jan 15 18:43:02 1999 Balachandran Natarajan - - * examples/Simple/time/Time_Client_i.cpp: - * examples/Simple/time/Time_Client_i.h: - New files added for implementing the Templates for - a single client/server model - - * examples/Simple/time/Time_i.cpp: - * examples/Simple/time/Time_i.h: - * examples/Simple/time/server.cpp: - * examples/Simple/time/client.cpp: - Made changes in a way such that server and client - make instantiations of templates with their interface - objects. - - * examples/Simple/Simple_Util.h: - * examples/Simple/Simple_Util.cpp: - New files that have the template definitions and - implementation of those methods. - -Fri Jan 15 17:24:36 1999 Vishal Kachroo - - * orbsvcs/tests/Time/Client_i.cpp (init): Checked the return value - of the obtain_initial_references () for the client to die gracefully - in the absence of a clerk. Thanks to Ulf for pointing out this. - - * orbsvcs/tests/Time/Client_i.h : Removed explicit qualification - of the method test_for_secure_universal_time (). Thanks to Ulf for - pointing out this. - -Fri Jan 15 14:25:29 1999 Seth Widoff - - * orbsvcs/tests/Trading/Service_Type_Exporter.cpp: - * orbsvcs/tests/Trading/TT_Info.{h,cpp}: - * orbsvcs/tests/Trading/colocated_test.cpp: - * orbsvcs/tests/Trading/export_test.cpp: - * orbsvcs/tests/Trading/import_test.cpp: - Added the -iorfile or -i option to the export and import - test. When provided a file name, the tests read the trader IOR - from the file, else from standard input. Fixed some formating in - the remaining files. - - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_T.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - More "clever" uses of sequence buffers to avoid copying broke - when the memory mangement of string sequences changed - recently. Resorted to good, ol' fashioned copying. There shouldn't - be any more of these lurking around. - -Fri Jan 15 08:21:55 1999 Douglas C. Schmidt - - * TAO version 0.2.51 released. - -Fri Jan 15 03:52:22 1999 Nanbor Wang - - * docs/exceptions.html: Removed most entries in this file. Added - redirection to the new exception handling guideline page. - -Fri Jan 15 01:47:41 1999 Douglas C. Schmidt - - * TAO version 0.2.50 released. - -Fri Jan 15 00:35:24 1999 Vishal Kachroo - - * orbsvcs/tests/Time/run_test.pl : Added this perl script to test - run the time service. The script offers options to run the service - using either of the following : - - Implementation Repository - - Naming Service - - Files - The script runs only a single server because at this time I dont - know how to start servers on different machines with the same - script. Also the IR doesnt allow to run its multiple copies in - the same directory because it writes implrepo.ior to the current - directory. - - * orbsvcs/tests/Time/implrepo.conf : Added this file. This doesnt - really belong here but anything which needs to run the IR needs - this file. - -Thu Jan 14 23:50:25 1999 Darrell Brunsch - - * docs/implrepo/usersguide.html: - * docs/implrepo/index.html: - * docs/implrepo/status.html: - Added and collected most of the information on the - Implementation Repository. The main addition was a rough - User's Guide which should help people use the IR. - - * docs/releasenotes/index.html: - * docs/index.html: - Now point to the correct IR stuff. - -Thu Jan 14 23:32:19 1999 Vishal Kachroo - - * orbsvcs/tests/ImplRepo/Makefile: Changed to incorporate the - right path for Repository.o file. The make was throwing a link - error. - -Thu Jan 14 22:10:49 1999 Nanbor Wang - - * tao/try_macros.h: Added comments to indication the macros in the - file has been depricated. - -Thu Jan 14 15:39:34 1999 Irfan Pyarali - - * tao/Connect.cpp (check_unexpected_data): Only print the closing - connection message when TAO_orbdebug is on. - -Thu Jan 14 15:52:00 1999 Chris Gill - - * orbsvcs/tests/Simulator/README - orbsvcs/tests/Simulator/DOVEBrowser/Makefile - orbsvcs/tests/Simulator/DOVEMIB/Makefile - orbsvcs/tests/Simulator/Event_Supplier/Makefile - -Thu Jan 14 14:07:17 1999 Jeff Parsons - - * tao/Request.{h,i,cpp}: - Added the argument manipulation helper functions, as shown - in the C++ mapping of ORBOS 98-09-03. - -Thu Jan 14 11:51:31 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Event/Event_Channel.h, - orbsvcs/orbsvcs/Trader/Service_Type_Repository.h: Changed a - private: to public: to fix a problem on IRIX 6.4. Thanks to - Eric Mitchell for reporting this. - -Thu Jan 14 02:46:56 1999 Douglas C. Schmidt - - * TAO version 0.2.49 released. - -Thu Jan 14 00:52:48 1999 Irfan Pyarali - - * tao/ORB.cpp (run): Added a new version of the run() method. - This variant takes no timeout parameters and hence does not - terminate the event loop if the Reactor returns a 0. This - variant is necessary for TAO to work correctly with Reactor - implementations such as XtReactor that returns zero even when - the timeout does not expire. - - Thanks to JM Strauss for suggesting - this change. - - Also, fixed the timeout by reference version of the run() method - such that it no longer pretends to be dealing with const - timeouts. - -Wed Jan 13 14:56:00 1999 Chris Gill - - * orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp - orbsvcs/tests/Simulator/Event_Supplier/Logging_Sup.cpp: fixed string - members of IDL structs by using .inout () to obtain lvalue. - -Wed Jan 13 09:50:16 1999 David L. Levine - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: removed ACE_Equal_To - explicit instantiation because it's in tao/POA.cpp. - -Tue Jan 12 20:10:16 1999 Nanbor Wang - - * tao/GIOP.cpp (send_request): Changed to use sendv_n to do vector - write. - -Tue Jan 12 19:13:07 1999 Pradeep Gore - - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp: - fixed a seg fault that happened on program exit if - failed. Now, is called before anything else. - -Tue Jan 12 18:04:33 1999 Jeff Parsons - - * tao/Sequence_T.i: Fixed a memory leak in bounded sequences. - Thanks to Patrice Bensoussan for - helping us track this down. - -Tue Jan 12 13:09:06 1999 Darrell Brunsch - - * orbsvcs/ImplRepo_Service/ImplRepo_i.{h,cpp}: Fixed some warning - producing code. - -Tue Jan 12 10:48:15 1999 David L. Levine - - * tao/Sequence_T.{i,cpp} (TAO_Unbounded_Sequence::operator[]): - uninlined to avoid build (template instantiation) problems with - Sun C++ 4.2 patch 104631-07. Thanks to Magnus Karlsson - for confirming that this solves the - problem. - -Tue Jan 12 08:46:42 1999 Aniruddha Gokhale - - * TAO_IDL/util/utl_scope.cpp: - - In the patch applied mentioned in the ChangeLog below, we were - using the keyword "true" in a while loop. Unfortunately, it is - not supported by SunCC. So we use the value 1 to represent a - "true" value. - -Mon Jan 11 22:56:26 1999 Jeff Parsons - - * tao_idl/include/utl_scope.h: - * tao_idl/util/utl_scope.cpp: - Added a patch sent in by Hamish Friedlander. This patch - modified his previous patch (which enabled re-opening of - modules) to further enable scoped lookups on these - re-opened modules. - -Mon Jan 11 21:20:23 1999 Nanbor Wang - - * tao/GIOP.cpp (send_request): Fixed typos. - -Mon Jan 11 19:40:25 1999 Pradeep Gore - - * orbsvcs/orbsvcs/CosEvent: - for all files in this directory - - replaced TAO_TRY_ENV with TAO_IN_ENV - -Mon Jan 11 16:55:57 1999 David L. Levine - - * IIOP: removed entire directory tree. - -Mon Jan 11 16:36:08 1999 Jeff Parsons - - * TAO/docs/releasenotes/index.html: - Added a section for the forthcoming Interface Repository - -Mon Jan 11 13:15:15 1999 Douglas C. Schmidt - - * tao/GIOP.cpp: Changed the implementation to use the new send_n() - method on SOCK_Stream. This enabled me to be able to remove the - adhoc use of writev_n() in this file. - -Mon Jan 11 12:37:23 1999 Vishal Kachroo - - Dereferenced the _var pointers in the following. - * orbsvcs/Time_Service/Server_i.cpp (init_IR): - * orbsvcs/Time_Service/Server_i.cpp (create_server): - -Mon Jan 11 02:10:05 1999 Nanbor Wang - - * tao/try_macros.h (TAO_THROW_ENV_RETURN): Forgot to removed - duplicate definition. - - * tao/try_macros.h (TAO_CATCHALL): For compilers without c++ - exceptions, simply make it identical to TAO_CATCHANY. Thanks, - to Irfan for suggesting the change. - -Sun Jan 10 22:43:06 1999 Nanbor Wang - - * Active_Object_Map.h: - * Active_Object_Map.i: - * Any.h: - * Any.i: - * CDR.h: - * CDR.i: - * Connect.cpp: - * Connect.h: - * DynAnyC.h: - * DynAny_i.h: - * DynArray_i.h: - * DynEnum_i.h: - * DynSequence_i.h: - * DynStruct_i.h: - * DynUnion_i.h: - * Environment.h: - * Exception.cpp: - * IIOP_Object.h: - * Invocation.cpp: - * Invocation.i: - * Marshal.i: - * ORB.h: - * ORB_Core.h: - * ORB_Core.i: - * Object.i: - * POA_CORBA.h: - * Server_Request.h: - * Stub.h: - * TAO.h: Standardized the name of CORBA_Environment argument in - functions. This is an effort trying to simplify the use of TAO - try macros. - - * tao/try_macros.h: Removed TAO_THROW_ENV_RETURN_VOID. It's - identical to TAO_THROW_ENV. - Changed to use TAO_CHECK_ENV_RETURN and - TAO_CHECK_ENV_RETURN_VOID to define TAO_CHECK_RETURN and - TAO_CHECK_RETURN_VOID. - - * docs/exceptions.html: Added a section "In a nutshell" which - covers 99% of the use case of TAO try macros. - -Sun Jan 10 16:36:24 1999 Vishal Kachroo - - Added the following to the Time Service. - - * orbsvcs/Time_Service/README: - * orbsvcs/tests/Time/README: - -Sun Jan 10 15:36:44 1999 Vishal Kachroo - - * orbsvcs/Time_Service/Makefile: Added the following rule to make - sure the ImplRepo_Service is uptodate. - include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU - - There would be no need for this once the files in the - ImplRepo_Service are moved to the proper directories. - -Sun Jan 10 02:57:26 1999 Irfan Pyarali - - * examples/POA/DSI/Database_i.cpp: Fixed template instantiation - problems and member re-ordereding problems. - -Sat Jan 9 22:50:35 1999 Vishal Kachroo - - * orbsvcs/Time_Service/Server_i.cpp : Added the Implementation - repository related functions. Made changes to incorporate the - additional functionality required by the IR. - - * orbsvcs/Time_Service/Server_i.h : Addded member variables and - functions required by the IR. - - The following files are required by the server. These files - would have to be removed from here once the IR stabilizes and - these files are put in a particular directory. - - * orbsvcs/Time_Service/IR_Helper.cpp - * orbsvcs/Time_Service/IR_Helper.h - * orbsvcs/Time_Service/implrepo.conf - - * orbsvcs/Time_Service/Makefile : Changed the Makefile to link - in the IR_Helper and other objects required by the Implementation - Repository. - -Sat Jan 9 22:06:09 1999 Nanbor Wang - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp: - Changed to generate code using TAO_IN_ENV instead of _env. - - * orbsvcs/Concurrency_Service/Concurrency_Service.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/LifeCycle_Service/Life_Cycle_Service_i.cpp: - * orbsvcs/Trading_Service/Trading_Service.cpp: - * orbsvcs/orbsvcs/Channel_Clients_T.cpp: - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp: - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Log/Logger_i.cpp: - * orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp: - * orbsvcs/orbsvcs/Time/TAO_TIO.cpp: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp: - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Database.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - * orbsvcs/orbsvcs/Trader/Trader.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_T.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Machine_Properties.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Property_Exporter.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.cpp: - * orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.cpp: - * orbsvcs/tests/Concurrency/CC_command.cpp: - * orbsvcs/tests/Concurrency/CC_naming_service.cpp: - * orbsvcs/tests/EC_Basic/EC_Basic.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - * orbsvcs/tests/ImplRepo/airplane_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_server_i.cpp: - * orbsvcs/tests/Simple_Naming/client.cpp: - * orbsvcs/tests/Trading/Offer_Exporter.cpp: - * orbsvcs/tests/Trading/Offer_Importer.cpp: - * orbsvcs/tests/Trading/Service_Type_Exporter.cpp: - * orbsvcs/tests/Trading/Simple_Dynamic.cpp: - * tests/Param_Test/except.cpp: - * examples/Callback_Quoter/Consumer_Input_Handler.cpp: - * examples/Callback_Quoter/Notifier_i.cpp: - * examples/Quoter/Factory_Finder_i.cpp: - * examples/Quoter/Generic_Factory_i.cpp: - * examples/Quoter/Quoter_i.cpp: - * examples/Simple/bank/AccountManager_i.cpp: - * examples/Simple/grid/Grid_i.cpp: - * Any.h: - * CDR.h: - * Connect.h: - * CurrentC.h: - * CurrentS.cpp: - * DynAnyS.cpp: - * DynAny_i.cpp: - * DynArray_i.cpp: - * DynEnum_i.cpp: - * DynSequence_i.cpp: - * DynStruct_i.cpp: - * DynUnion_i.cpp: - * Exception.h: - * Forwarding_Servant.h: - * GIOP.h: - * IIOP_Interpreter.h: - * IIOP_ORB.h: - * IIOP_Object.h: - * Invocation.h: - * Marshal.h: - * NVList.h: - * ORB.cpp: - * ORB.h: - * Object.h: - * POA.h: - * POAC.h: - * POAS.cpp: - * POAS.h: - * POA_CORBA.h: - * PolicyC.h: - * PolicyS.cpp: - * Sequence.h: - * Sequence_T.h: - * Servant_Base.h: - * Server_Request.h: - * Stub.h: - * TAO.h: - * Typecode.h: - * corba.h: - * poa_T.h: - * varout.h: Replaced all occurances of <_env> with TAO_IN_ENV. - - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp - (connect_push_supplier): Changed to use TAO_IN_ENV. - - * tao/try_macros.h: Added a new macro definition TAO_IN_ENV which - maps to _env. The purpose of adding this macro is to make the - use of TAO try macros more readable. From now on, we should - always use TAO_IN_ENV to name the CORBA environment passed in - from function arguments. TAO_TRY_ENV should only be used within - TAO_TRY block. - -Sat Jan 9 14:53:15 1999 Pradeep Gore - - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp: - dereferenced uses of _var with .in () - -Fri Jan 8 18:06:11 1999 Pradeep Gore - - * orbsvcs/orbsvcs/CosEvent: - These changes are across all the files in this directory... - 1. prefixed each class name with TAO_CosEC_ - 2. changed all member *_ptr to *_var, removed calls to . - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp: - 1. now uses an that does not own the buffer. - 2. ACE_NEW replaced with ACE_NEW_THROW. - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp: - ACE_NEW replaced with ACE_NEW_THROW. - * orbsvcs/tests/CosEC_Basic/CosEC_Basic.h: - * orbsvcs/CosEvent_Service/CosEvent_Service.h: - Changed EventChannel_i to TAO_CosEC_EventChannel_i. - -Fri Jan 8 15:05:08 1999 Jeff Parsons - - * tao_idl/be/be_visitor_union_branch/public_ci.cpp: - * tao_idl/be/be_visitor_union_branch/public_reset_cs.cpp.cpp: - Further attempt to correct bug report by Ron Barack. I will ask - Andy to check my changes. - -Fri Jan 8 13:49:30 1999 Nanbor Wang - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp (run): Changed to - use TAO_CATCHANY and TAO_CATCHALL. - -Fri Jan 08 13:10:00 1999 Chris Gill - - * orbsvcs/tests/Simulator/DOVEMIB/clnt.cpp: added .out () to - TAO_String_Manager idl structure fields that are being passed to - strcpy calls. - -Thu Jan 7 21:24:43 1999 Pradeep Gore - - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp - 1. The parse_args method accepts Event and Source Ids from - the command line. - 2. The scheduler has an option of being local or remote. - (specifying remote does not work very well yet). - 3. added methods init_SupplierQOS and init_ConsumerQOS. - - created the CosEC_Multiple test, added all these files: - * orbsvcs/tests/CosEvent_Multiple.h - * orbsvcs/tests/CosEvent_Multiple.cpp - Base class for test consumer and supplier implementation. - * orbsvcs/tests/CosECConsumer.h - * orbsvcs/tests/CosECConsumer.cpp - * orbsvcs/tests/CosECSupplier.h - * orbsvcs/tests/CosECSupplier.cpp - * orbsvcs/tests/Makefile - * orbsvcs/tests/README - -Thu Jan 7 19:07:45 1999 Nanbor Wang - - * tao/try_macros.h (TAO_CATCHANY): Don't treat the macro - differently in either cases. Simply reuse TAO_CATCH to catch - CORBA_Exception. - -Thu Jan 07 14:34:04 1999 Nanbor Wang - - * tao/try_macros.h (TAO_CATCHANY,TAO_CATCHALL): Changed - TAO_CATCHANY to catch CORBA_Exception or its subclasses only. - Another macro TAO_CATCHALL was added to facilitate the use of - "catch (...)". TAO_CATCHALL translates to a no-op on platforms - without native exception support. - - This change is aim to unify the error handling behavior of TAO - programs on platforms with or without native exceptions. "catch - (...)" is evil anyway. - - * tao/Connect.cpp (handle_input): Changed to use TAO_CATCHANY and - TAO_CATCHALL. - -Thu Jan 07 07:16:29 1999 David L. Levine - - * orbsvcs/orbsvcs/Event/RT_Task.cpp (svc): initialize local - "priority" to 0 to avoid warning about uninitialized use - from DEC cxx with DCE threads. - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp (shutdown): fixed - if (_env.exception () == 0) test to be - if (_env.exception () != 0). Thanks to Russ Noseworthy - for providing the fix. - -Thu Jan 07 05:07:33 1999 Douglas C. Schmidt - - * TAO version 0.2.48 released. - -Thu Jan 07 04:06:51 1999 Irfan Pyarali - - * Connect.cpp (check_unexpected_data): Made the checks for 0 and - -1 from recv() the same. 0 is a graceful shutdown, while -1 is a - somewhat ugly shutdown. Both will result in this function - returning -1 and this connection getting closed. - - * Invocation.cpp (invoke): Added asserts to check for failures in - resume_handler(). - -Wed Jan 06 16:44:06 1999 David L. Levine - - * TAO version 0.2.47 released. - -Wed Jan 06 16:16:40 1999 David L. Levine - - * orbsvcs/Time_Service/Server_i.cpp (init_IR): added .in () - dereference to "time_service_server_". - -Wed Jan 6 15:33:10 1999 Jeff Parsons - - * DynStruct_i.cpp: - Even though this had already been fixed with respect to - the latest compile problem, I noticed that the line in - this file that contains ACE_Array_Base<> should be - changed to something better that's already used in a - couple of the other DynAny classes. - -Wed Jan 6 15:29:10 1999 Vishal Kachroo - - Commented out some IR related code for the build to go through. - * orbsvcs/Time_Service/Server_i.h (class Server_i): - * orbsvcs/Time_Service/Server_i.h: - -Wed Jan 06 15:03:44 1999 David L. Levine - - * examples/Simple/echo/Client_i.cpp (echo_list): added .in () - dereference to "ior". - -Wed Jan 06 14:07:15 1999 Nanbor Wang - - * tao/Exception.{h,cpp} (TAO_DONT_CATCH): - * tao/try_macros.h: Reverted my previous change about not using - catch (...) on TAO_CATCHANY for debug build. This "feature" is - turned on only when you define TAO_DONT_CATCH_DOT_DOT_DOT. - Thanks to Irfan for persuading me. - -Wed Jan 6 13:44:29 1999 Vishal Kachroo - - * orbsvcs/Time_Service/Server_i.h (class Server_i): Addded the - IR related code. - -Wed Jan 06 13:29:04 1999 David L. Levine - - * tao/DynStruct_i.cpp: removed ACE_Array_Base - instantiation because it's in DynArray_i.cpp. - -Wed Jan 6 14:05:21 EST 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_array/array_ch.cpp: - - g++ was issuing warnings for the helper methods defined for - arrays (e.g., _alloc, _dup, _copy, _free). These warnings - appeared only when the helper methods were in the outermost - global scope because they were defined static and the compiler - could not find their implementation. Thus, we now do not - generate the "static" keyword for these helpers if they are in - the outermost scope. However, this change made Sun C++ compiler - unhappy since it did not like the _free and _alloc in the inline - file (*.i) and their forward declarations did not have the - inline word. So now also generate the ACE_INLINE macro for the - _free and _alloc methods if they are in the outermost scope. Now - both compilers are happy. Hopefully others are too. - - * TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp: - TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp: - - The var and out implementation was not guarded by the #if - !defined conditionla. As a result, there were instances when we - could get multiple definitions. Thanks to Virginie Amar - for submitting the bugreport. - - We had also forgotten to set the "is_generated" flag to true - once we had generated code for the sequence node. - - * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp: - - Since we now use the TAO_Object_Field_T for object reference - members of union, we couldn't call CORBA::release in the "reset" - method. We now simply call "delete". - -Wed Jan 06 11:55:25 1999 Nanbor Wang - - * examples/Simple/echo/Client_i.cpp (echo_list): Changed to of - type Echo::List_var to free up the return value. The returned - string from object_to_string must be freed properly. - -Wed Jan 6 09:31:16 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - The UDP_Receiver::init() method should only create the RT_Info - if it is not there already. Thanks to Dave Meyer - and J. Russell Noseworthy - for providing this fix. - -Wed Jan 06 09:04:46 1999 Carlos O'Ryan - - * docs/releasenotes/TODO.html: - Updated the information about EC related tasks. - - * docs/releasenotes/ec.html: - Added the new features in the EC; removed the entries about a - missing CosEventChannel, because we have one now! - - * docs/releasenotes/index.html: - Added some comments for Pradeep. - -Wed Jan 6 07:44:24 1999 Carlos O'Ryan - - * tao/DynStruct_i.cpp: - Removed the last use (hopefully) of ACE_Array<> - -Wed Jan 06 02:58:28 1999 Irfan Pyarali - - * TAO_Examples.dsw - * POA/Explicit_Activation/Makefile - * POA/Generic_Servant/Makefile - * POA/Generic_Servant/server.dsp - * POA/Loader/Loader.dsw - * POA/Loader/Makefile - * POA/Loader/server.dsp - * POA/On_Demand_Activation/On_Demand_Activation.dsw - * POA/On_Demand_Activation/server.dsp - * POA/On_Demand_Activation/Makefile - * POA/On_Demand_Loading/Makefile - * POA/On_Demand_Loading/On_Demand_Loading.dsw - * POA/On_Demand_Loading/server.dsp - - - Changed the name of the Generic Servant dynamic library from - MyFoo back to Generic_Servant. This was causing too many - things to break on NT since the original settings were based - on the Generic_Servant name. - - - Removed excess include directories in the make setting. - - - Fixed NT make files (including release settings) and made them - conform with the existing makefiles. - - * POA/On_Demand_Loading/Servant_Activator.cpp - * POA/On_Demand_Loading/Servant_Locator.cpp - * POA/Loader/Servant_Activator.cpp - * POA/Loader/Servant_Locator.cpp - * POA/Loader/Server_Manager.cpp - - - Removed access includes files. - - * POA/On_Demand_Loading/Servant_Manager.cpp: Fixed use of ACE_CString. - -Tue Jan 5 22:36:54 1999 Nanbor Wang - - * tao/default_server.{h,cpp}: - * tao/default_client.{h,cpp}: - * tao/ORB_Core.{h,cpp}: We also need to define/declare static - services for platform without svc.conf support. - -Tue Jan 5 18:27:26 1999 Vishal Kachroo - - * orbsvcs/Time_Service/Server_i.cpp (init): Added the IR related - code. - -Tue Jan 5 17:44:53 1999 Carlos O'Ryan - - * tao/DynAnyC.h - * tao/DynAnyC.i - * tao/DynSequence_i.h: - * tao/DynStruct_i.h: - Removed some other uses of ACE_Array in favor of ACE_Array_Base, - in these cases there was no need for the operator== and/or - operator!= - -Tue Jan 05 15:40:20 1999 Nanbor Wang - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (init_orb): - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp (initialize_orb): - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp (init): - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp (init): - Removed explicit call to when - building static lib version on Win32 since we can now use them - as static service (and configure them thru svc.conf.static - file.) - - * performance_tests/Cubit/TAO/IDL_Cubit/svc.conf.static: - * performance_tests/Cubit/TAO/MT_Cubit/svc.conf.static: Added two - example svc.conf files to show how to use static services. - - * tao/orbconf.h: Changed the format of XXX_FACTORY_ARGS strings for - platforms without svc.conf support to a single char string. - These entries should look like this now: - - "static TAO_Foobar_Factory \"-ORBsettings a -ORBset b\"" - - * tao/TAO_Internal.{h,cpp}: Removed method open_services which - takes separate argument lists for each of the TAO default - service. Service initialization is now done in a more general - way. - -Tue Jan 05 14:32:11 1999 Irfan Pyarali - - * tao/Object.i (_narrow): _narrow must increase the reference - count on the object. Thanks to Ron Barack for - reporting this bug. - -Tue Jan 05 14:21:57 1999 Nanbor Wang - - * tao/TAO_Internal.cpp (open_services): Added insertion of - default static service objects of TAO. I forgot to do that. - -Tue Jan 5 13:06:12 1999 Vishal Kachroo - - * examples/Simple/bank/Client_i.cpp (withdraw): Removed the - cast and used the .in () method instead. This would probably - fix the error on DU cxx. - -Tue Jan 05 07:57:40 1999 David L. Levine - - * examples/Simple/bank/Client_i.cpp (withdraw): added in () - dereference of except->reason. Thanks to Andy for figuring - out how to get this to compile now. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp,client.cpp, - MT_Cubit/Task_Client.cpp: removed VxWorks #ifdefs that disabled - ORB shutdown, because it no longer causes a MemPartFree with - last night's remove () fixes to ace/Synch. - -Tue Jan 05 04:51:02 1999 Nanbor Wang - - * tao/TAO_Internal.cpp: - * tao/ORB_Core.{h,cpp}: - * tao/default_server.{h,cpp}: - * tao/default_client.{h,cpp}: Added definitions for static service - objects and enabled TAO to use static services if - TAO_USES_STATIC_SERVICE is defined. This will allow platforms - that doesn't support dynamic linking to change TAO's behavior at - run-time. - -Mon Jan 04 17:48:17 1999 Irfan Pyarali - - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp (for_suppliers): - Fixed typos. - -Mon Jan 4 16:52:08 1999 Vishal Kachroo - - Added the following project files for Time Service on NT. - * orbsvcs/Time_Service/Time_Service.dsw - * orbsvcs/Time_Service/Time_Service_Clerk.dsp - * orbsvcs/Time_Service/Time_Service_Server.dsp - - * orbsvcs/tests/Time/Time_Service_Test.dsw - * orbsvcs/tests/Time/Time_Service_Test.dsp - - * orbsvcs/tests/Time/Client_i.cpp: Changed the TAO_CATCHANY to - TAO_CATCH (SystemException, sysex). The former somehow wasn't - catching CORBA::NO_IMPLEMENT on NT. - - -Mon Jan 4 16:30:27 1999 Jeff Parsons - - * tao_idl/be/be_visitor_union_branch/private_ch.cpp: - * tao_idl/be/be_visitor_union_branch/public_access_cs.cpp: - * tao_idl/be/be_visitor_union_branch/public_assign_cs.cpp: - * tao_idl/be/be_visitor_union_branch/public_ci.cpp: - Implemented TAO_Object_Field_T in place of foo_ptr - for objects inside a union, so that _upcast() and - _downcast() will work. - -Mon Jan 04 16:08:49 1999 David L. Levine - - * orbsvcs/orbsvcs/CosEvent/Event_Channel_i.cpp (for_consumers): - added missing ; at end of statement. - - * TAO_IDL/Makefile: with GreenHills gcx, added -w to CCFLAGS - to suppress many warnings about TAO_YY_BREAK statements being - unreachable. - -Mon Jan 4 14:29:49 EST 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp: - - For the [] operator, instead of returning a - TAO_SeqElem_String_Manager, we were generating - TAO_String_Manager. - - * tests/Param_Test/objref.cpp - tests/Param_Test/ub_objref_seq.cpp: - - There were instances of incorrect assignment between a - String_var and a TAO_String_Manager. - -Mon Jan 04 12:45:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Runtime_Scheduler.{cpp, h} - orbsvcs/orbsvcs/Scheduler_Utilities.{h, i}: added - ACE_NEW_THROW_RETURN, lots of comments. - -Mon Jan 04 12:04:37 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/CosEvent/* - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp: - Another code review for Pradeep. - -Mon Jan 4 07:39:27 EST 1999 Aniruddha Gokhale - - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - - The code was written with the assumption that a string member of - a struct gets mapped to CORBA::String_var. However, due to the - recent changes made to the IDL compiler where a string member - gets mapped to a TAO_String_Manager caused several problems in - the Trader code. This happened when the string member was - assigned directly to a CORBA::String_var class. The right way to - do this is to use the "in ()" method on the TAO_String_Manager - class to retrieve the underlying string. - - * tao/Managed_Types.h - tao/ORB.h: - - I had forgotten to include the Managed_Types.i file when the - ACE_INLINE macro is defined. This was causing all kinds of - undefined symbol errors at link time. However, it turns out that - the Managed_Types.i file uses operations such as - CORBA::string_free that get used before their inline definition - is seen in ORB.i. The solution to this dependency problem is to - include Managed_Types.i after ORB.i in the file ORB.h. - - * tao/{Sequence, Sequence_T}.{i,cpp} (operator []): - - Moved the definition of the [] operator to the *.cpp file since - it was using the inline constructor of the - TAO_SeqElem_String_Manager before it was defined. - - * tao/Managed_Types.i: - - Some missing ACE_INLINE added. - -Mon Jan 04 00:15:13 1999 Darrell Brunsch - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - Updated to work with recent changes to the ORB (specifically the - IIOP_Object constructor and ORB_Core::addr()). - -Sun Jan 03 23:05:08 1999 Irfan Pyarali - - * tao/TAO_Static.dsp: - * tao/TAO.dsp: - - Added Managed_Types.cpp to build. - -Sun Jan 03 22:42:22 1999 David L. Levine - - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp (TAO_UTO): moved "/2" out of - the ACE_U64_TO_U32 conversion, because dividing an ACE_U_LongLong - by an int results in an ACE_UINT32. - -Sun Jan 3 22:01:37 1999 Vishal Kachroo - - * orbsvcs/Time_Service/Server_i.cpp: - Used rebind () instead of bind (). Because servers dont handle ^C, - once bound contexts stay bound till the Naming Service is up. - This was already being done for clerks. Commented out the IR part. - Fixed warnings in init() and run() methods. - - * orbsvcs/Time_Service/Server_i.h: - Added some comments. Also commented out the IR part, so I could - fix the warnings pointed out by David and check the files in. - - * orbsvcs/Time_Service/Clerk_i.cpp: - Added some comments. Commented out the IR part. Removed warnings - for unreferenced variables - -Sun Jan 03 21:39:49 1999 Irfan Pyarali - - * tao/POA.cpp (encode_sequence_to_string): Removed extra call to - isascii(). It's followed by an isprint(): if byte is printable, - then it must be ascii. Thanks to David Levine and Chris - Cleeland for helping with this. - -Sun Jan 3 21:10:42 1999 Vishal Kachroo - - Addded a new function to check if it is the first server or clerk. - If it is then get a new context and bind it to the Name Server. - The subsequent servers and clerks will bind to this context. The - way this was being done previously is by clearing the exception - and checking the return value of NamingContext::resolve (). Was - working fine on Solaris but threw an exception on NT. I am now - handling the exception appropriately. Also corrected a memory - problem using CORBA::string_dup. - - * orbsvcs/Time_Service/Server_i.cpp: - * orbsvcs/Time_Service/Server_i.h: - * orbsvcs/Time_Service/Clerk_i.cpp: - * orbsvcs/Time_Service/Clerk_i.h: - -Sun Jan 3 20:30:00 1999 Chris Gill - - * docs/releasenotes/index.html: added TAO Scheduling Service section - -Sun Jan 3 19:22:23 1999 Pradeep Gore - - * orbsvcs/CosEvent_Service/CosEvent_Service.h: - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp: - * orbsvcs/CosEvent_Service/README: - * orbsvcs/CosEvent_Service/Makefile: - added the above files for the COS Event Service. - -Sun Jan 3 18:56:51 1999 Jeff Parsons - - * tao/DynSequence_i.{h,cpp}: - * tao/DynStruct_i.{h - - * examples/POA/On_Demand_Loading/On_Demand_Loading.dsw: - * examples/POA/On_Demand_Loading/"POA On_Demand_Loading Server.dsp": - Added the NT workspace for the On_Demand_Loading example. - - * examples/POA/Loader/Loader.dsp: - * examples/POA/Loader/"POA Loader Server.dsp": - Added the NT workspace for the Loader example. - - * examples/POA/Generic_Servant/Server.dsp: - Changed the settings of the project so that MyFoo.dll is produced as output. - -Sun Jan 3 19:27:01 EST 1999 Aniruddha Gokhale - - * tao/Managed_Types.{h,i,cpp}: - - Three new files added. These define and implement the various - manager classes such as TAO_String_Manager, - TAO_SeqElem_String_Manager that are required by the IDL to C++ - mapping for struct members that are strings and sequences of - strings, respectively. We had to resort to two different - managers because the managed type for sequence of strings must - obey the value of the release data member of the sequence - class. Other than this, the semantics are the same. - - * tao/ORB.h: - - Included the newly added Managed_Types.h file. - - * tao/{Sequence, Sequence_T}.{h,i,cpp}: - - Moved the TAO_String_Manager to the Managed_Types.* files. In - addition, we now use TAO_SeqElem_String_Manager for the return - type of the [] operator. - - * TAO_IDL/be/be_visitor_array/array.cpp (visit_string): - - Arrays of strings now use the TAO_String_Manager as its element - type instead of CORBA::String_var. This was required to conform - to the IDL->C++ mapping. - - * TAO_IDL/be/be_visitor_field/field_ch.cpp (visit_string): - - Struct memebrs that are strings now use the TAO_String_Manager - as its type instead of CORBA::String_var. This was required to conform - to the IDL->C++ mapping. - - * TAO_IDL/be/be_visitor_sequence/elemtype.cpp - TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp - TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp - - The generated code now produces TAO_SeqElem_String_Manager - instead of TAO_String_Manager for the [] operator. - - * docs/releasenotes/index.html: - - Updated to reflect latest status. Also, removed some old - comments that are no longer applicable. - -Sun Jan 3 17:32:27 1999 Jeff Parsons - - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Vistors.cpp: - Added some casting to fix some conversion warnings I was - getting while rebuilding with VC5. - -Sun Jan 3 13:12:27 1999 Vishal Kachroo - - Added the TAO_ORBSVCS_Export macro to the following files. - - * orbsvcs/orbsvcs/Time/Timer_Helper.h - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h - * orbsvcs/orbsvcs/Time/TAO_UTO.h - * orbsvcs/orbsvcs/Time/TAO_TIO.h - -Sat Jan 2 17:32:35 1999 Pradeep Gore - - * orbsvcs/tests/CosEC_Basic/CosEC_Basic.cpp: - split the method over 3 other methods - - , and . - -Sat Jan 02 11:15:48 1999 David L. Levine - - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp (obtain_push_supplier): - added .in () dereference to rtecproxypushsupplier. - - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp (obtain_push_consumer): - added .in () dereference to rtecproxypushconsumer. - - * examples/Simple/grid/Client_i.cpp (test_grid): added - ACE_UNUSED_ARG (ret_val) to avoid compiler warning with ACE_NDEBUG. - - * orbsvcs/Time_Service/Clerk_i.cpp (get_first_IOR): added - .in () dereference to obj. - -Fri Jan 1 23:31:48 1999 Pradeep Gore - - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.h: - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp: - corrections to comments after code review. - - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h: - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp: - using ACE_NEW now. - - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h: - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp: - using ACE_NEW now. - - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h: - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp: - uses ACE_NEW now, added a method, - connect_push_consumer method throws AlreadyConnected and - BAD_PARAM exceptions. - - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h: - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp: - uses ACE_NEW now. - - * orbsvcs/tests/CosEC_Basic/CosEC_Basic.h: - changed method names to init,run and shutdown. - corrections to comments after code review. - - * orbsvcs/tests/CosEC_Basic/CosEC_Basic.cpp: - added checks for return errors. - - * orbsvcs/tests/CosEC_Basic/CosECSupplier.h: - * orbsvcs/tests/CosEC_Basic/CosECSupplier.cpp: - corrections to comments after code review. - method now deactivates - the Supplier object. - - * orbsvcs/tests/CosEC_Basic/CosECConsumer.h: - * orbsvcs/tests/CosEC_Basic/CosECConsumer.cpp: - corrections to comments after code review. - method now deactivates - the Comsumer object. - -Fri Jan 1 18:11:07 1999 Vishal Kachroo - - * orbsvcs/Time_Service/Clerk_i.cpp : Used _duplicate () - on the server IORs. This overcomes the automatic deletion of memory. - - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp : Used the advance () method - to iterate over the ACE_Array. The ACE_Unbounded_Set which was being - used earlier did not require this method to be used. - -Fri Jan 01 16:48:23 1999 David L. Levine - - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp (TAO_UTO): replaced cast - with ACE_U64_TO_U32 macro invocation. - - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: added - ACE_Array_Base explicit instantiation. - - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: added - a bunch of TAO_find explicit instantiations. - -Fri Jan 1 13:33:33 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp: Removed a ; at the end of a - function. Digital Unix 4.0 was throwing a warning for this. - -Fri Jan 1 12:29:28 1999 Carlos O'Ryan - - * orbsvcs/Makefile: - Added the Time_Service directory. - - * orbsvcs/Time_Service/Clerk_i.h: - * orbsvcs/Time_Service/Clerk_i.cpp: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp: - * orbsvcs/orbsvcs/Time/Timer_Helper.h: - * orbsvcs/orbsvcs/Time/Timer_Helper.cpp: - Use ACE_Array_Base instead of ACE_Unbounded_Set because it does - not require an == or != operator defined. - - * tao/DynArray_i.h: - * tao/DynArray_i.cpp: - Use ACE_Array_Base instead of ACE_Array. - -Fri Jan 1 11:51:42 1999 Vishal Kachroo - - Removed some VxWorks errors like 'TAO_TRY_LABEL unreferenced' in - the following files. - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp: - * orbsvcs/orbsvcs/Time/TAO_TIO.cpp: - * orbsvcs/orbsvcs/Time//TAO_UTO.cpp: - * orbsvcs/orbsvcs/Time//TAO_Time_Service_Clerk.cpp: - -Fri Jan 01 02:45:18 1999 Irfan Pyarali - - * TAO_IDL/be/be_visitor_array/array_ci.cpp (gen_forany_impl and - gen_var_impl): There is no cast required for assigning a pointer - to zero. Thanks to Patrice Bensoussan - for reporting this bug. - - * Active_Object_Map.i: Rearranged functions to remove "redeclared - inline after being called" warnings. Thanks to David for - pointing these out. diff --git a/TAO/ChangeLog-99c b/TAO/ChangeLog-99c deleted file mode 100644 index 3e07d1e7650..00000000000 --- a/TAO/ChangeLog-99c +++ /dev/null @@ -1,9544 +0,0 @@ -Wed Jul 14 12:34:46 1999 David L. Levine - - * examples/Callback_Quoter/Makefile: reverted - change that disabled on LynxOS. It seems to build - fine, with inlining and debug enabled. See - Wed Jul 14 12:34:46 1999 David L. Levine - -Thu Jul 15 11:02:57 1999 David L. Levine - - * examples/Callback_Quoter/Notifier_i.cpp: removed - ACE_Hash and ACE_Equal_To - explicit instantiations, because they're in tao/POA.cpp. - Thanks to Denis Ouellet for - reporting this. - -Thu Jul 15 02:29:33 1999 Nanbor Wang - - * tao/POA.cpp (create_reference_with_id_i): Reverted back to use - find_system_id_using_user_id () from - find_servant_and_system_id_using_user_id (). It has different - semantics to what we expected. We need something that can find - the system id using appropriate strategy, at the same time, - return the servant if one is available. Before we have that - function, basically generates - broken collocated object when DIRECT collocation strategy is - used. - -Wed Jul 14 21:49:52 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h: - added #define _MATH_H_WRAPPER with exceptions and g++. - We #define exception when #including math.h, and so - does egcs. The _MATH_H_WRAPPER #define disables egcs'. - -Wed Jul 14 21:44:57 1999 Nanbor Wang - - * tao/Object.cpp (_is_a): Should return 0 instead of - CORBA::Object::_nil when prepare_for_upcall failed. Thanks to - Carlos for pointing this out. - -Wed Jul 14 21:35:12 1999 Nanbor Wang - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp (invoke): This function - also uses ORB::key_to_object. Thanks to EGCS for pointing this - out. - -Wed Jul 14 21:21:35 1999 Ossama Othman - - * performance-tests/Cubit/TAO/IDL_Cubit/README: - - Updated with descriptions of options that support the newly - added enable/disable test feature. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.{h,cpp}: - - Added ability to specify which tests should be run and which - ones shouldn't be run. This modification helps with isolating - certain test timeprobes. - -Wed Jul 14 21:18:23 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_array/array_cs.cpp: - In code generation for the foo_copy() method, modified code to - check for more than one level of typedef when determining if - the element type is a typedef of another array type. - -Wed Jul 14 18:07:00 1999 Nanbor Wang - - * tao/POA.cpp (create_reference_i,create_reference_with_id_i): - (servant_to_reference,id_to_reference_i): All these methods - should generate collocated object reference. Thanks to Francois - Bernier for reporting the bug. - - * tao/ORB.{h,cpp} (key_to_object): The function now takes two - extra arguments and to create collocated - object reference. Actually, this seems to be the only use case - for key_to_object. - - * tao/Object.cpp (_is_a): Fixed the collocation resolving scheme - so that thru_poa collocated calls don't go remote and collocated - _is_a calls obey the collocated strategy use by the servants. - - Thanks to Irfan for helping this change. - -Wed Jul 14 17:23:23 1999 Jeff Parsons - - * TAO_IDL/be/be_sunsoft.cpp: - Added a 'f' at the end of a printed floating point literal, to - avoid the MSVC warning, since it reads decimal constants as - doubles. - -Wed Jul 14 17:03:16 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_scope.cpp: - Cosmetic changes. - - * TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp: - Fixed be_visitor_structure_cdr_op_ci::post_process() to skip the - generation of "&&\n" if the node argument is an enum value, - since the just-completed visit to that node generated no code. - -Wed Jul 14 16:23:56 1999 Carlos O'Ryan - - * tao/Reply_Dispatcher.cpp: - Use new CDR_Stream methods to efficiently steal the contents - from one CDR stream into another (without any extra memory - allocations). - - * tao/Stub.cpp: - Removed unnecesary lock, updated comments in - relative_rountrip_timeout() with respect to locking because it - is a bit suttle. - -Wed Jul 14 15:35:51 1999 Irfan Pyarali - - * tao/ORB.cpp: set_unexpected() is declared in unexpect.h on MVS. - Thanks to Jim Rogers for sending the - patches for this. - -Wed Jul 14 13:19:36 1999 Carlos O'Ryan - - * tao/Client_Strategy_Factory.cpp: - * tao/Client_Strategy_Factory.h: - * tao/Resource_Factory.cpp: - * tao/Server_Strategy_Factory.cpp: - * tao/Server_Strategy_Factory.h: - * tao/default_client.cpp: - * tao/default_client.h: - * tao/default_server.cpp: - * tao/default_server.h: - Moved the connector_lock() creation from the server strategy - factory to the client strategy factory. Thanks to Phil Mesnier - for reporting this problem. This fixes - [BUGID:17] - - * docs/Options.html: - * docs/configurations.html: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf.dynamic: - * performance-tests/Cubit/TAO/IDL_Cubit/collocation/svc.conf: - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf: - * tests/Collocation/svc.conf: - Updated the documentation and the svc.conf files that were using - that option. - -Wed Jul 14 12:43:51 1999 David L. Levine - - * tao/TAO.cpp (init): replaced "RootPOA" with TAO_OBJID_ROOTPOA. - -Wed Jul 14 12:34:46 1999 David L. Levine - - * examples/Callback_Quoter/Makefile: don't build on/for - LynxOS, because of ugly template instantiation problem - with its old g++: - POA.cpp: multiple definition of - `ACE_Hash::operator()(ACE_CString const &) const' - .obj/Notifier_i.o:$(ACE_ROOT)/ace/Functor_T.i:38: first defined here - -Wed Jul 14 11:44:46 1999 David L. Levine - - * rules.tao.GNU: on WIN32 hosts, attempt to set the - CPP_LOCATION environment variable if it had not been - set. Requires Bourne shell and sed. If those requirements - aren't met, at least the user might find out sooner rather - than later that CPP_LOCATION must be set on WIN32. - -Wed Jul 14 09:44:39 1999 Jeff Parsons - - * TAO/tests/Param_Test/param_test/idl: - * TAO/tests/Param_Test/var_struct.cpp: - Added some members to the struct - types smaller than 4 bytes - between the dynamic types and a double at the beginning. Also - added the checks in test_validity(). This will test more - thoroughly for a recurrence of the alignment problems that - were recently fixed. - -Wed Jul 14 02:27:44 1999 Nanbor Wang - - * tests/Collocation/Coll_Tester.cpp: - * tests/Collocation/Coll_Tester.h: - * tests/Collocation/Collocation.dsp: - * tests/Collocation/Collocation.dsw: - * tests/Collocation/Diamond.idl: - * tests/Collocation/Diamond_i.cpp: - * tests/Collocation/Diamond_i.h: - * tests/Collocation/README: - * tests/Collocation/main.cpp: - * tests/Collocation/svc.conf: New collocation support sanity check. - -Tue Jul 13 22:09:31 1999 David L. Levine - - * orbsvcs/ImplRepo_Service: removed ACE_Equal_To - explicit instantiation, because it's in tao/POA.cpp. - Thanks to Denis Ouellet for - reporting this. - -Tue Jul 13 21:51:45 1999 Ossama Othman - - * utils/Makefile (DIRS): - - Removed `nslist' from the list of directories since there is no - such directory. - -Tue Jul 13 21:43:30 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - * tao/Wait_Strategy.cpp: - The follower must be removed immediately after it is - signalled. Otherwise it may be signalled twice, once because it - received its reply and another time to become the leader; in - that case the second signal is lost and nobody becomes the - leader. Thanks to Marina for helping debug and test this - problem. - - * orbsvcs/tests/Simple_Naming/client.cpp: - Work around IRIX/MIPSPro bug. - -Tue Jul 13 20:57:20 1999 Jeff Parsons - - * TAO_IDL/include/ast-decl.h: - * TAO_IDL/include/utl_scope.h: - Added forward declarations of class Identifier to - hopefully help out AIX w/IBM C++. - -Tue Jul 13 18:41:05 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union_branch/cdr_op_ci.cpp: - Modified CDR extraction operator to handle the rather unique - case where a union member is a sequence typedef included from - another file. The union's extraction operator creates a - temporary, which means the visitor needs type info from the - sequence node, which it now gets from the alias node in its - context, if necessary. Thanks to - Dwayne Burns for sending in the - example. - -Tue Jul 13 17:38:20 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp: replaced new - operators with ACE_NEW_THROW_EX macros. - -Tue Jul 13 16:05:44 1999 Carlos O'Ryan - - * tao/Acceptor_Registry.cpp: - * tao/Protocol_Factory.h: - * tao/IIOP_Factory.cpp: - * tao/IIOP_Factory.h: - * tao/UIOP_Factory.cpp: - * tao/UIOP_Factory.h: - Some protocols (like UIOP) should not create endpoints unless - the user requires one; the problem is that they tend to leave - garbage on the filesystem (in the future we may have the same - problem with shared memory segments or semaphores) if the server - crashes. - The current behavior is to automatically create an IIOP endpoint - if the user does not specify any -ORBendpoint options, yet the - UIOP protocol is loaded by default and uiop endpoints (including - uiop://) can be specified in the command line. - This fixes [BUGID:22] - -Tue Jul 13 14:57:38 1999 Ossama Othman - - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: - - Increased client and server timeout values for the UIOP run. - Heavily loaded machines may need more time. - -Tue Jul 13 12:39:54 1999 Ossama Othman - - * tao/UIOP_Transport.cpp (send_request): - - Updated to match IIOP's send_request() method. - -Tue Jul 13 12:22:11 1999 Carlos O'Ryan - - * tao/Sequence_T.h: - * TAO_IDL/be_include/be_argument.h: - * TAO_IDL/be_include/be_array.h: - * TAO_IDL/be_include/be_attribute.h: - * TAO_IDL/be_include/be_constant.h: - * TAO_IDL/be_include/be_decl.h: - * TAO_IDL/be_include/be_enum.h: - * TAO_IDL/be_include/be_enum_val.h: - * TAO_IDL/be_include/be_exception.h: - * TAO_IDL/be_include/be_expression.h: - * TAO_IDL/be_include/be_field.h: - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be_include/be_interface_fwd.h: - * TAO_IDL/be_include/be_module.h: - * TAO_IDL/be_include/be_native.h: - * TAO_IDL/be_include/be_operation.h: - * TAO_IDL/be_include/be_predefined_type.h: - * TAO_IDL/be_include/be_root.h: - * TAO_IDL/be_include/be_scope.h: - * TAO_IDL/be_include/be_sequence.h: - * TAO_IDL/be_include/be_state.h: - * TAO_IDL/be_include/be_stream_factory.h: - * TAO_IDL/be_include/be_string.h: - * TAO_IDL/be_include/be_structure.h: - * TAO_IDL/be_include/be_sunsoft.h: - * TAO_IDL/be_include/be_type.h: - * TAO_IDL/be_include/be_typedef.h: - * TAO_IDL/be_include/be_union.h: - * TAO_IDL/be_include/be_union_branch.h: - * TAO_IDL/be_include/be_union_label.h: - * TAO_IDL/be_include/be_valuetype.h: - * TAO_IDL/be_include/be_valuetype_fwd.h: - * TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h: - Added #includes required by AIX template instantiation - mechanisms. - -Tue Jul 13 11:03:38 1999 Carlos O'Ryan - - * tests/OctetSeq/run_test.pl: - * examples/POA/On_Demand_Activation/run_test.pl: - * examples/POA/On_Demand_Loading/run_test.pl: - * examples/POA/Reference_Counted_Servant/run_test.pl: - Fine tune the timeouts for slower (or loaded systems) - -1999-07-13 Yamuna Krishnamurthy - - * TAO_IDL/be/be_visitor_operation/operation_is.cpp (visit_operation): - * TAO_IDL/be/be_visitor_operation/operation_ih.cpp (visit_operation): - Fixed the duplicate generation of the ACE_THROW_SPEC macro - Thanks to Rick H. Wesson for informing the bug - - * TAO_IDL/be/be_visitor_interface/interface_is.cpp (visit_interface): - * TAO_IDL/be/be_visitor_interface/interface_ih.cpp (be_visitor_interface_ih): - Modified the code generated to avoid dominance problem with - multiple inheritance - -Tue Jul 13 09:53:57 1999 Fred Kuhns - - * Moved the implementation of TAO_Stub::add_forward_profiles - outside of the TAO_HAS_CORBA_MESSAGING ifdef's. Thanks to - Stefan for identifying this bug. - -Tue Jul 13 08:15:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.{cpp, h}: Added accessors - for maps and trees, various counts. These are needed so the reconfig - scheduler can be extended by delegation (via a wrapper) as well as - by inheritance. This is needed to avoid a multiple inheritance - "diamond of death[TM]" if it is being extended by a servant for - and interface that inherits from RtecScheduler::Scheduler. - -Tue Jul 13 07:47:12 1999 David L. Levine - - * tao/ORB.cpp (_tao_add_to_IOR_table): made the 0 string - index unsigned, to avoid ambiguous operator [] overload - resolution with VC++ 6.0 and Green Hills. Thanks to - Andy for reporting the problem on VC++ 6.0. - -Mon Jul 12 23:06:28 1999 Nanbor Wang - - * TAO_IDL/be_include/be_interface.h: - * TAO_IDL/be_include/be_interface.cpp (compute_coll_name): Fixed - the misgenerating collocation class names problem when compile - multiple-inherited interfaces. Thanks to Francois Bernier - for reporting the bug. - -Mon Jul 12 21:42:27 1999 Ossama Othman - - * tao/GIOP.cpp (process_server_request): - * tao/IOR_LookupTable.cpp (find_ior): - * tao/ORB.cpp (_tao_find_in_IOR_table): - - Debugging output was attempting to print the name of the object - found in the object key, which isn't null terminated. However, - due to performance considerations, that string is not copied. - Only pointer to the object_key is used during the IOR lookup. - Hence, the string *cannot* be null terminated since doing so - would modify the contents of the object key. For the moment, - the only solution is to remove the debugging output - entirely. [Bug 56] - - * tao/POA.cpp (encode_sequence_to_string): - - CORBA::string_alloc() is being used to allocate space for a - string so there is no need to explicitly allocate space for a - null terminator since CORBA::string_alloc() already does it. - -Mon Jul 12 21:44:24 1999 Jeff Parsons - - * tao/deep_free.cpp: - Added code in TAO_Marshal_Struct::deep_free() to keep the - pointer aligned as it frees each member. Thanks to - David Brock and to - John Morey for sending in examples - that pointed out the need for this. - -Mon Jul 12 20:40:38 1999 Carlos O'Ryan - - * tao/ORB.cpp: - The ORB returned from CORBA::ORB_init() should be duplicated - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - Use an ORB-per-thread to minimize contention and simplify memory - managment of per-ORB-per-thread resources. - - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf: - Fixed the InputCDRAllocator argument - -Mon Jul 12 19:23:47 1999 Jeff Parsons - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: - Modified a lex rule to accept the output of the new - preprocessor used by the HP/UX folks. - -Mon Jul 12 16:59:23 1999 Nanbor Wang - - * tao/try_macros.h: Updated comments regarding how to re-enable - the deprecated TAO try macros and moved the comments to make - them more obvious. Thanks to Carlos and Phil Y. Wang - for reporting this. - - * tao/Exceptions.h: Moved the macro definition of TAO_RAISE from - to here. It's really an TAO-specific macros. - -Mon Jul 12 16:10:20 1999 David L. Levine - - * tao/orbconf.h: only use TAO_USE_SEQUENCE_TEMPLATES on _UNICOS. - This solves the template instantiation problem on ghs/Solaris. - Thanks to Carlos for diagnosing the problem. Ref: - Thu Jun 24 22:18:52 1999 Doug Anderson . - -Mon Jul 12 15:49:33 1999 Irfan Pyarali - - * examples/POA/RootPOA/RootPOA.cpp (main): Added environment - variable to resolve_initial_references ("RootPOA"). - -Mon Jul 12 15:40:39 1999 Nanbor Wang - - * tao/TAO.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: Merged additional MFC - configuration. Thanks to John Morey for - submitting the patch. - -Mon Jul 12 15:15:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.{cpp, h}: Fixed behavior - of the reconfig scheduler so that it can be configured to return a - default value instead of throwing an exception if a schedule had not - been computed. This is the behavior of the DynSched implementation. - Thanks to Tom Venturella for - reporting this. - -Mon Jul 12 14:58:13 1999 Irfan Pyarali - - * tests/NestedUpcall/Simple/server.cpp: Fixed constness warning. - - * examples/POA/Forwarding/MyFooServant.cpp: - * tests/POA/Identity/Identity.cpp: - * tests/POA/Deactivation/Deactivation.cpp: - - Added ACE_UNUSED_ARGs. - -Mon Jul 12 14:46:43 1999 Carlos O'Ryan - - * examples/Event_Comm/Consumer.dsp: - * examples/Event_Comm/Notifier.dsp: - * examples/Event_Comm/Supplier.dsp: - * orbsvcs/tests/Trading/TradingLib.dsp: - * performance-tests/Latency/client.dsp: - * performance-tests/Latency/server.dsp: - * tests/Faults/client.dsp: - * tests/Faults/server.dsp: - Fixed dependencies in the Custom Build rules, many .idl files - did not depend on the IDL compiler. - -Mon Jul 12 14:18:53 1999 Jeff Parsons - - * tao/ValueFactory_Map.cpp: - Added some inits to 0 to avert Linux/egcs warnings. - -Mon Jul 12 13:54:45 1999 David L. Levine - - * tao/ORB_Core.cpp (TAO_ORB_Core): fixed MVS "from" codeset - translator. Thanks to Jim Rogers for - this fix. - -Mon Jul 12 12:58:01 1999 Jeff Parsons - - * TAO_IDL/util/utl_scope.cpp: - Corrected a mistake in the logic that caused a - failed lookup of a field to be given the type of - the previous field (if any). As a by-product, the - use of 'int' as a type (illegal) causes a lookup - error output for '_cxx_int'. This is not wholly - informative, but the corresponding syntax error - (based on the parse state) is 'illegal component - in scoped name', which is even less informative. - Thanks to Surovegin Eugene - for pointing out the code generation problem. - -Mon Jul 12 12:25:53 1999 Nanbor Wang - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: Fixed some broken idl - flags. Added -I../../tao flag to when compiling all idl files - so people won't have trouble compiling orbsvcs even when they - don't have ACE_ROOT or TAO_ROOT defined. - Thanks to John Morey for suggesting this. - - * TAO-INSTALL.html: - * docs/compiler.html: Added more explanation about setting - TAO_ROOT or ACE_ROOT. - -Mon Jul 12 10:47:18 1999 David L. Levine - - * tao/ORB_Core.cpp (reactor): check for non-zero return - from get_tss_resources (). If 0, print error message - about no more TSS keys and return 0. This allows the - MT_Cubit server to fail gracefully if it runs out of - TSS keys (it uses one key per thread). Also, added the - non-zero check to all other uses of get_tss_resources () - in the file. [Bug 57] - -Mon Jul 12 10:43:54 1999 Ossama Othman - - * tao/ORB.cpp (resolve_initial_references): - - Fixed bug where the object ID was not being properly appended - to multiple endpoints when using -ORBDefaultInitRef. The task - of appending the object ID is now the responsibility of - TAO_Connector::make_mprofile() which actually gets invoked when - an CORBA::string_to_object() call is made. The code in - resolve_initial_references() was redundant code since the code - in TAO_Connector::make_mprofile() already existed and is better - suited to handle pluggable protocols. -ORBDefaultInitRef now - works properly with all of TAO's pluggable protocols. - - * tao/Pluggable.cpp (make_mprofile): - - Fixed a bug where the location of the object key was being - evaluated everytime an addr from an endpoint with multiple addrs - was parsed. The object key location should only be evaluated - once. Endpoint searches were also being made throughout the - entire length of the IOR. Endpoint searches should only occur - after the protocol specification and before the object key. - This fixes a bug that was preventing -ORBDefaultInitRef from - working properly when given an argument with multiple - endpoints. - - * tao/UIOP_Acceptor.cpp: - * tao/UIOP_Connect.cpp: - * tao/UIOP_Connector.cpp: - * tao/UIOP_Factory.cpp: - * tao/UIOP_Profile.cpp: - * tao/UIOP_Transport.cpp: - - Moved some headers outside of the ACE_LACKS_UNIX_DOMAIN_SOCKETS - guard to make sure we include the configuration header so that - ACE_LACKS_UNIX_DOMAIN_SOCKETS gets defined when necessary. This - fixes compilation on platforms that don't support UNIX domain - sockets, such as Win32. - - * tao/params.cpp (TAO_ORB_Parameters): - - Added default_init_ref_ to the member initializer list. - - * tao/TAO.dsp: - - Added the UIOP pluggable protocol files to the project. Their - contents will actually get #ifdefed out on Win32 platforms but - it is good to add them to the project to be consistent. - -Mon Jul 12 10:32:53 1999 David L. Levine - - * tao/*.h: inserted pragma once into a bunch of headers - that didn't have it. Thanks to Ossama for reporting this. - -Mon Jul 12 09:55:46 1999 Jeff Parsons - - * TAO_IDL/include/AST_Interface.h: - * TAO_IDL/ast/AST_Interface.cpp: - Modified fwd_redefinition_helper method to allow for - reopened modules. - -Mon Jul 12 09:50:22 1999 Steve Huston - - * tao/DynUnion_i_T.cpp: Added #include "tao/Any.h" to pick up the - extract operators during template instantiation on IBM C++. - - * TAO_IDL/driver/drv_preproc.cpp: Added +W 67 to CPP args for HP - aC++ - this shuts up the "invalid #pragma name" warnings from IDL. - -Mon Jul 12 09:00:47 1999 David L. Levine - - * tao/Exception.cpp (_tao_errno): conditionally compile - the ENOSYS case only if ENOSYS != EFAULT, to allow - building on BCB4, for example. Thanks to - Eugene Surovegin for reporting - this problem and providing the fix. [Bug 60] - -Mon Jul 12 08:04:20 1999 David L. Levine - - * examples/Simple/time-date/Makefile: removed Time_DateC.o, - Time_DateS.o, and Time_Date_i.o from SIMPLE_SVR_OBJS. This - allows the server to be linked without warnings on DU 5.0. - And, it allows the example to function as intended, i.e., - the servants are now linked in at runtime. [Bug 59] - -Mon Jul 12 00:05:33 1999 nanbor - - * TAO version 0.4.1 released. - -Sun Jul 11 14:14:56 1999 Jeff Parsons - - * TAO_IDL/util/utl_scope.cpp: - Further mod to lookup functions in response to a bug - in compiling TAO/examples/Event_Comm.idl. - -Sun Jul 11 12:15:00 1999 Chris Gill - - * Reconfig_Scheduler_T.{cpp, h}, - Reconfig_Sched_Utils.{cpp, h}: Fixes for nightly build log errors - and warnings. Changed exception from UNKNOWN_TASK to INTERNAL, - added ACE_TYPENAME for traits, moved DFS ordering function from - scheduler to scheduling strategy. - -Sun Jul 11 03:25:07 1999 Nanbor Wang - - * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp - (assign_priorities_i): - (init): The assignment operator of auto_ptr takes another - auto_ptr, not the pointer itself. - -Sat Jul 10 23:46:18 1999 Nanbor Wang - - * docs/Options.html: - * docs/configurations.html: More updates to the configuration - document. - -Sat Jul 10 21:56:54 1999 Ossama Othman - - * tao/UIOP_Acceptor.h: - * tao/UIOP_Acceptor.cpp (open_i, close): - - Added an "unlink_on_close_" member that flags whether or not the - UIOP rendezvous point should be unlinked when closing the - acceptor. Currently this flag is only unset when an "address - already in use" error (EADDRINUSE) occurs. An existing - rendezvous point shouldn't be unlinked if errno == EADDRINUSE - since it may be in use by another UIOP server/client. [Bug 52] - - * tao/UIOP_Acceptor.cpp (create_mprofile): - - Initialized a pointer to zero to prevent potential uninitialized - variable warnings. - - Minor coding style updates. - - * tao/UIOP_Profile.cpp (parse_string): - - Inadvertently checked for incorrect return value while setting - the rendezvous point in the underlying ACE_UNIX_Addr. The - problem was introduced when I fixed another problem. URL style - object references are working again for UIOP. - -Sat Jul 10 20:31:36 1999 Nanbor Wang - - * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp (init): Changed - the use of auto_ptr::reset to release-and-assign since some - compilers are still implementaing the C++ standard draft, which - doesn't has reset() in auto_ptr. - -Sat Jul 10 19:40:41 1999 Darrell Brunsch - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: Removed a warning - on EGCS about the variable being used possibly - uninitialized. - - * orbsvcs/tests/ImplRepo/nestea_server_i.cpp: Removed a warning - on MSVC about a */ being found outside a comment. - - * orbsvcs/tests/ImplRepo/run_test.pl: Instead of killing the - servers at the end of the *_ir tests, shut them down with - tao_ir. - -Sat Jul 10 19:20:55 1999 Nanbor Wang - - * examples/Simple/bank/Account_i.{h,cpp}: - * examples/Simple/echo/Echo_i.{h,cpp}: Added no-op copy - constructors to fool old g++ (2.7.2.3). - -Sat Jul 10 18:54:50 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - Fixed warnings on HP-UX/aCC, thanks to Eric Mitchell for - facilitating the resources to find these problems. - -Sat Jul 10 17:35:45 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp: - Added an init to 0 in each file to avert SunOS egcs warnings. - -Sat Jul 10 15:53:59 1999 Alexander Babu Arulanthu - - * tao/Transport_Mux_Strategy.cpp: Single lined the #pragma lines - to fix the warnings in VxWorks. Thanks to David for reporting - this and for Carlos for coming up with the solution. - -Fri Jul 9 19:12:14 1999 Ossama Othman - - * tao/UIOP_Acceptor.{h,cpp} (open_i, rendezvous_point): - * tao/UIOP_Profile.{h,cpp}: - - Moved the rendezvous point verification method to the UIOP - acceptor since it is the acceptor that should verify the - rendezvous point. Previously, the rendezvous point was checked - on the client only when URL style object references were being - used. That behavior was incorrect. - - * tao/Acceptor_Registry.cpp (open): - - Comment updates. - - * tao/IIOP_Connector.cpp (preconnect): - - Updated default preconnect port to be 683 instead of 9999 since - the default port for CORBA 3 will be 683, as assigned by the - IANA. - - * tao/IIOP_Profile.cpp (parse_string): - - Updated some brittle code and added some additional error checks. - -Fri Jul 9 21:50:00 1999 Michael Kircher - - * TAO_IDL/be/be_visitor_argument/ami_handler_vardecl_cs.cpp: - Fixed a not reachable switch statement. - -Fri Jul 9 20:40:54 1999 Jeff Parsons - - * TAO_IDL/include/utl_scope.h: - * TAO_IDL/util/utl_scope.cpp: - Extensive mods to lookup_by_name(), lookup_by_name_local(), and - iter_lookup_by_name_local() so they will traverse the scope tree - above the starting point and check for reopened modules. - -Fri Jul 09 18:54:40 1999 Irfan Pyarali - - * version_tests.dsw (Project): Fixed location of POA Deactivation - project. - -Fri Jul 9 17:21:26 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_field/cdr_op_ci.cpp: - Fixed two typos (misplaced parens) in generated code. - -Fri Jul 9 16:47:34 1999 Ossama Othman - - * tao/IIOP_Connector.cpp (preconnect): - - If no port is specified then a default port of 9999 should be - used, as stated in the spec. - -Fri Jul 9 16:44:49 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp: - Fixed several typos and misleading ACE_ERROR messages. - -Fri Jul 9 16:41:32 1999 Balachandran Natarajan - - * examples/Persistent_Grid/Grid_i.cpp: - * examples/Persistent_Grid/Grid_i.h: - * examples/Persistent_Grid/Makefile: - * examples/Persistent_Grid/Simple_util.cpp: - * examples/Persistent_Grid/server.cpp: Implemented Dr.Schmidt's - suggestions. Did a bit a code clean up. Tested on SunCC 5.0 and - g++ on SunOS5.5.1 - -Fri Jul 09 16:12:32 1999 Nanbor Wang - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp - (visit_interface): - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp - (be_visitor_interface_any_op_cs): Added appropriate storage - class specifiers to the collocation stub factory function - pointer and the dummy pointer initializer integer. Hopefully, - this will eliminate the bazillion warnings from OSF1. - -Fri Jul 9 16:04:42 1999 Ossama Othman - - * tao/Invocation.cpp (start): - - Removed request_hdr time probe. It is replaced by the time - probes described below. - - * tao/{IIOP,UIOP}_Transport.cpp (start_request): - - Removed send_request() time probe and added one to - start_request() since the time spent in start_request() is more - important for benchmarking. - -Fri Jul 9 15:22:20 1999 Marina Spivak - - * orbsvcs/Naming_Service/Naming_Service.cpp: - Added a check for error conditions in the method, after - , in order to shut down gracefully. - -Fri Jul 9 14:26:28 1999 Jeff Parsons - - * TAO_IDL/be_include/be_string.h: - * TAO_IDL/be_include/be_predefined_type.h: - * TAO_IDL/be/be_string.cpp: - * TAO_IDL/be/be_predefined_type.cpp: - Added overrides for 2nd signature of overloaded - compute_tc_type() virtual function in base class be_type. - Averts warnings from KAI compiler. - -Fri Jul 9 14:10:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.{cpp, h} - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.{cpp, h}: - Added ACE_TYPENAME before traits that depend on parameterized - types, in order to fix compiler errors on HP-UX. Thanks to - Carlos O'Ryan for pointing these out. - -Fri Jul 9 12:59:05 1999 Balachandran Natarajan - - * examples/Simple/grid/Grid_i.h : - * examples/Simple/grid/Grid_i.cpp :Fixed a warning on - HP_UX. Thanks to Carlos for reporting this. - -Fri Jul 9 11:14:03 1999 Ossama Othman - - * docs/releasenotes/index.html: - - Updated the UIOP pluggable transport protocol usage guidelines - about the importance of using absolute and relative paths - consistently with a given UIOP rendezvous point. - -Fri Jul 9 10:58:41 1999 Carlos O'Ryan - - * orbsvcs/tests/Property/run_test.pl: - Print messages to stderr to make the output readable - - * orbsvcs/ImplRepo_Service/Makefile: - Updated dependencies - - * examples/OBV/Typed_Events/run_test.pl: - Added missing run_test script - -Fri Jul 9 01:55:57 1999 Nanbor Wang - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp - (visit_interface): Fixed type mismatch warning on KCC. - - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp - (visit_interface): Fixed unused argument warnings on egcs. - -Fri Jul 09 01:00:40 1999 Nanbor Wang - - * tao/DynAnyC.cpp: Removed a duplicated template instantiation. - - * tao/Connector_Registry.cpp (preprocess_preconnects): Added a - static cast to a ssize_t value to avoid MSVC warnings. - -Thu Jul 8 23:34:42 1999 Balachandran Natarajan - - * examples/Persistent_Grid/README: - * examples/Persistent_Grid/Grid_Client_i.cpp: - * examples/Persistent_Grid/Grid_i.cpp: - * examples/Persistent_Grid/Persistent_Client_i.cpp: - * examples/Persistent_Grid/Simple_util.cpp: - * examples/Persistent_Grid/client.cpp: - * examples/Persistent_Grid/persistent_client.cpp: - * examples/Persistent_Grid/server.cpp: - * examples/Persistent_Grid/Grid_Client_i.h - * examples/Persistent_Grid/Grid_i.h - * examples/Persistent_Grid/Persistent_Client.h - * examples/Persistent_Grid/Simple_util.h - * examples/Persistent_Grid/run_test.pl - * examples/Persistent_Grid/Makefile - * examples/Persistent_Grid/Persistent_Grid.dsw - * examples/TAO_Examples.dsw - * examples/Persistent_Grid/Persistent_Grid_Server_Files.dsp: - * examples/Persistent_Grid/Persistent_Grid_Client_Files.dsp: - * examples/Persistent_Grid/Persistent_Grid_Client_Second_Files.dsp: - A new example added to show the persistence nature of the - server. Please refer to the README file in that directory for - info on how to build and run the tests. - -Thu Jul 08 23:55:46 1999 Michael Kircher - - * tao/TAO.dsp - * tao/TAO_Static.dsp: Added the Files Pollable{C,S}.{h,cpp} - and Asynch_Invocation.{h,cpp} to the MSVC project files. - -Thu Jul 08 23:29:46 1999 Nanbor Wang - - * tao/Servant_Base.{h,cpp}: Removed the _create_collocated_objref method. - - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: Changed to use - a collocation stub factory function pointer to generate - collocated stubs. The hook (function pointer) is defined in - *C.{h,cpp} and default to 0. If the skeleton file is linked - with the stub file, the hook will be initialized to use a - factory function defined in the skeleton file. - - * TAO_IDL/be/be_visitor_interface/thru_poa_collocated_sh.cpp: - * TAO_IDL/be/be_visitor_interface/thru_poa_collocated_ss.cpp: We - no longer need to initialize thru_poa stubs with a servant - pointer. Also removed get_servant() method from thru_poa stub. - - * TAO_IDL/be/be_visitor_interface/any_op_ch.cpp: - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp: Borrow these two - file to define the collocation stub factory function pointer. - -Thu Jul 8 22:55:59 1999 Alexander Babu Arulanthu - - * Thanks to Michael Kircher and Carlos, we have put together most - of the TAO_IDL code and tao code for the AMI call back - implementation. This commit is the result of the merging process - between the "ami_phase3" branch and the current branch. - - * Most of the support for the AMI Callback is added. But all the - AMI specific code is conditionally compiled using - "TAO_HAS_CORBA_MESSAGING" and "TAO_POLLER". - -Thu Jul 8 21:50:02 1999 Carlos O'Ryan - - * tests/CDR/run_test.pl: - The code to check for errors was broken. - - * tao/PolicyC.cpp: - Added missing template instantiation - -Thu Jul 08 21:47:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/DynSched.cpp - orbsvcs/orbsvcs/Sched/SchedEntry.cpp - orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp - orbsvcs/orbsvcs/Time/TAO_UTO.cpp: made constants unsigned, added - explicit type casts to resolve type promotion ambiguities. - -Thu Jul 8 21:31:40 1999 Carlos O'Ryan - - * tao/Typecode.cpp: - Added missing template instantiation. - -Thu Jul 8 21:02:58 1999 Ossama Othman - - * tao/Connector_Registry.cpp (preprocess_preconnects): - - Minor fix for case when preconnect string contains no - preconnects (e.g.: "iiop://"). - - * tao/{IIOP,UIOP}_Connect.cpp: - - Cosmetic updates. - -Thu Jul 8 17:18:36 1999 Ossama Othman - - * tao/params.{h,cpp}: - - Changed the preconnects container to an - ACE_Unbounded_Queue since it allows duplicate - values and since it has already been instantiated in ACE. Since - it has already been instantiated in ACE, no increase in TAO's - footprint will occur. Furthermore, since the preconnect - processing is not in a performance critical path, no degradation - in performance will occur. [Bug 4] - - * tao/Connector_Registry.{h,cpp}: - - Added a new preprocess_preconnects() method to "squeeze" all - protocol similar preconnects into a single string. This - preprocessing gets around having to iterate over all of the - loaded protocols in each protocol connector. Protocol iteration - will remain in the connector registry. Furthermore, - preprocessing the preconnects in this manner also makes it - easier for protocol implementers to parse the preconnects. - [Bug 4] - - * tao/Protocol_Factory.{h,cpp}: - * tao/IIOP_Factory.{h,cpp}: - * tao/UIOP_Factory.{h,cpp}: - - Added a prefix() method that returns the expected prefix for the - given transport protocol. One such method already exists in - each protocol's Profile class. However, it makes more sense to - get the prefix from the protocol factory in the case that this - newly added method is used, currently only in preconnect - processing. [Bug 4] - - * tao/ORB_Core.cpp (init): - - The preconnect provided on the command line wasn't being - "consumed" during command line parsing. Thanks to Steve Totten - for reporting this problem and providing a - fix. [Bug 39] - - Update related to the preconnect fixes described above. [Bug 4] - - * tao/ORB_Core.h (TAO_ORB_Core): - - Comment updates. - -Thu Jul 8 16:30:40 1999 Carlos O'Ryan - - * tao/Sequence_T.h: - * tao/Sequence_T.i: - * tao/Sequence_T.cpp: - Sequences of pseudo objects require a different Object_Manager - class - - * TAO_IDL/be/be_visitor_sequence/elemtype.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp: - Fixed to generate the new Pseudo_Object_Manager<> class - - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ci.cpp: - The T::_nil() method is defined in the header file to work - around g++ problems. - - * tao/DomainC.cpp: - * tao/DomainC.i: - * tao/DynAnyC.cpp: - * tao/DynSequence_i.cpp: - * tao/MessagingC.cpp: - * tao/PollableC.cpp: - * tao/Request.cpp: - Added missing template instantiations - - * orbsvcs/orbsvcs/Channel_Clients_T.h: - Added missing default parameters - -Thu Jul 08 15:55:17 1999 David L. Levine - - * tao/Invocation.cpp (start): changed a couple of constants - from signed to unsigned, to avoid overload resolution - ambiguity with ACE_U_LongLong operations. - -Thu Jul 8 15:32:09 1999 Kirthika Parameswaran - - * docs/Options.html: Added default values to CORBS::ORB options, - ORBNAmeServicePort, ORBTradingServicePort, ORBSvcConf, - ORBDottedDecimalAddress, and ORBImplRepoPort. - -Thu Jul 8 14:41:37 1999 Douglas C. Schmidt - - * docs/configurations.html: Added some comments and enhanced this - description. - -Thu Jul 8 14:36:20 1999 Balachandran Natarajan - - * docs/Options.html: Added 'default' values for the ORB - configuration options in TAO_Resource_Factory, - TAO_Default_Server_Strategy_Factory & - TAO_Default_Client_Strategy_Factory.. - - * tests/Xt_Stopwatch/run_test.pl: Added run_test.pl for spawning - the server & client processes - -Thu Jul 8 14:23:52 1999 Jeff Parsons - - * TAO_IDL/include/utl_scope.h: - * TAO_IDL/util/utl_scope.cpp: - Modified *_lookup_by_name_* family of functions to backtrack - if necessary to check for reopened modules when trying to - look up a scoped name. - -Thu Jul 8 13:06:01 1999 Jeff Parsons - - * tao/DynArray_i.cpp: - Changed - - //****************************** - - to - - // ****************************** - - Evidently, SunCC 5.0 sees the second and third - characters as a /*, whereas other compilers - don't. Thanks to Alex for reporting this error. - -Thu Jul 08 12:05:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.cpp: added "TO DO" - comment for direct dependency lookups in subpriority assignment. - -Thu Jul 08 11:00:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/DynSched.cpp - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp: fixed undeclared - symbol typo, type conversion errors from nightly builds. - -Thu Jul 08 10:28:25 1999 David L. Levine - - * orbsvcs/orbsvcs/Time_Utilities.i (TimeT_to_Time_Value): - use ACE_U_ONE_SECOND_IN_NSECS instead of the signed constant, - to avoid overload ambiguity now that we have an ACE_U_LongLong - conversion to ptr_arith_t. - -Thu Jul 08 09:59:47 1999 David L. Levine - - * docs/releasenotes/orbcore.html: updated description of - errno component of CORBA_SystemException minor code. We - now maintain the low 7 bits of unexpected errnos. - -Wed Jul 7 22:05:22 1999 Balachandran Natarajan - - * tests/Xt_Stopwatch/client.cpp: - * tests/Xt_Stopwatch/Client.h - * tests/Xt_Stopwatch/Control.cpp - * tests/Xt_Stopwatch/Control.h - * tests/Xt_Stopwatch/Stopwatch_display.h - * tests/Xt_Stopwatch/Stopwatch_display.cpp - * tests/Xt_Stopwatch/server.cpp - * tests/Xt_Stopwatch/test_i.cpp - * tests/Xt_Stopwatch/test_i.h - * tests/Xt_Stopwatch/test_i.i - * tests/Xt_Stopwatch/timer.cpp - * tests/Xt_Stopwatch/timer.h - * tests/Xt_Stopwatch/README - * tests/Xt_Stopwatch/svc.conf: Added a new example to illustrate - the usage of the XtReactor from TAO. The server creates a small - display dialog and the client displays a dialog with a start and - stop button. On pressing the start button the server dialog box - starts a stopwatch. On the pressing the stop the stopwatch - stops. On repressing the start the stopwatch resets and start - all over again. - -Wed Jul 07 21:28:00 1999 Chris Gill - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp - orbsvcs/orbsvcs/Sched/DynSched.cpp - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.cpp - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.{cpp, h} - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.{cpp, h} - orbsvcs/tests/Sched_Conf/Sched_Conf.cpp - orbsvcs/tests/Sched_Conf/Sched_Conf_Anomalies.cpp - orbsvcs/tests/Sched_Conf/Sched_Conf_Runtime.cpp: bug fixes from - testing the reconfig scheduler alongside the config scheduler. - Reconfig scheduler now executes with no exceptions and generates - a schedule in the Sched_Conf test. - -Wed Jul 7 21:16:24 1999 Douglas C. Schmidt - - * tao/ORB.cpp (multicast_to_service): Revised the code to use - TAO_DEFAULT_IOR_SIZE rather than 2*BUFSIZ since we can - explicitly control this size, whereas BUFSIZ ranges a lot across - platforms. - - * tao/orbconf.h: Added a new macro called TAO_DEFAULT_IOR_SIZE, - which is set to 1024. - -Wed Jul 7 20:36:20 1999 Marina Spivak - - * tao/ORB.{h,cpp} - * orbsvcs/orbsvcs/IOR_Multicast.cpp: - Buffer of size BUFSIZ, which is used to receive the ior from - Naming/Trading service in response to a multicast message, was - allocated off the stack. On some platforms (notably, NT), BUFSIZ - wasn't big enough to house the ior, so the ior got truncated, - and weird things happenned. Updated the code, to allocate - buffer space for ior dynamically, if what was allocated off the - stack wasn't enough. To make this simpler, changed - method in TAO_IOR_Multicast to reply to the - client with iovec, containing the length of the ior, followed by - the ior itself. - - Fixed several memory leaks and other bugs in the surrounding code. - -Wed Jul 07 19:51:00 1999 Chris Gill - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp - orbsvcs/orbsvcs/RtecScheduler.idl - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.cpp - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp: fixed casting - problems reported by GHS and OSF1 builds. - -Wed Jul 7 19:24:00 1999 Carlos O'Ryan - - * docs/Options.html: - * tao/Makefile: - * tao/default_resource.h: - * tao/default_resource.cpp: - * tao/xt_resource.h: - * tao/xt_resource.i: - * tao/xt_resource.cpp: - Removed the ReactorType from the default resource factory, - it simply did not work because the context was not properly - initialized. - Added a new Resource_Factory that can create XtReactors, but - only after the context has been properly set. - - * tests/FL_Cube/svc.conf: - Fixed the reactor type for this example - - * tests/Xt_Stopwatch/client.cpp: - * tests/Xt_Stopwatch/server.cpp: - * tests/Xt_Stopwatch/svc.conf: - Use the new TAO_XT_Resource_Factory in this example. - -Wed Jul 07 18:26:58 1999 Irfan Pyarali - - * tao: Fixed determination of collocation. It is not necessary to - have a servant for a object to be collocated. A servant manager - or a default servant will also do. Now Nanbor needs to take - advantage of these changes by changing _narrow appropriately. - -Wed Jul 07 16:25:05 1999 David L. Levine - - * tao/corbafwd.h,Exception.cpp (_tao_errno,_info): - 1) Added support for these errnos: - EAGAIN, ENOMEM, EACCES, EFAULT, EBUSY, EEXIST - 2) Changed minor code to use 5 bits for location and - 7 for errno encoding, instead of 8 and 4, respectively. - 3) If an unknown errno is given to _tao_errno, it - returns the low 7 bits. These are stored directly - in the 7 bit minor code field. _info then prints - out the value. Not perfect, due to the loss of - information, but it often provides a lot more useful - information than it did before. [Bug 18] - -Wed Jul 7 16:14:55 1999 Carlos O'Ryan - - * tao/Sequence_T.h: - * tao/Sequence_T.cpp: - Fixed assignment from TAO_Object_Field_T<> to - TAO_Object_Manager<>. - -Wed Jul 7 15:50:10 1999 Vishal Kachroo - - * orbsvcs/orbsvcs/IOR_Multicast.cpp: Removed some commented out - code that was not required. - -Wed Jul 7 15:35:24 1999 Ossama Othman - - * docs/Options.html: - - Added documentation for the -ORBProtocolFactory option. - - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: - - Changed some print statement to print on stderr so that they get - printed before the tests actually run. - - * tao/UIOP_Acceptor.{h,cpp}: - - Added a destructor to aid in post-error rendezvous point clean - up. - - * tao/Acceptor_Registry.cpp (~TAO_Acceptor_Registry): - - Added a call to TAO_Acceptor_Registry::close_all () in the - TAO_Acceptor_Registry destructor. The call in the destructor - shouldn't be necessary since close_all () is already called by - the ORB, but it is safer to add the call to the destructor. - - * tao/Acceptor_Registry.cpp (open, open_default): - * tao/Connector_Registry.cpp (open): - - Added some useful and/or missing error checks. - - Fixed some memory leaks that may occur when an error occurs. - - * tao/Connector_Registry.cpp (TAO_Connector_Registry): - - Added connectors_ member to the member initializer list. - - * tao/Connector_Registry.cpp (create_profile): - * tao/default_resource.cpp (init): - - Explicitly initialized some variables to fix potential - "uninitialized variable" warnings. - - * tao/default_resource.cpp: - - Added protocol_factories_ member to TAO_Default_Resource_Factory - member initializer list. - - Fixed potential memory leaks due to failed (and unlikely) - insertions into the protocol factory set. - - * tao/Resource_Factory.h (TAO_Protocol_Item): - - Minor spelling correction in comment. - -Wed Jul 7 14:24:08 1999 Carlos O'Ryan - - * tao/Makefile: - * tao/varout.h: - * tao/varout.i: - * tao/varout.cpp: - * tao/CDR_Interpreter.cpp: - * tao/DomainC.cpp: - * tao/DynAnyC.cpp: - * tao/IORC.cpp: - * tao/IORC.h: - * tao/IORC.i: - * tao/IORManipulation.cpp: - * tao/MessagingC.cpp: - * tao/ORB.cpp: - * tao/ORB_Core.h: - * tao/Object.cpp: - * tao/PolicyC.cpp: - * tao/PollableC.cpp: - * tao/decode.cpp: - * tao/deep_free.cpp: - * tao/encode.cpp: - Changed TAO_Object_Field_T to take two arguments, that way it - can have an assignment operator from Object_Manager and properly - increment the reference count in that case [BUGID:16] - - * TAO_IDL/Makefile: - * TAO_IDL/be/be_sequence.cpp: - * TAO_IDL/be/be_visitor_sequence.cpp: - * TAO_IDL/be/be_visitor_field/field_ch.cpp: - * TAO_IDL/be/be_visitor_interface/any_op_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/elemtype.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_object_manager_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_object_manager_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_access_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - * TAO_IDL/be_include/be_sequence.h: - * TAO_IDL/be_include/be_visitor_sequence/sequence_ch.h: - * TAO_IDL/be_include/be_visitor_sequence/sequence_ci.h: - The IDL compiler generates proper code with two arguments now. - - * tests/Param_Test/tmplinst.cpp: - Fixed template instantiations - - * examples/Simple/bank/run_test.pl: - * orbsvcs/tests/Property/run_test.pl: - Fixed output and fine tune execution time. - -Wed Jul 07 13:07:09 1999 David L. Levine - - * rules.tao.GNU: removed check for whether we should add - -Wno-uninitialized with g++. We were no longer using - it anyways, and the check was causing a warning if the - compiler wasn't on the user's PATH. - -Wed Jul 7 12:59:14 1999 Carlos O'Ryan - - * tao/Invocation.cpp: - Fixed the timeout computations so it works in platforms without - native 64 bit ints. - - * tao/ORB.cpp: - It was not compiling in platforms without native C++ - exceptions. - -Wed Jul 7 12:49:13 1999 Carlos O'Ryan - - * orbsvcs/Concurrency_Service/Concurrency_Service.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp: - * orbsvcs/tests/Concurrency/CC_client.cpp: - * orbsvcs/tests/Concurrency/CC_command.cpp: - * orbsvcs/tests/Concurrency/CC_naming_service.cpp: - * orbsvcs/tests/Concurrency/CC_test_utils.cpp: - * orbsvcs/tests/Concurrency/CC_tests.cpp: - The concurrency service compiles now, and does not use any of - the old TAO_TRY macros. It is still disabled because it is so - rarely used. - - * tests/NestedUpcall/Simple/Makefile: - Updated dependencies - -Wed Jul 07 12:41:17 1999 Nanbor Wang - - * docs/compiler.html: Added documentation on how to control the - generation of collocation stubs of different strategies. - -Wed Jul 07 09:47:58 1999 Irfan Pyarali - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp - (~Cubit_Factory_i): Removed the deactivation of the servant in - ~Cubit_Factory_i. The deactivation was actually already - performed when ORB::shutdown was called. When the deactivation - was happening again in ~Cubit_Factory_i, implicit activation was - actually reregistering the servant, just to be immediately - deactivate it. I would not have noticed this if it weren't for - the fact that on some platforms, the second deactivation occurs - before the shutdown() upcall completes, causing the second - deactivation to fail since the servant is still in the active - object map. - -Wed Jul 7 03:17:52 1999 Nanbor Wang - - * docs/Options.html: Removed the -ORBReactorLock entry into the - Resource_Factory section and replaced it with a note. Removed - the -ORBColTable entry from the Resource_Factory section. - - Removed the -ORBColTblLockType entry from the - Server_Strategy_Factory section. - - Added the -ORBEventLoopLock entry into the - Server_Strategy_Factory section. Added the -ORBProtocolFactory - entry into the Resource_Factory section. Somebody, document us. - -Tue Jul 6 22:23:01 1999 Douglas C. Schmidt - - * orbsvcs/tests/AVStreams/benchmark/run_test.pl: - * orbsvcs/tests/CosEC_Multiple/run_test2.pl: - * orbsvcs/tests/EC_Multiple/run_test.pl: - * orbsvcs/tests/Event_Latency/run_test.pl: - * orbsvcs/tests/Simple_Naming/run_test.pl: - * orbsvcs/tests/Property/run_test.pl, - * orbsvcs/tests/EC_Custom_Marshal/run_test.pl, - * orbsvcs/tests/EC_Throughput/run_test.pl: - Updated these scripts to use Naming_Server rather than Naming_Service - to match the change described in the next bullet. - - * orbsvcs/Naming_Service: Renamed the executable for the Naming Service - to "Naming_Server", which is more descriptive. - - * orbsvcs/Naming_Service: Created a new file called Naming_Server.cpp - that contains the main() function. This makes it easy for folks - to reuse the TAO Naming Service in other ways, such as - integrating it with the Windows NT Service Config Manager. - Thanks to Gul Onural for suggesting this. - -Tue Jul 06 22:22:00 1999 Chris Gill - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp: added explicit - template instantiations for auto_ptr classes. - -Tue Jul 6 16:54:32 1999 Marina Spivak - - * orbsvcs/Naming_Service/Naming_Service.cpp: Fixed several - 'unreachable statements' warnings in method. - -Tue Jul 6 16:35:19 1999 Fred Kuhns - - * replaced calls to printf in IORTest.ccp with ACE_DEBUG - -Tue Jul 6 15:55:12 1999 Nanbor Wang - - * docs/Options.html: - * tao/ORB_Core.cpp (init): Merged the flags '-ORBCollocation yes/no' - and '-ORBGlobalCollocation yes/no'. The collocation policy is - now controlled only by the flag '-ORBCollocation - yes/global/per-orb/no'. Thanks to Irfan for suggesting this. - -Tue Jul 6 15:31:01 1999 Carlos O'Ryan - - * tao/GIOP.h: - * tao/GIOP.cpp: - * tao/IIOP_Transport.h: - * tao/IIOP_Transport.cpp: - * tao/Pluggable.h: - * tao/Pluggable.cpp: - * tao/UIOP_Transport.h: - * tao/UIOP_Transport.cpp: - * tao/Wait_Strategy.cpp: - Completed the implementation of timeouts when using - Block_On_Read (RW) and Block_On_Select (ST) client connection - handlers. [BUG ID 12] - - * tests/Timeout/run_test.pl: - Fine tune the test so there are more significant samples in the - execution. - -Tue Jul 06 15:05:11 1999 David L. Levine - - * orbsvcs/Scheduling_Service/Makefile: added - -I$(TAO_ROOT)/orbsvcs/orbsvcs/Sched, so that DU cxx 6.2 - can find Reconfig_Scheduler_T.cpp for template instantiation. - -Tue Jul 06 14:15:00 1999 Chris Gill - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.h - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.{cpp, h}: - added missing template instantiations, fixed exception - specification problems reported by Sun C++, OSF1 cxx. - - -Tue Jul 06 13:00:00 1999 Irfan Pyarali - - * tao/Object_Adapter.cpp (servant_locator_cleanup): Using the - zero'ness of the cookie to determine if we need to call the - servant locator method is not a good idea since the - cookie itself might be set to zero by the user. Therefore, a new - and separate variable is used for this - purpose. - - * tao/POA.cpp: Made sure to setup and teardown the single threaded - poa lock for servants returned from servant managers. Thanks to - Mike Moran for pointing this out. - - In addition, _add_ref() was not being invoked on a servant - returned from a servant activator. This is fixed now. - - * tao/ORB.cpp (_get_collocated_servant): Factored out some common - code into <_find_collocated_servant>. - -Tue Jul 6 12:05:46 1999 Carlos O'Ryan - - * examples/Simple/bank/run_test.pl: - Remove the IOR file before running the server - - * examples/Simple/bank/Bank_Client_i.cpp: - Fixed debugging messages. - -Tue Jul 06 11:36:37 1999 David L. Levine - - * orbsvcs/tests/EC_Multiple/Makefile: don't build EC_Multiple - with g++ prior to 2.8, because it causes g++ 2.7.2.3 (the - compiler) to core dump. - -Tue Jul 6 11:31:44 1999 Carlos O'Ryan - - * tests/MT_Client/client.cpp: - Fixed warning in IRIX when compiled without debugging info. - -Tue Jul 6 11:01:57 1999 Ossama Othman - - * tao/UIOP_Connector.cpp (connect): - - Minor update to size of character array that is only used when - ORB debugging output is enabled. - -Tue Jul 6 10:25:35 1999 Carlos O'Ryan - - * tests/Timeout/Makefile: - Added -Ge 1 flag to the IDL compiler invocation - -Tue Jul 6 09:42:31 1999 Jeff Parsons - - * tao/Invocation.cpp: - Cast the arguments in a call to ACE_Time_Value::set to long from - CORBA::ULongLong to avert an MSVC warning. - -Mon Jul 5 21:20:18 1999 Carlos O'Ryan - - * tao/Connector_Registry.h: - * tao/Connector_Registry.cpp: - * tao/GIOP.h: - * tao/GIOP.cpp: - * tao/Wait_Strategy.h: - * tao/Wait_Strategy.cpp: - * tao/Invocation.h: - * tao/Invocation.cpp: - * tao/Pluggable.h: - * tao/Pluggable.cpp: - * tao/Reply_Dispatcher.cpp: - * tao/Transport_Mux_Strategy.cpp: - * tao/UIOP_Connector.h: - * tao/UIOP_Connector.cpp: - * tao/UIOP_Transport.h: - * tao/UIOP_Transport.cpp: - * tao/IIOP_Connector.h: - * tao/IIOP_Connector.cpp: - * tao/IIOP_Transport.h: - * tao/IIOP_Transport.cpp: - Added support for timeouts in the ORB. - The Invocation classes keep track of the total time allowed for - the request, this time is used to limit the duration of every - expensive operation (connecting to the server, sending the - request, receiving the reply, etc.). - After each operation the total time is decremented, this is - specially important if the operation requires transparent - rebinds and forwarding. - - * tao/corbafwd.h: - * tao/Exception.cpp: - * tao/docs/Tags.html: - Added new minor codes to document the timeouts. - - * tests/Makefile: - * tests/Timeout/Makefile: - * tests/Timeout/README: - * tests/Timeout/client.cpp: - * tests/Timeout/run_test.pl: - * tests/Timeout/server.cpp: - * tests/Timeout/test.idl: - * tests/Timeout/test_i.cpp: - * tests/Timeout/test_i.h: - * tests/Timeout/test_i.i: - A simple test for timeouts. - - * tests/Timeout/client.dsp: - * tests/Timeout/server.dsp: - * tests/Timeout/Timeout.dsw: - * version_test.dsw: - * tests/TAO_Tests.dsw: - Added project files for the new Timeout test. - - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: - The test for UIOP required the 'English' module. - - * tao/Typecode_Constants.cpp: - Fixed memory leak, the CORBA::ORB::_tc_InvalidName type code was - not released. Thanks to Marina for reporting this problem. - -Mon Jul 05 20:50:00 1999 Chris Gill - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.cpp - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.h: added missing explicit - template instantiations, fixed TAO_String_Manager warnings and - incorrect type instantiation errors. - -Mon Jul 5 20:44:44 1999 Ossama Othman - - * tao/Acceptor_Registry.cpp (open, open_default): - - Moved loop that iterates over the protocol factories to an outer - level since it only needs to be run once for each protocol. - Previously it was being run for each addr within a given - endpoint. The code flow now makes more sense. This fix also - removes and simplifies some code in the open_default() method. - Bonus! - - Add a test that checks if a usable protocol was found. If one - wasn't found then return an error. - - * tao/Makefile: - - Updated dependencies. - -Mon Jul 5 19:47:04 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.cpp - * orbsvcs/orbsvcs/Naming/Entries.h - * orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp - * orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h - * orbsvcs/orbsvcs/Naming/Naming_Context.cpp - * orbsvcs/orbsvcs/Naming/Naming_Context.h - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp - * orbsvcs/orbsvcs/Naming/Naming_Utils.h - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index.cpp - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index.h - * orbsvcs/orbsvcs/Naming/Persistent_Entries.cpp - * orbsvcs/orbsvcs/Naming/Persistent_Entries.h - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.h - * orbsvcs/orbsvcs/Naming/Transient_Naming_Context.cpp - * orbsvcs/orbsvcs/Naming/Transient_Naming_Context.h : - Fixed several memory leaks that were due to superclass - destructors not being virtual. Updated the implementation to - reflect several changes/clarifications from the INS - specification (mostly regarding exception conditions). Added - comments, cleaned up the code, etc. in the remaining files, - which brings my 'review' of Naming implementation files to a - close. - - * orbsvcs/orbsvcs/Naming/README - Added a short description about the structure of implementation - files. - - * orbsvcs/Naming_Service/Naming_Service.cpp: - Destroy the POA on shutdown. - - * orbsvcs/Naming_Service/README - Updated the file and added description of - implementation-specific policies. - - * orbsvcs/tests/Simple_Naming/client.cpp - Updated test to reflect changes in the behaviour of the Naming - Service (due to clarifications in the INS spec). - -Mon Jul 05 17:10:00 1999 Chris Gill - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp - orbsvcs/orbsvcs/RtecScheduler.idl - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.{cpp, h} - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils[_T].{cpp, h}: bug - fixes from testing, added missing schedule configuration code. - -Mon Jul 05 16:06:51 1999 Irfan Pyarali - - * tao/Exception.cpp (_info): Added _info() to CORBA::Exception and - CORBA::SystemException. This allows the user to get the - exception information as a string and does not force the user to - have the print out the information. Note that _info() is a TAO - specific method. - -Mon Jul 05 15:16:58 1999 Nanbor Wang - - * docs/compiler.html: Added instructions on using environment - variables CPP_LOCATION and TAO_IDL_DEFAULT_CPP_FLAGS. - Also reformatted the document a bit. - - * TAO_IDL/driver/drv_preproc.cpp (DRV_cpp_init): Allow users to - customize the command line options passed to the preprocessor so - it's easier to use TAO_IDL for cross compilation. Thanks to - David for reporting the problem. - -Mon Jul 05 14:01:44 1999 Irfan Pyarali - - * tao/Exception.cpp (CORBA_Exception): Made the default - constructor similar to the other constructors. The - starts off at 0. - -Mon Jul 5 13:10:00 1999 Chris Gill - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp: fixed a number - of errors and warnings detected by various compilers that - fully instantiate all template methods. - -Mon Jul 5 12:18:46 1999 Douglas C. Schmidt - - * Added new Borland Makefiles. Thanks to Christopher Kohlhoff - for these. - -Mon Jul 5 11:07:04 1999 Jeff Parsons - - * TAO_IDL/be/be_sunsoft.cpp: - Modified a check of the char value in an AST_Expression - to work also with unsigned chars. which is apparently - the type used by IRIX, since a warning from that - platform prompted this change. - -Mon Jul 5 10:09:15 1999 Jeff Parsons - - * TAO/tests/Param_Test/objref.cpp: - Moved an unreachable return statement. - -Sun Jul 4 22:27:42 1999 Ossama Othman - - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: - - Added a UIOP IDL_Cubit run. - -Sun Jul 04 18:57:13 1999 David L. Levine - - * TAO-INSTALL.html: added link to ACE-INSTALL#VxWorks/NT. - -Sun Jul 04 15:41:34 1999 David L. Levine - - * many Makefiles: call ace_components via sh, instead of - directly in the make $(shell) command. This allows it - to work on platforms that don't have /bin/sh, such as NT. - -Sun Jul 4 14:43:02 1999 Carlos O'Ryan - - * docs/Options.html: - * docs/configurations.html: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf: - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf.dynamic: - * performance-tests/Cubit/TAO/IDL_Cubit/collocation/svc.conf: - * performance-tests/Cubit/TAO/MT_Cubit/svc.conf: - * tao/Client_Strategy_Factory.cpp: - * tao/Client_Strategy_Factory.h: - * tao/Stub.cpp: - * tao/default_client.cpp: - * tao/default_client.h: - * tests/MT_Client/client.conf: - Changed the name of the -ORBIIOPProfileLock option to - -ORBProfileLock, leave the old option there with a warning for - backwards compatibility. - -Sat Jul 3 19:06:06 1999 Jeff Parsons - - * TAO_IDL/fe/lex.yy.cpp: - * TAO_IDL/fe/lex.yy.cpp.diff: - Initialized some pointers at declaration to avoid - Linux/egcs warnings. - -Sat Jul 3 18:00:42 1999 Jeff Parsons - - * TAO_IDL/be/be_sunsoft.cpp: - Added a check in printing char literal for '. Like \, - isprint() sees this as a printable character, and it is - not stored in AST_Expression with its escape backslash. - Thanks to Bala for pointing out this case. - -Sat Jul 3 17:44:34 1999 Jeff Parsons - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: - * TAO_IDL/fe/lex.yy.cpp.diff: - The scan_obv_token() function was bypassing the keyword - table lookup before assigning. Since 'public' and - 'private' are in the keyword lookup table, they were - getting mapped as identifiers without the _cxx_ prepend, - since they are also OBV tokens. - -Sat Jul 3 16:41:52 1999 Jeff Parsons - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: - Fixed a previous change to one of the lex rules for - float that wasn't quite right. Thanks to Bala for - finding the case where it still didn't work. - -Sat Jul 03 14:40:00 1999 Chris Gill - - * orbsvcs/Scheduling_Service/Scheduling_Service.{cpp, dsp, h (new)}: - refactored Scheduling Service to use a class for options etc., - added -p option for file name in which to write service pid, - added -o option for file name in which to write servant ior, - added -s option to specify whether service - uses config or reconfig scheduler implementation. - - * orbsvcs/tests/Sched_Conf/Sched_Conf_Anomalies.cpp - orbsvcs/tests/Sched_Conf/Sched_Conf_Runtime.cpp: replaced TAO - try macros with ACE try macros. - -Sat Jul 03 14:04:10 1999 David L. Levine - - * tao/Makefile, orbsvcs/orbsvcs/Makefile: call ace_components - via sh, and use single instead of double quotes, so that it - works with Cygwin on NT host. - -Sat Jul 3 13:05:00 1999 Douglas C. Schmidt - - * performance-tests/Cubit/TAO/IDL_Cubit/server.cpp (main): Removed - an unreachable ACE_TRY_CHECK. - - * orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp: Replaced the - TAO_THROW macros with ACE_THROW macros. - -Sat Jul 03 09:30:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.h - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.h: Added - #include "ace/inc_user_config.h" prior to conditional compilation - guard for old (pre 2.8) g++, in order to remove a precompiler - warning by OSF1 cxx. - -Fri Jul 02 22:27:53 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Fixed unitiliazed variable problem in TAO_ORB_Table. - - * version_test.dsw: - Removed obsolete projects in - $TAO_ROOT/tests/NestedUpcall/Reactor - - * orbsvcs/examples/RtEC/Simple/Simple.dsw: - * orbsvcs/examples/RtEC/Simple/EC_Simple_Consumer.dsp: - * orbsvcs/examples/RtEC/Simple/EC_Simple_Service.dsp: - * orbsvcs/examples/RtEC/Simple/EC_Simple_Supplier.dsp: - Added new project files for the simple real-time EC example. - - * orbsvcs/tests/Event/Basic/BCast.dsp: - Removed unnecesary libraries. - -Fri Jul 2 21:09:15 1999 Carlos O'Ryan - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - We were depending on the fact that the first ORB in the - ORB_Table iterator was the first ORB created, but this is not - guaranteed by the underlying data structures. We keep track of - the first ORB explicitly now. - - * orbsvcs/examples/Makefile: - * orbsvcs/examples/RtEC/Makefile: - * orbsvcs/examples/RtEC/Simple/Makefile: - * orbsvcs/examples/RtEC/Simple/README: - * orbsvcs/examples/RtEC/Simple/ec.conf: - * orbsvcs/examples/RtEC/Simple/run_test.pl: - * orbsvcs/examples/RtEC/Simple/Service.cpp: - * orbsvcs/examples/RtEC/Simple/Supplier.h: - * orbsvcs/examples/RtEC/Simple/Supplier.cpp: - * orbsvcs/examples/RtEC/Simple/Consumer.h: - * orbsvcs/examples/RtEC/Simple/Consumer.cpp: - Added the simplest example i could think of - -Fri Jul 2 19:30:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Config_Scheduler.h - orbsvcs/orbsvcs/Sched/Strategy_Scheduler.{cpp, h}: Removed - RMS_Dyn scheduling strategy from TAO. - - * orbsvcs/Scheduling_Service/Scheduling_Service.cpp - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils[_T].{cpp, h, i} - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler[_T].{cpp, h, i}: - integrated reconfig scheduler into scheduling service, cleaned - up errors: factored template code out into separate files for NT. - -Fri Jul 2 17:50:56 1999 Ossama Othman - - * tao/{IIOP,UIOP}_Profile.cpp (to_string): - - Removed code that adds one to length of string for the "null - terminator" in calls to CORBA::string_alloc(). - CORBA::string_alloc() already allocates additional space for the - null terminator. - - * tao/Connector_Registry.{h,cpp}: - - Added an object_key_delimiter() method that returns the object - key delimiter that the protocol in a provided URL style IOR - uses. - - * tao/Pluggable.h: - * tao/{IIOP,UIOP}_Connector.h: - - Made check_prefix() and object_key_delimiter() methods public. - There is no need for them to be otherwise. This change was also - needed so that the TAO_Connector_Registry could call them. - - * tao/ORB.cpp (resolve_initial_references): - - Generalized this method so that it is now non-protocol - specific by using the newly added object_key_delimiter() method - in the TAO_Connector_Registry. - - * tao/ORB.{h,cpp}: - - Moved URL style string to object conversion code into a separate - routine to improve code readability. - - Updated some exception handling code. - Various pluggable protocol related code cleanups and updates. - Removed null pointer checks in *String_var destructors and - assignment operators since it is safe to pass a null pointer to - CORBA::string_free(). - - * tao/MProfile.h: - - Added default value of zero to TAO_MProfile (CORBA::ULong) - constructor. This is just a coding style change. - - * tao/corbafwd.i: - - Added a line to force Emacs into C++ mode. - -Fri Jul 2 15:29:45 1999 Jeff Parsons - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: - Modified idl_escape_reader() to use the new - idl_atoui() function. Changes to idl_atoi(), - which was called from here formerly, were - causing incorrect return values. - - * TAO_IDL/be/be_sunsoft.cpp: - Added a check for char values < 0 before printing - char literals. If one is found, it is output as - a signed integer. This handles larger values of - hex and octal escape sequences in a portable and - overflow-safe way. - -Fri Jul 2 14:50:43 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - Use close() instead of unsubscribe() to close the - SOCK_Dgram_Mcast in the TAO_ECG_Mcast_EH class. Thanks to Robert - V. Head for tracking down this problem and - suggesting the fix. - -Fri Jul 2 14:14:28 1999 Ossama Othman - - * tao/{IIOP,UIOP}_Profile.cpp (parse_string): - - More exception handling fixes. - - * tao/IIOP_Profile.cpp: - - Modified code that causes g++ 2.7.x to complain. - -Fri Jul 2 14:03:55 1999 Carlos O'Ryan - - * tests/Param_Test/ub_objref_seq.cpp: - Fixed typo in this file. - -Fri Jul 02 13:26:36 1999 Irfan Pyarali - - * version_test.dsw - * orbsvcs/tests/tests.dsw - - Removed Concurrency tests (since they don't compile currently). - - * tests/NestedUpcall/Simple/client.cpp: Fixed exception handling - typos. - -Fri Jul 2 12:39:42 1999 Ossama Othman - - * docs/Tags.html: - - Updated "location encoding" table with the three new minor - exception codes I added. - -Fri Jul 2 11:53:54 1999 Ossama Othman - - * tao/Sequence_T.cpp: - - Removed some unnecessary null pointer checks that were performed - before calling delete. - - Minor exception handling updates. - -Fri Jul 2 12:06:08 1999 Carlos O'Ryan - - * tao/ORB.h: - * tao/ORB.cpp: - * tao/Typecode_Constants.cpp: - * tests/InterOp-Naming/INS_test_client.cpp: - * tests/InterOp-Naming/run_test.pl: - The CORBA::ORB::InvalidName exception was broken and crashed the - application if raised. Thanks to Eugene Surovegin - for pointing out this problem. - -Fri Jul 2 11:13:26 1999 Ossama Othman - - * tao/IORC.i: - * tao/Sequence_T.cpp: - - Fixed uninitialized variable warnings. - - * tao/Pluggable.h (TAO_Connector): - * tao/Pluggable.cpp (make_mprofile): - * tao/{IIOP,UIOP}_Connector.h (TAO_{IIOP,UIOP}_Connector): - * tao/{IIOP,UIOP}_Connector.cpp (make_profile): - - Removed the return value from make_profile(). This was a case - where an error return value was "competing" with native - exception handling. It makes more sense to handle the exception - alone. Thanks to Carlos for talking this issue through with me. - - * tao/IIOP_Connector.h (TAO_IIOP_Connector): - - Added a default value for the CORBA_Environment argument in - make_profile(). - - * tao/{IIOP,UIOP}_Transport.*: - - Comment updates and some cosmetic updates. - -Fri Jul 02 11:11:47 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.i: - Fixed bug in the EC_Dispatching_Task, one of the variables was - not initialized in the constructor. - - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp: - The options are case insensitive, but we use intercapts to make - them more readable. - - * docs/ec_options.html: - Added new document describing the EC options. - -Fri Jul 2 11:00:45 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/ge_unbounded_obj_sequence_ci.cpp: - Assigned pointers to 0 before plugging them into ACE_NEW (in - generated code). Averted some Linux/egcs warnings. - -Fri Jul 2 10:52:05 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/benchmark/server.cpp: - Fixed few IRIX warnings thanks to Carlos. - - * orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp (TAO_AV_Child_Process): - Moved the naming service unbind code from ~TAO_AV_Child_Process - to a helper function unbind_names to avoid IRIX errors. Thanks - to Carlos for helping with this. - -Fri Jul 2 09:49:19 1999 Jeff Parsons - - * TAO/performance-tests/Pluggable/PP_Test_Server.cpp: - Put back an ACE_CHECK macro removed by some previous - fix. - - * TAO/tests/Param_Test/any.cpp: - * TAO/tests/Param_Test/bd_long_seq.cpp: - * TAO/tests/Param_Test/bd_short_seq.cpp: - * TAO/tests/Param_Test/bd_str_seq.cpp: - * TAO/tests/Param_Test/bd_string.cpp: - * TAO/tests/Param_Test/bd_long_seq.cpp: - * TAO/tests/Param_Test/bd_struct_seq.cpp: - * TAO/tests/Param_Test/complex_any.cpp: - * TAO/tests/Param_Test/except.cpp: - * TAO/tests/Param_Test/fixed_array.cpp: - * TAO/tests/Param_Test/fixed_struct.cpp: - * TAO/tests/Param_Test/nested_struct.cpp: - * TAO/tests/Param_Test/objref.cpp: - * TAO/tests/Param_Test/nested_struct.cpp: - * TAO/tests/Param_Test/big_union.cpp: - * TAO/tests/Param_Test/ub_string.cpp: - * TAO/tests/Param_Test/objref_struct.cpp: - * TAO/tests/Param_Test/short.cpp: - * TAO/tests/Param_Test/ulonglong.cpp: - * TAO/tests/Param_Test/typecode.cpp: - * TAO/tests/Param_Test/ub_any_seq.cpp: - * TAO/tests/Param_Test/ub_long_seq.cpp: - * TAO/tests/Param_Test/ub_objref_seq.cpp: - * TAO/tests/Param_Test/ub_short_seq.cpp: - * TAO/tests/Param_Test/ub_str_seq.cpp: - * TAO/tests/Param_Test/var_struct.cpp: - * TAO/tests/Param_Test/var_array.cpp: - * TAO/tests/Param_Test/recursive_struct.cpp: - Removed the return statement from inside some - ACE_CATCHANY blocks and also removed the - ACE_NOTREACHED wrapper from the return statement - following each block. This keep some compilers - from getting confused, either by reaching the end - of a non-vois function or having the last statement - of the function unreachable. - -Fri Jul 2 09:25:12 1999 Jeff Parsons - - * tao/append.cpp: - Initialized some variables that were causing Linux/egcs warnings in - TAO_Marshal_Objref::append(). - -Thu Jul 01 22:31:06 1999 Irfan Pyarali - - * tao/POA: Made sure that the POA correctly deals with servants - that have been deactivated but are still in the active object - map since there are still some requests running on them. Also, - reactivation of such servants must wait till the deactivation - completes. - - * tests/POA/Deactivation: This program tests the reactivation of a - servant that has been deactivated but not removed from the - Active Object Map yet. - - * tests/NestedUpcall/Simple: - - This is a test of the nested upcall feature in TAO. The client - will start off by calling the server and providing a callback - object and a time-to-live number. The server will callback the - client (using the callback object) and decrement the - time-to-live number. The client will turn around and call the - server again. - - The above process of calling each other will continue until the - time-to-live number reaches zero. - - Both client and server can be run in multi-threaded mode. A - multi-threaded client can be used to check the client side - leader follower model, while the multi-threaded server can be - used to check the integration of the leader follower model of - the TP reactor and the client side leader follower model in the - ORB. - - In addition, the server can be used with the - thread-per-connection model. - - * tests/NestedUpcall/MT_Client_Test - * tests/NestedUpcall/Triangle_Test - - Fixed the above two tests. The servant was been killed before - the POA died, without letting the POA know that the servant has - deactivated. - - * tests/NestedUpcall/Reactor: Removed old and complicated test. - Replaced by tests/NestedUpcall/Simple. - - * version_test.dsw: New workspace that contains projects from: - - - ACE_wrappers/ace - - ACE_wrappers/apps/gperf - - ACE_wrappers/tests - - ACE_wrappers/TAO/tao - - ACE_wrappers/TAO/TAO_IDL - - ACE_wrappers/TAO/orbsvcs - - ACE_wrappers/TAO/orbsvcs/tests - - ACE_wrappers/TAO/orbsvcs/tests/Event - - ACE_wrappers/TAO/examples - - ACE_wrappers/TAO/tests - - ACE_wrappers/TAO/performance-tests - -Thu Jul 1 22:29:33 1999 Carlos O'Ryan - - * TAO_IDL/Makefile: - * TAO_IDL/be_include/be_codegen.h: - * TAO_IDL/be_include/be_visitor_decl.h: - Fixed include's to compile on Unix boxes. - -Thu Jul 1 22:23:15 1999 Ossama Othman - - * tao/IIOP_Profile.h: - - Removed extraneous forward declaration. - -Thu Jul 1 19:42:26 1999 Ossama Othman - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp (parse_args): - - Added check for invalid number of iterations (<=0). - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp: - - Added all initializable Cubit_Server members to the - Cubit_Server constructor member initializer list. This fixes a - segmentation fault that occurs in the ~Cubit_Server destructor - when deleting an uninitialized factory_impl_ member. - - * tao/Exception.cpp (_tao_print_system_exception): - * tao/corbafwd.h: - - Added some minor codes for the CORBA::INV_OBJREF() system - exception to aid in pin-pointing object reference related - exceptions. - - * tao/Exception.h: - - Added some documentation that explains what each CORBA system - exception implies. - - * tao/{IIOP,UIOP}_Profile.cpp (parse_string): - * tao/{IIOP,UIOP}_Connector.cpp (make_profile): - * tao/Connector_Registry.cpp (make_mprofile): - * tao/Pluggable.cpp (make_mprofile): - - Exception handling fixes. Exception handling code was working - but it was based on old code that needed updating. Corrected - exceptions that get thrown. CORBA::string_to_object() is - supposed to throw an INV_OBJREF system exception. The methods - that were fixed all get called when CORBA::string_to_object() is - called. - - * tao/IIOP_Profile.{h,i,cpp}: - * tao/UIOP_Profile.cpp: - - Updated to use CORBA::String_var to fix potential exception - safety problems. - - * tao/UIOP_Connect.cpp: - - Cosmetic updates. - - * tao/Acceptor_Registry.i: - - Added a comment to force C++ mode in Emacs. - - * tao/Makefile: - - Updated dependencies. - - * rules.tao.GNU: - - Enabled uninitialized variable warnings for EGCS. There no - longer appears to be a need to keep this warning disabled since - recent versions of EGCS appear to be better behaved. - - * tao/decode.cpp (decode): - - Fixed "uninitialized variable" warning. - -Thu Jul 1 21:43:29 1999 Jeff Parsons - - * TAO_IDL/idl.ll: - * TAO_IDL/lex.yy.cpp: - A couple of changes to the scanner's regular - expressions - one to allow decimal point - numbers without a leading integer to be - assigned to float and double constants, the - other to allow the escape character '\"' to - appear in string literals. Thanks to Carlos - for suggesting a regular expression for the - latter that was very, very close. - -Thu Jul 1 21:37:10 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_array/array_ch.cpp: - * TAO_IDL/be/be_visitor_array/array_ci.cpp: - * TAO_IDL/be/be_visitor_array/array_cs.cpp: - * TAO_IDL/be/be_visitor_array/cdr_op_ch.cpp: - * TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_field/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/cdr_op_ci.cpp: - * TAO_IDL/be/be_visitor_exception/exception_cs.cpp: - * TAO_IDL/be/be_visitor_exception/exception_ctor.cpp: - * TAO_IDL/be/be_visitor_exception/ctor_assign.cpp: - * TAO_IDL/be/be_visitor_decl.cpp: - * TAO_IDL/be_include/be_visitor_decl.h: - Fixed a couple of related bugs - (1) anonymous array - containing an anonymous sequence, contained in - struct, union, or exception and (2) typedef'd - array containing anonymous sequence. Added a helper - method to be_visitor_decl, and code in the - be_visitor_array files to recognize the case and - call the function. - - Added comments in the union_branch and exception - cdr_op_ci.cpp files. - - There was also a problem with an exception containing - an array, whether typedef'd or not. The copy constructor, - constructor from arg list, and assignment operator were - all just assigning the arg array to the member array, - which caused C++ compile errors. We now use the - array's *_copy() function for this. - -Thu Jul 01 21:14:56 1999 Douglas C. Schmidt - - * TAO version 0.4 released. - -Thu Jul 01 18:01:13 1999 Carlos O'Ryan - - * orbsvcs/tests/tests.dsw: - * orbsvcs/tests/Concurrency/CC_client.dsp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.dsp: - * orbsvcs/tests/EC_Multiple/EC_Multiple.dsp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.dsp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.dsp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.dsp: - * orbsvcs/tests/Event_Latency/Event_Latency.dsp: - * orbsvcs/tests/Sched_Conf/Sched_Conf.dsp: - * orbsvcs/tests/Simple_Naming/client.dsp: - * orbsvcs/tests/Trading/Colocated_Test.dsp: - * orbsvcs/tests/Trading/Export_Test.dsp: - * orbsvcs/tests/Trading/Import_Test.dsp: - * orbsvcs/tests/Trading/TradingLib.dsp: - Fixed several .dsp files, the Release version had several broken - paths and options, obsolete or removed tests were still listed, - etc. - -Thu Jul 1 19:46:22 1999 Carlos O'Ryan - - * orbsvcs/tests/AVStreams/benchmark/Makefile: - Fixed order of libraries so the test would compile with static - libraries. - -Thu Jul 1 12:37:01 1999 Carlos O'Ryan - - * tao/decode.cpp: - Fixed interpretive demarshaling of object references inside - unions, this was breaking Param_Test for big_union using DII. - - * tests/Multiple_Inheritance/Multiple_Inheritance_i.h: - * tests/Multiple_Inheritance/server.cpp: - This test crashed on Sun/CC 5.0 because there was no explicit - constructor, the compiler generated constructor was broken. - - * orbsvcs/tests/EC_Throughput/run_test.pl: - Fine tune the test timeout. - - * tests/Param_Test/run_test.pl: - The test was falling off the end without an explicit exit - status. - - * orbsvcs/tests/Property/run_test.pl: - Remove the IOR files before waiting for it - -Thu Jul 01 00:45:00 1999 Chris Gill - - * examples/Simulator/DOVEBrowser/Makefile: changed location - for idl2java from Visibroker 3.3 to 3.4. - - * examples/Simulator/Event_Supplier/DualEC_Sup.h - examples/Simulator/Event_Supplier/Event_Sup.cpp - examples/Simulator/Event_Supplier/Logging_Sup.cpp: fixed constness - warnings generated by Sun C++ 5.0. - - * examples/Simulator/Event_Supplier/Makefile: added -I($TAO_ROOT) and - -Ge 1 to TAO_IDL flags. - -Thu Jul 1 10:45:24 1999 Carlos O'Ryan - - * orbsvcs/tests/Trading/run_test.pl: - The export_test must be shutdown using a signal, it does not - exit on its own. - - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - There was an error in the logic of the program, probably - introduced in the hectic activity to get exceptions to work. - - * orbsvcs/Trading_Service/Trading_Service.cpp: - The POA manager was not activated - - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp: - Fixed some more typos that i missed last time. - - * examples/Event_Comm/Event_Comm_i.cpp: - * examples/Quoter/Generic_Factory_i.cpp: - * orbsvcs/examples/CosEC/Factory/FactoryClient.cpp: - Fixed unreachable statements warnings in DU/CXX, thanks to David - for reporting this problems. - -Thu Jul 01 00:45:00 1999 Chris Gill - - * examples/Simulator/DOVEMIB/AnyAnalyser.cpp - examples/Simulator/DOVEMIB/DOVEMIB.{cpp, h} - examples/Simulator/DOVEMIB/PrintVisitor.cpp - examples/Simulator/DOVEMIB/any_test_i.cpp - examples/Simulator/DOVEMIB/clnt.cpp - examples/Simulator/DOVEMIB/svr.cpp - examples/Simulator/Event_Supplier/DOVE_Supplier.{cpp, h} - examples/Simulator/Event_Supplier/DualEC_Sup.cpp - examples/Simulator/Event_Supplier/Event_Con.cpp - examples/Simulator/Event_Supplier/Event_Sup.cpp - examples/Simulator/Event_Supplier/Logging_Sup.cpp: Fixed exception - specifications and replaced TAO try macros with ACE try macros. - Thanks to Randy Heiland for reporting - these problems. - -Wed Jun 30 21:09:34 1999 Carlos O'Ryan - - * orbsvcs/ImplRepo_Service/Options.cpp: - * orbsvcs/ImplRepo_Service/Repository.cpp: - * orbsvcs/ImplRepo_Service/Repository.h: - * orbsvcs/ImplRepo_Service/tao_ir_i.cpp: - Fixed #pragma based instantiations and made several minor - cosmetic changes. - -Wed Jun 30 19:29:53 1999 Carlos O'Ryan - - * tests/IORManipulation/IORTest.cpp: - Fixed debug message. - -Wed Jun 30 18:17:00 1999 Jeff Parsons - - * tao/DynEnum_i.cpp: - Added an ACE_UNUSED_ARG macro to get_longlong(). - -Wed Jun 30 18:14:18 1999 Carlos O'Ryan - - * orbsvcs/ImplRepo_Service/Repository.cpp: - Fixed template instantiations, the ACE_Equal_To - template was instantiated twice, but this is not a problem with - shared libraries so we didn't noticed until now. - -Wed Jun 30 17:39:14 1999 Nanbor Wang - - * orbsvcs.dsp: - * orbsvcs_static.dsp: - Removed the Concurrency Service from the project. - - * Concurrency/CC_LockSet.cpp: - * Concurrency/CC_LockSetFactory.cpp: - * Concurrency/Concurrency_Utils.cpp: - * Concurrency/Concurrency_Utils.h: Fixed exception handling - stuff. - -Wed Jun 30 16:44:00 1999 Chris Gill - - * orbsvcs/orbsvcs/RtecScheduler.idl, - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.{cpp, h}: fixed throw - exception discrepancies. - -Wed Jun 30 16:18:03 1999 Carlos O'Ryan - - * tao/Connector_Registry.cpp: - Fixed problem when trying to connect using foreign or unknown - profiles. Thanks to "alvarez" for - reporting this problem. - - * tests/MT_Client/run_test.pl: - Fixed error status, it was reporting problems when there were - none. - -Wed Jun 30 15:46:32 1999 Ossama Othman - - * docs/releasenotes/index.html: - - Updated UIOP release notes with list of restrictions/guidelines - the user should follow or be aware of when using the UIOP - pluggable protocol. - - * tao/UIOP_Profile.{h,cpp}: - - Comment/documentation updates based on the release notes - updates. No code changes. - - * tao/Pluggable.cpp (start_request, start_locate): - - Removed ACE_UNUSED_ARG since ACE_THROW already contains an - ACE_UNUSED_ARG. This corrects an "unreachable statement" - warning. - -Wed Jun 30 15:39:11 1999 Jeff Parsons - - * tao/Any.cpp; - Removed ACE_NOTREACHED macros and subsituted 'return xxx' statement. - Also removed return statement from catch block so as not to - confuse some compilers. - -Wed Jun 30 15:04:26 1999 Irfan Pyarali - - * examples/POA/On_Demand_Loading/Servant_Manager.cpp: Removed - ACE_Equal_To templates instantiation. - TAO already has it. - -Wed Jun 30 14:39:16 1999 Carlos O'Ryan - - * examples/Logging/Logging_Test_i.cpp: - * examples/Logging/Logging_Service_i.cpp: - * examples/Event_Comm/Consumer_Handler.cpp: - * examples/Event_Comm/Consumer_Input_Handler.cpp: - * examples/Event_Comm/Supplier_Input_Handler.cpp: - Fixed exception handling stuff, thanks to Matt for providing the - fixes. - -Wed Jun 30 14:20:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.{cpp, h}, - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.{cpp, h}: Added conditional - macros around Reconfig Scheduler code for old g++: the templatized - method parameters break that compiler hopelessly. - -Wed Jun 30 14:03:27 1999 Jeff Parsons - - * TAO/tests/DynAny_Test/driver.cpp: - * TAO/tests/DynAny_Test/test_dynany.cpp: - * TAO/tests/DynAny_Test/test_dynarray.cpp: - * TAO/tests/DynAny_Test/test_dynenum.cpp: - * TAO/tests/DynAny_Test/test_dynsequence.cpp: - * TAO/tests/DynAny_Test/test_dynstruct.cpp: - * TAO/tests/DynAny_Test/test_dynunion.cpp: - Substituted ACE_PRINT_EXCEPTION macro where - needed. - - * TAO/tests/Param_Test/ub_struct_seq.cpp: - Subistituted a missed ACE_CHECK_RETURN macro. - -Wed Jun 30 13:43:46 1999 Carlos O'Ryan - - * examples/Quoter/Generic_Factory.cpp: - * examples/Quoter/Generic_Factory_i.cpp: - * examples/Quoter/Generic_Factory_i.h: - More exception handling fixes - -Wed Jun 30 13:36:29 1999 Vishal Kachroo - - Fixed the exception warnings for the following: - * orbsvcs/tests/Time/Client_i.cpp - * TAO_ROOT/tests/InterOp-Naming/Server_i.cpp - * TAO_ROOT/tests/InterOp-Naming/INS_test_server.cpp - -Wed Jun 30 12:03:05 1999 Carlos O'Ryan - - * examples/Simple/bank/Account_i.cpp: - * examples/Simple/bank/AccountManager_i.cpp: - Fixed more exception handling problems. - -Wed Jun 30 11:28:31 1999 Jeff Parsons - - * tao/DynArray_i.cpp: - * tao/DynEnum_i.cpp: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.cpp: - * tao/DynUnion_i.cpp: - Fixed warnings related to CORBA::LongLong. - -Wed Jun 30 11:27:39 1999 Carlos O'Ryan - - * tests/NestedUpcall/MT_Client_Test/client.cpp: - * tests/Multiple_Inheritance/client.cpp: - * tests/Multiple_Inheritance/server.cpp: - More exception handling fixes. - -Wed Jun 30 11:09:39 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp: - Fixed more exception handling problems. - -Wed Jun 30 10:04:05 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.h: - * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Database.cpp: - Use ACE_THROW_SPEC and ACE_THROW instead of TAO_THROW_SPEC or - TAO_THROW. - - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp: - Fixed syntax errors. - -Wed Jun 30 09:40:20 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.cpp: added intermediate - const cast for const void * args in qsort comparison function. - This makes Sun C++ 4.2 happy. - -Wed Jun 30 04:04:04 1999 Nanbor Wang - - * TAOACE_Static.dsw: Fixed project dependencies. - - * TAO/tao/try_macros.h: The TAO try macros are now deprecated. - - * TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.cpp: - * TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h: - * TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp: - * TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp: - * TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.h: - * TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp: - * TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.h: - * TAO/orbsvcs/Trading_Service/Trading_Service.cpp: - * TAO/orbsvcs/Trading_Service/Trading_Service.h: - * TAO/orbsvcs/tests/Trading/Offer_Exporter.cpp: - * TAO/orbsvcs/tests/Trading/Offer_Exporter.h: - * TAO/orbsvcs/tests/Trading/Offer_Importer.cpp: - * TAO/orbsvcs/tests/Trading/Offer_Importer.h: - * TAO/orbsvcs/tests/Trading/Service_Type_Exporter.cpp: - * TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h: - * TAO/orbsvcs/tests/Trading/TT_Info.cpp: - * TAO/orbsvcs/tests/Trading/TT_Info.h: - * TAO/orbsvcs/tests/Trading/colocated_test.cpp: - * TAO/orbsvcs/tests/Trading/export_test.cpp: - * TAO/orbsvcs/tests/Trading/import_test.cpp: - Fixed exception handling. - - * TAO/tao/CurrentS.cpp: - * TAO/tao/PolicyS.cpp: Replaced TAO try macros with ACE try - macros. - -Tue Jun 29 22:46:34 1999 Irfan Pyarali - - * TAOACE.dsw: Fixed inter-project dependencies. - -Tue Jun 29 22:34:12 1999 Ossama Othman - - * tao/UIOP_Profile.{h,i,cpp}: - - Removed rendezvous_point_ from the TAO_UIOP_Profile class. It - is already stored in the profile's object_addr_ member, and name - lookup overhead isn't an issue for UNIX domain rendezvous points - as it is for hostname lookup in the INET domain. - - TAO_UIOP_Profile now warns if a provided rendezvous_point is too - long, i.e. if the ACE_UNIX_Addr truncates it since it is larger - than the sun_path[] array in the underlying sockaddr_un - structure. - -Tue Jun 29 21:59:29 1999 Carlos O'Ryan - - * TAO/orbsvcs/Time_Service/Clerk_i.cpp: - * TAO/orbsvcs/Time_Service/Server_i.cpp: - * TAO/orbsvcs/Time_Service/Time_Service_Clerk.cpp: - * TAO/orbsvcs/Time_Service/Time_Service_Server.cpp: - Fixed more exception handling problems. - -Tue Jun 29 21:26:18 1999 Douglas C. Schmidt - - * performance-tests/Pluggable/PP_Test_Server.cpp (run): Removed - an unnecessary duplicate call to ORB_Manager::run(). Thanks to - Carlos for reporting this. - -Tue Jun 29 21:06:17 1999 Alexander Babu Arulanthu - - * orbsvcs/tests/Property/client.cpp: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: - Fixed the exception problems reported by Carlos. Thanks Carlos. - -Tue Jun 29 20:57:05 1999 Carlos O'Ryan - - * examples/Simple/chat/Broadcaster_i.cpp: - * examples/Event_Comm/Event_Comm_i.cpp: - * examples/Event_Comm/Notifier_Handler.cpp: - * examples/Event_Comm/Notifier_Server.cpp: - * examples/Event_Comm/notifier.cpp: - Fixed exception handling macros - -Tue Jun 29 20:37:23 1999 Nanbor Wang - - * docs/configurations.html: Updated documentation for thread-pool - concurrency policy. Thanks to Madhu Konety - for motivating this. - -Tue Jun 28 20:19:11 1999 Darrell Brunsch - - * tao/ORB.cpp: Changed resolve_implrepo_service () to work - correctly with the ACE CORBA macros. - - * examples/Quoter/Factory_Finder.cpp: - * examples/Quoter/Generic_Factory.cpp: - * examples/Quoter/Quoter_i.cpp: - * examples/Quoter/client.cpp: - * examples/Quoter/server.cpp: - * examples/Simple/time/Time_Client_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_client_i.cpp: - Fixed some bugs with using old print_exception method instead of - ACE_PRINT_EXCEPTION. - - * orbsvcs/tests/ImplRepo/airplane_client_i.cpp: Removed the - clearing of the ACE_TRY_ENV in get_planes (). - - * examples/Quoter/client.h: Made sure the ORB_var member variable - appears before any other var's in the Quoter_Client class. - - * tao/TAO.dsp: - * TAO_IDL/tao_idl.dsp: - * tao/TAO_Static.dsp: - * TAO_IDL/tao_idl_static.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: - Manually cleaned up these projects and fixed them so they should - work on NT Alpha again. - - * TAOACE.dsw: - Fixed dependencies. - - * orbsvcs/orbsvcs/IR_Helper.cpp: - * orbsvcs/orbsvcs/IR_Helper.h: - Changed the constructor to take in a const char * instead of a char * - so literals can be passed in without warnings. - -Tue Jun 29 19:48:33 1999 Carlos O'Ryan - - * examples/OBV/Simple_util.cpp: - * examples/OBV/Typed_Events/server.cpp: - * examples/Simple/Simple_util.cpp: - * examples/Simple/time-date/Time_Date.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * performance-tests/Thruput/TAO/client.cpp: - * performance-tests/Thruput/TAO/server.cpp: - Fixed several problems with exception handling. - - * orbsvcs/Makefile: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/tests/Makefile: - Removed the Concurrency service from the library, it is not - required by default now. - -Tue Jun 29 19:44:45 1999 Kirthika Parameswaran - - * examples/Simple/Simple_util.cpp: Fixed exception macros. - -Tue Jun 29 19:39:14 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp: - Fixed 'ACE_TRY_ENV.print_exception...' statements. - -Tue Jun 29 16:49:33 1999 Irfan Pyarali - - * ACE_wrappers/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.dsp - * ACE_wrappers/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.dsp - * ACE_wrappers/TAO/performance-tests/Cubit/TAO/MT_Cubit/client.dsp - * ACE_wrappers/TAO/performance-tests/Cubit/TAO/MT_Cubit/server.dsp - - Added user32.lib to static project settings. Thanks to - Guicheney Christophe for reporting - this. - -Tue Jun 29 17:22:20 1999 Chris Gill - - * orbsvcs/orbsvcs/Makefile - orbsvcs/orbsvcs/Sched/Makefile.am - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.{cpp, h}, - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.{cpp, h}: Reconfig - Scheduler compiles on Solaris using egcs. - -Tue Jun 29 13:44:41 1999 Nanbor Wang - - * tests/TAO_Tests.dsw: - * tests/IORManipulation/IORManipulation.dsw: - * tests/IORManipulation/IORTest.dsp: Added new workspace and - project files. - - * tao/IORC.h: Added a whole bunch of TAO_Export's. - -Tue Jun 29 12:20:24 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.cpp - * orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.h - * orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp - * orbsvcs/orbsvcs/Naming/Naming_Utils.h - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index.cpp - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index.h - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.h - * orbsvcs/orbsvcs/Naming/README - * orbsvcs/orbsvcs/Naming/Transient_Naming_Context.cpp - * orbsvcs/orbsvcs/Naming/Transient_Naming_Context.h: - - Factored out code for creation of a Naming Context and - registration with poa into static functions - in TAO_Transient_Naming_Context, and - TAO_Persistent_Naming_Context. - - Added comments, cleaned up code, fixed a memory leak in - Naming_Utils::init_new_naming, and improved handling of error - conditions in a few places. - -Mon Jun 28 21:41:20 1999 Chris Gill - - * orbsvcs/orbsvcs/orbsvcs.dsp - orbsvcs/orbsvcs/orbsvcs_static.dsp - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.{cpp, h}, - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.{cpp, h}: Reconfig - Scheduler compiles on NT. - -Tue Jun 29 04:12:49 1999 Nanbor Wang - - * Trader/Constraint_Interpreter.cpp: - * Trader/Constraint_Interpreter.h: - * Trader/Constraint_Nodes.cpp: - * Trader/Constraint_Visitors.cpp: - * Trader/Offer_Database.h: - * Trader/Offer_Iterators.cpp: - * Trader/Offer_Iterators.h: - * Trader/Offer_Iterators_T.cpp: - * Trader/Service_Type_Repository.cpp: - * Trader/Service_Type_Repository.h: - * Trader/Trader.cpp: - * Trader/Trader_Interfaces.cpp: - * Trader/Trader_Interfaces.h: - * Trader/Trader_T.cpp: - * Trader/Trader_Utils.cpp: Fixed some exception macros and added - some more. This is stll unfinished. - -Mon Jun 28 23:03:06 EDT 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp (visit_predefined_type): - - Fixed code generation for multidimensional arrays. The fix required - us to cast the flattened array to the appropriate type. - - Thanks to Joyce Fu for reporting the bug. - -Mon Jun 28 21:41:20 1999 Chris Gill - - * orbsvcs/Dump_Schedule/Dump_Schedule.cpp, - orbsvcs/Scheduling_Service/Scheduling_Service.cpp, - orbsvcs/tests/Sched_Conf/Sched_Conf.cpp: Replaced TAO TRY macros - with ACE TRY macros. - -Mon Jun 28 19:28:17 1999 Irfan Pyarali - - * examples/POA/Generic_Servant/MyFooServant.cpp: Removed #define - ACE_BUILD_SVC_EXPORT. I don't know what it was for. - - * orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp - * orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp - * orbsvcs/orbsvcs/Trader/Trader_T.cpp - - Fixed exception handling. - -Mon Jun 28 19:16:18 1999 Carlos O'Ryan - - * tests/Makefile: - Added the new IORManipulation directory to the top-level - Makefile. - - * tao/IORC.cpp: - * tao/IORS.cpp: - More exception handling fixes - -Mon Jun 28 18:35:19 1999 Jeff Parsons - - * tao/append.cpp: - * tao/skip.cpp: - Changed declaration of discrim_val in TAO_Marshal_Union to be - CORBA::ULongLong instead of CORBA::Long. A CORBA::Long - discriminator holder would decode incorrectly if the - real disicriminator were a CORBA::ULong and perhaps - crash if it were a 64-bit type. - -]Mon Jun 28 18:24:52 1999 Douglas C. Schmidt - - * examples/README: Updated this to describe all the examples. - -Mon Jun 28 18:06:20 1999 Fred Kuhns - - * tao: Commited fixes for type codes in IOR exceptions - IORS.cpp and IORC.cpp - -Mon Jun 28 18:04:54 1999 Fred Kuhns - - * TAO/tests/IORManipultion: Added test for IORManipultion. - -Mon Jun 28 17:50:19 1999 Jeff Parsons - - * TAO/tests/Param_Test/client.cpp: - Added some ACE_CHECK_* macros. - - * TAO/tests/Param_Test/big_union.cpp: - Added initialization code for out_ and ret_ - members. Makes the DII test happier. - -Mon Jun 28 17:38:55 1999 Pradeep Gore - - * examples/Simple/chat/Broadcaster_i.h: - * examples/Simple/chat/Receiver_i.h: - * examples/Simple/chat/Broadcaster_i.cpp: - * examples/Simple/chat/Server_i.cpp: - * examples/Simple/chat/Client_i.cpp: - * examples/Simple/chat/server.cpp: - * examples/Simple/chat/client.cpp: - replaced TAO_TRY* macros with ACE_TRY macros. - replaced ACE_TRY_ENV.print_exception with ACE_PRINT_EXCEPTION - -Mon Jun 28 16:18:28 1999 Ossama Othman - - * performance-tests/Cubit/TAO/MT_Cubit/README: - Documentation updates due to pluggable protocol updates in - MT_Cubit. - - * performance-tests/Cubit/TAO/MT_Cubit/Globals.h: - * performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/client.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/server.cpp: - - Pluggable protocol updates. MT_Cubit is now non-protocol - specific. The MT_Cubit server options have been changed. Use - the `-e' option, documented in MT_Cubit's README file, instead - of `-h' and `-p'. The default protocol is IIOP if one isn't - specified. - -Mon Jun 28 16:15:21 1999 Kirthika Parameswaran - - * examples/Callback_Quoter/Consumer_Handler.cpp - * examples/Callback_Quoter/Consumer_Input_Handler.cpp - * examples/Callback_Quoter/Consumer_i.cpp: - Set the flag which helped in having a run_test.pl - for this example. Activated the poa_manager on the consumer side - as it was an callback client. Removed any obsolete - print_exception calls and modified it to ACE_PRINT_EXCEPTION - macro calls. The bug in Callback Quoter related to the - interative option was solved thanks to inputs from Christopher - Kohlhoff . - - * examples/Callback_Quoter/Notifier_Input_Handler.cpp - * examples/Callback_Quoter/Notifier_i.cpp: - * examples/Callback_Quoter/notifier.cpp: - Removed any obsolete print_exception calls and modified it to - ACE_PRINT_EXCEPTION macro calls. - - * examples/Callback_Quoter/Supplier_i.{h, cpp}: - Added a file_ptr variable to handle input form a file for the - non-interactive run_test.pl execution. - - * examples/Callback_Quoter/README: - Added extra information on execution of this example. - -Mon Jun 28 15:44:59 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Trader: Completed a pass through the Trading - Service to update its exception handling scheme to the new - ACE_TRY techniques. - - * orbsvcs/orbsvcs/Sched/SchedEntry.cpp (operator <): - Fixed a typo where "this_laxity" should have been "that_laxity". - Thanks to Christopher Kohlhoff for this - fix. - -Mon Jun 28 15:40:22 1999 Darrell Brunsch - - * orbsvcs/orbsvcs/IR_Helper.cpp: Fixed some bugs with using old - print_exception method instead of ACE_PRINT_EXCEPTION. - -Mon Jun 28 12:53:24 1999 Ossama Othman - - * tao/Makefile: Updated the dependencies. - - * tao/IIOP_Connect.cpp: Removed unnecessary explicit template - instantiations. - - * tao/IIOP_Connect.h: - * tao/IIOP_Connect.cpp: - * tao/UIOP_Connect.h: - * tao/UIOP_Connect.cpp: Changed transport_ member from pointer - member to non-pointer member. This removes the need to - instantiate the transport_ member on the heap, thus avoiding any - potential memory management problems. - - * tao/IIOP_Connect.i: - * tao/UIOP_Connect.i: Moved all good inline method candidates from - `.cpp' files to their corresponding inline `.i' files. - -Mon Jun 28 15:11:00 1999 Carlos O'Ryan - - * orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp: Use the - ACE_TRY macros to write portable code when dealing with - exceptions. - - * performance-tests/Cubit/TAO/IDL_Cubit/server.cpp: Don't use - print_exception directly, use the ACE_PRINT_EXCEPTION macro - instead. - -Mon Jun 28 15:01:28 1999 Carlos O'Ryan - - * tao/GIOP.i: Use the new reset_contents() method in the InputCDR - stream to avoid extra memory allocations in the critical path. - -Mon Jun 28 14:52:36 1999 Nanbor Wang - - * TAO_IDL/be/be_visitor_interface/direct_collocated_sh.cpp - * TAO_IDL/be/be_visitor_interface/thru_poa_collocated_sh.cpp - (visit_interface): Fixed problem with generating multiple base - classes. Thanks to Carlos for helping this out. - -Mon Jun 28 13:39:15 1999 Alexander Babu Arulanthu - - * orbsvcs/tests/Property/client.cpp: Made the test more - silent. Put a lot debug statements under TAO_debug_level > 4. - -Mon Jun 28 12:57:50 1999 Nanbor Wang - - * TAO_IDL/be/be_interface.cpp (compute_coll_name): Fixed ABW - errors. - -Mon Jun 28 12:54:26 1999 Jeff Parsons - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: Changed one line of method - idl_parse_line_and_file() to call idl_atoui() instead of - idl_atoi(). This fixes a line number off-by-one error in error - outputs. Thanks to Hata Yoshiaki for - reporting the error and supplying a fix. - -Mon Jun 28 12:46:57 1999 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: Fixed the - exception macros problems. Thanks Carlos for reporting the - errors. - -Mon Jun 28 12:19:21 1999 Matthew J Braun - - * examples/Logging/Logger_i.cpp - * examples/Logging/Logging_Service.cpp: Removed some remaining TAO - exceptions macros. - -Mon Jun 28 12:15:42 1999 Jeff Parsons - - * TAO/tests/Param_Test/any.cpp: - * TAO/tests/Param_Test/objref.cpp: - * TAO/tests/Param_Test/big_union.cpp: Moved some code I had - mistakenly left outside ACE_TRY blocks. - -Mon Jun 28 12:05:05 1999 Carlos O'Ryan - - * performance-tests/Cubit/TAO/IDL_Cubit/svc.conf: Fixed - configuration file, the parameters to -ORBInputCDRAllocator have - changed. - -Mon Jun 28 11:25:47 1999 Ossama Othman - - * TAO_IDL/Makefile: Updated dependencies. - -Mon Jun 28 11:17:45 1999 Carlos O'Ryan - - * tao/append.cpp: Fixed bugs in interpretive marshaling of arrays, - it was raising an exception even when there was no error, my - bad. - -Mon Jun 28 11:02:52 1999 Jeff Parsons - - * tao/Dynenum_i.cpp: Removed some useless code from - get_longlong(). Thanks to Carlos for reporting this warning. - -Mon Jun 28 10:41:43 1999 Jeff Parsons - - * tao/DynUnion_i.cpp: Added all necessary ACE_CHECK_* macros and - fixed a 'code not reached' warning. - -Mon Jun 28 10:20:16 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: Use - ACE_TEMPLATE_METHOD_SPECIALIZATION instead of - ACE_TEMPLATE_SPECIALIZATION. - -Mon Jun 28 05:17:01 1999 Nanbor Wang - - * be/be_visitor_interface/collocated_sh.cpp: - * be/be_visitor_interface/collocated_ss.cpp: - * be/be_visitor_operation/collocated_sh.cpp: - * be/be_visitor_operation/collocated_ss.cpp: - * be_include/be_visitor_interface/collocated_sh.h: - * be_include/be_visitor_interface/collocated_ss.h: - * be_include/be_visitor_operation/collocated_sh.h: - * be_include/be_visitor_operation/collocated_ss.h: Replaced the - old, conglomerated collocated stub visitors with the following - specialized collocated stub visitors. After all, downsizing, - i.e., breaking up large stuff and creating a bunch of small - pieces, is the latest trend. - - * be/be_visitor_interface/direct_collocated_sh.cpp: - * be/be_visitor_interface/direct_collocated_ss.cpp: - * be/be_visitor_interface/thru_poa_collocated_sh.cpp: - * be/be_visitor_interface/thru_poa_collocated_ss.cpp: - * be/be_visitor_operation/direct_collocated_sh.cpp: - * be/be_visitor_operation/direct_collocated_ss.cpp: - * be/be_visitor_operation/thru_poa_collocated_sh.cpp: - * be/be_visitor_operation/thru_poa_collocated_ss.cpp: - * be_include/be_visitor_interface/direct_collocated_sh.h: - * be_include/be_visitor_interface/direct_collocated_ss.h: - * be_include/be_visitor_interface/thru_poa_collocated_sh.h: - * be_include/be_visitor_interface/thru_poa_collocated_ss.h: - * be_include/be_visitor_operation/direct_collocated_sh.h: - * be_include/be_visitor_operation/direct_collocated_ss.h: - * be_include/be_visitor_operation/thru_poa_collocated_sh.h: - * be_include/be_visitor_operation/thru_poa_collocated_ss.h: Those - specialized collocated stub visitors. - - * be/be_interface.cpp: - * be/be_visitor_factory.cpp: - * be/be_visitor_interface.cpp: - * be/be_visitor_operation.cpp: - * be/be_visitor_attribute/attribute.cpp: - * be/be_visitor_interface/interface.cpp: - * be/be_visitor_interface/interface_cs.cpp: - * be/be_visitor_interface/interface_sh.cpp: - * be/be_visitor_interface/interface_ss.cpp: - * be_include/be_codegen.h: - * be_include/be_interface.h: - * be_include/be_visitor_interface.h: - * be_include/be_visitor_operation.h: - * driver/drv_args.cpp: - * include/idl_global.h: - * util/utl_global.cpp: TAO_IDL internal needs to know which - visitor to use and when to use it. TAO_IDL now support 4 more - switches, -Gp, -Gd, -Sp, -Sd which control what kind of - collocated stubs the generated code uses. Maybe these flags - should somehow merge together. Otherwise, we'll exhaust the - available letter (for -G and -S) very soon. - -Sun Jun 27 20:29:38 1999 Douglas C. Schmidt - - * tao/POA_CORBA.h (POA_CORBA): Added a no-op constructor for - the _tao_collocated_Current class to work around a bug with - IBM's VisualAge C++ compiler. Thanks to Rene Matteau - for reporting this. - - * tao/encode.cpp (encode): Borland's C++ Builder 4.0 doesn't seem - to align caught exceptions along the correct boundaries! - Therefore we will assume that the data pointer passed in is - already correctly aligned and we will calculate member - alignments relative to this pointer. Thanks to Christopher - Kohlhoff for this fix. - - * orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp: Removed the - hacked up coding for MAX_SIGNED_INTEGER, MAX_UNSIGNED_INTEGER, - and MIN_SIGNED_INTEGER and replaced them with the corresponding - #defines from $ACE_ROOT/Basic_Types.h. - - * tao/orbconf.h: By default generate a no-op macro for - TAO_EXPORT_NESTED_MACRO. This can be overridden if - ACE_EXPORT_NESTED_CLASSES is enabled in the - $ACE_ROOT/ace/config.h file. - - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp, - tao/Sequence.i: Updated all ACE_TEMPLATE_SPECIALIZATION - macros that are used for *methods* to be - ACE_TEMPLATE_METHOD_SPECIALIZATION to make certain compilers - like SunC++ 5.0 happy. - - * orbsvcs/orbsvcs/Sched/SchedEntry.cpp: Reformatted a lot of this - file so it'll conform to the ACE+TAO programming guidelines. - - * tao/Object_Adapter.cpp: Cleanedup the programming style to make - it conform to ACE. - - * orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp (next_n): Fixed - an error by returning 0 if we get an exception. Thanks to David - Levine for reporting this. - -Sun Jun 27 21:33:00 1999 Chris Gill - - * orbsvcs/orbsvcs/RtecScheduler.idl, - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.{cpp, h}, - orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.{cpp, h}: Added use of - dependency graph visitors for topological ordering, cycle checking, - and graph reset during schedule computation. - -Sun Jun 27 20:02:20 1999 Carlos O'Ryan - - * tao/DynArray_i.cpp: - * tao/DynEnum_i.cpp: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.cpp: - Fixed minor syntax errors and typos in these files. - - * tao/IIOP_Connect.cpp: - * tao/UIOP_Connect.cpp: - Do not return 1 from a handle_input() call - - * tao/default_resource.cpp: - Cleanup ACE_LOG_MSG->errnum() before creating Reactor. - - * tests/Makefile: - * tests/Faults/Makefile: - * tests/Faults/README: - * tests/Faults/client.cpp: - * tests/Faults/run_test.pl: - * tests/Faults/server.cpp: - * tests/Faults/test.idl: - * tests/Faults/test_i.cpp: - * tests/Faults/test_i.h: - * tests/Faults/test_i.i: - Added a new test to check that the ORB can handle a crash on the - server and/or the client; it doesn't cover all the possible - cases, but at least it is a start. - - * orbsvcs/orbsvcs/Event/RT_Task.cpp: - Fixed misuse of ACE_TRY_ENV, thanks to Doug and David for - pointing it out. - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - Fixed type mismatch, it wasn't obvious except on NT, thanks to - Marina for reporting this one. - -Sun Jun 27 18:30:31 1999 Jeff Parsons - - * tao/DynArray_i.cpp: - * tao/DynEnum_i.cpp: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.cpp: - Added all the necessary ACE_CHECK stuff. - DynUnion_i.cpp is left to do. - - * TAO/tests/Param_Test/any.cpp: - * TAO/tests/Param_Test/bd_long_seq.cpp: - * TAO/tests/Param_Test/bd_short_seq.cpp: - * TAO/tests/Param_Test/bd_str_seq.cpp: - * TAO/tests/Param_Test/bd_string.cpp: - * TAO/tests/Param_Test/bd_long_seq.cpp: - * TAO/tests/Param_Test/bd_struct_seq.cpp: - * TAO/tests/Param_Test/complex_any.cpp: - * TAO/tests/Param_Test/except.cpp: - * TAO/tests/Param_Test/fixed_array.cpp: - * TAO/tests/Param_Test/fixed_struct.cpp: - * TAO/tests/Param_Test/nested_struct.cpp: - * TAO/tests/Param_Test/objref.cpp: - * TAO/tests/Param_Test/nested_struct.cpp: - * TAO/tests/Param_Test/big_union.cpp: - * TAO/tests/Param_Test/ub_string.cpp: - * TAO/tests/Param_Test/objref_struct.cpp: - * TAO/tests/Param_Test/short.cpp: - * TAO/tests/Param_Test/ulonglong.cpp: - * TAO/tests/Param_Test/typecode.cpp: - * TAO/tests/Param_Test/ub_any_seq.cpp: - * TAO/tests/Param_Test/ub_long_seq.cpp: - * TAO/tests/Param_Test/ub_objref_seq.cpp: - * TAO/tests/Param_Test/ub_short_seq.cpp: - * TAO/tests/Param_Test/ub_str_seq.cpp: - * TAO/tests/Param_Test/var_struct.cpp: - * TAO/tests/Param_Test/var_array.cpp: - * TAO/tests/Param_Test/recursive_struct.cpp: - * TAO/performance-tests/Pluggable/server.cpp: - * TAO/performance-tests/Pluggable/PP_Test_Client.cpp: - * tao/Any.cpp: - Changed ACE_NOTREACHED (return foo); to ACE_NOTREACHED (return - foo;) - -Sun Jun 27 17:10:05 1999 Nanbor Wang - - * tests/TAO-Tests.dsw: - * tests/Faults/Faults.dsw: - * tests/Faults/client.dsp: - * tests/Faults/server.dsp: Added new workspace/projects and - updated test workspace. - -Sun Jun 27 17:15:45 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp: - Replaced ACE_TRY_ENV.print_exceptions with - ACE_PRINT_EXCEPTION. Thanks to Carlos for reporting these. - -Sun Jun 27 17:18:29 EDT 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_type.cpp (gen_nested_typename): Fixed a bug where - we were generating incorrect relative path in a specific - scenario where the "use" scope of a type shares only a few - ancestors of the scope in which the type is defined. Our code - would work only when either of the "use" scope or the "defined" - scope was a subset of the other. - - Thanks to Brian Peterson for sending - the bug report and fixes. We have used a slightly different - solution than his suggested fixes. - -Sun Jun 27 09:17:11 1999 David L. Levine - - * tao/DynAny_i.cpp: added ACE_Auto_Basic_Ptr explicit template - instantiations. Thanks to Alex for reporting that they're - necessary without __ACE_INLINE__. - -Sat Jun 26 19:47:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: changed TAO try - macros to ACE try macros. - -Sat Jun 26 18:38:26 1999 Ossama Othman - - * tao/{IIOP,UIOP}_Connect.cpp: - - Clarified connection handler output. - - * tao/UIOP_Connect.cpp (enum): - - Fixed duplicate starting enumeration value (for use with - timeprobes). - - * tao/UIOP_Connect.cpp (open): - - Fixed incorrect array size used when making call to - addr_to_string(). - - * tao/UIOP_Transport.h: - - Comment updates. - -Sat Jun 26 16:24:39 1999 Marina Spivak - - * orbsvcs/orbsvcs/orbsvcs.dsp - * orbsvcs/orbsvcs/orbsvcs_static.dsp - Updated to reflect Changes in orbsvcs/orbsvcs/Naming. - -Sat Jun 26 15:13:59 1999 Ossama Othman - - * tao/Makefile.am: - - Synchronized with latest version of TAO. - - * tao/Pluggable.cpp (start_locate, start_request): - - Fixed unused argument warnings when native exception handling is - enabled. - - * tao/Pluggable.h (TAO_Transport): - - Exception handling update. - -Sat Jun 26 14:23:25 1999 Marina Spivak - - * orbsvcs/tests/Simple_Naming/client.cpp - Clean up of the remaining old exception code. - - * TAO/docs/releasenotes/index.html - Updated the Naming Service section. - - * orbsvcs/orbsvcs/Naming/Shared_Hash_Map_T.{h, cpp} - Removed these files. (They were modified and moved up into the - ACE_wrappers/ace dicrectory. See ACE ChangeLog for more info: tag - Sat Jun 26 14:41:31 1999 Marina Spivak). - - * orbsvcs/orbsvcs/Makefile - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.{h, cpp} - * orbsvcs/orbsvcs/Naming/Naming_Context_Index.{h, cpp} - * orbsvcs/orbsvcs/Naming/Persistent_Entries.{h, cpp} - Updated the files to reflect the removal of - Shared_Hash_Map_T.{h,cpp} from this directory. - -Sat Jun 26 13:10:37 1999 Douglas C. Schmidt - - * examples/POA/Default_Servant/File_i.h: Fixed the exception spec - for destroy. Thanks to David for reporting this. - - * orbsvcs/orbsvcs/Trader: Removed all vestiges of the Locking.h - file, which has been subsumed into other parts of ACE+TAO. - - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp, - orbsvcs/orbsvcs/Trader/Constraint_Visitors, - orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp, - orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp, - orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp: Fixed exception - handling to be compliant with the ACE macros. - -Sat Jun 26 12:45:26 1999 Jody Hagins - - This is a change log for the modifications made to support - Borland C++Builder 4.0, Patch 1. Thanks to - Christopher Kohlhoff and Chris Uzdavinis - for helping with this. - - * TAO/TAO_IDL/be/be_args.cpp: Added new back end (-Wb) option - 'pch_include' which allows you to specify a common include to be - added at the top of all idl generated files. This can be used - with a precompiled header mechanism (such as that provided by - C++Builder or MSVC++). It takes a *very* long time to compile - GUI programs without this. - - * TAO/TAO_IDL/be/be_codegen.cpp: Added support for - TAO_EXPORT_NESTED_CLASSES macro. - - * Added support for new back end (-Wb) option 'pch_include'. - - * TAO/TAO_IDL/be/be_helper.cpp: Target of sprintf function should - not also be used as an insertion argument. - - * TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp: - Added support for TAO_EXPORT_NESTED_CLASSES macro. - - * TAO/TAO_IDL/driver/drv_preproc.cpp: Added command line options - for use with Borland C++Builder preprocessor. - - * TAO/TAO_IDL/include/idl_global.h: Added support for new back end - (-Wb) option 'pch_include'. - - * TAO/TAO_IDL/util/utl_global.h: Added support for new back end - (-Wb) option 'pch_include'. - - * TAO/examples/Callback_Quoter/Consumer_Handler.cpp: Member - variable use_naming_service_ was not initialised. - - * TAO/examples/Callback_Quoter/Supplier_i.cpp: Member variable - f_ptr_ was not initialised. Cmd line option string was missing - ':' required for parameter to 'f'. - - * TAO/orbsvcs/orbsvcs/Sched/SchedEntry.cpp: Workaround for BCB4 - internal compiler error - - * TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.h: Need - ACE_TEMPLATE_SPECIALIZE on specializations. - - * TAO/tao/Active_Object_Map.cpp: BCB4 doesn't accept constructor - syntax for static member variables. - - * TAO/tao/Object_Adapter.cpp: BCB4 doesn't accept constructor - syntax for static member variables. - - * TAO/tao/Sequence.i Need ACE_TEMPLATE_METHOD_SPECIALIZE on - specializations. - - * TAO/tao/orbconf.h: Added TAO_EXPORT_NESTED_CLASSES macro to - allow nested classes to be exported (see also change in - ace\config-win32-borland.h). Borland C++Builder (unlike MSVC++) - does not automatically export nested classes when the outer - class is exported. - -Sat Jun 26 13:20:57 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/sfp.cpp : - Replaced ACE_TRY_ENV.print_exceptions with - ACE_PRINT_EXCEPTION. Thanks to Doug Schmidt for reporting these - errors. - -Sat Jun 26 11:58:01 1999 Ossama Othman - - * tao/{IIOP,UIOP}_Connect.cpp: - - Fixed incorrect enumeration used in ACE timeprobe macro. - -Sat Jun 26 11:55:46 1999 Ossama Othman - - * tao/UIOP_Transport.cpp: - - Fixed duplicate enum starting value for UIOP time probes. - - * tao/{IIOP,UIOP}_Transport.cpp: - - Spelling correction in time probe character string array. - -Sat Jun 26 12:43:26 1999 Aniruddha Gokhale - - * tao/DynAny_i.cpp: - - Fixed the following compile errors. - copy: Used ACE_CHECK_RETURN instead of ACE_CHECK because the operation - required a return value. - - get_any: Return value expected is an Any_ptr and not DynAny_ptr. - -Sat Jun 26 09:35:11 1999 David L. Levine - - * tao/Makefile: on LynxOS/ppc only, for POA.cpp only, - with optimization only, replaced -O2 with -O to - avoid internal compiler error. - -Sat Jun 26 08:58:31 1999 David L. Levine - - * tao/Sequence_T.{i,cpp}: replaced a bunch of CORBA::ULong - template parameters with size_t. - -Fri Jun 25 21:53:10 1999 Jeff Parsons - - * TAO/performance-tests/Pluggable/server.cpp: - * TAO/performance-tests/Pluggable/PP_Test_Client.cpp: - Changed ACE_CHECK_RETURN to ACE_NOTREACHED when - it comes after ACE_ENDTRY in a non-void function. - -Fri Jun 25 21:27:45 1999 Jeff Parsons - - * tao/DynAny_i.cpp: - Made full use of exception macros everywhere - ACE_TRY_ENV was used, made other enhancements - and cosmetic changes. - -Fri Jun 25 20:59:08 1999 Jeff Parsons - - * TAO/tests/Param_Test/any.cpp: - * TAO/tests/Param_Test/bd_long_seq.cpp: - * TAO/tests/Param_Test/bd_short_seq.cpp: - * TAO/tests/Param_Test/bd_str_seq.cpp: - * TAO/tests/Param_Test/bd_string.cpp: - * TAO/tests/Param_Test/bd_long_seq.cpp: - * TAO/tests/Param_Test/bd_struct_seq.cpp: - * TAO/tests/Param_Test/complex_any.cpp: - * TAO/tests/Param_Test/except.cpp: - * TAO/tests/Param_Test/fixed_array.cpp: - * TAO/tests/Param_Test/fixed_struct.cpp: - * TAO/tests/Param_Test/nested_struct.cpp: - * TAO/tests/Param_Test/objref.cpp: - * TAO/tests/Param_Test/nested_struct.cpp: - * TAO/tests/Param_Test/big_union.cpp: - * TAO/tests/Param_Test/ub_string.cpp: - * TAO/tests/Param_Test/objref_struct.cpp: - * TAO/tests/Param_Test/short.cpp: - * TAO/tests/Param_Test/ulonglong.cpp: - * TAO/tests/Param_Test/typecode.cpp: - * TAO/tests/Param_Test/ub_any_seq.cpp: - * TAO/tests/Param_Test/ub_long_seq.cpp: - * TAO/tests/Param_Test/ub_objref_seq.cpp: - * TAO/tests/Param_Test/ub_short_seq.cpp: - * TAO/tests/Param_Test/ub_str_seq.cpp: - * TAO/tests/Param_Test/var_struct.cpp: - * TAO/tests/Param_Test/var_array.cpp: - * TAO/tests/Param_Test/recursive_struct.cpp: - Changed ACE_CHECK_RETURN to ACE_NOTREACHED when - it comes after ACE_ENDTRY in a non-void function. - We'll see if this make everybody happy. - -Fri Jun 25 20:31:05 1999 Jeff Parsons - - * tao/Any.cpp: - Added some ACE_NOTREACHED macros. These were in - response to some warnings about ACE_CHECK_RETURN (...) - after ACE_ENDTRY in non-void functions. We'll see if - this make all the compilers happy. - -Fri Jun 25 18:09:07 1999 Jeff Parsons - - * TAO/tests/Param_Test/any.cpp: - * TAO/tests/Param_Test/bd_long_seq.cpp: - * TAO/tests/Param_Test/bd_short_seq.cpp: - * TAO/tests/Param_Test/bd_str_seq.cpp: - * TAO/tests/Param_Test/bd_string.cpp: - * TAO/tests/Param_Test/bd_long_seq.cpp: - * TAO/tests/Param_Test/bd_struct_seq.cpp: - * TAO/tests/Param_Test/complex_any.cpp: - * TAO/tests/Param_Test/except.cpp: - * TAO/tests/Param_Test/fixed_array.cpp: - * TAO/tests/Param_Test/fixed_struct.cpp: - * TAO/tests/Param_Test/nested_struct.cpp: - * TAO/tests/Param_Test/objref.cpp: - * TAO/tests?Param_Test/ub_struct_seq.cpp: - Added ACE_TRY block to add_args(). This - was not causing a warning, but there - were many unchecked calls using ACE_TRY_ENV. - -Fri Jun 25 17:28:58 1999 Nanbor Wang - - * tao/default_resource.cpp (get_reactor): Made sure the reactor - get cleaned up if any error occured (ACE_LOG_MSG->errnum () != - 0) during initialization. - - * tao/ORB_Core.cpp (init): Return -1 if we failed to initialize - the reactor. - - Thanks to Irfan for helping this out and Oleg Orlov - for reporting the problem. - -Fri Jun 25 16:30:41 1999 Douglas C. Schmidt - - * examples/POA/DSI/Database_i.cpp (find_entry): Fixed a - mistaken exception -- it should be Not_Found rather than - Unknown_Key. Thanks to Steve Huston for reporting this. Also - tidied up the code and added proper exception checking for - memory allocation failures. - - * tao/Sequence_T: Removed all uses of CORBA::ULong as parameters - to a template and replaced them with size_t since this is - breaking the AIX C++ compiler. Thanks to Steve Huston for - reporting this. - -Fri Jun 25 17:01:23 1999 Carlos O'Ryan - - * tests/NestedUpcall/Triangle_Test/initiator.cpp: - Fixed silly typos in my last commit. - -Fri Jun 25 16:43:47 1999 Irfan Pyarali - - * tests/NestedUpcall/Reactor/NestedUpCalls_i.h: Removed old file. - - * examples/POA/DSI/Database_i.cpp (find_entry): - * examples/POA/Default_Servant/File_i.cpp (destroy): - - Fixed the throwing of an exception that is not in the throw - spec. - -Fri Jun 25 13:37:47 1999 Balachandran Natarajan - - * orbsvcs/tests/AVStreams/benchmark/client.cpp: - * orbsvcs/tests/AVStreams/benchmark/server.cpp: Changed TAO_TRY - macros to ACE_TRY macros - -Fri Jun 25 16:03:32 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - * TAO/performance-tests/Pluggable/PP_Test_Client.h: - * TAO/performance-tests/Pluggable/PP_Test_Client.cpp: - * TAO/performance-tests/Pluggable/server.cpp: - * TAO/tests/DynAny_Test/data.cpp: - * TAO/tests/Param_Test/nested_struct.cpp: - * TAO/tests/Param_Test/big_union.cpp: - * TAO/tests/Param_Test/objref.cpp: - * TAO/tests/Param_Test/ub_string.cpp: - * TAO/tests/Param_Test/objref_struct.cpp: - * TAO/tests/Param_Test/short.cpp: - * TAO/tests/Param_Test/ulonglong.cpp: - * TAO/tests/Param_Test/typecode.cpp: - * TAO/tests/Param_Test/ub_any_seq.cpp: - * TAO/tests/Param_Test/ub_long_seq.cpp: - * TAO/tests/Param_Test/ub_objref_seq.cpp: - * TAO/tests/Param_Test/ub_short_seq.cpp: - * TAO/tests/Param_Test/ub_str_seq.cpp: - * TAO/tests/Param_Test/fixed_array.cpp: - * TAO/tests/Param_Test/fixed_struct.cpp: - * TAO/tests/Param_Test/var_struct.cpp: - * TAO/tests/Param_Test/var_array.cpp: - * TAO/tests/Param_Test/recursive_struct.cpp: - * TAO/tests/Param_Test/bd_long_seq.cpp: - * TAO/tests/Param_Test/bd_short_seq.cpp: - * TAO/tests/Param_Test/bd_str_seq.cpp: - * TAO/tests/Param_Test/bd_string.cpp: - * TAO/tests/Param_Test/bd_struct_seq.cpp: - * TAO/tests/Param_Test/ub_struct_seq.cpp: - Fixed exception warnings, ACE_TRY macro stuff - and made some cosmetic changes. - -Fri Jun 25 13:37:47 1999 Balachandran Natarajan - - * tao/Environment.h: - * tao/Environment.i: Added two methods _duplicate () and _nil () - to the class Environment so that they will conformant with v2.2. - -Fri Jun 25 14:28:59 1999 Carlos O'Ryan - - * tao/CurrentC.cpp: - Simplified exit path to avoid warnings about unreachable code - and/or exit without return. - - * tao/append.cpp: - Added .in() calls for some T_var objects. - - * tao/skip.cpp: - Added .in() calls for some T_var objects. - My last change broken the default case for unions. - -Fri Jun 25 13:37:47 1999 Balachandran Natarajan - - * tao/Exception.cpp : - * tao/Exception.h :Added default constructors for - CORBA_UserException & CORBA_SystemException. These have been - implemented as no-op's. In v2.3 of the CORBA spec, these two - classes are going to be abstract data types. But for the present - we want to keep vsOrb happy about these classes. - -Fri Jun 25 14:19:48 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/benchmark/client.cpp: - * orbsvcs/tests/AVStreams/sfp/server.cpp (main): - * orbsvcs/tests/AVStreams/sfp/client.cpp (main): - * orbsvcs/tests/AVStreams/sfp/common.h: - * orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp (create_B): - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp (remove_fep): - Fixed SunCC 5.0 warnings thanks to Carlos O' Ryan. - -Fri Jun 25 14:06:54 1999 Carlos O'Ryan - - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - * orbsvcs/orbsvcs/Event/RT_Task.cpp: - * orbsvcs/orbsvcs/Event/ReactorTask.cpp: - * orbsvcs/tests/EC_Basic/EC_Basic.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - * orbsvcs/tests/Event/Basic/Reconnect.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * tests/CDR/basic_types.cpp: - * tests/CDR/tc.cpp: - * tests/NestedUpcall/MT_Client_Test/client.cpp: - * tests/NestedUpcall/MT_Client_Test/local_server.cpp: - * tests/NestedUpcall/MT_Client_Test/server.cpp: - * tests/NestedUpcall/Reactor/reactor_i.cpp: - * tests/NestedUpcall/Triangle_Test/Initiator_i.cpp: - * tests/NestedUpcall/Triangle_Test/Object_A_i.cpp: - * tests/NestedUpcall/Triangle_Test/Object_B_i.cpp: - * tests/NestedUpcall/Triangle_Test/initiator.cpp: - * tests/NestedUpcall/Triangle_Test/server_A.cpp: - * tests/NestedUpcall/Triangle_Test/server_B.cpp: - * utils/catior/catior.cpp: - More exception handling fixes, changed these files to use the - new exception handling macros. - -Fri Jun 25 13:53:23 1999 Matthew J Braun - - * examples/Logging/Makefile - Oy. Added " -Ge 1" flag to guarantee that the IDL generated - skeletons are the same regardless of platform (DU wasn't - happy). Thanks to Mad Dog Carlos! - -Fri Jun 25 13:37:47 1999 Balachandran Natarajan - - * tao/Context.i: - * tao/Context.cpp: - * tao/Context.h: - * tao/Exception.i: - * tao/Exception.h: - * tao/Exception.cpp: Added _duplicate () methods to pseudo objects - ContextList & ExceptionList with the signature 'static T - *_duplicate (T *) ' to make them compliant with the 2.2 - spec. This was found when we were trying to run the 'api' module - of the vsOrb test suite. - -Fri Jun 25 12:38:43 1999 Matthew J Braun - - * examples/Logging/Logger_i.cpp,h - Added default argument values for ACE_TRY_ENV to reflect tao_idl - generated code. Also removed a vestigal method (verbosity ()) - which was never declared in IDL (since its name would have - clashed with the other verbosity method). Hopefully DU will be - pleased now, since this messed up its compile. - -Fri Jun 25 11:45:18 1999 Irfan Pyarali - - * examples/POA/Loader/Servant_Locator.cpp (ServantLocator_i): - Fixed function pointer casting problem. - - * examples/POA/DSI/server.cpp - * examples/POA/Default_Servant/server.cpp - * examples/POA/Loader/Server_Manager.cpp - * examples/POA/NewPOA/NewPOA.cpp - * examples/POA/On_Demand_Activation/server.cpp - * examples/POA/On_Demand_Loading/Server_Manager.cpp - - Fixed simple exception handling related problems. - -Fri Jun 25 10:01:20 1999 Jeff Parsons - - * tao/Any.cpp: - Added an ACE_CHECK to the type() set method. - Also fixed some DU warnings. - - * tao/CurrentC.cpp: - * tao/DynAny_i.cpp: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.cpp: - Fixed some DU warnings. - - * tao/DynAnyS.cpp: - Fixed ACE_CHECK related stuff. - -Fri Jun 25 07:31:33 1999 David L. Levine - - * orbsvcs/tests/AVStreams/benchmark/Makefile: added - -I$(TAO_ROOT)/orbsvcs/orbsvcs/AV, so that DU cxx 6.2 - can find Endpoint_Strategy_T.cpp for template instantiation. - -Thu Jun 24 21:51:10 1999 Marina Spivak - - * orbsvcs/tests/Simple_Naming/client.{h,cpp} - * orbsvcs/tests/Simple_Naming/README - Added persistent naming test. Cleaned up the perl script and - added the persistent test to it. Updated - README and added examples for how to run the tests. - - * orbsvc/orbsvcs/Naming/Persistent_Naming_Context.{h,cpp} - * orbsvc/orbsvcs/Naming/Hash_Naming_Context.{h,cpp} - * orbsvc/orbsvcs/Naming/Transient_Naming_Context.cpp - * orbsvc/orbsvcs/Naming/Persistent_Context_Index.{h,cpp} - * orbsvc/orbsvcs/Naming/Naming_Utils.cpp - * orbsvc/orbsvcs/Naming/Binding_Iterators.{h,cpp} - Updated the code so after method is invoked on a Naming - Context, all of its BindingIterators become invalid. When - is invoked on a Naming Context, the context deregisters from POA, - but is not deleted until all of its iterators are destroyed. This - is implemented through the reference counting on Naming Contexts. - Iterators are destroyed in the "lazy evaluation" fashion. When a - user invokes an operation on an iterator, that iterator check its - own validity, and, if appropriate, self-destroys. This appoach is - harder on resources, but is a lot easier and cleaner to implement - than explicitely keeping track of collections. Plus this use-case - is not on the critical path. - -Thu Jun 24 22:13:42 1999 Irfan Pyarali - - * tao/CurrentC.cpp: - * tao/CurrentS.cpp: - * tao/PolicyS.cpp: - - Changed "IDL:CORBA" to "IDL:omg.org/CORBA". However, the - typecodes in Typecode_Constants.cpp still need to be fixed by - regenerating them through the IDL compiler. - -Thu Jun 24 22:22:27 1999 Carlos O'Ryan - - * orbsvcs/tests/Trading/run_test.pl: - New script to run the trading service test. - -Thu Jun 24 22:18:52 1999 Doug Anderson - - * TAO/tao/orbconf.h,TAO/tao/DynAnyC.{h,cpp}: - updates for Cray UNICOS port. - -Thu Jun 24 21:43:59 1999 Irfan Pyarali - - * tao/POAC.cpp (_narrow): Fixed use of try macros. - - * tao/ORB.cpp: Even though MSVC has support for standard C++ - library, the set_unexpected() function is not in the std - namespace. - -Thu Jun 24 17:48:13 1999 Balachandran Natarajan - - * orbsvcs/ImplRepo_Service/Repository.cpp: Added an explicit - template instantiation parameter for ACE_Equal_To<>. - -Thu Jun 24 21:30:21 1999 Carlos O'Ryan - - * tao/Any.cpp: - * tao/Context.cpp: - * tao/CurrentC.cpp: - * tao/CurrentS.cpp: - * tao/Exception.cpp: - * tao/GIOP_Server_Request.cpp: - * tao/Invocation.cpp: - * tao/NVList.cpp: - * tao/ORB.cpp: - * tao/PolicyS.cpp: - More exception handling changes and some cosmetic changes. - -Thu Jun 24 21:03:40 1999 Nanbor Wang - - * tao/try_macros.h: Guarded the definition of all TAO try macros - with TAO_USES_DEPRECATED_TAO_TRY_MACROS. This is now defined in - the file. After we depricate the use of TAO try macros, one - will need to define TAO_USES_DEPRECATED_TAO_TRY_MACROS - explicitly in order to compile their code. - - * Exception.cpp: - * Forwarding_Servant.cpp: - * GIOP_Server_Request.cpp: - * Invocation.cpp: - * NVList.cpp: - * ORB.cpp: - * POAC.cpp: - * Request.cpp: - * Stub.cpp: - * TAO.cpp: Fixed the use of TAO_IN_ENV, and native exception - support. - -Thu Jun 24 20:02:24 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: - * TAO_IDL/be/be_visitor_operation/ami_cs.cpp: - * TAO_IDL/be/be_visitor_operation/operation_ami_cs.cpp: - The IDL compiler was not generating exception safe code in a - couple of places. - - * tao/poa_macros.h: - * tao/Object_Adapter.i: - * tao/POA.cpp: - * tao/POA.i: - * tao/POAManager.i: - The POA was implicitly using the obsolete TAO_TRY macros through - its TAO_POA_GUARD_* stuff, updated to use ACE_GUARD_* and - friends. - - * tao/DomainC.cpp: - * tao/IORC.cpp: - * tao/MessagingC.cpp: - * tao/PolicyC.cpp: - * tao/PollableC.cpp: - More exception handling fixes. - -Thu Jun 24 17:48:13 1999 Balachandran Natarajan - - * docs/releasenotes/TODO.html (pseudo-object): Added a todo item - -Thu Jun 24 19:41:35 1999 Carlos O'Ryan - - * tao/Any.cpp: - * tao/CDR_Interpreter.cpp: - * tao/CurrentC.cpp: - * tao/CurrentS.cpp: - * tao/DynAny_i.cpp: - * tao/DynArray_i.cpp: - * tao/DynEnum_i.cpp: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.cpp: - * tao/DynUnion_i.cpp: - * tao/append.cpp: - * tao/deep_free.cpp: - * tao/encode.cpp: - * tao/skip.cpp: - Another pass fixing exception handling problems - -Thu Jun 24 18:27:22 1999 Jeff Parsons - - * tao/Any.h: - * tao/Any.i: - * tao/Any.cpp: - * tao/CDR_Interpreter.h: - * tao/CDR_Interpreter.cpp: - * tao/DynAny_i.h: - * tao/DynAny_i.cpp: - * tao/DynArray_i.h: - * tao/DynArray_i.cpp: - * tao/DynSequence_i.h: - * tao/DynSequence_i.cpp: - * tao/DynEnum_i.h: - * tao/DynEnum_i.cpp: - * tao/DynStruct_i.h: - * tao/DynStruct_i.cpp: - * tao/DynUnion_i.h: - * tao/DynUnion_i.cpp: - Fixed much of the ACE_TRY stuff. There are still some - ACE_CHECK-related things to add and some code to - rearrange. - -Thu Jun 24 17:48:13 1999 Balachandran Natarajan - - * tao/ORB.h (CORBA_ORB): Made the method - CORBA::ORB::InvalidName::_narrow static as needed by the spec. - -Thu Jun 24 17:44:39 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: - Fixed a few nested calls with ACE_TRY_ENV. Added appropriate - ACE_TRY_CHECK after these statements. Thanks to Paul Calabrese - for reporting these problems. - -Thu Jun 24 17:29:59 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp: - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp: - Fixed problems with exception handling, thanks to Paul Calabrese - for pointing this out. - -Thu Jun 24 17:26:53 1999 Matthew J Braun - - * orbsvcs/Makefile - * orbsvcs/orbsvcs/Makefile - * orbsvcs/tests/Makefile - Removed all references to the Logging service or Logging tests - - * examples/Makefile - Added entry for the new Logging example directory - - * orbsvcs/Logging_Service/Logging_Service.cpp - * orbsvcs/Logging_Service/Logging_Service_i.cpp,h - * orbsvcs/Logging_Service/Makefile - * orbsvcs/Logging_Service/Makefile.am - * orbsvcs/orbsvcs/Logger.idl - * orbsvcs/orbsvcs/Log/Logger_i.cpp,h - * orbsvcs/orbsvcs/Log/Makefile.am - * orbsvcs/tests/Logger/Logger.dsw - * orbsvcs/tests/Logger/Logging_Test.cpp - * orbsvcs/tests/Logger/Logging_Test_i.cpp,h - * orbsvcs/tests/Logger/Makefile - * orbsvcs/tests/Logger/README - * orbsvcs/tests/Logger/client.cpp,h - * orbsvcs/tests/Logger/client.dsp - * orbsvcs/tests/Logger/client_i.cpp,h - * orbsvcs/tests/Logger/run_test.pl - * orbsvcs/tests/Logger/server.cpp - * orbsvcs/tests/Logger/server.dsp - * orbsvcs/tests/Logger/server_i.cpp,h - Removed all these files. They were the Logging_Service and all - related tests. - * orbsvcs/orbsvcs/Log - * orbsvcs/Logging_Service - * orbsvcs/tests/Logger - Removed these directories - - * examples/Logging - Added this directory to hold the moved logging service - - * examples/Logging/Logger.idl - * examples/Logging/Logger_i.cpp,h - * examples/Logging/Logging_Service.cpp - * examples/Logging/Logging_Service_i.cpp,h - * examples/Logging/Logging_Test.cpp - * examples/Logging/Logging_Test_i.cpp,h - * examples/Logging/Makefile - * examples/Logging/README - * examples/Logging/run_test.pl - These files are the modified versions of the original - Logging_Service and Logger test files. I've removed the old - TAO_THROW macros and added a POA_Manager activation. Also, I've - adjusted the README and Makefiles accordingly. - - I fear that this may break things, but I've tried to keep it safe - and I've tested my changes. Let us hope. - -Thu Jun 24 17:22:47 1999 Carlos O'Ryan - - * tests/MT_Client/orb_creation.cpp: - * tests/NestedUpcall/Reactor/client.cpp: - * tests/NestedUpcall/Reactor/client.h: - * tests/NestedUpcall/Reactor/mt_client.h: - * performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * performance-tests/Thruput/TAO/client.cpp: - * performance-tests/Thruput/TAO/server.cpp: - * performance-tests/Thruput/TAO/ttcp_decl.h: - * performance-tests/Thruput/TAO/utils.cpp: - * examples/OBV/Typed_Events/Client_i.h: - * examples/OBV/Typed_Events/Client_i.cpp: - Fixed several Sun/CC 5.0 warnings and errors. - -Thu Jun 24 17:01:48 1999 Carlos O'Ryan - - * tao/MProfile.cpp: - Fixed syntax errors, thanks to Ossama for pointing them out. - -Thu Jun 24 16:38:09 1999 Matthew J Braun - - * tao/Any.i: - Changed all references to the deprecated "ACE_TRY_NEW_ENV" to - "ACE_DECLARE_NEW_CORBA_ENV; ACE_TRY" - -Thu Jun 24 15:25:55 1999 Ossama Othman - - * tao/corbafwd.h: - - Added '-*- C++ -*-' line so that Emacs will be in C++ mode when - editing the file in it. - - * tao/ORB.h: - - Changed inclusion of "IORManipulation.h" to - "tao/IORManipulation.h". - - * tao/{IIOP,UIOP}*: - - Fixed old style of exception handling. - - * tao/UIOP_Profile.h: - - Comment updates. - -Thu Jun 24 16:03:16 1999 Carlos O'Ryan - - * tao/DomainS_T.i: - * tao/MProfile.cpp: - * tao/Makefile: - * tao/MessagingC.cpp: - More exception managment changes. - -Thu Jun 24 14:53:32 1999 Irfan Pyarali - - * tao/Invocation.cpp (TAO_GIOP_Invocation::invoke and - TAO_GIOP_Locate_Request_Invocation::invoke): Now that - GIOP::send_message() is not closing the transport on error, we - have do so here. - - * tao/Stub: Added an extra ORB_var to the Stub. This extra - ORB_var is required for reference counting. It will help us - keep the ORB that created us around until the CORBA::Object we - represent dies. This will eliminate the need for making sure - that all CORBA objects dies before the ORB dies. - - * tao/UIOP_Connect.cpp (handle_input): - * tao/IIOP_Connect.cpp (handle_input): - - Only reset the message state of the transport on success. On - failures, the transport will be closed anyway. - - * tao/GIOP.cpp: Many of the GIOP functions were closing the - transport on failure. In addition, -1 was also being returned - to the Reactor, which further called handle_close() on the - transport. This would typically result in a double delete. - - The solution was to not close the transport on failure but - return the error result to the caller. If the caller was the - Reactor, it will call handle_close() and clean up the - transport. If the caller was the client-side, it will have to do - the correct cleanup. - - Thanks to Gildo Medeiros Junior for - pointing out this problem. - - * tao/POAS.cpp: - * tao/POAS.i: - * tao/Forwarding_Servant.cpp: - - Fixed old style of exception handling. - -Thu Jun 24 13:46:46 1999 Carlos O'Ryan - - * tao/ORB.h: - * tao/ORB.cpp: - Added an unexpected() function to transform unexpected - exceptions into CORBA::UNKNOWN - - * tests/Param_Test/client.cpp: - * tests/Param_Test/except.cpp: - * tests/Param_Test/param_test_i.h: - * tests/Param_Test/param_test_i.cpp: - The test was broken but SII and DII (!) exceptions where ok. - -Thu Jun 24 12:20:36 1999 Carlos O'Ryan - - * orbsvcs/Event_Service/Event_Service.cpp: - Use the new Event Service by default. - Activate the POA before doing anything else, thanks to Byron - Harris for figuring this out. - - * tao/IORC.cpp: - * tao/MessagingS_T.cpp: - * tao/PolicyC.cpp: - * tao/PollableC.cpp: - * tao/Sequence_T.cpp: - * tao/Typecode.cpp: - * tao/varout.cpp: - Fixed several exception handling problems. - -Thu Jun 24 10:12:56 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/IR_Helper.cpp: - Removed syntax error, probably a typo. - - * orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.h: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.h: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp: - Removed the unused arguments altogether. - - * orbsvcs/Time_Service/Makefile: - * orbsvcs/tests/AVStreams/sfp/Makefile: - * orbsvcs/tests/ImplRepo/Makefile: - * examples/Simple/time-date/Makefile: - Several minor fixes, such as outdated dependencies and - typos. Things are happy now. - -Thu Jun 24 07:44:07 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/IR_Helper.cpp: - Fixed unused arg warnings. - - * orbsvcs/tests/EC_Custom_Marshal/ECM_{Consumer,Supplier}.cpp: - Fixed unused arg warnings. - -Thu Jun 24 06:43:00 1999 David L. Levine - - * tao/Reply_Dispatcher.cpp (dispatch_reply): added - ACE_UNUSED_ARG (message_state), only with ACE_NDEBUG. - -Thu Jun 24 03:30:11 1999 Darrell Brunsch - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/ImplRepo_Service/Repository.cpp: - Added template instantiation declarations. - - * orbsvcs/ImplRepo_Service/tao_ir.dsp: - Output file spelled wrong. - - * orbsvcs/Time_Service/Server_i.cpp: - Now uses a more specific (and unique) POA name, so it will - work better with the IR. - - * orbsvcs/Time_Service/Time_Service_Clerk.dsp: - * orbsvcs/Time_Service/Time_Service_Server.dsp: - * orbsvcs/Time_Service/IR_Helper.cpp: (REMOVED) - * orbsvcs/Time_Service/IR_Helper.h: (REMOVED) - * orbsvcs/Time_Service/Server_i.h: - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: (REMOVED) - * orbsvcs/tests/ImplRepo/IR_Helper.h: (REMOVED) - * orbsvcs/orbsvcs/IR_Helper.cpp: (ADDED) - * orbsvcs/orbsvcs/IR_Helper.h: (ADDED) - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/tests/ImplRepo/airplane_server.dsp: - * orbsvcs/tests/ImplRepo/airplane_server_i.h: - * orbsvcs/tests/ImplRepo/nestea_server.dsp: - * orbsvcs/tests/ImplRepo/nestea_server_i.h: - * orbsvcs/Time_Service/Makefile: - * orbsvcs/tests/ImplRepo/Makefile: - Moved IR_Helper to orbsvcs library for now. - - * orbsvcs/tests/Time/implrepo.conf: - IR doesn't require this anymore. - - * orbsvcs/tests/Time/run_test.pl: - Works with new IR. - -Wed Jun 23 23:36:22 1999 Darrell Brunsch - - * orbsvcs/tests/ImplRepo/Makefile: Removed Repository_Test. - -Wed Jun 23 21:27:45 1999 David L. Levine - - * TAO-INSTALL.html: removed space from "resource requirements" - tag to avoid problems with web browers. - -Wed Jun 23 20:40:46 1999 Carlos O'Ryan - - * tao/Environment.cpp: - Print out the user provided info, even if there is no - exception. - - * tao/corbafwd.h: - Minor cosmetic fixes - - * TAO_IDL/be/be_visitor_array/array_ch.cpp: - Some non-inline functions where declared inline, fixed. - - * docs/Options.html: - The -ORBResources option is not going away, the current behavior - is exactly what we want. - - * examples/Simple/time-date/Makefile: - The Makefile was not installing the shared library in - $ACE_ROOT/ace - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - Trap and ignore exceptions raised by the consumer, to isolate - the suppliers from them, thanks to Paul Calabrese - for pointing this out. - - * orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - They don't use the scheduling service anymore (the data was fake - anyway). - We use perform_work() to wait for events, that way we don't have - to shutdown the ORB and we can cleanup the servants, POA, - etc. afterwads. - - * orbsvcs/tests/CosEC_Multiple/run_test.pl: - * orbsvcs/tests/EC_Custom_Marshal/run_test.pl: - * orbsvcs/tests/EC_Mcast/run_test.pl: - * orbsvcs/tests/Event_Latency/run_test.pl: - Use the new real-time event channel to run the tests. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/server.cpp: - Several exceptions were not printed correctly. - -Wed Jun 23 20:23:01 1999 Ossama Othman - - * performance-tests/Cubit/TAO/MT_Cubit/run_test.pl: - - Increased the client time-out value from 60 seconds to 120 - seconds since the client may take longer to finish on heavily - loaded machines. - - Minor cosmetic update (-ORBgioplite --> -ORBGIOPlite) to be more - consistent with the "published" TAO ORB options. Both will - work, however. - -Wed Jun 23 17:38:52 1999 Balachandran Natarajan - - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: Fixed warnings in the build. - -Wed Jun 23 19:15:48 1999 Darrell Brunsch - - * docs/implrepo/index.html: Added persistence to future work - list. - -Wed Jun 23 17:53:15 1999 Nanbor Wang - - * TAO_IDL/be/be_visitor_interface/collocated_sh.cpp: We should - generate code using ACE_TRY_ENV instead of TAO_IN_ENV. - - * Any.h: - * CDR.h: - * CDR_Interpreter.h: - * CurrentC.h: - * DomainC.h: - * DynAnyC.h: - * Environment.h: - * Exception.h: - * Forwarding_Servant.h: - * GIOP.h: - * GIOP_Server_Request.h: - * IIOP_Profile.h: - * IORC.h: - * Invocation.h: - * MProfile.h: - * Marshal.h: - * MessagingC.h: - * MessagingS.h: - * NVList.h: - * ORB.h: - * ORB_Core.h: - * Object.h: - * POAS.h: - * POA_CORBA.h: - * Pluggable.h: - * PolicyC.h: - * PollableC.h: - * PollableS.h: - * Request.h: - * Sequence.h: - * Server_Request.h: - * Stub.h: - * Typecode.h: - * UIOP_Profile.h: - * corbafwd.h: Replaced all occurences of TAO_TRY_ENV, env, and - _tao_env with ACE_TRY_ENV. - -Wed Jun 23 17:38:52 1999 Balachandran Natarajan - - * examples/Quoter/Generic_Factory.cpp: - * examples/Quoter/Quoter_i.cpp : - * examples/Simple/grid/Grid_i.cpp: - * examples/Simple/Time/Time_i.cpp: Fixed unused arguments warnings - in these files. - -Wed Jun 23 17:35:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.{cpp, h, i} - orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.{cpp, h, i} (new): - - Hacked apart and am in the process of revamping how the DFS based - passes over the dependency graph are done. This code is in a - state of flux and does not yet compile - please do not attempt - to add it to any make or project files until it is cleaned up. - -Wed Jun 23 17:19:52 1999 Balachandran Natarajan - - * orbsvcs/ImplRepo_Service/tao_ir_i.cpp: Fixed some errors on - g++. - -Wed Jun 23 16:38:54 1999 John Heitmann - - * examples/Quoter/run_test.pl: - * examples/POA/TIE/run_test.pl: - * examples/Forwarding/run_test.pl: - * orbsvcs/tests/Time/run_test.pl: - * orbsvcs/tests/Logger/run_test.pl: - * orbsvcs/tests/Event_Latency/run_test.pl: - * orbsvcs/tests/EC_Custom_Marshal/run_test.pl: - * orbsvcs/tests/CosEC_Multiple/run_test.pl: - Rather that kill(), the servers now terminate(); - - * examples/POA/TIE/run_test.pl: - Now conforms to the new style. - -Wed Jun 23 15:54:47 1999 Balachandran Natarajan - - * orbsvcs/tests/ImplRepo/nestea_i.cpp : - * orbsvcs/tests/ImplRepo/nestea_server_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_i.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp (destroy): Fixed - warnings by remving an extra argument. - -Wed Jun 23 15:50:53 1999 Ossama Othman - - * performance-tests/Cubit/TAO/MT_Cubit/Globals.h: - - Added a '-*- C++ -*-' to force C++ mode when editing in Emacs. - - * tao/UIOP_Acceptor.cpp: - - Cosmetic updates. - - * tao/IIOP_Connector.cpp (make_profile): - * tao/UIOP_Connector.cpp (make_profile): - - Comment updates. No code changes. - -Wed Jun 23 15:08:04 1999 Mike Moran - - * orbsvcs/tests/Trading/Simple_Dynamic.cpp: - Fixed warnings by removing unused parameters to method evalDP(). - -Wed Jun 23 14:42:27 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: - Eliminated optimized generated code for CDR operators for - bounded octet sequences. The bounded class does not contain - or use message blocks. This undoes a change made earlier - today. Thanks to Doug Anderson for - pointing out this problem. - -Wed Jun 23 14:42:01 1999 Kirthika Parameswaran - - * examples/Simple/echo/run_test.pl: Modified it to have the - timedout feature. - -Wed Jun 23 14:25:09 1999 Mike Moran - - * orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp: - fixed warning in register_factory, removed unused parameter - -Wed Jun 23 14:22:04 1999 Kirthika Parameswaran - - * examples/Simple/echo/Echo_i.cpp (echo_list): Added - ACE_UNUSED_ARG for to ward off warnings. - -Wed Jun 23 13:56:52 1999 John Heitmann - - * tests/NestedUpcall/Triangle_Test/run_test.pl: - * tests/Multiple_Inheritance/run_test.pl: - Was timing out too soon, increased the wait time to compensate. - -Wed Jun 23 12:33:31 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/benchmark/client.cpp: - * orbsvcs/tests/AVStreams/benchmark/server.cpp: - * orbsvcs/tests/AVStreams/benchmark/child.cpp: - * orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp : - * orbsvcs/orbsvcs/AV/sfp.cpp: - Fixed a few warnings for unused args. Thanks to Carlos for - reporting these. - - * orbsvcs/tests/AVStreams/sfp/run_test.pl: - Added a new run_test.pl for the sfp tests. - * orbsvcs/tests/AVStreams/sfp/client.cpp: - Added a new option -a to specify the server address. - Also fixed some warnings. Thanks to Carlos and David for - reporting these. - * orbsvcs/tests/AVStreams/sfp/common.h: - Made the default server address as localhost:10000. - -Wed Jun 23 11:32:29 1999 Vishal Kachroo - - * /TAO/tests/InterOp-Naming/INS_i.cpp: - Fixed a warning for an unused argument. - -Wed Jun 23 10:09:48 1999 David L. Levine - - * TAO-INSTALL.html: added link to ACE-INSTALL.html's resource - requirements discussion. Thanks to Gilbert Roulot - for this suggestion. - -Wed Jun 23 10:00:16 1999 Pradeep Gore - - * orbsvcs/tests/CosEC_Multiple.cpp: - * examples/Event_Comm/Event_Comm_i.cpp: - * examples/Event_Comm/Supplier_Input_Handler.cpp: - Fixed unused arg warnings. - -Wed Jun 23 09:49:40 1999 Jeff Parsons - - * TAO/tests/Param_Test/complex_any.cpp: - * TAO/tests/Param_Test/results.cpp: - * TAO/tests/Param_Test/typecode.cpp: - * TAO/tests/Param_Test/ub_any_seq.cpp: - * TAO/tests/Param_Test/ub_short_seq.cpp: - Fixed unused arg warnings. - -Wed Jun 23 09:26:39 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp: - Changed a couple of instances of ACE_dynamic_cast - to ACE_reinterpret_cast in generated code. I had earlier - changed these from ACE_static_cast mistakenly to - ACE_dynamic_cast. Thanks to David for setting me - straight. - -Wed Jun 23 00:42:05 1999 Douglas C. Schmidt - - * examples/Simple/time-date: Fixed warnings in the code. - Thanks to Carlos for reporting this. - -Wed Jun 23 00:07:51 1999 John Heitmann - - * orbsvcs/tests/Time/run_test.pl: Changed all instances of server - and clerk to Time_Service_Server and Time_Service_Clerk. - -Tue Jun 22 22:11:40 1999 Carlos O'Ryan - - * tao/default_resource.cpp: - Removed the warning about -ORBresources, the current behavior is - acceptable and we decided not to remove the option in the - future. - - * orbsvcs/tests/Makefile: - * orbsvcs/tests/AVStreams/Makefile: - * orbsvcs/tests/AVStreams/benchmark/Makefile: - * orbsvcs/tests/AVStreams/benchmark/run_test.pl: - * orbsvcs/tests/AVStreams/benchmark/svc.conf: - * orbsvcs/tests/AVStreams/sfp/Makefile: - * orbsvcs/tests/Property/run_test.pl: - Updated the Makefiles and scripts on the AV tests, there is some - hope of adding them to the nightly builds. - - * orbsvcs/tests/Event/Basic/BCast.cpp: - Fixed a warning. - - * tests/POA/Destruction/Makefile: - Updated dependencies - -Tue Jun 22 21:49:38 1999 Fred Kuhns - - * IORManipulation.cpp: - Fixed usage of type_id, was if (type_id) now if (type_id.in ()) - This will ensure a const char * is returned for the if. - -Tue Jun 22 21:11:56 1999 Balachandran Natarajan - - * orbsvcs/ImplRepo_Service/Repository.cpp:Added missing template - instantiations - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.h: Added few missing - exceptions in the signature. - -Tue Jun 22 20:11:49 1999 Irfan Pyarali - - * tao/POA.cpp (locate_servant_i): If incarnate() returns 0, then - an OBJ_ADAPTER exception should be raised. Thanks to Matthew - Newhook for pointing this out. - -Tue Jun 22 20:23:07 1999 Carlos O'Ryan - - * orbsvcs/tests/EC_Custom_Marshal/run_test.pl: - * orbsvcs/tests/EC_Multiple/run_test.pl: - * orbsvcs/tests/Event_Latency/run_test.pl: - Updated to work in the nightly builds - - * examples/Simple/chat/Broadcaster_i.cpp: - Fixed warning - - * tests/Makefile: - Added the POA directory - - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - The POA was not activated - - * examples/Simple/bank/run_test.pl: - * examples/Simple/grid/run_test.pl: - * examples/Simple/time/run_test.pl: - * examples/Simple/time-date/run_test.pl: - Minor fixes on the server shutdown - -Tue Jun 22 20:10:53 1999 Balachandran Natarajan - - * examples/Simple/echo/server.cpp: - * examples/Simple/bank/server.cpp: - * examples/Simple/grid/server.cpp: - * examples/Simple/time/server.cpp: Made some cosmetic changes. - - * tao/Active_Object_Map.cpp: Removed some statements that were - giving compile errors. They were ACE_UNUSED_ARG () which were - not there. - -Tue Jun 22 19:27:21 1999 Carlos O'Ryan - - * orbsvcs/tests/Event/Performance/run_test.pl: - Make the tests shorter because they were timing out on some - platforms. - -Tue Jun 22 17:09:45 1999 Irfan Pyarali - - * tao/Active_Object_Map.cpp - (TAO_Multiple_Id_Strategy::is_servant_in_map() and - TAO_User_Id_Strategy::bind_using_system_id()): Fixed unused arg - warnings. Thanks to Carlos for pointing these out. - - * tao/Object_Adapter and tao/POA: - - Did some major rework of the POA Current object. Previously, - this object was used for the POA Current as well as the cleanup - object. Servant_Upcall has taken over the role of the cleanup - object. Therefore, moved all extra state from POA Current to - Servant Upcall. - - The above change allowed me to fix POA::destroy(). Previously, - when POA::destroy() was called, the POA object was destroyed - immediately. The problem with this was that there might be - outstanding requests being dispatched by this POA. These - outstanding requests access POA state once they complete. If - the POA is already gone by this time, a seg fault will occur. - The fix allows the POA destruction to be delayed till all the - outstanding requests complete. - - * tests/POA/Destruction/Destruction.cpp: This new test will make - sure that the above mentioned change works. - - * test/POA/Identity: Moved this application from examples - directory to the test directory. - -Tue Jun 22 18:38:35 1999 Balachandran Natarajan - - * examples/Simple/Simple_util.cpp: Made the POA state active - before calling the rebind on the naming service. - -Tue Jun 22 17:45:16 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/CosEvent_Utilities.cpp: - * orbsvcs/orbsvcs/AV/sfp.cpp: - * orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_Dispatching.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * orbsvcs/orbsvcs/Event/EC_MT_Dispatching.cpp: - * orbsvcs/orbsvcs/Event/EC_Null_Factory.cpp: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.cpp: - * orbsvcs/orbsvcs/Event/EC_Timeout_Filter.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_T.cpp: - * tests/Param_Test/param_test_i.cpp: - More unused variable/parameter warnings are removed. - -Tue Jun 22 17:14:48 1999 John Heitmann - - * orbsvcs/tests/Logger/run_test.pl: - * orbsvcs/tests/Property/run_test.pl: - * orbsvcs/tests/Time/run_test.pl: Updated the tests to - reflect new guidelines concerning timeouts and blocking. - -Tue Jun 22 17:07:01 1999 Carlos O'Ryan - - * tao/Any.h: - * tao/Any.cpp: - Added the insertion operator for exceptions into anys (copying - version). - -Tue Jun 22 15:18:46 1999 John Heitmann - - * examples/Quoter/run_test.pl: - * examples/Simple/bank/run_test.pl: - * examples/Simple/grid/run_test.pl: - * examples/Simple/time/run_test.pl: - * examples/Simple/time-date/run_test.pl: - * orbsvcs/tests/AVStreams/benchmarks/run_test.pl: - * orbsvcs/tests/CosEC_Multiple/run_test.pl: - * orbsvcs/tests/CosEC_Multiple/run_test2.pl: - * orbsvcs/tests/EC_Basic/run_test.pl: - * orbsvcs/tests/EC_Custom_Marshal/run_test.pl: - * orbsvcs/tests/EC_Multiple/run_test.pl: - * orbsvcs/tests/Event_Latency/run_test.pl: Updated the tests to - reflect new guidelines concerning timeouts and blocking. - -Tue Jun 22 15:11:26 1999 Carlos O'Ryan - - * orbsvcs/tests/Event/Basic/BCast.cpp: - Fixed problems opening and closing the event handler. Thanks to - Tom Ziomek for pointing this out. - -Tue Jun 22 14:21:41 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_cs.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_cs.cpp: - Methods allocbuf() in *C.i and _allocate_buffer() in *C.cpp - always allocate the maximum for the bounded sequence, so the - ULong 'length" arg was always unused. Commented it out in the - generated code. Warnings reported on Linux builds. - -Tue Jun 22 14:02:26 1999 David L. Levine - - * examples/OBV/Typed_Events/Makefile - Benchmark/Marshal_Test/Orbix/Makefile, - Benchmark/Marshal_Test/TAO/Makefile, - Benchmark/Marshal_Test/VisiBroker/Makefile, - TAO_IDL/Makefile, - performance-tests/Cubit/Hardpack/IDL_Cubit/Makefile, - performance-tests/Cubit/VisiBroker/base_server/Makefile, - performance-tests/Cubit/VisiBroker/client/Makefile, - performance-tests/Thruput/Orbix/Makefile: - replaced rm with $(RM). - -Tue Jun 22 13:55:09 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union/union_cs.cpp: - Eliminated unused arg in _reset() and added initialization of - base class constructor in copy constructor. These were - pointed out by Linux warnings in David's build logs. - -Tue Jun 22 13:42:10 1999 Carlos O'Ryan - - * TAO_IDL/fe/fe_interface_header.cpp: - * tao/Active_Object_Map.cpp: - * tao/Context.cpp: - * tao/GIOP.cpp: - * tao/IORC.cpp: - * tao/PolicyC.cpp: - * tao/Transport_Mux_Strategy.cpp: - * tao/UIOP_Transport.cpp: - * tao/ValueBase.cpp: - * tests/OctetSeq/OctetSeq.cpp: - More unused arg warnings removed.. - - * tao/IIOP_Connect.cpp: - * tao/IIOP_Transport.cpp: - In this case the unused argument was actually a bug. - -Tue Jun 22 13:19:24 1999 David L. Levine - - * TAO_IDL/Makefile,TAO_IDL/fe/y.tab.{h,cpp}: removed unused - arguments. - -Tue Jun 22 11:39:43 1999 Carlos O'Ryan - - * performance-tests/Latency/Makefile: - This directory was missing the -Ge 1 option. - - * examples/OBV/Simple_util.cpp: - * examples/OBV/Typed_Events/Server_i.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - Fixed some of the new egcs warnings - - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.cpp: - Don't raise an exception if the supplier is already there, it - may be because another thread added, because it was - connected/disconnected multiple times while the operations where - delayed, etc. - - * orbsvcs/tests/Event/lib/Consumer.h: - * orbsvcs/tests/Event/lib/Consumer.cpp: - * orbsvcs/tests/Event/lib/Driver.h: - * orbsvcs/tests/Event/lib/Driver.cpp: - * orbsvcs/tests/Event/lib/Supplier.h: - * orbsvcs/tests/Event/lib/Supplier.cpp: - Be more careful with object deactivation, there is no need to - deactivate the consumers and suppliers after each disconnect, - only on shutdown, that is not only more efficient, but it avoids - problems with the POA: if an object is deactivated it cannot be - deactivated until all its pending requests have finished. This - is specially problematic when the object is deactivated while - performing an upcall on the same object.... - -Tue Jun 22 11:11:46 1999 Jeff Parsons - - * TAO_IDL/be/be_structure.cpp: - Removed error output code for non-field member of struct in - method in_recrusion(). There can be legitimate non-field - things encountered, like values of an enum declared inside - the struct, which will not involve any recursion, so we - just advance the iterator. - -Tue Jun 22 10:29:54 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - There is no need to deactivate the gateway every time we modify - its QoS parameters, the same object reference is still valid. - The UDP gateway case is a little different and requires a closer - look. - -Tue Jun 22 09:52:44 1999 David L. Levine - - * tao/ORB.cpp (lookup_value_factory): removed unused arg ACE_TRY_ENV. - Thanks to Carlos for the fix. - -Tue Jun 22 08:38:12 EDT 1999 Aniruddha Gokhale - * orbsvcs/orbsvcs/Makefile: - Updated dependencies. - -Tue Jun 22 07:59:11 EDT 1999 Aniruddha Gokhale - - * tao/ORB.cpp: - Fixed a compile error where we were using "env" whereas the - parameter passed ACE_TRY_ENV. - -Tue Jun 22 02:22:11 1999 Darrell Brunsch - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/ImplRepo_Service/Makefile: - * orbsvcs/tests/ImplRepo/Makefile: - Updated Dependencies and changed for new IR stuff. - - * orbsvcs/tests/ImplRepo/run_test.pl: - Uses relative path for tao_ir. - - * orbsvcs/tests/ImplRepo/Repository_Test.cpp: (REMOVED) - * orbsvcs/tests/ImplRepo/Repository_Test.dsp: (REMOVED) - Old test does not work with the new Repository. - - * orbsvcs/tests/ImplRepo/svc.conf: (REMOVED) - Don't think we need this anymore. - -Tue Jun 22 00:38:58 1999 Darrell Brunsch - - New Implementation Repository stuff, featuring a command line - helper application, tao_ir; a new IDL interface; extra commands - available for the server, and new docs. - - * orbsvcs/orbsvcs/ImplRepo.idl: - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/Ping.idl: (REMOVED) - Restructured the IDL for Implementation Repository. - - * docs/releasenotes/index.html: - ImplRepo link now goes to main ImplRepo page. - - * docs/implrepo/index.html: - * docs/implrepo/status.html: (REMOVED) - * docs/implrepo/tao_ir.html: (ADDED) - * docs/implrepo/usersguide.html: - Updated docs and did a little reorganizing. - Note: User's Guide has not been fully updated yet. - - * orbsvcs/ImplRepo_Service/ImplRepo.cpp: - Converted TAO_* corba macros to ACE_*. - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.h: - Supported new ImplRepo IDL Interface. - - * orbsvcs/ImplRepo_Service/Options.cpp: - Removed extra "*/" - - * orbsvcs/ImplRepo_Service/Repository.cpp: - * orbsvcs/ImplRepo_Service/Repository.h: - Reorganized and worked minimal support (or at least room) for - future inclusion of logical servers and Process information. - - * orbsvcs/ImplRepo_Service/ImplRepo.dsw: - * orbsvcs/ImplRepo_Service/tao_ir.cpp: (ADDED) - * orbsvcs/ImplRepo_Service/tao_ir.dsp: (ADDED) - * orbsvcs/ImplRepo_Service/tao_ir_i.cpp: (ADDED) - * orbsvcs/ImplRepo_Service/tao_ir_i.h: (ADDED) - Added tao_ir command line application that supports the commands - activate, add, list, remove, shutdown, and update. Please see - HTML docs for more info. - - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - * orbsvcs/tests/ImplRepo/IR_Helper.h: - IR_Helper works with new IR interfaces. - - * orbsvcs/tests/ImplRepo/airplane_client_i.cpp: - Doesn't sleep anymore in the loop. - - * orbsvcs/tests/ImplRepo/airplane_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_i.h: - * orbsvcs/tests/ImplRepo/nestea_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_i.h: - Removed shutdown flags. Servers do not shutdown after every - call in IR mode anymore. - - * orbsvcs/tests/ImplRepo/airplane_server.cpp: - * orbsvcs/tests/ImplRepo/nestea_server.cpp: - Says goodnight when finished. - - * orbsvcs/tests/ImplRepo/airplane_server_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_server_i.h: - * orbsvcs/tests/ImplRepo/nestea_server_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_server_i.h: - Removed registration code, since tao_ir now handles that. - - * orbsvcs/tests/ImplRepo/run_test.pl: - Redid structure of ir tests. Now will start IR, then register - server, start server, run client, shutdown server, run client - (which should then have the IR restart the server). - - * orbsvcs/tests/ImplRepo/ImplRepo.dsw: - * orbsvcs/tests/ImplRepo/airplane_client.dsp: - * orbsvcs/tests/ImplRepo/airplane_server.dsp: - * orbsvcs/tests/ImplRepo/nestea_client.dsp: - * orbsvcs/tests/ImplRepo/nestea_server.dsp: - General Updates. - -Tue Jun 22 00:29:06 1999 Nanbor Wang - - * tao/ORB.cpp (key_to_object): Changed to use ACE try macros. - Thanks to J. Russell Noseworthy - for pointing this out. - -Mon Jun 21 23:34:48 1999 Darrell Brunsch - - Added two new options to TAO and support for them, - -ORBImplRepoPort and -ORBImplRepoIOR. Also added - ImplRepoService to the list of services supported by - resolve_initial_references (). - - Note: The IR server doesn't support Multicast yet, just the - client is done. - - * tao/orbconf.h: - Added the necessary macros for ports for ImplRepo multicast and - the resolve_initial_references ("ImplRepoService"). - - * tao/ORB.h: - * tao/ORB.cpp: - Added resolve_implrepo_service () method and the member variable - implrepo_service_. - - * tao/ORB_Core.cpp: - Added support for options ORBImplRepoIOR and ORBImplRepoPort. - - * tao/params.h: - * tao/params.cpp: - * tao/params.i: - Added member variables implrepo_service_ior_ and - implrepo_service_port_ and accessors for them. - - * docs/Options.html: - Updated docs to list the two new ORB options. - -Mon Jun 21 23:34:06 1999 Carlos O'Ryan - - * tao/IORManipulation.h: - * tao/IORManipulation.cpp: - Fixed throw specs - - * tao/IORS.h: - * tao/IORS.cpp: - Fixed problems with the _tao_create_collocated() - implementation. - -Mon Jun 21 22:56:17 1999 Carlos O'Ryan - - * orbsvcs/tests/Event/Event.dsw: - * orbsvcs/tests/Event/Basic/Basic.dsw: - * orbsvcs/tests/Event/Basic/BCast.dsp: - Added project for the BCast tests - -Mon Jun 21 22:25:30 1999 Ossama Othman - - * tao/ORB.cpp (resolve_initial_references): - - Added work-around for case when default initial reference ends - with forward slash '/' object key delimiter. The code will soon - be updated to work with pluggable protocols that use an object - key delimiter other than '/', such as UIOP. - - * tao/ORB_Core.cpp (init): - - Cosmetic updates. - - * tao/Pluggable.cpp (make_mprofile): - - Corrected object key string offset when searching for the object - key delimiter in the IOR. Object keys are, once again, properly - appended to endpoints during profile creation (during string to - object conversions). - - Fixed error return value mismatch when checking for a full - MProfile during MProfile::give_profile() call. I incorrectly - assumed that a return value other than zero was an error. - -Mon Jun 21 22:19:14 1999 Carlos O'Ryan - - * orbsvcs/tests/Event/Basic/Makefile: - * orbsvcs/tests/Event/Basic/BCast.h: - * orbsvcs/tests/Event/Basic/BCast.cpp: - Added a new test for the broadcast based event channel, thanks - to Tom Ziomek for motivating this - case. - - * orbsvcs/tests/Event/lib/Supplier.cpp: - Changed exception handling to keep sending events even if one of - them raises an exceptions. - -Mon Jun 21 20:47:46 1999 Balachandran Natarajan - - * TAO/orbsvcs/tests/Simple_Naming/makefile: - * TAO/orbsvcs/tests/Trading/Makefile: - * TAO/orbsvcs/tests/ImplRepo/Makefile: - * TAO/orbsvcs/examples/CosEC/Factory/Makefile: - * TAO/examples/Quoter/Makefile: - * TAO/examples/Simple/bank/Makefile: - * TAO/examples/Simple/chat/Makefile: - * TAO/examples/Simple/echo/Makefile: - * TAO/examples/Simple/grid/Makefile: - * TAO/examples/Simple/time-date/Makefile: Added -Ge 1 option to - these files. - -Mon Jun 21 19:41:56 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp: - Removed an unused variable from visit_predefined_type(). - Caused a CC warning. - -Mon Jun 21 19:06:14 1999 Irfan Pyarali - - * tao/Servant_Base.h (TAO_ServantBase): Change reference count - (again) from ACE_Atomic_Op to - ACE_Atomic_Op. This way we can utilize - the InterlockedIncrement / InterlockedDecrement specializations - for Atomic_Op on NT. Not sure why Nanbor had reverted this - change earlier. - -Mon Jun 21 19:07:46 1999 Jeff Parsons - - * TAO_IDL/be/be_union.cpp: - Fixed an ACE_ERROR cut-and-paste typo. - - * TAO_IDL/be_include/be_enum_val.h: - * TAO_IDL/be/be_enum_val.cpp: - Added a virtual compute_size_type(). method. Even though the - implementation is trivial, it's necessary because this gets - called for all types from be_decl. Be_decl's own version of - this function is a no-op, so it must be overridden for all - other types. This gets rid of an ACE_ASSERT error when - declaring an enum inside a structure. - - * TAO_IDL/be/be_structure.cpp: - Removed ACE_ERROR message in in_recursion() method when - a null field pointer is found by field::narrow_from_decl(). - Not everything iside a structure is a field, so this - could be a legitimate return value. - -Mon Jun 21 18:57:20 1999 Carlos O'Ryan - - * tao/POA.cpp: - Fixed several places where the return value was checked for -1 - but actually any value != 0 was an error. Thanks to Irfan for - helping me track this down. - -Mon Jun 21 18:52:55 1999 Balachandran Natarajan - - * performance-tests/Cubit/COOL/IDL_Cubit/Makefile: - * performance-tests/Cubit/COOL/MT_Cubit/Makefile: - * performance-tests/Cubit/TAO/DII_Cubit/Makefile: - * performance-tests/Cubit/TAO/IDL_Cubit/Makefile: - * performance-tests/Cubit/TAO/MT_Cubit/Makefile: - * performance-tests/POA/Demux/Makefile: - * performance-tests/POA/Object_Creation_And_Registration/Makefile: - * performance-tests/Pluggable/Makefile: - * performance-tests/Thruput/TAO/Makefile:Added -Ge 1 option to - the TAO_IDLFLAGS in these Makefile's - -Mon Jun 21 18:35:53 1999 Irfan Pyarali - - * orbsvcs/tests/Event/Basic/Observer.cpp: Added initialization of - . - - * tests/TAO_Tests.dsw - * tests/MT_Server/MT_Server.dsw - * tests/MT_Server/client.dsp - * tests/MT_Server/server.dsp - * tests/OctetSeq/OctetSeq.dsp - * tests/OctetSeq/OctetSeq.dsw - * tests/OctetSeq/client.dsp - * tests/OctetSeq/server.dsp - - New MSVC project files. - -Mon Jun 21 17:06:32 1999 Balachandran Natarajan - - * utils/IOR-parser/Makefile: - * utils/catior/Makefile: - * utils/nslist/Makefile: - * tests/CDR/Makefile: - * tests/FL_Cube/Makefile: - * tests/InterOp-Naming/Makefile: - * tests/MT_Client/Makefile: - * tests/MT_Server/Makefile: - * tests/Multiple_Inheritance/Makefile: - * tests/Native_Exceptions/Makefile: - * tests/NestedUpcall/MT_Client_Test/Makefile: - * tests/NestedUpcall/Reactor/Makefile: - * tests/NestedUpcall/Triangle_Test/Makefile: - * tests/OctetSeq/Makefile: - * tests/Param_Test/Makefile: - * examples/Callback_Quoter/Makefile: - * examples/Event_Comm/Makefile: - * examples/OBV/Typed_Events/Makefile: - * examples/POA/Adapter_Activator/Makefile: - * examples/POA/DSI/Makefile: - * examples/POA/Default_Servant/Makefile: - * examples/POA/Explicit_Activation/Makefile: - * examples/POA/FindPOA/Makefile: - * examples/POA/Forwarding/Makefile: - * examples/POA/Generic_Servant/Makefile: - * examples/POA/TIE/Makefile: Added -Ge 1 to these Makefiles. - -Mon Jun 21 16:11:02 1999 Fred Kuhns - - * tao/IORManipultion.cpp - Added workaround for the MS C++ lib which does not - implement the auto_ptr::reset () method. - -Mon Jun 21 15:44:16 1999 Fred Kuhns - - * tao/IORManipultion.cpp - added template instantion for auto_ptr - -Mon Jun 21 14:50:58 1999 Nanbor Wang - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp - (visit_interface): Added ACE_UNUSED_ARG for the argument - in _create_collocated_objref. Thanks to Carlos for pointing - this out. - -Mon Jun 21 14:54:24 1999 Balachandran Natarajan - - * orbsvcs/orbsvcs/Makefile: Added the option -Ge 1. - * rules.tao.GNU : Removed the addition of default variable -Ge 1 - from this file. - -Mon Jun 21 14:15:33 1999 Carlos O'Ryan - - * performance-tests/Makefile: - * performance-tests/Latency/Makefile: - * performance-tests/Latency/README: - * performance-tests/Latency/client.conf: - * performance-tests/Latency/client.cpp: - * performance-tests/Latency/run_test.pl: - * performance-tests/Latency/server.conf: - * performance-tests/Latency/server.cpp: - * performance-tests/Latency/test.idl: - * performance-tests/Latency/test_i.cpp: - * performance-tests/Latency/test_i.h: - * performance-tests/Latency/test_i.i: - Added new test to measure latency (and throughput) in the ORB, - using different configurations (thread-pool, - thread-per-connection, etc.) - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - Fixed close() method, thanks to J. Russell Noseworthy - for pointing this - -Mon Jun 21 12:10:33 1999 Carlos O'Ryan - - * tao/Makefile: - Updated dependencies - - * tao/Object.h: - * tao/Object.cpp: - The CORBA::Object::_is_equivalent method *requires* the extra - environment parameter. - -Mon Jun 21 11:56:03 1999 Nanbor Wang - - * tao/TAO_Static.dsp: - * tao/TAO.dsp: Added IORC, IORS, and IORManipulation. - -Mon Jun 21 11:52:10 1999 Fred Kuhns - - * Fixed problem with Makefile - removed POAS.h from PUB_HDRS - -Mon Jun 21 11:32:12 1999 Steve Huston - - * TAO_IDL/Makefile: The platform_macros.GNU file can now set a - CPP_LOCATION to override the default, $(CXX). - -Mon Jun 21 11:07:03 1999 Jeff Parsons - - * TAO_IDL/ast/AST_Expression.cpp: - Eliminated dependency on and by using - values defined in Basic_Types.h and deleting a broken - #define of MAXCHAR. Thanks to Hata Yoshiaki - for pointing out that setting signed short and long - constants to their minimum values was broken. - -Mon Jun 21 11:04:03 1999 Aniruddha Gokhale - - * tao/{IORC, IORS, IORManipulation}.cpp: - - Fixed problem with the ACE_RCSID call. - -Mon Jun 21 08:07:46 1999 Fred Kuhns - - * Implemented an IOR Manipulation interface (IOR.pidl). - Added new files - IORC.{h,i,cpp} - IORS.{h,i,cpp} - IORManipulation.{h,cpp} - IOR{C,S} are the usual IDL generated files although the - IOR Manipulation object is constrained to be local. The new - class (TAO_IOR_Manipulaiton) is implemted in IORManipultion. - - * Enhanced MProfile to facilitate the new IOR Manipulation - class. MProfile objects can now grow dynamically, that is - if you try to add a profile to an already full MProfile, - the internal buffer will be increased in size rather then - returning an error. - - * Added the default per ORB IOR manipulation object to the ORB - class. - - * Updated the Makefile - - * Addressed comments in IIOP_factory. - - * Removed CORBA::Environment arg from TAO_XX_Profile::is_equivalent () - and CORBA_Object::is_equivalent () and TAO_Stub::is_equivalent () - - * Added the following macro to orbconf.h - #define TAO_OBJID_IORMANIPULATION "IORManipulation" - -Sun Jun 20 19:35:16 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h: - Changed the private section of TAO_EC_Basic_ObserverStrategy to - protected to help implementors of alternative strategies. - -Sun Jun 20 16:33:44 1999 Carlos O'Ryan - - * tao/IIOP_Transport.cpp: - * tao/UIOP_Transport.cpp: - Avoid crashes if the server dies when we are not expecting a - response. Thanks to J. Russell Noseworthy - for reporting this problem. - - * tao/GIOP.cpp: - Fixed error messages. - - * tests/Multiple_Inheritance/run_test.pl: - The test was reporting spurious faults: the server is shutdown - using a signal to its exit status is never 0. - - * tests/NestedUpcall/Reactor/run_test.pl: - The test was too aggresive, it was using too many file - descriptors. - - * tests/InterOp-Naming/INS_test_client.cpp: - * tests/InterOp-Naming/Server_i.cpp: - * tests/InterOp-Naming/Server_i.h: - * tests/InterOp-Naming/run_test.pl: - The test is more "standard" now, and the script works in many - cases, but it needs more work. - - * tests/NestedUpcall/Triangle_Test/initiator.cpp: - Updated the test, it was not activating the POA. But it still - fails due to memory managment problems. - -Sun Jun 20 14:39:23 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Trader/Trader_Utils.h: Reformatted the documentation - so it'll conform to the "ACE+TAO style." - - * orbsvcs/orbsvcs/Trader/Trader_Utils.h: Added a definition for - TAO_Dynamic_Property::operator=(TAO_Dynamic_Property const &) so - that the code will compile with G++. Thanks to Jean-Marc - Strauss for reporting this. - - * orbsvcs/CosEvent_Service/CosEvent_Service.cpp (startup): Make sure to - use .in() to work around broken G++ compilers... Thanks to - Jean-Marc Strauss for reporting this. - -Wed Jul 7 18:13:40 1999 Alexander Babu Arulanthu - - * tao/Invocation.cpp: Removed the loop around the wait_for_reply. - - * TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp: Fixed CC5 - warnings. - - * TAO/tao/Invocation.cpp - * TAO/tao/Invocation.i - * TAO/tao/Reply_Dispatcher.cpp - * TAO/tao/Reply_Dispatcher.h: Integrated the CDR changes done in - ACE_CDR. Stealing the CDR content is coded here now. - - * TAO/tests/AMI/orb_creation.cpp: Fixed CC5 warnings. - -Wed Jul 7 10:55:06 1999 Alexander Babu Arulanthu - - * Asynch_Invocation.cpp - * Asynch_Invocation.h - * MessagingC.h - * PollableC.cpp - * PollableC.h - * PollableS.cpp - * PollableS.h - * Reply_Dispatcher.cpp - * Reply_Dispatcher.h: Guarded the AMI specific classes etc with - TAO_HAS_CORBA_MESSAGING && TAO_POLLER. - -Tue Jul 6 22:10:00 1999 Michael Kircher - - * tao/PollableS.cpp: - Replaced three ACE_BASE_CLASS macros with ACE_CORBA_1 macros to - get VC to compile it. - - * tao/TAO.dsp - * tao/TAO_Static.dsp: - Added the files Pollable{C,S}.{h,cpp} and Asynch_Invocation.{h,cpp}. - - * TAO_IDL/be_include/be_decl.h - * TAO_IDL/be/be_decl.cpp - * TAO_IDL/be_include/be_interface.h - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp - * TAO_IDL/be/be_visitor_argument/upcall_ss.cpp - * TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp - * TAO_IDL/be/be_visitor_argument/ami_handler_result_arg.cpp: - Added code to generate ami_handler_ names. The generated names - are held in the corresponding classes, which is then also - responsible for deleting it. - - * TAO_IDL/be/be_visitor_operation/ami_handler_argument_marshal.cpp - * TAO_IDL/be_include/be_visitor_operation/ami_handler_argument_marshal.h - * TAO_IDL/be/be_visitor_argument/ami_handler_upcall_cs.cpp - * TAO_IDL/be_include/be_visitor_argument/ami_handler_upcall_cs.h - * TAO_IDL/be/be_visitor_argument/ami_handler_vardecl_cs.cpp - * TAO_IDL/be_include/be_visitor_argument/ami_handler_vardecl_cs.h - * TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp - * TAO_IDL/be_include/be_visitor_argument/ami_handler_compiled_marshal_cs.h: - Added these files for code generation of the AMI Handler - skeleton. - - * TAO_IDL/be/be_visitor_operation/ami_handler_operation_cs.cpp - * TAO_IDL/be/be_visitor_operation/ami_handler_skeleton_cs.cpp - * TAO_IDL/be_include/be_visitor_operation/ami_handler_skeleton_cs.h - * TAO_IDL/be/be_visitor_operation/ami_handler_arglist.cpp: - Made changes to generate skeleton code for the AMI handler. - - * TAO_IDL/be_include/be_visitor_interface/ami_handler_servant_cs.h - * TAO_IDL/be/be_visitor_interface/ami_handler_servant_cs.cpp: - Added these files for code generation of the AMI handler - servant. - - * TAO_IDL/be/be_codegen.h - * TAO_IDL/be/be_visitor_factory.cpp - * TAO_IDL/be/be_visitor_interface.cpp - * TAO_IDL/be_include/be_visitor_interface.h - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp - Made changes to generate servant code for the AMI handler. - -Tue Jul 6 09:55:42 1999 Alexander Babu Arulanthu - - * tao/Invocation.cpp - * tao/Wait_Strategy.cpp:Commented out the call to - in Invocation class. - - * client.muxed.conf: Added this file. This enables MT wait - strategy and MUXED TMS. - - * tests/AMI/client.cpp: Addes sendc method. - - - - * tests/AMI/Makefile - * tests/AMI/run_test.pl - * tests/AMI/simple-client.conf - * tests/AMI/simple-client.cpp - * tests/AMI/test-handC.cpp - * tests/AMI/test_i.cpp - * tests/AMI/test_i.h - * tests/AMI/test_i.i: - Cosmetic changes to print usefull debug messages with thread id - etc. - - * tao/Transport_Mux_Strategy.cpp - * tao/Transport_Mux_Strategy.h - Changes to these files again for making it MT safe. Added - SYNCH_MUTEX to the Hash Table. and protected the - request_id_generator with a lock. - - - * tao/GIOP.cpp - * tao/IIOP_Transport.cpp - * tao/Invocation.cpp - * tao/Invocation.i - * tao/Pluggable.cpp - * tao/Pluggable.h - * tao/Reply_Dispatcher.cpp - * tao/Reply_Dispatcher.h - * tao/Transport_Mux_Strategy.cpp - * tao/Transport_Mux_Strategy.h - * tao/Wait_Strategy.cpp - - Ooooh!!!. Got the Muxed TMS to work. I havent taken care of the - MT case yet. Need to make the Hash Table with SYNCH - MUTEX. Things should be ok then. - -Sun Jul 4 13:00:38 1999 Alexander Babu Arulanthu - - * Transport_Mux_Strategy.cpp - * Transport_Mux_Strategy.h - * default_client.cpp: Implemented Muxed TMS. But have nt got to - working yet. It is just there not burting anything. - - * tao/Asynch_Invocation.cpp - * tao/Asynch_Invocation.h - * tao/Asynch_Invocation.i - * tao/Client_Strategy_Factory.cpp - * tao/Client_Strategy_Factory.h - * tao/Invocation.cpp - * tao/Invocation.h - * tao/Invocation.i - * tao/Pluggable.cpp - * tao/Reply_Dispatcher.cpp - * tao/Reply_Dispatcher.h - * tao/Transport_Mux_Strategy.cpp - * tao/Transport_Mux_Strategy.h - * tao/default_client.cpp - * tao/default_client.h - - Moved the message state from classes to the - Transport Mux Strategy. This makes it to have the behavior of - Transport object acccesing the messaging state uniform, across - Muxed and Exclusive TMS. I have not done Muxed TMS yet. - -Sat Jul 3 10:54:00 1999 Alexander Babu Arulanthu - - * TAO_IDL/be/be_visitor_factory.cpp - * TAO_IDL/be_include/be_codegen.h - * tao/Asynch_Invocation.cpp - * tao/Asynch_Invocation.h - * tao/Asynch_Invocation.i - * tao/Invocation.cpp - * tao/Invocation.h - - Moved the transport_->idle () to the derived class' - constructors. - - * tests/AMI/test.idl - - Just commented out the other methods. Left only get_number. - - * Makefile - * client.tss.conf - * server.dsp - * test_i.cpp - * README - * orb_creation.cpp - * simple-client.conf - * test_i.h - * client.conf - * orb_creation.dsp - * simple-client.cpp - * test_i.i - * client.cpp - * run_test.pl* - * simple_client.dsp - * update.log - * client.dsp - * server.conf - * test-handC.cpp - - Files for the simple test. But you actually need server and - simple-client test files right now. - - - * tests/AMI/simple-client.cpp: Removed the iteration part from the - test. Let us keep it really simple. - - * TAO_IDL/be/be_visitor_factory.cpp - * TAO_IDL/be/be_visitor_interface/ami_handler_stub_cs.cpp - * TAO_IDL/be/be_visitor_operation/ami_handler_operation_cs.cpp - Changes for generating Reply Handler skeletons. - - * TAO_IDL/be/be_visitor_operation/ami_handler_skeleton_cs.cpp: - Added this file. This file generates the demarshalling skeletons - for the Reply Handler and then calls the Reply Handler's call - back hook methods. This file is not fully done yet. But this - visitor is not used for the time being. - - * tao/Transport_Mux_Strategy.cpp: Fixed the explicit template - instantiation problems. - -Fri Jul 2 16:28:08 1999 Alexander Babu Arulanthu - - Another big step generating code for AMI. Done with sendc - methods and Reply Handler call back methods. Both header files - and cpp files contents. - - TO-DO: Reply Handler skeletons. Reply Handler servants. - - * tao/Asynch_Invocation.h - * tao/Asynch_Invocation.i - * tao/Makefile - * tao/MessagingC.h - * tao/MessagingS.cpp - * tao/Reply_Dispatcher.cpp - * tao/Reply_Dispatcher.h - - * TAO_IDL/Makefile - * TAO_IDL/ast/ast_decl.cpp - * TAO_IDL/be/be_codegen.cpp - * TAO_IDL/be/be_decl.cpp - * TAO_IDL/be/be_interface.cpp - * TAO_IDL/be/be_type.cpp - * TAO_IDL/be/be_visitor_argument.cpp - * TAO_IDL/be/be_visitor_factory.cpp - * TAO_IDL/be/be_visitor_interface.cpp - * TAO_IDL/be/be_visitor_operation.cpp - * TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp - * TAO_IDL/be/be_visitor_interface/ami_handler_stub_ch.cpp - * TAO_IDL/be/be_visitor_interface/interface.cpp - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp - * TAO_IDL/be/be_visitor_operation/ami_arglist.cpp - * TAO_IDL/be/be_visitor_operation/ami_ch.cpp - * TAO_IDL/be/be_visitor_operation/ami_cs.cpp - * TAO_IDL/be/be_visitor_operation/ami_handler_arglist.cpp - * TAO_IDL/be/be_visitor_operation/ami_handler_operation_ch.cpp - * TAO_IDL/be/be_visitor_operation/argument.cpp - * TAO_IDL/be/be_visitor_operation/argument_invoke.cpp - * TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp - * TAO_IDL/be/be_visitor_operation/rettype.cpp - * TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp - * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp - * TAO_IDL/be_include/be_codegen.h - * TAO_IDL/be_include/be_decl.h - * TAO_IDL/be_include/be_interface.h - * TAO_IDL/be_include/be_type.h - * TAO_IDL/be_include/be_visitor_argument.h - * TAO_IDL/be_include/be_visitor_interface.h - * TAO_IDL/be_include/be_visitor_operation.h - * TAO_IDL/include/ast_decl.h - - Added the following files for the changes mentioned above. - - * TAO_IDL/be/be_visitor_rettype.cpp - * TAO_IDL/be/be_visitor_argument/ami_handler_result_arg.cpp - * TAO_IDL/be/be_visitor_interface/ami_handler_servant_ch.cpp - * TAO_IDL/be/be_visitor_interface/ami_handler_stub_cs.cpp - * TAO_IDL/be/be_visitor_interface/collocated_ami_handler_ch.cpp - * TAO_IDL/be/be_visitor_operation/ami_handler_operation_cs.cpp - * TAO_IDL/be/be_visitor_operation/ami_handler_result_arg.cpp - * TAO_IDL/be/be_visitor_operation/ami_handler_operation.cpp - * TAO_IDL/be_include/be_visitor_argument/ami_handler_result_arg.h - * TAO_IDL/be_include/be_visitor_interface/collocated_ami_handler_ch.h - * TAO_IDL/be_include/be_visitor_interface/ami_handler_servant_ch.h - * TAO_IDL/be_include/be_visitor_interface/ami_handler_stub_cs.h - * TAO_IDL/be_include/be_visitor_operation/ami_handler_operation_cs.h - * TAO_IDL/be_include/be_visitor_operation/ami_handler_result_arg.h - * TAO_IDL/be_include/be_visitor_operation/ami_handler_operation.h - -Wed Jun 23 23:19:34 1999 Alexander Babu Arulanthu - - Added Asynch Invocation class. It makes invocations without - waiting for the reply. Implemented a portion of Asynch Reply - Dispatcher and Muxed TMS. Not complete yet. - - * tao/IIOP_Transport.cpp: - * tao/Invocation.cpp: - * tao/Invocation.p: - * tao/Makefilp: - * tao/Reply_Dispatcher.cpp: - * tao/Reply_Dispatcher.p: - * tao/Transport_Mux_Strategy.cpp: - * tao/Transport_Mux_Strategy.p: - - Added the following files. - - * tao/Asynch_Invocation.cpp: - * tao/Asynch_Invocation.h: - * tao/Asynch_Invocation.i: - -Tue Jun 22 11:59:06 1999 Alexander Babu Arulanthu - - One more big step on generating AMI call back code. If I get rid - of the references to the ReplyHandler from the generated files, - I could get things to compile. - - * TAO_IDL/Makefile: - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_factory.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_visitor_scope.cpp: - * TAO_IDL/be/be_visitor_argument/ami_handler_arglist.cpp: - * TAO_IDL/be/be_visitor_interface/ami_handler_ch.cpp: - * TAO_IDL/be/be_visitor_interface/interface.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: - * TAO_IDL/be/be_visitor_operation/ami_arglist.cpp: - * TAO_IDL/be/be_visitor_operation/ami_ch.cpp: - * TAO_IDL/be/be_visitor_operation/ami_cs.cpp: - * TAO_IDL/be/be_visitor_operation/ami_handler_arglist.cpp: - * TAO_IDL/be_include/be_codegen.h: - * TAO_IDL/be_include/be_visitor_interface.h: - * TAO_IDL/be_include/be_visitor_operation/ami_handler_arglist.h: - - Changes for the above. - - * TAO_IDL/be/be_visitor_interface/ami_handler_cs.cpp: - * TAO_IDL/be/be_visitor_interface/ami_handler_stub_ch.cpp: - * TAO_IDL/be_include/be_visitor_interface/ami_handler_cs.h: - * TAO_IDL/be_include/be_visitor_interface/ami_handler_stub_ch.h: - - Added these files. - -Sun Jun 20 07:40:02 EDT 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_visitor_field/field_ch.cpp: - * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp: - - In the visit_predefined_type method for all the above, we were - generating incorrect mapping for typedef to CORBA::Object. In - the earlier buggy version we were checking if the local name of - the typedef node is "Object". However, the correct way to do - this is to check if the local name of the most primitive type - node of the typedef node is "Object". - -Sat Jun 19 22:27:35 1999 Carlos O'Ryan - - * tests/Multiple_Inheritance/run_test.pl: - Made this test safe for nightly builds. - -Sat Jun 19 22:22:07 1999 Carlos O'Ryan - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - * tao/Wait_Strategy.cpp: - The thread pool changes had some problems with nested upcalls - and the client-side leader follower: they did not keep track of - the number of followers properly. This has been fixed. - - * tests/MT_Server/client.cpp: - * tests/MT_Server/run_test.pl: - Only shutdown the server if the -x option is used. - The script uses this feature to pass cleanly all the time. - - * tests/NestedUpcall/Reactor/client.cpp: - * tests/NestedUpcall/Reactor/client.h: - * tests/NestedUpcall/Reactor/eh_i.cpp: - * tests/NestedUpcall/Reactor/eh_i.h: - * tests/NestedUpcall/Reactor/mt_client.cpp: - * tests/NestedUpcall/Reactor/mt_client.h: - * tests/NestedUpcall/Reactor/reactor_i.cpp: - * tests/NestedUpcall/Reactor/reactor_i.h: - * tests/NestedUpcall/Reactor/run_test.pl: - * tests/NestedUpcall/Reactor/server.cpp: - * tests/NestedUpcall/Reactor/server.h: - The -q option can be used to turn the test silent. This is used - to run a high number of iterations in the mt client test. - -Sat Jun 19 17:38:42 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp: - * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp: - Fixed code generation for unions with generic - CORBA::Object member. TAO IDL compiler classifies - CORBA::Object member as a predefined type PT_pseudo, - but generated code must be like that for interface. - Someday we should make a special type for CORBA::Object - in the IDL compiler. - -Sat Jun 19 17:19:10 1999 Carlos O'Ryan - - * tao/ORB.h: - * tao/ORB.cpp: - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - * tao/Wait_Strategy.cpp: - Added support for thread pools. - Moved the Leader_Follower data structure into the ORB_Core and - all the methods from ORB_Core into the Leader_Follower class. - - * tests/Makefile: - * tests/MT_Server/Makefile: - * tests/MT_Server/README: - * tests/MT_Server/client.cpp: - * tests/MT_Server/run_test.pl: - * tests/MT_Server/server.conf: - * tests/MT_Server/server.cpp: - * tests/MT_Server/test.idl: - * tests/MT_Server/test_i.h: - * tests/MT_Server/test_i.i: - * tests/MT_Server/test_i.cpp: - New test for the leader follower implementation. - - * tests/MT_Client/README: - Updated - - * tao/UIOP_Profile.cpp: - Removed sperious debug message - -Sat Jun 19 15:46:22 1999 Alexander Babu Arulanthu - - One more step Generating Reply Handler skeleton code in the client - header file. Again, this will get enabled only when the TAO_IDL is - called with the -GC flag. - - * TAO_IDL/be/be_visitor_argument/ami_handler_arglist.cpp: - * TAO_IDL/be/be_visitor_argument/ami_arglist.cpp: - - * TAO_IDL/be/be_visitor_interface/ami_handler_ch.cpp: - - * TAO_IDL/be/be_visitor_operation/ami_ch.cpp: - * TAO_IDL/be/be_visitor_operation/ami_arglist.cpp: - * TAO_IDL/be/be_visitor_operation/ami_handler_arglist.cpp: - * TAO_IDL/be/be_visitor_operation/ami_cs.cpp: - * TAO_IDL/be/be_visitor_operation/ami_handler_operation_ch.cpp: - * TAO_IDL/be/be_visitor_operation/ami_handler_arglist_ch.cpp: - - * TAO_IDL/be_include/be_visitor_argument/ami_arglist.h: - * TAO_IDL/be_include/be_visitor_argument/ami_handler_arglist.h: - - * TAO_IDL/be_include/be_visitor_interface/ami_handler_ch.h: - - * TAO_IDL/be_include/be_visitor_operation/ami_ch.h: - * TAO_IDL/be_include/be_visitor_operation/ami_arglist.h: - * TAO_IDL/be_include/be_visitor_operation/ami_cs.h: - * TAO_IDL/be_include/be_visitor_operation/ami_handler_arglist.h: - * TAO_IDL/be_include/be_visitor_operation/ami_handler_operation_ch.h: - - Added all these files. - - Rename the arglist_* to meaningful *_arglist unformly with - meaningful names. - - * TAO_IDL/Makefile: - * TAO_IDL/be/be_visitor_argument.cpp: - * TAO_IDL/be/be_visitor_factory.cpp: - * TAO_IDL/be/be_visitor_interface.cpp: - * TAO_IDL/be/be_visitor_operation.cpp: - * TAO_IDL/be/be_visitor_interface/ami_handler_fwd_ch.cpp: - * TAO_IDL/be/be_visitor_interface/ami_handler_fwd_ci.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: - * TAO_IDL/be/be_visitor_operation/arglist_ami.cpp: - * TAO_IDL/be/be_visitor_operation/collocated_ss.cpp: - * TAO_IDL/be/be_visitor_operation/operation_ami_cs.cpp: - * TAO_IDL/be_include/be_codegen.h: - * TAO_IDL/be_include/be_visitor_argument.h: - * TAO_IDL/be_include/be_visitor_interface.h: - * TAO_IDL/be_include/be_visitor_operation.h: - * TAO_IDL/be_include/be_visitor_interface/ami_handler_fwd_ch.h: - * TAO_IDL/be_include/be_visitor_interface/ami_handler_fwd_ci.h: - - Changes for the above work. - - * TAO_IDL/be/be_visitor_argument/arglist_ami.cpp: - * TAO_IDL/be/be_visitor_operation/arglist_ami.cpp: - * be_include/be_visitor_argument/arglist_ami.h: - * be_include/be_visitor_operation/arglist_ami.h: - - Removed these files since they have been renamed already. - -Sat Jun 19 15:43:38 1999 Balachandran Natarajan - - * Cubit/TAO/DII_Cubit/client.dsp: - * Cubit/TAO/IDL_Cubit/client.dsp: - * Cubit/TAO/IDL_Cubit/server.dsp: - * Cubit/TAO/IDL_Cubit/collocation_test.dsp: - * Cubit/TAO/MT_Cubit/client.dsp: - * Cubit/TAO/MT_Cubit/server.dsp: - * POA/Object_Creation_And_Registration/registration.dsp: - * Pluggable/client.dsp: - * Pluggable/server.dsp: Changed the tao_idl invocation options. - - * docs/compiler.html: Updated documentation. - -Sat Jun 19 14:54:38 1999 Jeff Parsons - - * tao/DynUnion_i_T.h: - * tao/DynUnion_i_T.cpp: - Cosmetic changes. - - * tao/DynUnion_i.h: - * tao/DynUnion_i.cpp: - Class DynUnion_i contains a functor class DU_Extractor to - check for a match in TypeCode::member-label when - constructing or assigning from an Any. DU_Extractor is a - template class containing one function check_match(). The - cases where the discriminator is a wchar or an enum caused - resolution problems with 16 and 32 bit types respectively, - so they had been specialized classes inheriting from a - non-template base class. The cases for char and boolean, - however, needed only the template function check_match() - specialized, in order to use to_char and to_boolean. This - kept all the compilers happy until recently, when AIX/egcs - complained about char and boolean, so they have also been - subclassed. - -Sat Jun 19 12:59:28 1999 Balachandran Natarajan - - * rules.tao.GNU : Added the default argument ie. -Ge 1 to be used - with the IDL compiler. This will take care of most of the - flavours of UNIX. Also added a command line rule called - tao_native_exception to override the default from the command - line. If the application developer wants to change the default - through his make file he can override them by using the rule - TAO_IDLFLAGS. - - * TAO_IDL/util/utl_global.cpp : - * TAO_IDL/driver/drv_args.cpp: Made changes to generate code - according to the following rules. - - - If the compilation is on a platform with native C++ exceptions - like NT, we may not want the ACE_TRY_ENV variables by default. - - - If the compilation is on a platform with NO native C++ - exceptions like say g++, the compiler generates the environment - variables. - - - cross platform compilation wherein one may compile on SUN CC - with native exceptions but for VxWorks which does not have that - capability.. In which case a handle is needed to generate the - environment variables. This handle is denoted as a command line - option to IDL as -Ge 1 - - - A case that is vice-versa to the above. The option for such a - case is -Ge 0 - - * docs/compiler.html: Added documentation for the -u option in the - IDL compiler. - - * DynAny_Test/basic_test.dsp: - * InterOp-Naming/client.dsp: - * InterOp-Naming/server.dsp: - * MT_Client/client.dsp: - * MT_Client/server.dsp: - * MT_Client/orb_creation.dsp: - * MT_Client/simple_client.dsp: - * Multiple_Inheritance/client.dsp: - * Multiple_Inheritance/server.dsp: - * NestedUpcall/Reactor/client.dsp: - * NestedUpcall/Reactor/mt-client.dsp: - * NestedUpcall/MT_Client_Test/client.dsp: - * NestedUpcall/MT_Client_Test/server.dsp: - * NestedUpcall/Triangle_Test/initiator.dsp: - * NestedUpcall/Triangle_Test/server_A.dsp: - * NestedUpcall/Triangle_Test/server_B.dsp: - * Param_Test/client.dsp: - * Param_Test/server.dsp: - * OctetSeq/OctetSeq.dsp: - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: Changed the tao_idl - invocation parameter in all these NT related project files. The - command line parameter is set to '-Ge 1'. - - * Native_Exceptions/client.dsp: - * Native_Exceptions/server.dsp: Here the command line parameters - where changed from '-Ge' to '-Ge 0'. - - * examples/Callback_Quoter/Consumer.dsp: - * examples/Callback_Quoter/Notifier.dsp: - * examples/Callback_Quoter/Supplier.dsp: - * examples/Event_Comm/Consumer.dsp: - * examples/Event_Comm/Notifier.dsp: - * examples/Event_Comm/Supplier.dsp: - * examples/OBV/Typed_Events/client.dsp: - * examples/OBV/Typed_Events/server.dsp: - * examples/POA/DSI/client.dsp: - * examples/POA/DSI/server.dsp: - * examples/POA/Default_Servant/client.dsp: - * examples/POA/Default_Servant/server.dsp: - * examples/POA/Forwarding/server.dsp: - * examples/POA/Forwarding/client.dsp: - * examples/POA/Generic_Servant/client.dsp: - * examples/POA/Generic_Servant/server.dsp: - * examples/POA/Identity/Identity.dsp: - * examples/POA/TIE/client.dsp: - * examples/POA/TIE/server.dsp: - * examples/Quoter/Factory_Finder.dsp: - * examples/Quoter/Generic_Factory.dsp: - * examples/Quoter/client.dsp: - * examples/Quoter/server.dsp: - * examples/Simple/bank/client.dsp: - * examples/Simple/bank/server.dsp: - * examples/Simple/chat/client.dsp: - * examples/Simple/chat/server.dsp: - * examples/Simple/echo/server.dsp: - * examples/Simple/echo/client.dsp: - * examples/Simple/grid/client.dsp: - * examples/Simple/grid/server.dsp: - * examples/Simple/time/client.dsp: - * examples/Simple/time/server.dsp: - * examples/Simple/time-date/Time_Date.dsp: - * examples//Simulator/DOVEMIB/DOVEMIBx.dsp - * examples//Simulator/DOVEMIB/TestClient.dsp: - * examples/Simulator/Event_Supplier/DualEC_Sup.dsp: - * examples/Simulator/Event_Supplier/Event_Sup.dsp: - * examples/Simulator/Event_Supplier/Logging_Sup.dsp:Changed the tao_idl - invocation parameter in all these NT related project files. The - command line parameter is set to '-Ge 1'. - -Fri Jun 18 21:00:18 1999 Jeff Parsons - - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/lex.yy.cpp: - * TAO_IDL/fe/lex.yy.cpp.diff: - Added new token for unsigned integer and new line to - grammar to create AST_Expression of that type. - - * TAO_IDL/fe/idl.yy: - * TAO_IDL/fe/y.tab.h: - * TAO_IDL/fe/y.tab.cpp: - * TAO_IDL/fe/y.tab.cpp.diff: - Added cases to lex for dec, hex and oct integers - so that those integer literals with and without - leading '-' are differentiated. - - We were having a problem with constants of type - unsigned long assigned a value that was - > LONG_MAX and < ULONG_MAX. Since all integer - literals were read as one case (signed longs) - these assignments were viewed as negative - numbers and so would cause a coercion error. - Now integer literals without a leading - sign - are read as unsigned longs, and the existing - coercion code will catch legitimate out of - bounds errors. - - * TAO_IDL/be/be_sunsoft.cpp: - Moved the check for char printout of value '\' - to come before check for isprint(). Char value - that's read in as '\\' is stored in an - AST_Expression as '\'. isprint() sees this as a - printable character, so the case below it testing - for '\\' was never reached, and char consts - assigned the value of '\\' were getting output as - '\', causing a C++ compile error. Thanks to - Hata Yoshiaki for pointing - out this problem. - -Fri Jun 18 19:37:32 1999 Douglas C. Schmidt - - * TAO version 0.3.25 released. - -Fri Jun 18 18:00:02 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - Fixed old g++ warnings - -Fri Jun 18 16:22:19 1999 Carlos O'Ryan - - * tests/InterOp-Naming/INS_i.cpp: - Fixed warning (and semantic error) in INS_i.cpp, strings - returned from a servant should be duplicated. - - * TAO/orbsvcs/Time_Service/IR_Helper.cpp: - * TAO/orbsvcs/Time_Service/IR_Helper.h: - * TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * TAO/tests/CDR/octet_sequence.cpp: - More char* to const char* conversions, but this time they were - harmless. - -Fri Jun 18 15:35:36 1999 Irfan Pyarali - - * TAO_IDL/be/be_visitor_array/array_cs.cpp (visit_array): Moved - the generation of the *_array_alloc and *_array_free functions - from the i file to the cpp file. This is because of the - lameness of namespaces and MSVC export madness. - - * tao/GIOP.cpp (process_server_request): Removed extra - ACE_UNUSED_ARG (response_required) and initialized - to zero in process_server_request(). - - * examples/POA/Forwarding/MyFooServant.cpp (handle_input): Removed - extra semi-colon. - -Fri Jun 18 14:26:27 1999 Nanbor Wang - - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index.cpp (init): - Released the servant pointer before returning. Actually, Carlos - and Marina fixed this. - - * *.{mdp,mak}: Removed all MSVC 4 workspaces and makefiles. We - are no longer supporting this version of MSVC++. If you need - support for MSVC++ 4.x please contact Steve Huston - of Riverace to arrange a support - contract. - - * tests/Native_Exceptions/client.cpp (main): Caught exception - is not used. - - * tests/Native_Exceptions/Native_Exception.dsw: - * tests/Native_Exceptions/client.dsp: - * tests/Native_Exceptions/server.dsp: New files. - -Fri Jun 18 11:50:31 1999 Carlos O'Ryan - - * tests/Native_Exceptions/Makefile: - * tests/Native_Exceptions/README: - * tests/Native_Exceptions/run_test.pl: - * tests/Native_Exceptions/client.cpp: - * tests/Native_Exceptions/server.cpp: - * tests/Native_Exceptions/test.idl: - * tests/Native_Exceptions/test_i.h: - * tests/Native_Exceptions/test_i.i: - * tests/Native_Exceptions/test_i.cpp: - Added new test that shows how to write applications using native - C++ exceptions, without any of the ACE_TRY macros. - - * orbsvcs/orbsvcs/Naming/Transient_Naming_Context.cpp: - Added missing template instantiations. - - * tests/CDR/basic_types.cpp: - Fixed const char* warnings... - -Fri Jun 18 11:32:38 1999 Nanbor Wang - - * tao/Object_Adapter.h (prepare_for_upcall): Added default - environment argument value so it would work fine with IDL - generated code when using native exception support. - - * TAO_IDL/be/be_visitor_operation/collocated_ss.cpp - (visit_operation): Fixed native exception support. - - * TAO_IDL/be/be_visitor_interface/collocated_ss.cpp - (visit_interface): Some Cosmetic changes. - -Fri Jun 18 11:19:01 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Put the output CDR alllocators in TSS storage *all* the time. - -Fri Jun 18 10:07:09 1999 Carlos O'Ryan - - * examples/POA/Adapter_Activator/server.cpp: - * tests/OctetSeq/test_i.cpp: - Fixed minor syntax errors. - -Thu Jun 17 23:43:25 1999 Irfan Pyarali - - * examples/POA/Adapter_Activator/server.cpp: Fixed servant leak by - reference counting it. - - * examples/POA/Adapter_Activator/run_test.pl - * examples/POA/Explicit_Activation/run_test.pl - * examples/POA/Loader/run_test.pl - * examples/POA/On_Demand_Activation/run_test.pl - * examples/POA/On_Demand_Loading/run_test.pl - - Scripts should create one servant at a time. Otherwise, output - is difficult to read. - -Thu Jun 17 22:41:17 1999 Carlos O'Ryan - - * tao/ORB_Core.h: - * tao/ORB_Core.cpp: - Fixed dead-lock during startup, it worked on NT thanks to the - recursive mutexes in that land. - - * TAO_IDL/be/be_visitor_interface/collocated_ss.cpp: - Nanbor's changes and ours (Irfan's and mine) did not mix well, - fixed. - -Thu Jun 17 22:44:04 1999 Kirthika Parameswaran - - * examples/Simple/echo/Echo_i.{h,cpp}: Added throw specs. - * examples/Simple/grid/Grid_i.{h,cpp}: Modified throw specs to - have double paranthesis. - -Thu Jun 17 21:45:11 1999 Douglas C. Schmidt - - * performance-tests/Thruput/TAO: Added the ACE_THROW macros. - - * examples/Event_Comm: Added the ACE_THROW macros. - - * examples/Simple/time/Time_i: Fixed the ACE_THROW macros to work - correctly. - - * examples/Simple/bank: Added all the ACE_THROW specs. - - * ChangeLog: Split the ChangeLog to make a ChangeLog-99a since we - were already up to 700k of ChangeLog entries for '99! - -Thu Jun 17 20:40:56 1999 Carlos O'Ryan - - * performance-tests/POA/Object_Creation_And_Registration/run_test.pl: - Fixed include path - -Thu Jun 17 21:47:21 1999 Nanbor Wang - - * be/be_visitor_interface/collocated_sh.cpp: - * be/be_visitor_interface/collocated_ss.cpp: Added code for - generating collocated _is_a and _non_existent methods. - -Thu Jun 17 19:38:57 1999 Irfan Pyarali - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - * tao/Resource_Factory.h: - * tao/Resource_Factory.cpp: - * tao/default_resource.h: - * tao/default_resource.cpp: - * docs/Options.html: - * docs/configurations.html: - Moved the CDR allocators from the resource factory to the - ORB_Core resources. They are stored in either per-ORB-per-thread - storage or in per-ORB storage. Notice that the control on the - allocators location is left for the -ORBResources flag, but the - control of the *type* of allocator is still in the resource - factory class. This completes the separation of roles between - the resource factory (that only allocates resources), and the - ORB_Core (who manage their lifetime). - - * tao/Stub.h: - * tao/Stub.i: - * tao/Servant_Base.cpp: - * TAO_IDL/be/be_visitor_operation/collocated_ss.cpp: - Added new fast accessors to the ORB_Core that do not require a - duplicate on every call. - -Thu Jun 17 15:31:17 1999 Carlos O'Ryan - - * examples/Callback_Quoter/Consumer_i.cpp: - * examples/Callback_Quoter/Consumer_i.h: - * examples/Callback_Quoter/Notifier_i.cpp: - * examples/Callback_Quoter/Notifier_i.h: - * examples/OBV/Typed_Events/Server_i.cpp: - * examples/OBV/Typed_Events/Server_i.h: - * examples/Quoter/Factory_Finder_i.cpp: - * examples/Quoter/Factory_Finder_i.h: - * examples/Quoter/Generic_Factory_i.cpp: - * examples/Quoter/Generic_Factory_i.h: - * examples/Quoter/Quoter_i.cpp: - * examples/Quoter/Quoter_i.h: - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/ImplRepo_Service/ImplRepo_i.h: - * orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp: - * orbsvcs/LifeCycle_Service/LifeCycle_Service_i.h: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp: - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - * orbsvcs/tests/ImplRepo/airplane_i.cpp: - * orbsvcs/tests/ImplRepo/airplane_i.h: - * orbsvcs/tests/ImplRepo/nestea_i.cpp: - * orbsvcs/tests/ImplRepo/nestea_i.h: - * performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Globals.h: - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h: - * performance-tests/Thruput/TAO/ttcp_i.cpp: - * performance-tests/Thruput/TAO/ttcp_i.h: - More throw spec stuff. - Also added several fixes to compile on single threaded - environments. - -Thu Jun 17 14:21:21 1999 Nanbor Wang - - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp - (visit_interface): The collocated factory should have used - static_cast to downcast the collocated stubs. Thanks to Carlos - for pointing this out. - -Thu Jun 17 14:05:10 1999 Irfan Pyarali - - * examples/POA/Forwarding/MyFooServant.cpp (MyFirstFooServant): - Since we are using the NULL_MASK (whose value is zero), some - compilers cannot figure out which - register_handler/remove_handler I wanted to use. Fixed by - creating a separate variable for the mask and feeding it in. - - * TAO_IDL/fe/fe_lookup.cpp (lookup): Changed {"",} to {"",0} to - keep the HP compiler happy. - - * TAO_IDL/fe/Makefile.am (fe_lookup.cpp): Fixed the makefile so - that the next time fe_lookup.cpp is generated, 0 is used as the - fill option. Thanks to Carlos for pointing this out. - -Thu Jun 17 12:58:20 1999 Carlos O'Ryan - - * tao/GIOP_Server_Request.cpp: Fixed operation demarshaling for - non-ASCII platforms. Thanks to Jim Rogers - for motivating these fixes. - - * examples/POA/RootPOA/run_test.pl: - * examples/POA/Identity/run_test.pl: - Fixed include path - -Thu Jun 17 12:33:35 1999 Carlos O'Ryan - - * tao/GIOP.cpp: - * tao/IIOP_Factory.cpp: - * tao/UIOP_Factory.cpp: - * tao/Protocol_Factory.cpp: - Fixed typo in the last commit. - -Thu Jun 17 12:04:50 1999 Alexander Babu Arulanthu - - * TAO_IDL/be/be_interface_fwd.cpp: - * TAO_IDL/be/be_structure.cpp: - * TAO_IDL/be/be_union.cpp: - * TAO_IDL/be/be_valuetype.cpp: - * TAO_IDL/be/be_valuetype_fwd.cpp: - * TAO_IDL/be_include/be_interface_fwd.h: - * TAO_IDL/be_include/be_structure.h: - * TAO_IDL/be_include/be_type.h: - * TAO_IDL/be_include/be_union.h: - * TAO_IDL/be_include/be_valuetype.h: - * TAO_IDL/be_include/be_valuetype_fwd.h: - - Changed the signature of various "gen_out_impl", "gen_out_defn", - "gen_var_impl" and "gen_var_defn" signatures from "void" to char - *'s with default values 0. - - Thanks to Carlos again for reporting the warnings from IRIX. - -Thu Jun 17 11:54:11 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Fixed problem with the ORB reactor initialization on - multi-threaded programs with global resources. - -Thu Jun 17 11:17:28 1999 Jeff Parsons - - * TAO_IDL/ast/ast_generator.cpp: - * TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp: - * TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp: - * TAO_IDL/be/be_visitor_valuetype/valuetype.cpp: - * TAO_IDL/be/be_visitor_valuetype/marshal_ch.cpp: - * TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp: - * TAO_IDL/be/be_visitor_typecodet/typecode_defn.cpp: - Removed unused arg warnings from AIX 4.3 w/ egcs 1.1.2. - -Thu Jun 17 10:48:15 1999 Jeff Parsons - - * tao/default_server.cpp: - * tao/CDR_Interpreter.cpp: - * tao/Operation_Table.cpp: - * tao/ORB.cpp: - * tao/Stub.cpp: - * tao/Typecode.cpp: - * tao/ValueBase.cpp: - * tao/GIOP.cpp: - * tao/Resource_Factory.cpp: - * tao/Transport_mux_Strategy.cpp: - * tao/Context.cpp: - * tao/Messaging_Policy_i.cpp: - * tao/Pluggable.cpp: - * tao/Protocol_Factory.cpp: - * tao/IIOP_Transport.cpp: - * tao/UIOP_Factory.cpp: - * tao/UIOP_Connect.cpp: - Removed unused arg warnings from AIX 4.3 w/ egcs 1.1.2. - -Thu Jun 17 10:05:53 1999 Carlos O'Ryan - - * */run_test.pl: - Fixed several problems with the EXE_EXT variable. - -Thu Jun 17 00:47:30 1999 Alexander Babu Arulanthu - - * TAO_IDL/ast/ast_decl.cpp: - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - * TAO_IDL/include/ast_decl.h: - - Fixed the warnings in IRIX. Thanks to Carlos for reporting this. - -Thu Jun 17 00:13:03 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - * TAO_IDL/be/be_interface.cpp: - Fixed generation of skeletons that require the _cxx_ prefix. - -Wed Jun 16 23:59:17 1999 Irfan Pyarali - - * tao/default_resource.cpp (get_reactor): Must instruct Reactor to - delete implementation. - - * tao/TAO.cpp (~TAO_ORB_Manager): Fixed reversed logic in if - statement. - - * tao/ORB_Core.cpp (init): Must setup flags before creating the - reactor. In ~TAO_ORB_Core_TSS_Resources(), must remove() - allocators in addition to deleting them. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp (init): - ORB Manager duplicates before returning. Must assign return - value to PortableServer::POA_var. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp - (_default_POA): Must duplicate before return poa. - - * orbsvcs/orbsvcs/Log/Logger_i.cpp (Logger_Factory_i): Removed - template specialization. ACE_CString already has a hash() - method. - -Wed Jun 16 22:49:01 1999 Carlos O'Ryan - - * examples/Callback_Quoter/Makefile: - * examples/Callback_Quoter/Consumer.idl: - * examples/Callback_Quoter/Consumer_Handler.cpp: - * examples/Callback_Quoter/Consumer_Handler.h: - * examples/Callback_Quoter/Consumer_Input_Handler.cpp: - * examples/Callback_Quoter/Consumer_i.cpp: - * examples/Callback_Quoter/Notifier_Input_Handler.cpp: - * examples/Callback_Quoter/example.stocks: - * examples/Callback_Quoter/run_test.pl: - Added a run_test.pl to automate this test. - Had to modify it so the programs will take options to work in - non-interactive mode. - -Wed Jun 16 21:08:58 1999 Irfan Pyarali - - * TAO_IDL/be/be_visitor_operation/operation_ss.cpp - (visit_operation): If the operation is oneway and has no "in" - parameters, don't generate the <_tao_server_request> argument - since it will not be used. - - * tao: The following files were updated to remove "unused - argument" warnings. Thanks to Steve Huston for reporting these - warnings. - - - Active_Object_Map.cpp - - DomainC.cpp - - Key_Adapters.cpp - - MessagingC.cpp - - MessagingS.cpp - - POA.cpp - - PolicyC.cpp - - Sequence_T.cpp - - Servant_Base.cpp - -Wed Jun 16 21:15:31 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - Removed bogus ACE_INLINE declarations, thanks to Dave Meyer - for pointing this out. - -Wed Jun 16 20:14:28 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Added missing initializations - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp: - Fixed error messages, they were crashing the application - (incorrect usage of %p), they were misleading and hard to read. - - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: - Minor fixes for NT. - - * tao/varout.i: - A minor change to keep HP/aCC happy, thanks to Steve Huston for - reporting this problem. - - * tao/TAO.cpp: - Catch any exceptions in the destructor so they won't get - propagated. - -Wed Jun 16 19:59:33 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Fixed reactor initialization problem, thanks to Jeff for - reporting this problem. - -Wed Jun 16 19:24:30 1999 Irfan Pyarali - - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp - (visit_interface): Added an ACE_UNUSED_ARG (ACE_TRY_ENV) for the - _unchecked_narrow method. - -Wed Jun 16 19:11:39 1999 Carlos O'Ryan - - * examples/POA/Forwarding/run_test.pl: - Fixed run-time errors, thanks to Irfan for helping out with - this. - -Wed Jun 16 19:08:47 1999 Balachandran Natarajan - - * examples/Simple/time/Time_i.h: - * examples/Simple/time/Time_i.cpp:Added ACE_THROW_SPEC - -Wed Jun 16 18:54:32 1999 Alexander Babu Arulanthu - - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: If there is - _cxx_ in the beginning of an IDL operation or attribute, we will - remove that and keep a copy of the original name. TAO IDL's - front end adds _cxx_ prefix to the all the reserved - keywords. But when we invoke the operation remotely, we should - be sending only the name with out "_cxx_" prefix. Similarly, the - look up table should be generated with the names without - "_cxx_". - - * TAO_IDL/include/ast_decl.h: - * TAO_IDL/ast/ast_decl.cpp: Added a new method - "original_local_name" to return the operation/attribute name - without "_cxx_" prefix. - - Thanks to Sean Landis for reporting - this problem. - - Also, added "-F 0" to the options list given to the gperf by the - IDL compiler. This was needed to get rid of the warnings in some - platforms. - - Thanks to Irfan and Naga for helping in this. - -Wed Jun 16 18:48:28 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: Removed bogus template instantiations. - - * tao/UIOP_Connector.cpp: - * tao/IIOP_Connector.cpp: Removed duplicate template - instantiations when compiling in single threaded environments. - -Wed Jun 16 18:26:06 1999 Pradeep Gore - - * examples/Simple/chat/Broadcaster_i.h: - * examples/Simple/chat/Broadcaster_i.cpp: - * examples/Simple/chat/Receiver_i.h: - * examples/Simple/chat/Receiver_i.cpp: - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h: - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp: - * orbsvcs/tests/CosEC_Basic/CosECConsumer.h: - * orbsvcs/tests/CosEC_Basic/CosECConsumer.cpp: - * orbsvcs/tests/CosEC_Basic/CosECSupplier.h: - * orbsvcs/tests/CosEC_Basic/CosECSupplier.cpp: - * orbsvcs/tests/CosEC_Multiple/CosECConsumer.h: - * orbsvcs/tests/CosEC_Multiple/CosECConsumer.cpp: - * orbsvcs/tests/CosEC_Multiple/CosECSupplier.h: - * orbsvcs/tests/CosEC_Multiple/CosECSupplier.cpp: Added the - ACE_THROW spec. - -Wed Jun 16 18:17:24 1999 Irfan Pyarali - - * tao/DomainS.cpp - * tao/MessagingS.cpp - * tao/POAS.cpp - * tao/PolicyS.cpp - * tao/PollableS.cpp Fixed initialization of in - TAO_operation_db_entry by changing the nothing initialization to - a zero initialization. - -Wed Jun 16 18:17:24 1999 Balachandran Natarajan - - * examples/Simple/grid/Grid_i.h: - * examples/Simple/grid/Grid_i.cpp:Added the ACE_THROW_SPEC - -Wed Jun 16 17:50:10 1999 Douglas C. Schmidt - - * examples/Simple/time-date/Time_Date_i: Added the ACE_THROW - specs. - -Wed Jun 16 17:35:27 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: - Fixed warning due to misplaced comment. - -Wed Jun 16 16:54:11 1999 Irfan Pyarali - - * tao/Object.cpp (CORBA_Object): Check for a non-zero - before accessing it. Thanks to Mark - L. Boriack for this suggestion. - -Wed Jun 16 16:05:35 1999 Carlos O'Ryan - - * performance-tests/POA/Object_Creation_And_Registration/run_test.pl: - * examples/POA/Identity/run_test.pl: - * examples/POA/RootPOA/run_test.pl: - Added scripts to timeout the test in case of failure - - * orbsvcs/tests/EC_Throughput/run_test.pl: - New test for the collocated and remote event channel - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: - Fixed event channel shutdown - - * orbsvcs/orbsvcs/Event/EC_Dispatching_Task.cpp: - * orbsvcs/orbsvcs/Event/EC_MT_Dispatching.cpp: - Fixed multi-threaded dispatching strategy. - - * tests/MT_Client/Makefile: - Use the IDL_EXT macro for the .PRECIOUS and realclean targets. - -Wed Jun 16 15:59:42 1999 Jeff Parsons - - * TAO/tests/Param_Test/client.dsp: - * TAO/tests/Param_Test/Makefile: - * TAO/performance-tests/Pluggable/client.dsp: - * TAO/performance-tests/Pluggable/Makefile: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.dsp: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/Makefile: - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.dsp: - * TAO/performance-tests/Cubit/TAO/DII_Cubit/Makefile: - Modified files to reflect the new independence of - client code from generated *S.* files. - -Wed Jun 16 13:41:30 1999 Carlos O'Ryan - - * Incorporated the changes in the second phase for the - asynchronous messaging support. This time Alex changed the IDL - compiler to generate the ReplyHandler and the sendc_ methods. - The merge includes all the changes from ami_phase2_start to - ami_phase2_end. - -Wed Jun 16 15:31:31 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_union/discriminant_ci.cpp: - Fixed code that was adding the scope twice when setting the - discriminant to a default (unused) enum value. - -Wed Jun 16 15:10:17 1999 Irfan Pyarali - - * examples/POA/Forwarding/MyFooServant.cpp (handle_input): Changed - ACE_CHECK to ACE_TRY_CHECK. Thanks to Carlos for reporting this - warning. - -Wed Jun 16 14:57:09 1999 Jeff Parsons - - * tao/DynUnion_i.h: - * tao/DynUnion_i.cpp: - * tao/DynUnion_i_T.h: - * tao/DynUnion_i_T.cpp: Removed the 'const' from the Any args of - the DynUnion extractor functions, both template and specialized - versions. Thanks to Steve Huston for - reporting the errors with AIX 4.3 w/ IBM C/C++ 3.6.4. - -Wed Jun 16 14:00:53 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp: Commented out - an unused variable that was causing a compiler warning reported - by Carlos. - -Wed Jun 16 13:47:54 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: - * orbsvcs/orbsvcs/AV/sfp.cpp: Fixed the THROW_SPEC warnings on - HP-UX. Thanks to Steve Huston for reporting these. - -Wed Jun 16 13:23:57 1999 Vishal Kachroo - - * orbsvcs/Time_Service/IR_Helper.cpp: - Fixed ACE_THROW_SPEC - - * tests/InterOp-Naming/INS_i.cpp, - * tests/InterOp-Naming/INS_i.h: - Fixed ACE_THROW_SPEC. - -Wed Jun 16 12:30:21 1999 Carlos O'Ryan - - * tao/Makefile: - * docs/Options.html: - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - * tao/Object_Adapter.cpp: - * tao/POA.cpp: - * tao/Policy_Manager.cpp: - * tao/Servant_Base.cpp: - * tao/IIOP_Connect.cpp: - * tao/UIOP_Connect.cpp: - * tao/Resource_Factory.h: - * tao/Resource_Factory.cpp: - * tao/default_resource.h: - * tao/default_resource.i: - * tao/default_resource.cpp: Added new per-ORB-per-thread - resources, they only include the reactor and the output CDR - allocators at this point. This eliminates some of the problems - at shutdown because now the reactor goes down *after* the ORB - shutdowns, not before. Also added a new option to the ORB (not - the resource factory) to control if the resources are TSS or - global, the old option in the resource factory is maintained for - backwards compatibility - - * tests/OctetSeq/Makefile: - * tests/OctetSeq/README: - * tests/OctetSeq/client.cpp: - * tests/OctetSeq/run_test.pl: - * tests/OctetSeq/server.cpp: - * tests/OctetSeq/test.idl: - * tests/OctetSeq/test_i.cpp: - * tests/OctetSeq/test_i.h: - * tests/OctetSeq/test_i.i: - * tests/OctetSeq/OctetSeq.cpp: Added a new test to check the octet - sequence optimizations have no side effects across multiple - calls. - -Wed Jun 16 03:13:22 1999 Douglas C. Schmidt - - * TAO_IDL/ast/ast_expression.cpp (eval_un_op): Fixed an obscure - bug in TAO's IDL compiler whereby negative constants weren't - being evaluated correctly. Thanks to Hata Yoshiaki - for reporting this. - -Wed Jun 16 01:12:55 1999 Nanbor Wang - - * docs/releasenotes/orbcore.html: Updated information wrt - collocation support. - - * docs/poa_migration.html: - * docs/compiler.html: Removed section about having to include both - stubs and skeletons in the client side and how to generate "pure - client" code. - - * TAO-INSTALL.html: Updated intructions on creating MSVC projects. - Removed VC 4.2 section. - -Tue Jun 15 22:16:57 1999 Matthew J Braun - - * orbsvcs/tests/Concurrency/CC_command.cpp - * orbsvcs/tests/Concurrency/CC_test_utils.cpp - * orbsvcs/tests/Concurrency/CC_tests.cpp - * orbsvcs/Logging_Service/Logging_Service_i.h,cpp: Added - ACE_const_cast statements. Those should have been checked in a - while ago, but I screwed up. Also, I migrated the TAO_THROW - macros to ACE_THROW macros in the Concurrency files. - -Tue Jun 15 20:19:43 1999 Jeff Parsons - - * tao/Any.cpp: Removed a comment to me that I had left after - fixing what the comment referred to. - - * TAO/performance-tests/Pluggable/PP_Test_Server.cpp: - * TAO/performace-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp: Added - a check of the return value of parse_args(). - -Tue Jun 15 20:15:27 1999 Carlos O'Ryan - - * orbsvcs/tests/Trading/Offer_Exporter.cpp: - * orbsvcs/tests/Trading/Offer_Exporter.h: - * orbsvcs/tests/Trading/Offer_Importer.cpp: - * orbsvcs/tests/Trading/Offer_Importer.h: - * orbsvcs/tests/Trading/Service_Type_Exporter.cpp: - * orbsvcs/tests/Trading/Service_Type_Exporter.h: - * orbsvcs/tests/Trading/Simple_Dynamic.cpp: - * orbsvcs/tests/Trading/Simple_Dynamic.h: - * orbsvcs/tests/Trading/TT_Info.h: More TAO_THROW_SPEC converted - to ACE_THROW_SPEC, easy job thanks to Seth foresight... - -Tue Jun 15 18:49:56 1999 Irfan Pyarali - - * tao: Fixed simple miscellaneous stuff marked by Dr. Schmidt. - - Active_Object_Map.h - - Active_Object_Map.i - - Forwarding_Servant.cpp - -Tue Jun 15 18:04:36 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: Added new file for the event - channel implementation. - -Tue Jun 15 17:44:45 1999 Irfan Pyarali - - * examples/POA: Fixed the throw spec. - - * examples/POA/Forwarding/MyFooServant.h - (MyFirstFooServant::forward): Added a *hack* (but it's the only - one in TAO so that's ok ;-))! We cannot ask the POA to forward - us while the upcall is still in progress. So we ask the Reactor - to wake us up as soon as this upcall completes. At that time - (in handle_input), we ask the POA to forward us. - - The politically correct way to handle this is to use a separate - object (probably a separate interface, e.g., a forwarding agent) - to do the forwarding. - - Also fixed some ACE_DEBUG usage errors. - - * tao/Invocation.cpp (TAO_GIOP_Twoway_Invocation::start and - TAO_GIOP_Locate_Request_Invocation::start): If there was a - previous reply, cleanup its state first. Thanks to Carlos for - helping with this. - -Tue Jun 15 16:42:58 1999 Carlos O'Ryan - - * tao/Exception.h: - * tao/Exception.cpp: Added the _raise() method to the system - exceptions - -Tue Jun 15 16:16:48 1999 Nanbor Wang - - * TAO_IDL/be_include/be_visitor_operation/collocated_ss.h: - * TAO_IDL/be/be_visitor_operation/collocated_ss.cpp - (void_return_type): Added a helper method to determine whether - the generated function returns void or not. Replaced several - places that can use the method. - - (visit_operation): Added ACE_UNUSED_ARG for _tao_retval to avoid - warngings on some platforms. - - The following changes decouple the generated skeletons from the - generated stubs. Therefore, there's no need to include *S.* - files on client side anymore. - - * TAO_IDL/be_include/be_visitor_interface/interface_ss.h: - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp - (visit_interface): Fixed the code to generate - <_create_collocated_objref.> - - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp - (visit_interface): Changed to use the _create_collocated_objref - of ServantBase to get the collocated object from the servant. - - * TAO_IDL/be/be_codegen.cpp (start_client_stubs): There's no need - to include the server header file in client side anymore. - - * tao/Servant_Base.{h,cpp} (_create_collocated_objref): This - function now takes an extra argument so we can - check whether we are asking for the right collocated object - reference. - -Tue Jun 15 16:18:12 1999 Jeff Parsons - - * tao/decode.cpp: Put back a couple of lines that got cut out - accidently in TAO_Marshal_Sequence::decode(). Thanks to Carlos - for reporting the Param_Test DII error and to Nanbor for his - help in navigating through the extensive change he recently made - to this file. - -Tue Jun 15 15:08:12 1999 Carlos O'Ryan - - * TAO-INSTALL.html: Updated NT installation notes because the - ACE_ROOT and/or TAO_ROOT variable is required. - - * orbsvcs/tests/Event/Basic/run_test.pl: - * orbsvcs/tests/Event/Performance/run_test.pl: Use the new - features in the Process perl class to timeout any of the tests. - -Tue Jun 15 14:50:29 1999 Jeff Parsons - - * TAO/performance-tests/Pluggable/PP_Test_i.h: - * TAO/performance-tests/Pluggable/PP_Test_i.cpp: Added - ACE_THROW_SPEC code to member functions. - -Tue Jun 15 13:24:30 1999 Marina Spivak - - * orbsvcs/tests/Simple_Naming/client.cpp: Added ACE_THROW_SPEC - macros. - - * orbsvcs/orbsvcs/Naming/Transient_Naming_Context.cpp - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp: - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index.cpp: Added - missing template instantiations, workarounds for g++ template - problems. - -Tue Jun 15 12:23:26 1999 Irfan Pyarali - - * tao/ORB.h (CORBA_ORB): Removed old comments about perform_work() - and work_pending() not being supported -- they are actually - supported now. Thanks to Pradeep Gore for pointing this out. - -Tue Jun 15 10:57:08 1999 Douglas C. Schmidt - - * docs/compiler.html: Improved the TAO IDL compiler documentation. - -Tue Jun 15 11:51:38 1999 Nagarajan Surendran - - * orbsvcs/tests/AVStreams/benchmark/run_test.pl: Fixed the - run_test.pl so that the first line doesn't start with a # and - also appended . to the executable PATH in the script. - -Tue Jun 15 11:06:13 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Log/Logger_i.cpp: - * orbsvcs/orbsvcs/Log/Logger_i.h: - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp: - * orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h: - * orbsvcs/orbsvcs/Trader/Offer_Database.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Database.h: - * orbsvcs/orbsvcs/Trader/Offer_Iterators.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Iterators.h: - * orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp: - * orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp: - * orbsvcs/orbsvcs/Trader/Service_Type_Repository.h: - * orbsvcs/orbsvcs/Trader/Trader.cpp: - * orbsvcs/orbsvcs/Trader/Trader.h: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.h: - * orbsvcs/orbsvcs/Trader/Trader_T.cpp: - * orbsvcs/orbsvcs/Trader/Trader_T.h: - * orbsvcs/orbsvcs/Trader/Trader_Utils.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Utils.h: - More ACE_THROW_SPEC fixes, finally the orbsvcs library compile - on IRIX! - -Mon Jun 14 22:58:34 1999 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.h: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: Fixed - ACE_THROW_SPEC issues again. Included the - CORBA::SystemException. - -Mon Jun 14 22:02:41 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Makefile: - * orbsvcs/orbsvcs/Event/EC_MT_Dispatching.h: - * orbsvcs/orbsvcs/Event/EC_MT_Dispatching.i: - * orbsvcs/orbsvcs/Event/EC_MT_Dispatching.cpp: Added new - dispatching strategy that uses several dispatching threads. - Thanks to Thomas Lockhart for - motivating this use case. - - * orbsvcs/orbsvcs/Event/EC_Default_Factory.h: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.i: - * orbsvcs/orbsvcs/Event/EC_Default_Factory.cpp: Added support for - the new dispatching strategy. - - * orbsvcs/orbsvcs/Event/EC_Command.h: - * orbsvcs/orbsvcs/Event/EC_Command.i: - * orbsvcs/orbsvcs/Event/EC_Command.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.h: - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.cpp: Fixed name - conflict between two classes. - - * orbsvcs/tests/EC_Throughput/ec.mt.conf: New config file for the - MT dispatching strategy - - * orbsvcs/tests/EC_Throughput/ECT_Throughput.cpp: We don't use the - naming service anymore. - -Mon Jun 14 22:10:15 1999 Douglas C. Schmidt - - * tao/GIOP.cpp (process_server_request): Make sure to initialize - response_required to 0 to keep G++ from complaining. Thanks to - Marina for reporting this. - -Mon Jun 14 21:04:53 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/CosEvent_Utilities.cpp: - * orbsvcs/orbsvcs/CosEvent_Utilities.h: - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp: - * orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h: - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp: - * orbsvcs/orbsvcs/CosEvent/EventChannel_i.h: - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp: - * orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h: - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp: - * orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h: - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp: - * orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h: More ACE_THROW_SPEC - stuff - - * tao/Object.h: Fixed warning in method declaration, it included - the class name! - -Mon Jun 14 20:53:44 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.{h,cpp}: Fixed a few more - ACE_THROW_SPEC errors. Thanks to Carlos for pointing these. - -Mon Jun 14 19:38:47 1999 Alexander Babu Arulanthu - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.h: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: Fixed the - problems with the ACE_THROW_SPEC. - -Mon Jun 14 19:36:32 1999 Douglas C. Schmidt - - * tao/GIOP.cpp (process_server_request): Fixed a couple of - "unused" arg warnings caused by various #ifdef paths through the - code. Thanks to Marina for reporting this. - -Mon Jun 14 16:55:26 1999 Irfan Pyarali - - * tao/Server_Strategy_Factory.cpp (create_servant_lock): - * tao/default_server.cpp (create_servant_lock): Removed - create_servant_lock(). It is not used and is *very* TAO specific - and difficult to get right in the new architecture. - -Mon Jun 14 16:07:47 1999 Alexander Babu Arulanthu - - * tao/default_client.cpp: Creating Exclusive TMS always, since - Muxed TMS is not available yet. - - * orbsvcs/orbsvcs/Property/CosPropertyService_i.h: - * orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: Added - ACE_THROW_SPEC to the relevant methods. - -Mon Jun 14 15:34:21 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/DII_Cubit/run_test.pl: - * TAO/tests/DynAny_Test/run_test.pl: Added timeout features - similar to that in IDL_Cubit/run_test.pl: - -Mon Jun 14 14:37:00 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/AVStreams_i.{h,cpp}: Fixed the throw - specifications for all the CORBA methods. - -Mon Jun 14 13:45:41 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.{h,cpp}, - Task_Client.h,server.cpp: fixed const char * warnings by - replacing CORBA::String with const char *, and adding a few - casts for objects that are passed to ACE_ARGV constructors. The - casts aren't good: the proper fix would be to fix ACE_ARGV to - take const ASYS_TCHAR * arguments. - -Mon Jun 14 12:29:04 1999 Nanbor Wang - - * tao/Context.cpp: - * tao/Environment.cpp: - * tao/Principal.cpp: Made sure the is initialized - properly. Thanks to for pointing - this out. - - * tao/Object_KeyC.h: TAO_ObjectKey_var needs to be exported on - Win32. - -Mon Jun 14 11:04:05 1999 Balachandran Natarajan - - * examples/OBV/Simple_util.cpp: Added a #include. The problem was - that HP_UX compiler reported that TAO_debug_level was not - found. Hence the #include as a solution. This was reported by - Bill Tovrea . Thanks to him for - reporting this. - -Mon Jun 14 10:32:04 1999 Jeff Parsons - - * TAO/docs/releasenotes/TODO.html: Added item for Dynamic Any - overhaul in the 'pending' section. - -Mon Jun 14 09:59:45 1999 Carlos O'Ryan - - * TAO_IDL/be/be_visitor_operation/collocated_ss.cpp: Fixed code - for void functions, the collocated version was calling through - the POA and directly (yikes!) - - * orbsvcs/orbsvcs/Naming/Transient_Naming_Context.cpp: - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp: Minor - cosmetic fixes. - -Mon Jun 14 09:58:47 1999 Douglas C. Schmidt - - * TAO-INSTALL.html: Updated Barry Hoggard's CORBA page URL. - -Mon Jun 14 08:56:02 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Naming/Transient_Naming_Context.cpp: - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp: Added - missing template instantiations - -Mon Jun 14 03:57:48 1999 Nanbor Wang - - * TAO_IDL/be_include/be_visitor_operation/collocated_ss.h: - * TAO_IDL/be/be_visitor_operation/collocated_ss.cpp - (visit_operation): Added code to generate the implementation - that supports Thru_POA collocation strategy. The implementtion - for Direct collocation strategy is still here. The generated - code query the calling thread's ORB Core to determine the - collocation strategy to use. Currently, we don't handle the - case in Thru_POA implementation when _downcast fails, i.e., if - the servant is a DSI, we'll die a horrible death. That need to - be fixed to at least, throw an exception, we may add support for - collocated DII/DSI call later. - - (gen_invoke): - (gen_check_exception): Added two helper methods to generate - collocated forwarding code and the "ACE_CHECK" macro if the - native c++ exception is not supported. - - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp - * TAO_IDL/be/be_visitor_interface/interface_ss.cpp - (visit_interface): Added code to generate the declaration and - the default implementation of <_create_collocated_objref> - method. The default implementation only returns a - _tao_collocated_* object because I didn't separate the - implementation of Thru_POA and Direct collocated object - implementation. Users are allowed to overwrite this method to - provide more nifty collocated objects. However, this method is - not CORBA compliant. - - * TAO_IDL/be/be_visitor_interface/interface_cs.cpp - (visit_interface): First attemp to decouple stubs from skeleton - files. Since we still need to reinterpret the servant pointer - returned by the _create_collocated_objref, we still need the - skeleton files for now. But it should be fixed real soon. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.{h,cpp} - (_default_POA): We need to overwrite the <_default_POA> method - because we use two different ORBs in collocation_test. - - (set_default_poa): Added the method to both Cubit_Factory and - Cubit to propage and set the default POA down to Cubit. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp (init): - Default_POA must be set correctly for collocation to work. - - * tao/Servant_Base.{h,cpp} (_create_collocated_objref): This - method was intended to decouple the dependency of generated - skeletons in stubs. But it is not fully functional yet. - Therefore, we still need to include skeletons in client side. - - * tao/Servant_Base.cpp (_create_stub): We must record the - servant_orb when creating a new stub. Stub objects now alway - carry a pointer to servant_orb. - - *Very important*: If it is possible for a servant to be - collocated with clients and the clients are using a different - ORB from the servant, it is necessary for the servant to - *overwrite* the _default_POA method. - - * tao/Object_Adapter.h (Servant_Upcall): Added TAO_Export to this - class. Also added not-implemented copy ctor and operator=. - - * tao/Object.cpp (_object_key): Added a TAO extension to support - Thru_POA collocation strategy. This function returns a - reference of object key of the object reference without copying. - Since the use of an object key during a collocated upcall never - outlives the object reference' lifetime, we don't need to copy - the object key. Thanks to Irfan for helping this out. - - * tao/ORB.cpp (_get_collocated_servant): Set the servant_orb once - a collocated servant is found. Notice that at this moment, the - method doesn't consider the collocation strategy being used by - the orb and record both servant_orb and servant in the stub - objects. The consequence of this is, only object that already - has a servant available at the time _get_collocated_servant is - called will be treated as collocated object. The advantage of - this is, we can switch collocation strategy at run-time, but - there doesn't seem to be a use case for this. AT any rate. - this will be fixed in the future so that if Thru-POA collocation - strategy is used, only servant_orb is recorded. Otherwise, only - servant is carried by the stub object of the collocated objects. - - * tao/GIOP.h (TAO_GIOP_Message_State): Added TAO_Export to the - class TAO_GIOP_Message_State. - -Sun Jun 13 23:38:02 1999 Nanbor Wang - - Quest for TAO try macros free TAO: - - * tao/deep_copy.cpp: - * tao/decode.cpp: - * tao/Typecode.{i,cpp}: - * tao/Object.cpp: Commented out calls to ACE_TRY_ENV.clear (). We - shouldn't depend on them for correct execution of programs. - Changed the use of env to ACE try macros. - - * tao/Marshal.cpp (make_marshal_object): Changed to use ACE try - macros. - - * tao/Exception.cpp (item): Replaced TAO_IN_ENV with ACE_TRY_ENV - and commented out ACE_TRY_ENV.clear () since we shouldn't depend - on clearing up the environment to make it works correctly. - -Sun Jun 13 23:29:22 1999 Marina Spivak - - * orbsvcs/orbsvcs/Naming/Transient_Naming_Context.{h,cpp} - * orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.{h,cpp}: Added the - above files. - - * orbsvcs/orbsvcs/Naming/Persistent_Bindings_Map.{h,cpp} - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.{h,cpp}: - Removed the above files. - - * orbsvcs/orbsvcs/Naming/Naming_Context.{h,cpp} - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.{h,cpp} - * orbsvcs/orbsvcs/Naming/Persistent_Context_Index.{h,cpp} - * orbsvcs/orbsvcs/Naming/Hash_Naming_Context.{h,cpp} - * orbsvcs/orbsvcs/Naming/Naming_Utils.{h,cpp} - * orbsvcs/orbsvcs/Naming/Entries.{h,cpp} - * orbsvcs/orbsvcs/Naming/Persistent_Entries.{h,cpp}: - Modified the above files. Restructured the implementation of - NamingContext to factor out the common code between persistent - and nonpersistent implementations through the Template method - pattern (added TAO_Transient_Naming_Context, TAO_Bindings_Map, - TAO_Transient_Bindings_Map classes and modified others). Made - TAO_Persistent_Context_Index a non-template class, and - TAO_Bindings_Iterator a template class. Made a pass through - some files for code review - added comments. Got rid of the use - of method, and changed lock pointers to - lock references. Many other minor adjustments... - -Sun Jun 13 22:39:51 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h, - * orbsvcs/orbsvcs/Event/EC_SupplierFiltering.h, - * orbsvcs/orbsvcs/Event/EC_ProxyPushSupplier_Set.h, - * orbsvcs/orbsvcs/Event/EC_Gateway.h, - * orbsvcs/orbsvcs/Event/EC_Dispatching.h: Added default - TAO_default_environment() calls. Thank to Russ Noseworthy for - reporting this. - -Sun Jun 13 21:46:25 1999 Carlos O'Ryan - - * tests/NestedUpcall/Triangle_Test/run_test.pl: - * tests/NestedUpcall/MT_Client_Test/run_test.pl: - More scripts changed to use timeouts. - - * tests/MT_Client/test.idl: - * tests/MT_Client/test_i.cpp: - * tests/MT_Client/test_i.h: - * tests/NestedUpcall/MT_Client_Test/MT_Object_i.cpp: - * tests/NestedUpcall/MT_Client_Test/MT_Object_i.h: - * tests/NestedUpcall/Reactor/Reactor.idl: - * tests/NestedUpcall/Reactor/eh_i.cpp: - * tests/NestedUpcall/Reactor/eh_i.h: - * tests/NestedUpcall/Reactor/reactor_i.cpp: - * tests/NestedUpcall/Reactor/reactor_i.h: - * tests/NestedUpcall/Triangle_Test/Initiator_i.cpp: - * tests/NestedUpcall/Triangle_Test/Initiator_i.h: - * tests/NestedUpcall/Triangle_Test/Object_A_i.cpp: - * tests/NestedUpcall/Triangle_Test/Object_A_i.h: - * tests/NestedUpcall/Triangle_Test/Object_B_i.cpp: - * tests/NestedUpcall/Triangle_Test/Object_B_i.h: - * tests/Param_Test/param_test_i.cpp: - * tests/Param_Test/param_test_i.h: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.h: - * performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/cubit_i.h: - * orbsvcs/Event_Service/Event_Service.cpp: - * orbsvcs/Event_Service/Event_Service.h: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp: - * orbsvcs/tests/EC_Throughput/ECT_Consumer.h: - More throw specs added - -Sun Jun 13 16:18:31 1999 Carlos O'Ryan - - * docs/releasenotes/orbcore.html: - Documented the GIOP 1.1 implementation. - - * docs/releasenotes/TODO.html: - Made a pass marking the completed tasks as such - -Sun Jun 13 15:35:42 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Time/TAO_TIO.cpp: - * orbsvcs/orbsvcs/Time/TAO_TIO.h: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp: - * orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h: - * orbsvcs/orbsvcs/Time/TAO_UTO.cpp: - * orbsvcs/orbsvcs/Time/TAO_UTO.h: - More throw specs fixed. - -Sat Jun 12 21:56:35 1999 Carlos O'Ryan - - * docs/index.html: - * docs/Tags.html: - A new document that describes how TAO uses tags and other magic - numbers. - -Sat Jun 12 20:29:09 1999 Carlos O'Ryan - - * tao/corbafwd.h: - Documented the tags obtained from the OMG. - - * tao/ORB.cpp: - Improve debugging messages - - * tao/GIOP.h: - Use an OMG assigned profile ID for the unix domain sockets - - * examples/POA/Default_Servant/File_i.cpp: - Create the files in 644 mode, so we can write on them! - - * examples/POA/Default_Servant/run_test.pl: - * tests/MT_Client/run_test.pl: - * tests/NestedUpcall/Reactor/run_test.pl: - Use the new timed routines to drive this test. - - * orbsvcs/tests/Simple_Naming/run_test.pl: - Minor revision to the multithreaded test - - * TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - * tao/DomainC.cpp: - * tao/Invocation.cpp: - * tao/MessagingC.cpp: - * tao/Object.cpp: - * tao/POAC.cpp: - * tao/PolicyC.cpp: - * tao/PollableC.cpp: - The right exception to raise if the stubobj is nil() is - CORBA::INTERNAL - -Sat Jun 12 19:51:29 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Runtime_Scheduler.cpp: - * orbsvcs/orbsvcs/Runtime_Scheduler.h: - * orbsvcs/orbsvcs/Naming/Hash_Naming_Context.cpp: - * orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h: - * orbsvcs/orbsvcs/Naming/Naming_Context.cpp: - * orbsvcs/orbsvcs/Naming/Naming_Context.h: - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp: - * orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.h: - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp: - * orbsvcs/orbsvcs/Sched/Config_Scheduler.h: - * orbsvcs/tests/EC_Basic/EC_Basic.cpp: - * orbsvcs/tests/EC_Basic/EC_Basic.h: - * orbsvcs/tests/EC_Mcast/EC_Mcast.cpp: - * orbsvcs/tests/EC_Mcast/EC_Mcast.h: - * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: - * orbsvcs/tests/EC_Multiple/EC_Multiple.h: - * orbsvcs/tests/Event/lib/Consumer.cpp: - * orbsvcs/tests/Event/lib/Consumer.h: - * orbsvcs/tests/Event/lib/Supplier.cpp: - * orbsvcs/tests/Event/lib/Supplier.h: - * orbsvcs/tests/Event_Latency/Event_Latency.cpp: - * orbsvcs/tests/Event_Latency/Event_Latency.h: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.h: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp: - * orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.h: - More throw spec fixes - -Sat Jun 12 18:42:04 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Channel_Clients_T.cpp: - * orbsvcs/orbsvcs/Channel_Clients_T.h: - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_LockSet.h: - * orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp: - * orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/EC_Event_Channel.h: - * orbsvcs/orbsvcs/Event/EC_Gateway.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway.h: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.cpp: - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp: - * orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.cpp: - * orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h: - * orbsvcs/orbsvcs/Event/EC_UDP_Admin.cpp: - * orbsvcs/orbsvcs/Event/EC_UDP_Admin.h: - * orbsvcs/orbsvcs/Event/Event_Channel.cpp: - * orbsvcs/orbsvcs/Event/Event_Channel.h: - * orbsvcs/orbsvcs/Event/Event_Channel.i: - Fixed throw specifications for all the event channel and - concurrency service files. - -Sat Jun 12 18:08:49 1999 Carlos O'Ryan - - * tao/GIOP.i: - Fixed buffer managment bug, the incoming buffer on each - (server) transport was re-used for the next call, but we cannot - do that because the buffer may be in use by some octet - sequences. - - * tao/GIOP.cpp: - More initializations to keep purify happy - - * tao/ORB.cpp: - Removed UMR warning on purify by initializing a CDR buffer with - 0's The warning was due to padding bytes, it was not harmful, - but it could hide real problems. - - * utils/nslist/nslist.cpp: - Improved output - - * orbsvcs/tests/Simple_Naming/run_test.pl: - Use a file to communicate the IOR back to the client, is more - reliable. - Several improvements in the subprocess managment. - -Sat Jun 12 14:28:20 1999 Aniruddha Gokhale - - * TAO_IDL/be/be_union.cpp: - TAO_IDL/be_include/be_union.h: Removed the cast to long for the - case when the union member is of type boolean. We handled this - by making the blval union member as a long. - - * TAO_IDL/be/be_visitor_field/field_ch.cpp: - TAO_IDL/be/be_visitor_union_branch/public_ch.cpp: We were not - handling the code generation of union defined inside a structure - or another union. - - * TAO_IDL/be/be_visitor_field/field_ci.cpp: Cosmetic changes. - - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp: Fixed - indentation problem in generated code. - - * TAO_IDL/be/be_visitor_operation/arglist.cpp: - TAO_IDL/be/be_visitor_operation/argument.cpp: - TAO_IDL/be_include/be_visitor_operation/arglist.h: - TAO_IDL/be_include/be_visitor_operation/argument.h: These - operation visitors now inherit from the be_operation visitor so - that we can use the base operations defined on the base class - operation visitor. Additional changes are described below. - - * TAO_IDL/be/be_visitor_operation/arglist.cpp: - TAO_IDL/be/be_visitor_operation/argument.cpp: - TAO_IDL/be/be_visitor_operation/collocated_ss.cpp: - TAO_IDL/be/be_visitor_operation/operation.cpp: - TAO_IDL/be_include/be_visitor_operation/operation.h: - TAO_IDL/be/be_visitor_operation/operation_cs.cpp: - TAO_IDL/be/be_visitor_operation/operation_ih.cpp: - TAO_IDL/be_include/be_visitor_operation/operation_ih.h: - TAO_IDL/be/be_visitor_operation/operation_is.cpp: - TAO_IDL/be_include/be_visitor_operation/operation_is.h: - TAO_IDL/be/be_visitor_operation/operation_sh.cpp: - TAO_IDL/be/be_visitor_operation/operation_ss.cpp: - TAO_IDL/be/be_visitor_operation/tie_si.cpp: Generated - stubs/skeletons now support real C++ exceptions as specified by - the IDL->C++ mapping. We also generate the ACE_THROW_SPEC macro - for the stubs and skeletons. To support this, some common code - was factored out and put into the base operation visitor. Users - will need to use the -Ge option to the IDL compiler to enable - support for C++ exceptions. - - * docs/releasenotes/index.html: - docs/compiler.html: Updated documentation. - -Fri Jun 11 20:36:37 1999 Balachandran Natarajan - - * examples/POA/TIE/run_test.pl: Changed the way the client process - was launched. Initial a system call was used. But now we are - using a Process::Create call to do that. - -Fri Jun 11 20:04:07 1999 Carlos O'Ryan - - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl: Removed - obsolete options - -Fri Jun 11 19:26:30 1999 Balachandran Natarajan - - * examples/POA/TIE/server.cpp (main): Fixed a small problem on - NT. It was not writing the IOR to a file. It was fixed. - - * examples/POA/TIE/run_test.pl: Made a change to be on par with - Carlos's latest standard. - - * examples/POA/TIE/run_test.pl: Added a new file. - - * examples/POA/TIE/server.cpp : To facilitate usage of a perl - script for running the test, made the server to ior to a file. - - * examples/POA/TIE/client.cpp: To facilitate reading the ior by - the perl script, change was made to read the ior from the - command line in "file://" format . - -Fri Jun 11 19:08:45 1999 John Heitmann - - * TAO/examples/POA/DSI/run_test.pl: - * TAO/examples/POA/Default_Servant/run_test.pl: - * TAO/examples/POA/Explicit_Activation/run_test.pl: - * TAO/examples/POA/FindPOA/run_test.pl: - * TAO/examples/POA/Forwarding/run_test.pl: - * TAO/examples/POA/Loader/run_test.pl: - * TAO/examples/POA/NewPOA/run_test.pl: - * TAO/examples/POA/On_Demand_Activation/run_test.pl: - * TAO/examples/POA/On_Demand_Loading/run_test.pl: - * TAO/examples/POA/Adapter_Activator/run_test.pl: - * TAO/examples/POA/Reference_Counted_Servant/run_test.pl: Changed - all instances where a test would wait forever to waits which - time out after a period of time. - -Fri Jun 11 18:33:21 1999 Jeff Parsons - - * TAO/tests/Param_Test/server.cpp: Added a const to avoid a SunC++ - "string literal to char*" warning. - - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp: Various - changes to avoid SunC++ 5.0's "string literal to char*" - warnings. - - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h: - * TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - Various maneuvers to avoid SunC++ 5.0 "string literal to char*" - warnings. - - * TAO/tests/DynAny_Test/data.h: Added a 'const' to get rid of - SunC++ warnings. - - * TAO/tests/Param_Test/run_test.pl: Added an unlink $iorfile at - the beginning so the client won't get the wrong IOR if the file - already exists. This was causing the first test to show - CORBA::TRANSIENT exceptions on NT. Thanks to Carlos for - suggesting a better fix than the one I had. - -Fri Jun 11 12:27:29 1999 Douglas C. Schmidt - - * TAO_IDL/fe/lex.yy.cpp.diff: Updated the diff output to handle - the new flex output from idl.ll. - - * TAO_IDL/fe/idl.ll: Made the following two changes to TAO's IDL - flex file. - - Removed the "A" through "Z" characters ranges. Under EBCDIC - the need to be "A through I", "J through R", and "S through Z" - (ditto for the lower case letters). Perhaps it should just be - changed to be "[ABCDEFGHIJKLMNOPQRSTUVWXYZ]"... - - Added support for the trigraph "??=" which is the trigraph for - the "#" sign. The OpenEdition preprocessor inserts a "pragma" - statement at the start of the preprocessed output using this - trigraph. - - Thanks to Jim Rogers for these fixes. - -Fri Jun 11 14:48:11 1999 David L. Levine - - * performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl, - performance-tests/Cubit/TAO/MT_Cubit/run_test.pl: - updated to use Carlos' timeouts. Cool! - -Fri Jun 11 14:33:27 1999 Jeff Parsons - - * TAO/tests/DynAny_Test/test_dynenum.cpp: Changed test code to - match the change in enum labels made in the IDL file a while - back. - -Fri Jun 11 14:17:20 1999 Carlos O'Ryan - - * TAO_IDL/include/be_extern.h: Changed several extern "C" - functions to plain extern. They were actually compiled with C++ - and was giving warnings under Sun/CC 5.0 (and errors in other - platforms). - - * tests/MT_Client/run_test.pl: - * examples/POA/Forwarding/run_test.pl: Modified to use the new - timeouts, just an example for other test developers. - - * orbsvcs/tests/Simple_Naming/run_test.pl: It was missing the - ACEutils package. Updated to use the process timeouts. - -Fri Jun 11 11:42:07 1999 Balachandran Natarajan - - * tests/DynAny_Test/test_wrapper.cpp: Added #include "ace/OS.h" so - that they compile on aCC compiler on HP_UX - -Thu Jun 10 23:17:38 1999 Jeff Parsons - - * TAO_IDL/be_include/be_enum.h: - * TAO_IDL/be/be_enum.cpp: Added a method to convert a numerical - value to an enum's string name for it. When generating code for - the _default() method for a union, if the discriminator is an - enum, some compilers (MSVC among them) will complain about - assigning a numeric constant to the discriminator in - _default(). This method and the changes below enable the - assignment of the enum label identifier instead. - - * TAO_IDL/be/be_visitor_union/union_ci.cpp: - * TAO_IDL/be/be_visitor_union/discriminant_ci.cpp: Moved - generation of code for the _default() method from the union - visitor to the discriminant visitor, so it would be a little - easier to get at the enum labels. Thanks to Kristopher Johnson - for pointing out the problem and - supplying an IDL file for a test case. - -Thu Jun 10 23:10:23 1999 Carlos O'Ryan - - * tao/UIOP_Profile.cpp: Fixed bug in UIOP_Profile enconding. - -Thu Jun 10 21:32:59 1999 Carlos O'Ryan - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: Added the new files - -Thu Jun 10 21:20:19 1999 Carlos O'Ryan - - * tao/Tagged_Components.h: - * tao/Tagged_Components.i: - * tao/Tagged_Components.cpp: New class to manipulate and query - tagged components efficiently. - - * tao/IIOP_Profile.h: - * tao/IIOP_Profile.i: - * tao/IIOP_Profile.cpp: - * tao/IIOP_Acceptor.cpp: - * tao/UIOP_Profile.h: - * tao/UIOP_Profile.i: - * tao/UIOP_Profile.cpp: - * tao/UIOP_Acceptor.cpp: The IIOP and UIOP profiles use the - TAO_Tagged_Components class to implement the tagged_components - field in GIOP/IIOP 1.1 The Acceptors generate the standard - IOP::TAG_ORB_TYPE and IOP - - * tao/iopfwd.h: - * tao/MessagingC.h: Removed "tao/iopfwd.h" the contents are in - IOPC.h - - * tao/corbafwd.h: Added several magic numbers that we use for the - tagged components and the codeset support, I tried to describe - the source for each one. - - * tao/ORB.cpp: Fixed demarshaling of TC_opaque (again!) - - * tao/CONV_FRAME.pidl: - * tao/CONV_FRAMEC.cpp: - * tao/CONV_FRAMEC.h: - * tao/CONV_FRAMEC.i: - * tao/CONV_FRAMES.cpp: - * tao/CONV_FRAMES.h: - * tao/CONV_FRAMES.i: - * tao/CONV_FRAMES_T.cpp: - * tao/CONV_FRAMES_T.h: - * tao/CONV_FRAMES_T.i: Implement the the CONV_FRAME module in - CORBA 2.2, it is just a bunch of types, no interfaces. - - * tao/IOPC.h: - * tao/IOPC.i: - * tao/IOPC.cpp: - * tao/IOPS.h: - * tao/IOPS.i: - * tao/IOPS.cpp: - * tao/IOPS_T.h: - * tao/IOPS_T.i: - * tao/IOPS_T.cpp: Added the complete (as of CORBA 2.2) IOP module - definition. - - * tao/Makefile: Added the new files. - - * tao/orbconf.h: - * tao/ORB_Core.cpp: - * tao/params.h: - * tao/params.i: - * tao/params.cpp: New option (-ORBStdProfileComponents 0/1) to - control the generation of the standard tagged components on each - profile. They are optional, i.e. we are not required to generate - them, and take some space (in the IORs). Notice that they do - *not* affect the critical path (unless you are sending a lot of - object references). - - * docs/Options.html: Documented the new -ORBStdProfileComponents - option - - * utils/catior/catior.cpp: Added support for GIOP 1.1 tagged - components in both IIOP and UIOP profiles - - * tao/GIOP.cpp: Removed unused variable - - * tao/orbconf.h: - * tao/corbafwd.h: - * tao/ORB.h: - * tao/Exception.h: - * tao/Exception.cpp: Removed the last use of TAO_CONST - - * TAO_IDL/driver/drv_args.cpp: If the temporary directory cannot - be open we print an Error, not a Warning (it would be confusing - otherwise). Thanks to Jim Rogers for - pointing this out. - -Thu Jun 10 17:15:37 1999 Jeff Parsons - - * tao/Exception.cpp: Added include and modified identifier related - to the codeset translator implemented for IBM1047. Thanks to Jim - Rogers for pointing this out. - -Thu Jun 10 16:51:02 1999 Pradeep Gore - - * examples/Simple/chat/Server_i.h: - * orbsvcs/orbsvcs/CosEvent_Utilities.cpp: fixed sunc++ 5.0 warning - for initializing a non const char* with a string literal. - -Thu Jun 10 15:24:21 1999 Irfan Pyarali - - * tao/ORB_Core.cpp: Added the inclusion of ace/Object_Manager.h - because of the use of ACE_Static_Object_Lock. Thanks to - J. Russell Noseworthy for - reporting this. - -Thu Jun 10 15:27:39 1999 Kirthika Parameswaran - - * examples/Callback_Quoter/Consumer_Handler.h (class - Consumer_Handler): Made the stock_name_ member const char* from - char* to take care of Sun C++ 5.0 compiler warnings. - -Thu Jun 10 14:54:30 1999 Balachandran Natarajan - - * TAO_IDL/be/be_visitor_sequence/sequence_base.cpp - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp - * TAO_DIL/be/be_visitor_sequence/sequence_cs.cpp : Fix for scoped - names on NT. NT does not accept scoped names in header files. - -Thu Jun 10 14:19:02 1999 Kirthika Parameswaran - - * examples/POA/On_Demand_Loading/Server_Manager.cpp (create_poa): - Removed typecast warning and changed the return value to 0 from - -1. - - * examples/POA/On_Demand_Loading/README: Explicitly mentioned that - by default Generic_Servant is used and hence needs to be built - before running this example using run_test.pl. - -Thu Jun 10 14:13:19 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp: - be_visitor_typedef_ch::visit_array() had numerous problems, such - as the generation of "static" where "ACE_INLINE" should have - been in a couple of places, and multiple calls from the same - be_typedef object to nested_type_name() in the same stream - output statement. This generates incorrect code because - nested_type_name() contains static buffers, and the order of - evaluations within a chained stream output statement is not - guaranteed, only the order of output. Thanks to Carlos for - explaining why my fix to this last worked, and to Schuderer - Christian for supplying - the IDL file that caused the problem. - -Thu Jun 10 13:53:09 1999 Irfan Pyarali - - * examples/Simple/Simple_util.cpp: Fixed improper use of return - values from the ORB Manager. Since the ORB Manager duplicates - the data members before returning them, we must store them in - vars. - - * examples/Simple/chat/Client_i.cpp (run): Changed the use of ORB - to ORB Manager to simplify the activatation of the POA Manager. - The POA Manager must be activated before incoming calls can - reach the servants registered with the POAs that the POA Manager - manages. Thanks to Bill Tovrea for - pointing out this problem. - -Thu Jun 10 13:18:31 1999 Nanbor Wang - - * tao/Request.h: Inline functions must be included *before* - RequestSeq to avoid inline functions being used before declared - inline warnings. - - * tao/Request.{i,cpp} (release): Re-inlined release method. - -Thu Jun 10 13:03:14 1999 Irfan Pyarali - - * tao/IIOP_Connect.cpp (handle_input): Must return from - handle_input if TAO_GIOP::handle_input() returns -1. - - * tao/ORB_Core.cpp: Added inclusion of POA.h since I removed it - from default_resources.h. - - * tao/default_resource.cpp (init): Removed the -ORBPOA option. - Code for parsing this option was still there but this option has - not been used in a long time. Thanks to Phil Mesnier - for reporting this. - - * tao/default_server.cpp (TAO_Default_Server_Strategy_Factory): - Removed . It is no longer used. Also, in - parse_args(), changed -ORBEventLock to -ORBEventLoopLock and - fixed the code associated with its parsing (previously it was - setting , yikes!). - - Note that -ORBEventLoopLock should probably remain undocumented - for now since its utility is still in question and the default - of null lock seems reasonable in many cases. - -Thu Jun 10 11:07:30 1999 Balachandran Natarajan - - * tests/Param_Test/tmplinst.cpp: Fixed #pragma instantiations. - - * TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: Fixed a problem - in NT. Thanks to Chris & Andy for pointing this out. - -Thu Jun 10 09:41:06 EDT 1999 Aniruddha Gokhale - - * tao/Sequence_T.{i, cpp}: Fixed incorrect number of parameters - passed to templates. - -Thu Jun 10 08:12:14 EDT 1999 Aniruddha Gokhale - - * tao/MessageC.cpp: There were serveral instances where the - CORBA::Environment parameter was declared as "env", but we were - using the ACE_THROW_* macros which need the ACE_TRY_ENV - variable. This is now fixed. - - * tao/Pluggable.cpp (start_request, start_locate): The header file - was using ACE_THROW_SPEC to indicate all possible exceptions - these operations can throw. The *.cpp file was, however, using - the TAO_THROW_SPEC macro which is a NO-OP and will soon be - deprecated. With exceptions enabled, the compiler was giving - errors. We now use ACE_THROW_SPEC. - -Wed Jun 09 23:16:21 1999 Irfan Pyarali - - * tao/orbconf.h: Without Minimum CORBA, the user will get regular - (no locality constraints) policies by default. With Minimum - CORBA, the user will get locality constraint policies by - default. - - If #define TAO_HAS_REMOTE_POLICIES 0, then the user will always - get locality constraint policies (regardless of Minimum CORBA). - - If #define TAO_HAS_REMOTE_POLICIES 1, then the user will always - get regular policies (regardless of Minimum CORBA). - - Thanks to Nanbor for helping with this. - - * tao/Servant_Base.cpp (_dispatch): Added a non-op, exception - throwing _dispatch(). - - * tao/Servant_Base.h: TAO_Local_ServantBase should virtually - inherit from TAO_ServantBase. - - * tao/POAS: - * tao/DynAnyS: - * tao/Current: Removed the _dispatch() method from all locality - constraint classes. Also for the policy classes, moved the - _dispatch() method into the TAO_HAS_LOCALITY_CONSTRAINT_POLICIES - defines. - - * tao/Policy: Made the Policy stub and skeleton classes aware of - TAO_HAS_LOCALITY_CONSTRAINT_POLICIES, and moved the extra - methods not required for locality constraint policies under the - TAO_HAS_LOCALITY_CONSTRAINT_POLICIES #defines. - - * tao/Messaging_Policy_i (RelativeRoundtripTimeoutPolicy): Made - inheritance virtual and removed extra copy constructor. - - * tao/MessagingC (all policies): Since the policies are locality - constrained, we can make the stub methods pure virtual and make - sure that the _narrow method does not create the stub class. - - * tao/POA.h (all policies): Removed unnecessary copy constructors. - - * tao/POA_CORBA: Made the CORBA::Current, PolicyManager, and - PolicyCurrent classes locality constrained to match the spec. - -Wed Jun 9 22:18:10 1999 Balachandran Natarajan - - * tao/Sequence_T.cpp - * tao/Sequence_T.h - * tao/Sequence_T.i: Added an operator= (T_var) in - TAO_Object_Manager class. This was achieved by adding an extra - parameter to the template. This necessiateted that the classes - TAO_Unbounded_Object_Sequence, TAO_Bounded_Object_Sequence, - TAO_Pseudo_Unbounded_Object_Sequence,TAO_Bounded_Pseudo_Sequence - had to be changed. An extra template parameter was added in - these classes also. - - * tao/DomainC.cpp - * tao/DomainC.h - * tao/DomainC.i - * tao/PolicyC.cpp - * tao/PolicyC.h - * tao/PolicyC.i - * tao/Request.cpp - * tao/Request.h - * tao/corbafwd.h: The changes in these files were done to reflect - the changes that were made in the classes above. They had to be - done keep in sync with the new template class declarations. - - * TAO_IDL/be/be_visitor_sequence/elemtype.cpp - * TAO_IDL/be/be_visitor_sequence/gen_object_manager_ch.cpp - * TAO_IDL/be/be_visitor_sequence/gen_object_manager_ci.cpp - * TAO_IDL/be/be_visitor_sequence/sequence_base.cpp - * TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp - * TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp - * TAO_IDL/be_include/be_visitor_sequence/sequence_base.h: Changes - to the IDL compiler to reflect the above change that was - made. Thanks to Jake Hamby for pointing - out the need for the assignment operator and also in helping us - out with a sample solution. - -Wed Jun 9 21:13:00 1999 Chris Gill - - * examples/Simulator/DOVEMIB/clnt.h: moved CORBA::ORB_var - member declaration first in the class. - -Wed Jun 9 20:16:36 1999 Carlos O'Ryan - - * Started the work on GIOP 1.1, the current version is still - incomplete, but works and has to be tested in more - platforms. The features implemented so far include: - + Requests are issued using version 1.1 or version 1.0, - depending on the version of the profile. - + Acceptors create v 1.1 profiles by default, but can generate - 1.0 profiles if a -ORBendpoint option with an explicit version - is present (like -ORBendpoint iiop://1.0@host:0) - + Replys are sent using the same version that the request - + There is a framework to receive a request (or reply) broken in - multiple fragments. The framework is not specially efficient, - is does not handle fragments with different byte order or - different GIOP versions and is completely untested. TAO does - *not* generate fragments. - + Notice that the tagged components in the profile are *not* - implemented yet. - - * tao/orbconf.h: - Added new macros to control the default GIOP protocol version, - either 1.0 or 1.1 - - * tao/Acceptor_Registry.cpp: - Use the version in the command-line endpoint to initialize the - Acceptor. - - * tao/Environment.h: - Cosmetic fixes - - * tao/GIOP.h: - * tao/GIOP.i: - * tao/GIOP.cpp: - Many changes to support 1.1, including a new class to keep the - state of an incoming message composed by multiple fragments. - - * tao/Server_Request.h: - * tao/GIOP_Server_Request.h: - * tao/GIOP_Server_Request.cpp: - The server request uses the version of the request to determine - the version of the reply. - We don't need to use exceptions in the constructor, saving us - from some really nasty portability problems. - - * tao/Invocation.h: - * tao/Invocation.i: - * tao/Invocation.cpp: - Moved the code to initialize a Request or LocateRequest message - to the transport classes, not only this isolates the use of - TAO_GIOP even further, it is also needed because the transport - class needs to query the version of the Profile to determine the - version of the GIOP message. - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - Added the Service Context List to the ORB core, it lacks an - elegant interface, but at least it can be set and is used. - - * tao/Reply_Dispatcher.h: - * tao/Reply_Dispatcher.cpp: - * tao/Transport_Mux_Strategy.h: - * tao/Transport_Mux_Strategy.cpp: - Changed the interfaces in the the ORB core to use a - TAO_GIOP_Message_State that keeps track of not only the payload, - but of any fragments for the current message, the current amount - of data read on the fragment, etc. - - * tao/Pluggable.h: - * tao/Pluggable.i: - * tao/Pluggable.cpp: - * tao/IIOP_Acceptor.h: - * tao/IIOP_Acceptor.cpp: - * tao/IIOP_Connect.h: - * tao/IIOP_Connect.cpp: - * tao/IIOP_Factory.h: - * tao/IIOP_Factory.cpp: - * tao/IIOP_Profile.h: - * tao/IIOP_Profile.i: - * tao/IIOP_Profile.cpp: - * tao/IIOP_Transport.h: - * tao/IIOP_Transport.cpp: - * tao/UIOP_Acceptor.h: - * tao/UIOP_Acceptor.cpp: - * tao/UIOP_Connect.h: - * tao/UIOP_Connect.cpp: - * tao/UIOP_Factory.h: - * tao/UIOP_Factory.cpp: - * tao/UIOP_Profile.h: - * tao/UIOP_Profile.i: - * tao/UIOP_Profile.cpp: - * tao/UIOP_Transport.h: - * tao/UIOP_Transport.cpp: - All the classes where change to propagate the GIOP version of - the message and the profile used for each request. - - * orbsvcs/tests/Simple_Naming/client.cpp: - Use CORBA::is_nil() to validate object references - - * orbsvcs/ImplRepo_Service/ImplRepo_i.h: - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - Updated to use the new TAO IIOP_Profile constructor - - * utils/catior/catior.cpp: - TAO moved to GIOP 1.1, but this test can only handle GIOP 1.0 - - * utils/nslist/nslist.cpp: - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp: - Fixed use of String_var and managed types must passed using - .in() to ACE_DEBUG() - - * orbsvcs/tests/Trading/Makefile: - * examples/POA/Generic_Servant/Makefile: - Define PSRC so the dependencies for the program files - are also generated. - -Wed Jun 9 17:16:44 1999 Marina Spivak - - * orbsvcs/tests/Simple_Naming/run_test.pl: - Made the output from print statements go to STDERR. - -Wed Jun 9 17:07:49 1999 Carlos O'Ryan - - * tests/NestedUpcall/Reactor/run_test.pl: - Improved test output - - * examples/POA/Generic_Servant/Makefile: - Updated dependencies - -Wed Jun 9 16:58:47 1999 Douglas C. Schmidt - - * orbsvcs/orbsvcs/Trader/Constraint_Visitors.cpp: Added the - explicit template specialization macro, - ACE_TEMPLATE_SPECIALIZATION, to make SunC++ 5.0 happy. Thanks - to Carlos for explaining how to add this. - -Wed Jun 09 16:42:03 1999 David L. Levine - - * orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp (compute_scheduling): - changed type of anomaly_severity_msg from char * to const char - *, to avoid warnings from Sun C++ 5.0 about string literal - conversion. Thanks to Doug for reporting this. Also, removed - and changed a few casts to ANSI-style casts. - -Wed Jun 9 16:26:55 1999 Jeff Parsons - - * tao/Any.cpp: Changed >>= (to_object) to reflect - the change in CORBA 2.3 - namely that the caller is responsible - for release of the result of this call. Thanks to - Doug Anderson for pointing this out. - -Wed Jun 09 16:03:12 1999 Irfan Pyarali - - * examples/POA/Default_Servant/client.cpp - * examples/POA/Forwarding/server.cpp - * examples/POA/On_Demand_Activation/server.cpp - * examples/POA/RootPOA/RootPOA.cpp - * examples/POA/TIE/server.cpp: Simple clean up. Also fixed one - memory leak. - - * tao/default_resource.cpp (init): -ORBReactorType handling and - selection of Reactor was incorrect. Correct behavior is that - "null" should select TAO_REACTOR_SELECT_ST and "token" should - select TAO_REACTOR_SELECT_MT. Thanks to Phil Mesnier - for reporting this bug. - -Wed Jun 9 13:43:18 1999 Douglas C. Schmidt - - * TAO_IDL/fe: Regenerated the y.tab.cpp file with the new BYACC so - that we won't have any more annoying warnings about cons - t - correctness. - - * utils/nslist: Added a new utility program that prints out a - nicely organized list of Naming Contexts in a Naming Service. - Thanks to Thomas Lockhart for - contributing this. - - * TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): Fixed a bug that - was preventing the IDL compiler from putting files in the - current directory. Thanks to Byron Harris for reporting this. - -Tue Jun 08 21:13:36 1999 Irfan Pyarali - - * tao/IIOP_Profile.cpp (set): Removed the use of - TAO_ORB_Core_instance() in this method. The use of this - function was incorrect since each ORB has its own set of orb - parameters and we should only look at our own ORB's parameters. - - * tao/IIOP_Profile: Removed extra and unused constructors - (again). Also, added extra ORB Core argument to remaining - constructors. - - * tao/IIOP_Profile.h (TAO_IIOP_Profile): - * tao/IIOP_Connector.h (TAO_IIOP_Connector): - * tao/IIOP_Acceptor.cpp (TAO_IIOP_Acceptor): - - Added orb core as data member. - - * tao/UIOP_Acceptor.cpp - * tao/UIOP_Acceptor.h - * tao/UIOP_Connector.cpp - * tao/UIOP_Connector.h - * tao/UIOP_Profile.cpp - * tao/UIOP_Profile.h - - Made identical changes to the UIOP side as described above for - IIOP. Note that currently we don't need an ORB Core in the UIOP - Profile. However, changes were still made for the sake of - consistency. - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp (activate_object): Added - ORB Core parameter to IIOP Profile constructor. - -Tue Jun 8 20:32:39 1999 Douglas C. Schmidt - - * tao/ORB_Core.cpp (init): Fixed a minor bug in the processing of - unknown -ORB arguments. - -Tue Jun 8 20:24:39 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Fixed argument parsing, thanks to Nanbor for pointing this out. - -Tue Jun 8 20:19:15 1999 Matthew J Braun - - * tao/Principal.i - * tao/Request.cpp,i: - Fixed inline use before declaration problem. - -Tue Jun 8 19:48:01 1999 Jeff Parsons - - * TAO_IDL/ast/ast_module.cpp: - Added TCKind to the CORBA:: scoped names added to the - symbol table when module CORBA is first added to the - scopes. I noticed that CORBA::TCKind is used as a - return type in the forthcoming Dynamic Any spec and - so it couldn't hurt to add IDL compiler recognition - of it now. - -Tue Jun 8 18:57:00 1999 Balachandran Natarajan - - * examples/POA/Default_Servant/server.cpp - * examples/POA/Default_Servant/client.cpp - * examples/POA/Generic_Servant/MyFooServant.cpp - * examples/POA/Identity/Identity.cpp - * examples/POA/NewPOA/NewPOA.cpp - * examples/POA/On_Demand_Activation/server.cpp - * examples/POA/On_Demand_Loading/Servant_Manager.cpp - * examples/POA/RootPOA/RootPOA.cpp - * TIE/client.cpp - * TIE/server.cpp: Made changes to the way exceptions were being - handled. Some comments were added to make the printout from ACE_PRINT_EXCEPTION - look meaningful. - -Tue Jun 08 18:50:00 1999 Kirthika Parameswaran - - * /orbsvcs/tests/AVStreams/benchmark/svc.conf - * /orbsvcs/tests/AVStreams/benchmark/clnt.conf - * /performance-tests/Thruput/TAO/svc.conf - * /MT_Client/client.conf - * /NestedUpcall/MT_Client_Test/client.conf - * /orbsvcs/tests/ImplRepo/implrepo.conf - * /orbsvcs/tests/Time/implrepo.conf - - Modified these files to remove redundant configuration options. - - * /orbsvcs/tests/AVStreams/mpeg/source/client/svc.conf - * /orbsvcs/tests/AVStreams/mpeg/source/server/svc.conf - * /orbsvcs/tests/ImplRepo/svc.conf - * /tests/Param_Test/svc.conf - * /examples/POA/On_Demand_Loading/svc.conf - * /examples/Simulator/DOVEMIB/svc.conf - * /examples/Simulator/Event_Supplier/svc.conf - * /MT_Client/client.global.conf - - Removed the *.conf files above since they contained only - redundant options. - - * /orbsvcs/Event_Service/svc.conf - * /orbsvcs/tests/Event/Basic/svc.conf - * /orbsvcs/tests/EC_Mcast/svc.conf - * /orbsvcs/CosEvent_Service/svc.conf - * /tests/FL_Cube/svc.conf - * /tests/NestedUpcall/Reactor/svc.conf - * /examples/Simple/time-date/svc.conf - * /examples/POA/Identity/svc.conf - * /performance-tests/Cubit/TAO/IDL_Cubit/collocation/svc.conf - * /performance-tests/Cubit/TAO/IDL_Cubit/svc.conf - * /performance-tests/Cubit/TAO/MT_Cubit/svc.conf - * /performance-tests/POA/Object_Creation_And_Registration/svc.conf - * /POA/Explicit_Activation/alternate.conf - * /Quoter/client.conf - * /Quoter/server.conf - * /MT_Client/client.tss.conf - * /MT_Client/server.conf - * /NestedUpcall/Reactor/svc.mt.conf - * /orbsvcs/tests/Event/Basic/sched.conf - * /orbsvcs/tests/Event/Basic/observer.conf - * /orbsvcs/tests/Event/Performance/ec.mt.conf - * /orbsvcs/tests/Event/Performance/ec.st.conf - * /orbsvcs/tests/EC_Throughput/ec.conf - * /orbsvcs/tests/EC_Throughput/ec.mt.conf - - Retained the *.conf files above as they were originally. - Thanks to Irfan, Nanbor, Naga, Carlos, David of the DOC group for - helping me with this. - -Tue Jun 08 18:17:38 1999 Irfan Pyarali - - * tao/POA.cpp (find_POA): Must release the Object Adapter lock - before calling the Adapter Activators which may call back into - the POA (create_POA) causing a deadlock. Thanks to Carlos for - pointing this out. - - * performance-tests/POA/Object_Creation_And_Registration/svc.conf: - Changed ORBTableSize to ORBActiveObjectMapSize. Also, removed - POA lock null option. - -Tue Jun 8 17:12:24 1999 Vishal Kachroo - - Made the ORB_var to be after all other _var member variables. - - * /orbsvcs/Time_Service/Clerk_i.h - * /orbsvcs/Time_Service/Server_i.h - * /orbsvcs/Time_Service/IR_Helper.h - * /orbsvcs/tests/Time/Client_i.h - - * docs/Options.html : Updated the -ORBInitRef to include the - filetype IOR. - -Tue Jun 08 16:10:09 1999 David L. Levine - - * tao/corbafwd.h: fixed comments that describe the minor code - format. - -Tue Jun 8 16:06:15 1999 Pradeep Gore - - * examples/Event_Comm/Consumer_Handler.h: - * examples/Event_Comm/Notifier_Handler.h: - * examples/Simple/chat/Client_i.h: - * orbsvcs/CosEvent_Service/CosEvent_Service.h: - Reordered the CORBA::ORB_var declaration in these files so that - the ORB_var is destroyed after all the other "_var" members. - -Tue Jun 08 15:47:25 1999 Nanbor Wang - - * tao/Object.i: - * tao/Typecode.i: - * tao/ORB.i: Moved is_nil and release around to avoid inline - functions being used before declared inlined warnings. Thanks - to David for pointing this out. - -Tue Jun 8 15:53:54 1999 Douglas C. Schmidt - - * orbsvcs/LifeCycle_Service/Criteria_Evaluator.cpp - (getCriteriaMember): Fixed a const-correctness problem. Thanks - to Michael Kircher for this. - - * Fixed the capitalization of all options in TAO's svc.conf files. - - * tao/ORB_Core.cpp, - tao/default_resource.cpp, - tao/default_server.cpp, - tao/default_client.cpp: Fixed the parsing of options - so that they are case insensitive, e.g., "-ORBsvcconf" is the - same as "-ORBSvcConf". This allows us to use more intuitive - "intercap" spelling in the documentation without breaking - existing software. - - * tao/ORB_Core.cpp (init): If an non "-ORB" argument is given to - ORB_init() we now print a warning message (if the - TAO_debug_level > 0) and "consume" the argument. This is in - accordance with the CORBA spec. - -Tue Jun 8 15:38:01 1999 Alexander Babu Arulanthu - - * docs/Options.html: - * tao/default_client.cpp (create_transport_mux_strategy): Renamed - the ORBtransportmuxstrategy to ORBRequestMuxStrategy. - -Tue Jun 08 15:12:05 1999 Irfan Pyarali - - * examples/POA/Loader/Servant_Activator.cpp (ServantActivator_i): - Fixed "ANSI C++ forbids casting between pointers to functions - and objects" warning. Thanks to David for pointing this out. - -Tue Jun 8 15:15:09 1999 Jeff Parsons - - * TAO/tests/Param_Test/param_test_i.h: - * TAO/tests/Param_Test/param_test_i.cpp: - * TAO/tests/NestedUpcall/MT_Client_Test/client.h: - Moved class member ORB_var orb_ up the list so - it will get destroyed after other _vars. - - * tao/DynArray_i.h: - * tao/DynArray_i.cpp: - * tao/DynSequence_i.h: - * tao/DynSequence_i.cpp: - * tao/DynStruct_i.h: - * tao/DynStruct_i.cpp: - * tao/DynUnion_i.h: - * tao/DynUnion_i.cpp: - Renamed member 'index_' as 'current_index_' - just to be safe. - - * TAO_IDL/be/be_visitor_root/root.cpp: - Added missing case to function visit_constant(). - Thanks to Sridevi Subramanian - for pointing out this problem. - -Tue Jun 8 15:09:35 1999 Kirthika Parameswaran - - * examples/Callback_Quoter/Consumer_i.h (class Consumer): - * examples/Callback_Quoter/Consumer_Handler.h (class Consumer_Handler): - * examples/Callback_Quoter/Supplier_i.h (class Supplier): - - Moved the CORBA::ORB_var before the other vars in the member - declaration so that it gets destructed last. - -Tue Jun 8 15:03:02 1999 Alexander Babu Arulanthu - - * orbsvcs/tests/Property/client.h: - * orbsvcs/tests/Property/client.cpp: Fixed the SunCC5.0 warnings. - -Tue Jun 08 13:36:36 1999 Nanbor Wang - - * tao/Stub.{h,i} (servant_orb): Added data member servant_orb_ and - its accessor and mutator. This ORB_var stores the pointer of a - collocated servant and is used to locate/query the servant/POA. - -Mon Jun 07 15:47:02 1999 Nanbor Wang - - * docs/Options.html: Documented ORB options -ORBglobalcollocation - and -ORBcollocationStrategy. - - * tao/ORB_Core.{h,i,cpp}: Removed accessor/mutator - using_collocation methods. They have been replaced by - optimize_collocation_objects. Added enum definition for - collocation_strategy and get_collocation_strategy which is an - accessor for ORB's collocation strategy. TAO will support two - strategies THRU_POA and DIRECT which should be self-explaining. - The default strategy will be THRU_POA because it is considered - the safe thing to do. Veteran users might consider using DIRECT - collocation strategy if situation allows. A third strategy - "ORB_CONTROL" is the default value passed to - Servant_Base::_create_collocated_objref. This makes all servant - to query the ORB to decide which collocation strategy to use. - But we can also provide per-object collocation strategy in a - later point of time. - - (init): Added a new option -ORBcollocationstrategy which takes - two possible values "thru_poa" and "direct". The defualt is, of - course, "thru_poa". - - * tao/Servant_Base.{h,cpp} (_create_collocated_objref): Added a - factory method to strategize what collocated object - implementation we want to use and also to decouple the stubs and - skeletons code. - - * tao/Exception.h: Reordered class member functions to put all TAO - extensions at the end of the public section of each class. - Added more comments. - - * tao/Exception.{h,cpp} (_tao_print_exception): Renamed - to _tao_print_exception to avoid clashing with - user defined methods. - (_tao_print_system_exception): Renamed to - _tao_print_system_exception to avoid name clashing. - (_tao_minor_code,_tao_errno): Rename and - to _tao_minor_code and _tao_errno to avoid name - clashing. - - Changed several uses of "new" to ACE_NEW_THROW_EX. - - * tao/POA.cpp: - * tao/Invocation.cpp: - * tao/GIOP.cpp: Changed the use of minor_code_tao_ to - _tao_minor_code. - - * tao/TAO.{h,cpp}: - * tao/GIOP_Server_Request.cpp (marshal): Changed to use ACE_TRY - macros and made sure the code is exception safe. - - * tao/orbconf.h (TAO_NAMESPACE_INLINE_FUNCTION): Inline function - within a namespace must be treated differently. On most - platform, using TAO_NAMESPACE_STORAGE_CLASS would work for - functions within a namespace. However, since the macro uses - TAO_Export, which totally confuses MSVC to think that the - symbols for these functions are to be exported while in fact, - they are only inline functions and do not need any entry point - at all. The newly added macro (TAO_NAMESPACE_INLINE_FUNCTION) - separates out this situation and simply uses the "inline" - keyword. - - * tao/Marshal.h: Added #include "tao/Principal.h" because - Marshal.i uses inline functions in Principal.i. - - * tao/Context.{i,cpp}: - * tao/Environment.{i,cpp}: - * tao/NVList.{i,cpp}: - * tao/ORB.{i,cpp}: - * tao/Object.{i,cpp}: - * tao/Principal.{i,cpp}: - * tao/ValueBase.{i,cpp}: - * tao/Request.{i,cpp}: - * tao/Server_Request.{i,cpp}: - * tao/Typecode.{i,cpp}: - * tao/corbafwd.{i,cpp}: Re-inlined string_alloc, string_free, - is_nil and release methods. - -Tue Jun 08 14:39:55 1999 David L. Levine - - * tao/corbafwd.h,Exception.cpp: added minor code support for - ENOENT, EBADF, EPERM, and EAFNOSUPPORT errno values. - -Tue Jun 08 14:15:52 1999 David L. Levine - - * TAO version 0.3.24 released. - -Tue Jun 08 10:00:12 1999 David L. Levine - - * examples/Simple/time-date/Makefile: added some Time_Date* - files to FILES and LDLIBS to LIBS, to enable creation of the - shlib without warnings on DU 5.0. - -Tue Jun 08 09:42:20 1999 David L. Levine - - * orbsvcs/tests/Simple_Naming/client.cpp (execute): added .ptr () - derference of orb_ before comparing it to 0. - -Tue Jun 08 00:15:44 1999 Irfan Pyarali - - * examples/POA/Loader/Servant_Activator.cpp (ServantActivator_i): - * examples/POA/On_Demand_Loading/Servant_Manager.cpp (obtain_servant): - - Fixed void* to function pointer cast. - -Tue Jun 8 00:19:02 1999 Fred Kuhns - - * Files modified: Acceptor_Registry.cpp, Acceptor_Registry.h, - Connector_Registry.cpp, Connector_Registry.h, IIOP_Acceptor.cpp, - IIOP_Connector.cpp, IIOP_Connector.h, IIOP_Profile.cpp, - IIOP_Profile.h, IIOP_Profile.i, Invocation.cpp, ORB.cpp, - ORB_Core.cpp, Object.cpp, Pluggable.cpp, Pluggable.h, - UIOP_Acceptor.cpp, UIOP_Connector.cpp, UIOP_Profile.cpp, - UIOP_Profile.h, UIOP_Profile.i, UIOP_Transport.h - - * Changed the interface to Connector_Registry. Altered connect() - method to accept profiles rather than a Stub Object pointer. - - * tao/Acceptor_Registry: comments updates - - * tao/IIOP_Acceptor: Comments and fixed is_collocated to use the - cached copy of the local address. - - * tao/IIOP_Connector: comments and fixed use of - profile->addr_to_string - - * tao/IIOP_Profile: Comments, changes add_to_string to accept a - buffer. changed _key () to be _key (void), removed use of body_ - (CDR stream). - - * tao/Invocation: comments and fixed use of - connector_registry->connect () - - * tao/ORB.cpp: comments and fixed use of profile->_key () to not - include ENV. - - * tao/ORB_Core: comments - - * tao/Pluggable: comments and fixed TAO_XX_Profile::addr_to_string () - to include a buffer, alsoc TAO_XX_Profile::_key () to not - include ENV. - - * tao/UIOP_{Acceptor,Connector,Profile,Transport}: comments and - also UIOP_Profile::_key() and UIOP_Profile::addr_to_string. - -Tue Jun 8 00:09:10 1999 Carlos O'Ryan - - * tests/MT_Client/run_test.pl: - The test driver works more reliably now. - - * tests/NestedUpcall/Reactor/client.h: - * tests/NestedUpcall/Reactor/mt_client.h: - Fixed ORB vs. servants order - -Mon Jun 07 23:39:40 1999 Irfan Pyarali - - * tao/Object_Adapter.cpp (Servant_Upcall): The code in the - destructor of POA Current must be run before the Object Adapter - lock is released. With the reorganization Nanbor and I did, this - was no longer true. Therefore, the solution was to move the - code from the destructor to a teardown() method which is run - before the Object Adapter lock is released. - - * tao/IIOP_Connect: Removed the following extra and unused - functions: - - - TAO_IIOP_Server_Connection_Handler::handle_message - - TAO_IIOP_Server_Connection_Handler::handle_locate - - TAO_UIOP_Server_Connection_Handler::handle_message - - TAO_UIOP_Server_Connection_Handler::handle_locate - - * tao/GIOP: Moved the exception handling code from - process_server_message() to process_server_request() and - process_server_locate(). This was necessary since the two - handle exceptions in different ways: process_server_request() - propogates to the client in a GIOP::Reply while - process_server_locate() propogates to the client in a - GIOP::LocateReply. BTW, the credit/blame for this goes to - Carlos. - - * examples/POA/Forwarding/client.cpp (main): Fixed exception - handling. - - * examples/POA/Forwarding/Servant_Locator.cpp (preinvoke): The - forwarding location must be specified when constructing the - ForwardRequest. - - * examples/POA/FindPOA/FindPOA.cpp (main): POA Manager must be - activated before use. - - * tao/TAO.h (TAO_ORB_Manager): Added POA Manager accessor. - - * orbsvcs/ImplRepo_Service/ImplRepo_i.h (AdapterActivator): - * tao/POA.cpp (TAO_Adapter_Activator::unknown_adapter): - - Held on to the POA Manager. If we don't, we'll have to create a - new one and then we'll have to worry about its state (remember - that POA Managers are created in holding state). - - * orbsvcs/ImplRepo_Service/ImplRepo_i: - * orbsvcs/tests/ImplRepo/airplane_server_i.cpp: - - Fixed improper use of return values from the ORB Manager. Since - the ORB Manager duplicates the data members before returning - them, we must store them in vars. - - * orbsvcs/tests/ImplRepo/IR_Helper.cpp (IR_Helper): Since the POA - and ORB are kept as vars, we must duplicate them since keep them - around in the constructor. - -Mon Jun 7 23:49:51 1999 Carlos O'Ryan - - * orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp: - * orbsvcs/examples/CosEC/Factory/FactoryClient.cpp: - Fixed problems with conversion from T_var to T_ptr for g++ 2.7.X - - * orbsvcs/tests/Event/Basic/Observer.cpp: - * orbsvcs/tests/Event/Performance/Connect.cpp: - * orbsvcs/tests/Event/Performance/Throughput.cpp: - More T_var to T_ptr problems and a few unused variables. - -Mon Jun 7 21:57:29 1999 Carlos O'Ryan - - * tao/append.cpp: - * tao/skip.cpp: - The marshaling and demarshaling code for object references - inside anys was broken, it only handled IIOP profiles and used - chars where octets where needed. - - * tao/UIOP_Profile.cpp: - Improve debugging messages and handle errors more gracefully. - - * tests/Param_Test/Makefile: - * tests/Param_Test/server.cpp: - Minor cosmetic fixes - -Mon Jun 7 20:37:27 1999 Carlos O'Ryan - - * orbsvcs/tests/Simple_Naming/client.h: - * orbsvcs/tests/Simple_Naming/client.cpp: The ORB was being - leaked: the TAO_ORB_Manager::orb() method returns a duplicate - and that was not getting released in both the MT_Test - constructor invocation and in the naming_client.init() call. - - * tao/ORB.cpp: The naming service and other object references - should be release *before* releasing the ORB core. - - * tao/ORB_Core.cpp: Made the use of ACE_CString in the ORB_Table - explicit, so we understand what is going on. - -Mon Jun 7 16:13:31 1999 Carlos O'Ryan - - * tao/Exception.h: - * tao/Exception.cpp: - * tao/Invocation.cpp: The system exceptions were not being - demarshaled on the server side. Fixed the signature of - TAO_Exceptions::create_system_exception, it was returning a - CORBA::Exception* but a CORBA::SystemException* was better. - - * tao/IIOP_Acceptor.cpp: - * tao/IIOP_Connector.cpp: Added a few debugging messages if there - is an error. - - * performance-tests/Cubit/TAO/MT_Cubit/cubit_i.h: - * performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.cpp: - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: The - Cubit_i objects were activated with the _default_POA(), but that - was not overriden, hence they were using the - default/_default_POA which is the RootPOA of the default ORB. - There was also an activation under a child POA but that was not - exported through the IORs printed to the file. - -Mon Jun 07 15:14:47 1999 David L. Levine - - * utils/catior/catior.cpp (cat_iiop_profile): added missing read - of port_number from the str. - - * utils/catior/README: updated to mention that there's now a test - subdirectory containing samples, instead of just a single sample - file. - -Mon Jun 7 12:39:14 1999 Douglas C. Schmidt - - * examples/Simple: Fixed const-correctness problems with all the - simple examples. - -Mon Jun 07 11:51:52 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp - (svc,cube_octet,do_test): added timestamps and an errno - printout, for debugging purposes. The errno printout should be - removed later. - -Mon Jun 07 10:43:12 1999 Irfan Pyarali - - * tao/default_resource.cpp (TAO_Allocated_Resources): Moved the - destruction of the Reactor before the destruction of the - allocators. The handlers deleted when the Reactors die access - these allocators. Thanks to Carlos for helping with this. - -Mon Jun 7 01:11:06 1999 Douglas C. Schmidt - - * examples/POA/DSI/client.cpp (main): Corrected an overly - aggresive removal of "const char *". Thanks to David for - reporting this. - - * orbsvcs/orbsvcs/Naming/Naming_Context.h: Added default - CORBA::Environment & = TAO_default_environment() calls. Thanks - to Frank Buschmann for reporting this. - - * orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h, - orbsvcs/orbsvcs/Event/EC_Event_Channel.h: Added default - CORBA::Environment & = TAO_default_environment() calls. Thanks - to J. Russell Noseworthy for - catching this. - -Sun Jun 06 23:17:05 1999 Irfan Pyarali - - * tao/POAC: Changed back to - . We can't rename this since it is - specified in the CORBA spec. Please let us know if this breaks - anything on compilers like MVS C++ and we'll figure out another - workaround. - - * tao/GIOP.cpp (process_server_locate): Initialized to - TAO_GIOP_UNKNOWN_OBJECT. This is a safe initial value and will - prevent the "might be used uninitialized in this function" - warning. - - * orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (init): Fixed the method - such that when we are not looking for an existing Naming Service - and we are simply become one, we don't print extra erroneous - debug messages. Thanks to Gul Onural for - pointing this out. - -Sun Jun 6 22:09:39 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/AV/sfp.cpp: - * orbsvcs/orbsvcs/Trader/Trader.cpp: Fixed duplicate template - instantiations, IRIX does not like that. - -Sun Jun 06 21:42:46 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/orbsvcs.dsp: - * orbsvcs/orbsvcs/orbsvcs_static.dsp: A couple of .idl file where - not re-compiled when the DIL compiler changed, fixed the - dependencies. - -Sun Jun 6 20:25:31 1999 Carlos O'Ryan - - * TAO_IDL/ast/ast_decl.cpp: - * TAO_IDL/ast/ast_expression.cpp: - * TAO_IDL/ast/ast_generator.cpp: - * TAO_IDL/ast/ast_operation.cpp: - * TAO_IDL/be/be_codegen.cpp: - * TAO_IDL/be/be_expression.cpp: - * TAO_IDL/be/be_generator.cpp: - * TAO_IDL/be_include/be_expression.h: - * TAO_IDL/be_include/be_generator.h: - * TAO_IDL/driver/drv_preproc.cpp: - * TAO_IDL/fe/idl.ll: - * TAO_IDL/fe/idl.yy: - * TAO_IDL/fe/lex.yy.cpp: - * TAO_IDL/fe/y.tab.cpp: - * TAO_IDL/fe/y.tab.h: - * TAO_IDL/include/ast_decl.h: - * TAO_IDL/include/ast_expression.h: - * TAO_IDL/include/ast_generator.h: - * TAO_IDL/include/idl_global.h: - * TAO_IDL/include/utl_error.h: - * TAO_IDL/include/utl_string.h: - * TAO_IDL/include/utl_strlist.h: - * TAO_IDL/util/utl_error.cpp: - * TAO_IDL/util/utl_global.cpp: - * TAO_IDL/util/utl_string.cpp: - * TAO_IDL/util/utl_strlist.cpp: Obliterated any references to - 'String' this was just a macro that expanded to the UTL_String - class, but was an endless sort of confusion with just a typedef - for 'char*' Also cleaned up the use of UTL_Strings in the - idl_global interface. This seems to have put the IDL compiler - into usable state again. - -Sun Jun 6 18:55:00 1999 Carlos O'Ryan - - * TAO_IDL/util/utl_global.cpp: Fixed several memory managment - problems - -Sun Jun 6 18:04:05 1999 Carlos O'Ryan - - * TAO_IDL/include/drv_extern.h: - * TAO_IDL/driver/drv_preproc.cpp: More constness fixes - -Sun Jun 6 17:42:41 1999 Carlos O'Ryan - - * TAO_IDL/tao_idl.cpp: Fixed DRV_drive() it is taking a const - char* now - -Sun Jun 6 15:14:13 1999 Douglas C. Schmidt - - * TAO_IDL/fe/keywords.dat: The type of keyword_ in - TAO_IDL_CPP_Keyword_Entry should be const char *. - - * TAO_IDL: Fixed zillions of improper uses of non-const char *'s - that were reported by the new SunC++ 5.0 compiler. Everything - should be "const-correct" now. BTW, whoever wrote the Sun IDL - compiler clearly didn't understand the C++ const rules... - -Sun Jun 6 17:08:57 1999 Carlos O'Ryan - - * tao/GIOP.cpp: More @@ comments addressed. - -Sun Jun 6 16:14:50 1999 Jeff Parsons - - * TAO/performance-tests/Pluggable/PP_Test_Client.h: - * TAO/performance-tests/Pluggable/PP_Test_Client.cpp: Moved member - CORBA::ORB_var orb_ ahead of the other _vars in the - declaration/initialization order. - -Sun Jun 6 15:41:51 1999 Jeff Parsons - - * tao/Any.h: Added comment for Any_var operator= (CORBA::Any_var). - - * tao/Any.cpp: Added checks for failure of memory allocation at - several places in the insertion and extraction operators. - - * tao/Context.h: Added comment to some member functions. - - * tao/Stub.h: Cosmetic changes. - -Sun Jun 6 14:07:24 1999 Jeff Parsons - - * TAO/tests/DynAny_Test/data.h: - * TAO/tests/DynAny_Test/data.cpp: - * TAO/tests/DynAny_Test/driver.h: - * TAO/tests/DynAny_Test/test_dynany.h: - * TAO/tests/DynAny_Test/test_dynany.cpp: - * TAO/tests/DynAny_Test/test_dynarray.h: - * TAO/tests/DynAny_Test/test_dynarray.cpp: - * TAO/tests/DynAny_Test/test_dynenum.h: - * TAO/tests/DynAny_Test/test_dynenum.cpp: - * TAO/tests/DynAny_Test/test_dynsequence.h: - * TAO/tests/DynAny_Test/test_dynsequence.cpp: - * TAO/tests/DynAny_Test/test_dynstruct.h: - * TAO/tests/DynAny_Test/test_dynstruct.cpp: - * TAO/tests/DynAny_Test/test_dynunion.h: - * TAO/tests/DynAny_Test/test_dynunion.cpp: - * TAO/tests/DynAny_Test/test_wrapper.h: - * TAO/tests/DynAny_Test/test_wrapper.cpp: Made CORBA::ORB_var the - first private member (declared and initialized) of any class - where it appears, and also other cosmetic changes. - -Sun Jun 6 14:04:43 1999 Carlos O'Ryan - - * tao/Acceptor_Impl.h: - * tao/Environment.cpp: - * tao/GIOP.cpp: - * tao/Wait_Strategy.cpp: - * tao/GIOP.cpp: Addesses the @@ Carlos comments. - - * tao/IOP.pidl: Completed the IOP module definition - -Sun Jun 6 13:32:25 1999 Douglas C. Schmidt - - * tao/GIOP.cpp: Fixed a typo in read_header. Thanks to Jeff for - reporting this. - - * tao/GIOP.cpp (process_server_message): Fixed what appeared to be - an unbalanced '}' in the TAO_HAS_EXCEPTIONS block. - -Sun Jun 06 12:54:57 1999 David L. Levine - - * orbsvcs/orbsvcs/Trader/Trader.cpp: added - ACE_Equal_To explicit instantiation, - because g++ on LynxOS 3.0.0 needs it. - -Sun Jun 6 11:51:00 1999 Douglas C. Schmidt - - * tao: Continued to make a huge pass through the code to ensure - that TAO conforms to the ACE programming guidelines. - -Sun Jun 06 11:44:56 1999 David L. Levine - - * tao/Messaging_Policy_i.i (TAO_RelativeRoundtripTimeoutPolicy_i): - dereferenced rhs.poa_ with .in () to please old g++. - -Sun Jun 06 09:08:48 1999 David L. Levine - - * PROBLEM-REPORT-FORM: added requests to not send - as attachment, or tar'red, compressed, and/or - uuencoded, or with line lengths >= 80 characters. - -Sun Jun 06 08:19:55 1999 David L. Levine - - * performance-tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: - remove old IOR file, if any, before starting the server. - -Sun Jun 6 02:14:25 1999 Nagarajan Surendran - - * orbsvcs/orbsvcs/AV/sfp.cpp: Fixed a few missing template - instantiations spotted by Sun CC 5.0. Thanks to Carlos for - reporting them. - -Sat Jun 5 23:48:23 1999 Douglas C. Schmidt - - * tao: Replaced all uses of "index" with "slot" since "index" is - defined as a macro by some broken C++ compilers... - -Sun Jun 6 00:23:19 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/AV/sfp.cpp: - Added missing template instantiations - -Sun Jun 6 00:06:26 1999 Carlos O'Ryan - - * orbsvcs/orbsvcs/Sched/Scheduler.h: - * orbsvcs/orbsvcs/Sched/Scheduler.cpp: - * orbsvcs/orbsvcs/Sched/DynSched.h: - * orbsvcs/orbsvcs/Sched/DynSched.cpp: - Replaced "export" with "export_to_file", the first one is a - keyword in ANSI/C++ - -Sat Jun 5 23:06:01 1999 Carlos O'Ryan - - * Sun/CC 5.0 works with TAO now! Partly because we don't use the - same templates than before and partly because we found work - arounds the other SunC++ compiler bugs, e.g., incorrect code - generation for certain types of default constructors. - - * tao/Object_Adapter.h: - * tao/Object_Adapter.i: - * tao/Policy_Manager.h: - * tao/Policy_Manager.i: - Sun/CC was generating buggy code for the compiler-generated - default constructor of TAO_Policy_Current, TAO_POA_Current, - added explicit default constructors and now it is happy. - - * tao/Messaging_Policy_i.h: - * tao/Messaging_Policy_i.i: - The compiler-generated copy constructor was not working, added - an explicit one and now things are happy. - - * tao/DynUnion_i.cpp: - * tao/Sequence.h: - Added the ACE_TEMPLATE_SPECIALIZATION macro - - * tao/Operation_Table.h: - Made the opname_ field a "const char*" instead of just "char*" - to avoid warnings because we assign string literals to that - field. - - * tao/debug.cpp: - * tao/debug.h: - Removed unused variable - - * tao/CDR_Interpreter.cpp: - * tao/DynAnyC.h: - * tao/GIOP.h: - * tao/ObjectIDList.h: - * tao/PolicyC.h: - * tao/Request.h: - * tao/Services.h: - * tao/Stub.cpp: - * tao/corba.h: - Include "Sequence_T.h" directly from Sequence.h, is the ACE way - and it is easier to use. - -Sat Jun 5 20:09:51 1999 Carlos O'Ryan - - * tao/ORB_Core.cpp: - Removed unused variable - - * tao/GIOP.cpp: - Changed ACE_THROW for ACE_TRY_THROW, we want the exception - catched in the enclosing TRY/CATCH clause. - - * examples/OBV/Simple_util.h: - * orbsvcs/examples/CosEC/Factory/FactoryDriver.h: - Fixed order of declaration between ORB_var and other objects, - the ORB must be the last object destroyed. - -Sat Jun 05 19:00:18 1999 David L. Levine - - * tao/corbafwd.h: changed value of TAO_UNKNOWN_MINOR_CODE - from 0xFF to 0xF because it's only 4 bits wide. - -Sat Jun 5 18:04:00 1999 Carlos O'Ryan - - * tao/PollableS_T.i: - Removed more calls to TAO_ORB_Core_instance() - -Sat Jun 5 17:49:08 1999 Carlos O'Ryan - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - Fixed problem on shutdown: some objects where still around even - though the ORB was destroyed. - -Sat Jun 5 16:46:16 1999 Nanbor Wang - - * tao/Object_Adapter.cpp (~Servant_Upcall): Added missing - case INITIAL_STAGE to keep compiler happy although it is not - used anywhere. - -Sat Jun 05 16:23:12 1999 David L. Levine - - * tao/corbafwd.h,Exception.cpp: added TAO_EPIPE_MINOR_CODE, - TAO_ECONNREFUSED_MINOR_CODE, and TAO_UNSPECIFIED_MINOR_CODE, - and TAO_INVOCATION_RECV_REQUEST_MINOR_CODE. - - * tao/Invocation.cpp (invoke_i): set - TAO_INVOCATION_RECV_REQUEST_MINOR_CODE if proper reply is - not received. - -Sat Jun 5 15:27:24 1999 Alexander Babu Arulanthu - - * tao/ORB_Core.cpp: Put an ACE_UNUSED_ARG around at Line 1069 to - remove warning in Linux egcs. - -Sat Jun 5 12:58:00 1999 Carlos O'Ryan - - * tao/CDR.h: - * tao/GIOP.cpp: - * tao/GIOP.h: - * tao/IIOP_Connect.cpp: - * tao/IIOP_Connect.h: - * tao/IIOP_Transport.cpp: - * tao/UIOP_Connect.cpp: - * tao/UIOP_Connect.h: - * tao/UIOP_Transport.cpp: - Removed several memory allocations from the critical path, they - were introduced in the flurry of changes to support asynch - messaging and pluggable protocols. - - * tao/MessagingS_T.cpp: - * tao/DomainS_T.i: - Removed several uses of TAO_ORB_Core_instance() - -Sat Jun 05 06:15:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.cpp - orbsvcs/orbsvcs/RtecScheduler.idl: added locking guards to - public methods, refactored some of them to allow sharing of - lock-less private methods between public methods, added - SYNCHRONIZATION_FAILURE user exception to module RtecScheduler. - -Sat Jun 5 03:54:27 1999 Nanbor Wang - - * tao/Object_Adapter.{h,i,cpp}: Extracted the steps needed to - making an upcall from dispatch_servant and dispatch_servant_i - into a new class Servant_Upcall. For collocated operation - invocation to be "safe," we need to query the POA for every - invocation, locate the servant, create and setup the POA_Current - object, bump up the servant reference count, and make sure the - upcall conform with POA's threading policy. The Servant_Upcall - class gathers the information needed to make an upcall and makes - sure all the locks are held/release at appropriate time. With - this class, we can change how an upcall is actually made without - repeatedly puting these logic everywhere. - - The new dispatch_servant now uses the class. dispatch_servant_i - is no longer needed. Also gone are Single_Threaded_POA_Lock and - Outstanding_Request because they are only used in the original - dispatch_servant_i. - - The Servant_Upcall class'es implementation is exception safe - regardless a platform supports native C++ exception or not. - With this class, we can fix the collocated object's behave so - that they obey the POA's state and policies without bloating the - generated code. - - * tao/POA.{h,i,cpp}: Moved TAO_POA_Current_Impl to - Object_Adapter.* to avoid circular dependency. - -Fri Jun 4 23:48:41 1999 Carlos O'Ryan - - * tao/ORB_Core.h: - * tao/ORB_Core.i: - * tao/ORB_Core.cpp: - The ORB core holds Codeset translators between the native char - and ISO88659 and between the native wchar codeset and UNICODE. - This is not a complete implementation but should be enough to - get platforms that do not have ISO8859 as their native set - working (such as MVS). - Many thanks to Jim Rogers for his - cooperation on this task. - The acceptor registry is initialized on demand, not on the class - construction. - Removed methods to set the protocol factories, acceptor registry - and connector registry, this objects do not change after - initialization. - - * tao/GIOP.cpp: - * tao/ORB.cpp: - * tao/Invocation.cpp: - The OutputCDR are initialized with the right codeset - translators. - - * tao/Exception.h: - * tao/Exception.cpp: - On MVS generate the typecodes using the translator to ISO8859, - that way the buffers are all in that codeset (including the - hardcoded buffers in the Typecode_Constants.cpp file). - Many thanks to Jim Rogers for his - cooperation on this task. - - * tao/CDR.h: - * tao/CDR.i: - * tao/CDR.cpp: - Added support for code set translators, they are either provided - as a parameter (for the OutputCDR streams) or obtained from the - ORB_Core. Needs some cleanup, but the basics are there. - - * tao/Typecode_Constants.cpp: - Re-generated the typecodes for CORBA::Object, - CORBA::TypeCode::BadKind and CORBA::TypeCode::Bounds. I used the - IDL compiler this time to obtain a consistent and platform - independent mapping. - - * tao/Transport_Mux_Strategy.h: - * tao/Transport_Mux_Strategy.cpp: - Removed uneeded lock - - * tao/Wait_Strategy.h: - Removed uneeded #include - - * tao/IIOP_Profile.cpp: - * tao/UIOP_Profile.cpp: - Removed unused statement - - * tao/default_resource.h: - The acceptor registry and connector registry instances where - left in the class by accident. - - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp: - * performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp: - Some improvements to the propagation of exceptions, but it needs - a major rework. - - * tao/Object_Adapter.cpp: - The compiler (egcs) was complaining about a switch() over an - enum but not using all the values, the code was OK, because not - all the values are reached. added a default case to shut it up. - -Fri Jun 04 19:47:30 1999 Irfan Pyarali - - * tao/ORB_Core.cpp - * tao/ORB_Core.h - * tao/ORB_Core.i - * tao/Resource_Factory.cpp - * tao/Resource_Factory.h - * tao/default_resource.cpp - * tao/default_resource.h - - The following changes are related to the rearchitecture of - resource management inside the ORB: - - - Moved the object adapter, root POA, and the thread manager - from the default resources to the ORB Core. - - - Removed the root POA and thread manager set methods. - -Fri Jun 4 18:57:02 1999 Jeff Parsons - - * TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp: Removed incorrect - error output from a couple of default switch cases. Thanks to - Robert Flanders for pointing out the problem - and to Carlos for his help with the fix. - -Fri Jun 04 17:30:00 1999 Chris Gill - - * orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.{cpp, h}: completed - most of the reconfigurable scheduler implementation. - - * performance-tests/Cubit/TAO/IDL_Cubit/client.dsp - performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp - performance-tests/Cubit/TAO/IDL_Cubit/server.dsp: added - relative paths to projects. - -Fri Jun 04 16:11:30 1999 Nanbor Wang - - * tao/Context.{i,cpp}: - * tao/Environment.{i,cpp}: - * tao/NVList.{i,cpp}: - * tao/ORB.{i,cpp}: - * tao/Object.{i,cpp}: - * tao/Principal.{i,cpp}: - * tao/ValueBase.{i,cpp}: - * tao/Request.{i,cpp}: - * tao/Server_Request.{i,cpp}: - * tao/Typecode.{i,cpp}: - * tao/corbafwd.{i,cpp}: Unlined a bunch of methods in CORBA - namespace to avoid duplicate definitions on platforms with - namespace support. - -Fri Jun 04 15:25:38 1999 Irfan Pyarali - - * TAO_IDL/be/be_visitor_interface/tie_si.cpp (visit_interface): - Fixed the generated code for _default_POA() for the tie classes. - If is nil, simply delegate to the base class. Thanks to - Carlos for helping with this. - -Fri Jun 4 14:40:48 1999 Carlos O'Ryan - - * tao/ORB.cpp: - * tao/ORB_Core.cpp: - Added debugging messages to keep track of ORB creation and - destruction (only at debug level >= 3) - The ORB_Table singleton will destroy all ORBs that are still on - the table at process shutdown. - The TAO_ORB_Core_instance() will return the first ORB on the ORB - table, only if the table is empty it will create one. - - * tests/Param_Test/server.h: - * tests/Param_Test/param_test_i.h: - * tests/Param_Test/param_test_i.cpp: - It was using ORB_Core_instance() to shutdown the ORB, we keep an - ORB pointer around to do the right thing. - - * utils/catior/catior.cpp: - Added support for TAO's Unix domain sockets. - -Fri Jun 4 13:35:29 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp: - Finally was able to remove the last use of - CORBA_Any::replace() to set the return value of the - request to get the Cubit object from the factory. - We are now using the preferred - 'req->return_value() >>=' construction. - -Fri Jun 4 13:04:45 1999 Jeff Parsons - - * TAO_IDL/util/utl_global.cpp: - Since the one 'official' IDL file that gave us - problems has been fixed, the default behavior of - the IDL compiler for case-only spelling differences - in identifiers sharing the same scope has been - reverted to error output, as the spec requires. - -Fri Jun 4 12:01:34 1999 Vishal Kachroo - - * tao/GIOP.cpp (process_server_locate): Added the INS - functionality for lookup of "simple" object keys when the - incoming request is a GIOP LocateRequest message. This - was previously possible only for GIOP Request messages. - -Fri Jun 04 11:37:33 1999 Irfan Pyarali - - * examples/Simple/Simple_util (class Client): Reordered the ORB - and the var instance declaration in the header file. - Previously, the ORB was getting destroyed before the var was - destroyed. This was causing a free memory read when the var was - cleaned up. By reordering, the ORB gets destroyed after the - var, and hence there is no problem anymore. Thanks to Shaun - Ohagan for pointing out this problem. - - Also, fixed the options parsing with respect to reporting - problems and helping the user (-? option was changed to -h). - -Fri Jun 4 11:03:05 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp: - Fixed broken test code in cube_union_dii(). - -Fri Jun 4 00:32:04 1999 Alexander Babu Arulanthu - - * tao/Client_Strategy_Factory.cpp: - * tao/Client_Strategy_Factory.h: - * tao/IIOP_Transport.cpp: - * tao/Makefile: - * tao/Pluggable.cpp: - * tao/Pluggable.h: - * tao/Request_Mux_Strategy.cpp: - * tao/Request_Mux_Strategy.h: - * tao/UIOP_Transport.cpp: - * tao/Wait_Strategy.h: - * tao/default_client.cpp: - * tao/default_client.h: - * tao/Transport_Mux_Strategy.h: - * tao/Transport_Mux_Strategy.cpp: - * tao/TAO.dsp - * tao/TAO_Static.dsp - - The Mux strategies are over the Transport objects. So naming them - as Transport_Mux is more appropriate than Request_Mux. - Thanks Carlos! - -Thu Jun 3 23:27:27 1999 Carlos O'Ryan - - * tao/UIOP_Connector.cpp: - We forgot the UIOP connector when changing the Connector_Lock - allocation. - -Thu Jun 3 21:50:45 1999 Douglas C. Schmidt - - * utils/catior/catior.cpp (catior): Fixed a byte-ordering problem - that caused the catior utility to incorrectly decode little - endian IOR's. Thanks to Jeff D. Hopper - for reporting this. - -Thu Jun 03 21:03:42 1999 Irfan Pyarali - - * tao/Pluggable.h: - * tao/Pluggable.cpp: - * tao/UIOP_Connect.cpp: - * tao/UIOP_Transport.h: - * tao/UIOP_Transport.cpp: - * tao/IIOP_Transport.h: - * tao/IIOP_Transport.cpp: - * tao/IIOP_Connect.cpp: - * tao/Wait_Strategy.h: - * tao/Wait_Strategy.cpp: - - Cleaned up the connection managment: there is no need to inform - the transport when the reactor invokes handle_close(). The - Transport class is always the one that closes the connection. - Still the Wait_Strategy needs to know to wake up any threads - that are waiting on the transport. Right now we don't send any - messages to the Wait_Strategy if the connection is closed during - a write (i.e. while sending a message), but in the future we may - need to do so. - - Also, fixed crashes and infinite loops on the event of a write() - failure. The system was not informing the - Cached_Connect_Strategy that the transport was not useful - anymore, and sometimes the same transport was attempted again, - if it wasn't closed then we went into an infinite loop; if it - was closed then we crashed. - - Thanks to Kristopher Johnson for - pointing out the above problem. - - * tao/GIOP: Cleaned up the implementation of - TAO_GIOP::process_server_message(), checking that it handles all - the errors conditions correctly and removing some error - conditions that just could not happen. Also converted C++ - exceptions into CORBA::UNKNOWN Make sure that send_message - returns -1 if there is an error. Made several functions return - void because they raise exceptions instead of returning errors - (and they shouldn't do both). - - Also, removed unused values for the Message_Type enum, they wre - TAO extensions that nobody used anymore. In addition, removed - the TAO_GIOP::message_name() function, nobody was using it - - * tao/corbafwd.h: - * tao/Exception.cpp: - Added new exception minor code for the C++ to CORBA::UNKNOWN - - * tao/ORB_Core.cpp: - Fixed the POA_Current object that was being leaked. - - * tao/default_resource.cpp: - * tao/Acceptor_Registry.cpp: - * tao/Connector_Registry.cpp: - Removed memory leaks in the pluggable protocol framework - - * tao/Servant_Base.cpp (TAO_Local_ServantBase::_create_stub): - Reverted the code back to using TAO_ORB_Core_instance instead of - trying to get the default POA. The unfortunate part is that - calling default_POA() requires the creation of a local stub, - hence causing a infinite loop. It is ok to use - TAO_ORB_Core_instance here since the locality constrained - servant does not really register with a POA or get exported - remotely. - - * tao/Resource_Factory.h: - * tao/Resource_Factory.cpp: - * tao/default_resource.cpp: - * tao/IIOP_Connector.cpp (open): Created and passed in the - TAO_Cached_Connector_Lock explicitly. This will allow us to - avoid calling TAO_ORB_Core_instance() in the constructor of - TAO_Cached_Connector_Lock. - -Thu Jun 3 16:42:59 1999 Vishal Kachroo - - * Cleaned up the TAO/performance-tests/Demux directory. - The tests are in TAO/performance-tests/POA/Demux. - -Thu Jun 3 16:30:46 1999 Alexander Babu Arulanthu - - * tao/GIOP.h: - * tao/GIOP.cpp: - - * tao/Invocation.cpp - * tao/Invocation.h: - - Moved the request/locate request header writing code from - Invocation class to GIOP class. - -Thu Jun 3 16:17:48 1999 Jeff Parsons - - * TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp: - Removed the member environment variable and replaced - it with ACE_TRY_ENV. - -Thu Jun 03 15:46:11 1999 Carlos O'Ryan - - * tao/Exception.cpp: - MSVC 5.0 has some problems defining variables inside a - namespace, a fully qualified name does not work, it *must* be - done inside the namespace. We were not doing that for the _tc_* - variables for the system exceptions. - -Thu Jun 3 15:16:04 1999 Carlos O'Ryan - - * tao/corbafwd.h: - * tao/corbafwd.i: - * tao/ORB_Core.cpp: - Some compilers get extremely confused with - CORBA::default_environment() as a default parameter. But they - are happy with a function outside the CORBA namespace, for - example: TAO_default_environment - We added the function above and made the - CORBA::default_environment() just a thin wrapper. - - * TAO_IDL/be/be_interface.cpp: - * TAO_IDL/be/be_visitor_interface/interface_ch.cpp: - * TAO_IDL/be/be_visitor_interface/interface_sh.cpp: - * TAO_IDL/be/be_visitor_interface/tie_sh.cpp: - * TAO_IDL/be/be_visitor_operation/arglist.cpp: - * TAO_IDL/be/be_visitor_operation/operation_sh.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp: - * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp: - The IDL compiler generates TAO_default_environment now. - - * tao/Any.h: - * tao/CDR.h: - * tao/CDR_Interpreter.h: - * tao/Context.h: - * tao/CurrentC.h: - * tao/DomainC.h: - * tao/Exception.h: - * tao/Forwarding_Servant.h: - * tao/GIOP.h: - * tao/GIOP.cpp: - * tao/GIOP_Server_Request.h: - * tao/IIOP_Connect.h: - * tao/Invocation.h: - * tao/Marshal.h: - * tao/Messaging_Policy_i.h: - * tao/NVList.h: - * tao/ORB.cpp: - * tao/ORB.h: - * tao/ORB_Core.h: - * tao/Object.h: - * tao/POA.h: - * tao/POAC.h: - * tao/POAManager.h: - * tao/POAS.h: - * tao/POA_CORBA.h: - * tao/PolicyC.h: - * tao/Policy_Manager.h: - * tao/PollableC.h: - * tao/Request.h: - * tao/Sequence.h: - * tao/Sequence_T.h: - * tao/Servant_Base.h: - * tao/Server_Request.h: - * tao/Stub.h: - * tao/TAO.h: - * tao/Typecode.h: - * tao/UIOP_Connect.h: - * tao/varout.h: - * orbsvcs/CosEvent_Service/CosEvent_Service.h: - * orbsvcs/Time_Service/IR_Helper.h: - * orbsvcs/orbsvcs/Event/EC_Command.cpp: - * orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h: - * orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: - * performance-tests/Cubit/TAO/DII_Cubit/client.cpp: - Replaced all uses of CORBA::default_environment() with - TAO_default_environment() - -Thu Jun 03 14:54:23 1999 Irfan Pyarali - - * tao/poa_T.*: Removed unused files. - - * tao/Reply_Dispatcher: Fixed incorrect inclusion of the - Reply_Dispatcher.i file. - - * tao/GIOP.cpp (process_server_message): Fixed use of . - -Thu Jun 03 13:30:30 1999 Carlos O'Ryan - - * tao/GIOP.cpp: - Fixed typo in exception handling code - - * tao/GIOP_Server_Request.h: - Added missing #include, or at least it seems like MSVC needs - it. - -Thu Jun 3 13:20:09 1999 Carlos O'Ryan - - * tao/GIOP.h: - * tao/GIOP.cpp: - * tao/GIOP_Server_Request.h: - * tao/GIOP_Server_Request.i: - * tao/GIOP_Server_Request.cpp: - * tao/IIOP_Connect.h: - * tao/IIOP_Connect.cpp: - * tao/IIOP_Profile.cpp: - * tao/IIOP_Transport.cpp: - * tao/IIOP_Transport.h: - * tao/Invocation.h: - * tao/Invocation.i: - * tao/Invocation.cpp: - * tao/Pluggable.h: - * tao/Pluggable.cpp: - * tao/Wait_Strategy.h: - * tao/Wait_Strategy.cpp: - * tao/Reply_Dispatcher.h: - * tao/Reply_Dispatcher.i: - * tao/Reply_Dispatcher.cpp: - * tao/Request_Mux_Strategy.h: - * tao/Request_Mux_Strategy.cpp: - * tao/UIOP_Connect.h: - * tao/UIOP_Connect.cpp: - * tao/UIOP_Transport.h: - * tao/UIOP_Transport.cpp: - Moved all the GIOP code into GIOP.cpp, i.e. the Invocation, - Transport and Connect classes do not parse headers or read any - data, it is all controlled by the GIOP module. - This also saved some code because the UIOP and IIOP protocols - can share the implementation in GIOP.cpp - Improve the interface between the Reply_Dispatcher, the - Request_Muxers and the transport objects. - Removed a bunch of methods that were not used anymore, like - suspend_* and resume_* - In short: we continue the process of integrating pluggable - protocols and the first phase of messaging. - - * tests/MT_Client/test_i.cpp: - Call shutdown() with the default parameter, otherwise it dies a - horrible death. - -Thu Jun 3 13:17:50 1999 Carlos O'Ryan - - * tao/varout.h: - * tao/Sequence_T.h: - Work around egcs problems with default parameters in templates - and namespaces. Who would ever use that ;-) - - * tao/Exception.cpp: - Fixed problem with VMCID identification in debugging code. - -Tue Jun 01 23:48:33 1999 Irfan Pyarali - - * tao/corbafwd.h (CORBA): Changed CORBA from a class to a - namespace on platforms that support namespaces. Thanks to Joerg - Pommnitz for pointing out this - problem. - - Files that required changes: - - - Exception.cpp - - PolicyC.cpp - - Typecode_Constants.cpp - - corbafwd.cpp - - corbafwd.h - - corbafwd.i - - * tao/ORB.h (CORBA_ORB): Removed the . This was - non-standard and not needed since you can always get to the - default ORB through ORB_init (0,0,0). - - * tao/ORB_Core.cpp (TAO_ORB_Core_instance): Redone because of the - above change to . This method is somewhat - slower now, but should not be used very often. - - * tao/Servant_Base.cpp (TAO_Local_ServantBase::_create_stub, - TAO_DynamicImplementation::_create_stub, and - TAO_ServantBase::_create_stub): Changed implementation such that - it does not use TAO_ORB_Core_instance() and made sure that the - correct ORB is used in creating the stub. - - Also improved the exception handling. - - * tao/POAC.cpp: IDL compiler generated code uses istub->orb_core() - instead of TAO_ORB_Core_instance(). - -Thu Jun 3 09:16:38 1999 Carlos O'Ryan - - * tests/NestedUpcall/MT_Client_Test/client.cpp: - Fixed silly problems with exception handling - -Wed Jun 2 18:53:15 1999 Carlos O'Ryan - - * tao/Pluggable.h: - * tao/Pluggable.cpp: - * tao/Wait_Strategy.h: - * tao/Wait_Strategy.cpp: - * tao/Invocation.cpp: - * tao/IIOP_Transport.h: - * tao/IIOP_Transport.cpp: - * tao/IIOP_Connect.h: - * tao/IIOP_Connect.cpp: - * tao/UIOP_Transport.h: - * tao/UIOP_Transport.cpp: - * tao/UIOP_Connect.h: - * tao/UIOP_Connect.cpp: - Removed several unused functions - The send_error() method was assuming that request_id==0 was an - impossible, that is wrong. - - * tests/NestedUpcall/Reactor/client.cpp: - * tests/NestedUpcall/MT_Client_Test/client.cpp: - The POA state was not changed, so the test was failing. - -Wed Jun 02 17:36:14 1999 Carlos O'Ryan - - * tao/TAO.dsp: - * tao/TAO_Static.dsp: - Changed the Connect.{h,i,cpp} files for IIOP_Connect.{h,i,cpp} - -Wed Jun 2 17:35:12 1999 Carlos O'Ryan - - * tao/corbafwd.h: - Added new locations for the TRANSIENT exceptions raised in the - POA - - * tao/POA.cpp: - Added location info in the TRANSIENT exceptions raised here. - - * tao/Exception.cpp: - Added code to handle non-TAO minor codes. - Added the strings for the new minor code locations - - * TAO_IDL/include/fe_extern.h: - Several functions where declared extern "C" but where actually - regular C++ functions, this was causing problems on MVS. Thanks - to Jim Rogers for these MVS patches. - - * TAO_IDL/driver/drv_preproc.cpp: - Pass the "-+" argument to the preprocessor under MVS, otherwise - it does not recognize .cc files as C++. - - * TAO_IDL/driver/drv_args.cpp: - Work around a problem in the access() function for MVS. - - * tao/DynAnyS.cpp: - One of the constructors was not using the ACE_NESTED_CLASS() - macro, generating problems under MVS. - - * TAO_IDL/ast/ast_module.cpp: - Generate only a warning if a module is reopened on platforms - without namespaces. It is possible that the user is - cross-compiling the code. Thanks to Byron Harris - for pointing this out. - -Wed Jun 2 17:27:43 1999 Carlos O'Ryan - - * tao/Connect.cpp: - * tao/Connect.h: - * tao/Connect.i: - * tao/IIOP_Connect.cpp: - * tao/IIOP_Connect.h: - * tao/IIOP_Connect.i: - Renamed Connect.{h,i,cpp} to IIOP_Connect.{h,i,cpp} - - * tao/IIOP_Acceptor.cpp: - * tao/IIOP_Acceptor.h: - * tao/IIOP_Connector.h: - * tao/IIOP_Profile.cpp: - * tao/IIOP_Transport.cpp: - * tao/IIOP_Transport.h: - Updated to include "tao/IIOP_Connect.h" - - * tao/params.h: - Removed unused forward declaration of - TAO_Server_Connection_Handler - - * examples/Simple/time-date/Time_Date.h: - Added missing header file - - * examples/Simple/time-date/Time_Date.cpp: - Added missing template instantiations - - * */Makefile: - Updated dependencies - -Wed Jun 2 17:14:33 1999 Alexander Babu Arulanthu - - * tests/NestedUpcall/Reactor/README: - Updated the README. Removed the -f option. - -Wed Jun 02 15:17:24 1999 - - * tests/NestedUpcall/Reactor/NestedUpcall.dsw - * tests/NestedUpcall/Reactor/mt-client.dsp - - * tests/MT_Client/simple_client.dsp - * tests/MT_Client/MT_Client.dsw - * tests/MT_Client/server.dsp - - Projec files for the new simple client and mt-client test. - -Wed Jun 2 14:49:36 1999 Vishal Kachroo - - * tao/ORB.cpp (resolve_initial_references): Raised a - CORBA::ORB::InvalidName exception if the ORB is unable - to find the service name in the ORB IOR tables or among - the hard-coded service names. - -Wed Jun 2 13:18:38 1999 Carlos O'Ryan - - * tao/Resource_Factory.h: - * tao/Server_Strategy_Factory.h: - * tao/Client_Strategy_Factory.h: - * tao/Client_Strategy_Factory.cpp: - * tao/default_client.cpp: - * tao/default_client.h: - * tao/default_resource.cpp: - * tao/default_resource.h: - * tao/default_server.h: - * tao/params.h: - * tao/Invocation.cpp: - * tao/ORB.cpp: - * tao/ORB_Core.h: - * tao/ORB_Core.cpp: - * tao/Object.cpp: - * tao/Wait_Strategy.cpp: - * tao/Connect.h: - * tao/Connect.cpp: - * tao/IIOP_Connector.h: - * tao/IIOP_Connector.cpp: - * tao/IIOP_Profile.h: - * tao/IIOP_Profile.i: - * tao/IIOP_Transport.h: - * tao/IIOP_Transport.cpp: - * tao/UIOP_Connect.cpp: - * tao/UIOP_Connect.h: - * tao/UIOP_Connector.cpp: - * tao/UIOP_Connector.h: - * tao/UIOP_Transport.cpp: - * tao/UIOP_Transport.h: - Removed several uses g(or abuses?) of TAO_ORB_Core_instance() - The Client_Strategy_Factory does not create the IIOP - Client_Connection_Handlers anymore, it only creates the - Wait_Strategy and its friends. This was the last thorn in the - PP framework (which could use some polishing, but nothing big). - Renamed the TAO_Client_Connection_Handler to - TAO_IIOP_Client_Connection_Handler, this is more consistent with - the UIOP protocol (and puts the class in its right place). - Removed several #includes from header files to minimize - cross-dependencies and optimize (re)compilation time - - * orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: - * orbsvcs/Time_Service/IR_Helper.cpp: - * orbsvcs/orbsvcs/AV/sfp.cpp: - * orbsvcs/orbsvcs/AV/sfp.h: - * orbsvcs/orbsvcs/Log/Logger_i.cpp: - * orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp: - * orbsvcs/tests/ImplRepo/IR_Helper.cpp: - * orbsvcs/tests/Simple_Naming/client.h: - * orbsvcs/tests/Trading/Offer_Exporter.cpp: - * tests/NestedUpcall/MT_Client_Test/local_server.h: - Some internal header files are not visible in TAO anymore, this - means that some ace header files are not visible either. I - added them to the few files that actually required those - #include's - - * */Makefile: - Updated dependencies - - * tao/ORB_Strategies_T.cpp: - * tao/ORB_Strategies_T.h: - * tao/ORB_Strategies_T.i: - Removed this files are not used anymore. - - * tao/Any.cpp: - Minor cosmetic fixes - -Wed Jun 2 10:51:48 1999 Jeff Parsons - - * tao/Stub.cpp: - Removed an "optimization" I had made to DII the other - day (it was broken). I suspected it might be too - good to be true. - - * TAO/tests/DynAny_Test/da_tests.idl: - * TAO/tests/DynAny_Test/test_dynunion.cpp: - Put the typecode member back into the union in the - IDL file, now that that stuff works, and modified the - test to check that member. diff --git a/TAO/LICENSE.sun b/TAO/LICENSE.sun deleted file mode 100644 index 8bb53b36807..00000000000 --- a/TAO/LICENSE.sun +++ /dev/null @@ -1,64 +0,0 @@ -This notice applies to all files in this software distribution that -were originally derived from SunSoft IIOP code (these files contain -Sun Microsystems copyright notices). - -COPYRIGHT AND LICENSING ------------------------ - -Copyright 1995 Sun Microsystems, Inc. -Printed in the United States of America. -All Rights Reserved. - -This software product (LICENSED PRODUCT), implementing the Object Management -Group's "Internet Inter-ORB Protocol", is protected by copyright and is -distributed under the following license restricting its use. Portions of -LICENSED PRODUCT may be protected by one or more U.S. or foreign patents, or -pending applications. - -LICENSED PRODUCT is made available for your use provided that you include -this license and copyright notice on all media and documentation and the -software program in which this product is incorporated in whole or part. - -You may copy, modify, distribute, or sublicense the LICENCED PRODUCT without -charge as part of a product or software program developed by you, so long as -you preserve the functionality of interoperating with the Object Management -Group's "Internet Inter-ORB Protocol" version one. However, any uses other -than the foregoing uses shall require the express written consent of Sun -Microsystems, Inc. - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of the LICENSED PRODUCT as permitted herein. - -This license is effective until terminated by Sun for failure to comply with -this license. Upon termination, you shall destroy or return all code and -documentation for the LICENSED PRODUCT. - -LICENSED PRODUCT IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING -THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF DEALING, USAGE OR -TRADE PRACTICE. - -LICENSED PRODUCT IS PROVIDED WITH NO SUPPORT AND WITHOUT ANY OBLIGATION ON -THE PART OF SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES TO ASSIST IN ITS -USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -LICENSED PRODUCT OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to restrictions -as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and -Computer Software clause at DFARS 252.227-7013 and FAR 52.227-19. - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems and the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - diff --git a/TAO/Makefile b/TAO/Makefile deleted file mode 100644 index 9af9addbdc7..00000000000 --- a/TAO/Makefile +++ /dev/null @@ -1,108 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the TAO -#---------------------------------------------------------------------------- - -#### The "release" targets can be used to create the ACE+TAO kit. By -#### default, it creates a new beta release. To create a new minor or -#### major release, add "REL=minor" or "REL=major", respectively, to -#### the make invocation. -#### -#### To see what make release would do without actually doing it, add -#### "CHECK=-n" to the invocation. - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -INFO = README \ - VERSION - -DIRS = tao \ - TAO_IDL \ - orbsvcs \ - examples \ - performance-tests \ - tests \ - utils - -CLONE = Makefile \ - tao \ - TAO_IDL \ - orbsvcs \ - examples \ - performance-tests \ - tests \ - utils - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU - -# For the following to work you need to compile the -# $(ACE_ROOT)/bin/clone.cpp file and install it in your ~/bin -# directory (or some place similar). - -.PHONY: clone -clone: - @for dir in $(CLONE) ;\ - do \ - (clone -s $(ACE_ROOT)/$$dir $$dir) \ - done - -CONTROLLED_FILES = ChangeLog \ - TAO-INSTALL.html \ - TAO-inheritance.pdf.gz \ - TAO-inheritance.ps.gz \ - TAOACE.dsw \ - COPYING \ - COPYING.sun \ - release.chk \ - rules.tao.GNU \ - taoconfig.mk \ - docs \ - LICENSE.sun \ - Makefile \ - PROBLEM-REPORT-FORM \ - README \ - README.sun \ - tao \ - TAO_IDL \ - orbsvcs \ - examples \ - performance-tests \ - tests \ - utils \ - VERSION - -RELEASE_FILES = $(addprefix TAO/,$(CONTROLLED_FILES)) \ - TAO/INSTALL \ - TAO/orbsvcs/README - -.PHONY: INSTALL -INSTALL: TAO-INSTALL.html - @lynx -dump $^ > $@; chmod a+r $@ - -orbsvcs/README: docs/orbsvcs.html - @lynx -dump $^ > $@; chmod a+r $@ - -.PHONY: release - -REL = beta -CHECK = - -#### The call to make_release below doesn't actually create the kit. -#### If creating a release in /project/adaptive/ACE_wrappers/TAO, it -#### just updates the VERSION and ChangeLog files, and tags the release. -#### Then, make releasetao is invoked to actually create the kit. -release: INSTALL - @$(ACE_ROOT)/bin/make_release $(CHECK) -k tao -t $(REL) \ - -c "$(CONTROLLED_FILES)" -r "$(RELEASE_FILES)" && \ - cd .. && $(MAKE) releasetao diff --git a/TAO/Makefile.am b/TAO/Makefile.am deleted file mode 100644 index 1344bee68c5..00000000000 --- a/TAO/Makefile.am +++ /dev/null @@ -1,78 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Top-level Makefile for TAO -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 check-news - -bin_SCRIPTS = tao-config - -man_MANS = tao-config.1 - -SUBDIRS = \ - tao \ - TAO_IDL \ - orbsvcs - -## For some reason, automake doesn't include acconfig.h in the distribution -EXTRA_DIST = PROBLEM-REPORT-FORM VERSION \ - COPYING.sun LICENSE.sun README.sun README.taoconf \ - tao-config.in taoConf.sh.in tao-config.1.in - -DISTCLEANFILES = tao-config taoConf.sh tao-config.1 - -## release: -## $(MAKE) dist distdir=$(PACKAGE)$(VERSION) -release: - $(MAKE) dist - -## Put `exec' in the name because this should be installed by -## `install-exec', not `install-data'. -confexecdir=$(libdir) -confexec_DATA = taoConf.sh - -## We create taoConf.sh here and not from configure because we want -## to get the paths expanded correctly. Macros like srcdir are given -## the value NONE in configure if the user doesn't specify them (this -## is an autoconf feature, not a bug). -taoConf.sh: taoConf.sh.in Makefile -## Use sed and then mv to avoid problems if the user interrupts. - sed -e 's,\@TAO_LIBDIR\@,$(TAO_LIBDIR),g' \ - -e 's,\@TAO_INCLUDEDIR\@,$(TAO_INCLUDEDIR),g' \ - -e 's,\@TAO_LIBS\@,$(TAO_LIBS),g' \ - -e 's,\@TAO_CXXFLAGS\@,$(TAO_CXXFLAGS),g' \ - < $(srcdir)/taoConf.sh.in > taoConf.tmp \ - && mv taoConf.tmp taoConf.sh - -tao-config.1: tao-config.1.in Makefile -## Use sed and then mv to avoid problems if the user interrupts. - sed -e 's,\@libdir\@,$(libdir),g' \ - < $(srcdir)/tao-config.1.in > tao-config.1.tmp \ - && mv tao-config.1.tmp tao-config.1 - -## Directories to include in the distribution but which I am too lazy to -## create Makefile.am files for. A Makefile.am for these directories isn't -## needed anyway. -TAO_EXTRA_DIST = docs - -dist-hook: - (cd $(top_srcdir); tar cf - $(TAO_EXTRA_DIST)) | (cd $(distdir); \ - tar xfBp -) - list=`find $(distdir) -type d -name CVS -print`; for p in $$list; do \ - rm -rf $$p; \ - done - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/Makefile.bor b/TAO/Makefile.bor deleted file mode 100644 index 39f05f039d5..00000000000 --- a/TAO/Makefile.bor +++ /dev/null @@ -1,44 +0,0 @@ - -# -# Makefile for building ACE and TAO -# - -!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor> - -ace_tao: - cd $(ACE_ROOT)\ace - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\TAO\tao - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\TAO\tao_idl - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\apps\gperf\src - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\TAO\orbsvcs\orbsvcs - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\TAO\orbsvcs\Naming_Service - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\TAO\orbsvcs\Trading_Service - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - -examples: - cd $(ACE_ROOT)\TAO\examples\simple\echo - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\TAO\examples\simple\chat - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\TAO\examples\simple\bank - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\TAO\examples\simple\grid - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\TAO\examples\simple\time - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\TAO\examples\Callback_Quoter - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - -utils: - cd $(ACE_ROOT)\tao\utils\catior - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\tao\utils\IOR-parser - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) - cd $(ACE_ROOT)\tao\utils\nslist - $(MAKE) -f Makefile.bor $(MAKE_FLAGS) diff --git a/TAO/PROBLEM-REPORT-FORM b/TAO/PROBLEM-REPORT-FORM deleted file mode 100644 index 4637d4f60cb..00000000000 --- a/TAO/PROBLEM-REPORT-FORM +++ /dev/null @@ -1,61 +0,0 @@ -[Please use the form below to submit bug reports, problem - reports, etc., to the TAO developers and interested users. - Send to ace-users@cs.wustl.edu. Please send it as plain - ASCII test, _not_ uuencoded or as an attachment. - - To ensure that you see responses, please do one of the following: - - 1) Subscribe to the ace-users mail list, by sending email with - contents "subscribe ace-users" to majordomo@cs.wustl.edu. - - 2) Or, monitor the comp.soft-sys.ace newsgroup for responses. - - Replace/remove all the explanatory text in brackets before mailing. - - Please send this form as ASCII text only. Do _not_ send it as an - attachment, or as tar'ed, compressed and/or uuencoded text. And - limit line lengths to less than 80 characters. - - PLEASE make your Subject: line as descriptive as possible. - Subjects like "TAO bug" or "bug report" are not helpful! - Also, do _not_ include the word "help" in the Subject!] - -8<----------8<----------8<----------8<----------8<----------8<----------8<---- - -To: ace-users@cs.wustl.edu -Subject: [area]: [synopsis] - - TAO VERSION: 0.4.1 - ACE VERSION: 4.6.44 - - HOST MACHINE and OPERATING SYSTEM: - TARGET MACHINE and OPERATING SYSTEM, if different from HOST: - COMPILER NAME AND VERSION (AND PATCHLEVEL): - - AREA/CLASS/EXAMPLE AFFECTED: -[What example failed? What module failed to compile?] - - DOES THE PROBLEM AFFECT: - COMPILATION? - If so, what do your $ACE_ROOT/ace/config.h and - $ACE_ROOT/include/makeinclude/platform_macros.GNU contain? - LINKING? - On Unix systems, did you run make realclean first? - EXECUTION? - OTHER (please specify)? -[Please indicate whether ACE/TAO, your application, or both are affected.] - - SYNOPSIS: -[Brief description of the problem] - - DESCRIPTION: -[Detailed description of problem. Don't just say " -doesn't work, here's a fix," explain what your program does -to get to the state. ] - - REPEAT BY: -[What you did to get the error; include test program or session -transcript if at all possible. ] - - SAMPLE FIX/WORKAROUND: -[If available ] diff --git a/TAO/README b/TAO/README deleted file mode 100644 index 91fc4055831..00000000000 --- a/TAO/README +++ /dev/null @@ -1,25 +0,0 @@ -Welcome to the latest release of The ACE ORB (TAO). TAO is a freely -available, open-source implementation of a CORBA 2.x-compliant ORB -that supports real-time extensions. Please see -www.cs.wustl.edu/~schmidt/TAO.html for more information on TAO -features, services, and the status of current work. In addition, -document for TAO is available in the $TAO_ROOT/docs/ subdirectory in -HTML format. - -We welcome suggestions for improvement, bug fixes, portability -enhancements, etc. and will strive to integrate correct bug fixes -quickly! The current release has been tested extensively, but if you -find any bugs, please report them to the ACE mailing list -ace-users@cs.wustl.edu using the $TAO_ROOT/PROBLEM-REPORT-FORM. -Please use the same form to submit questions, comments, etc. -To ensure that you see responses, please do one of the following: - - 1) Subscribe to the ace-users mail list, by sending email with - contents "subscribe ace-users" to majordomo@cs.wustl.edu. - - 2) Or, monitor the comp.soft-sys.ace newsgroup for responses. - -Thanks, - - Douglas C. Schmidt - schmidt@cs.wustl.edu diff --git a/TAO/README.sun b/TAO/README.sun deleted file mode 100644 index 5fbfaeacbdc..00000000000 --- a/TAO/README.sun +++ /dev/null @@ -1,256 +0,0 @@ -======================================== - -This file contains the original README that came with the SunSoft IIOP -release. This information in this file is historical in nature and -the much of the specific information probably is inaccurate with -respect to the current state of TAO. Please see the ./README file -that comes with TAO for up-to-date information. - -Specifically, some of the files referred to below have been renamed in -TAO. - -======================================== - -@(#)README 1.2 97/02/03 - -Inter-ORB Engine -================ - -02-Feb, 1997 -Version 1.4 - - -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- - - As of today, this is the most current version of the "IIOP Engine". - It's doubtful that a later one will be released by Sun Microsystems. - - This still supports only IIOP v1.0 (no fragmentation or security - extensions) and contains a few bugs (GIOP service context typecode - is wrong). This version was completed before the COM/CORBA - "Part A" RFP cycle, as well as the "Secure IOP" work. - - It's different from other versions in that it has (a) the benefit - of much performance work, including support for multithreading, - (b) the source code is reorganized to display more of the internal - structure, and (c) it incorporates a simple COM glue layer (which - is not the same as the one later standardized by the OMG). There - is surely more; for example, experimental XDR marshaling support. - - Documentation hasn't particularly been updated. It'll need more work - to run "out of the box" since it doesn't use autoconf just now. - - Please drop me a line (brownell@ix.netcom.com) if you're using this. - - - Dave - - -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- - - -INTRODUCTION ------------- -Welcome to the Inter-ORB Engine! This is the source code version of -SunSoft's portable implementation of the CORBA 2.0 mandatory "IIOP" -interoperability protocol for networked ORBs. - -This is a preliminary version. This software is made available AS IS and -WITH NO GUARANTEES. Please make sure you read and understand the copyright -and license notice under which this software is distributed. This notice -may be found in the "LICENSE" file that is part of this distribution, and -also in the corba/orb.hh header file used by every source file. Note that -both commercial and noncommercial usage is allowed. - -The rest of this document includes these sections: - - - ENGINE OVERVIEW - - TARGET AUDIENCE - - HOW TO OBTAIN THIS SOFTWARE - - CONTACT POINT AND WORKING ALIAS - - ABOUT THIS IIOP SOFTWARE DISTRIBUTION - - WHAT ARE: IOP, IIOP, GIOP, ESIOP, AND DCE-CIOP? - -For instructions on how to build and test this software, see the file -named "BUILDING" in the "docs" directory. [Note, this is renamed to -TAO-Install.html for TAO]. - -ENGINE OVERVIEW ---------------- -The Inter-ORB Engine implementation is composed of four parts. Each of -these is found in a top level directory with the name used here: - - * "runtime" ... this defines the public binary interface to the engine, as - used by application (and test) programs. It has three main parts: - - - A CDR (Common Data Representation) marshaling engine, which encodes - simple OMG-IDL data types directly and uses a TypeCode interpreter - to marshal complex ones; - - - The TypeCode interpreter is used to manipulate all legal OMG-IDL - data types using just standard OMG-IDL TypeCodes; - - - The runtime framework itself includes a partial ORB implementation. - Its programming interfaces are specified in CORBA and it provides - the OMG-IDL C++ mapping of those abstractions in most cases; - - * "bridge" ... this is an IIOP-specific module which talks to the runtime - and to TCP-based sockets to send, receive, and dispatch IIOP messages. - - * "test" ... code for a few basic functional tests is included. - - * "docs" ... text files, such as this one, describe the way the - implementation works. This is oriented toward people who are - maintaining, porting, or otherwise enhancing this code. - -The package is not a full ORB. It doesn't support the full set of CORBA -APIs, an IDL compiler, an Interface Repository, a standard object adapter, -and more. You could use this software to help build an ORB, but you -would need to enhance it. - -If you have an interest in using an IDL compiler to generate TypeCodes, -stubs, and/or skeletons, you may be interested in the portable front end -for an OMG-IDL compiler which is available through the OMG FTP server. -Further information may be found in this file: - - ftp.omg.org:/pub/OMG_IDL/ANNOUNCEMENT - - -TARGET AUDIENCE ---------------- -Who should use this release? - -- Organizations which are providing their own implementations of the IIOP - should use this software to perform protocol testing, helping to ensure - that they can in fact interoperate with each other. - -- Bridge builders, including ORB implementors who have their own ORB - protocols, can use this software to bootstrap bridge construction work. - This includes bridge builders working to bridge COM and CORBA. - -- ORB implementors can use this to acquire a TypeCode interpreter. (ORBs - compliant with CORBA 2.0 CORE need one to support the dynamic runtime - typing APIs, such as Any, DII, and DSI.) - -- ORB implementors without their own protocols can use this software to add - networked object capabilities to their systems, using the Internet IOP. - -- Implementors of systems which are intended to talk with ORBs may wish to - use this software when bridging to ORBs from non-CORBA systems. A few - examples: (a) specialized applications that don't need a full ORB as - infrastructure; (b) "legacy" code which needs either to use an ORB or to - be used by one; (c) users or providers other object systems, such as - programming environments, which want ORB connectivity. - -- And of course, this is the core of a portable ORB, and may be used as - one by providing the rest of the CORBA 2.0 programming interfaces and - development tools such as one or more IDL compilers. - - -HOW TO OBTAIN THIS SOFTWARE ---------------------------- -There are several distribution sites for this software, and it may also be -restributed through other ones. Not all sites will necessarily have the -most recent version. - -OMG MAIL SERVER -- You can use a mail server program to retrieve this -software. Send email with a body line 'help' to iiop-bridging@omg.org, and -the mail server will respond with a copy of this README file. Send email -with a body line "iiop" and it will return a SHAR file of this software. - -OMG FTP SERVER -- You may also use anonymous FTP to the "ftp.omg.org" server. -To do this the classic (pre-Web) Internet way, use FTP to sign on with the -username "ftp" and your Internet email address as your password. Then change -directory to "/pub/interop" and retrieve: - - - "iiop.sh.Z" ... compressed SHAR format, for UNIX systems - - "iiop.tar.Z" ... compressed TAR format, also for UNIX systems - - "iiop.zip" ... ZIP format, for MS-Windows systems - -In Web-speak, those files are named by these URLs: - - ftp://ftp.omg.org/pub/interop/iiop.sh.Z ... compressed SHAR format - ftp://ftp.omg.org/pub/interop/iiop.tar.Z ... compressed TAR format - ftp://ftp.omg.org/pub/interop/iiop.zip ... PC ZIP format - -Copies of this software may be made available from archives other than -omg.org. New versions made available by Sun will be placed on omg.org and a -message will be sent to the comp.object newsgroup announcing availability. - - -CONTACT POINT AND WORKING ALIAS -------------------------------- -Please let us know who you are if you decide to use this software, and how -you use it. Please send e-mail to: - - omg-iiop-bridge@sun.com - -This address can also be used to report problems, bugs (or better yet, fixes!), -suggestions and send general comments. It is not a general mailing list for -discussion about IIOP implementations. - -There is at least one general access alias intended for discussion about -IIOP implementations. You can subscribe by sending email with a subject -line of "subscribe" to: - - iiop-impl-request@jsoft.com - - -ABOUT THIS IIOP SOFTWARE DISTRIBUTION -------------------------------------- -On some platforms POSIX threads (P1003.1c; draft 10 became the standard) -will be available to users of this distribution. There are still legal -client side message sequences which will not be emitted by this distribution -(namely, requests being sent on a connection while a response is pending), -though by definition the server side must (and will!) accept them when they -are produced by other implementations of the IIOP. - -Also, note that although this is written in C++, ANSI C++ exceptions are not -required. This derives from a goal to have this software be highly portable. -(Few C++ compilers fully comply with the C++ exception specifications.) - -Developers should not be surprised to find implementation or specification -problems at this point in time. When they do, they are encouraged to -communicate such problems through the contact point (for problems with this -implementation of IIOP; see above) or the OMG interoperability revision -task force (for specification problems; see the REFERENCES file) so that -they can be resolved. If you need complete and final ORB software, you -should use a commercially available ORB product. - -There are areas where the software is known to be incomplete; for example, -it does not provide Interface Repository APIs. It is expected that bridge -and ORB implementors will add the missing pieces as appropriate for their -environments. In some cases these may be added in future distributions -of this software. - -See the "DIFFERENCES" file for information about where this software differs -from current OMG specifications. As a rule, these differences are to -establish compatibility with CORBA 2.0 specifications which are being -prepared but which are not (as of this writing) available. In some cases, -they address recently recognized problems that are yet to be resolved. - -For a brief description of the implementation, including goals, notes, and -an overview of the source file organization, see the "IMPLEMENTATION" file. - -For a brief overview of the functional tests, see the "TESTS" file. - - -WHAT ARE: IOP, IIOP, GIOP, ESIOP, AND DCE-CIOP? ------------------------------------------------- -Inter-ORB Protocols (IOPs) support communication between or within ORBs. - -The "Internet IOP" (IIOP) is the protocol adopted by OMG that is required -to be supported by CORBA 2.0 compliant Networked ORBs, either as a native -protocol or through half bridges. It is a mapping of the "General IOP" -(GIOP) onto the Internet's TCP transport layer. Mappings onto other -transport layers may be defined in the future. - -ORBs are free to support optional Environment Specific IOPs (ESIOPs) as -their preferred ORB protocols. The "DCE-Common IOP" (DCE-CIOP) is the the -first such protocol that has been publicly specified. It uses a subset of -DCE-RPC facilities, and reuses parts of the GIOP. ORB implementors building -on top of DCE are likely to comply with DCE-CIOP, and bridge to the IIOP -for communication with ORBs not using the DCE-CIOP. - -Of course, other ESIOPs exist and will continue to exist, both in ORBs built -on top of other distributed computing environments such as ONC+ and ones -independent of such environments. Due to the prevalence of such ESIOPs, -most ORBs are expected to interoperate through bridging to the IIOP. - diff --git a/TAO/TAO-INSTALL.html b/TAO/TAO-INSTALL.html deleted file mode 100644 index 8ff61a0accc..00000000000 --- a/TAO/TAO-INSTALL.html +++ /dev/null @@ -1,387 +0,0 @@ - - - - - Building and Installing TAO - - - - - -
-

Building and Installing TAO

- -

The following table summarizes platforms on which TAO runs:

- - - - - - - - - - - - - - - - - - -
Fully supported, i.e., continually tested and used dailySolaris 2.5, 2.6, and 7, Windows NT (MSVC++ 4.x, 5.0, and 6.0), - Linux/Intel, Linux/Alpha, VxWorks, LynxOS, Digital UNIX 4.0 - and 5.0, and IRIX 6.x -
Nearly fully supported, i.e., periodically testedWindows 95, HP/UX 10.x and 11.x, AIX 4.x, Chorus -
Partially supported, i.e., infrequently tested FreeBSD, NetBSD, SunOS 4.x -
Planned support, i.e., pending pSoS, MVS, Windows CE, Tandem, SCO, UnixWare
- -

Any UNIX/POSIX/Win32 variation is a potential target platform for -ACE. If you have porting -questions or have a problem compiling the ACE wrappers on the -platforms shown above please send email to either ACE Newsgroup or the ACE mailing list and we'll -try to help you fix the problems.

- -TAO can be obtained electronically -via the WWW and ftp. ACE is bundled -with the TAO release. You'll always need the most recent version of -ACE because TAO tracks changes to ACE very closely.

- -WARNING: -For users who have used ACE with other ORBs, linking TAO with a -version of ACE that is also linked against another ORB vendor's -library, e.g., liborbix.so, will produce undefined and most -likely unpredictable and erroneous results.

- - -


-

On UNIX platforms

- -
    -
  1. Set ACE_ROOT environment variable as outlined in - the ACE - installation notes.

    - -

  2. Build and install ACE under $ACE_ROOT.

    - -

      -
    • Change directory to $ACE_ROOT/ace and execute - make.

      -

    - -
  3. Set TAO_ROOT environment variable to - $ACE_ROOT/TAO.

    - -

  4. Build and install the TAO release under $TAO_ROOT. - -

    The easiest and recommended way to compile the - complete TAO distribution by simply simply executing - make - in the $TAO_ROOT directory. -

    - -

    A smaller subset, that may be of interest to test basic TAO - functionality, is: - $TAO_ROOT/tao, - $TAO_ROOT/TAO_IDL, - $TAO_ROOT/tests/Param_Test. - Then you can execute the run_test.pl script in - $TAO_ROOT/tests/Param_Test and/or - follow the instructions contained in the README - file in the same directory. -

    - -

    If you wish to compile the services distributed with TAO, - including the Naming_Service you - must include $TAO_ROOT/orbsvcs to the list - above. -

    - -
  5. To test that the TAO release is properly configured, - follow instructions on executing the various examples under - $TAO_ROOT/tests.

    - -

- -

A Note On Make

- -Since TAO is built atop ACE, TAO re-uses ACE's Makefile structure as -well. Thus, just like ACE requires GNU Make, so too does TAO. More -exactly, versions of make which are known to not -work include those from Solaris 4.x and 5.x, HP-UX, the latest BSD, -etc.

- -GNU Make can be obtained from various places in source form.

- - -


-

For Cross-Compiled Targets, such as VxWorks and LynxOS

- -If you are building TAO for a VxWorks target, please see the detailed -instructions for building and installing ACE and TAO in $ACE_ROOT/ACE-INSTALL.html.

- -Cross-compiling TAO is not much different than building it for -self-host. The one major difference is that TAO's IDL compiler must -be built and run on the host; it's not necessary to run it on the -target. It's easiest to set this up by using a symlink (Unix) or copy -of tao_idl (NT). By way of example, here is how I setup -my Unix (SunOS5, using g++) workspace to support cross-compilation -(for VxWorks). It assumes that the ACE+TAO distribution has been -unpacked, with TAO below ACE_wrappers. It uses the -ACE_wrappers/bin/create_ace_build script to create a shadow build -tree:

-

    -
  1. cd ACE_wrappers -
  2. bin/create_ace_build SunOS5_g++ -
  3. bin/create_ace_build vxworks -
  4. cd build/vxworks/TAO -
  5. /bin/rm -r TAO_IDL -
  6. ln -s ../../SunOS5_g++/TAO/TAO_IDL -

- -To build on the host: -

    -
  1. cd build/SunOS5_g++ -
  2. export ACE_ROOT=`pwd`; - export LD_LIBRARY_PATH=`pwd`/ace:$LD_LIBRARY_PATH -
  3. (cd ace; make && cd ../tests; make && cd ../TAO; make) > - make.log -
  4. cd ../vxworks -
  5. export ACE_ROOT=`pwd` -
  6. (cd ace; make && cd ../tests; make && cd ../TAO; make) > - make.log -

- -For NT hosts, please see the detailed instructions for building and -installing ACE and TAO in ../ACE-INSTALL.html. For -NT hosts, see Building -ACE on Tornado/NT hosts for VxWorks targets

- -Please note that dynamic loading of libraries is not supported by TAO -for any cross-compiled target. Therefore, dynamic service -configuration of the TAO ORB is not supported.

- -If using perfect hashing, TAO_IDL needs gperf to be built on the host. -That's the default on many platforms. First, build gperf -in the ACE_wrappers/apps/gperf/src/ directory. Then, add -a symlink or copy to the bin/ directory for the -target.

- - -


-

On Windows NT

- -

TAO_IDL on NT will look for the Microsoft Visual C++ -compiler as "C:\Program Files\DevStudio\VC\bin\CL.EXE". -If this compiler is located elsewhere (or if using a different -compiler) add a variable CPP_LOCATION to your environment -and set it to the compiler you want to use. This variable will -override the default.

- -

Set ACE_ROOT environment variable as outlined in the ACE -installation notes. Alternatively, you can use TAO_ROOT -environment variable if you have customized TAO installation. This is only -required if you are planning to use the <orb.idl> standard include in your -IDL code. Notice that some of the TAO services use this feature, so you are -better off definining the environment variable in all cases.

- -

Barry -Hoggard maintains a CORBA Page -which contains very helpful information on setting MSVC project -settings for TAO applications.

- -Remember to set -up ACE before building TAO. - -

Visual C++ 5.0/6.0

- -

It works best if TAO is placed in ACE_wrappers so TAO ends up in -ACE_wrappers\TAO because the Visual C++ 5 Project files -are set up to work in this configuration. If you move it, then make -sure you change the project files to look for the include and library -files in the correct place.

- -
    -
  1. Make sure ACE is built (For Visual C++ 5.0/6.0, use ace.dsw).

    - -

  2. First make sure ACE_wrappers\bin is listed in the Executable - Directories in Tools|Options. This is needed if using the TAO_IDL - compiler under MSVC. If you intend to also use the release version of the - libraries, also add ACE_wrappers\bin\Release to the directories. - Note: The order that these are listed is important. If your - main development is with the debug versions, make sure \bin is before - \bin\Release, otherwise put the \bin\Release first. Because the output names - for the release and debug versions of TAO_IDL are the same, extra care must be - taken when both versions are generated simulataneously.

    - -

  3. Load the workspace tao\TAO.dsw and build the TAO - library.

    - -

  4. To build the Cubit test, load the workspace - performance-tests\Cubit\TAO\IDL_Cubit\IDL_Cubit.dsw - and build both client and server.

    -

- -

TAOACE.dsw

- -

TAOACE.dsw is a Visual C++ 5.0/6.0 workspace that loads the projects -ACE, TAO, TAO_IDL (the compiler), orbsvcs, gperf and the Naming Service. -The dependencies are set up to correctly between the projects so for -example, ACE will be built automatically when TAO is built. An easy -way to compile everything is to just compile the debug or release -version of the Naming Service.

- -

Upgrading From Older Releases

- -

When a newer version of ACE/TAO is installed, rebuild all should be -used to make sure everything is built correctly.

- -

Changing Include Paths

- -

If you prefer #include <corba.h> over #include -<tao/corba.h> then you will need to change your Project Settings -to also contain the TAO/tao directory. You'll find this in the -C/C++ settings under Input.

- -

Creating Static Libraries (*.lib)

- -

TAO, orbsvcs, TAO_IDL, and the Simple Test all have extra project files -for static library builds. TAOACE_static.dsw contains all these projects, -and is set up much like TAOACE.dsw. To use the static -libraries in a project, make sure to the following settings are used in -the Project Settings.

- -
    -
  • C/C++ | General: Add the Preprocessor Definitions - TAO_HAS_DLL=0, ACE_HAS_DLL=0 and - __ACE_INLINE__=0 -
  • C/C++ | Code Generation: Change Run-time - library to Debug Multithreaded (or - Multithreaded for Release) -
  • Link: Link with the static libs, such as - TAOs.lib or TAOsd.lib -
- -
-

How to add IDL files into your Visual C++ projects

-Point of contact: Nanbor Wang. - -

Each IDL file generates .h, .i and .cpp files. Here is an example of -adding an IDL file named foobar.idl into a VC project. -

    -
  1. Create/open the workspace. Create server project and client project if - you haven't had them ready. Add the IDL file <foobar.idl> and other - non-IDL generated files into both client and server projects.
  2. - -
  3. Added foobarC.h, foobarC.i, foobarC.cpp, foobarS.h, foobarS.i, and - foobarS.cpp into server project and foobarC.h, foobarC.i, - foobarC.cpp into client projects.
  4. - -
  5. Now open the project setting window (Project -> Setting... or just - press Alt-F7.) Select the IDL files in both client and server projects. - Choose to set the setting for "All Configuration." Make sure the - "Always use custom build step" is checked and "Exclude from build" is - unchecked.
  6. - -
  7. Click on the "Custom Build" tab. Add this entry as the build command - for IDL files:

    - -
    tao_idl $(InputName).idl
    - Notice that your absolute path to TAO_IDL may vary.
  8. - -
  9. Now add the following entries as "Output file(s)."

    - -
    -      $(InputName)S.h
    -      $(InputName)C.h
    -      $(InputName)C.i
    -      $(InputName)C.cpp
    -      $(InputName)S.i
    -      $(InputName)S.cpp
    -      $(InputName)S_T.h
    -      $(InputName)S_T.i
    -      $(InputName)S_T.cpp
    -      
    - Add only one entry in each line.
  10. - -
  11. You might also want to add the TAO_IDL compiler in as a dependency here - if you update TAO often. That way, if the compiler is changed, the - IDL files are recompiled automatically in the next build.
  12. - -
  13. We are all set. Click OK.
  14. - -
  15. Add foobarC.cpp and foobarS.cpp to the server project and - foobarC.cpp into the client project.
  16. -
- -

Notice that these procedures only setup the IDL compiler to perform -correctly.

- -

P.S. If anyone knows how to set a default setting in VC so we don't -need to perform these procedures every time a new project gets set up, -please let us know. Thanks. - - -

-


-

Perl Scripts

- -

Several of TAO's tests and examples contain perl scripts that automate the -execution of these tests. The scripts are found as "run_test.pl" in the -directory of the test.

- -

The versions of perl that we use are 5.005_02 on NT and 5.003 on Solaris. -The scripts may work on earlier versions of perl, but we cannot say for sure -that they do.

- -
-

Native Exceptions

- -

TAO will use native exceptions if TAO_HAS_EXCEPTIONS is defined when it is -compiled. This can be accomplished in two ways: by defining ACE_HAS_EXCEPTIONS -in the config.h or config-*.h files (such as on Windows) or by using -make exceptions=1 when you compile TAO.

- -

Take note though, that this only enables support in ACE/TAO, the correct -compiler flags must also be given to the compiler to enable them.

- -
-

- -

minimumTAO

- -

By default, all components in TAO will be compiled. If you only -want support for minimumTAO, define -TAO_HAS_MINIMUM_CORBA. This can be accomplished in two ways: by -defining TAO_HAS_MINIMUM_CORBA in the config.h or orbconf.h files or -by using make minimum_corba=1 when you compile TAO.

- -
-

- -


-

System Resource Requirements

-Please see the -ACE-INSTALL.html System -Resource Requirements discussion for information on system resources -required to build ACE and TAO.

- - -Back to the TAO home page. - - - - diff --git a/TAO/TAO-inheritance.pdf.gz b/TAO/TAO-inheritance.pdf.gz deleted file mode 100644 index b6116629def..00000000000 Binary files a/TAO/TAO-inheritance.pdf.gz and /dev/null differ diff --git a/TAO/TAO-inheritance.ps.gz b/TAO/TAO-inheritance.ps.gz deleted file mode 100644 index 2a381a8e223..00000000000 Binary files a/TAO/TAO-inheritance.ps.gz and /dev/null differ diff --git a/TAO/TAOACE.dsw b/TAO/TAOACE.dsw deleted file mode 100644 index 343640f8e6e..00000000000 --- a/TAO/TAOACE.dsw +++ /dev/null @@ -1,128 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ACE DLL"=..\ace\ace_dll.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Naming_Service"=.\orbsvcs\Naming_Service\Naming_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ORB Services DLL - End Project Dependency -}}} - -############################################################################### - -Project: "ORB Services DLL"=.\orbsvcs\orbsvcs\orbsvcs.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name gperf - End Project Dependency - Begin Project Dependency - Project_Dep_Name TAO DLL - End Project Dependency - Begin Project Dependency - Project_Dep_Name TAO_IDL Compiler - End Project Dependency -}}} - -############################################################################### - -Project: "TAO DLL"=.\tao\TAO.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE DLL - End Project Dependency -}}} - -############################################################################### - -Project: "TAO_IDL Compiler"=.\TAO_IDL\tao_idl.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name gperf - End Project Dependency - Begin Project Dependency - Project_Dep_Name ACE DLL - End Project Dependency -}}} - -############################################################################### - -Project: "gperf"=..\apps\gperf\src\gperf.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name gperf_lib - End Project Dependency -}}} - -############################################################################### - -Project: "gperf_lib"=..\apps\gperf\src\gperf_lib.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE DLL - End Project Dependency -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/TAOACE_Static.dsw b/TAO/TAOACE_Static.dsw deleted file mode 100644 index a45a8865a4b..00000000000 --- a/TAO/TAOACE_Static.dsw +++ /dev/null @@ -1,83 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ACE LIB"=..\ace\ace_lib.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ORB Services Static"=.\orbsvcs\orbsvcs\orbsvcs_static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE static library - End Project Dependency - Begin Project Dependency - Project_Dep_Name TAO Static - End Project Dependency - Begin Project Dependency - Project_Dep_Name TAO_IDL Compiler Static - End Project Dependency -}}} - -############################################################################### - -Project: "TAO LIB"=.\tao\TAO_Static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE LIB - End Project Dependency -}}} - -############################################################################### - -Project: "TAO_IDL Compiler Static"=.\TAO_IDL\tao_idl_static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name ACE static library - End Project Dependency - Begin Project Dependency - Project_Dep_Name ACE LIB - End Project Dependency -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/TAO_IDL/ANNOUNCEMENT b/TAO/TAO_IDL/ANNOUNCEMENT deleted file mode 100644 index 870db6f6006..00000000000 --- a/TAO/TAO_IDL/ANNOUNCEMENT +++ /dev/null @@ -1,131 +0,0 @@ -WHAT: - -SunSoft, Inc., Mountain View, California, has placed the source code to -Project DOE's Interface Definition Language (IDL) compiler front end -(CFE) on OMG's file server, making the implementation publicly -available. This release is identified by the version number 1.3. - -Project DOE is SunSoft's corporate-wide development effort to integrate -distributed object technology into the Solaris O/S. OMG (Object Management -Group) is the industry wide body formed to create specifications for -distributed object technology. It currently has more than 370 members. OMG -IDL is part of OMG's CORBA 1.1 specification and provides a standardized -way for defining object interfaces. OMG IDL forms the basis for distributed -object interactionin Project DOE. - -The SunSoft OMG IDL CFE provides a complete framework for building -CORBA 1.1-compliant preprocessors for OMG IDL. By using this standard -implementation, developers of OMG IDL compilers will save many months -of work and enhance the portability and interoperability of OMG -IDL-interfaced objects. - -The SunSoft OMG IDL CFE allows convenient and fast integration of new back -ends to the compiler. The release consists of a front end which converts -OMG IDL to an intermediate format, a compiler framework driver, an example -implementation of a compiler back end, and a set of protocols for -interaction between the front and back ends. The SunSoft OMG IDL CFE -parser uses components generated by yacc and lex. - -The SunSoft OMG IDL CFE is designed to allow easy extension of OMG IDL -without impacting existing back-end implementations. As the CORBA -specification evolves, any new updates to the IDE CFE will be placed -by SunSoft on the OMG server. - -This release provides a directory with many examples of OMG IDL -specifications to allow users to become familiar with the process of -writing OMG IDL code. - -For more information send email to idl-cfe@sun.com. - -HOW: - -The SunSoft OMG IDL CFE is available at no charge through anonymous FTP -in source form on the OMG file server, omg.org. Please retrieve the -file OMG_IDL_CFE_1.3.tar.Z from the directory pub/OMG_IDL_CFE_1.3. Please -let us know who you are if you retrieve the compiler front end using this -method, by sending email to idl-cfe@sun.com. - -You can also retrieve the software by using the OMG mail server program. -Send email with the subject 'help' to omg_idl@omg.org, and the mail server -will respond with instructions on how to retrieve the software. - -WHEN: - -The SunSoft OMG IDL CFE is available now. - -CONTACT: - -Please let us know who you are if you decide to use this software, and how -you use it. Please send email to: - - idl-cfe@sun.com - -This address can also be used to report problems, bugs, suggestions and -send general comments. - -We ask that if you make extensions or modifications to this source release, -please make these extensions available to others using the OMG IDL compiler -front end, by sending the modified sources to the above email address. This -will help us evaluate your extensions for inclusion in a future version. It -also ensures your investment in these extensions when new versions of the -CFE are released. - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -COPYRIGHT NOTICE: - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 diff --git a/TAO/TAO_IDL/CHANGES b/TAO/TAO_IDL/CHANGES deleted file mode 100644 index ae6fca7bcea..00000000000 --- a/TAO/TAO_IDL/CHANGES +++ /dev/null @@ -1,122 +0,0 @@ -CHANGES WHICH AFFECT BE WRITERS --=============================- - -INTRODUCTION - -This file describes changes that affect BE writers. It contains IMPORTANT -INFORMATION for BE writers who wish to migrate a BE written to operate with -release 1.2 to operate with release 1.3. It is likely that not following -these instructions will result in a compilable but malfunctioning compiler. - -AST INHERITANCE CHANGES - -The AST has been reorganized so that AST_Union and AST_Exception now -inherit from AST_Structure. This means that constructors of BE classes -which inherit from AST_Union or AST_Exception now need to explicitly call -an initializer for AST_Structure in their init section. - -We repeat below the information given in the file WRITING_A_BE, in the -section entitled "WRITING A BE". - -AST_EXCEPTION - -The signature for constructors of classes inheriting from AST_Exception -should now be: - - BE_Exception::BE_Exception(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_except, n, p), - AST_Structure(AST_Decl::NT_except, n, p), - UTL_Scope(AST_Decl::NT_except) - -AST_UNION - -The signature for constructors of classes inheriting from AST_Union should -now be: - - BE_Union::BE_Union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Union(dt, n, p), - AST_Structure(AST_Decl::NT_union, n, p), - AST_Decl(AST_Decl::NT_union, n, p), - UTL_Scope(AST_Decl::NT_union) - -IDL_BOOL TYPE - -To increase portability and reduce dependency of the sources on POSIX -compliance in targets of ports, IDL now provides its own boolean type which -is named idl_bool. It provides two truth values, I_TRUE and I_FALSE. - -UTL_SCOPEDNAME TYPE - -The UTL_ScopedName type is now a list of Identifier nodes; in previous -releases it used to be a list of String nodes. If your BE constructs scoped -names this change will prevent recompilation until you modify your -constructor calls to invoke constructors for Identifier instead of for -String. The signature of the constructor is: - - Identifier::Identifier(char *, long x=1, long y=0, long z=I_FALSE) - -The additional arguments which can be defaulted to the values indicated are -included for future use. - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/COPYING.sun b/TAO/TAO_IDL/COPYING.sun deleted file mode 100644 index fb7289a9820..00000000000 --- a/TAO/TAO_IDL/COPYING.sun +++ /dev/null @@ -1,62 +0,0 @@ -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the -United States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the -following license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and -copyright notice on all media and documentation and the software -program in which this product is incorporated in whole or part. You -may copy and extend functionality (but may not remove functionality) -of the Interface Definition Language CFE without charge, but you are -not authorized to license or distribute it to anyone else except as -part of a product or program developed by you or with the express -written consent of Sun Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to -comply with this license. Upon termination, you shall destroy or -return all code and documentation for the Interface Definition -Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES -OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND -FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A -COURSE OF DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND -WITHOUT ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES -OR AFFILIATES TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR -ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY -WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY -PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE -LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND -CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY -OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and -FAR 52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/INSTALL.sun b/TAO/TAO_IDL/INSTALL.sun deleted file mode 100644 index 2b26b7fb597..00000000000 --- a/TAO/TAO_IDL/INSTALL.sun +++ /dev/null @@ -1,186 +0,0 @@ -======================================== - -This file contains the original INSTALL file that came with the -SunSoft IDL compiler release. This information in this file is -historical in nature and the much of the specific information probably -is inaccurate with respect to the current state of TAO IDL. Please -see the ../TAO-INSTALL.html documentation that comes with TAO for -up-to-date information on the installation process. - -Specifically, some of the files referred to below have been renamed in -TAO IDL. - -INTERFACE DEFINITION LANGUAGE INSTALLATION GUIDE --==============================================- - -INTRODUCTION - -This file describes the installation process for OMG_IDL_CFE version 1.3. -This file explains how to: - -- install the source code -- modify the sources to customize them for different configurations -- modify the sources to implement your own back end - -TESTED CONFIGURATIONS - -This release has been tested and is believed to operate correctly on: -- SunPro Sparcworks 2.x and 3.0 on SunOS 4.1.x -- SunPro Sparcworks 2.x and 3.0 on Solaris 2.3 -- g++ 2.5.8 on SunOS 4.1.x -- g++ 2.5.8 on Solaris 2.3 - -This is the first release of OMG IDL CFE which is preconfigured to compile -correctly for Solaris 2.x and with SunPro SparcWorks compilers. - -CUSTOMIZATION - -The release contains a file idl_make_vars in the current directory, -which is included in each Makefile. This file defines all the -customizable variables for the CFE. - -OSV should be set to a string denoting the operating system upon which -you wish to build the CFE. The CFE as shipped is preconfigured to -compile correctly on Solaris 2.x (OSV=SOLARIS2), and has also been -tested on SunOS 4.1.x (OSV=SUNOS4). It contains code donated by HP -which enables it to be compiled on Apollo Domain systems (OSV=apollo) -and HPUX systems (OSV=hpux), but these two configurations have not -been tested. - -C++ and CCC should be set to identify the C++ compiler you will use to -compile this release. Their values should be identical. Both are set -to address differences between various make programs - some predefine -CCC, others use C++ to denote the C++ compiler. The possible values -are CC (which uses the Sparcworks compilers on SunOS 4.1 and Solaris -2.3) and g++, which uses the installed version of GNU C++. - -CCFLAGS should be set to a list of flags to pass to the C++ -compiler. As shipped, this list is -g. NOTE: We have not extensively -tested the release with optimization turned on. - -CPP_FLAGS should be set to a list of flags to pass to the C++ -preprocessor. Use this variable to enable or disable specific -customizations you make to the BE or CFE sources. - -YFLAGS should be set to a list of flags to pass to the Yacc -program. As shipped, the list is -d -t, which causes Yacc to generate -y.tab.h and y.tab.c files. - -LEXFLAGS should be set to a list of flags to pass to the Lex -program. As shipped, the list -t. - -RANLIB should be set to the location of the ranlib program on your -system. As shipped this is ranlib. If your system has no ranlib you -can set this variable to ':' or /bin/true. As shipped the variable is -preset to /bin/true since Solaris 2.x does not use ranlib. - -AR should be set to the location of the ar program on your system. As -shipped this is ar. If your system has a different mechanism for -creating libraries, you should modify the value of this variable -accordingly. - -ARFLAGS should be set to the flags to be passed to the ar program. As -shipped this is 'crv'. - -INSTALLATION - -a. Disk space requirements - -This distribution requires approximately 350 KBytes when -compressed. When uncompressed, untarred and compiled, approximately 10 -MBytes of disk space are consumed on a Sun 4. - -b. Getting the software - -Use anonymous FTP to omg.org and supply your e-mail address as -password. Change directories to pub/OMG_IDL_CFE_1.3, set bin and get -the compressed tar file OMG_IDL_CFE_1.3.tar.Z. - -The distribution may, in the future, be made available from other -archives on the Internet. However, omg.org will always have the most -up-to-date version of this software. - -After transferring this file, uncompress it and untar it in a -directory of your choice. - -c. Compiling it - -If you are using a Sparcstation running Solaris 2.x and have the -SunPro Sparcworks compilers installed, you may directly install the -software. If your hardware or operating system configurations are -different, read and follow the instructions in the previous section -first. - -At the root directory of the release, issue - - % make - -or - - % make all - -This will compile the provided sources and the sources found in the be -directory. Executing this make target causes 'make all' to be invoked -in each subdirectory, resulting in building the libraries for each -component and finally a link step producing an executable IDL -compiler. - -In order to make only the compiler front end components, without -compiling the sources found in the be directory and without building -an executable, issue - - % make libs - -This will build the libraries in the ast, fe, util, driver and narrow -directories. To build only the be, issue - - % make be - -To build all libraries without creating an executable, issue - - % make all_libs - -To remove all files created by the build process, issue - - % make clean - -This will not remove any files created by Yacc and Lex, because you -may be using the ones provided in the distribution (see below). - -d. Yacc and Lex - -Some installations may not have a C++ aware Yacc and Lex -processor. For these installations, we have included the output of -yacc and lex in the release. If you need to use these files to build -the release because you don't have access to a C++ capable Yacc or -Lex, go to the "fe" directory, issue the command: - - % touch lex.yy.cc y.tab.cc y.tab.hh - -This will ensure that the processed files appear to be newer than the -source files they were produced from and will cause "make" to skip -their production. - -NOTE: The files provided in the distribution have been produced on -Solaris 2.3 and may contain OS-specific #include directives. If you -intend to use these files, you may have to edit them to make them work -in your environment. The provided files are known to compile cleanly -without modification with both SunPro Sparcworks compilers and GNU C++ -on both SunOS 4.1 and Solaris 2.3. We have not tested the grammar and -lexer input files with bison or flex. - -IMPLEMENTING A BACK END - -To implement your own back end, you can start with the provided -sources in the be directory and modify them. The Makefile understands -the 'make all' target and will generate libbe.a in the demo_be -directory. As set up, the variable CPP_FLAGS allows you to place -include files either in the current directory or in the include -directory. Alternatively, you can place your include files in a new -directory and modify CPP_FLAGS to cause the C++ preprocessor to search -this new directory for referenced include files, by adding a new -I -directive. - -Additional detail on the structure and function of back ends, and on -the protocol which a back end must implement, are found in the -document entitled WRITING_A_BE. diff --git a/TAO/TAO_IDL/Makefile b/TAO/TAO_IDL/Makefile deleted file mode 100644 index e6bc88821c6..00000000000 --- a/TAO/TAO_IDL/Makefile +++ /dev/null @@ -1,12700 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the TAO IDL compiler -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -BIN = tao_idl -LDLIBS = -lACE -BUILD = $(BIN) - -VPATH=.:driver:fe:ast:util:narrow:be - -FILES = tao_idl \ - driver/drv_init \ - driver/drv_private \ - driver/drv_args \ - driver/drv_fork \ - driver/drv_link \ - driver/drv_preproc \ - fe/fe_declarator \ - fe/fe_lookup \ - fe/fe_private \ - fe/fe_init \ - fe/fe_extern \ - fe/fe_interface_header \ - fe/y.tab \ - fe/lex.yy \ - ast/ast_array \ - ast/ast_argument \ - ast/ast_attribute \ - ast/ast_check \ - ast/ast_concrete_type \ - ast/ast_constant \ - ast/ast_decl \ - ast/ast_enum \ - ast/ast_enum_val \ - ast/ast_exception \ - ast/ast_expression \ - ast/ast_field \ - ast/ast_interface \ - ast/ast_interface_fwd \ - ast/ast_module \ - ast/ast_native \ - ast/ast_operation \ - ast/ast_predefined_type \ - ast/ast_root \ - ast/ast_sequence \ - ast/ast_string \ - ast/ast_structure \ - ast/ast_type \ - ast/ast_typedef \ - ast/ast_union \ - ast/ast_union_branch \ - ast/ast_union_label \ - ast/ast_generator \ - ast/ast_redef \ - ast/ast_recursive \ - util/utl_scope \ - util/utl_stack \ - util/utl_string \ - util/utl_decllist \ - util/utl_labellist \ - util/utl_namelist \ - util/utl_exceptlist \ - util/utl_strlist \ - util/utl_list \ - util/utl_exprlist \ - util/utl_error \ - util/utl_indenter \ - util/utl_identifier \ - util/utl_idlist \ - util/utl_global \ - narrow/narrow \ - be/be_array \ - be/be_argument \ - be/be_attribute \ - be/be_constant \ - be/be_enum \ - be/be_enum_val \ - be/be_exception \ - be/be_expression \ - be/be_field \ - be/be_interface \ - be/be_interface_fwd \ - be/be_valuetype \ - be/be_valuetype_fwd\ - be/be_module \ - be/be_native \ - be/be_operation \ - be/be_predefined_type \ - be/be_root \ - be/be_sequence \ - be/be_string \ - be/be_structure \ - be/be_type \ - be/be_typedef \ - be/be_union \ - be/be_union_branch \ - be/be_union_label \ - be/be_generator \ - be/be_init \ - be/be_produce \ - be/be_args \ - be/be_helper \ - be/be_codegen \ - be/be_sunsoft \ - be/be_decl \ - be/be_scope \ - be/be_stream_factory \ - be/be_visitor_factory \ - be/be_visitor \ - be/be_visitor_argument \ - be/be_visitor_array \ - be/be_visitor_attribute \ - be/be_visitor_constant \ - be/be_visitor_context \ - be/be_visitor_decl \ - be/be_visitor_enum \ - be/be_visitor_exception \ - be/be_visitor_field \ - be/be_visitor_interface \ - be/be_visitor_interface_fwd \ - be/be_visitor_valuetype \ - be/be_visitor_valuetype_fwd \ - be/be_visitor_module \ - be/be_visitor_operation \ - be/be_visitor_root \ - be/be_visitor_scope \ - be/be_visitor_sequence \ - be/be_visitor_structure \ - be/be_visitor_typecode \ - be/be_visitor_typedef \ - be/be_visitor_union \ - be/be_visitor_union_branch - -SRC = $(addsuffix .cpp,$(FILES)) -#VOBJS = $(LSRC:%.cpp=$(VDIR)%.$(OBJEXT)) -#$(BIN): $(VOBJS) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - -ifeq ($(CROSS-COMPILE),) - include $(ACE_ROOT)/include/makeinclude/macros.GNU - include $(TAO_ROOT)/rules.tao.GNU - 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.bin.GNU - include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -endif # ! CROSS-COMPILE - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -ifneq ($(CROSS-COMPILE),) - all default_embedded: - @echo The IDL compiler won\'t run or build on CROSS-COMPILE platforms. - - clean realclean: - @echo Nothing to clean in TAO_IDL on CROSS-COMPILE platforms. -else # ! CROSS-COMPILE - - ifeq ($(findstring g++,$(CXX)),g++) - CCFLAGS += -Wno-switch - endif # g++ - - CPPFLAGS += -Iinclude -Ibe_include -Ife - ifeq ($(CPP_LOCATION),) - CPPFLAGS += -DCPP_LOCATION=\"$(strip $(CXX))\" - else - CPPFLAGS += -DCPP_LOCATION=\"$(CPP_LOCATION)\" - endif # !def CPP_LOCATION - - realclean: - $(RM) tao_idl TAGS -endif # ! CROSS-COMPILE - -fe/fe_lookup.cpp: fe/keywords.dat - $(RM) fe/fe_lookup.cpp - echo "// \$$Id\$$" > fe/fe_lookup.cpp - echo "#include \"idl.h\"" >> fe/fe_lookup.cpp - echo "#include \"idl_extern.h\"" >> fe/fe_lookup.cpp - echo "#include \"fe_private.h\"" >> fe/fe_lookup.cpp - $(ACE_ROOT)/bin/gperf -M -J -c -C -D -E -T -f 0 -a -o -t -p -K keyword_ \ - -L C++ -Z TAO_IDL_CPP_Keyword_Table -N lookup -k1,2,$$ fe/keywords.dat \ - >> fe/fe_lookup.cpp - -fe/lex.yy.cpp: fe/idl.ll - @echo "WARNING: Potentially outdated fe/lex.yy.cpp" - @echo " either touch(1) the file or explicitly" - @echo " generate it using:" - @echo " make lex.yy.cpp.target" - -.PHONY: lex.yy.cpp.target - -# For DOC group use -YACC = /home/cs/faculty/schmidt/bin/SunOS5/yacc - -lex.yy.cpp.target: - $(LEX) -t fe/idl.ll | \ - sed -e "s/yy/tao_yy/g" \ - -e "s/YY/TAO_YY/g" \ - -e "s@#include @#include \"ace/OS.h\"@" \ - -e "/#include fe/lex.yy.cpp - (cd fe ; patch < lex.yy.cpp.diff) - -fe/y.tab.cpp: fe/idl.yy - @echo "WARNING: Potentially outdated fe/y.tab.cpp" - @echo " either touch(1) the file or explicitly" - @echo " generate it using:" - @echo " make y.tab" - -.PHONY: y.tab - -y.tab: fe/idl.yy - $(YACC) -d fe/idl.yy - sed -e 's/char \*getenv/char *ace_foo/g' \ - -e 's/= getenv/= ACE_OS::getenv/g' \ - -e 's/int yynew_state,/int,/g' \ - -e 's/int yyold_state,/int,/g' \ - -e 's/int yyrule_num,/int,/g' \ - -e 's/\(YYDEBUG_DISCARD_TOKEN.*int\) yytoken_num/\1/g' \ - -e 's/yynewerror://g' \ - -e 's/yy/tao_yy/g' \ - -e 's/YY/TAO_YY/g' \ - -e 's/y\.tab\.c/y.tab.cpp/g' \ - -e 's%\(#pragma ident\)%// \1%' < y.tab.c > /tmp/$(USER).Y - sed -e 's/yy/tao_yy/g' \ - -e 's/YY/TAO_YY/g' < y.tab.h > /tmp/$(USER).YH - echo '// $$I''d$$' > fe/y.tab.cpp - cat /tmp/$(USER).Y >> fe/y.tab.cpp - echo '// $$I''d$$' > fe/y.tab.h - cat /tmp/$(USER).YH >> fe/y.tab.h - $(RM) /tmp/$(USER).Y /tmp/$(USER).YH y.tab.c y.tab.h - (cd fe ; patch < y.tab.cpp.diff) - -tags: - $(RM) TAGS - find . -name "*.h" -print | etags -a --c++ - - find . -name "*.cpp" -print | etags -a - - - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/tao_idl.o .obj/tao_idl.so .shobj/tao_idl.o .shobj/tao_idl.so: tao_idl.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/drv_private.h include/drv_link.h -.obj/drv_init.o .obj/drv_init.so .shobj/drv_init.o .shobj/drv_init.so: driver/drv_init.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/drv_private.h include/drv_link.h -.obj/drv_private.o .obj/drv_private.so .shobj/drv_private.o .shobj/drv_private.so: driver/drv_private.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/drv_private.h -.obj/drv_args.o .obj/drv_args.so .shobj/drv_args.o .shobj/drv_args.so: driver/drv_args.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/drv_private.h include/drv_link.h be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/drv_fork.o .obj/drv_fork.so .shobj/drv_fork.o .shobj/drv_fork.so: driver/drv_fork.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/drv_private.h \ - $(ACE_ROOT)/ace/Process_Manager.h \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - $(ACE_ROOT)/ace/Process_Manager.i -.obj/drv_link.o .obj/drv_link.so .shobj/drv_link.o .shobj/drv_link.so: driver/drv_link.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/drv_private.h include/drv_link.h -.obj/drv_preproc.o .obj/drv_preproc.so .shobj/drv_preproc.o .shobj/drv_preproc.so: driver/drv_preproc.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/drv_private.h include/drv_link.h \ - $(ACE_ROOT)/ace/Process_Manager.h \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - $(ACE_ROOT)/ace/Process_Manager.i \ - $(ACE_ROOT)/ace/Env_Value_T.h \ - $(ACE_ROOT)/ace/Env_Value_T.i \ - $(ACE_ROOT)/ace/Env_Value_T.cpp \ - $(ACE_ROOT)/ace/ARGV.h \ - $(ACE_ROOT)/ace/ARGV.i -.obj/fe_declarator.o .obj/fe_declarator.so .shobj/fe_declarator.o .shobj/fe_declarator.so: fe/fe_declarator.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/fe_private.h include/fe_interface_header.h \ - include/fe_declarator.h -.obj/fe_lookup.o .obj/fe_lookup.so .shobj/fe_lookup.o .shobj/fe_lookup.so: fe/fe_lookup.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/fe_private.h include/fe_interface_header.h \ - include/fe_declarator.h -.obj/fe_private.o .obj/fe_private.so .shobj/fe_private.o .shobj/fe_private.so: fe/fe_private.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/fe_private.h include/fe_interface_header.h \ - include/fe_declarator.h -.obj/fe_init.o .obj/fe_init.so .shobj/fe_init.o .shobj/fe_init.so: fe/fe_init.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/fe_private.h include/fe_interface_header.h \ - include/fe_declarator.h -.obj/fe_extern.o .obj/fe_extern.so .shobj/fe_extern.o .shobj/fe_extern.so: fe/fe_extern.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/fe_private.h include/fe_interface_header.h \ - include/fe_declarator.h -.obj/fe_interface_header.o .obj/fe_interface_header.so .shobj/fe_interface_header.o .shobj/fe_interface_header.so: fe/fe_interface_header.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/fe_private.h include/fe_interface_header.h \ - include/fe_declarator.h -.obj/y.tab.o .obj/y.tab.so .shobj/y.tab.o .shobj/y.tab.so: fe/y.tab.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/fe_private.h include/fe_interface_header.h \ - include/fe_declarator.h -.obj/lex.yy.o .obj/lex.yy.so .shobj/lex.yy.o .shobj/lex.yy.so: fe/lex.yy.cpp \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/idl.h include/intlmacros.h include/idl_narrow.h \ - include/idl_defines.h include/idl_fwd.h include/idl_bool.h \ - include/utl_string.h include/utl_identifier.h include/ast.h \ - include/utl_scoped_name.h include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - include/fe_private.h include/fe_interface_header.h \ - include/fe_declarator.h fe/y.tab.h -.obj/ast_array.o .obj/ast_array.so .shobj/ast_array.o .shobj/ast_array.so: ast/ast_array.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_argument.o .obj/ast_argument.so .shobj/ast_argument.o .shobj/ast_argument.so: ast/ast_argument.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_attribute.o .obj/ast_attribute.so .shobj/ast_attribute.o .shobj/ast_attribute.so: ast/ast_attribute.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_check.o .obj/ast_check.so .shobj/ast_check.o .shobj/ast_check.so: ast/ast_check.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_concrete_type.o .obj/ast_concrete_type.so .shobj/ast_concrete_type.o .shobj/ast_concrete_type.so: ast/ast_concrete_type.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_constant.o .obj/ast_constant.so .shobj/ast_constant.o .shobj/ast_constant.so: ast/ast_constant.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_decl.o .obj/ast_decl.so .shobj/ast_decl.o .shobj/ast_decl.so: ast/ast_decl.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_enum.o .obj/ast_enum.so .shobj/ast_enum.o .shobj/ast_enum.so: ast/ast_enum.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_enum_val.o .obj/ast_enum_val.so .shobj/ast_enum_val.o .shobj/ast_enum_val.so: ast/ast_enum_val.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_exception.o .obj/ast_exception.so .shobj/ast_exception.o .shobj/ast_exception.so: ast/ast_exception.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_expression.o .obj/ast_expression.so .shobj/ast_expression.o .shobj/ast_expression.so: ast/ast_expression.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_field.o .obj/ast_field.so .shobj/ast_field.o .shobj/ast_field.so: ast/ast_field.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_interface.o .obj/ast_interface.so .shobj/ast_interface.o .shobj/ast_interface.so: ast/ast_interface.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_interface_fwd.o .obj/ast_interface_fwd.so .shobj/ast_interface_fwd.o .shobj/ast_interface_fwd.so: ast/ast_interface_fwd.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_module.o .obj/ast_module.so .shobj/ast_module.o .shobj/ast_module.so: ast/ast_module.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_native.o .obj/ast_native.so .shobj/ast_native.o .shobj/ast_native.so: ast/ast_native.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_operation.o .obj/ast_operation.so .shobj/ast_operation.o .shobj/ast_operation.so: ast/ast_operation.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_predefined_type.o .obj/ast_predefined_type.so .shobj/ast_predefined_type.o .shobj/ast_predefined_type.so: ast/ast_predefined_type.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_root.o .obj/ast_root.so .shobj/ast_root.o .shobj/ast_root.so: ast/ast_root.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_sequence.o .obj/ast_sequence.so .shobj/ast_sequence.o .shobj/ast_sequence.so: ast/ast_sequence.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_string.o .obj/ast_string.so .shobj/ast_string.o .shobj/ast_string.so: ast/ast_string.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_structure.o .obj/ast_structure.so .shobj/ast_structure.o .shobj/ast_structure.so: ast/ast_structure.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_type.o .obj/ast_type.so .shobj/ast_type.o .shobj/ast_type.so: ast/ast_type.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_typedef.o .obj/ast_typedef.so .shobj/ast_typedef.o .shobj/ast_typedef.so: ast/ast_typedef.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_union.o .obj/ast_union.so .shobj/ast_union.o .shobj/ast_union.so: ast/ast_union.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_union_branch.o .obj/ast_union_branch.so .shobj/ast_union_branch.o .shobj/ast_union_branch.so: ast/ast_union_branch.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_union_label.o .obj/ast_union_label.so .shobj/ast_union_label.o .shobj/ast_union_label.so: ast/ast_union_label.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_generator.o .obj/ast_generator.so .shobj/ast_generator.o .shobj/ast_generator.so: ast/ast_generator.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_redef.o .obj/ast_redef.so .shobj/ast_redef.o .shobj/ast_redef.so: ast/ast_redef.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/ast_recursive.o .obj/ast_recursive.so .shobj/ast_recursive.o .shobj/ast_recursive.so: ast/ast_recursive.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_scope.o .obj/utl_scope.so .shobj/utl_scope.o .shobj/utl_scope.so: util/utl_scope.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_stack.o .obj/utl_stack.so .shobj/utl_stack.o .shobj/utl_stack.so: util/utl_stack.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_string.o .obj/utl_string.so .shobj/utl_string.o .shobj/utl_string.so: util/utl_string.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_decllist.o .obj/utl_decllist.so .shobj/utl_decllist.o .shobj/utl_decllist.so: util/utl_decllist.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_labellist.o .obj/utl_labellist.so .shobj/utl_labellist.o .shobj/utl_labellist.so: util/utl_labellist.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_namelist.o .obj/utl_namelist.so .shobj/utl_namelist.o .shobj/utl_namelist.so: util/utl_namelist.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_exceptlist.o .obj/utl_exceptlist.so .shobj/utl_exceptlist.o .shobj/utl_exceptlist.so: util/utl_exceptlist.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_strlist.o .obj/utl_strlist.so .shobj/utl_strlist.o .shobj/utl_strlist.so: util/utl_strlist.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_list.o .obj/utl_list.so .shobj/utl_list.o .shobj/utl_list.so: util/utl_list.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_exprlist.o .obj/utl_exprlist.so .shobj/utl_exprlist.o .shobj/utl_exprlist.so: util/utl_exprlist.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_error.o .obj/utl_error.so .shobj/utl_error.o .shobj/utl_error.so: util/utl_error.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_indenter.o .obj/utl_indenter.so .shobj/utl_indenter.o .shobj/utl_indenter.so: util/utl_indenter.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_identifier.o .obj/utl_identifier.so .shobj/utl_identifier.o .shobj/utl_identifier.so: util/utl_identifier.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_idlist.o .obj/utl_idlist.so .shobj/utl_idlist.o .shobj/utl_idlist.so: util/utl_idlist.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/utl_global.o .obj/utl_global.so .shobj/utl_global.o .shobj/utl_global.so: util/utl_global.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/narrow.o .obj/narrow.so .shobj/narrow.o .shobj/narrow.so: narrow/narrow.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h -.obj/be_array.o .obj/be_array.so .shobj/be_array.o .shobj/be_array.so: be/be_array.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_argument.o .obj/be_argument.so .shobj/be_argument.o .shobj/be_argument.so: be/be_argument.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_attribute.o .obj/be_attribute.so .shobj/be_attribute.o .shobj/be_attribute.so: be/be_attribute.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_constant.o .obj/be_constant.so .shobj/be_constant.o .shobj/be_constant.so: be/be_constant.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_enum.o .obj/be_enum.so .shobj/be_enum.o .shobj/be_enum.so: be/be_enum.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_enum_val.o .obj/be_enum_val.so .shobj/be_enum_val.o .shobj/be_enum_val.so: be/be_enum_val.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_exception.o .obj/be_exception.so .shobj/be_exception.o .shobj/be_exception.so: be/be_exception.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_expression.o .obj/be_expression.so .shobj/be_expression.o .shobj/be_expression.so: be/be_expression.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_field.o .obj/be_field.so .shobj/be_field.o .shobj/be_field.so: be/be_field.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_interface.o .obj/be_interface.so .shobj/be_interface.o .shobj/be_interface.so: be/be_interface.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be_visitor_interface.h be_include/be_visitor_scope.h \ - be_include/be_visitor.h be_include/be_visitor_decl.h \ - be_include/be_codegen.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - be_include/be_visitor_interface/interface.h \ - be_include/be_visitor_interface/interface_ch.h \ - be_include/be_visitor_interface/interface_ci.h \ - be_include/be_visitor_interface/interface_cs.h \ - be_include/be_visitor_interface/interface_sh.h \ - be_include/be_visitor_interface/interface_ih.h \ - be_include/be_visitor_interface/interface_si.h \ - be_include/be_visitor_interface/interface_ss.h \ - be_include/be_visitor_interface/interface_is.h \ - be_include/be_visitor_interface/thru_poa_collocated_sh.h \ - be_include/be_visitor_interface/thru_poa_collocated_ss.h \ - be_include/be_visitor_interface/direct_collocated_sh.h \ - be_include/be_visitor_interface/direct_collocated_ss.h \ - be_include/be_visitor_interface/any_op_ch.h \ - be_include/be_visitor_interface/any_op_cs.h \ - be_include/be_visitor_interface/cdr_op_ch.h \ - be_include/be_visitor_interface/cdr_op_ci.h \ - be_include/be_visitor_interface/cdr_op_cs.h \ - be_include/be_visitor_interface/tie_sh.h \ - be_include/be_visitor_interface/tie_si.h \ - be_include/be_visitor_interface/ami_handler_fwd_ch.h \ - be_include/be_visitor_interface/ami_handler_fwd_ci.h \ - be_include/be_visitor_interface/ami_handler_servant_ch.h \ - be_include/be_visitor_interface/ami_handler_servant_cs.h \ - be_include/be_visitor_interface/ami_handler_stub_ch.h \ - be_include/be_visitor_interface/ami_handler_stub_cs.h \ - be_include/be_visitor_interface/collocated_ami_handler_ch.h \ - be_include/be.h $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_stream_factory.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_interface_fwd.o .obj/be_interface_fwd.so .shobj/be_interface_fwd.o .shobj/be_interface_fwd.so: be/be_interface_fwd.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_valuetype.o .obj/be_valuetype.so .shobj/be_valuetype.o .shobj/be_valuetype.so: be/be_valuetype.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_valuetype_fwd.o .obj/be_valuetype_fwd.so .shobj/be_valuetype_fwd.o .shobj/be_valuetype_fwd.so: be/be_valuetype_fwd.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_module.o .obj/be_module.so .shobj/be_module.o .shobj/be_module.so: be/be_module.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_native.o .obj/be_native.so .shobj/be_native.o .shobj/be_native.so: be/be_native.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_operation.o .obj/be_operation.so .shobj/be_operation.o .shobj/be_operation.so: be/be_operation.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_predefined_type.o .obj/be_predefined_type.so .shobj/be_predefined_type.o .shobj/be_predefined_type.so: be/be_predefined_type.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_root.o .obj/be_root.so .shobj/be_root.o .shobj/be_root.so: be/be_root.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_sequence.o .obj/be_sequence.so .shobj/be_sequence.o .shobj/be_sequence.so: be/be_sequence.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_sequence.h be_include/be_visitor_decl.h \ - be_include/be_visitor_sequence/sequence_ch.h \ - be_include/be_visitor_sequence/sequence_ci.h \ - be_include/be_visitor_sequence/sequence_cs.h \ - be_include/be_visitor_sequence/sequence_base.h \ - be_include/be_visitor_sequence/buffer_type.h \ - be_include/be_visitor_sequence/elemtype.h \ - be_include/be_visitor_sequence/any_op_ch.h \ - be_include/be_visitor_sequence/any_op_cs.h \ - be_include/be_visitor_sequence/cdr_op_ch.h \ - be_include/be_visitor_sequence/cdr_op_ci.h \ - be_include/be_visitor_sequence/cdr_op_cs.h -.obj/be_string.o .obj/be_string.so .shobj/be_string.o .shobj/be_string.so: be/be_string.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_structure.o .obj/be_structure.so .shobj/be_structure.o .shobj/be_structure.so: be/be_structure.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_type.o .obj/be_type.so .shobj/be_type.o .shobj/be_type.so: be/be_type.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_typedef.o .obj/be_typedef.so .shobj/be_typedef.o .shobj/be_typedef.so: be/be_typedef.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_union.o .obj/be_union.so .shobj/be_union.o .shobj/be_union.so: be/be_union.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_union_branch.o .obj/be_union_branch.so .shobj/be_union_branch.o .shobj/be_union_branch.so: be/be_union_branch.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_union_label.o .obj/be_union_label.so .shobj/be_union_label.o .shobj/be_union_label.so: be/be_union_label.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_generator.o .obj/be_generator.so .shobj/be_generator.o .shobj/be_generator.so: be/be_generator.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_init.o .obj/be_init.so .shobj/be_init.o .shobj/be_init.so: be/be_init.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be/../../tao/Version.h -.obj/be_produce.o .obj/be_produce.so .shobj/be_produce.o .shobj/be_produce.so: be/be_produce.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_args.o .obj/be_args.so .shobj/be_args.o .shobj/be_args.so: be/be_args.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_helper.o .obj/be_helper.so .shobj/be_helper.o .shobj/be_helper.so: be/be_helper.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_codegen.o .obj/be_codegen.so .shobj/be_codegen.o .shobj/be_codegen.so: be/be_codegen.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_sunsoft.o .obj/be_sunsoft.so .shobj/be_sunsoft.o .shobj/be_sunsoft.so: be/be_sunsoft.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_sunsoft.h -.obj/be_decl.o .obj/be_decl.so .shobj/be_decl.o .shobj/be_decl.so: be/be_decl.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_scope.o .obj/be_scope.so .shobj/be_scope.o .shobj/be_scope.so: be/be_scope.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_stream_factory.o .obj/be_stream_factory.so .shobj/be_stream_factory.o .shobj/be_stream_factory.so: be/be_stream_factory.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_sunsoft.h -.obj/be_visitor_factory.o .obj/be_visitor_factory.so .shobj/be_visitor_factory.o .shobj/be_visitor_factory.so: be/be_visitor_factory.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_argument.h be_include/be_visitor_decl.h \ - be_include/be_visitor_scope.h \ - be_include/be_visitor_argument/argument.h \ - be_include/be_visitor_argument/arglist.h \ - be_include/be_visitor_argument/pre_docall_cs.h \ - be_include/be_visitor_argument/docall_cs.h \ - be_include/be_visitor_argument/post_docall_cs.h \ - be_include/be_visitor_argument/post_docall_compiled_cs.h \ - be_include/be_visitor_argument/vardecl_ss.h \ - be_include/be_visitor_argument/pre_upcall_ss.h \ - be_include/be_visitor_argument/upcall_ss.h \ - be_include/be_visitor_argument/post_upcall_ss.h \ - be_include/be_visitor_argument/marshal_ss.h \ - be_include/be_visitor_argument/post_marshal_ss.h \ - be_include/be_visitor_argument/compiled_marshal_cs.h \ - be_include/be_visitor_argument/compiled_marshal_ss.h \ - be_include/be_visitor_argument/pre_invoke_cs.h \ - be_include/be_visitor_argument/ami_arglist.h \ - be_include/be_visitor_argument/ami_handler_arglist.h \ - be_include/be_visitor_argument/ami_handler_result_arg.h \ - be_include/be_visitor_argument/ami_handler_compiled_marshal_cs.h \ - be_include/be_visitor_argument/ami_handler_upcall_cs.h \ - be_include/be_visitor_argument/ami_handler_vardecl_cs.h \ - be_include/be_visitor_array.h be_include/be_visitor_array/array.h \ - be_include/be_visitor_array/array_ch.h \ - be_include/be_visitor_array/array_ci.h \ - be_include/be_visitor_array/array_cs.h \ - be_include/be_visitor_array/any_op_ch.h \ - be_include/be_visitor_array/any_op_cs.h \ - be_include/be_visitor_array/cdr_op_ch.h \ - be_include/be_visitor_array/cdr_op_ci.h \ - be_include/be_visitor_attribute.h \ - be_include/be_visitor_attribute/attribute.h \ - be_include/be_visitor_constant.h \ - be_include/be_visitor_constant/constant_ch.h \ - be_include/be_visitor_constant/constant_cs.h \ - be_include/be_visitor_enum.h be_include/be_visitor_enum/enum_ch.h \ - be_include/be_visitor_enum/enum_cs.h \ - be_include/be_visitor_enum/any_op_ch.h \ - be_include/be_visitor_enum/any_op_cs.h \ - be_include/be_visitor_enum/cdr_op_ch.h \ - be_include/be_visitor_enum/cdr_op_ci.h \ - be_include/be_visitor_exception.h \ - be_include/be_visitor_exception/exception.h \ - be_include/be_visitor_exception/exception_ch.h \ - be_include/be_visitor_exception/exception_ci.h \ - be_include/be_visitor_exception/exception_cs.h \ - be_include/be_visitor_exception/ctor.h \ - be_include/be_visitor_exception/ctor_assign.h \ - be_include/be_visitor_exception/any_op_ch.h \ - be_include/be_visitor_exception/any_op_cs.h \ - be_include/be_visitor_exception/cdr_op_ch.h \ - be_include/be_visitor_exception/cdr_op_ci.h \ - be_include/be_visitor_exception/cdr_op_cs.h \ - be_include/be_visitor_field.h be_include/be_visitor_field/field_ch.h \ - be_include/be_visitor_field/field_ci.h \ - be_include/be_visitor_field/field_cs.h \ - be_include/be_visitor_field/cdr_op_ch.h \ - be_include/be_visitor_field/cdr_op_ci.h \ - be_include/be_visitor_field/cdr_op_cs.h \ - be_include/be_visitor_interface.h \ - be_include/be_visitor_interface/interface.h \ - be_include/be_visitor_interface/interface_ch.h \ - be_include/be_visitor_interface/interface_ci.h \ - be_include/be_visitor_interface/interface_cs.h \ - be_include/be_visitor_interface/interface_sh.h \ - be_include/be_visitor_interface/interface_ih.h \ - be_include/be_visitor_interface/interface_si.h \ - be_include/be_visitor_interface/interface_ss.h \ - be_include/be_visitor_interface/interface_is.h \ - be_include/be_visitor_interface/thru_poa_collocated_sh.h \ - be_include/be_visitor_interface/thru_poa_collocated_ss.h \ - be_include/be_visitor_interface/direct_collocated_sh.h \ - be_include/be_visitor_interface/direct_collocated_ss.h \ - be_include/be_visitor_interface/any_op_ch.h \ - be_include/be_visitor_interface/any_op_cs.h \ - be_include/be_visitor_interface/cdr_op_ch.h \ - be_include/be_visitor_interface/cdr_op_ci.h \ - be_include/be_visitor_interface/cdr_op_cs.h \ - be_include/be_visitor_interface/tie_sh.h \ - be_include/be_visitor_interface/tie_si.h \ - be_include/be_visitor_interface/ami_handler_fwd_ch.h \ - be_include/be_visitor_interface/ami_handler_fwd_ci.h \ - be_include/be_visitor_interface/ami_handler_servant_ch.h \ - be_include/be_visitor_interface/ami_handler_servant_cs.h \ - be_include/be_visitor_interface/ami_handler_stub_ch.h \ - be_include/be_visitor_interface/ami_handler_stub_cs.h \ - be_include/be_visitor_interface/collocated_ami_handler_ch.h \ - be_include/be_visitor_interface_fwd.h \ - be_include/be_visitor_interface_fwd/interface_fwd_ch.h \ - be_include/be_visitor_interface_fwd/interface_fwd_ci.h \ - be_include/be_visitor_interface_fwd/cdr_op_ci.h \ - be_include/be_visitor_valuetype.h \ - be_include/be_visitor_valuetype/valuetype.h \ - be_include/be_visitor_valuetype/valuetype_ch.h \ - be_include/be_visitor_valuetype/valuetype_obv_ch.h \ - be_include/be_visitor_valuetype/valuetype_obv_cs.h \ - be_include/be_visitor_valuetype/valuetype_ci.h \ - be_include/be_visitor_valuetype/valuetype_cs.h \ - be_include/be_visitor_valuetype/cdr_op_ch.h \ - be_include/be_visitor_valuetype/cdr_op_ci.h \ - be_include/be_visitor_valuetype/marshal_ch.h \ - be_include/be_visitor_valuetype/marshal_cs.h \ - be_include/be_visitor_valuetype/arglist.h \ - be_include/be_visitor_valuetype/field_ch.h \ - be_include/be_visitor_valuetype/field_cs.h \ - be_include/be_visitor_valuetype/field_cdr_ci.h \ - be_include/be_visitor_valuetype/obv_module.h \ - be_include/be_visitor_valuetype_fwd.h \ - be_include/be_visitor_valuetype_fwd/valuetype_fwd_ch.h \ - be_include/be_visitor_valuetype_fwd/valuetype_fwd_ci.h \ - be_include/be_visitor_valuetype_fwd/cdr_op_ci.h \ - be_include/be_visitor_module.h be_include/be_visitor_module/module.h \ - be_include/be_visitor_module/module_ch.h \ - be_include/be_visitor_module/module_sh.h \ - be_include/be_visitor_module/module_ih.h \ - be_include/be_visitor_module/any_op.h \ - be_include/be_visitor_module/cdr_op.h \ - be_include/be_visitor_operation.h \ - be_include/be_visitor_operation/operation.h \ - be_include/be_visitor_operation/operation_ch.h \ - be_include/be_visitor_operation/operation_cs.h \ - be_include/be_visitor_operation/operation_sh.h \ - be_include/be_visitor_operation/operation_ih.h \ - be_include/be_visitor_operation/operation_ss.h \ - be_include/be_visitor_operation/operation_is.h \ - be_include/be_visitor_operation/tie_sh.h \ - be_include/be_visitor_operation/tie_si.h \ - be_include/be_visitor_operation/thru_poa_collocated_sh.h \ - be_include/be_visitor_operation/thru_poa_collocated_ss.h \ - be_include/be_visitor_operation/direct_collocated_sh.h \ - be_include/be_visitor_operation/direct_collocated_ss.h \ - be_include/be_visitor_operation/arglist.h \ - be_include/be_visitor_operation/rettype.h \ - be_include/be_visitor_operation/rettype_is.h \ - be_include/be_visitor_operation/rettype_vardecl_cs.h \ - be_include/be_visitor_operation/rettype_pre_docall_cs.h \ - be_include/be_visitor_operation/rettype_docall_cs.h \ - be_include/be_visitor_operation/rettype_post_docall_cs.h \ - be_include/be_visitor_operation/rettype_return_cs.h \ - be_include/be_visitor_operation/exceptlist_cs.h \ - be_include/be_visitor_operation/argument.h \ - be_include/be_visitor_operation/argument_invoke.h \ - be_include/be_visitor_operation/argument_marshal.h \ - be_include/be_visitor_operation/rettype_vardecl_ss.h \ - be_include/be_visitor_operation/rettype_assign_ss.h \ - be_include/be_visitor_operation/rettype_post_upcall_ss.h \ - be_include/be_visitor_operation/rettype_marshal_ss.h \ - be_include/be_visitor_operation/compiled_marshal.h \ - be_include/be_visitor_operation/rettype_pre_invoke_cs.h \ - be_include/be_visitor_operation/ami_ch.h \ - be_include/be_visitor_operation/ami_cs.h \ - be_include/be_visitor_operation/ami_arglist.h \ - be_include/be_visitor_operation/ami_handler_operation_ch.h \ - be_include/be_visitor_operation/ami_handler_arglist.h \ - be_include/be_visitor_operation/ami_handler_operation_cs.h \ - be_include/be_visitor_operation/ami_handler_skeleton_cs.h \ - be_include/be_visitor_operation/ami_handler_argument_marshal.h \ - be_include/be_visitor_root.h be_include/be_visitor_root/root.h \ - be_include/be_visitor_root/root_ch.h \ - be_include/be_visitor_root/root_ci.h \ - be_include/be_visitor_root/root_cs.h \ - be_include/be_visitor_root/root_sh.h \ - be_include/be_visitor_root/root_si.h \ - be_include/be_visitor_root/root_ss.h \ - be_include/be_visitor_root/root_is.h \ - be_include/be_visitor_root/root_ih.h \ - be_include/be_visitor_root/any_op.h \ - be_include/be_visitor_root/cdr_op.h be_include/be_visitor_sequence.h \ - be_include/be_visitor_sequence/sequence_ch.h \ - be_include/be_visitor_sequence/sequence_ci.h \ - be_include/be_visitor_sequence/sequence_cs.h \ - be_include/be_visitor_sequence/sequence_base.h \ - be_include/be_visitor_sequence/buffer_type.h \ - be_include/be_visitor_sequence/elemtype.h \ - be_include/be_visitor_sequence/any_op_ch.h \ - be_include/be_visitor_sequence/any_op_cs.h \ - be_include/be_visitor_sequence/cdr_op_ch.h \ - be_include/be_visitor_sequence/cdr_op_ci.h \ - be_include/be_visitor_sequence/cdr_op_cs.h \ - be_include/be_visitor_structure.h \ - be_include/be_visitor_structure/structure.h \ - be_include/be_visitor_structure/structure_ch.h \ - be_include/be_visitor_structure/structure_ci.h \ - be_include/be_visitor_structure/structure_cs.h \ - be_include/be_visitor_structure/any_op_ch.h \ - be_include/be_visitor_structure/any_op_cs.h \ - be_include/be_visitor_structure/cdr_op_ch.h \ - be_include/be_visitor_structure/cdr_op_ci.h \ - be_include/be_visitor_structure/cdr_op_cs.h \ - be_include/be_visitor_typecode.h \ - be_include/be_visitor_typecode/typecode_decl.h \ - be_include/be_visitor_typecode/typecode_defn.h \ - be_include/be_visitor_typedef.h \ - be_include/be_visitor_typedef/typedef.h \ - be_include/be_visitor_typedef/typedef_ch.h \ - be_include/be_visitor_typedef/typedef_ci.h \ - be_include/be_visitor_typedef/typedef_cs.h \ - be_include/be_visitor_typedef/any_op_ch.h \ - be_include/be_visitor_typedef/any_op_cs.h \ - be_include/be_visitor_typedef/cdr_op_ch.h \ - be_include/be_visitor_typedef/cdr_op_ci.h \ - be_include/be_visitor_typedef/cdr_op_cs.h \ - be_include/be_visitor_union.h be_include/be_visitor_union/union.h \ - be_include/be_visitor_union/union_ch.h \ - be_include/be_visitor_union/union_ci.h \ - be_include/be_visitor_union/union_cs.h \ - be_include/be_visitor_union/discriminant_ch.h \ - be_include/be_visitor_union/discriminant_ci.h \ - be_include/be_visitor_union/discriminant_cs.h \ - be_include/be_visitor_union/any_op_ch.h \ - be_include/be_visitor_union/any_op_cs.h \ - be_include/be_visitor_union/cdr_op_ch.h \ - be_include/be_visitor_union/cdr_op_ci.h \ - be_include/be_visitor_union/cdr_op_cs.h \ - be_include/be_visitor_union_branch.h \ - be_include/be_visitor_union_branch/public_ch.h \ - be_include/be_visitor_union_branch/public_ci.h \ - be_include/be_visitor_union_branch/public_cs.h \ - be_include/be_visitor_union_branch/public_assign_cs.h \ - be_include/be_visitor_union_branch/public_reset_cs.h \ - be_include/be_visitor_union_branch/public_access_cs.h \ - be_include/be_visitor_union_branch/private_ch.h \ - be_include/be_visitor_union_branch/cdr_op_ch.h \ - be_include/be_visitor_union_branch/cdr_op_ci.h \ - be_include/be_visitor_union_branch/cdr_op_cs.h -.obj/be_visitor.o .obj/be_visitor.so .shobj/be_visitor.o .shobj/be_visitor.so: be/be_visitor.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_visitor_argument.o .obj/be_visitor_argument.so .shobj/be_visitor_argument.o .shobj/be_visitor_argument.so: be/be_visitor_argument.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_argument.h be_include/be_visitor_decl.h \ - be_include/be_visitor_scope.h \ - be_include/be_visitor_argument/argument.h \ - be_include/be_visitor_argument/arglist.h \ - be_include/be_visitor_argument/pre_docall_cs.h \ - be_include/be_visitor_argument/docall_cs.h \ - be_include/be_visitor_argument/post_docall_cs.h \ - be_include/be_visitor_argument/post_docall_compiled_cs.h \ - be_include/be_visitor_argument/vardecl_ss.h \ - be_include/be_visitor_argument/pre_upcall_ss.h \ - be_include/be_visitor_argument/upcall_ss.h \ - be_include/be_visitor_argument/post_upcall_ss.h \ - be_include/be_visitor_argument/marshal_ss.h \ - be_include/be_visitor_argument/post_marshal_ss.h \ - be_include/be_visitor_argument/compiled_marshal_cs.h \ - be_include/be_visitor_argument/compiled_marshal_ss.h \ - be_include/be_visitor_argument/pre_invoke_cs.h \ - be_include/be_visitor_argument/ami_arglist.h \ - be_include/be_visitor_argument/ami_handler_arglist.h \ - be_include/be_visitor_argument/ami_handler_result_arg.h \ - be_include/be_visitor_argument/ami_handler_compiled_marshal_cs.h \ - be_include/be_visitor_argument/ami_handler_upcall_cs.h \ - be_include/be_visitor_argument/ami_handler_vardecl_cs.h \ - be/be_visitor_argument/arglist.cpp \ - be/be_visitor_argument/argument.cpp \ - be/be_visitor_argument/docall_cs.cpp \ - be/be_visitor_argument/marshal_ss.cpp \ - be/be_visitor_argument/post_docall_cs.cpp \ - be/be_visitor_argument/post_docall_compiled_cs.cpp \ - be/be_visitor_argument/post_marshal_ss.cpp \ - be/be_visitor_argument/post_upcall_ss.cpp \ - be/be_visitor_argument/pre_docall_cs.cpp \ - be/be_visitor_argument/pre_upcall_ss.cpp \ - be/be_visitor_argument/upcall_ss.cpp \ - be/be_visitor_argument/vardecl_ss.cpp \ - be/be_visitor_argument/compiled_marshal_cs.cpp \ - be/be_visitor_argument/compiled_marshal_ss.cpp \ - be/be_visitor_argument/pre_invoke_cs.cpp \ - be/be_visitor_argument/ami_arglist.cpp \ - be/be_visitor_argument/ami_handler_arglist.cpp \ - be/be_visitor_argument/ami_handler_result_arg.cpp \ - be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp \ - be/be_visitor_argument/ami_handler_upcall_cs.cpp \ - be/be_visitor_argument/ami_handler_vardecl_cs.cpp -.obj/be_visitor_array.o .obj/be_visitor_array.so .shobj/be_visitor_array.o .shobj/be_visitor_array.so: be/be_visitor_array.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_array.h be_include/be_visitor_decl.h \ - be_include/be_visitor_array/array.h \ - be_include/be_visitor_array/array_ch.h \ - be_include/be_visitor_array/array_ci.h \ - be_include/be_visitor_array/array_cs.h \ - be_include/be_visitor_array/any_op_ch.h \ - be_include/be_visitor_array/any_op_cs.h \ - be_include/be_visitor_array/cdr_op_ch.h \ - be_include/be_visitor_array/cdr_op_ci.h be/be_visitor_array/array.cpp \ - be/be_visitor_array/array_ch.cpp be/be_visitor_array/array_ci.cpp \ - be/be_visitor_array/array_cs.cpp be/be_visitor_array/any_op_ch.cpp \ - be/be_visitor_array/any_op_cs.cpp be/be_visitor_array/cdr_op_ch.cpp \ - be/be_visitor_array/cdr_op_ci.cpp -.obj/be_visitor_attribute.o .obj/be_visitor_attribute.so .shobj/be_visitor_attribute.o .shobj/be_visitor_attribute.so: be/be_visitor_attribute.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_attribute.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h \ - be_include/be_visitor_attribute/attribute.h \ - be/be_visitor_attribute/attribute.cpp -.obj/be_visitor_constant.o .obj/be_visitor_constant.so .shobj/be_visitor_constant.o .shobj/be_visitor_constant.so: be/be_visitor_constant.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_constant.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h \ - be_include/be_visitor_constant/constant_ch.h \ - be_include/be_visitor_constant/constant_cs.h \ - be/be_visitor_constant/constant_ch.cpp \ - be/be_visitor_constant/constant_cs.cpp -.obj/be_visitor_context.o .obj/be_visitor_context.so .shobj/be_visitor_context.o .shobj/be_visitor_context.so: be/be_visitor_context.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h -.obj/be_visitor_decl.o .obj/be_visitor_decl.so .shobj/be_visitor_decl.o .shobj/be_visitor_decl.so: be/be_visitor_decl.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_decl.h -.obj/be_visitor_enum.o .obj/be_visitor_enum.so .shobj/be_visitor_enum.o .shobj/be_visitor_enum.so: be/be_visitor_enum.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_enum.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h be_include/be_visitor_enum/enum_ch.h \ - be_include/be_visitor_enum/enum_cs.h \ - be_include/be_visitor_enum/any_op_ch.h \ - be_include/be_visitor_enum/any_op_cs.h \ - be_include/be_visitor_enum/cdr_op_ch.h \ - be_include/be_visitor_enum/cdr_op_ci.h be/be_visitor_enum/enum_ch.cpp \ - be/be_visitor_enum/enum_cs.cpp be/be_visitor_enum/any_op_ch.cpp \ - be/be_visitor_enum/any_op_cs.cpp be/be_visitor_enum/cdr_op_ch.cpp \ - be/be_visitor_enum/cdr_op_ci.cpp -.obj/be_visitor_exception.o .obj/be_visitor_exception.so .shobj/be_visitor_exception.o .shobj/be_visitor_exception.so: be/be_visitor_exception.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_exception.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h \ - be_include/be_visitor_exception/exception.h \ - be_include/be_visitor_exception/exception_ch.h \ - be_include/be_visitor_exception/exception_ci.h \ - be_include/be_visitor_exception/exception_cs.h \ - be_include/be_visitor_exception/ctor.h \ - be_include/be_visitor_exception/ctor_assign.h \ - be_include/be_visitor_exception/any_op_ch.h \ - be_include/be_visitor_exception/any_op_cs.h \ - be_include/be_visitor_exception/cdr_op_ch.h \ - be_include/be_visitor_exception/cdr_op_ci.h \ - be_include/be_visitor_exception/cdr_op_cs.h \ - be/be_visitor_exception/exception.cpp \ - be/be_visitor_exception/exception_ch.cpp \ - be/be_visitor_exception/exception_ci.cpp \ - be/be_visitor_exception/exception_cs.cpp \ - be/be_visitor_exception/exception_ctor.cpp \ - be/be_visitor_exception/ctor_assign.cpp \ - be/be_visitor_exception/any_op_ch.cpp \ - be/be_visitor_exception/any_op_cs.cpp \ - be/be_visitor_exception/cdr_op_ch.cpp \ - be/be_visitor_exception/cdr_op_ci.cpp be_include/be_visitor_field.h \ - be_include/be_visitor_field/field_ch.h \ - be_include/be_visitor_field/field_ci.h \ - be_include/be_visitor_field/field_cs.h \ - be_include/be_visitor_field/cdr_op_ch.h \ - be_include/be_visitor_field/cdr_op_ci.h \ - be_include/be_visitor_field/cdr_op_cs.h \ - be/be_visitor_exception/cdr_op_cs.cpp -.obj/be_visitor_field.o .obj/be_visitor_field.so .shobj/be_visitor_field.o .shobj/be_visitor_field.so: be/be_visitor_field.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_field.h be_include/be_visitor_decl.h \ - be_include/be_visitor_field/field_ch.h \ - be_include/be_visitor_field/field_ci.h \ - be_include/be_visitor_field/field_cs.h \ - be_include/be_visitor_field/cdr_op_ch.h \ - be_include/be_visitor_field/cdr_op_ci.h be_include/be_visitor_scope.h \ - be_include/be_visitor_field/cdr_op_cs.h \ - be/be_visitor_field/field_ch.cpp be/be_visitor_field/field_ci.cpp \ - be/be_visitor_field/field_cs.cpp be/be_visitor_field/cdr_op_ch.cpp \ - be/be_visitor_field/cdr_op_ci.cpp be/be_visitor_field/cdr_op_cs.cpp -.obj/be_visitor_interface.o .obj/be_visitor_interface.so .shobj/be_visitor_interface.o .shobj/be_visitor_interface.so: be/be_visitor_interface.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_interface.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h \ - be_include/be_visitor_interface/interface.h \ - be_include/be_visitor_interface/interface_ch.h \ - be_include/be_visitor_interface/interface_ci.h \ - be_include/be_visitor_interface/interface_cs.h \ - be_include/be_visitor_interface/interface_sh.h \ - be_include/be_visitor_interface/interface_ih.h \ - be_include/be_visitor_interface/interface_si.h \ - be_include/be_visitor_interface/interface_ss.h \ - be_include/be_visitor_interface/interface_is.h \ - be_include/be_visitor_interface/thru_poa_collocated_sh.h \ - be_include/be_visitor_interface/thru_poa_collocated_ss.h \ - be_include/be_visitor_interface/direct_collocated_sh.h \ - be_include/be_visitor_interface/direct_collocated_ss.h \ - be_include/be_visitor_interface/any_op_ch.h \ - be_include/be_visitor_interface/any_op_cs.h \ - be_include/be_visitor_interface/cdr_op_ch.h \ - be_include/be_visitor_interface/cdr_op_ci.h \ - be_include/be_visitor_interface/cdr_op_cs.h \ - be_include/be_visitor_interface/tie_sh.h \ - be_include/be_visitor_interface/tie_si.h \ - be_include/be_visitor_interface/ami_handler_fwd_ch.h \ - be_include/be_visitor_interface/ami_handler_fwd_ci.h \ - be_include/be_visitor_interface/ami_handler_servant_ch.h \ - be_include/be_visitor_interface/ami_handler_servant_cs.h \ - be_include/be_visitor_interface/ami_handler_stub_ch.h \ - be_include/be_visitor_interface/ami_handler_stub_cs.h \ - be_include/be_visitor_interface/collocated_ami_handler_ch.h \ - be/be_visitor_interface/interface.cpp \ - be/be_visitor_interface/interface_ch.cpp \ - be/be_visitor_interface/interface_ci.cpp \ - be/be_visitor_interface/interface_cs.cpp \ - be/be_visitor_interface/interface_sh.cpp \ - be/be_visitor_interface/interface_ih.cpp \ - be/be_visitor_interface/interface_si.cpp \ - be/be_visitor_interface/interface_ss.cpp \ - be/be_visitor_interface/interface_is.cpp \ - be/be_visitor_interface/thru_poa_collocated_sh.cpp \ - be/be_visitor_interface/thru_poa_collocated_ss.cpp \ - be/be_visitor_interface/direct_collocated_sh.cpp \ - be/be_visitor_interface/direct_collocated_ss.cpp \ - be/be_visitor_interface/tie_sh.cpp be/be_visitor_interface/tie_si.cpp \ - be/be_visitor_interface/any_op_ch.cpp \ - be/be_visitor_interface/any_op_cs.cpp \ - be/be_visitor_interface/cdr_op_ch.cpp \ - be/be_visitor_interface/cdr_op_ci.cpp \ - be/be_visitor_interface/cdr_op_cs.cpp \ - be/be_visitor_interface/ami_handler_fwd_ch.cpp \ - be_include/be_visitor_interface_fwd.h \ - be_include/be_visitor_interface_fwd/interface_fwd_ch.h \ - be_include/be_visitor_interface_fwd/interface_fwd_ci.h \ - be_include/be_visitor_interface_fwd/cdr_op_ci.h \ - be/be_visitor_interface/ami_handler_fwd_ci.cpp \ - be/be_visitor_interface/ami_handler_servant_ch.cpp \ - be/be_visitor_interface/ami_handler_servant_cs.cpp \ - be/be_visitor_interface/ami_handler_stub_ch.cpp \ - be/be_visitor_interface/ami_handler_stub_cs.cpp \ - be/be_visitor_interface/collocated_ami_handler_ch.cpp -.obj/be_visitor_interface_fwd.o .obj/be_visitor_interface_fwd.so .shobj/be_visitor_interface_fwd.o .shobj/be_visitor_interface_fwd.so: be/be_visitor_interface_fwd.cpp \ - include/idl.h $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_interface_fwd.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h \ - be_include/be_visitor_interface_fwd/interface_fwd_ch.h \ - be_include/be_visitor_interface_fwd/interface_fwd_ci.h \ - be_include/be_visitor_interface_fwd/cdr_op_ci.h \ - be/be_visitor_interface_fwd/interface_fwd_ch.cpp \ - be/be_visitor_interface_fwd/interface_fwd_ci.cpp \ - be/be_visitor_interface_fwd/cdr_op_ci.cpp -.obj/be_visitor_valuetype.o .obj/be_visitor_valuetype.so .shobj/be_visitor_valuetype.o .shobj/be_visitor_valuetype.so: be/be_visitor_valuetype.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_valuetype.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h \ - be_include/be_visitor_valuetype/valuetype.h \ - be_include/be_visitor_valuetype/valuetype_ch.h \ - be_include/be_visitor_valuetype/valuetype_obv_ch.h \ - be_include/be_visitor_valuetype/valuetype_obv_cs.h \ - be_include/be_visitor_valuetype/valuetype_ci.h \ - be_include/be_visitor_valuetype/valuetype_cs.h \ - be_include/be_visitor_valuetype/cdr_op_ch.h \ - be_include/be_visitor_valuetype/cdr_op_ci.h \ - be_include/be_visitor_valuetype/marshal_ch.h \ - be_include/be_visitor_valuetype/marshal_cs.h \ - be_include/be_visitor_valuetype/arglist.h \ - be_include/be_visitor_valuetype/field_ch.h \ - be_include/be_visitor_valuetype/field_cs.h \ - be_include/be_visitor_valuetype/field_cdr_ci.h \ - be_include/be_visitor_valuetype/obv_module.h \ - be/be_visitor_valuetype/valuetype.cpp \ - be/be_visitor_valuetype/valuetype_ch.cpp \ - be/be_visitor_valuetype/valuetype_obv_ch.cpp \ - be/be_visitor_valuetype/valuetype_obv_cs.cpp \ - be/be_visitor_valuetype/valuetype_ci.cpp \ - be/be_visitor_valuetype/valuetype_cs.cpp \ - be/be_visitor_valuetype/cdr_op_ch.cpp \ - be/be_visitor_valuetype/cdr_op_ci.cpp \ - be/be_visitor_valuetype/marshal_ch.cpp \ - be/be_visitor_valuetype/marshal_cs.cpp \ - be/be_visitor_valuetype/arglist.cpp be_include/be_visitor_operation.h \ - be_include/be_visitor_operation/operation.h \ - be_include/be_visitor_operation/operation_ch.h \ - be_include/be_visitor_operation/operation_cs.h \ - be_include/be_visitor_operation/operation_sh.h \ - be_include/be_visitor_operation/operation_ih.h \ - be_include/be_visitor_operation/operation_ss.h \ - be_include/be_visitor_operation/operation_is.h \ - be_include/be_visitor_operation/tie_sh.h \ - be_include/be_visitor_operation/tie_si.h \ - be_include/be_visitor_operation/thru_poa_collocated_sh.h \ - be_include/be_visitor_operation/thru_poa_collocated_ss.h \ - be_include/be_visitor_operation/direct_collocated_sh.h \ - be_include/be_visitor_operation/direct_collocated_ss.h \ - be_include/be_visitor_operation/arglist.h \ - be_include/be_visitor_operation/rettype.h \ - be_include/be_visitor_operation/rettype_is.h \ - be_include/be_visitor_operation/rettype_vardecl_cs.h \ - be_include/be_visitor_operation/rettype_pre_docall_cs.h \ - be_include/be_visitor_operation/rettype_docall_cs.h \ - be_include/be_visitor_operation/rettype_post_docall_cs.h \ - be_include/be_visitor_operation/rettype_return_cs.h \ - be_include/be_visitor_operation/exceptlist_cs.h \ - be_include/be_visitor_operation/argument.h \ - be_include/be_visitor_operation/argument_invoke.h \ - be_include/be_visitor_operation/argument_marshal.h \ - be_include/be_visitor_operation/rettype_vardecl_ss.h \ - be_include/be_visitor_operation/rettype_assign_ss.h \ - be_include/be_visitor_operation/rettype_post_upcall_ss.h \ - be_include/be_visitor_operation/rettype_marshal_ss.h \ - be_include/be_visitor_operation/compiled_marshal.h \ - be_include/be_visitor_operation/rettype_pre_invoke_cs.h \ - be_include/be_visitor_operation/ami_ch.h \ - be_include/be_visitor_operation/ami_cs.h \ - be_include/be_visitor_operation/ami_arglist.h \ - be_include/be_visitor_operation/ami_handler_operation_ch.h \ - be_include/be_visitor_operation/ami_handler_arglist.h \ - be_include/be_visitor_operation/ami_handler_operation_cs.h \ - be_include/be_visitor_operation/ami_handler_skeleton_cs.h \ - be_include/be_visitor_operation/ami_handler_argument_marshal.h \ - be/be_visitor_valuetype/field_ch.cpp \ - be/be_visitor_valuetype/field_cs.cpp \ - be/be_visitor_valuetype/field_cdr_ci.cpp \ - be_include/be_visitor_field.h be_include/be_visitor_field/field_ch.h \ - be_include/be_visitor_field/field_ci.h \ - be_include/be_visitor_field/field_cs.h \ - be_include/be_visitor_field/cdr_op_ch.h \ - be_include/be_visitor_field/cdr_op_ci.h \ - be_include/be_visitor_field/cdr_op_cs.h \ - be/be_visitor_valuetype/obv_module.cpp -.obj/be_visitor_valuetype_fwd.o .obj/be_visitor_valuetype_fwd.so .shobj/be_visitor_valuetype_fwd.o .shobj/be_visitor_valuetype_fwd.so: be/be_visitor_valuetype_fwd.cpp \ - include/idl.h $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_valuetype_fwd.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h \ - be_include/be_visitor_valuetype_fwd/valuetype_fwd_ch.h \ - be_include/be_visitor_valuetype_fwd/valuetype_fwd_ci.h \ - be_include/be_visitor_valuetype_fwd/cdr_op_ci.h -.obj/be_visitor_module.o .obj/be_visitor_module.so .shobj/be_visitor_module.o .shobj/be_visitor_module.so: be/be_visitor_module.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_module.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h be_include/be_visitor_module/module.h \ - be_include/be_visitor_module/module_ch.h \ - be_include/be_visitor_module/module_sh.h \ - be_include/be_visitor_module/module_ih.h \ - be_include/be_visitor_module/any_op.h \ - be_include/be_visitor_module/cdr_op.h be/be_visitor_module/module.cpp \ - be/be_visitor_module/module_ch.cpp be/be_visitor_module/module_sh.cpp \ - be/be_visitor_module/module_ih.cpp be/be_visitor_module/any_op.cpp \ - be/be_visitor_module/cdr_op.cpp -.obj/be_visitor_operation.o .obj/be_visitor_operation.so .shobj/be_visitor_operation.o .shobj/be_visitor_operation.so: be/be_visitor_operation.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_operation.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h \ - be_include/be_visitor_operation/operation.h \ - be_include/be_visitor_operation/operation_ch.h \ - be_include/be_visitor_operation/operation_cs.h \ - be_include/be_visitor_operation/operation_sh.h \ - be_include/be_visitor_operation/operation_ih.h \ - be_include/be_visitor_operation/operation_ss.h \ - be_include/be_visitor_operation/operation_is.h \ - be_include/be_visitor_operation/tie_sh.h \ - be_include/be_visitor_operation/tie_si.h \ - be_include/be_visitor_operation/thru_poa_collocated_sh.h \ - be_include/be_visitor_operation/thru_poa_collocated_ss.h \ - be_include/be_visitor_operation/direct_collocated_sh.h \ - be_include/be_visitor_operation/direct_collocated_ss.h \ - be_include/be_visitor_operation/arglist.h \ - be_include/be_visitor_operation/rettype.h \ - be_include/be_visitor_operation/rettype_is.h \ - be_include/be_visitor_operation/rettype_vardecl_cs.h \ - be_include/be_visitor_operation/rettype_pre_docall_cs.h \ - be_include/be_visitor_operation/rettype_docall_cs.h \ - be_include/be_visitor_operation/rettype_post_docall_cs.h \ - be_include/be_visitor_operation/rettype_return_cs.h \ - be_include/be_visitor_operation/exceptlist_cs.h \ - be_include/be_visitor_operation/argument.h \ - be_include/be_visitor_operation/argument_invoke.h \ - be_include/be_visitor_operation/argument_marshal.h \ - be_include/be_visitor_operation/rettype_vardecl_ss.h \ - be_include/be_visitor_operation/rettype_assign_ss.h \ - be_include/be_visitor_operation/rettype_post_upcall_ss.h \ - be_include/be_visitor_operation/rettype_marshal_ss.h \ - be_include/be_visitor_operation/compiled_marshal.h \ - be_include/be_visitor_operation/rettype_pre_invoke_cs.h \ - be_include/be_visitor_operation/ami_ch.h \ - be_include/be_visitor_operation/ami_cs.h \ - be_include/be_visitor_operation/ami_arglist.h \ - be_include/be_visitor_operation/ami_handler_operation_ch.h \ - be_include/be_visitor_operation/ami_handler_arglist.h \ - be_include/be_visitor_operation/ami_handler_operation_cs.h \ - be_include/be_visitor_operation/ami_handler_skeleton_cs.h \ - be_include/be_visitor_operation/ami_handler_argument_marshal.h \ - be/be_visitor_operation/operation.cpp \ - be/be_visitor_operation/arglist.cpp \ - be/be_visitor_operation/argument.cpp \ - be/be_visitor_operation/argument_invoke.cpp \ - be/be_visitor_operation/argument_marshal.cpp \ - be/be_visitor_operation/thru_poa_collocated_sh.cpp \ - be/be_visitor_operation/thru_poa_collocated_ss.cpp \ - be/be_visitor_operation/direct_collocated_sh.cpp \ - be/be_visitor_operation/direct_collocated_ss.cpp \ - be/be_visitor_operation/exceptlist_cs.cpp \ - be/be_visitor_operation/operation_ch.cpp \ - be/be_visitor_operation/operation_cs.cpp \ - be/be_visitor_operation/operation_sh.cpp \ - be/be_visitor_operation/operation_ih.cpp \ - be/be_visitor_operation/operation_ss.cpp \ - be_include/be_visitor_argument.h \ - be_include/be_visitor_argument/argument.h \ - be_include/be_visitor_argument/arglist.h \ - be_include/be_visitor_argument/pre_docall_cs.h \ - be_include/be_visitor_argument/docall_cs.h \ - be_include/be_visitor_argument/post_docall_cs.h \ - be_include/be_visitor_argument/post_docall_compiled_cs.h \ - be_include/be_visitor_argument/vardecl_ss.h \ - be_include/be_visitor_argument/pre_upcall_ss.h \ - be_include/be_visitor_argument/upcall_ss.h \ - be_include/be_visitor_argument/post_upcall_ss.h \ - be_include/be_visitor_argument/marshal_ss.h \ - be_include/be_visitor_argument/post_marshal_ss.h \ - be_include/be_visitor_argument/compiled_marshal_cs.h \ - be_include/be_visitor_argument/compiled_marshal_ss.h \ - be_include/be_visitor_argument/pre_invoke_cs.h \ - be_include/be_visitor_argument/ami_arglist.h \ - be_include/be_visitor_argument/ami_handler_arglist.h \ - be_include/be_visitor_argument/ami_handler_result_arg.h \ - be_include/be_visitor_argument/ami_handler_compiled_marshal_cs.h \ - be_include/be_visitor_argument/ami_handler_upcall_cs.h \ - be_include/be_visitor_argument/ami_handler_vardecl_cs.h \ - be/be_visitor_operation/operation_is.cpp \ - be/be_visitor_operation/rettype.cpp \ - be/be_visitor_operation/rettype_is.cpp \ - be/be_visitor_operation/rettype_assign_ss.cpp \ - be/be_visitor_operation/rettype_docall_cs.cpp \ - be/be_visitor_operation/rettype_marshal_ss.cpp \ - be/be_visitor_operation/rettype_post_docall_cs.cpp \ - be/be_visitor_operation/rettype_post_upcall_ss.cpp \ - be/be_visitor_operation/rettype_pre_docall_cs.cpp \ - be/be_visitor_operation/rettype_return_cs.cpp \ - be/be_visitor_operation/rettype_vardecl_cs.cpp \ - be/be_visitor_operation/rettype_vardecl_ss.cpp \ - be/be_visitor_operation/tie_sh.cpp be/be_visitor_operation/tie_si.cpp \ - be/be_visitor_operation/compiled_marshal.cpp \ - be/be_visitor_operation/rettype_pre_invoke_cs.cpp \ - be/be_visitor_operation/ami_ch.cpp be/be_visitor_operation/ami_cs.cpp \ - be/be_visitor_operation/ami_arglist.cpp \ - be/be_visitor_operation/ami_handler_operation_ch.cpp \ - be/be_visitor_operation/ami_handler_arglist.cpp \ - be/be_visitor_operation/ami_handler_operation_cs.cpp \ - be/be_visitor_operation/ami_handler_skeleton_cs.cpp \ - be/be_visitor_operation/ami_handler_argument_marshal.cpp -.obj/be_visitor_root.o .obj/be_visitor_root.so .shobj/be_visitor_root.o .shobj/be_visitor_root.so: be/be_visitor_root.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_root.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h be_include/be_visitor_root/root.h \ - be_include/be_visitor_root/root_ch.h \ - be_include/be_visitor_root/root_ci.h \ - be_include/be_visitor_root/root_cs.h \ - be_include/be_visitor_root/root_sh.h \ - be_include/be_visitor_root/root_si.h \ - be_include/be_visitor_root/root_ss.h \ - be_include/be_visitor_root/root_is.h \ - be_include/be_visitor_root/root_ih.h \ - be_include/be_visitor_root/any_op.h \ - be_include/be_visitor_root/cdr_op.h be/be_visitor_root/root.cpp \ - be/be_visitor_root/root_ch.cpp be/be_visitor_root/root_ci.cpp \ - be/be_visitor_root/root_cs.cpp be/be_visitor_root/root_sh.cpp \ - be/be_visitor_root/root_si.cpp be/be_visitor_root/root_ss.cpp \ - be/be_visitor_root/root_is.cpp be/be_visitor_root/root_ih.cpp \ - be/be_visitor_root/any_op.cpp be/be_visitor_root/cdr_op.cpp -.obj/be_visitor_scope.o .obj/be_visitor_scope.so .shobj/be_visitor_scope.o .shobj/be_visitor_scope.so: be/be_visitor_scope.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_scope.h be_include/be_visitor_decl.h -.obj/be_visitor_sequence.o .obj/be_visitor_sequence.so .shobj/be_visitor_sequence.o .shobj/be_visitor_sequence.so: be/be_visitor_sequence.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_sequence.h be_include/be_visitor_decl.h \ - be_include/be_visitor_sequence/sequence_ch.h \ - be_include/be_visitor_sequence/sequence_ci.h \ - be_include/be_visitor_sequence/sequence_cs.h \ - be_include/be_visitor_sequence/sequence_base.h \ - be_include/be_visitor_sequence/buffer_type.h \ - be_include/be_visitor_sequence/elemtype.h \ - be_include/be_visitor_sequence/any_op_ch.h \ - be_include/be_visitor_sequence/any_op_cs.h \ - be_include/be_visitor_sequence/cdr_op_ch.h \ - be_include/be_visitor_sequence/cdr_op_ci.h \ - be_include/be_visitor_sequence/cdr_op_cs.h \ - be/be_visitor_sequence/any_op_ch.cpp \ - be/be_visitor_sequence/any_op_cs.cpp \ - be/be_visitor_sequence/cdr_op_ch.cpp \ - be/be_visitor_sequence/cdr_op_ci.cpp \ - be/be_visitor_sequence/cdr_op_cs.cpp \ - be/be_visitor_sequence/buffer_type.cpp \ - be/be_visitor_sequence/elemtype.cpp \ - be/be_visitor_sequence/sequence_base.cpp \ - be/be_visitor_sequence/sequence_ch.cpp \ - be/be_visitor_sequence/sequence_ci.cpp \ - be/be_visitor_sequence/sequence_cs.cpp \ - be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp \ - be/be_visitor_sequence/gen_bounded_sequence_ch.cpp \ - be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp \ - be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp \ - be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp \ - be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp \ - be/be_visitor_sequence/gen_bounded_sequence_ci.cpp \ - be/be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp \ - be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp \ - be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp \ - be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp \ - be/be_visitor_sequence/gen_bounded_sequence_cs.cpp \ - be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp \ - be/be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp \ - be/be_visitor_sequence/gen_bounded_str_sequence_cs.cpp -.obj/be_visitor_structure.o .obj/be_visitor_structure.so .shobj/be_visitor_structure.o .shobj/be_visitor_structure.so: be/be_visitor_structure.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_structure.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h \ - be_include/be_visitor_structure/structure.h \ - be_include/be_visitor_structure/structure_ch.h \ - be_include/be_visitor_structure/structure_ci.h \ - be_include/be_visitor_structure/structure_cs.h \ - be_include/be_visitor_structure/any_op_ch.h \ - be_include/be_visitor_structure/any_op_cs.h \ - be_include/be_visitor_structure/cdr_op_ch.h \ - be_include/be_visitor_structure/cdr_op_ci.h \ - be_include/be_visitor_structure/cdr_op_cs.h \ - be/be_visitor_structure/structure.cpp \ - be/be_visitor_structure/structure_ch.cpp \ - be/be_visitor_structure/structure_ci.cpp \ - be/be_visitor_structure/structure_cs.cpp \ - be/be_visitor_structure/any_op_ch.cpp \ - be/be_visitor_structure/any_op_cs.cpp \ - be/be_visitor_structure/cdr_op_ch.cpp \ - be/be_visitor_structure/cdr_op_ci.cpp be_include/be_visitor_field.h \ - be_include/be_visitor_field/field_ch.h \ - be_include/be_visitor_field/field_ci.h \ - be_include/be_visitor_field/field_cs.h \ - be_include/be_visitor_field/cdr_op_ch.h \ - be_include/be_visitor_field/cdr_op_ci.h \ - be_include/be_visitor_field/cdr_op_cs.h \ - be/be_visitor_structure/cdr_op_cs.cpp -.obj/be_visitor_typecode.o .obj/be_visitor_typecode.so .shobj/be_visitor_typecode.o .shobj/be_visitor_typecode.so: be/be_visitor_typecode.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_typecode.h be_include/be_visitor_decl.h \ - be_include/be_visitor_scope.h \ - be_include/be_visitor_typecode/typecode_decl.h \ - be_include/be_visitor_typecode/typecode_defn.h \ - be/be_visitor_typecode/typecode_decl.cpp \ - be/be_visitor_typecode/typecode_defn.cpp -.obj/be_visitor_typedef.o .obj/be_visitor_typedef.so .shobj/be_visitor_typedef.o .shobj/be_visitor_typedef.so: be/be_visitor_typedef.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_typedef.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h be_include/be_visitor_typedef/typedef.h \ - be_include/be_visitor_typedef/typedef_ch.h \ - be_include/be_visitor_typedef/typedef_ci.h \ - be_include/be_visitor_typedef/typedef_cs.h \ - be_include/be_visitor_typedef/any_op_ch.h \ - be_include/be_visitor_typedef/any_op_cs.h \ - be_include/be_visitor_typedef/cdr_op_ch.h \ - be_include/be_visitor_typedef/cdr_op_ci.h \ - be_include/be_visitor_typedef/cdr_op_cs.h \ - be/be_visitor_typedef/typedef.cpp \ - be/be_visitor_typedef/typedef_ch.cpp \ - be/be_visitor_typedef/typedef_ci.cpp \ - be/be_visitor_typedef/typedef_cs.cpp \ - be/be_visitor_typedef/any_op_ch.cpp \ - be/be_visitor_typedef/any_op_cs.cpp \ - be/be_visitor_typedef/cdr_op_ch.cpp \ - be/be_visitor_typedef/cdr_op_ci.cpp \ - be/be_visitor_typedef/cdr_op_cs.cpp -.obj/be_visitor_union.o .obj/be_visitor_union.so .shobj/be_visitor_union.o .shobj/be_visitor_union.so: be/be_visitor_union.cpp include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_union.h be_include/be_visitor_scope.h \ - be_include/be_visitor_decl.h be_include/be_visitor_union/union.h \ - be_include/be_visitor_union/union_ch.h \ - be_include/be_visitor_union/union_ci.h \ - be_include/be_visitor_union/union_cs.h \ - be_include/be_visitor_union/discriminant_ch.h \ - be_include/be_visitor_union/discriminant_ci.h \ - be_include/be_visitor_union/discriminant_cs.h \ - be_include/be_visitor_union/any_op_ch.h \ - be_include/be_visitor_union/any_op_cs.h \ - be_include/be_visitor_union/cdr_op_ch.h \ - be_include/be_visitor_union/cdr_op_ci.h \ - be_include/be_visitor_union/cdr_op_cs.h \ - be/be_visitor_union/discriminant_ch.cpp \ - be/be_visitor_union/discriminant_ci.cpp \ - be/be_visitor_union/discriminant_cs.cpp be/be_visitor_union/union.cpp \ - be/be_visitor_union/union_ch.cpp be/be_visitor_union/union_ci.cpp \ - be/be_visitor_union/union_cs.cpp be/be_visitor_union/any_op_ch.cpp \ - be/be_visitor_union/any_op_cs.cpp be/be_visitor_union/cdr_op_ch.cpp \ - be/be_visitor_union/cdr_op_ci.cpp be/be_visitor_union/cdr_op_cs.cpp -.obj/be_visitor_union_branch.o .obj/be_visitor_union_branch.so .shobj/be_visitor_union_branch.o .shobj/be_visitor_union_branch.so: be/be_visitor_union_branch.cpp \ - include/idl.h $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - include/intlmacros.h include/idl_narrow.h include/idl_defines.h \ - include/idl_fwd.h include/idl_bool.h include/utl_string.h \ - include/utl_identifier.h include/ast.h include/utl_scoped_name.h \ - include/ast_decl.h include/ast_expression.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - include/utl_scope.h include/ast_type.h include/ast_concrete_type.h \ - include/ast_predefined_type.h include/ast_module.h include/ast_root.h \ - include/ast_interface.h include/ast_interface_fwd.h \ - include/ast_structure.h include/ast_exception.h include/ast_enum.h \ - include/ast_operation.h include/utl_list.h include/ast_field.h \ - include/ast_argument.h include/ast_attribute.h include/ast_union.h \ - include/ast_union_branch.h include/ast_union_label.h \ - include/ast_constant.h include/ast_enum_val.h include/ast_array.h \ - include/ast_sequence.h include/ast_string.h include/ast_typedef.h \ - include/ast_native.h include/utl_strlist.h include/utl_exprlist.h \ - include/ast_generator.h include/util.h include/utl_stack.h \ - include/utl_idlist.h include/utl_exceptlist.h include/utl_namelist.h \ - include/utl_labellist.h include/utl_decllist.h include/idl_global.h \ - include/utl_error.h include/utl_indenter.h include/idl_extern.h \ - include/fe_extern.h include/be_extern.h include/drv_extern.h \ - include/ast_extern.h include/nr_extern.h include/global_extern.h \ - be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - be_include/be_decl.h be_include/be_scope.h be_include/be_generator.h \ - be_include/be_type.h be_include/be_predefined_type.h \ - be_include/be_module.h be_include/be_interface.h \ - be_include/be_interface_fwd.h be_include/be_valuetype.h \ - be_include/be_valuetype_fwd.h be_include/be_structure.h \ - be_include/be_exception.h be_include/be_expression.h \ - be_include/be_enum.h be_include/be_operation.h be_include/be_field.h \ - be_include/be_argument.h be_include/be_attribute.h \ - be_include/be_union.h be_include/be_union_branch.h \ - be_include/be_union_label.h be_include/be_constant.h \ - be_include/be_enum_val.h be_include/be_array.h \ - be_include/be_sequence.h be_include/be_string.h \ - be_include/be_typedef.h be_include/be_root.h be_include/be_native.h \ - be_include/be_helper.h be_include/be_codegen.h \ - be_include/be_stream_factory.h be_include/be_visitor.h \ - be_include/be_visitor_factory.h be_include/be_visitor_context.h \ - be_include/be_visitor_union_branch.h be_include/be_visitor_decl.h \ - be_include/be_visitor_union_branch/public_ch.h \ - be_include/be_visitor_union_branch/public_ci.h \ - be_include/be_visitor_union_branch/public_cs.h \ - be_include/be_visitor_union_branch/public_assign_cs.h \ - be_include/be_visitor_union_branch/public_reset_cs.h \ - be_include/be_visitor_union_branch/public_access_cs.h \ - be_include/be_visitor_union_branch/private_ch.h \ - be_include/be_visitor_union_branch/cdr_op_ch.h \ - be_include/be_visitor_union_branch/cdr_op_ci.h \ - be_include/be_visitor_union_branch/cdr_op_cs.h \ - be/be_visitor_union_branch/private_ch.cpp \ - be/be_visitor_union_branch/public_assign_cs.cpp \ - be/be_visitor_union_branch/public_reset_cs.cpp \ - be/be_visitor_union_branch/public_access_cs.cpp \ - be/be_visitor_union_branch/public_ch.cpp \ - be/be_visitor_union_branch/public_ci.cpp \ - be/be_visitor_union_branch/public_cs.cpp \ - be/be_visitor_union_branch/cdr_op_ch.cpp \ - be/be_visitor_union_branch/cdr_op_ci.cpp \ - be/be_visitor_union_branch/cdr_op_cs.cpp - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/Makefile.am b/TAO/TAO_IDL/Makefile.am deleted file mode 100644 index d2c1459db76..00000000000 --- a/TAO/TAO_IDL/Makefile.am +++ /dev/null @@ -1,53 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Top-level Makefile.am for the TAO IDL compiler -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -SUBDIRS = driver fe narrow be be_include include ast util - -INCLUDES = -I$(top_srcdir)/TAO_IDL/include \ - -I$(top_srcdir)/TAO_IDL/be_include -I$(top_srcdir)/TAO_IDL/fe - -man_MANS = tao_idl.1 - -bin_PROGRAMS = tao_idl - -tao_idl_SOURCES = \ - tao_idl.cpp - -tao_idl_LDADD = \ - $(top_builddir)/TAO_IDL/driver/libdriver.a \ - $(top_builddir)/TAO_IDL/fe/libfe.a \ - $(top_builddir)/TAO_IDL/narrow/libnarrow.a \ - $(top_builddir)/TAO_IDL/be/libbe.a \ - $(top_builddir)/TAO_IDL/ast/libast.a \ - $(top_builddir)/TAO_IDL/util/libutil.a - -IDL_CFE_VERSION = \"1.3.0\" - -## Is the "+=" a portable make feature? -CXXFLAGS += \ - -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - -EXTRA_DIST = $(man_MANS) - -tags: - rm -f TAGS - find . -name "*.h" -print | etags -a --c++ - - find . -name "*.cpp" -print | etags -a - - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/TAO_IDL/Makefile.bor b/TAO/TAO_IDL/Makefile.bor deleted file mode 100644 index 55e53f91b20..00000000000 --- a/TAO/TAO_IDL/Makefile.bor +++ /dev/null @@ -1,146 +0,0 @@ -# -# Makefile for building the TAO IDL compiler -# - -NAME = tao_idl - -OBJFILES = \ - $(OBJDIR)\tao_idl.obj \ - $(OBJDIR)\ast_argument.obj \ - $(OBJDIR)\ast_array.obj \ - $(OBJDIR)\ast_attribute.obj \ - $(OBJDIR)\ast_check.obj \ - $(OBJDIR)\ast_concrete_type.obj \ - $(OBJDIR)\ast_constant.obj \ - $(OBJDIR)\ast_decl.obj \ - $(OBJDIR)\ast_enum.obj \ - $(OBJDIR)\ast_enum_val.obj \ - $(OBJDIR)\ast_exception.obj \ - $(OBJDIR)\ast_expression.obj \ - $(OBJDIR)\ast_field.obj \ - $(OBJDIR)\ast_generator.obj \ - $(OBJDIR)\ast_interface.obj \ - $(OBJDIR)\ast_interface_fwd.obj \ - $(OBJDIR)\ast_module.obj \ - $(OBJDIR)\ast_native.obj \ - $(OBJDIR)\ast_operation.obj \ - $(OBJDIR)\ast_predefined_type.obj \ - $(OBJDIR)\ast_recursive.obj \ - $(OBJDIR)\ast_redef.obj \ - $(OBJDIR)\ast_root.obj \ - $(OBJDIR)\ast_sequence.obj \ - $(OBJDIR)\ast_string.obj \ - $(OBJDIR)\ast_structure.obj \ - $(OBJDIR)\ast_type.obj \ - $(OBJDIR)\ast_typedef.obj \ - $(OBJDIR)\ast_union.obj \ - $(OBJDIR)\ast_union_branch.obj \ - $(OBJDIR)\ast_union_label.obj \ - $(OBJDIR)\be_args.obj \ - $(OBJDIR)\be_argument.obj \ - $(OBJDIR)\be_array.obj \ - $(OBJDIR)\be_attribute.obj \ - $(OBJDIR)\be_codegen.obj \ - $(OBJDIR)\be_constant.obj \ - $(OBJDIR)\be_decl.obj \ - $(OBJDIR)\be_enum.obj \ - $(OBJDIR)\be_enum_val.obj \ - $(OBJDIR)\be_exception.obj \ - $(OBJDIR)\be_expression.obj \ - $(OBJDIR)\be_field.obj \ - $(OBJDIR)\be_generator.obj \ - $(OBJDIR)\be_helper.obj \ - $(OBJDIR)\be_init.obj \ - $(OBJDIR)\be_interface.obj \ - $(OBJDIR)\be_interface_fwd.obj \ - $(OBJDIR)\be_module.obj \ - $(OBJDIR)\be_native.obj \ - $(OBJDIR)\be_operation.obj \ - $(OBJDIR)\be_predefined_type.obj \ - $(OBJDIR)\be_produce.obj \ - $(OBJDIR)\be_root.obj \ - $(OBJDIR)\be_scope.obj \ - $(OBJDIR)\be_sequence.obj \ - $(OBJDIR)\be_stream_factory.obj \ - $(OBJDIR)\be_string.obj \ - $(OBJDIR)\be_structure.obj \ - $(OBJDIR)\be_sunsoft.obj \ - $(OBJDIR)\be_type.obj \ - $(OBJDIR)\be_typedef.obj \ - $(OBJDIR)\be_union.obj \ - $(OBJDIR)\be_union_branch.obj \ - $(OBJDIR)\be_union_label.obj \ - $(OBJDIR)\be_valuetype.obj \ - $(OBJDIR)\be_valuetype_fwd.obj \ - $(OBJDIR)\be_visitor.obj \ - $(OBJDIR)\be_visitor_argument.obj \ - $(OBJDIR)\be_visitor_array.obj \ - $(OBJDIR)\be_visitor_attribute.obj \ - $(OBJDIR)\be_visitor_constant.obj \ - $(OBJDIR)\be_visitor_context.obj \ - $(OBJDIR)\be_visitor_decl.obj \ - $(OBJDIR)\be_visitor_enum.obj \ - $(OBJDIR)\be_visitor_exception.obj \ - $(OBJDIR)\be_visitor_factory.obj \ - $(OBJDIR)\be_visitor_field.obj \ - $(OBJDIR)\be_visitor_interface.obj \ - $(OBJDIR)\be_visitor_interface_fwd.obj \ - $(OBJDIR)\be_visitor_module.obj \ - $(OBJDIR)\be_visitor_operation.obj \ - $(OBJDIR)\be_visitor_root.obj \ - $(OBJDIR)\be_visitor_scope.obj \ - $(OBJDIR)\be_visitor_sequence.obj \ - $(OBJDIR)\be_visitor_structure.obj \ - $(OBJDIR)\be_visitor_typecode.obj \ - $(OBJDIR)\be_visitor_typedef.obj \ - $(OBJDIR)\be_visitor_union.obj \ - $(OBJDIR)\be_visitor_union_branch.obj \ - $(OBJDIR)\be_visitor_valuetype.obj \ - $(OBJDIR)\be_visitor_valuetype_fwd.obj \ - $(OBJDIR)\drv_args.obj \ - $(OBJDIR)\drv_fork.obj \ - $(OBJDIR)\drv_init.obj \ - $(OBJDIR)\drv_link.obj \ - $(OBJDIR)\drv_preproc.obj \ - $(OBJDIR)\drv_private.obj \ - $(OBJDIR)\fe_declarator.obj \ - $(OBJDIR)\fe_extern.obj \ - $(OBJDIR)\fe_init.obj \ - $(OBJDIR)\fe_interface_header.obj \ - $(OBJDIR)\fe_lookup.obj \ - $(OBJDIR)\fe_private.obj \ - $(OBJDIR)\lex.yy.obj \ - $(OBJDIR)\y.tab.obj \ - $(OBJDIR)\narrow.obj \ - $(OBJDIR)\utl_decllist.obj \ - $(OBJDIR)\utl_error.obj \ - $(OBJDIR)\utl_exceptlist.obj \ - $(OBJDIR)\utl_exprlist.obj \ - $(OBJDIR)\utl_global.obj \ - $(OBJDIR)\utl_identifier.obj \ - $(OBJDIR)\utl_idlist.obj \ - $(OBJDIR)\utl_indenter.obj \ - $(OBJDIR)\utl_labellist.obj \ - $(OBJDIR)\utl_list.obj \ - $(OBJDIR)\utl_namelist.obj \ - $(OBJDIR)\utl_scope.obj \ - $(OBJDIR)\utl_stack.obj \ - $(OBJDIR)\utl_string.obj \ - $(OBJDIR)\utl_strlist.obj \ - $(OBJDIR)\utl_decllist.obj \ - $(OBJDIR)\utl_exceptlist.obj \ - $(OBJDIR)\utl_exprlist.obj \ - $(OBJDIR)\utl_idlist.obj \ - $(OBJDIR)\utl_labellist.obj \ - $(OBJDIR)\utl_list.obj \ - $(OBJDIR)\utl_namelist.obj \ - $(OBJDIR)\utl_strlist.obj - -CFLAGS = -I.. -Ibe_include -Ife -Iinclude -Iutil \ - -DIDL_CFE_VERSION=\"1.3.0\" -DCPP_LOCATION=\"cpp32\" $(ACE_CFLAGS) - -LIBFILES = $(ACE_LIB) - -CPPDIR = .;ast;be;driver;fe;narrow;util - -!include <$(ACE_ROOT)\include\makeinclude\build_core_exe.bor> diff --git a/TAO/TAO_IDL/README.sun b/TAO/TAO_IDL/README.sun deleted file mode 100644 index b2b6e20d3d5..00000000000 --- a/TAO/TAO_IDL/README.sun +++ /dev/null @@ -1,245 +0,0 @@ -======================================== - -This file contains the original README file that came with the SunSoft -IDL compiler release. This information in this file is historical in -nature and the much of the specific information probably is inaccurate -with respect to the current state of TAO IDL. Please see the -../docs/index.html documentation that comes with TAO for up-to-date -information on TAO IDL compiler design and implementation. - -Specifically, some of the files referred to below have been renamed in -TAO IDL. - -INTERFACE DEFINITION LANGUAGE COMPILER FRONT END --==============================================- - -INTRODUCTION - -Welcome to the publicly available source release of SunSoft's -implementation of the compiler front end (CFE) for OMG Interface Definition -Language! This is Release 1.3 of the CFE. - -The Interface Definition Language (IDL) implementation is divided into -three parts: - -- A main program for driving the compilation process -- A parser and attendant utilities -- One or more back ends (BEs) for taking the processed input and producing - output in a target language and target format - -WARNINGS - -This is a preliminary version. This software is made available AS IS and -WITH NO GUARANTEES. Please read the copyright notice attached at the -bottom of this file. - -IMPORTANT NOTICE FOR USERS OF OMG IDL CFE VERSION 1.2. - -Please carefully read the file CHANGES to obtain IMPORTANT INFORMATION on -changes in that may affect the manner in which a BE is constructed. You -must follow instructions contained in the file CHANGES to obtain a -functional BE if you are migrating an existing BE from OMG IDL CFE v. 1.2. - -TARGET AUDIENCE - -Who should use this release? - -- You can use this source release to create a stand alone parser for OMG - Interface Definition Language. This may be useful to verify the legality - of IDL input. -- Developers of OMG Interface Definition Language compilers should use this - release as a basis for writing their back ends, to obtain a common - framework for their compiler and to provide portable and uniform - parsing of IDL input. - -HOW TO OBTAIN THIS SOFTWARE - -Please use anonymous FTP to omg.org and supply your e-mail address as the -password. Then change directories to pub/OMG_IDL_CFE_1.3, set binary transfer -and get the file OMG_IDL_CFE_1.3.TAR.Z. This file includes copies of all -individual documentation files in the directory. - -Precompiled binaries constructed from the sources in this release will be -made available shortly, in the directory pub/OMG_IDL_CFE_1.3/bin. These -binaries are useful for parsing IDL source and for learning about the -language. Precompiled binaries for Solaris 2.x and for SunOS 4.x will be -provided. - -You can also use the mail server program to retrieve this software. Send -email with the subject 'help' to omg_idl@omg.org, and the mail server will -respond with instructions on how to retrieve the software. - -Copies of this software may be made available from archives other than -omg.org. New versions made available by Sun will be placed on omg.org and a -message will be sent to this newsgroup announcing its availability. - -Finally, the SunSoft OMG IDL CFE is also available on magnetic tape for a -nominal media charge directly from SunSoft. Please refer to part number -DIDL-100-STP when ordering. - -CONTACT POINT - -Please let us know who you are if you decide to use this software, and how -you use it. Please send e-mail to: - - idl-cfe@sun.com - -This address can also be used to report problems, bugs, suggestions and -send general comments. - -WHAT IS PROVIDED IN THE RELEASE - -Provided in this release are: - -- A main program for driving an Interface Definition Language compiler -- A parser for the Interface Definition Language grammar which builds an - internal representation of the input parsed. This internal - representation, named an Abstract Syntax Tree (AST), is used as input to - a back end -- Some utility functions used by the parser -- A demonstration back end (BE) which exercises the front end but produces - no translated output -- Documentation of the public interfaces and of the contract between - the compiler front end and a back end - -OPERATION - -A complete compiler operates in two passes: - -- The first pass, provided in this release, parses the IDL input and - produces an internal representation, called an Abstract Syntax Tree (AST). - This pass also does a complete syntax and semantics check of the input - provided to ensure that exactly legal IDL input is accepted. If a syntax - or semantic error is discovered, the second pass is not invoked. -- The second pass, provided by compiler developers, takes the AST and - produces output in the language and format of choice. A demonstration - back end is provided in the release. - -HOW TO USE THIS SOFTWARE - -To create a complete compiler from OMG Interface Definition Language to a -target language, compiler developers will: - -- Write a back end (BE) to take the internal representation of the input - parsed and translate it to the target language and format. You will - probably want to replace the BE directory in this source tree with your - own BE directory -- Link the BE with the sources provided here to produce a complete - compiler. - -DOCUMENTATION - -The OMG Interface Definition Language is fully described in the CORBA -documentation, Chapter 4. This document may be obtained from OMG. - -This release also provides the following documents: - -- This README file, describing the release -- INSTALL, describing installation of the software -- WRITING_A_BE contains all the information needed to start writing a back - end for this distribution -- CHANGES_IN_AST describes changes that affect migration of BEs written - against version 1.2 to version 1.3. -- CLI, describing the command line interface to the CFE -- ROADMAP, describing the directory structure for the source code. This - file will assist a developer in understanding the structure of the code - and navigating it -- PROBLEMS, describing a list of issues that may be addressed in future - releases -- BUG_REPORT, containing a form for use in reporting bugs and problems - with the IDL CFE - -ENVIRONMENT - -The INSTALL file explains how to customize the software for specific -platforms. The source distribution expects the following environment: - -- Sparcstation 1, 2, or 10 hardware -- SunPro SparcWorks 3.x or 4.0 - -As preconfigured, it compiles on Solaris 2.x. It can be reconfigured to -compile on SunOS 4.x, HPUX or Apollo Domain OS. As far as is known, no use -is made of Sun Make-specific features, and the Makefiles should be usable -with other make programs. - -This release has been tested and is believed to operate correctly with: -- SunPro Sparcworks 2.x and 3.0 on SunOS 4.1.x -- SunPro Sparcworks 2.x and 3.0 on Solaris 2.3 -- g++ 2.5.8 on SunOS 4.1.x -- g++ 2.5.8 on Solaris 2.3 - -INSTALLATION - -This release is targetted for Sun workstations running Solaris 2.x. The -process of installing this software is described in detail in the file -INSTALL in this directory. The INSTALL file also describes how to customize -the release for your own environment if it is different. - -KNOWN PROBLEMS - -A list of known deficiencies is provided in the file PROBLEMS in this -directory. If you find a problem which is not mentioned in it, please -report it as described below. Please read this file now to be apprised of -the problems found so far with this release. - -COPYRIGHT - -This copyright notice appears on all files. Please read it! - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/ast/Makefile.am b/TAO/TAO_IDL/ast/Makefile.am deleted file mode 100644 index 3c9efba103a..00000000000 --- a/TAO/TAO_IDL/ast/Makefile.am +++ /dev/null @@ -1,58 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Makefile.am for the TAO IDL compiler --- 'ast' sub-directory -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) \ - -I$(top_srcdir)/TAO_IDL/include - -noinst_LIBRARIES = libast.a - -libast_a_SOURCES = \ - ast_argument.cpp \ - ast_array.cpp \ - ast_attribute.cpp \ - ast_check.cpp \ - ast_concrete_type.cpp \ - ast_constant.cpp \ - ast_decl.cpp \ - ast_enum.cpp \ - ast_enum_val.cpp \ - ast_exception.cpp \ - ast_expression.cpp \ - ast_field.cpp \ - ast_generator.cpp \ - ast_interface.cpp \ - ast_interface_fwd.cpp \ - ast_module.cpp \ - ast_native.cpp \ - ast_operation.cpp \ - ast_predefined_type.cpp \ - ast_recursive.cpp \ - ast_redef.cpp \ - ast_root.cpp \ - ast_sequence.cpp \ - ast_string.cpp \ - ast_structure.cpp \ - ast_type.cpp \ - ast_typedef.cpp \ - ast_union.cpp \ - ast_union_branch.cpp \ - ast_union_label.cpp - - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/TAO_IDL/ast/ast_argument.cpp b/TAO/TAO_IDL/ast/ast_argument.cpp deleted file mode 100644 index 2636c9918de..00000000000 --- a/TAO/TAO_IDL/ast/ast_argument.cpp +++ /dev/null @@ -1,156 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_argument.cc - Implementation of class AST_Argument.cc - * - * AST_Argument nodes denote arguments to an operation. They - * are AST_Fields with directions. Thus, they have a name - * (an UTL_ScopedName) and a type (a subclass of AST_Type). - * Additionally they have a direction field which takes values - * from the enum AST_Argument::Direction. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_argument, "$Id$") - -/* - * Static functions - */ - -/* - * Convert an enum Direction value to a char * - */ -static const char * -direction_to_string(AST_Argument::Direction d) -{ - switch (d) { - case AST_Argument::dir_IN: - return "in"; - case AST_Argument::dir_OUT: - return "out"; - case AST_Argument::dir_INOUT: - return "inout"; - } - return NULL; -} - -/* - * Constructor(s) and destructor - */ - -AST_Argument::AST_Argument() - : pd_direction(dir_IN) -{ -} - -AST_Argument::AST_Argument(Direction d, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p) - : AST_Field(AST_Decl::NT_argument, ft, n, p), - AST_Decl(AST_Decl::NT_argument, n, p), - pd_direction(d) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Argument node to the ostream o - */ -void -AST_Argument::dump(ostream &o) -{ - o << direction_to_string(pd_direction) << " "; - AST_Field::dump(o); -} - -/* - * Data accessors - */ - -AST_Argument::Direction -AST_Argument::direction() -{ - return pd_direction; -} - -/* - * Narrowing operations - */ -IMPL_NARROW_METHODS1(AST_Argument, AST_Field) -IMPL_NARROW_FROM_DECL(AST_Argument) diff --git a/TAO/TAO_IDL/ast/ast_array.cpp b/TAO/TAO_IDL/ast/ast_array.cpp deleted file mode 100644 index 152089f2af4..00000000000 --- a/TAO/TAO_IDL/ast/ast_array.cpp +++ /dev/null @@ -1,191 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_array.cc - Implementation of class AST_Array - * - * AST_Array nodes denote array type and field modifiers. - * AST_Array nodes have a list of dimensions (a UTL_ExprList) - * a count of the number of dimensions and a base type (a - * subtype of AST_ConcreteType. This means that we cannot have - * arrays of AST_Interfaces??? - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_array, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Array::AST_Array() - : pd_n_dims(0), - pd_dims(NULL), - pd_base_type(NULL) -{ -} - -AST_Array::AST_Array(UTL_ScopedName *n, unsigned long nd, UTL_ExprList *ds) - : AST_Decl(AST_Decl::NT_array, n, NULL), - pd_n_dims(nd), pd_base_type(NULL) -{ - pd_dims = compute_dims(ds, nd); -} - -/* - * Private operations - */ - -/* - * Compute how many dimensions there are and collect their expressions - * into an array - */ -AST_Expression ** -AST_Array::compute_dims(UTL_ExprList *ds, unsigned long nds) -{ - AST_Expression **result; - UTL_ExprlistActiveIterator *l; - unsigned long i; - - if (ds == NULL) - return NULL; - - result = new AST_Expression *[nds]; - l = new UTL_ExprlistActiveIterator(ds); - - for (i = 0; !(l->is_done()) && i < nds; l->next(), i++) - result[i] = l->item(); - delete l; - return result; -} - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Array node to the ostream o - */ -void -AST_Array::dump(ostream &o) -{ - unsigned long i; - - pd_base_type->dump(o); - o << " "; - local_name()->dump(o); - for (i = 0; i < pd_n_dims; i++) { - o << "["; - pd_dims[i]->dump(o); - o << "]"; - } -} - -/* - * Data accessors - */ -unsigned long -AST_Array::n_dims() -{ - return pd_n_dims; -} - -AST_Expression ** -AST_Array::dims() -{ - return pd_dims; -} - -AST_Type * -AST_Array::base_type() -{ - return pd_base_type; -} - -void -AST_Array::set_base_type(AST_Type *nbt) -{ - pd_base_type = nbt; -} - -void -AST_Array::set_dims(AST_Expression **ds, unsigned long nds) -{ - pd_dims = ds; - pd_n_dims = nds; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Array, AST_ConcreteType) -IMPL_NARROW_FROM_DECL(AST_Array) diff --git a/TAO/TAO_IDL/ast/ast_attribute.cpp b/TAO/TAO_IDL/ast/ast_attribute.cpp deleted file mode 100644 index f2e14754d45..00000000000 --- a/TAO/TAO_IDL/ast/ast_attribute.cpp +++ /dev/null @@ -1,136 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_attribute.cc - Implementation of class AST_Attribute.cc - * - * AST_Attribute nodes denote IDL attribute declarations. - * AST_Attribute nodes are AST_Fields with a readonly indication. - * Hence they have a name (an UTL_ScopedName), a type (a subtype - * of AST_Type) and a boolean indicating whether the attribute is - * readonly. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_attribute, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Attribute::AST_Attribute() - : pd_readonly(I_TRUE) -{ -} - -AST_Attribute::AST_Attribute(idl_bool ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Field(AST_Decl::NT_attr, ft, n, p), - AST_Decl(AST_Decl::NT_attr, n, p), - pd_readonly(ro) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Attribute to the ostream o - */ -void -AST_Attribute::dump(ostream &o) -{ - o << (pd_readonly == I_TRUE ? "readonly" : "") << " attribute "; - AST_Field::dump(o); -} - -/* - * Data accessors - */ - -idl_bool -AST_Attribute::readonly() -{ - return pd_readonly; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Attribute, AST_Field) -IMPL_NARROW_FROM_DECL(AST_Attribute) diff --git a/TAO/TAO_IDL/ast/ast_check.cpp b/TAO/TAO_IDL/ast/ast_check.cpp deleted file mode 100644 index c7039402e41..00000000000 --- a/TAO/TAO_IDL/ast/ast_check.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_check.cc - Check AST nodes representing fwd declared interfaces - * after parse of AST is completed. - * - * The check ensures that for every forward declared interface we also - * saw a full definition of that interface. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_check, "$Id$") - -/* - * Static storage for remembering nodes - */ -static AST_InterfaceFwd **ast_fwds = NULL; -static long ast_n_fwds_used = 0; -static long ast_n_fwds_alloc = 0; - -#undef INCREMENT -#define INCREMENT 64 - -/* - * Store a node representing a forward declared interface - */ -void -AST_record_fwd_interface(AST_InterfaceFwd *n) -{ - AST_InterfaceFwd **o_ast_fwds; - long o_ast_n_fwds_alloc; - long i; - - /* - * Make sure there's space to store one more - */ - if (ast_n_fwds_used == ast_n_fwds_alloc) { - if (ast_n_fwds_alloc == 0) { - ast_n_fwds_alloc = INCREMENT; - ast_fwds = new AST_InterfaceFwd *[ast_n_fwds_alloc]; - } else { - o_ast_fwds = ast_fwds; - o_ast_n_fwds_alloc = ast_n_fwds_alloc; - - ast_n_fwds_alloc += INCREMENT; - ast_fwds = new AST_InterfaceFwd *[ast_n_fwds_alloc]; - - for (i = 0; i < o_ast_n_fwds_alloc; i++) - ast_fwds[i] = o_ast_fwds[i]; - - delete o_ast_fwds; - } - } - /* - * Insert new node - */ - ast_fwds[ast_n_fwds_used++] = n; -} - -/* - * Check that all forward declared interfaces were also defined - */ -void -AST_check_fwd_interface() -{ - long i; - AST_InterfaceFwd *d; - AST_Interface *itf; - - for (i = 0; i < ast_n_fwds_used; i++) { - d = ast_fwds[i]; - itf = d->full_definition(); - if (!(itf->is_defined())) - idl_global->err()->fwd_decl_not_defined(itf); - } -} diff --git a/TAO/TAO_IDL/ast/ast_concrete_type.cpp b/TAO/TAO_IDL/ast/ast_concrete_type.cpp deleted file mode 100644 index 886a33af0eb..00000000000 --- a/TAO/TAO_IDL/ast/ast_concrete_type.cpp +++ /dev/null @@ -1,108 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_concrete_type.cc - Implementation of class AST_ConcreteType - * - * AST_ConcreteType nodes denote all non-interface types of IDL. - * They are AST_Type nodes. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_concrete_type, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_ConcreteType::AST_ConcreteType() -{ -} - -AST_ConcreteType::AST_ConcreteType(AST_Decl::NodeType nt, UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_ConcreteType, AST_Type) -IMPL_NARROW_FROM_DECL(AST_ConcreteType) diff --git a/TAO/TAO_IDL/ast/ast_constant.cpp b/TAO/TAO_IDL/ast/ast_constant.cpp deleted file mode 100644 index c6ce655a3b6..00000000000 --- a/TAO/TAO_IDL/ast/ast_constant.cpp +++ /dev/null @@ -1,217 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_constant.cc - Implementation of class AST_Constant - * - * AST_Constant nodes denote IDL constant declarations. - * AST_Constants have a value (an AST_Expression) and a value type - * (a value from the enum AST_Expression::ExprType). - * AST_Constant has two constructors, one for use in creating constants - * and the other for use in creating enumerators (see the class - * AST_EnumVal) - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_constant, "$Id$") - -/* - * Static functions - */ - -/* - * Convert a value from the enum AST_Expression::ExprType to a char * - */ -static const char * -exprtype_to_string(AST_Expression::ExprType et) -{ - switch (et) { - case AST_Expression::EV_short: - return "short"; - case AST_Expression::EV_ushort: - return "unsigned short"; - case AST_Expression::EV_long: - return "long"; - case AST_Expression::EV_ulong: - return "unsigned long"; - case AST_Expression::EV_float: - return "float"; - case AST_Expression::EV_double: - return "double"; - case AST_Expression::EV_char: - return "char"; - case AST_Expression::EV_octet: - return "octet"; - case AST_Expression::EV_bool: - return "boolean"; - case AST_Expression::EV_string: - return "string"; - case AST_Expression::EV_any: - return "any"; - case AST_Expression::EV_void: - return "void"; - case AST_Expression::EV_none: - return "none"; - case AST_Expression::EV_ulonglong: - return "unsigned long long"; - case AST_Expression::EV_longlong: - return "long long"; - case AST_Expression::EV_wchar: - return "wchar"; - case AST_Expression::EV_wstring: - case AST_Expression::EV_longdouble: - return NULL; - } - return NULL; -} - -/* - * Constructor(s) and destructor - */ - -/* - * Default constructor - */ -AST_Constant::AST_Constant() - : pd_constant_value(NULL), pd_et(AST_Expression::EV_none) -{ -} - -/* - * Used in constructing AST_EnumVal nodes - */ -AST_Constant::AST_Constant(AST_Expression::ExprType t, - AST_Decl::NodeType nt, - AST_Expression *v, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p), - pd_constant_value(idl_global->gen()->create_expr(v, t)), - pd_et(t) -{ -} - -/* - * Used when constructing AST_Constant nodes - */ -AST_Constant::AST_Constant(AST_Expression::ExprType t, - AST_Expression *v, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_const, n, p), - pd_constant_value(idl_global->gen()->create_expr(v, t)), - pd_et(t) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Constant node to the ostream o - */ -void -AST_Constant::dump(ostream &o) -{ - o << "const " << exprtype_to_string(pd_et) << " "; - local_name()->dump(o); - o << " = "; - pd_constant_value->dump(o); -} - -/* - * Data accessors - */ - -AST_Expression * -AST_Constant::constant_value() -{ - return pd_constant_value; -} - -AST_Expression::ExprType -AST_Constant::et() -{ - return pd_et; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Constant, AST_Decl) -IMPL_NARROW_FROM_DECL(AST_Constant) diff --git a/TAO/TAO_IDL/ast/ast_decl.cpp b/TAO/TAO_IDL/ast/ast_decl.cpp deleted file mode 100644 index cde4aee0e50..00000000000 --- a/TAO/TAO_IDL/ast/ast_decl.cpp +++ /dev/null @@ -1,455 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_decl.cc - Implementation of class AST_Decl - * - * AST_Decl is the base class for all AST nodes except AST_Expression. - * AST_Decls have a node type (a value from the enum AST_Decl::NodeType) - * a name (a UTL_ScopedName) and a list of pragmas (a UTL_StrList). - * Additionally AST_Decl nodes record the scope of definition, the - * file name in which they were defined, the line on which they were - * defined in that file, and a boolean denoting whether this is the - * main file or an #include'd file. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_decl, "$Id$") - -/* - * Constructor(s) and destructor - */ - -AST_Decl::AST_Decl() - : pd_imported(I_FALSE), - pd_in_main_file(I_FALSE), - pd_defined_in(NULL), - pd_node_type(NT_module), - pd_line(-1), - pd_file_name(NULL), - pd_name(NULL), - pd_local_name(NULL), - pd_original_local_name (NULL), - pd_pragmas(NULL), - pd_added(I_FALSE) -{ -} - -AST_Decl::AST_Decl(NodeType nt, UTL_ScopedName *n, UTL_StrList *p) - : pd_imported(idl_global->imported()), - pd_in_main_file(idl_global->in_main_file()), - pd_defined_in(idl_global->scopes()->depth() > 0 - ? idl_global->scopes()->top() - : 0), - pd_node_type(nt), - pd_line(idl_global->lineno()), - pd_file_name(idl_global->filename()), - pd_local_name(n == NULL ? 0 : n->last_component()), - pd_pragmas(p), - pd_added(I_FALSE) -{ - compute_full_name (n); - - // Keep the name _cxx_ removed, if any. - if (n != 0) - { - this->original_local_name (n->last_component ()); - } -} - -/* - * Private operations - */ - -/* - * Compute the full scoped name of an AST node - */ -void -AST_Decl::compute_full_name(UTL_ScopedName *n) -{ - UTL_ScopedName *cn = NULL; - AST_Decl *d = NULL; - - /* - * Initialize this name to NULL - */ - pd_name = NULL; - /* - * Global scope? - */ - if (defined_in() == NULL) { - pd_name = n; - return; - } - /* - * OK, not global. So copy name of containing scope, then - * smash last cdr of copy with new component - */ - d = ScopeAsDecl(defined_in()); - if (d != NULL) - cn = d->name(); - if (cn != NULL) - pd_name = (UTL_ScopedName *) cn->copy(); - if (pd_name == NULL) - pd_name = new UTL_ScopedName(local_name(), NULL); - else - pd_name->nconc(new UTL_ScopedName(local_name(), NULL)); -} - -/* - * Public operations - */ - -/* - * Return TRUE if one of my ancestor scopes is "s" - * and FALSE otherwise - */ -idl_bool -AST_Decl::has_ancestor(AST_Decl *s) -{ - if (this == s) - return I_TRUE; - if (pd_defined_in == NULL) - return I_FALSE; - return ScopeAsDecl(pd_defined_in)->has_ancestor(s); -} - -/* - * Dump this AST_Decl to the ostream o - */ -void -AST_Decl::dump(ostream &o) -{ - pd_local_name->dump(o); -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Data accessors - */ - -idl_bool -AST_Decl::imported() -{ - return pd_imported; -} - -void -AST_Decl::set_imported(idl_bool is_it) -{ - pd_imported = is_it; -} - -idl_bool -AST_Decl::in_main_file() -{ - return pd_in_main_file; -} - -void -AST_Decl::set_in_main_file(idl_bool is_it) -{ - pd_in_main_file = is_it; -} - -idl_bool -AST_Decl::added() -{ - return pd_added; -} - -void -AST_Decl::set_added(idl_bool is_it) -{ - pd_added = is_it; -} - -UTL_Scope * -AST_Decl::defined_in() -{ - return pd_defined_in; -} - -void -AST_Decl::set_defined_in(UTL_Scope *s) -{ - pd_defined_in = s; -} - -AST_Decl::NodeType -AST_Decl::node_type() -{ - return pd_node_type; -} - -long -AST_Decl::line() -{ - return pd_line; -} - -void -AST_Decl::set_line(long l) -{ - pd_line = l; -} - -UTL_String * -AST_Decl::file_name() -{ - return pd_file_name; -} - -void -AST_Decl::set_file_name(UTL_String *s) -{ - pd_file_name = s; -} - -UTL_ScopedName * -AST_Decl::name() -{ - return pd_name; -} - - -// @@ Wherever compute_* are called, we should remember to delete them -// after use. - -// Variation of the . Computes scoped name string, applying -// prefix and suffix to the local name component. -UTL_ScopedName * -AST_Decl::compute_name (const char *prefix, const char *suffix) -{ - if (prefix == 0 || suffix == 0) - return 0; - - UTL_ScopedName *result_name = NULL; - - // Prepare prefix__suffix string. - - ACE_CString suffix_str (suffix); - ACE_CString local_str (this->local_name ()->get_string ()); - - ACE_CString result_local_str (prefix); - result_local_str += local_str; - result_local_str += suffix_str; - - // Identifier for the resulting local name. - Identifier *result_local_id = new Identifier (result_local_str.c_str (), - 1, - 0, - I_FALSE); - - // UTL_Scoped name for the resulting local name. - UTL_ScopedName *result_local_name = new UTL_ScopedName (result_local_id, - NULL); - - // Global scope? - if (this->defined_in () == NULL) - { - result_name = result_local_name; - } - else - { - // OK, not global. So copy name of containing scope, then - // smash last cdr of copy with new component. - - AST_Decl *d = ScopeAsDecl(defined_in()); - if (d != NULL) - { - UTL_ScopedName *cn = d->name(); - if (cn != NULL) - { - result_name = (UTL_ScopedName *) cn->copy(); - if (result_name == NULL) - { - result_name = result_local_name; - } - else - result_name->nconc(result_local_name); - } - } - } - - return result_name; - -} - - - - - -void -AST_Decl::set_name(UTL_ScopedName *n) -{ - pd_name = n; - if (n != NULL) - { - pd_local_name = n->last_component(); - - // The name without _cxx_ prefix removed, if there was any. - original_local_name (n->last_component ()); - } -} - -Identifier * -AST_Decl::local_name() -{ - return pd_local_name; -} - -Identifier * -AST_Decl::compute_local_name (const char *prefix, const char *suffix) -{ - if (prefix == 0 || suffix == 0) - return 0; - - // Init the result with prefix. - ACE_CString result_str (prefix); - - // Put local. - result_str += ACE_CString (this->local_name ()->get_string ()); - - // Put suffix. - result_str += ACE_CString (suffix); - - // Identifier for the resulting local name. - Identifier *result_id = new Identifier (result_str.c_str (), - 1, - 0, - I_FALSE); - return result_id; -} - -// If there is _cxx_ in the beginning, we will remove that and keep -// a copy of the original name. TAO IDL's front end adds _cxx_ -// prefix to the all the reserved keywords. But when we invoke the -// operation remotely, we should be sending only the name with out -// "_cxx_" prefix. - -void -AST_Decl::original_local_name (Identifier *local_name) -{ - // Remove _cxx_ if it is present. - if (ACE_OS::strstr (local_name->get_string (), "_cxx_") == local_name->get_string ()) - { - // CSting class is good to do this stuff. - ACE_CString name_str (local_name->get_string ()); - - // Remove _cxx_. - name_str = name_str.substr (ACE_OS::strlen ("_cxx_")); - - // Assign to the Identifier variable. - this->pd_original_local_name = new Identifier (name_str.c_str (), - 1, - 0, - I_FALSE); - } - else - { - this->pd_original_local_name = local_name; - } -} - -Identifier * -AST_Decl::original_local_name () -{ - return pd_original_local_name; -} - -void -AST_Decl::add_pragmas(UTL_StrList *p) -{ - if (p != NULL) { - if (pd_pragmas != NULL) - pd_pragmas->nconc(p); - else - pd_pragmas = p; - } -} - -UTL_StrList * -AST_Decl::pragmas() -{ - return pd_pragmas; -} - -/* - * Narrowing methods for AST_Decl - */ -IMPL_NARROW_METHODS0(AST_Decl) -IMPL_NARROW_FROM_DECL(AST_Decl) - -/* -** Narrowing methods for COMMON_Base -*/ -IMPL_NARROW_METHODS0(COMMON_Base) diff --git a/TAO/TAO_IDL/ast/ast_enum.cpp b/TAO/TAO_IDL/ast/ast_enum.cpp deleted file mode 100644 index d64f16e8ba5..00000000000 --- a/TAO/TAO_IDL/ast/ast_enum.cpp +++ /dev/null @@ -1,257 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_enum.cc - Implementation of class AST_Enum - * - * AST_Enum nodes denote IDL enum declarations. - * AST_Enums are a subclass of AST_ConcreteType and UTL_Scope. - * They have a counter denoting the next value to be assigned to - * an enumerator, and a name (a UTL_ScopedName). - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_enum, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Enum::AST_Enum() - : pd_enum_counter(0) -{ -} - -AST_Enum::AST_Enum(UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_enum, n, p), - UTL_Scope(AST_Decl::NT_enum), - pd_enum_counter(0) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Look up an enumerator by the value of the supplied expression - */ -AST_EnumVal * -AST_Enum::lookup_by_value(const AST_Expression *v) -{ - UTL_ScopeActiveIterator *iter; - AST_EnumVal *item; - AST_Decl *i; - - iter = new UTL_ScopeActiveIterator(this, IK_decls); - - while (!iter->is_done()) { - i = iter->item(); - item = AST_EnumVal::narrow_from_decl(i); - if (item->constant_value() == v) { - delete iter; - return item; - } - iter->next(); - } - delete iter; - return NULL; -} - -/* - * Compute the value to be assigned to the next enumerator. Bump the - * counter - */ -unsigned long -AST_Enum::next_enum_val() -{ - unsigned long i = pd_enum_counter++; - - return i; -} - -/* - * Static helper functions - */ - -/* - * Modify scoped name of an enumval so that it is scoped inside the scope - * in which the enum is defined and not inside the enum itself - */ -static UTL_ScopedName * -munge_name_for_enumval(UTL_ScopedName *n, Identifier *last_component) -{ - long l = n->length(); - UTL_ScopedName *hold = n; - - /* - * last three components are: - * - scope in which enum is defined - * - scope for enum - * - name of enumval - * - * We want to stop cdr'ing down the list when the head of the - * list is at the name for the scope in which the enum is defined - */ - while (l > 3) { - l--; - n = (UTL_ScopedName *) n->tail(); - } - - n->set_tail(new UTL_IdList(last_component, NULL)); - - return hold; -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add an AST_EnumVal node to this scope - */ -AST_EnumVal *AST_Enum::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - AST_EnumVal *t1 = NULL; - - if (t != NULL) { - t1 = idl_global->gen()->create_enum_val - (t->constant_value()->coerce(AST_Expression::EV_ulong)->u.ulval, - t->name(), t->pragmas()); - t->set_name(munge_name_for_enumval(t->name(), t->local_name())); - t1->set_name(munge_name_for_enumval(t1->name(), t1->local_name())); - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - /* - * Add it to enclosing scope - */ - idl_global->scopes()->next_to_top()->fe_add_enum_val(t1); - - return t; -} - -/* - * Dump this AST_Enum to the ostream o - */ -void -AST_Enum::dump(ostream &o) -{ - UTL_ScopeActiveIterator *i = new UTL_ScopeActiveIterator(this, IK_decls); - AST_Decl *d; - - o << "enum "; - local_name()->dump(o); - o << " {\n"; - - while (!(i->is_done())) { - d = i->item(); - d->local_name()->dump(o); - i->next(); - if (!(i->is_done())) - o << ", "; - } - delete i; - - idl_global->indent()->skip_to(o); - o << "}"; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS2(AST_Enum, AST_ConcreteType, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Enum) -IMPL_NARROW_FROM_SCOPE(AST_Enum) diff --git a/TAO/TAO_IDL/ast/ast_enum_val.cpp b/TAO/TAO_IDL/ast/ast_enum_val.cpp deleted file mode 100644 index 54397f8e52f..00000000000 --- a/TAO/TAO_IDL/ast/ast_enum_val.cpp +++ /dev/null @@ -1,121 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_enum_val.cc - Implementation of class AST_EnumVal - * - * AST_EnumVals denote IDL enumerator declarations - * AST_EnumVals are a subclass of AST_Constant - * AST_EnumVals have no additional fields - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_enum_val, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_EnumVal::AST_EnumVal() -{ -} - -AST_EnumVal::AST_EnumVal(unsigned long v, UTL_ScopedName *n, UTL_StrList *p) - : AST_Constant(AST_Expression::EV_ulong, - AST_Decl::NT_enum_val, - new AST_Expression(v), n, p), - AST_Decl(AST_Decl::NT_enum_val, n, p) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_EnumVal to the ostream o - */ -void -AST_EnumVal::dump(ostream &o) -{ - AST_Constant::dump(o); -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_EnumVal, AST_Constant) -IMPL_NARROW_FROM_DECL(AST_EnumVal) diff --git a/TAO/TAO_IDL/ast/ast_exception.cpp b/TAO/TAO_IDL/ast/ast_exception.cpp deleted file mode 100644 index 0a3e34ff1d0..00000000000 --- a/TAO/TAO_IDL/ast/ast_exception.cpp +++ /dev/null @@ -1,308 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_exception.cc - Implementation of class AST_Exception - * - * AST_Exceptions denote IDL exception declarations - * AST_Exceptions are a subclass of AST_Decl (they are not types!) - * and of UTL_Scope - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_exception, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Exception::AST_Exception() -{ -} - -AST_Exception::AST_Exception(UTL_ScopedName *n, UTL_StrList *p) - : AST_Structure(AST_Decl::NT_except, n, p) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add this AST_Field node to the current scope - */ -AST_Field *AST_Exception::fe_add_field(AST_Field *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Union (manifest type declaration) to the current scope - */ -AST_Union *AST_Exception::fe_add_union(AST_Union *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Structure (manifest type declaration) to the current - * scope - */ -AST_Structure *AST_Exception::fe_add_structure(AST_Structure *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error2(UTL_Error::EIDL_REDEF, t, this); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Enum (manifest type declaration) to the current scope - */ -AST_Enum *AST_Exception::fe_add_enum(AST_Enum *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_EnumVal (enumerator declaration) to the current scope. - * This is done to conform to the C++ scoping rules which declare - * enumerators in the enclosing scope (in addition to declaring them - * in the enum itself) - */ -AST_EnumVal *AST_Exception::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Exception node to the ostream o - */ -void -AST_Exception::dump(ostream &o) -{ - o << "exception "; - local_name()->dump(o); - o << " {\n"; - UTL_Scope::dump(o); - idl_global->indent()->skip_to(o); - o << "}"; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Exception, AST_Structure) -IMPL_NARROW_FROM_DECL(AST_Exception) -IMPL_NARROW_FROM_SCOPE(AST_Exception) diff --git a/TAO/TAO_IDL/ast/ast_expression.cpp b/TAO/TAO_IDL/ast/ast_expression.cpp deleted file mode 100644 index dedaf87aa4c..00000000000 --- a/TAO/TAO_IDL/ast/ast_expression.cpp +++ /dev/null @@ -1,2101 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* * ast_expression.cc - Implementation of class AST_Expression - * - * AST_Expression nodes denote IDL expressions used in the IDL input. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_expression, "$Id$") - -// Helper function to fill out the details of where this expression -// is defined -void -AST_Expression::fill_definition_details() -{ - pd_defined_in = idl_global->scopes()->depth() > 0 - ? idl_global->scopes()->top() - : 0 ; - pd_line = idl_global->lineno(); - pd_file_name = idl_global->filename(); -} - -/* - * Constructor(s) and destructor - */ - -/* - * An AST_Expression denoting a symbolic name - */ -AST_Expression::AST_Expression(UTL_ScopedName *nm) - : pd_ec(EC_symbol), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(nm) -{ - fill_definition_details(); -} - -/* - * An AST_Expression denoting a type coercion from another AST_Expression - */ -AST_Expression::AST_Expression(AST_Expression *v, ExprType t) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = v->coerce(t); - if (pd_ev == NULL) - idl_global->err()->coercion_error(v, t); -} - -/* - * An AST_Expression denoting a binary expression combination from - * two other AST_Expressions - */ -AST_Expression::AST_Expression(ExprComb c, AST_Expression *ev1, - AST_Expression *ev2) - : pd_ec(c), - pd_ev(NULL), - pd_v1(ev1), - pd_v2(ev2), - pd_n(NULL) -{ - fill_definition_details(); -} - -/* - * An AST_Expression denoting a short integer - */ -AST_Expression::AST_Expression(short sv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_short; - pd_ev->u.sval = sv; -} - -/* - * An AST_Expression denoting an unsigned short integer - */ -AST_Expression::AST_Expression(unsigned short usv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_ushort; - pd_ev->u.usval = usv; -} - -/* - * An AST_Expression denoting a long integer - */ -AST_Expression::AST_Expression(long lv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_long; - pd_ev->u.lval = lv; -} - -/* - * An AST_Expression denoting a long integer being used as a boolean - */ -AST_Expression::AST_Expression(long lv, ExprType t) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = t; - pd_ev->u.lval = lv; -} - -/* - * An AST_Expression denoting an unsigned long integer - */ -AST_Expression::AST_Expression(unsigned long ulv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_ulong; - pd_ev->u.ulval = ulv; -} - -/* - * An AST_Expression denoting a 32-bit floating point number - */ -AST_Expression::AST_Expression(float fv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_float; - pd_ev->u.fval = fv; -} - -/* - * An AST_Expression denoting a 64-bit floating point number - */ -AST_Expression::AST_Expression(double dv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_double; - pd_ev->u.dval = dv; -} - -/* - * An AST_Expression denoting a character - */ -AST_Expression::AST_Expression(char cv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_char; - pd_ev->u.cval = cv; -} - -AST_Expression::AST_Expression(ACE_CDR::WChar wcv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_wchar; - pd_ev->u.wcval = wcv; -} - -/* - * An AST_Expression denoting an octet (unsigned char) - */ -AST_Expression::AST_Expression(unsigned char ov) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_octet; - pd_ev->u.oval = ov; -} - -/* - * An AST_Expression denotign a string (char * encapsulated as a String) - */ -AST_Expression::AST_Expression(UTL_String *sv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_string; - pd_ev->u.strval = sv; -} - -/* - * Static operations - */ - -/* - * Perform the coercion from the given AST_ExprValue to the requested - * ExprType. Return an AST_ExprValue if successful, NULL if failed. - */ -static AST_Expression::AST_ExprValue * -coerce_value(AST_Expression::AST_ExprValue *ev, AST_Expression::ExprType t) -{ - if (ev == NULL) - return NULL; - - switch (t) { - case AST_Expression::EV_short: - switch (ev->et) { - case AST_Expression::EV_short: - return ev; - case AST_Expression::EV_ushort: - if (ev->u.usval > (unsigned short) ACE_INT16_MAX) - return NULL; - ev->u.sval = (short) ev->u.usval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_long: - if (ev->u.lval > (long) ACE_INT16_MAX - || ev->u.lval < (long) ACE_INT16_MIN) - return NULL; - ev->u.sval = (short) ev->u.lval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_ulong: - if (ev->u.ulval > (unsigned long) ACE_INT16_MAX) - return NULL; - ev->u.sval = (short) ev->u.ulval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.llval > (ACE_CDR::LongLong) ACE_INT16_MAX - || ev->u.llval < (ACE_CDR::LongLong) ACE_INT16_MIN) - return NULL; - ev->u.sval = (short) ev->u.llval; - ev->et = AST_Expression::EV_short; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.ullval > (ACE_CDR::ULongLong) ACE_INT16_MAX) - return NULL; - ev->u.sval = (short) ev->u.ullval; - ev->et = AST_Expression::EV_short; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - ev->u.sval = (short) ev->u.bval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval > (float) ACE_INT16_MAX - || ev->u.fval < (float) ACE_INT16_MIN) - return NULL; - ev->u.sval = (short) ev->u.fval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval > (double) ACE_INT16_MAX - || ev->u.dval < (double) ACE_INT16_MIN) - return NULL; - ev->u.sval = (short) ev->u.dval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_char: - ev->u.sval = (short) ev->u.cval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_wchar: - if (ev->u.wcval > (ACE_CDR::WChar) ACE_INT16_MAX) - return NULL; - ev->u.sval = (short) ev->u.wcval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_octet: - ev->u.sval = (short) ev->u.oval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_string: - case AST_Expression::EV_wstring: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_ushort: - switch (ev->et) { - case AST_Expression::EV_short: - if (ev->u.sval < 0) - return NULL; - ev->u.usval = (unsigned short) ev->u.sval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_ushort: - return ev; - case AST_Expression::EV_long: - if (ev->u.lval > (long) ACE_UINT16_MAX - || ev->u.lval < 0) - return NULL; - ev->u.usval = (unsigned short) ev->u.lval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_ulong: - if (ev->u.ulval > (unsigned long) ACE_UINT16_MAX) - return NULL; - ev->u.usval = (unsigned short) ev->u.ulval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.llval > (ACE_CDR::LongLong) ACE_UINT16_MAX - || ev->u.llval < 0) - return NULL; - ev->u.usval = (unsigned short) ev->u.llval; - ev->et = AST_Expression::EV_ushort; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.ullval > (ACE_CDR::ULongLong) ACE_UINT16_MAX) - return NULL; - ev->u.usval = (unsigned short) ev->u.ullval; - ev->et = AST_Expression::EV_ushort; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - ev->u.usval = (unsigned short) ev->u.bval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval < 0.0 - || ev->u.fval > (float) ACE_UINT16_MAX) - return NULL; - ev->u.usval = (unsigned short) ev->u.fval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval < 0.0 - || ev->u.dval > (double) ACE_UINT16_MAX) - return NULL; - ev->u.usval = (unsigned short) ev->u.dval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_char: - if ((signed char) ev->u.cval < 0) - return NULL; - ev->u.usval = (unsigned short) ev->u.cval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_wchar: - if (ev->u.wcval > (ACE_CDR::WChar) ACE_UINT16_MAX) - return NULL; - ev->u.usval = (short) ev->u.wcval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_octet: - ev->u.usval = (unsigned short) ev->u.oval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_long: - switch (ev->et) { - case AST_Expression::EV_short: - ev->u.lval = (long) ev->u.sval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_ushort: - ev->u.lval = (long) ev->u.usval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_long: - return ev; - case AST_Expression::EV_ulong: - if (ev->u.ulval > (unsigned long) ACE_INT32_MAX) - return NULL; - ev->u.lval = (long) ev->u.ulval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.llval > (ACE_CDR::LongLong) ACE_INT32_MAX - || ev->u.llval < (ACE_CDR::LongLong) ACE_INT32_MIN) - return NULL; - ev->u.lval = (long) ev->u.llval; - ev->et = AST_Expression::EV_long; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.ullval > (ACE_CDR::ULongLong) ACE_INT32_MAX) - return NULL; - ev->u.lval = (long) ev->u.ullval; - ev->et = AST_Expression::EV_long; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - ev->u.lval = (long) ev->u.bval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval > (float) LONG_MAX - || ev->u.fval < (float) ACE_INT32_MIN) - return NULL; - ev->u.lval = (long) ev->u.fval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval > (double) LONG_MAX - || ev->u.dval < (double) ACE_INT32_MIN) - return NULL; - ev->u.lval = (long) ev->u.dval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_char: - ev->u.lval = (long) ev->u.cval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_wchar: - if (ev->u.wcval > (ACE_CDR::WChar) ACE_INT32_MAX) - return NULL; - ev->u.lval = (long) ev->u.wcval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_octet: - ev->u.lval = (long) ev->u.oval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_ulong: - switch (ev->et) { - case AST_Expression::EV_short: - if (ev->u.sval < 0) - return NULL; - ev->u.ulval = (unsigned long) ev->u.sval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_ushort: - ev->u.ulval = (unsigned long) ev->u.usval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_long: - if (ev->u.lval < 0) - return NULL; - ev->u.ulval = (unsigned long) ev->u.lval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_ulong: - return ev; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.llval > (ACE_CDR::LongLong) ACE_UINT32_MAX - || ev->u.llval < 0) - return NULL; - ev->u.ulval = (unsigned long) ev->u.llval; - ev->et = AST_Expression::EV_ulong; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.ullval > (ACE_CDR::ULongLong) ACE_UINT32_MAX) - return NULL; - ev->u.ulval = (unsigned long) ev->u.ullval; - ev->et = AST_Expression::EV_ulong; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - ev->u.ulval = (unsigned long) ev->u.bval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval < 0.0 - || ev->u.fval > (float) ACE_UINT32_MAX) - return NULL; - ev->u.ulval = (unsigned long) ev->u.fval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval < 0.0 - || ev->u.dval > (double) ACE_UINT32_MAX) - return NULL; - ev->u.ulval = (unsigned long) ev->u.dval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_char: - if ((signed char) ev->u.cval < 0) - return NULL; - ev->u.ulval = (unsigned long) ev->u.cval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_wchar: - ev->u.ulval = (unsigned long) ev->u.wcval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_octet: - ev->u.ulval = (unsigned long) ev->u.oval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - switch (ev->et) { - case AST_Expression::EV_short: - ev->u.llval = (ACE_CDR::LongLong) ev->u.sval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_ushort: - ev->u.llval = (ACE_CDR::LongLong) ev->u.usval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_long: - ev->u.llval = (ACE_CDR::LongLong) ev->u.lval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_ulong: - ev->u.llval = (ACE_CDR::LongLong) ev->u.ulval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_longlong: - return ev; - case AST_Expression::EV_ulonglong: - if (ev->u.ullval > ACE_INT64_MAX) - return NULL; - ev->u.llval = (ACE_CDR::LongLong) ev->u.ullval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_bool: - ev->u.llval = (ACE_CDR::LongLong) ev->u.bval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval > (float) ACE_INT64_MAX - || ev->u.fval < (float) ACE_INT64_MIN) - return NULL; - ev->u.llval = (ACE_CDR::LongLong) ev->u.fval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval > (double) ACE_INT64_MAX - || ev->u.dval < (double) ACE_INT64_MIN) - return NULL; - ev->u.llval = (ACE_CDR::LongLong) ev->u.dval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_char: - ev->u.llval = (ACE_CDR::LongLong) ev->u.cval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_wchar: - ev->u.llval = (ACE_CDR::LongLong) ev->u.wcval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_octet: - ev->u.llval = (ACE_CDR::LongLong) ev->u.oval; - ev->et = AST_Expression::EV_longlong; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - switch (ev->et) { - case AST_Expression::EV_short: - if (ev->u.sval < 0) - return NULL; - ev->u.ullval = (ACE_CDR::ULongLong) ev->u.sval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_ushort: - ev->u.ullval = (ACE_CDR::ULongLong) ev->u.usval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_long: - if (ev->u.lval < 0) - return NULL; - ev->u.ullval = (ACE_CDR::ULongLong) ev->u.lval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_ulong: - ev->u.ullval = (ACE_CDR::ULongLong) ev->u.ulval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_longlong: - if (ev->u.llval < 0) - return NULL; - ev->u.ullval = (ACE_CDR::LongLong) ev->u.llval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_ulonglong: - return ev; - case AST_Expression::EV_bool: - ev->u.ullval = (ACE_CDR::ULongLong) ev->u.bval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval < 0.0 || ev->u.fval > (float) ACE_UINT64_MAX) - return NULL; - ev->u.ullval = (ACE_CDR::ULongLong) ev->u.fval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval < 0.0 || ev->u.dval > (double) ACE_UINT64_MAX) - return NULL; - ev->u.ullval = (ACE_CDR::ULongLong) ev->u.dval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_char: - if ((signed char) ev->u.cval < 0) - return NULL; - ev->u.ullval = (ACE_CDR::ULongLong) ev->u.cval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_wchar: - ev->u.ullval = (ACE_CDR::ULongLong) ev->u.wcval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_octet: - ev->u.ullval = (ACE_CDR::ULongLong) ev->u.oval; - ev->et = AST_Expression::EV_ulonglong; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - switch (ev->et) { - case AST_Expression::EV_short: - ev->u.bval = (ev->u.sval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_ushort: - ev->u.bval = (ev->u.usval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_long: - ev->u.bval = (ev->u.lval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_ulong: - ev->u.bval = (ev->u.ulval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - ev->u.bval = (ev->u.llval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - ev->u.bval = (ev->u.ullval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - return ev; - case AST_Expression::EV_float: - ev->u.bval = (ev->u.fval == 0.0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_double: - ev->u.bval = (ev->u.dval == 0.0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_char: - ev->u.bval = (ev->u.cval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_wchar: - ev->u.bval = (ev->u.wcval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_octet: - ev->u.bval = (ev->u.oval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_float: - switch (ev->et) { - case AST_Expression::EV_short: - ev->u.fval = (float) ev->u.sval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_ushort: - ev->u.fval = (float) ev->u.usval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_long: - ev->u.fval = (float) ev->u.lval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_ulong: - ev->u.fval = (float) ev->u.ulval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.llval > FLT_MAX - || ev->u.llval < -(ACE_FLT_MAX)) - return NULL; - ev->u.fval = (float) ev->u.llval; - ev->et = AST_Expression::EV_float; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - // Some compilers don't implement unsigned 64-bit to float conversions, - // so we are stuck with the signed 64-bit max value. - if (ev->u.ullval > ACE_UINT64_MAX - || (ACE_CDR::LongLong) ev->u.ullval > ACE_FLT_MAX) - return NULL; - ev->u.fval = (float) ((ACE_CDR::LongLong) ev->u.ullval); - ev->et = AST_Expression::EV_float; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - ev->u.fval = (float) ((ev->u.bval == I_TRUE) ? 1.0 : 0.0); - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_float: - return ev; - case AST_Expression::EV_double: - if (ev->u.dval > ACE_FLT_MAX - || ev->u.dval < -(ACE_FLT_MAX)) - return NULL; - ev->u.fval = (float) ev->u.dval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_char: - ev->u.fval = (float) ev->u.cval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_wchar: - ev->u.fval = (float) ev->u.wcval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_octet: - ev->u.fval = (float) ev->u.oval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_double: - switch (ev->et) { - case AST_Expression::EV_short: - ev->u.dval = (double) ev->u.sval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_ushort: - ev->u.dval = (double) ev->u.usval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_long: - ev->u.dval = (double) ev->u.lval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_ulong: - ev->u.dval = (double) ev->u.ulval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - ev->u.dval = (double) ev->u.llval; - ev->et = AST_Expression::EV_double; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - // Some compilers don't implement unsigned 64-bit to double - // conversions, so we are stuck with the signed 64-bit max value. - if (ev->u.ullval > ACE_INT64_MAX) - return NULL; - ev->u.dval = (double) ((ACE_CDR::LongLong) ev->u.ullval); - ev->et = AST_Expression::EV_double; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - ev->u.dval = (ev->u.bval == I_TRUE) ? 1.0 : 0.0; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_float: - ev->u.dval = (double) ev->u.fval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_double: - return ev; - case AST_Expression::EV_char: - ev->u.dval = (double) ev->u.cval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_wchar: - ev->u.dval = (double) ev->u.wcval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_octet: - ev->u.dval = (double) ev->u.oval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_char: - switch (ev->et) { - case AST_Expression::EV_short: - if (ev->u.sval > (short) ACE_CHAR_MAX - || ev->u.sval < (short) ACE_CHAR_MIN) - return NULL; - ev->u.cval = (char) ev->u.sval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_ushort: - if (ev->u.usval > (unsigned short) ACE_CHAR_MAX) - return NULL; - ev->u.cval = (char) ev->u.usval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_long: - if (ev->u.lval > (long) ACE_CHAR_MAX - || ev->u.lval < (long) ACE_CHAR_MIN) - return NULL; - ev->u.cval = (char) ev->u.lval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_ulong: - if (ev->u.ulval > (unsigned long) ACE_CHAR_MAX) - return NULL; - ev->u.cval = (char) ev->u.ulval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.llval > (ACE_CDR::LongLong) ACE_CHAR_MAX - || ev->u.llval < (ACE_CDR::LongLong) ACE_CHAR_MIN) - return NULL; - ev->u.cval = (char) ev->u.llval; - ev->et = AST_Expression::EV_char; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.ullval > (ACE_CDR::ULongLong) ACE_CHAR_MAX) - return NULL; - ev->u.cval = (char) ev->u.ullval; - ev->et = AST_Expression::EV_char; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - ev->u.cval = (char) ev->u.bval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval > (float) ACE_CHAR_MAX - || ev->u.fval < (float) ACE_CHAR_MIN) - return NULL; - ev->u.cval = (char) ev->u.fval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval > (double) ACE_CHAR_MAX - || ev->u.dval < (double) ACE_CHAR_MIN) - return NULL; - ev->u.cval = (char) ev->u.dval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_char: - return ev; - case AST_Expression::EV_wchar: - if (ev->u.wcval > (ACE_CDR::WChar) ACE_CHAR_MAX) - return NULL; - ev->u.cval = (char) ev->u.wcval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_octet: - if (ev->u.oval > (unsigned char) ACE_CHAR_MAX) - return NULL; - ev->u.cval = (char) ev->u.oval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_wchar: - switch (ev->et) { - case AST_Expression::EV_short: - if (ev->u.sval < 0) - return NULL; - ev->u.wcval = (ACE_CDR::WChar) ev->u.sval; - ev->et = AST_Expression::EV_wchar; - return ev; - case AST_Expression::EV_ushort: - ev->u.wcval = (ACE_CDR::WChar) ev->u.usval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_long: - if (ev->u.lval < 0) - return NULL; - ev->u.wcval = (ACE_CDR::WChar) ev->u.lval; - ev->et = AST_Expression::EV_wchar; - return ev; - case AST_Expression::EV_ulong: - ev->u.wcval = (ACE_CDR::WChar) ev->u.ulval; - ev->et = AST_Expression::EV_wchar; - return ev; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.llval > (ACE_CDR::LongLong) ACE_WCHAR_MAX - || ev->u.llval < 0) - return NULL; - ev->u.wcval = (ACE_CDR::WChar) ev->u.llval; - ev->et = AST_Expression::EV_wchar; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.ullval > (ACE_CDR::ULongLong) ACE_WCHAR_MAX) - return NULL; - ev->u.wcval = (ACE_CDR::WChar) ev->u.ullval; - ev->et = AST_Expression::EV_wchar; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - ev->u.wcval = (ACE_CDR::WChar) ev->u.bval; - ev->et = AST_Expression::EV_wchar; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval > (float) ACE_WCHAR_MAX - || ev->u.fval < 0) - return NULL; - ev->u.wcval = (ACE_CDR::WChar) ev->u.fval; - ev->et = AST_Expression::EV_wchar; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval > (double) ACE_WCHAR_MAX - || ev->u.dval < 0) - return NULL; - ev->u.wcval = (ACE_CDR::WChar) ev->u.dval; - ev->et = AST_Expression::EV_wchar; - return ev; - case AST_Expression::EV_char: - if ((signed char) ev->u.cval < 0) - return NULL; - ev->u.wcval = (ACE_CDR::WChar) ev->u.cval; - ev->et = AST_Expression::EV_wchar; - return ev; - case AST_Expression::EV_wchar: - return ev; - case AST_Expression::EV_octet: - ev->u.wcval = (ACE_CDR::WChar) ev->u.oval; - ev->et = AST_Expression::EV_wchar; - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_octet: - switch (ev->et) { - case AST_Expression::EV_short: - if (ev->u.sval < 0 || ev->u.sval > (short) ACE_OCTET_MAX) - return NULL; - ev->u.oval = (unsigned char) ev->u.sval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_ushort: - if (ev->u.usval > (unsigned short) ACE_OCTET_MAX) - return NULL; - ev->u.oval = (unsigned char) ev->u.usval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_long: - if (ev->u.lval < 0 - || ev->u.lval > (long) ACE_OCTET_MAX) - return NULL; - ev->u.oval = (unsigned char) ev->u.lval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_ulong: - if (ev->u.ulval > (unsigned long) ACE_OCTET_MAX) - return NULL; - ev->u.oval = (unsigned char) ev->u.ulval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.llval < 0 - || ev->u.llval > (ACE_CDR::LongLong) ACE_OCTET_MAX) - return NULL; - ev->u.oval = (unsigned char) ev->u.llval; - ev->et = AST_Expression::EV_octet; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - if (ev->u.ullval > (ACE_CDR::ULongLong) ACE_OCTET_MAX) - return NULL; - ev->u.oval = (unsigned char) ev->u.ullval; - ev->et = AST_Expression::EV_octet; - return ev; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case AST_Expression::EV_bool: - ev->u.oval = (ev->u.bval == I_FALSE) ? 1 : 0; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval < 0.0 - || ev->u.fval > (float) ACE_OCTET_MAX) - return NULL; - ev->u.oval = (unsigned char) ev->u.fval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval < 0.0 - || ev->u.dval > (double) ACE_OCTET_MAX) - return NULL; - ev->u.oval = (unsigned char) ev->u.dval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_char: - if ((signed char) ev->u.cval < 0) - return NULL; - ev->u.oval = (unsigned char) ev->u.cval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_wchar: - if (ev->u.wcval > (ACE_CDR::WChar) ACE_OCTET_MAX) - return NULL; - ev->u.oval = (unsigned char) ev->u.wcval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_octet: - return ev; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_any: - switch (ev->et) { - case AST_Expression::EV_any: - return ev; - default: - return NULL; - } - case AST_Expression::EV_void: - switch (ev->et) { - case AST_Expression::EV_void: - return ev; - default: - return NULL; - } - case AST_Expression::EV_none: - return NULL; - case AST_Expression::EV_string: - switch (ev->et) { - case AST_Expression::EV_string: - return ev; - default: - return NULL; - } - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - return NULL; - } - return NULL; -} - -/* - * Evaluate the expression wrt the evaluation kind requested. Supported - * evaluation kinds are - * - EK_const: The expression must evaluate to a constant - * - EK_positive_int: The expression must further evaluate to a - * positive integer - */ -static AST_Expression::AST_ExprValue * -eval_kind(AST_Expression::AST_ExprValue *ev, AST_Expression::EvalKind ek) -{ - if (ek == AST_Expression::EK_const) - return ev; - if (ek == AST_Expression::EK_positive_int) - return coerce_value(ev, AST_Expression::EV_ulong); - - return NULL; -} - -/* - * Private operations - */ - -/* - * Apply binary operators to an AST_Expression after evaluating - * its sub-expressions. - * Operations supported: - * - * '+', '-', '*', '/' - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval_bin_op(AST_Expression::EvalKind ek) -{ - AST_ExprValue *retval = NULL; - - if (ek != EK_const && ek != EK_positive_int) - return NULL; - if (pd_v1 == NULL || pd_v2 == NULL) - return NULL; - pd_v1->set_ev(pd_v1->eval_internal(ek)); - if (pd_v1->ev() == NULL) - return NULL; - pd_v1->set_ev(pd_v1->coerce(EV_double)); - if (pd_v1->ev() == NULL) - return NULL; - pd_v2->set_ev(pd_v2->eval_internal(ek)); - if (pd_v2->ev() == NULL) - return NULL; - pd_v2->set_ev(pd_v2->coerce(EV_double)); - if (pd_v2->ev() == NULL) - return NULL; - - retval = new AST_ExprValue; - retval->et = EV_double; - - switch (pd_ec) { - case EC_mod: - if (pd_v2->ev()->u.lval == 0) - return NULL; - retval->u.lval = pd_v1->ev()->u.lval % pd_v2->ev()->u.lval; - break; - case EC_add: - retval->u.dval = pd_v1->ev()->u.dval + pd_v2->ev()->u.dval; - break; - case EC_minus: - retval->u.dval = pd_v1->ev()->u.dval - pd_v2->ev()->u.dval; - break; - case EC_mul: - retval->u.dval = pd_v1->ev()->u.dval * pd_v2->ev()->u.dval; - break; - case EC_div: - if (pd_v2->ev()->u.dval == 0.0) - return NULL; - retval->u.dval = pd_v1->ev()->u.dval / pd_v2->ev()->u.dval; - break; - default: - return NULL; - } - return retval; -} - -/* - * Apply bitwise operations to an AST_Expression after evaluating - * its sub-expressions. - * Operations supported: - * - * '%', '|', '&', '^', '<<', '>>' - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval_bit_op(AST_Expression::EvalKind ek) -{ - AST_Expression::AST_ExprValue *retval=NULL; - - if (ek != EK_const && ek != EK_positive_int) - return NULL; - if (pd_v1 == NULL || pd_v2 == NULL) - return NULL; - pd_v1->set_ev(pd_v1->eval_internal(ek)); - if (pd_v1->ev() == NULL) - return NULL; - pd_v1->set_ev(pd_v1->coerce(EV_long)); - if (pd_v1->ev() == NULL) - return NULL; - pd_v2->set_ev(pd_v2->eval_internal(ek)); - if (pd_v2->ev() == NULL) - return NULL; - pd_v2->set_ev(pd_v2->coerce(EV_long)); - if (pd_v2->ev() == NULL) - return NULL; - - retval = new AST_ExprValue; - retval->et = EV_long; - - switch (pd_ec) { - case EC_or: - retval->u.lval = pd_v1->ev()->u.lval | pd_v2->ev()->u.lval; - break; - case EC_xor: - retval->u.lval = pd_v1->ev()->u.lval ^ pd_v2->ev()->u.lval; - break; - case EC_and: - retval->u.lval = pd_v1->ev()->u.lval & pd_v2->ev()->u.lval; - break; - case EC_left: - retval->u.lval = pd_v1->ev()->u.lval << pd_v2->ev()->u.lval; - break; - case EC_right: - retval->u.lval = pd_v1->ev()->u.lval >> pd_v2->ev()->u.lval; - break; - default: - return NULL; - } - return retval; -} - -/* - * Apply unary operators to an AST_Expression after evaluating its - * sub-expression. - * Operations supported: - * - * '-', '+', '~' - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval_un_op(AST_Expression::EvalKind ek) -{ - AST_ExprValue *retval = NULL; - - if (pd_ev != NULL) - return pd_ev; - - if (ek != EK_const && ek != EK_positive_int) - return NULL; - if (pd_v1 == NULL) - return NULL; - pd_v1->set_ev(pd_v1->eval_internal(ek)); - if (pd_v1->ev() == NULL) - return NULL; - - retval = new AST_ExprValue; - retval->et = EV_double; - - switch (pd_ec) { - case EC_u_plus: - pd_v1->set_ev(pd_v1->coerce(EV_double)); - if (pd_v1->ev() == NULL) - return NULL; - retval->u.dval = pd_v1->ev()->u.dval; - break; - case EC_u_minus: - pd_v1->set_ev(pd_v1->coerce(EV_double)); - if (pd_v1->ev() == NULL) - return NULL; - retval->u.dval = -(pd_v1->ev()->u.dval); - break; - case EC_bit_neg: - pd_v1->set_ev(pd_v1->coerce(EV_long)); - if (pd_v1->ev() == NULL) - return NULL; - retval->u.dval = ~pd_v1->ev()->u.lval; - break; - default: - return NULL; - } - return retval; -} - -/* - * Evaluate a symbolic AST_Expression by looking up the named - * symbol. - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval_symbol(AST_Expression::EvalKind ek) -{ - UTL_Scope *s = 0; - AST_Decl *d = 0; - AST_Constant *c = 0; - - /* - * Is there a symbol stored? - */ - if (pd_n == NULL) { - idl_global->err()->eval_error(this); - return NULL; - } - /* - * Get current scope for lookup - */ - if (idl_global->scopes()->depth() > 0) - s = idl_global->scopes()->top_non_null(); - if (s == NULL) { - idl_global->err()->lookup_error(pd_n); - return NULL; - } - /* - * Do lookup - */ - d = s->lookup_by_name(pd_n, I_TRUE); - if (d == NULL) { - idl_global->err()->lookup_error(pd_n); - return NULL; - } - /* - * Is it a constant? - */ - if (d->node_type() != AST_Decl::NT_const && - d->node_type() != AST_Decl::NT_enum_val) { - idl_global->err()->constant_expected(pd_n, d); - return NULL; - } - /* - * OK, now evaluate the constant we just got, to produce its value - */ - c = AST_Constant::narrow_from_decl(d); - if (c == NULL) return NULL; - return c->constant_value()->eval_internal(ek); -} - -/* - * Coerce "this" to the ExprType required. Returns a copy of the - * original ExprValue with the coercion applied, if successful, or - * NULL if failed. - */ -AST_Expression::AST_ExprValue * -AST_Expression::coerce(AST_Expression::ExprType t) -{ - AST_ExprValue *copy; - - /* - * Is it already of the right type? - */ - if (pd_ev != NULL && pd_ev->et == t) - return pd_ev; - /* - * OK, must coerce - * - * First, evaluate it, then try to coerce result type - * If already evaluated, return the result - */ - pd_ev = eval_internal(EK_const); - if (pd_ev == NULL) - return NULL; - - /* - * Create a copy to contain coercion result - */ - copy = new AST_ExprValue; - - copy->et = pd_ev->et; - switch (pd_ev->et) { - case EV_longdouble: - case EV_wstring: - case EV_void: - case EV_none: - case EV_any: - return NULL; - case EV_short: - copy->u.sval = pd_ev->u.sval; - break; - case EV_ushort: - copy->u.usval = pd_ev->u.usval; - break; - case EV_long: - copy->u.lval = pd_ev->u.lval; - break; - case EV_ulong: - copy->u.ulval = pd_ev->u.ulval; - break; - case EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - copy->u.llval = pd_ev->u.llval; - break; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - copy->u.ullval = pd_ev->u.ullval; - break; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return NULL; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case EV_bool: - copy->u.bval = pd_ev->u.bval; - break; - case EV_float: - copy->u.fval = pd_ev->u.fval; - break; - case EV_double: - copy->u.dval = pd_ev->u.dval; - break; - case EV_char: - copy->u.cval = pd_ev->u.cval; - break; - case EV_wchar: - copy->u.wcval = pd_ev->u.wcval; - break; - case EV_octet: - copy->u.oval = pd_ev->u.oval; - break; - case EV_string: - copy->u.strval = pd_ev->u.strval; - break; - } - - return coerce_value(copy, t); -} - -/* - * Eval used internally - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval_internal(AST_Expression::EvalKind ek) -{ - /* - * Already evaluated? - */ - if (pd_ev != NULL) - return eval_kind(pd_ev, ek); - /* - * OK, must evaluate operator - */ - switch (pd_ec) { - case EC_add: - case EC_minus: - case EC_mul: - case EC_div: - case EC_mod: - pd_ev = eval_bin_op(ek); - return eval_kind(pd_ev, ek); - case EC_or: - case EC_xor: - case EC_and: - case EC_left: - case EC_right: - pd_ev = eval_bit_op(ek); - return eval_kind(pd_ev, ek); - case EC_u_plus: - case EC_u_minus: - case EC_bit_neg: - pd_ev = eval_un_op(ek); - return eval_kind(pd_ev, ek); - case EC_symbol: - pd_ev = eval_symbol(ek); - return eval_kind(pd_ev, ek); - case EC_none: - return NULL; - } - return NULL; -} - -/* - * Public operations - */ - -/* - * Evaluate an AST_Expression, producing an AST_ExprValue or NULL - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval(AST_Expression::EvalKind ek) -{ - AST_Expression::AST_ExprValue *v = NULL; - - /* - * Call internal evaluator which does not coerce value to - * EvalKind-expected format - */ - v = eval_internal(ek); - /* - * Then coerce according to EvalKind-expected format - */ - return eval_kind(v, ek); -} - -/* - * Evaluate "this", assigning the value to the pd_ev field. - */ -void -AST_Expression::evaluate(EvalKind ek) -{ - pd_ev = eval_internal(ek); - pd_ev = eval_kind(pd_ev, ek); -} - -/* - * Expression equality comparison operator - */ -long -AST_Expression::operator==(AST_Expression *vc) -{ - if (pd_ec != vc->ec()) - return I_FALSE; - evaluate(EK_const); - vc->evaluate(EK_const); - if (pd_ev == NULL || vc->ev() == NULL) - return I_FALSE; - if (pd_ev->et != vc->ev()->et) - return I_FALSE; - switch (pd_ev->et) { - case EV_short: - return (pd_ev->u.sval == vc->ev()->u.sval) ? I_TRUE : I_FALSE; - case EV_ushort: - return (pd_ev->u.usval == vc->ev()->u.usval) ? I_TRUE : I_FALSE; - case EV_long: - return (pd_ev->u.lval == vc->ev()->u.lval) ? I_TRUE : I_FALSE; - case EV_ulong: - return (pd_ev->u.ulval == vc->ev()->u.ulval) ? I_TRUE : I_FALSE; - case EV_float: - return (pd_ev->u.fval == vc->ev()->u.fval) ? I_TRUE : I_FALSE; - case EV_double: - return (pd_ev->u.dval == vc->ev()->u.dval) ? I_TRUE : I_FALSE; - case EV_char: - return (pd_ev->u.cval == vc->ev()->u.cval) ? I_TRUE : I_FALSE; - case EV_wchar: - return (pd_ev->u.wcval == vc->ev()->u.wcval) ? I_TRUE : I_FALSE; - case EV_octet: - return (pd_ev->u.oval == vc->ev()->u.oval) ? I_TRUE : I_FALSE; - case EV_bool: - return (pd_ev->u.lval == vc->ev()->u.lval) ? I_TRUE : I_FALSE; - case EV_string: - if (pd_ev->u.strval == NULL) - { - if (vc->ev()->u.strval == NULL) - return I_TRUE; - else - return I_FALSE; - } - else if (vc->ev()->u.strval == NULL) - return I_FALSE; - else - return (pd_ev->u.strval == vc->ev()->u.strval) ? I_TRUE : I_FALSE; - case EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - return (pd_ev->u.llval == vc->ev()->u.llval) ? I_TRUE : I_FALSE; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return I_FALSE; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - return (pd_ev->u.ullval == vc->ev()->u.ullval) ? I_TRUE : I_FALSE; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return I_FALSE; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case EV_longdouble: - case EV_wstring: - case EV_any: - case EV_void: - case EV_none: - return I_FALSE; - } - return I_FALSE; -} - -long -AST_Expression::compare(AST_Expression *vc) -{ - if (pd_ec != vc->ec()) - return I_FALSE; - evaluate(EK_const); - vc->evaluate(EK_const); - if (pd_ev == NULL || vc->ev() == NULL) - return I_FALSE; - if (pd_ev->et != vc->ev()->et) - return I_FALSE; - switch (pd_ev->et) { - case EV_short: - return (pd_ev->u.sval == vc->ev()->u.sval) ? I_TRUE : I_FALSE; - case EV_ushort: - return (pd_ev->u.usval == vc->ev()->u.usval) ? I_TRUE : I_FALSE; - case EV_long: - return (pd_ev->u.lval == vc->ev()->u.lval) ? I_TRUE : I_FALSE; - case EV_ulong: - return (pd_ev->u.ulval == vc->ev()->u.ulval) ? I_TRUE : I_FALSE; - case EV_float: - return (pd_ev->u.fval == vc->ev()->u.fval) ? I_TRUE : I_FALSE; - case EV_double: - return (pd_ev->u.dval == vc->ev()->u.dval) ? I_TRUE : I_FALSE; - case EV_char: - return (pd_ev->u.cval == vc->ev()->u.cval) ? I_TRUE : I_FALSE; - case EV_wchar: - return (pd_ev->u.wcval == vc->ev()->u.wcval) ? I_TRUE : I_FALSE; - case EV_octet: - return (pd_ev->u.oval == vc->ev()->u.oval) ? I_TRUE : I_FALSE; - case EV_bool: - return (pd_ev->u.lval == vc->ev()->u.lval) ? I_TRUE : I_FALSE; - case EV_string: - if (pd_ev->u.strval == NULL) { - if (vc->ev()->u.strval == NULL) - return I_TRUE; - else - return I_FALSE; - } else if (vc->ev()->u.strval == NULL) - return I_FALSE; - else - return (pd_ev->u.strval == vc->ev()->u.strval) ? I_TRUE : I_FALSE; - case EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - return (pd_ev->u.llval == vc->ev()->u.llval) ? I_TRUE : I_FALSE; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return I_FALSE; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - return (pd_ev->u.ullval == vc->ev()->u.ullval) ? I_TRUE : I_FALSE; -#else /* ! defined (ACE_LACKS_LONGLONG_T) */ - return I_FALSE; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - case EV_longdouble: - case EV_wstring: - case EV_any: - case EV_void: - case EV_none: - return I_FALSE; - } - return I_FALSE; -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Helper functions for expression dumpers - */ - -/* - * Dump this binary AST_Expression node to the ostream o - */ -static void -dump_binary_expr(ostream &o, const char *s, AST_Expression *n1, AST_Expression *n2) -{ - if (n1 != NULL) n1->dump(o); - o << " " << s << " "; - if (n2 != NULL) n2->dump(o); -} - -/* - * Dump this unary AST_Expression node to the ostream o - */ -static void -dump_unary_expr(ostream &o, const char *s, AST_Expression *e) -{ - o << s; - e->dump(o); -} - -/* - * Dump the supplied AST_ExprValue to the ostream o - */ -static void -dump_expr_val(ostream &o, AST_Expression::AST_ExprValue *ev) -{ - switch (ev->et) { - case AST_Expression::EV_short: - o << ev->u.sval; - break; - case AST_Expression::EV_ushort: - o << ev->u.usval; - break; - case AST_Expression::EV_long: - o << ev->u.lval; - break; - case AST_Expression::EV_ulong: - o << ev->u.ulval; - break; - case AST_Expression::EV_float: - o << ev->u.fval; - break; - case AST_Expression::EV_double: - o << ev->u.dval; - break; - case AST_Expression::EV_char: - o << ev->u.cval; - break; - case AST_Expression::EV_wchar: - o << ev->u.wcval; - break; - case AST_Expression::EV_octet: - o << ev->u.oval; - break; - case AST_Expression::EV_bool: - o << (ev->u.bval == I_TRUE) ? "TRUE" : "FALSE"; - break; - case AST_Expression::EV_string: - if (ev->u.strval != NULL) - ev->u.strval->dump(o); - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) -// o << ev->u.llval; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - break; - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) -// o << ev->u.ullval; -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - break; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - case AST_Expression::EV_any: - case AST_Expression::EV_none: - case AST_Expression::EV_void: - break; - } -} - -/* - * Dump an AST_Expression node to the ostream o - */ -void -AST_Expression::dump(ostream &o) -{ - /* - * See if it was a constant or was evaluated already - */ - if (pd_ev != NULL) { - dump_expr_val(o, pd_ev); - return; - } - /* - * OK, must print out an expression - */ - switch (pd_ec) { - /* - * Binary expressions: - */ - case EC_add: - dump_binary_expr(o, "+", pd_v1, pd_v2); - break; - case EC_minus: - dump_binary_expr(o, "-", pd_v1, pd_v2); - break; - case EC_mul: - dump_binary_expr(o, "*", pd_v1, pd_v2); - break; - case EC_div: - dump_binary_expr(o, "/", pd_v1, pd_v2); - break; - case EC_mod: - dump_binary_expr(o, "%", pd_v1, pd_v2); - break; - case EC_or: - dump_binary_expr(o, "|", pd_v1, pd_v2); - break; - case EC_xor: - dump_binary_expr(o, "^", pd_v1, pd_v2); - break; - case EC_and: - dump_binary_expr(o, "&", pd_v1, pd_v2); - break; - case EC_left: - dump_binary_expr(o, "<<", pd_v1, pd_v2); - break; - case EC_right: - dump_binary_expr(o, ">>", pd_v1, pd_v2); - break; - /* - * Unary expressions: - */ - case EC_u_plus: - dump_unary_expr(o, "+", pd_v1); - break; - case EC_u_minus: - dump_unary_expr(o, "-", pd_v1); - break; - case EC_bit_neg: - dump_unary_expr(o, "~", pd_v1); - break; - /* - * Unevaluated symbol - */ - case EC_symbol: - pd_n->dump(o); - break; - case EC_none: - break; - default: - o << GTDEVEL("unsupported dump mode for expression with ec == ") - << (int) pd_ec ; - break; - } -} - -/* - * Data accessors - */ - -UTL_Scope * -AST_Expression::defined_in() -{ - return pd_defined_in; -} - -void -AST_Expression::set_defined_in(UTL_Scope *d) -{ - pd_defined_in = d; -} - -long -AST_Expression::line() -{ - return pd_line; -} - -void -AST_Expression::set_line(long l) -{ - pd_line = l; -} - -UTL_String * -AST_Expression::file_name() -{ - return pd_file_name; -} - -void -AST_Expression::set_file_name(UTL_String *f) -{ - pd_file_name = f; -} - -AST_Expression::ExprComb -AST_Expression::ec() -{ - return pd_ec; -} - -void -AST_Expression::set_ec(AST_Expression::ExprComb new_ec) -{ - pd_ec = new_ec; -} - -AST_Expression::AST_ExprValue * -AST_Expression::ev() -{ - return pd_ev; -} - -void -AST_Expression::set_ev(AST_Expression::AST_ExprValue *new_ev) -{ - pd_ev = new_ev; -} - -AST_Expression * -AST_Expression::v1() -{ - return pd_v1; -} - -void -AST_Expression::set_v1(AST_Expression *e) -{ - - pd_v1 = e; -} - -AST_Expression * -AST_Expression::v2() -{ - return pd_v2; -} - -void -AST_Expression::set_v2(AST_Expression *e) -{ - pd_v2 = e; -} - -UTL_ScopedName * -AST_Expression::n() -{ - return pd_n; -} - -void -AST_Expression::set_n(UTL_ScopedName *new_n) -{ - pd_n = new_n; -} diff --git a/TAO/TAO_IDL/ast/ast_field.cpp b/TAO/TAO_IDL/ast/ast_field.cpp deleted file mode 100644 index 05cc77d5def..00000000000 --- a/TAO/TAO_IDL/ast/ast_field.cpp +++ /dev/null @@ -1,171 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_field.cc - Implementation of class AST_Field - * - * AST_Fields denote fields in IDL structure, union and exception - * declarations. AST_Field is also used as a superclass of AST_Argument - * and AST_UnionBranch. - * AST_Fields have a field type (a subclass of AST_Type) and a name - * (a UTL_ScopedName) - * - * AST_Field supplies two constructors, one to be used in constructing - * AST_Field nodes, the other to be used in constructing AST_Argument - * nodes and AST_UnionBranch nodes. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_field, "$Id$") - -/* - * Constructor(s) and destructor - */ - -/* - * Default constructor - */ -AST_Field::AST_Field() - : pd_field_type(NULL), pd_visibility (vis_NA) -{ -} - -/* - * To be used when constructing an AST_Field node - */ -AST_Field::AST_Field(AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p, - Visibility vis) - : AST_Decl(AST_Decl::NT_field, n, p), - pd_field_type(ft), pd_visibility (vis) -{ -} - -/* - * To be used when constructing a node of a subclass of AST_Field - */ -AST_Field::AST_Field(AST_Decl::NodeType nt, AST_Type *ft, - UTL_ScopedName *n, UTL_StrList *p, Visibility vis) - : AST_Decl(nt, n, p), - pd_field_type(ft), pd_visibility (vis) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Field node to the ostream o - */ -void -AST_Field::dump(ostream &o) -{ - switch (visibility()) - { - case vis_PRIVATE: - o << "private "; - break; - case vis_PUBLIC: - o << "public "; - break; - } - pd_field_type->local_name()->dump(o); - o << " "; - local_name()->dump(o); -} - -/* - * Data accessors - */ - -AST_Type * -AST_Field::field_type() -{ - return pd_field_type; -} - -AST_Field::Visibility -AST_Field::visibility() -{ - return pd_visibility; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Field, AST_Decl) -IMPL_NARROW_FROM_DECL(AST_Field) diff --git a/TAO/TAO_IDL/ast/ast_generator.cpp b/TAO/TAO_IDL/ast/ast_generator.cpp deleted file mode 100644 index c2a254236fe..00000000000 --- a/TAO/TAO_IDL/ast/ast_generator.cpp +++ /dev/null @@ -1,454 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_generator.cc - Implements the base AST node generator - * - * The generator protocol is explained in detail in the IDL CFE - * design document. - * The AST_Generator class provides operations to instantiate any - * of the AST nodes. It contains an operation for every constructor - * of every AST class. - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "ace/inc_user_config.h" - -ACE_RCSID(ast, ast_generator, "$Id$") - -/* - * Constructors - */ - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Construct an AST_PredefinedType node (a predefined type) - */ -AST_PredefinedType * -AST_Generator::create_predefined_type(AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_PredefinedType(t, n, p); -} - -/* - * Construct an AST_Module node (a module) - */ -AST_Module * -AST_Generator::create_module(UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Module(n, p); -} - -/* - * Construct an AST_Root node (a node representing the root of an AST) - */ -AST_Root * -AST_Generator::create_root(UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Root(n, p); -} - -/* - * Construct an AST_Interface node (an interface) - */ -AST_Interface * -AST_Generator::create_interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p) -{ - return new AST_Interface(n, ih, nih, p); -} - -/* - * Construct an AST_InterfaceFwd node (a node representing the forward - * declaration of an interface) - */ -AST_InterfaceFwd * -AST_Generator::create_interface_fwd(UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_InterfaceFwd (this->create_interface (n, 0, -1, p), n, p); -} - -/* - * Create a be_valuetype node - */ -AST_Interface * -AST_Generator::create_valuetype(UTL_ScopedName *, - AST_Interface ** /* ih */, - long /* nih */, - UTL_StrList *) -{ - // Valuetypes are represented as be_valuetype derived from be_interface, - // which derives from AST_Interface. If you construct a backend which - // utilizes only the AST_... classes, you must instantiate an object that - // returns true from AST_Interface::is_valuetype(). - // (currently not implemented) - // Also invoke - // (AST_Module::narrow_from_scope (this->defined_in ()))->set_has_nested_valuetype (); - - ACE_ASSERT (0); - return 0; -} - -/* - * Create a be_valuetype_fwd node - */ -AST_InterfaceFwd * -AST_Generator::create_valuetype_fwd (UTL_ScopedName *, - UTL_StrList *) -{ - // see note in create_valuetype() - // dummy placeholder must return true from is_valuetype() - - ACE_ASSERT (0); - return 0; -} - - -/* - * Construct an AST_Exception node (an exception) - */ -AST_Exception * -AST_Generator::create_exception(UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Exception(n, p); -} - -/* - * Construct an AST_Structure node (a struct) - */ -AST_Structure * -AST_Generator::create_structure(UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Structure(n, p); -} - -/* - * Construct an AST_Enum node (an enum) - */ -AST_Enum * -AST_Generator::create_enum(UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Enum(n, p); -} - -/* - * Construct an AST_Operation node (an operation on an interface) - */ -AST_Operation * -AST_Generator::create_operation(AST_Type *rt, - AST_Operation::Flags fl, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Operation(rt, fl, n, p); -} - -/* - * Construct an AST_Field node (a field in a struct, union or exception) - */ -AST_Field * -AST_Generator::create_field(AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p, - AST_Field::Visibility vis) -{ - return new AST_Field(ft, n, p, vis); -} - -/* - * Construct an AST_Argument node (an argument to an operation) - */ -AST_Argument * -AST_Generator::create_argument(AST_Argument::Direction d, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Argument(d, ft, n, p); -} - -/* - * Construct an AST_Attribute node (an attribute) - */ -AST_Attribute * -AST_Generator::create_attribute(idl_bool ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Attribute(ro, ft, n, p); -} - -/* - * Construct an AST_Union node (a union) - */ -AST_Union * -AST_Generator::create_union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Union(dt, n, p); -} - -/* - * Construct an AST_UnionBranch node (a branch in a union) - */ -AST_UnionBranch * -AST_Generator::create_union_branch(UTL_LabelList *ll, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_UnionBranch(ll, ft, n, p); -} - -/* - * Construct an AST_UnionLabel node (a label in a union) - */ -AST_UnionLabel * -AST_Generator::create_union_label(AST_UnionLabel::UnionLabel ul, - AST_Expression *v) -{ - return new AST_UnionLabel(ul, v); -} - -/* - * Construct an AST_Constant node (a constant) - */ -AST_Constant * -AST_Generator::create_constant(AST_Expression::ExprType et, - AST_Expression *ev, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Constant(et, ev, n, p); -} - -/* - * Construct an AST_Expression node denoting a symbolic name - */ -AST_Expression * -AST_Generator::create_expr(UTL_ScopedName *n) -{ - return new AST_Expression(n); -} - -/* - * Construct an AST_Expression denoting a coercion - */ -AST_Expression * -AST_Generator::create_expr(AST_Expression *v, AST_Expression::ExprType t) -{ - return new AST_Expression(v, t); -} - -/* - * Construct an AST_Expression node denoting a binary combinator - * of two other AST_Expression nodes - */ -AST_Expression * -AST_Generator::create_expr(AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2) -{ - return new AST_Expression(c, v1, v2); -} - -/* - * Construct an AST_Expression node denoting a long integer - */ -AST_Expression * -AST_Generator::create_expr(long v) -{ - return new AST_Expression(v); -} - -/* - * Construct an AST_Expression node denoting a long integer being used - * as a boolean - */ -AST_Expression * -AST_Generator::create_expr(long v, AST_Expression::ExprType t) -{ - return new AST_Expression(v, t); -} - -/* - * Construct an AST_Expression node denoting an unsigned long integer - */ -AST_Expression * -AST_Generator::create_expr(unsigned long v) -{ - return new AST_Expression(v); -} - -/* - * Construct an AST_Expression node denoting a string (a char * - * encapsulated as String) - */ -AST_Expression * -AST_Generator::create_expr(UTL_String *s) -{ - return new AST_Expression(s); -} - -/* - * Construct an AST_Expression node denoting a character - */ -AST_Expression * -AST_Generator::create_expr(char c) -{ - return new AST_Expression(c); -} - -/* - * Construct an AST_Expression node denoting a 64-bit floating point number - */ -AST_Expression * -AST_Generator::create_expr(double d) -{ - return new AST_Expression(d); -} - -/* - * Construct an AST_EnumVal node (an enumerator) - */ -AST_EnumVal * -AST_Generator::create_enum_val(unsigned long v, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_EnumVal(v, n, p); -} - -/* - * Construct an AST_Array node (an array type or field modifier) - */ -AST_Array * -AST_Generator::create_array(UTL_ScopedName *n, - unsigned long ndims, - UTL_ExprList *dims) -{ - return new AST_Array(n, ndims, dims); -} - -/* - * Construct an AST_Sequence node (a sequence type definition) - */ -AST_Sequence * -AST_Generator::create_sequence(AST_Expression *ms, AST_Type *bt) -{ - return new AST_Sequence(ms, bt); -} - -/* - * Construct an AST_String node (a string type definition) - */ -AST_String * -AST_Generator::create_string(AST_Expression *ms) -{ - return new AST_String(ms); -} - -/* - * Construct an AST_String node denoting a wide string type definition - */ -AST_String * -AST_Generator::create_wstring(AST_Expression *ms) -{ - return new AST_String(ms, sizeof(ACE_OS::WChar)); -} - -/* - * Construct an AST_Typedef node (a typedef) - */ -AST_Typedef * -AST_Generator::create_typedef(AST_Type *bt, UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Typedef(bt, n, p); -} - -/* - * Construct an AST_Native node - */ -AST_Native * -AST_Generator::create_native (UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Native (n, p); -} diff --git a/TAO/TAO_IDL/ast/ast_interface.cpp b/TAO/TAO_IDL/ast/ast_interface.cpp deleted file mode 100644 index 762f4001986..00000000000 --- a/TAO/TAO_IDL/ast/ast_interface.cpp +++ /dev/null @@ -1,814 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_interface.cc - Implementation of class AST_Interface - * - * AST_Interfaces denote IDL interface definitions - * AST_Interfaces are subclasses of AST_Type and UTL_Scope - * AST_Interfaces have an array of inherited interfaces and - * a count of the number of inherited interfaces. This count - * represents the total number of unique (recursively) inherited - * interfaces. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_interface, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Interface::AST_Interface() - : pd_inherits(NULL), - pd_n_inherits(0) -{ -} - -AST_Interface::AST_Interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_interface, n, p), - UTL_Scope(AST_Decl::NT_interface), - pd_inherits(ih), - pd_n_inherits(nih) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -idl_bool AST_Interface::is_abstract_interface () -{ - return 0; -} - - -idl_bool AST_Interface::is_valuetype () -{ - return 0; -} - - -idl_bool AST_Interface::is_abstract_valuetype () -{ - return 0; -} - -void AST_Interface::set_abstract_valuetype () -{ - ACE_ASSERT (0); -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add an AST_Constant node (a constant declaration) to this scope - */ -AST_Constant *AST_Interface::fe_add_constant(AST_Constant *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Exception node (an exception declaration) to this scope - */ -AST_Exception *AST_Interface::fe_add_exception(AST_Exception *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Attribute node (an attribute declaration) to this scope - */ -AST_Attribute *AST_Interface::fe_add_attribute(AST_Attribute *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - - -/* - * Add this AST_Field node (a field declaration) to this scope - * (only for valuetypes) - */ -AST_Field *AST_Interface::fe_add_field(AST_Field *t) -{ -#ifdef IDL_HAS_VALUETYPE - AST_Decl *d; - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; - -#else /* IDL_HAS_VALUETYPE */ - ACE_ASSERT (0); - return 0; -#endif /* IDL_HAS_VALUETYPE */ -} - - -/* - * Add an AST_Operation node (an operation declaration) to this scope - */ -AST_Operation *AST_Interface::fe_add_operation(AST_Operation *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Structure (a struct declaration) to this scope - */ -AST_Structure *AST_Interface::fe_add_structure(AST_Structure *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Enum node (an enum declaration) to this scope - */ -AST_Enum *AST_Interface::fe_add_enum(AST_Enum *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Union (a union declaration) to this scope - */ -AST_Union *AST_Interface::fe_add_union(AST_Union *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_EnumVal node (an enumerator) to this scope. - * This is done to conform to the C++ scoping rules which declare - * enumerators in the enclosing scope (in addition to declaring them - * in the enum itself) - */ -AST_EnumVal *AST_Interface::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Typedef (a typedef) to the current scope - */ -AST_Typedef *AST_Interface::fe_add_typedef(AST_Typedef *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Native (a native declaration) to this scope - */ -AST_Native *AST_Interface::fe_add_native (AST_Native *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Interface node to the ostream o - */ -void -AST_Interface::dump(ostream &o) -{ - long i; - - if (this->is_valuetype ()) - { - if (this->is_abstract_valuetype ()) - o << "abstract "; - o << "valuetype "; - } - else - { - if (this->is_abstract_interface ()) - o << "abstract "; - o << "interface "; - } - local_name()->dump(o); - o << " "; - if (pd_n_inherits > 0) { - o << ": "; - for (i = 0; i < pd_n_inherits; i++) { - pd_inherits[i]->local_name()->dump(o); - if (i < pd_n_inherits - 1) - o << ", "; - } - } - o << " {\n"; - UTL_Scope::dump(o); - idl_global->indent()->skip_to(o); - o << "}"; -} - -void -AST_Interface::fwd_redefinition_helper (AST_Interface *&i, - UTL_Scope *s, - UTL_StrList *p) -{ - AST_Decl *d = NULL; - AST_Interface *fd = NULL; - - if (i != NULL && (d = s->lookup_by_name (i->name (), - I_FALSE)) - != NULL) - { - // See if we're defining a forward declared interface. - if (d->node_type () == AST_Decl::NT_interface) - { - // Narrow to an interface - fd = AST_Interface::narrow_from_decl (d); - - // Successful? - if (fd == NULL) - { - // Should we give an error here? ... no, look in fe_add_interface - } - - // If it is a forward declared interface.. - else if (!fd->is_defined ()) - { - // Check if redefining in same scope. If a module is reopened, - // a new pointer in created, and the first term below will be true. - // In that case, the scoped names must be compared. - if (fd->defined_in () != s - && !AST_Interface::compare_names (fd, - i)) - { - idl_global->err ()->error2 (UTL_Error::EIDL_SCOPE_CONFLICT, - i, - fd); - } - - // All OK, do the redefinition - else - { -# ifdef IDL_HAS_VALUETYPE - - // only redefinition of the same kind - if ((i->is_valuetype () != fd->is_valuetype ()) - || (i->is_abstract_valuetype () != fd->is_abstract_valuetype ()) - || (i->is_abstract_interface () != fd->is_abstract_interface ())) - { - idl_global->err ()->error2 (UTL_Error::EIDL_REDEF, - i, - fd); - return; - } - -# endif /* IDL_HAS_VALUETYPE */ - - fd->redefine (i, - p); - - // Use full definition node - delete i; - i = fd; - } - } - } - } -} - - -/* - * Data accessors - */ - -void -AST_Interface::redefine (AST_Interface *from, UTL_StrList *p) -{ - this->set_inherits(from->inherits()); - this->set_n_inherits(from->n_inherits()); - /* - * Update place of definition - */ - this->set_imported(idl_global->imported()); - this->set_in_main_file(idl_global->in_main_file()); - this->set_line(idl_global->lineno()); - this->set_file_name(idl_global->filename()); - this->add_pragmas(p); -} - -AST_Interface ** -AST_Interface::inherits() -{ - return pd_inherits; -} - -void -AST_Interface::set_inherits(AST_Interface **i) -{ - pd_inherits = i; -} - -long -AST_Interface::n_inherits() -{ - return pd_n_inherits; -} - -void -AST_Interface::set_n_inherits(long i) -{ - pd_n_inherits = i; -} - -// Get the scoped names and, if they are the same -// length, iterate over them, comparing each term. -idl_bool -AST_Interface::compare_names (AST_Interface *that, - AST_Interface *other) -{ - UTL_ScopedName *that_name = that->name (); - UTL_ScopedName *other_name = other->name (); - - long that_length = that_name->length (); - - if (that_length != other_name->length ()) - { - return I_FALSE; - } - - Identifier *that_id = 0; - Identifier *other_id = 0; - - UTL_IdListActiveIterator *that_iter = - new UTL_IdListActiveIterator (that_name); - UTL_IdListActiveIterator *other_iter = - new UTL_IdListActiveIterator (other_name); - - for (int i = 0; i < that_length; i++) - { - that_id = that_iter->item (); - other_id = other_iter->item (); - - if (ACE_OS::strcmp (that_id->get_string (), - other_id->get_string ())) - { - delete that_iter; - delete other_iter; - return I_FALSE; - } - - that_iter->next (); - other_iter->next (); - } - - delete that_iter; - delete other_iter; - return I_TRUE; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS2(AST_Interface, AST_Type, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Interface) -IMPL_NARROW_FROM_SCOPE(AST_Interface) diff --git a/TAO/TAO_IDL/ast/ast_interface_fwd.cpp b/TAO/TAO_IDL/ast/ast_interface_fwd.cpp deleted file mode 100644 index 08cd2959c2a..00000000000 --- a/TAO/TAO_IDL/ast/ast_interface_fwd.cpp +++ /dev/null @@ -1,187 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_interface_fwd.cc - Implementation of class AST_InterfaceFwd - * - * AST_InterfaceFwd nodes denote forward declarations of IDL interfaces - * AST_InterfaceFwd nodes have a field containing the full declaration - * of the interface, which is initialized when that declaration is - * encountered. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_interface_fwd, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_InterfaceFwd::AST_InterfaceFwd() - : pd_full_definition(NULL) -{ -} - -AST_InterfaceFwd::AST_InterfaceFwd( AST_Interface *dummy, - UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_interface_fwd, n, p) -{ - /* - * Create a dummy placeholder for the forward declared interface. This - * interface node is not yet defined (n_inherits < 0), so some operations - * will fail - */ - pd_full_definition = dummy; - // pd_full_definition = idl_global->gen()->create_interface(n, NULL, -1, p); - /* - * Record the node in a list to be checked after the entire AST has been - * parsed. All nodes in the list must have n_inherits >= 0, else this - * indicates that a full definition was not seen for this forward - * delcared interface - */ - AST_record_fwd_interface(this); -} - -/* - * Private operations - */ - -idl_bool AST_InterfaceFwd::is_abstract_interface () -{ - return this->full_definition()->is_abstract_interface(); -} - - -idl_bool AST_InterfaceFwd::is_valuetype () -{ - return this->full_definition()->is_valuetype(); -} - - -idl_bool AST_InterfaceFwd::is_abstract_valuetype () -{ - return this->full_definition()->is_abstract_valuetype(); -} - -void AST_InterfaceFwd::set_abstract_valuetype () -{ - // Don't forget about dummy placeholder ! (see constructor) - // (only if the be class isn't used) - ACE_ASSERT (0); -} - - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_InterfaceFwd node to the ostream o - */ -void -AST_InterfaceFwd::dump(ostream &o) -{ - if (this->is_valuetype ()) - { - if (this->is_abstract_valuetype ()) - o << "abstract "; - o << "valuetype "; - } - else - { - if (this->is_abstract_interface ()) - o << "abstract "; - o << "interface "; - } - local_name()->dump(o); -} - -/* - * Data accessors - */ - -AST_Interface * -AST_InterfaceFwd::full_definition() -{ - return pd_full_definition; -} - -void -AST_InterfaceFwd::set_full_definition(AST_Interface *nfd) -{ - pd_full_definition = nfd; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1 (AST_InterfaceFwd, AST_Type) -IMPL_NARROW_FROM_DECL (AST_InterfaceFwd) diff --git a/TAO/TAO_IDL/ast/ast_module.cpp b/TAO/TAO_IDL/ast/ast_module.cpp deleted file mode 100644 index 7f846c3073a..00000000000 --- a/TAO/TAO_IDL/ast/ast_module.cpp +++ /dev/null @@ -1,682 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_module.cc - Implementation of class AST_Module - * - * AST_Modules denote IDL module declarations - * AST_Modules are subclasses of AST_Decl (they are not a type!) and - * of UTL_Scope. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_module, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Module::AST_Module() -{ -} - -AST_Module::AST_Module(UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_module, n, p), - UTL_Scope(AST_Decl::NT_module), - pd_has_nested_valuetype (0) -{ - static int CORBA_module_added = 0; - - if (!ACE_OS::strcmp (local_name ()->get_string (), "CORBA") && - !CORBA_module_added) - { - AST_PredefinedType *pdt; - - pdt = idl_global->gen ()->create_predefined_type ( - AST_PredefinedType::PT_pseudo, - new UTL_ScopedName ( - new Identifier ("TypeCode", - 1, - 0, - I_FALSE), - NULL), - NULL); - - this->fe_add_predefined_type (pdt); - - pdt = idl_global->gen ()->create_predefined_type ( - AST_PredefinedType::PT_pseudo, - new UTL_ScopedName ( - new Identifier ("TCKind", - 1, - 0, - I_FALSE), - NULL), - NULL); - - this->fe_add_predefined_type (pdt); - -# ifdef IDL_HAS_VALUETYPE - if (idl_global->obv_support ()) - { - pdt = idl_global->gen()->create_predefined_type ( - AST_PredefinedType::PT_pseudo, - new UTL_ScopedName ( - new Identifier ("ValueBase", - 1, - 0, - I_FALSE), - NULL), - NULL); - - this->fe_add_predefined_type (pdt); - } -# endif /* IDL_HAS_VALUETYPE */ - CORBA_module_added = 1; - } -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add this AST_PredefinedType node (a predefined type declaration) to - * this scope - */ -AST_PredefinedType *AST_Module::fe_add_predefined_type(AST_PredefinedType *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Module node (a module declaration) to this scope - */ -AST_Module *AST_Module::fe_add_module(AST_Module *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - // if our platform supports namespaces, we allow reopening - // modules. However, if namespace support is not available, this is flagged - // as an error - -#ifndef ACE_HAS_USING_KEYWORD - if (referenced(d)) - { - UTL_String *s = t->file_name (); - long lineno = t->line (); - cerr << idl_global->prog_name () - << ": warning: " - << (idl_global->read_from_stdin() ? "standard input" : s->get_string()) - << ":" << lineno - << ": reopening module but platform does not\n" - << " support namespaces, generated code may not compile\n"; - } -#endif /* ACE_HAS_USING_KEYWORD */ - - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Interface node (an interface declaration) to this scope - */ -AST_Interface *AST_Module::fe_add_interface(AST_Interface *t) -{ - AST_Decl *predef; - AST_Interface *fwd; - - /* - * Already defined? - */ - if ((predef = lookup_for_add(t, I_FALSE)) != NULL) { - /* - * Treat fwd declared interfaces specially - */ - if (predef->node_type() == AST_Decl::NT_interface) { - fwd = AST_Interface::narrow_from_decl(predef); - - if (fwd == NULL) - return NULL; - - if (!fwd->is_defined()) { /* Forward declared and not defined yet */ - if (fwd->defined_in() != this) { - idl_global->err() - ->error3(UTL_Error::EIDL_SCOPE_CONFLICT, fwd, t, this); - return NULL; - } - } - /* - * OK, not illegal redef of forward declaration. Now check whether - * it has been referenced already - */ - else if (referenced(predef)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, predef); - return NULL; - } - } else if (!can_be_redefined(predef)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, predef); - return NULL; - } else if (referenced(predef)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, predef); - return NULL; - } else if (t->has_ancestor(predef)) { - idl_global->err()->redefinition_in_scope(t, predef); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_InterfaceFwd node (a forward declaration of an IDL - * interface) to this scope - */ -AST_InterfaceFwd *AST_Module::fe_add_interface_fwd(AST_InterfaceFwd *i) -{ - AST_Decl *d; - AST_Interface *itf; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(i, I_FALSE)) != NULL) { - if (d->node_type() == AST_Decl::NT_interface && - d->defined_in() == this) { - itf = AST_Interface::narrow_from_decl(d); - if (itf == NULL) - return NULL; - - // %! redefinition of forward; type check not implemented - i->set_full_definition(itf); //%! memory leak - return i; - } - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, i, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, i, this, d); - return NULL; - } - if (i->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(i, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(i); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(i, I_FALSE); - - return i; -} - -/* - * Add this AST_Constant node (a constant declaration) to this scope - */ -AST_Constant *AST_Module::fe_add_constant(AST_Constant *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Exception node (an exception declaration) to this scope - */ -AST_Exception *AST_Module::fe_add_exception(AST_Exception *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Union node (a union declaration) to this scope - */ -AST_Union *AST_Module::fe_add_union(AST_Union *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Structure node (a struct declaration) to this scope - */ -AST_Structure *AST_Module::fe_add_structure(AST_Structure *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Enum node (an enum declaration) to this scope - */ -AST_Enum *AST_Module::fe_add_enum(AST_Enum *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_EnumVal node (an enumerator declaration) to this scope - * This is done to conform to the C++ scoping rules which declare - * enumerators in the enclosing scope (in addition to declaring them - * in the enum itself) - */ -AST_EnumVal *AST_Module::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Typedef node (a typedef) to this scope - */ -AST_Typedef *AST_Module::fe_add_typedef(AST_Typedef *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Native (a native declaration) to this scope - */ -AST_Native *AST_Module::fe_add_native (AST_Native *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Module node to the ostream o - */ -void -AST_Module::dump(ostream &o) -{ - o << "module "; - local_name()->dump(o); - o << " {\n"; - UTL_Scope::dump(o); - idl_global->indent()->skip_to(o); - o << "}"; -} - - -// involved in OBV_ namespace generation -void -AST_Module::set_has_nested_valuetype () -{ -#ifdef IDL_HAS_VALUETYPE - UTL_Scope *parent; - if (!pd_has_nested_valuetype && (parent = this->defined_in())) - { - AST_Module *pm = AST_Module::narrow_from_scope (parent); - if (pm) - pm->set_has_nested_valuetype (); - } - pd_has_nested_valuetype = 1; -#endif /* IDL_HAS_VALUETYPE */ -} - -idl_bool -AST_Module::has_nested_valuetype () -{ - return pd_has_nested_valuetype; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Module) -IMPL_NARROW_FROM_SCOPE(AST_Module) diff --git a/TAO/TAO_IDL/ast/ast_native.cpp b/TAO/TAO_IDL/ast/ast_native.cpp deleted file mode 100644 index d4ab8ef1075..00000000000 --- a/TAO/TAO_IDL/ast/ast_native.cpp +++ /dev/null @@ -1,35 +0,0 @@ -// $Id$ - - -// AST_Native: New IDL type added by the POA spec - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_native, "$Id$") - -/* - * Constructor(s) - */ -AST_Native::AST_Native (void) -{ -} - -AST_Native::AST_Native(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl (AST_Decl::NT_native, n, p) -{ -} - -/* - * Dump this AST_Native node to the ostream o - */ -void -AST_Native::dump (ostream &o) -{ - AST_Decl::dump (o); -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_Native, AST_Type) -IMPL_NARROW_FROM_DECL(AST_Native) diff --git a/TAO/TAO_IDL/ast/ast_operation.cpp b/TAO/TAO_IDL/ast/ast_operation.cpp deleted file mode 100644 index 502ab3dcc12..00000000000 --- a/TAO/TAO_IDL/ast/ast_operation.cpp +++ /dev/null @@ -1,333 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_operation.cc - Implementation of class AST_Operation - * - * AST_Operation nodes denote IDL operation declarations - * AST_Operations are a subclass of AST_Decl (they are not a type!) - * and of UTL_Scope (the arguments are managed in a scope). - * AST_Operations have a return type (a subclass of AST_Type), - * a bitfield for denoting various properties of the operation (the - * values are ORed together from constants defined in the enum - * AST_Operation::FLags), a name (a UTL_ScopedName), a context - * (implemented as a list of Strings, a UTL_StrList), and a raises - * clause (implemented as an array of AST_Exceptions). - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_operation, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Operation::AST_Operation() - : pd_return_type(NULL), - pd_flags(OP_noflags), - pd_context(NULL), - pd_exceptions(NULL) -{ -} - -AST_Operation::AST_Operation(AST_Type *rt, Flags fl, UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_op, n, p), - UTL_Scope(AST_Decl::NT_op), - pd_return_type(rt), - pd_flags(fl), - pd_context(NULL), - pd_exceptions(NULL) -{ - AST_PredefinedType *pdt; - - /* - * Check that if the operation is oneway, the return type must be void - */ - if (rt != NULL && pd_flags == OP_oneway) { - if (rt->node_type() != AST_Decl::NT_pre_defined) - idl_global->err()->error1(UTL_Error::EIDL_NONVOID_ONEWAY, this); - else { - pdt = AST_PredefinedType::narrow_from_decl(rt); - if (pdt == NULL || pdt->pt() != AST_PredefinedType::PT_void) - idl_global->err()->error1(UTL_Error::EIDL_NONVOID_ONEWAY, this); - } - } -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add this context (a UTL_StrList) to this scope - */ -UTL_StrList * -AST_Operation::fe_add_context(UTL_StrList *t) -{ - pd_context = t; - - return t; -} - -/* - * Add these exceptions (identified by name) to this scope. - * This looks up each name to resolve it to the name of a known - * exception, and then adds the referenced exception to the list - * of exceptions that this operation can raise. - * - * NOTE: No attempt is made to ensure that exceptions are mentioned - * only once.. - */ -UTL_NameList * -AST_Operation::fe_add_exceptions(UTL_NameList *t) -{ - UTL_NamelistActiveIterator *nl_i; - UTL_ScopedName *nl_n; - UTL_Scope *fs = idl_global->scopes()->top(); - AST_Exception *fe; - AST_Decl *d; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (fs); - - pd_exceptions = NULL; - nl_i = new UTL_NamelistActiveIterator(t); - while (!(nl_i->is_done())) { - nl_n = nl_i->item(); - d = lookup_by_name(nl_n, I_TRUE); - if (d == NULL || d->node_type() != AST_Decl::NT_except) { - idl_global->err()->lookup_error(nl_n); - delete nl_i; - return NULL; - } - fe = AST_Exception::narrow_from_decl(d); - if ((this->flags () == AST_Operation::OP_oneway) && fe) - idl_global->err ()->error1 (UTL_Error::EIDL_ILLEGAL_RAISES, this); - - if (fe == NULL) { - idl_global->err()->error1(UTL_Error::EIDL_ILLEGAL_RAISES, this); - return NULL; - } - if (pd_exceptions == NULL) - pd_exceptions = new UTL_ExceptList(fe, NULL); - else - pd_exceptions->nconc(new UTL_ExceptList(fe, NULL)); - nl_i->next(); - } - delete nl_i; - - return t; -} - -/* - * Add this AST_Argument node (an operation argument declaration) - * to this scope - */ -AST_Argument *AST_Operation::fe_add_argument(AST_Argument *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_by_name_local(t->local_name(), I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Cannot add OUT or INOUT argument to oneway operation - */ - if ((t->direction() == AST_Argument::dir_OUT || - t->direction() == AST_Argument::dir_INOUT) && - pd_flags == OP_oneway) { - idl_global->err()->error2(UTL_Error::EIDL_ONEWAY_CONFLICT, t, this); - return NULL; - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Operation node (an operation) to the ostream o - */ -void -AST_Operation::dump(ostream &o) -{ - UTL_ScopeActiveIterator *i; - UTL_StrlistActiveIterator *si; - UTL_ExceptlistActiveIterator *ei; - AST_Decl *d; - AST_Exception *e; - UTL_String *s; - - if (pd_flags == OP_oneway) - o << "oneway "; - else if (pd_flags == OP_idempotent) - o << "idempotent "; - - i = new UTL_ScopeActiveIterator(this, IK_decls); - pd_return_type->name()->dump(o); - o << " "; - local_name()->dump(o); - o << "("; - while (!(i->is_done())) { - d = i->item(); - d->dump(o); - i->next(); - if (!(i->is_done())) - o << ", "; - } - delete i; - o << ")"; - - if (pd_exceptions != NULL) { - o << " raises("; - ei = new UTL_ExceptlistActiveIterator(pd_exceptions); - while (!(ei->is_done())) { - e = ei->item(); - ei->next(); - e->local_name()->dump(o); - if (!(ei->is_done())) - o << ", "; - } - delete ei; - o << ")"; - } - if (pd_context != NULL) { - o << " context("; - si = new UTL_StrlistActiveIterator(pd_context); - while (!(si->is_done())) { - s = si->item(); - si->next(); - o << s->get_string(); - if (!(si->is_done())) - o << ", "; - } - delete si; - o << ")"; - } -} - -/* - * Data accessors - */ - -AST_Type * -AST_Operation::return_type() -{ - return pd_return_type; -} - -AST_Operation::Flags -AST_Operation::flags() -{ - return pd_flags; -} - -UTL_StrList * -AST_Operation::context() -{ - return pd_context; -} - -UTL_ExceptList * -AST_Operation::exceptions() -{ - return pd_exceptions; -} - -// Narrowing -IMPL_NARROW_METHODS2(AST_Operation, AST_Decl, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Operation) -IMPL_NARROW_FROM_SCOPE(AST_Operation) diff --git a/TAO/TAO_IDL/ast/ast_predefined_type.cpp b/TAO/TAO_IDL/ast/ast_predefined_type.cpp deleted file mode 100644 index 52ad257ec10..00000000000 --- a/TAO/TAO_IDL/ast/ast_predefined_type.cpp +++ /dev/null @@ -1,132 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_predefined_type.cc - Implementation of class AST_PredefinedType - * - * AST_PredefinedType nodes denote the various predefined types such - * as long, short, etc. that are available in IDL. Each AST_PredefinedType - * node has a field (the value of this field is from the enum - * AST_PredefinedType::PredefinedType) which denotes the specific predefined - * type that this node represents. There is only one node in the entire - * AST which represents each predefined type, such as long etc. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_predefined_type, "$Id$") - -/* - * Constructor(s) - */ -AST_PredefinedType::AST_PredefinedType() - : pd_pt(PT_long) -{ -} - -AST_PredefinedType::AST_PredefinedType(PredefinedType t, UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_pre_defined, n, p), - pd_pt(t) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_PredefinedType node to the ostream o - */ -void -AST_PredefinedType::dump(ostream &o) -{ - AST_Decl::dump(o); -} - -/* - * Data accessors - */ - -AST_PredefinedType::PredefinedType -AST_PredefinedType::pt() -{ - return pd_pt; -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_PredefinedType, AST_ConcreteType) -IMPL_NARROW_FROM_DECL(AST_PredefinedType) diff --git a/TAO/TAO_IDL/ast/ast_recursive.cpp b/TAO/TAO_IDL/ast/ast_recursive.cpp deleted file mode 100644 index 6c72be562fc..00000000000 --- a/TAO/TAO_IDL/ast/ast_recursive.cpp +++ /dev/null @@ -1,169 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_recursive.cc - Check whether a type is used recursively in a situation - * where this use would be illegal. - * - * EXPLANATION: The CORBAS says that the only legal use of recursive types is - * in a manifest sequence declared inside a struct or union whose base type is - * the struct or union - * - * ALGORITH FOR CHECK: - * Sequences push a NULL on the scope stack to mark where in the scope nesting - * they appear. - * - * - If the type is not a struct or union, return FALSE (legal use of type) - * - Otherwise check up the scope stack, looking for this base type. If we - * find a NULL return FALSE (legal use of type, since it is inside some - * sequence). If we find the type on the stack, return TRUE (illegal use - * since it was not bracketed by a sequence). If we don't find the base - * type nor a sequence, return FALSE (legal use, since we're not nested). - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_recursive, "$Id$") - -/* - * FE_illegal_recursive_type() - Implement the algorithm described above - */ -idl_bool -AST_illegal_recursive_type(AST_Decl *t) -{ - UTL_ScopeStackActiveIterator *i = 0; - UTL_Scope *s = 0; - AST_Structure *st1 = 0, *st2 = 0; - AST_Union *un1 = 0, *un2 = 0; - idl_bool check_for_struct = I_FALSE, - check_for_union = I_FALSE; - - if (t == NULL) return I_FALSE; - - /* - * We only care about structs and unions - */ - if (t->node_type() != AST_Decl::NT_struct && - t->node_type() != AST_Decl::NT_union) - return I_FALSE; // NOT ILLEGAL - /* - * Narrow the type appropriately so comparison will work - */ - if (t->node_type() == AST_Decl::NT_struct) { - check_for_struct = I_TRUE; - st1 = AST_Structure::narrow_from_decl(t); - if (st1 == NULL) - return I_FALSE; // NOT ILLEGAL - } else if (t->node_type() == AST_Decl::NT_union) { - check_for_union = I_TRUE; - un1 = AST_Union::narrow_from_decl(t); - if (un1 == NULL) - return I_FALSE; // NOT ILLEGAL - } - /* - * OK, iterate up the stack - */ - i = new UTL_ScopeStackActiveIterator(idl_global->scopes()); - while (!(i->is_done())) { - s = i->item(); - /* - * If we hit a NULL we're done since it means that we're nested inside - * a sequence, where recursive types may be used - */ - if (s == NULL) { - delete i; - return I_FALSE; // NOT ILLEGAL - } - /* - * OK, must check this scope - */ - if (s->scope_node_type() == AST_Decl::NT_struct && check_for_struct) { - st2 = AST_Structure::narrow_from_scope(s); - if (st2 != NULL && st2 == st1) { - delete i; - return I_TRUE; // ILLEGAL RECURSIVE TYPE USE - } - } else if (s->scope_node_type() == AST_Decl::NT_union && - check_for_union) { - un2 = AST_Union::narrow_from_scope(s); - if (un2 != NULL && un2 == un1) { - delete i; - return I_TRUE; // ILLEGAL RECURSIVE TYPE USE - } - } - /* - * This one is fine, get next item - */ - i->next(); - } - /* - * No more scopes to check. This type was used legally - */ - delete i; - return I_FALSE; // NOT ILLEGAL -} - diff --git a/TAO/TAO_IDL/ast/ast_redef.cpp b/TAO/TAO_IDL/ast/ast_redef.cpp deleted file mode 100644 index 8decdd3ffb3..00000000000 --- a/TAO/TAO_IDL/ast/ast_redef.cpp +++ /dev/null @@ -1,110 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_redef.cc - Implement utility function to decide when redefinition - * is allowed - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_redef, "$Id$") - -/* - * Return TRUE if the node d represents an IDL construct whose name - * can be redefined. - */ -idl_bool -can_be_redefined(AST_Decl *d) -{ - switch (d->node_type()) { - case AST_Decl::NT_module: - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_const: - case AST_Decl::NT_except: - case AST_Decl::NT_argument: - case AST_Decl::NT_enum_val: - case AST_Decl::NT_string: - case AST_Decl::NT_array: - case AST_Decl::NT_sequence: - case AST_Decl::NT_union: - case AST_Decl::NT_struct: - case AST_Decl::NT_enum: - case AST_Decl::NT_typedef: - return I_TRUE; - - case AST_Decl::NT_union_branch: - case AST_Decl::NT_field: - case AST_Decl::NT_attr: - case AST_Decl::NT_op: - case AST_Decl::NT_pre_defined: - default: - return I_FALSE; - } -} - diff --git a/TAO/TAO_IDL/ast/ast_root.cpp b/TAO/TAO_IDL/ast/ast_root.cpp deleted file mode 100644 index f97f30a028c..00000000000 --- a/TAO/TAO_IDL/ast/ast_root.cpp +++ /dev/null @@ -1,168 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_root.cc - Implementation of class AST_Root - * - * AST_Root nodes represent the roots of ASTs. - * AST_Root is a subclass of AST_Module, and is defined to allow BEs - * to subclass it to associate their own information with an entire - * AST. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_root, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Root::AST_Root() -{ -} - -AST_Root::AST_Root(UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_module, n, p), - UTL_Scope(AST_Decl::NT_module) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Add protocol - */ - -/* - * Add this AST_Sequence to the locally defined types in this scope - */ -AST_Sequence * -AST_Root::fe_add_sequence(AST_Sequence *t) -{ - if (t == NULL) - return NULL; - t->set_name(new UTL_ScopedName(new Identifier("local type", 1, 0, I_FALSE), - NULL)); - add_to_local_types(t); - return t; -} - -/* - * Add this AST_String to the locally defined types in this scope - */ -AST_String * -AST_Root::fe_add_string(AST_String *t) -{ - if (t == NULL) - return NULL; - t->set_name(new UTL_ScopedName(new Identifier("local type", 1, 0, I_FALSE), - NULL)); - add_to_local_types(t); - - return t; -} - -/* - * Add this AST_Array to the locally defined types in this scope - */ -AST_Array * -AST_Root::fe_add_array(AST_Array *t) -{ - if (t == NULL) - return NULL; - t->set_name(new UTL_ScopedName(new Identifier("local type",1,0,I_FALSE), - NULL)); - add_to_local_types(t); - - return t; -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Root node to the ostream o - */ -void -AST_Root::dump(ostream &o) -{ - UTL_Scope::dump(o); -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Root, AST_Module) -IMPL_NARROW_FROM_DECL(AST_Root) -IMPL_NARROW_FROM_SCOPE(AST_Root) diff --git a/TAO/TAO_IDL/ast/ast_sequence.cpp b/TAO/TAO_IDL/ast/ast_sequence.cpp deleted file mode 100644 index ca23b86dc49..00000000000 --- a/TAO/TAO_IDL/ast/ast_sequence.cpp +++ /dev/null @@ -1,145 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_sequence.cc - Implementation of class AST_Sequence - * - * AST_Sequence nodes represent IDL sequence declarations. - * AST_Sequence is a subclass of AST_ConcreteType. - * AST_Sequence nodes have a maximum size (an AST_Expression which - * must evaluate to a positive integer) and a base type (a subclass - * of AST_Type). - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_sequence, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Sequence::AST_Sequence() - : pd_max_size(0), - pd_base_type(NULL) -{ -} - -AST_Sequence::AST_Sequence(AST_Expression *ms, AST_Type *bt) - : AST_Decl(AST_Decl::NT_sequence, - new UTL_ScopedName( - new Identifier("sequence",1,0,I_FALSE), - NULL), - NULL), - pd_max_size(ms), - pd_base_type(bt) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Sequence node to the ostream o - */ -void -AST_Sequence::dump(ostream &o) -{ - o << "sequence <"; - pd_base_type->dump(o); - o << ", "; - pd_max_size->dump(o); - o << ">"; -} - -/* - * Data accessors - */ - -AST_Expression * -AST_Sequence::max_size() -{ - return pd_max_size; -} - -AST_Type * -AST_Sequence::base_type() -{ - return pd_base_type; -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_Sequence, AST_ConcreteType) -IMPL_NARROW_FROM_DECL(AST_Sequence) diff --git a/TAO/TAO_IDL/ast/ast_string.cpp b/TAO/TAO_IDL/ast/ast_string.cpp deleted file mode 100644 index 7540024e3cc..00000000000 --- a/TAO/TAO_IDL/ast/ast_string.cpp +++ /dev/null @@ -1,155 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_string.cc - Implementation of class AST_String - * - * AST_String nodes represent IDL string declarations. - * AST_String is a subclass of AST_ConcreteType. - * AST_String nodes have a maximum size (an AST_Expression which must - * evaluate to a positive integer). - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_string, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_String::AST_String() - : pd_max_size(0), pd_width(1) -{ -} - -AST_String::AST_String(AST_Expression *ms) - : AST_Decl(AST_Decl::NT_string, - new UTL_ScopedName(new Identifier("string",1,0,I_FALSE), - NULL), - NULL), - pd_max_size(ms), - pd_width(sizeof(char)) -{ -} - -AST_String::AST_String(AST_Expression *ms, long wide) - : AST_Decl(AST_Decl::NT_string, - new UTL_ScopedName(wide == sizeof(char) - ? new Identifier("string",1,0,I_FALSE) - : new Identifier("wstring_t", - 1, - 0, - I_FALSE), - NULL), - NULL), - pd_max_size(ms), - pd_width(wide) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_String node to the ostream o - */ -void -AST_String::dump(ostream &o) -{ - o << "string <"; - pd_max_size->dump(o); - o << ">"; -} - -/* - * Data accessors - */ - -AST_Expression * -AST_String::max_size() -{ - return pd_max_size; -} - -long -AST_String::width() -{ - return pd_width; -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_String, AST_ConcreteType) -IMPL_NARROW_FROM_DECL(AST_String) diff --git a/TAO/TAO_IDL/ast/ast_structure.cpp b/TAO/TAO_IDL/ast/ast_structure.cpp deleted file mode 100644 index fdf8e49ecfe..00000000000 --- a/TAO/TAO_IDL/ast/ast_structure.cpp +++ /dev/null @@ -1,313 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_structure.cc - Implementation of class AST_Structure - * - * AST_Structure nodes denote IDL struct declarations. - * AST_Structure is a subclass of AST_ConcreteType and of UTL_Scope (the - * structure's fields are managed in a scope). - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_structure, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Structure::AST_Structure() -{ -} - -AST_Structure::AST_Structure(UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_struct, n, p), - UTL_Scope(AST_Decl::NT_struct) -{ -} - -AST_Structure::AST_Structure(AST_Decl::NodeType nt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p), - UTL_Scope(nt) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add this AST_Field node (a field declaration) to this scope - */ -AST_Field *AST_Structure::fe_add_field(AST_Field *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Structure node (a manifest struct type) to this scope - */ -AST_Structure *AST_Structure::fe_add_structure(AST_Structure *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Union node (a manifest union type) to this scope - */ -AST_Union *AST_Structure::fe_add_union(AST_Union *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Enum node (a manifest enum declaration) to this scope - */ -AST_Enum *AST_Structure::fe_add_enum(AST_Enum *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_EnumVal node (an enumerator declaration) to this scope. - * This is done to conform to the C++ scoping rules which declare - * enumerators in the enclosing scope (in addition to declaring them - * in the enum itself) - */ -AST_EnumVal *AST_Structure::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Structure node to the ostream o - */ -void -AST_Structure::dump(ostream &o) -{ - o << "struct "; - AST_Decl::dump(o); - o << " {\n"; - UTL_Scope::dump(o); - idl_global->indent()->skip_to(o); - o << "}"; -} - -// Narrowing -IMPL_NARROW_METHODS2(AST_Structure, AST_ConcreteType, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Structure) -IMPL_NARROW_FROM_SCOPE(AST_Structure) diff --git a/TAO/TAO_IDL/ast/ast_type.cpp b/TAO/TAO_IDL/ast/ast_type.cpp deleted file mode 100644 index b692b0b4c25..00000000000 --- a/TAO/TAO_IDL/ast/ast_type.cpp +++ /dev/null @@ -1,107 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_type.cc - Implementation of class AST_Type - * - * AST_Type is the base class for all AST classes which represent - * IDL type constructs. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_type, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Type::AST_Type() -{ -} - -AST_Type::AST_Type(AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(nt, n, p) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - - -// Narrowing -IMPL_NARROW_METHODS1(AST_Type, AST_Decl) -IMPL_NARROW_FROM_DECL(AST_Type) diff --git a/TAO/TAO_IDL/ast/ast_typedef.cpp b/TAO/TAO_IDL/ast/ast_typedef.cpp deleted file mode 100644 index 0db573bfa2d..00000000000 --- a/TAO/TAO_IDL/ast/ast_typedef.cpp +++ /dev/null @@ -1,133 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_typedef.cc - Implementation of class AST_Typedef - * - * AST_Typedef nodes represent an IDL typedef statement. - * AST_Typedef is a subclass of AST_Decl (it is not a type, - * but instead is a type renaming). - * AST_Typedef nodes have a base type (a subclass of AST_Type) - * and a name (an UTL_ScopedName). - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_typedef, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Typedef::AST_Typedef() - : pd_base_type(NULL) -{ -} - -AST_Typedef::AST_Typedef(AST_Type *bt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_typedef, n, p), - pd_base_type(bt) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Typedef node to the ostream o - */ -void -AST_Typedef::dump(ostream &o) -{ - o << "typedef "; - pd_base_type->dump(o); - o << " "; - local_name()->dump(o); -} - -/* - * Data accessors - */ - -AST_Type * -AST_Typedef::base_type() -{ - return pd_base_type; -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_Typedef, AST_Type) -IMPL_NARROW_FROM_DECL(AST_Typedef) diff --git a/TAO/TAO_IDL/ast/ast_union.cpp b/TAO/TAO_IDL/ast/ast_union.cpp deleted file mode 100644 index 7cb74273141..00000000000 --- a/TAO/TAO_IDL/ast/ast_union.cpp +++ /dev/null @@ -1,557 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_union.cc - Implementation of class AST_Union - * - * AST_Union nodes represent IDL union declarations. - * AST_Union is a subclass of AST_ConcreteType and of UTL_Scope (the - * union branches are managed in a scope). - * AST_Union nodes have a discriminator type (a subclass of AST_ConcreteType), - * a name (an UTL_ScopedName) and a field denoting the discriminator type if - * it is a primitive type (the value of this field is from the union - * AST_Expression::ExprType and serves as a cache). This field is used - * to compute coercions for labels based on the expected discriminator type. - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_union, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_Union::AST_Union() -{ -} - -AST_Union::AST_Union(AST_ConcreteType *dt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_union, n, p), - UTL_Scope(AST_Decl::NT_union) -{ - AST_PredefinedType *pdt; - - if (dt == NULL) { - pd_disc_type = NULL; - pd_udisc_type = AST_Expression::EV_none; - return; - } - /* - * If the discriminator type is a predefined type - * then install the equivalent coercion target type in - * the pd_udisc_type field. - */ - if (dt->node_type() == AST_Decl::NT_pre_defined) { - pdt = AST_PredefinedType::narrow_from_decl(dt); - if (pdt == NULL) { - pd_disc_type = NULL; - pd_udisc_type = AST_Expression::EV_none; - return; - } - pd_disc_type = dt; - switch (pdt->pt()) { - case AST_PredefinedType::PT_long: - pd_udisc_type = AST_Expression::EV_long; - break; - case AST_PredefinedType::PT_ulong: - pd_udisc_type = AST_Expression::EV_ulong; - break; - case AST_PredefinedType::PT_short: - pd_udisc_type = AST_Expression::EV_short; - break; - case AST_PredefinedType::PT_ushort: - pd_udisc_type = AST_Expression::EV_ushort; - break; - case AST_PredefinedType::PT_char: - pd_udisc_type = AST_Expression::EV_char; - break; - case AST_PredefinedType::PT_octet: - pd_udisc_type = AST_Expression::EV_octet; - break; - case AST_PredefinedType::PT_boolean: - pd_udisc_type = AST_Expression::EV_bool; - break; - default: - pd_udisc_type = AST_Expression::EV_none; - pd_disc_type = NULL; - break; - } - } else if (dt->node_type() == AST_Decl::NT_enum) { - pd_udisc_type = AST_Expression::EV_any; - pd_disc_type = dt; - } else { - pd_udisc_type = AST_Expression::EV_none; - pd_disc_type = NULL; - } - - if (pd_disc_type == NULL) - idl_global->err()->error2(UTL_Error::EIDL_DISC_TYPE, this, dt); -} - -/* - * Private operations - */ - -/* - * Look up the default branch in union - */ -AST_UnionBranch * -AST_Union::lookup_default() -{ - UTL_ScopeActiveIterator *i = new UTL_ScopeActiveIterator(this, IK_both); - AST_UnionBranch *b; - AST_Decl *d; - - while (!(i->is_done())) { - d = i->item(); - if (d->node_type() == AST_Decl::NT_union_branch) { - b = AST_UnionBranch::narrow_from_decl(d); - if (b == NULL) { - i->next(); - continue; - } - if (b->label() != NULL && - b->label()->label_kind() == AST_UnionLabel::UL_default) { - idl_global->err()->error2(UTL_Error::EIDL_MULTIPLE_BRANCH, this, b); - delete i; - return b; - } - } - i->next(); - } - delete i; - return NULL; -} - -/* - * Look up a branch by label - */ -AST_UnionBranch * -AST_Union::lookup_label(AST_UnionBranch *b) -{ - AST_UnionLabel *l = b->label(); - UTL_ScopeActiveIterator *i; - AST_Decl *d; - AST_UnionBranch *fb; - - if (l->label_val() == NULL) - return b; - l->label_val()->set_ev(l->label_val()->coerce(pd_udisc_type)); - if (l->label_val()->ev() == NULL) { - idl_global->err()->eval_error(l->label_val()); - return b; - } - - i = new UTL_ScopeActiveIterator(this, IK_decls); - - while (!(i->is_done())) { - d = i->item(); - if (d->node_type() == AST_Decl::NT_union_branch) { - fb = AST_UnionBranch::narrow_from_decl(d); - if (fb == NULL) { - i->next(); - continue; - } - if (fb->label() != NULL && - fb->label()->label_kind() == AST_UnionLabel::UL_label && - fb->label()->label_val()->compare(l->label_val())) { - idl_global->err()->error2(UTL_Error::EIDL_MULTIPLE_BRANCH, this, b); - delete i; - return b; - } - } - i->next(); - } - delete i; - return NULL; -} - -/* - * Look up a branch in an enum which is the discriminator type for this - * union, based on the label value which must be an enumerator in that - * enum. - */ -AST_UnionBranch * -AST_Union::lookup_enum(AST_UnionBranch *b) -{ - AST_UnionLabel *l = b->label(); - AST_Expression *v; - AST_Enum *e = AST_Enum::narrow_from_decl(pd_disc_type); - UTL_ScopeActiveIterator *i; - AST_Decl *d; - AST_UnionBranch *fb; - - if (e == NULL) return NULL; - if (l->label_val() == NULL) - return b; - v = l->label_val(); - /* - * Expecting a symbol label - */ - if (v->ec() != AST_Expression::EC_symbol) { - idl_global->err()->enum_val_expected(this, l); - return b; - } - /* - * See if the symbol defines a constant in the discriminator enum - */ - d = e->lookup_by_name(v->n(), I_TRUE); - if (d == NULL || d->defined_in() != e) { - idl_global->err()->enum_val_lookup_failure(this, e, v->n()); - return b; - } - /* - * OK, now see if this symbol is already used as the label of - * some other branch - */ - i = new UTL_ScopeActiveIterator(this, IK_decls); - while (!(i->is_done())) { - d = i->item(); - if (d->node_type() == AST_Decl::NT_union_branch) { - fb = AST_UnionBranch::narrow_from_decl(d); - if (fb == NULL) { - i->next(); - continue; - } - if (fb->label() != NULL && - fb->label()->label_kind() == AST_UnionLabel::UL_label && - fb->label()->label_val()->compare (l->label_val())) { - idl_global->err()->error2(UTL_Error::EIDL_MULTIPLE_BRANCH, this, b); - delete i; - return b; - } - } - i->next(); - } - delete i; - return NULL; -} - -/* - * Look up a branch by value. This is the top level branch label resolution - * entry point. It dispatches to the right lookup function depending on the - * union discriminator type. - */ -AST_UnionBranch * -AST_Union::lookup_branch(AST_UnionBranch *branch) -{ - AST_UnionLabel *l = NULL; - - if (branch != NULL) - l = branch->label(); - - if (l != NULL) { - if (l->label_kind() == AST_UnionLabel::UL_default) - return lookup_default(); - if (pd_udisc_type == AST_Expression::EV_any) - /* CONVENTION: indicates enum discr */ - return lookup_enum(branch); - return lookup_label(branch); - } - return NULL; -} - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add this AST_UnionBranch node (a node representing one branch in a - * union declaration) to this scope - */ -AST_UnionBranch *AST_Union::fe_add_union_branch(AST_UnionBranch *t) -{ - AST_Decl *d; - - /* - * If this is a malformed branch, don't do anything with it - */ - if (t == NULL || t->label() == NULL) - return NULL; - /* - * If branch with that label already exists, complain - */ - if (lookup_branch(t) != NULL) { - idl_global->err()->error2(UTL_Error::EIDL_MULTIPLE_BRANCH, this, t); - return NULL; - } - /* - * If branch with same field name exists, complain - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Union (manifest union type) to this scope - */ -AST_Union *AST_Union::fe_add_union(AST_Union *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Structure node (manifest struct type) to this scope - */ -AST_Structure *AST_Union::fe_add_structure(AST_Structure *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Enum node (manifest enum type) to this scope - */ -AST_Enum *AST_Union::fe_add_enum(AST_Enum *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_EnumVal node (enumerator declaration) to this scope. - * This is done to conform to the C++ scoping rules which declare - * enumerators in the enclosing scope (in addition to declaring them - * in the enum itself) - */ -AST_EnumVal *AST_Union::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Union node to the ostream o - */ -void -AST_Union::dump(ostream &o) -{ - o << "union "; - local_name()->dump(o); - o << " switch ("; - pd_disc_type->local_name()->dump(o); - o << ") {\n"; - UTL_Scope::dump(o); - idl_global->indent()->skip_to(o); - o << "}"; -} - -/* - * Data accessors - */ - -AST_ConcreteType * -AST_Union::disc_type() -{ - return pd_disc_type; -} - -AST_Expression::ExprType -AST_Union::udisc_type() -{ - return pd_udisc_type; -} - -// Narrowing -IMPL_NARROW_METHODS2(AST_Union, AST_ConcreteType, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Union) -IMPL_NARROW_FROM_SCOPE(AST_Union) diff --git a/TAO/TAO_IDL/ast/ast_union_branch.cpp b/TAO/TAO_IDL/ast/ast_union_branch.cpp deleted file mode 100644 index d8dbfa29552..00000000000 --- a/TAO/TAO_IDL/ast/ast_union_branch.cpp +++ /dev/null @@ -1,158 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_union_branch.cc - Implementation of class AST_UnionBranch - * - * AST_UnionBranch nodes represent a single branch of an IDL union - * declaration. - * AST_UnionBranch is a subclass of AST_Field, adding a label (which - * is a subclass of AST_UnionLabel). - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_union_branch, "$Id$") - -/* - * Constructor(s) and destructor - */ -AST_UnionBranch::AST_UnionBranch() - : pd_ll (NULL) -{ -} - -AST_UnionBranch::AST_UnionBranch (UTL_LabelList *ll, AST_Type *ft, - UTL_ScopedName *n, UTL_StrList *p) - : AST_Field(AST_Decl::NT_union_branch, ft, n, p), - AST_Decl(AST_Decl::NT_union_branch, n, p), - pd_ll (ll) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_UnionBranch node to the ostream o - */ -void -AST_UnionBranch::dump(ostream &o) -{ - for (unsigned long i = 0; - i < this->label_list_length (); ++i) - { - o << "case "; - AST_UnionLabel *ul = this->label (i); - ul->dump(o); - o << ": \n"; - } - AST_Field::dump(o); -} - -/* - * Data accessors - */ - -AST_UnionLabel * -AST_UnionBranch::label (unsigned long index) -{ - unsigned long i = 0; - UTL_LabellistActiveIterator iter (this->pd_ll); - - for (; !iter.is_done (); iter.next ()) - { - if (i == index) - { - return iter.item (); - } - ++i; - } - return 0; -} - -unsigned long -AST_UnionBranch::label_list_length (void) -{ - if (this->pd_ll) - return this->pd_ll->length (); - else - return 0; -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_UnionBranch, AST_Field) -IMPL_NARROW_FROM_DECL(AST_UnionBranch) diff --git a/TAO/TAO_IDL/ast/ast_union_label.cpp b/TAO/TAO_IDL/ast/ast_union_label.cpp deleted file mode 100644 index 6fc9928982f..00000000000 --- a/TAO/TAO_IDL/ast/ast_union_label.cpp +++ /dev/null @@ -1,137 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_union_label.cc - Implementation of class AST_UnionLabel - * - * AST_UnionLabel denotes the label of a branch in an IDL union - * declaration. - * AST_UnionLabel nodes have a label kind (the values come from the - * enum AST_UnionLabel::LabelKind) and a label value (which is a - * subclass of AST_Expression). - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(ast, ast_union_label, "$Id$") - -/* - * Constructor(s) - */ -AST_UnionLabel::AST_UnionLabel() - : pd_label_kind(UL_default), - pd_label_val(NULL) -{ -} - -AST_UnionLabel::AST_UnionLabel(UnionLabel lk, AST_Expression *lv) - : pd_label_kind(lk), - pd_label_val(lv) -{ - if (lv != NULL) - lv->evaluate(AST_Expression::EK_const); -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Data accessors - */ - -AST_UnionLabel::UnionLabel -AST_UnionLabel::label_kind() -{ - return pd_label_kind; -} - -AST_Expression * -AST_UnionLabel::label_val() -{ - return pd_label_val; -} - -/* - * Dump this AST_UnionLabel node to the ostream o - */ -void -AST_UnionLabel::dump(ostream &o) -{ - if (pd_label_kind == UL_default) - o << "default"; - else - pd_label_val->dump(o); -} diff --git a/TAO/TAO_IDL/be/Makefile.am b/TAO/TAO_IDL/be/Makefile.am deleted file mode 100644 index 0ef64553405..00000000000 --- a/TAO/TAO_IDL/be/Makefile.am +++ /dev/null @@ -1,93 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Makefile.am for the TAO IDL compiler --- 'be' sub-directory -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) \ - -I$(top_srcdir)/TAO_IDL/include \ - -I$(top_srcdir)/TAO_IDL/be_include - -noinst_LIBRARIES = libbe.a - -libbe_a_SOURCES = \ - be_args.cpp \ - be_argument.cpp \ - be_array.cpp \ - be_attribute.cpp \ - be_codegen.cpp \ - be_constant.cpp \ - be_decl.cpp \ - be_enum.cpp \ - be_enum_val.cpp \ - be_exception.cpp \ - be_expression.cpp \ - be_field.cpp \ - be_generator.cpp \ - be_helper.cpp \ - be_init.cpp \ - be_interface.cpp \ - be_interface_fwd.cpp \ - be_module.cpp \ - be_native.cpp \ - be_operation.cpp \ - be_operation_ami.cpp \ - be_predefined_type.cpp \ - be_produce.cpp \ - be_root.cpp \ - be_scope.cpp \ - be_sequence.cpp \ - be_stream_factory.cpp \ - be_string.cpp \ - be_structure.cpp \ - be_sunsoft.cpp \ - be_type.cpp \ - be_typedef.cpp \ - be_union.cpp \ - be_union_branch.cpp \ - be_union_label.cpp \ - be_visitor.cpp \ - be_visitor_argument.cpp \ - be_visitor_array.cpp \ - be_visitor_attribute.cpp \ - be_visitor_constant.cpp \ - be_visitor_context.cpp \ - be_visitor_decl.cpp \ - be_visitor_enum.cpp \ - be_visitor_exception.cpp \ - be_visitor_factory.cpp \ - be_visitor_field.cpp \ - be_visitor_interface.cpp \ - be_visitor_interface_fwd.cpp \ - be_visitor_module.cpp \ - be_visitor_operation.cpp \ - be_visitor_operation_ami.cpp \ - be_visitor_root.cpp \ - be_visitor_scope.cpp \ - be_visitor_sequence.cpp \ - be_visitor_structure.cpp \ - be_visitor_typecode.cpp \ - be_visitor_typedef.cpp \ - be_visitor_union.cpp \ - be_visitor_union_branch.cpp - -dist-hook: - list=`find * -name CVS -prune -o -type d -print`; for p in $$list; do \ - $(mkinstalldirs) $(distdir)/$$p; \ - cp $$p/*.cpp $(distdir)/$$p; \ - done - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/TAO_IDL/be/be_args.cpp b/TAO/TAO_IDL/be/be_args.cpp deleted file mode 100644 index 67bcd83d2b9..00000000000 --- a/TAO/TAO_IDL/be/be_args.cpp +++ /dev/null @@ -1,124 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// be_args.cc - Collect command line arguments for the BE - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_args, "$Id$") - -/* - * Prepare an argument for a BE - * - * Since this is the dummy BE, it doesn't do anything with the passed string - */ -void -BE_prep_arg(char *s, idl_bool) -{ - const char arg_macro[]="export_macro="; - const char arg_include[]="export_include="; - const char arg_pch_include[]="pch_include="; -#ifdef IDL_HAS_VALUETYPE - const char obv_opt_accessor[]="obv_opt_accessor"; -#endif /* IDL_HAS_VALUETYPE */ - - char* last = 0; - for (char* arg = ACE_OS::strtok_r (s, ",", &last); - arg != 0; - arg = ACE_OS::strtok_r (0, ",", &last)) - { - if (ACE_OS::strstr (arg, arg_macro) == arg) - { - char* val = arg + sizeof (arg_macro) - 1; - idl_global->export_macro (val); - } - else if (ACE_OS::strstr (arg, arg_include) == arg) - { - char* val = arg + sizeof (arg_include) - 1; - idl_global->export_include (val); - } - else if (ACE_OS::strstr (arg, arg_pch_include) == arg) - { - char* val = arg + sizeof (arg_pch_include) - 1; - idl_global->pch_include (val); - } -# ifdef IDL_HAS_VALUETYPE - else if (ACE_OS::strstr (arg, obv_opt_accessor) == arg) - { - idl_global->obv_opt_accessor (1); - } -# endif /* IDL_HAS_VALUETYPE */ - else - { - cerr << idl_global->prog_name () - << ": invalid or unknown argument <" - << arg - << "> to back end\n"; - } - } -} diff --git a/TAO/TAO_IDL/be/be_argument.cpp b/TAO/TAO_IDL/be/be_argument.cpp deleted file mode 100644 index f6ae7a8f713..00000000000 --- a/TAO/TAO_IDL/be/be_argument.cpp +++ /dev/null @@ -1,53 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_argument.cpp -// -// = DESCRIPTION -// Extension of class AST_Argument that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_argument, "$Id$") - -/* - * BE_Argument - */ - -be_argument::be_argument (void) -{ -} - -be_argument::be_argument (AST_Argument::Direction d, AST_Type *ft, - UTL_ScopedName *n, UTL_StrList *p) - : AST_Argument (d, ft, n, p), - AST_Field (AST_Decl::NT_argument, ft, n, p), - AST_Decl (AST_Decl::NT_argument, n, p) -{ -} - - -int -be_argument::accept (be_visitor *visitor) -{ - return visitor->visit_argument (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_argument, AST_Argument, be_decl) -IMPL_NARROW_FROM_DECL (be_argument) diff --git a/TAO/TAO_IDL/be/be_array.cpp b/TAO/TAO_IDL/be/be_array.cpp deleted file mode 100644 index dac2ad3fc56..00000000000 --- a/TAO/TAO_IDL/be/be_array.cpp +++ /dev/null @@ -1,246 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_array.cpp -// -// = DESCRIPTION -// Extension of class AST_Array that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_array, "$Id$") - -/* - * BE_Array - */ -be_array::be_array (void) - : tao_name_ (0) -{ -} - -be_array::be_array (UTL_ScopedName *n, unsigned long ndims, UTL_ExprList *dims) - : AST_Array (n, ndims, dims), - AST_Decl (AST_Decl::NT_array, n, NULL), - tao_name_ (0) -{ -} - -be_array::~be_array (void) -{ - if (this->tao_name_ == 0) - delete[] tao_name_; -} - -// create a name for ourselves -const char* -be_array::tao_name (void) -{ - if (this->tao_name_ != 0) - return this->tao_name_; - - be_type *bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "tao_name - " - "bad base type\n"), - 0); - } - - const char prefix[] = "_tc_tao_array_"; - - int l = (ACE_OS::strlen (bt->local_name ()->get_string ()) - + ACE_OS::strlen (this->local_name ()->get_string ()) + 1 - + sizeof (prefix) - + 5 * this->n_dims ()); - - ACE_NEW_RETURN (this->tao_name_, char[l], 0); - - ACE_OS::sprintf (this->tao_name_, "%s%s_%s", - prefix, this->local_name ()->get_string (), - bt->local_name ()->get_string()); - - for (unsigned int i = 0; i < this->n_dims (); ++i) - { - AST_Expression *expr = this->dims ()[i]; // retrieve the ith - - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "tao_name - " - "bad array dimension\n"), - 0); - } - - if (expr->ev ()->et != AST_Expression::EV_ulong) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "tao_name - " - "bad dimension value\n"), - 0); - } - - char buf[16]; - ACE_OS::sprintf (buf, "_%04.4x", ((int)expr->ev ()->u.ulval)); - ACE_OS::strcat (this->tao_name_, buf); - } - return this->tao_name_; -} - -int -be_array::create_name (void) -{ - char namebuf [NAMEBUFSIZE]; - unsigned long i; - UTL_ScopedName *n = NULL; - be_decl *scope; // scope in which we are defined - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); // reset the buffer - // retrieve the base type - // the name always starts this way - - be_type *bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "create_name - " - "bad base type\n"), - 0); - } - - ACE_OS::sprintf (namebuf, "_tao_array_%s", bt->local_name ()->get_string ()); - // now append dimensions - for (i = 0; i < this->n_dims (); i++) - { - AST_Expression *expr = this->dims ()[i]; // retrieve the ith - - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "create_name - " - "bad array dimension\n"), - -1); - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - ACE_OS::sprintf (namebuf, "%s_%d", namebuf, ((int)expr->ev ()->u.ulval)); - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "create_name - " - "bad dimension value\n"), - -1); - } - } - - // now see if we have a fully scoped name and if so, generate one - scope = be_scope::narrow_from_scope (this->defined_in ())->decl (); - if (scope) - { - // make a copy of the enclosing scope's name - n = (UTL_ScopedName *)scope->name ()->copy () ; - - // add our local name as the last component - n->nconc (new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, - 0, I_FALSE), - NULL)); - // set the fully scoped name - this->set_name (n); - } - else - { - // We better be not here because we must be inside some scope, - // atleast the ROOT scope. - return -1; - } - return 0; -} - -// Code generation - -int -be_array::gen_dimensions (TAO_OutStream *os, unsigned short slice) -{ - unsigned long i; // loop index - - // print our dimensions - for (i = (slice?1:0); i < this->n_dims (); i++) - { - AST_Expression *expr = this->dims ()[i]; // retrieve the ith - - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_dimensions - " - "bad array dimension\n"), - -1); - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - *os << "[" << ((int)expr->ev ()->u.ulval) << "]"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_dimensions - " - "bad dimension value\n"), - -1); - } - } - return 0; -} - -// compute the size type of the node in question -int -be_array::compute_size_type (void) -{ - be_type *type = be_type::narrow_from_decl (this->base_type ()); - if (!type) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::compute_size_type - " - "bad base type\n"), -1); - } - - // our size type is the same as our type - this->size_type (type->size_type ()); - return 0; -} - -int -be_array::accept (be_visitor *visitor) -{ - return visitor->visit_array (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_array, AST_Array, be_type) -IMPL_NARROW_FROM_DECL (be_array) diff --git a/TAO/TAO_IDL/be/be_attribute.cpp b/TAO/TAO_IDL/be/be_attribute.cpp deleted file mode 100644 index 28c377c9797..00000000000 --- a/TAO/TAO_IDL/be/be_attribute.cpp +++ /dev/null @@ -1,51 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_attribute.cpp -// -// = DESCRIPTION -// Extension of class AST_Attribute that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_attribute, "$Id$") - -/* - * BE_Attribute - */ -be_attribute::be_attribute (void) -{ -} - -be_attribute::be_attribute (idl_bool ro, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p) - : AST_Attribute (ro, ft, n, p), - AST_Field (AST_Decl::NT_attr, ft, n, p), - AST_Decl (AST_Decl::NT_attr, n, p) -{ -} - -int -be_attribute::accept (be_visitor *visitor) -{ - return visitor->visit_attribute (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_attribute, AST_Attribute, be_decl) -IMPL_NARROW_FROM_DECL (be_attribute) diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp deleted file mode 100644 index 0d943c59d16..00000000000 --- a/TAO/TAO_IDL/be/be_codegen.cpp +++ /dev/null @@ -1,1083 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_codegen.cpp -// -// = DESCRIPTION -// Code generation -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_codegen, "$Id$") - -TAO_CodeGen *tao_cg = 0; - -/* BE global Data */ -TAO_CodeGen::TAO_CodeGen (void) - : client_header_ (0), - client_stubs_ (0), - client_inline_ (0), - server_header_ (0), - implementation_header_(0), - implementation_skeleton_(0), - server_template_header_ (0), - server_skeletons_ (0), - server_template_skeletons_ (0), - server_inline_ (0), - server_template_inline_ (0), - gperf_input_stream_ (0), - gperf_input_filename_ (0), - curr_os_ (0), - visitor_factory_ (0), - strategy_ (TAO_PERFECT_HASH) -{ -} - -// destructor -TAO_CodeGen::~TAO_CodeGen (void) -{ - delete this->client_header_; - delete this->server_header_; - delete this->implementation_header_; - delete this->implementation_skeleton_; - delete this->server_template_header_; - delete this->client_stubs_; - delete this->server_skeletons_; - delete this->server_template_skeletons_; - delete this->client_inline_; - delete this->server_inline_; - delete this->server_template_inline_; - this->curr_os_ = 0; - // delete this->visitor_factory_; -} - -// visitor factory method -be_visitor * -TAO_CodeGen::make_visitor (be_visitor_context *ctx) -{ - - if (!this->visitor_factory_) - { - ACE_ERROR_RETURN ((LM_ERROR, - "TAO_CodeGen::make_visitor - " - "No Visitor Factory\n\n"), - 0); - } - - return this->visitor_factory_->make_visitor (ctx); -} - -// change the string to all upcase -const char * -TAO_CodeGen::upcase (const char *str) -{ - static char upcase_str [NAMEBUFSIZE]; - - ACE_OS::memset (upcase_str, '\0', NAMEBUFSIZE); - // convert letters in str to upcase - for (unsigned int i=0; i < ACE_OS::strlen (str); i++) - { - if (isalpha (str [i])) - { - upcase_str[i] = toupper (str [i]); - } - else - { - // copy it as it is - upcase_str[i] = str[i]; - } - } - return upcase_str; -} - -// set the client header stream -int -TAO_CodeGen::start_client_header (const char *fname) -{ - // @@ We are making use of "included_idl_files" that is in the - // idl_global. We need to make sure the validity of those files. - idl_global->validate_included_idl_files (); - - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->client_header_ = factory->make_outstream (); - if (!this->client_header_) - { - return -1; - } - - if (this->client_header_->open (fname, TAO_OutStream::TAO_CLI_HDR) == -1) - return -1; - else - { - // now generate the #if !defined clause - static char macro_name [NAMEBUFSIZE]; - - ACE_OS::memset (macro_name, '\0', NAMEBUFSIZE); - const char *suffix = ACE_OS::strrchr (fname, '.'); - if (suffix == 0) - { - // File seems to have no extension, so let us take the name - // as it is. - if (fname == 0) - // bad file name - return -1; - else - suffix = fname; - } - - ACE_OS::sprintf (macro_name, "_TAO_IDL_"); - // convert letters in fname to upcase - for (int i=0; i < (suffix - fname); i++) - { - if (isalpha (fname [i])) - macro_name[i+9] = toupper (fname [i]); - else if (isdigit (fname [i])) - macro_name[i+9] = fname[i]; - else - macro_name[i+9] = '_'; - } - - ACE_OS::strcat (macro_name, "_H_"); - - // generate the #ifndef ... #define statements - this->client_header_->print ("#ifndef %s\n", macro_name); - this->client_header_->print ("#define %s\n\n", macro_name); - - // Including standard files - - // switch between changing or non-changing standard include files - // include files, so that #include statements can be - // generated with ""s or <>s respectively, for the standard include - // files (e.g. tao/corba.h) - *this->client_header_ << "#include "; - - if (idl_global->changing_standard_include_files () == 1) - *this->client_header_ << "\""; - else - *this->client_header_ << "<"; - - *this->client_header_ << "tao/corba.h"; - - if (idl_global->changing_standard_include_files () == 1) - *this->client_header_ << "\"\n"; - else - *this->client_header_ << ">\n"; - - // Some compilers don't optimize the #ifndef header include - // protection, but do optimize based on #pragma once. - *this->client_header_ << "\n#if !defined (ACE_LACKS_PRAGMA_ONCE)\n" - << "# pragma once\n" - << "#endif /* ACE_LACKS_PRAGMA_ONCE */\n\n"; - - // Other include files. - - if (idl_global->export_include () != 0) - { - *this->client_header_ << "#include \"" - << idl_global->export_include () - << "\"\n"; - } - - // Include the Messaging files if AMI is enabled. - if (idl_global->ami_call_back () == I_TRUE) - { - // Include Messaging skeleton file. - *this->client_header_ << "#include "; - - if (idl_global->changing_standard_include_files () == 1) - *this->client_header_ << "\""; - else - *this->client_header_ << "<"; - - *this->client_header_ << "tao/MessagingS.h"; - - if (idl_global->changing_standard_include_files () == 1) - *this->client_header_ << "\"\n"; - else - *this->client_header_ << ">\n"; - - // Including Asynch Invocation file. - *this->client_header_ << "#include "; - - if (idl_global->changing_standard_include_files () == 1) - *this->client_header_ << "\""; - else - *this->client_header_ << "<"; - - *this->client_header_ << "tao/Asynch_Invocation.h"; - - if (idl_global->changing_standard_include_files () == 1) - *this->client_header_ << "\"\n"; - else - *this->client_header_ << ">\n"; - } - - // We must include all the skeleton headers corresponding to - // IDL files included by the current IDL file. - // We will use the included IDL file names as they appeared - // in the original main IDL file, not the one which went - // thru CC preprocessor. - for (size_t j = 0; - j < idl_global->n_included_idl_files (); - j++) - { - char* idl_name = - idl_global->included_idl_files ()[j]; - - // Make a String out of it. - UTL_String idl_name_str = idl_name; - - // Make sure this file was actually got included, not - // ignored by some #if defined compiler directive. - - - // Get the clnt header from the IDL file name. - const char* client_hdr = - IDL_GlobalData::be_get_client_hdr (&idl_name_str, 1); - - // Sanity check and then print. - if (client_hdr != 0) - { - this->client_header_->print ("#include \"%s\"\n", - client_hdr); - } - else - { - ACE_ERROR ((LM_WARNING, - "WARNING, invalid file '%s' included\n", - idl_name)); - } - } - *this->client_header_ << "\n"; - - // generate the TAO_EXPORT_MACRO macro - *this->client_header_ << "#if defined (TAO_EXPORT_MACRO)\n"; - *this->client_header_ << "#undef TAO_EXPORT_MACRO\n"; - *this->client_header_ << "#endif\n"; - *this->client_header_ << "#define TAO_EXPORT_MACRO " - << idl_global->export_macro () - << be_nl; - - // Generate export macro for nested classes - *this->client_header_ - << "#if defined (TAO_EXPORT_NESTED_CLASSES)\n" - << "# if defined (TAO_EXPORT_NESTED_MACRO)\n" - << "# undef TAO_EXPORT_NESTED_MACRO\n" - << "# endif /* defined (TAO_EXPORT_NESTED_MACRO) */\n" - << "# define TAO_EXPORT_NESTED_MACRO " - << idl_global->export_macro () - << be_nl - << "#endif /* TAO_EXPORT_NESTED_CLASSES */\n"; - - *this->client_header_ << "#if defined(_MSC_VER)\n" - << "#pragma warning(disable:4250)\n" - << "#endif /* _MSC_VER */\n\n"; - - return 0; - } -} - -// get the client header stream -TAO_OutStream * -TAO_CodeGen::client_header (void) -{ - return this->client_header_; -} - -// set the client stub stream -int -TAO_CodeGen::start_client_stubs (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->client_stubs_ = factory->make_outstream (); - if (!this->client_stubs_) - { - return -1; - } - - if (this->client_stubs_->open (fname, TAO_OutStream::TAO_CLI_IMPL) == -1) - { - return -1; - } - - // generate the include statement for the precompiled header file. - if (idl_global->pch_include ()) - *this->client_stubs_ << "#include \"" - << idl_global->pch_include () << "\"\n\n"; - - // generate the include statement for the client header. We just - // need to put only the base names. Path info is not required. - *this->client_stubs_ << "#include \"" << - idl_global->be_get_client_hdr_fname (1) << "\"\n\n"; - -#if 0 // Nanbor's collocation change - *this->client_stubs_ << "#include \"" << - idl_global->be_get_server_hdr_fname (1) << "\"\n\n"; -#endif /* Nanbor */ - - // generate the code that includes the inline file if not included in the - // header file - *this->client_stubs_ << "#if !defined (__ACE_INLINE__)\n"; - *this->client_stubs_ << "#include \"" << - idl_global->be_get_client_inline_fname (1) << "\"\n"; - *this->client_stubs_ << "#endif /* !defined INLINE */\n\n"; - - return 0; -} - -// get the client stubs stream -TAO_OutStream * -TAO_CodeGen::client_stubs (void) -{ - return this->client_stubs_; -} - -// set the client inline stream -int -TAO_CodeGen::start_client_inline (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->client_inline_ = factory->make_outstream (); - if (!this->client_inline_) - { - return -1; - } - - return this->client_inline_->open (fname, TAO_OutStream::TAO_CLI_INL); -} - -// get the client inline stream -TAO_OutStream * -TAO_CodeGen::client_inline (void) -{ - return this->client_inline_; -} - -// set the server header stream. -int -TAO_CodeGen::start_server_header (const char *fname) -{ - // @@ We are making use of "included_idl_files" that is in the - // idl_global. We need to make sure the validity of those files. - idl_global->validate_included_idl_files (); - - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->server_header_ = factory->make_outstream (); - if (!this->server_header_) - { - return -1; - } - - if (this->server_header_->open (fname, TAO_OutStream::TAO_SVR_HDR) == -1) - return -1; - else - { - // now generate the #if !defined clause - static char macro_name [NAMEBUFSIZE]; - - ACE_OS::memset (macro_name, '\0', NAMEBUFSIZE); - const char *suffix = ACE_OS::strrchr (fname, '.'); - if (suffix == 0) - { - // File seems to have no extension, so let us take the name - // as it is. - if (fname == 0) - // bad file name - return -1; - else - suffix = fname; - } - - ACE_OS::sprintf (macro_name, "_TAO_IDL_"); - // convert letters in fname to upcase - for (int i=0; i < (suffix - fname); i++) - if (isalpha (fname [i])) - macro_name[i+9] = toupper (fname [i]); - else if (isdigit (fname [i])) - macro_name[i+9] = fname[i]; - else - macro_name[i+9] = '_'; - - ACE_OS::strcat (macro_name, "_H_"); - - this->server_header_->print ("#ifndef %s\n", macro_name); - this->server_header_->print ("#define %s\n\n", macro_name); - - // We must include all the skeleton headers corresponding to - // IDL files included by the current IDL file. - // We will use the included IDL file names as they appeared - // in the original main IDL file, not the one which went - // thru CC preprocessor. - for (size_t j = 0; - j < idl_global->n_included_idl_files (); - ++j) - { - char* idl_name = - idl_global->included_idl_files ()[j]; - - // String'ifying the name. - UTL_String idl_name_str (idl_name); - - const char* server_hdr = - IDL_GlobalData::be_get_server_hdr (&idl_name_str, 1); - - this->server_header_->print ("#include \"%s\"\n", - server_hdr); - } - // the server header should include the client header - *this->server_header_ << "#include \"" << - idl_global->be_get_client_hdr_fname (1) << "\"\n\n"; - - // Some compilers don't optimize the #ifndef header include - // protection, but do optimize based on #pragma once. - *this->server_header_ << "\n#if !defined (ACE_LACKS_PRAGMA_ONCE)\n" - << "# pragma once\n" - << "#endif /* ACE_LACKS_PRAGMA_ONCE */\n\n"; - - *this->server_header_ << "#if defined(_MSC_VER)\n" - << "#pragma warning(disable:4250)\n" - << "#endif /* _MSC_VER */\n\n"; - - return 0; - } -} - -// get the server header stream -TAO_OutStream * -TAO_CodeGen::server_header (void) -{ - return this->server_header_; -} - -// set the server header stream -int -TAO_CodeGen::start_server_template_header (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->server_template_header_ = factory->make_outstream (); - if (!this->server_template_header_) - return -1; - - if (this->server_template_header_->open (fname, - TAO_OutStream::TAO_SVR_TMPL_HDR) - == -1) - return -1; - else - { - // now generate the #if !defined clause - static char macro_name [NAMEBUFSIZE]; - - ACE_OS::memset (macro_name, '\0', NAMEBUFSIZE); - const char *suffix = ACE_OS::strrchr (fname, '.'); - if (suffix == 0) - { - // File seems to have no extension, so let us take the name - // as it is. - if (fname == 0) - // bad file name - return -1; - else - suffix = fname; - } - ACE_OS::sprintf (macro_name, "_TAO_IDL_"); - // convert letters in fname to upcase - for (int i=0; i < (suffix - fname); i++) - if (isalpha (fname [i])) - macro_name[i+9] = toupper (fname [i]); - else if (isdigit (fname [i])) - macro_name[i+9] = fname[i]; - else - macro_name[i+9] = '_'; - - ACE_OS::strcat (macro_name, "_H_"); - - this->server_template_header_->print ("#ifndef %s\n", macro_name); - this->server_template_header_->print ("#define %s\n\n", macro_name); - - *this->server_template_header_ << "#if defined(_MSC_VER)\n" - << "#pragma warning(disable:4250)\n" - << "#endif /* _MSC_VER */\n\n"; - - return 0; - } -} - -// get the server header stream -TAO_OutStream * -TAO_CodeGen::server_template_header (void) -{ - return this->server_template_header_; -} - -// set the server skeletons stream -int -TAO_CodeGen::start_server_skeletons (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->server_skeletons_ = factory->make_outstream (); - if (!this->server_skeletons_) - { - return -1; - } - - if (this->server_skeletons_->open (fname, TAO_OutStream::TAO_SVR_IMPL) == -1) - { - return -1; - } - - // generate the include statement for the precompiled header file. - if (idl_global->pch_include ()) - *this->server_skeletons_ << "#include \"" - << idl_global->pch_include () << "\"\n\n"; - - // generate the include statement for the server header - *this->server_skeletons_ << "#include \"" << - idl_global->be_get_server_hdr_fname (1) << "\"\n\n"; - - // generate the code that includes the inline file if not included in the - // header file - *this->server_skeletons_ << "#if !defined (__ACE_INLINE__)\n"; - *this->server_skeletons_ << "#include \"" << - idl_global->be_get_server_inline_fname (1) << "\"\n"; - *this->server_skeletons_ << "#endif /* !defined INLINE */\n\n"; - - return 0; -} - -// Get the server skeletons stream. -TAO_OutStream * -TAO_CodeGen::server_skeletons (void) -{ - return this->server_skeletons_; -} - -// Start the server template skeleton stream. -int -TAO_CodeGen::start_server_template_skeletons (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->server_template_skeletons_ = factory->make_outstream (); - if (!this->server_template_skeletons_) - { - return -1; - } - - if (this->server_template_skeletons_->open (fname, - TAO_OutStream::TAO_SVR_TMPL_IMPL) - == -1) - return -1; - else - { - // now generate the #if !defined clause - static char macro_name [NAMEBUFSIZE]; - - ACE_OS::memset (macro_name, '\0', NAMEBUFSIZE); - const char *suffix = ACE_OS::strrchr (fname, '.'); - if (suffix == 0) - { - // File seems to have no extension, so let us take the name - // as it is. - if (fname == 0) - // bad file name - return -1; - else - suffix = fname; - } - - ACE_OS::sprintf (macro_name, "_TAO_IDL_"); - // convert letters in fname to upcase - for (int i=0; i < (suffix - fname); i++) - if (isalpha (fname [i])) - macro_name[i+9] = toupper (fname [i]); - else if (isdigit (fname [i])) - macro_name[i+9] = fname[i]; - else - macro_name[i+9] = '_'; - - ACE_OS::strcat (macro_name, "_CPP_"); - - this->server_template_skeletons_->print ("#ifndef %s\n", macro_name); - this->server_template_skeletons_->print ("#define %s\n\n", macro_name); - - *this->server_template_skeletons_ << "#if defined(_MSC_VER)\n" - << "#pragma warning(disable:4250)\n" - << "#endif /* _MSC_VER */\n\n"; - - // generate the include statement for the server header - *this->server_template_skeletons_ << "#include \"" << - idl_global->be_get_server_template_hdr_fname (1) << "\"\n\n"; - - // generate the code that includes the inline file if not included in the - // header file - *this->server_template_skeletons_ << "#if !defined (__ACE_INLINE__)\n"; - *this->server_template_skeletons_ << "#include \"" << - idl_global->be_get_server_template_inline_fname (1) << "\"\n"; - *this->server_template_skeletons_ << "#endif /* !defined INLINE */\n\n"; - - return 0; - } -} - -// get the server template skeletons stream -TAO_OutStream * -TAO_CodeGen::server_template_skeletons (void) -{ - return this->server_template_skeletons_; -} - -// set the server inline stream -int -TAO_CodeGen::start_server_inline (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->server_inline_ = factory->make_outstream (); - if (!this->server_inline_) - { - return -1; - } - - return this->server_inline_->open (fname, TAO_OutStream::TAO_SVR_INL); -} - -// get the server inline stream -TAO_OutStream * -TAO_CodeGen::server_inline (void) -{ - return this->server_inline_; -} - -// set the server template inline stream -int -TAO_CodeGen::start_server_template_inline (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->server_template_inline_ = factory->make_outstream (); - if (!this->server_template_inline_) - { - return -1; - } - - return this->server_template_inline_->open (fname, TAO_OutStream::TAO_SVR_INL); -} - -// get the server template inline stream -TAO_OutStream * -TAO_CodeGen::server_template_inline (void) -{ - return this->server_template_inline_; -} - - -// set the server header stream. -int -TAO_CodeGen::start_implementation_header (const char *fname) -{ - // @@ We are making use of "included_idl_files" that is in the - // idl_global. We need to make sure the validity of those files. - - - idl_global->validate_included_idl_files (); - - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->implementation_header_ = factory->make_outstream (); - if (!this->implementation_header_) - { - return -1; - } - - if (this->implementation_header_->open (fname, TAO_OutStream::TAO_IMPL_HDR) == -1) - return -1; - else - { - // now generate the #ifndef clause - static char macro_name [NAMEBUFSIZE]; - - ACE_OS::memset (macro_name, '\0', NAMEBUFSIZE); - const char *suffix = ACE_OS::strrchr (fname, '.'); - if (suffix == 0) - { - // File seems to have no extension, so let us take the name - // as it is. - if (fname == 0) - // bad file name - return -1; - else - suffix = fname; - } - - for (int i=0; i < (suffix - fname); i++) - if (isalpha (fname [i])) - macro_name[i] = toupper (fname [i]); - else if (isdigit (fname [i])) - macro_name[i] = fname[i]; - else - macro_name[i] = '_'; - - ACE_OS::strcat (macro_name, "_H_"); - - this->implementation_header_->print ("#ifndef %s\n", macro_name); - this->implementation_header_->print ("#define %s\n\n", macro_name); - - // We must include all the skeleton headers corresponding to - // IDL files included by the current IDL file. - // We will use the included IDL file names as they appeared - // in the original main IDL file, not the one which went - // thru CC preprocessor. - for (size_t j = 0; - j < idl_global->n_included_idl_files (); - ++j) - { - char* idl_name = - idl_global->included_idl_files ()[j]; - - // Stringifying the name. - UTL_String idl_name_str (idl_name); - - const char* implementation_hdr = - IDL_GlobalData::be_get_implementation_hdr (&idl_name_str, 1); - - this->implementation_header_->print ("#include \"%s\"\n", - implementation_hdr); - } - - *this->implementation_header_ - << "#if !defined (ACE_LACKS_PRAGMA_ONCE)\n" - << "#pragma once\n" - << "#endif /* ACE_LACKS_PRAGMA_ONCE */\n\n"; - - const char* server_hdr = - IDL_GlobalData::be_get_server_hdr_fname (1); - - *this->implementation_header_<< "#include \""<implementation_header_; -} - - -// set the implementation skeleton stream. -int -TAO_CodeGen::start_implementation_skeleton (const char *fname) -{ - // @@ We are making use of "included_idl_files" that is in the - // idl_global. We need to make sure the validity of those files. - idl_global->validate_included_idl_files (); - - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->implementation_skeleton_ = factory->make_outstream (); - if (!this->implementation_skeleton_) - { - return -1; - } - - if (this->implementation_skeleton_->open (fname, TAO_OutStream::TAO_IMPL_SKEL) == -1) - return -1; - else - { - - - - static char macro_name [NAMEBUFSIZE]; - - ACE_OS::memset (macro_name, '\0', NAMEBUFSIZE); - const char *suffix = ACE_OS::strrchr (fname, '.'); - - - if (suffix == 0) - { - // File seems to have no extension, so let us take the name - // as it is. - if (fname == 0) - // bad file name - return -1; - else - suffix = fname; - } - - // convert letters in fname to upcase - for (int i=0; i < (suffix - fname); i++) - if (isalpha (fname [i])) - macro_name[i] = fname [i]; - else - macro_name[i] = fname[i]; - - - const char* impl_hdr = - IDL_GlobalData::be_get_implementation_hdr_fname (); - - this->implementation_skeleton_->print ("#include \"%s\"\n\n", impl_hdr); - - return 0; - } -} - - -// get the implementation header stream -TAO_OutStream * -TAO_CodeGen::implementation_skeleton (void) -{ - return this->implementation_skeleton_; -} - -// put the last #endif in the client and server headers -int -TAO_CodeGen::end_client_header (void) -{ - // generate the <<= and >>= operators here - - // insert the code to include the inline file - *this->client_header_ << "\n#if defined (__ACE_INLINE__)\n"; - *this->client_header_ << "#include \"" << - idl_global->be_get_client_inline_fname (1) << "\"\n"; - *this->client_header_ << "#endif /* defined INLINE */\n\n"; - - *this->client_header_ << "#if defined(_MSC_VER)\n" - << "#pragma warning(default:4250)\n" - << "#endif /* _MSC_VER */\n"; - - // code to put the last #endif - *this->client_header_ << "\n#endif /* ifndef */\n"; - return 0; -} - -int -TAO_CodeGen::end_server_header (void) -{ - // insert the template header - *this->server_header_ << "#include \"" << - idl_global->be_get_server_template_hdr_fname (1) << "\"\n"; - - // insert the code to include the inline file - *this->server_header_ << "\n#if defined (__ACE_INLINE__)\n"; - *this->server_header_ << "#include \"" << - idl_global->be_get_server_inline_fname (1) << "\"\n"; - *this->server_header_ << "#endif /* defined INLINE */\n\n"; - - *this->server_header_ << "#if defined(_MSC_VER)\n" - << "#pragma warning(default:4250)\n" - << "#endif /* _MSC_VER */\n"; - - // code to put the last #endif - *this->server_header_ << "\n#endif /* ifndef */\n"; - return 0; -} - -int -TAO_CodeGen::end_implementation_header (const char *fname) -{ - static char macro_name [NAMEBUFSIZE]; - - ACE_OS::memset (macro_name, '\0', NAMEBUFSIZE); - const char *suffix = ACE_OS::strrchr (fname, '.'); - if (suffix == 0) - { - // File seems to have no extension, so let us take the name - // as it is. - if (fname == 0) - // bad file name - return -1; - else - suffix = fname; - } - - - // convert letters in fname to upcase - for (int i=0; i < (suffix - fname); i++) - if (isalpha (fname [i])) - macro_name[i] = toupper (fname [i]); - else if (isdigit (fname [i])) - macro_name[i] = fname[i]; - else - macro_name[i] = '_'; - - ACE_OS::strcat (macro_name, "_H_"); - - - // code to put the last #endif - //*this->implementation_header_ << "\n#endif /* %s */\n"; - this->implementation_header_->print ("\n#endif /* %s */\n", macro_name); - return 0; -} - -int -TAO_CodeGen::end_server_template_header (void) -{ - // insert the code to include the inline file - *this->server_template_header_ << "\n#if defined (__ACE_INLINE__)\n"; - *this->server_template_header_ << "#include \"" << - idl_global->be_get_server_template_inline_fname (1) << "\"\n"; - *this->server_template_header_ << "#endif /* defined INLINE */\n\n"; - - // insert the code to include the template source file - *this->server_template_header_ - << "\n#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)\n"; - *this->server_template_header_ << "#include \"" << - idl_global->be_get_server_template_skeleton_fname (1) << "\"\n"; - *this->server_template_header_ << "#endif /* defined REQUIRED SOURCE */\n\n"; - - // insert the code to include the template pragma - *this->server_template_header_ - << "\n#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)\n"; - *this->server_template_header_ << "#pragma implementation (\"" << - idl_global->be_get_server_template_skeleton_fname (1) << "\")\n"; - *this->server_template_header_ << "#endif /* defined REQUIRED PRAGMA */\n\n"; - - *this->server_template_header_ << "#if defined(_MSC_VER)\n" - << "#pragma warning(default:4250)\n" - << "#endif /* _MSC_VER */\n"; - - // code to put the last #endif - *this->server_template_header_ << "\n#endif /* ifndef */\n"; - return 0; -} - -int -TAO_CodeGen::end_server_template_skeletons (void) -{ - // code to put the last #endif - *this->server_template_skeletons_ << "\n#endif /* ifndef */\n"; - return 0; -} - -// We use the following helper functions to pass information. This class is the -// best place to pass such information rather than passing information through -// global variables spread everywhere. This class is a singleton and is -// effectively a global. - -void -TAO_CodeGen::gperf_input_stream (TAO_OutStream *os) -{ -#if !defined (linux) - // This causes a seg fault on Linux RH 5.1. Let it leak . . . - delete this->gperf_input_stream_; -#endif /* ! linux */ - this->gperf_input_stream_ = os; -} - -TAO_OutStream * -TAO_CodeGen::gperf_input_stream (void) -{ - return this->gperf_input_stream_; -} - -void -TAO_CodeGen::gperf_input_filename (char *filename) -{ - delete[] this->gperf_input_filename_; - this->gperf_input_filename_ = ACE::strnew (filename); -} - -char * -TAO_CodeGen::gperf_input_filename (void) -{ - return this->gperf_input_filename_; -} - -void -TAO_CodeGen::outstream (TAO_OutStream *os) -{ - this->curr_os_ = os; -} - -TAO_OutStream * -TAO_CodeGen::outstream (void) -{ - return this->curr_os_; -} - -void -TAO_CodeGen::node (be_decl *n) -{ - this->node_ = n; -} - -be_decl * -TAO_CodeGen::node (void) -{ - return this->node_; -} - -void -TAO_CodeGen::config_visitor_factory (void) -{ - // What strategy are we interested in? Interpreted or Compiled Marshaling? - // This is the top level distinction we make and strategize our visitor - // factory object accordingly - if (idl_global->compiled_marshaling ()) - this->visitor_factory_ = TAO_COMPILED_VISITOR_FACTORY::instance (); - else - this->visitor_factory_ = TAO_INTERPRETIVE_VISITOR_FACTORY::instance (); -} - -void -TAO_CodeGen::lookup_strategy (LOOKUP_STRATEGY s) -{ - this->strategy_ = s; -} - -TAO_CodeGen::LOOKUP_STRATEGY -TAO_CodeGen::lookup_strategy (void) const -{ - return this->strategy_; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Singleton; -template class ACE_Singleton; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/TAO_IDL/be/be_constant.cpp b/TAO/TAO_IDL/be/be_constant.cpp deleted file mode 100644 index 46987ade449..00000000000 --- a/TAO/TAO_IDL/be/be_constant.cpp +++ /dev/null @@ -1,98 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_constant.cpp -// -// = DESCRIPTION -// Extension of class AST_Constant that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_constant, "$Id$") - -/* - * BE_Constant - */ -be_constant::be_constant (void) -{ - this->size_type (be_decl::FIXED); -} - -be_constant::be_constant (AST_Expression::ExprType et, - AST_Expression *v, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Constant (et, v, n, p), - AST_Decl (AST_Decl::NT_const, n, p) -{ - this->size_type (be_decl::FIXED); -} - -const char * -be_constant::exprtype_to_string (void) -{ - switch (this->et ()) - { - case AST_Expression::EV_short: - return "CORBA::Short"; - case AST_Expression::EV_ushort: - return "CORBA::UShort"; - case AST_Expression::EV_long: - return "CORBA::Long"; - case AST_Expression::EV_ulong: - return "CORBA::ULong"; - case AST_Expression::EV_float: - return "CORBA::Float"; - case AST_Expression::EV_double: - return "CORBA::Double"; - case AST_Expression::EV_char: - return "CORBA::Char"; - case AST_Expression::EV_octet: - return "CORBA::Octet"; - case AST_Expression::EV_bool: - return "CORBA::Boolean"; - case AST_Expression::EV_string: - return "char *const"; - case AST_Expression::EV_any: - return "CORBA::Any"; - case AST_Expression::EV_void: - return "void"; - case AST_Expression::EV_none: - return "none"; - case AST_Expression::EV_longlong: - return "CORBA::LongLong"; - case AST_Expression::EV_ulonglong: - return "CORBA::ULongLong"; - case AST_Expression::EV_wchar: - return "CORBA::WChar"; - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wstring: - return NULL; - } - return NULL; -} - -int -be_constant::accept (be_visitor *visitor) -{ - return visitor->visit_constant (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_constant, AST_Constant, be_decl) -IMPL_NARROW_FROM_DECL (be_constant) diff --git a/TAO/TAO_IDL/be/be_decl.cpp b/TAO/TAO_IDL/be/be_decl.cpp deleted file mode 100644 index b510a4c5b3a..00000000000 --- a/TAO/TAO_IDL/be/be_decl.cpp +++ /dev/null @@ -1,963 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_decl.cpp -// -// = DESCRIPTION -// Extension of class AST_Decl that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_decl, "$Id$") - -// Default Constructor -be_decl::be_decl (void) - : cli_hdr_gen_ (I_FALSE), - cli_stub_gen_ (I_FALSE), - cli_inline_gen_ (I_FALSE), - srv_hdr_gen_ (I_FALSE), - impl_hdr_gen_ (I_FALSE), - srv_skel_gen_ (I_FALSE), - impl_skel_gen_ (I_FALSE), - srv_inline_gen_ (I_FALSE), - cli_hdr_any_op_gen_ (I_FALSE), - cli_stub_any_op_gen_ (I_FALSE), - cli_hdr_cdr_op_gen_ (I_FALSE), - cli_stub_cdr_op_gen_ (I_FALSE), - cli_inline_cdr_op_gen_ (I_FALSE), - fullname_ (0), - ami_handler_fullname_ (0), - flatname_ (0), - ami_handler_flatname_ (0), - repoID_ (0), - ami_handler_repoID_ (0), - prefix_ (0), - size_type_ (be_decl::SIZE_UNKNOWN) -{ -} - -// Constructor -be_decl::be_decl (AST_Decl::NodeType type, - UTL_ScopedName *n, - UTL_StrList *pragmas) - : AST_Decl (type, n, pragmas), - cli_hdr_gen_ (I_FALSE), - cli_stub_gen_ (I_FALSE), - cli_inline_gen_ (I_FALSE), - srv_hdr_gen_ (I_FALSE), - impl_hdr_gen_ (I_FALSE), - srv_skel_gen_ (I_FALSE), - impl_skel_gen_ (I_FALSE), - srv_inline_gen_ (I_FALSE), - cli_hdr_any_op_gen_ (I_FALSE), - cli_stub_any_op_gen_ (I_FALSE), - cli_hdr_cdr_op_gen_ (I_FALSE), - cli_stub_cdr_op_gen_ (I_FALSE), - fullname_ (0), - ami_handler_fullname_ (0), - flatname_ (0), - ami_handler_flatname_ (0), - repoID_ (0), - ami_handler_repoID_ (0), - prefix_ (0), - size_type_ (be_decl::SIZE_UNKNOWN) -{ -} - -//destructor -be_decl::~be_decl (void) -{ - if (this->fullname_ != 0) - { - delete[] this->fullname_; - this->fullname_ = 0; - } - if (this->ami_handler_fullname_ != 0) - { - delete[] this->ami_handler_fullname_; - this->ami_handler_fullname_ = 0; - } - if (this->flatname_ != 0) - { - delete[] this->flatname_; - this->flatname_ = 0; - } - if (this->ami_handler_flatname_ != 0) - { - delete[] this->ami_handler_flatname_; - this->ami_handler_flatname_ = 0; - } - if (this->repoID_ != 0) - { - delete[] this->repoID_; - this->repoID_ = 0; - } - if (this->ami_handler_repoID_ != 0) - { - delete[] this->ami_handler_repoID_; - this->ami_handler_repoID_ = 0; - } - if (this->prefix_ != 0) - { - delete[] this->prefix_; - this->prefix_ = 0; - } -} - -// return our size type -be_decl::SIZE_TYPE -be_decl::size_type (void) -{ - if (this->size_type_ == be_decl::SIZE_UNKNOWN) - (void) this->compute_size_type (); - return this->size_type_; -} - -// set our size type and that of all our ancestors -void -be_decl::size_type (be_decl::SIZE_TYPE st) -{ - // precondition - you cannot set somebody's sizetype to unknown - ACE_ASSERT (st != be_decl::SIZE_UNKNOWN); - - // st can be VARIABLE or FIXED - if (this->size_type_ == be_decl::SIZE_UNKNOWN) // not set yet - this->size_type_ = st; // set it - else if ((this->size_type_ == be_decl::FIXED) && - (st == be_decl::VARIABLE)) - // once we are VARIABLE, we cannot be FIXED. But if we were FIXED and then - // get overwritten to VARIABLE, it is fine. Such a situation occurs only - // when setting the sizes of structures and unions - this->size_type_ = st; -} - -const char* -be_decl::fullname (void) -{ - if (!this->fullname_) - compute_fullname (); - - return this->fullname_; -} - -const char* -be_decl::ami_handler_fullname (void) -{ - if (!this->ami_handler_fullname_) - compute_ami_handler_name (this->fullname (), - this->ami_handler_fullname_); - - return this->ami_handler_fullname_; -} - - -// compute stringified fully scoped name -void -be_decl::compute_fullname (void) -{ - if (fullname_) - return; - else - { - long namelen; - UTL_IdListActiveIterator *i; - long first = I_TRUE; - long second = I_FALSE; - - // in the first loop compute the total length - namelen = 0; - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - namelen += 2; // for "::" - else if (second) - first = second = I_FALSE; - // print the identifier - namelen += ACE_OS::strlen (i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - - this->fullname_ = new char [namelen+1]; - this->fullname_[0] = '\0'; - first = I_TRUE; - second = I_FALSE; - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - ACE_OS::strcat (this->fullname_, "::"); - else if (second) - first = second = I_FALSE; - // print the identifier - ACE_OS::strcat (this->fullname_, i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - } - return; -} - -const char* -be_decl::flatname (void) -{ - if (!this->flatname_) - this->compute_flatname (); - - return this->flatname_; -} - -const char* -be_decl::ami_handler_flatname (void) -{ - if (!this->ami_handler_flatname_) - this->compute_flatname ("AMI_","_Handler"); - - return this->ami_handler_flatname_; -} - - -// compute stringified flattened fully scoped name -void -be_decl::compute_flatname (void) -{ - if (flatname_) - return; - else - { - long namelen; - UTL_IdListActiveIterator *i; - long first = I_TRUE; - long second = I_FALSE; - - // in the first loop compute the total length - namelen = 0; - i = new UTL_IdListActiveIterator (this->name ()); - - while (!(i->is_done ())) - { - if (!first) - namelen += 1; // for "_" - else if (second) - first = second = I_FALSE; - // print the identifier - namelen += ACE_OS::strlen (i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - - this->flatname_ = new char [namelen+1]; - this->flatname_[0] = '\0'; - first = I_TRUE; - second = I_FALSE; - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - ACE_OS::strcat (this->flatname_, "_"); - else if (second) - first = second = I_FALSE; - // print the identifier - ACE_OS::strcat (this->flatname_, i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - } - return; -} - - - -char * -be_decl::compute_flatname (const char *prefix, const char *suffix) -{ - if (prefix == 0 || suffix == 0) - return 0; - - ACE_CString prefix_str (prefix); - ACE_CString suffix_str (suffix); - - ACE_CString result_str; - - // Get parent. - if (this->defined_in () == 0) - { - // Global scope. - - // Prefix. - result_str = prefix_str; - - // Local name. - result_str += ACE_CString (this->local_name ()->get_string ()); - - // Suffix. - result_str += suffix_str; - } - else - { - // Get scope name. - be_decl *parent = be_scope::narrow_from_scope (this->defined_in ())->decl (); - if (parent == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_decl::" - "compute_flat_name - " - "scope name is nil\n"), - 0); - } - - // Parent name. - result_str = ACE_CString (parent->fullname ()); - - // _ - if (ACE_OS::strcmp (parent->fullname (), "") != 0) - result_str += ACE_CString ("_"); - - // Prefix. - result_str += ACE_CString ("AMI_"); - - // Local name. - result_str += ACE_CString (this->local_name ()->get_string ()); - - // Suffix. - result_str += suffix_str; - } - - this->ami_handler_flatname_ = result_str.rep (); - return this->ami_handler_flatname_; -} - -const char * -be_decl::repoID (void) -{ - if (!this->repoID_) - this->compute_repoID (); - - return this->repoID_; -} - - -const char * -be_decl::ami_handler_repoID (void) -{ - if (!this->ami_handler_repoID_) - this->compute_repoID ("AMI_","_Handler"); - - return this->ami_handler_repoID_; -} - - -// compute stringified repository ID -void -be_decl::compute_repoID (void) -{ - if (repoID_) - return; - else - { - long namelen; - UTL_IdListActiveIterator *i; - long first = I_TRUE; - long second = I_FALSE; - - // in the first loop compute the total length - namelen = 8; // for the prefix "IDL:" and suffix ":1.0" - namelen += ACE_OS::strlen (this->prefix ()) + 1; - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - namelen += 1; // for "/" - else if (second) - first = second = I_FALSE; - // print the identifier - namelen += ACE_OS::strlen (i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - - this->repoID_ = new char [namelen+1]; - this->repoID_[0] = '\0'; - ACE_OS::sprintf (this->repoID_, "%s", "IDL:"); - ACE_OS::strcat (this->repoID_, this->prefix ()); - - // Add the "/" only if there is a prefix - if (ACE_OS::strcmp (this->prefix (), "") != 0) - ACE_OS::strcat (this->repoID_, "/"); - - i = new UTL_IdListActiveIterator (this->name ()); - first = I_TRUE; - second = I_FALSE; - while (!(i->is_done ())) - { - if (!first) - ACE_OS::strcat (this->repoID_, "/"); - else if (second) - first = second = I_FALSE; - // print the identifier - ACE_OS::strcat (this->repoID_, i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - ACE_OS::strcat (this->repoID_, ":1.0"); - } - return; -} - -// Apply the prefix and suffix to the local name and compute the -// repoID. Both the parameters should be non-null. -char * -be_decl::compute_repoID (const char *prefix, const char *suffix) -{ - // Prefix and suffix should be valid. - if (prefix == 0 || suffix == 0) - return 0; - - // First prepare the result without IDL: and :1.0 strings. - - // repoID without IDL: and :1.0 strings. - char *result = 0; - - long namelen; - UTL_IdListActiveIterator *i; - long first = I_TRUE; - long second = I_FALSE; - - // In the first loop compute the total length. - namelen = 8; // for the prefix "IDL:" and suffix ":1.0" - namelen += ACE_OS::strlen (this->prefix ()) + 1; - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - namelen += 1; // for "/" - else if (second) - first = second = I_FALSE; - // print the identifier - namelen += ACE_OS::strlen (i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - - // Get the result. - - result = new char [namelen+1]; - result[0] = '\0'; - - // Start the result with prefix. - ACE_OS::sprintf (result, "%s", this->prefix ()); - - // Add the "/" only if there is a prefix - if (ACE_OS::strcmp (this->prefix (), "") != 0) - ACE_OS::strcat (result, "/"); - - i = new UTL_IdListActiveIterator (this->name ()); - first = I_TRUE; - second = I_FALSE; - while (!(i->is_done ())) - { - if (!first) - ACE_OS::strcat (result, "/"); - else if (second) - first = second = I_FALSE; - // print the identifier - ACE_OS::strcat (result, i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - - // Add prefix and suffix. - - // Search where the last / is. If it is not there put AMI_ right - // after IDL: and _Handler after that and then the :1.0 string. - // Otherwise put AMI after the last / and _Handler at the end and - // then the 1.0 string. - - // CStrings are cool. - - ACE_CString result_str (result); - - // Return val. Release = 0 so that we can return the . - ACE_CString repoID ("IDL:", 0, 0); - - // Useful CStrings. - ACE_CString prefix_str (prefix); - ACE_CString suffix_str (suffix); - ACE_CString version_str (":1.0"); - - // Find the last /. - int last_name_pos = result_str.rfind ('/'); - - if (last_name_pos == ACE_CString::npos) - { - // '/' not present. - - // Add prefix + result. - repoID += prefix_str; - - repoID += result_str; - - // Add suffix. - repoID += suffix_str; - } - else - { - // '/' present. - - // IDl:'/'. Watch get the last / - // also. - repoID += result_str.substring (0, last_name_pos+1); - - // Put prefix. - repoID += prefix_str; - - // Put the last name. - repoID += result_str.substr (last_name_pos + 1); - - // Add suffix. - repoID += suffix_str; - } - - // Add 1.0. - repoID += version_str; - - // Delete result. - delete result; - result = 0; - - this->ami_handler_repoID_ = repoID.rep (); - - return this->ami_handler_repoID_; -} - - -int -be_decl::compute_ami_handler_name (const char *name, - char *&ami_handler_name) -{ - int name_length = ACE_OS::strlen (name); - int ami_handler_length = ACE_OS::strlen ("AMI__HANDLER"); - - ACE_NEW_RETURN (ami_handler_name, - char[name_length + ami_handler_length+1], - -1); - - // copy it in - ACE_OS::strcpy (ami_handler_name, name); - - const char *interface_name = 0; - int i = ACE_OS::strlen (name); - for (;i >= 1; i--) - { - if (name[i-1] == ':' && name[i] == ':') - { - interface_name = &name[i+1]; - break; - } - else if (i >= 3) - if (name[i-3] == 'P' && - name[i-2] == 'O' && - name[i-1] == 'A' && - name[i] == '_') - { - interface_name = &name[i+1]; - break; - } - } - - if (interface_name == 0) - interface_name = name; - - ACE_OS::strcpy(&ami_handler_name[name_length-ACE_OS::strlen(interface_name)],"AMI_"); - ACE_OS::strcpy(&ami_handler_name[name_length-ACE_OS::strlen(interface_name)+4], - interface_name); - ACE_OS::strcpy(&ami_handler_name[name_length+4], - "_Handler"); - - return 0; -} - - - -void -be_decl::compute_prefix () -{ - const char* pragma = 0; - if (this->pragmas () != 0) - { - for (UTL_StrlistActiveIterator i (this->pragmas ()); - !i.is_done (); - i.next ()) - { - const char* s = i.item ()->get_string (); - - if (ACE_OS::strncmp (s, "#pragma prefix", 14) == 0) - { - pragma = s; - } - } - } - - if (pragma != 0) - { - // Skip the space and the " also... - const char* tmp = pragma + 16; - const char* end = ACE_OS::strchr (tmp, '"'); - - if (end == 0) - { - idl_global->err ()->syntax_error - (IDL_GlobalData::PS_PragmaPrefixSyntax); - this->prefix_ = ACE::strnew (""); - return; - } - int l = end - tmp; - this->prefix_ = new char[l+1]; - ACE_OS::strncpy (this->prefix_, tmp, end - tmp); - this->prefix_[l] = 0; - return; - } - - // Could not find it in the local scope, try to recurse to the top - // scope... - if (this->defined_in () == 0) - this->prefix_ = ACE::strnew (""); - else - { - be_scope* scope = - be_scope::narrow_from_scope (this->defined_in ()); - if (scope == 0) - this->prefix_ = ACE::strnew (""); - else - this->prefix_ = ACE::strnew (scope->decl()->prefix ()); - } -} - -const char* -be_decl::prefix (void) -{ - if (!this->prefix_) - compute_prefix (); - return this->prefix_; -} - -idl_bool -be_decl::is_nested (void) -{ - be_decl *d; - - d = be_scope::narrow_from_scope (this->defined_in ())->decl (); - // if we have an outermost scope and if that scope is not that of the Root, - // then we are defined at some nesting level - if (d && d->node_type () != AST_Decl::NT_root) - return I_TRUE; - - return I_FALSE; -} - -// compute the size type of the node in question -int -be_decl::compute_size_type (void) -{ - return 0; -} - -// return the scope created by this node (if one exists, else NULL) -be_scope * -be_decl::scope (void) -{ - be_decl *d = this; - - switch (this->node_type()) { - case AST_Decl::NT_interface_fwd: - /* - * Resolve forward declared interface by looking at full_definition() - * field and iterating - */ - d = be_interface::narrow_from_decl ((be_interface_fwd::narrow_from_decl - (this))->full_definition ()); - /* - * Fall through - */ - case AST_Decl::NT_interface: - return be_interface::narrow_from_decl (d); - case AST_Decl::NT_module: - return be_module::narrow_from_decl (d); - case AST_Decl::NT_root: - return be_root::narrow_from_decl (d); - case AST_Decl::NT_except: - return be_exception::narrow_from_decl (d); - case AST_Decl::NT_union: - return be_union::narrow_from_decl (d); - case AST_Decl::NT_struct: - return be_structure::narrow_from_decl (d); - case AST_Decl::NT_enum: - return be_enum::narrow_from_decl (d); - case AST_Decl::NT_op: - return be_operation::narrow_from_decl (d); - case AST_Decl::NT_sequence: - return be_sequence::narrow_from_decl (d); - default: - return (be_scope *)0; - } -} - -// boolean methods to test if code was already generated -idl_bool -be_decl::cli_hdr_gen (void) -{ - return this->cli_hdr_gen_; -} - -idl_bool -be_decl::cli_stub_gen (void) -{ - return this->cli_stub_gen_; -} - -idl_bool -be_decl::cli_hdr_any_op_gen (void) -{ - return this->cli_hdr_any_op_gen_; -} - -idl_bool -be_decl::cli_stub_any_op_gen (void) -{ - return this->cli_stub_any_op_gen_; -} - -idl_bool -be_decl::cli_hdr_cdr_op_gen (void) -{ - return this->cli_hdr_cdr_op_gen_; -} - -idl_bool -be_decl::cli_stub_cdr_op_gen (void) -{ - return this->cli_stub_cdr_op_gen_; -} - -idl_bool -be_decl::cli_inline_cdr_op_gen (void) -{ - return this->cli_inline_cdr_op_gen_; -} - -idl_bool -be_decl::cli_inline_gen (void) -{ - return this->cli_inline_gen_; -} - -idl_bool -be_decl::srv_hdr_gen (void) -{ - return this->srv_hdr_gen_; -} - -idl_bool -be_decl::impl_hdr_gen (void) -{ - return this->impl_hdr_gen_; -} - -idl_bool -be_decl::srv_skel_gen (void) -{ - return this->srv_skel_gen_; -} - -idl_bool -be_decl::impl_skel_gen (void) -{ - return this->impl_skel_gen_; -} - -idl_bool -be_decl::srv_inline_gen (void) -{ - return this->srv_inline_gen_; -} - -// set the flag indicating that code generation is done -void -be_decl::cli_hdr_gen (idl_bool val) -{ - this->cli_hdr_gen_ = val; -} - -void -be_decl::cli_stub_gen (idl_bool val) -{ - this->cli_stub_gen_ = val; -} - -void -be_decl::cli_hdr_any_op_gen (idl_bool val) -{ - this->cli_hdr_any_op_gen_ = val; -} - -void -be_decl::cli_stub_any_op_gen (idl_bool val) -{ - this->cli_stub_any_op_gen_ = val; -} - -void -be_decl::cli_hdr_cdr_op_gen (idl_bool val) -{ - this->cli_hdr_cdr_op_gen_ = val; -} - -void -be_decl::cli_stub_cdr_op_gen (idl_bool val) -{ - this->cli_stub_cdr_op_gen_ = val; -} - -void -be_decl::cli_inline_cdr_op_gen (idl_bool val) -{ - this->cli_inline_cdr_op_gen_ = val; -} - -void -be_decl::cli_inline_gen (idl_bool val) -{ - this->cli_inline_gen_ = val; -} - -void -be_decl::srv_hdr_gen (idl_bool val) -{ - this->srv_hdr_gen_ = val; -} - -void -be_decl::impl_hdr_gen (idl_bool val) -{ - this->impl_hdr_gen_ = val; -} - - -void -be_decl::srv_skel_gen (idl_bool val) -{ - this->srv_skel_gen_ = val; -} - -void -be_decl::srv_inline_gen (idl_bool val) -{ - this->srv_inline_gen_ = val; -} - -int -be_decl::accept (be_visitor *visitor) -{ - return visitor->visit_decl (this); -} - -idl_bool -be_decl::is_child (be_decl *node) -{ - if (this->defined_in ()) - { - be_decl *bd; - - bd = be_scope::narrow_from_scope (this->defined_in ())->decl (); - if (!bd) - return 0; - - if (!ACE_OS::strcmp (bd->fullname (), node->fullname ())) - return 1; // true - } - return 0; // not a child -} - -// narrowing methods -IMPL_NARROW_METHODS1 (be_decl, AST_Decl) -IMPL_NARROW_FROM_DECL (be_decl) diff --git a/TAO/TAO_IDL/be/be_enum.cpp b/TAO/TAO_IDL/be/be_enum.cpp deleted file mode 100644 index b5de42eebde..00000000000 --- a/TAO/TAO_IDL/be/be_enum.cpp +++ /dev/null @@ -1,120 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_enum.cpp -// -// = DESCRIPTION -// Extension of class AST_Enum that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_enum, "$Id$") - -/* - * BE_Enum - */ -be_enum::be_enum (void) -{ - this->size_type (be_decl::FIXED); -} - -be_enum::be_enum (UTL_ScopedName *n, UTL_StrList *p) - : AST_Enum (n, p), - AST_Decl (AST_Decl::NT_enum, n, p), - UTL_Scope (AST_Decl::NT_enum), - member_count_ (-1) -{ - this->size_type (be_decl::FIXED); -} - -// compute total number of members -int -be_enum::compute_member_count (void) -{ - UTL_ScopeActiveIterator *si; // iterator - AST_Decl *d; // temp node - - this->member_count_ = 0; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - this->member_count_++; - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// return the member count -int -be_enum::member_count (void) -{ - if (this->member_count_ == -1) - this->compute_member_count (); - - return this->member_count_; -} - -// Convert a numeric value to the string name -UTL_ScopedName * -be_enum::value_to_name (const unsigned long v) -{ - UTL_ScopeActiveIterator *iter; - AST_EnumVal *item; - AST_Decl *i; - - iter = new UTL_ScopeActiveIterator (this, - IK_decls); - - while (!iter->is_done ()) - { - i = iter->item (); - item = AST_EnumVal::narrow_from_decl (i); - if (item->constant_value ()->ev ()->u.ulval == v) - { - delete iter; - return item->name (); - } - iter->next (); - } - delete iter; - return NULL; -} - -int -be_enum::accept (be_visitor *visitor) -{ - return visitor->visit_enum (this); -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_enum, AST_Enum, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_enum) -IMPL_NARROW_FROM_SCOPE (be_enum) diff --git a/TAO/TAO_IDL/be/be_enum_val.cpp b/TAO/TAO_IDL/be/be_enum_val.cpp deleted file mode 100644 index 83404d97343..00000000000 --- a/TAO/TAO_IDL/be/be_enum_val.cpp +++ /dev/null @@ -1,57 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_enum_val.cpp -// -// = DESCRIPTION -// Extension of class AST_EnumVal that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_enum_val, "$Id$") - -be_enum_val::be_enum_val (void) -{ -} - -be_enum_val::be_enum_val (unsigned long v, UTL_ScopedName *n, UTL_StrList *p) - : AST_Constant (AST_Expression::EV_ulong, - AST_Decl::NT_enum_val, - new AST_Expression(v), - n, - p), - AST_Decl (AST_Decl::NT_enum_val, n, p) -{ -} - -int -be_enum_val::accept (be_visitor *visitor) -{ - return visitor->visit_enum_val (this); -} - -int -be_enum_val::compute_size_type (void) -{ - this->size_type_ = be_decl::FIXED; - return 0; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_enum_val, AST_EnumVal, be_decl) -IMPL_NARROW_FROM_DECL (be_enum_val) diff --git a/TAO/TAO_IDL/be/be_exception.cpp b/TAO/TAO_IDL/be/be_exception.cpp deleted file mode 100644 index d39abd6b4e4..00000000000 --- a/TAO/TAO_IDL/be/be_exception.cpp +++ /dev/null @@ -1,146 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_exception.cpp -// -// = DESCRIPTION -// Extension of class AST_Exception that provides additional means for C++ -// mapping of an interface. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_exception, "$Id$") - -/* - * BE_Exception - */ -be_exception::be_exception (void) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -be_exception::be_exception (UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl (AST_Decl::NT_except, n, p), - AST_Structure (AST_Decl::NT_except, n, p), - UTL_Scope (AST_Decl::NT_except), - member_count_ (-1) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -// compute total number of members -int -be_exception::compute_member_count (void) -{ - UTL_ScopeActiveIterator *si; // iterator - - this->member_count_ = 0; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - // get the next AST decl node - this->member_count_++; - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// return the member count -int -be_exception::member_count (void) -{ - if (this->member_count_ == -1) - this->compute_member_count (); - - return this->member_count_; -} - -// Are we or the parameter node involved in any recursion -idl_bool -be_exception::in_recursion (be_type *node) -{ - if (!node) - { - // we are determining the recursive status for ourselves - node = this; - } - - // proceed if the number of members in our scope is greater than 0 - if (this->nmembers () > 0) - { - // initialize an iterator to iterate thru our scope - UTL_ScopeActiveIterator *si; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (this, - UTL_Scope::IK_decls), - -1); - // continue until each element is visited - while (!si->is_done ()) - { - be_field *field = be_field::narrow_from_decl (si->item ()); - if (!field) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_exception::") - ASYS_TEXT ("in_recursion - ") - ASYS_TEXT ("bad field node\n")), - 0); - } - be_type *type = be_type::narrow_from_decl (field->field_type ()); - if (!type) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_exception::") - ASYS_TEXT ("in_recursion - ") - ASYS_TEXT ("bad field type\n")), - 0); - } - if (type->in_recursion (node)) - { - delete si; - return 1; - } - si->next (); - } // end of while loop - delete si; - } // end of if - - // not in recursion - return 0; -} - -int -be_exception::accept (be_visitor *visitor) -{ - return visitor->visit_exception (this); -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_exception, AST_Exception, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_exception) -IMPL_NARROW_FROM_SCOPE (be_exception) diff --git a/TAO/TAO_IDL/be/be_expression.cpp b/TAO/TAO_IDL/be/be_expression.cpp deleted file mode 100644 index 6fd245c4940..00000000000 --- a/TAO/TAO_IDL/be/be_expression.cpp +++ /dev/null @@ -1,84 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_expression.cpp -// -// = DESCRIPTION -// Extension of class AST_Expression that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_expression, "$Id$") - -/* - * BE_Expression - */ - -// the constructors -be_expression::be_expression (UTL_ScopedName *n) - : AST_Expression (n) -{ -} - -be_expression::be_expression (AST_Expression *b, AST_Expression::ExprType t) - : AST_Expression (b, t) -{ -} - -be_expression::be_expression (AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2) - : AST_Expression (c, v1, v2) -{ -} - -be_expression::be_expression (long l) - : AST_Expression (l) -{ -} - -be_expression::be_expression (long l, AST_Expression::ExprType t) - : AST_Expression (l, t) -{ -} - -be_expression::be_expression (unsigned long l) - : AST_Expression (l) -{ -} - -be_expression::be_expression (UTL_String *s) - : AST_Expression (s) -{ -} - -be_expression::be_expression (char c) - : AST_Expression (c) -{ -} - -be_expression::be_expression (double d) - : AST_Expression (d) -{ -} - -int -be_expression::accept (be_visitor *visitor) -{ - return visitor->visit_expression (this); -} diff --git a/TAO/TAO_IDL/be/be_field.cpp b/TAO/TAO_IDL/be/be_field.cpp deleted file mode 100644 index 6b9a4d2e143..00000000000 --- a/TAO/TAO_IDL/be/be_field.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_field.cpp -// -// = DESCRIPTION -// Extension of class AST_Field that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_field, "$Id$") - -/* - * BE_Field - */ -be_field::be_field (void) -{ -} - -be_field::be_field (AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p, Visibility vis) - : AST_Field (ft, n, p, vis), - AST_Decl (AST_Decl::NT_field, n, p) -{ -} - -// compute the size type of the node in question -int -be_field::compute_size_type (void) -{ - be_type *type = be_type::narrow_from_decl (this->field_type ()); - if (!type) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_field::compute_size_type - " - "bad field type\n"), -1); - } - - // our size type is the same as our type - this->size_type (type->size_type ()); // as a side effect will also update - // the size type of parent - return 0; -} - -int -be_field::accept (be_visitor *visitor) -{ - return visitor->visit_field (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_field, AST_Field, be_decl) -IMPL_NARROW_FROM_DECL (be_field) diff --git a/TAO/TAO_IDL/be/be_generator.cpp b/TAO/TAO_IDL/be/be_generator.cpp deleted file mode 100644 index f8608757e53..00000000000 --- a/TAO/TAO_IDL/be/be_generator.cpp +++ /dev/null @@ -1,449 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// be_generator.cc -// -// Implementation of BE generator class -// -// This implements the same protocol as AST_Generator but creates instances -// of the BE-subclassed classes instead of of AST classes - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "ace/inc_user_config.h" - -ACE_RCSID(be, be_generator, "$Id$") - -/* - * Constructor - */ - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Inherited operations redefined here - */ - -/* - * Construct a be_root node (a node representing the root of an AST of BE nodes) - */ -AST_Root * -be_generator::create_root(UTL_ScopedName *n, - UTL_StrList *p) -{ - return new be_root(n, p); -} - -/* - * Create a BE_PredefinedType node - */ -AST_PredefinedType * -be_generator::create_predefined_type(AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_PredefinedType *) new be_predefined_type(t, n, p); -} - -/* - * Create a BE_Module node - */ -AST_Module * -be_generator::create_module(UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Module *) new be_module(n, p); -} - -/* - * Create a BE_Interface node - */ -AST_Interface * -be_generator::create_interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p) -{ - return (AST_Interface *) new be_interface(n, ih, nih, p); -} - -/* - * Create a BE_InterfaceFwd node - */ -AST_InterfaceFwd * -be_generator::create_interface_fwd(UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_InterfaceFwd *) new be_interface_fwd(this->create_interface (n, 0, -1, p), - n, p); -} - -/* - * Create a be_valuetype node - */ -AST_Interface * -be_generator::create_valuetype(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p) -{ -#ifdef IDL_HAS_VALUETYPE - return (AST_Interface *) new be_valuetype(n, ih, nih, p); -#else - ACE_ASSERT (0); - return 0; -#endif /* IDL_HAS_VALUETYPE */ -} - -/* - * Create a be_valuetype_fwd node - */ -AST_InterfaceFwd * -be_generator::create_valuetype_fwd(UTL_ScopedName *n, UTL_StrList *p) -{ -#ifdef IDL_HAS_VALUETYPE - return (AST_InterfaceFwd *) new be_valuetype_fwd(this->create_valuetype (n, 0, -1, p), - n, p); -#else - ACE_ASSERT (0); - return 0; -#endif /* IDL_HAS_VALUETYPE */ -} - -/* - * Create a BE_Exception node - */ -AST_Exception * -be_generator::create_exception(UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Exception *) new be_exception(n, p); -} - -/* - * Create a BE_Structure node - */ -AST_Structure * -be_generator::create_structure(UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Structure *) new be_structure(n, p); -} - -/* - * Create a BE_Enum node - */ -AST_Enum * -be_generator::create_enum(UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Enum *) new be_enum(n, p); -} - -/* - * Create a BE_Operation node - */ -AST_Operation * -be_generator::create_operation(AST_Type *rt, - AST_Operation::Flags fl, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Operation *) new be_operation(rt, fl, n, p); -} - -/* - * Create a BE_Field node - */ -AST_Field * -be_generator::create_field(AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p, - AST_Field::Visibility vis) -{ - return (AST_Field *) new be_field(ft, n, p, vis); -} - -/* - * Create a BE_Argument node - */ -AST_Argument * -be_generator::create_argument(AST_Argument::Direction d, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Argument *) new be_argument(d, ft, n, p); -} - -/* - * Create a BE_Attribute node - */ -AST_Attribute * -be_generator::create_attribute(idl_bool ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Attribute *) new be_attribute(ro, ft, n, p); -} - -/* - * Create a BE_Union node - */ -AST_Union * -be_generator::create_union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Union *) new be_union(dt, n, p); -} - -/* - * Create a BE_UnionBranch node - */ -AST_UnionBranch * -be_generator::create_union_branch(UTL_LabelList *ll, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_UnionBranch *) new be_union_branch(ll, ft, n, p); -} - -/* - * Create a BE_UnionLabel node - */ -AST_UnionLabel * -be_generator::create_union_label(AST_UnionLabel::UnionLabel ul, - AST_Expression *lv) -{ - return (AST_UnionLabel *) new be_union_label(ul, lv); -} - -/* - * Create a BE_Constant node - */ -AST_Constant * -be_generator::create_constant(AST_Expression::ExprType et, - AST_Expression *ev, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Constant *) new be_constant (et, ev, n, p); -} - -/* - * Create a symbolic BE_Expression node - */ -AST_Expression * -be_generator::create_expr(UTL_ScopedName *n) -{ - return (AST_Expression *) new be_expression (n); -} - -/* - * Create a BE_Expression node denoting a coercion - */ -AST_Expression * -be_generator::create_expr(AST_Expression *b, AST_Expression::ExprType t) -{ - return (AST_Expression *) new be_expression (b, t); -} - -/* - * Create a BE_Expression node combining two other AST_Expression nodes - */ -AST_Expression * -be_generator::create_expr(AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2) -{ - return (AST_Expression *) new be_expression (c, v1, v2); -} - -/* - * Create a BE_Expression node denoting a long integer - */ -AST_Expression * -be_generator::create_expr(long l) -{ - return (AST_Expression *) new be_expression (l); -} - -/* - * Create a BE_Expression node denoting a long integer being used as a boolean - */ -AST_Expression * -be_generator::create_expr(long l, AST_Expression::ExprType t) -{ - return (AST_Expression *) new be_expression (l, t); -} - -/* - * Create a BE_Expression node denoting an unsigned long integer - */ -AST_Expression * -be_generator::create_expr(unsigned long l) -{ - return (AST_Expression *) new be_expression(l); -} - -/* - * Create a BE_Expression node denoting a char * (encapsulated as a String) - */ -AST_Expression * -be_generator::create_expr (UTL_String *s) -{ - return (AST_Expression *) new be_expression (s); -} - -/* - * Create a BE_Expression node denoting a character - */ -AST_Expression * -be_generator::create_expr(char c) -{ - return (AST_Expression *) new be_expression (c); -} - -/* - * Create a BE_Expression node denoting a 64-bit floating point number - */ -AST_Expression * -be_generator::create_expr (double d) -{ - return (AST_Expression *) new be_expression (d); -} - -/* - * Create a BE_EnumVal node - */ -AST_EnumVal * -be_generator::create_enum_val(unsigned long v, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_EnumVal *) new be_enum_val(v, n, p); -} - -/* - * Create a BE_Array node - */ -AST_Array * -be_generator::create_array(UTL_ScopedName *n, - unsigned long ndims, - UTL_ExprList *dims) -{ - return (AST_Array *) new be_array(n, ndims, dims); -} - -/* - * Create a BE_Sequence node - */ -AST_Sequence * -be_generator::create_sequence(AST_Expression *v, AST_Type *bt) -{ - return (AST_Sequence *) new be_sequence(v, bt); -} - -/* - * Create a BE_String node - */ -AST_String * -be_generator::create_string(AST_Expression *v) -{ - return (AST_String *) new be_string(v); -} - -/* - * Create a BE_string node for a wide string - */ -AST_String * -be_generator::create_wstring(AST_Expression *v) -{ - return (AST_String *) new be_string(v, sizeof(ACE_OS::WChar)); -} - -/* - * Create a BE_Typedef node - */ -AST_Typedef * -be_generator::create_typedef(AST_Type *bt, UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Typedef *) new be_typedef(bt, n, p); -} - -/* - * Construct an AST_Native node - */ -AST_Native * -be_generator::create_native (UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Native *) new be_native (n, p); -} diff --git a/TAO/TAO_IDL/be/be_helper.cpp b/TAO/TAO_IDL/be/be_helper.cpp deleted file mode 100644 index 9483cac3d19..00000000000 --- a/TAO/TAO_IDL/be/be_helper.cpp +++ /dev/null @@ -1,389 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_helper.cpp -// -// = DESCRIPTION -// Provides helper classes to print generated code to the output -// -// = AUTHOR -// Aniruddha Gokhale -// -// Improvements by Carlos O'Ryan -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_helper, "$Id$") - -static const char copyright [] = -"/* -*- C++ -*- */\n\n" -"// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******\n" -"// TAO and the TAO IDL Compiler have been developed by the Center for\n" -"// Distributed Object Computing at Washington University, St. Louis.\n" -"//\n" -"// Information about TAO is available at:\n" -"// http://www.cs.wustl.edu/~schmidt/TAO.html\n"; - -TAO_NL::TAO_NL (void) -{ -} - -TAO_INDENT::TAO_INDENT (int do_now) - : do_now_ (do_now) -{ -} - -TAO_UNINDENT::TAO_UNINDENT (int do_now) - : do_now_ (do_now) -{ -} - -const TAO_NL be_nl; -const TAO_INDENT be_idt; -const TAO_INDENT be_idt_nl (1); -const TAO_UNINDENT be_uidt; -const TAO_UNINDENT be_uidt_nl (1); - -// methods of the TAO_OutStream class - -TAO_OutStream::TAO_OutStream (void) - : fp_ (NULL), - indent_level_ (0) -{ -} - -TAO_OutStream::~TAO_OutStream (void) -{ - // close the underlying I/O handle only if it exists - if (fp_) - { - ACE_OS::fclose (fp_); - fp_ = NULL; - } - indent_level_ = 0; -} - -int -TAO_OutStream::open (const char *fname, - TAO_OutStream::STREAM_TYPE st) -{ - if (fname) - { - // file name exists, open an I/O file handle - fp_ = ACE_OS::fopen (fname, "w"); - if (fp_) - { - this->st_ = st; - // put the copyright notice. Not for the gperf's temp input - // file. - if (st != TAO_OutStream::TAO_GPERF_INPUT) - { - ACE_OS::fprintf (fp_, "%s\n", copyright); - ACE_OS::fflush (fp_); - } - return 0; - } - else - return -1; - } - else - { - return -1; - } -} - -// set and get the stream type -void -TAO_OutStream::stream_type (TAO_OutStream::STREAM_TYPE st) -{ - this->st_ = st; -} - -TAO_OutStream::STREAM_TYPE -TAO_OutStream::stream_type (void) -{ - return this->st_; -} - -// Return the underlying lowlevel file pointer. -// indentation. -FILE * -TAO_OutStream::file (void) -{ - return this->fp_; -} - -int -TAO_OutStream::incr_indent (unsigned short flag) -{ - indent_level_++; - if (flag) - return this->indent (); - else - return 0; // do not indent output -} - -// indentation -int -TAO_OutStream::decr_indent (unsigned short flag) -{ - indent_level_--; - // Just in case somebody gets "unindent happy". - if (this->indent_level_ < 0) - { - // ACE_DEBUG ((LM_DEBUG, "negative indentation?\n")); - this->indent_level_ = 0; - } - if (flag) - return this->indent (); - else - return 0; // do not indent output -} - -int -TAO_OutStream::reset (void) -{ - indent_level_ = 0; - return 0; -} - -// indented print -int -TAO_OutStream::indent (void) -{ - int i; - // based on the current indentation level, leave appropriate number of blank - // spaces in the output - if (this->indent_level_ > 0) - { - for (i = 0; i < this->indent_level_; i++) - { - ACE_OS::fprintf (this->fp_, " "); - ACE_OS::fflush (this->fp_); - } - } - return 0; -} - -int -TAO_OutStream::nl (void) -{ - ACE_OS::fprintf (this->fp_, "\n"); - this->indent (); - return 0; -} - -// macro generation -int -TAO_OutStream::gen_ifdef_macro (const char *flatname, const char *suffix) -{ - static char macro [NAMEBUFSIZE]; - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ACE_OS::memset (macro, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (macro, "_%s_", cg->upcase (flatname)); - if (suffix) - { - //ACE_OS::sprintf (macro, "%s_%s_", macro, cg->upcase (suffix)); - // Can't have macro on both sides of sprintf - // I'm not sure if the first strcat of "_" should be here or - // not, but having it gives the same functionality as the old - // sprintf call... - ACE_OS::strcat (macro, "_"); - ACE_OS::strcat (macro, cg->upcase (suffix)); - ACE_OS::strcat (macro, "_"); - } - - // append a suffix representing the stream type - switch (this->st_) - { - case TAO_OutStream::TAO_CLI_HDR: - ACE_OS::strcat (macro, "CH_"); - break; - case TAO_OutStream::TAO_CLI_INL: - ACE_OS::strcat (macro, "CI_"); - break; - case TAO_OutStream::TAO_CLI_IMPL: - ACE_OS::strcat (macro, "CS_"); - break; - case TAO_OutStream::TAO_SVR_HDR: - ACE_OS::strcat (macro, "SH_"); - break; - case TAO_OutStream::TAO_IMPL_HDR: - ACE_OS::strcat (macro, "IH_"); - break; - case TAO_OutStream::TAO_IMPL_SKEL: - ACE_OS::strcat (macro, "IS_"); - break; - case TAO_OutStream::TAO_SVR_INL: - ACE_OS::strcat (macro, "SI_"); - break; - case TAO_OutStream::TAO_SVR_IMPL: - ACE_OS::strcat (macro, "SS_"); - break; - default: - return -1; - } - *this << "\n#if !defined (" << macro << ")\n"; - *this << "#define " << macro << "\n\n"; - return 0; -} - -int -TAO_OutStream::gen_endif (void) -{ - *this << "\n#endif /* end #if !defined */\n\n"; - return 0; -} - - -// ifdef generation -int -TAO_OutStream::gen_ifdef_AHETI (void) -{ - *this << "\n" - << "#if !defined (TAO_USE_SEQUENCE_TEMPLATES)" - << be_idt_nl; - return 0; -} - -int -TAO_OutStream::gen_else_AHETI (void) -{ - *this << "\n#else /* TAO_USE_SEQUENCE_TEMPLATES */" - << be_nl; - return 0; -} - -int -TAO_OutStream::gen_endif_AHETI (void) -{ - *this << be_uidt - << "\n#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ " - << be_nl; - return 0; -} - - -// printf style variable argument print -int -TAO_OutStream::print (const char *format, ...) -{ - int result = 0; - va_list ap; - va_start (ap, format); - ACE_OSCALL (::vfprintf (this->fp_, format, ap), int, -1, result); - ACE_OS::fflush (fp_); - va_end (ap); - return result; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const char *str) -{ - ACE_OS::fprintf (this->fp_, "%s", str); - ACE_OS::fflush (fp_); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const ACE_CDR::UShort num) -{ - ACE_OS::fprintf (this->fp_, "%hu", num); - ACE_OS::fflush (fp_); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const ACE_CDR::Short num) -{ - ACE_OS::fprintf (this->fp_, "%hd", num); - ACE_OS::fflush (fp_); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const ACE_CDR::ULong num) -{ - ACE_OS::fprintf (this->fp_, "%lu", num); - ACE_OS::fflush (fp_); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const ACE_CDR::Long num) -{ - ACE_OS::fprintf (this->fp_, "%ld", num); - ACE_OS::fflush (fp_); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const unsigned long num) -{ - ACE_OS::fprintf (this->fp_, "%lu", num); - ACE_OS::fflush (fp_); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const long num) -{ - ACE_OS::fprintf (this->fp_, "%ld", num); - ACE_OS::fflush (fp_); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const TAO_NL&) -{ - ACE_OS::fprintf (this->fp_ , "\n"); - this->indent (); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const TAO_INDENT& i) -{ - this->incr_indent (0); - if (i.do_now_) - this->nl (); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const TAO_UNINDENT& i) -{ - this->decr_indent (0); - if (i.do_now_) - this->nl (); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (Identifier *id) -{ - return this->print (id); -} - -TAO_OutStream & -TAO_OutStream::operator<< (UTL_IdList *id) -{ - return this->print (id); -} - -TAO_OutStream & -TAO_OutStream::operator<< (AST_Expression *expr) -{ - return this->print (expr); -} diff --git a/TAO/TAO_IDL/be/be_init.cpp b/TAO/TAO_IDL/be/be_init.cpp deleted file mode 100644 index 1c81b64f288..00000000000 --- a/TAO/TAO_IDL/be/be_init.cpp +++ /dev/null @@ -1,105 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// BE_init.cc - Initialization for dummy BE - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" -#include "../../tao/Version.h" - -ACE_RCSID(be, be_init, "$Id$") - -/* - * Initialize the BE. The protocol requires only that this routine - * return an instance of AST_Generator (or a subclass thereof). - * - * Remember that none of the FE initialization has been done, when you - * add stuff here. - */ -AST_Generator * -BE_init() -{ - tao_cg = TAO_CODEGEN::instance (); - AST_Generator *g = new be_generator(); - - if (g == NULL) { - cerr << GTDEVEL("IDL: BE init failed to create generator, exiting\n"); - ACE_OS::exit (99); - } - return g; -} - -/* - * Print out a version string for the BE - */ -void -BE_version() -{ - cerr << GTDEVEL("TAO C++ BE, version ") - << GTDEVEL(TAO_VERSION) - << endl; -} diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp deleted file mode 100644 index 3636414d0cd..00000000000 --- a/TAO/TAO_IDL/be/be_interface.cpp +++ /dev/null @@ -1,2231 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_interface.cpp -// -// = DESCRIPTION -// Extension of class AST_Interface that provides additional means for C++ -// mapping of an interface. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be_visitor_interface.h" -#include "be.h" - -ACE_RCSID(be, be_interface, "$Id$") - -/* - * BE_Interface - */ - -// default constructor -be_interface::be_interface (void) - : full_skel_name_ (0), - ami_handler_full_skel_name_ (0), - skel_count_ (0), - full_coll_name_ (0), - cached_coll_name_type_ (-1), - ami_handler_full_coll_name_ (0), - local_coll_name_ (0), - ami_handler_local_coll_name_ (0), - ami_handler_local_name_ (0), - in_mult_inheritance_ (-1) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -// constructor used to build the AST -be_interface::be_interface (UTL_ScopedName *n, AST_Interface **ih, long nih, - UTL_StrList *p) - : AST_Interface (n, ih, nih, p), - AST_Decl (AST_Decl::NT_interface, n, p), - UTL_Scope (AST_Decl::NT_interface), - full_skel_name_ (0), - ami_handler_full_skel_name_ (0), - skel_count_ (0), - full_coll_name_ (0), - ami_handler_full_coll_name_ (0), - local_coll_name_ (0), - ami_handler_local_coll_name_ (0), - ami_handler_local_name_ (0), - in_mult_inheritance_ (-1) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -be_interface::~be_interface (void) -{ - if (this->full_skel_name_ != 0) - { - delete[] this->full_skel_name_; - this->full_skel_name_ = 0; - } - if (this->ami_handler_full_skel_name_ != 0) - { - delete[] this->ami_handler_full_skel_name_; - this->ami_handler_full_skel_name_ = 0; - } - if (this->full_coll_name_ != 0) - { - delete[] this->full_coll_name_; - this->full_coll_name_ = 0; - } - if (this->ami_handler_full_coll_name_ != 0) - { - delete[] this->ami_handler_full_coll_name_; - this->ami_handler_full_coll_name_ = 0; - } - if (this->local_coll_name_ != 0) - { - delete[] this->local_coll_name_; - this->local_coll_name_ = 0; - } - if (this->ami_handler_local_coll_name_ != 0) - { - delete[] this->ami_handler_local_coll_name_; - this->ami_handler_local_coll_name_ = 0; - } - if (this->ami_handler_local_name_ != 0) - { - delete[] this->ami_handler_local_name_; - this->ami_handler_local_name_ = 0; - } -} - -// compute stringified fully qualified collocated class name. -void -be_interface::compute_coll_name (int type) -{ - if (type == this->cached_coll_name_type_ && this->full_coll_name_ != 0) - return; - else - { - this->cached_coll_name_type_ = type; - delete this->full_coll_name_; - delete this->local_coll_name_; - } - - static const char *collocated_names[] = { "_tao_thru_poa_collocated_", - "_tao_direct_collocated_" }; - const char poa[] = "POA_"; - // Reserve enough room for the "POA_" prefix, the "_tao_collocated_" - // prefix and the local name and the (optional) "::" - const char *collocated = collocated_names[type]; - - int namelen = ACE_OS::strlen (collocated) + sizeof (poa) + 1; - - UTL_IdListActiveIterator *i; - ACE_NEW (i, UTL_IdListActiveIterator (this->name ())); - while (!i->is_done ()) - { - // reserve 2 characters for "::". - namelen += ACE_OS::strlen (i->item ()->get_string ()) + 2; - i->next (); - } - delete i; - - ACE_NEW (this->full_coll_name_, - char[namelen+1]); - this->full_coll_name_[0] = 0; // null terminate the string... - - // Iterate again.... - ACE_NEW (i, UTL_IdListActiveIterator (this->name ())); - - // Only the first component get the "POA_" preffix. - int poa_added = 0; - while (!i->is_done ()) - { - const char* item = i->item ()->get_string (); - - // Increase right away, so we can test for the final component - // in the loop. - i->next (); - - // We add the POA_ preffix only if the first component is not - // the global scope... - if (ACE_OS::strcmp (item, "") != 0) - { - if (!i->is_done ()) - { - // We only add the POA_ preffix if there are more than - // two components in the name, in other words, if the - // class is inside some scope. - if (!poa_added) - { - ACE_OS::strcat (this->full_coll_name_, poa); - poa_added = 1; - } - ACE_OS::strcat (this->full_coll_name_, item); - ACE_OS::strcat (this->full_coll_name_, "::"); - } - else - { - ACE_OS::strcat (this->full_coll_name_, collocated); - ACE_OS::strcat (this->full_coll_name_, item); - } - } - } - delete i; - - // Compute the local name for the collocated class. - int localen = ACE_OS::strlen (collocated) + 1; - localen += ACE_OS::strlen (this->local_name ()->get_string ()); - ACE_NEW (this->local_coll_name_, char[localen]); - ACE_OS::strcpy(this->local_coll_name_, collocated); - ACE_OS::strcat(this->local_coll_name_, - this->local_name ()->get_string ()); -} - -const char * -be_interface::full_coll_name (int type) -{ - this->compute_coll_name (type); - - return this->full_coll_name_; -} - -const char* -be_interface::local_coll_name (int type) const -{ - ACE_const_cast (be_interface*, this)->compute_coll_name (type); - - return this->local_coll_name_; -} - - -const char* -be_interface::ami_handler_full_coll_name (void) -{ - if (this->ami_handler_full_coll_name_ == 0) - { - // @@ Michael: We need to check this one. I am just passing 1 - // for the time being. (Alex). - compute_ami_handler_name (this->full_coll_name(1), - this->ami_handler_full_coll_name_); - } - - return this->ami_handler_full_coll_name_; -} - -const char* -be_interface::ami_handler_local_coll_name (void) -{ - if (this->ami_handler_local_coll_name_ == 0) - { - // @@ Michael: We need to check this one. I am just passing 1 - // for the time being. (Alex). - compute_ami_handler_name (this->local_coll_name(1), - this->ami_handler_local_coll_name_); - } - - return this->ami_handler_local_coll_name_; -} - -const char* -be_interface::ami_handler_local_name (void) -{ - if (this->ami_handler_local_name_ == 0) - compute_ami_handler_name (this->local_name()->get_string (), - this->ami_handler_local_name_); - - return this->ami_handler_local_name_; -} - -// Generate collocated local and full names for the arbitrary local -// name under the scope of this interface. Usefull to generate AMI -// Handlers. -int -be_interface::compute_coll_names (const char *local_name, - char *&coll_local_name, - char *&coll_full_name) - -{ - const char collocated[] = "_tao_collocated_"; - const char poa[] = "POA_"; - - // Reserve enough room for the "POA_" prefix, the "_tao_collocated_" - // prefix and the local name and the (optional) "::" - int namelen = sizeof (collocated) + sizeof (poa); - - UTL_IdListActiveIterator *i; - ACE_NEW_RETURN (i, UTL_IdListActiveIterator (this->name ()), -1); - while (!i->is_done ()) - { - // reserve 2 characters for "::". - namelen += ACE_OS::strlen (i->item ()->get_string ()) + 2; - i->next (); - } - delete i; - - ACE_NEW_RETURN (coll_full_name, - char[namelen+1], - -1); - coll_full_name[0] = 0; // null terminate the string... - - // Iterate again.... - ACE_NEW_RETURN (i, UTL_IdListActiveIterator (this->name ()), -1); - - // Only the first component get the "POA_" preffix. - int poa_added = 0; - while (!i->is_done ()) - { - const char* item = i->item ()->get_string (); - - // Increase right away, so we can test for the final component - // in the loop. - i->next (); - - // We add the POA_ preffix only if the first component is not - // the global scope... - if (ACE_OS::strcmp (item, "") != 0) - { - if (!i->is_done ()) - { - // We only add the POA_ preffix if there are more than - // two components in the name, in other words, if the - // class is inside some scope. - if (!poa_added) - { - ACE_OS::strcat (coll_full_name, poa); - poa_added = 1; - } - ACE_OS::strcat (coll_full_name, item); - ACE_OS::strcat (coll_full_name, "::"); - } - else - { - ACE_OS::strcat (coll_full_name, collocated); - ACE_OS::strcat (coll_full_name, item); - } - } - } - delete i; - - // Compute the local name for the collocated class. - int localen = sizeof (collocated); - localen += ACE_OS::strlen (local_name); - ACE_NEW_RETURN (coll_local_name, char[localen], -1); - ACE_OS::strcpy(coll_local_name, collocated); - ACE_OS::strcat(coll_local_name, - local_name); - - return 0; -} - -// compute stringified fully scoped skel name -void -be_interface::compute_fullskelname (void) -{ - this->compute_fullskelname (this->full_skel_name_, "POA_"); -} - -void -be_interface::compute_fullskelname (char *&skelname, const char *prefix) -{ - if (skelname) - return; - else - { - long namelen; - UTL_IdListActiveIterator *i; - long first = I_TRUE; - long second = I_FALSE; - - // in the first loop compute the total length - namelen = ACE_OS::strlen (prefix); - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - namelen += 2; // for "::" - else if (second) - first = second = I_FALSE; - // print the identifier - namelen += ACE_OS::strlen (i->item ()->get_string ()); // - // additional 4 for the POA_ characters - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - - skelname = new char [namelen+1]; - skelname[0] = '\0'; - first = I_TRUE; - second = I_FALSE; - ACE_OS::strcat (skelname, prefix); - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - ACE_OS::strcat (skelname, "::"); - else if (second) - first = second = I_FALSE; - // print the identifier - ACE_OS::strcat (skelname, i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - } - return; -} - -// retrieve the fully scoped skeleton name -const char* -be_interface::full_skel_name (void) -{ - if (!this->full_skel_name_) - compute_fullskelname (); - - return this->full_skel_name_; -} - -const char* -be_interface::ami_handler_full_skel_name (void) -{ - if (this->ami_handler_full_skel_name_ == 0) - compute_ami_handler_name (this->full_skel_name(), - this->ami_handler_full_skel_name_); - - return this->ami_handler_full_skel_name_; -} - - -// Am I in some kind of a multiple inheritance -int be_interface::in_mult_inheritance (void) -{ - if (this->in_mult_inheritance_ == -1) - { - // compute once for all - // determine if we are in some form of a multiple inheritance - if (this->traverse_inheritance_graph - (be_interface::in_mult_inheritance_helper, 0) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_interface::in_mult_inheritance " - "error determining mult inheritance\n"), - -1); - } - } - - return this->in_mult_inheritance_; -} - -void be_interface::in_mult_inheritance (int mi) -{ - if (this->in_mult_inheritance_ == -1) - this->in_mult_inheritance_ = mi; -} - -//gen copy constructors -void -be_interface::gen_copy_ctors (TAO_OutStream* os) -{ - this->traverse_inheritance_graph(be_interface::gen_copy_ctors_helper,os); - return; -} - -int -be_interface::gen_copy_ctors_helper (be_interface* node, be_interface* base, TAO_OutStream *os) -{ - static int first = 0; - if(node != base) - { - if(first) - { - *os << idl_global->impl_class_prefix () << base->flatname () << idl_global->impl_class_suffix () << " (t)" - << ", " << base->full_skel_name () << " (t)"; - first = 0; - } - else - { - *os << ", " << idl_global->impl_class_prefix () << base->flatname () << idl_global->impl_class_suffix () << " (t)" - << ", " << base->full_skel_name () << " (t)"; ; - - } - } - else - { - *os << ":"; - first = 1; - } - - return 1; - -} - -//generate default constructors -void -be_interface::gen_def_ctors (TAO_OutStream* os) -{ - this->traverse_inheritance_graph(be_interface::gen_def_ctors_helper,os); - return; -} - - -int -be_interface::gen_def_ctors_helper (be_interface* node, be_interface* base, TAO_OutStream *os) -{ - - static int first = 0; - if(node != base) - { - if(first) - { - *os << idl_global->impl_class_prefix () << base->flatname () << idl_global->impl_class_suffix () << " ()"; - first = 0; - } - else - { - *os << ", " << idl_global->impl_class_prefix () << base->flatname () << idl_global->impl_class_suffix () << " ()"; - - } - } - else - { - *os << ":"; - first = 1; - } - - return 1; - -} - - -// generate the var definition. If is not 0, generate -// the var defn for that name. Otherwise, do it for the interface you -// are visiting (this). -int -be_interface::gen_var_defn (char* interface_name) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - // Decide which name to use. - if (interface_name == 0) - interface_name = this->local_name ()->get_string (); - - // Buffer with name of the var class. - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, - "%s_var", - interface_name); - - // Retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - *ch << namebuf << " (" << interface_name << "_ptr);" << nl; - - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << interface_name << "_ptr);" << nl; - - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << - " &);" << nl; - - // arrow operator - *ch << interface_name << "_ptr operator-> (void) const;" << nl; - - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - *ch << "operator const " << interface_name << "_ptr &() const;" << nl; - *ch << "operator " << interface_name << "_ptr &();" << nl; - - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - *ch << interface_name << "_ptr in (void) const;" << nl; - *ch << interface_name << "_ptr &inout (void);" << nl; - *ch << interface_name << "_ptr &out (void);" << nl; - *ch << interface_name << "_ptr _retn (void);" << nl; - - // generate an additional member function that returns the underlying pointer - *ch << interface_name << "_ptr ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // private - *ch << "private:\n"; - ch->incr_indent (); - *ch << interface_name << "_ptr ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the -// inline file. -// If the argument is 0, then use the name in , otherwise use -// the name given. Just making the class more useful. -int -be_interface::gen_var_impl (char *interface_local_name, - char *interface_full_name) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - // Decide on the names to use. - // Even if one argument is 0, there is no point using the - // arguments. Let us then use the name in this node. - if (interface_local_name == 0 || interface_full_name == 0) - { - interface_local_name = local_name ()->get_string (); - interface_full_name = (char *) this->fullname (); - } - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", interface_full_name); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", interface_local_name); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we - // account for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << " " << ": ptr_ (" << interface_full_name << "::_nil ())" << nl; - *ci << "{}\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << interface_full_name << "_ptr p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // the additional ptr () member function. This member function must be - // defined before the remaining member functions including the copy - // constructor because this inline function is used elsewhere. Hence to make - // inlining of this function possible, we must define it before its use. - ci->indent (); - *ci << "ACE_INLINE " << interface_full_name << "_ptr " << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (" << interface_full_name << "::_duplicate (p.ptr ()))" << nl; - *ci << "{}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << interface_full_name << - "_ptr p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << interface_full_name << "::_duplicate (p.ptr ());\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << interface_full_name << - "_ptr &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << interface_full_name << "_ptr &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << interface_full_name << "_ptr " << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE " << interface_full_name << "_ptr" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << interface_full_name << "_ptr &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << interface_full_name << "_ptr &" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << interface_full_name << "::_nil ();" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << interface_full_name << "_ptr " << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// yield ownership of managed obj reference" << nl; - *ci << interface_full_name << "_ptr val = this->ptr_;" << nl; - *ci << "this->ptr_ = " << interface_full_name << "::_nil ();" << nl; - *ci << "return val;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// Generate the out definition. If is not 0, generate -// the out defn for that name. Otherwise, do it for the interface you -// are visiting (this). -int -be_interface::gen_out_defn (char *interface_name) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - // Decide which name to use. - if (interface_name == 0) - interface_name = this->local_name ()->get_string (); - - // Create the buffer with the name of the out class. - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, - "%s_out", - interface_name); - - // Retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << interface_name << "_ptr &);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << interface_name << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (const " << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // only interface allows assignment from var & - *ch << namebuf << " &operator= (const " << interface_name << "_var &);" << nl; - *ch << namebuf << " &operator= (" << interface_name << "_ptr);" << nl; - // cast - *ch << "operator " << interface_name << "_ptr &();" << nl; - // ptr fn - *ch << interface_name << "_ptr &ptr (void);" << nl; - // operator -> - *ch << interface_name << "_ptr operator-> (void);" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << interface_name << "_ptr &ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - return 0; -} - - -// Generate the out class definition. If is not 0, -// generate the out defn for that name. Otherwise, do it for the -// interface you are visiting (this). -int -be_interface::gen_out_impl (char *interface_local_name, - char *interface_full_name) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - // Even if one argument is 0, there is no point using the - // arguments. Let us then use the name in this node. - if (interface_local_name == 0 || interface_full_name == 0) - { - interface_local_name = local_name ()->get_string (); - interface_full_name = (char *) this->fullname (); - } - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", interface_full_name); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", interface_local_name); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << interface_full_name << "_ptr &p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << interface_full_name << "::_nil ();\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << interface_full_name << - "_var &p) // constructor from _var" << nl; - *ci << " : ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << interface_full_name << "::_nil ();\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (ACE_const_cast (" << fname << "&,p).ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = ACE_const_cast (" << fname << "&,p).ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << interface_full_name << - "_var &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << interface_full_name << "::_duplicate (p.ptr ());" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _ptr - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << interface_full_name << - "_ptr p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << interface_full_name << - "_ptr &() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << interface_full_name << "_ptr &" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << interface_full_name << "_ptr " << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// helper. -int -be_interface::gen_operation_table (void) -{ - TAO_OutStream *ss; // output stream. - TAO_NL nl; // end line. - - // Retrieve the singleton instance of the CodeGen. - TAO_CodeGen *cg = 0; - cg = TAO_CODEGEN::instance (); - - // Check out the op_lookup_strategy. - switch (cg->lookup_strategy ()) - { - case TAO_CodeGen::TAO_DYNAMIC_HASH: - // Init the outstream appropriately. - ss = cg->server_skeletons (); - - // start from current indentation level. - ss->indent (); - - // Start the table generation. - *ss << "static const TAO_operation_db_entry " << this->flatname () << - "_operations [] = {\n"; - ss->incr_indent (0); - - // Traverse the graph. - if (this->traverse_inheritance_graph (be_interface::gen_optable_helper, ss) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::gen_operation_table - " - "inheritance graph traversal failed\n"), -1); - } - - // generate the skeleton for the is_a method. - ss->indent (); - *ss << "{\"_is_a\", &" << this->full_skel_name () << "::_is_a_skel},\n"; - this->skel_count_++; - - ss->indent (); - *ss << "{\"_non_existent\", &" << this->full_skel_name () << "::_non_existent_skel}\n"; - this->skel_count_++; - - ss->decr_indent (); - *ss << "};" << nl << nl; - - // XXXASG - this code should be based on using different strategies for - // demux - for next release - *ss << "static const CORBA::Long _tao_" << this->flatname () - << "_optable_size = sizeof (ACE_Hash_Map_Entry) * (" << (3*this->skel_count_) - << ");" << be_nl; - *ss << "static char _tao_" << this->flatname () << "_optable_pool " - << "[_tao_" << this->flatname () << "_optable_size];" << be_nl; - *ss << "static ACE_Static_Allocator_Base _tao_" << this->flatname () - << "_allocator (_tao_" << this->flatname () << "_optable_pool, " - << "_tao_" << this->flatname () << "_optable_size);" << be_nl; - *ss << "static TAO_Dynamic_Hash_OpTable tao_" - << this->flatname () << "_optable " << "(" << be_idt << be_idt_nl - << this->flatname () << "_operations," << be_nl - << this->skel_count_ << "," << be_nl - << 2*this->skel_count_ << "," << be_nl - << "&_tao_" << this->flatname () << "_allocator" << be_uidt_nl - << ");" << be_uidt_nl; - - break; - - case TAO_CodeGen::TAO_LINEAR_SEARCH: - // For generating linear search also, we are calling GPERF - // only. - case TAO_CodeGen::TAO_BINARY_SEARCH: - // For generating binary search also, we are calling GPERF - // only. - case TAO_CodeGen::TAO_PERFECT_HASH: - // For each interface in the IDL, have a new temp file to - // collect the input for the gperf program. - { - // Temp file name. - char *temp_file = 0; - ACE_NEW_RETURN (temp_file, - char [ACE_OS::strlen (idl_global->temp_dir ()) + - ACE_OS::strlen (this->flatname ()) + - ACE_OS::strlen (".gperf") + 1], - -1); - ACE_OS::sprintf (temp_file, - "%s%s.gperf", - idl_global->temp_dir (), - this->flatname ()); - - // Save this file name with the codegen singleton. - cg->gperf_input_filename (temp_file); - - // Make a new outstream to hold the gperf_temp_file for this - // interface. - - // Retrieve the singleton instance to the outstream factory. - TAO_OutStream_Factory *factory = - TAO_OUTSTREAM_FACTORY::instance (); - - // Get a new instance for the temp file. - ss = factory->make_outstream (); - if (ss == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss", - "::", - "visit_interface-", - "make_outstream failed\n"), - -1); - - // Store the outstream with the codegen singleton. - cg->gperf_input_stream (ss); - - // Open the temp file. - if (ss->open (temp_file, - TAO_OutStream::TAO_GPERF_INPUT) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss", - "::", - "visit_interface-", - "gperf_input.tmp file open failed\n"), - -1); - - // Add the gperf input header. - this->gen_gperf_input_header (ss); - - // Traverse the graph. - if (this->traverse_inheritance_graph (be_interface::gen_optable_helper, ss) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::gen_operation_table - " - "inheritance graph traversal failed\n"), - -1); - - // Generate the skeleton for the is_a method. - ss->indent (); - *ss << "_is_a" << ", &" - << this->full_skel_name () - << "::_is_a_skel\n"; - this->skel_count_++; - - ss->indent (); - *ss << "_non_existent, &" - << this->full_skel_name () - << "::_non_existent_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. - this->gen_gperf_things (); - } - break; - - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_interface", - "::", - "gen_operation_table", - "unknown op_lookup_strategy\n"), - -1); - } - return 0; -} - -// Output the header (type declaration and %%) to the gperf's input -// file. -void -be_interface::gen_gperf_input_header (TAO_OutStream *ss) -{ - *ss << "class TAO_operation_db_entry {\n" - << "public:\n" - << "\tchar *opname_;" << "\n" - << "\tTAO_Skeleton skel_ptr_;" << "\n" - << "};" << "\n" - << "%%" - << "\n"; -} - -// we separate the generation of operation table entries from the -// "gen_operation_table" method. This enables us to invoke generation of -// entries for interfaces from which we inherit without any additional -// code. The parameter "derived" is the one for which the entire operation -// table is being built. -int -be_interface::gen_optable_entries (be_interface *derived) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - TAO_OutStream *ss; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - switch (cg->lookup_strategy ()) - { - case TAO_CodeGen::TAO_DYNAMIC_HASH: - // Init the outstream. - ss = cg->server_skeletons (); - - // The major stuff. - if (this->nmembers () > 0) - { - // if there are elements in this scope i.e., any operations and - // attributes defined by "this" which happens to be the same as "derived" - // or one of its ancestors. - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (d->node_type () == AST_Decl::NT_op) - { - // Start from current indentation level - ss->indent (); - - // we are an operation node - *ss << "{\"" << d->original_local_name () << "\", &" - << derived->full_skel_name () << "::" - << d->local_name () << "_skel},\n"; - - derived->skel_count_++; - } - else if (d->node_type () == AST_Decl::NT_attr) - { - AST_Attribute *attr; - - // Start from current indentation level. - ss->indent (); - - // Generate only the "get" entry if we are - // readonly. - *ss << "{\"_get_" << d->original_local_name () - << "\", &" << derived->full_skel_name () - << "::_get_" << d->local_name () << "_skel},\n"; - - derived->skel_count_++; - - attr = AST_Attribute::narrow_from_decl (d); - if (!attr) - return -1; - - if (!attr->readonly ()) - { - // the set method - ss->indent (); // start from current indentation level - *ss << "{\"_set_" << d->original_local_name () - << "\", &" << derived->full_skel_name () - << "::_set_" << d->local_name () << "_skel},\n"; - derived->skel_count_++; - } - } - si->next (); - } // end of while - delete si; // free the iterator object - } - break; - - case TAO_CodeGen::TAO_LINEAR_SEARCH: - case TAO_CodeGen::TAO_BINARY_SEARCH: - case TAO_CodeGen::TAO_PERFECT_HASH: - // We call GPERF for all these three strategies. - // Init the outstream. - ss = cg->gperf_input_stream (); - - if (this->nmembers () > 0) - { - // if there are elements in this scope i.e., any operations and - // attributes defined by "this" which happens to be the same as "derived" - // or one of its ancestors. - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // Get the next AST decl node. - d = si->item (); - - if (d->node_type () == AST_Decl::NT_op) - { - // - // Generate operation name. - // - - // Start from current indentation level - ss->indent (); - - // We are an operation node. We use the original - // operation name, not the one with _cxx_ in it. - *ss << d->original_local_name () << ",\t&" - << derived->full_skel_name () << "::" - << d->local_name () << "_skel" << "\n"; - - derived->skel_count_++; - } - else if (d->node_type () == AST_Decl::NT_attr) - { - AST_Attribute *attr; - - // Start from current indentation level - ss->indent (); - - // Generate only the "get" entry if we are readonly - *ss << "_get_" << d->original_local_name () << ",\t&" - << derived->full_skel_name () << "::_get_" - << d->local_name () << "_skel\n"; - derived->skel_count_++; - - attr = AST_Attribute::narrow_from_decl (d); - if (!attr) - return -1; - - if (!attr->readonly ()) - { - // the set method - ss->indent (); // start from current indentation level - *ss << "_set_" << d->original_local_name () << ",\t&" - << derived->full_skel_name () << "::_set_" - << d->local_name () << "_skel\n"; - derived->skel_count_++; - } - } - si->next (); - } // end of while - delete si; // free the iterator object - } - break; - - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_interface", - "::", - "gen_optable_entries", - "unknown op_lookup_strategy\n"), - -1); - } - return 0; -} - -// template method that traverses the inheritance graph in a breadth-first -// style. The actual work on each element in the inheritance graph is carried -// out by the function passed as argument -int -be_interface::traverse_inheritance_graph (be_interface::tao_code_emitter gen, - TAO_OutStream *os) -{ - long i; // loop index - ACE_Unbounded_Queue queue; // Queue data structure needed for - // breadth-first traversal of - // inheritance tree - - // For a special case of a deeply nested inheritance graph and one specific - // way of inheritance in which a node that was already visited, but is not present in - // the queue, gets inserted at the tail. This situation arises when a node - // multiply inherits from two or more interfaces in which the first parent is - // higher up in the tree than the second parent. In addition, if the second - // parent turns out to be a child of the first . - - ACE_Unbounded_Queue del_queue; // queue of dequeued nodes to - // be searched for the above case - - // insert ourselves in the Queue - if (queue.enqueue_tail (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, "(%N:%l) be_interface::traverse_inheritance_graph - " - "error generating entries\n"), -1); - } - - // do until queue is empty - while (!queue.is_empty ()) - { - be_interface *bi; // element inside the queue - - // use breadth-first strategy i.e., first generate entries for ourselves, - // followed by nodes that we immediately inherit from, and so on. In the - // process make sure that we do not generate code for the same node more - // than once. Such a case may arise due to multiple inheritance forming a - // diamond like inheritance graph. - - // dequeue the element at the head of the queue - if (queue.dequeue_head (bi)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::traverse_graph - " - "dequeue_head failed\n"), -1); - } - - // insert the dequeued element in the del_queue - if (del_queue.enqueue_tail (bi) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::traverse_graph - " - "enqueue_head failed\n"), -1); - } - - // use the helper method to generate code for ourself using the - // properties of the element dequeued. For the first iteration, the - // element dequeued and "this" will be the same i.e., ourselves - if (gen (this, bi, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::traverse_graph - " - "helper code gen failed\n"), -1); - } - - // now check if the dequeued element has any ancestors. If yes, insert - // them inside the queue making sure that there are no duplicates - for (i=0; i < bi->n_inherits (); i++) - { - be_interface *parent; // parent of the dequeued element - - // initialize an iterator to search the queue for duplicates - ACE_Unbounded_Queue_Iterator q_iter (queue); - - // retrieve the next parent from which the dequeued element inherits - parent = be_interface::narrow_from_decl (bi->inherits ()[i]); - if (!parent) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::gen_server_skeletons - " - "bad inherited interface\n"), -1); - } - - // now insert this node at the tail of the queue, but make sure that - // it doesn't already exist in the queue - int found = 0; - while (!q_iter.done ()) - { - be_interface **temp; // queue element - - (void) q_iter.next (temp); - if (!ACE_OS::strcmp (parent->fullname (), (*temp)->fullname ())) - { - // we exist in this queue and cannot be inserted - found = 1; - } - if (found) - break; - (void) q_iter.advance (); - } // end of while - - // initialize an iterator to search the del_queue for duplicates - ACE_Unbounded_Queue_Iterator del_q_iter (del_queue); - - while (!found && !del_q_iter.done ()) - { - be_interface **temp; // queue element - - (void) del_q_iter.next (temp); - if (!ACE_OS::strcmp (parent->fullname (), (*temp)->fullname ())) - { - // we exist in this del_queue and cannot be inserted - found = 1; - } - if (found) - break; - (void) del_q_iter.advance (); - } // end of while - - if (!found) - { - // insert the parent in the queue - if (queue.enqueue_tail (parent) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::gen_server_skeletons - " - "enqueue op failed\n"), -1); - } - } - } // end of for loop - } // end of while queue not empty - return 0; -} - -// helpers passed to the template method - -int -be_interface::gen_optable_helper (be_interface *derived, - be_interface *ancestor, - TAO_OutStream * /*os*/) -{ - // generate entries for the derived class using the properties of its - // ancestors - if (ancestor->gen_optable_entries (derived) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::gen_operation_table - " - "error generating entries for inherited" - "interfaces\n"), -1); - } - return 0; -} - -// Run GPERF and get the correct lookup and other operations -// depending on which strategy we are using. Returns 0 on sucess, -1 -// on error. -int -be_interface::gen_gperf_things (void) -{ - // GPERF can give Binary search, Linear search and Perfect Hash - // methods. Generate the class defintion according to that. - - // Codegen singleton. - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Generate the correct class definition for the operation lookup - // strategy. Then, get the lookup method from GPERF. And then, - // instantiate the correct class for the operation lookup strategy - // we are following. - switch (cg->lookup_strategy ()) - { - case TAO_CodeGen::TAO_PERFECT_HASH: - // Output a class definition deriving from - // TAO_Perfect_Hash_OpTable. - gen_perfect_hash_class_definition (); - - // Call GPERF and get the methods defined. - if (gen_gperf_lookup_methods () == -1) - return -1; - - // Create an instance of the correct class corresponding the - // operation lookup strategy we are following. - gen_perfect_hash_instance (); - - break; - - case TAO_CodeGen::TAO_BINARY_SEARCH: - // Output a class definition deriving from - // TAO_Binary_Search_OpTable. - this->gen_binary_search_class_definition (); - - // Call GPERF and get the methods defined. - if (gen_gperf_lookup_methods () == -1) - return -1; - - // Create an instance of the correct class corresponding the - // operation lookup strategy we are following. - gen_binary_search_instance (); - - break; - - case TAO_CodeGen::TAO_LINEAR_SEARCH: - // Output a class definition deriving from - // TAO_Linear_Search_OpTable. - gen_linear_search_class_definition (); - - // Call GPERF and get the methods defined. - if (gen_gperf_lookup_methods () == -1) - return -1; - - // Create an instance of the correct class corresponding the - // operation lookup strategy we are following. - gen_linear_search_instance (); - - break; - - default: - ACE_ERROR_RETURN ((LM_ERROR, - "tao_idl:ERROR:%N:%l:Unknown Operation Lookup Strategy\n"), - -1); - } - - return 0; -} - - -// Outputs the class definition for the perfect hashing. This class -// will inherit from the TAO_Perfect_Hash_OpTable. -void -be_interface::gen_perfect_hash_class_definition (void) -{ - // Codegen singleton. - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Outstream. - TAO_OutStream *ss = cg->server_skeletons (); - - *ss << "class " << "TAO_" << this->flatname () << "_Perfect_Hash_OpTable" - << " : public TAO_Perfect_Hash_OpTable" - << be_nl - << "{" - << be_nl - << "private:" - << be_nl - << " unsigned int hash (const char *str, unsigned int len);" - << be_nl - << "public:" - << be_nl - << " const TAO_operation_db_entry * lookup (const char *str, unsigned int len);" - << be_nl - << "};" - << "\n"; -} - -// Outputs the class definition for the binary searching. This class -// will inherit from the TAO_Binary_Seach_OpTable. -void -be_interface::gen_binary_search_class_definition (void) -{ - // Codegen singleton. - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Outstream. - TAO_OutStream *ss = cg->server_skeletons (); - - *ss << "class " << "TAO_" << this->flatname () << "_Binary_Search_OpTable" - << " : public TAO_Binary_Search_OpTable" - << be_nl - << "{" - << be_nl - << "public:" - << be_nl - << " const TAO_operation_db_entry * lookup (const char *str);" - << be_nl - << "};" - << "\n"; -} - -// Outputs the class definition for the linear search. This class -// will inherit from the TAO_Linear_Search_OpTable. -void -be_interface::gen_linear_search_class_definition (void) -{ - // Codegen singleton. - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Outstream. - TAO_OutStream *ss = cg->server_skeletons (); - - *ss << "class " << "TAO_" << this->flatname () << "_Linear_Search_OpTable" - << " : public TAO_Linear_Search_OpTable" - << be_nl - << "{" - << be_nl - << "public:" - << be_nl - << " const TAO_operation_db_entry * lookup (const char *str);" - << be_nl - << "};" - << "\n"; -} - -// We have collected the input (Operations and the corresponding -// skeleton pointers) for the gperf program. Now let us execute gperf -// and get things done. -// GPERF reads from our temp file and write to the Server Skeleton -// file. -int -be_interface::gen_gperf_lookup_methods (void) -{ - // Using ACE_Process. - ACE_Process process_manager; - ACE_Process_Options process_options; - - // Codegen's singleton. - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Adjust the offset of the underlying file pointer. - ACE_OS::rewind (cg->gperf_input_stream ()->file ()); - - // Set the stdin and stdout appropriately for the gperf program. - - // Stdin is our temp file. Close the temp file and open. We will use - // to open the file now, so that the file will get - // deleted once when we close the file. - - // Close the file. - if (ACE_OS::fclose (cg->gperf_input_stream ()->file ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p:File close failed on temp gperf's input file\n"), - -1); - - // Open the temp file. - ACE_HANDLE input = ACE::open_temp_file (cg->gperf_input_filename (), - O_RDONLY); - - if (input == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "%p:File open failed on gperf's temp input file\n"), - -1); - - // Stdout is server skeleton. Do *not* close the file, just open - // again with ACE_OS::open with WRITE + APPEND option.. After this, - // remember to update the file offset to the correct location. - - ACE_HANDLE output = ACE_OS::open (idl_global->be_get_server_skeleton_fname (), - O_WRONLY | O_APPEND); - if (output == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "%p:File open failed on server skeleton file\n"), - -1); - - // Set the handles now in the process options. - process_options.set_handles (input, output); - - // Set the command line for the gperf program. Give the right - // arguments for the operation lookup strategy that we are using. - switch (cg->lookup_strategy ()) - { - // Perfect Hashing. - case TAO_CodeGen::TAO_PERFECT_HASH: - process_options.command_line ("%s" - " " - "-m -M -J -c -C" - " " - "-D -E -T -f 0" - " " - "-F 0" - " " - "-a -o -t -p -K" - " " - "opname_ -L C++" - " " - "-Z TAO_%s_Perfect_Hash_OpTable" - " " - "-N lookup", - idl_global->gperf_path (), - this->flatname ()); - break; - - // Binary search methods from GPERF. Everythis and the -B flag. - case TAO_CodeGen::TAO_BINARY_SEARCH: - process_options.command_line ("%s" - " " - "-B" - " " - "-m -M -J -c -C" - " " - "-D -E -T -f 0" - " " - "-F 0" - " " - "-a -o -t -p -K" - " " - "opname_ -L C++" - " " - "-Z TAO_%s_Binary_Search_OpTable" - " " - "-N lookup", - idl_global->gperf_path (), - this->flatname ()); - break; - - // Linear search methods from GPERF. Everything and the -z flag. - case TAO_CodeGen::TAO_LINEAR_SEARCH: - process_options.command_line ("%s" - " " - "-b" - " " - "-m -M -J -c -C" - " " - "-D -E -T -f 0" - " " - "-F 0" - " " - "-a -o -t -p -K" - " " - "opname_ -L C++" - " " - "-Z TAO_%s_Linear_Search_OpTable" - " " - "-N lookup", - idl_global->gperf_path (), - this->flatname ()); - break; - - default: - ACE_ERROR_RETURN ((LM_ERROR, - "tao_idl:ERROR:%N:%l:Unknown Operation Lookup Strategy\n"), - -1); - } - - - // Spawn a process for gperf. - if (process_manager.spawn (process_options) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Error:%p:Couldnt spawn a process for gperf program\n"), - -1); - - // Wait for gperf to complete. - if (process_manager.wait () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Error:%p:Error on wait'ing for completion of gperf program.\n"), - -1); - - // Adjust the file offset to the EOF for the server skeleton file. - ACE_OS::fseek (cg->server_skeletons ()->file (), 0, SEEK_END); - - return 0; -} - -// Create an instance of this perfect hash table. -void -be_interface::gen_perfect_hash_instance () -{ - // Codegen singleton. - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Outstream. - TAO_OutStream *ss = cg->server_skeletons (); - - *ss << "static TAO_" << this->flatname () << "_Perfect_Hash_OpTable" - << " " - << "tao_" << this->flatname () << "_optable" - << ";\n" << be_nl; -} - -// Create an instance of the binary search optable. -void -be_interface::gen_binary_search_instance () -{ - // Codegen singleton. - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Outstream. - TAO_OutStream *ss = cg->server_skeletons (); - - *ss << "static TAO_" << this->flatname () << "_Binary_Search_OpTable" - << " " - << "tao_" << this->flatname () << "_optable" - << ";\n" << be_nl; -} - -// Create an instance of this perfect hash table. -void -be_interface::gen_linear_search_instance () -{ - // Codegen singleton. - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Outstream. - TAO_OutStream *ss = cg->server_skeletons (); - - *ss << "static TAO_" << this->flatname () << "_Linear_Search_OpTable" - << " " - << "tao_" << this->flatname () << "_optable" - << ";\n" << be_nl; -} - -int -be_interface::is_a_helper (be_interface * /*derived*/, - be_interface *bi, - TAO_OutStream *os) -{ - // emit the comparison code - os->indent (); - *os << "(!ACE_OS::strcmp ((char *)value, \"" << bi->repoID () << - "\")) ||\n"; - - return 0; -} - -int -be_interface::downcast_helper (be_interface * /* derived */, - be_interface *base, - TAO_OutStream *os) -{ - *os << "if (ACE_OS::strcmp (logical_type_id, \"" - << base->repoID () << "\") == 0)" << be_idt_nl - << "return ACE_static_cast (" - << base->full_skel_name () << "_ptr, this);" << be_uidt_nl; - return 0; -} - -int -be_interface::gen_skel_helper (be_interface *derived, - be_interface *ancestor, - TAO_OutStream *os) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - TAO_NL nl; // end line - - // if derived and ancestor are same, skip it - if (derived == ancestor) - return 0; - - // else generate code that does the cast to the appropriate type - - if (ancestor->nmembers () > 0) - { - // if there are elements in ancestor scope i.e., any operations and - // attributes defined by "ancestor", become methods on the derived class - // which call the corresponding method of the base class by doing the - // proper casting - - si = new UTL_ScopeActiveIterator (ancestor, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (d->node_type () == AST_Decl::NT_op) - { - os->indent (); // start from current indentation level - if (os->stream_type () == TAO_OutStream::TAO_SVR_HDR) - { - // generate the static method corresponding to this method - *os << "static void " << d->local_name () - << "_skel (" << be_idt << be_idt_nl - << "CORBA::ServerRequest &req, " << be_nl - << "void *obj," << be_nl - << "void *context," << be_nl - << "CORBA::Environment &env =" << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt << "\n\n"; - } - else - { // generate code in the inline file - // generate the static method corresponding to this method - *os << "ACE_INLINE void " - << derived->full_skel_name () << "::" - << d->local_name () - << "_skel (" << be_idt << be_idt_nl - << "CORBA::ServerRequest &req," << be_nl - << "void *obj," << be_nl - << "void *context," << be_nl - << "CORBA::Environment &env" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - *os << ancestor->full_skel_name () - << "_ptr impl = (" - << derived->full_skel_name () - << "_ptr) obj;" << be_nl; - *os << ancestor->full_skel_name () - << "::" << d->local_name () - << "_skel (" << be_idt << be_idt_nl - << "req," << be_nl - << "(" << ancestor->full_skel_name () - << "_ptr) impl," << be_nl - << "context," << be_nl - << " env" << be_uidt_nl - << ");" << be_uidt << be_uidt_nl - << "}\n"; - } - } - else if (d->node_type () == AST_Decl::NT_attr) - { - AST_Attribute *attr; - - attr = AST_Attribute::narrow_from_decl (d); - if (!attr) - return -1; - - os->indent (); // start from current indentation level - if (os->stream_type () == TAO_OutStream::TAO_SVR_HDR) - { - // generate the static method corresponding to this method - *os << "static void _get_" << d->local_name () - << "_skel (" << be_idt << be_idt_nl - << "CORBA::ServerRequest &req," << be_nl - << "void *obj," << be_nl - << "void *context," << be_nl - << "CORBA::Environment &env =" << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt << "\n\n"; - } - else - { // generate code in the inline file - // generate the static method corresponding to this method - *os << "ACE_INLINE void " - << derived->full_skel_name () << "::_get_" - << d->local_name () - << "_skel (" << be_idt << be_idt_nl - << "CORBA::ServerRequest &req," << be_nl - << "void *obj," << be_nl - << "void *context," << be_nl - << "CORBA::Environment &env" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << ancestor->full_skel_name () - << "_ptr impl = (" - << derived->full_skel_name () - << "_ptr) obj;" << nl; - *os << ancestor->full_skel_name () - << "::_get_" << d->local_name () - << "_skel (" << be_idt << be_idt_nl - << "req," << be_nl - << "(" << ancestor->full_skel_name () - << "_ptr) impl," << be_nl - << "context," << be_nl - << "env" << be_uidt_nl - << ");" << be_uidt << be_uidt_nl - << "}\n"; - } - - if (!attr->readonly ()) - { - // the set method - os->indent (); // start from current indentation level - if (os->stream_type () == TAO_OutStream::TAO_SVR_HDR) - { - // generate the static method corresponding to - // this method - *os << "static void _set_" << d->local_name () - << "_skel (" << be_idt << be_idt_nl - << "CORBA::ServerRequest &req," << be_nl - << "void *obj," << be_nl - << "void *context," << be_nl - << "CORBA::Environment &env = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt << "\n\n"; - } - else - { // generate code in the inline file - // generate the static method corresponding to - // this method - *os << "ACE_INLINE void " - << derived->full_skel_name () - << "::_set_" << d->local_name () - << "_skel (" << be_idt << be_idt_nl - << "CORBA::ServerRequest &req," << be_nl - << "void *obj," << be_nl - << "void *context," << be_nl - << "CORBA::Environment &env" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << ancestor->full_skel_name () - << "_ptr impl = (" - << derived->full_skel_name () - << "_ptr) obj;" << be_nl; - *os << ancestor->full_skel_name () - << "::_set_" << d->local_name () - << "_skel (" << be_idt << be_idt_nl - << "req," << be_nl - << "(" << ancestor->full_skel_name () - << "_ptr) impl," << be_nl - << "context," << be_nl - << "env" << be_uidt_nl - << ");" << be_uidt << be_uidt_nl - << "}\n"; - } - - } - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_interface::copy_ctor_helper (be_interface *derived, - be_interface *base, - TAO_OutStream *os) -{ - if (derived == base) - // we are the same. Don't do anything, otherwise we will end up calling - // ourself - return 0; - - if (base->is_nested ()) - { - be_decl *scope; - scope = be_scope::narrow_from_scope (base->defined_in ())->decl (); - *os << " ACE_NESTED_CLASS (POA_" << scope->name () << "," - << base->local_name () << ") (rhs)," << be_nl; - } - else - { - *os << " " << base->full_skel_name () << " (rhs)," << be_nl; - } - - return 0; -} - -int -be_interface::in_mult_inheritance_helper (be_interface *derived, - be_interface *base, - TAO_OutStream *) -{ - switch (derived->n_inherits ()) - { - case 0: - // no parent - derived->in_mult_inheritance (0); - break; - case 1: - if (derived == base) - // prevent indefinite recursion - derived->in_mult_inheritance (-1); - else - // one parent. We have the same characteristics as our base - derived->in_mult_inheritance (base->in_mult_inheritance ()); - break; - default: - // direct multiple inheritance - derived->in_mult_inheritance (1); - } - return 0; -} - -// return the relative skeleton name (needed due to NT compiler insanity) -const char * -be_interface::relative_skel_name (const char *skelname) -{ - return be_interface::relative_name (this->full_skel_name (), - skelname); -} - -const char* -be_interface::relative_name (const char *localname, - const char *othername) -{ - // some compilers do not like generating a fully scoped name for a - // type that was defined in the same enclosing scope in which it was - // defined. We have to emit just the partial name, relative to our - // "localname" - - // The tricky part here is that it is not enough to check if the - // typename we are using was defined in the current scope. But we - // need to ensure that it was not defined in any of our ancestor - // scopes as well. If that is the case, then we can generate a fully - // scoped name for that type, else we use the ACE_NESTED_CLASS macro - - // thus we need some sort of relative name to be generated - - static char macro [NAMEBUFSIZE]; - // UNUSED: be_decl *def_scope = 0; // our defining scope - char // hold the fully scoped name - def_name [NAMEBUFSIZE], - use_name [NAMEBUFSIZE]; - char // these point to the curr and next component in the scope - *def_curr = def_name, - *def_next, - *use_curr = use_name, - *use_next; - - ACE_OS::memset (macro, '\0', NAMEBUFSIZE); - ACE_OS::memset (def_name, '\0', NAMEBUFSIZE); - ACE_OS::memset (use_name, '\0', NAMEBUFSIZE); - - // traverse every component of the def_scope and use_scope beginning at the - // root and proceeding towards the leaf trying to see if the components - // match. Continue until there is a match and keep accumulating the path - // traversed. This forms the first argument to the ACE_NESTED_CLASS - // macro. Whenever there is no match, the remaining components of the - // def_scope form the second argument - - ACE_OS::strcpy (def_name, localname); - ACE_OS::strcpy (use_name, othername); - - while (def_curr && use_curr) - { - // find the first occurrence of a :: and advance the next pointers accordingly - def_next = ACE_OS::strstr (def_curr, "::"); - use_next = ACE_OS::strstr (use_curr, "::"); - - if (def_next) - *def_next = 0; - - if (use_next) - *use_next = 0; - - if (!ACE_OS::strcmp (def_curr, use_curr)) - { - // they have same prefix, append to arg1 - def_curr = (def_next ? (def_next+2) : 0); // skip the :: - use_curr = (use_next ? (use_next+2) : 0); // skip the :: - } - else - { - // we had overwritten a ':' by a '\0' for string comparison. We - // revert back because we want the rest of the relative name to be - // used - if (def_next) - *def_next = ':'; - - if (use_next) - *use_next = ':'; - - // no match. This is the end of the first argument. Get out - // of the loop as no more comparisons are necessary - break; - } - } - - // start the 2nd argument of the macro - - // copy the remaining def_name (if any left) - if (def_curr) - ACE_OS::strcat (macro, def_curr); - - return macro; -} - -int -be_interface::accept (be_visitor *visitor) -{ - return visitor->visit_interface (this); -} - - - -// Narrowing -IMPL_NARROW_METHODS3 (be_interface, AST_Interface, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_interface) -IMPL_NARROW_FROM_SCOPE (be_interface) - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Node ; -template class ACE_Unbounded_Queue ; -template class ACE_Unbounded_Queue_Iterator ; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Node -#pragma instantiate ACE_Unbounded_Queue -#pragma instantiate ACE_Unbounded_Queue_Iterator -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/TAO_IDL/be/be_interface_fwd.cpp b/TAO/TAO_IDL/be/be_interface_fwd.cpp deleted file mode 100644 index 3d407fc41bd..00000000000 --- a/TAO/TAO_IDL/be/be_interface_fwd.cpp +++ /dev/null @@ -1,512 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_interface.h -// -// = DESCRIPTION -// Extension of class AST_Interface_Fwd that provides additional means for C++ -// mapping of an interface. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_interface_fwd, "$Id$") - -/* - * BE_InterfaceFwd - */ - -be_interface_fwd::be_interface_fwd (void) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -be_interface_fwd::be_interface_fwd (AST_Interface *dummy, - UTL_ScopedName *n, UTL_StrList *p) - : AST_InterfaceFwd (dummy, n, p), - AST_Decl (AST_Decl::NT_interface_fwd, n, p) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -be_interface_fwd::~be_interface_fwd (void) -{ -} - -// generate the var definition -int -be_interface_fwd::gen_var_defn (char *) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - *ch << namebuf << " (" << local_name () << "_ptr);" << nl; - - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << "_ptr);" << nl; - - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << - " &);" << nl; - - // arrow operator - *ch << local_name () << "_ptr operator-> (void) const;" << nl; - - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - *ch << "operator const " << local_name () << "_ptr &() const;" << nl; - *ch << "operator " << local_name () << "_ptr &();" << nl; - - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - *ch << local_name () << "_ptr in (void) const;" << nl; - *ch << local_name () << "_ptr &inout (void);" << nl; - *ch << local_name () << "_ptr &out (void);" << nl; - *ch << local_name () << "_ptr _retn (void);" << nl; - - // generate an additional member function that returns the underlying pointer - *ch << local_name () << "_ptr ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // private - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_ptr ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_interface_fwd::gen_var_impl (char *, char *) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << " " << ": ptr_ (" << this->name () << "::_nil ())" << nl; - *ci << "{}\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_ptr p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // the additional ptr () member function. This member function must be - // defined before the remaining member functions including the copy - // constructor because this inline function is used elsewhere. Hence to make - // inlining of this function possible, we must define it before its use. - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (" << name () << "::_duplicate (p.ptr ()))" << nl; - *ci << "{}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << name () << - "_ptr p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << name () << "::_duplicate (p.ptr ());\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - "_ptr &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << "_ptr &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr &" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// yield ownership of managed obj reference" << nl; - *ci << this->name () << "_ptr val = this->ptr_;" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();" << nl; - *ci << "return val;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// generate the _out definition -int -be_interface_fwd::gen_out_defn (char *) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << local_name () << "_ptr &);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (const " << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // only interface allows assignment from var & - *ch << namebuf << " &operator= (const " << local_name () << "_var &);" << nl; - *ch << namebuf << " &operator= (" << local_name () << "_ptr);" << nl; - // cast - *ch << "operator " << local_name () << "_ptr &();" << nl; - // ptr fn - *ch << local_name () << "_ptr &ptr (void);" << nl; - // operator -> - *ch << local_name () << "_ptr operator-> (void);" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_ptr &ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -int -be_interface_fwd::gen_out_impl (char *, char *) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_ptr &p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "::_nil ();\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << " : ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (ACE_const_cast (" << fname - << "&,p).ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = ACE_const_cast (" << fname << "&,p).ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << this->name () << - "_var &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "::_duplicate (p.ptr ());" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _ptr - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "_ptr p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - "_ptr &() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_ptr &" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_ptr " << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -int -be_interface_fwd::accept (be_visitor *visitor) -{ - return visitor->visit_interface_fwd (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_interface_fwd, AST_InterfaceFwd, be_type) -IMPL_NARROW_FROM_DECL (be_interface_fwd) diff --git a/TAO/TAO_IDL/be/be_module.cpp b/TAO/TAO_IDL/be/be_module.cpp deleted file mode 100644 index 058134399fe..00000000000 --- a/TAO/TAO_IDL/be/be_module.cpp +++ /dev/null @@ -1,59 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_module.cpp -// -// = DESCRIPTION -// Extension of class AST_Module that provides additional means for C++ -// mapping of a module -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_module, "$Id$") - -/* - * BE_Module - */ -be_module::be_module (void) -{ -} - -be_module::be_module (UTL_ScopedName *n, UTL_StrList *p) - : AST_Module (n, p), - AST_Decl (AST_Decl::NT_module, n, p), - UTL_Scope (AST_Decl::NT_module) -{ -} - -// compute the size type of the node in question -int -be_module::compute_size_type (void) -{ - // our size does not matter - return 0; -} - -int -be_module::accept (be_visitor *visitor) -{ - return visitor->visit_module (this); -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_module, AST_Module, be_scope, be_decl) -IMPL_NARROW_FROM_DECL (be_module) -IMPL_NARROW_FROM_SCOPE (be_module) diff --git a/TAO/TAO_IDL/be/be_native.cpp b/TAO/TAO_IDL/be/be_native.cpp deleted file mode 100644 index 149d5956dee..00000000000 --- a/TAO/TAO_IDL/be/be_native.cpp +++ /dev/null @@ -1,61 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_native.cpp -// -// = DESCRIPTION -// The native IDL type -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_native, "$Id$") - - -// be_native: New IDL type added by the POA spec -/* - * Constructor(s) - */ -be_native::be_native (void) -{ -} - -be_native::be_native (UTL_ScopedName *n, - UTL_StrList *p) - : AST_Native (n, p), - AST_Decl (AST_Decl::NT_native, n, p) -{ -} - -int -be_native::gen_typecode (void) -{ - return 0; -} - -long -be_native::tc_size (void) -{ - return 0; -} - -int -be_native::accept (be_visitor *visitor) -{ - return visitor->visit_native (this); -} - -// Narrowing -IMPL_NARROW_METHODS2(be_native, AST_Native, be_type) -IMPL_NARROW_FROM_DECL(be_native) diff --git a/TAO/TAO_IDL/be/be_operation.cpp b/TAO/TAO_IDL/be/be_operation.cpp deleted file mode 100644 index 76f834dd1ab..00000000000 --- a/TAO/TAO_IDL/be/be_operation.cpp +++ /dev/null @@ -1,166 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_operation.cpp -// -// = DESCRIPTION -// Extension of class AST_Operation that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_operation, "$Id$") - -/* - * BE_Operation - */ -be_operation::be_operation (void) - : argument_count_ (-1), - has_native_ (0) -{ -} - -be_operation::be_operation (AST_Type *rt, AST_Operation::Flags fl, - UTL_ScopedName *n, UTL_StrList *p) - : AST_Operation (rt, fl, n, p), - AST_Decl (AST_Decl::NT_op, n, p), - UTL_Scope (AST_Decl::NT_op), - argument_count_ (-1), - has_native_ (0) -{ -} - -// compute total number of members -int -be_operation::compute_argument_attr (void) -{ - if (this->argument_count_ != -1) - return 0; - - this->argument_count_ = 0; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - UTL_ScopeActiveIterator *si = - new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - // get the next AST decl node - AST_Decl *d = si->item (); - - if (d->node_type () == AST_Decl::NT_argument) - { - this->argument_count_++; - be_argument *arg = be_argument::narrow_from_decl (d); - be_type* type = - be_type::narrow_from_decl (arg->field_type ()); - - if (type->base_node_type () == AST_Decl::NT_native) - this->has_native_ = 1; - } - si->next (); - } // end of while - delete si; // free the iterator object - } - - be_type* type = be_type::narrow_from_decl (this->return_type ()); - if (type->base_node_type () == AST_Decl::NT_native) - this->has_native_ = 1; - - return 0; -} - -// return the member count -int -be_operation::argument_count (void) -{ - this->compute_argument_attr (); - - return this->argument_count_; -} - -// return if any argument or the return type is a type. -int -be_operation::has_native (void) -{ - this->compute_argument_attr (); - - return this->has_native_; -} - -be_argument * -be_operation::add_argument_to_scope (be_argument *arg) -{ - this->add_to_scope (arg); - this->add_to_referenced (arg, 0); - return arg; -} - -// compute the size type of the node in question -int -be_operation::compute_size_type (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - // our sizetype depends on the sizetype of our members. Although - // previous value of sizetype may get overwritten, we are - // guaranteed by the "size_type" call that once the value reached - // be_decl::VARIABLE, nothing else can overwrite it. - this->size_type (bd->size_type ()); - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_operation::compute_size_type - " - "narrow_from_decl returned 0\n")); - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_operation::accept (be_visitor *visitor) -{ - return visitor->visit_operation (this); -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_operation, AST_Operation, be_scope, be_decl) -IMPL_NARROW_FROM_DECL (be_operation) -IMPL_NARROW_FROM_SCOPE (be_operation) diff --git a/TAO/TAO_IDL/be/be_predefined_type.cpp b/TAO/TAO_IDL/be/be_predefined_type.cpp deleted file mode 100644 index b7232df5407..00000000000 --- a/TAO/TAO_IDL/be/be_predefined_type.cpp +++ /dev/null @@ -1,333 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_predefined_type.cpp -// -// = DESCRIPTION -// Extension of class AST_PredefinedType that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_predefined_type, "$Id$") - -/* - * BE_PredefinedType - */ -be_predefined_type::be_predefined_type (void) -{ -} - -be_predefined_type::be_predefined_type (AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, UTL_StrList *p) - : AST_PredefinedType (t, n, p), - AST_Decl (AST_Decl::NT_pre_defined, n, p) -{ - // generate a new Scoped Name for us such that we belong to the CORBA - // namespace - if (this->pt () != AST_PredefinedType::PT_void) - { - - UTL_ScopedName *new_name = new UTL_ScopedName (new Identifier ("CORBA", 1, 0, - I_FALSE), - NULL); - switch (this->pt ()) - { - case AST_PredefinedType::PT_long: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Long", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ulong: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("ULong", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_short: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Short", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ushort: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("UShort", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_float: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Float", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_double: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Double", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_char: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Char", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_octet: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Octet", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_wchar: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("WChar", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_boolean: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Boolean", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_longlong: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("LongLong", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ulonglong: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("ULongLong", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_longdouble: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("LongDouble", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_any: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Any", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_pseudo: - { - new_name->nconc (new UTL_ScopedName (new Identifier - (n->last_component - ()->get_string (), 1, 0, - I_FALSE), NULL)); - } - break; - default: - { - new_name->nconc (new UTL_ScopedName (this->local_name (), NULL)); - } - } - this->set_name (new_name); - } - - // computes the repoID - compute_repoID (); - - // computes the fully scoped name - compute_fullname (); - - // computes the fully scoped typecode name - compute_tc_name (); - - // compute the flattened fully scoped name - compute_flatname (); - - -} - -// overriden method -void -be_predefined_type::compute_tc_name (void) -{ - // start with the head as the CORBA namespace - this->tc_name_ = new UTL_ScopedName (new Identifier ("CORBA", 1, 0, I_FALSE), - NULL); - - switch (this->pt ()) - { - case AST_PredefinedType::PT_void: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_void", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_long: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_long", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_longlong: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_longlong", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ulong: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_ulong", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ulonglong: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_ulonglong", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_short: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_short", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ushort: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_ushort", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_float: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_float", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_double: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_double", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_longdouble: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_longdouble", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_char: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_char", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_wchar: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_wchar", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_octet: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_octet", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_boolean: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_boolean", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_any: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier - ("_tc_any", - 1, 0, - I_FALSE), - NULL)); - } - break; - case AST_PredefinedType::PT_pseudo: - { - char tcname [100]; - ACE_OS::sprintf (tcname, "_tc_%s", - this->name ()->last_component ()->get_string ()); - this->tc_name_->nconc (new UTL_ScopedName (new Identifier - (ACE_OS::strdup (tcname), - 1, 0, - I_FALSE), NULL)); - } - break; - default: - ACE_ERROR ((LM_WARNING, "Unknown or invalid predefined type")); - break; - } -} - -UTL_ScopedName * -be_predefined_type::compute_tc_name (const char *prefix, const char *suffix) -{ - return be_type::compute_tc_name (prefix, suffix); -} - -// compute the size type of the node in question -int -be_predefined_type::compute_size_type (void) -{ - switch (this->pt ()) - { - case AST_PredefinedType::PT_any: - case AST_PredefinedType::PT_pseudo: - // we are variable length type - this->size_type (be_decl::VARIABLE); - break; - default: - this->size_type (be_decl::FIXED); - } - return 0; -} - -void -be_predefined_type::compute_repoID (void) -{ - switch (this->pt ()) - { - case AST_PredefinedType::PT_pseudo: - if (!ACE_OS::strcmp (this->local_name ()->get_string (), "Object")) - this->repoID_ = ACE::strnew ("IDL:omg.org/CORBA/Object:1.0"); - else - be_decl::compute_repoID (); - break; - default: - be_decl::compute_repoID (); - break; - } -} - -int -be_predefined_type::accept (be_visitor *visitor) -{ - return visitor->visit_predefined_type (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_predefined_type, AST_PredefinedType, be_type) -IMPL_NARROW_FROM_DECL (be_predefined_type) diff --git a/TAO/TAO_IDL/be/be_produce.cpp b/TAO/TAO_IDL/be/be_produce.cpp deleted file mode 100644 index 018984e65d7..00000000000 --- a/TAO/TAO_IDL/be/be_produce.cpp +++ /dev/null @@ -1,255 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// BE_produce.cc - Produce the work of the BE - does nothing in the -// dummy BE - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_produce, "$Id$") - -/* - * Do the work of this BE. This is the starting point for code generation. - */ - -void -BE_produce (void) -{ - be_root *root; // root of the AST made up of BE nodes - be_visitor *visitor; // visitor for root - be_visitor_context ctx; // context information for the visitor root - - // configure the CodeGen object with the strategy to generate the visitors - // that can produce interpretive or compiled marshaling stubs and skeletons - tao_cg->config_visitor_factory (); - - // get the root node and narrow it down to be the back-end root node - AST_Decl *d = idl_global->root (); - root = be_root::narrow_from_decl (d); - if (!root) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "No Root\n")); - BE_abort (); - } - - // Code generation involves six steps because of the six files that we - // generate. - - // (1) generate client header - // instantiate a visitor context - ctx.state (TAO_CodeGen::TAO_ROOT_CH); // set the codegen state - // get a root visitor - visitor = tao_cg->make_visitor (&ctx); - // generate code for the client header - if (root->accept (visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "client header for Root failed\n")); - BE_abort (); - } - // it is our responsibility to free up the visitor - delete visitor; - - // (2) generate client inline - // set the context information - ctx.reset (); - ctx.state (TAO_CodeGen::TAO_ROOT_CI); - // create a visitor - visitor = tao_cg->make_visitor (&ctx); - // generate code for the client inline file - if (root->accept (visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "client inline for Root failed\n")); - BE_abort (); - } - // it is our responsibility to free up the visitor - delete visitor; - - - // (3) generate client stubs - ctx.reset (); - ctx.state (TAO_CodeGen::TAO_ROOT_CS); - // create a visitor - visitor = tao_cg->make_visitor (&ctx); - // generate code for the client stubs - if (root->accept (visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "client stubs for Root failed\n")); - BE_abort (); - } - // it is our responsibility to free up the visitor - delete visitor; - - // (4) generate server header - ctx.reset (); - ctx.state (TAO_CodeGen::TAO_ROOT_SH); - // create a visitor - visitor = tao_cg->make_visitor (&ctx); - // generate code for the server header file - if (root->accept (visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "server header for Root failed\n")); - BE_abort (); - } - // it is our responsibility to free up the visitor - delete visitor; - - // (5) generate server inline - ctx.reset (); - ctx.state (TAO_CodeGen::TAO_ROOT_SI); - // create a visitor - visitor = tao_cg->make_visitor (&ctx); - // generate code for the server inline file - if (root->accept (visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "server inline for Root failed\n")); - BE_abort (); - } - // it is our responsibility to free up the visitor - delete visitor; - - // (6) generate server skeletons - ctx.reset (); - ctx.state (TAO_CodeGen::TAO_ROOT_SS); - // create a visitor - visitor = tao_cg->make_visitor (&ctx); - // generate code for the server skeletons - if (root->accept (visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "server skeletons for Root failed\n")); - BE_abort (); - } - // it is our responsibility to free up the visitor - delete visitor; - - //check if the flags are set for generating the - //the implementation header and skeleton files - if(idl_global->gen_impl_files()) - { - // (7) generate implementation skeleton header - - ctx.reset (); - ctx.state (TAO_CodeGen::TAO_ROOT_IH); - // create a visitor - visitor = tao_cg->make_visitor (&ctx); - // generate code for the implementation skeleton header - if (root->accept (visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "implementation skeletons for Root failed\n")); - BE_abort (); - } - - // it is our responsibility to free up the visitor - delete visitor; - - // (8) generate implementation skeleton header - - ctx.reset (); - ctx.state (TAO_CodeGen::TAO_ROOT_IS); - // create a visitor - visitor = tao_cg->make_visitor (&ctx); - - // generate code for the implementation skeleton header - if (root->accept (visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "implementation skeletons for Root failed\n")); - BE_abort (); - } - - // it is our responsibility to free up the visitor - delete visitor; - } -} - -/* - * Abort this run of the BE - */ -void -BE_abort (void) -{ - ACE_ERROR ((LM_ERROR, - "Fatal Error - Aborting\n")); - ACE_OS::exit (1); -} diff --git a/TAO/TAO_IDL/be/be_root.cpp b/TAO/TAO_IDL/be/be_root.cpp deleted file mode 100644 index 43aa5ffa9ca..00000000000 --- a/TAO/TAO_IDL/be/be_root.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_root.cpp -// -// = DESCRIPTION -// Extension of class AST_Root that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_root, "$Id$") - -// Default Constructor -be_root::be_root (void) -{ -} - -// Constructor used to build the root of the abstract syntax tree (AST) -be_root::be_root (UTL_ScopedName *n, UTL_StrList *p) - : AST_Root (n, p), - AST_Decl (AST_Decl::NT_root, n, p), - UTL_Scope (AST_Decl::NT_root) - -{ -} - -// We had to provide these since the AST_Root::fe_* method was setting the -// names of these three to "local type" - -/* - * Add this AST_Sequence to the locally defined types in this scope - */ -AST_Sequence * -be_root::fe_add_sequence (AST_Sequence *t) -{ - if (t == NULL) - return NULL; - - add_to_local_types(t); - return t; -} - -/* - * Add this AST_String to the locally defined types in this scope - */ -AST_String * -be_root::fe_add_string (AST_String *t) -{ - if (t == NULL) - return NULL; - - add_to_local_types (t); - - return t; -} - -/* - * Add this AST_Array to the locally defined types in this scope - */ -AST_Array * -be_root::fe_add_array (AST_Array *t) -{ - if (t == NULL) - return NULL; - - add_to_local_types (t); - - return t; -} - -int -be_root::accept (be_visitor *visitor) -{ - return visitor->visit_root (this); -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS3 (be_root, AST_Root, be_scope, be_decl) -IMPL_NARROW_FROM_DECL (be_root) -IMPL_NARROW_FROM_SCOPE (be_root) diff --git a/TAO/TAO_IDL/be/be_scope.cpp b/TAO/TAO_IDL/be/be_scope.cpp deleted file mode 100644 index 16dfb2defe9..00000000000 --- a/TAO/TAO_IDL/be/be_scope.cpp +++ /dev/null @@ -1,76 +0,0 @@ -// -// $Id$ -// -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_scope, "$Id$") - - -// Default Constructor -be_scope::be_scope (void) - : comma_ (0) -{ -} - -// Constructor -be_scope::be_scope (AST_Decl::NodeType type) - : UTL_Scope (type), - comma_ (0) -{ -} - -be_scope::~be_scope (void) -{ -} - -// Code generation methods -void -be_scope::comma (unsigned short comma) -{ - this->comma_ = comma; -} - -int -be_scope::comma (void) const -{ - return this->comma_; -} - -// return the scope created by this node (if one exists, else NULL) -be_decl * -be_scope::decl (void) -{ - switch (this->scope_node_type()) - { - case AST_Decl::NT_interface: - return be_interface::narrow_from_scope (this); - case AST_Decl::NT_module: - return be_module::narrow_from_scope (this); - case AST_Decl::NT_root: - return be_root::narrow_from_scope (this); - case AST_Decl::NT_except: - return be_exception::narrow_from_scope (this); - case AST_Decl::NT_union: - return be_union::narrow_from_scope (this); - case AST_Decl::NT_struct: - return be_structure::narrow_from_scope (this); - case AST_Decl::NT_enum: - return be_enum::narrow_from_scope (this); - case AST_Decl::NT_op: - return be_operation::narrow_from_scope (this); - default: - return (be_decl *)0; - } -} - -int -be_scope::accept (be_visitor *visitor) -{ - return visitor->visit_scope (this); -} - -// narrowing methods -IMPL_NARROW_METHODS1 (be_scope, UTL_Scope) -IMPL_NARROW_FROM_SCOPE (be_scope) diff --git a/TAO/TAO_IDL/be/be_sequence.cpp b/TAO/TAO_IDL/be/be_sequence.cpp deleted file mode 100644 index 5d88dabd8ac..00000000000 --- a/TAO/TAO_IDL/be/be_sequence.cpp +++ /dev/null @@ -1,359 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_sequence.cpp -// -// = DESCRIPTION -// Extension of class AST_Sequence that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" -#include "be_visitor_sequence.h" - -ACE_RCSID(be, be_sequence, "$Id$") - - -/* - * BE_Sequence - */ -be_sequence::be_sequence (void) - : mt_ (be_sequence::MNG_UNKNOWN) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -be_sequence::be_sequence (AST_Expression *v, AST_Type *t) - : AST_Sequence (v, t), - AST_Decl (AST_Decl::NT_sequence, - NULL, - NULL), - mt_ (be_sequence::MNG_UNKNOWN) -{ - // check if we are bounded or unbounded. An expression value of 0 means - // unbounded - if (v->ev ()->u.ulval == 0) - { - this->unbounded_ = I_TRUE; - } - else - { - this->unbounded_ = I_FALSE; - } - - this->size_type (be_decl::VARIABLE); // a sequence data type is always - // VARIABLE -} - -idl_bool -be_sequence::unbounded (void) const -{ - return this->unbounded_; -} - -// helper to create_name -char * -be_sequence::gen_name (void) -{ - char namebuf [NAMEBUFSIZE]; - be_type *bt; // base type; - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); // reset the buffer - // retrieve the base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_name - " - "bad base type\n"), - 0); - } - if (bt->node_type () == AST_Decl::NT_sequence) - { - // our base type is an anonymous sequence - be_sequence *seq; - seq = be_sequence::narrow_from_decl (bt); - if (!seq) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_name - " - "error converting base type to sequence\n"), - 0); - } - seq->set_defined_in (this); // set ourselves as its parent - this->fe_add_sequence (seq); // add the child to our scope - ACE_OS::sprintf (namebuf, "_tao_seq_%s", seq->gen_name ()); - } - else - { - ACE_OS::sprintf (namebuf, "_tao_seq_%s", bt->local_name ()->get_string ()); - } - // append the size (if any) - if (!this->unbounded_) - { - ACE_OS::sprintf (namebuf, "%s_%d", namebuf, this->max_size ()->ev - ()->u.ulval); - } - return ACE_OS::strdup (namebuf); -} - -// create a name for ourselves -int -be_sequence::create_name (be_typedef *node) -{ - static char namebuf [NAMEBUFSIZE]; - UTL_ScopedName *n = NULL; - be_decl *scope; // scope in which we are defined - - // if there is a typedef node, we use its name as our name - if (node) - { - n = (UTL_ScopedName *)node->name ()->copy (); - this->set_name (n); // set our name - } - else - { - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); // reset the buffer - ACE_OS::strcpy (namebuf, this->gen_name ()); // generate a local name - - // now see if we have a fully scoped name and if so, generate one - scope = be_scope::narrow_from_scope (this->defined_in ())->decl (); - if (scope) - { - // make a copy of the enclosing scope's name - n = (UTL_ScopedName *)scope->name ()->copy () ; - - // add our local name as the last component - n->nconc (new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, - 0, I_FALSE), - NULL)); - // set the fully scoped name - this->set_name (n); - } - else - { - // We better be not here because we must be inside some scope, - // atleast the ROOT scope. - return -1; - } - } - return 0; -} - -// Does this sequence have a managed type sequence element? -be_sequence::MANAGED_TYPE -be_sequence::managed_type (void) -{ - if (this->mt_ == be_sequence::MNG_UNKNOWN) // not calculated yet - { - be_type *bt, *prim_type; // base types - - bt = be_type::narrow_from_decl (this->base_type ()); - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - prim_type = t->primitive_base_type (); - } - else - prim_type = bt; - - // determine if we need a managed type and which one - switch (prim_type->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - this->mt_ = be_sequence::MNG_OBJREF; - break; - case AST_Decl::NT_string: - this->mt_ = be_sequence::MNG_STRING; - break; - case AST_Decl::NT_pre_defined: - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl - (prim_type); - if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // if this pseudo is a CORBA::Object, then the managed type is - // an objref - if (!ACE_OS::strcmp (bpd->local_name ()->get_string (), - "Object")) - this->mt_ = be_sequence::MNG_OBJREF; - else - this->mt_ = be_sequence::MNG_PSEUDO; - } - else - { - this->mt_ = be_sequence::MNG_NONE; - } - } - break; - default: - this->mt_ = be_sequence::MNG_NONE; - } // end of switch - } - return this->mt_; -} - -/* - * Add this be_sequence to the locally defined types in this scope - */ -AST_Sequence * -be_sequence::fe_add_sequence (AST_Sequence *t) -{ - if (t == NULL) - return NULL; - - this->add_to_local_types(t); - return t; -} - -// overridden method -be_decl * -be_sequence::decl (void) -{ - return this; -} - -int -be_sequence::accept (be_visitor *visitor) -{ - return visitor->visit_sequence (this); -} - - -const char * -be_sequence::instance_name () -{ - static char namebuf[NAMEBUFSIZE]; - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - - be_type *bt; - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_DEBUG ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "gen_instantiate_name - " - "Bad element type\n")); - return namebuf; - } - - // generate the class name - - // the base type after removing all the aliases - be_type *prim_type = bt; - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - prim_type = t->primitive_base_type (); - } - - // generate the appropriate sequence type - switch (this->managed_type ()) - { - case be_sequence::MNG_PSEUDO: - case be_sequence::MNG_OBJREF: - if (this->unbounded ()) - ACE_OS::sprintf (namebuf, - "_TAO_Unbounded_Object_Sequence_%s", - this->flatname()); - else - ACE_OS::sprintf (namebuf, - "_TAO_Bounded_Object_Sequence_%s_%d", - this->flatname(), - this->max_size ()->ev()->u.ulval); - break; - case be_sequence::MNG_STRING: // sequence of strings - if (this->unbounded ()) - ACE_OS::sprintf (namebuf, - "TAO_Unbounded_String_Sequence"); - else - ACE_OS::sprintf (namebuf, - "_TAO_Bounded_String_Sequence_%s", - this->flatname()); - break; - default: // not a managed type - if (this->unbounded ()) - { - // TAO provides extensions for octet sequences, first find out - // if the base type is an octet (or an alias for octet) - be_predefined_type *predef = - be_predefined_type::narrow_from_decl (prim_type); - if (predef != 0 && - predef->pt() == AST_PredefinedType::PT_octet) - ACE_OS::sprintf (namebuf, - "TAO_Unbounded_Sequence"); - else - ACE_OS::sprintf (namebuf, - "_TAO_Unbounded_Sequence_%s", - this->flatname()); - // or prim_type->flatname ()); - // ACE_DEBUG ((LM_DEBUG, "testing.... %d, %d = <%s>\n", - // predef, predef->pt (), namebuf)); - } - else - ACE_OS::sprintf (namebuf, - "_TAO_Bounded_Sequence_%s_%d", - this->flatname(), - //prim_type->flatname (), - this->max_size()->ev()->u.ulval); - break; - } - - return namebuf; -} - -idl_bool -be_sequence::in_recursion (be_type *node) -{ - if (!node) - { - // there has to be a parameter - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_sequence::") - ASYS_TEXT ("in_recursion - ") - ASYS_TEXT ("bad parameter node\n")), - 0); - } - - be_type *type = be_type::narrow_from_decl (this->base_type ()); - if (!type) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_sequence::") - ASYS_TEXT ("in_recursion - ") - ASYS_TEXT ("bad base type\n")), - 0); - } - - if (!ACE_OS::strcmp (node->fullname (), type->fullname ())) - // they match - return 1; - else - // not in recursion - return 0; -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_sequence, AST_Sequence, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_sequence) diff --git a/TAO/TAO_IDL/be/be_stream_factory.cpp b/TAO/TAO_IDL/be/be_stream_factory.cpp deleted file mode 100644 index bb662d03c5b..00000000000 --- a/TAO/TAO_IDL/be/be_stream_factory.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// $Id$ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_sunsoft.h" - -ACE_RCSID(be, be_factory, "$Id$") - -// constructor -TAO_OutStream_Factory::TAO_OutStream_Factory (void) - : strm_type_ (TAO_OutStream_Factory::TAO_SUNSOFT) -{ -} - -// destructor -TAO_OutStream_Factory::~TAO_OutStream_Factory (void) -{ -} - -// set the type of specialized o/p stream we want -int -TAO_OutStream_Factory::set_stream_type -(TAO_OutStream_Factory::TAO_OutStream_Type t) -{ - this->strm_type_ = t; - return 0; -} - -// factory method -TAO_OutStream * -TAO_OutStream_Factory::make_outstream (void) -{ - switch (this->strm_type_) - { - case TAO_OutStream_Factory::TAO_SUNSOFT: - return new TAO_SunSoft_OutStream (); - case TAO_OutStream_Factory::TAO_FLICK: - return (TAO_OutStream *)0; // not implemented as yet - default: - return (TAO_OutStream *)0; - } -} diff --git a/TAO/TAO_IDL/be/be_string.cpp b/TAO/TAO_IDL/be/be_string.cpp deleted file mode 100644 index ec94dc96710..00000000000 --- a/TAO/TAO_IDL/be/be_string.cpp +++ /dev/null @@ -1,89 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_string.cpp -// -// = DESCRIPTION -// Extension of class AST_Array that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_string, "$Id$") - - -/* - * BE_String - */ -be_string::be_string (void) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -be_string::be_string (AST_Expression *v) - : AST_String (v), - AST_Decl (AST_Decl::NT_string, - new UTL_ScopedName(new Identifier("string", 1, 0, I_FALSE), - NULL), - NULL) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -be_string::be_string (AST_Expression *v, long wide) - : AST_String (v, wide), - AST_Decl (AST_Decl::NT_string, - wide == 1 - ? new UTL_ScopedName(new Identifier("string",1,0,I_FALSE), - NULL) - : new UTL_ScopedName(new Identifier("wstring_t", - 1, - 0, - I_FALSE), - NULL), - NULL) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -// overriden method -void -be_string::compute_tc_name (void) -{ - // start with the head as the CORBA namespace - this->tc_name_ = new UTL_ScopedName (new Identifier ("CORBA", 1, 0, I_FALSE), - NULL); - - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_string", 1, 0, - I_FALSE), NULL)); -} - -UTL_ScopedName * -be_string::compute_tc_name (const char *prefix, const char *suffix) -{ - return be_type::compute_tc_name (prefix, suffix); -} - -int -be_string::accept (be_visitor *visitor) -{ - return visitor->visit_string (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_string, AST_String, be_type) -IMPL_NARROW_FROM_DECL (be_string) diff --git a/TAO/TAO_IDL/be/be_structure.cpp b/TAO/TAO_IDL/be/be_structure.cpp deleted file mode 100644 index a926adf8fcd..00000000000 --- a/TAO/TAO_IDL/be/be_structure.cpp +++ /dev/null @@ -1,671 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_structure.cpp -// -// = DESCRIPTION -// Extension of class AST_Structure that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_structure, "$Id$") - - -/* - * BE_Structure - */ -be_structure::be_structure (void) -{ -} - -be_structure::be_structure (UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl (AST_Decl::NT_struct, n, p), - UTL_Scope (AST_Decl::NT_struct), - member_count_ (-1) -{ -} - -// compute total number of members -int -be_structure::compute_member_count (void) -{ - UTL_ScopeActiveIterator *si; // iterator - - this->member_count_ = 0; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - this->member_count_++; - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// return the member count -int -be_structure::member_count (void) -{ - if (this->member_count_ == -1) - this->compute_member_count (); - - return this->member_count_; -} - -// generate the _var definition for ourself -int -be_structure::gen_var_defn (char *) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - // constr - *ch << namebuf << " (" << local_name () << " *);" << nl; - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << " *);" << nl; - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - - // arrow operator - *ch << local_name () << " *operator-> (void);" << nl; - *ch << "const " << local_name () << " *operator-> (void) const;" << nl; - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - *ch << "operator const " << local_name () << " &() const;" << nl; - *ch << "operator " << local_name () << " &();" << nl; - *ch << "operator " << local_name () << " &() const;" << nl; - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - if (this->size_type () == be_decl::FIXED) - { - *ch << "const " << local_name () << " &in (void) const;" << nl; - *ch << local_name () << " &inout (void);" << nl; - *ch << local_name () << " &out (void);" << nl; - *ch << local_name () << " _retn (void);" << nl; - } - else - { - *ch << "const " << local_name () << " &in (void) const;" << nl; - *ch << local_name () << " &inout (void);" << nl; - *ch << local_name () << " *&out (void);" << nl; - *ch << local_name () << " *_retn (void);" << nl; - } - - // generate an additional member function that returns the underlying pointer - *ch << local_name () << " *ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // generate the private section - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << " *ptr_;\n"; - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_structure::gen_var_impl (char *, char *) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << " " << ": ptr_ (0)" << nl; - *ci << "{}\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << " *p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (p.ptr_)" << nl; - *ci << " this->ptr_ = new " << this->name () << "(*p.ptr_);" << nl; - *ci << "else" << nl; - *ci << " this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from a pointer - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << name () << - " *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = new " << this->name () << " (*p.ptr_);\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // two arrow operators - ci->indent (); - *ci << "ACE_INLINE const " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - 3 cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - " &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << " &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << " &() const// cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE const " << name () << " &" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << " &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the out is handled differently based on our size type - ci->indent (); - if (this->size_type () == be_decl::VARIABLE) - { - *ci << "// mapping for variable size " << nl; - *ci << "ACE_INLINE " << name () << " *&" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << " *" << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << this->name () << " *tmp = this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return tmp;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - } - else - { - *ci << "// mapping for fixed size " << nl; - *ci << "ACE_INLINE " << name () << " &" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - } - - // the additional ptr () member function - ci->indent (); - *ci << "ACE_INLINE " << name () << " *" << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// generate the _out definition -int -be_structure::gen_out_defn (char *) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << local_name () << " *&);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (const " << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // assignment - *ch << namebuf << " &operator= (" << local_name () << " *);" << nl; - // operator () - *ch << "operator " << local_name () << " *&();" << nl; - // ptr fn - *ch << local_name () << " *&ptr (void);" << nl; - // operator -> - *ch << local_name () << " *operator-> (void);" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << " *&ptr_;" << nl; - *ch << "// assignment from T_var not allowed" << nl; - *ch << "void operator= (const " << local_name () << "_var &);\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - return 0; -} - -int -be_structure::gen_out_impl (char *, char *) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the var implementation in the inline file - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << " *&p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << " : ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (ACE_const_cast (" << fname << "&,p).ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = ACE_const_cast (" << fname << "&,p).ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment from _var is not allowed by a private declaration - - // assignment operator from pointer - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - " *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - " *&() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *&" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator -> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - - return 0; -} - -// compute the size type of the node in question -int -be_structure::compute_size_type (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - // our sizetype depends on the sizetype of our members. Although - // previous value of sizetype may get overwritten, we are - // guaranteed by the "size_type" call that once the value reached - // be_decl::VARIABLE, nothing else can overwrite it. - this->size_type (bd->size_type ()); - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_structure::compute_size_type - " - "narrow_from_decl returned 0\n")); - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// Are we or the parameter node involved in any recursion -idl_bool -be_structure::in_recursion (be_type *node) -{ - if (!node) - { - // we are determining the recursive status for ourselves - node = this; - } - - // proceed if the number of members in our scope is greater than 0 - if (this->nmembers () > 0) - { - // initialize an iterator to iterate thru our scope - UTL_ScopeActiveIterator *si; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (this, - UTL_Scope::IK_decls), - -1); - // continue until each element is visited - while (!si->is_done ()) - { - be_field *field = be_field::narrow_from_decl (si->item ()); - if (!field) - // This will be an enum value or other legitimate non-field - // member - in any case, no recursion. - { - si->next (); - continue; - } - be_type *type = be_type::narrow_from_decl (field->field_type ()); - if (!type) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_structure::") - ASYS_TEXT ("in_recursion - ") - ASYS_TEXT ("bad field type\n")), - 0); - } - if (type->in_recursion (node)) - { - delete si; - return 1; - } - si->next (); - } // end of while loop - delete si; - } // end of if - - // not in recursion - return 0; -} - -int -be_structure::accept (be_visitor *visitor) -{ - return visitor->visit_structure (this); -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_structure, AST_Structure, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_structure) -IMPL_NARROW_FROM_SCOPE (be_structure) diff --git a/TAO/TAO_IDL/be/be_sunsoft.cpp b/TAO/TAO_IDL/be/be_sunsoft.cpp deleted file mode 100644 index 86cea07d781..00000000000 --- a/TAO/TAO_IDL/be/be_sunsoft.cpp +++ /dev/null @@ -1,165 +0,0 @@ -// $Id$ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" -#include "be_sunsoft.h" - -ACE_RCSID(be, be_sunsoft, "$Id$") - - -TAO_SunSoft_OutStream::TAO_SunSoft_OutStream (void) - : TAO_OutStream () -{ -} - -TAO_SunSoft_OutStream::~TAO_SunSoft_OutStream (void) -{ -} - -TAO_OutStream & -TAO_SunSoft_OutStream::print (Identifier *id) -{ - ACE_OS::fprintf (this->fp_, id->get_string ()); - return *this; -} - -TAO_OutStream & -TAO_SunSoft_OutStream::print (UTL_IdList *idl) -{ - UTL_IdListActiveIterator *i = new UTL_IdListActiveIterator (idl); - long first = I_TRUE; - long second = I_FALSE; - - while (!(i->is_done ())) - { - if (!first) - *this << "::"; - else if (second) - first = second = I_FALSE; - // print the identifier - *this << i->item (); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - return *this; -} - -TAO_OutStream& -TAO_SunSoft_OutStream::print (AST_Expression *expr) -{ - AST_Expression::AST_ExprValue *ev = expr->ev (); - - if (ev) - { - switch (ev->et) - { - case AST_Expression::EV_short: - this->TAO_OutStream::print ("%hd", ev->u.sval); - break; - case AST_Expression::EV_ushort: - this->TAO_OutStream::print ("%hu", ev->u.usval); - break; - case AST_Expression::EV_long: - this->TAO_OutStream::print ("%ld", ev->u.lval); - break; - case AST_Expression::EV_ulong: - this->TAO_OutStream::print ("%u", ev->u.ulval); - break; - case AST_Expression::EV_longlong: -#if ! defined (ACE_LACKS_LONGLONG_T) - this->TAO_OutStream::print ("%ld", ev->u.llval); -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - break; - case AST_Expression::EV_ulonglong: -#if ! defined (ACE_LACKS_LONGLONG_T) - this->TAO_OutStream::print ("%u", ev->u.ullval); -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - break; - case AST_Expression::EV_float: - this->TAO_OutStream::print ("%f%c", ev->u.fval, 'f'); - break; - case AST_Expression::EV_double: - this->TAO_OutStream::print ("%f", ev->u.dval); - break; - case AST_Expression::EV_longdouble: - break; - case AST_Expression::EV_char: - // isprint() sees \ and ' as printable characters - // so we have to test for them first. - if (ev->u.cval == '\\') - this->TAO_OutStream::print ("'\\\\'"); - else if (ev->u.cval == '\'') - this->TAO_OutStream::print ("'\\''"); - - // This handles hex and octal escape sequences - // that would print out either as weird characters - // or as an unsigned number too large for a char. - else if ((unsigned char) ev->u.cval > ACE_CHAR_MAX) - this->TAO_OutStream::print ("%hd", ev->u.cval); - else if (isprint (ev->u.cval)) - this->TAO_OutStream::print ("'%c'", ev->u.cval); - else if (iscntrl (ev->u.cval)) - switch (ev->u.cval) - { - case '\n': - this->TAO_OutStream::print ("'\\n'"); - break; - case '\t': - this->TAO_OutStream::print ("'\\t'"); - break; - case '\r': - this->TAO_OutStream::print ("'\\r'"); - break; - case '\v': - this->TAO_OutStream::print ("'\\v'"); - break; - case '\f': - this->TAO_OutStream::print ("'\\f'"); - break; - case '\b': - this->TAO_OutStream::print ("'\\b'"); - break; - case '\a': - this->TAO_OutStream::print ("'\\a'"); - break; - case '\?': - this->TAO_OutStream::print ("'?'"); - break; - default: - this->TAO_OutStream::print ("'\\x%x'", ev->u.cval); - } - else - this->TAO_OutStream::print ("'\\x%x'", ev->u.cval); - break; - case AST_Expression::EV_wchar: - this->TAO_OutStream::print ("%ld", ev->u.wcval); - break; - case AST_Expression::EV_octet: - this->TAO_OutStream::print ("%d", ev->u.oval); - break; - case AST_Expression::EV_bool: - this->TAO_OutStream::print ("%ld", ev->u.bval); - break; - case AST_Expression::EV_string: - this->TAO_OutStream::print ("\"%s\"", ev->u.strval->get_string ()); - break; - case AST_Expression::EV_wstring: - break; - default: - break; - } - } - else // - { - // XXXASG: need to add code here - } - return *this; -} diff --git a/TAO/TAO_IDL/be/be_type.cpp b/TAO/TAO_IDL/be/be_type.cpp deleted file mode 100644 index 279348d9008..00000000000 --- a/TAO/TAO_IDL/be/be_type.cpp +++ /dev/null @@ -1,389 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_type.cpp -// -// = DESCRIPTION -// Extension of class AST_Type that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_type, "$Id$") - - -/* - * BE_Type - */ - -be_type::be_type (void) - : tc_name_ (0), - type_name_ (0), - nested_type_name_ (0) -{ -} - -be_type::be_type (AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl (nt, n, p), - tc_name_ (0), - type_name_ (0), - nested_type_name_ (0) -{ -} - -be_type::~be_type (void) -{ - if (this->nested_type_name_ != 0) - { - delete[] this->nested_type_name_; - this->nested_type_name_ = 0; - } -} - -// compute the typecode name. The idea is to use the fully scoped name, -// however, prepend a _tc_ to the last component. A slightly different approach -// is required of the predefined types. Hence this method is overridden for -// predefined types. - -void -be_type::compute_tc_name (void) -{ - static char namebuf [NAMEBUFSIZE]; - UTL_ScopedName *n; - - this->tc_name_ = NULL; - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - n = this->name (); - while (n->tail () != NULL) - { - if (!this->tc_name_) - { - // does not exist - this->tc_name_ = new UTL_ScopedName (n->head (), NULL); - } - else - { - this->tc_name_->nconc (new UTL_ScopedName (n->head (), NULL)); - } - n = (UTL_ScopedName *)n->tail (); - } - ACE_OS::sprintf (namebuf, "_tc_%s", n->last_component ()->get_string ()); - if (!this->tc_name_) - { - // does not exist - this->tc_name_ = new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, 0, I_FALSE), NULL); - } - else - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, - 0, I_FALSE), NULL)); - } - - return; -} - -UTL_ScopedName * -be_type::compute_tc_name (const char *prefix, const char *suffix) -{ - // Both prefix and suffix has to be valid. Else return. - if (prefix == 0 || suffix == 0) - return 0; - - static char namebuf [NAMEBUFSIZE]; - UTL_ScopedName *n; - - UTL_ScopedName *result = NULL; - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - n = this->name (); - while (n->tail () != NULL) - { - if (!result) - { - // does not exist - result = new UTL_ScopedName (n->head (), NULL); - } - else - { - result->nconc (new UTL_ScopedName (n->head (), NULL)); - } - n = (UTL_ScopedName *)n->tail (); - } - - ACE_OS::sprintf (namebuf, - "_tc_%s%s%s", - prefix, - n->last_component ()->get_string (), - suffix); - - if (!result) - { - // does not exist - result = new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, 0, I_FALSE), NULL); - } - else - { - result->nconc (new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, - 0, I_FALSE), NULL)); - } - - return result; -} - -// retrieve typecode name -UTL_ScopedName * -be_type::tc_name (const char *prefix, const char *suffix) -{ - if (prefix != 0 && suffix != 0) - { - // Just compute and return the name. - return compute_tc_name (prefix, suffix); - } - - // Compute and init the member. - if (!this->tc_name_) - compute_tc_name (); - - return this->tc_name_; -} - -// XXXASG - This code works. However, whether we should generate the -// ACE_NESTED_CLASS macro or not should be based on an option to the -// compiler. In this version, we choose to generate a relative path. - -// return the type name using the ACE_NESTED_CLASS macro -const char * -be_type::nested_type_name (be_decl *use_scope, const char *suffix, const char *prefix) -{ - // some compilers do not like generating a fully scoped name for a type that - // was defined in the same enclosing scope in which it was defined. For such, - // we emit a macro defined in the ACE library. - // - - // The tricky part here is that it is not enough to check if the - // typename we are using was defined in the current scope. But we - // need to ensure that it was not defined in any of our ancestor - // scopes as well. If that is the case, then we can generate a fully - // scoped name for that type, else we use the ACE_NESTED_CLASS macro - - // thus we need some sort of relative name to be generated - - if (this->nested_type_name_ == 0) - ACE_NEW_RETURN (this->nested_type_name_, char[NAMEBUFSIZE], 0); - - be_decl *def_scope = 0; // our defining scope - char // hold the fully scoped name - def_name [NAMEBUFSIZE], - use_name [NAMEBUFSIZE]; - char // these point to the prev, curr and next component in the scope - *def_curr = def_name, - *def_next = 0, - *use_curr = use_name, - *use_next = 0; - - int len_to_match = 0; // how many chars to compare - - // initialize the buffers - ACE_OS::memset (this->nested_type_name_, '\0', NAMEBUFSIZE); - ACE_OS::memset (def_name, '\0', NAMEBUFSIZE); - ACE_OS::memset (use_name, '\0', NAMEBUFSIZE); - - // traverse every component of the def_scope and use_scope beginning at the - // root and proceeding towards the leaf trying to see if the components - // match. Continue until there is a match and keep accumulating the path - // traversed. This forms the first argument to the ACE_NESTED_CLASS - // macro. Whenever there is no match, the remaining components of the - // def_scope form the second argument. - - def_scope = ((this->defined_in ())? - (be_scope::narrow_from_scope (this->defined_in ())->decl ()): - 0); - - if (def_scope && def_scope->node_type () != AST_Decl::NT_root && use_scope) - // if both scopes exist and that we are not in the root scope - { - ACE_OS::strcpy (def_name, def_scope->fullname ()); - ACE_OS::strcpy (use_name, use_scope->fullname ()); - - // find the first occurrence of a :: and advance the next pointers accordingly - def_next = ACE_OS::strstr (def_curr, "::"); - use_next = ACE_OS::strstr (use_curr, "::"); - - if (def_next) - len_to_match = ACE_OS::strlen (def_curr) - - ACE_OS::strlen (def_next); - else - len_to_match = ACE_OS::strlen (def_curr); - - if (use_next) - { - int len = ACE_OS::strlen (use_curr) - - ACE_OS::strlen (use_next); - if (len > len_to_match) - len_to_match = len; - } - else - { - int len = ACE_OS::strlen (def_curr); - if (len > len_to_match) - len_to_match = len; - } - - if (!ACE_OS::strncmp (def_curr, use_curr, len_to_match)) - { - // initial prefix matches i.e., they have a common root - // start by initializing the macro - - //@@ ACE_OS::sprintf (this->nested_type_name_, "ACE_NESTED_CLASS ("); - //@@ ACE_OS::strcat (this->nested_type_name_, def_curr, - //len_to_match); // initialize the first argument - - // shift the curr scopes to the next level - def_curr = (def_next ? (def_next + 2) : 0); // skip the :: - use_curr = (use_next ? (use_next + 2) : 0); // skip the :: - - while (def_curr && use_curr) - { - // find the first occurrence of a :: and advance the next pointers accordingly - def_next = ACE_OS::strstr (def_curr, "::"); - use_next = ACE_OS::strstr (use_curr, "::"); - - if (def_next) - len_to_match = ACE_OS::strlen (def_curr) - - ACE_OS::strlen (def_next); - else - len_to_match = ACE_OS::strlen (def_curr); - - if (use_next) - { - int len = ACE_OS::strlen (use_curr) - - ACE_OS::strlen (use_next); - if (len > len_to_match) - len_to_match = len; - } - else - { - int len = ACE_OS::strlen (def_curr); - if (len > len_to_match) - len_to_match = len; - } - - if (!ACE_OS::strncmp (def_curr, use_curr, len_to_match)) - { - // they have same prefix, append to arg1 - //@@ ACE_OS::strcat (this->nested_type_name_, "::"); - //@@ ACE_OS::strncat (this->nested_type_name_, def_curr, - //len_to_match); - def_curr = (def_next ? (def_next + 2) : 0); // skip the :: - use_curr = (use_next ? (use_next + 2) : 0); // skip the :: - } - else - { - // no match. This is the end of the first argument. Get out - // of the loop as no more comparisons are necessary - break; - } - } - - // start the 2nd argument of the macro - //@@ ACE_OS::strcat (this->nested_type_name_, ", "); - - // copy the remaining def_name (if any left) - if (def_curr) - { - ACE_OS::strcat (this->nested_type_name_, def_curr); - ACE_OS::strcat (this->nested_type_name_, "::"); - } - - // append our local name - if (prefix) - ACE_OS::strcat (this->nested_type_name_, prefix); - ACE_OS::strcat (this->nested_type_name_, this->local_name ()->get_string ()); - if (suffix) - ACE_OS::strcat (this->nested_type_name_, suffix); - //@@ ACE_OS::strcat (this->nested_type_name_, ")"); - return this->nested_type_name_; - } // end of if the root prefixes match - } - - // otherwise just emit our fullname - if (prefix) - ACE_OS::strcat (this->nested_type_name_, prefix); - ACE_OS::strcat (this->nested_type_name_, this->fullname ()); - if (suffix) - ACE_OS::strcat (this->nested_type_name_, suffix); - - return this->nested_type_name_; -} - -// ***************************** -// CODE GENERATION -// ***************************** - -// generate the _var definition for ourself -int -be_type::gen_var_defn (char *) -{ - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_type::gen_var_impl (char *, char *) -{ - return 0; -} - -// generate the _out definition -int -be_type::gen_out_defn (char *) -{ - return 0; -} - -int -be_type::gen_out_impl (char *, char *) -{ - return 0; -} - -AST_Decl::NodeType -be_type::base_node_type (void) const -{ - return ACE_const_cast(be_type*, this)->node_type (); -} - -idl_bool -be_type::in_recursion (be_type *) -{ - // be default we are not involved in recursion - return 0; -} - -int -be_type::accept (be_visitor *visitor) -{ - return visitor->visit_type (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_type, AST_Type, be_decl) -IMPL_NARROW_FROM_DECL (be_type) diff --git a/TAO/TAO_IDL/be/be_typedef.cpp b/TAO/TAO_IDL/be/be_typedef.cpp deleted file mode 100644 index 5fa56ef674b..00000000000 --- a/TAO/TAO_IDL/be/be_typedef.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_typedef.cpp -// -// = DESCRIPTION -// Extension of class AST_Typedef that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_typedef, "$Id$") - - -be_typedef::be_typedef (void) -{ -} - -be_typedef::be_typedef (AST_Type *bt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Typedef (bt, n, p), - AST_Decl (AST_Decl::NT_typedef, n, p) -{ -} - -// given a typedef node, traverse the chain of base types until they are no -// more typedefs, and return that most primitive base type -be_type * -be_typedef::primitive_base_type (void) -{ - be_type *d; - - d = this; - while (d && d->node_type () == AST_Decl::NT_typedef) - { - be_typedef *temp; // temporary - - temp = be_typedef::narrow_from_decl (d); - d = be_type::narrow_from_decl (temp->base_type ()); - } - return d; -} - -// compute the size type of the node in question -int -be_typedef::compute_size_type (void) -{ - be_type *type = be_type::narrow_from_decl (this->base_type ()); - if (!type) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_typedef::compute_size_type - " - "bad base type\n"), -1); - } - - // our size type is the same as our type - this->size_type (type->size_type ()); - return 0; -} - -AST_Decl::NodeType be_typedef::base_node_type (void) const -{ - be_type *base = be_type::narrow_from_decl (ACE_const_cast(be_typedef*, this)->base_type ()); - return base->base_node_type (); -} - -int -be_typedef::accept (be_visitor *visitor) -{ - return visitor->visit_typedef (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_typedef, AST_Typedef, be_type) -IMPL_NARROW_FROM_DECL (be_typedef) diff --git a/TAO/TAO_IDL/be/be_union.cpp b/TAO/TAO_IDL/be/be_union.cpp deleted file mode 100644 index 4aa4baa22fe..00000000000 --- a/TAO/TAO_IDL/be/be_union.cpp +++ /dev/null @@ -1,1045 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_union.cpp -// -// = DESCRIPTION -// Extension of class AST_Union that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_union, "$Id$") - - -/* - * BE_Union - */ - -be_union::be_union (void) -{ -} - -be_union::be_union (AST_ConcreteType *dt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Union (dt, n, p), - AST_Structure (AST_Decl::NT_union, n, p), - AST_Decl (AST_Decl::NT_union, n, p), - UTL_Scope (AST_Decl::NT_union), - member_count_ (-1), - default_index_ (-2) -{ - this->default_value_.computed_ = -2; -} - -// compute total number of members -int -be_union::compute_member_count (void) -{ - UTL_ScopeActiveIterator *si; // iterator - - this->member_count_ = 0; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - this->member_count_++; - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// compute total number of members -int -be_union::compute_default_index (void) -{ - UTL_ScopeActiveIterator *si; // iterator - AST_Decl *d; // temp node - be_union_branch *bub; // union branch node - int i = 0; // counter - - // if default case does not exist, it will have a value of -1 according to - // the spec - this->default_index_ = -1; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - bub = be_union_branch::narrow_from_decl (d); - for (unsigned long j = 0; - j < bub->label_list_length (); - ++j) - { - // check if we are printing the default case - if (bub->label (j)->label_kind () - == AST_UnionLabel::UL_default) - this->default_index_ = i; // zero based indexing - i++; - } - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// return the member count -int -be_union::member_count (void) -{ - if (this->member_count_ == -1) - this->compute_member_count (); - - return this->member_count_; -} - -// return the default_index -int -be_union::default_index (void) -{ - if (this->default_index_ == -2) - this->compute_default_index (); - - return this->default_index_; -} - -// generate the _var definition for ourself -int -be_union::gen_var_defn (char *) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - // constr - *ch << namebuf << " (" << local_name () << " *);" << nl; - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << " *);" << nl; - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - - // arrow operator - *ch << local_name () << " *operator-> (void);" << nl; - *ch << "const " << local_name () << " *operator-> (void) const;" << nl; - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - *ch << "operator const " << local_name () << " &() const;" << nl; - *ch << "operator " << local_name () << " &();" << nl; - *ch << "operator " << local_name () << " &() const;" << nl; - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - if (this->size_type () == be_decl::FIXED) - { - *ch << "const " << local_name () << " &in (void) const;" << nl; - *ch << local_name () << " &inout (void);" << nl; - *ch << local_name () << " &out (void);" << nl; - *ch << local_name () << " _retn (void);" << nl; - } - else - { - *ch << "const " << local_name () << " &in (void) const;" << nl; - *ch << local_name () << " &inout (void);" << nl; - *ch << local_name () << " *&out (void);" << nl; - *ch << local_name () << " *_retn (void);" << nl; - } - - // generate an additional member function that returns the underlying pointer - *ch << local_name () << " *ptr(void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // generate the private section - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << " *ptr_;\n"; - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_union::gen_var_impl (char *, char *) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << " " << ": ptr_ (0)" << nl; - *ci << "{}\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << " *p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (p.ptr_)" << nl; - *ci << " this->ptr_ = new " << this->name () << "(*p.ptr_);" << nl; - *ci << "else" << nl; - *ci << " this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from a pointer - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << name () << - " *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = new " << this->name () << " (*p.ptr_);\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // two arrow operators - ci->indent (); - *ci << "ACE_INLINE const " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - 3 cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - " &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << " &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << " &() const// cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE const " << name () << " &" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << " &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the out is handled differently based on our size type - ci->indent (); - if (this->size_type () == be_decl::VARIABLE) - { - *ci << "// mapping for variable size " << nl; - *ci << "ACE_INLINE " << name () << " *&" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << " *" << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << this->name () << " *tmp = this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return tmp;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - } - else - { - *ci << "// mapping for fixed size " << nl; - *ci << "ACE_INLINE " << name () << " &" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the additional ptr () member function - ci->indent (); - *ci << "ACE_INLINE " << name () << " *" << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - } - - return 0; -} - -// generate the _out definition -int -be_union::gen_out_defn (char *) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << local_name () << " *&);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (const " << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // assignment - *ch << namebuf << " &operator= (" << local_name () << " *);" << nl; - // operator () - *ch << "operator " << local_name () << " *&();" << nl; - // ptr fn - *ch << local_name () << " *&ptr (void);" << nl; - // operator -> - *ch << local_name () << " *operator-> (void);" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << " *&ptr_;" << nl; - *ch << "// assignment from T_var not allowed" << nl; - *ch << "void operator= (const " << local_name () << "_var &);\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - return 0; -} - -int -be_union::gen_out_impl (char *, char *) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the var implementation in the inline file - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << " *&p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << " : ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (ACE_const_cast (" << fname << "&,p).ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = ACE_const_cast (" << fname << "&,p).ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment from _var is not allowed by a private declaration - - // assignment operator from pointer - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - " *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - " *&() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *&" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator -> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - - return 0; -} - -// compute the size type of the node in question -int -be_union::compute_size_type (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - // our sizetype depends on the sizetype of our members. Although - // previous value of sizetype may get overwritten, we are - // guaranteed by the "size_type" call that once the value reached - // be_decl::VARIABLE, nothing else can overwrite it. - this->size_type (bd->size_type ()); - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_union::compute_size_type - " - "narrow_from_decl returned 0\n")); - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// Are we or the parameter node involved in any recursion -idl_bool -be_union::in_recursion (be_type *node) -{ - if (!node) - { - // we are determining the recursive status for ourselves - node = this; - } - - // proceed if the number of members in our scope is greater than 0 - if (this->nmembers () > 0) - { - // initialize an iterator to iterate thru our scope - UTL_ScopeActiveIterator *si; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (this, - UTL_Scope::IK_decls), - -1); - // continue until each element is visited - while (!si->is_done ()) - { - be_union_branch *field = be_union_branch::narrow_from_decl (si->item ()); - if (!field) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_union::") - ASYS_TEXT ("in_recursion - ") - ASYS_TEXT ("bad field node\n")), - 0); - } - be_type *type = be_type::narrow_from_decl (field->field_type ()); - if (!type) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_union::") - ASYS_TEXT ("in_recursion - ") - ASYS_TEXT ("bad field type\n")), - 0); - } - if (type->in_recursion (node)) - { - delete si; - return 1; - } - si->next (); - } // end of while loop - delete si; - } // end of if - - // not in recursion - return 0; -} - -// return the default value -int -be_union::default_value (be_union::DefaultValue &dv) -{ - if (this->default_value_.computed_ == -2) - { - // we need to compute it - if (this->compute_default_value () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_union::") - ASYS_TEXT ("default_value - ") - ASYS_TEXT ("Error computing ") - ASYS_TEXT ("default value\n")), - -1); - } - } - dv = this->default_value_; - return 0; -} - -// determine the implicit default value (if any) -int -be_union::compute_default_value (void) -{ - // check if we really need a default value. This will be true if there is an - // explicit default case OR if an implicit default exists because not all - // values of the discriminant type are covered by the cases. - - // compute the total true "case" labels i.e., exclude the "default" case - int total_case_members = 0; - - // instantiate a scope iterator. - UTL_ScopeActiveIterator *si - = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - while (!(si->is_done ())) - { - // get the next AST decl node - be_union_branch *ub = be_union_branch::narrow_from_decl (si->item ()); - if (ub) - { - // if the label is a case label, increment by 1 - for (unsigned long i = 0; - i < ub->label_list_length (); - ++i) - { - if (ub->label (i)->label_kind () == - AST_UnionLabel::UL_label) - total_case_members++; - } - } - si->next (); - } - delete si; - - // Check if the total_case_members cover the entire - // range of values that are permitted by the discriminant type. If they do, - // then a default value is not necessary. However, if such an explicit - // default case is provided, it must be flagged off as an error. Our - // front-end is not able to handle such a case since it is a semantic error - // and not a syntax error. Such an error is caught here. - - switch (this->udisc_type ()) - { - case AST_Expression::EV_short: - case AST_Expression::EV_ushort: - if (total_case_members == ACE_UINT16_MAX+1) - this->default_value_.computed_ = 0; - break; - case AST_Expression::EV_long: - case AST_Expression::EV_ulong: - if ((unsigned int) total_case_members > ACE_UINT32_MAX) - this->default_value_.computed_ = 0; - break; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - // error for now - this->default_value_.computed_ = -1; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_union::compute_default_value ") - ASYS_TEXT ("- unimplemented discriminant type ") - ASYS_TEXT ("(longlong or ulonglong)\n")), - -1); - ACE_NOTREACHED (break;) - case AST_Expression::EV_char: - if (total_case_members == ACE_OCTET_MAX+1) - this->default_value_.computed_ = 0; - break; - case AST_Expression::EV_bool: - if (total_case_members == 2) - this->default_value_.computed_ = 0; - break; - case AST_Expression::EV_any: - // has to be enum - { - be_decl *d = be_decl::narrow_from_decl (this->disc_type ()); - if (d->node_type () == AST_Decl::NT_typedef) - { - be_typedef *bt = be_typedef::narrow_from_decl (d); - d = bt->primitive_base_type (); - } - be_enum *en = be_enum::narrow_from_decl (d); - if (en) - { - if (total_case_members == en->member_count ()) - this->default_value_.computed_ = 0; - } - else - { - // error - this->default_value_.computed_ = -1; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_union::") - ASYS_TEXT ("compute_default_value ") - ASYS_TEXT ("- disc type not an ENUM\n")), - -1); - } - } - break; - default: - // error - this->default_value_.computed_ = -1; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_union::compute_default_value ") - ASYS_TEXT ("- Bad discriminant type\n")), - -1); - ACE_NOTREACHED (break;) - } // end of switch - - // if we have determined that we don't need a default case and even then a - // default case was provided, flag this off as error - if ((this->default_value_.computed_ == 0) && - (this->default_index () != -1)) - { - // error - this->default_value_.computed_ = -1; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_union::compute_default_value ") - ASYS_TEXT ("- default clause is invalid here\n")), - -1); - } - - // proceed only if necessary - switch (this->default_value_.computed_) - { - case -1: - // error. We should never be here because errors have already been caught - // above - return -1; - case 0: - // nothing more to do - return 0; - default: - // proceed further down - break; - } - - // initialization of the default value data member - switch (this->udisc_type ()) - { - case AST_Expression::EV_short: - this->default_value_.u.short_val = ACE_INT16_MIN; - break; - case AST_Expression::EV_ushort: - this->default_value_.u.ushort_val = 0; - break; - case AST_Expression::EV_long: - this->default_value_.u.long_val = ACE_INT32_MIN; - break; - case AST_Expression::EV_ulong: - this->default_value_.u.ulong_val = 0; - break; - case AST_Expression::EV_char: - this->default_value_.u.char_val = 0; - break; - case AST_Expression::EV_bool: - this->default_value_.u.bool_val = 0; - break; - case AST_Expression::EV_any: - this->default_value_.u.enum_val = 0; - break; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - // unimplemented - default: - // error caught earlier. - break; - } // end of switch - - // proceed until we have found the appropriate default value - while (this->default_value_.computed_ == -2) - { - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - int break_loop = 0; - - while (!(si->is_done ()) && !break_loop) - { - // get the next AST decl node - be_union_branch *ub = be_union_branch::narrow_from_decl (si->item ()); - if (ub) - { - for (unsigned long i = 0; - i < ub->label_list_length () && !break_loop; - ++i) - { - if (ub->label (i)->label_kind () == AST_UnionLabel::UL_label) - { - // not a default - AST_Expression *expr = ub->label (i)->label_val (); - if (!expr) - { - // error - this->default_value_.computed_ = -1; - ACE_ERROR_RETURN - ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_union::") - ASYS_TEXT ("compute_default_value - ") - ASYS_TEXT ("Bad case label value\n")), - -1); - } - - switch (expr->ev ()->et) - { - // check if they match in which case this - // cannot be the implicit default value. So - // start with a new value and try the whole loop - // again because our case labels may not be sorted - case AST_Expression::EV_short: - if (this->default_value_.u.short_val - == expr->ev ()->u.sval) - { - this->default_value_.u.short_val++; - break_loop = 1; - } - break; - case AST_Expression::EV_ushort: - if (this->default_value_.u.ushort_val - == expr->ev ()->u.usval) - { - this->default_value_.u.ushort_val++; - break_loop = 1; - } - break; - case AST_Expression::EV_long: - if (this->default_value_.u.long_val - == expr->ev ()->u.lval) - { - this->default_value_.u.long_val++; - break_loop = 1; - } - break; - case AST_Expression::EV_ulong: - if (this->default_value_.u.ulong_val - == expr->ev ()->u.ulval) - { - this->default_value_.u.ulong_val++; - break_loop = 1; - } - break; - case AST_Expression::EV_char: - if (this->default_value_.u.char_val - == expr->ev ()->u.cval) - { - this->default_value_.u.char_val++; - break_loop = 1; - } - break; - case AST_Expression::EV_bool: - if (this->default_value_.u.bool_val - == expr->ev ()->u.bval) - { - this->default_value_.u.bool_val++; - break_loop = 1; - } - break; - case AST_Expression::EV_any: - // this is the case of enums. We maintain - // evaluated values which always start with 0 - if (this->default_value_.u.enum_val - == expr->ev ()->u.eval) - { - this->default_value_.u.enum_val++; - break_loop = 1; - } - break; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - // unimplemented. right now flag as error. - default: - // error - break; - } // end of switch - } // if label_Kind == label - } // end of for loop going thru all labels - } // if valid union branch - si->next (); - } // end of while scope iterator loop - delete si; // free the iterator object - - // we have not aborted the inner loops which means we have found the - // default value - if (!break_loop) - this->default_value_.computed_ = 1; - - } // end of outer while - - return 0; -} - -// visitor method - -int -be_union::accept (be_visitor *visitor) -{ - return visitor->visit_union (this); -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_union, AST_Union, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_union) -IMPL_NARROW_FROM_SCOPE (be_union) diff --git a/TAO/TAO_IDL/be/be_union_branch.cpp b/TAO/TAO_IDL/be/be_union_branch.cpp deleted file mode 100644 index 2328d31b26d..00000000000 --- a/TAO/TAO_IDL/be/be_union_branch.cpp +++ /dev/null @@ -1,110 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_union_branch.cpp -// -// = DESCRIPTION -// Extension of class AST_UnionBranch that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_union_branch, "$Id$") - - -/* - * BE_UnionBranch - */ -be_union_branch::be_union_branch (void) -{ -} - -be_union_branch::be_union_branch (UTL_LabelList *ll, AST_Type *ft, - UTL_ScopedName *n, UTL_StrList *p) - : AST_UnionBranch (ll, ft, n, p), - AST_Field (AST_Decl::NT_union_branch, ft, n, p), - AST_Decl (AST_Decl::NT_union_branch, n, p) -{ -} - -// compute the size type of the node in question -int -be_union_branch::compute_size_type (void) -{ - be_type *type = be_type::narrow_from_decl (this->field_type ()); - if (!type) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_field::compute_size_type - " - "bad field type\n"), -1); - } - - // our size type is the same as our type - this->size_type (type->size_type ()); // as a side effect will also update - // the size type of parent - return 0; -} - -int -be_union_branch::gen_label_value (TAO_OutStream *os, unsigned long index) -{ - AST_Expression *e = this->label (index)->label_val (); - if (e->ec () != AST_Expression::EC_symbol) - { - // Easy, just a number... - *os << e; - return 0; - } - - // If the enum is not in the global scope we have to prefix it. - be_union *u = - be_union::narrow_from_scope (this->defined_in ()); - if (u == 0) - return -1; - - be_type* dt = - be_type::narrow_from_decl (u->disc_type ()); - if (dt == 0) - return -1; - - // Find where was the enum defined, if it was defined in the globa - // scope, then it is easy to generate the enum values.... - be_scope* scope = - be_scope::narrow_from_scope (dt->defined_in ()); - if (scope == 0) - { - *os << e->n (); - return 0; - } - - // But if it was generated inside a module or something similar then - // we must prefix the enum value with something... - be_decl* decl = - scope->decl (); - *os << decl->fullname () << "::" << e->n (); - return 0; -} - -int -be_union_branch::accept (be_visitor *visitor) -{ - return visitor->visit_union_branch (this); -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_union_branch, AST_UnionBranch, be_decl) -IMPL_NARROW_FROM_DECL (be_union_branch) diff --git a/TAO/TAO_IDL/be/be_union_label.cpp b/TAO/TAO_IDL/be/be_union_label.cpp deleted file mode 100644 index aeab28d0d56..00000000000 --- a/TAO/TAO_IDL/be/be_union_label.cpp +++ /dev/null @@ -1,27 +0,0 @@ -// -// $Id$ -// -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_union_label, "$Id$") - - -/* - * BE_UnionLabel - */ -be_union_label::be_union_label() -{ -} -be_union_label::be_union_label(AST_UnionLabel::UnionLabel ul, - AST_Expression *v) - : AST_UnionLabel(ul, v) -{ -} - -int -be_union_label::accept (be_visitor *visitor) -{ - return visitor->visit_union_label (this); -} diff --git a/TAO/TAO_IDL/be/be_valuetype.cpp b/TAO/TAO_IDL/be/be_valuetype.cpp deleted file mode 100644 index 0b6c04a7472..00000000000 --- a/TAO/TAO_IDL/be/be_valuetype.cpp +++ /dev/null @@ -1,728 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_valuetype.cpp -// -// = DESCRIPTION -// Extension of class AST_Interface and be_interface that provides -// additional means for C++ mapping of an valuetype. -// -// = AUTHOR -// Torsten Kuepper -// derived from be_interface.cpp -// -// ============================================================================ - - -#include "idl.h" -#include "idl_extern.h" -// #include "be_visitor_valuetype.h" -#include "be.h" - -#ifdef IDL_HAS_VALUETYPE - -ACE_RCSID(be, be_valuetype, "$Id$") - -/* - * BE_Valuetype - */ - -// default constructor -be_valuetype::be_valuetype (void) - : full_obv_skel_name_ (0), - abstract_ (0) -{ - this->size_type (be_decl::VARIABLE); // always the case - (AST_Module::narrow_from_scope (this->defined_in ()))->set_has_nested_valuetype (); -} - -// constructor used to build the AST -be_valuetype::be_valuetype (UTL_ScopedName *n, AST_Interface **ih, long nih, - UTL_StrList *p, idl_bool set_abstract) - : be_interface (n, ih, nih, p), - AST_Interface (n, ih, nih, p), - AST_Decl (AST_Decl::NT_interface, n, p), // its like an interface - UTL_Scope (AST_Decl::NT_interface), - full_obv_skel_name_ (0), - abstract_ (set_abstract) -{ - // check that redefine() copy all members ! - // --- - this->size_type (be_decl::VARIABLE); // always the case - (AST_Module::narrow_from_scope (this->defined_in ()))->set_has_nested_valuetype (); -} - -be_valuetype::~be_valuetype (void) -{ - -} - -void -be_valuetype::redefine (AST_Interface *from, UTL_StrList *p) -{ - this->AST_Interface::redefine (from, p); - abstract_ = from->is_abstract_valuetype(); -} - -// Is true if no-virtual accessor and modifier should be generated -// If #pragma TAO OBV opt_accessor (todo) is used or -Wb,obv_opt_accessor -idl_bool -be_valuetype::opt_accessor () -{ - return idl_global->obv_opt_accessor (); -} - -idl_bool -be_valuetype::is_valuetype () -{ - return 1; -} - -idl_bool -be_valuetype::is_abstract_valuetype () -{ - return abstract_; -} - -void -be_valuetype::set_abstract_valuetype () -{ - abstract_ = 1; -} - -// compute stringified fully scoped skeleton name (OBV_name) -void -be_valuetype::compute_fullobvskelname (void) -{ - this->compute_fullskelname (this->full_obv_skel_name_, "OBV_"); -} - - -// retrieve the fully scoped skeleton name -const char* -be_valuetype::full_obv_skel_name (void) -{ - if (!this->full_obv_skel_name_) - compute_fullobvskelname (); - - return this->full_obv_skel_name_; -} - - - -// generate the var definition -int -be_valuetype::gen_var_defn (char *) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - *ch << namebuf << " (" << local_name () << "*);" << nl; - *ch << namebuf << " (const " << local_name () << "*); // (TAO extension)" << nl; - - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << "*);" << nl; - - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << - " &);" << nl; - - // arrow operator - *ch << local_name () << "* operator-> (void) const;" << nl; - - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - *ch << "operator const " << local_name () << "* () const;" << nl; - *ch << "operator " << local_name () << "* ();" << nl; - -/* %! &() or () ? - *ch << "operator const " << local_name () << "* &() const;" << nl; - *ch << "operator " << local_name () << "* &();" << nl; -*/ - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - *ch << local_name () << "* in (void) const;" << nl; - *ch << local_name () << "* &inout (void);" << nl; - *ch << local_name () << "* &out (void);" << nl; - *ch << local_name () << "* _retn (void);" << nl; - - // generate an additional member function that returns the underlying pointer - *ch << local_name () << "* ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // private - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "* ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_valuetype::gen_var_impl (char *, char *) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << " " << ": ptr_ (0)" << nl; - *ci << "{}\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "* p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // constr from a const pointer - // TAO extension - it appears that there are problems with at least g++ - // which reclaims amguity between T(T*) and T(const T_var &) - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << name () << "* p)" << nl; - *ci << " : ptr_ (ACE_const_cast(" << name() << "*, p))" << nl; - *ci << "{}\n\n"; - - // the additional ptr () member function. This member function must be - // defined before the remaining member functions including the copy - // constructor because this inline function is used elsewhere. Hence to make - // inlining of this function possible, we must define it before its use. - ci->indent (); - *ci << "ACE_INLINE " << name () << "* " << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "{" << be_idt_nl - << "CORBA::add_ref (p.ptr ());" << be_nl - << "this->ptr_ = p.ptr ();" << be_uidt_nl - << "}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::remove_ref (this->ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << name () << - "* p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::remove_ref (this->ptr_);" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::remove_ref (this->ptr_);" << nl - << local_name() << "* tmp = p.ptr ();" << be_nl - << "CORBA::add_ref (tmp);" << be_nl - << "this->ptr_ = tmp;\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - "* () const // cast" << nl; // %! &() ? - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << "* () // cast " << nl; // %! &()? - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << name () << "* " << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE " << name () << "*" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "* &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "* &" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::remove_ref (this->ptr_);" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "* " << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// yield ownership of managed obj reference" << nl; - *ci << local_name () << "* tmp = this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return tmp;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// generate the _out definition -int -be_valuetype::gen_out_defn (char *) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << local_name () << "* &);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (const " << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // only interface allows assignment from var & - *ch << namebuf << " &operator= (const " << local_name () << "_var &);" << nl; - *ch << namebuf << " &operator= (" << local_name () << "*);" << nl; - // cast - *ch << "operator " << local_name () << "* &();" << nl; - // ptr fn - *ch << local_name () << "* &ptr (void);" << nl; - // operator -> - *ch << local_name () << "* operator-> (void);" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "* &ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - return 0; -} - -int -be_valuetype::gen_out_impl (char *, char *) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "* &p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << " : ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::remove_ref (this->ptr_);" << nl; - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (ACE_const_cast (" << fname << "&,p).ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = ACE_const_cast (" << fname << "&,p).ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << this->name () << - "_var &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << local_name() << "* tmp = p.ptr ();" << be_nl - << "CORBA::add_ref (tmp);" << be_nl - << "this->ptr_ = tmp;" << be_nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from * - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "* p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - "* &() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "* &" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "* " << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -#if 0 -// generate typecode. -// Typecode for interface comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_valuetype::gen_typecode (void) -{ - ACE_ASSERT(0); - - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "CORBA::tk_objref, // typecode kind" << nl; - *cs << this->tc_encap_len () << ", // encapsulation length\n"; - // now emit the encapsulation - return this->gen_encapsulation (); -} - -// generate encapsulation -// An encapsulation for ourselves will be necessary when we are part of some -// other IDL type and a typecode for that other type is being generated. This -// will comprise our typecode kind. IDL types with parameters will additionally -// have the encapsulation length and the entire typecode description -int -be_valuetype::gen_encapsulation (void) -{ - ACE_ASSERT (0); - - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - ACE_UINT32 *arr; - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - // XXXASG - byte order must be based on what m/c we are generating code - - // TODO - *cs << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl; - // generate repoID - *cs << (ACE_OS::strlen (this->repoID ())+1) << ", "; - (void)this->tc_name2long (this->repoID (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("ACE_NTOHL (0x%x), ", arr[i]); - } - *cs << " // repository ID = " << this->repoID () << nl; - // generate name - *cs << (ACE_OS::strlen (this->local_name ()->get_string ())+1) << ", "; - (void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("ACE_NTOHL (0x%x), ", arr[i]); - } - *cs << " // name = " << this->local_name () << ",\n"; - - return 0; -} - -// compute size of typecode -long -be_valuetype::tc_size (void) -{ - ACE_ASSERT (0); - - return 4 + 4 + this->tc_encap_len (); -} - -// compute the encapsulation length -long -be_valuetype::tc_encap_len (void) -{ - ACE_ASSERT (0); - - if (this->encap_len_ == -1) // not computed yet - { - long slen; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (slen); - - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // for repoID - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); - - } - return this->encap_len_; -} -#endif - -// for building the pre and postfix of private data fields -const char* -be_valuetype::field_pd_prefix () -{ - return "_pd_"; -} - -const char* -be_valuetype::field_pd_postfix () -{ - return ""; -} - -be_valuetype* -be_valuetype::statefull_inherit () -{ - be_valuetype *rval; - if (this->n_inherits () > 0) - { - rval = be_valuetype::narrow_from_decl (this->inherits ()[0]); - if (rval && (rval->is_valuetype ()) && (!rval->is_abstract_valuetype ())) - return rval; - } - return 0; -} - -// accept a visitor -int -be_valuetype::accept (be_visitor *visitor) -{ - return visitor->visit_valuetype (this); -} - -// Narrowing -IMPL_NARROW_METHODS1 (be_valuetype, be_interface) -IMPL_NARROW_FROM_DECL (be_valuetype) -IMPL_NARROW_FROM_SCOPE (be_valuetype) - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_valuetype_fwd.cpp b/TAO/TAO_IDL/be/be_valuetype_fwd.cpp deleted file mode 100644 index a7a1d35ea38..00000000000 --- a/TAO/TAO_IDL/be/be_valuetype_fwd.cpp +++ /dev/null @@ -1,529 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_valuetype_fwd.h -// -// = DESCRIPTION -// Extension of class be_interface_fwd that provides additional -// means for C++ mapping of an valuetype. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// changed for valuetypes by Torsten Kuepper -// -// ============================================================================ - - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#ifdef IDL_HAS_VALUETYPE - -ACE_RCSID(be, be_interface_fwd, "$Id$") - -/* - * BE_ValuetypeFwd - */ - - -be_valuetype_fwd::be_valuetype_fwd (void) -{ -} - -be_valuetype_fwd::be_valuetype_fwd (AST_Interface *dummy, - UTL_ScopedName *n, UTL_StrList *p) - : be_interface_fwd (dummy, n, p), - AST_InterfaceFwd (dummy, n, p), - AST_Decl (AST_Decl::NT_interface_fwd, n, p) -{ -} - -be_valuetype_fwd::~be_valuetype_fwd (void) -{ -} - - -void -be_valuetype_fwd::set_abstract_valuetype () -{ - this->full_definition()->set_abstract_valuetype(); -} - -// generate the var definition -int -be_valuetype_fwd::gen_var_defn (char *) -{ - ACE_ASSERT (0); - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - *ch << namebuf << " (" << local_name () << "_ptr);" << nl; - - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << "_ptr);" << nl; - - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << - " &);" << nl; - - // arrow operator - *ch << local_name () << "_ptr operator-> (void) const;" << nl; - - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - *ch << "operator const " << local_name () << "_ptr &() const;" << nl; - *ch << "operator " << local_name () << "_ptr &();" << nl; - - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - *ch << local_name () << "_ptr in (void) const;" << nl; - *ch << local_name () << "_ptr &inout (void);" << nl; - *ch << local_name () << "_ptr &out (void);" << nl; - *ch << local_name () << "_ptr _retn (void);" << nl; - - // generate an additional member function that returns the underlying pointer - *ch << local_name () << "_ptr ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // private - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_ptr ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_valuetype_fwd::gen_var_impl (char *, char *) -{ - ACE_ASSERT (0); - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << " " << ": ptr_ (" << this->name () << "::_nil ())" << nl; - *ci << "{}\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_ptr p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // the additional ptr () member function. This member function must be - // defined before the remaining member functions including the copy - // constructor because this inline function is used elsewhere. Hence to make - // inlining of this function possible, we must define it before its use. - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (" << name () << "::_duplicate (p.ptr ()))" << nl; - *ci << "{}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << name () << - "_ptr p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << name () << "::_duplicate (p.ptr ());\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - "_ptr &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << "_ptr &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr &" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// yield ownership of managed obj reference" << nl; - *ci << this->name () << "_ptr val = this->ptr_;" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();" << nl; - *ci << "return val;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// generate the _out definition -int -be_valuetype_fwd::gen_out_defn (char *) -{ - ACE_ASSERT (0); - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << idl_global->export_macro () - << " " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << local_name () << "_ptr &);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (const " << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // only valuetype allows assignment from var & - *ch << namebuf << " &operator= (const " << local_name () << "_var &);" << nl; - *ch << namebuf << " &operator= (" << local_name () << "_ptr);" << nl; - // cast - *ch << "operator " << local_name () << "_ptr &();" << nl; - // ptr fn - *ch << local_name () << "_ptr &ptr (void);" << nl; - // operator -> - *ch << local_name () << "_ptr operator-> (void);" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_ptr &ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -int -be_valuetype_fwd::gen_out_impl (char *, char *) -{ - ACE_ASSERT (0); - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_ptr &p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "::_nil ();\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << " : ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (ACE_const_cast (" << fname - << "&,p).ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = ACE_const_cast (" << fname << "&,p).ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << this->name () << - "_var &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "::_duplicate (p.ptr ());" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _ptr - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "_ptr p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - "_ptr &() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_ptr &" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_ptr " << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -int -be_valuetype_fwd::accept (be_visitor *visitor) -{ - return visitor->visit_valuetype_fwd (this); -} - -// Narrowing -IMPL_NARROW_METHODS1 (be_valuetype_fwd, be_interface_fwd) -IMPL_NARROW_FROM_DECL (be_valuetype_fwd) - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor.cpp b/TAO/TAO_IDL/be/be_visitor.cpp deleted file mode 100644 index 44376118d82..00000000000 --- a/TAO/TAO_IDL/be/be_visitor.cpp +++ /dev/null @@ -1,180 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor.h -// -// = DESCRIPTION -// Abstract class for back end visitors. -// -// = NOTES -// This is not a pure abstract class -// -// = AUTHOR -// Aniruddha Gokhale and Carlos O'Ryan -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor.h" - -ACE_RCSID(be, be_visitor, "$Id$") - - -be_visitor::be_visitor (void) -{ -} - -be_visitor::~be_visitor (void) -{ -} - -// all the visit methods. Concrete visitors will selectively override each one -int be_visitor::visit_decl (be_decl *) -{ - return 0; -} - -int be_visitor::visit_scope (be_scope *) -{ - return 0; -} - -int be_visitor::visit_type (be_type *) -{ - return 0; -} - -int be_visitor::visit_predefined_type (be_predefined_type *) -{ - return 0; -} - -int be_visitor::visit_module (be_module *) -{ - return 0; -} - -int be_visitor::visit_interface (be_interface *) -{ - return 0; -} - -int be_visitor::visit_interface_fwd (be_interface_fwd *) -{ - return 0; -} - -#ifdef IDL_HAS_VALUETYPE -int be_visitor::visit_valuetype (be_valuetype *) -{ - return 0; -} - -int be_visitor::visit_valuetype_fwd (be_valuetype_fwd *) -{ - return 0; -} -#endif /* IDL_HAS_VALUETYPE */ - -int be_visitor::visit_structure (be_structure *) -{ - return 0; -} - -int be_visitor::visit_exception (be_exception *) -{ - return 0; -} - -int be_visitor::visit_expression (be_expression *) -{ - return 0; -} - -int be_visitor::visit_enum (be_enum *) -{ - return 0; -} - -int be_visitor::visit_operation (be_operation *) -{ - return 0; -} - -int be_visitor::visit_field (be_field *) -{ - return 0; -} - -int be_visitor::visit_argument (be_argument *) -{ - return 0; -} - -int be_visitor::visit_attribute (be_attribute *) -{ - return 0; -} - -int be_visitor::visit_union (be_union *) -{ - return 0; -} - -int be_visitor::visit_union_branch (be_union_branch *) -{ - return 0; -} - -int be_visitor::visit_union_label (be_union_label *) -{ - return 0; -} - -int be_visitor::visit_constant (be_constant *) -{ - return 0; -} - -int be_visitor::visit_enum_val (be_enum_val *) -{ - return 0; -} - -int be_visitor::visit_array (be_array *) -{ - return 0; -} - -int be_visitor::visit_sequence (be_sequence *) -{ - return 0; -} - -int be_visitor::visit_string (be_string *) -{ - return 0; -} - -int be_visitor::visit_typedef (be_typedef *) -{ - return 0; -} - -int be_visitor::visit_root (be_root *) -{ - return 0; -} - -int be_visitor::visit_native (be_native *) -{ - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument.cpp b/TAO/TAO_IDL/be/be_visitor_argument.cpp deleted file mode 100644 index b6c726568ba..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument.cpp +++ /dev/null @@ -1,49 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_args.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Argument -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -// include all the individual files -#include "be_visitor_argument/arglist.cpp" -#include "be_visitor_argument/argument.cpp" -#include "be_visitor_argument/docall_cs.cpp" -#include "be_visitor_argument/marshal_ss.cpp" -#include "be_visitor_argument/post_docall_cs.cpp" -#include "be_visitor_argument/post_docall_compiled_cs.cpp" -#include "be_visitor_argument/post_marshal_ss.cpp" -#include "be_visitor_argument/post_upcall_ss.cpp" -#include "be_visitor_argument/pre_docall_cs.cpp" -#include "be_visitor_argument/pre_upcall_ss.cpp" -#include "be_visitor_argument/upcall_ss.cpp" -#include "be_visitor_argument/vardecl_ss.cpp" -#include "be_visitor_argument/compiled_marshal_cs.cpp" -#include "be_visitor_argument/compiled_marshal_ss.cpp" -#include "be_visitor_argument/pre_invoke_cs.cpp" -#include "be_visitor_argument/ami_arglist.cpp" -#include "be_visitor_argument/ami_handler_arglist.cpp" -#include "be_visitor_argument/ami_handler_result_arg.cpp" -#include "be_visitor_argument/ami_handler_compiled_marshal_cs.cpp" -#include "be_visitor_argument/ami_handler_upcall_cs.cpp" -#include "be_visitor_argument/ami_handler_vardecl_cs.cpp" - -ACE_RCSID(be, be_visitor_argument, "$Id$") - diff --git a/TAO/TAO_IDL/be/be_visitor_argument/ami_arglist.cpp b/TAO/TAO_IDL/be/be_visitor_argument/ami_arglist.cpp deleted file mode 100644 index 943b74b6a3f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/ami_arglist.cpp +++ /dev/null @@ -1,323 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// arglist.cpp -// -// = DESCRIPTION -// Visitor that generates the parameters in an Operation signature -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, ami_arglist, "$Id$") - - -// ************************************************************ -// be_visitor_args_arglist for parameter list in method declarations and -// definitions for AMI stubs. -// ************************************************************ - -be_visitor_args_ami_arglist::be_visitor_args_ami_arglist (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_ami_arglist::~be_visitor_args_ami_arglist (void) -{ -} - -int -be_visitor_args_ami_arglist::visit_argument (be_argument *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_arglist::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - os->indent (); // start with current indentation level - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - int result = bt->accept (this); - if (result == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_arglist::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - // Print the variable name only if the type was printed already. - if (result) - *os << " " << node->local_name () << ",\n"; - - return 0; -} - -int -be_visitor_args_ami_arglist::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "const " << this->type_name (node); - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_arglist::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << this->type_name (node); - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_arglist::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: // inout - *os << this->type_name (node, "_ptr"); - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_arglist::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: // inout - *os << this->type_name (node, "_ptr"); - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_arglist::visit_native (be_native *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << this->type_name (node); - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_arglist::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "const " << this->type_name (node) << " &"; - return 1; - /* NOT REACHED */ - } - } - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << this->type_name (node, "_ptr"); - return 1; - /* NOT REACHED */ - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << this->type_name (node); - return 1; - /* NOT REACHED */ - } // end switch direction - } // end of else - - return 0; -} - -int -be_visitor_args_ami_arglist::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "const " << this->type_name (node) << " &"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_arglist::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "const char *"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_arglist::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "const " << this->type_name (node) << " &"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_arglist::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "const " << this->type_name (node) << " &"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_arglist::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - - int result = node->primitive_base_type ()->accept (this); - if (result == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_arglist::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - - this->ctx_->alias (0); - - return result; -} - - -#ifdef IDL_HAS_VALUETYPE - -int -be_visitor_args_ami_arglist::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << this->type_name (node) << " *"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_arglist::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "const " << this->type_name (node) << " *"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_arglist.cpp b/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_arglist.cpp deleted file mode 100644 index 7eed73d1933..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_arglist.cpp +++ /dev/null @@ -1,321 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_arglist.cpp -// -// = DESCRIPTION -// Visitor that generates the parameters in an operation of the AMI -// Reply Handler. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, ami_handler_arglist, "$Id$") - - -// ************************************************************ -// Visitor for parameter list in AMI Handler call back declarations -// and definitions. -// ************************************************************ - -be_visitor_args_ami_handler_arglist::be_visitor_args_ami_handler_arglist (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_ami_handler_arglist::~be_visitor_args_ami_handler_arglist (void) -{ -} - -int -be_visitor_args_ami_handler_arglist::visit_argument (be_argument *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_arglist::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - os->indent (); // start with current indentation level - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - int result = bt->accept (this); - if (result == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_arglist::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - // Print the variable name only if the type was printed already. - if (result) - *os << " " << node->local_name () << ",\n"; - - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "const " << this->type_name (node); - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << this->type_name (node); - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_ptr"); - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_ptr"); - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_native (be_native *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << this->type_name (node); - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "const " << this->type_name (node) << " &"; - return 1; - /* NOT REACHED */ - } // end switch direction - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_ptr"); - return 1; - /* NOT REACHED */ - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << this->type_name (node); - return 1; - /* NOT REACHED */ - } // end switch direction - } // end of else - - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "const " << this->type_name (node) << " &"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "const char *"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "const " << this->type_name (node) << " &"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "const " << this->type_name (node) << " &"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_arglist::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - - -#ifdef IDL_HAS_VALUETYPE - -int -be_visitor_args_ami_handler_arglist::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << this->type_name (node) << " *"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -int -be_visitor_args_ami_handler_arglist::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "const " << this->type_name (node) << " *"; - return 1; - /* NOT REACHED */ - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp deleted file mode 100644 index 7f2031f7604..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_compiled_marshal_cs.cpp +++ /dev/null @@ -1,698 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_compiled_marshal_cs.cpp -// -// = DESCRIPTION -// Visitor generating the code that passes arguments to the CDR operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, ami_handler_compiled_marshal_cs, "$Id$") - - -// **************************************************************************** -// visitor for arguments passing to the CDR operators. -// **************************************************************************** - -be_visitor_args_ami_handler_compiled_marshal_cs:: -be_visitor_args_ami_handler_compiled_marshal_cs (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_ami_handler_compiled_marshal_cs:: -~be_visitor_args_ami_handler_compiled_marshal_cs (void) -{ -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type of the argument - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - //TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGS_DEMARSHAL_CS) - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << "(_tao_in >> "; - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << "(_tao_out << "; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_argument - " - "Bad substate\n"), - -1); - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << ")"; - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << ")"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_argument - " - "Bad substate\n"), - -1); - } - - return 0; -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "_tao_forany_" << arg->local_name (); - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << node->name () << "_forany (" - << "(" << node->name () << "_slice *)" - << arg->local_name () << ")"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_array - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_enum - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".out ()"; - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name () << "out ()"; - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_valuetype (be_valuetype *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".out ()"; - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_valuetype - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_valuetype_fwd (be_valuetype_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name () << "out ()"; - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_valuetype_fwd - " - "Bad substate\n"), - -1); - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get argument node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - *os << arg->local_name () << ".out ()"; - break; - case AST_PredefinedType::PT_any: - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_ushort: - case AST_PredefinedType::PT_float: - case AST_PredefinedType::PT_double: - case AST_PredefinedType::PT_longdouble: - *os << arg->local_name (); - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::Any::to_char (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::Any::to_wchar (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::Any::to_boolean (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::Any::to_octet (" << arg->local_name () << ")"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_predefined_type - " - "Bad predefined type\n"), - -1); - } - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - case AST_PredefinedType::PT_any: - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_ushort: - case AST_PredefinedType::PT_float: - case AST_PredefinedType::PT_double: - case AST_PredefinedType::PT_longdouble: - *os << arg->local_name (); - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::Any::from_char (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::Any::from_wchar (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::Any::from_boolean (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::Any::from_octet (" << arg->local_name () << ")"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_predefined_type - " - "Bad predefined type\n"), - -1); - } - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_array - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_string (be_string *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - // we need to make a distinction between bounded and unbounded strings - if (node->max_size ()->ev ()->u.ulval == 0) - { - *os << arg->local_name () << ".out ()"; - } - else - { - *os << "CORBA::Any::to_string (" - << arg->local_name () << ".out (), " - << node->max_size ()->ev ()->u.ulval - 1 - << ")"; - } - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_structure (be_structure *node) -{ - ACE_UNUSED_ARG (node); - - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_union (be_union *node) -{ - ACE_UNUSED_ARG (node); - - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - - return 0; -} - -int be_visitor_args_ami_handler_compiled_marshal_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_compiled_marshal_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_result_arg.cpp b/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_result_arg.cpp deleted file mode 100644 index 9a2b8872e9a..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_result_arg.cpp +++ /dev/null @@ -1,179 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_result_arg.cpp -// -// = DESCRIPTION -// Visitor that generates the result argument in a call back method -// of a Reply Handler. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_args, ami_handler_result_arg, "$Id$") - - -// ************************************************************ -// Visitor for parameter list in AMI Handler call back declarations -// and definitions. -// ************************************************************ - -be_visitor_args_ami_handler_result_arg::be_visitor_args_ami_handler_result_arg (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_ami_handler_result_arg::~be_visitor_args_ami_handler_result_arg (void) -{ -} - -int -be_visitor_args_ami_handler_result_arg::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - *os << "const " << this->type_name (node) << " _tao_retval, "; - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - *os << this->type_name (node) << " _tao_retval"; - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - *os << this->type_name (node, "_ptr") << " _tao_retval"; - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - *os << this->type_name (node, "_ptr") << " _tao_retval"; - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_native (be_native *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - *os << this->type_name (node) << " _tao_retval"; - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_predefined_type (be_predefined_type *node) -{ - - // Nothing to do if the return type is void. - if (node->pt () == AST_PredefinedType::PT_void) - return 0; - - // Get output stream. - TAO_OutStream *os = this->ctx_->stream (); - - // Check if the type is an any. - if (node->pt () == AST_PredefinedType::PT_any) - { - *os << "const " << this->type_name (node) << " &" << " _tao_retval"; - } - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - *os << this->type_name (node, "_ptr") << " _tao_retval"; - } - else - { - *os << this->type_name (node) << " _tao_retval"; - } - - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << "const " << this->type_name (node) << " &" << " _tao_retval"; - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << "const char *" << " _tao_retval"; - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << "const " << this->type_name (node) << " &" << " _tao_retval"; - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << "const " << this->type_name (node) << " &" << " _tao_retval"; - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_result_arg::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 1; -} - - -#ifdef IDL_HAS_VALUETYPE - -int -be_visitor_args_ami_handler_result_arg::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << this->type_name (node) << " *" << " _tao_retval"; - return 1; -} - -int -be_visitor_args_ami_handler_result_arg::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << "const " << this->type_name (node) << " *" << " _tao_retval"; - return 1; -} - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_upcall_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_upcall_cs.cpp deleted file mode 100644 index 344d2a61ce0..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_upcall_cs.cpp +++ /dev/null @@ -1,382 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_upcall_cs.cpp -// -// = DESCRIPTION -// Visitor that generates code that passes argument variables to the -// upcall. -// -// = AUTHOR -// Aniruddha Gokhale -// Michael Kircher -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, upcall_cs, "$Id$") - - -// ************************************************************************ -// visitor for passing arguments to the upcall -// ************************************************************************ - -be_visitor_args_ami_handler_upcall_cs::be_visitor_args_ami_handler_upcall_cs (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_ami_handler_upcall_cs::~be_visitor_args_ami_handler_upcall_cs (void) -{ -} - -int be_visitor_args_ami_handler_upcall_cs::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_upcall_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_upcall_cs::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int be_visitor_args_ami_handler_upcall_cs::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_OUT: - case AST_Argument::dir_INOUT: - /*if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_upcall_cs) - *os << arg->local_name (); - else - */ - os->indent (); - if (node->size_type () == be_decl::VARIABLE) - *os << arg->local_name () << ".in ()"; - else - *os << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_ami_handler_upcall_cs::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_ami_handler_upcall_cs::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - /*if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_upcall_cs) - *os << arg->local_name (); - else - */ - os->indent (); - *os << arg->local_name () << ".in ()"; - break; - } - return 0; -} - -int be_visitor_args_ami_handler_upcall_cs::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - /*if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_upcall_cs) - *os << arg->local_name (); - else - */ - os->indent (); - *os << arg->local_name () << ".in ()"; - break; - } - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int be_visitor_args_ami_handler_upcall_cs::visit_valuetype (be_valuetype *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - /*if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_upcall_cs) - *os << arg->local_name (); - else - */ - os->indent (); - *os << arg->local_name () << ".in ()"; - break; - } - return 0; -} - -int be_visitor_args_ami_handler_upcall_cs::visit_valuetype_fwd (be_valuetype_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - /*if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_upcall_cs) - *os << arg->local_name (); - else - */ - os->indent (); - *os << arg->local_name () << ".in ()"; - break; - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - - -int be_visitor_args_ami_handler_upcall_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - /* - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_upcall_cs) - *os << arg->local_name (); - else - */ - os->indent (); - *os << arg->local_name () << ".in ()"; - break; - } // end switch direction - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - /*if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_upcall_cs) - *os << arg->local_name (); - else - */ - os->indent (); - *os << arg->local_name () << ".in ()"; - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << arg->local_name (); - break; - } // end switch direction - } // end of else - - return 0; -} - -int be_visitor_args_ami_handler_upcall_cs::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - /*if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_upcall_cs) - *os << arg->local_name (); - else - */ - os->indent (); - *os << arg->local_name () << ".in ()"; - break; - } - return 0; -} - -int be_visitor_args_ami_handler_upcall_cs::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // If we use it in conjunction with AMI Reply Handlers we do - // not want to generate declarations for IN arguments - if (this->direction () == AST_Argument::dir_IN - && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_UPCALL_CS) - return 0; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - /* - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_upcall_cs) - *os << arg->local_name (); - else - */ - os->indent (); - *os << arg->local_name () << ".in ()"; - } - return 0; -} - -int be_visitor_args_ami_handler_upcall_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - if (node->size_type () == be_decl::VARIABLE) - *os << arg->local_name () << ".in ()"; - else - *os << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_ami_handler_upcall_cs::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - if (node->size_type () == be_decl::VARIABLE) - *os << arg->local_name () << ".in ()"; - else - *os << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_ami_handler_upcall_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_upcall_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_vardecl_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_vardecl_cs.cpp deleted file mode 100644 index 820cd915573..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/ami_handler_vardecl_cs.cpp +++ /dev/null @@ -1,509 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_vardecl_cs.cpp -// -// = DESCRIPTION -// Visitor that generates the variable declaration in the skeleton -// corresponding to the Argument node -// -// = AUTHOR -// Aniruddha Gokhale -// Michael Kircher -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, ami_handler_vardecl_cs, "$Id$") - - -// ************************************************************************ -// Visitor to generate code for argument variable declaration -// ************************************************************************ - -be_visitor_args_ami_handler_vardecl_cs::be_visitor_args_ami_handler_vardecl_cs (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_ami_handler_vardecl_cs::~be_visitor_args_ami_handler_vardecl_cs (void) -{ -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_vardecl_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_vardecl_cs::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";" << be_nl - << bt->name () << "_forany _tao_forany_" - << arg->local_name () << " (" << be_idt << be_idt_nl - << arg->local_name () << be_uidt_nl - << ");\n" << be_uidt; - break; - } - return 0; -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var " << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_var _tao_base_var_" << arg->local_name () - << ";" << be_nl; - *os << "CORBA::Object_ptr &_tao_base_ptr_" << arg->local_name () - << " = _tao_base_var_" << arg->local_name () << ".out ();\n"; -#endif - *os << bt->name () << "_var " << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_var _tao_base_var_" << arg->local_name () - << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var " << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_var _tao_base_var_" << arg->local_name () - << ";" << be_nl; - *os << "CORBA::Object_ptr &_tao_base_ptr_" << arg->local_name () - << " = _tao_base_var_" << arg->local_name () << ".out ();\n"; -#endif - *os << bt->name () << "_var " << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_var _tao_base_var_" << arg->local_name () - << ";\n"; - break; - } - return 0; -} - - -#ifdef IDL_HAS_VALUETYPE - -int be_visitor_args_ami_handler_vardecl_cs::visit_valuetype (be_valuetype *) -{ - return -1; -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_valuetype_fwd (be_valuetype_fwd *) -{ - return -1; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int be_visitor_args_ami_handler_vardecl_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - } // end switch direction - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var " << arg->local_name () - << ";" << be_nl; - *os << bt->name () << "_ptr &_tao_ptr_" << arg->local_name () - << " = " << arg->local_name () << ".out ();\n"; -#endif - *os << bt->name () << "_var " << arg->local_name () - << ";\n"; - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - } // end switch direction - } // end of else - - return 0; -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << "CORBA::String_var _tao_var_" - << arg->local_name () << ";" << be_nl; - *os << "char *&" << arg->local_name () << " = _tao_var_" - << arg->local_name () << ".out ();" << be_nl; -#endif - *os << "CORBA::String_var " - << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_ami_handler_vardecl_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_ami_handler_vardecl_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - - -// ************************************************************************ -// Visitor to generate code for argument variable declaration for compiled -// marshaling. This provides only the overriden methods. The rest is handled by -// the base class that works for interpretiveskeletons. -// ************************************************************************ - -be_compiled_visitor_args_ami_handler_vardecl_cs:: -be_compiled_visitor_args_ami_handler_vardecl_cs (be_visitor_context *ctx) - : be_visitor_args_ami_handler_vardecl_cs (ctx) -{ -} - -be_compiled_visitor_args_ami_handler_vardecl_cs::~be_compiled_visitor_args_ami_handler_vardecl_cs (void) -{ -} - -int be_compiled_visitor_args_ami_handler_vardecl_cs::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << "_var " << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_compiled_visitor_args_ami_handler_vardecl_cs::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << "_var " << arg->local_name () << ";\n"; - break; - } - return 0; -} - - -#ifdef IDL_HAS_VALUETYPE - -int be_compiled_visitor_args_ami_handler_vardecl_cs::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << "_var " << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int -be_compiled_visitor_args_ami_handler_vardecl_cs::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << "_var " << arg->local_name () << ";\n"; - break; - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp b/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp deleted file mode 100644 index 0463198b3b8..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp +++ /dev/null @@ -1,357 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// arglist.cpp -// -// = DESCRIPTION -// Visitor that generates the parameters in an Operation signature -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, arglist, "$Id$") - - -// ************************************************************ -// be_visitor_args_arglist for parameter list in method declarations and -// definitions -// ************************************************************ - -be_visitor_args_arglist::be_visitor_args_arglist (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_arglist::~be_visitor_args_arglist (void) -{ -} - -int be_visitor_args_arglist::visit_argument (be_argument *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_arglist::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - os->indent (); // start with current indentation level - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_arglist::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - *os << " " << node->local_name (); - return 0; -} - -int be_visitor_args_arglist::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << "const " << this->type_name (node); - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node); - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } - return 0; -} - -int be_visitor_args_arglist::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << this->type_name (node); - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node) << " &"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } - return 0; -} - -int be_visitor_args_arglist::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << this->type_name (node, "_ptr"); - break; - case AST_Argument::dir_INOUT: // inout - *os << this->type_name (node, "_ptr") << " &"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } - return 0; -} - -int be_visitor_args_arglist::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << this->type_name (node, "_ptr"); - break; - case AST_Argument::dir_INOUT: // inout - *os << this->type_name (node, "_ptr") << " &"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } - return 0; -} - -int be_visitor_args_arglist::visit_native (be_native *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << this->type_name (node); - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node) << " &"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node) << " &"; - break; - } - return 0; -} - -int be_visitor_args_arglist::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << "const " << this->type_name (node) << " &"; - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node) << " &"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } // end switch direction - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << this->type_name (node, "_ptr"); - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node, "_ptr") << " &"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << this->type_name (node); - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node) << " &"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } // end switch direction - } // end of else - - return 0; -} - -int be_visitor_args_arglist::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << "const " << this->type_name (node) << " &"; - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node) << " &"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } - return 0; -} - -int be_visitor_args_arglist::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << "const char *"; - break; - case AST_Argument::dir_INOUT: - *os << "char *&"; - break; - case AST_Argument::dir_OUT: - *os << "CORBA::String_out"; - break; - } - return 0; -} - -int be_visitor_args_arglist::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << "const " << this->type_name (node) << " &"; - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node) << " &"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } - return 0; -} - -int be_visitor_args_arglist::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << "const " << this->type_name (node) << " &"; - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node) << " &"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } - return 0; -} - -int be_visitor_args_arglist::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_arglist::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - - -#ifdef IDL_HAS_VALUETYPE - -int be_visitor_args_arglist::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << this->type_name (node) << " *"; - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node) << " *&"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } - return 0; -} - -int be_visitor_args_arglist::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << "const " << this->type_name (node) << " *"; - break; - case AST_Argument::dir_INOUT: - *os << this->type_name (node) << " *&"; - break; - case AST_Argument::dir_OUT: - *os << this->type_name (node, "_out"); - break; - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp b/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp deleted file mode 100644 index 22e77c1924a..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp +++ /dev/null @@ -1,85 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// argument.cpp -// -// = DESCRIPTION -// generic visitor for Argument node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, argument, "$Id$") - -be_visitor_args::be_visitor_args (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_args::~be_visitor_args (void) -{ -} - -int be_visitor_args::visit_argument (be_argument *) -{ - return -1; -} - -// helper that returns the type name either as a nested type name (for header -// files) or as a fully scoped name. In addition, we make sure that if the type -// is an alias, we use that name -const char * -be_visitor_args::type_name (be_type *node, const char *suffix) -{ - static char namebuf [NAMEBUFSIZE]; - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - - be_type *bt; // type to use - - // use the typedefed name if that is the one used in the IDL defn - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // generate the NESTED_CLASS macro i.e., a relative path name to satisfy the - // MSVC++ compiler - switch (this->ctx_->stream ()->stream_type ()) - { - case TAO_OutStream::TAO_CLI_HDR: - ACE_OS::sprintf (namebuf, "%s", bt->nested_type_name - (this->ctx_->scope (), suffix)); - break; - default: // fullname for all other cases - ACE_OS::sprintf (namebuf, "%s", bt->fullname ()); - if (suffix) - ACE_OS::strcat (namebuf, suffix); - } - - return namebuf; -} - -// helper that returns the direction type of the argument -AST_Argument::Direction -be_visitor_args::direction (void) -{ - // grab the argument node. We know that our context has stored the right - // argument node - be_argument *arg = this->ctx_->be_node_as_argument (); - - ACE_ASSERT (arg != 0); - return arg->direction (); -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp deleted file mode 100644 index 18cae73c4c9..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/compiled_marshal_cs.cpp +++ /dev/null @@ -1,777 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// compiled_marshal_cs.cpp -// -// = DESCRIPTION -// Visitor generating the code that passes arguments to the CDR operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, compiled_marshal_cs, "$Id$") - - -// **************************************************************************** -// visitor for arguments passing to the CDR operators. -// **************************************************************************** - -be_visitor_args_compiled_marshal_cs:: -be_visitor_args_compiled_marshal_cs (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_compiled_marshal_cs:: -~be_visitor_args_compiled_marshal_cs (void) -{ -} - -int be_visitor_args_compiled_marshal_cs::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type of the argument - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - os->indent (); - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "(_tao_out << "; - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "(_tao_in >> "; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_argument - " - "Bad substate\n"), - -1); - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << ")"; - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << ")"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_argument - " - "Bad substate\n"), - -1); - } - - return 0; -} - -int be_visitor_args_compiled_marshal_cs::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << node->name () << "_forany (" - << "(" << node->name () << "_slice *)" - << arg->local_name () << ")"; - break; - case AST_Argument::dir_INOUT: - *os << node->name () << "_forany (" - << arg->local_name () << ")"; - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << "_tao_argument_" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (node->size_type () == be_decl::VARIABLE) - { - *os << "_tao_argument_" << arg->local_name (); - } - else - { - *os << "_tao_argument_" << arg->local_name (); - } - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_array - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_cs::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_enum - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_cs::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".ptr ()"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_cs::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".ptr ()"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int be_visitor_args_compiled_marshal_cs::visit_valuetype (be_valuetype *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".ptr ()"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_valuetype - " - "Bad substate\n"), - -1); - } - return 0; -} - -int -be_visitor_args_compiled_marshal_cs::visit_valuetype_fwd (be_valuetype_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".ptr ()"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_valuetype - " - "Bad substate\n"), - -1); - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int be_visitor_args_compiled_marshal_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get argument node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - case AST_PredefinedType::PT_any: - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_ushort: - case AST_PredefinedType::PT_float: - case AST_PredefinedType::PT_double: - case AST_PredefinedType::PT_longdouble: - *os << arg->local_name (); - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::Any::from_char (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::Any::from_wchar (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::Any::from_boolean (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::Any::from_octet (" << arg->local_name () << ")"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_predefined_type - " - "Bad predefined type\n"), - -1); - } - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - case AST_PredefinedType::PT_any: - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_ushort: - case AST_PredefinedType::PT_float: - case AST_PredefinedType::PT_double: - case AST_PredefinedType::PT_longdouble: - *os << arg->local_name (); - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::Any::to_char (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::Any::to_wchar (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::Any::to_boolean (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::Any::to_octet (" << arg->local_name () << ")"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal_cs::" - "visit_array - " - "Bad predefined type\n"), - -1); - } - break; - case AST_Argument::dir_OUT: - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - *os << arg->local_name () << ".ptr ()"; - break; - case AST_PredefinedType::PT_any: - *os << "*" << arg->local_name () << ".ptr ()"; - break; - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_ushort: - case AST_PredefinedType::PT_float: - case AST_PredefinedType::PT_double: - case AST_PredefinedType::PT_longdouble: - *os << arg->local_name (); - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::Any::to_char (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::Any::to_wchar (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::Any::to_boolean (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::Any::to_octet (" << arg->local_name () << ")"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal_cs::" - "visit_array - " - "Bad predefined type\n"), - -1); - } - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_array - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_cs::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - *os << "*" << arg->local_name () << ".ptr ()"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_cs::visit_string (be_string *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - // we need to make a distinction between bounded and unbounded strings - if (node->max_size ()->ev ()->u.ulval == 0) - { - // unbounded - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".ptr ()"; - break; - } - } - else - { - // bounded - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << "CORBA::Any::to_string (" - << arg->local_name () << ", " - << node->max_size ()->ev ()->u.ulval - 1 << ")"; - break; - case AST_Argument::dir_OUT: - *os << "CORBA::Any::to_string (" - << arg->local_name () << ".ptr (), " - << node->max_size ()->ev ()->u.ulval - 1 << ")"; - break; - } - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (node->size_type () == be_decl::VARIABLE) - *os << "*" << arg->local_name () << ".ptr ()"; - else - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_cs::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (node->size_type () == be_decl::VARIABLE) - *os << "*" << arg->local_name () << ".ptr ()"; - else - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_interface - " - "Bad substate\n"), - -1); - } - - return 0; -} - -int be_visitor_args_compiled_marshal_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp deleted file mode 100644 index 3a81f4c227a..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/compiled_marshal_ss.cpp +++ /dev/null @@ -1,769 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// compiled_marshal_ss.cpp -// -// = DESCRIPTION -// Visitor generating the code that passes arguments to the CDR operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, compiled_marshal_ss, "$Id$") - - -// **************************************************************************** -// visitor for arguments passing to the CDR operators. -// **************************************************************************** - -be_visitor_args_compiled_marshal_ss:: -be_visitor_args_compiled_marshal_ss (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_compiled_marshal_ss:: -~be_visitor_args_compiled_marshal_ss (void) -{ -} - -int be_visitor_args_compiled_marshal_ss::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type of the argument - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << "(_tao_in >> "; - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << "(_tao_out << "; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_argument - " - "Bad substate\n"), - -1); - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << ")"; - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << ")"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_argument - " - "Bad substate\n"), - -1); - } - - return 0; -} - -int be_visitor_args_compiled_marshal_ss::visit_array (be_array *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - *os << "_tao_forany_" << arg->local_name (); - break; - case AST_Argument::dir_INOUT: - *os << "_tao_forany_" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << "_tao_forany_" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - *os << "_tao_forany_" << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_array - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_ss::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_enum - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_ss::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name () << ".out ()"; - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".in ()"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_ss::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name () << ".out ()"; - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".in ()"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_interface_fwd - " - "Bad substate\n"), - -1); - } - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int be_visitor_args_compiled_marshal_ss::visit_valuetype (be_valuetype *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name () << ".out ()"; - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".in ()"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_valuetype - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_ss::visit_valuetype_fwd (be_valuetype_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name () << ".out ()"; - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".in ()"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_valuetype_fwd - " - "Bad substate\n"), - -1); - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int be_visitor_args_compiled_marshal_ss::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get argument node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - *os << arg->local_name () << ".out ()"; - break; - case AST_PredefinedType::PT_any: - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_ushort: - case AST_PredefinedType::PT_float: - case AST_PredefinedType::PT_double: - case AST_PredefinedType::PT_longdouble: - *os << arg->local_name (); - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::Any::to_char (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::Any::to_wchar (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::Any::to_boolean (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::Any::to_octet (" << arg->local_name () << ")"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_predefined_type - " - "Bad predefined type\n"), - -1); - } - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - *os << arg->local_name () << ".in ()"; - break; - case AST_PredefinedType::PT_any: - *os << arg->local_name (); - break; - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_ushort: - case AST_PredefinedType::PT_float: - case AST_PredefinedType::PT_double: - case AST_PredefinedType::PT_longdouble: - *os << arg->local_name (); - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::Any::from_char (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::Any::from_wchar (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::Any::from_boolean (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::Any::from_octet (" << arg->local_name () << ")"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal_ss::" - "visit_array - " - "Bad predefined type\n"), - -1); - } - break; - case AST_Argument::dir_OUT: - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - *os << arg->local_name () << ".in ()"; - break; - case AST_PredefinedType::PT_any: - *os << arg->local_name () << ".in ()"; - break; - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_ushort: - case AST_PredefinedType::PT_float: - case AST_PredefinedType::PT_double: - case AST_PredefinedType::PT_longdouble: - *os << arg->local_name (); - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::Any::from_char (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::Any::from_wchar (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::Any::from_boolean (" << arg->local_name () << ")"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::Any::from_octet (" << arg->local_name () << ")"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal_ss::" - "visit_array - " - "Bad predefined type\n"), - -1); - } - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_array - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_ss::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".in ()"; - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_ss::visit_string (be_string *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - // we need to make a distinction between bounded and unbounded strings - if (node->max_size ()->ev ()->u.ulval == 0) - { - *os << arg->local_name () << ".out ()"; - } - else - { - *os << "CORBA::Any::to_string (" - << arg->local_name () << ".out (), " - << node->max_size ()->ev ()->u.ulval - 1 - << ")"; - } - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - // we need to make a distinction between bounded and unbounded strings - if (node->max_size ()->ev ()->u.ulval == 0) - { - // unbounded - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name () << ".in ()"; - break; - } - } - else - { - // bounded - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "CORBA::Any::from_string ((char *)" - << arg->local_name () << ".in (), " - << node->max_size ()->ev ()->u.ulval - 1 << ")"; - break; - } - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_string - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_ss::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (node->size_type () == be_decl::VARIABLE) - *os << arg->local_name () << ".in ()"; - else - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_structure - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_args_compiled_marshal_ss::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - break; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (node->size_type () == be_decl::VARIABLE) - *os << arg->local_name () << ".in ()"; - else - *os << arg->local_name (); - break; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_union - " - "Bad substate\n"), - -1); - } - - return 0; -} - -int be_visitor_args_compiled_marshal_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_compiled_marshal_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/docall_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/docall_cs.cpp deleted file mode 100644 index 2c8fdc8592b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/docall_cs.cpp +++ /dev/null @@ -1,325 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// docall_cs.cpp -// -// = DESCRIPTION -// Visitor generating the code that passes arguments to the do_static_call -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, docall_cs, "$Id$") - - -// **************************************************************************** -// visitor for argument passing to do_static_call. The do_static_call -// method takes an array with pointers to each argument (the type is -// actually void*). The total number of parameters is determined by the -// "calldata" parameter that must be passed before the variable list -// starts. -// Hence we pass the address of each argument. The case for _out is a bit -// tricky where we must first retrieve the pointer, allocate memory -// and pass it to do_static_call. This is done in the -// "pre_do_static_call" processing. -// **************************************************************************** - -be_visitor_args_docall_cs::be_visitor_args_docall_cs (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_docall_cs::~be_visitor_args_docall_cs (void) -{ -} - -int be_visitor_args_docall_cs::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type of the argument - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_docall_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - TAO_OutStream *os = this->ctx_->stream (); // get output stream - os->indent (); - *os << "*_tao_arg = "; - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_docall_cs::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - *os << "; _tao_arg++;\n"; - - return 0; -} - -int be_visitor_args_docall_cs::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (node->size_type () == be_type::VARIABLE) - // pass reference to the pointer to slice - // *os << "_tao_base_" << arg->local_name (); - *os << arg->local_name () << ".ptr ()"; - else - *os << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_docall_cs::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - // pass the address. Storage is already allocated - *os << "&" << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_docall_cs::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "&_tao_base_" << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_docall_cs::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "&_tao_base_" << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_docall_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get argument node - - os->indent (); - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - //*os << "_tao_base_" << arg->local_name (); - *os << arg->local_name () << ".ptr ()"; - break; - } // end switch direction - } // end of if any - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., - // CORBA::Object, - // CORBA::TypeCode - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - //*os << "&_tao_base_" << arg->local_name (); - *os << "&" << arg->local_name () << ".ptr ()"; - break; - } // end switch direction - } // end else if pseudo - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << "&" << arg->local_name (); - break; - } // end switch direction - } // end of else - - return 0; -} - -int be_visitor_args_docall_cs::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - // *os << "_tao_base_" << arg->local_name (); - *os << arg->local_name () << ".ptr ()"; - break; - } - return 0; -} - -int be_visitor_args_docall_cs::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - //*os << "&_tao_base_" << arg->local_name (); - *os << "&" << arg->local_name () << ".ptr ()"; - break; - } - return 0; -} - -int be_visitor_args_docall_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - { - // check if the size type is VARIABLE - if (node->size_type () == be_type::VARIABLE) - // *os << "_tao_base_" << arg->local_name (); - *os << arg->local_name () << ".ptr ()"; - else - *os << "&" << arg->local_name (); - } - break; - } - return 0; -} - -int be_visitor_args_docall_cs::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - { - // check if the size type is VARIABLE - if (node->size_type () == be_type::VARIABLE) - //*os << "_tao_base_" << arg->local_name (); - *os << arg->local_name () << ".ptr ()"; - else - *os << "&" << arg->local_name (); - } - break; - } - return 0; -} - -int be_visitor_args_docall_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_docall_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/marshal_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/marshal_ss.cpp deleted file mode 100644 index 4f20c0d2362..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/marshal_ss.cpp +++ /dev/null @@ -1,310 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// marshal_ss.cpp -// -// = DESCRIPTION -// Visitor that generates code that passes the argument variable to the -// marshal operations. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, marshal_ss, "$Id$") - - -// ************************************************************************ -// Visitor to generate code for passing argument to the marshal/demarshal -// routines -// ************************************************************************ - -be_visitor_args_marshal_ss::be_visitor_args_marshal_ss (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_marshal_ss::~be_visitor_args_marshal_ss (void) -{ -} - -int be_visitor_args_marshal_ss::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_marshal_ss::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_marshal_ss::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int be_visitor_args_marshal_ss::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - os->indent (); - if (node->size_type () == be_type::VARIABLE) - { - *os << arg->local_name () << ".inout ()"; - } - else - { - *os << arg->local_name (); - } - break; - } - return 0; -} - -int be_visitor_args_marshal_ss::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << "&" << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_marshal_ss::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << "&_tao_base_var_" << arg->local_name () << ".inout ()"; - break; - } - return 0; -} - -int be_visitor_args_marshal_ss::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << "&_tao_base_var_" << arg->local_name () << ".inout ()"; - break; - } - return 0; -} - -int be_visitor_args_marshal_ss::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - os->indent (); - // *os << "_tao_ptr_" << arg->local_name (); - *os << "&" << arg->local_name () << ".inout ()"; - break; - } // end switch direction - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - // *os << "&_tao_ptr_" << arg->local_name (); - *os << "&" << arg->local_name () << ".inout ()"; - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << "&" << arg->local_name (); - break; - } // end switch direction - } // end of else - - return 0; -} - -int be_visitor_args_marshal_ss::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - os->indent (); - // *os << "_tao_ptr_" << arg->local_name (); - *os << "&" << arg->local_name () << ".inout ()"; - break; - } - return 0; -} - -int be_visitor_args_marshal_ss::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - os->indent (); - // *os << "&_tao_ptr_" << arg->local_name (); - *os << "&" << arg->local_name () << ".inout ()"; - break; - } - return 0; -} - -int be_visitor_args_marshal_ss::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - os->indent (); - if (node->size_type () == be_type::VARIABLE) - // *os << "_tao_ptr_" << arg->local_name (); - *os << "&" << arg->local_name () << ".inout ()"; - else - *os << "&" << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_marshal_ss::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - os->indent (); - if (node->size_type () == be_type::VARIABLE) - // *os << "_tao_ptr_" << arg->local_name (); - *os << "&" << arg->local_name () << ".inout ()"; - else - *os << "&" << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_marshal_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_marshal_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/post_docall_compiled_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/post_docall_compiled_cs.cpp deleted file mode 100644 index 248523c8d3d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/post_docall_compiled_cs.cpp +++ /dev/null @@ -1,207 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// post_docall_compiled_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for post-processing of arguments following a -// do_static_call, when compiled marshaling (default) is enabled. -// -// = AUTHOR -// Jeff Parsons -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - - -// ************************************************************************* -// visitor for argument to do any post docall processing. Not all types need -// this. Only those that have an _out type need this. In addition, interfaces -// need it because we need to convert from the interface type to the base Object -// type and vice versa. -// ************************************************************************* - -be_visitor_args_post_docall_compiled_cs::be_visitor_args_post_docall_compiled_cs -(be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_post_docall_compiled_cs::~be_visitor_args_post_docall_compiled_cs (void) -{ -} - -int -be_visitor_args_post_docall_compiled_cs::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type of the argument - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_pre_docall_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_post_docall_compiled_cs::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int -be_visitor_args_post_docall_compiled_cs::visit_interface (be_interface *) -{ - // we must narrow the out object reference to the appropriate type - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - { - os->indent (); - // assign the narrowed obj reference - *os << "CORBA::release (" << arg->local_name () - << ");\n"; - } - break; - default: - break; - } - return 0; -} - -int -be_visitor_args_post_docall_compiled_cs::visit_interface_fwd (be_interface_fwd *) -{ - // we must narrow the out object reference to the appropriate type - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - { - os->indent (); - // assign the narrowed obj reference - *os << "CORBA::release (" << arg->local_name () - << ");\n"; - } - break; - default: - break; - } - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int -be_visitor_args_post_docall_compiled_cs::visit_valuetype (be_valuetype *) -{ - // we must narrow the out object reference to the appropriate type - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - { - os->indent (); - *os << "CORBA::remove_ref (" << arg->local_name () - << ");\n"; - } - break; - default: - break; - } - return 0; -} - -int -be_visitor_args_post_docall_compiled_cs::visit_valuetype_fwd (be_valuetype_fwd *) -{ - // we must narrow the out object reference to the appropriate type - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - { - os->indent (); - *os << "CORBA::remove_ref (" << arg->local_name () - << ");\n"; - } - break; - default: - break; - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int -be_visitor_args_post_docall_compiled_cs::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - os->indent (); - *os << "CORBA::string_free (" << arg->local_name () << ");" << be_nl; - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int -be_visitor_args_post_docall_compiled_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_post_docall_compiled_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp deleted file mode 100644 index 9aa12d3295c..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/post_docall_cs.cpp +++ /dev/null @@ -1,165 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// post_docall_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for post-processing of arguments following a -// do_static_call -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, post_docall_cs, "$Id$") - - -// ************************************************************************* -// visitor for argument to do any post docall processing. Not all types need -// this. Only those that have an _out type need this. In addition, interfaces -// need it because we need to convert from the interface type to the base Object -// type and vice versa. -// ************************************************************************* - -be_visitor_args_post_docall_cs::be_visitor_args_post_docall_cs -(be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_post_docall_cs::~be_visitor_args_post_docall_cs (void) -{ -} - -int -be_visitor_args_post_docall_cs::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type of the argument - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_pre_docall_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_pre_docall_cs::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int -be_visitor_args_post_docall_cs::visit_interface (be_interface *node) -{ - // we must narrow the out object reference to the appropriate type - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - { - os->indent (); - // assign the narrowed obj reference - *os << arg->local_name () << " = " << node->name () - << "::_narrow (_tao_base_" << arg->local_name () - << ", ACE_TRY_ENV);" << be_nl; - *os << "CORBA::release (_tao_base_" << arg->local_name () - << ");\n"; - } - break; - default: - break; - } - return 0; -} - -int -be_visitor_args_post_docall_cs::visit_interface_fwd (be_interface_fwd *node) -{ - // we must narrow the out object reference to the appropriate type - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_INOUT: - { - os->indent (); - // assign the narrowed obj reference - *os << arg->local_name () << " = " << node->name () - << "::_narrow (_tao_base_" << arg->local_name () - << ", ACE_TRY_ENV);" << be_nl; - *os << "CORBA::release (_tao_base_" << arg->local_name () - << ");\n"; - } - break; - default: - break; - } - return 0; -} - -int -be_visitor_args_post_docall_cs::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - *os << "CORBA::string_free (" << arg->local_name () << ");" << be_nl; - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int -be_visitor_args_post_docall_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_post_docall_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/post_marshal_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/post_marshal_ss.cpp deleted file mode 100644 index a532881930a..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/post_marshal_ss.cpp +++ /dev/null @@ -1,236 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// post_marshal_ss.cpp -// -// = DESCRIPTION -// Visitor generating code that does post-processing of arguments following -// any marshaling. This involves any cleanup. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, post_marshal_ss, "$Id$") - - -// ************************************************************************ -// visitor for doing any post-processing after the marshaling is done -// ************************************************************************ - -be_visitor_args_post_marshal_ss::be_visitor_args_post_marshal_ss (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_post_marshal_ss::~be_visitor_args_post_marshal_ss (void) -{ -} - -int be_visitor_args_post_marshal_ss::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_post_marshal_ss::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_post_marshal_ss::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int be_visitor_args_post_marshal_ss::visit_array (be_array *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_marshal_ss::visit_enum (be_enum *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_marshal_ss::visit_interface (be_interface *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: // inout - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_marshal_ss::visit_interface_fwd (be_interface_fwd *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: // inout - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_marshal_ss::visit_predefined_type (be_predefined_type *node) -{ - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } // end switch direction - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } // end switch direction - } // end of else - - return 0; -} - -int be_visitor_args_post_marshal_ss::visit_sequence (be_sequence *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_marshal_ss::visit_string (be_string *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_marshal_ss::visit_structure (be_structure *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_marshal_ss::visit_union (be_union *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_marshal_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_post_marshal_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp deleted file mode 100644 index caa7a684efa..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/post_upcall_ss.cpp +++ /dev/null @@ -1,354 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// post_upcall_ss.cpp -// -// = DESCRIPTION -// Visitor generating code to do post-processing of arguments following an -// upcall. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, post_upcall_ss, "$Id$") - - -// ************************************************************************ -// visitor for doing any post-processing after the upcall is made -// ************************************************************************ - -be_visitor_args_post_upcall_ss::be_visitor_args_post_upcall_ss (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_post_upcall_ss::~be_visitor_args_post_upcall_ss (void) -{ -} - -int be_visitor_args_post_upcall_ss::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_post_upcall_ss::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_post_upcall_ss::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int be_visitor_args_post_upcall_ss::visit_array (be_array *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_upcall_ss::visit_enum (be_enum *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_upcall_ss::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: // inout - case AST_Argument::dir_OUT: - os->indent (); - *os << "_tao_base_var_" << arg->local_name () - << " = CORBA::Object::_duplicate (" - << arg->local_name () << ".in ());\n"; - break; - } - return 0; -} - -int be_visitor_args_post_upcall_ss::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: // inout - case AST_Argument::dir_OUT: - os->indent (); - *os << "_tao_base_var_" << arg->local_name () - << " = CORBA::Object::_duplicate (" - << arg->local_name () << ".in ());\n"; - break; - } - return 0; -} - -int be_visitor_args_post_upcall_ss::visit_predefined_type (be_predefined_type *node) -{ - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } // end switch direction - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } // end switch direction - } // end of else - - return 0; -} - -int be_visitor_args_post_upcall_ss::visit_sequence (be_sequence *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_upcall_ss::visit_string (be_string *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_upcall_ss::visit_structure (be_structure *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_upcall_ss::visit_union (be_union *) -{ - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_post_upcall_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_post_upcall_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -// **************************************************************** - -// ************************************************************************ -// visitor for doing any post-processing after the upcall is made -// ************************************************************************ - -be_visitor_compiled_args_post_upcall::be_visitor_compiled_args_post_upcall (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_compiled_args_post_upcall::~be_visitor_compiled_args_post_upcall (void) -{ -} - -int -be_visitor_compiled_args_post_upcall::visit_operation (be_operation *node) -{ - return this->visit_scope (node); -} - -int be_visitor_compiled_args_post_upcall::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_compiled_args_post_upcall::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_compiled_args_post_upcall::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int be_visitor_compiled_args_post_upcall::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_argument *arg = this->ctx_->be_node_as_argument (); - - // if the current type is an alias, use that - be_type *bt = node; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - if (node->size_type () == be_type::VARIABLE) - { - *os << bt->name () << "_forany _tao_forany_" - << arg->local_name () << " (" << be_idt << be_idt_nl - << arg->local_name () << ".inout ()" << be_uidt_nl - << ");\n" << be_uidt; - } - else - { - *os << bt->name () << "_forany _tao_forany_" - << arg->local_name () << " (" << be_idt << be_idt_nl - << arg->local_name () << be_uidt_nl - << ");\n" << be_uidt; - } - break; - } - return 0; -} - -int be_visitor_compiled_args_post_upcall::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_compiled_args_post_upcall::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/pre_docall_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/pre_docall_cs.cpp deleted file mode 100644 index c1e594bed31..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/pre_docall_cs.cpp +++ /dev/null @@ -1,445 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// pre_docall_cs.cpp -// -// = DESCRIPTION -// Visitor that generates code (if any) for pre-processing prior to call to -// do_static_call in the client stub -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, pre_docall_cs, "$Id$") - - -// ************************************************************************* -// visitor for argument to do any pre docall processing. Not all types need -// this. Only those that have an _out type need this. In addition, interfaces -// need it because we ned to convert from the interface type to the base Object -// type and vice versa. -// ************************************************************************* - -be_visitor_args_pre_docall_cs::be_visitor_args_pre_docall_cs -(be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_pre_docall_cs::~be_visitor_args_pre_docall_cs (void) -{ -} - -int -be_visitor_args_pre_docall_cs::void_return_type (void) -{ - // is the operation return type void? - be_argument *arg = this->ctx_->be_node_as_argument (); - ACE_ASSERT (arg != 0); - be_operation *op = be_operation::narrow_from_scope (arg->defined_in ()); - ACE_ASSERT (arg != 0); - - be_type *bt = be_type::narrow_from_decl (op->return_type ()); - if (bt->node_type () == AST_Decl::NT_pre_defined - && (be_predefined_type::narrow_from_decl (bt)->pt () - == AST_PredefinedType::PT_void)) - return 1; - else - return 0; -} - -int be_visitor_args_pre_docall_cs::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type of the argument - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_pre_docall_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_pre_docall_cs::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int -be_visitor_args_pre_docall_cs::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_OUT: - if (node->size_type () == be_decl::VARIABLE) - { - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_slice *&_tao_base_" << arg->local_name () - << " = " << arg->local_name () << ".ptr ();" << be_nl; - if (!this->void_return_type ()) - { - *os << "ACE_ALLOCATOR_RETURN (_tao_base_" << arg->local_name () - << ", " << bt->name () << "_alloc (), _tao_retval);\n"; - } - else - { - *os << "ACE_ALLOCATOR (_tao_base_" << arg->local_name () - << ", " << bt->name () << "_alloc ());\n"; - } -#endif - if (!this->void_return_type ()) - { - *os << "ACE_ALLOCATOR_RETURN (" << arg->local_name () - << ".ptr (), " << bt->name () << "_alloc (), _tao_retval);\n"; - } - else - { - *os << "ACE_ALLOCATOR (" << arg->local_name () - << ".ptr (), " << bt->name () << "_alloc ());\n"; - } - } - break; - default: - break; - } - return 0; - -} - -int -be_visitor_args_pre_docall_cs::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () - << " = " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () << ";\n"; - break; - default: - break; - } - return 0; -} - -int -be_visitor_args_pre_docall_cs::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () - << " = " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () << ";\n"; - break; - default: - break; - } - return 0; -} - -int -be_visitor_args_pre_docall_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - // get the argument node - be_argument *arg = this->ctx_->be_node_as_argument (); - -#if 0 - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; -#endif - - // pre do_static_call processing is valid only for pseudo objects and for Any - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - { - switch (this->direction ()) - { - case AST_Argument::dir_OUT: -#if 0 - os->indent (); - *os << bt->name () << "_ptr &_tao_base_" << arg->local_name () - << " = " << arg->local_name () << ".ptr ();\n"; -#endif - break; - default: - break; - } - } - break; - case AST_PredefinedType::PT_any: - { - switch (this->direction ()) - { - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << " *&_tao_base_" << arg->local_name () - << " = " << arg->local_name () << ".ptr ();" << be_nl; - if (!this->void_return_type ()) - { - *os << "ACE_NEW_RETURN (_tao_base_" << arg->local_name () - << ", CORBA::Any, _tao_retval);\n"; - } - else - { - *os << "ACE_NEW (_tao_base_" << arg->local_name () - << ", CORBA::Any);\n"; - } -#endif - if (!this->void_return_type ()) - { - *os << "ACE_NEW_RETURN (" << arg->local_name () - << ".ptr (), CORBA::Any, _tao_retval);\n"; - } - else - { - *os << "ACE_NEW (" << arg->local_name () - << ".ptr (), CORBA::Any);\n"; - } - break; - default: - break; - } - } - break; - default: - break; - } - return 0; -} - -int -be_visitor_args_pre_docall_cs::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_OUT: - // caller must have allocated the pointer - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << " *&_tao_base_" << arg->local_name () - << " = " << arg->local_name () << ".ptr ();" << be_nl; - if (!this->void_return_type ()) - { - *os << "ACE_NEW_RETURN (_tao_base_" << arg->local_name () - << ", " << bt->name () << ", _tao_retval);\n"; - } - else - { - *os << "ACE_NEW (_tao_base_" << arg->local_name () - << ", " << bt->name () << ");\n"; - } -#endif - if (!this->void_return_type ()) - { - *os << "ACE_NEW_RETURN (" << arg->local_name () - << ".ptr (), " << bt->name () << ", _tao_retval);\n"; - } - else - { - *os << "ACE_NEW (" << arg->local_name () - << ".ptr (), " << bt->name () << ");\n"; - } - break; - default: - break; - } - return 0; -} - -int -be_visitor_args_pre_docall_cs::visit_string (be_string *) -{ - return 0; -} - -int -be_visitor_args_pre_docall_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (node->size_type () == be_type::VARIABLE) - { - switch (this->direction ()) - { - case AST_Argument::dir_OUT: - // caller must have allocated the pointer - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << " *&_tao_base_" << arg->local_name () - << " = " << arg->local_name () << ".ptr ();" << be_nl; - if (!this->void_return_type ()) - { - *os << "ACE_NEW_RETURN (_tao_base_" << arg->local_name () - << ", " << bt->name () << ", _tao_retval);\n"; - } - else - { - *os << "ACE_NEW (_tao_base_" << arg->local_name () - << ", " << bt->name () << ");\n"; - } -#endif - if (!this->void_return_type ()) - { - *os << "ACE_NEW_RETURN (" << arg->local_name () - << ".ptr (), " << bt->name () << ", _tao_retval);\n"; - } - else - { - *os << "ACE_NEW (" << arg->local_name () - << ".ptr (), " << bt->name () << ");\n"; - } - break; - default: - break; - } - } - return 0; -} - -int -be_visitor_args_pre_docall_cs::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (node->size_type () == be_type::VARIABLE) - { - switch (this->direction ()) - { - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << " *&_tao_base_" << arg->local_name () - << " = " << arg->local_name () << ".ptr ();" << be_nl; - if (!this->void_return_type ()) - { - *os << "ACE_NEW_RETURN (_tao_base_" << arg->local_name () - << ", " << bt->name () << ", _tao_retval);\n"; - } - else - { - *os << "ACE_NEW (_tao_base_" << arg->local_name () - << ", " << bt->name () << ");\n"; - } -#endif - if (!this->void_return_type ()) - { - *os << "ACE_NEW_RETURN (" << arg->local_name () - << ".ptr (), " << bt->name () << ", _tao_retval);\n"; - } - else - { - *os << "ACE_NEW (" << arg->local_name () - << ".ptr (), " << bt->name () << ");\n"; - } - break; - default: - break; - } - } - return 0; -} - -int -be_visitor_args_pre_docall_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_pre_docall_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/pre_invoke_cs.cpp b/TAO/TAO_IDL/be/be_visitor_argument/pre_invoke_cs.cpp deleted file mode 100644 index ed862708579..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/pre_invoke_cs.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// pre_invoke_cs.cpp -// -// = DESCRIPTION -// Visitor that generates code (if any) for pre-processing prior to call to -// do_static_call in the client stub -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, pre_invoke_cs, "$Id$") - - -// ************************************************************************* -// visitor for argument to do any pre invoke processing. Not all types need -// this. Only those that have an _out type need this. This ne is for compiled -// marshaling and overrides osme methods of the base class (which does the job -// for interpretive marshaling) -// ************************************************************************* - -be_visitor_args_pre_invoke_cs::be_visitor_args_pre_invoke_cs -(be_visitor_context *ctx) - : be_visitor_args_pre_docall_cs (ctx) -{ -} - -be_visitor_args_pre_invoke_cs::~be_visitor_args_pre_invoke_cs (void) -{ -} - -int -be_visitor_args_pre_invoke_cs::visit_interface (be_interface *) -{ - // overriding action - return 0; -} - -int -be_visitor_args_pre_invoke_cs::visit_interface_fwd (be_interface_fwd *) -{ - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_argument/pre_upcall_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/pre_upcall_ss.cpp deleted file mode 100644 index 9ab4133b028..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/pre_upcall_ss.cpp +++ /dev/null @@ -1,200 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// pre_upcall_ss.cpp -// -// = DESCRIPTION -// Visitor that generates any pre-processing of arguments prior to making -// the upcall (in the skeleton). -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, pre_upcall_ss, "$Id$") - - -// ************************************************************************ -// visitor for passing arguments to the upcall -// ************************************************************************ - -be_visitor_args_pre_upcall_ss::be_visitor_args_pre_upcall_ss (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_pre_upcall_ss::~be_visitor_args_pre_upcall_ss (void) -{ -} - -int be_visitor_args_pre_upcall_ss::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_pre_upcall_ss::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_pre_upcall_ss::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int be_visitor_args_pre_upcall_ss::visit_array (be_array *) -{ - return 0; -} - -int be_visitor_args_pre_upcall_ss::visit_enum (be_enum *) -{ - return 0; -} - -int be_visitor_args_pre_upcall_ss::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: // inout - os->indent (); - *os << arg->local_name () << " = " << node->name () - << "::_narrow (_tao_base_var_" << arg->local_name () - << ".in (), ACE_TRY_ENV);\n"; - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_pre_upcall_ss::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: // inout - os->indent (); - *os << arg->local_name () << " = " << node->name () - << "::_narrow (_tao_base_var_" << arg->local_name () - << ".in (), ACE_TRY_ENv);\n"; - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_pre_upcall_ss::visit_predefined_type (be_predefined_type *node) -{ - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } // end switch direction - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - break; - case AST_Argument::dir_INOUT: - break; - case AST_Argument::dir_OUT: - break; - } // end switch direction - } // end of else - - return 0; -} - -int be_visitor_args_pre_upcall_ss::visit_sequence (be_sequence *) -{ - return 0; -} - -int be_visitor_args_pre_upcall_ss::visit_string (be_string *) -{ - return 0; -} - -int be_visitor_args_pre_upcall_ss::visit_structure (be_structure *) -{ - return 0; -} - -int be_visitor_args_pre_upcall_ss::visit_union (be_union *) -{ - return 0; -} - -int be_visitor_args_pre_upcall_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_pre_upcall_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/upcall_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/upcall_ss.cpp deleted file mode 100644 index 1e270712ea9..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/upcall_ss.cpp +++ /dev/null @@ -1,446 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// upcall_ss.cpp -// -// = DESCRIPTION -// Visitor that generates code that passes argument variables to the -// upcall. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, upcall_ss, "$Id$") - - -// ************************************************************************ -// visitor for passing arguments to the upcall -// ************************************************************************ - -be_visitor_args_upcall_ss::be_visitor_args_upcall_ss (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_upcall_ss::~be_visitor_args_upcall_ss (void) -{ -} - -int be_visitor_args_upcall_ss::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_upcall_ss::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_upcall_ss::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int be_visitor_args_upcall_ss::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (node->size_type () == be_decl::VARIABLE) - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - else - *os << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_upcall_ss::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_upcall_ss::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".in ()"; - break; - case AST_Argument::dir_INOUT: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".inout ()"; - break; - case AST_Argument::dir_OUT: - // *os << arg->local_name (); - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - break; - } - return 0; -} - -int be_visitor_args_upcall_ss::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".in ()"; - break; - case AST_Argument::dir_INOUT: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".inout ()"; - break; - case AST_Argument::dir_OUT: - // *os << arg->local_name (); - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - break; - } - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int be_visitor_args_upcall_ss::visit_valuetype (be_valuetype *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".in ()"; - break; - case AST_Argument::dir_INOUT: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".inout ()"; - break; - case AST_Argument::dir_OUT: - // *os << arg->local_name (); - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - break; - } - return 0; -} - -int be_visitor_args_upcall_ss::visit_valuetype_fwd (be_valuetype_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".in ()"; - break; - case AST_Argument::dir_INOUT: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".inout ()"; - break; - case AST_Argument::dir_OUT: - // *os << arg->local_name (); - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - break; - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - - -int be_visitor_args_upcall_ss::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - os->indent (); - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - break; - } // end switch direction - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".in ()"; - break; - case AST_Argument::dir_INOUT: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".inout ()"; - break; - case AST_Argument::dir_OUT: - // *os << arg->local_name (); - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - *os << arg->local_name (); - break; - } // end switch direction - } // end of else - - return 0; -} - -int be_visitor_args_upcall_ss::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - break; - } - return 0; -} - -int be_visitor_args_upcall_ss::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".in ()"; - break; - case AST_Argument::dir_INOUT: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".inout ()"; - break; - case AST_Argument::dir_OUT: - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - break; - } - return 0; -} - -int be_visitor_args_upcall_ss::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (node->size_type () == be_decl::VARIABLE) - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - else - *os << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_upcall_ss::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - os->indent (); - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - *os << arg->local_name (); - break; - case AST_Argument::dir_OUT: - if (node->size_type () == be_decl::VARIABLE) - if (this->ctx_->state () - == TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS) - *os << arg->local_name (); - else - *os << arg->local_name () << ".out ()"; - else - *os << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_upcall_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_upcall_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp deleted file mode 100644 index c5829ca7f92..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp +++ /dev/null @@ -1,635 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// vardecl_ss.cpp -// -// = DESCRIPTION -// Visitor that generates the variable declaration in the skeleton -// corresponding to the Argument node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_argument, vardecl_ss, "$Id$") - - -// ************************************************************************ -// Visitor to generate code for argument variable declaration -// ************************************************************************ - -be_visitor_args_vardecl_ss::be_visitor_args_vardecl_ss (be_visitor_context *ctx) - : be_visitor_args (ctx) -{ -} - -be_visitor_args_vardecl_ss::~be_visitor_args_vardecl_ss (void) -{ -} - -int be_visitor_args_vardecl_ss::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_vardecl_ss::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_vardecl_ss::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int be_visitor_args_vardecl_ss::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";" << be_nl - << bt->name () << "_forany _tao_forany_" - << arg->local_name () << " (" << be_idt << be_idt_nl - << arg->local_name () << be_uidt_nl - << ");\n" << be_uidt; - break; - - case AST_Argument::dir_OUT: - os->indent (); - if (node->size_type () == be_type::VARIABLE) - { - *os << bt->name () << "_var " << arg->local_name () - << ";\n\n"; - } - else - { - *os << bt->name () << " " << arg->local_name () - << ";\n\n"; - } - break; - } - return 0; -} - -int be_visitor_args_vardecl_ss::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_vardecl_ss::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var " << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_var _tao_base_var_" << arg->local_name () - << ";" << be_nl; - *os << "CORBA::Object_ptr &_tao_base_ptr_" << arg->local_name () - << " = _tao_base_var_" << arg->local_name () << ".out ();\n"; -#endif - *os << bt->name () << "_var " << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_var _tao_base_var_" << arg->local_name () - << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_var_" - << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_ptr _tao_base_ptr_" - << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_var_" << arg->local_name () << ".out ());\n"; -#endif - *os << bt->name () << "_var " - << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_var _tao_base_var_" - << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_vardecl_ss::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var " << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_var _tao_base_var_" << arg->local_name () - << ";" << be_nl; - *os << "CORBA::Object_ptr &_tao_base_ptr_" << arg->local_name () - << " = _tao_base_var_" << arg->local_name () << ".out ();\n"; -#endif - *os << bt->name () << "_var " << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_var _tao_base_var_" << arg->local_name () - << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_var_" - << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_ptr _tao_base_ptr_" - << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_var_" << arg->local_name () << ".out ());\n"; -#endif - *os << bt->name () << "_var " - << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_var _tao_base_var_" - << arg->local_name () << ";\n"; - break; - } - return 0; -} - - -#ifdef IDL_HAS_VALUETYPE - -int be_visitor_args_vardecl_ss::visit_valuetype (be_valuetype *) -{ - return -1; -} - -int be_visitor_args_vardecl_ss::visit_valuetype_fwd (be_valuetype_fwd *) -{ - return -1; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int be_visitor_args_vardecl_ss::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_var_" - << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_ptr &_tao_ptr_" << arg->local_name () - << " = _tao_var_" << arg->local_name () << ".out ();" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << arg->local_name () << ");\n"; -#endif - *os << bt->name () << "_var " - << arg->local_name () << ";\n"; - break; - } // end switch direction - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var " << arg->local_name () - << ";" << be_nl; - *os << bt->name () << "_ptr &_tao_ptr_" << arg->local_name () - << " = " << arg->local_name () << ".out ();\n"; -#endif - *os << bt->name () << "_var " << arg->local_name () - << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_var_" - << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_ptr &_tao_ptr_" << arg->local_name () - << " = _tao_var_" << arg->local_name () << ".out ();" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << arg->local_name () << ");" << be_nl; -#endif - *os << bt->name () << "_var " - << arg->local_name () << ";\n"; - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - } // end switch direction - } // end of else - - return 0; -} - -int be_visitor_args_vardecl_ss::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_var_" - << arg->local_name () << ";" << be_nl; - *os << bt->name () << " *&_tao_ptr_" << arg->local_name () - << " = _tao_var_" << arg->local_name () << ".out ();" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << arg->local_name () << ");\n"; -#endif - *os << bt->name () << "_var " - << arg->local_name () << ";" << be_nl; - break; - } - return 0; -} - -int be_visitor_args_vardecl_ss::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); -#if 0 /* ASG */ - *os << "CORBA::String_var _tao_var_" - << arg->local_name () << ";" << be_nl; - *os << "char *&" << arg->local_name () << " = _tao_var_" - << arg->local_name () << ".out ();" << be_nl; -#endif - *os << "CORBA::String_var " - << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); -#if 0 /* ASG */ - *os << "CORBA::String_var _tao_var_" - << arg->local_name () << ";" << be_nl; - *os << "char *&_tao_ptr_" << arg->local_name () << " = _tao_var_" - << arg->local_name () << ".out ();" << be_nl; - *os << "CORBA::String_out " << arg->local_name () - << " (_tao_ptr_" << arg->local_name () << ");\n"; -#endif - *os << "CORBA::String_var " - << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_vardecl_ss::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - // check if it is variable sized - if (node->size_type () == be_type::VARIABLE) - { -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_var_" - << arg->local_name () << ";" << be_nl; - *os << bt->name () << " *&_tao_ptr_" << arg->local_name () - << " = _tao_var_" << arg->local_name () << ".out ();" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << arg->local_name () << ");\n"; -#endif - *os << bt->name () << "_var " - << arg->local_name () << ";\n"; - } - else - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_vardecl_ss::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - // check if it is variable sized - if (node->size_type () == be_type::VARIABLE) - { -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_var_" - << arg->local_name () << ";" << be_nl; - *os << bt->name () << " *&_tao_ptr_" << arg->local_name () - << " = _tao_var_" << arg->local_name () << ".out ();" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << arg->local_name () << ");\n"; -#endif - *os << bt->name () << "_var " - << arg->local_name () << ";\n"; - - } - else - *os << bt->name () << " " << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_vardecl_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_vardecl_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - - -// ************************************************************************ -// Visitor to generate code for argument variable declaration for compiled -// marshaling. This provides only the overriden methods. The rest is handled by -// the base class that works for interpretiveskeletons. -// ************************************************************************ - -be_compiled_visitor_args_vardecl_ss:: -be_compiled_visitor_args_vardecl_ss (be_visitor_context *ctx) - : be_visitor_args_vardecl_ss (ctx) -{ -} - -be_compiled_visitor_args_vardecl_ss::~be_compiled_visitor_args_vardecl_ss (void) -{ -} - -int be_compiled_visitor_args_vardecl_ss::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << bt->name () << "_var " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << "_var " - << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_compiled_visitor_args_vardecl_ss::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << bt->name () << "_var " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << "_var " - << arg->local_name () << ";\n"; - break; - } - return 0; -} - - -#ifdef IDL_HAS_VALUETYPE - -int be_compiled_visitor_args_vardecl_ss::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << bt->name () << "_var " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << "_var " - << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int -be_compiled_visitor_args_vardecl_ss::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument - // node - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (this->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - os->indent (); - *os << bt->name () << "_var " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << "_var " - << arg->local_name () << ";\n"; - break; - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor_array.cpp b/TAO/TAO_IDL/be/be_visitor_array.cpp deleted file mode 100644 index 395a98fb319..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_array.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_array.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Array -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_array.h" - -// include all the individual files -#include "be_visitor_array/array.cpp" -#include "be_visitor_array/array_ch.cpp" -#include "be_visitor_array/array_ci.cpp" -#include "be_visitor_array/array_cs.cpp" -#include "be_visitor_array/any_op_ch.cpp" -#include "be_visitor_array/any_op_cs.cpp" -#include "be_visitor_array/cdr_op_ch.cpp" -#include "be_visitor_array/cdr_op_ci.cpp" - -ACE_RCSID(be, be_visitor_array, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_array/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_array/any_op_ch.cpp deleted file mode 100644 index 15237b1baf9..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_array/any_op_ch.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.cpp -// -// = DESCRIPTION -// Visitor for code generation of Arrays for the Any operators in the client -// header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_array.h" - -ACE_RCSID(be_visitor_array, any_op_ch, "$Id$") - - -// *************************************************************************** -// Array visitor for generating Any operator declarations in the client header -// *************************************************************************** - -be_visitor_array_any_op_ch::be_visitor_array_any_op_ch -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_array_any_op_ch::~be_visitor_array_any_op_ch (void) -{ -} - -int -be_visitor_array_any_op_ch::visit_array (be_array *node) -{ - if (node->cli_hdr_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - os->indent (); - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, const " << node->name () - << "_forany &);" << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>>= (const CORBA::Any &, " - << node->name () << "_forany &);\n"; - - node->cli_hdr_any_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_array/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_array/any_op_cs.cpp deleted file mode 100644 index 06584bc7ddb..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_array/any_op_cs.cpp +++ /dev/null @@ -1,118 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.cpp -// -// = DESCRIPTION -// Visitor for code generation of Arrays for the Any operators in the client -// stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_array.h" - -ACE_RCSID(be_visitor_array, any_op_cs, "$Id$") - - -// *************************************************************************** -// Array visitor for generating Any operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_array_any_op_cs::be_visitor_array_any_op_cs -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_array_any_op_cs::~be_visitor_array_any_op_cs (void) -{ -} - -int -be_visitor_array_any_op_cs::visit_array (be_array *node) -{ - if (node->cli_stub_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - // Any <<= and >>= operators - os->indent (); - *os << "void operator<<= (CORBA::Any &_tao_any, const " - << node->name () << "_forany &_tao_elem)" << be_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "if (_tao_elem.nocopy ()) // no copy" << be_idt_nl - << "_tao_any.replace (" << node->tc_name () << ", " - << "_tao_elem.in (), 1, ACE_TRY_ENV); // consume it" << be_uidt_nl - << "else // copy" << be_idt_nl - << "_tao_any.replace (" << node->tc_name () << ", " << node->name () - << "_dup (_tao_elem.in ()), 1, ACE_TRY_ENV);" << be_uidt_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY {}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n\n"; - - os->indent (); - *os << "CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, " - << node->name () << "_forany &_tao_elem)" << be_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "CORBA::TypeCode_var type = _tao_any.type ();" << be_nl - << "if (!type->equal (" << node->tc_name () - << ", ACE_TRY_ENV)) return 0; // not equal" << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "if (_tao_any.any_owns_data ())" << be_nl - << "{" << be_idt_nl - << "_tao_elem = (" << node->name () << "_slice *)_tao_any.value ();" - << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl // else Any does not own the data - << "{" << be_idt_nl - << "_tao_elem.out () = " << node->name () << "_alloc ();" << be_nl - << "if (!_tao_elem.in ()) return 0;" << be_nl - << "TAO_InputCDR stream (_tao_any._tao_get_cdr ());" - << be_nl - << "if (stream.decode (" << node->tc_name () - << ", _tao_elem.inout (), 0, ACE_TRY_ENV)" << be_nl - << " == CORBA::TypeCode::TRAVERSE_CONTINUE)" << be_nl - << "{" << be_idt_nl - << "((CORBA::Any *)&_tao_any)->replace (" - << node->tc_name () << ", _tao_elem.inout (), 1, ACE_TRY_ENV);" << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << node->name () << "_free (_tao_elem._retn ());" << be_nl - << "return 0;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_nl - << "return 0;" << be_uidt_nl - << "}\n\n"; - - node->cli_stub_any_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_array/array.cpp b/TAO/TAO_IDL/be/be_visitor_array/array.cpp deleted file mode 100644 index a19959e36a1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_array/array.cpp +++ /dev/null @@ -1,152 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// array.cpp -// -// = DESCRIPTION -// Generic visitor for code generation for Arrays -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_array.h" - -ACE_RCSID(be_visitor_array, array, "$Id$") - - -// ************************************************************************ -// generic visitor for array declaration -// ************************************************************************ - -be_visitor_array::be_visitor_array (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_array::~be_visitor_array (void) -{ -} - -int be_visitor_array::visit_array (be_array *) -{ - // must be overloaded by derived visitors - return -1; -} - -int -be_visitor_array::visit_enum (be_enum *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_ARRAY_CH) - *os << bt->nested_type_name (this->ctx_->scope (), "_var"); - else - *os << bt->name () << "_var"; - return 0; -} - -int -be_visitor_array::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_ARRAY_CH) - *os << bt->nested_type_name (this->ctx_->scope (), "_var"); - else - *os << bt->name () << "_var"; - return 0; -} - -int -be_visitor_array::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - if (node->pt () == AST_PredefinedType::PT_pseudo) - *os << node->name () << "_var"; - else - *os << node->name (); - return 0; -} - -int -be_visitor_array::visit_sequence (be_sequence *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); - // *os << "CORBA::String_var"; - *os << "TAO_String_Manager"; - return 0; -} - -int -be_visitor_array::visit_structure (be_structure *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array::visit_union (be_union *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array::visit_typedef (be_typedef *node) -{ - return this->visit_node (node); -} - -// helper -int -be_visitor_array::visit_node (be_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_ARRAY_CH) - *os << bt->nested_type_name (this->ctx_->scope ()); - else - *os << bt->name (); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_array/array_ch.cpp b/TAO/TAO_IDL/be/be_visitor_array/array_ch.cpp deleted file mode 100644 index c38780bdfdb..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_array/array_ch.cpp +++ /dev/null @@ -1,517 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// array_ch.cpp -// -// = DESCRIPTION -// Visitor for Array code generation in client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_array.h" - -ACE_RCSID(be_visitor_array, array_ch, "$Id$") - - -// ************************************************************************ -// visitor for array declaration in client header -// ************************************************************************ - -be_visitor_array_ch::be_visitor_array_ch (be_visitor_context *ctx) - : be_visitor_array (ctx) -{ -} - -be_visitor_array_ch::~be_visitor_array_ch (void) -{ -} - -int be_visitor_array_ch::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_type *bt; // base type - be_decl *scope = this->ctx_->scope (); // scope in which it is used - - // nothing to do if we are imported or code is already generated - if (node->imported () || (node->cli_hdr_gen ())) - return 0; - - this->ctx_->node (node); // save the array node - - // retrieve the type - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_ch::" - "visit_array - " - "bad base type\n"), - -1); - } - - // generate the ifdefined macro - os->gen_ifdef_macro (node->flatname ()); - - // If we contain an anonymous sequence, - // generate code for the sequence here. - if (bt->node_type () == AST_Decl::NT_sequence) - { - if (this->gen_anonymous_base_type (bt, - TAO_CodeGen::TAO_SEQUENCE_CH) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_ch::" - "visit_array - " - "gen_anonymous_base_type failed\n"), - -1); - } - } - - os->indent (); - *os << "typedef "; - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ch::" - "visit_array - " - "base type decl failed\n"), - -1); - } - *os << " "; - if (!this->ctx_->tdef ()) - { - // we are dealing with an anonymous array case. Generate a typedef with - // an _ prepended to the name - *os << "_"; - } - *os << node->local_name (); - - if (node->gen_dimensions (os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ch::" - "visit_array - " - "gen dimensions failed\n"), - -1); - } - *os << ";" << be_nl; - - // now define the slice type and other required operations - *os << "typedef "; - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ch::" - "visit_array - " - "base type decl failed\n"), - -1); - } - *os << " "; - if (!this->ctx_->tdef ()) - { - // we are dealing with an anonymous array case. Generate a typedef with - // an _ prepended to the name - *os << "_"; - } - *os << node->local_name () << "_slice"; - if (node->gen_dimensions (os, 1) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ch::" - "visit_array - " - "gen slice dimensions failed\n"), - -1); - } - *os << ";\n"; - - // typedef the _var, _out, and _forany types - if (this->gen_var_defn (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ch::" - "visit_argument - " - "var_defn failed\n"), - -1); - } - // a class is generated for an out defn only for a variable length struct - if (node->size_type () == be_decl::VARIABLE) - { - if (this->gen_out_defn (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ch::" - "visit_argument - " - "out_defn failed\n"), - -1); - } - } - else - { - // fixed size - os->indent (); - // if we are a typedefed array, we can use the TYPE name to define an - // _out type. However, for anonymous arrays that do not give rise to a - // new type, we use the base type for defining an out type - if (this->ctx_->tdef ()) - { - *os << "typedef " << node->local_name () << " " - << node->local_name () << "_out;\n"; - } - else - { - *os << "typedef "; - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ch::" - "visit_array - " - "base type decl failed\n"), - -1); - } - *os << " _" << node->local_name () << "_out"; - if (node->gen_dimensions (os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ch::" - "visit_array - " - "gen dimensions failed\n"), - -1); - } - *os << ";\n"; - } - } - - if (this->gen_forany_defn (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ch::" - "visit_argument - " - "forany_defn failed\n"), - -1); - } - // the _alloc, _dup, copy, and free methods. If the node is nested, the - // methods become static - os->indent (); - const char *storage_class = 0; - - if (node->is_nested ()) - { - if (scope->node_type () != AST_Decl::NT_module) - storage_class = "static "; - else - storage_class = "TAO_NAMESPACE_STORAGE_CLASS "; - } - else - storage_class = ""; - - if (this->ctx_->tdef ()) - { - // typedefed array - *os << storage_class << node->nested_type_name (scope, "_slice") << " *"; - *os << node->nested_type_name (scope, "_alloc") << " (void);" << be_nl; - *os << storage_class << "void " << node->nested_type_name (scope, "_free") << " ("; - *os << node->nested_type_name (scope, "_slice") << " *_tao_slice);" << be_nl; - *os << storage_class << node->nested_type_name (scope, "_slice") << " *"; - *os << node->nested_type_name (scope, "_dup") << " (const "; - *os << node->nested_type_name (scope, "_slice") << " *_tao_slice);" << be_nl; - *os << storage_class << "void " << node->nested_type_name (scope, "_copy") << " ("; - *os << node->nested_type_name (scope, "_slice") << " *_tao_to, const "; - *os << node->nested_type_name (scope, "_slice") << " *_tao_from);" << be_nl; - } - else - { - // anonymous array - *os << storage_class << node->nested_type_name (scope, "_slice", "_") << " *"; - *os << node->nested_type_name (scope, "_alloc", "_") << " (void);" << be_nl; - *os << storage_class << "void " - << node->nested_type_name (scope, "_free", "_") << " ("; - *os << node->nested_type_name (scope, "_slice", "_") << " *_tao_slice);" << be_nl; - *os << storage_class << node->nested_type_name (scope, "_slice", "_") << " *"; - *os << node->nested_type_name (scope, "_dup", "_") << " (const "; - *os << node->nested_type_name (scope, "_slice", "_") << " *_tao_slice);" << be_nl; - *os << storage_class << "void " - << node->nested_type_name (scope, "_copy", "_") << " ("; - *os << node->nested_type_name (scope, "_slice", "_") << " *_tao_to, const "; - *os << node->nested_type_name (scope, "_slice", "_") << " *_tao_from);" << be_nl; - } - - *os << "\n"; - -#if 0 - // Typecode for an anonymous array will not be required anywhere since we do - // not generate the Any operators for anonymous types - - // is this a typedefined array? if so, then let the typedef deal with - // generation of the typecode - if (!this->ctx_->tdef ()) - { - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor_context ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_TYPECODE_DECL); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_ch::" - "visit_array - " - "TypeCode declaration failed\n" - ), -1); - } - delete visitor; - } -#endif /* 0 */ - - // generate the endif macro - os->gen_endif (); - - node->cli_hdr_gen (1); - return 0; -} - -// generate the var defn -int -be_visitor_array_ch::gen_var_defn (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - char namebuf [NAMEBUFSIZE]; // names - char varnamebuf [NAMEBUFSIZE]; // var names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (varnamebuf, '\0', NAMEBUFSIZE); - if (this->ctx_->tdef ()) - { - // typedefed array - ACE_OS::sprintf (namebuf, "%s", node->local_name ()->get_string ()); - ACE_OS::sprintf (varnamebuf, "%s_var", node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (namebuf, "_%s", node->local_name ()->get_string ()); - ACE_OS::sprintf (varnamebuf, "_%s_var", node->local_name ()->get_string ()); - } - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - os->indent (); // start with whatever was our current indent level - *os << "class " << idl_global->export_macro () - << " " << varnamebuf << be_nl; - *os << "{" << be_nl; - *os << "public:" << be_idt_nl; - // default constr - *os << varnamebuf << " (void); // default constructor" << be_nl; - // constr from pointer to slice - *os << varnamebuf << " (" << namebuf << "_slice *);" << be_nl; - // copy constructor - *os << varnamebuf << " (const " << varnamebuf << - " &); // copy constructor" << be_nl; - // destructor - *os << "~" << varnamebuf << " (void); // destructor" << be_nl; - *os << be_nl; - // assignment operator from a pointer to slice - *os << varnamebuf << " &operator= (" << namebuf << "_slice *);" - << be_nl; - // assignment from _var - *os << varnamebuf << " &operator= (const " << varnamebuf << " &);" << be_nl; - - // arrow operator - // nothing here - *os << be_nl; - - // other extra types (cast operators, [] operator, and others) - // overloaded [] operator - *os << namebuf << "_slice &operator[] (CORBA::ULong index);" - << be_nl; - *os << "const " << namebuf - << "_slice &operator[] (CORBA::ULong index) const;" << be_nl; - - // cast operators - *os << "operator " << namebuf << "_slice * const &() const;" - << be_nl; - *os << "operator " << namebuf << "_slice *&();" << be_nl; - - // in, inout, out and _retn - *os << "// in, inout, out, _retn " << be_nl; - *os << "const " << namebuf << "_slice *in (void) const;" << be_nl; - *os << namebuf << "_slice *inout (void);" << be_nl; - *os << namebuf << "_slice *&out (void);" << be_nl; - *os << namebuf << "_slice *_retn (void);" << be_nl; - - // generate an additional member function that returns the underlying pointer - *os << namebuf << "_slice *ptr (void) const;" << be_uidt_nl; - - // generate the private section - *os << "private:" << be_idt_nl; - *os << namebuf << "_slice *ptr_;" << be_uidt_nl; - *os << "};\n\n"; - - return 0; -} - -// generate the _out definition -int -be_visitor_array_ch::gen_out_defn (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - char namebuf [NAMEBUFSIZE]; // to hold the name - char outnamebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (outnamebuf, '\0', NAMEBUFSIZE); - if (this->ctx_->tdef ()) - { - ACE_OS::sprintf (namebuf, "%s", node->local_name ()->get_string ()); - ACE_OS::sprintf (outnamebuf, "%s_out", node->local_name ()->get_string ()); - } - else - { - // anonymous array - ACE_OS::sprintf (namebuf, "_%s", node->local_name ()->get_string ()); - ACE_OS::sprintf (outnamebuf, "_%s_out", node->local_name ()->get_string ()); - } - - // generate the out definition (always in the client header) - os->indent (); // start with whatever was our current indent level - - *os << "class " << idl_global->export_macro () - << " " << outnamebuf << be_nl; - *os << "{" << be_nl; - *os << "public:" << be_idt_nl; - - // No default constructor - - // constructor from a pointer to slice - *os << outnamebuf << " (" << namebuf << "_slice *&);" << be_nl; - // constructor from a _var & - *os << outnamebuf << " (" << namebuf << "_var &);" << be_nl; - // constructor from a _out & - *os << outnamebuf << " (const " << outnamebuf << " &);" << be_nl; - // assignment operator from a _out & - *os << outnamebuf << " &operator= (const " << outnamebuf << " &);" << be_nl; - // assignment from slice * - *os << outnamebuf << " &operator= (" << namebuf << "_slice *);" - << be_nl; - // cast - *os << "operator " << namebuf << "_slice *&();" << be_nl; - // ptr fn - *os << namebuf << "_slice *&ptr (void);" << be_nl; - // operator [] instead of -> - *os << namebuf << "_slice &operator[] (CORBA::ULong index);" << be_nl; - *os << "const " << namebuf << "_slice &operator[] " - << "(CORBA::ULong index) const;" << be_uidt_nl; - - *os << "private:" << be_idt_nl; - *os << namebuf << "_slice *&ptr_;" << be_nl; - *os << "// assignment from T_var not allowed" << be_nl; - *os << "void operator= (const " << namebuf << "_var &);" << be_uidt_nl; - *os << "};\n\n"; - return 0; -} - -// generate the _var definition for ourself -int -be_visitor_array_ch::gen_forany_defn (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - char namebuf [NAMEBUFSIZE]; // names - char foranyname [NAMEBUFSIZE]; // forany class names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (foranyname, '\0', NAMEBUFSIZE); - - if (this->ctx_->tdef ()) - { - ACE_OS::sprintf (namebuf, "%s", node->local_name ()->get_string ()); - ACE_OS::sprintf (foranyname, "%s_forany", node->local_name ()->get_string ()); - } - else - { - // anonymous array case - ACE_OS::sprintf (namebuf, "_%s", node->local_name ()->get_string ()); - ACE_OS::sprintf (foranyname, "_%s_forany", - node->local_name ()->get_string ()); - } - - // generate the forany definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - os->indent (); // start with whatever was our current indent level - *os << "class " << idl_global->export_macro () - << " " << foranyname << be_nl; - *os << "{" << be_nl; - *os << "public:" << be_idt_nl; - - // default constr - *os << foranyname << " (void); // default constructor" << be_nl; - // constr from pointer to slice - *os << foranyname << " (" << namebuf << "_slice *, " - << "CORBA::Boolean nocopy=0);" << be_nl; - // copy constructor - *os << foranyname << " (const " << foranyname - << " &); // copy constructor" << be_nl; - // destructor - *os << "~" << foranyname << " (void); // destructor" << be_nl; - *os << be_nl; - // assignment operator from a pointer to slice - *os << foranyname << " &operator= (" << namebuf << "_slice *);" - << be_nl; - // assignment from _var - *os << foranyname << " &operator= (const " << foranyname << " &);" << be_nl; - - // arrow operator - // nothing here - *os << be_nl; - - // other extra types (cast operators, [] operator, and others) - // overloaded [] operator - *os << namebuf << "_slice &operator[] (CORBA::ULong index);" - << be_nl; - *os << "const " << namebuf - << "_slice &operator[] (CORBA::ULong index) const;" << be_nl; - - // cast operators - *os << "operator " << namebuf << "_slice * const &() const;" - << be_nl; - *os << "operator " << namebuf << "_slice *&();" << be_nl; - - // in, inout, out and _retn - *os << "// in, inout, out, _retn " << be_nl; - *os << "const " << namebuf << "_slice *in (void) const;" << be_nl; - *os << namebuf << "_slice *inout (void);" << be_nl; - *os << namebuf << "_slice *&out (void);" << be_nl; - *os << namebuf << "_slice *_retn (void);" << be_nl; - - // generate an additional member function that returns the underlying pointer - *os << namebuf << "_slice *ptr (void) const;" << be_nl; - - // additional member function that returns the NOCOPY flag - *os << "CORBA::Boolean nocopy (void) const;" << be_uidt_nl; - - // generate the private section - *os << "private:" << be_idt_nl; - *os << "/* friend class CORBA_Any; */" << be_nl; - *os << namebuf << "_slice *ptr_;" << be_nl; - *os << "CORBA::Boolean nocopy_;" << be_uidt_nl; - *os << "};\n\n"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp b/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp deleted file mode 100644 index b08c960285d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp +++ /dev/null @@ -1,641 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// array_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Arrays in the client inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_array.h" - -ACE_RCSID(be_visitor_array, array_ci, "$Id$") - - -// ************************************************************************ -// visitor for array declaration in client inline -// ************************************************************************ - -be_visitor_array_ci::be_visitor_array_ci (be_visitor_context *ctx) - : be_visitor_array (ctx) -{ -} - -be_visitor_array_ci::~be_visitor_array_ci (void) -{ -} - -int be_visitor_array_ci::visit_array (be_array *node) -{ - // nothing to do if we are imported or code is already generated - if (node->imported () || (node->cli_inline_gen ())) - return 0; - - this->ctx_->node (node); // save the array node - - // If we contain an anonymous sequence, generate code for it here. - - be_type *bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_array - " - "bad base type\n"), - -1); - } - - if (bt->node_type () == AST_Decl::NT_sequence) - { - if (this->gen_anonymous_base_type (bt, - TAO_CodeGen::TAO_SEQUENCE_CI) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_ci::" - "visit_array - " - "gen_anonymous_base_type failed\n"), - -1); - } - } - - // generate code for the _var, _out, and _forany types - if (this->gen_var_impl (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ci::" - "visit_array - " - "var_defn failed\n"), - -1); - } - if (node->size_type () == be_decl::VARIABLE) - { - if (this->gen_out_impl (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ci::" - "visit_array - " - "out_defn failed\n"), - -1); - } - } - - if (this->gen_forany_impl (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ci::" - "visit_array - " - "forany_defn failed\n"), - -1); - } - - node->cli_inline_gen (1); - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_visitor_array_ci::gen_var_impl (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - char nodename [NAMEBUFSIZE]; // node name - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local names of the var - // save the node's local name and full name in a buffer for quick use later - // on - ACE_OS::memset (nodename, '\0', NAMEBUFSIZE); - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - if (this->ctx_->tdef ()) - { - // typedefed node - ACE_OS::sprintf (nodename, "%s", node->fullname ()); - ACE_OS::sprintf (fname, "%s_var", node->fullname ()); - ACE_OS::sprintf (lname, "%s_var", - node->local_name ()->get_string ()); - } - else - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope prepended to - // our local name. This needs to be inserted after the parents's name - if (node->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (nodename, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - ACE_OS::sprintf (fname, "%s::_%s_var", parent->fullname (), - node->local_name ()->get_string ()); - ACE_OS::sprintf (lname, "_%s_var", - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (nodename, "_%s", node->fullname ()); - ACE_OS::sprintf (fname, "_%s_var", node->fullname ()); - ACE_OS::sprintf (lname, "_%s_var", - node->local_name ()->get_string ()); - } - } - - // generate the var implementation in the inline file - - os->indent (); // start with whatever was our current indent level - - *os << "// *************************************************************" - << be_nl; - *os << "// Inline operations for class " << fname << be_nl; - *os << "// *************************************************************\n\n"; - - // default constr - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << - " (void) // default constructor" << be_nl; - *os << " " << ": ptr_ (0)" << be_nl; - *os << "{}\n\n"; - - // constr from a _slice * - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (" << nodename << "_slice *p)" << be_nl; - *os << " : ptr_ (p)" << be_nl; - *os << "{}\n\n"; - - // copy constructor (deep copy) - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (const " << fname - << " &p) // copy constructor" << be_nl; - *os << "{" << be_idt_nl; - *os << "this->ptr_ = " << nodename << "_dup (p.ptr_);" << be_uidt_nl; - *os << "}\n\n"; - - // destructor - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::~" << lname << " (void) // destructor" << be_nl; - *os << "{" << be_idt_nl; - *os << nodename << "_free (this->ptr_);" << be_uidt_nl; - *os << "}\n\n"; - - // assignment operator - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (" << nodename - << "_slice *p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "// is what we own the same that is being assigned to us?" - << be_nl; - *os << "if (this->ptr_ != p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "// delete our stuff and assume ownership of p" << be_nl; - *os << nodename << "_free (this->ptr_);" << be_nl; - *os << "this->ptr_ = p;" << be_uidt_nl; - *os << "}" << be_nl; - *os << "return *this;" << be_uidt_nl; - *os << "}\n\n"; - - // assignment operator from _var - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (const " << fname - << " &p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "if (this != &p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "// not assigning to ourselves" << be_nl; - *os << nodename << "_free (this->ptr_); // free old stuff" << be_nl; - *os << "this->ptr_ = " << nodename - << "_dup (p.ptr_);// deep copy" << be_uidt_nl; - *os << "}" << be_nl; - *os << "return *this;" << be_uidt_nl; - *os << "}\n\n"; - - // other extra methods - cast operators () - os->indent (); - *os << "ACE_INLINE " << be_nl; - *os << fname << "::operator " << nodename - << "_slice * const &() const // cast" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << be_nl; - *os << fname << "::operator " << nodename << "_slice *&() // cast " << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - // two operator []s instead of -> - os->indent (); - *os << "ACE_INLINE const " << nodename << "_slice &" << be_nl; - *os << fname << "::operator[] (CORBA::ULong index) const" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_[index];" << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice &" << be_nl; - *os << fname << "::operator[] (CORBA::ULong index)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_[index];" << be_uidt_nl; - *os << "}\n\n"; - - // in, inout, out, and _retn - os->indent (); - *os << "ACE_INLINE const " << nodename << "_slice *" << be_nl; - *os << fname << "::in (void) const" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice *" << be_nl; - *os << fname << "::inout (void)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice * &" << be_nl; - *os << fname << "::out (void)" << be_nl; - *os << "{" << be_idt_nl; - *os << nodename << "_free (this->ptr_);" << be_nl; - *os << "this->ptr_ = (" << nodename << "_slice *)0;" << be_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice *" << be_nl; - *os << fname << "::_retn (void)" << be_nl; - *os << "{" << be_idt_nl; - *os << nodename << "_slice *tmp = this->ptr_;" << be_nl; - *os << "this->ptr_ = (" << nodename << "_slice *)0;" << be_nl; - *os << "return tmp;" << be_uidt_nl; - *os << "}\n\n"; - - // the additional ptr () member function - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice *" << be_nl; - *os << fname << "::ptr (void) const" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - return 0; -} - -int -be_visitor_array_ci::gen_out_impl (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - char nodename [NAMEBUFSIZE]; // node name - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local names of the out class - // save the node's local name and full name in a buffer for quick use later - // on - ACE_OS::memset (nodename, '\0', NAMEBUFSIZE); - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - if (this->ctx_->tdef ()) - { - // typedefed node - ACE_OS::sprintf (nodename, "%s", node->fullname ()); - ACE_OS::sprintf (fname, "%s_out", node->fullname ()); - ACE_OS::sprintf (lname, "%s_out", - node->local_name ()->get_string ()); - } - else - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope prepended to - // our local name. This needs to be inserted after the parents's name - if (node->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (nodename, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - ACE_OS::sprintf (fname, "%s::_%s_out", parent->fullname (), - node->local_name ()->get_string ()); - ACE_OS::sprintf (lname, "_%s_out", - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (nodename, "_%s", node->fullname ()); - ACE_OS::sprintf (fname, "_%s_out", node->fullname ()); - ACE_OS::sprintf (lname, "_%s_out", - node->local_name ()->get_string ()); - } - } - - // generate the out implementation in the inline file - - os->indent (); // start with whatever was our current indent level - - *os << "// *************************************************************" - << be_nl; - *os << "// Inline operations for class " << fname << be_nl; - *os << "// *************************************************************\n\n"; - - // constr from a pointer to slice - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (" << nodename << "_slice *&p)" << be_nl; - *os << " : ptr_ (p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "this->ptr_ = 0;" << be_uidt_nl; - *os << "}\n\n"; - - // constructor from _var & - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (" << nodename - << "_var &p) // constructor from _var" << be_nl; - *os << " : ptr_ (p.out ())" << be_nl; - *os << "{" << be_idt_nl; - *os << nodename << "_free (this->ptr_);" << be_nl; - *os << "this->ptr_ = 0;" << be_uidt_nl; - *os << "}\n\n"; - - // copy constructor - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (const " << fname - << " &p) // copy constructor" << be_nl; - *os << " : ptr_ (ACE_const_cast (" - << fname << "&,p).ptr_)" << be_nl; - *os << "{}\n\n"; - - // assignment operator from _out & - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (const " << fname - << " &p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "this->ptr_ = ACE_const_cast (" - << fname << "&,p).ptr_;" << be_nl; - *os << "return *this;" << be_uidt_nl; - *os << "}\n\n"; - - // assignment from _var is not allowed - - // assignment operator from _ptr - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (" << nodename - << "_slice *p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "this->ptr_ = p;" << be_nl; - *os << "return *this;" << be_uidt_nl; - *os << "}\n\n"; - - // other extra methods - cast operator () - os->indent (); - *os << "ACE_INLINE " << be_nl; - *os << fname << "::operator " << nodename - << "_slice *&() // cast" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - // ptr function - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice *&" << be_nl; - *os << fname << "::ptr (void) // ptr" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - // operator [] instead of -> - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice &" << be_nl; - *os << fname << "::operator[] (CORBA::ULong index)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_[index];" << be_uidt_nl; - *os << "}\n\n"; - - return 0; -} - -int -be_visitor_array_ci::gen_forany_impl (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - char nodename [NAMEBUFSIZE]; // node name - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local names of the var - // save the node's local name and full name in a buffer for quick use later - // on - ACE_OS::memset (nodename, '\0', NAMEBUFSIZE); - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - if (this->ctx_->tdef ()) - { - // typedefed node - ACE_OS::sprintf (nodename, "%s", node->fullname ()); - ACE_OS::sprintf (fname, "%s_forany", node->fullname ()); - ACE_OS::sprintf (lname, "%s_forany", - node->local_name ()->get_string ()); - } - else - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope prepended to - // our local name. This needs to be inserted after the parents's name - if (node->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (nodename, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - ACE_OS::sprintf (fname, "%s::_%s_forany", parent->fullname (), - node->local_name ()->get_string ()); - ACE_OS::sprintf (lname, "_%s_forany", - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (nodename, "_%s", node->fullname ()); - ACE_OS::sprintf (fname, "_%s_forany", node->fullname ()); - ACE_OS::sprintf (lname, "_%s_forany", - node->local_name ()->get_string ()); - } - } - - // generate the var implementation in the inline file - - os->indent (); // start with whatever was our current indent level - - *os << "// *************************************************************" - << be_nl; - *os << "// Inline operations for class " << fname << be_nl; - *os << "// *************************************************************\n\n"; - - // default constr - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << - " (void) // default constructor" << be_nl; - *os << " " << ": ptr_ (0)," << be_nl; - *os << " nocopy_ (0)" << be_nl; - *os << "{}\n\n"; - - // constr from a _slice * - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (" << nodename << "_slice *p, " - << "CORBA::Boolean nocopy)" << be_nl; - *os << " : ptr_ (p)," << be_nl; - *os << " nocopy_ (nocopy)" << be_nl; - *os << "{}\n\n"; - - // copy constructor (deep copy) - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (const " << fname - << " &p) // copy constructor" << be_nl; - *os << "{" << be_idt_nl; - *os << "this->ptr_ = " << nodename << "_dup (p.ptr_);" << be_nl; - *os << "this->nocopy_ = p.nocopy_;" << be_uidt_nl; - *os << "}\n\n"; - - // destructor - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::~" << lname << " (void) // destructor" << be_nl; - *os << "{" << be_nl; - *os << " // don't do anything" << be_nl; - *os << "}\n\n"; - - // assignment operator - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (" << nodename - << "_slice *p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "// is what we own the same that is being assigned to us?" << - be_nl; - *os << "if (this->ptr_ != p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "// delete our stuff and assume ownership of p" << be_nl; - *os << nodename << "_free (this->ptr_);" << be_nl; - *os << "this->ptr_ = p;" << be_uidt_nl; - *os << "}" << be_nl; - *os << "return *this;" << be_uidt_nl; - *os << "}\n\n"; - - // assignment operator from _forany - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (const " << fname - << " &p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "if (this != &p)" << be_nl; - *os << "{" << be_idt_nl; - *os << "// not assigning to ourselves" << be_nl; - *os << nodename << "_free (this->ptr_); // free old stuff" << be_nl; - *os << "this->ptr_ = " << nodename - << "_dup (p.ptr_);// deep copy" << be_nl; - *os << "this->nocopy_ = p.nocopy_;" << be_uidt_nl; - *os << "}" << be_nl; - *os << "return *this;" << be_uidt_nl; - *os << "}\n\n"; - - // other extra methods - cast operators () - os->indent (); - *os << "ACE_INLINE " << be_nl; - *os << fname << "::operator " << nodename - << "_slice * const &() const // cast" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << be_nl; - *os << fname << "::operator " << nodename - << "_slice *&() // cast " << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - // two operator []s instead of -> - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice const &" << be_nl; - *os << fname << "::operator[] (CORBA::ULong index) const" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_[index];" << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice &" << be_nl; - *os << fname << "::operator[] (CORBA::ULong index)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_[index];" << be_uidt_nl; - *os << "}\n\n"; - - // in, inout, out, and _retn - os->indent (); - *os << "ACE_INLINE const " << nodename << "_slice *" << be_nl; - *os << fname << "::in (void) const" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice *" << be_nl; - *os << fname << "::inout (void)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice * &" << be_nl; - *os << fname << "::out (void)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice *" << be_nl; - *os << fname << "::_retn (void)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - // the additional ptr () member function - os->indent (); - *os << "ACE_INLINE " << nodename << "_slice *" << be_nl; - *os << fname << "::ptr (void) const" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->ptr_;" << be_uidt_nl; - *os << "}\n\n"; - - // the additional nocopy member function - os->indent (); - *os << "ACE_INLINE CORBA::Boolean" << be_nl; - *os << fname << "::nocopy (void) const" << be_nl; - *os << "{" << be_idt_nl; - *os << "return this->nocopy_;" << be_uidt_nl; - *os << "}\n\n"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_array/array_cs.cpp b/TAO/TAO_IDL/be/be_visitor_array/array_cs.cpp deleted file mode 100644 index 981355135c5..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_array/array_cs.cpp +++ /dev/null @@ -1,309 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// array_cs.cpp -// -// = DESCRIPTION -// Visitor for code generation of Arrays in the client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_array.h" - -ACE_RCSID(be_visitor_array, array_cs, "$Id$") - - -// ************************************************************************ -// visitor for array declaration in client stubs -// ************************************************************************ - -be_visitor_array_cs::be_visitor_array_cs (be_visitor_context *ctx) - : be_visitor_array (ctx) -{ -} - -be_visitor_array_cs::~be_visitor_array_cs (void) -{ -} - -int be_visitor_array_cs::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_type *bt; // base type - unsigned long i; - - // nothing to do if we are imported or code is already generated - if (node->imported () || (node->cli_stub_gen ())) - return 0; - - this->ctx_->node (node); // save the array node - - // retrieve the type - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ci::" - "visit_array - " - "Bad base type\n"), - -1); - } - - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local names of the var - // save the node's local name and full name in a buffer for quick use later - // on - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - if (this->ctx_->tdef ()) - { - // typedefed node - ACE_OS::sprintf (fname, "%s", node->fullname ()); - ACE_OS::sprintf (lname, "%s", - node->local_name ()->get_string ()); - } - else - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope prepended to - // our local name. This needs to be inserted after the parents's name - if (node->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - ACE_OS::sprintf (lname, "_%s", - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", node->fullname ()); - ACE_OS::sprintf (lname, "_%s", - node->local_name ()->get_string ()); - } - } - - // dup method - os->indent (); - *os << fname << "_slice *" << be_nl - << fname << "_dup (const " << fname - << "_slice *_tao_src_array)" << be_nl; - *os << "{" << be_idt_nl; - *os << fname << "_slice *_tao_dup_array = " << fname - << "_alloc ();" << be_nl; - *os << "if (!_tao_dup_array) return (" << fname - << "_slice *)0;" << be_nl; - *os << fname << "_copy (_tao_dup_array, _tao_src_array);" << be_nl; - *os << "return _tao_dup_array;" << be_uidt_nl; - *os << "}\n\n"; - - // alloc method - os->indent (); // start from current indentation - *os << fname << "_slice *" << be_nl; - *os << fname << "_alloc (void)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return new "; - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_ci::" - "visit_array - " - "base type decl failed\n"), - -1); - } - - if (node->gen_dimensions (os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client - " - "dimensions codegen failed\n"), - -1); - } - - *os << ";" << be_uidt_nl; - *os << "}\n\n"; - - // free method - os->indent (); - *os << "void" << be_nl - << fname << "_free (" << fname - << "_slice *_tao_slice)" << be_nl; - *os << "{" << be_idt_nl; - *os << "delete [] _tao_slice;" << be_uidt_nl; - *os << "}\n\n"; - - // copy method - os->indent (); - *os << "void " << be_nl; - *os << fname << "_copy (" << fname << "_slice * _tao_to, " - << "const " << fname << "_slice *_tao_from)" << be_nl; - *os << "{" << be_idt_nl; - *os << "// copy each individual element" << be_nl; - - // generate nested loops for as many dimensions as there are - for (i = 0; i < node->n_dims (); i++) - { - // retrieve the ith dimension value - AST_Expression *expr = node->dims ()[i]; - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cs::" - "visit_array - " - "bad array dimension\n"), - -1); - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - // generate a loop for each dimension - *os << "for (CORBA::ULong i" << i << " = 0; i" << i << " < " - << expr->ev ()->u.ulval << "; i" << i << "++)" << be_idt_nl; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cs::" - "visit_array - " - "bad array dimension value\n"), - -1); - } - } - - // now generate code such that every element of the array gets assigned - // inside the innermost level of the nested loops generated above - be_array *primitive_type = 0; - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // Base type of the array node is a typedef. We need to make sure that - // this typedef is not to another array type. If it is, then we cannot - // assign an array to another. We will have to invoke the underlying - // array type's copy method for every array dimension. - - // There may be more than one level of typedef. - be_type *tmp = bt; - - while (tmp->node_type () == AST_Decl::NT_typedef) - { - be_typedef *tdef = be_typedef::narrow_from_decl (tmp); - tmp = be_type::narrow_from_decl (tdef->base_type ()); - } - - primitive_type = be_array::narrow_from_decl (tmp); - } - - if (primitive_type) - { - // The base type is a typedef to another array type, so - // we use the base type's copy method. - *os << "// call the underlying _copy" << be_nl; - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_cs::" - "visit_array - " - "base type decl failed\n"), - -1); - } - - *os << "_copy (_tao_to"; - for (i = 0; i < node->n_dims (); i++) - { - *os << "[i" << i << "]"; - } - *os << ", "; - *os << "_tao_from"; // generate the rvalue - for (i = 0; i < node->n_dims (); i++) - { - *os << "[i" << i << "]"; - } - *os << ");"; - } - else - { - // the base type is not a typedef to possibly another array type. In - // such a case, assign each element. - - *os << "_tao_to"; // generate the lvalue - for (i = 0; i < node->n_dims (); i++) - { - *os << "[i" << i << "]"; - } - *os << " = "; - *os << "_tao_from"; // generate the rvalue - for (i = 0; i < node->n_dims (); i++) - { - *os << "[i" << i << "]"; - } - *os << ";"; - } - for (i = 0; i < node->n_dims (); i++) - { - // decrement indentation as many times as the number of dimensions - *os << be_uidt; - } - *os << be_uidt_nl << "}\n\n"; - - // If we contain an anonymous sequence, - // generate code for the seuqence here. - if (bt->node_type () == AST_Decl::NT_sequence) - { - if (this->gen_anonymous_base_type (bt, - TAO_CodeGen::TAO_SEQUENCE_CS) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cs::" - "visit_array - " - "gen_anonymous_base_type failed\n"), - -1); - } - } - -#if 0 - // typecode for anonymous arrays is not required since we do not generate the - // Any operators for it and it cannot be used as a type - - // is this a typedefined array? if so, then let the typedef deal with - // generation of the typecode - if (!this->ctx_->tdef ()) - { - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor_context ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_TYPECODE_DEFN); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cs::" - "visit_array - " - "TypeCode definition failed\n" - ), -1); - } - delete visitor; - } -#endif /* 0 */ - - node->cli_stub_gen (1); - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ch.cpp deleted file mode 100644 index 3af1abc3abd..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ch.cpp +++ /dev/null @@ -1,115 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Visitor for code generation of Arrays for the Cdr operators in the client -// header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_array.h" - -ACE_RCSID(be_visitor_array, cdr_op_ch, "$Id$") - - -// *************************************************************************** -// Array visitor for generating CDR operator declarations in the client header -// *************************************************************************** - -be_visitor_array_cdr_op_ch::be_visitor_array_cdr_op_ch -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_array_cdr_op_ch::~be_visitor_array_cdr_op_ch (void) -{ -} - -int -be_visitor_array_cdr_op_ch::visit_array (be_array *node) -{ - if (node->cli_hdr_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator declarations - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator<< (TAO_OutputCDR &, const "; - // @@ TODO: this should be done in the node, it is absurd to repeat - // this code all over the visitors!!!! - if (!this->ctx_->tdef ()) - { - be_scope* scope = be_scope::narrow_from_scope (node->defined_in ()); - be_decl* parent = scope->decl (); - *os << parent->fullname () - << "::_" << node->local_name () - << "_forany &);" << be_nl; - } - else - { - *os << node->name () << "_forany &);" << be_nl; - } - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>> (TAO_InputCDR &, "; - if (!this->ctx_->tdef ()) - { - be_scope* scope = be_scope::narrow_from_scope (node->defined_in ()); - be_decl* parent = scope->decl (); - *os << parent->fullname () - << "::_" << node->local_name () - << "_forany &);" << be_nl; - } - else - { - *os << node->name () << "_forany &);" << be_nl; - } - - // If we contain an anonymous sequence, - // generate code for the sequence here. - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ch::" - "visit_array - " - "bad base type\n"), - -1); - } - - if (bt->node_type () == AST_Decl::NT_sequence) - { - if (this->gen_anonymous_base_type (bt, - TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CH) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ch::" - "visit_array - " - "gen_anonymous_base_type failed\n"), - -1); - } - } - - node->cli_hdr_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp deleted file mode 100644 index 5995c25313b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp +++ /dev/null @@ -1,646 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor for code generation of Arrays for the CDR operators in the client -// stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_array.h" - -ACE_RCSID(be_visitor_array, cdr_op_ci, "$Id$") - - -// *************************************************************************** -// Array visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_array_cdr_op_ci::be_visitor_array_cdr_op_ci -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_array_cdr_op_ci::~be_visitor_array_cdr_op_ci (void) -{ -} - -int -be_visitor_array_cdr_op_ci::visit_array (be_array *node) -{ - if (this->ctx_->alias ()) - { - // we are here because the base type of the array node is itself an array - // i.e., this is a case of array of array - return this->visit_node (node); - } - else - { - TAO_OutStream *os = this->ctx_->stream (); - - be_type *bt; // base type of the array - - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - // retrieve the type - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_cdr_op_ci::" - "visit_array - " - "Bad base type\n"), - -1); - } - - // If we contain an anonymous sequence, - // generate code for the sequence here. - - if (bt->node_type () == AST_Decl::NT_sequence) - { - // @@ (JP) TODO - change state arg to _CI when the rest of - // the cdr_op files get unhacked. - if (this->gen_anonymous_base_type (bt, - TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CS) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_array - " - "gen_anonymous_base_type failed\n"), - -1); - } - } - - // for anonymous arrays, the type name has a _ prepended. We compute the - // fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - // save the node's local name and full name in a buffer for quick use later - // on - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (this->ctx_->tdef ()) - { - // typedefed node - ACE_OS::sprintf (fname, "%s", node->fullname ()); - } - else - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope prepended to - // our local name. This needs to be inserted after the parents's name - - if (node->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", node->fullname ()); - } - } - - // generate the CDR << and >> operator defns - - // save the array node for further use - this->ctx_->node (node); - - // set the sub state as generating code for the output operator - this->ctx_->sub_state (TAO_CodeGen::TAO_CDR_OUTPUT); - *os << "ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, " - << "const " << fname << "_forany &_tao_array)" << be_nl - << "{" << be_idt_nl; - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_cdr_op_ci::" - "visit_array - " - "Base type codegen failed\n"), - -1); - } - *os << "}\n\n"; - - // set the sub state as generating code for the input operator - os->indent (); - this->ctx_->sub_state (TAO_CodeGen::TAO_CDR_INPUT); - *os << "ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, " - << fname << "_forany &_tao_array)" << be_nl - << "{" << be_idt_nl; - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_array_cdr_op_ci::" - "visit_array - " - "Base type codegen failed\n"), - -1); - } - *os << "}\n\n"; - - node->cli_inline_cdr_op_gen (1); - } - return 0; -} - -// handle all the base types - -int -be_visitor_array_cdr_op_ci::visit_enum (be_enum *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array_cdr_op_ci::visit_interface (be_interface *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array_cdr_op_ci::visit_interface_fwd (be_interface_fwd *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array_cdr_op_ci::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - case AST_PredefinedType::PT_any: - // let the helper handle this - return this->visit_node (node); - case AST_PredefinedType::PT_void: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_predefined_type - " - "Bad primitive type\n" - ), -1); - default: - // all other primitive types. Handle them as shown below - break; - }; - - // we get here if the "type" of individual elements of the array is a - // primitive type. In this case, we treat the array as a single dimensional - // array (even though it was multi-dimensional), and pass the total length of - // the array as a cross product of the dimensions - - // index - unsigned long i; - - // grab the array node - be_array *array = this->ctx_->be_node_as_array (); - - if (!node) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_predefined_type - " - "bad array node\n"), - -1); - } - - // we generate optimized code based on an optimized interface available from - // the CDR class. These optimizations are applicable only to primitive - // types. - *os << " return strm."; - - // based on our substate, we may be reading from a stream or writing into a - // stream - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "read_"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "write_"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_predefined_type - " - "bad sub state\n"), - -1); - } - - // determine what kind of array are we reading/writing - switch (node->pt ()) - { - case AST_PredefinedType::PT_long: - *os << "long_array"; - break; - case AST_PredefinedType::PT_ulong: - *os << "ulong_array"; - break; - case AST_PredefinedType::PT_short: - *os << "short_array"; - break; - case AST_PredefinedType::PT_ushort: - *os << "ushort_array"; - break; - case AST_PredefinedType::PT_octet: - *os << "octet_array"; - break; - case AST_PredefinedType::PT_char: - *os << "char_array"; - break; - case AST_PredefinedType::PT_wchar: - *os << "wchar_array"; - break; - case AST_PredefinedType::PT_float: - *os << "float_array"; - break; - case AST_PredefinedType::PT_double: - *os << "double_array"; - break; - case AST_PredefinedType::PT_longlong: - *os << "longlong_array"; - break; - case AST_PredefinedType::PT_ulonglong: - *os << "ulonglong_array"; - break; - case AST_PredefinedType::PT_longdouble: - *os << "longdouble_array"; - break; - case AST_PredefinedType::PT_boolean: - *os << "boolean_array"; - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_predefined_type - " - "bad primitive type for optimized code gen\n"), - -1); - } - - // handle special case to avoid compiler errors - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << " (("; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << " ((const "; - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_predefined_type - " - "bad substate in context\n"), - -1); - } - - switch (node->pt ()) - { - case AST_PredefinedType::PT_long: - *os << "ACE_CDR::Long *)"; - break; - case AST_PredefinedType::PT_ulong: - *os << "ACE_CDR::ULong *)"; - break; - case AST_PredefinedType::PT_short: - *os << "ACE_CDR::Short *)"; - break; - case AST_PredefinedType::PT_ushort: - *os << "ACE_CDR::UShort *)"; - break; - case AST_PredefinedType::PT_octet: - *os << "ACE_CDR::Octet *)"; - break; - case AST_PredefinedType::PT_char: - *os << "ACE_CDR::Char *)"; - break; - case AST_PredefinedType::PT_wchar: - *os << "ACE_CDR::WChar *)"; - break; - case AST_PredefinedType::PT_float: - *os << "ACE_CDR::Float *)"; - break; - case AST_PredefinedType::PT_double: - *os << "ACE_CDR::Double *)"; - break; - case AST_PredefinedType::PT_longlong: - *os << "ACE_CDR::LongLong *)"; - break; - case AST_PredefinedType::PT_ulonglong: - *os << "ACE_CDR::ULongLong *)"; - break; - case AST_PredefinedType::PT_longdouble: - *os << "ACE_CDR::LongDouble *)"; - break; - case AST_PredefinedType::PT_boolean: - *os << "ACE_CDR::Boolean *)"; - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_predefined_type - " - "bad primitive type for optimized code gen\n"), - -1); - } - - // handle special case to avoid compiler errors - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << " _tao_array.out (), "; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "_tao_array.in (), "; - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_predefined_type - " - "bad substate in context\n"), - -1); - } - - // generate a product of all the dimensions. This will be the total length of - // the "unfolded" single dimensional array. - for (i = 0; i < array->n_dims (); i++) - { - // retrieve the ith dimension value - AST_Expression *expr = array->dims ()[i]; - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_predefined_type - " - "bad array dimension\n"), - -1); - } - if (i != 0) - // do not generate the multiplication operator the first time in - *os << "*"; - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - // generate a loop for each dimension - *os << expr->ev ()->u.ulval; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_predefined_type - " - "bad array dimension value\n"), - -1); - } - } - *os << ");" << be_uidt_nl; - - return 0; -} - -int -be_visitor_array_cdr_op_ci::visit_sequence (be_sequence *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array_cdr_op_ci::visit_string (be_string *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array_cdr_op_ci::visit_structure (be_structure *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array_cdr_op_ci::visit_union (be_union *node) -{ - return this->visit_node (node); -} - -int -be_visitor_array_cdr_op_ci::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -// helper -int -be_visitor_array_cdr_op_ci::visit_node (be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - unsigned long i; - be_array *node = this->ctx_->be_node_as_array (); - - if (!node) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_node - " - "bad array node\n"), - -1); - } - - // initialize a boolean variable - *os << "CORBA::Boolean _tao_marshal_flag = 1;" << be_nl; - - // we get here if the "type" of individual elements of the array is not a - // primitive type. In this case, we are left with no other alternative but to - // encode/decode element by element - - // generate nested loops for as many dimensions as there are - for (i = 0; i < node->n_dims (); i++) - { - // retrieve the ith dimension value - AST_Expression *expr = node->dims ()[i]; - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_node - " - "bad array dimension\n"), - -1); - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - // generate a loop for each dimension - *os << "for (CORBA::ULong i" << i << " = 0; i" << i << " < " - << expr->ev ()->u.ulval << " && _tao_marshal_flag; i" << i - << "++)" << be_idt_nl; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_node - " - "bad array dimension value\n"), - -1); - } - } - - // if the type was a string, an obj ref, or a pseudo-obj, we are dealing with - // the _var type and hence we must use the appropriate in () and out () methods - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "_tao_marshal_flag = (strm >> "; - // handle the array of array case in which case, we need to pass the - // forany type - if (bt->node_type () == AST_Decl::NT_array) - { - *os << bt->name () << "_forany ((" << bt->name () - << "_slice *) "; - } - *os << "_tao_array "; - for (i = 0; i < node->n_dims (); i++) - { - *os << "[i" << i << "]"; - } - switch (bt->node_type ()) - { - // the following have a _var type and must be handled in a special way - case AST_Decl::NT_string: - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - *os << ".out ()"; - break; - case AST_Decl::NT_pre_defined: - { - // we need to separately handle this case of pseudo objects because - // they have a _var type - be_predefined_type *pt = be_predefined_type::narrow_from_decl (bt); - if (!pt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_node - " - "bad predefined type node\n"), - -1); - } - if (pt->pt () == AST_PredefinedType::PT_pseudo) - { - *os << ".out ()"; - } - } - default: - break; - } - if (bt->node_type () == AST_Decl::NT_array) - { - *os << ")"; - } - *os << ");"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "_tao_marshal_flag = (strm << "; - // handle the array of array case in which case, we need to pass the - // forany type - if (bt->node_type () == AST_Decl::NT_array) - { - *os << bt->name () << "_forany ((" << bt->name () - << "_slice *) "; - } - *os << "_tao_array "; - for (i = 0; i < node->n_dims (); i++) - { - *os << "[i" << i << "]"; - } - switch (bt->node_type ()) - { - // the follwoing three have a _var type and must be handled in a - // special way - case AST_Decl::NT_string: - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - *os << ".in ()"; - break; - case AST_Decl::NT_pre_defined: - { - be_predefined_type *pt = be_predefined_type::narrow_from_decl (bt); - if (!pt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_node - " - "bad predefined type node\n"), - -1); - } - if (pt->pt () == AST_PredefinedType::PT_pseudo) - { - *os << ".in ()"; - } - } - break; - default: - break; - } - if (bt->node_type () == AST_Decl::NT_array) - { - // array of array case - *os << ")"; - } - *os << ");"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_array_cdr_op_ci::" - "visit_node - " - "bad sub state\n"), - -1); - } - - for (i = 0; i < node->n_dims (); i++) - { - // decrement indentation as many times as the number of dimensions - *os << be_uidt; - } - *os << be_nl; - *os << "return _tao_marshal_flag;" << be_uidt_nl; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_attribute.cpp b/TAO/TAO_IDL/be/be_visitor_attribute.cpp deleted file mode 100644 index 7b11a6294c2..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_attribute.cpp +++ /dev/null @@ -1,31 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_attribute.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Attribute -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_attribute.h" - -// include all the individual files -#include "be_visitor_attribute/attribute.cpp" - -ACE_RCSID(be, be_visitor_attribute, "$Id$") - diff --git a/TAO/TAO_IDL/be/be_visitor_attribute/attribute.cpp b/TAO/TAO_IDL/be/be_visitor_attribute/attribute.cpp deleted file mode 100644 index 78c24582e13..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_attribute/attribute.cpp +++ /dev/null @@ -1,231 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// attribute.cpp -// -// = DESCRIPTION -// Visitor for generation of code for Attribute -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_attribute.h" - -ACE_RCSID(be_visitor_attribute, attribute, "$Id$") - - -// Attribute gets mapped to one or possibly two operations based on whether -// it is readonly or not. The two operations "get" and "set" the value of the -// attribute. -// -// code generation for attributes is achieved by mapping an attribute node to -// a corresponding operation node. The reason is that we do not want to -// duplicate the code. However, an attribute node and an operation node have -// different interfaces. Hence we need some form of an adapter that can take us -// from an attribute node to an operation node. The following paragraph -// describes how this is accomplished. -// -// For a "get" operation on the attribute, we create an operation node with the -// same name as the attribute and a return type which is the same as the type -// of the attribute. This operation has no arguments. -// -// For a "set" operation on the attribute (if it is not readonly), we create an -// operation node with a "void" return type and an "in" parameter of the same -// type as the attribute. - -// In both cases the context will hold sufficient information to indicate that -// the operation node is really an attribute node. - -// ************************************************************************* -// primary visitor for "attribute". The context state decides the next state -// ************************************************************************* - -be_visitor_attribute::be_visitor_attribute (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_attribute::~be_visitor_attribute (void) -{ -} - -int -be_visitor_attribute::visit_attribute (be_attribute *node) -{ - this->ctx_->node (node); // save the node - this->ctx_->attribute (node); // save this attribute node - - be_operation *op; - - // first the "get" operation - op = new be_operation (node->field_type (), AST_Operation::OP_noflags, - node->name (), 0); - op->set_name (node->name ()); - be_visitor_context ctx (*this->ctx_); - - // this switch statement eliminates the need for different classes that have - // exactly the same code except different states. - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_CH: - ctx.state (TAO_CodeGen::TAO_OPERATION_CH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_CS: - ctx.state (TAO_CodeGen::TAO_OPERATION_CS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_SH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_IH: - ctx.state (TAO_CodeGen::TAO_OPERATION_IH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_SS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_IS: - ctx.state (TAO_CodeGen::TAO_OPERATION_IS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_THRU_POA_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_THRU_POA_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_THRU_POA_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_THRU_POA_COLLOCATED_SS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DIRECT_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_DIRECT_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DIRECT_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_DIRECT_COLLOCATED_SS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_TIE_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_TIE_SH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_TIE_SI: - ctx.state (TAO_CodeGen::TAO_OPERATION_TIE_SI); - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_attribute::" - "visit_attribute - " - "bad codegen state\n"), - -1); - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || !op || (op->accept (visitor) == -1)) - { - delete visitor; - delete op; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_attribute::" - "visit_attribute - " - "codegen for get_attribute failed\n"), - -1); - } - delete op; - delete visitor; - if (node->readonly ()) - return 0; // nothing else to do - - // the set method. - // the return type is "void" - be_predefined_type *rt = new be_predefined_type (AST_PredefinedType::PT_void, - new UTL_ScopedName - (new Identifier - ("void", 1, 0, I_FALSE), 0), - 0); - // argument type is the same as the attribute type - be_argument *arg = new be_argument (AST_Argument::dir_IN, - node->field_type (), - node->name (), - 0); - arg->set_name (node->name ()); - // create the operation - op = new be_operation (rt, AST_Operation::OP_noflags, - node->name (), 0); - op->set_name (node->name ()); - op->add_argument_to_scope (arg); - - ctx = *this->ctx_; - // this switch statement eliminates the need for different classes that have - // exactly the same code except different states. - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_CH: - ctx.state (TAO_CodeGen::TAO_OPERATION_CH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_CS: - ctx.state (TAO_CodeGen::TAO_OPERATION_CS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_SH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_IH: - ctx.state (TAO_CodeGen::TAO_OPERATION_IH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_SS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_IS: - ctx.state (TAO_CodeGen::TAO_OPERATION_IS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_THRU_POA_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_THRU_POA_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_THRU_POA_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_THRU_POA_COLLOCATED_SS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DIRECT_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_DIRECT_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DIRECT_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_DIRECT_COLLOCATED_SS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_TIE_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_TIE_SH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_TIE_SI: - ctx.state (TAO_CodeGen::TAO_OPERATION_TIE_SI); - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_attribute::" - "visit_attribute - " - "bad codegen state\n"), - -1); - } - - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || !op || (op->accept (visitor) == -1)) - { - delete visitor; - delete op; - delete arg; - delete rt; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_attribute::" - "visit_attribute - " - "codegen for set_attribute failed\n"), - -1); - } - delete op; - delete visitor; - delete rt; - delete arg; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_constant.cpp b/TAO/TAO_IDL/be/be_visitor_constant.cpp deleted file mode 100644 index 0281cbccf4d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_constant.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_constant.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Constant -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_constant.h" - -// include all the individual files -#include "be_visitor_constant/constant_ch.cpp" -#include "be_visitor_constant/constant_cs.cpp" - -ACE_RCSID(be, be_visitor_constant, "$Id$") - diff --git a/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp b/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp deleted file mode 100644 index 5f38c6e62fc..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp +++ /dev/null @@ -1,76 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// constant_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for the Constant node in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_constant.h" - -ACE_RCSID(be_visitor_constant, constant_ch, "$Id$") - - -// ******************************************************************** -// Visitor implementation for the Constant type -// This one for the client header file -// ******************************************************************** - -be_visitor_constant_ch::be_visitor_constant_ch (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_constant_ch::~be_visitor_constant_ch (void) -{ -} - -// visit the Constant_Ch node and its scope -int -be_visitor_constant_ch::visit_constant (be_constant *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (!node->cli_hdr_gen () && !node->imported ()) - { - // if we are defined in the outermost scope, then the value is assigned - // to us here itself, else it will be in the *.cpp file - - os->indent (); // start from whatever indentation level we were at - // is our enclosing scope a module? We need this check because for - // platforms that support namespaces, the typecode must be declared - // extern - if (node->is_nested () && - (node->defined_in ()->scope_node_type () == AST_Decl::NT_module)) - *os << "TAO_NAMESPACE_STORAGE_CLASS "; - else - *os << "static "; - *os << "const " << node->exprtype_to_string () - << " " << node->local_name (); - if (!node->is_nested ()) - { - // We were defined at the outermost scope. So we put the value in the - // header itself - *os << " = " << node->constant_value (); - } - *os << ";\n\n"; - node->cli_hdr_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp b/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp deleted file mode 100644 index 2f40e9fbbf9..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp +++ /dev/null @@ -1,136 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// constant_cs.cpp -// -// = DESCRIPTION -// Visitor for code generation of Constant code in the client stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_constant.h" - -ACE_RCSID(be_visitor_constant, constant_cs, "$Id$") - - -// ******************************************************************** -// Visitor implementation for the Constant type -// This one for the client stubs file -// ******************************************************************** - -be_visitor_constant_cs::be_visitor_constant_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_constant_cs::~be_visitor_constant_cs (void) -{ -} - -// visit the Constant_cs node and its scope -int -be_visitor_constant_cs::visit_constant (be_constant *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (!node->cli_stub_gen () && !node->imported ()) - { - if (node->is_nested ()) - { - if (node->defined_in ()->scope_node_type () == AST_Decl::NT_module) - { - *os << "TAO_NAMESPACE_TYPE (const " - << node->exprtype_to_string () << ")" << be_nl; - be_module *module = be_module::narrow_from_scope (node->defined_in ()); - if (!module || (this->gen_nested_namespace_begin (module) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_constant_cs::visit_constant - " - "Error parsing nested name\n"), - -1); - } - *os << "TAO_NAMESPACE_DEFINE (const " - << node->exprtype_to_string () << ", " - << node->local_name () << ", " - << node->constant_value () << ")" << be_nl; - if (this->gen_nested_namespace_end (module) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_constant_cs::visit_constant - " - "Error parsing nested name\n"), - -1); - } - } - else - { - // for those constants not defined in the outer most scope, they get - // assigned to their values in the impl file - os->indent (); // start from whatever indentation level we were at - *os << "const " << node->exprtype_to_string () << " " - << node->name () << " = " << node->constant_value () - << ";\n\n"; - } - } - node->cli_stub_gen (I_TRUE); - } - return 0; -} - -// the following needs to be done to deal with the most bizarre behavior of -// MSVC++ compiler -int -be_visitor_constant_cs::gen_nested_namespace_begin (be_module *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - UTL_IdListActiveIterator *i; - - i = new UTL_IdListActiveIterator (node->name ()); - while (!(i->is_done ())) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - { - // leave the outermost root scope - *os << "TAO_NAMESPACE_BEGIN (" << i->item ()->get_string () - << ")" << be_nl; - } - i->next (); - } - delete i; - return 0; -} - -// the following needs to be done to deal with the most bizarre behavior of -// MSVC++ compiler -int -be_visitor_constant_cs::gen_nested_namespace_end (be_module *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - UTL_IdListActiveIterator *i; - - i = new UTL_IdListActiveIterator (node->name ()); - while (!(i->is_done ())) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - { - // leave the outermost root scope - *os << "TAO_NAMESPACE_END" << be_nl; - } - i->next (); - } - delete i; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_context.cpp b/TAO/TAO_IDL/be/be_visitor_context.cpp deleted file mode 100644 index 8102f332f78..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_context.cpp +++ /dev/null @@ -1,514 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_context.cpp -// -// = DESCRIPTION -// Maintains the context information for visitors -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be, be_visitor_context, "$Id$") - - -// constructor -be_visitor_context::be_visitor_context (void) - : state_ (TAO_CodeGen::TAO_UNKNOWN), - sub_state_ (TAO_CodeGen::TAO_SUB_STATE_UNKNOWN), - os_ (0), - scope_ (0), - node_ (0), - alias_ (0), - tdef_ (0), - attr_ (0), - exception_ (0), - comma_ (0), - interface_ (0) -{ -} - -be_visitor_context::be_visitor_context (const be_visitor_context &ctx) - : state_ (ctx.state_), - sub_state_ (ctx.sub_state_), - os_ (ctx.os_), - scope_ (ctx.scope_), - node_ (ctx.node_), - alias_ (ctx.alias_), - tdef_ (ctx.tdef_), - attr_ (ctx.attr_), - exception_ (ctx.exception_), - comma_ (ctx.comma_), - interface_ (ctx.interface_) -{ -} - -be_visitor_context & -be_visitor_context::operator= (const be_visitor_context &ctx) -{ - this->state_ = ctx.state_; - this->sub_state_ = ctx.sub_state_; - this->os_ = ctx.os_; - this->scope_ = ctx.scope_; - this->node_ = ctx.node_; - this->alias_ = ctx.alias_; - this->tdef_ = ctx.tdef_; - this->attr_ = ctx.attr_; - this->exception_ = ctx.exception_; - this->comma_ = ctx.comma_; - this->interface_ = ctx.interface_; - - return *this; -} - -be_visitor_context::~be_visitor_context (void) -{ - // we do not own anything -} - -//= helpers - -void -be_visitor_context::reset (void) -{ - this->state_ = TAO_CodeGen::TAO_INITIAL; - this->sub_state_ = TAO_CodeGen::TAO_SUB_STATE_UNKNOWN; - this->os_ = 0; - this->scope_ = 0; - this->node_ = 0; - this->alias_ = 0; - this->tdef_ = 0; - this->attr_ = 0; - this->exception_ = 0; - this->comma_ = 0; - -} - -void -be_visitor_context::stream (TAO_OutStream *os) -{ - this->os_ = os; -} - -TAO_OutStream * -be_visitor_context::stream (void) -{ - return this->os_; -} - -void -be_visitor_context::scope (be_decl *s) -{ - this->scope_ = s; -} - -be_decl * -be_visitor_context::scope (void) -{ - return this->scope_; -} - -void -be_visitor_context::node (be_decl *n) -{ - this->node_ = n; -} - -be_decl * -be_visitor_context::node (void) -{ - return this->node_; -} - -void -be_visitor_context::state (TAO_CodeGen::CG_STATE st) -{ - this->state_ = st; -} - -TAO_CodeGen::CG_STATE -be_visitor_context::state (void) -{ - return this->state_; -} - -void -be_visitor_context::sub_state (TAO_CodeGen::CG_SUB_STATE st) -{ - this->sub_state_ = st; -} - -TAO_CodeGen::CG_SUB_STATE -be_visitor_context::sub_state (void) -{ - return this->sub_state_; -} - -void -be_visitor_context::tdef (be_typedef *node) -{ - this->tdef_ = node; -} - -be_typedef * -be_visitor_context::tdef (void) -{ - return this->tdef_; -} - -void -be_visitor_context::alias (be_typedef *node) -{ - this->alias_ = node; -} - -be_typedef * -be_visitor_context::alias (void) -{ - return this->alias_; -} - -void -be_visitor_context::attribute (be_attribute *node) -{ - this->attr_ = node; -} - -be_attribute * -be_visitor_context::attribute (void) -{ - return this->attr_; -} - -void -be_visitor_context::exception (idl_bool ib) -{ - this->exception_ = ib; -} - -idl_bool -be_visitor_context::exception (void) -{ - return this->exception_; -} - -void -be_visitor_context::comma (idl_bool ib) -{ - this->comma_ = ib; -} - -idl_bool -be_visitor_context::comma (void) -{ - return this->comma_; -} - -void -be_visitor_context::interface (be_interface *interface) -{ - this->interface_ = interface; -} - -be_interface * -be_visitor_context::interface (void) const -{ - return this->interface_; -} - -// **************************************************************** - -// return the node as argument if possible -be_argument * -be_visitor_context::be_node_as_argument (void) -{ - if (this->node_) - return be_argument::narrow_from_decl (this->node_); - else - return (be_argument *)0; -} - -// return the node as array if possible -be_array * -be_visitor_context::be_node_as_array (void) -{ - if (this->node_) - return be_array::narrow_from_decl (this->node_); - else - return (be_array *)0; -} - -// return the node as attribute if possible -be_attribute * -be_visitor_context::be_node_as_attribute (void) -{ - if (this->node_) - return be_attribute::narrow_from_decl (this->node_); - else - return (be_attribute *)0; -} - -// return the node as constant if possible -be_constant * -be_visitor_context::be_node_as_constant (void) -{ - if (this->node_) - return be_constant::narrow_from_decl (this->node_); - else - return (be_constant *)0; -} - -// return the node as enum if possible -be_enum * -be_visitor_context::be_node_as_enum (void) -{ - if (this->node_) - return be_enum::narrow_from_decl (this->node_); - else - return (be_enum *)0; -} - -// return the node as enum_val if possible -be_enum_val * -be_visitor_context::be_node_as_enum_val (void) -{ - if (this->node_) - return be_enum_val::narrow_from_decl (this->node_); - else - return (be_enum_val *)0; -} - -// return the node as exception if possible -be_exception * -be_visitor_context::be_node_as_exception (void) -{ - if (this->node_) - return be_exception::narrow_from_decl (this->node_); - else - return (be_exception *)0; -} - -// return the node as field if possible -be_field * -be_visitor_context::be_node_as_field (void) -{ - if (this->node_) - return be_field::narrow_from_decl (this->node_); - else - return (be_field *)0; -} - -// return the node as interface if possible -be_interface * -be_visitor_context::be_node_as_interface (void) -{ - if (this->node_) - return be_interface::narrow_from_decl (this->node_); - else - return (be_interface *)0; -} - -// return the node as interface_fwd if possible -be_interface_fwd * -be_visitor_context::be_node_as_interface_fwd (void) -{ - if (this->node_) - return be_interface_fwd::narrow_from_decl (this->node_); - else - return (be_interface_fwd *)0; -} - -// return the node as module if possible -be_module * -be_visitor_context::be_node_as_module (void) -{ - if (this->node_) - return be_module::narrow_from_decl (this->node_); - else - return (be_module *)0; -} - -// return the node as operation if possible -be_operation * -be_visitor_context::be_node_as_operation (void) -{ - if (this->node_) - return be_operation::narrow_from_decl (this->node_); - else - return (be_operation *)0; -} - -// return the node as predefined_type if possible -be_predefined_type * -be_visitor_context::be_node_as_predefined_type (void) -{ - if (this->node_) - return be_predefined_type::narrow_from_decl (this->node_); - else - return (be_predefined_type *)0; -} - -// return the node as root if possible -be_root * -be_visitor_context::be_node_as_root (void) -{ - if (this->node_) - return be_root::narrow_from_decl (this->node_); - else - return (be_root *)0; -} - -// return the node as sequence if possible -be_sequence * -be_visitor_context::be_node_as_sequence (void) -{ - if (this->node_) - return be_sequence::narrow_from_decl (this->node_); - else - return (be_sequence *)0; -} - -// return the node as string if possible -be_string * -be_visitor_context::be_node_as_string (void) -{ - if (this->node_) - return be_string::narrow_from_decl (this->node_); - else - return (be_string *)0; -} - -// return the node as structure if possible -be_structure * -be_visitor_context::be_node_as_structure (void) -{ - if (this->node_) - return be_structure::narrow_from_decl (this->node_); - else - return (be_structure *)0; -} - -// return the node as typedef if possible -be_typedef * -be_visitor_context::be_node_as_typedef (void) -{ - if (this->node_) - return be_typedef::narrow_from_decl (this->node_); - else - return (be_typedef *)0; -} - -// return the node as union if possible -be_union * -be_visitor_context::be_node_as_union (void) -{ - if (this->node_) - return be_union::narrow_from_decl (this->node_); - else - return (be_union *)0; -} - -// return the node as union_branch if possible -be_union_branch * -be_visitor_context::be_node_as_union_branch (void) -{ - if (this->node_) - return be_union_branch::narrow_from_decl (this->node_); - else - return (be_union_branch *)0; -} - -// for scope - -// return the scope as enum if possible -be_enum * -be_visitor_context::be_scope_as_enum (void) -{ - if (this->scope_) - return be_enum::narrow_from_decl (this->scope_); - else - return (be_enum *)0; -} - -// return the scope as exception if possible -be_exception * -be_visitor_context::be_scope_as_exception (void) -{ - if (this->scope_) - return be_exception::narrow_from_decl (this->scope_); - else - return (be_exception *)0; -} - -// return the scope as interface if possible -be_interface * -be_visitor_context::be_scope_as_interface (void) -{ - if (this->scope_) - return be_interface::narrow_from_decl (this->scope_); - else - return (be_interface *)0; -} - -// return the scope as module if possible -be_module * -be_visitor_context::be_scope_as_module (void) -{ - if (this->scope_) - return be_module::narrow_from_decl (this->scope_); - else - return (be_module *)0; -} - -// return the scope as operation if possible -be_operation * -be_visitor_context::be_scope_as_operation (void) -{ - if (this->scope_) - return be_operation::narrow_from_decl (this->scope_); - else - return (be_operation *)0; -} - -// return the scope as root if possible -be_root * -be_visitor_context::be_scope_as_root (void) -{ - if (this->scope_) - return be_root::narrow_from_decl (this->scope_); - else - return (be_root *)0; -} - -// return the scope as structure if possible -be_structure * -be_visitor_context::be_scope_as_structure (void) -{ - if (this->scope_) - return be_structure::narrow_from_decl (this->scope_); - else - return (be_structure *)0; -} - -// return the scope as union if possible -be_union * -be_visitor_context::be_scope_as_union (void) -{ - if (this->scope_) - return be_union::narrow_from_decl (this->scope_); - else - return (be_union *)0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_decl.cpp b/TAO/TAO_IDL/be/be_visitor_decl.cpp deleted file mode 100644 index 8539de31d30..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_decl.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_decl.cpp -// -// = DESCRIPTION -// Visitor for the base be_decl node. This serves to maintain the current -// state (context) of code generation for the derived visitor. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_decl.h" - -ACE_RCSID(be, be_visitor_decl, "$Id$") - - -// Root visitor for client header -be_visitor_decl::be_visitor_decl (be_visitor_context *ctx) - : ctx_ (ctx) -{ -} - -be_visitor_decl::~be_visitor_decl (void) -{ - delete this->ctx_; -} - -int -be_visitor_decl::gen_anonymous_base_type (be_type *bt, - TAO_CodeGen::CG_STATE cg_state) -{ - be_typedef *tdef = be_typedef::narrow_from_decl (bt); - - if (!tdef) - { - be_visitor_context ctx (*this->ctx_); - ctx.state (cg_state); - - // In case our container was typedef'd. - ctx.tdef (0); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_decl::" - "gen_anonymous_base_type - " - "bad visitor to anonymous abase type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_decl::" - "gen_anonymous_base_type - " - "anonymous base type codegen failed\n"), - -1); - } - - delete visitor; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_enum.cpp b/TAO/TAO_IDL/be/be_visitor_enum.cpp deleted file mode 100644 index aaef1a06f60..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_enum.cpp +++ /dev/null @@ -1,35 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_enum.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Enum -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_enum.h" - -// include all the individual files -#include "be_visitor_enum/enum_ch.cpp" -#include "be_visitor_enum/enum_cs.cpp" -#include "be_visitor_enum/any_op_ch.cpp" -#include "be_visitor_enum/any_op_cs.cpp" -#include "be_visitor_enum/cdr_op_ch.cpp" -#include "be_visitor_enum/cdr_op_ci.cpp" - -ACE_RCSID(be, be_visitor_enum, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_enum/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_enum/any_op_ch.cpp deleted file mode 100644 index 46b3c3013ed..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_enum/any_op_ch.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Enums for the Any operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_enum.h" - -ACE_RCSID(be_visitor_enum, any_op_ch, "$Id$") - - -// *************************************************************************** -// Enum visitor for generating Any operator declarations in the client header -// *************************************************************************** - -be_visitor_enum_any_op_ch::be_visitor_enum_any_op_ch -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_enum_any_op_ch::~be_visitor_enum_any_op_ch (void) -{ -} - -int -be_visitor_enum_any_op_ch::visit_enum (be_enum *node) -{ - if (node->cli_hdr_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operators - os->indent (); - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, " << node->name () - << ");" << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>>= (const CORBA::Any &, " - << node->name () << " &);\n"; - - node->cli_hdr_any_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp deleted file mode 100644 index 279802dce72..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp +++ /dev/null @@ -1,104 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Enum for the Any operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_enum.h" - -ACE_RCSID(be_visitor_enum, any_op_cs, "$Id$") - - -// *************************************************************************** -// Enum visitor for generating Any operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_enum_any_op_cs::be_visitor_enum_any_op_cs -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_enum_any_op_cs::~be_visitor_enum_any_op_cs (void) -{ -} - -int -be_visitor_enum_any_op_cs::visit_enum (be_enum *node) -{ - if (node->cli_stub_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - // Any <<= and >>= operators - os->indent (); - *os << "void operator<<= (CORBA::Any &_tao_any, " - << node->name () << " _tao_elem)" << be_nl - << "{" << be_idt_nl - << node->name () << " *_any_val;" << be_nl - << "ACE_NEW (_any_val, " << node->name () - << " (_tao_elem));" << be_nl - << "if (!_any_val) return;" << be_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "_tao_any.replace (" << node->tc_name () - << ", _any_val, 1, ACE_TRY_ENV);" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "// free allocated storage" << be_nl - << "delete _any_val;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n" << be_nl; - - *os << "CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, " - << node->name () << " &_tao_elem)" << be_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "CORBA::TypeCode_var type = _tao_any.type ();" << be_nl - << "if (!type->equal (" << node->tc_name () - << ", ACE_TRY_ENV)) return 0; // not equal" << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "TAO_InputCDR stream (_tao_any._tao_get_cdr ());" - << be_nl - << "if (stream.decode (" << node->tc_name () - << ", &_tao_elem, 0, ACE_TRY_ENV)" << be_nl - << " == CORBA::TypeCode::TRAVERSE_CONTINUE)" << be_nl - << " return 1;" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "return 0;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_nl - << "return 0;" << be_uidt_nl - << "}\n\n"; - - node->cli_stub_any_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_enum/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_enum/cdr_op_ch.cpp deleted file mode 100644 index 7c35d00c706..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_enum/cdr_op_ch.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Enums for the CDR operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_enum.h" - -ACE_RCSID(be_visitor_enum, cdr_op_ch, "$Id$") - - -// *************************************************************************** -// Enum visitor for generating Cdr operator declarations in the client header -// *************************************************************************** - -be_visitor_enum_cdr_op_ch::be_visitor_enum_cdr_op_ch -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_enum_cdr_op_ch::~be_visitor_enum_cdr_op_ch (void) -{ -} - -int -be_visitor_enum_cdr_op_ch::visit_enum (be_enum *node) -{ - if (node->cli_hdr_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - - // generate the CDR << and >> operators - os->indent (); - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator<< (TAO_OutputCDR &, const " << node->name () - << " &); // " << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>> (TAO_InputCDR &, " - << node->name () << " &);\n"; - - node->cli_hdr_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_enum/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_enum/cdr_op_ci.cpp deleted file mode 100644 index 1530c7fb8ad..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_enum/cdr_op_ci.cpp +++ /dev/null @@ -1,78 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Enum for the CDR operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_enum.h" - -ACE_RCSID(be_visitor_enum, cdr_op_ci, "$Id$") - - -// *************************************************************************** -// Enum visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_enum_cdr_op_ci::be_visitor_enum_cdr_op_ci -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_enum_cdr_op_ci::~be_visitor_enum_cdr_op_ci (void) -{ -} - -int -be_visitor_enum_cdr_op_ci::visit_enum (be_enum *node) -{ - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - - // generate CDR << and >> operators - os->indent (); - *os << "ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, " - << "const " << node->name () << " &_tao_enumval)" << be_nl - << "{" << be_idt_nl - << "return strm.write_ulong ((CORBA::ULong) _tao_enumval);" << be_uidt_nl - << "}\n\n"; - - *os << "ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, " - << node->name () << " &_tao_enumval)" << be_nl - << "{" << be_idt_nl - << "CORBA::ULong _tao_temp;" << be_nl - << "if (strm.read_ulong (_tao_temp))" << be_nl - << "{" << be_idt_nl - << "ACE_OS::memcpy (&_tao_enumval, &_tao_temp, sizeof (CORBA::ULong));" - << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt << be_uidt_nl - << "}\n\n"; - - node->cli_inline_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp b/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp deleted file mode 100644 index 3ca5ff12115..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp +++ /dev/null @@ -1,113 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// enum_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Enums in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_enum.h" - -ACE_RCSID(be_visitor_enum, enum_ch, "$Id$") - - -// ******************************************************************** -// Visitor implementation for the Enum type -// This one for the client header file -// ******************************************************************** - -be_visitor_enum_ch::be_visitor_enum_ch (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_enum_ch::~be_visitor_enum_ch (void) -{ -} - -// visit the Enum_Ch node and its scope -int -be_visitor_enum_ch::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - this->ctx_->comma (1); // comma to be generated by the scope visitor - - if (!node->cli_hdr_gen () && !node->imported ()) - { - os->indent (); // start from whatever indentation level we were at - *os << "enum " << node->local_name () << be_nl; - *os << "{\n"; - os->incr_indent (); - if (this->visit_scope (node) == 1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_enum_ch::" - "visit_enum - " - "scope generation failed\n" - ), -1); - } - - os->decr_indent (); - *os << "};" << be_nl; - // As per the ORBOS spec, we need the following typedef - *os << "typedef " << node->local_name () << " &" << node->local_name () - << "_out;\n"; - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_TYPECODE_DECL); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_enum_ch::" - "visit_enum - " - "TypeCode declaration failed\n" - ), -1); - } - - node->cli_hdr_gen (I_TRUE); - } - return 0; -} - -int -be_visitor_enum_ch::post_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // Am I the last one? - if (!this->last_node (bd)) - *os << "," << be_nl; - return 0; -} - -int -be_visitor_enum_ch::visit_enum_val (be_enum_val *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - os->indent (); - *os << node->local_name (); - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_enum/enum_cs.cpp b/TAO/TAO_IDL/be/be_visitor_enum/enum_cs.cpp deleted file mode 100644 index fde3be596e2..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_enum/enum_cs.cpp +++ /dev/null @@ -1,70 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// enum_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Enums in the client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_enum.h" - -ACE_RCSID(be_visitor_enum, enum_cs, "$Id$") - - -// ******************************************************************** -// Visitor implementation for the Enum type -// This one for the client stubs file -// ******************************************************************** - -be_visitor_enum_cs::be_visitor_enum_cs (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_enum_cs::~be_visitor_enum_cs (void) -{ -} - -// visit the Enum_cs node and its scope -int -be_visitor_enum_cs::visit_enum (be_enum *node) -{ - if (!node->cli_stub_gen () && !node->imported ()) - { - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_TYPECODE_DEFN); - ctx.sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_enum_cs::" - "visit_enum - " - "TypeCode definition failed\n" - ), -1); - } - - node->cli_stub_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_exception.cpp b/TAO/TAO_IDL/be/be_visitor_exception.cpp deleted file mode 100644 index 953fae623d1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception.cpp +++ /dev/null @@ -1,40 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_exception.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Exception -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" - -// include all the individual files -#include "be_visitor_exception/exception.cpp" -#include "be_visitor_exception/exception_ch.cpp" -#include "be_visitor_exception/exception_ci.cpp" -#include "be_visitor_exception/exception_cs.cpp" -#include "be_visitor_exception/exception_ctor.cpp" -#include "be_visitor_exception/ctor_assign.cpp" -#include "be_visitor_exception/any_op_ch.cpp" -#include "be_visitor_exception/any_op_cs.cpp" -#include "be_visitor_exception/cdr_op_ch.cpp" -#include "be_visitor_exception/cdr_op_ci.cpp" -#include "be_visitor_exception/cdr_op_cs.cpp" - -ACE_RCSID(be, be_visitor_exception, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_exception/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_exception/any_op_ch.cpp deleted file mode 100644 index d0c16445b30..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/any_op_ch.cpp +++ /dev/null @@ -1,102 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for the Any operators for Exceptions -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" - -ACE_RCSID(be_visitor_exception, any_op_ch, "$Id$") - - -// *************************************************************************** -// Exception visitor for generating Any operator declarations in the client header -// *************************************************************************** - -be_visitor_exception_any_op_ch::be_visitor_exception_any_op_ch -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_exception_any_op_ch::~be_visitor_exception_any_op_ch (void) -{ -} - -int -be_visitor_exception_any_op_ch::visit_exception (be_exception *node) -{ - if (node->cli_hdr_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - os->indent (); - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, const " << node->name () - << " &); // copying version" << be_nl; - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, " << node->name () - << "*); // noncopying version" << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>>= (const CORBA::Any &, " - << node->name () << " *&);\n"; - - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception::visit_exception - " - "codegen for scope failed\n"), -1); - } - - node->cli_hdr_any_op_gen (1); - return 0; -} - -int -be_visitor_exception_any_op_ch::visit_field (be_field *node) -{ - be_type *bt; // field's type - - // first generate the type information - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_any_op_ch::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_any_op_ch::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp deleted file mode 100644 index 48500f83e6e..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp +++ /dev/null @@ -1,171 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for the Any operators for Exceptions. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" - -ACE_RCSID(be_visitor_exception, any_op_cs, "$Id$") - - -// *************************************************************************** -// Exception visitor for generating Any operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_exception_any_op_cs::be_visitor_exception_any_op_cs -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_exception_any_op_cs::~be_visitor_exception_any_op_cs (void) -{ -} - -int -be_visitor_exception_any_op_cs::visit_exception (be_exception *node) -{ - if (node->cli_stub_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - // Any <<= and >>= operators - os->indent (); - *os << "void operator<<= (CORBA::Any &_tao_any, const " - << node->name () << " &_tao_elem) // copying" << be_nl - << "{" << be_idt_nl - << node->name () << " *_tao_any_val = new " << node->name () - << " (_tao_elem);" << be_nl - << "if (!_tao_any_val) return;" << be_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "_tao_any.replace (" << node->tc_name () << ", _tao_any_val, " - << "1, ACE_TRY_ENV);" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY " << be_nl - << "{" << be_idt_nl - << "delete _tao_any_val;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n" << be_nl; - - *os << "void operator<<= (CORBA::Any &_tao_any, " - << node->name () << " *_tao_elem) // non copying" << be_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "_tao_any.replace (" << node->tc_name () << ", " - << "_tao_elem, 1, ACE_TRY_ENV); // consume it" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY {}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n" << be_nl; - - *os << "CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, " - << node->name () << " *&_tao_elem)" << be_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "CORBA::TypeCode_var type = _tao_any.type ();" << be_nl - << "if (!type->equal (" << node->tc_name () - << ", ACE_TRY_ENV)) return 0; // not equal" << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "if (_tao_any.any_owns_data ())" << be_nl - << "{" << be_idt_nl - << "_tao_elem = (" << node->name () << " *)_tao_any.value ();" - << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl // else any does not own the data - << "{" << be_idt_nl - << "ACE_NEW_RETURN (_tao_elem, " << node->name () << ", 0);" - << be_nl - << "TAO_InputCDR stream (_tao_any._tao_get_cdr ());" - << be_nl - << "if (stream.decode (" << node->tc_name () - << ", _tao_elem, 0, ACE_TRY_ENV)" << be_nl - << " == CORBA::TypeCode::TRAVERSE_CONTINUE)" << be_nl - << "{" << be_idt_nl - << "((CORBA::Any *)&_tao_any)->replace (" - << node->tc_name () << ", _tao_elem, 1, ACE_TRY_ENV);" << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl // decode failed - << "{" << be_idt_nl - << "delete _tao_elem;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "delete _tao_elem;" << be_nl - << "return 0;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_nl - << "return 0;" << be_uidt_nl - << "}\n\n"; - - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception::visit_exception - " - "codegen for scope failed\n"), -1); - } - - node->cli_stub_any_op_gen (1); - return 0; -} - -int -be_visitor_exception_any_op_cs::visit_field (be_field *node) -{ - be_type *bt; // field's type - - // first generate the type information - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_any_op_cs::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_any_op_cs::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp deleted file mode 100644 index 1910de4e68e..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp +++ /dev/null @@ -1,77 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for exceptions. This uses -// compiled marshaling. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" - -ACE_RCSID(be_visitor_exception, cdr_op_ch, "$Id$") - -// *************************************************************************** -// Exception visitor for generating CDR operator declarations in the client header -// *************************************************************************** - -be_visitor_exception_cdr_op_ch::be_visitor_exception_cdr_op_ch -(be_visitor_context *ctx) - : be_visitor_exception (ctx) -{ -} - -be_visitor_exception_cdr_op_ch::~be_visitor_exception_cdr_op_ch (void) -{ -} - -int -be_visitor_exception_cdr_op_ch::visit_exception (be_exception *node) -{ - if (node->cli_hdr_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Cdr <<= and >>= operator declarations - os->indent (); - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator<< (TAO_OutputCDR &, const " << node->name () - << " &); // " << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>> (TAO_InputCDR &, " - << node->name () << " &);\n"; - - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_cdr_op_ch::" - "visit_exception - " - "codegen for scope failed\n"), -1); - } - - - node->cli_hdr_cdr_op_gen (1); - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ci.cpp deleted file mode 100644 index ce24bddbedb..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ci.cpp +++ /dev/null @@ -1,186 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for exceptions -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_exception, cdr_op_ci, "$Id$") - -// *************************************************************************** -// Exception visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_exception_cdr_op_ci::be_visitor_exception_cdr_op_ci -(be_visitor_context *ctx) - : be_visitor_exception (ctx) -{ -} - -be_visitor_exception_cdr_op_ci::~be_visitor_exception_cdr_op_ci (void) -{ -} - -int -be_visitor_exception_cdr_op_ci::visit_exception (be_exception *node) -{ - // already generated and/or we are imported. Don't do anything. - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // First generate code for our children. The reason we do this first is - // because the inlined code for our children must be available before we use - // it in our parent - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_cdr_op_ci" - "::visit_exception - " - "codegen for scope failed\n"), -1); - } - - // set the sub state as generating code for the output operator - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_OUTPUT); - *os << "ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, " - << "const " << node->name () << " &_tao_aggregate)" << be_nl - << "{" << be_idt_nl; - // do we have any members? - if (node->nmembers () > 0) - { - be_visitor_context* new_ctx = - new be_visitor_context (*this->ctx_); - be_visitor_cdr_op_field_decl field_decl (new_ctx); - field_decl.visit_scope (node); - - // some members - *os << "// first marshal the repository ID" << be_nl - << "if (strm << _tao_aggregate._id ())" << be_nl - << "{" << be_idt_nl - << "// now marshal the members (if any)" << be_nl - << "if (" << be_idt_nl; - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_cdr_op_ci::" - "visit_exception - " - "codegen for scope failed\n"), -1); - } - *os << be_uidt_nl << ")" - << be_idt_nl - << "return 1;" << be_uidt_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt << be_uidt_nl - << "}" << be_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt << be_uidt_nl; - } - else - { - // no members - *os << "// first marshal the repository ID" << be_nl - << "if (strm << _tao_aggregate._id ())" << be_idt_nl - << "return 1;" << be_uidt_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt << be_uidt_nl; - } - *os << "}\n\n"; - - // set the substate as generating code for the input operator - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_INPUT); - *os << "ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, " - << node->name () << " &_tao_aggregate)" << be_nl - << "{" << be_idt_nl; - // retrieve the repository ID and compare with what we have - *os << "// retrieve RepoID and verify if we are of that type" << be_nl; - *os << "char *_tao_repoID;" << be_nl; - *os << "if ((strm >> _tao_repoID) &&" << be_nl - << " (_tao_aggregate._is_a (_tao_repoID)))" << be_nl - << "{" << be_idt_nl; - // do we have any members? - if (node->nmembers () > 0) - { - be_visitor_context* new_ctx = - new be_visitor_context (*this->ctx_); - be_visitor_cdr_op_field_decl field_decl (new_ctx); - field_decl.visit_scope (node); - - // some members - *os << "// now marshal the members" << be_nl - << "if (" << be_idt_nl; - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_cdr_op_ci::" - "visit_exception - " - "codegen for scope failed\n"), -1); - } - *os << be_uidt_nl << ")" - << be_idt_nl - << "return 1;" << be_uidt_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt << be_uidt_nl; - } - else - { - *os << "return 1;" << be_uidt_nl; - } - *os << "}" << be_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt << be_uidt_nl - << "}\n\n"; - - node->cli_inline_cdr_op_gen (1); - return 0; -} - -int -be_visitor_exception_cdr_op_ci::post_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (!this->last_node (bd)) - { - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_OUTPUT: - case TAO_CodeGen::TAO_CDR_INPUT: - *os << " &&" << be_nl; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - default: - break; - }; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_cs.cpp deleted file mode 100644 index 22ddc620bcf..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_cs.cpp +++ /dev/null @@ -1,60 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for exceptions -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_exception, cdr_op_cs, "$Id$") - -be_visitor_exception_cdr_op_cs::be_visitor_exception_cdr_op_cs (be_visitor_context *ctx) - : be_visitor_exception (ctx) -{ -} - -be_visitor_exception_cdr_op_cs::~be_visitor_exception_cdr_op_cs (void) -{ -} - -int -be_visitor_exception_cdr_op_cs::visit_exception (be_exception *node) -{ - if (node->cli_stub_cdr_op_gen () || node->imported ()) - return 0; - - // set the substate as generating code for the types defined in our - // scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_cdr_op_cs::" - "visit_exception - " - "codegen for scope failed\n"), -1); - } - - - node->cli_stub_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_exception/ctor_assign.cpp b/TAO/TAO_IDL/be/be_visitor_exception/ctor_assign.cpp deleted file mode 100644 index 5c3bff6388f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/ctor_assign.cpp +++ /dev/null @@ -1,323 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ctor_assign.cpp -// -// = DESCRIPTION -// Visitor generating code for the special CTOR and assignment operator for -// Exceptions. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" - -ACE_RCSID(be_visitor_exception, ctor_assign, "$Id$") - - -// ************************************************************************ -// used for the body of the assignment operator and the copy constructor -// ************************************************************************ - -be_visitor_exception_ctor_assign::be_visitor_exception_ctor_assign (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_exception_ctor_assign::~be_visitor_exception_ctor_assign (void) -{ -} - -int be_visitor_exception_ctor_assign::visit_exception (be_exception *node) -{ - this->ctx_->node (node); // save the argument node - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_exception_ctor_assign::" - "visit_exception - " - "codegen for scope failed\n"), - -1); - } - - return 0; -} - -int be_visitor_exception_ctor_assign::visit_field (be_field *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_exception_ctor_assign::" - "visit_field - " - "Bad field type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_exception_ctor_assign::" - "visit_field - " - "cannot accept visitor\n"), - -1); - } - - return 0; -} - -int be_visitor_exception_ctor_assign::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_decl *bd = this->ctx_->node (); - - os->indent (); - - if (ACE_OS::strcmp (bd->flatname (), node->flatname ())) - { - // We are typedef'd. - *os << node->name (); - } - else - { - // We are anonymous. - *os << "_" << bd->local_name (); - } - - if (this->ctx_->exception ()) - { - // Constructor from member args. - *os << "_copy (this->" << bd->local_name () - << ", _tao_" << bd->local_name () << ");\n"; - } - else - { - // Copy constructor and assignment operator. - *os << "_copy (this->" << bd->local_name () - << ", _tao_excp." << bd->local_name () << ");\n"; - } - - return 0; -} - -int be_visitor_exception_ctor_assign::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_decl *bd = this->ctx_->node (); - - os->indent (); - if (this->ctx_->exception ()) // special ctor - { - *os << "this->" << bd->local_name () << " = _tao_" << bd->local_name () - << ";\n"; - } - else - { - *os << "this->" << bd->local_name () << " = _tao_excp." << bd->local_name () - << ";\n"; - } - return 0; -} - -int be_visitor_exception_ctor_assign::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_decl *bd = this->ctx_->node (); - - os->indent (); - if (this->ctx_->exception ()) // special ctor - { - *os << "this->" << bd->local_name () << " = " << node->name () - << "::_duplicate (_tao_" << bd->local_name () << ");\n"; - } - else - { - *os << "this->" << bd->local_name () << " = " << node->name () - << "::_duplicate (_tao_excp." << bd->local_name () << ".in ());\n"; - } - return 0; -} - -int be_visitor_exception_ctor_assign::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_decl *bd = this->ctx_->node (); - - os->indent (); - if (this->ctx_->exception ()) // special ctor - { - *os << "this->" << bd->local_name () << " = " << node->name () - << "::_duplicate (_tao_" << bd->local_name () << ");\n"; - } - else - { - *os << "this->" << bd->local_name () << " = " << node->name () - << "::_duplicate (_tao_excp." << bd->local_name () << ".in ());\n"; - } - return 0; -} - -int be_visitor_exception_ctor_assign::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_decl *bd = this->ctx_->node (); - - os->indent (); - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - if (this->ctx_->exception ()) // special ctor - { - *os << "this->" << bd->local_name () << " = _tao_" - << bd->local_name () << ";\n"; - } - else - { - *os << "this->" << bd->local_name () << " = _tao_excp." - << bd->local_name () << ";\n"; - } - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - if (this->ctx_->exception ()) // special ctor - { - *os << "this->" << bd->local_name () << " = " - << node->name () << "::_duplicate (_tao_" - << bd->local_name () << ");\n"; - } - else - { - *os << "this->" << bd->local_name () << " = " - << node->name () << "::_duplicate (_tao_excp." - << bd->local_name () << ".in ());\n"; - } - } // end else if - else // simple predefined types - { - if (this->ctx_->exception ()) // special ctor - { - *os << "this->" << bd->local_name () << " = _tao_" - << bd->local_name () << ";\n"; - } - else - { - *os << "this->" << bd->local_name () << " = _tao_excp." - << bd->local_name () << ";\n"; - } - } // end of else - - return 0; -} - -int be_visitor_exception_ctor_assign::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_decl *bd = this->ctx_->node (); - - os->indent (); - if (this->ctx_->exception ()) // special ctor - { - *os << "this->" << bd->local_name () << " = _tao_" << bd->local_name () - << ";\n"; - } - else - { - *os << "this->" << bd->local_name () << " = _tao_excp." << bd->local_name () - << ";\n"; - } - return 0; -} - -int be_visitor_exception_ctor_assign::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_decl *bd = this->ctx_->node (); - - os->indent (); - if (this->ctx_->exception ()) // special ctor - { - *os << "this->" << bd->local_name () << " = CORBA::string_dup (_tao_" - << bd->local_name () << ");\n"; - } - else - { - *os << "this->" << bd->local_name () - << " = CORBA::string_dup (_tao_excp." << bd->local_name () - << ".in ());\n"; - } - return 0; -} - -int be_visitor_exception_ctor_assign::visit_structure (be_structure *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_decl *bd = this->ctx_->node (); - - os->indent (); - if (this->ctx_->exception ()) // special ctor - { - *os << "this->" << bd->local_name () << " = _tao_" << bd->local_name () - << ";\n"; - } - else - { - *os << "this->" << bd->local_name () << " = _tao_excp." << bd->local_name () - << ";\n"; - } - return 0; -} - -int be_visitor_exception_ctor_assign::visit_union (be_union *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - be_decl *bd = this->ctx_->node (); - - os->indent (); - if (this->ctx_->exception ()) // special ctor - { - *os << "this->" << bd->local_name () << " = _tao_" << bd->local_name () - << ";\n"; - } - else - { - *os << "this->" << bd->local_name () << " = _tao_excp." << bd->local_name () - << ";\n"; - } - return 0; -} - -int be_visitor_exception_ctor_assign::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_exception_ctor_assign::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception.cpp deleted file mode 100644 index 71f9590bb4b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/exception.cpp +++ /dev/null @@ -1,110 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// .cpp -// -// = DESCRIPTION -// Generic visitor generating code for Exceptions. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" - -ACE_RCSID(be_visitor_exception, exception, "$Id$") - - -// generic struct visitor -be_visitor_exception::be_visitor_exception (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_exception::~be_visitor_exception (void) -{ -} - -// visit the Exception node and its scope -int -be_visitor_exception::visit_exception (be_exception *) -{ - return -1; // must be overriden -} - -int -be_visitor_exception::visit_field (be_field *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_EXCEPTION_CH: - ctx.state (TAO_CodeGen::TAO_FIELD_CH); - break; - case TAO_CodeGen::TAO_EXCEPTION_CI: - ctx.state (TAO_CodeGen::TAO_FIELD_CI); - break; - case TAO_CodeGen::TAO_EXCEPTION_CS: - ctx.state (TAO_CodeGen::TAO_FIELD_CS); - break; - case TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_FIELD_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_FIELD_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_FIELD_CDR_OP_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception::" - "visit_field - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception::" - "visit_field - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception::" - "visit_field - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp deleted file mode 100644 index b724b9d6e7b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/exception_ch.cpp +++ /dev/null @@ -1,147 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exception_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Exception in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" - -ACE_RCSID(be_visitor_exception, exception_ch, "$Id$") - - -// ****************************************************** -// for client header -// ****************************************************** - -be_visitor_exception_ch::be_visitor_exception_ch (be_visitor_context *ctx) - : be_visitor_exception (ctx) -{ -} - -be_visitor_exception_ch::~be_visitor_exception_ch (void) -{ -} - -// visit the Exception node and its scope -int be_visitor_exception_ch::visit_exception (be_exception *node) -{ - TAO_OutStream *os; // output stream - - if (!node->cli_hdr_gen () && !node->imported ()) // not already generated and - // not imported - { - os = this->ctx_->stream (); - - os->gen_ifdef_macro (node->flatname (), "_ptr"); - - os->indent (); - *os << "class " << node->local_name () << ";" << be_nl; - // generate the _ptr declaration - *os << "typedef " << node->local_name () << " *" - << node->local_name () << "_ptr;" << be_nl; - os->gen_endif (); - - os->gen_ifdef_macro (node->flatname ()); - - os->indent (); - *os << "class " << idl_global->export_macro () - << " " << node->local_name () - << " : public CORBA::UserException" << be_nl; - *os << "{" << be_nl - << "public:\n"; - os->incr_indent (); - - // generate code for field members - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_ch::" - "visit_exception - " - "codegen for scope failed\n"), -1); - } - - *os << be_nl; - - // constructors and destructor - *os << node->local_name () << " (void); // default ctor" << be_nl; - *os << node->local_name () << " (const " << node->local_name () - << " &); // copy ctor" << be_nl; - *os << "~" << node->local_name () << " (void); // dtor" << be_nl; - - os->indent (); - // assignment operator - *os << node->local_name () << " &operator= (const " - << node->local_name () << " &);\n\n"; - - *os << be_nl - << "virtual void _raise (void);\n" << be_nl - << "static " << node->local_name () - << " *_narrow (CORBA::Exception *);\n\n"; - - // generate constructor that takes each member as a parameter. We need a - // new state. Such a constructor exists if we have members - if (node->member_count () > 0) - { - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CTOR_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception::" - "visit_exception - " - "codegen for ctor failed\n"), -1); - } - delete visitor; - } - - - *os << be_nl - << "// = TAO extension" << be_nl - << "static CORBA::Exception *_alloc (void);\n" << be_uidt_nl - << "}; // exception " << node->name () - << "\n" << be_nl; - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_TYPECODE_DECL); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_ch::" - "visit_exception - " - "TypeCode declaration failed\n" - ), -1); - } - - - os->gen_endif (); - - node->cli_hdr_gen (1); - - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_ci.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_ci.cpp deleted file mode 100644 index 7f7a34758b1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/exception_ci.cpp +++ /dev/null @@ -1,69 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exception_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Exception in the inline file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" - -ACE_RCSID(be_visitor_exception, exception_ci, "$Id$") - - -// ****************************************************** -// for client inline -// ****************************************************** - -be_visitor_exception_ci::be_visitor_exception_ci (be_visitor_context *ctx) - : be_visitor_exception (ctx) -{ -} - -be_visitor_exception_ci::~be_visitor_exception_ci (void) -{ -} - -// visit the Exception node and its scope -int be_visitor_exception_ci::visit_exception (be_exception *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - if (!node->cli_inline_gen () && !node->imported ()) - { - os = this->ctx_->stream (); - os->indent (); - *os << "// *************************************************************" - << be_nl; - *os << "// Inline operations for exception " << node->name () << be_nl; - *os << "// *************************************************************\n\n"; - - // generate inline code required of any anonymous types of members - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception::" - "visit_exception -" - "code for inline failed\n"), -1); - } - - node->cli_inline_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp deleted file mode 100644 index 5745089998e..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp +++ /dev/null @@ -1,222 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exception_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Exception in the stubs file -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" - -ACE_RCSID(be_visitor_exception, exception_cs, "$Id$") - - -// *************************************************************************** -// for client stubs -// *************************************************************************** -be_visitor_exception_cs::be_visitor_exception_cs (be_visitor_context *ctx) - : be_visitor_exception (ctx) -{ -} - -be_visitor_exception_cs::~be_visitor_exception_cs (void) -{ -} - -// visit the Exception_Cs node and its scope -int be_visitor_exception_cs::visit_exception (be_exception *node) -{ - TAO_OutStream *os; // output stream - - if (!node->cli_stub_gen () && !node->imported ()) - { - os = this->ctx_->stream (); - - os->indent (); - - // generate stub code required of any anonymous types of members - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception::" - "visit_exception -" - "code for stub failed\n"), - -1); - } - - // default constructor - *os << "// default constructor" << be_nl; - *os << node->name () << "::" << node->local_name () << " (void)" << be_nl; - *os << " : CORBA_UserException (" - << node->tc_name () << ")\n"; - *os << "{" << be_nl; - *os << "}\n\n"; - - // destructor - os->indent (); - *os << "// destructor - all members are of self managing types" << be_nl; - *os << node->name () << "::~" << node->local_name () << " (void)" << be_nl; - *os << "{" << be_nl; - *os << "}\n\n"; - - // copy constructor - os->indent (); - *os << "// copy constructor" << be_nl; - *os << node->name () << "::" << node->local_name () << " (const " - << node->name () << " &_tao_excp)" << be_nl; - *os << " : CORBA_UserException (" - << "_tao_excp._type ())" << be_nl; - *os << "{\n"; - os->incr_indent (); - // assign each individual member - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CTOR_ASSIGN_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_cs::" - "visit_exception -" - "codegen for scope failed\n"), -1); - } - delete visitor; - os->decr_indent (); - *os << "}\n\n"; - - // assignment operator - os->indent (); - *os << "// assignment operator" << be_nl; - *os << node->name () << "&" << be_nl; - *os << node->name () << "::operator= (const " - << node->name () << " &_tao_excp)" << be_nl - << "{\n" << be_idt_nl - << "this->CORBA_UserException::operator= " - << "(_tao_excp);\n"; - // assign each individual member - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CTOR_ASSIGN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_cs::" - "visit_exception -" - "codegen for scope failed\n"), -1); - } - delete visitor; - os->indent (); - *os << "return *this;" << be_uidt_nl - << "}\n\n"; - - // narrow method - os->indent (); - *os << "// narrow" << be_nl; - *os << node->name () << "_ptr " << be_nl; - *os << node->name () << "::_narrow (CORBA::Exception *exc)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "if (!ACE_OS::strcmp (\"" << node->repoID () - << "\", exc->_id ())) // same type" << be_nl; - *os << " return ACE_dynamic_cast (" << node->name () << "_ptr, exc);" - << be_nl; - *os << "else" << be_nl; - *os << " return 0;\n"; - os->decr_indent (); - *os << "}\n\n"; - - *os << be_nl - << "void " << node->name () << "::_raise ()" << be_nl - << "{" << be_idt_nl - << "TAO_RAISE(*this);" << be_uidt_nl - << "}\n\n"; - - // generate the _alloc method - os->indent (); - *os << "// TAO extension - the _alloc method" << be_nl; - *os << "CORBA::Exception *" << node->name () - << "::_alloc (void)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return new " << node->name () << ";" << be_uidt_nl; - *os << "}\n\n"; - - // constructor taking all members. It exists only if there are any - // members - if (node->member_count () > 0) - { - // generate the signature - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CTOR_CS); - visitor = tao_cg->make_visitor (&ctx); - - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception::" - "visit_exception - " - "codegen for ctor failed\n"), -1); - } - delete visitor; - - *os << " : CORBA_UserException " - << " (CORBA::TypeCode::_duplicate (" << node->tc_name () - << "))" << be_nl; - *os << "{\n"; - os->incr_indent (); - // assign each individual member. We need yet another state - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CTOR_ASSIGN_CS); - ctx.exception (1); // indicate that the special ctor is being - // generated - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_cs::" - "visit_exception -" - "codegen for scope failed\n"), -1); - } - delete visitor; - os->decr_indent (); - *os << "}\n\n"; - } - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_TYPECODE_DEFN); - ctx.sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception_cs::" - "visit_exception - " - "TypeCode definition failed\n" - ), -1); - } - - node->cli_stub_gen (I_TRUE); - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp deleted file mode 100644 index 6b3e59fdae6..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp +++ /dev/null @@ -1,313 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exception_ctor.cpp -// -// = DESCRIPTION -// Visitor generating code for the special constructor for Exceptions -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_exception.h" - -ACE_RCSID(be_visitor_exception, exception_ctor, "$Id$") - - -// ************************************************************************ -// code to generate the special ctor -// ************************************************************************ - -be_visitor_exception_ctor::be_visitor_exception_ctor -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_exception_ctor::~be_visitor_exception_ctor (void) -{ -} - -int -be_visitor_exception_ctor::post_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (!this->last_node (bd)) - *os << ",\n"; - return 0; -} - -int be_visitor_exception_ctor::visit_exception (be_exception *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - this->ctx_->node (node); // save the argument node - - os->indent (); - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << node->local_name (); - else - *os << node->name () << "::" << node->local_name (); - *os << "(" << be_idt << "\n"; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_exception_ctor_assign::" - "visit_exception - " - "codegen for scope failed\n"), - -1); - } - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << be_uidt << ");\n\n"; - else - *os << be_uidt << ")\n\n"; - - return 0; -} - -int be_visitor_exception_ctor::visit_field (be_field *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_exception_ctor::" - "visit_exception - " - "Bad field type\n"), - -1); - } - - os->indent (); - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_exception_ctor::" - "visit_field - " - "cannot accept visitor\n"), - -1); - } - - *os << " _tao_" << node->local_name (); - return 0; -} - -int be_visitor_exception_ctor::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // set the right type; - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - *os << "const "; - - be_typedef *tdef = be_typedef::narrow_from_decl (bt); - - if (this->ctx_->state () != TAO_CodeGen::TAO_EXCEPTION_CTOR_CH - && !tdef) - *os << this->ctx_->scope ()->fullname () << "::"; - - if (!tdef) - *os << "_"; - - *os << bt->nested_type_name (this->ctx_->scope ()); - - return 0; -} - -int be_visitor_exception_ctor::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // set the right type; - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << bt->nested_type_name (this->ctx_->scope ()); - else - *os << bt->name (); - return 0; -} - -int be_visitor_exception_ctor::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // set the right type; - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << bt->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << bt->name (); - *os << "_ptr "; - return 0; -} - -int be_visitor_exception_ctor::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // set the right type; - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << bt->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << bt->name (); - *os << "_ptr "; - return 0; -} - -int be_visitor_exception_ctor::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // set the right type; - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << bt->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << bt->name (); - *os << " &"; - return 0; - } // end of if - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << bt->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << bt->name (); - *os << "_ptr "; - } // end else if - else // simple predefined types - { - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << bt->nested_type_name (this->ctx_->scope ()); - else - *os << bt->name (); - } // end of else - - return 0; -} - -int be_visitor_exception_ctor::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // set the right type; - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << bt->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << bt->name (); - *os << " &"; - return 0; -} - -int be_visitor_exception_ctor::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - *os << "const char *"; - return 0; -} - -int be_visitor_exception_ctor::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // set the right type; - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << bt->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << bt->name (); - *os << " &"; - return 0; -} - -int be_visitor_exception_ctor::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // set the right type; - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << bt->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << bt->name (); - *os << " &"; - return 0; -} - -int be_visitor_exception_ctor::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_exception_ctor::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_factory.cpp b/TAO/TAO_IDL/be/be_visitor_factory.cpp deleted file mode 100644 index bbb90a662dd..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_factory.cpp +++ /dev/null @@ -1,911 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL Backend -// -// = FILENAME -// be_visitor_factory.cpp -// -// = DESCRIPTION -// Defines a factory that returns a specialized visitor object based on the -// code generation state. This factory creates all the commonly used -// visitors that are not affected by decisions such as whether we use -// compiled marshaling or interpretive marshaling. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// individual visitors included only here -#include "be_visitor_factory.h" - -#include "be_visitor_argument.h" -#include "be_visitor_array.h" -#include "be_visitor_attribute.h" -#include "be_visitor_constant.h" -#include "be_visitor_enum.h" -#include "be_visitor_exception.h" -#include "be_visitor_field.h" -#include "be_visitor_interface.h" -#include "be_visitor_interface_fwd.h" -#include "be_visitor_valuetype.h" -#include "be_visitor_valuetype_fwd.h" -#include "be_visitor_module.h" -#include "be_visitor_operation.h" -#include "be_visitor_root.h" -#include "be_visitor_sequence.h" -#include "be_visitor_structure.h" -#include "be_visitor_typecode.h" -#include "be_visitor_typedef.h" -#include "be_visitor_union.h" -#include "be_visitor_union_branch.h" - -ACE_RCSID(be, be_visitor_factory, "$Id$") - - -// The BASE abstract visitor factory -TAO_Visitor_Factory::TAO_Visitor_Factory (void) -{ -} - -// destructor -TAO_Visitor_Factory::~TAO_Visitor_Factory (void) -{ -} - -// The concrete visitor factory for visitors irrespective of the the marshaling -// approaches used. -// -// This common visitor factory also deals with a 2nd level of code-generation -// choices that the user has requested. This involves enabling/disabling -// support for specific type of kind, e.g., generation of TypeCodes or Any -// operators or Real C++ exception suport. -TAO_Common_Visitor_Factory::TAO_Common_Visitor_Factory (void) -{ -} - -// destructor -TAO_Common_Visitor_Factory::~TAO_Common_Visitor_Factory (void) -{ -} - -be_visitor * -TAO_Common_Visitor_Factory::make_visitor (be_visitor_context *ctx) -{ - TAO_CodeGen::CG_STATE st = ctx->state (); - // create a new context so that ownership issues are not confused. This newly - // created context is a copy of what was sent by the caller. The newly - // created visitor will own this new copy. - be_visitor_context *new_ctx = new be_visitor_context (*ctx); - switch (st) - { - case TAO_CodeGen::TAO_ROOT_CH: - return new be_visitor_root_ch (new_ctx); - case TAO_CodeGen::TAO_ROOT_CI: - return new be_visitor_root_ci (new_ctx); - case TAO_CodeGen::TAO_ROOT_CS: - return new be_visitor_root_cs (new_ctx); - case TAO_CodeGen::TAO_ROOT_SH: - return new be_visitor_root_sh (new_ctx); - case TAO_CodeGen::TAO_ROOT_SI: - return new be_visitor_root_si (new_ctx); - case TAO_CodeGen::TAO_ROOT_SS: - return new be_visitor_root_ss (new_ctx); - case TAO_CodeGen::TAO_ROOT_IH: - return new be_visitor_root_ih (new_ctx); - case TAO_CodeGen::TAO_ROOT_IS: - return new be_visitor_root_is (new_ctx); - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - // this is the starting point for generation of all Any operators. If we - // have the any support enabled, then go ahead - if (idl_global->any_support ()) - return new be_visitor_root_any_op (new_ctx); - else - // return a NO_OP visitor - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - // this is the starting point for generation of all CDR operators. If we - // do not use compiled marshaling, we do not need these operators - if (idl_global->compiled_marshaling ()) - return new be_visitor_root_cdr_op (new_ctx); - else - // return a NO_OP visitor - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_MODULE_CH: - return new be_visitor_module_ch (new_ctx); - case TAO_CodeGen::TAO_MODULE_SH: - return new be_visitor_module_sh (new_ctx); - case TAO_CodeGen::TAO_MODULE_IH: - return new be_visitor_module_ih (new_ctx); - case TAO_CodeGen::TAO_MODULE_CI: - case TAO_CodeGen::TAO_MODULE_CS: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - case TAO_CodeGen::TAO_MODULE_IS: - return new be_visitor_module (new_ctx); - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - return new be_visitor_module_any_op (new_ctx); - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - return new be_visitor_module_cdr_op (new_ctx); - - case TAO_CodeGen::TAO_INTERFACE_CH: - return new be_visitor_interface_ch (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_CI: - return new be_visitor_interface_ci (new_ctx); - - case TAO_CodeGen::TAO_INTERFACE_CS: - return new be_visitor_interface_cs (new_ctx); - - case TAO_CodeGen::TAO_INTERFACE_SH: - return new be_visitor_interface_sh (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_IH: - return new be_visitor_interface_ih (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_SI: - return new be_visitor_interface_si (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_SS: - return new be_visitor_interface_ss (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_IS: - return new be_visitor_interface_is (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SH: - return new be_visitor_interface_thru_poa_collocated_sh (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SS: - return new be_visitor_interface_thru_poa_collocated_ss (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SH: - return new be_visitor_interface_direct_collocated_sh (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SS: - return new be_visitor_interface_direct_collocated_ss (new_ctx); - - case TAO_CodeGen::TAO_COLLOCATED_AMI_HANDLER_CH: - return new be_visitor_interface_collocated_ami_handler_ch (new_ctx); - - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH: - return new be_visitor_interface_any_op_ch (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS: - return new be_visitor_interface_any_op_cs (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_TIE_SH: - return new be_visitor_interface_tie_sh (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_TIE_SI: - return new be_visitor_interface_tie_si (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH: - return new be_visitor_interface_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI: - return new be_visitor_interface_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS: - return new be_visitor_interface_cdr_op_cs (new_ctx); - - case TAO_CodeGen::TAO_INTERFACE_FWD_CH: - return new be_visitor_interface_fwd_ch (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_FWD_CI: - return new be_visitor_interface_fwd_ci (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_FWD_CDR_OP_CI: - return new be_visitor_interface_fwd_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_FWD_CDR_OP_CS: - return new be_visitor_decl (new_ctx); // noop - -# ifdef IDL_HAS_VALUETYPE - - case TAO_CodeGen::TAO_VALUETYPE_CH: - return new be_visitor_valuetype_ch (new_ctx); - case TAO_CodeGen::TAO_VALUETYPE_CS: - return new be_visitor_valuetype_cs (new_ctx); - case TAO_CodeGen::TAO_VALUETYPE_CI: - return new be_visitor_valuetype_ci (new_ctx); - - case TAO_CodeGen::TAO_VALUETYPE_OBV_CH: - return new be_visitor_valuetype_obv_ch (new_ctx); - case TAO_CodeGen::TAO_VALUETYPE_OBV_CI: - return new be_visitor_decl (new_ctx); // currently NO-OP - //return new be_visitor_valuetype_obv_ci (new_ctx); - case TAO_CodeGen::TAO_VALUETYPE_OBV_CS: - return new be_visitor_valuetype_obv_cs (new_ctx); - - case TAO_CodeGen::TAO_FIELD_OBV_CH: - return new be_visitor_valuetype_field_ch (new_ctx); - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_CH: - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_OBV_CH: - //case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_IH: - //case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_IS: - //case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_OTHERS: - return new be_visitor_obv_operation_arglist (new_ctx); - - case TAO_CodeGen::TAO_MODULE_OBV_CH: - case TAO_CodeGen::TAO_MODULE_OBV_CI: - case TAO_CodeGen::TAO_MODULE_OBV_CS: - return new be_visitor_obv_module (new_ctx); - - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CH: - return new be_visitor_valuetype_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CI: - return new be_visitor_valuetype_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CS: - return new be_visitor_decl (new_ctx); // noop - - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CH: - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CS: - return new be_visitor_decl (new_ctx); // @@ TODO - -# endif /* IDL_HAS_VALUETYPE */ - - case TAO_CodeGen::TAO_STRUCT_CH: - return new be_visitor_structure_ch (new_ctx); - case TAO_CodeGen::TAO_STRUCT_CS: - return new be_visitor_structure_cs (new_ctx); - case TAO_CodeGen::TAO_STRUCT_CI: - return new be_visitor_structure_ci (new_ctx); - case TAO_CodeGen::TAO_STRUCT_ANY_OP_CH: - return new be_visitor_structure_any_op_ch (new_ctx); - case TAO_CodeGen::TAO_STRUCT_ANY_OP_CS: - return new be_visitor_structure_any_op_cs (new_ctx); - case TAO_CodeGen::TAO_STRUCT_CDR_OP_CH: - return new be_visitor_structure_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_STRUCT_CDR_OP_CI: - return new be_visitor_structure_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_STRUCT_CDR_OP_CS: - return new be_visitor_structure_cdr_op_cs (new_ctx); - - case TAO_CodeGen::TAO_CONSTANT_CH: - return new be_visitor_constant_ch (new_ctx); - case TAO_CodeGen::TAO_CONSTANT_CS: - return new be_visitor_constant_cs (new_ctx); - - case TAO_CodeGen::TAO_ENUM_CH: - return new be_visitor_enum_ch (new_ctx); - case TAO_CodeGen::TAO_ENUM_CS: - return new be_visitor_enum_cs (new_ctx); - case TAO_CodeGen::TAO_ENUM_ANY_OP_CH: - return new be_visitor_enum_any_op_ch (new_ctx); - case TAO_CodeGen::TAO_ENUM_ANY_OP_CS: - return new be_visitor_enum_any_op_cs (new_ctx); - case TAO_CodeGen::TAO_ENUM_CDR_OP_CH: - return new be_visitor_enum_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_ENUM_CDR_OP_CI: - return new be_visitor_enum_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_ENUM_CDR_OP_CS: - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_FIELD_CH: - return new be_visitor_field_ch (new_ctx); - case TAO_CodeGen::TAO_FIELD_CS: - return new be_visitor_field_cs (new_ctx); - case TAO_CodeGen::TAO_FIELD_CI: - return new be_visitor_field_ci (new_ctx); - case TAO_CodeGen::TAO_FIELD_CDR_OP_CH: - return new be_visitor_field_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_FIELD_CDR_OP_CI: - return new be_visitor_field_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_FIELD_CDR_OP_CS: - return new be_visitor_field_cdr_op_cs (new_ctx); - - case TAO_CodeGen::TAO_UNION_CH: - return new be_visitor_union_ch (new_ctx); - case TAO_CodeGen::TAO_UNION_CI: - return new be_visitor_union_ci (new_ctx); - case TAO_CodeGen::TAO_UNION_CS: - return new be_visitor_union_cs (new_ctx); - case TAO_CodeGen::TAO_UNION_PUBLIC_CH: - return new be_visitor_union_branch_public_ch (new_ctx); - case TAO_CodeGen::TAO_UNION_PUBLIC_CI: - return new be_visitor_union_branch_public_ci (new_ctx); - case TAO_CodeGen::TAO_UNION_PUBLIC_CS: - return new be_visitor_union_branch_public_cs (new_ctx); - case TAO_CodeGen::TAO_UNION_PUBLIC_ASSIGN_CS: - return new be_visitor_union_branch_public_assign_cs (new_ctx); - case TAO_CodeGen::TAO_UNION_PUBLIC_RESET_CS: - return new be_visitor_union_branch_public_reset_cs (new_ctx); - case TAO_CodeGen::TAO_UNION_PUBLIC_ACCESS_CS: - return new be_visitor_union_branch_public_access_cs (new_ctx); - case TAO_CodeGen::TAO_UNION_PRIVATE_CH: - return new be_visitor_union_branch_private_ch (new_ctx); - case TAO_CodeGen::TAO_UNION_DISCTYPEDEFN_CH: - return new be_visitor_union_discriminant_ch (new_ctx); - case TAO_CodeGen::TAO_UNION_DISCTYPEDEFN_CI: - return new be_visitor_union_discriminant_ci (new_ctx); - case TAO_CodeGen::TAO_UNION_DISCTYPEDEFN_CS: - return new be_visitor_union_discriminant_cs (new_ctx); - case TAO_CodeGen::TAO_UNION_ANY_OP_CH: - return new be_visitor_union_any_op_ch (new_ctx); - case TAO_CodeGen::TAO_UNION_ANY_OP_CS: - break; - case TAO_CodeGen::TAO_UNION_CDR_OP_CH: - return new be_visitor_union_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_UNION_CDR_OP_CI: - return new be_visitor_union_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_UNION_CDR_OP_CS: - return new be_visitor_union_cdr_op_cs (new_ctx); - case TAO_CodeGen::TAO_UNION_BRANCH_CDR_OP_CH: - return new be_visitor_union_branch_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_UNION_BRANCH_CDR_OP_CI: - return new be_visitor_union_branch_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_UNION_BRANCH_CDR_OP_CS: - return new be_visitor_union_branch_cdr_op_cs (new_ctx); - - case TAO_CodeGen::TAO_SEQUENCE_CH: - return new be_visitor_sequence_ch (new_ctx); - case TAO_CodeGen::TAO_SEQUENCE_CI: - return new be_visitor_sequence_ci (new_ctx); - case TAO_CodeGen::TAO_SEQUENCE_CS: - return new be_visitor_sequence_cs (new_ctx); - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - return new be_visitor_sequence_base (new_ctx); - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH: - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CI: - return new be_visitor_sequence_elemtype (new_ctx); - case TAO_CodeGen::TAO_SEQUENCE_BUFFER_TYPE_CH: - case TAO_CodeGen::TAO_SEQUENCE_BUFFER_TYPE_CI: - case TAO_CodeGen::TAO_SEQUENCE_BUFFER_TYPE_CS: - return new be_visitor_sequence_buffer_type (new_ctx); - case TAO_CodeGen::TAO_SEQUENCE_ANY_OP_CH: - return new be_visitor_sequence_any_op_ch (new_ctx); - case TAO_CodeGen::TAO_SEQUENCE_ANY_OP_CS: - return new be_visitor_sequence_any_op_cs (new_ctx); - case TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CH: - return new be_visitor_sequence_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CI: - return new be_visitor_sequence_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CS: - return new be_visitor_sequence_cdr_op_cs (new_ctx); - - case TAO_CodeGen::TAO_TYPEDEF_CH: - return new be_visitor_typedef_ch (new_ctx); - case TAO_CodeGen::TAO_TYPEDEF_CS: - return new be_visitor_typedef_cs (new_ctx); - case TAO_CodeGen::TAO_TYPEDEF_CI: - return new be_visitor_typedef_ci (new_ctx); - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH: - return new be_visitor_typedef_any_op_ch (new_ctx); - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS: - return new be_visitor_typedef_any_op_cs (new_ctx); - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH: - return new be_visitor_typedef_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI: - return new be_visitor_typedef_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS: - return new be_visitor_typedef_cdr_op_cs (new_ctx); - - case TAO_CodeGen::TAO_TYPECODE_DECL: - case TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DECL: - // Do we need TypeCode Support? - if (idl_global->tc_support ()) - return new be_visitor_typecode_decl (new_ctx); - else - // return a NO_OP visitor - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_TYPECODE_DEFN: - case TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN: - // Do we need TypeCode Support? - if (idl_global->tc_support ()) - return new be_visitor_typecode_defn (new_ctx); - else - // return a NO_OP visitor - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_ATTRIBUTE_CH: - case TAO_CodeGen::TAO_ATTRIBUTE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_IH: - case TAO_CodeGen::TAO_ATTRIBUTE_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_IS: - case TAO_CodeGen::TAO_ATTRIBUTE_TIE_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_TIE_SI: - case TAO_CodeGen::TAO_ATTRIBUTE_THRU_POA_COLLOCATED_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_THRU_POA_COLLOCATED_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_DIRECT_COLLOCATED_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_DIRECT_COLLOCATED_SS: - return new be_visitor_attribute (new_ctx); - - case TAO_CodeGen::TAO_EXCEPTION_CH: - return new be_visitor_exception_ch (new_ctx); - case TAO_CodeGen::TAO_EXCEPTION_CI: - return new be_visitor_exception_ci (new_ctx); - case TAO_CodeGen::TAO_EXCEPTION_CS: - return new be_visitor_exception_cs (new_ctx); - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CH: - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CS: - return new be_visitor_exception_ctor (new_ctx); - case TAO_CodeGen::TAO_EXCEPTION_CTOR_ASSIGN_CS: - return new be_visitor_exception_ctor_assign (new_ctx); - case TAO_CodeGen::TAO_EXCEPTION_ANY_OP_CH: - return new be_visitor_exception_any_op_ch (new_ctx); - case TAO_CodeGen::TAO_EXCEPTION_ANY_OP_CS: - return new be_visitor_exception_any_op_cs (new_ctx); - case TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CH: - return new be_visitor_exception_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CI: - return new be_visitor_exception_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CS: - return new be_visitor_exception_cdr_op_cs (new_ctx); - - case TAO_CodeGen::TAO_ARRAY_CH: - return new be_visitor_array_ch (new_ctx); - case TAO_CodeGen::TAO_ARRAY_CI: - return new be_visitor_array_ci (new_ctx); - case TAO_CodeGen::TAO_ARRAY_CS: - return new be_visitor_array_cs (new_ctx); - case TAO_CodeGen::TAO_ARRAY_ANY_OP_CH: - return new be_visitor_array_any_op_ch (new_ctx); - case TAO_CodeGen::TAO_ARRAY_ANY_OP_CS: - return new be_visitor_array_any_op_cs (new_ctx); - case TAO_CodeGen::TAO_ARRAY_CDR_OP_CH: - return new be_visitor_array_cdr_op_ch (new_ctx); - case TAO_CodeGen::TAO_ARRAY_CDR_OP_CI: - return new be_visitor_array_cdr_op_ci (new_ctx); - case TAO_CodeGen::TAO_ARRAY_CDR_OP_CS: - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_AMI: - // @@ Alex: I am not sure about this case, yet (Alex). - // noop. - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_FWD_CH: - return new be_visitor_interface_ami_handler_fwd_ch (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_FWD_CI: - return new be_visitor_interface_ami_handler_fwd_ci (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_SERVANT_CH: - return new be_visitor_interface_ami_handler_servant_ch (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_SERVANT_CS: - return new be_visitor_interface_ami_handler_servant_cs (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_STUB_CH: - return new be_visitor_interface_ami_handler_stub_ch (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_STUB_CS: - return new be_visitor_interface_ami_handler_stub_cs (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_RESULT_ARG: - return new be_visitor_args_ami_handler_result_arg (new_ctx); - - default: - // an error - delete new_ctx; - return 0; - } - return 0; -} - -// The concrete visitor factory for operation visitors generating interpretive -// stubs and skeletons - -TAO_Interpretive_Visitor_Factory::TAO_Interpretive_Visitor_Factory (void) -{ -} - -// destructor -TAO_Interpretive_Visitor_Factory::~TAO_Interpretive_Visitor_Factory (void) -{ -} - -be_visitor * -TAO_Interpretive_Visitor_Factory::make_visitor (be_visitor_context *ctx) -{ - TAO_CodeGen::CG_STATE st = ctx->state (); - // create a new context so that ownership issues are not confused. This newly - // created context is a copy of what was sent by the caller. The newly - // created visitor will own this new copy. - be_visitor_context *new_ctx = new be_visitor_context (*ctx); - - switch (st) - { - case TAO_CodeGen::TAO_UNION_ANY_OP_CS: - return new be_visitor_union_any_op_interpretive_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_CH: - return new be_visitor_operation_ch (new_ctx); - case TAO_CodeGen::TAO_OPERATION_CS: - return new be_interpretive_visitor_operation_cs (new_ctx); - case TAO_CodeGen::TAO_OPERATION_SH: - return new be_visitor_operation_sh (new_ctx); - case TAO_CodeGen::TAO_OPERATION_IH: - return new be_visitor_operation_ih (new_ctx); - case TAO_CodeGen::TAO_OPERATION_SS: - return new be_interpretive_visitor_operation_ss (new_ctx); - case TAO_CodeGen::TAO_OPERATION_IS: - return new be_visitor_operation_is (new_ctx); - case TAO_CodeGen::TAO_OPERATION_THRU_POA_COLLOCATED_SH: - return new be_visitor_operation_thru_poa_collocated_sh (new_ctx); - case TAO_CodeGen::TAO_OPERATION_THRU_POA_COLLOCATED_SS: - return new be_visitor_operation_thru_poa_collocated_ss (new_ctx); - case TAO_CodeGen::TAO_OPERATION_DIRECT_COLLOCATED_SH: - return new be_visitor_operation_direct_collocated_sh (new_ctx); - case TAO_CodeGen::TAO_OPERATION_DIRECT_COLLOCATED_SS: - return new be_visitor_operation_direct_collocated_ss (new_ctx); - - case TAO_CodeGen::TAO_COLLOCATED_AMI_HANDLER_OPERATION_CH: - return new be_visitor_operation_ami_handler_operation_ch (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETTYPE_CH: - case TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS: - return new be_visitor_operation_rettype (new_ctx); - case TAO_CodeGen::TAO_OPERATION_RETTYPE_IS: - return new be_visitor_operation_rettype_is (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - return new be_visitor_operation_rettype_vardecl_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_PRE_INVOKE_CS: - return new be_visitor_operation_rettype_pre_docall_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_INVOKE_CS: - return new be_visitor_operation_rettype_docall_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_POST_INVOKE_CS: - return new be_visitor_operation_rettype_post_docall_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - return new be_visitor_operation_rettype_return_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS: - return new be_visitor_operation_exceptlist_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_RETVAL_DECL_CS: - return new be_visitor_operation_rettype_vardecl_ss (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_DEMARSHAL_SS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_MARSHAL_SS: - return new be_visitor_operation_rettype_marshal_ss (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - return new be_visitor_operation_rettype_assign_ss (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_POST_UPCALL_SS: - return new be_visitor_operation_rettype_post_upcall_ss (new_ctx); - case TAO_CodeGen::TAO_OPERATION_ARGLIST_CH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_SH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IS: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_COLLOCATED_SH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_OTHERS: - return new be_visitor_operation_arglist (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_ARG_PRE_INVOKE_CS: - case TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS: - case TAO_CodeGen::TAO_AMI_OPERATION_ARG_INVOKE_CS: - // @@ Michael case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_INVOKE_CS: - case TAO_CodeGen::TAO_OPERATION_ARG_POST_INVOKE_CS: - case TAO_CodeGen::TAO_OPERATION_ARG_PRE_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_COLLOCATED_ARG_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_POST_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_DECL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_DEMARSHAL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_MARSHAL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_POST_MARSHAL_SS: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_DECL_CS: - return new be_visitor_operation_argument (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_TIE_SH: - return new be_visitor_operation_tie_sh (new_ctx); - case TAO_CodeGen::TAO_OPERATION_TIE_SI: - return new be_visitor_operation_tie_si (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_ARGLIST_CH: - case TAO_CodeGen::TAO_ARGUMENT_ARGLIST_OTHERS: - return new be_visitor_args_arglist (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_PRE_INVOKE_CS: - return new be_visitor_args_pre_docall_cs (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_INVOKE_CS: - case TAO_CodeGen::TAO_AMI_ARGUMENT_INVOKE_CS: - // @@ Michael case TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_INVOKE_CS: - return new be_visitor_args_docall_cs (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_POST_INVOKE_CS: - return new be_visitor_args_post_docall_cs (new_ctx); - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - return new be_visitor_args_vardecl_ss (new_ctx); - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - return new be_visitor_args_pre_upcall_ss (new_ctx); - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - case TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS: - return new be_visitor_args_upcall_ss (new_ctx); - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - return new be_visitor_args_post_upcall_ss (new_ctx); - case TAO_CodeGen::TAO_ARGUMENT_DEMARSHAL_SS: - case TAO_CodeGen::TAO_ARGUMENT_MARSHAL_SS: - return new be_visitor_args_marshal_ss (new_ctx); - case TAO_CodeGen::TAO_ARGUMENT_POST_MARSHAL_SS: - return new be_visitor_args_post_marshal_ss (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_AMI_CH: - return new be_visitor_operation_ami_ch (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_AMI_CS: - return new be_interpretive_visitor_operation_ami_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_AMI_ARGLIST_CH: - case TAO_CodeGen::TAO_OPERATION_AMI_ARGLIST_CS: - return new be_visitor_operation_ami_arglist (new_ctx); - - // case TAO_CodeGen::TAO_OPERATION_ARG_AMI: - // return new be_visitor_operation_argument (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_AMI_ARGLIST_CH: - return new be_visitor_args_ami_arglist (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_AMI_ARGLIST_CS: - return new be_visitor_args_ami_arglist (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_SERVANT_OPERATION_CH: - case TAO_CodeGen::TAO_AMI_HANDLER_STUB_OPERATION_CH: - return new be_visitor_operation_ami_handler_operation_ch (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_STUB_OPERATION_CS: - return new be_interpretive_visitor_operation_ami_handler_operation_cs (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CH: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CS: - return new be_visitor_operation_ami_handler_arglist (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_AMI_HANDLER_ARGLIST_CH: - case TAO_CodeGen::TAO_ARGUMENT_AMI_HANDLER_ARGLIST_CS: - return new be_visitor_args_ami_handler_arglist (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_SKELETON_CS: - return new be_interpretive_visitor_operation_ami_handler_skeleton_cs (new_ctx); - - default: - // cannot handle it; delegate it to the common visitor factory - delete new_ctx; - return TAO_COMMON_VISITOR_FACTORY::instance ()->make_visitor (ctx); - } -} - -// The concrete visitor factory for operation visitors generating compiled -// stubs and skeletons - -TAO_Compiled_Visitor_Factory::TAO_Compiled_Visitor_Factory (void) -{ -} - -// destructor -TAO_Compiled_Visitor_Factory::~TAO_Compiled_Visitor_Factory (void) -{ -} - -be_visitor * -TAO_Compiled_Visitor_Factory::make_visitor (be_visitor_context *ctx) -{ - TAO_CodeGen::CG_STATE st = ctx->state (); - // create a new context so that ownership issues are not confused. This newly - // created context is a copy of what was sent by the caller. The newly - // created visitor will own this new copy. - be_visitor_context *new_ctx = new be_visitor_context (*ctx); - - switch (st) - { - case TAO_CodeGen::TAO_UNION_ANY_OP_CS: - return new be_visitor_union_any_op_compiled_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_CH: - return new be_visitor_operation_ch (new_ctx); - case TAO_CodeGen::TAO_OPERATION_CS: - return new be_compiled_visitor_operation_cs (new_ctx); - case TAO_CodeGen::TAO_OPERATION_SH: - return new be_visitor_operation_sh (new_ctx); - case TAO_CodeGen::TAO_OPERATION_SS: - return new be_compiled_visitor_operation_ss (new_ctx); - case TAO_CodeGen::TAO_OPERATION_IS: - return new be_visitor_operation_is (new_ctx); - case TAO_CodeGen::TAO_OPERATION_IH: - return new be_visitor_operation_ih (new_ctx); - case TAO_CodeGen::TAO_OPERATION_THRU_POA_COLLOCATED_SH: - return new be_visitor_operation_thru_poa_collocated_sh (new_ctx); - case TAO_CodeGen::TAO_OPERATION_THRU_POA_COLLOCATED_SS: - return new be_visitor_operation_thru_poa_collocated_ss (new_ctx); - case TAO_CodeGen::TAO_OPERATION_DIRECT_COLLOCATED_SH: - return new be_visitor_operation_direct_collocated_sh (new_ctx); - case TAO_CodeGen::TAO_OPERATION_DIRECT_COLLOCATED_SS: - return new be_visitor_operation_direct_collocated_ss (new_ctx); - - case TAO_CodeGen::TAO_COLLOCATED_AMI_HANDLER_OPERATION_CH: - return new be_visitor_operation_ami_handler_operation_ch (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETTYPE_CH: - case TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS: - return new be_visitor_operation_rettype (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - return new be_visitor_operation_rettype_vardecl_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_PRE_INVOKE_CS: - return new be_visitor_operation_rettype_pre_invoke_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_INVOKE_CS: - return new be_visitor_operation_rettype_compiled_marshal (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_POST_INVOKE_CS: - // this is a NO-OP - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - return new be_visitor_operation_rettype_return_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS: - return new be_visitor_operation_exceptlist_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_RETVAL_DECL_CS: - return new be_compiled_visitor_operation_rettype_vardecl_ss (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_DEMARSHAL_SS: - // this is a NO-OP - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_MARSHAL_SS: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_RETVAL_MARSHAL_CS: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_RETVAL_DEMARSHAL_CS: - return new be_visitor_operation_rettype_compiled_marshal (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - return new be_visitor_operation_rettype_assign_ss (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_RETVAL_POST_UPCALL_SS: - // this is a NO-OP - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_ARGLIST_CH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_SH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IS: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_COLLOCATED_SH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_OTHERS: - return new be_visitor_operation_arglist (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_ARG_PRE_INVOKE_CS: - case TAO_CodeGen::TAO_OPERATION_ARG_POST_INVOKE_CS: - case TAO_CodeGen::TAO_OPERATION_ARG_PRE_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_COLLOCATED_ARG_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_POST_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_DECL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_POST_MARSHAL_SS: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_DECL_CS: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_UPCALL_CS: - return new be_visitor_operation_argument (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_ARG_DEMARSHAL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_MARSHAL_SS: - return new be_compiled_visitor_operation_argument_marshal (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_MARSHAL_CS: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_DEMARSHAL_CS: - return new be_compiled_visitor_operation_ami_handler_argument_marshal (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS: - case TAO_CodeGen::TAO_AMI_OPERATION_ARG_INVOKE_CS: - // @@ Michael case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_INVOKE_CS: - return new be_compiled_visitor_operation_argument_invoke (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_TIE_SH: - return new be_visitor_operation_tie_sh (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_TIE_SI: - return new be_visitor_operation_tie_si (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_ARGLIST_CH: - case TAO_CodeGen::TAO_ARGUMENT_ARGLIST_OTHERS: - return new be_visitor_args_arglist (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_PRE_INVOKE_CS: - return new be_visitor_args_pre_invoke_cs (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_INVOKE_CS: - case TAO_CodeGen::TAO_AMI_ARGUMENT_INVOKE_CS: - // @@ Michael case TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_INVOKE_CS: - return new be_visitor_args_compiled_marshal_cs (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_POST_INVOKE_CS: - return new be_visitor_args_post_docall_compiled_cs (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - return new be_compiled_visitor_args_vardecl_ss (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS: - return new be_compiled_visitor_args_ami_handler_vardecl_cs (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - // this is a NO-OP - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - case TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS: - return new be_visitor_args_upcall_ss (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_UPCALL_CS: - return new be_visitor_args_ami_handler_upcall_cs (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - // this is a NO-OP - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_DEMARSHAL_SS: - case TAO_CodeGen::TAO_ARGUMENT_MARSHAL_SS: - return new be_visitor_args_compiled_marshal_ss (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_DEMARSHAL_CS: - case TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_MARSHAL_CS: - return new be_visitor_args_ami_handler_compiled_marshal_cs (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_POST_MARSHAL_SS: - // this is a NO-OP - return new be_visitor_decl (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_AMI_CS: - return new be_compiled_visitor_operation_ami_cs (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_AMI_CH: - return new be_visitor_operation_ami_ch (new_ctx); - - case TAO_CodeGen::TAO_OPERATION_AMI_ARGLIST_CH: - case TAO_CodeGen::TAO_OPERATION_AMI_ARGLIST_CS: - return new be_visitor_operation_ami_arglist (new_ctx); - - // case TAO_CodeGen::TAO_OPERATION_ARG_AMI: - // return new be_visitor_operation_argument (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_AMI_ARGLIST_CH: - return new be_visitor_args_ami_arglist (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_AMI_ARGLIST_CS: - return new be_visitor_args_ami_arglist (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_SERVANT_OPERATION_CH: - case TAO_CodeGen::TAO_AMI_HANDLER_STUB_OPERATION_CH: - return new be_visitor_operation_ami_handler_operation_ch (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_STUB_OPERATION_CS: - return new be_compiled_visitor_operation_ami_handler_operation_cs (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CH: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CS: - return new be_visitor_operation_ami_handler_arglist (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_ARGLIST_AMI_HANDLER: - return new be_visitor_args_ami_handler_arglist (new_ctx); - - case TAO_CodeGen::TAO_ARGUMENT_AMI_HANDLER_ARGLIST_CH: - case TAO_CodeGen::TAO_ARGUMENT_AMI_HANDLER_ARGLIST_CS: - return new be_visitor_args_ami_handler_arglist (new_ctx); - - case TAO_CodeGen::TAO_AMI_HANDLER_SKELETON_CS: - return new be_compiled_visitor_operation_ami_handler_skeleton_cs (new_ctx); - - default: - // cannot handle it; delegate it to the common visitor factory - delete new_ctx; - return TAO_COMMON_VISITOR_FACTORY::instance ()->make_visitor (ctx); - } -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/TAO_IDL/be/be_visitor_field.cpp b/TAO/TAO_IDL/be/be_visitor_field.cpp deleted file mode 100644 index b219838d510..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_field.cpp +++ /dev/null @@ -1,34 +0,0 @@ -// -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_field.cpp -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Field" node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_field.h" - -// include all the individual files -#include "be_visitor_field/field_ch.cpp" -#include "be_visitor_field/field_ci.cpp" -#include "be_visitor_field/field_cs.cpp" -#include "be_visitor_field/cdr_op_ch.cpp" -#include "be_visitor_field/cdr_op_ci.cpp" -#include "be_visitor_field/cdr_op_cs.cpp" - -ACE_RCSID(be, be_visitor_field, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_field/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_field/cdr_op_ch.cpp deleted file mode 100644 index 93be4a933f5..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_field/cdr_op_ch.cpp +++ /dev/null @@ -1,294 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating CDR operator declarator for field in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_field, cdr_op_ch, "$Id$") - - -// ********************************************** -// visitor for field in the client header file -// ********************************************** - -// constructor -be_visitor_field_cdr_op_ch::be_visitor_field_cdr_op_ch (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_field_cdr_op_ch::~be_visitor_field_cdr_op_ch (void) -{ -} - -// visit the field node -int -be_visitor_field_cdr_op_ch::visit_field (be_field *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - - return 0; -} - -// =visit operations on all possible data types that a field can be - -// visit array type -int -be_visitor_field_cdr_op_ch::visit_array (be_array *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // this is the case for anonymous arrays. - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the struct declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CDR_OP_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} - -// visit enum type -int -be_visitor_field_cdr_op_ch::visit_enum (be_enum *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} - -// visit sequence type -int -be_visitor_field_cdr_op_ch::visit_sequence (be_sequence *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the sequence declaration - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} - -// visit structure type -int -be_visitor_field_cdr_op_ch::visit_structure (be_structure *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the struct declaration - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} - -// visit typedefed type -int -be_visitor_field_cdr_op_ch::visit_typedef (be_typedef *node) -{ - // save the node for use in code generation and - // indicate that the field of the field node - // is a typedefed quantity - this->ctx_->alias (node); - - // make a decision based on the primitive base type - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_field_cdr_op_ch::visit_union (be_union *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ch::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_field/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_field/cdr_op_ci.cpp deleted file mode 100644 index 78aa5dbb7e0..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_field/cdr_op_ci.cpp +++ /dev/null @@ -1,845 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Field in the client stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_field, cdr_op_ci, "$Id$") - - -// ********************************************** -// visitor for field in the client stubs file -// ********************************************** - -// constructor -be_visitor_field_cdr_op_ci::be_visitor_field_cdr_op_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_field_cdr_op_ci::~be_visitor_field_cdr_op_ci (void) -{ -} - -// visit the field node -int -be_visitor_field_cdr_op_ci::visit_field (be_field *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} - -// visit array -int -be_visitor_field_cdr_op_ci::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_array - " - "cannot retrieve field node\n" - ), -1); - } - - // for anonymous arrays, the type name has a _ prepended. We compute - // the fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - // save the node's local name and full name in a buffer for quick - // use later on - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscore - // prepended to our local name. This needs to be inserted after - // the parents's name - - if (node->is_nested ()) - { - be_decl *parent = - be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", node->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", node->fullname ()); - } - - // check what is the code generation substate. Are we generating - // code for the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " - << "_tao_aggregate_" << f->local_name () << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " - << "_tao_aggregate_" << f->local_name () << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - // This is done in cdr_op_cs and hacked into *.i. - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_array - " - "bad sub state\n" - ), -1); - } - - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // this is the case for anonymous arrays. Generate the <<, >> operators - // for the type defined by the anonymous array - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit enum type -int -be_visitor_field_cdr_op_ci::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_array - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> _tao_aggregate." << f->local_name () << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << _tao_aggregate." << f->local_name () << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_enum - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // generate the typcode for enums - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit interface type -int -be_visitor_field_cdr_op_ci::visit_interface (be_interface *) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_interface - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> _tao_aggregate." << f->local_name () << ".out ())"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << _tao_aggregate." << f->local_name () << ".in ())"; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done because an interface cannit be declared inside a - // structure - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_interface - " - "bad sub state\n" - ), -1); - } - return 0; -} - -// visit interface forward type -int -be_visitor_field_cdr_op_ci::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_interface_fwd - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> _tao_aggregate." << f->local_name () << ".out ())"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << _tao_aggregate." << f->local_name () << ".in ())"; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done because an interface cannit be declared inside a - // structure - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_interface_fwd - " - "bad sub state\n" - ), -1); - } - return 0; -} - -// visit predefined type -int -be_visitor_field_cdr_op_ci::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_predefined_type - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - // is a psuedo obj - if (node->pt () == AST_PredefinedType::PT_pseudo) - *os << "(strm >> _tao_aggregate." << f->local_name () - << ".out ())"; - else if (node->pt () == AST_PredefinedType::PT_char) - *os << "(strm >> CORBA::Any::to_char (_tao_aggregate." - << f->local_name () << "))"; - else if (node->pt () == AST_PredefinedType::PT_wchar) - *os << "(strm >> CORBA::Any::to_wchar (_tao_aggregate." - << f->local_name () << "))"; - else if (node->pt () == AST_PredefinedType::PT_octet) - *os << "(strm >> CORBA::Any::to_octet (_tao_aggregate." - << f->local_name () << "))"; - else if (node->pt () == AST_PredefinedType::PT_boolean) - *os << "(strm >> CORBA::Any::to_boolean (_tao_aggregate." - << f->local_name () << "))"; - else - *os << "(strm >> _tao_aggregate." << f->local_name () << ")"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - // is a psuedo obj - if (node->pt () == AST_PredefinedType::PT_pseudo) - *os << "(strm << _tao_aggregate." << f->local_name () << ".in ())"; - else if (node->pt () == AST_PredefinedType::PT_char) - *os << "(strm << CORBA::Any::from_char (_tao_aggregate." - << f->local_name () << "))"; - else if (node->pt () == AST_PredefinedType::PT_wchar) - *os << "(strm << CORBA::Any::from_wchar (_tao_aggregate." - << f->local_name () << "))"; - else if (node->pt () == AST_PredefinedType::PT_octet) - *os << "(strm << CORBA::Any::from_octet (_tao_aggregate." - << f->local_name () << "))"; - else if (node->pt () == AST_PredefinedType::PT_boolean) - *os << "(strm << CORBA::Any::from_boolean (_tao_aggregate." - << f->local_name () << "))"; - else - *os << "(strm << _tao_aggregate." << f->local_name () << ")"; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_array - " - "bad sub state\n" - ), -1); - } - - return 0; -} - -int -be_visitor_field_cdr_op_ci::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_sequence - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> _tao_aggregate." << f->local_name () << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << _tao_aggregate." << f->local_name () << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_sequence - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef - && node->is_child (this->ctx_->scope ())) - // not a typedef AND - // node is defined inside the structure - { - // Anonymous sequence - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit string type -int -be_visitor_field_cdr_op_ci::visit_string (be_string *) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_string - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> _tao_aggregate." << f->local_name () << ".out ())"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << _tao_aggregate." << f->local_name () << ".in ())"; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_array - " - "bad sub state\n" - ), -1); - } - - return 0; -} - -// visit structure type -int -be_visitor_field_cdr_op_ci::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_structure - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> _tao_aggregate." << f->local_name () << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << _tao_aggregate." << f->local_name () << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_structure - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit typedef type -int -be_visitor_field_cdr_op_ci::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_field_cdr_op_ci::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_union - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> _tao_aggregate." << f->local_name () << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << _tao_aggregate." << f->local_name () << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_union - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for union - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// **************************************************************** - -be_visitor_cdr_op_field_decl:: - be_visitor_cdr_op_field_decl (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -// This is a field, but the action depends on the type of the field, -// use this visitor to detect the type of the field. -// Notice that this is why the parent visitor (who create us) cannot -// do the job, because it may have another purpose for some or all of -// the visit_* methods; in other words, while running a visitor to -// generate CDR operators for structures we cannot use that one to -// generate the code of each field, because visit_struct already has a -// meaning in that visitor. -int -be_visitor_cdr_op_field_decl::visit_field (be_field *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_cdr_op_field_decl::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - // @@ Shouldn't this be saved in the visitor and not the context?! - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_cdr_op_field_decl::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} - -// visit array -int -be_visitor_cdr_op_field_decl::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_cdr_op_field_decl::" - "visit_array - " - "cannot retrieve field node\n" - ), -1); - } - - // for anonymous arrays, the type name has a _ prepended. We compute - // the fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope - // prepended to our local name. This needs to be inserted after - // the parents's name - - if (node->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", node->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", node->fullname ()); - } - - // check what is the code generation substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << fname << "_forany " - << "_tao_aggregate_" << f->local_name () << be_idt << be_idt_nl - << "(ACE_const_cast (" << be_idt << be_idt_nl - << fname << "_slice*," << be_nl - << "_tao_aggregate." << f->local_name () << be_uidt_nl - << ")" << be_uidt << be_uidt_nl - << ");" << be_uidt_nl; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_cdr_op_field_decl::" - "visit_array - " - "bad sub state\n" - ), -1); - } - ACE_NOTREACHED (return 0); -} - - -// visit typedef type -int -be_visitor_cdr_op_field_decl::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_cdr_op_field_decl::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp deleted file mode 100644 index 93f25b43b70..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_field/cdr_op_cs.cpp +++ /dev/null @@ -1,288 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_cdr_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Field in the client stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_field, cdr_op_cs, "$Id$") - - -// ********************************************** -// visitor for field in the client stubs file -// ********************************************** - -// constructor -be_visitor_field_cdr_op_cs::be_visitor_field_cdr_op_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_field_cdr_op_cs::~be_visitor_field_cdr_op_cs (void) -{ -} - -// visit the field node -int -be_visitor_field_cdr_op_cs::visit_field (be_field *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} - -// visit array -int -be_visitor_field_cdr_op_cs::visit_array (be_array *node) -{ - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // this is the case for anonymous arrays. Generate the <<, >> operators - // for the type defined by the anonymous array - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - - // set the node to be the node being visited. The scope - // is still the same - ctx.node (node); - - // first generate the declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CDR_OP_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit enum type -int -be_visitor_field_cdr_op_cs::visit_enum (be_enum *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // generate the typcode for enums - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_ci::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -int -be_visitor_field_cdr_op_cs::visit_sequence (be_sequence *node) -{ - if (node->node_type () != AST_Decl::NT_typedef - && node->is_child (this->ctx_->scope ())) - { - // Anonymous sequence - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - - // set the node to be the node being visited. The scope is - // still the same - be_visitor_context ctx (*this->ctx_); - ctx.node (node); - - // generate the code for sequences - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit structure type -int -be_visitor_field_cdr_op_cs::visit_structure (be_structure *node) -{ - if (node->node_type () != AST_Decl::NT_typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - // set the node to be the node being visited. The scope is - // still the same - ctx.node (node); - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit typedef type -int -be_visitor_field_cdr_op_cs::visit_typedef (be_typedef *node) -{ - // save the typedef node for use in code generation as we visit the - // base type - this->ctx_->alias (node); - - // the node to be visited in the base primitve type that gets - // typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_field_cdr_op_cs::visit_union (be_union *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for union - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cdr_op_cs::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_field/field_ch.cpp b/TAO/TAO_IDL/be/be_visitor_field/field_ch.cpp deleted file mode 100644 index af980e349a4..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_field/field_ch.cpp +++ /dev/null @@ -1,521 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Field node in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_field, field_ch, "$Id$") - - -// ********************************************** -// visitor for field in the client header file -// ********************************************** - -// constructor -be_visitor_field_ch::be_visitor_field_ch (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_field_ch::~be_visitor_field_ch (void) -{ -} - -// visit the field node -int -be_visitor_field_ch::visit_field (be_field *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // field's type - - os = this->ctx_->stream (); - // first generate the type information - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - // now output the field name. - *os << " " << node->local_name () << ";\n"; - return 0; -} - -// =visit operations on all possible data types that a field can be - -// visit array type -int -be_visitor_field_ch::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; - - os = this->ctx_->stream (); - // set the right type; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // this is the case for anonymous arrays. - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the struct declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - - // having defined all array type and its supporting operations, now - // generate the actual variable that is a field of the structure - os->indent (); - *os << "_" << bt->local_name (); - } - else - { - // this was a typedefed array - os->indent (); // start from current indentation level - *os << bt->nested_type_name (this->ctx_->scope ()); - } - return 0; -} - -// visit enum type -int -be_visitor_field_ch::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; - - os = this->ctx_->stream (); - - // set the right type; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // if not a typedef and we are defined in the use scope, we must be defined - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_ENUM_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // now use this enum as a "type" for the subsequent declarator - os->indent (); // start from current indentation level - *os << bt->nested_type_name (this->ctx_->scope ()); - - return 0; -} - -// visit interface type -int -be_visitor_field_ch::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; - - os = this->ctx_->stream (); - // set the right type; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // if not a typedef and we are defined in the use scope, we must be defined - os->indent (); - *os << "TAO_Object_Field_T<" - << bt->nested_type_name (this->ctx_->scope (), "") - << ","; - // Must use another statement, nested_type_name has side effects... - *os << bt->nested_type_name (this->ctx_->scope (), "_var") - << ">"; - return 0; -} - -// visit interface forward type -int -be_visitor_field_ch::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; - - os = this->ctx_->stream (); - // set the right type; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // if not a typedef and we are defined in the use scope, we must be defined - os->indent (); - *os << "TAO_Object_Field_T<" - << bt->nested_type_name (this->ctx_->scope (), "") << ","; - // Must use another statement, nested_type_name has side effects... - *os << bt->nested_type_name (this->ctx_->scope (), "_var") << ">"; - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -// visit valuetype type -int -be_visitor_field_ch::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; - - os = this->ctx_->stream (); - // set the right type; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // if not a typedef and we are defined in the use scope, we must be defined - os->indent (); - *os << bt->nested_type_name (this->ctx_->scope (), "") - << "_var"; - return 0; -} - -// visit valuetype forward type -int -be_visitor_field_ch::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; - - os = this->ctx_->stream (); - // set the right type; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // if not a typedef and we are defined in the use scope, we must be defined - os->indent (); - *os << bt->nested_type_name (this->ctx_->scope (), "") - << "_var"; - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -// visit predefined type -int -be_visitor_field_ch::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; - - os = this->ctx_->stream (); - // set the right type; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // if not a typedef and we are defined in the use scope, we must be defined - os->indent (); // start from current indentation level - if (node->pt () == AST_PredefinedType::PT_pseudo) // is a psuedo obj - { - // check if we are dealing with a CORBA::Object - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "Object")) - { - *os << "TAO_Object_Field_T<" - << bt->name () << "," - << bt->name () << "_var>"; - } - else - *os << bt->nested_type_name (this->ctx_->scope (), "_var"); - } - else - *os << bt->nested_type_name (this->ctx_->scope ()); - return 0; -} - -// visit sequence type -int -be_visitor_field_ch::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; - - os = this->ctx_->stream (); - // set the right type; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // if not a typedef and we are defined in the use scope, we must be defined - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the sequence declaration - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - os->indent (); // start from current indentation level - *os << bt->nested_type_name (this->ctx_->scope ()); - return 0; -} - -// visit string type -int -be_visitor_field_ch::visit_string (be_string *) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - os->indent (); // start from current indentation level - // set the right type; - -#if 0 - if (this->ctx_->alias ()) - { - *os << this->ctx_->alias ()->nested_type_name (this->ctx_->scope ()) - << "_var"; - } - else - *os << "CORBA::String_var"; -#endif - *os << "TAO_String_Manager"; - return 0; -} - -// visit structure type -int -be_visitor_field_ch::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; - - os = this->ctx_->stream (); - // set the right type; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the struct declaration - ctx.state (TAO_CodeGen::TAO_STRUCT_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - os->indent (); // start from current indentation level - *os << bt->nested_type_name (this->ctx_->scope ()); - return 0; -} - -// visit typedefed type -int -be_visitor_field_ch::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the node for use in code generation and - // indicate that the type of the field node - // is a typedefed quantity - - // make a decision based on the primitive base type - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - // reset the alias - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_field_ch::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; - - os = this->ctx_->stream (); - // set the right type; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // if not a typedef and we are defined in the use scope, we must be defined - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the union declaration - ctx.state (TAO_CodeGen::TAO_UNION_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - os->indent (); // start from current indentation level - *os << bt->nested_type_name (this->ctx_->scope ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_field/field_ci.cpp b/TAO/TAO_IDL/be/be_visitor_field/field_ci.cpp deleted file mode 100644 index 57d2daa7690..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_field/field_ci.cpp +++ /dev/null @@ -1,255 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Field in the client inline file -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_field, field_ci, "$Id$") - - -// ********************************************** -// visitor for field in the client inline file. -// -// Generate inline code for types that are defined -// inside the structure -// ********************************************** - -// constructor -be_visitor_field_ci::be_visitor_field_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_field_ci::~be_visitor_field_ci (void) -{ -} - -// visit the field node -int -be_visitor_field_ci::visit_field (be_field *node) -{ - be_type *bt = - be_type::narrow_from_decl (node->field_type ()); - // first generate the type information - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ci::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ci::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} - -// =visit operations on all possible data types that a field can be - -// visit array -int -be_visitor_field_ci::visit_array (be_array *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // this is the case for anonymous arrays. - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the struct declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ci::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ci::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit sequence -int -be_visitor_field_ci::visit_sequence (be_sequence *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // anonymous sequence - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ci::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ci::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit structure type -int -be_visitor_field_ci::visit_structure (be_structure *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_STRUCT_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ci::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ci::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit typedef type -int -be_visitor_field_ci::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_field_ci::visit_union (be_union *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // generate the inline code for union - ctx.state (TAO_CodeGen::TAO_UNION_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ci::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ci::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_field/field_cs.cpp b/TAO/TAO_IDL/be/be_visitor_field/field_cs.cpp deleted file mode 100644 index 756c8aa123b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_field/field_cs.cpp +++ /dev/null @@ -1,285 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Field in the client stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_field, field_cs, "$Id$") - - -// ********************************************** -// visitor for field in the client stubs file -// ********************************************** - -// constructor -be_visitor_field_cs::be_visitor_field_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_field_cs::~be_visitor_field_cs (void) -{ -} - -// visit the field node -int -be_visitor_field_cs::visit_field (be_field *node) -{ - // first generate the type information - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} - -// visit array -int -be_visitor_field_cs::visit_array (be_array *node) -{ - // if not a typedef and we are defined in the use scope, we must be - // defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // this is the case for anonymous arrays. - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the struct declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit enum type -int -be_visitor_field_cs::visit_enum (be_enum *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // generate the typcode for enums - ctx.state (TAO_CodeGen::TAO_ENUM_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -int -be_visitor_field_cs::visit_sequence (be_sequence *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit structure type -int -be_visitor_field_cs::visit_structure (be_structure *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_STRUCT_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit typedef type -int -be_visitor_field_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_field_cs::visit_union (be_union *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for union - ctx.state (TAO_CodeGen::TAO_UNION_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface.cpp b/TAO/TAO_IDL/be/be_visitor_interface.cpp deleted file mode 100644 index 1ac9ed473ea..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface.cpp +++ /dev/null @@ -1,54 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_interface.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Interface -// -// = AUTHOR -// Aniruddha Gokhale and Carlos O'Ryan -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -// include all the individual files -#include "be_visitor_interface/interface.cpp" -#include "be_visitor_interface/interface_ch.cpp" -#include "be_visitor_interface/interface_ci.cpp" -#include "be_visitor_interface/interface_cs.cpp" -#include "be_visitor_interface/interface_sh.cpp" -#include "be_visitor_interface/interface_ih.cpp" -#include "be_visitor_interface/interface_si.cpp" -#include "be_visitor_interface/interface_ss.cpp" -#include "be_visitor_interface/interface_is.cpp" -#include "be_visitor_interface/thru_poa_collocated_sh.cpp" -#include "be_visitor_interface/thru_poa_collocated_ss.cpp" -#include "be_visitor_interface/direct_collocated_sh.cpp" -#include "be_visitor_interface/direct_collocated_ss.cpp" -#include "be_visitor_interface/tie_sh.cpp" -#include "be_visitor_interface/tie_si.cpp" -#include "be_visitor_interface/any_op_ch.cpp" -#include "be_visitor_interface/any_op_cs.cpp" -#include "be_visitor_interface/cdr_op_ch.cpp" -#include "be_visitor_interface/cdr_op_ci.cpp" -#include "be_visitor_interface/cdr_op_cs.cpp" -#include "be_visitor_interface/ami_handler_fwd_ch.cpp" -#include "be_visitor_interface/ami_handler_fwd_ci.cpp" -#include "be_visitor_interface/ami_handler_servant_ch.cpp" -#include "be_visitor_interface/ami_handler_servant_cs.cpp" -#include "be_visitor_interface/ami_handler_stub_ch.cpp" -#include "be_visitor_interface/ami_handler_stub_cs.cpp" -#include "be_visitor_interface/collocated_ami_handler_ch.cpp" - -ACE_RCSID(be, be_visitor_interface, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_ch.cpp deleted file mode 100644 index 678314b2855..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_ch.cpp +++ /dev/null @@ -1,233 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_ch.cpp -// -// = DESCRIPTION -// Visitor generating AMI Reply Handler code for Interfaces in the -// client header. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, ami_handler_ch, "$Id$") - - -// ************************************************************ -// Interface visitor for server header -// ************************************************************ - -be_visitor_interface_ami_handler_ch::be_visitor_interface_ami_handler_ch (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_ami_handler_ch::~be_visitor_interface_ami_handler_ch (void) -{ -} - -int -be_visitor_interface_ami_handler_ch::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - static char namebuf [NAMEBUFSIZE]; // holds the class name - - if (node->srv_hdr_gen () || node->imported ()) - return 0; - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - - os = this->ctx_->stream (); - - // Generate the skeleton class name. - - // Start with whatever indentation level we are at. - os->indent (); - - // We shall have a POA_ prefix only if we are at the topmost level. - if (!node->is_nested ()) - { - // we are outermost - ACE_OS::sprintf (namebuf, - "POA_AMI_%s_Handler", - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (namebuf, - "AMI_%s_Handler", - node->local_name ()->get_string ()); - } - - *os << "class " << namebuf << ";" << be_nl; - - // generate the _ptr declaration - *os << "typedef " << namebuf << " *" << namebuf - << "_ptr;" << be_nl; - - // Now generate the class definition. - // This class will inherit from the Messaging::ReplyHandler class. - *os << "class " << idl_global->export_macro () - << " " << namebuf - << " : public POA_Messaging::ReplyHandler" - << be_nl; - - // Body of the class definition. - *os << be_nl - << "{" << be_nl; - - // Default constructor. - *os << "protected:" << be_idt_nl - << namebuf << " (void);\n" << be_uidt_nl; - - // Public portion starts. - *os << "public:" << be_idt_nl - - // Copy constructor. - << namebuf << " (const " << namebuf << "& rhs);" << be_nl - - // Destructor. - << "virtual ~" << namebuf << " (void);\n\n" - - << be_nl; - - // Methods. - - // _is_a. - *os << "virtual CORBA::Boolean _is_a (" << be_idt << be_idt_nl - << "const char* logical_type_id," << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");\n" << be_uidt_nl; - - // _down_cast. - *os << "virtual void* _downcast (" << be_idt << be_idt_nl - << "const char* logical_type_id" << be_uidt_nl - << ");\n" << be_uidt_nl; - - // add a skeleton for our _is_a method - *os << "static void _is_a_skel (" << be_idt << be_idt_nl - << "CORBA::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 a skeleton for our _non_existent method - *os << "static void _non_existent_skel (" << be_idt << be_idt_nl - << "CORBA::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 - << "CORBA::ServerRequest &_tao_req," << be_nl - << "void *_tao_context," << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");\n" << be_uidt_nl; - - // Print out the _this() method. - *os << node->name () << " *_this (" << be_idt << be_idt_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");\n" << be_uidt_nl; - - // The _interface_repository_id method. - *os << "virtual const char* _interface_repository_id " - << "(void) const;\n\n"; - - // The _create_collocated_objref method. - *os << "virtual void* _create_collocated_objref" - << "(const char*, CORBA::ULong type, TAO_Stub *sobj);" - << be_nl << be_nl; - - // Generate code for elements in the scope (e.g., operations). - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_ch::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - - // Generate skeletons for operations of our base classes. These skeletons - // just cast the pointer to the appropriate type before invoking the call. - if (node->traverse_inheritance_graph (be_interface::gen_skel_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_ch::" - "visit_interface - " - "inheritance graph traversal failed\n"), - -1); - } - - *os << be_uidt_nl << "};\n\n"; - -#if 0 - // - // @@ Alex: Do this: - // - // Generate the collocated class - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_ch::" - "visit_interface - " - "codegen for collocated class failed\n"), - -1); - } - - // generate the TIE class. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_INTERFACE_TIE_SH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_ch::" - "visit_interface - " - "codegen for TIE class failed\n"), - -1); - } -#endif /* 0 */ - - *os << "\n"; - -#if 0 - ctx.stream (tao_cg->server_template_header ()); -#endif /* 0 */ - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_cs.cpp deleted file mode 100644 index 62eae6c6da5..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_cs.cpp +++ /dev/null @@ -1,235 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for AMI Handler class for an Interface. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, ami_handler_cs, "$Id$") - - -// ************************************************************ -// Interface visitor for client stubs -// ************************************************************ - -be_visitor_ ami_handler_cs::be_visitor_ ami_handler_cs (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_ ami_handler_cs::~be_visitor_ ami_handler_cs (void) -{ -} - -int -be_visitor_ ami_handler_cs::visit_interface (be_interface *node) -{ - // output stream. - TAO_OutStream *os; - - if (node->cli_stub_gen () || node->imported ()) - return 0; - - os = this->ctx_->stream (); - - // Start with whatever indentation level we are at. - os->indent (); - - // Create the full name for the AMI__Handler - // interface. - char *full_name = 0; - - // Full name. - // If there exists a scope name for this, then generate - // "Scope::AMI__Handler". - - size_t scope_len = 0; - - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - - if (parent != 0 && - parent->fullname () != 0 && - ACE_OS::strlen (parent->fullname ())) - scope_len = ACE_OS::strlen (parent->fullname ()) + ACE_OS::strlen ("::"); - - ACE_NEW_RETURN (full_name, - char [scope_len + - ACE_OS::strlen ("AMI_") + - ACE_OS::strlen (node->local_name ()->get_string ()) + - ACE_OS::strlen ("_Handler") + - 1], - -1); - - if (parent != 0 && - parent->fullname () != 0 && - ACE_OS::strlen (parent->fullname ())) - ACE_OS::sprintf (full_name, - "%s::AMI_%s_Handler", - parent->fullname (), - node->local_name ()->get_string ()); - else - ACE_OS::sprintf (full_name, - "AMI_%s_Handler", - node->local_name ()->get_string ()); - - // First generate the code for the static methods. - - // The _narrow method - *os << full_name << "_ptr " << full_name - << "::_narrow (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj," << be_nl - << "CORBA::Environment &env" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "if (CORBA::is_nil (obj))" << be_idt_nl - << "return " << full_name << "::_nil ();" << be_uidt_nl - << "if (!obj->_is_a (\"" << node->repoID () << "\", env))" - << be_idt_nl - << "return " << full_name << "::_nil ();" << be_uidt_nl; - - *os << "return " << full_name - << "::_unchecked_narrow (obj, env);" << be_uidt_nl - << "}" << be_nl << be_nl; - - // This may be necessary to work around a GCC compiler bug! - // const char *skel_name = node->full_skel_name (); // unused at this time - const char *coll_name = node->full_coll_name (); - assert (coll_name != 0); - - // The _unchecked_narrow method - *os << full_name << "_ptr " << full_name - << "::_unchecked_narrow (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj," << be_nl - << "CORBA::Environment &ACE_TRY_ENV" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "ACE_UNUSED_ARG (ACE_TRY_ENV);" << be_nl - << "if (CORBA::is_nil (obj))" << be_idt_nl - << "return " << full_name << "::_nil ();" << be_uidt_nl; - - *os << "TAO_Stub* stub = obj->_stubobj ();" << be_nl - << "stub->_incr_refcnt ();" << be_nl; - *os << "void* servant = 0;" << be_nl; - *os << "if (obj->_is_collocated () " - << "&& obj->_servant() != 0)" << be_idt_nl - << "servant = obj->_servant()->_downcast (\"" - << "IDL:omg.org/CORBA/Object:1.0\");" << be_uidt_nl; - - *os << "if (servant != 0)" << be_idt_nl << "{" << be_idt_nl - // The collocated object reference factory is not working right (yet) - << full_name << "_ptr retv = ACE_reinterpret_cast (" << be_idt << be_idt_nl - << full_name << "_ptr," << be_nl - << "ACE_reinterpret_cast (" << be_idt << be_idt_nl - << "PortableServer::Servant," << be_nl - << "servant" << be_uidt_nl - << ")" << be_uidt_nl - << "->_create_collocated_objref (" << be_idt << be_idt_nl - << "\"" << node->repoID () << "\"," << be_nl - << "TAO_ORB_Core::ORB_CONTROL," << be_nl - << "stub" << be_uidt_nl - << ")" << be_uidt << be_uidt_nl - << ");" << be_uidt_nl - << "if (retv != 0)" << be_idt_nl - << "return retv;" << be_uidt - // So we are still using the old way to create collocated objref. - << be_uidt_nl - << "}" << be_uidt_nl; - - *os << "return new " << full_name << "(stub);" << be_uidt_nl - << "}" << be_nl << be_nl; - - // The _duplicate method - *os << full_name << "_ptr " << be_nl - << full_name << "::_duplicate (" - << full_name << "_ptr obj)" << be_nl - << "{" << be_idt_nl - << "if (!CORBA::is_nil (obj))" << be_idt_nl - << "obj->_incr_refcnt ();" << be_uidt_nl - << "return obj;" << be_uidt_nl - << "}" << be_nl << be_nl; - - // generate code for the elements of the interface - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ ami_handler_cs::" - "visit_interface - " - "codegen for scope failed\n"), -1); - } - - // generate the is_a method - os->indent (); - *os << "CORBA::Boolean " << full_name << "::_is_a (" << - "const CORBA::Char *value, CORBA::Environment &env)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "if (\n"; - os->incr_indent (0); - if (node->traverse_inheritance_graph (be_interface::is_a_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ ami_handler_cs::" - "visit_interface - " - "_is_a method codegen failed\n"), -1); - } - - os->indent (); - *os << "(!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (env))))\n"; - *os << " return 1; // success using local knowledge\n"; - os->decr_indent (); - *os << "else" << be_nl; - *os << " return this->CORBA_Object::_is_a (value, env);\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - *os << "const char* " << full_name - << "::_interface_repository_id (void) const" - << be_nl - << "{" << be_idt_nl - << "return \"" << node->repoID () << "\";" << be_uidt_nl - << "}\n\n"; - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_TYPECODE_DEFN); - ctx.sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ ami_handler_cs::" - "visit_interface - " - "TypeCode definition failed\n" - ), -1); - } - - // @@ Alex: Make sure you have done the following in the other ami - // visitors. (Alex). - delete full_name; - full_name = 0; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_fwd_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_fwd_ch.cpp deleted file mode 100644 index edd92eb656f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_fwd_ch.cpp +++ /dev/null @@ -1,127 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_fwd_ch.cpp -// -// = DESCRIPTION -// Visitor generating fwd declaration code for the AMI Handler -// interface. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface_fwd.h" - -ACE_RCSID(be_visitor_interface_ami_handler_fwd, ami_handler_fwd_ch, "$Id$") - - -// ******************************************************************** -// Visitor implementation generating fwd declaration code for the AMI -// Handler interface. -// ******************************************************************** - -be_visitor_interface_ami_handler_fwd_ch::be_visitor_interface_ami_handler_fwd_ch (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_interface_ami_handler_fwd_ch::~be_visitor_interface_ami_handler_fwd_ch (void) -{ -} - -// visit the interface node and its scope -int -be_visitor_interface_ami_handler_fwd_ch::visit_interface (be_interface *node) -{ - // Grab the out stream. - TAO_OutStream *os = this->ctx_->stream (); - - // Generate code, if the client header is not generated already. - if (!node->cli_hdr_gen () && !node->imported ()) - { - // start from the current indentation. - os->indent (); - - // Generate forward declaration class. - *os << "class " - << "AMI_" << node->local_name () << "_Handler" << ";" - << be_nl; - - // Create a string "AMI__Handler". We can use - // this for defining all _Var, _out,etc. - char *interface_name = 0; - ACE_NEW_RETURN (interface_name, - char [ACE_OS::strlen ("AMI_") + - ACE_OS::strlen (node->flatname ()) + - ACE_OS::strlen ("_Handler") + - // end of string - 1], - 0); - ACE_OS::sprintf (interface_name, - "AMI_%s_Handler", - node->flatname ()); - - // Generate the ifdefined macro for the _ptr type. - os->gen_ifdef_macro (interface_name, "_ptr"); - - // Generate the _ptr declaration - *os << "typedef " - << "AMI_" << node->local_name () << "_Handler" - << " *" - << "AMI_" << node->local_name () << "_Handler" << "_ptr;" - << be_nl; - - // Generate the endif. - os->gen_endif (); - - // Generate the var class. - - // Enclose under an ifdef macro - os->gen_ifdef_macro (interface_name, "_var"); - - // Generate the _var declaration. - if (node->gen_var_defn (interface_name) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ami_handler_fwd_ch::" - "visit_interface_fwd - " - "codegen for _var failed\n"), -1); - } - - // Gen an endif. - os->gen_endif (); - - // Generate the our class. - - // Enclose under an ifdef macro. - os->gen_ifdef_macro (interface_name, "_out"); - - // Generate the _out declaration - ORBOS/97-05-15 pg 16-20 - // spec. - if (node->gen_out_defn (interface_name) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ami_handler_fwd_ch::" - "visit_interface_fwd - " - "codegen for _out failed\n"), -1); - } - - // Generate the endif macro. - os->gen_endif (); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_fwd_ci.cpp b/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_fwd_ci.cpp deleted file mode 100644 index d4f94f6198a..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_fwd_ci.cpp +++ /dev/null @@ -1,166 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_fwd_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Ami__Handler node in the -// client inline. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface_fwd.h" - -ACE_RCSID(be_visitor_interface_ami_handler_fwd, ami_handler_fwd_ci, "$Id$") - - -// ******************************************************************** -// Visitor implementation for the Ami_Handler_Fwd type -// This one for the client inline file -// ******************************************************************** - -be_visitor_interface_ami_handler_fwd_ci::be_visitor_interface_ami_handler_fwd_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_interface_ami_handler_fwd_ci::~be_visitor_interface_ami_handler_fwd_ci (void) -{ -} - -// visit the Ami_Handler_Fwd_ci node and its scope -int -be_visitor_interface_ami_handler_fwd_ci::visit_interface (be_interface *node) -{ - if (node->cli_inline_gen () || node->imported ()) - return 0; - - // Generate code. - - // Get the out stream. - TAO_OutStream *os; - os = this->ctx_->stream (); - - // Start from the current indentation level. - os->indent (); - - // Create the full name and local name for the AMI__Handler interface. - char *full_name = 0; - char *local_name = 0; - - // Full name. - // If there exists a scope name for this, then generate - // "Scope::AMI__Handler". - - size_t scope_len = 0; - - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - - if (parent != 0 && - parent->fullname () != 0 && - ACE_OS::strlen (parent->fullname ())) - scope_len = ACE_OS::strlen (parent->fullname ()) + ACE_OS::strlen ("::"); - - ACE_NEW_RETURN (full_name, - char [scope_len + - ACE_OS::strlen ("AMI_") + - ACE_OS::strlen (node->local_name ()->get_string ()) + - ACE_OS::strlen ("_Handler") + - 1], - -1); - - if (parent != 0 && - parent->fullname () != 0 && - ACE_OS::strlen (parent->fullname ())) - ACE_OS::sprintf (full_name, - "%s::AMI_%s_Handler", - parent->fullname (), - node->local_name ()->get_string ()); - else - ACE_OS::sprintf (full_name, - "AMI_%s_Handler", - node->local_name ()->get_string ()); - - // Local name. - - ACE_NEW_RETURN (local_name, - char [ACE_OS::strlen ("AMI_") + - ACE_OS::strlen (node->local_name ()->get_string ()) + - ACE_OS::strlen ("_Handler") + - 1], - -1); - - ACE_OS::sprintf (local_name, - "AMI_%s_Handler", - node->local_name ()->get_string ()); - - // Generate the constructors and destructor. - - *os << "ACE_INLINE" << be_nl; - *os << full_name << "::" << local_name - << " (void) // default constructor" << be_nl; - *os << "{}" << be_nl << be_nl; - - *os << "ACE_INLINE" << be_nl; - *os << full_name << "::" << local_name - << " (TAO_Stub *objref, TAO_ServantBase *_tao_servant, " - << "CORBA::Boolean _tao_collocated) // constructor" - << be_nl - << " : CORBA_Object (objref, _tao_servant, _tao_collocated)" - << be_nl - << "{}" << be_nl << be_nl; - - *os << "ACE_INLINE" << be_nl; - *os << full_name << "::~" << local_name - << " (void) // destructor" << be_nl - << "{}\n\n"; - - // _nil method. - *os << "ACE_INLINE " - << full_name << "_ptr" << be_nl - << full_name << "::_nil (void)" << be_nl - << "{" << be_idt_nl - << "return (" << full_name << "_ptr)0;" << be_uidt_nl - << "}" << be_nl << be_nl; - - // Generate the ifdefined macro for the _var type. - os->gen_ifdef_macro (full_name, "_var"); - if (node->gen_var_impl (full_name, local_name) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ci::" - "visit_interface - " - "codegen for _var failed\n"), -1); - } - os->gen_endif (); - - // Generate the ifdefined macro for the _out type. - os->gen_ifdef_macro (full_name, "_out"); - if (node->gen_out_impl (full_name, - local_name) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ci::" - "visit_interface - " - "codegen for _out failed\n"), -1); - } - os->gen_endif (); - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_servant_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_servant_ch.cpp deleted file mode 100644 index 899412c61fb..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_servant_ch.cpp +++ /dev/null @@ -1,243 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_servant_ch.cpp -// -// = DESCRIPTION -// Visitor generating AMI Reply Handler code for Interfaces in the -// client header. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, ami_handler_servant_ch, "$Id$") - - -// ************************************************************ -// Interface visitor for server header -// ************************************************************ - -be_visitor_interface_ami_handler_servant_ch::be_visitor_interface_ami_handler_servant_ch (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_ami_handler_servant_ch::~be_visitor_interface_ami_handler_servant_ch (void) -{ -} - -int -be_visitor_interface_ami_handler_servant_ch::visit_interface (be_interface *node) -{ - // Output stream. - TAO_OutStream *os; - - // Holds the class name. - static char namebuf [NAMEBUFSIZE]; - - // AMI__Handler string. - static char ami_handler [NAMEBUFSIZE]; - - if (node->srv_hdr_gen () || node->imported ()) - return 0; - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (ami_handler, '\0', NAMEBUFSIZE); - - os = this->ctx_->stream (); - - // Generate the skeleton class name. - - // Start with whatever indentation level we are at. - os->indent (); - - // We shall have a POA_ prefix only if we are at the topmost level. - if (!node->is_nested ()) - { - // we are outermost - ACE_OS::sprintf (namebuf, - "POA_AMI_%s_Handler", - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (namebuf, - "AMI_%s_Handler", - node->local_name ()->get_string ()); - } - - // AMI Handler object's name. - ACE_OS::sprintf (ami_handler, - "AMI_%s_Handler", - node->local_name ()->get_string ()); - - *os << "class " << namebuf << ";" << be_nl; - - // generate the _ptr declaration - *os << "typedef " << namebuf << " *" << namebuf - << "_ptr;" << be_nl; - - // Now generate the class definition. - // This class will inherit from the Messaging::ReplyHandler class. - *os << "class " << idl_global->export_macro () - << " " << namebuf - << " : public virtual POA_Messaging::ReplyHandler" - << be_nl; - - // Body of the class definition. - *os << be_nl - << "{" << be_nl; - - // Default constructor. - *os << "protected:" << be_idt_nl - << namebuf << " (void);\n" << be_uidt_nl; - - // Public portion starts. - *os << "public:" << be_idt_nl - - // Copy constructor. - << namebuf << " (const " << namebuf << "& rhs);" << be_nl - - // Destructor. - << "virtual ~" << namebuf << " (void);\n\n" - - << be_nl; - - // Methods. - - // _is_a. - *os << "virtual CORBA::Boolean _is_a (" << be_idt << be_idt_nl - << "const char* logical_type_id," << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");\n" << be_uidt_nl; - - // _down_cast. - *os << "virtual void* _downcast (" << be_idt << be_idt_nl - << "const char* logical_type_id" << be_uidt_nl - << ");\n" << be_uidt_nl; - - // add a skeleton for our _is_a method - *os << "static void _is_a_skel (" << be_idt << be_idt_nl - << "CORBA::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 a skeleton for our _non_existent method - *os << "static void _non_existent_skel (" << be_idt << be_idt_nl - << "CORBA::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 - << "CORBA::ServerRequest &_tao_req," << be_nl - << "void *_tao_context," << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");\n" << be_uidt_nl; - - // Print out the _this() method. - *os << ami_handler << " *_this (" << be_idt << be_idt_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");\n" << be_uidt_nl; - - // The _interface_repository_id method. - *os << "virtual const char* _interface_repository_id " - << "(void) const;\n\n"; - - // The _create_collocated_objref method. - *os << "virtual void* _create_collocated_objref" - << "(const char*, CORBA::ULong type, TAO_Stub *sobj);" - << be_nl << be_nl; - - // Generate code for elements in the scope (e.g., operations). - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_ch::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - - // Generate skeletons for operations of our base classes. These skeletons - // just cast the pointer to the appropriate type before invoking the call. - if (node->traverse_inheritance_graph (be_interface::gen_skel_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_ch::" - "visit_interface - " - "inheritance graph traversal failed\n"), - -1); - } - - *os << be_uidt_nl << "};\n\n"; - - // Generate the collocated class - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_COLLOCATED_AMI_HANDLER_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_ch::" - "visit_interface - " - "codegen for collocated class failed\n"), - -1); - } - -#if 0 - // @@ Do this (Alex). - // generate the TIE class. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_INTERFACE_TIE_SH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_ch::" - "visit_interface - " - "codegen for TIE class failed\n"), - -1); - } -#endif /* 0 */ - - *os << "\n"; - -#if 0 - ctx.stream (tao_cg->server_template_header ()); -#endif /* 0 */ - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_servant_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_servant_cs.cpp deleted file mode 100644 index 6c3be5f1597..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_servant_cs.cpp +++ /dev/null @@ -1,347 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_servant_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Interfaces in the server skeletons file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, ami_handler_servant_cs, "$Id$") - - -// ************************************************************ -// Interface visitor for server skeletons -// ************************************************************ - -be_visitor_interface_ami_handler_servant_cs::be_visitor_interface_ami_handler_servant_cs (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_ami_handler_servant_cs::~be_visitor_interface_ami_handler_servant_cs (void) -{ -} - -int -be_visitor_interface_ami_handler_servant_cs::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - - if (node->srv_skel_gen () || node->imported ()) - return 0; - - os = this->ctx_->stream (); - - // generate the skeleton class name - - os->indent (); // start with whatever indentation level we are at - - /* @@ Michael - if (node->gen_operation_table () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_cs::" - "visit_interface - " - "codegen for operation table failed\n"), - -1); - } - - */ - // constructor - *os << "// skeleton constructor" << be_nl; - // find if we are at the top scope or inside some module - if (!node->is_nested ()) - { - // we are outermost. So the POA_ prefix is prepended to our name - *os << node->ami_handler_full_skel_name () << "::POA_" << node->ami_handler_local_name () << - " (void)" << be_nl; - } - else - { - // the POA_ prefix is prepended to our outermost module name - *os << node->ami_handler_full_skel_name () << "::" << node->ami_handler_local_name () << - " (void)" << be_nl; - } - - *os << "{" << be_idt_nl - << "this->optable_ = &tao_" << node->flatname () - << "_optable;" << be_uidt_nl - << "}\n\n"; - - *os << "// copy ctor" << be_nl; - // find if we are at the top scope or inside some module - if (!node->is_nested ()) - { - // we are outermost. So the POA_ prefix is prepended to our name - *os << node->ami_handler_full_skel_name () << "::POA_" - << node->ami_handler_local_name () << " (" - << "const POA_" << node->ami_handler_local_name () << "& rhs)"; - } - else - { - // the POA_ prefix is prepended to our outermost module name - *os << node->ami_handler_full_skel_name () << "::" - << node->ami_handler_local_name () << " (const " - << node->ami_handler_local_name () << "& rhs)"; - } - *os << be_idt_nl - << ": "; - if (node->traverse_inheritance_graph - (be_interface::copy_ctor_helper, os) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_cs::visit_interface - " - " copy ctor generation failed\n"), -1); - *os << " TAO_ServantBase (rhs)" << be_uidt_nl - << "{}\n" << be_nl; - - *os << "// skeleton destructor" << be_nl; - - if (!node->is_nested ()) - { - // we are outermost. So the POA_ prefix is prepended to our name - *os << node->ami_handler_full_skel_name () << "::~POA_" << node->ami_handler_local_name () << - " (void)" << be_nl; - } - else - { - // the POA_ prefix is prepended to our outermost module name - *os << node->ami_handler_full_skel_name () << "::~" << node->ami_handler_local_name () << - " (void)" << be_nl; - } - *os << "{\n"; - *os << "}\n\n"; - - - // @@ Michael - /* - // generate code for elements in the scope (e.g., operations) - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_cs::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - */ - - // generate code for the _is_a skeleton - os->indent (); - *os << "void " << node->ami_handler_full_skel_name () - << "::_is_a_skel (" << be_idt << be_idt_nl - << "CORBA::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 << "TAO_InputCDR &_tao_in = _tao_server_request.incoming ();" << be_nl; - *os << node->ami_handler_full_skel_name () << " *_tao_impl = (" - << node->ami_handler_full_skel_name () << " *) _tao_object_reference;" << be_nl; - *os << "CORBA::Boolean _tao_retval = 0;" << be_nl; - *os << "CORBA::String_var value;" << be_nl; - *os << "if (!((_tao_in >> value.out ())))" << be_idt_nl; - *os << "ACE_THROW (CORBA::MARSHAL ());" << be_uidt_nl << be_nl; - *os << "_tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);" << be_nl; - *os << "ACE_CHECK;" << be_nl << be_nl; - *os << "_tao_server_request.init_reply (ACE_TRY_ENV);" << be_nl; - *os << "ACE_CHECK;" << be_nl; - *os << "TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();" << be_nl; - *os << "if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))" << be_idt_nl; - *os << "ACE_THROW (CORBA::MARSHAL ());" << be_uidt << be_uidt_nl; - *os << "}\n\n"; - - - // generate code for the _non_existent skeleton - os->indent (); - *os << "void " << node->ami_handler_full_skel_name () - << "::_non_existent_skel (" << be_idt << be_idt_nl - << "CORBA::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->ami_handler_full_skel_name () << " *_tao_impl = (" - << node->ami_handler_full_skel_name () << " *) _tao_object_reference;" << be_nl; - *os << "CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);" << be_nl; - *os << "ACE_CHECK;" << be_nl << be_nl; - *os << "_tao_server_request.init_reply (ACE_TRY_ENV);" << be_nl; - *os << "ACE_CHECK;" << be_nl; - *os << "TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();" << be_nl; - *os << "if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))" << be_idt_nl; - *os << "ACE_THROW (CORBA::MARSHAL ());" << be_uidt << be_uidt_nl; - *os << "}\n\n"; - - - os->indent (); - *os << "CORBA::Boolean " << node->ami_handler_full_skel_name () - << "::_is_a (" << be_idt << be_idt_nl - << "const char* value," << be_nl - << "CORBA::Environment &ACE_TRY_ENV" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "if (\n" << be_idt; - if (node->traverse_inheritance_graph (be_interface::is_a_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_cs::" - "visit_interface - " - "traversal of inhertance graph failed\n"), - -1); - } - - os->indent (); - *os << "(!ACE_OS::strcmp ((char *)value, " - << "CORBA::_tc_Object->id (ACE_TRY_ENV))))" - << be_idt_nl << "return 1;" << be_uidt_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt << be_uidt << be_uidt_nl - << "}\n\n"; - - // the downcast method. - os->indent (); - *os << "void* " << node->ami_handler_full_skel_name () - << "::_downcast (" << be_idt << be_idt_nl - << "const char* logical_type_id" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - - if (node->traverse_inheritance_graph (be_interface::downcast_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_cs::" - "visit_interface - " - "traversal of inhertance graph failed\n"), - -1); - } - - *os << "if (ACE_OS::strcmp (logical_type_id, " - << "\"IDL:omg.org/CORBA/Object:1.0\") == 0)" << be_idt_nl - << "return ACE_static_cast(PortableServer::Servant, this);" - << be_uidt_nl; - - *os << "return 0;" << be_uidt_nl - << "}\n\n"; - - - // now the dispatch method - os->indent (); - *os << "void " << node->ami_handler_full_skel_name () << - "::_dispatch (CORBA::ServerRequest &req, " << - "void *context, CORBA::Environment &ACE_TRY_ENV)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "TAO_Skeleton skel; // pointer to skeleton for operation" << be_nl; - *os << "const char *opname = req.operation (); // retrieve operation name" - << be_nl; - *os << "// find the skeleton corresponding to this opname" << be_nl; - *os << "if (this->_find (opname, skel, req.operation_length ()) == -1)" << be_nl; - *os << "{" << be_idt_nl; - *os << "ACE_ERROR ((LM_ERROR, \"Bad operation <%s>\\n\", opname));" << be_nl; - *os << "ACE_THROW (CORBA_BAD_OPERATION ());" - //<< "ACE_TRY_ENV);" << be_uidt_nl; - << be_uidt_nl; - // *os << "env.exception (new CORBA_BAD_OPERATION ());" << be_nl; - *os << "}" << be_nl; - *os << "else" << be_idt_nl; - *os << "skel (req, this, context, ACE_TRY_ENV);" << be_uidt << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "const char* " << node->ami_handler_full_skel_name () - << "::_interface_repository_id (void) const" - << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return \"" << node->repoID () << "\";\n"; - os->decr_indent (); - *os << "}\n\n"; - - *os << "\n"; - - // the _this () operation - *os << node->name () << "*" << be_nl - << node->ami_handler_full_skel_name () - << "::_this (CORBA_Environment &ACE_TRY_ENV)" << be_nl - << "{" << be_idt_nl - << "TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);" << be_nl - << "ACE_CHECK_RETURN (0);" << be_nl - // << "if (ACE_TRY_ENV.exception () != 0)" << be_idt_nl - // << "return 0;" << be_uidt_nl - - // @@ Michael: We need to check this value being passed. I am - // passing 1 right now. (Alex). - << "return new " << node->full_coll_name (1) - << " (this, stub);" << be_uidt_nl; - - *os << "}\n\n"; - - // the _create_collocated_objref method - *os << "void*" << be_nl - << node->ami_handler_full_skel_name () - << "::_create_collocated_objref (const char* repository_id, " - << "CORBA::ULong type, TAO_Stub *stub)" << be_nl - << "{" << be_idt_nl - << "if (!ACE_OS::strcmp (\"" << node->repoID () - << "\", repository_id))" << be_idt_nl - << "return ACE_static_cast (" << be_idt << be_idt_nl - << node->name () << "_ptr," << be_nl - - // @@ Michael: We need to check this value being passed. I am - // passing 1 right now. (Alex). - << "new " << node->full_coll_name (1) - << " (this, stub)" << be_uidt_nl - << ");" << be_uidt << be_uidt_nl - << "return 0;" << be_uidt_nl - << "}" << be_nl << be_nl; - - // @@ Michael - /* - // generate the collocated class impl - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_cs::" - "visit_interface - " - "Bad visitor for collocated class\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ami_handler_servant_cs::" - "visit_interface - " - "codegen for collocated class failed\n"), - -1); - } - delete visitor; - - *os << "\n\n"; - - */ - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_stub_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_stub_ch.cpp deleted file mode 100644 index c4ee9d201d3..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_stub_ch.cpp +++ /dev/null @@ -1,198 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_stub_ch.cpp -// -// = DESCRIPTION -// Visitor generating default stub class for the AMI Handler in the -// client header. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - - -// ****************************************************** -// Interface visitor for client header -// ****************************************************** - -be_visitor_interface_ami_handler_stub_ch::be_visitor_interface_ami_handler_stub_ch (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_ami_handler_stub_ch::~be_visitor_interface_ami_handler_stub_ch (void) -{ -} - -int -be_visitor_interface_ami_handler_stub_ch::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - - // Not already generated and not imported. - if (!node->cli_hdr_gen () && !node->imported ()) - { - // Grab the stream. - os = this->ctx_->stream (); - - // Ifdef guard. - - // Generate AMI_...name..._Handler string. - char *ifdef_string = 0; - ACE_NEW_RETURN (ifdef_string, - char [ACE_OS::strlen ("AMI_") + - ACE_OS::strlen (node->flatname ()) + - ACE_OS::strlen ("_Handler") + - // end of string - 1], - 0); - ACE_OS::sprintf (ifdef_string, - "AMI_%s_Handler", - node->flatname ()); - - os->gen_ifdef_macro (ifdef_string); - - // Prepare the local name for the class. - char *local_name = 0; - ACE_NEW_RETURN (local_name, - char [ACE_OS::strlen ("AMI_") + - ACE_OS::strlen (node->local_name ()->get_string ()) + - ACE_OS::strlen ("_Handler") + - // end of string - 1], - 0); - ACE_OS::sprintf (local_name, - "AMI_%s_Handler", - node->local_name ()->get_string ()); - - // Now generate the class definition. - - os->indent (); - - *os << "class " << idl_global->export_macro () << " " - << local_name; - - // Node interface inherits from the Messaging::ReplyHandler - // interface. - *os << " : public virtual Messaging::ReplyHandler" << be_nl; - - // Generate the body. - - *os << "{" << be_nl - << "public:" << be_nl - - // generate the _ptr_type and _var_type typedefs - // but we must protect against certain versions of g++ - << "#if !defined(__GNUC__) || __GNUC__ > 2 || __GNUC_MINOR__ >= 8" - << be_idt_nl - << "typedef " << local_name << "_ptr _ptr_type;" << be_nl - << "typedef " << local_name << "_var _var_type;" << be_uidt_nl - << "#endif /* __GNUC__ */\n" << be_idt_nl - - // generate the static _duplicate, _narrow, and _nil operations - << "// the static operations" << be_nl - << "static " << local_name << "_ptr " << "_duplicate (" - << local_name << "_ptr obj);" << be_nl - << "static " << local_name << "_ptr " - << "_narrow (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj," << be_nl - << "CORBA::Environment &env = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt_nl - << "static " << local_name << "_ptr " - << "_unchecked_narrow (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj," << be_nl - << "CORBA::Environment &env = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt_nl - << "static " << local_name << "_ptr " << "_nil (void);\n\n"; - - // Visit the scope to generate the stubs for the call back - // methods. - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ami_handler_stub_ch::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - - - // the _is_a method - os->indent (); - *os << "virtual CORBA::Boolean _is_a (" << be_idt << be_idt_nl - << "const CORBA::Char *type_id, " << be_nl - << "CORBA::Environment &env = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt_nl - << "virtual const char* " - << "_interface_repository_id (void) const;\n" << be_uidt_nl; - - // generate the "protected" constructor so that users cannot instantiate - // us - *os << "protected:" << be_idt_nl - << local_name << " (void);" << be_nl - << local_name - << " (TAO_Stub *objref, " << be_idt << be_idt_nl - << "TAO_ServantBase *_tao_servant = 0, " << be_nl - << "CORBA::Boolean _tao_collocated = 0" << be_uidt_nl - << ");" << be_uidt_nl - << "virtual ~" << local_name << " (void);" << be_uidt_nl; - - // private copy constructor and assignment operator. These are not - // allowed, hence they are private. - *os << "private:\n"; - os->incr_indent (); - *os << local_name << " (const " << local_name << " &);" - << be_nl - << "void operator= (const " << local_name << " &);\n"; - - os->decr_indent (); - *os << "};\n\n"; - os->gen_endif (); - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DECL); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ami_handler_stub_ch::" - "visit_interface - " - "TypeCode declaration failed\n"), - -1); - } - - - // Delete the heap allocated vars. - delete ifdef_string; - ifdef_string = 0; - delete local_name; - local_name = 0; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_stub_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_stub_cs.cpp deleted file mode 100644 index e75034bd185..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/ami_handler_stub_cs.cpp +++ /dev/null @@ -1,250 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_stub_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for AMI Handler class for an Interface. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, ami_handler_stub_cs, "$Id$") - - -// ************************************************************ -// Interface visitor for client stubs -// ************************************************************ - -be_visitor_interface_ami_handler_stub_cs::be_visitor_interface_ami_handler_stub_cs (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_ami_handler_stub_cs::~be_visitor_interface_ami_handler_stub_cs (void) -{ -} - -int -be_visitor_interface_ami_handler_stub_cs::visit_interface (be_interface *node) -{ - // output stream. - TAO_OutStream *os; - - if (node->cli_stub_gen () || node->imported ()) - return 0; - - os = this->ctx_->stream (); - - // Start with whatever indentation level we are at. - os->indent (); - - // Create the full name for the AMI__Handler - // interface. - char *full_name = 0; - - // Full name. - // If there exists a scope name for this, then generate - // "Scope::AMI__Handler". - - size_t scope_len = 0; - - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - - if (parent != 0 && - parent->fullname () != 0 && - ACE_OS::strlen (parent->fullname ())) - scope_len = ACE_OS::strlen (parent->fullname ()) + ACE_OS::strlen ("::"); - - ACE_NEW_RETURN (full_name, - char [scope_len + - ACE_OS::strlen ("AMI_") + - ACE_OS::strlen (node->local_name ()->get_string ()) + - ACE_OS::strlen ("_Handler") + - 1], - -1); - - if (parent != 0 && - parent->fullname () != 0 && - ACE_OS::strlen (parent->fullname ())) - ACE_OS::sprintf (full_name, - "%s::AMI_%s_Handler", - parent->fullname (), - node->local_name ()->get_string ()); - else - ACE_OS::sprintf (full_name, - "AMI_%s_Handler", - node->local_name ()->get_string ()); - - // First generate the code for the static methods. - - // The _narrow method - *os << full_name << "_ptr " << full_name - << "::_narrow (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj," << be_nl - << "CORBA::Environment &env" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "if (CORBA::is_nil (obj))" << be_idt_nl - << "return " << full_name << "::_nil ();" << be_uidt_nl - << "if (!obj->_is_a (\"" - << node->compute_repoID ("AMI_", "_Handler") << "\", env))" - << be_idt_nl - << "return " << full_name << "::_nil ();" << be_uidt_nl; - - *os << "return " << full_name - << "::_unchecked_narrow (obj, env);" << be_uidt_nl - << "}" << be_nl << be_nl; - - // This may be necessary to work around a GCC compiler bug! - // const char *skel_name = node->full_skel_name (); // unused at this time - - // @@ Michael: We need to check this value being passed. I am - // passing 1 right now. (Alex). - const char *coll_name = node->full_coll_name (1); - assert (coll_name != 0); - - // The _unchecked_narrow method - *os << full_name << "_ptr " << full_name - << "::_unchecked_narrow (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj," << be_nl - << "CORBA::Environment &ACE_TRY_ENV" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "ACE_UNUSED_ARG (ACE_TRY_ENV);" << be_nl - << "if (CORBA::is_nil (obj))" << be_idt_nl - << "return " << full_name << "::_nil ();" << be_uidt_nl; - - *os << "TAO_Stub* stub = obj->_stubobj ();" << be_nl - << "stub->_incr_refcnt ();" << be_nl; - *os << "void* servant = 0;" << be_nl; - *os << "if (obj->_is_collocated () " - << "&& obj->_servant() != 0)" << be_idt_nl - << "servant = obj->_servant()->_downcast (\"" - << "IDL:omg.org/CORBA/Object:1.0\");" << be_uidt_nl; - - *os << "if (servant != 0)" << be_idt_nl << "{" << be_idt_nl - // The collocated object reference factory is not working right (yet) - << full_name << "_ptr retv = ACE_reinterpret_cast (" << be_idt << be_idt_nl - << full_name << "_ptr," << be_nl - << "ACE_reinterpret_cast (" << be_idt << be_idt_nl - << "PortableServer::Servant," << be_nl - << "servant" << be_uidt_nl - << ")" << be_uidt_nl - << "->_create_collocated_objref (" << be_idt << be_idt_nl - << "\"" << node->compute_repoID ("AMI_", "_Handler") << "\"," << be_nl - << "TAO_ORB_Core::ORB_CONTROL," << be_nl - << "stub" << be_uidt_nl - << ")" << be_uidt << be_uidt_nl - << ");" << be_uidt_nl - << "if (retv != 0)" << be_idt_nl - << "return retv;" << be_uidt - // So we are still using the old way to create collocated objref. - << be_uidt_nl - << "}" << be_uidt_nl; - - *os << "return new " << full_name << "(stub);" << be_uidt_nl - << "}" << be_nl << be_nl; - - // The _duplicate method - *os << full_name << "_ptr " << be_nl - << full_name << "::_duplicate (" - << full_name << "_ptr obj)" << be_nl - << "{" << be_idt_nl - << "if (!CORBA::is_nil (obj))" << be_idt_nl - << "obj->_incr_refcnt ();" << be_uidt_nl - << "return obj;" << be_uidt_nl - << "}" << be_nl << be_nl; - - // Generate code for the elements of the interface. - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ami_handler_stub_cs::" - "visit_interface - " - "codegen for scope failed\n"), -1); - } - - // generate the is_a method - os->indent (); - *os << "CORBA::Boolean " << full_name << "::_is_a (" << - "const CORBA::Char *value, CORBA::Environment &env)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "if (\n"; - os->incr_indent (0); - - // We know what to generate. We dont have to call traverse graph. - - // Current interface. - *os << "(!ACE_OS::strcmp ((char *)value, " - << "\"" - << node->compute_repoID ("AMI_", "_Handler") - << "\"" - << ")) ||" - << be_nl; - - // Reply Handler. - *os << "(!ACE_OS::strcmp ((char *)value, " - << "\"" - << "IDL:omg.org/Messaging/ReplyHandler:1.0" - << "\"" - << ")) ||" - << be_nl; - - os->indent (); - - *os << "(!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (env))))\n"; - *os << " return 1; // success using local knowledge\n"; - os->decr_indent (); - *os << "else" << be_nl; - *os << " return this->CORBA_Object::_is_a (value, env);\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - - *os << "const char* " << full_name - << "::_interface_repository_id (void) const" - << be_nl - << "{" << be_idt_nl - << "return \"" << node->compute_repoID ("AMI_", "_Handler") << "\";" << be_uidt_nl - << "}\n\n"; - - // By using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO. - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN); - ctx.sub_state (TAO_CodeGen::TAO_AMI_HANDLER_TC_DEFN_TYPECODE); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ami_handler_stub_cs::" - "visit_interface - " - "TypeCode definition failed\n"), - -1); - } - - delete full_name; - full_name = 0; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp deleted file mode 100644 index 4b5a6781d61..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/any_op_ch.cpp +++ /dev/null @@ -1,82 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operators for an Interface in the client -// header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, any_op_ch, "$Id$") - - -// *************************************************************************** -// Interface visitor for generating Any operator declarations in the client header -// *************************************************************************** - -be_visitor_interface_any_op_ch::be_visitor_interface_any_op_ch -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_any_op_ch::~be_visitor_interface_any_op_ch (void) -{ -} - -int -be_visitor_interface_any_op_ch::visit_interface (be_interface *node) -{ - if (node->cli_hdr_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - os->indent (); - - // Generate the stub factory function pointer declaration - *os << "extern " << node->name () << "_ptr (*_TAO_collocation_" - << node->flatname () << "_Stub_Factory_function_pointer) (" - << be_idt << be_idt_nl - << "CORBA::Object_ptr obj" << be_uidt_nl - << ");" << be_uidt_nl; - - // generate the Any <<= and >>= operator declarations - os->indent (); - *os << "// Any operators for interface " << node->name () << be_nl; - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, " << node->name () - << "_ptr);" << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>>= (const CORBA::Any &, " - << node->name () << " *&);\n"; - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::visit_interface - " - "codegen for scope failed\n"), -1); - } - - node->cli_hdr_any_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/any_op_cs.cpp deleted file mode 100644 index f3c758081c7..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/any_op_cs.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// -// $id: any_op_cs.cpp,v 1.12 1998/10/30 19:46:55 levine Exp $ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operators for Interface in the stubs -// file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, any_op_cs, "$Id$") - - -// *************************************************************************** -// Interface visitor for generating Any operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_interface_any_op_cs::be_visitor_interface_any_op_cs -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_any_op_cs::~be_visitor_interface_any_op_cs (void) -{ -} - -int -be_visitor_interface_any_op_cs::visit_interface (be_interface *node) -{ - if (node->cli_stub_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - os->indent (); - // Generate the stub factory function pointer definition. - *os << node->name () << "_ptr (*"; - - *os << "_TAO_collocation_" - << node->flatname () << "_Stub_Factory_function_pointer) (" - << be_idt << be_idt_nl - << "CORBA::Object_ptr obj" << be_uidt_nl - << ") = 0;" << be_uidt_nl; - - - // generate the Any <<= and >>= operator declarations - // Any <<= and >>= operators - os->indent (); - *os << "void operator<<= (CORBA::Any &_tao_any, " - << node->name () << "_ptr _tao_elem)" << be_nl - << "{" << be_idt_nl - << "CORBA::Object_ptr *_tao_obj_ptr = 0;" << be_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "ACE_NEW (_tao_obj_ptr, CORBA::Object_ptr);" << be_nl - << "*_tao_obj_ptr = " << node->name () - << "::_duplicate (_tao_elem);" << be_nl - << "_tao_any.replace (" << node->tc_name () << ", " - << "_tao_obj_ptr, 1, ACE_TRY_ENV);" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "delete _tao_obj_ptr;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n" << be_nl; - - *os << "CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, " - << node->name () << "_ptr &_tao_elem)" << be_nl - << "{" << be_idt_nl - << "CORBA::Object_ptr *tmp = 0;" << be_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "_tao_elem = " << node->name () << "::_nil ();" << be_nl - << "CORBA::TypeCode_var type = _tao_any.type ();" << be_nl - << "if (!type->equal (" << node->tc_name () - << ", ACE_TRY_ENV)) return 0; // not equal" << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "TAO_InputCDR stream (_tao_any._tao_get_cdr ());" - << be_nl - << "CORBA::Object_var _tao_obj_var;" << be_nl - << "ACE_NEW_RETURN (tmp, CORBA::Object_ptr, 0);" << be_nl - << "if (stream.decode (" << node->tc_name () - << ", &_tao_obj_var.out (), 0, ACE_TRY_ENV)" << be_nl - << " == CORBA::TypeCode::TRAVERSE_CONTINUE)" << be_nl - << "{" << be_idt_nl - << "_tao_elem = " << node->name () - << "::_narrow (_tao_obj_var.in (), ACE_TRY_ENV);" << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "*tmp = (CORBA::Object_ptr) _tao_elem; // any owns the object" - << be_nl - << "((CORBA::Any *)&_tao_any)->replace (" - << node->tc_name () << ", tmp, 1, ACE_TRY_ENV);" << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "// failure" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "delete tmp;" << be_nl - << "return 0;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_nl - << "return 0;" << be_uidt_nl - << "}\n\n"; - - *os << "#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)" << be_idt_nl - << "template class TAO_Object_Field_T<" - << node->name () << "," - << node->name () << "_var>;" << be_uidt_nl - << "template class TAO_Object_Manager<" - << node->name () << "," - << node->name () << "_var>;" << be_uidt_nl - << "#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)" << be_nl - << "# pragma instantiate TAO_Object_Field_T<" - << node->name () << "," - << node->name () << "_var>" << be_uidt_nl - << "# pragma instantiate TAO_Object_Manager<" - << node->name () << "," - << node->name () << "_var>" << be_uidt_nl - << "#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */\n\n"; - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::visit_interface - " - "codegen for scope failed\n"), -1); - } - - node->cli_stub_any_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ch.cpp deleted file mode 100644 index 0874e4517d1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ch.cpp +++ /dev/null @@ -1,77 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for interfaces. This uses -// compiled marshaling. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, cdr_op_ch, "$Id$") - -// *************************************************************************** -// Interface visitor for generating CDR operator declarations in the client header -// *************************************************************************** - -be_visitor_interface_cdr_op_ch::be_visitor_interface_cdr_op_ch -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_cdr_op_ch::~be_visitor_interface_cdr_op_ch (void) -{ -} - -int -be_visitor_interface_cdr_op_ch::visit_interface (be_interface *node) -{ - if (node->cli_hdr_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator declarations - os->indent (); - *os << "CORBA::Boolean " << idl_global->export_macro () << be_nl - << "operator<< (TAO_OutputCDR &, const " << node->name () - << "_ptr );" << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () << be_nl - << "operator>> (TAO_InputCDR &, " - << node->name () << "_ptr &);\n"; - - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cdr_op_ch::" - "visit_interface - " - "codegen for scope failed\n"), -1); - } - - - node->cli_hdr_cdr_op_gen (1); - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ci.cpp deleted file mode 100644 index eca259e8df1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/cdr_op_ci.cpp +++ /dev/null @@ -1,144 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for interfaces -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, cdr_op_ci, "$Id$") - -// *************************************************************************** -// Interface visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_interface_cdr_op_ci::be_visitor_interface_cdr_op_ci -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_cdr_op_ci::~be_visitor_interface_cdr_op_ci (void) -{ -} - -int -be_visitor_interface_cdr_op_ci::visit_interface (be_interface *node) -{ - // already generated and/or we are imported. Don't do anything. - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // First generate code for our children. The reason we do this first is - // because the inlined code for our children must be available before we use - // it in our parent, but we must forward declare the parent - // operators, so code like this: - // - // // IDL - // interface Foo { - // exception Bar {Foo foo_member; }; - // }; - // - // can work properly (the Foo::Bar operators need the Foo operators - // defined). - // - - // generate the CDR << and >> operator declarations - os->indent (); - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator<< (" << be_idt << be_idt_nl - << "TAO_OutputCDR &," << be_nl - << "const " << node->name () << "_ptr" << be_uidt_nl - << ");" << be_uidt_nl; - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator>> (" << be_idt << be_idt_nl - << "TAO_InputCDR &," << be_nl - << node->name () << "_ptr &" << be_uidt_nl - << ");" << be_uidt << "\n\n"; - - // Now it really the type to generate the operators for the members - // of the interface... - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cdr_op_ci" - "::visit_interface - " - "codegen for scope failed\n"), -1); - } - - // set the sub state as generating code for the output operator - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_OUTPUT); - // @@ TODO don't use the IIOP interpreter here, we should use << and - // >> operators, or even the operator for the base CORBA::Object!! - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator<< (" << be_idt << be_idt_nl - << "TAO_OutputCDR &strm," << be_nl - << "const " << node->name () << "_ptr _tao_objref" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - *os << "CORBA::Object_ptr _tao_corba_obj = _tao_objref;" << be_nl; - *os << "return (strm << _tao_corba_obj);" << be_uidt_nl - << "}\n\n"; - - // set the substate as generating code for the input operator - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_INPUT); - // @@ TODO don't use the IIOP interpreter here, we should use << and - // >> operators, or even the operator for the base CORBA::Object!! - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator>> (" << be_idt << be_idt_nl - << "TAO_InputCDR &strm," << be_nl - << node->name () << "_ptr &_tao_objref" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - // hand over to the TAO's internal marshaling engine - // *os << "CORBA::Environment env;" << be_nl; - *os << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl; - *os << "CORBA::Object_var obj;" << be_nl; - *os << "if ((strm >> obj.inout ()) == 0)" << be_idt_nl - << "return 0;" << be_uidt_nl - << "// narrow to the right type" << be_nl; - *os << "_tao_objref =" << be_idt_nl - << node->name () << "::_narrow (" << be_idt << be_idt_nl - << "obj.in ()," << be_nl - << "ACE_TRY_ENV" << be_uidt_nl - << ");" << be_uidt << be_uidt_nl; - *os << "ACE_TRY_CHECK;" << be_nl; - *os << "return 1;" << be_uidt_nl; - *os << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "// do nothing" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_nl - << "return 0;" << be_uidt_nl; - *os << "}\n\n"; - - node->cli_inline_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp deleted file mode 100644 index 35e4c18f006..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/cdr_op_cs.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for interfaces -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, cdr_op_cs, "$Id$") - -be_visitor_interface_cdr_op_cs::be_visitor_interface_cdr_op_cs -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_cdr_op_cs::~be_visitor_interface_cdr_op_cs (void) -{ -} - -int -be_visitor_interface_cdr_op_cs::visit_interface (be_interface *node) -{ - if (node->cli_stub_cdr_op_gen () || node->imported ()) - return 0; - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cdr_op_cs::" - "visit_interface - " - "codegen for scope failed\n"), -1); - } - - node->cli_stub_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/collocated_ami_handler_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/collocated_ami_handler_ch.cpp deleted file mode 100644 index 9f30a1799c1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/collocated_ami_handler_ch.cpp +++ /dev/null @@ -1,174 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// collocated_ami_handler_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for collocated classes for the Interface node -// inside the server header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, collocated_ami_handler_ch, "$Id$") - - -// ************************************************************ -// collocated class in header -// ************************************************************ - -be_visitor_interface_collocated_ami_handler_ch::be_visitor_interface_collocated_ami_handler_ch -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_collocated_ami_handler_ch::~be_visitor_interface_collocated_ami_handler_ch (void) -{ -} - -int -be_visitor_interface_collocated_ami_handler_ch::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // Generate AMI_...name..._Handler string. - char *ifdef_string = 0; - ACE_NEW_RETURN (ifdef_string, - char [ACE_OS::strlen ("AMI_") + - ACE_OS::strlen (node->flatname ()) + - ACE_OS::strlen ("_Handler") + - // end of string - 1], - 0); - ACE_OS::sprintf (ifdef_string, - "AMI_%s_Handler", - node->flatname ()); - - os->gen_ifdef_macro (ifdef_string, "_collocated"); - - // Prepare the local name for the class. - char *local_name = 0; - ACE_NEW_RETURN (local_name, - char [ACE_OS::strlen ("AMI_") + - ACE_OS::strlen (node->local_name ()->get_string ()) + - ACE_OS::strlen ("_Handler") + - // end of string - 1], - 0); - ACE_OS::sprintf (local_name, - "AMI_%s_Handler", - node->local_name ()->get_string ()); - - // Get the coll names. - char *coll_local_name, *coll_full_name; - node->compute_coll_names (local_name, coll_local_name, coll_full_name); - - // Output the class defn. - os->indent (); - *os << "class " << idl_global->export_macro () - << " " << coll_local_name; - os->incr_indent (); - *os << " : public virtual " << local_name; - - *os << "\n"; - os->decr_indent (); - *os << "{" << be_nl; - *os << "public:\n"; - os->incr_indent (); - - *os << coll_local_name << " (\n"; - - os->incr_indent (0); - os->incr_indent (); - - // XXXASG - can we make this a method to return the right name ?? - if (!node->is_nested ()) - { - // The skeleton name is the outermost, we need to printout the - // POA_ prefix that goes with it. - *os << "POA_"; - } - - *os << local_name << "_ptr " - << " servant," << be_nl; - - *os << "TAO_Stub *stub\n"; - os->decr_indent (); - *os << ");\n"; - os->decr_indent (0); - - os->indent (); - - // _is_a method. - *os << "virtual CORBA::Boolean _is_a" << be_idt - << "(" << be_idt_nl - << "const CORBA::Char *logical_type_id," << be_nl - << "CORBA_Environment &TAO_IN_ENV = TAO_default_environment ()" << be_uidt_nl - << ");" << be_uidt_nl << be_nl; - - // _get_servant method. - - if (!node->is_nested ()) - { - // The skeleton name is the outermost, we need to printout the - // POA_ prefix that goes with it. - *os << "POA_"; - } - - *os << local_name - << "_ptr _get_servant (void) const;" << be_nl << be_nl; - - // _non_existent method. - *os << "virtual CORBA::Boolean _non_existent" << be_idt - << "(" << be_idt_nl - << "CORBA_Environment &TAO_IN_ENV = TAO_default_environment ()" << be_uidt_nl - << ");" << be_uidt_nl << be_nl; - - // Visit the scope to generate all the AMI call back hood methods. - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_collocated_ami_handler_ch::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - - os->decr_indent (); - - *os << be_nl << "private:\n"; - os->incr_indent (); - if (!node->is_nested ()) - { - // The skeleton name is the outermost, we need to printout the - // POA_ prefix that goes with it. - *os << "POA_"; - } - *os << local_name << "_ptr servant_;\n"; - os->decr_indent (); - *os << "};\n\n"; - - os->gen_endif (); - - delete ifdef_string; - delete local_name; - delete coll_local_name; - delete coll_full_name; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/direct_collocated_sh.cpp b/TAO/TAO_IDL/be/be_visitor_interface/direct_collocated_sh.cpp deleted file mode 100644 index 277da8eece2..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/direct_collocated_sh.cpp +++ /dev/null @@ -1,147 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// direct_collocated_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for direct_collocated classes for the Interface node -// inside the server header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, direct_collocated_sh, "$Id$") - - -// ************************************************************ -// direct_collocated class in header -// ************************************************************ - -be_visitor_interface_direct_collocated_sh::be_visitor_interface_direct_collocated_sh -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_direct_collocated_sh::~be_visitor_interface_direct_collocated_sh (void) -{ -} - -int be_visitor_interface_direct_collocated_sh::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - os->gen_ifdef_macro (node->flatname (), "_direct_collocated"); - - // output the class defn - os->indent (); - *os << "class " << idl_global->export_macro () - << " " << node->local_coll_name (be_interface::DIRECT); - os->incr_indent (); - *os << " : public virtual " << node->name (); - - // generate base classes if any - if (node->n_inherits () > 0) - { - for (int i = 0; i < node->n_inherits (); ++i) - { - *os << "," << be_nl; - be_interface* parent = - be_interface::narrow_from_decl (node->inherits()[i]); - *os << " public virtual " - << be_interface::relative_name (parent->full_coll_name (be_interface::DIRECT), - node->full_coll_name (be_interface::DIRECT)); - } - } - *os << "\n"; - os->decr_indent (); - *os << "{" << be_nl; - *os << "public:\n"; - os->incr_indent (); - - *os << node->local_coll_name (be_interface::DIRECT) << " (\n"; - - os->incr_indent (0); - os->incr_indent (); - - // XXXASG - can we make this a method to return the right name ?? - if (!node->is_nested ()) - { - // The skeleton name is the outermost, we need to printout the - // POA_ prefix that goes with it. - *os << "POA_"; - } - - *os << node->local_name () << "_ptr " - << " servant," << be_nl; - - *os << "TAO_Stub *stub\n"; - os->decr_indent (); - *os << ");\n"; - os->decr_indent (0); - - os->indent (); - - *os << "virtual CORBA::Boolean _is_a" << be_idt - << "(" << be_idt_nl - << "const CORBA::Char *logical_type_id," << be_nl - << "CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()" << be_uidt_nl - << ");" << be_uidt_nl << be_nl; - - if (!node->is_nested ()) - { - // The skeleton name is the outermost, we need to printout the - // POA_ prefix that goes with it. - *os << "POA_"; - } - - *os << node->local_name () - << "_ptr _get_servant (void) const;" << be_nl << be_nl; - - *os << "virtual CORBA::Boolean _non_existent" << be_idt - << "(" << be_idt_nl - << "CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()" << be_uidt_nl - << ");" << be_uidt_nl << be_nl; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_direct_collocated_sh::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - - os->decr_indent (); - - *os << be_nl << "private:\n"; - os->incr_indent (); - if (!node->is_nested ()) - { - // The skeleton name is the outermost, we need to printout the - // POA_ prefix that goes with it. - *os << "POA_"; - } - *os << node->local_name () << "_ptr servant_;\n"; - os->decr_indent (); - *os << "};\n\n"; - - os->gen_endif (); - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/direct_collocated_ss.cpp b/TAO/TAO_IDL/be/be_visitor_interface/direct_collocated_ss.cpp deleted file mode 100644 index 46e690ae815..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/direct_collocated_ss.cpp +++ /dev/null @@ -1,173 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// direct_collocated_ss.cpp -// -// = DESCRIPTION -// Visitor generating code for direct_collocated classes for an Interface in the -// server skeleton file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, direct_collocated_ss, "$Id$") - - -// ************************************************************ -// be_visitor_interface_collacted_ss -// ************************************************************ - -be_visitor_interface_direct_collocated_ss::be_visitor_interface_direct_collocated_ss -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_direct_collocated_ss::~be_visitor_interface_direct_collocated_ss (void) -{ -} - -int be_visitor_interface_direct_collocated_ss::visit_interface (be_interface *node) -{ - TAO_OutStream *os = tao_cg->server_skeletons (); - - this->ctx_->node (node); - - *os << node->full_coll_name (be_interface::DIRECT) << "::" - << node->local_coll_name (be_interface::DIRECT) << " (\n"; - - os->incr_indent (0); - os->incr_indent (); - *os << node->full_skel_name () << "_ptr " - << " servant," << be_nl; - - *os << "TAO_Stub *stub\n"; - os->decr_indent (); - *os << ")\n"; - os->decr_indent (0); - - os->incr_indent (); - - if (node->is_nested ()) - { - be_decl* scope = - be_scope::narrow_from_scope (node->defined_in ())->decl (); - - *os << ": ACE_NESTED_CLASS (" - << scope->name () << "," - << node->local_name () - << ") ()," << be_nl; - } - else - { - *os << ": " << node->name () - << " ()," << be_nl; - } - - // @@ We should call the constructor for all base classes, since we - // are using multiple inheritance. - - if (node->traverse_inheritance_graph (be_visitor_interface_direct_collocated_ss::collocated_ctor_helper, os) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_direct_collocated_ss::" - "visit_interface - " - "codegen for base class ctor init failed\n"), - -1); - } - - *os << " CORBA_Object (stub, servant, 1)," << be_nl - << " servant_ (servant)"; - - *os << "\n"; - os->decr_indent (); - *os << "{\n"; - *os << "}\n\n"; - - os->indent (); - - // Generate _is_a implementation. - *os << "CORBA::Boolean " << node->full_coll_name (be_interface::DIRECT) << "::" - << "_is_a" << be_idt - << "(" << be_idt_nl - << "const CORBA::Char *logical_type_id," << be_nl - << "CORBA_Environment &ACE_TRY_ENV" << be_uidt_nl - << ")" << be_uidt_nl << be_nl; - *os << "{" << be_idt_nl - << "return this->servant_->_is_a (logical_type_id, ACE_TRY_ENV);" << be_uidt_nl - << "}\n\n" << be_uidt_nl; - - // Generate _get_servant implementation. - *os << node->full_skel_name () << "_ptr " - << node->full_coll_name (be_interface::DIRECT) << "::" - << "_get_servant (void) const\n" - << "{\n"; - os->incr_indent (); - *os << "return this->servant_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - - // Generate _non_existent implementation. - *os << "CORBA::Boolean " << node->full_coll_name (be_interface::DIRECT) << "::" - << "_non_existent" << be_idt - << "(" << be_idt_nl - << "CORBA_Environment &ACE_TRY_ENV" << be_uidt_nl - << ")" << be_uidt_nl << be_nl; - *os << "{" << be_idt_nl - << "return this->servant_->_non_existent (ACE_TRY_ENV);" << be_uidt_nl - << "}\n\n" << be_uidt_nl; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_direct_collocated_ss::" - "visit_scope - " - "codegen for scope failed\n"), - -1); - } - - return 0; -} - -int -be_visitor_interface_direct_collocated_ss::collocated_ctor_helper (be_interface *derived, - be_interface *base, - TAO_OutStream *os) -{ - if (derived == base) - // we are the same. Don't do anything, otherwise we will end up calling - // ourself - return 0; - - if (base->is_nested ()) - { - be_decl *scope; - scope = be_scope::narrow_from_scope (base->defined_in ())->decl (); - *os << " ACE_NESTED_CLASS (POA_" << scope->name () << "," - << base->local_coll_name (be_interface::DIRECT) << ") (servant, stub)," << be_nl; - } - else - { - *os << " " << base->full_coll_name (be_interface::DIRECT) << " (servant, stub)," << be_nl; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface.cpp deleted file mode 100644 index b9b7d3ba804..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface.cpp +++ /dev/null @@ -1,793 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface.cpp -// -// = DESCRIPTION -// Visitor generating code for Interfaces. This is a generic visitor. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, interface, "$Id$") - - -// ****************************************************** -// Generic Interface visitor -// ****************************************************** - -be_visitor_interface::be_visitor_interface (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_interface::~be_visitor_interface (void) -{ -} - -// this method must be overridden by the derived interface visitors -int -be_visitor_interface::visit_interface (be_interface *) -{ - return -1; -} - -// =all common visit methods for interface visitor - -// visit an attribute -int -be_visitor_interface::visit_attribute (be_attribute *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_INTERFACE_CH: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CS: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_SH: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_SH); - break; - case TAO_CodeGen::TAO_INTERFACE_IH: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_IH); - break; - case TAO_CodeGen::TAO_INTERFACE_SS: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_SS); - break; - case TAO_CodeGen::TAO_INTERFACE_IS: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_IS); - break; - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_THRU_POA_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_DIRECT_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_THRU_POA_COLLOCATED_SS); - break; - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_DIRECT_COLLOCATED_SS); - break; - case TAO_CodeGen::TAO_INTERFACE_TIE_SH: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_TIE_SH); - break; - case TAO_CodeGen::TAO_INTERFACE_TIE_SI: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_TIE_SI); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH: - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS: - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH: - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI: - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS: - case TAO_CodeGen::TAO_INTERFACE_CI: - case TAO_CodeGen::TAO_INTERFACE_SI: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_attribute - " - "Bad context state\n"), - -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_attribute - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_attribute - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit a constant -int -be_visitor_interface::visit_constant (be_constant *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_INTERFACE_CH: - ctx.state (TAO_CodeGen::TAO_CONSTANT_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CS: - ctx.state (TAO_CodeGen::TAO_CONSTANT_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH: - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS: - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH: - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI: - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_CI: - case TAO_CodeGen::TAO_INTERFACE_SH: - case TAO_CodeGen::TAO_INTERFACE_IH: - case TAO_CodeGen::TAO_INTERFACE_IS: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_TIE_SH: - case TAO_CodeGen::TAO_INTERFACE_TIE_SI: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_constant - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_constant - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_constant - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -//visit an enum -int -be_visitor_interface::visit_enum (be_enum *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_INTERFACE_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_CI: - case TAO_CodeGen::TAO_INTERFACE_SH: - case TAO_CodeGen::TAO_INTERFACE_IH: - case TAO_CodeGen::TAO_INTERFACE_IS: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_TIE_SH: - case TAO_CodeGen::TAO_INTERFACE_TIE_SI: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_enum - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_enum - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_enum - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an exception -int -be_visitor_interface::visit_exception (be_exception *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_INTERFACE_CH: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CI: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CI); - break; - case TAO_CodeGen::TAO_INTERFACE_CS: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_SH: - case TAO_CodeGen::TAO_INTERFACE_IH: - case TAO_CodeGen::TAO_INTERFACE_IS: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_TIE_SH: - case TAO_CodeGen::TAO_INTERFACE_TIE_SI: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_exception - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_exception - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_exception - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an operation -int -be_visitor_interface::visit_operation (be_operation *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified ased on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_INTERFACE_CH: - ctx.state (TAO_CodeGen::TAO_OPERATION_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CS: - ctx.state (TAO_CodeGen::TAO_OPERATION_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_SH); - break; - case TAO_CodeGen::TAO_INTERFACE_IH: - ctx.state (TAO_CodeGen::TAO_OPERATION_IH); - break; - case TAO_CodeGen::TAO_INTERFACE_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_SS); - break; - case TAO_CodeGen::TAO_INTERFACE_IS: - ctx.state (TAO_CodeGen::TAO_OPERATION_IS); - break; - case TAO_CodeGen::TAO_INTERFACE_TIE_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_TIE_SH); - break; - case TAO_CodeGen::TAO_INTERFACE_TIE_SI: - ctx.state (TAO_CodeGen::TAO_OPERATION_TIE_SI); - break; - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_THRU_POA_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_THRU_POA_COLLOCATED_SS); - break; - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_DIRECT_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_DIRECT_COLLOCATED_SS); - break; - - case TAO_CodeGen::TAO_AMI_HANDLER_SERVANT_CH: - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_SERVANT_OPERATION_CH); - break; - - case TAO_CodeGen::TAO_AMI_HANDLER_STUB_CH: - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_STUB_OPERATION_CH); - break; - - case TAO_CodeGen::TAO_AMI_HANDLER_STUB_CS: - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_STUB_OPERATION_CS); - break; - - case TAO_CodeGen::TAO_COLLOCATED_AMI_HANDLER_CH: - ctx.state (TAO_CodeGen::TAO_COLLOCATED_AMI_HANDLER_OPERATION_CH); - break; - - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH: - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS: - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH: - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI: - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS: - case TAO_CodeGen::TAO_INTERFACE_CI: - case TAO_CodeGen::TAO_INTERFACE_SI: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_operation - " - "Bad context state\n"), - -1); - } - } - - // grab the appropriate visitor - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_operation - " - "NUL visitor\n" - ), -1); - } - - // visit the node using this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_operation - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - - // - // AMI Call back code generation. - // - - // Return if AMI call back is not enabled. - if (idl_global->ami_call_back () != I_TRUE) - { - return 0; - } - - // Generate AMI method, for this operation, if you are - // doing client header. - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_INTERFACE_CH: - ctx.state (TAO_CodeGen::TAO_OPERATION_AMI_CH); - break; - - case TAO_CodeGen::TAO_INTERFACE_CS: - ctx.state (TAO_CodeGen::TAO_OPERATION_AMI_CS); - break; - - default: - // We dont have to do anything for the other cases. - return 0; - } - - // Grab the appropriate visitor. - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_operation - " - "NUL visitor\n"), - -1); - } - - // Visit the node using this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_operation - " - "failed to accept visitor\n"), - -1); - } - delete visitor; - - return 0; -} - -// Visit an structure. -int -be_visitor_interface::visit_structure (be_structure *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_INTERFACE_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CI); - break; - case TAO_CodeGen::TAO_INTERFACE_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_SH: - case TAO_CodeGen::TAO_INTERFACE_IH: - case TAO_CodeGen::TAO_INTERFACE_IS: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_TIE_SH: - case TAO_CodeGen::TAO_INTERFACE_TIE_SI: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_structure - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_structure - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_structure - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit a union -int -be_visitor_interface::visit_union (be_union *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_INTERFACE_CH: - ctx.state (TAO_CodeGen::TAO_UNION_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CI: - ctx.state (TAO_CodeGen::TAO_UNION_CI); - break; - case TAO_CodeGen::TAO_INTERFACE_CS: - ctx.state (TAO_CodeGen::TAO_UNION_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_SH: - case TAO_CodeGen::TAO_INTERFACE_IH: - case TAO_CodeGen::TAO_INTERFACE_IS: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_TIE_SH: - case TAO_CodeGen::TAO_INTERFACE_TIE_SI: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_union - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_union - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_union - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit a typedef -int -be_visitor_interface::visit_typedef (be_typedef *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_INTERFACE_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CI: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CI); - break; - case TAO_CodeGen::TAO_INTERFACE_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_INTERFACE_SH: - case TAO_CodeGen::TAO_INTERFACE_IH: - case TAO_CodeGen::TAO_INTERFACE_IS: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_TIE_SH: - case TAO_CodeGen::TAO_INTERFACE_TIE_SI: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_typedef - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_typedef - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp deleted file mode 100644 index 805b95c7bd8..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp +++ /dev/null @@ -1,348 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Interfaces in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, interface_ch, "$Id$") - - -// ****************************************************** -// Interface visitor for client header -// ****************************************************** - -be_visitor_interface_ch::be_visitor_interface_ch (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_ch::~be_visitor_interface_ch (void) -{ -} - -int -be_visitor_interface_ch::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - long i; // loop index - - if (!node->cli_hdr_gen () && !node->imported ()) // not already generated and - // not imported - { - // Generate the AMI Reply Handler's forward declaration code, if - // the option is enabled, for this interface. - - if (idl_global->ami_call_back () == I_TRUE) - { - // Set the context. - be_visitor_context ctx (*this->ctx_); - - // Set the state. - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_FWD_CH); - - // Create the visitor. - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "Bad visitor\n"), - -1); - } - - // call the visitor on this interface. - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "code gen for ami handler fwd failed\n"), - -1); - } - delete visitor; - } - - // Grab the stream. - os = this->ctx_->stream (); - - // == STEP 1: generate the class name and class names we inherit == - - // generate the ifdefined macro for the _ptr type - os->gen_ifdef_macro (node->flatname (), "_ptr"); - - - // the following two are required to be under the ifdef macro to avoid - // multiple declarations - - os->indent (); // start with whatever indentation level we are at - // forward declaration - *os << "class " << node->local_name () << ";" << be_nl; - // generate the _ptr declaration - *os << "typedef " << node->local_name () << " *" << node->local_name () - << "_ptr;" << be_nl; - - os->gen_endif (); - - // generate the ifdefined macro for the var type - os->gen_ifdef_macro (node->flatname (), "_var"); - - // generate the _var declaration - if (node->gen_var_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "codegen for _var failed\n"), -1); - } - os->gen_endif (); - - // generate the ifdef macro for the _out class - os->gen_ifdef_macro (node->flatname (), "_out"); - - // generate the _out declaration - ORBOS/97-05-15 pg 16-20 spec - if (node->gen_out_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "codegen for _out failed\n"), -1); - } - // generate the endif macro - os->gen_endif (); - - // now the interface definition itself - os->gen_ifdef_macro (node->flatname ()); - - // now generate the class definition - *os << "class " << idl_global->export_macro () - << " " << node->local_name (); - - if (node->n_inherits () > 0) // node interface inherits from other - // interfaces - { - *os << ": "; - for (i = 0; i < node->n_inherits (); i++) - { - be_interface *inherited = - be_interface::narrow_from_decl (node->inherits ()[i]); - be_decl *scope = 0; - if (inherited->is_nested ()) - { - // inherited node is used in the scope of "node" node - scope = be_scope::narrow_from_scope (node->defined_in ()) - ->decl (); - } - - *os << "public virtual "; - *os << inherited->nested_type_name (scope); // dump the scoped name - if (i < node->n_inherits () - 1) // node is the case of multiple - // inheritance, so put a comma - { - *os << ", "; - } - } // end of for loop - *os << be_nl; - } - else - { - // we do not inherit from anybody, hence we do so from the base - // CORBA::Object class - // Generate code that uses the macro. This is required to deal with - // the MSVC++ insanity - *os << " : public virtual ACE_CORBA_1 (Object)" << be_nl; - } - - // generate the body - - *os << "{" << be_nl - << "public:" << be_nl - - // generate the _ptr_type and _var_type typedefs - // but we must protect against certain versions of g++ - << "#if !defined(__GNUC__) || __GNUC__ > 2 || __GNUC_MINOR__ >= 8" - << be_idt_nl - << "typedef " << node->local_name () << "_ptr _ptr_type;" << be_nl - << "typedef " << node->local_name () << "_var _var_type;" << be_uidt_nl - << "#endif /* __GNUC__ */\n" << be_idt_nl - - // generate the static _duplicate, _narrow, and _nil operations - << "// the static operations" << be_nl - << "static " << node->local_name () << "_ptr " << "_duplicate (" - << node->local_name () << "_ptr obj);" << be_nl - << "static " << node->local_name () << "_ptr " - << "_narrow (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj," << be_nl - << "CORBA::Environment &env = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt_nl - << "static " << node->local_name () << "_ptr " - << "_unchecked_narrow (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj," << be_nl - << "CORBA::Environment &env = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt_nl; - // This method is defined in the header file to workaround old - // g++ problems - *os << "static " << node->local_name () << "_ptr _nil (void)" - << be_idt_nl << "{" << be_idt_nl - << "return (" << node->name () << "_ptr)0;" << be_uidt_nl - << "}" << be_uidt << "\n\n"; - - - // generate code for the interface definition by traversing thru the - // elements of its scope. We depend on the front-end to have made sure - // that only legal syntactic elements appear in our scope. - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "codegen for scope failed\n"), -1); - } - // the _is_a method - os->indent (); - *os << "virtual CORBA::Boolean _is_a (" << be_idt << be_idt_nl - << "const CORBA::Char *type_id, " << be_nl - << "CORBA::Environment &env = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt_nl - << "virtual const char* " - << "_interface_repository_id (void) const;\n" << be_uidt_nl; - - // generate the "protected" constructor so that users cannot instantiate - // us - *os << "protected:" << be_idt_nl - << node->local_name () << " (void);" << be_nl - << node->local_name () - << " (TAO_Stub *objref, " << be_idt << be_idt_nl - << "TAO_ServantBase *_tao_servant = 0, " << be_nl - << "CORBA::Boolean _tao_collocated = 0" << be_uidt_nl - << ");" << be_uidt_nl - << "virtual ~" << node->local_name () << " (void);" << be_uidt_nl; - - // private copy constructor and assignment operator. These are not - // allowed, hence they are private. - *os << "private:\n"; - os->incr_indent (); - *os << node->local_name () << " (const " << node->local_name () << " &);" - << be_nl - << "void operator= (const " << node->local_name () << " &);\n"; - - os->decr_indent (); - *os << "};\n\n"; - os->gen_endif (); - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_TYPECODE_DECL); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "TypeCode declaration failed\n" - ), -1); - } - - // AMI - - // Generate code for the AMI Reply Handler. - - if (idl_global->ami_call_back () == I_TRUE) - { - // = Generate the default stub code for Handler. - - // Set the context. - be_visitor_context ctx (*this->ctx_); - - // Set the state. - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_STUB_CH); - - // Create the visitor. - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "Bad visitor\n"), - -1); - } - - // Call the visitor on this interface. - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "code gen for ami handler default stub failed\n"), - -1); - } - delete visitor; - - // = Generate the Servant Skeleton code. - - // Set the context. - ctx = *this->ctx_; - - // Set the state. - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_SERVANT_CH); - - // Create the visitor. - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "Bad visitor\n"), - -1); - } - - // call the visitor on this interface. - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "code gen for ami handler failed\n"), - -1); - } - delete visitor; - } - - node->cli_hdr_gen (I_TRUE); - } // if !cli_hdr_gen - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ci.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ci.cpp deleted file mode 100644 index c3f77bab5fc..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ci.cpp +++ /dev/null @@ -1,139 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Interfaces in the client inline file -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, interface_ci, "$Id$") - - -// ************************************************** -// Interface visitor for client inline -// ************************************************** -be_visitor_interface_ci::be_visitor_interface_ci (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_ci::~be_visitor_interface_ci (void) -{ -} - -int -be_visitor_interface_ci::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - - if (node->cli_inline_gen () || node->imported ()) - return 0; - - os = this->ctx_->stream (); - - os->indent (); // start from the current indentation level - - // generate the constructors and destructor - *os << "ACE_INLINE" << be_nl; - *os << node->name () << "::" << node->local_name () << - " (void) // default constructor" << be_nl; - *os << "{}" << be_nl << be_nl; - - *os << "ACE_INLINE" << be_nl; - *os << node->name () << "::" << node->local_name () << - " (TAO_Stub *objref, TAO_ServantBase *_tao_servant, " - << "CORBA::Boolean _tao_collocated) // constructor" << be_nl; - *os << " : CORBA_Object (objref, _tao_servant, _tao_collocated)" << be_nl; - *os << "{}" << be_nl << be_nl; - - *os << "ACE_INLINE" << be_nl; - *os << node->name () << "::~" << node->local_name () << - " (void) // destructor" << be_nl; - *os << "{}\n\n"; - - // generate the ifdefined macro for the _var type - os->gen_ifdef_macro (node->flatname (), "_var"); - if (node->gen_var_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ci::" - "visit_interface - " - "codegen for _var failed\n"), -1); - } - os->gen_endif (); - - // generate the ifdefined macro for the _out type - os->gen_ifdef_macro (node->flatname (), "_out"); - if (node->gen_out_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ci::" - "visit_interface - " - "codegen for _out failed\n"), -1); - } - os->gen_endif (); - - // Generate inline methods for elements of our scope - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ci::" - "visit_interface - " - "codegen for scope failed\n"), -1); - } - - // If AMI is enabled, generate all the inline stuff for the - // AMI__Handler interface. - - if (idl_global->ami_call_back () == I_TRUE) - { - // Set the context. - be_visitor_context ctx (*this->ctx_); - - // Set the state. - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_FWD_CI); - - // Create the visitor. - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ci::" - "visit_interface - " - "Bad visitor\n"), - -1); - } - - // Call the visitor on this interface. - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_ch::" - "visit_interface - " - "code gen for ami handler fwd failed\n"), - -1); - } - delete visitor; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp deleted file mode 100644 index ba5f7a2ba07..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp +++ /dev/null @@ -1,244 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Interfaces in the client stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, interface_cs, "$Id$") - - -// ************************************************************ -// Interface visitor for client stubs -// ************************************************************ - -be_visitor_interface_cs::be_visitor_interface_cs (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_cs::~be_visitor_interface_cs (void) -{ -} - -int -be_visitor_interface_cs::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - - if (node->cli_stub_gen () || node->imported ()) - return 0; - - os = this->ctx_->stream (); - - os->indent (); // start with whatever indentation level we are at - - // first generate the code for the static methods - - // The _narrow method - *os << node->name () << "_ptr " << node->name () - << "::_narrow (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj," << be_nl - << "CORBA::Environment &ACE_TRY_ENV" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "if (CORBA::is_nil (obj))" << be_idt_nl - << "return " << node->name () << "::_nil ();" << be_uidt_nl - << "CORBA::Boolean is_a = obj->_is_a (\"" - << node->repoID () << "\", ACE_TRY_ENV);" << be_nl - << "ACE_CHECK_RETURN (" << node->name () << "::_nil ());" << be_nl - << "if (is_a == 0)" << be_idt_nl - << "return " << node->name () << "::_nil ();" << be_uidt_nl; - - *os << "return " << node->name () - << "::_unchecked_narrow (obj, ACE_TRY_ENV);" << be_uidt_nl - << "}" << be_nl << be_nl; - - // This may be necessary to work around a GCC compiler bug! -// const char *skel_name = node->full_skel_name (); // unused at this time -// const char *coll_name = node->full_coll_name (); -// assert (coll_name != 0); - - // The _unchecked_narrow method - *os << node->name () << "_ptr " << node->name () - << "::_unchecked_narrow (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj," << be_nl - << "CORBA::Environment &" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "if (CORBA::is_nil (obj))" << be_idt_nl - << "return " << node->name () << "::_nil ();" << be_uidt_nl; - - *os << "TAO_Stub* stub = obj->_stubobj ();" << be_nl - << "stub->_incr_refcnt ();" << be_nl; - - *os << "if (obj->_is_collocated () && _TAO_collocation_" << node->flatname () - << "_Stub_Factory_function_pointer != 0)" << be_idt_nl - << "{" << be_idt_nl - << node->local_name () << "_ptr retv = _TAO_collocation_" - << node->flatname () - << "_Stub_Factory_function_pointer (obj);" << be_nl - << "if (retv != 0)" << be_idt_nl - << "return retv;" << be_uidt << be_uidt_nl - << "}" << be_uidt_nl; - - *os << "return new " << node->name () << "(stub);" << be_uidt_nl - << "}" << be_nl << be_nl; - - // The _duplicate method - *os << node->name () << "_ptr " << be_nl - << node->name () << "::_duplicate (" - << node->name () << "_ptr obj)" << be_nl - << "{" << be_idt_nl - << "if (!CORBA::is_nil (obj))" << be_idt_nl - << "obj->_incr_refcnt ();" << be_uidt_nl - << "return obj;" << be_uidt_nl - << "}" << be_nl << be_nl; - - // generate code for the elements of the interface - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cs::" - "visit_interface - " - "codegen for scope failed\n"), -1); - } - - // generate the is_a method - os->indent (); - *os << "CORBA::Boolean " << node->name () << "::_is_a (" << - "const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "if (\n"; - os->incr_indent (0); - if (node->traverse_inheritance_graph (be_interface::is_a_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cs::" - "visit_interface - " - "_is_a method codegen failed\n"), -1); - } - - os->indent (); - *os << "(!ACE_OS::strcmp ((char *)value, \"IDL:omg.org/CORBA/Object:1.0\")))\n"; - *os << " return 1; // success using local knowledge\n"; - os->decr_indent (); - *os << "else" << be_nl; - *os << " return this->CORBA_Object::_is_a (value, ACE_TRY_ENV);\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - *os << "const char* " << node->name () - << "::_interface_repository_id (void) const" - << be_nl - << "{" << be_idt_nl - << "return \"" << node->repoID () << "\";" << be_uidt_nl - << "}\n\n"; - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_TYPECODE_DEFN); - ctx.sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cs::" - "visit_interface - " - "TypeCode definition failed\n"), - -1); - } - - // AMI - - // Generate code for the AMI Reply Handler. - if (idl_global->ami_call_back () == I_TRUE) - { - // = Generate the default stub code for Handler. - - // Set the context. - be_visitor_context ctx (*this->ctx_); - - // Set the state. - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_STUB_CS); - - // Create the visitor. - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cs::" - "visit_interface - " - "Bad visitor\n"), - -1); - } - - // Call the visitor on this interface. - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cs::" - "visit_interface - " - "code gen for ami handler default stub failed\n"), - -1); - } - delete visitor; - - // = Generate the Servant Skeleton code. - // Set the context. - ctx = *this->ctx_; - - // Set the state. - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_SERVANT_CS); - - // Create the visitor. - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cs::" - "visit_interface - " - "Bad visitor\n"), - -1); - } - - // Call the visitor on this interface. - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cs::" - "visit_interface - " - "code gen for ami handler failed\n"), - -1); - } - delete visitor; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp deleted file mode 100644 index bbed2526a80..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp +++ /dev/null @@ -1,157 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_ih.cpp -// -// = DESCRIPTION -// Visitor generating code for Interfaces in the implementation header -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, interface_ih, "$Id$") - -// ************************************************************ -// Interface visitor for implementation header -// ************************************************************ - -be_visitor_interface_ih::be_visitor_interface_ih (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_ih::~be_visitor_interface_ih (void) -{ -} - -int -be_visitor_interface_ih::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - long i; // loop index - static char namebuf [NAMEBUFSIZE]; // holds the class name - - - if (node->impl_hdr_gen () || node->imported ()) - return 0; - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - - os = this->ctx_->stream (); - - // generate the skeleton class name - - os->indent (); // start with whatever indentation level we are at - - - ACE_OS::sprintf (namebuf, "%s", node->flatname ()); - - *os << "//Class " << idl_global->impl_class_prefix ()<impl_class_suffix ()<< be_nl; - // now generate the class definition - *os << "class " << idl_global->export_macro () - << " " <impl_class_prefix () << namebuf << idl_global->impl_class_suffix () << " : "; - /* - if (node->n_inherits () > 0) - { - // this interface inherits from other interfaces - be_interface *intf; // inherited interface - - - *os << "public virtual "; - - intf = be_interface::narrow_from_decl (node->inherits ()[0]); - *os << idl_global->impl_class_prefix () << intf->flatname () << idl_global->impl_class_suffix ();//intf->relative_skel_name (node->full_skel_name ()); - for (i = 1; i < node->n_inherits (); i++) - { - *os << ", public virtual "; - intf = be_interface::narrow_from_decl (node->inherits ()[i]); - *os << idl_global->impl_class_prefix () <flatname () << idl_global->impl_class_suffix ();//intf->relative_skel_name (node->full_skel_name ()); - } // end of for loop - - //inherit from the base skeleton file - *os<<", public virtual "<full_skel_name (); - } - - else - { - */ - //inherit from the base skeleton file - *os<<"public virtual "<full_skel_name (); - // } - - - *os << be_nl - << "{" << be_nl - << "public:" << be_idt_nl - << "//Constructor " << be_nl - << idl_global->impl_class_prefix () << namebuf << idl_global->impl_class_suffix () << " (void);" << be_nl << be_nl; - - if (idl_global->gen_copy_ctor ()) - { - *os << "//Copy Constructor"<impl_class_prefix () << namebuf << idl_global->impl_class_suffix () << " (const " - << idl_global->impl_class_prefix () << namebuf << idl_global->impl_class_suffix () << "&);" <gen_assign_op ()) - { - *os << "//Copy Assignment" << be_nl - << idl_global->impl_class_prefix () << namebuf << idl_global->impl_class_suffix () << "& " - << "operator=(const " << idl_global->impl_class_prefix () << namebuf << idl_global->impl_class_suffix () << "&);"<impl_class_prefix () << namebuf << idl_global->impl_class_suffix () << " (void);" << be_nl << be_uidt_nl; - - - // generate code for elements in the scope (e.g., operations) - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ih::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - - if (node->n_inherits () > 0) - { - // this interface inherits from other interfaces - be_interface *intf; // inherited interface - - for (i = 0; i < node->n_inherits (); i++) - { - intf = be_interface::narrow_from_decl (node->inherits ()[i]); - // generate code for elements in the scope (e.g., operations) - if (this->visit_scope (intf) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ih::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - } - - } - - *os << "};" << be_nl <impl_skel_gen () || node->imported ()) - return 0; - - os = this->ctx_->stream (); - - // generate the skeleton class name - - os->indent (); // start with whatever indentation level we are at - - - // constructor - *os << "// Implementation skeleton constructor" << be_nl; - // find if we are at the top scope or inside some module - *os << idl_global->impl_class_prefix () << node->flatname () << idl_global->impl_class_suffix () <<"::" << idl_global->impl_class_prefix () << node->flatname () << idl_global->impl_class_suffix () << - " (void)" << be_idt_nl; - - - if(node->n_inherits () >0) - { - //generate the default constructors of all the base classes - node->gen_def_ctors(os); - } - *os << "{" << be_nl - << "}" << be_nl << be_uidt_nl; - - // destructor - os->indent (); - *os << "// Implementation skeleton destructor" << be_nl; - - *os << idl_global->impl_class_prefix () << node->flatname () << idl_global->impl_class_suffix () <<"::~" << idl_global->impl_class_prefix () << node->flatname () << idl_global->impl_class_suffix () << - " (void)" << be_idt_nl; - - *os << "{" <gen_copy_ctor () ) - { - *os << "//Implementation Skeleton Copy Constructor" << be_nl; - - *os <impl_class_prefix () << node->flatname () << idl_global->impl_class_suffix () <<"::" - << idl_global->impl_class_prefix () << node->flatname () << idl_global->impl_class_suffix () << " (const " - << idl_global->impl_class_prefix () << node->flatname () << idl_global->impl_class_suffix () << "& t)"<< be_idt_nl; - if(node->n_inherits () >0) - { - node->gen_copy_ctors(os); - *os << ", TAO_ServantBase (t)" << be_nl; - } - *os << "{" << be_nl - << "}" << be_nl << be_uidt_nl; - } - - if (idl_global->gen_assign_op ()) - { - *os << "//Implementation Skeleton Copy Assignment" << be_nl; - - *os << idl_global->impl_class_prefix () << node->flatname () << idl_global->impl_class_suffix () << "& " - << idl_global->impl_class_prefix () << node->flatname () << idl_global->impl_class_suffix () << "::operator=(const " - << idl_global->impl_class_prefix () << node->flatname () << idl_global->impl_class_suffix () << "& t)" <visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - - if (node->n_inherits () > 0) - { - // this interface inherits from other interfaces - be_interface *intf; // inherited interface - - for (int i = 0; i < node->n_inherits (); i++) - { - intf = be_interface::narrow_from_decl (node->inherits ()[i]); - // generate code for elements in the scope (e.g., operations) - if (this->visit_scope (intf) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ih::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - } - - } - - - return 0; -} - - diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_sh.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_sh.cpp deleted file mode 100644 index a12411dae6d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_sh.cpp +++ /dev/null @@ -1,239 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for Interfaces in the server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, interface_sh, "$Id$") - - -// ************************************************************ -// Interface visitor for server header -// ************************************************************ - -be_visitor_interface_sh::be_visitor_interface_sh (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_sh::~be_visitor_interface_sh (void) -{ -} - -int -be_visitor_interface_sh::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - long i; // loop index - static char namebuf [NAMEBUFSIZE]; // holds the class name - - if (node->srv_hdr_gen () || node->imported ()) - return 0; - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - - os = this->ctx_->stream (); - - // generate the skeleton class name - - os->indent (); // start with whatever indentation level we are at - - // we shall have a POA_ prefix only if we are at the topmost level - if (!node->is_nested ()) - { - // we are outermost - ACE_OS::sprintf (namebuf, "POA_%s", node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (namebuf, "%s", node->local_name ()->get_string ()); - } - - *os << "class " << namebuf << ";" << be_nl; - - // generate the _ptr declaration - *os << "typedef " << namebuf << " *" << namebuf - << "_ptr;" << be_nl; - - // now generate the class definition - *os << "class " << idl_global->export_macro () - << " " << namebuf << " : "; - if (node->n_inherits () > 0) - { - // this interface inherits from other interfaces - be_interface *intf; // inherited interface - - *os << "public virtual "; - intf = be_interface::narrow_from_decl (node->inherits ()[0]); - *os << intf->relative_skel_name (node->full_skel_name ()); - for (i = 1; i < node->n_inherits (); i++) - { - *os << ", public virtual "; - intf = be_interface::narrow_from_decl (node->inherits ()[i]); - *os << intf->relative_skel_name (node->full_skel_name ()); - } // end of for loop - } - else - { - // We don't inherit from another user defined object, hence our - // base class is the ServantBase class. - *os << " public virtual PortableServer::ServantBase"; - } - *os << be_nl - << "{" << be_nl - << "protected:" << be_idt_nl - << namebuf << " (void);\n" << be_uidt_nl - << "public:" << be_idt_nl - << namebuf << " (const " << namebuf << "& rhs);" << be_nl - << "virtual ~" << namebuf << " (void);\n\n"; - - *os << be_nl - << "virtual CORBA::Boolean _is_a (" << be_idt << be_idt_nl - << "const char* logical_type_id," << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");\n" << be_uidt_nl; - - *os << "virtual void* _downcast (" << be_idt << be_idt_nl - << "const char* logical_type_id" << be_uidt_nl - << ");\n" << be_uidt_nl; - - // add a skeleton for our _is_a method - *os << "static void _is_a_skel (" << be_idt << be_idt_nl - << "CORBA::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 a skeleton for our _non_existent method - *os << "static void _non_existent_skel (" << be_idt << be_idt_nl - << "CORBA::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 - << "CORBA::ServerRequest &_tao_req," << be_nl - << "void *_tao_context," << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");\n" << be_uidt_nl; - - // Print out the _this() method. - *os << node->name () << " *_this (" << be_idt << be_idt_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");\n" << be_uidt_nl; - - // the _interface_repository_id method. - *os << "virtual const char* _interface_repository_id " - << "(void) const;\n\n"; - - // generate code for elements in the scope (e.g., operations). - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_sh::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - - // generate skeletons for operations of our base classes. These skeletons - // just cast the pointer to the appropriate type before invoking the call. - if (node->traverse_inheritance_graph (be_interface::gen_skel_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_sh::" - "visit_interface - " - "inheritance graph traversal failed\n"), - -1); - } - - - *os << be_uidt_nl << "};\n\n"; - - be_visitor_context ctx (*this->ctx_); - be_visitor *visitor = 0; - - // generate the collocated class - if (idl_global->gen_thru_poa_collocation ()) - { - ctx.state (TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_sh::" - "visit_interface - " - "codegen for thru_poa_collocated class failed\n"), - -1); - } - } - - if (idl_global->gen_direct_collocation ()) - { - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_sh::" - "visit_interface - " - "codegen for direct_collocated class failed\n"), - -1); - } - } - - // generate the TIE class. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_INTERFACE_TIE_SH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_sh::" - "visit_interface - " - "codegen for TIE class failed\n"), - -1); - } - - *os << "\n"; - ctx.stream (tao_cg->server_template_header ()); - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_si.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_si.cpp deleted file mode 100644 index 6ac012bab0a..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_si.cpp +++ /dev/null @@ -1,91 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_si.cpp -// -// = DESCRIPTION -// Visitor generating code for Interfaces in the server inline file -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, interface_si, "$Id$") - - -// ************************************************************************ -// Interface visitor for server inline -// ************************************************************************ - -be_visitor_interface_si::be_visitor_interface_si (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_si::~be_visitor_interface_si (void) -{ -} - -int -be_visitor_interface_si::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - - if (node->srv_inline_gen () || node->imported ()) - return 0; - - os = this->ctx_->stream (); - - // determine if we are in some form of a multiple inheritance - if (node->traverse_inheritance_graph - (be_interface::in_mult_inheritance_helper, 0) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_si::visit_interface " - "error determining mult inheritance\n"), - -1); - } - - // Generate skeletons for operations of our base classes. These skeletons - // just cast the pointer to the appropriate type before invoking the - // call. Hence we generate these in the inline file - if (node->traverse_inheritance_graph (be_interface::gen_skel_helper, os) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_si::" - "visit_interface - " - "codegen for base class skeletons failed\n"), -1); - } - - // generate the TIE class - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_INTERFACE_TIE_SI); - ctx.stream (tao_cg->server_template_inline ()); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_sh::" - "visit_interface - " - "codegen for TIE class failed\n"), - -1); - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp deleted file mode 100644 index 4443ca6472d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp +++ /dev/null @@ -1,424 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_ss.cpp -// -// = DESCRIPTION -// Visitor generating code for Interfaces in the server skeletons file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, interface_ss, "$Id$") - - -// ************************************************************ -// Interface visitor for server skeletons -// ************************************************************ - -be_visitor_interface_ss::be_visitor_interface_ss (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_ss::~be_visitor_interface_ss (void) -{ -} - -int -be_visitor_interface_ss::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - - if (node->srv_skel_gen () || node->imported ()) - return 0; - - os = this->ctx_->stream (); - - // generate the skeleton class name - - os->indent (); // start with whatever indentation level we are at - - if (node->gen_operation_table () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::" - "visit_interface - " - "codegen for operation table failed\n"), - -1); - } - - // Collocation function pointer initializer. - *os << node->name () << "_ptr _TAO_collocation_POA_" - << node->flatname () << "_Stub_Factory (" << be_idt << be_idt_nl - << "CORBA::Object_ptr obj" << be_uidt_nl - << ")\n"; - - os->incr_indent (0); - *os << "{" << be_idt_nl - << "TAO_Stub *stub = obj->_stubobj ();" << be_nl << be_nl - << "switch (stub->servant_orb_var ()->orb_core" - << " ()->get_collocation_strategy ())" << be_idt_nl - << "{" << be_nl << "case TAO_ORB_Core::THRU_POA:" << be_idt_nl; - - if (idl_global->gen_thru_poa_collocation ()) - *os << "return new " << node->full_coll_name (be_interface::THRU_POA) - << " (stub);" << be_uidt_nl; - else - *os << "break;" << be_uidt_nl; - - *os << "case TAO_ORB_Core::DIRECT:" << be_idt_nl; - - if (idl_global->gen_direct_collocation ()) - *os << "{" << be_idt_nl - << "void *servant = ACE_reinterpret_cast (void*, obj->_servant ());" << be_nl - << "if (servant != 0)" << be_idt_nl - << "return new " << node->full_coll_name (be_interface::DIRECT) - << " (ACE_reinterpret_cast (" << node->full_skel_name () - << "*, servant), stub);" << be_uidt << be_uidt_nl - << "}" << be_uidt_nl; - - *os << "break;" << be_uidt_nl - << "default:" << be_idt_nl - << "break;" << be_uidt_nl - << "}" << be_uidt_nl - << "return 0;" << be_uidt_nl - << "}\n\n"; - - *os << "int _TAO_collocation_POA_" << node->flatname () - << "_Stub_Factory_Initializer" - << " (long dummy)" << be_nl - << "{" << be_idt_nl - << "ACE_UNUSED_ARG (dummy);" << be_nl << be_nl - << "_TAO_collocation_" << node->flatname () - << "_Stub_Factory_function_pointer = " << be_idt_nl - << "_TAO_collocation_POA_" << node->flatname () - << "_Stub_Factory;" << be_uidt_nl << be_nl - << "return 0;" << be_uidt_nl << "}\n\n"; - - *os << "static int _TAO_collocation_POA_" << node->flatname () - << "_Stub_Factory_Initializer_Scarecrow = " << be_idt_nl - << "_TAO_collocation_POA_" << node->flatname () - << "_Stub_Factory_Initializer (ACE_reinterpret_cast " - << "(long, _TAO_collocation_POA_" - << node->flatname () << "_Stub_Factory_Initializer));" - << be_uidt_nl; - - os->incr_indent (0); - - // constructor - *os << "// skeleton constructor" << be_nl; - // find if we are at the top scope or inside some module - if (!node->is_nested ()) - { - // we are outermost. So the POA_ prefix is prepended to our name - *os << node->full_skel_name () << "::POA_" << node->local_name () << - " (void)" << be_nl; - } - else - { - // the POA_ prefix is prepended to our outermost module name - *os << node->full_skel_name () << "::" << node->local_name () << - " (void)" << be_nl; - } - - *os << "{" << be_idt_nl - << "this->optable_ = &tao_" << node->flatname () - << "_optable;" << be_uidt_nl - << "}\n\n"; - - *os << "// copy ctor" << be_nl; - // find if we are at the top scope or inside some module - if (!node->is_nested ()) - { - // we are outermost. So the POA_ prefix is prepended to our name - *os << node->full_skel_name () << "::POA_" - << node->local_name () << " (" - << "const POA_" << node->local_name () << "& rhs)"; - } - else - { - // the POA_ prefix is prepended to our outermost module name - *os << node->full_skel_name () << "::" - << node->local_name () << " (const " - << node->local_name () << "& rhs)"; - } - *os << be_idt_nl - << ": "; - if (node->traverse_inheritance_graph - (be_interface::copy_ctor_helper, os) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::visit_interface - " - " copy ctor generation failed\n"), -1); - *os << " TAO_ServantBase (rhs)" << be_uidt_nl - << "{}\n" << be_nl; - - *os << "// skeleton destructor" << be_nl; - - if (!node->is_nested ()) - { - // we are outermost. So the POA_ prefix is prepended to our name - *os << node->full_skel_name () << "::~POA_" << node->local_name () << - " (void)" << be_nl; - } - else - { - // the POA_ prefix is prepended to our outermost module name - *os << node->full_skel_name () << "::~" << node->local_name () << - " (void)" << be_nl; - } - *os << "{\n"; - *os << "}\n\n"; - - - // generate code for elements in the scope (e.g., operations) - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - - // generate code for the _is_a skeleton - os->indent (); - *os << "void " << node->full_skel_name () - << "::_is_a_skel (" << be_idt << be_idt_nl - << "CORBA::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 << "TAO_InputCDR &_tao_in = _tao_server_request.incoming ();" << be_nl; - *os << node->full_skel_name () << " *_tao_impl = (" - << node->full_skel_name () << " *) _tao_object_reference;" << be_nl; - *os << "CORBA::Boolean _tao_retval = 0;" << be_nl; - *os << "CORBA::String_var value;" << be_nl; - *os << "if (!((_tao_in >> value.out ())))" << be_idt_nl; - *os << "ACE_THROW (CORBA::MARSHAL ());" << be_uidt_nl << be_nl; - *os << "_tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);" << be_nl; - *os << "ACE_CHECK;" << be_nl << be_nl; - *os << "_tao_server_request.init_reply (ACE_TRY_ENV);" << be_nl; - *os << "ACE_CHECK;" << be_nl; - *os << "TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();" << be_nl; - *os << "if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))" << be_idt_nl; - *os << "ACE_THROW (CORBA::MARSHAL ());" << be_uidt << be_uidt_nl; - *os << "}\n\n"; - - - // generate code for the _non_existent skeleton - os->indent (); - *os << "void " << node->full_skel_name () - << "::_non_existent_skel (" << be_idt << be_idt_nl - << "CORBA::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; - *os << "CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);" << be_nl; - *os << "ACE_CHECK;" << be_nl << be_nl; - *os << "_tao_server_request.init_reply (ACE_TRY_ENV);" << be_nl; - *os << "ACE_CHECK;" << be_nl; - *os << "TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();" << be_nl; - *os << "if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))" << be_idt_nl; - *os << "ACE_THROW (CORBA::MARSHAL ());" << be_uidt << be_uidt_nl; - *os << "}\n\n"; - - - os->indent (); - *os << "CORBA::Boolean " << node->full_skel_name () - << "::_is_a (" << be_idt << be_idt_nl - << "const char* value," << be_nl - << "CORBA::Environment &ACE_TRY_ENV" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "if (\n" << be_idt; - if (node->traverse_inheritance_graph (be_interface::is_a_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::" - "visit_interface - " - "traversal of inhertance graph failed\n"), - -1); - } - - os->indent (); - *os << "(!ACE_OS::strcmp ((char *)value, " - << "CORBA::_tc_Object->id (ACE_TRY_ENV))))" - << be_idt_nl << "return 1;" << be_uidt_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt << be_uidt << be_uidt_nl - << "}\n\n"; - - // the downcast method. - os->indent (); - *os << "void* " << node->full_skel_name () - << "::_downcast (" << be_idt << be_idt_nl - << "const char* logical_type_id" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - - if (node->traverse_inheritance_graph (be_interface::downcast_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::" - "visit_interface - " - "traversal of inhertance graph failed\n"), - -1); - } - - *os << "if (ACE_OS::strcmp (logical_type_id, " - << "\"IDL:omg.org/CORBA/Object:1.0\") == 0)" << be_idt_nl - << "return ACE_static_cast(PortableServer::Servant, this);" - << be_uidt_nl; - - *os << "return 0;" << be_uidt_nl - << "}\n\n"; - - - // now the dispatch method - os->indent (); - *os << "void " << node->full_skel_name () << - "::_dispatch (CORBA::ServerRequest &req, " << - "void *context, CORBA::Environment &ACE_TRY_ENV)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "TAO_Skeleton skel; // pointer to skeleton for operation" << be_nl; - *os << "const char *opname = req.operation (); // retrieve operation name" - << be_nl; - *os << "// find the skeleton corresponding to this opname" << be_nl; - *os << "if (this->_find (opname, skel, req.operation_length ()) == -1)" << be_nl; - *os << "{" << be_idt_nl; - *os << "ACE_ERROR ((LM_ERROR, \"Bad operation <%s>\\n\", opname));" << be_nl; - *os << "ACE_THROW (CORBA_BAD_OPERATION ());" - //<< "ACE_TRY_ENV);" << be_uidt_nl; - << be_uidt_nl; - // *os << "env.exception (new CORBA_BAD_OPERATION ());" << be_nl; - *os << "}" << be_nl; - *os << "else" << be_idt_nl; - *os << "skel (req, this, context, ACE_TRY_ENV);" << be_uidt << be_uidt_nl; - *os << "}\n\n"; - - os->indent (); - *os << "const char* " << node->full_skel_name () - << "::_interface_repository_id (void) const" - << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return \"" << node->repoID () << "\";\n"; - os->decr_indent (); - *os << "}\n\n"; - - *os << "\n"; - - // the _this () operation - *os << node->name () << "*" << be_nl - << node->full_skel_name () - << "::_this (CORBA_Environment &ACE_TRY_ENV)" << be_nl - << "{" << be_idt_nl - << "TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);" << be_nl - << "ACE_CHECK_RETURN (0);" << be_nl - << "switch (stub->servant_orb_var ()->orb_core ()->get_collocation_strategy ())" << be_idt_nl - << "{" << be_nl - << "case TAO_ORB_Core::THRU_POA:" << be_idt_nl; - - // Thru POA stub - if (idl_global->gen_thru_poa_collocation ()) - *os << "return new " - << node->full_coll_name (be_interface::THRU_POA) << " (stub);" << be_uidt_nl; - else - *os << "ACE_THROW_RETURN (CORBA::BAD_PARAM (), 0);" << be_uidt_nl; - - // Direct stub - *os << "case TAO_ORB_Core::DIRECT:" << be_idt_nl; - if (idl_global->gen_direct_collocation ()) - *os << "return new " - << node->full_coll_name (be_interface::DIRECT) << " (this, stub);" << be_uidt_nl; - else - *os << "ACE_THROW_RETURN (CORBA::BAD_PARAM (), 0);" << be_uidt_nl; - - *os << "default:" << be_idt_nl - << "ACE_THROW_RETURN (CORBA::BAD_PARAM (), 0);" << be_uidt_nl - << "}" << be_uidt << be_uidt_nl - << "}\n\n"; - - // the _create_collocated_objref method. If the idl compiler does - // not generate the type of collocated stub but the orb is asking - // for it, simply return null so a remote stub will be used. - os->indent (); - - // generate the collocated class impl - if (idl_global->gen_thru_poa_collocation ()) - { - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_INTERFACE_THRU_POA_COLLOCATED_SS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::" - "visit_interface - " - "Bad visitor for thru_poa collocated class\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::" - "visit_interface - " - "codegen for thru_poa collocated class failed\n"), - -1); - } - delete visitor; - } - - if (idl_global->gen_direct_collocation ()) - { - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_INTERFACE_DIRECT_COLLOCATED_SS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::" - "visit_interface - " - "Bad visitor for direct collocated class\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::" - "visit_interface - " - "codegen for direct collocated class failed\n"), - -1); - } - delete visitor; - } - - *os << "\n\n"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/thru_poa_collocated_sh.cpp b/TAO/TAO_IDL/be/be_visitor_interface/thru_poa_collocated_sh.cpp deleted file mode 100644 index 33fb7be9f5e..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/thru_poa_collocated_sh.cpp +++ /dev/null @@ -1,116 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// thru_poa_collocated_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for thru_poa_collocated classes for the Interface node -// inside the server header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, thru_poa_collocated_sh, "$Id$") - - -// ************************************************************ -// thru_poa_collocated class in header -// ************************************************************ - -be_visitor_interface_thru_poa_collocated_sh::be_visitor_interface_thru_poa_collocated_sh -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_thru_poa_collocated_sh::~be_visitor_interface_thru_poa_collocated_sh (void) -{ -} - -int be_visitor_interface_thru_poa_collocated_sh::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - os->gen_ifdef_macro (node->flatname (), "_thru_poa_collocated"); - - // output the class defn - os->indent (); - *os << "class " << idl_global->export_macro () - << " " << node->local_coll_name (be_interface::THRU_POA); - os->incr_indent (); - *os << " : public virtual " << node->name (); - - // generate base classes if any - if (node->n_inherits () > 0) - { - for (int i = 0; i < node->n_inherits (); ++i) - { - *os << "," << be_nl; - be_interface* parent = - be_interface::narrow_from_decl (node->inherits()[i]); - *os << " public virtual " - << be_interface::relative_name (parent->full_coll_name (be_interface::THRU_POA), - node->full_coll_name (be_interface::THRU_POA)); - } - } - *os << "\n"; - os->decr_indent (); - *os << "{" << be_nl; - *os << "public:\n"; - os->incr_indent (); - - *os << node->local_coll_name (be_interface::THRU_POA) << " (\n"; - - os->incr_indent (0); - os->incr_indent (); - - *os << "TAO_Stub *stub\n"; - os->decr_indent (); - *os << ");\n"; - os->decr_indent (0); - - os->indent (); - - *os << "virtual CORBA::Boolean _is_a" << be_idt - << "(" << be_idt_nl - << "const CORBA::Char *logical_type_id," << be_nl - << "CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()" << be_uidt_nl - << ");" << be_uidt_nl << be_nl; - - *os << "virtual CORBA::Boolean _non_existent" << be_idt - << "(" << be_idt_nl - << "CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()" << be_uidt_nl - << ");" << be_uidt_nl << be_nl; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_thru_poa_collocated_sh::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - - os->decr_indent (); - - *os << "};\n\n"; - - os->gen_endif (); - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/thru_poa_collocated_ss.cpp b/TAO/TAO_IDL/be/be_visitor_interface/thru_poa_collocated_ss.cpp deleted file mode 100644 index d6d869d5553..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/thru_poa_collocated_ss.cpp +++ /dev/null @@ -1,188 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// thru_poa_collocated_ss.cpp -// -// = DESCRIPTION -// Visitor generating code for thru_poa_collocated classes for an Interface in the -// server skeleton file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, thru_poa_collocated_ss, "$Id$") - - -// ************************************************************ -// be_visitor_interface_collacted_ss -// ************************************************************ - -be_visitor_interface_thru_poa_collocated_ss::be_visitor_interface_thru_poa_collocated_ss -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_thru_poa_collocated_ss::~be_visitor_interface_thru_poa_collocated_ss (void) -{ -} - -int be_visitor_interface_thru_poa_collocated_ss::visit_interface (be_interface *node) -{ - TAO_OutStream *os = tao_cg->server_skeletons (); - - this->ctx_->node (node); - - *os << node->full_coll_name (be_interface::THRU_POA) << "::" - << node->local_coll_name (be_interface::THRU_POA) << " (" << be_idt_nl - << "TAO_Stub *stub" << be_uidt_nl - << ")\n"; - os->decr_indent (0); - - os->incr_indent (); - - if (node->is_nested ()) - { - be_decl* scope = - be_scope::narrow_from_scope (node->defined_in ())->decl (); - - *os << ": ACE_NESTED_CLASS (" - << scope->name () << "," - << node->local_name () - << ") ()," << be_nl; - } - else - { - *os << ": " << node->name () - << " ()," << be_nl; - } - - // @@ We should call the constructor for all base classes, since we - // are using multiple inheritance. - - if (node->traverse_inheritance_graph (be_visitor_interface_thru_poa_collocated_ss::collocated_ctor_helper, os) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_thru_poa_collocated_ss::" - "visit_interface - " - "codegen for base class ctor init failed\n"), - -1); - } - - *os << " CORBA_Object (stub, 0, 1)\n"; - - os->decr_indent (); - *os << "{\n"; - *os << "}\n\n"; - - os->indent (); - - // Generate _is_a implementation. - *os << "CORBA::Boolean " << node->full_coll_name (be_interface::THRU_POA) << "::" - << "_is_a" << be_idt - << "(" << be_idt_nl - << "const CORBA::Char *logical_type_id," << be_nl - << "CORBA_Environment &ACE_TRY_ENV" << be_uidt_nl - << ")" << be_uidt_nl << be_nl - << "{" << be_idt_nl; - *os <<"TAO_Object_Adapter::Servant_Upcall servant_upcall (" - << be_idt << be_idt_nl - << "*this->_stubobj ()->" - << "servant_orb_var ()->orb_core ()->object_adapter ()" - << be_uidt_nl - << ");" << be_uidt_nl - << "servant_upcall.prepare_for_upcall (" << be_idt << be_idt_nl - << "this->_object_key ()," << be_nl - << "\"" << "_is_a" << "\"," << be_nl - << "ACE_TRY_ENV" << be_uidt_nl - << ");" << be_uidt_nl - << "ACE_CHECK_RETURN (0);" << be_nl; - *os << "return ACE_reinterpret_cast (" << be_idt << be_idt_nl - << node->full_skel_name () << "_ptr," << be_nl - << "servant_upcall.servant ()->_downcast (" << be_idt << be_idt_nl - << "\"" << node->repoID () << "\"" << be_uidt_nl - << ")" << be_uidt << be_uidt_nl - << ")->_is_a (logical_type_id, ACE_TRY_ENV);" << be_uidt << be_uidt_nl - << "}\n\n" << be_uidt_nl; - - os->indent (); - - // Generate _non_existent implementation. - *os << "CORBA::Boolean " << node->full_coll_name (be_interface::THRU_POA) << "::" - << "_non_existent" << be_idt - << "(" << be_idt_nl - << "CORBA_Environment &ACE_TRY_ENV" << be_uidt_nl - << ")" << be_uidt_nl << be_nl - << "{" << be_idt_nl; - *os <<"TAO_Object_Adapter::Servant_Upcall servant_upcall (" - << be_idt << be_idt_nl - << "*this->_stubobj ()->" - << "servant_orb_var ()->orb_core ()->object_adapter ()" - << be_uidt_nl - << ");" << be_uidt_nl - << "servant_upcall.prepare_for_upcall (" << be_idt << be_idt_nl - << "this->_object_key ()," << be_nl - << "\"" << "_non_existent" << "\"," << be_nl - << "ACE_TRY_ENV" << be_uidt_nl - << ");" << be_uidt_nl - << "ACE_CHECK_RETURN (0);" << be_nl; - *os << "return ACE_reinterpret_cast (" << be_idt << be_idt_nl - << node->full_skel_name () << "_ptr," << be_nl - << "servant_upcall.servant ()->_downcast (" << be_idt << be_idt_nl - << "\"" << node->repoID () << "\"" << be_uidt_nl - << ")" << be_uidt << be_uidt_nl - << ")->_non_existent (ACE_TRY_ENV);" << be_uidt << be_uidt_nl - << "}\n\n" << be_uidt_nl; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_thru_poa_collocated_ss::" - "visit_scope - " - "codegen for scope failed\n"), - -1); - } - - return 0; -} - -int -be_visitor_interface_thru_poa_collocated_ss::collocated_ctor_helper (be_interface *derived, - be_interface *base, - TAO_OutStream *os) -{ - if (derived == base) - // we are the same. Don't do anything, otherwise we will end up calling - // ourself - return 0; - - if (base->is_nested ()) - { - be_decl *scope; - scope = be_scope::narrow_from_scope (base->defined_in ())->decl (); - *os << " ACE_NESTED_CLASS (POA_" << scope->name () << "," - << base->local_coll_name (be_interface::THRU_POA) << ") (stub)," << be_nl; - } - else - { - *os << " " << base->full_coll_name (be_interface::THRU_POA) << " (stub)," << be_nl; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/tie_sh.cpp b/TAO/TAO_IDL/be/be_visitor_interface/tie_sh.cpp deleted file mode 100644 index 4892051d8b9..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/tie_sh.cpp +++ /dev/null @@ -1,167 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// tie_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for TIE class for an Interface in the header -// file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, tie_sh, "$Id$") - - -// ************************************************************ -// Interface visitor for server header -// ************************************************************ - -be_visitor_interface_tie_sh::be_visitor_interface_tie_sh (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_tie_sh::~be_visitor_interface_tie_sh (void) -{ -} - -int -be_visitor_interface_tie_sh::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - static char namebuf [NAMEBUFSIZE]; // holds the class name - static char tiename [NAMEBUFSIZE]; // holds the tie name - - if (node->srv_hdr_gen () || node->imported ()) - return 0; - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (tiename, '\0', NAMEBUFSIZE); - - os = this->ctx_->stream (); - - // generate the skeleton class name which will be used to determine the TIE - // class name - - // we shall have a POA_ prefix only if we are at the topmost level - if (!node->is_nested ()) - { - // we are outermost - ACE_OS::sprintf (namebuf, "POA_%s", node->local_name ()->get_string ()); - ACE_OS::sprintf (tiename, "POA_%s_tie", - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (namebuf, "%s", node->local_name ()->get_string ()); - ACE_OS::sprintf (tiename, "%s_tie", - node->local_name ()->get_string ()); - } - - // now generate the class definition - os->indent (); // start with whatever indentation level we are at - - // Since templates nested inside of classes are broken on most C++ compilers, - // we generate code for this inside a conditional macro. The code is - // activated only if "namespaces" are supported on the platform - if (node->is_nested ()) - { - *os << "\n#if defined (ACE_HAS_USING_KEYWORD)" << be_nl; - } - - *os << "// TIE class: Refer to CORBA v2.2, Section 20.34.4" << be_nl; - *os << "template " << be_nl; - *os << "class " << idl_global->export_macro () - << " " << tiename << " : public " << namebuf << be_nl; - *os << "{" << be_nl - << "public:" << be_idt_nl - << tiename << " (T &t);" << be_nl - << "// the T& ctor" << be_nl - << tiename << " (T &t, PortableServer::POA_ptr poa);" << be_nl - << "// ctor taking a POA" << be_nl - << tiename << " (T *tp, CORBA::Boolean release=1);" << be_nl - << "// ctor taking pointer and an ownership flag" << be_nl - << tiename << " (T *tp, PortableServer::POA_ptr poa, " - << "CORBA::Boolean release=1);" << be_nl - << "// ctor with T*, ownership flag and a POA" << be_nl - << "~" << tiename << " (void);" << be_nl - << "// dtor" << be_nl << be_nl - << "// TIE specific functions" << be_nl - << "T *_tied_object (void);" << be_nl - << "// return the underlying object" << be_nl - << "void _tied_object (T &obj);" << be_nl - << "// set the underlying object" << be_nl - << "void _tied_object (T *obj, CORBA::Boolean release=1);" << be_nl - << "// set the underlying object and the ownership flag" << be_nl - << "CORBA::Boolean _is_owner (void);" << be_nl - << "// do we own it" << be_nl - << "void _is_owner (CORBA::Boolean b);" << be_nl - << "// set the ownership" << be_nl << be_nl - << "// overridden ServantBase operations" << be_nl - << "PortableServer::POA_ptr _default_POA (" << be_idt << be_idt_nl - << "CORBA::Environment &env = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt << "\n"; - - if (node->traverse_inheritance_graph (be_visitor_interface_tie_sh::method_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_tie_sh_ss::" - "visit_interface - " - "traversal of inhertance graph failed\n"), - -1); - } - - *os << be_uidt << "private:" << be_idt_nl - << "T *ptr_;" << be_nl - << "PortableServer::POA_var poa_;" << be_nl - << "CORBA::Boolean rel_;" << be_nl << be_nl - << "// copy and assignment are not allowed" << be_nl - << tiename << " (const " << tiename << " &);" << be_nl - << "void operator= (const " << tiename << " &);" << be_uidt_nl - << "};\n\n"; - - if (node->is_nested ()) - { - *os << "#endif /* ACE_HAS_USING_KEYWORD */\n"; - } - - return 0; -} - -int -be_visitor_interface_tie_sh::method_helper (be_interface *, - be_interface *node, - TAO_OutStream *os) -{ - be_visitor_context ctx; - ctx.state (TAO_CodeGen::TAO_INTERFACE_TIE_SH); - ctx.stream (os); - be_visitor* visitor = tao_cg->make_visitor (&ctx); - if (visitor == 0 || visitor->visit_scope (node) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_tie_sh::" - "method_helper\n"), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface/tie_si.cpp b/TAO/TAO_IDL/be/be_visitor_interface/tie_si.cpp deleted file mode 100644 index 6b720a11366..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface/tie_si.cpp +++ /dev/null @@ -1,208 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// tie_si.cpp -// -// = DESCRIPTION -// Visitor generating code for TIE classes for the Interface node in the -// inline file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface.h" - -ACE_RCSID(be_visitor_interface, tie_si, "$Id$") - - -// ************************************************************************ -// Interface visitor for server inline -// ************************************************************************ - -be_visitor_interface_tie_si::be_visitor_interface_tie_si (be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_tie_si::~be_visitor_interface_tie_si (void) -{ -} - -int -be_visitor_interface_tie_si::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - static char fulltiename [NAMEBUFSIZE]; // holds the class name - static char localtiename [NAMEBUFSIZE]; // holds the tie name - static char localskelname [NAMEBUFSIZE]; // holds the local skeleton name - - if (node->srv_inline_gen () || node->imported ()) - return 0; - - ACE_OS::memset (fulltiename, '\0', NAMEBUFSIZE); - ACE_OS::memset (localtiename, '\0', NAMEBUFSIZE); - ACE_OS::memset (localskelname, '\0', NAMEBUFSIZE); - - os = this->ctx_->stream (); - - // generate the skeleton class name which will be used to determine the TIE - // class name - - // we are outermost - ACE_OS::sprintf (fulltiename, "%s_tie", node->full_skel_name ()); - if (!node->is_nested ()) - { - ACE_OS::sprintf (localskelname, "POA_%s", - node->local_name ()->get_string ()); - ACE_OS::sprintf (localtiename, "POA_%s_tie", - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (localskelname, "%s", - node->local_name ()->get_string ()); - ACE_OS::sprintf (localtiename, "%s_tie", - node->local_name ()->get_string ()); - } - - if (node->is_nested ()) - { - *os << "\n#if defined (ACE_HAS_USING_KEYWORD)\n"; - } - - os->indent (); // start with whatever indentation level we are at - - *os << "template ACE_INLINE" << be_nl - << fulltiename << "::" << localtiename << " (T &t)" << be_nl - << "\t: ptr_ (&t)," << be_nl - << "\t poa_ (PortableServer::POA::_nil ())," << be_nl - << "\t rel_ (0)" << be_nl - << "{}" << be_nl << be_nl; - - *os << "template ACE_INLINE" << be_nl - << fulltiename << "::" << localtiename - << " (T &t, PortableServer::POA_ptr poa)" << be_nl - << "\t: ptr_ (&t)," << be_nl - << "\t poa_ (PortableServer::POA::_duplicate (poa))," << be_nl - << "\t rel_ (0)" << be_nl - << "{}" << be_nl << be_nl; - - *os << "template ACE_INLINE" << be_nl - << fulltiename << "::" << localtiename - << " (T *tp, CORBA::Boolean release)" << be_nl - << "\t: ptr_ (tp)," << be_nl - << "\t poa_ (PortableServer::POA::_nil ())," << be_nl - << "\t rel_ (release)" << be_nl - << "{}" << be_nl << be_nl; - - *os << "template ACE_INLINE" << be_nl - << fulltiename << "::" << localtiename - << " (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)" - << be_nl - << "\t: ptr_ (tp)," << be_nl - << "\t poa_ (PortableServer::POA::_duplicate (poa))," << be_nl - << "\t rel_ (release)" << be_nl - << "{}" << be_nl << be_nl; - - *os << "template ACE_INLINE" << be_nl - << fulltiename << "::~" << localtiename << " (void)" << be_nl - << "{" << be_idt_nl - << "if (this->rel_) delete this->ptr_;" << be_uidt_nl - << "}" << be_nl << be_nl; - - *os << "template ACE_INLINE T *" << be_nl - << fulltiename << "::_tied_object (void)" << be_nl - << "{" << be_idt_nl - << "return this->ptr_;" << be_uidt_nl - << "}" << be_nl << be_nl; - - *os << "template ACE_INLINE void" << be_nl - << fulltiename << "::_tied_object (T &obj)" << be_nl - << "{" << be_idt_nl - << "if (this->rel_) delete this->ptr_;" << be_nl - << "this->ptr_ = &obj;" << be_nl - << "this->rel_ = 0;" << be_uidt_nl - << "}" << be_nl << be_nl; - - *os << "template ACE_INLINE void" << be_nl - << fulltiename << "::_tied_object (T *obj, " - << "CORBA::Boolean release)" << be_nl - << "{" << be_idt_nl - << "if (this->rel_) delete this->ptr_;" << be_nl - << "this->ptr_ = obj;" << be_nl - << "this->rel_ = release;" << be_uidt_nl - << "}" << be_nl << be_nl; - - *os << "template ACE_INLINE CORBA::Boolean" << be_nl - << fulltiename << "::_is_owner (void)" << be_nl - << "{" << be_idt_nl - << "return this->rel_;" << be_uidt_nl - << "}" << be_nl << be_nl; - - *os << "template ACE_INLINE void" << be_nl - << fulltiename << "::_is_owner (CORBA::Boolean b)" << be_nl - << "{" << be_idt_nl - << "this->rel_ = b;" << be_uidt_nl - << "}" << be_nl << be_nl; - - *os << "template ACE_INLINE " - << "PortableServer::POA_ptr" << be_nl - << fulltiename << "::_default_POA (CORBA::Environment &env)" << be_nl - << "{" << be_idt_nl - << "if (!CORBA::is_nil (this->poa_.in ()))" << be_idt_nl - << "return PortableServer::POA::_duplicate (this->poa_.in ());\n" - << be_uidt_nl - << "return this->" << localskelname << "::_default_POA (env);" << be_uidt_nl - << "}\n\n"; - - if (node->traverse_inheritance_graph (be_visitor_interface_tie_si::method_helper, os) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_tie_sh_ss::" - "visit_interface - " - "traversal of inhertance graph failed\n"), - -1); - } - - if (node->is_nested ()) - { - *os << "#endif /* ACE_HAS_USING_KEYWORD */\n"; - } - - return 0; -} - -int -be_visitor_interface_tie_si::method_helper (be_interface *derived, - be_interface *node, - TAO_OutStream *os) -{ - be_visitor_context ctx; - ctx.state (TAO_CodeGen::TAO_INTERFACE_TIE_SI); - ctx.interface (derived); - ctx.stream (os); - - be_visitor* visitor = tao_cg->make_visitor (&ctx); - if (visitor == 0 || visitor->visit_scope (node) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_tie_sh::" - "method_helper\n"), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface_fwd.cpp b/TAO/TAO_IDL/be/be_visitor_interface_fwd.cpp deleted file mode 100644 index 19b900b04b7..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface_fwd.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_interface_fwd.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Interface_Fwd -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface_fwd.h" - -// include all the individual files -#include "be_visitor_interface_fwd/interface_fwd_ch.cpp" -#include "be_visitor_interface_fwd/interface_fwd_ci.cpp" -#include "be_visitor_interface_fwd/cdr_op_ci.cpp" - -ACE_RCSID(be, be_visitor_interface_fwd, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ci.cpp deleted file mode 100644 index e7edc5c7ad5..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ci.cpp +++ /dev/null @@ -1,71 +0,0 @@ -// -// $Id$ -// - -// ================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for forward -// declarations of interfaces. This uses compiled marshaling. -// -// = AUTHOR -// Aniruddha Gokhale & Carlos O'Ryan -// -// ================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface_fwd.h" - -ACE_RCSID(be_visitor_interface_fwd, cdr_op_ci, "$Id$") - -// **************************************************************** -// Interface visitor for generating CDR operator declarations in the -// client header -// **************************************************************** - -be_visitor_interface_fwd_cdr_op_ci:: -be_visitor_interface_fwd_cdr_op_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_interface_fwd_cdr_op_ci:: -~be_visitor_interface_fwd_cdr_op_ci (void) -{ -} - -int -be_visitor_interface_fwd_cdr_op_ci:: -visit_interface_fwd (be_interface_fwd *node) -{ - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator declarations - os->indent (); - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator<< (" << be_idt << be_idt_nl - << "TAO_OutputCDR &," << be_nl - << "const " << node->name () << "_ptr" << be_uidt_nl - << ");" << be_uidt_nl; - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator>> (" << be_idt << be_idt_nl - << "TAO_InputCDR &," << be_nl - << node->name () << "_ptr &" << be_uidt_nl - << ");" << be_uidt << "\n"; - - node->cli_inline_cdr_op_gen (1); - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ch.cpp deleted file mode 100644 index 7591f4d83be..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ch.cpp +++ /dev/null @@ -1,96 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_fwd_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Interface_Fwd node in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface_fwd.h" - -ACE_RCSID(be_visitor_interface_fwd, interface_fwd_ch, "$Id$") - - -// ******************************************************************** -// Visitor implementation for the Interface_Fwd type -// This one for the client header file -// ******************************************************************** - -be_visitor_interface_fwd_ch::be_visitor_interface_fwd_ch (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_interface_fwd_ch::~be_visitor_interface_fwd_ch (void) -{ -} - -// visit the Interface_Fwd_Ch node and its scope -int -be_visitor_interface_fwd_ch::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (!node->cli_hdr_gen () && !node->imported ()) - { - os->indent (); // start from the current - - // all we do in this is generate a forward declaration of the class - *os << "class " << node->local_name () << ";" << be_nl; - - // generate the ifdefined macro for the _ptr type - os->gen_ifdef_macro (node->flatname (), "_ptr"); - - // generate the _ptr declaration - *os << "typedef " << node->local_name () << " *" << node->local_name () - << "_ptr;\n"; - - os->gen_endif (); - - // enclose under an ifdef macro - os->gen_ifdef_macro (node->flatname (), "_var"); - - // generate the _var declaration - if (node->gen_var_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_fwd_ch::" - "visit_interface_fwd - " - "codegen for _var failed\n"), -1); - } - // gen an endif - os->gen_endif (); - - // enclose under an ifdef macro - os->gen_ifdef_macro (node->flatname (), "_out"); - - // generate the _out declaration - ORBOS/97-05-15 pg 16-20 spec - if (node->gen_out_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_fwd_ch::" - "visit_interface_fwd - " - "codegen for _out failed\n"), -1); - } - // generate the endif macro - os->gen_endif (); - node->cli_hdr_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ci.cpp b/TAO/TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ci.cpp deleted file mode 100644 index 301ef9ce115..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface_fwd/interface_fwd_ci.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_fwd_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Interface_Fwd node in the client inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface_fwd.h" - -ACE_RCSID(be_visitor_interface_fwd, interface_fwd_ci, "$Id$") - - -// ******************************************************************** -// Visitor implementation for the Interface_Fwd type -// This one for the client inline file -// ******************************************************************** - -be_visitor_interface_fwd_ci::be_visitor_interface_fwd_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_interface_fwd_ci::~be_visitor_interface_fwd_ci (void) -{ -} - -// visit the Interface_Fwd_ci node and its scope -int -be_visitor_interface_fwd_ci::visit_interface_fwd (be_interface_fwd *node) -{ - if (!node->cli_inline_gen () && !node->imported ()) - { -#if 0 - // We don't generate any code here..... - - // It is possible to generate the definitions for the _var and - // _out types, but if we do that then the _duplicate() and - // _nil() methods cannot be inlined. - - // Since these classes will be generated once the forward - // declaration is resolved there is really no problem here -#endif /* 0 */ - - node->cli_inline_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_module.cpp b/TAO/TAO_IDL/be/be_visitor_module.cpp deleted file mode 100644 index 1bd1b4ffe36..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_module.cpp +++ /dev/null @@ -1,36 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_module.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Module -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_module.h" - -// include all the individual files -#include "be_visitor_module/module.cpp" -#include "be_visitor_module/module_ch.cpp" -#include "be_visitor_module/module_sh.cpp" -#include "be_visitor_module/module_ih.cpp" -#include "be_visitor_module/any_op.cpp" -#include "be_visitor_module/cdr_op.cpp" - -ACE_RCSID(be, be_visitor_module, "$Id$") - diff --git a/TAO/TAO_IDL/be/be_visitor_module/any_op.cpp b/TAO/TAO_IDL/be/be_visitor_module/any_op.cpp deleted file mode 100644 index 2d50f3b54d0..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_module/any_op.cpp +++ /dev/null @@ -1,56 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operators for elements in the scope of -// the Module. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_module.h" - -ACE_RCSID(be_visitor_module, any_op, "$Id$") - - -// *************************************************************************** -// Module visitor for generating Any operator declarations in the client header -// and stub -// *************************************************************************** - -be_visitor_module_any_op::be_visitor_module_any_op (be_visitor_context *ctx) - : be_visitor_module (ctx) -{ -} - -be_visitor_module_any_op::~be_visitor_module_any_op (void) -{ -} - -int -be_visitor_module_any_op::visit_module (be_module *node) -{ - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::visit_module - " - "codegen for scope failed\n"), -1); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_module/cdr_op.cpp b/TAO/TAO_IDL/be/be_visitor_module/cdr_op.cpp deleted file mode 100644 index 9f3fd486ddf..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_module/cdr_op.cpp +++ /dev/null @@ -1,56 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op.cpp -// -// = DESCRIPTION -// Visitor generating code for the CDR operators for types defined in Module's -// scope. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_module.h" - -ACE_RCSID(be_visitor_module, cdr_op, "$Id") - - -// *************************************************************************** -// Module visitor for generating CDR operator declarations in the client header -// and stub -// *************************************************************************** - -be_visitor_module_cdr_op::be_visitor_module_cdr_op (be_visitor_context *ctx) - : be_visitor_module (ctx) -{ -} - -be_visitor_module_cdr_op::~be_visitor_module_cdr_op (void) -{ -} - -int -be_visitor_module_cdr_op::visit_module (be_module *node) -{ - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module_cdr_op::visit_module - " - "codegen for scope failed\n"), -1); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_module/module.cpp b/TAO/TAO_IDL/be/be_visitor_module/module.cpp deleted file mode 100644 index 95414c29cb3..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_module/module.cpp +++ /dev/null @@ -1,816 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// module.cpp -// -// = DESCRIPTION -// Generic visitor generating code for Module -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_module.h" - -ACE_RCSID(be_visitor_module, module, "$Id$") - - -// ****************************************************** -// Generic Module visitor -// ****************************************************** - -be_visitor_module::be_visitor_module (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_module::~be_visitor_module (void) -{ -} - -// visit the Module node and its scope -int be_visitor_module::visit_module (be_module *node) -{ - // all we have to do is to visit the scope - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::visit_module - " - "codegen for scope failed\n"), -1); - } - return 0; -} - -// =all common visit methods for module visitor - -// visit a constant -int -be_visitor_module::visit_constant (be_constant *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_CH: - ctx.state (TAO_CodeGen::TAO_CONSTANT_CH); - break; - case TAO_CodeGen::TAO_MODULE_CS: - ctx.state (TAO_CodeGen::TAO_CONSTANT_CS); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - case TAO_CodeGen::TAO_MODULE_CI: - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_IH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - case TAO_CodeGen::TAO_MODULE_IS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_constant - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_constant - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_constant - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -//visit an enum -int -be_visitor_module::visit_enum (be_enum *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_CH); - break; - case TAO_CodeGen::TAO_MODULE_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_CS); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_CI: - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_IH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - case TAO_CodeGen::TAO_MODULE_IS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_enum - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_enum - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_enum - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an exception -int -be_visitor_module::visit_exception (be_exception *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_CH: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CH); - break; - case TAO_CodeGen::TAO_MODULE_CI: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CI); - break; - case TAO_CodeGen::TAO_MODULE_CS: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CS); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_IH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - case TAO_CodeGen::TAO_MODULE_IS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_exception - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_exception - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_exception - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an interface -int -be_visitor_module::visit_interface (be_interface *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_CH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CH); - break; - case TAO_CodeGen::TAO_MODULE_CI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CI); - break; - case TAO_CodeGen::TAO_MODULE_CS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CS); - break; - case TAO_CodeGen::TAO_MODULE_SH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_SH); - break; - case TAO_CodeGen::TAO_MODULE_IH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_IH); - break; - case TAO_CodeGen::TAO_MODULE_SI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_SI); - break; - case TAO_CodeGen::TAO_MODULE_SS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_SS); - break; - case TAO_CodeGen::TAO_MODULE_IS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_IS); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_interface - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_interface - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_interface - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an interface_fwd -int -be_visitor_module::visit_interface_fwd (be_interface_fwd *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_CH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_FWD_CH); - break; - case TAO_CodeGen::TAO_MODULE_CI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_FWD_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_FWD_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_FWD_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - case TAO_CodeGen::TAO_MODULE_CS: - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - case TAO_CodeGen::TAO_MODULE_IH: - case TAO_CodeGen::TAO_MODULE_IS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_interface_fwd - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_interface_fwd - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_interface_fwd - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -// visit an valuetype -int -be_visitor_module::visit_valuetype (be_valuetype *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_CH: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CH); - break; - case TAO_CodeGen::TAO_MODULE_CI: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CI); - break; - case TAO_CodeGen::TAO_MODULE_CS: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CS); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_IH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - case TAO_CodeGen::TAO_MODULE_IS: - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - return 0; // nothing to do, resp. not yet impl. - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_valuetype - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_valuetype - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_valuetype - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an valuetype_fwd -int -be_visitor_module::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_CH: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_FWD_CH); - break; - case TAO_CodeGen::TAO_MODULE_CI: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_FWD_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_FWD_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_FWD_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - case TAO_CodeGen::TAO_MODULE_CS: - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - case TAO_CodeGen::TAO_MODULE_IS: - case TAO_CodeGen::TAO_MODULE_IH: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_valuetype_fwd - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_valuetype_fwd - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_valuetype_fwd - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -// visit an structure -int -be_visitor_module::visit_structure (be_structure *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CH); - break; - case TAO_CodeGen::TAO_MODULE_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CI); - break; - case TAO_CodeGen::TAO_MODULE_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CS); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_IH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - case TAO_CodeGen::TAO_MODULE_IS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_structure - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_structure - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_structure - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an union -int -be_visitor_module::visit_union (be_union *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_CH: - ctx.state (TAO_CodeGen::TAO_UNION_CH); - break; - case TAO_CodeGen::TAO_MODULE_CI: - ctx.state (TAO_CodeGen::TAO_UNION_CI); - break; - case TAO_CodeGen::TAO_MODULE_CS: - ctx.state (TAO_CodeGen::TAO_UNION_CS); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_IH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - case TAO_CodeGen::TAO_MODULE_IS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_union - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_union - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_union - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit a typedef -int -be_visitor_module::visit_typedef (be_typedef *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CH); - break; - case TAO_CodeGen::TAO_MODULE_CI: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CI); - break; - case TAO_CodeGen::TAO_MODULE_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CS); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_MODULE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - case TAO_CodeGen::TAO_MODULE_IH: - case TAO_CodeGen::TAO_MODULE_IS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_typedef - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_typedef - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp b/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp deleted file mode 100644 index f109e3cd647..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_module/module_ch.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// module_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Module in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_module.h" - -ACE_RCSID(be_visitor_module, module_ch, "$Id$") - - -// ****************************************************** -// Module visitor for client header -// ****************************************************** - -be_visitor_module_ch::be_visitor_module_ch (be_visitor_context *ctx) - : be_visitor_module (ctx) -{ -} - -be_visitor_module_ch::~be_visitor_module_ch (void) -{ -} - -int -be_visitor_module_ch::visit_module (be_module *node) -{ - TAO_OutStream *os; // output stream - - if (!node->cli_hdr_gen () && !node->imported ()) - { - os = this->ctx_->stream (); - - // XXXASG - Modules really map to namespace. We need to see if our target - // compiler supports namespaces or not. This visitor generates a class for a - // module. We can have the factory generate another module visitor that can - // generate namespaces - - os->indent (); // start from whatever indentation level we were at - // now generate the class definition - *os << "TAO_NAMESPACE " // << idl_global->export_macro () - << " " << node->local_name () << be_nl - << "{\n"; - os->incr_indent (0); - - // generate code for the module definition by traversing thru the - // elements of its scope. We depend on the front-end to have made sure - // that only legal syntactic elements appear in our scope. - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module_ch::" - "visit_module - " - "codegen for scope failed\n"), -1); - } - - *os << be_uidt_nl - << "}; // module " << node->name () << "\n\n"; - - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_module/module_ih.cpp b/TAO/TAO_IDL/be/be_visitor_module/module_ih.cpp deleted file mode 100644 index d2c47ea3bd4..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_module/module_ih.cpp +++ /dev/null @@ -1,56 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// module_ih.cpp -// -// = DESCRIPTION -// Visitor generating code for Module in the implementation header -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_module.h" - -ACE_RCSID(be_visitor_module, module_ih, "$Id$") - -// ************************************************************ -// Module visitor for server header -// ************************************************************ - -be_visitor_module_ih::be_visitor_module_ih (be_visitor_context *ctx) - : be_visitor_module (ctx) -{ -} - -be_visitor_module_ih::~be_visitor_module_ih (void) -{ -} - -int -be_visitor_module_ih::visit_module (be_module *node) -{ - if (!node->impl_hdr_gen () && !node->imported ()) // not generated and not imported - { - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module_sh::" - "visit_module - " - "codegen for scope failed\n"), -1); - } - - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_module/module_sh.cpp b/TAO/TAO_IDL/be/be_visitor_module/module_sh.cpp deleted file mode 100644 index f3080384f59..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_module/module_sh.cpp +++ /dev/null @@ -1,83 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// module_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for Module in the server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_module.h" - -ACE_RCSID(be_visitor_module, module_sh, "$Id$") - - -// ************************************************************ -// Module visitor for server header -// ************************************************************ - -be_visitor_module_sh::be_visitor_module_sh (be_visitor_context *ctx) - : be_visitor_module (ctx) -{ -} - -be_visitor_module_sh::~be_visitor_module_sh (void) -{ -} - -int -be_visitor_module_sh::visit_module (be_module *node) -{ - TAO_OutStream *os; // output stream - - if (!node->srv_hdr_gen () && !node->imported ()) // not generated and not imported - { - os = this->ctx_->stream (); - - // generate the skeleton class name - - os->indent (); // start with whatever indentation level we are at - - // now generate the class definition. The prefix POA_ is prepended to our - // name only if we are the outermost module - *os << "TAO_NAMESPACE "; // << idl_global->export_macro () - - if (!node->is_nested ()) - // we are outermost module - *os << " POA_" << node->local_name () << be_nl; - else - // we are inside another module - *os << " " << node->local_name () << be_nl; - - *os << "{" << be_nl - << be_idt; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module_sh::" - "visit_module - " - "codegen for scope failed\n"), -1); - } - - os->decr_indent (); - *os << "};\n\n"; - } - return 0; - -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation.cpp b/TAO/TAO_IDL/be/be_visitor_operation.cpp deleted file mode 100644 index 3b4c8db91ac..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_operation.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Operation -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -// include all the individual files -#include "be_visitor_operation/operation.cpp" -#include "be_visitor_operation/arglist.cpp" -#include "be_visitor_operation/argument.cpp" -#include "be_visitor_operation/argument_invoke.cpp" -#include "be_visitor_operation/argument_marshal.cpp" -#include "be_visitor_operation/thru_poa_collocated_sh.cpp" -#include "be_visitor_operation/thru_poa_collocated_ss.cpp" -#include "be_visitor_operation/direct_collocated_sh.cpp" -#include "be_visitor_operation/direct_collocated_ss.cpp" -#include "be_visitor_operation/exceptlist_cs.cpp" -#include "be_visitor_operation/operation_ch.cpp" -#include "be_visitor_operation/operation_cs.cpp" -#include "be_visitor_operation/operation_sh.cpp" -#include "be_visitor_operation/operation_ih.cpp" -#include "be_visitor_operation/operation_ss.cpp" -#include "be_visitor_operation/operation_is.cpp" -#include "be_visitor_operation/rettype.cpp" -#include "be_visitor_operation/rettype_is.cpp" -#include "be_visitor_operation/rettype_assign_ss.cpp" -#include "be_visitor_operation/rettype_docall_cs.cpp" -#include "be_visitor_operation/rettype_marshal_ss.cpp" -#include "be_visitor_operation/rettype_post_docall_cs.cpp" -#include "be_visitor_operation/rettype_post_upcall_ss.cpp" -#include "be_visitor_operation/rettype_pre_docall_cs.cpp" -#include "be_visitor_operation/rettype_return_cs.cpp" -#include "be_visitor_operation/rettype_vardecl_cs.cpp" -#include "be_visitor_operation/rettype_vardecl_ss.cpp" -#include "be_visitor_operation/tie_sh.cpp" -#include "be_visitor_operation/tie_si.cpp" -#include "be_visitor_operation/compiled_marshal.cpp" -#include "be_visitor_operation/rettype_pre_invoke_cs.cpp" -#include "be_visitor_operation/ami_ch.cpp" -#include "be_visitor_operation/ami_cs.cpp" -#include "be_visitor_operation/ami_arglist.cpp" -#include "be_visitor_operation/ami_handler_operation_ch.cpp" -#include "be_visitor_operation/ami_handler_arglist.cpp" -#include "be_visitor_operation/ami_handler_operation_cs.cpp" -#include "be_visitor_operation/ami_handler_skeleton_cs.cpp" -#include "be_visitor_operation/ami_handler_argument_marshal.cpp" - -ACE_RCSID(be, be_visitor_operation, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_arglist.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_arglist.cpp deleted file mode 100644 index 17283768469..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_arglist.cpp +++ /dev/null @@ -1,186 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_arglist.cpp -// -// = DESCRIPTION -// Visitor generating code for the parameter list of the Operation signature. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, ami_arglist, "$Id$") - - -// ************************************************************ -// operation visitor to generate the argument list for the AMI -// stub. -// We have separated code generation for this from the 4 main -// visitors to avoid code duplication and tight coupling - // ************************************************************ - -be_visitor_operation_ami_arglist::be_visitor_operation_ami_arglist (be_visitor_context - *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation_ami_arglist::~be_visitor_operation_ami_arglist (void) -{ -} - -int -be_visitor_operation_ami_arglist::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - *os << " (" << be_idt << be_idt << "\n"; - - - // Start with current indentation level. - os->indent (); - - - be_decl *interface = - be_interface::narrow_from_scope (node->defined_in ())->decl (); - if (interface == 0) - cerr << "Invalid interface"; - - // AMI Handler argument. - *os << "AMI_" - << interface->fullname () - << "_Handler_ptr " - << "_tao_ami_handler" - << ",\n"; - // #endif /* TAO_IDL_HAS_AMI */ - - // all we do is hand over code generation to our scope - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_arglist::" - "visit_operation - " - "codegen for scope failed\n"), - -1); - } - - // Last argument - is always CORBA::Environment. - - os->indent (); - - *os << "CORBA::Environment &ACE_TRY_ENV"; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_AMI_ARGLIST_CH) - { - *os << " = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt; - } - - // Done with the argument list. - *os << be_uidt_nl << ")" << be_uidt; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_AMI_ARGLIST_CH) - *os << ";"; - - *os << "\n"; - - return 0; -} - -int -be_visitor_operation_ami_arglist::visit_argument (be_argument *node) -{ - // Get the visitor that will dump the argument's mapping in the operation - // signature. - be_visitor_context ctx (*this->ctx_); - - // First grab the interface definition inside which this operation is - // defined. We need this since argument types may very well be declared - // inside the scope of the interface node. In such cases, we would like to - // generate the appropriate relative scoped names. - be_operation *op = this->ctx_->be_scope_as_operation (); - if (!op) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_arglist::" - "visit_argument - " - "Bad operation\n"), - -1); - } - - // We need the interface node in which this operation was defined. However, - // if this operation node was an attribute node in disguise, we get this - // information from the context - be_interface *intf; - intf = this->ctx_->attribute () - ? be_interface::narrow_from_scope (this->ctx_->attribute ()->defined_in ()) - : be_interface::narrow_from_scope (op->defined_in ()); - - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_arglist::" - "visit_argument - " - "Bad interface\n"), - -1); - } - ctx.scope (intf); // set new scope - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OPERATION_AMI_ARGLIST_CH: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_AMI_ARGLIST_CH); - break; - - case TAO_CodeGen::TAO_OPERATION_AMI_ARGLIST_CS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_AMI_ARGLIST_CS); - break; - - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_arglist::" - "visit_argument - " - "Bad context\n"), - -1); - } - } - - // grab a visitor - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_arglist::" - "visit_argument - " - "Bad visitor\n"), - -1); - } - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_arglist::" - "visit_argument - " - "codegen for ami_arglist failed\n"), - -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_ch.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_ch.cpp deleted file mode 100644 index dc8aa70a9af..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_ch.cpp +++ /dev/null @@ -1,98 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_ch.cpp -// -// = DESCRIPTION -// Visitor generating AMI stub code for Operation node in the -// client header. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, operation_ami_ch, "$Id$") - - -// ****************************************************** -// Visitor for generating AMI stub for "operation" in client header. -// ****************************************************** - -be_visitor_operation_ami_ch::be_visitor_operation_ami_ch (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ami_ch::~be_visitor_operation_ami_ch (void) -{ -} - -int -be_visitor_operation_ami_ch::visit_operation (be_operation *node) -{ - // No sendc method for oneway operations. - if (node->flags () == AST_Operation::OP_oneway) - return 0; - - // Output stream. - TAO_OutStream *os ; - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *os << "virtual "; - - // STEP I: Return type is void. - *os << "void "; - - // STEP 2: generate the operation name. - - // First the sendc prefix. - *os << "sendc_"; - *os << node->local_name (); - - // STEP 3: generate the argument list with the appropriate - // mapping. For these we grab a visitor that generates the - // parameter listing. - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_AMI_ARGLIST_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_ami_ch::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_ch::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp deleted file mode 100644 index 3f87f4430db..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp +++ /dev/null @@ -1,787 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation in the stubs file. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, operation_ami_cs, "$Id$") - - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -be_visitor_operation_ami_cs::be_visitor_operation_ami_cs (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ami_cs::~be_visitor_operation_ami_cs (void) -{ -} - -// Processing to be done after every element in the scope is -// processed. -int -be_visitor_operation_ami_cs::post_process (be_decl *bd) -{ - // all we do here is to insert a comma and a newline - TAO_OutStream *os = this->ctx_->stream (); - if (!this->last_node (bd)) - *os << ",\n"; - return 0; -} - -int -be_visitor_operation_ami_cs::visit_operation (be_operation *node) -{ - // No sendc method for oneway operations. - if (node->flags () == AST_Operation::OP_oneway) - return 0; - - TAO_OutStream *os; // output stream - be_visitor_context ctx; // visitor context - be_visitor *visitor; // visitor - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node for future use - - os->indent (); // start with the current indentation level - - // Generate the return type mapping. Return type is simply void. - *os << "void" << be_nl; - - // Generate the operation name. - - // Grab the scope name. - be_decl *parent = - be_scope::narrow_from_scope (node->defined_in ())->decl (); - if (parent == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "scope name is nil\n"), - -1); - - // Generate the scope::operation name. - *os << parent->fullname () - << "::" - << "sendc_" - << node->local_name ()->get_string (); - - // Generate the argument list with the appropriate mapping (same as - // in the header file) - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_AMI_ARGLIST_CS); - visitor = tao_cg->make_visitor (&ctx); - if ((!visitor) || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - // Generate the actual code for the stub. However, if any of the argument - // types is "native", we flag a MARSHAL exception. - // last argument - is always CORBA::Environment - *os << "{" << be_idt_nl; - - // Create the return type node. Return type is void. - be_predefined_type *bt = 0; - ACE_NEW_RETURN (bt, - be_predefined_type (AST_PredefinedType::PT_void, - new UTL_ScopedName - (new Identifier - ("void", 1, 0, I_FALSE), 0), - 0), - -1); - - // generate any pre stub info if and only if none of our parameters is of the - // native type - if (!node->has_native ()) - { - // native type does not exist. - - // Generate any "pre" stub information such as tables or declarations - // This is a template method and the actual work will be done by the - // derived class - if (this->gen_pre_stub_info (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "gen_pre_stub_info failed\n"), - -1); - } - } - - if (node->has_native ()) // native exists => no stub - { - if (this->gen_raise_exception (bt, - "CORBA::MARSHAL", - "") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for return var failed\n"), - -1); - } - } - else - { - // Generate code that retrieves the underlying stub object and then - // invokes do_static_call on it. - *os << be_nl - << "TAO_Stub *istub = this->_stubobj ();" << be_nl - << "if (istub == 0)" << be_idt_nl; - - // if the stub object was bad, then we raise a system exception - if (this->gen_raise_exception (bt, "CORBA::INV_OBJREF", - "") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for checking exception failed\n"), - -1); - - } - *os << be_uidt_nl << "\n"; - - // do any pre marshal and invoke processing with return type. This - // includes allocating memory, initialization. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_PRE_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for retval pre invoke failed\n"), - -1); - } - -#if 0 - // @@ I am not sure whether we need this. - // Do any pre marshal and invoke stuff with arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_OPERATION_ARG_PRE_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for argument pre invoke failed\n"), - -1); - } -#endif /* 0 */ - - // Generate the code for marshaling in the parameters and transmitting - // them. - if (this->gen_marshal_and_invoke (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for marshal and invoke failed\n"), - -1); - - } - - // No return values. - *os << "return;"; - } // end of if (!native) - - *os << be_uidt_nl << "}\n\n"; - - return 0; -} - -int -be_visitor_operation_ami_cs::visit_argument (be_argument *node) -{ - // this method is used to generate the ParamData table entry - - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; // argument type - - // retrieve the type for this argument - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - os->indent (); - *os << "{" << bt->tc_name () << ", "; - switch (node->direction ()) - { - case AST_Argument::dir_IN: - *os << "PARAM_IN, "; - break; - case AST_Argument::dir_INOUT: - *os << "PARAM_INOUT, "; - break; - case AST_Argument::dir_OUT: - *os << "PARAM_OUT, "; - break; - } - *os << "0}"; - - return 0; -} - -int -be_visitor_operation_ami_cs::gen_raise_exception (be_type *bt, - const char *excep, - const char *completion_status) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - if (this->void_return_type (bt)) - { - *os << "ACE_THROW (" - << excep << " (" << completion_status << "));\n"; - } - else - { - *os << "ACE_THROW_RETURN (" - << excep << " (" << completion_status << "), "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "gen_raise_exception - " - "codegen for return var failed\n"), - -1); - } - *os << ");\n"; - } - return 0; -} - -int -be_visitor_operation_ami_cs::gen_check_exception (be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - // check if there is an exception - if (this->void_return_type (bt)) - { - *os << "ACE_CHECK;\n"; - //<< "_tao_environment);\n"; - } - else - { - *os << "ACE_CHECK_RETURN ("; - // << "_tao_environment, "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "gen_check_exception - " - "codegen failed\n"), - -1); - } - *os << ");\n"; - } - - return 0; -} - -// ************************************************************ -// Operation visitor for interpretive client stubs -// ************************************************************ - -be_interpretive_visitor_operation_ami_cs:: -be_interpretive_visitor_operation_ami_cs (be_visitor_context *ctx) - : be_visitor_operation_ami_cs (ctx) -{ -} - -be_interpretive_visitor_operation_ami_cs::~be_interpretive_visitor_operation_ami_cs (void) -{ -} - -// concrete implementation of the template methods - -int -be_interpretive_visitor_operation_ami_cs::gen_pre_stub_info (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - // Generate the TAO_Param_Data table - os->indent (); - *os << "static const TAO_Param_Data "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << - "_paramdata [] = " << be_nl; - *os << "{\n"; - os->incr_indent (); - - // entry for the return type - *os << "{" << bt->tc_name () << ", PARAM_RETURN, 0}"; - if (node->nmembers () > 0) - *os << ",\n"; - - // generate entries for the param data table for arguments - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_cs::" - "gen_pre_stub_info - " - "visit scope failed\n"), - -1); - } - *os << "\n"; - os->decr_indent (); - *os << "}; // " << node->flatname () << "_paramdata\n\n"; - - // Check if this operation raises any exceptions. In that case, we must - // generate a list of exception typecodes. This is not valid for - // attributes - if (!this->ctx_->attribute ()) - { - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_interpretive_visitor_operation_ami_cs::" - "gen_pre_stub_info - " - "Exceptionlist generation error\n"), - -1); - } - } - - // now generate the calldata table - os->indent (); - *os << "static const TAO_Call_Data "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () - << "_calldata = " << be_nl - << "{" - << "\""; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->local_name () << "\", "; - - // are we oneway or two operation? - if (node->flags () == AST_Operation::OP_oneway) - { - *os << "0, "; // for false - } - else - { - *os << "1, "; // for true - } - // insert the size of the paramdata table i.e., number of arguments + 1 - // for return type - *os << (node->argument_count () + 1) << ", "; - - // insert the address of the paramdata table - // first check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_paramdata, "; - - // insert exception list (if any) - node for attributes - if (this->ctx_->attribute ()) - *os << "0, 0};\n\n"; - else - { - if (node->exceptions ()) - { - *os << node->exceptions ()->length () - << ", _tao_" << node->flatname () << "_exceptiondata};\n\n"; - } - else - *os << "0, 0};\n\n"; - } - return 0; -} - -int -be_interpretive_visitor_operation_ami_cs::gen_marshal_and_invoke (be_operation - *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - *os << "void* _tao_arguments[" - << node->argument_count () + 1 << "];" << be_nl - << "const void** _tao_arg = ACE_const_cast (const void**,_tao_arguments);" << be_nl - << "*_tao_arg = "; - - // pass the appropriate return value to docall - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - *os << "; _tao_arg++;\n"; - - // pass each argument to do_static_call - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - - // call do_static_call with appropriate number of arguments - os->indent (); - *os << "istub->do_static_call (" << be_idt_nl - << "ACE_TRY_ENV, " << be_nl - << "&"; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_calldata," << be_nl - << "_tao_arguments" << be_uidt_nl - << ");\n"; - - os->indent (); - // check if there is an exception - if (this->gen_check_exception (bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for checking exception failed\n"), - -1); - - } - - // do any post processing for the arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_POST_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for args post do_static_call failed\n"), - -1); - } - - // do any post processing for the retval - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_POST_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for return type post do_static_call failed\n"), - -1); - } - - return 0; -} - -// ************************************************************ -// Operation visitor for compiled client stubs -// ************************************************************ - -be_compiled_visitor_operation_ami_cs:: -be_compiled_visitor_operation_ami_cs (be_visitor_context *ctx) - : be_visitor_operation_ami_cs (ctx) -{ -} - -be_compiled_visitor_operation_ami_cs::~be_compiled_visitor_operation_ami_cs (void) -{ -} - -// concrete implementation of the template methods - -int -be_compiled_visitor_operation_ami_cs::gen_pre_stub_info (be_operation *node, - be_type *) -{ - - // Check if this operation raises any exceptions. In that case, we must - // generate a list of exception typecodes. This is not valid for - // attributes - if (!this->ctx_->attribute ()) - { - be_visitor_context ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_ami_cs::" - "gen_pre_stub_info - " - "Exceptionlist generation error\n"), - -1); - } - } - - return 0; -} - -int -be_compiled_visitor_operation_ami_cs::gen_marshal_and_invoke (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - - // Create the GIOP_Invocation and grab the outgoing CDR stream. - switch (node->flags ()) - { - case AST_Operation::OP_oneway: - // If it is a oneway, we wouldnt have come here to generate AMI - // sendc method. - break; - default: - *os << "TAO_GIOP_Twoway_Asynch_Invocation _tao_call "; - } - *os << "(" << be_idt << be_idt_nl - << "istub," << be_nl; - - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "\"_set_\""; - else - *os << "\"_get_\""; - } - *os << "\"" << node->local_name () - << "\"," << be_nl - << "istub->orb_core ()," << be_nl; - - // Next argument is the reply handler skeleton for this method. - - // Get the interface. - be_decl *interface = be_interface::narrow_from_scope (node->defined_in ())->decl (); - - *os << "&AMI_" << interface->fullname () << "_Handler" << "::" - << node->local_name () << "_skel," << be_nl; - - // Next argument is the ami handler passed in for this method. - *os << "_tao_ami_handler" << be_uidt_nl - - << ");" << be_uidt_nl; - - *os << "\n" << be_nl - << "for (;;)" << be_nl - << "{" << be_idt_nl; - - *os << "_tao_call.start (ACE_TRY_ENV);" << be_nl; - // Check if there is an exception. - // Return type is void, so we know what to generate here. - *os << "ACE_CHECK;"; - - // Now make sure that we have some in and inout - // parameters. Otherwise, there is nothing to be marshaled in. - if (this->has_param_type (node, AST_Argument::dir_IN) || - this->has_param_type (node, AST_Argument::dir_INOUT)) - { - *os << be_nl - << "TAO_OutputCDR &_tao_out = _tao_call.out_stream ();" - << be_nl - << "if (!(\n" << be_idt << be_idt << be_idt; - - // Marshal each in and inout argument. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_OPERATION_ARG_INVOKE_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_OUTPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - *os << be_uidt << be_uidt_nl - << "))" << be_nl; - - // If marshaling fails, raise exception. - if (this->gen_raise_exception (bt, "CORBA::MARSHAL", - "") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and invoke - " - "codegen for return var failed\n"), - -1); - } - *os << be_uidt; - } - - *os << be_nl - << "int _invoke_status =" << be_idt_nl; - if (node->exceptions ()) - { - *os << "_tao_call.invoke (_tao_" << node->flatname () - << "_exceptiondata, " - << node->exceptions ()->length () - << ", ACE_TRY_ENV);"; - } - else - { - *os << "_tao_call.invoke (0, 0, ACE_TRY_ENV);"; - } - - *os << be_uidt_nl; - - // Check if there is an exception. - if (this->gen_check_exception (bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for checking exception failed\n"), - -1); - } - - *os << be_nl - << "if (_invoke_status == TAO_INVOKE_RESTART)" << be_idt_nl - << "continue;" << be_uidt_nl - << "// if (_invoke_status == TAO_INVOKE_EXCEPTION)" << be_idt_nl - << "// cannot happen" << be_uidt_nl - << "if (_invoke_status != TAO_INVOKE_OK)" << be_nl - << "{" << be_idt_nl; - - if (this->gen_raise_exception (bt, - "CORBA::UNKNOWN", - "TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and invoke - " - "codegen for return var failed\n"), - -1); - } - - *os << be_uidt_nl - << "}" << be_nl - << "break;" << be_nl - << be_uidt_nl << "}" << be_nl; - - // Return type is void and we are going to worry about OUT or INOUT - // parameters. Return from here. - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_arglist.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_arglist.cpp deleted file mode 100644 index 4670062f2df..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_arglist.cpp +++ /dev/null @@ -1,325 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_arglist.cpp -// -// = DESCRIPTION -// Visitor generating code for the parameter list of the AMI -// Handler's call back Operation signature. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, ami_handler_arglist, "$Id$") - - -// ************************************************************ -// operation visitor to generate the argument list. -// We have separated code generation for this from the 4 main -// visitors to avoid code duplication and tight coupling -// ************************************************************ - -be_visitor_operation_ami_handler_arglist::be_visitor_operation_ami_handler_arglist (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -// Visit the scope and its elements. -// This implementation is the same as -// . The variation is that it calls the -// only if the return value of the is 1. We -// need to do this since we have to differentiate between an argument -// that was printed and an argument that was skipped in the signature. - -int -be_visitor_operation_ami_handler_arglist::visit_scope (be_scope *node) -{ - // Proceed if the number of members in our scope is greater than 0. - if (node->nmembers () > 0) - { - // initialize an iterator to iterate thru our scope - UTL_ScopeActiveIterator *si; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (node, - UTL_Scope::IK_decls), - -1); - this->elem_number_ = 0; - // continue until each element is visited - while (!si->is_done ()) - { - AST_Decl *d = si->item (); - if (!d) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "bad node in this scope\n"), -1); - - } - be_decl *bd = be_decl::narrow_from_decl (d); - // set the scope node as "node" in which the code is being - // generated so that elements in the node's scope can use it - // for code generation - - this->ctx_->scope (node->decl ()); - - // set the node to be visited - this->ctx_->node (bd); - this->elem_number_++; - - // Do any pre processing using the next item info. - if (this->pre_process (bd) == -1) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "pre processing failed\n"), -1); - } - - // Send the visitor. - int visitor_result = 0; - if (bd == 0 || (visitor_result = bd->accept (this)) == -1) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "codegen for scope failed\n"), -1); - - } - - // Do any post processing using this item info. - if (visitor_result == 1) - this->post_process (bd); - - // Next argument. - si->next (); - } // end of while loop - delete si; - } // end of if - - return 0; -} - -be_visitor_operation_ami_handler_arglist::~be_visitor_operation_ami_handler_arglist (void) -{ -} - -int -be_visitor_operation_ami_handler_arglist::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - *os << " (" << be_idt << be_idt << be_nl; - - // First argument is a the return value of the operation. - - // Indent. - os->indent (); - - // Get the return type. - be_type *bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_arglist::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // Grab the visitor. - - be_visitor_context ctx = *this->ctx_; - - // Set the state. - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_RESULT_ARG); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // Pass the visitor. - int result_printed = bt->accept (visitor); - if (result_printed == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_arglist::" - "visit_operation - " - "Bad return type\n"), - -1); - } - delete visitor; - visitor = 0; - - if (result_printed) - *os << ", " << be_nl; - - // Rest of the arguments. - - // All we do is hand over code generation to our scope. - int args_printed = this->visit_scope (node); - if (args_printed == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_arglist::" - "visit_operation - " - "codegen for scope failed\n"), - -1); - } - - // Generate the CORBA::Environment parameter for the alternative - // mapping. - if (!idl_global->exception_support ()) - { - // If the operation node has parameters, then we need to insert - // a comma. - // @@ Fix this. - // if (result_printed || args_printed) - // *os << "," << be_nl; - - os->indent (); - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CH: - // Last argument - is always CORBA::Environment - *os << "CORBA::Environment &ACE_TRY_ENV"; - *os << " = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt; - break; - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CS: - // Last argument - is always CORBA::Environment. - *os << "CORBA::Environment &ACE_TRY_ENV"; - break; - } - } - *os << be_uidt_nl << ")" << be_uidt; - - // Now generate the throw specs. - *os << be_idt_nl << "ACE_THROW_SPEC ((CORBA::SystemException))" - << be_uidt_nl; - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CH: - *os << ";" << be_nl << be_nl; - break; - default: - *os << be_nl; - } - return 0; -} - -int -be_visitor_operation_ami_handler_arglist::visit_argument (be_argument *node) -{ - // Get the visitor that will dump the argument's mapping in the - // operation signature. - be_visitor_context ctx (*this->ctx_); - - // first grab the interface definition inside which this operation is - // defined. We need this since argument types may very well be declared - // inside the scope of the interface node. In such cases, we would like to - // generate the appropriate relative scoped names. - be_operation *op = this->ctx_->be_scope_as_operation (); - if (!op) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_arglist::" - "visit_argument - " - "Bad operation\n"), - -1); - } - - // We need the interface node in which this operation was defined. However, - // if this operation node was an attribute node in disguise, we get this - // information from the context. - be_interface *intf; - intf = this->ctx_->attribute () - ? be_interface::narrow_from_scope (this->ctx_->attribute ()->defined_in ()) - : be_interface::narrow_from_scope (op->defined_in ()); - - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_arglist::" - "visit_argument - " - "Bad interface\n"), - -1); - } - ctx.scope (intf); // set new scope - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CH: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_AMI_HANDLER_ARGLIST_CH); - break; - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_AMI_HANDLER_ARGLIST_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_arglist::" - "visit_argument - " - "Bad context\n"), - -1); - } - } - - // Grab a visitor. - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_arglist::" - "visit_argument - " - "Bad visitor\n"), - -1); - } - - // Pass the visitor. - - int result = node->accept (visitor); - if (result == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_arglist::" - "visit_argument - " - "codegen for ami_handler_arglist failed\n"), - -1); - } - delete visitor; - return result; -} - -int -be_visitor_operation_ami_handler_arglist::post_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // if we are not the last node in the list of arguments, generate a comma - // else decide if we are generating code to support true exceptions - in - // which case there will not be any CORBA::Environment parameter - if (!this->last_node (bd)) - { - *os << ",\n"; - } - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_arglist_ch.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_arglist_ch.cpp deleted file mode 100644 index 121f7509a5b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_arglist_ch.cpp +++ /dev/null @@ -1,181 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_arglist_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for the parameter list of the AMI -// Handler's call back Operation signature. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, ami_handler_arglist_ch, "$Id$") - - -// ************************************************************ -// operation visitor to generate the argument list. -// We have separated code generation for this from the 4 main -// visitors to avoid code duplication and tight coupling -// ************************************************************ - -be_visitor_operation_ami_handler_arglist_ch::be_visitor_operation_ami_handler_arglist_ch (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ami_handler_arglist_ch::~be_visitor_operation_ami_handler_arglist_ch (void) -{ -} - -int -be_visitor_operation_ami_handler_arglist_ch::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - *os << " (" << be_idt << be_idt << "\n"; - - // All we do is hand over code generation to our scope. - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_arglist_ch::" - "visit_operation - " - "codegen for scope failed\n"), - -1); - } - - // No argument for exception. What will you do if you get the - // exception from the call back method? - - // Arglist is over. - *os << be_uidt_nl << ")" << be_uidt; - - // @@ No THROW SPECs. You can do anything if the call back guy - // throws an exception. But I am not too sure about - // this. (Alex). - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CH: - // Each method is pure virtual in the header. - *os << " = 0;\n\n"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_arglist_ch::" - "visit_operation - " - "Bad operation\n"), - -1); - } - - return 0; -} - -int -be_visitor_operation_ami_handler_arglist_ch::visit_argument (be_argument *node) -{ - // Get the visitor that will dump the argument's mapping in the - // operation signature. - be_visitor_context ctx (*this->ctx_); - - // first grab the interface definition inside which this operation is - // defined. We need this since argument types may very well be declared - // inside the scope of the interface node. In such cases, we would like to - // generate the appropriate relative scoped names. - be_operation *op = this->ctx_->be_scope_as_operation (); - if (!op) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_arglist_ch::" - "visit_argument - " - "Bad operation\n"), - -1); - } - - // We need the interface node in which this operation was defined. However, - // if this operation node was an attribute node in disguise, we get this - // information from the context. - be_interface *intf; - intf = this->ctx_->attribute () - ? be_interface::narrow_from_scope (this->ctx_->attribute ()->defined_in ()) - : be_interface::narrow_from_scope (op->defined_in ()); - - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_arglist_ch::" - "visit_argument - " - "Bad interface\n"), - -1); - } - ctx.scope (intf); // set new scope - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_AMI_HANDLER_ARGLIST); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_arglist_ch::" - "visit_argument - " - "Bad context\n"), - -1); - } - } - - // Grab a visitor. - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_arglist_ch::" - "visit_argument - " - "Bad visitor\n"), - -1); - } - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_arglist_ch::" - "visit_argument - " - "codegen for ami_handler_arglist_ch failed\n"), - -1); - } - delete visitor; - return 0; -} - -int -be_visitor_operation_ami_handler_arglist_ch::post_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // if we are not the last node in the list of arguments, generate a comma - // else decide if we are generating code to support true exceptions - in - // which case there will not be any CORBA::Environment parameter - if (!this->last_node (bd)) - { - *os << ",\n"; - } - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_argument_marshal.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_argument_marshal.cpp deleted file mode 100644 index 0707400379e..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_argument_marshal.cpp +++ /dev/null @@ -1,172 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_argument_marshal.cpp -// -// = DESCRIPTION -// Visitor to pass arguments to the CDR operators. This one helps in -// generating the && and the , at the right place. This one is for the -// skeleton side. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, ami_handler_argument_marshal, "$Id$") - - -// ************************************************************ -// operation visitor to handle the passing of arguments to the CDR operators -// ************************************************************ - -be_compiled_visitor_operation_ami_handler_argument_marshal:: -be_compiled_visitor_operation_ami_handler_argument_marshal (be_visitor_context - *ctx) - : be_visitor_operation_argument (ctx), - last_arg_printed_ (be_compiled_visitor_operation_ami_handler_argument_marshal::TAO_ARG_NONE) -{ -} - -be_compiled_visitor_operation_ami_handler_argument_marshal:: -~be_compiled_visitor_operation_ami_handler_argument_marshal (void) -{ -} - -int -be_compiled_visitor_operation_ami_handler_argument_marshal::pre_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - be_argument *arg = be_argument::narrow_from_decl (bd); - - if (!arg) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_ami_handler_argument_marshal" - "::post_process - " - "Bad argument node\n"), - -1); - } - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - // nothing - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - // nothing - } - break; - case AST_Argument::dir_INOUT: - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_ami_handler_argument_marshal::TAO_ARG_NONE) - *os << " &&\n"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_ami_handler_argument_marshal::TAO_ARG_NONE) - *os << " &&\n"; - } - break; - case AST_Argument::dir_OUT: - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_ami_handler_argument_marshal::TAO_ARG_NONE) - *os << " &&\n"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_ami_handler_argument_marshal::TAO_ARG_NONE) - *os << " &&\n"; - } - break; - } - - return 0; -} - -int -be_compiled_visitor_operation_ami_handler_argument_marshal::post_process (be_decl *bd) -{ - be_argument *arg = be_argument::narrow_from_decl (bd); - - if (!arg) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_ami_handler_argument_marshal" - "::post_process - " - "Bad argument node\n"), - -1); - } - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - // these arguments don't get printed for the << operator on the stub - break; - case AST_Argument::dir_INOUT: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_ami_handler_argument_marshal::TAO_ARG_INOUT; - break; - case AST_Argument::dir_OUT: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_ami_handler_argument_marshal::TAO_ARG_OUT; - break; - } - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - // these arguments don't get printed for the >> on the stub - break; - case AST_Argument::dir_INOUT: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_ami_handler_argument_marshal::TAO_ARG_INOUT; - break; - case AST_Argument::dir_OUT: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_ami_handler_argument_marshal::TAO_ARG_OUT; - break; - } - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_ami_handler_argument_marshal" - "::post_process - " - "Bad sub state\n"), - -1); - } - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation.cpp deleted file mode 100644 index 30f38acf344..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_operation_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for AMI Handler call back operation in -// the client header. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, ami_handler_operation_ch, "$Id$") - - -// ************************************************************ -// Operation visitor for server header -// ************************************************************ - -be_visitor_operation_ami_handler_operation_ch::be_visitor_operation_ami_handler_operation_ch (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ami_handler_operation_ch::~be_visitor_operation_ami_handler_operation_ch (void) -{ -} - -int -be_visitor_operation_ami_handler_operation_ch::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *os << "virtual "; - - // STEP I: generate the return type. Return type is simpy void. - *os << "void "; - - // STEP 2: generate the operation name. - *os << " " << node->local_name (); - - // STEP 3: generate the argument list with the appropriate - // mapping. For these we grab a visitor that generates the - // parameter listing. - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_ami_handler_operation_ch::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_ch::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - // Generating the skeleton method. - - // Skeleton not necessary for collocated class. - if (this->ctx_->state () == TAO_CodeGen::TAO_COLLOCATED_AMI_HANDLER_OPERATION_CH) - { - return 0; - /* NOT REACHED */ - } - - // Generate the corresponding static skeleton method for this - // operation only if there was no "native" type. - if (!node->has_native ()) - { - // Next line. - *os << be_nl; - - // Indent. - os->indent (); - - *os << "static void "; - // Check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->local_name () << - "_skel (" << be_idt << be_idt_nl; - - // Different skeletons for the AMI Handler class and the servant - // class. - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_AMI_HANDLER_SERVANT_OPERATION_CH: - *os << "CORBA::ServerRequest &_tao_req, " << be_nl - << "void *_tao_obj, " << be_nl - << "void *_tao_context, " << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt << "\n\n"; - break; - - case TAO_CodeGen::TAO_AMI_HANDLER_STUB_OPERATION_CH: - *os << "TAO_InputCDR &_tao_reply_cdr, " << be_nl - << "Messaging::ReplyHandler_ptr _tao_reply_handler, " << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt << "\n\n"; - break; - - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_ch::" - "visit_operation - " - "Unknown state\n"), - -1); - } - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation_ch.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation_ch.cpp deleted file mode 100644 index 30f38acf344..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation_ch.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_operation_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for AMI Handler call back operation in -// the client header. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, ami_handler_operation_ch, "$Id$") - - -// ************************************************************ -// Operation visitor for server header -// ************************************************************ - -be_visitor_operation_ami_handler_operation_ch::be_visitor_operation_ami_handler_operation_ch (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ami_handler_operation_ch::~be_visitor_operation_ami_handler_operation_ch (void) -{ -} - -int -be_visitor_operation_ami_handler_operation_ch::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *os << "virtual "; - - // STEP I: generate the return type. Return type is simpy void. - *os << "void "; - - // STEP 2: generate the operation name. - *os << " " << node->local_name (); - - // STEP 3: generate the argument list with the appropriate - // mapping. For these we grab a visitor that generates the - // parameter listing. - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_ami_handler_operation_ch::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_ch::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - // Generating the skeleton method. - - // Skeleton not necessary for collocated class. - if (this->ctx_->state () == TAO_CodeGen::TAO_COLLOCATED_AMI_HANDLER_OPERATION_CH) - { - return 0; - /* NOT REACHED */ - } - - // Generate the corresponding static skeleton method for this - // operation only if there was no "native" type. - if (!node->has_native ()) - { - // Next line. - *os << be_nl; - - // Indent. - os->indent (); - - *os << "static void "; - // Check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->local_name () << - "_skel (" << be_idt << be_idt_nl; - - // Different skeletons for the AMI Handler class and the servant - // class. - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_AMI_HANDLER_SERVANT_OPERATION_CH: - *os << "CORBA::ServerRequest &_tao_req, " << be_nl - << "void *_tao_obj, " << be_nl - << "void *_tao_context, " << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt << "\n\n"; - break; - - case TAO_CodeGen::TAO_AMI_HANDLER_STUB_OPERATION_CH: - *os << "TAO_InputCDR &_tao_reply_cdr, " << be_nl - << "Messaging::ReplyHandler_ptr _tao_reply_handler, " << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt << "\n\n"; - break; - - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_ch::" - "visit_operation - " - "Unknown state\n"), - -1); - } - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation_cs.cpp deleted file mode 100644 index 89d14a4d74e..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_operation_cs.cpp +++ /dev/null @@ -1,810 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_operation_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation in the stubs file. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, ami_handler_operation_cs, "$Id$") - - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -be_visitor_operation_ami_handler_operation_cs::be_visitor_operation_ami_handler_operation_cs (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ami_handler_operation_cs::~be_visitor_operation_ami_handler_operation_cs (void) -{ -} - -// processing to be done after every element in the scope is processed -int -be_visitor_operation_ami_handler_operation_cs::post_process (be_decl *bd) -{ - // all we do here is to insert a comma and a newline - TAO_OutStream *os = this->ctx_->stream (); - if (!this->last_node (bd)) - *os << ",\n"; - return 0; -} - -int -be_visitor_operation_ami_handler_operation_cs::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node - be_visitor_context ctx; // visitor context - be_visitor *visitor; // visitor - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node for future use - - // Start with the current indentation level. - os->indent (); - - // Init the return type variable. - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_operation_cs::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // Generate the return type. Return type is simply void. - *os << "void " << be_nl; - - // Get the scope name. - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - if (parent == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_cs::" - "visit_operation - " - "scopeless operation :-<\n"), - -1); - } - - // Genereate scope name. - *os << parent->compute_name ("AMI_", "_Handler"); - - // Generate the operation name. - *os << "::" << node->local_name (); - - // Generate the argument list with the appropriate mapping (same as - // in the header file). - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARGLIST_CS); - visitor = tao_cg->make_visitor (&ctx); - if ((!visitor) || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_cs::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - os->indent (); - // Generate the actual code for the stub. However, if any of the argument - // types is "native", we flag a MARSHAL exception. - // last argument - is always CORBA::Environment - *os << "{" << be_idt_nl; - - // Deal with differences between IDL mapping for true C++ exceptions and - // alternate mapping. Since our code uses the ACE_TRY_ENV variable in a - // number of places, for the true exception case, we will have to explicitly - // declare the ACE_TRY_ENV variable. - *os << this->gen_environment_var () << be_nl; - - // Generate any pre stub info if and only if none of our parameters is of the - // native type. - if (!node->has_native ()) - { - // native type does not exist. - - // Generate any "pre" stub information such as tables or declarations - // This is a template method and the actual work will be done by the - // derived class - if (this->gen_pre_stub_info (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "gen_pre_stub_info failed\n"), - -1); - } - } - - // Declaring return type is not necessary. Since return type is - // void. - - // Native exists => no stub. - if (node->has_native ()) - { - if (this->gen_raise_exception (bt, "CORBA::MARSHAL", "") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_cs::" - "visit_operation - " - "codegen for return var failed\n"), - -1); - } - } - else - { - os->indent (); - // Generate code that retrieves the underlying stub object and then - // invokes do_static_call on it. - *os << be_nl - << "TAO_Stub *istub = this->_stubobj ();" << be_nl - << "if (istub == 0)" << be_idt_nl; - - // If the stub object was bad, then we raise a system - // exception. - *os << "ACE_THROW (CORBA::INTERNAL ());\n\n"; - - *os << be_uidt; - - // do any pre marshal and invoke stuff with arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_PRE_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for argument pre invoke failed\n"), - -1); - } - - // Generate the code for marshaling in the parameters and transmitting - // them. - if (this->gen_marshal_and_invoke (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for marshal and invoke failed\n"), - -1); - - } - - // Return type is void, - - } // end of if (!native) - - *os << be_uidt_nl << "}" << be_nl << be_nl; - - // Generate the skeleton method. - - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_SKELETON_CS); - visitor = tao_cg->make_visitor (&ctx); - - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for AMI Handler skeleton failed\n"), - -1); - } - delete visitor; - - return 0; -} - -int -be_visitor_operation_ami_handler_operation_cs::visit_argument (be_argument *node) -{ - // this method is used to generate the ParamData table entry - - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; // argument type - - // retrieve the type for this argument - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - os->indent (); - *os << "{" << bt->tc_name () << ", "; - switch (node->direction ()) - { - case AST_Argument::dir_IN: - *os << "PARAM_IN, "; - break; - case AST_Argument::dir_INOUT: - *os << "PARAM_INOUT, "; - break; - case AST_Argument::dir_OUT: - *os << "PARAM_OUT, "; - break; - } - *os << "0}"; - - return 0; -} - -int -be_visitor_operation_ami_handler_operation_cs::gen_raise_exception (be_type *bt, - const char *excep, - const char *completion_status) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - if (this->void_return_type (bt)) - { - *os << "ACE_THROW (" - << excep << " (" << completion_status << "));\n"; - } - else - { - *os << "ACE_THROW_RETURN (" - << excep << " (" << completion_status << "), "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_cs::" - "gen_raise_exception - " - "codegen for return var failed\n"), - -1); - } - *os << ");\n"; - } - return 0; -} - -int -be_visitor_operation_ami_handler_operation_cs::gen_check_exception (be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - // check if there is an exception - if (this->void_return_type (bt)) - { - *os << "ACE_CHECK;\n"; - //<< "_tao_environment);\n"; - } - else - { - *os << "ACE_CHECK_RETURN ("; - // << "_tao_environment, "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_cs::" - "gen_check_exception - " - "codegen failed\n"), - -1); - } - *os << ");" << be_nl; - } - - return 0; -} - -// ************************************************************ -// Operation visitor for interpretive client stubs -// ************************************************************ - -be_interpretive_visitor_operation_ami_handler_operation_cs:: -be_interpretive_visitor_operation_ami_handler_operation_cs (be_visitor_context *ctx) - : be_visitor_operation_ami_handler_operation_cs (ctx) -{ -} - -be_interpretive_visitor_operation_ami_handler_operation_cs::~be_interpretive_visitor_operation_ami_handler_operation_cs (void) -{ -} - -// concrete implementation of the template methods - -int -be_interpretive_visitor_operation_ami_handler_operation_cs::gen_pre_stub_info (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - // Generate the TAO_Param_Data table - os->indent (); - *os << "static const TAO_Param_Data "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << - "_paramdata [] = " << be_nl; - *os << "{\n"; - os->incr_indent (); - - // entry for the return type - *os << "{" << bt->tc_name () << ", PARAM_RETURN, 0}"; - if (node->nmembers () > 0) - *os << ",\n"; - - // generate entries for the param data table for arguments - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_handler_operation_cs::" - "gen_pre_stub_info - " - "visit scope failed\n"), - -1); - } - - os->indent (); - *os << be_nl; - os->decr_indent (); - *os << "}; // " << node->flatname () << "_paramdata\n\n"; - - // Check if this operation raises any exceptions. In that case, we must - // generate a list of exception typecodes. This is not valid for - // attributes - if (!this->ctx_->attribute ()) - { - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_interpretive_visitor_operation_ami_handler_operation_cs::" - "gen_pre_stub_info - " - "Exceptionlist generation error\n"), - -1); - } - } - - // now generate the calldata table - os->indent (); - *os << "static const TAO_Call_Data "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () - << "_calldata = " << be_nl - << "{" - << "\""; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->local_name () << "\", "; - - // are we oneway or two operation? - if (node->flags () == AST_Operation::OP_oneway) - { - *os << "0, "; // for false - } - else - { - *os << "1, "; // for true - } - // insert the size of the paramdata table i.e., number of arguments + 1 - // for return type - *os << (node->argument_count () + 1) << ", "; - - // insert the address of the paramdata table - // first check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_paramdata, "; - - // insert exception list (if any) - node for attributes - if (this->ctx_->attribute ()) - *os << "0, 0};\n\n"; - else - { - if (node->exceptions ()) - { - *os << node->exceptions ()->length () - << ", _tao_" << node->flatname () << "_exceptiondata};\n\n"; - } - else - *os << "0, 0};\n\n"; - } - return 0; -} - -int -be_interpretive_visitor_operation_ami_handler_operation_cs:: -gen_marshal_and_invoke (be_operation*node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - *os << "void* _tao_arguments[" - << node->argument_count () + 1 << "];" << be_nl - << "const void** _tao_arg = ACE_const_cast (const void**,_tao_arguments);" << be_nl - << "*_tao_arg = "; - - // pass the appropriate return value to docall - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_handler_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - *os << "; _tao_arg++;\n"; - - // pass each argument to do_static_call - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_handler_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - delete visitor; - visitor=0; - - // call do_static_call with appropriate number of arguments - os->indent (); - *os << "istub->do_static_call (" << be_idt_nl - << "ACE_TRY_ENV, " << be_nl - << "&"; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_calldata," << be_nl - << "_tao_arguments" << be_uidt_nl - << ");\n"; - - os->indent (); - // check if there is an exception - if (this->gen_check_exception (bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_handler_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for checking exception failed\n"), - -1); - - } - - // do any post processing for the arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_POST_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_cs::" - "visit_operation - " - "codegen for args post do_static_call failed\n"), - -1); - } - delete visitor; - visitor = 0; - - // do any post processing for the retval - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_POST_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_operation_cs::" - "visit_operation - " - "codegen for return type post do_static_call failed\n"), - -1); - } - delete visitor; - - return 0; -} - -// ************************************************************ -// Operation visitor for compiled client stubs -// ************************************************************ - -be_compiled_visitor_operation_ami_handler_operation_cs:: -be_compiled_visitor_operation_ami_handler_operation_cs (be_visitor_context *ctx) - : be_visitor_operation_ami_handler_operation_cs (ctx) -{ -} - -be_compiled_visitor_operation_ami_handler_operation_cs::~be_compiled_visitor_operation_ami_handler_operation_cs (void) -{ -} - -// concrete implementation of the template methods - -int -be_compiled_visitor_operation_ami_handler_operation_cs::gen_pre_stub_info (be_operation *node, - be_type *) -{ - - // Check if this operation raises any exceptions. In that case, we must - // generate a list of exception typecodes. This is not valid for - // attributes - if (!this->ctx_->attribute ()) - { - be_visitor_context ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_ami_handler_operation_cs::" - "gen_pre_stub_info - " - "Exceptionlist generation error\n"), - -1); - } - delete visitor; - } - - return 0; -} - -int -be_compiled_visitor_operation_ami_handler_operation_cs:: -gen_marshal_and_invoke (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - - // Create the GIOP_Invocation and grab the outgoing CDR stream. - switch (node->flags ()) - { - case AST_Operation::OP_oneway: - *os << "TAO_GIOP_Oneway_Invocation _tao_call "; - break; - default: - *os << "TAO_GIOP_Twoway_Invocation _tao_call "; - } - *os << "(" << be_idt << be_idt_nl - << "istub," << be_nl; - - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "\"_set_\""; - else - *os << "\"_get_\""; - } - - *os << "\"" << node->original_local_name () - << "\"," << be_nl - << "istub->orb_core ()" << be_uidt_nl - << ");" << be_uidt_nl; - - *os << "\n" << be_nl - << "for (;;)" << be_nl - << "{" << be_idt_nl; - - *os << "ACE_TRY_ENV.clear ();" << be_nl; - *os << "_tao_call.start (ACE_TRY_ENV);" << be_nl; - // Check if there is an exception. - *os << "ACE_CHECK;"; - - // Now make sure that we have some AMI result parameter or OUT or - // INOUT parameters. Otherwise, there is nothing to be marshaled - // in. - if (!this->void_return_type (bt) || - this->has_param_type (node, AST_Argument::dir_OUT) || - this->has_param_type (node, AST_Argument::dir_INOUT)) - { - *os << be_nl - << "TAO_OutputCDR &_tao_out = _tao_call.out_stream ();" - << be_nl - << "if (!(\n" << be_idt << be_idt << be_idt; - - // @@ Michael: This has to be replaced witht he code in the - // "#if 0" clause - // Marshal the ami result argument, if the return type is not - // void. - if (!this->void_return_type (bt)) - { - os->indent (); - *os << "(_tao_out << _tao_retval)"; - - // Print the && if there are OUT or INOUT arguements in the - // signature. - if (this->has_param_type (node, AST_Argument::dir_OUT) || - this->has_param_type (node, AST_Argument::dir_INOUT)) - *os << " &&\n"; - } - -#if 0 - // @@ This for giving the _tao_retval argument only. But - // this may be needed for some data types. - // But the one that is above is ok for basic types. - // @@ We may need to do this. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_RETVAL_MARSHAL_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_OUTPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_handler_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - delete visitor; - visitor = 0; -#endif /* 0 */ - - // Marshal each out and inout argument. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_MARSHAL_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_OUTPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_handler_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - delete visitor; - visitor = 0; - - *os << be_uidt << be_uidt_nl - << "))" << be_nl; - - // if marshaling fails, raise exception. - *os << "ACE_THROW (CORBA::MARSHAL ());"; - - *os << be_uidt; - } - - *os << be_nl - << "int _invoke_status =" << be_idt_nl; - if (node->flags () == AST_Operation::OP_oneway) - { - // oneway operation - *os << "_tao_call.invoke (ACE_TRY_ENV);"; - } - else - { - if (node->exceptions ()) - { - *os << "_tao_call.invoke (_tao_" << node->flatname () - << "_exceptiondata, " - << node->exceptions ()->length () - << ", ACE_TRY_ENV);"; - } - else - { - *os << "_tao_call.invoke (0, 0, ACE_TRY_ENV);"; - } - } - - *os << be_uidt_nl; - - // Check if there is an exception. - *os << "ACE_CHECK;"; - - *os << be_nl - << "if (_invoke_status == TAO_INVOKE_RESTART)" << be_idt_nl - << "continue;" << be_uidt_nl - << "// if (_invoke_status == TAO_INVOKE_EXCEPTION)" << be_idt_nl - << "// cannot happen" << be_uidt_nl - << "if (_invoke_status != TAO_INVOKE_OK)" << be_nl - << "{" << be_idt_nl; - - // Check if there is an exception. - *os << "ACE_THROW (CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES));"; - - *os << be_uidt_nl - << "}" << be_nl - << "break;" << be_nl - << be_uidt_nl << "}" << be_nl; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_result_arg.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_result_arg.cpp deleted file mode 100644 index ce3f1b178ce..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_result_arg.cpp +++ /dev/null @@ -1,177 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_result_arg.cpp -// -// = DESCRIPTION -// Visitor that generates the result argument in a call back method -// of a Reply Handler. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_operation, ami_handler_result_arg, "$Id$") - - -// ************************************************************ -// Visitor for parameter list in AMI Handler call back declarations -// and definitions. -// ************************************************************ - -be_visitor_operation_ami_handler_result_arg::be_visitor_operation_ami_handler_result_arg (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_ami_handler_result_arg::~be_visitor_operation_ami_handler_result_arg (void) -{ -} - -int -be_visitor_operation_ami_handler_result_arg::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - be_type *bt = be_type::narrow_from_decl (node); - - *os << "const " << bt->type_name (node) << " _tao_ami_result"; - - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - *os << this->type_name (node) << " _tao_ami_result" ; - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - *os << this->type_name (node, "_ptr") << " _tao_ami_result"; - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - *os << this->type_name (node, "_ptr") << " _tao_ami_result"; - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_native (be_native *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - *os << this->type_name (node) << " _tao_ami_result"; - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // check if the type is an any - if (node->pt () == AST_PredefinedType::PT_any) - { - *os << "const " << this->type_name (node) << " &" << " _tao_ami_result"; - } - else if (node->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - *os << this->type_name (node, "_ptr") << " _tao_ami_result"; - } - else // simple predefined types - { - *os << this->type_name (node) << " _tao_ami_result"; - } - - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << "const " << this->type_name (node) << " &" << " _tao_ami_result"; - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << "const char *" << " _tao_ami_result"; - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << "const " << this->type_name (node) << " &" << " _tao_ami_result"; - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << "const " << this->type_name (node) << " &" << " _tao_ami_result"; - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_ami_handler_result_arg::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - - -#ifdef IDL_HAS_VALUETYPE - -int -be_visitor_operation_ami_handler_result_arg::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << this->type_name (node) << " *" << " _tao_ami_result"; - return 0; -} - -int -be_visitor_operation_ami_handler_result_arg::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - *os << "const " << this->type_name (node) << " *" << " _tao_ami_result"; - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_skeleton_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_skeleton_cs.cpp deleted file mode 100644 index d6936926da6..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_skeleton_cs.cpp +++ /dev/null @@ -1,486 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_skeleton_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation in the stubs file. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, ami_handler_skeleton_cs, "$Id$") - - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -be_visitor_operation_ami_handler_skeleton_cs::be_visitor_operation_ami_handler_skeleton_cs (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ami_handler_skeleton_cs::~be_visitor_operation_ami_handler_skeleton_cs (void) -{ -} - -// processing to be done after every element in the scope is processed -int -be_visitor_operation_ami_handler_skeleton_cs::post_process (be_decl *bd) -{ - // all we do here is to insert a comma and a newline - TAO_OutStream *os = this->ctx_->stream (); - if (!this->last_node (bd)) - *os << ",\n"; - return 0; -} - -int -be_visitor_operation_ami_handler_skeleton_cs::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node - be_visitor_context ctx; // visitor context - be_visitor *visitor = 0; // visitor - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node for future use - - // Init the return type variable. - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_ami_handler_skeleton_cs::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // Start with the current indentation level. - os->indent (); - - - // Generate the return type. Return type is simply void. - *os << be_nl << "void" << be_nl; - - // Get the scope name. - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - if (parent == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_skeleton_cs::" - "visit_operation - " - "scopeless operation :-<\n"), - -1); - } - - // Genereate scope name. - *os << parent->compute_name ("AMI_", "_Handler"); - - // Generate the operation name. - *os << "::" << node->local_name () << "_skel (" << be_idt_nl; - - // Generate the argument list. - *os << "TAO_InputCDR &_tao_in, " << be_nl - << "Messaging::ReplyHandler_ptr _tao_reply_handler," << be_nl - << "CORBA::Environment &ACE_TRY_ENV"<< be_uidt << be_uidt_nl - << ")" << be_nl; - - // Generate the actual code for the stub. However, if any of the argument - // types is "native", we flag a MARSHAL exception. - // last argument - is always CORBA::Environment - *os << "{\n" << be_idt; - - // Deal with differences between IDL mapping for true C++ exceptions and - // alternate mapping. Since our code uses the ACE_TRY_ENV variable in a - // number of places, for the true exception case, we will have to explicitly - // declare the ACE_TRY_ENV variable. - *os << this->gen_environment_var () << be_nl; - - // Generate any pre stub info if and only if none of our parameters is of the - // native type. - if (!node->has_native ()) - { - // native type does not exist. - - // Generate any "pre" stub information such as tables or declarations - // This is a template method and the actual work will be done by the - // derived class - if (this->gen_pre_stub_info (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "gen_pre_stub_info failed\n"), - -1); - } - } - - os->indent(); - - *os << "// Retrieve Reply Handler object." << be_nl; - *os << parent->compute_name ("AMI_", "_Handler") << "_var " - << "_tao_reply_handler_object =" << be_idt_nl; - - *os << parent->compute_name ("AMI_", "_Handler"); - *os << "::_narrow(_tao_reply_handler, ACE_TRY_ENV);" << be_uidt_nl; - - *os << "ACE_CHECK;" << be_nl << be_nl - << "// @@ Error handling " << be_nl << be_nl; - - *os << "//Demarshall all the arguments.\n"; - - // declare a return type variable - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_RETVAL_DECL_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) ami_handler_skeleton_cs::" - "visit_operation - " - "codegen for return var decl failed\n"), - -1); - } - delete visitor; - visitor = 0; - - // declare variables for arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_DECL_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) ami_handler_skeleton_cs::" - "visit_operation - " - "codegen for return var decl failed\n"), - -1); - } - delete visitor; - visitor = 0; - - // Demarshal parameters - if (this->gen_marshal_and_invoke (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%1) ami_handler_skeleton_cs::" - "visit_operation - " - "gen_demarshal_params failed\n"), - -1); - } - - *os << be_uidt_nl << "};" << be_nl << be_nl; - - return 0; -} - -int -be_visitor_operation_ami_handler_skeleton_cs::visit_argument (be_argument *node) -{ - // this method is used to generate the ParamData table entry - - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; // argument type - - // retrieve the type for this argument - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_skeleton_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - os->indent (); - *os << "{" << bt->tc_name () << ", "; - switch (node->direction ()) - { - case AST_Argument::dir_IN: - *os << "PARAM_IN, "; - break; - case AST_Argument::dir_INOUT: - *os << "PARAM_INOUT, "; - break; - case AST_Argument::dir_OUT: - *os << "PARAM_OUT, "; - break; - } - *os << "0}"; - - return 0; -} - -int -be_visitor_operation_ami_handler_skeleton_cs::gen_raise_exception (be_type *bt, - const char *excep, - const char *completion_status) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - if (this->void_return_type (bt)) - { - *os << "ACE_THROW (" - << excep << " (" << completion_status << "));\n"; - } - else - { - *os << "ACE_THROW_RETURN (" - << excep << " (" << completion_status << "), "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_skeleton_cs::" - "gen_raise_exception - " - "codegen for return var failed\n"), - -1); - } - *os << ");\n"; - } - return 0; -} - -int -be_visitor_operation_ami_handler_skeleton_cs::gen_check_exception (be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - // check if there is an exception - if (this->void_return_type (bt)) - { - *os << "ACE_CHECK;\n"; - //<< "_tao_environment);\n"; - } - else - { - *os << "ACE_CHECK_RETURN ("; - // << "_tao_environment, "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_handler_skeleton_cs::" - "gen_check_exception - " - "codegen failed\n"), - -1); - } - *os << ");\n"; - } - - return 0; -} - -// ************************************************************ -// Operation visitor for interpretive client skeletons of the AMI reply handler -// ************************************************************ - -be_interpretive_visitor_operation_ami_handler_skeleton_cs:: -be_interpretive_visitor_operation_ami_handler_skeleton_cs (be_visitor_context *ctx) - : be_visitor_operation_ami_handler_skeleton_cs (ctx) -{ -} - -be_interpretive_visitor_operation_ami_handler_skeleton_cs::~be_interpretive_visitor_operation_ami_handler_skeleton_cs (void) -{ -} - -// concrete implementation of the template methods - -int -be_interpretive_visitor_operation_ami_handler_skeleton_cs::gen_pre_stub_info (be_operation *node, - be_type *bt) -{ - ACE_UNUSED_ARG (node); - ACE_UNUSED_ARG (bt); - - // @@ Michael: To be done. - return 0; -} - -int -be_interpretive_visitor_operation_ami_handler_skeleton_cs:: -gen_marshal_and_invoke (be_operation*node, - be_type *bt) -{ - ACE_UNUSED_ARG (node); - ACE_UNUSED_ARG (bt); - - // @@ Michael: To be done. - return 0; -} - -// ************************************************************ -// Operation visitor for compiled client skeletons of the AMI reply handler -// ************************************************************ - -be_compiled_visitor_operation_ami_handler_skeleton_cs:: -be_compiled_visitor_operation_ami_handler_skeleton_cs (be_visitor_context *ctx) - : be_visitor_operation_ami_handler_skeleton_cs (ctx) -{ -} - -be_compiled_visitor_operation_ami_handler_skeleton_cs::~be_compiled_visitor_operation_ami_handler_skeleton_cs (void) -{ -} - -// concrete implementation of the template methods - -int -be_compiled_visitor_operation_ami_handler_skeleton_cs::gen_pre_stub_info (be_operation *node, - be_type *) -{ - - // Check if this operation raises any exceptions. In that case, we must - // generate a list of exception typecodes. This is not valid for - // attributes - if (!this->ctx_->attribute ()) - { - be_visitor_context ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_ami_handler_skeleton_cs::" - "gen_pre_stub_info - " - "Exceptionlist generation error\n"), - -1); - } - delete visitor; - } - - return 0; -} - -int -be_compiled_visitor_operation_ami_handler_skeleton_cs:: -gen_marshal_and_invoke (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor = 0; - be_visitor_context ctx; - - os->indent (); - - *os << "if (!(\n" << be_idt << be_idt << be_idt; - - if (!this->void_return_type (bt)) - { - // demarshal the return val - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_RETVAL_DEMARSHAL_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_INPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_handler_skeleton_cs::" - "gen_demarshal_params - " - "codegen for return var failed\n"), - -1); - } - delete visitor; - - // Print the && if there are OUT or INOUT arguements in the - // signature. - if (this->has_param_type (node, AST_Argument::dir_OUT) || - this->has_param_type (node, AST_Argument::dir_INOUT)) - *os << " &&\n"; - } - - if (this->has_param_type (node, AST_Argument::dir_INOUT) || - this->has_param_type (node, AST_Argument::dir_OUT)) - { - // demarshal each in and inout argument - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_DEMARSHAL_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_INPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_handler_skeleton_cs::" - "gen_marshal_params - " - "codegen for args failed\n"), - -1); - } - delete visitor; - } - - *os << be_uidt << be_uidt_nl - << " ))" << be_nl - << "ACE_THROW (CORBA::MARSHAL ());" << be_uidt_nl << be_nl; - - // Invoke the callback method - *os << "// Invoke the call back method." << be_nl - << "_tao_reply_handler_object->" - << node->local_name () << " (" << be_idt_nl; - - // if we have a non-void return type then pass it as the first argument - if (!this->void_return_type (bt)) - *os << "_tao_retval,\n"; - - // generate the argument list containing the inout and inout arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_UPCALL_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) ami_handler_skeleton_cs::" - "visit_operation - " - "codegen for making upcall failed\n"), - -1); - } - delete visitor; - visitor = 0; - - *os << be_nl << ");" << be_uidt_nl; - - *os << "ACE_CHECK;" << be_nl; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/arglist.cpp b/TAO/TAO_IDL/be/be_visitor_operation/arglist.cpp deleted file mode 100644 index a154fd94c07..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/arglist.cpp +++ /dev/null @@ -1,221 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// arglist.cpp -// -// = DESCRIPTION -// Visitor generating code for the parameter list of the Operation signature. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, arglist, "$Id$") - - -// ************************************************************ -// operation visitor to generate the argument list. -// We have separated code generation for this from the 4 main -// visitors to avoid code duplication and tight coupling -// ************************************************************ - -be_visitor_operation_arglist:: -be_visitor_operation_arglist (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_arglist::~be_visitor_operation_arglist (void) -{ -} - -int -be_visitor_operation_arglist::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - *os << " (" << be_idt << be_idt << "\n"; - - // all we do is hand over code generation to our scope - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_arglist::" - "visit_operation - " - "codegen for scope failed\n"), - -1); - } - - // generate the CORBA::Environment parameter for the alternative mapping - if (!idl_global->exception_support ()) - { - // if the operation node has parameters, then we need to insert a comma - if (node->argument_count () > 0) - *os << ",\n"; - - os->indent (); - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OPERATION_ARGLIST_CH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_COLLOCATED_SH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_SH: - // last argument - is always CORBA::Environment - *os << "CORBA::Environment &ACE_TRY_ENV"; - *os << " = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt; - break; - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IS: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IH: - // last argument - is always CORBA::Environment - *os << "CORBA::Environment &ACE_TRY_ENV"; - break; - default: - *os << "CORBA::Environment &ACE_TRY_ENV"; - break; - } - } - *os << be_uidt_nl << ")" << be_uidt; - - // now generate the throw specs - if (this->gen_throw_spec (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_operation_arglist") - ASYS_TEXT ("::visit_operation - ") - ASYS_TEXT ("Failed to generate throw spec\n")), - -1); - } - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OPERATION_ARGLIST_CH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_COLLOCATED_SH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IH: - *os << ";\n\n"; - break; - case TAO_CodeGen::TAO_OPERATION_ARGLIST_SH: - // each method is pure virtual in the server header - *os << " = 0;\n\n"; - break; - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IS: - default: - *os << "\n"; - } - - return 0; -} - -int -be_visitor_operation_arglist::visit_argument (be_argument *node) -{ - // get the visitor that will dump the argument's mapping in the operation - // signature. - be_visitor_context ctx (*this->ctx_); - - // first grab the interface definition inside which this operation is - // defined. We need this since argument types may very well be declared - // inside the scope of the interface node. In such cases, we would like to - // generate the appropriate relative scoped names. - be_operation *op = this->ctx_->be_scope_as_operation (); - if (!op) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "Bad operation\n"), - -1); - } - - // We need the interface node in which this operation was defined. However, - // if this operation node was an attribute node in disguise, we get this - // information from the context - be_interface *intf; - intf = this->ctx_->attribute () - ? be_interface::narrow_from_scope (this->ctx_->attribute ()->defined_in ()) - : be_interface::narrow_from_scope (op->defined_in ()); - - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "Bad interface\n"), - -1); - } - ctx.scope (intf); // set new scope - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OPERATION_ARGLIST_CH: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_ARGLIST_CH); - break; - case TAO_CodeGen::TAO_OPERATION_ARGLIST_OTHERS: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_SH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_IS: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_ARGLIST_OTHERS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "Bad context\n"), - -1); - } - } - - // grab a visitor - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "Bad visitor\n"), - -1); - } - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "codegen for arglist failed\n"), - -1); - } - delete visitor; - return 0; -} - -int -be_visitor_operation_arglist::post_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // if we are not the last node in the list of arguments, generate a comma - // else decide if we are generating code to support true exceptions - in - // which case there will not be any CORBA::Environment parameter - if (!this->last_node (bd)) - { - *os << ",\n"; - } - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_operation/argument.cpp b/TAO/TAO_IDL/be/be_visitor_operation/argument.cpp deleted file mode 100644 index a36fd00d9a4..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/argument.cpp +++ /dev/null @@ -1,253 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// argument.cpp -// -// = DESCRIPTION -// Visitor that calls the visitor for arguments. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, argument, "$Id$") - - -// ************************************************************ -// generic operation visitor to handle the pre/post -// do_static_call/upcall stuff with arguments -// ************************************************************ - -be_visitor_operation_argument:: -be_visitor_operation_argument (be_visitor_context - *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_argument::~be_visitor_operation_argument (void) -{ -} - -int -be_visitor_operation_argument::post_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // if we are not the last parameter, we insert a comma. This is only - // applicable for the upcalls or the call to (de)marshal that we use in the - // interpreted marshaling. - if (!this->last_node (bd)) - { - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OPERATION_ARG_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_COLLOCATED_ARG_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_DEMARSHAL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_MARSHAL_SS: - *os << ",\n"; - break; - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_UPCALL_CS: - { - // @@ Michael - // In the case of of AMI, we do not want to - // print a comma for in arguments. - // This is due to the concept of post processing, - // which I was not able to prevent to be executed - // in the case of in arguments. - be_argument *arg = this->ctx_->be_node_as_argument (); - ACE_ASSERT (arg != 0); - if (arg->direction () != AST_Argument::dir_IN) - *os << ",\n"; - } - break; - default: - break; - } - } - return 0; -} - -int -be_visitor_operation_argument::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // all we do is hand over code generation to our scope - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_argument::" - "visit_operation - " - "codegen for scope failed\n"), - -1); - } - - // if we are supporting the alternate mapping, we must pass the - // CORBA::Environment parameter as the last parameter - if (!idl_global->exception_support ()) - { - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OPERATION_ARG_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_COLLOCATED_ARG_UPCALL_SS: - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_UPCALL_CS: - // applicable only to these cases where the actual upcall is made - - // last argument is the environment - if (node->argument_count () > 0) - // insert a comma only if there were previous parameters - *os << ",\n"; - os->indent (); - *os << "ACE_TRY_ENV"; - break; - default: - break; - } - } - - return 0; -} - -int -be_visitor_operation_argument::visit_argument (be_argument *node) -{ - // get the visitor that will dump the argument's mapping in the operation - // signature. - be_visitor_context ctx (*this->ctx_); - - // first grab the interface definition inside which this operation is - // defined. We need this since argument types may very well be declared - // inside the scope of the interface node. In such cases, we would like to - // generate the appropriate relative scoped names. - be_operation *op = this->ctx_->be_scope_as_operation (); - if (!op) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "Bad operation\n"), - -1); - } - - // We need the interface node in which this operation was defined. However, - // if this operation node was an attribute node in disguise, we get this - // information from the context - be_interface *intf; - intf = this->ctx_->attribute () - ? be_interface::narrow_from_scope (this->ctx_->attribute ()->defined_in ()) - : be_interface::narrow_from_scope (op->defined_in ()); - - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "Bad interface\n"), - -1); - } - ctx.scope (intf); // set new scope - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OPERATION_ARG_PRE_INVOKE_CS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_PRE_INVOKE_CS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_INVOKE_CS); - break; - case TAO_CodeGen::TAO_AMI_OPERATION_ARG_INVOKE_CS: - ctx.state (TAO_CodeGen::TAO_AMI_ARGUMENT_INVOKE_CS); - break; -// @@ Michael case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_INVOKE_CS: -// ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_INVOKE_CS); -// break; - case TAO_CodeGen::TAO_OPERATION_ARG_POST_INVOKE_CS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_POST_INVOKE_CS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_DECL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS); - break; - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_DECL_CS: - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_DEMARSHAL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_DEMARSHAL_SS); - break; - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_DEMARSHAL_CS: - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_DEMARSHAL_CS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_MARSHAL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_MARSHAL_SS); - break; - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_MARSHAL_CS: - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_MARSHAL_CS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_PRE_UPCALL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS); - break; - case TAO_CodeGen::TAO_OPERATION_COLLOCATED_ARG_UPCALL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_COLLOCATED_UPCALL_SS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_UPCALL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS); - break; - case TAO_CodeGen::TAO_AMI_HANDLER_OPERATION_ARG_UPCALL_CS: - ctx.state (TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_UPCALL_CS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_POST_UPCALL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_POST_MARSHAL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_POST_MARSHAL_SS); - break; - // case TAO_CodeGen::TAO_OPERATION_ARG_AMI: - // ctx.state (TAO_CodeGen::TAO_ARGUMENT_AMI); - // break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_argument::" - "visit_argument - " - "Bad context\n"), - -1); - } - } - - // grab a visitor - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_argument::" - "visit_argument - " - "Bad visitor\n"), - -1); - } - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_argument::" - - "visit_argument - " - "codegen for argument failed\n"), - -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/argument_invoke.cpp b/TAO/TAO_IDL/be/be_visitor_operation/argument_invoke.cpp deleted file mode 100644 index ab97bf649f1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/argument_invoke.cpp +++ /dev/null @@ -1,173 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// argument_invoke.cpp -// -// = DESCRIPTION -// Visitor to pass arguments to the CDR operators. This one helps in -// generating the && and the , at the right place. This one is for the -// client stub side. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, argument_invoke, "$Id$") - - -// ************************************************************ -// operation visitor to handle the passing of arguments to the CDR operators -// ************************************************************ - -be_compiled_visitor_operation_argument_invoke:: -be_compiled_visitor_operation_argument_invoke (be_visitor_context - *ctx) - : be_visitor_operation_argument (ctx), - last_arg_printed_ (be_compiled_visitor_operation_argument_invoke::TAO_ARG_NONE) -{ -} - -be_compiled_visitor_operation_argument_invoke:: -~be_compiled_visitor_operation_argument_invoke (void) -{ -} - -int -be_compiled_visitor_operation_argument_invoke::pre_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - be_argument *arg = be_argument::narrow_from_decl (bd); - - if (!arg) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_argument_invoke" - "::post_process - " - "Bad argument node\n"), - -1); - } - - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_argument_invoke::TAO_ARG_NONE) - *os << " &&\n"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - // nothing - } - break; - case AST_Argument::dir_INOUT: - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_argument_invoke::TAO_ARG_NONE) - *os << " &&\n"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_argument_invoke::TAO_ARG_NONE) - *os << " &&\n"; - } - break; - case AST_Argument::dir_OUT: - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - // nothing - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_argument_invoke::TAO_ARG_NONE) - *os << " &&\n"; - } - break; - } - - return 0; -} - -int -be_compiled_visitor_operation_argument_invoke::post_process (be_decl *bd) -{ - be_argument *arg = be_argument::narrow_from_decl (bd); - - if (!arg) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_argument_invoke" - "::post_process - " - "Bad argument node\n"), - -1); - } - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_OUTPUT: - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_argument_invoke::TAO_ARG_IN; - break; - case AST_Argument::dir_INOUT: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_argument_invoke::TAO_ARG_INOUT; - break; - case AST_Argument::dir_OUT: - // these arguments don't get printed for the << operator on the stub - break; - } - break; - case TAO_CodeGen::TAO_CDR_INPUT: - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - // these arguments don't get printed for the >> on the stub - break; - case AST_Argument::dir_INOUT: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_argument_invoke::TAO_ARG_INOUT; - break; - case AST_Argument::dir_OUT: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_argument_invoke::TAO_ARG_OUT; - break; - } - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_argument_invoke" - "::post_process - " - "Bad sub state\n"), - -1); - } - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_operation/argument_marshal.cpp b/TAO/TAO_IDL/be/be_visitor_operation/argument_marshal.cpp deleted file mode 100644 index 700c11a34ed..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/argument_marshal.cpp +++ /dev/null @@ -1,275 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// argument_marshal.cpp -// -// = DESCRIPTION -// Visitor to pass arguments to the CDR operators. This one helps in -// generating the && and the , at the right place. This one is for the -// skeleton side. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, argument_marshal, "$Id$") - - -// ************************************************************ -// operation visitor to handle the passing of arguments to the CDR operators -// ************************************************************ - -be_compiled_visitor_operation_argument_marshal:: -be_compiled_visitor_operation_argument_marshal (be_visitor_context - *ctx) - : be_visitor_operation_argument (ctx), - last_arg_printed_ (be_compiled_visitor_operation_argument_marshal::TAO_ARG_NONE) -{ -} - -be_compiled_visitor_operation_argument_marshal:: -~be_compiled_visitor_operation_argument_marshal (void) -{ -} - -int -be_compiled_visitor_operation_argument_marshal::pre_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - be_argument *arg = be_argument::narrow_from_decl (bd); - - if (!arg) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_argument_marshal" - "::post_process - " - "Bad argument node\n"), - -1); - } - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_argument_marshal::TAO_ARG_NONE) - *os << " &&\n"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - // nothing - } - break; - case AST_Argument::dir_INOUT: - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_argument_marshal::TAO_ARG_NONE) - *os << " &&\n"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_argument_marshal::TAO_ARG_NONE) - *os << " &&\n"; - } - break; - case AST_Argument::dir_OUT: - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - // nothing - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - if (this->last_arg_printed_ != - be_compiled_visitor_operation_argument_marshal::TAO_ARG_NONE) - *os << " &&\n"; - } - break; - } - - return 0; -} - -int -be_compiled_visitor_operation_argument_marshal::post_process (be_decl *bd) -{ - be_argument *arg = be_argument::narrow_from_decl (bd); - - if (!arg) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_argument_marshal" - "::post_process - " - "Bad argument node\n"), - -1); - } - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_argument_marshal::TAO_ARG_IN; - break; - case AST_Argument::dir_INOUT: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_argument_marshal::TAO_ARG_INOUT; - break; - case AST_Argument::dir_OUT: - // these arguments don't get printed for the << operator on the stub - break; - } - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - // these arguments don't get printed for the >> on the stub - break; - case AST_Argument::dir_INOUT: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_argument_marshal::TAO_ARG_INOUT; - break; - case AST_Argument::dir_OUT: - // only these arguments get printed - this->last_arg_printed_ = - be_compiled_visitor_operation_argument_marshal::TAO_ARG_OUT; - break; - } - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_argument_marshal" - "::post_process - " - "Bad sub state\n"), - -1); - } - return 0; -} - -// **************************************************************** - -be_visitor_compiled_args_decl::be_visitor_compiled_args_decl (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -int -be_visitor_compiled_args_decl::visit_operation (be_operation *node) -{ - return this->visit_scope (node); -} - -int -be_visitor_compiled_args_decl::visit_argument (be_argument *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type of the argument - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - - return bt->accept (this); -} - -// visit array -int -be_visitor_compiled_args_decl::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // retrieve the field node - be_argument *f = this->ctx_->be_node_as_argument (); - if (f == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_compiled_args_decl::" - "visit_array - " - "cannot retrieve argument node\n" - ), -1); - } - - // for anonymous arrays, the type name has a _ prepended. We compute - // the fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope - // prepended to our local name. This needs to be inserted after - // the parents's name - - if (node->is_nested ()) - { - be_decl *parent = - be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", node->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", node->fullname ()); - } - - if (f->direction () != AST_Argument::dir_IN) - { - *os << fname << "_forany " - << "_tao_argument_" << f->local_name () << " (" - << be_idt << be_idt_nl - << f->local_name () - << be_uidt_nl << ");" << be_uidt_nl; - } - return 0; -} - -// visit typedef type -int -be_visitor_compiled_args_decl::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_compiled_args_decl::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp b/TAO/TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp deleted file mode 100644 index 675a5807d94..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp +++ /dev/null @@ -1,500 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// compiled_marshal.cpp -// -// = DESCRIPTION -// Visitor generating the code that passes retval to the CDR operators. The -// "OUTPUT" substate deals with the server side skeletons whereas the -// "INPUT" substate deals with the client stubs. Also notice that the type -// of parameter passed to the operator depends on the manner in which the -// variable is declared i.e., in the skeleton, we may have _var types but -// not in the stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "be.h" -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, compiled_marshal, "$Id$") - - -// **************************************************************************** -// visitor for arguments passing to the CDR operators. -// **************************************************************************** - -be_visitor_operation_rettype_compiled_marshal:: -be_visitor_operation_rettype_compiled_marshal (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_compiled_marshal:: -~be_visitor_operation_rettype_compiled_marshal (void) -{ -} - -int be_visitor_operation_rettype_compiled_marshal:: -visit_operation (be_operation *node) -{ - this->ctx_->node (node); // save the argument node - - // retrieve the type of the argument - be_type *bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - os->indent (); - *os << "(_tao_out << "; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - os->indent (); - *os << "(_tao_in >> "; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_operation - " - "Bad substate\n"), - -1); - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_operation - " - "cannot accept visitor\n"), - -1); - } - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - *os << ")"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - *os << ")"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_operation - " - "Bad substate\n"), - -1); - } - - return 0; -} - -int be_visitor_operation_rettype_compiled_marshal::visit_array (be_array *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { -#if 0 - *os << node->name () << "_forany ("; - if (node->size_type () == be_decl::VARIABLE) - *os << "(" << node->name () << "_slice *)" - << "_tao_retval.in ()" << ")"; - else - *os << "_tao_retval" << ")"; -#else - *os << "_tao_retval_forany"; -#endif - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - *os << "_tao_retval_forany"; - // *os << node->name () << "_forany (" - // << "_tao_retval" << ")"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_array - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_operation_rettype_compiled_marshal::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - *os << "_tao_retval"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - *os << "_tao_retval"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_enum - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_operation_rettype_compiled_marshal::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - *os << "_tao_retval.in ()"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - *os << "_tao_retval"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_operation_rettype_compiled_marshal::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - *os << "_tao_retval.in ()"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - *os << "_tao_retval"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int be_visitor_operation_rettype_compiled_marshal::visit_valuetype (be_valuetype *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - *os << "_tao_retval.in ()"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - *os << "_tao_retval"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_valuetype - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_operation_rettype_compiled_marshal::visit_valuetype_fwd (be_valuetype_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - *os << "_tao_retval.in ()"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - *os << "_tao_retval"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_valuetype - " - "Bad substate\n"), - -1); - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int be_visitor_operation_rettype_compiled_marshal::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - *os << "_tao_retval.in ()"; - break; - case AST_PredefinedType::PT_any: - *os << "_tao_retval.in ()"; - break; - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_ushort: - case AST_PredefinedType::PT_float: - case AST_PredefinedType::PT_double: - case AST_PredefinedType::PT_longdouble: - *os << "_tao_retval"; - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::Any::from_char (_tao_retval)"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::Any::from_wchar (_tao_retval)"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::Any::from_boolean (_tao_retval)"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::Any::from_octet (_tao_retval)"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_array - " - "Bad predefined type\n"), - -1); - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - *os << "_tao_retval"; - break; - case AST_PredefinedType::PT_any: - *os << "*_tao_retval"; - break; - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_ushort: - case AST_PredefinedType::PT_float: - case AST_PredefinedType::PT_double: - case AST_PredefinedType::PT_longdouble: - *os << "_tao_retval"; - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::Any::to_char (_tao_retval)"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::Any::to_wchar (_tao_retval)"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::Any::to_boolean (_tao_retval)"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::Any::to_octet (_tao_retval)"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_array - " - "Bad predefined type\n"), - -1); - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_array - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_operation_rettype_compiled_marshal::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - *os << "_tao_retval.in ()"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - *os << "*_tao_retval"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_operation_rettype_compiled_marshal::visit_string (be_string *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - // differentiate between bounded and unbounded - if (node->max_size ()->ev ()->u.ulval == 0) - { - *os << "_tao_retval.in ()"; - } - else - { - *os << "CORBA::Any::from_string ((char *)_tao_retval.in (), " - << node->max_size ()->ev ()->u.ulval - 1 << ")"; - } - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - // differentiate between bounded and unbounded - if (node->max_size ()->ev ()->u.ulval == 0) - // unbounded - *os << "_tao_retval"; - else - *os << "CORBA::Any::to_string (_tao_retval, " - << node->max_size ()->ev ()->u.ulval - 1 << ")"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_operation_rettype_compiled_marshal::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - if (node->size_type () == be_decl::VARIABLE) - *os << "_tao_retval.in ()"; - else - *os << "_tao_retval"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - if (node->size_type () == be_decl::VARIABLE) - *os << "*_tao_retval"; - else - *os << "_tao_retval"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_interface - " - "Bad substate\n"), - -1); - } - return 0; -} - -int be_visitor_operation_rettype_compiled_marshal::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT) - { - if (node->size_type () == be_decl::VARIABLE) - *os << "_tao_retval.in ()"; - else - *os << "_tao_retval"; - } - else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT) - { - if (node->size_type () == be_decl::VARIABLE) - *os << "*_tao_retval"; - else - *os << "_tao_retval"; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_interface - " - "Bad substate\n"), - -1); - } - - return 0; -} - -int be_visitor_operation_rettype_compiled_marshal::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_compiled_marshal::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/direct_collocated_sh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/direct_collocated_sh.cpp deleted file mode 100644 index 19c9b14417e..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/direct_collocated_sh.cpp +++ /dev/null @@ -1,124 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// direct_collocated_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for direct_collocated operation in the server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, direct_collocated_sh, "$Id$") - - -// ************************************************************************* -// be_visitor_operation_direct_collocated_sh -- -// This visitor generates code for the direct_collocated operation signature in a -// server header file -// ************************************************************************* - -be_visitor_operation_direct_collocated_sh::be_visitor_operation_direct_collocated_sh -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation_direct_collocated_sh::~be_visitor_operation_direct_collocated_sh (void) -{ -} - -int be_visitor_operation_direct_collocated_sh::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node representing the return type - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *os << "virtual "; - - // STEP I: generate the return type - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_sh::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // grab the right visitor to generate the return type - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_sh::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_sh::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - // STEP 2: generate the operation name - *os << " " << node->local_name (); - - // STEP 3: generate the argument list with the appropriate mapping. For these - // we grab a visitor that generates the parameter listing - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_COLLOCATED_SH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_sh::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_sh::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/direct_collocated_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/direct_collocated_ss.cpp deleted file mode 100644 index 3d4a0bdcf15..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/direct_collocated_ss.cpp +++ /dev/null @@ -1,226 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// direct_collocated_ss.cpp -// -// = DESCRIPTION -// Visitor generating code for direct_collocated Operation in the skeleton. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, direct_collocated_ss, "$Id$") - - -// ************************************************************************* -// be_visitor_operation_direct_collocated_ss -- -// This visitor generates code for the direct_collocated operation signature in a -// server skeletons file -// ************************************************************************* - -be_visitor_operation_direct_collocated_ss::be_visitor_operation_direct_collocated_ss -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation_direct_collocated_ss::~be_visitor_operation_direct_collocated_ss (void) -{ -} - -int be_visitor_operation_direct_collocated_ss::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // We need the interface node in which this operation was defined. However, - // if this operation node was an attribute node in disguise, we get this - // information from the context - be_interface *intf; - intf = this->ctx_->attribute () - ? be_interface::narrow_from_scope (this->ctx_->attribute ()->defined_in ()) - : be_interface::narrow_from_scope (node->defined_in ()); - - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_direct_collocated_ss::" - "visit_operation - " - "bad interface scope\n"), - -1); - } - - // retrieve the operation return type - be_type *bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_direct_collocated_ss::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // STEP 2: generate the return type mapping (same as in the header file) - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_direct_collocated_ss::" - "visit_operation - " - "Bad visitor for return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_direct_collocated_ss::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - *os << " " << intf->full_coll_name (be_interface::DIRECT) << "::" - << node->local_name () << " "; - - // STEP 4: generate the argument list with the appropriate mapping (same as - // in the header file) - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_OTHERS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_cs::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - *os << "{" << be_idt << "\n"; - - os->indent (); - - if (!this->void_return_type (bt)) - { - *os << "return "; - } - - *os << "this->servant_"; - if (this->gen_invoke (ctx, node) == -1) - return -1; - - *os << be_uidt_nl - << "}\n\n"; - - return 0; -} - -int be_visitor_operation_direct_collocated_ss::gen_invoke (be_visitor_context &ctx, - be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - *os << "->" << node->local_name () << " (" - << be_idt << be_idt << "\n"; - - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_COLLOCATED_ARG_UPCALL_SS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_direct_collocated_ss::" - "gen_invoke - " - "codegen for making upcall failed\n"), - -1); - } - - // end the upcall - *os << be_uidt_nl - << ");\n" << be_uidt; - return 0; -} - -int -be_visitor_operation_direct_collocated_ss::gen_check_exception (be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - // check if there is an exception - if (!this->void_return_type (bt)) - { - *os << "ACE_CHECK_RETURN ("; - // << "_tao_environment, "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_direct_collocated_cs::" - "gen_check_exception - " - "codegen failed\n"), - -1); - } - *os << ");\n"; - } - else - { - *os << "ACE_CHECK;\n"; - //<< "_tao_environment);\n"; - } - - return 0; -} - -int -be_visitor_operation_direct_collocated_ss::void_return_type (be_type *bt) -{ - // is the operation return type void? - - if (bt->node_type () == AST_Decl::NT_pre_defined - && (be_predefined_type::narrow_from_decl (bt)->pt () - == AST_PredefinedType::PT_void)) - return 1; - else - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp deleted file mode 100644 index 771706f01af..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/exceptlist_cs.cpp +++ /dev/null @@ -1,94 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exceptlist_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for the list of exceptions that an operation -// raises. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, exceptlist_cs, "$Id$") - - -// **************************************************************************** -// visitor to generate the exception list for operations -// **************************************************************************** - -be_visitor_operation_exceptlist_cs::be_visitor_operation_exceptlist_cs (be_visitor_context - *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_exceptlist_cs::~be_visitor_operation_exceptlist_cs (void) -{ -} - -int -be_visitor_operation_exceptlist_cs::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - // don't do anything if the exception list is empty - if (node->exceptions ()) - { - os->indent (); - *os << "static TAO_Exception_Data " << "_tao_" << node->flatname () - << "_exceptiondata [] = " << be_nl; - *os << "{" << be_idt_nl; - // initialize an iterator to iterate thru the exception list - UTL_ExceptlistActiveIterator *ei; - ACE_NEW_RETURN (ei, - UTL_ExceptlistActiveIterator (node->exceptions ()), - -1); - // continue until each element is visited - while (!ei->is_done ()) - { - be_exception *excp = be_exception::narrow_from_decl (ei->item ()); - - if (excp == 0) - { - delete ei; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_exceptlist_cs" - "visit_operation - " - "codegen for scope failed\n"), -1); - - } - *os << "{"; - // the typecode name - *os << excp->tc_name (); - *os << ", "; - // allocator method - *os << excp->name () << "::_alloc}"; - ei->next (); - if (!ei->is_done ()) - { - *os << ",\n"; - os->indent (); - } - // except the last one is processed? - - } // end of while loop - delete ei; - *os << be_uidt_nl << "};\n\n"; - } // end of if - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp deleted file mode 100644 index b1331e90d75..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp +++ /dev/null @@ -1,149 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation in the stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, operation, "$Id$") - - -// ************************************************************ -// Generic Operation visitor -// ************************************************************ - -be_visitor_operation::be_visitor_operation (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation::~be_visitor_operation (void) -{ -} - - -int -be_visitor_operation::void_return_type (be_type *bt) -{ - // is the operation return type void? - - if (bt->node_type () == AST_Decl::NT_pre_defined - && (be_predefined_type::narrow_from_decl (bt)->pt () - == AST_PredefinedType::PT_void)) - return 1; - else - return 0; -} - -int -be_visitor_operation::has_param_type (be_operation *node, - AST_Argument::Direction dir) -{ - // proceed if the number of members in our scope is greater than 0 - if (node->nmembers () > 0) - { - // initialize an iterator to iterate thru our scope - UTL_ScopeActiveIterator *si; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (node, - UTL_Scope::IK_decls), - 0); - // continue until each element is visited - while (!si->is_done ()) - { - be_argument *bd = be_argument::narrow_from_decl (si->item ()); - if (bd && (bd->direction () == dir)) - return 1; - - si->next (); - } // end of while loop - delete si; - } // end of if - - // not of the type we are looking for - return 0; -} - -//Method to generate the throw specs for exceptions that are thrown by the -//operation -int -be_visitor_operation::gen_throw_spec (be_operation *node) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - *os << be_idt_nl << "ACE_THROW_SPEC ((" - << be_idt_nl << "CORBA::SystemException"; - if (node->exceptions ()) - { - - // initialize an iterator to iterate thru the exception list - UTL_ExceptlistActiveIterator *ei; - ACE_NEW_RETURN (ei, - UTL_ExceptlistActiveIterator (node->exceptions ()), - -1); - // continue until each element is visited - while (!ei->is_done ()) - { - be_exception *excp = be_exception::narrow_from_decl (ei->item ()); - - if (excp == 0) - { - delete ei; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation" - "gen_throw_spec - " - "bad exception node\n"), -1); - - } - - *os << "," << be_nl; - // allocator method - *os << excp->name (); - ei->next (); - } // end of while loop - delete ei; - } // end of if - *os << be_uidt_nl << "))"<< be_uidt; - - return 0; - -} - -//Method that returns the appropriate CORBA::Environment variable -const char * -be_visitor_operation::gen_environment_var () -{ - static const char *ace_try_env_decl = "ACE_DECLARE_NEW_CORBA_ENV;"; - static const char *null_env_decl = ""; - - // check if we are generating stubs/skeletons for true C++ exception support - if (idl_global->exception_support ()) - { - return ace_try_env_decl; - } - else - { - return null_env_decl; - } -} - diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_ami_ch.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_ami_ch.cpp deleted file mode 100644 index 91baf32300b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation_ami_ch.cpp +++ /dev/null @@ -1,93 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ami_ch.cpp -// -// = DESCRIPTION -// Visitor generating AMI stub code for Operation node in the -// client header. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, operation_ami_ch, "$Id$") - - -// ****************************************************** -// Visitor for generating AMI stub for "operation" in client header. -// ****************************************************** - -be_visitor_operation_ami_ch::be_visitor_operation_ami_ch (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ami_ch::~be_visitor_operation_ami_ch (void) -{ -} - -int -be_visitor_operation_ami_ch::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *os << "virtual "; - - // STEP I: Return type is void. - *os << "void "; - - // STEP 2: generate the operation name. - - // First the sendc prefix. - *os << "sendc_"; - *os << node->local_name (); - - // STEP 3: generate the argument list with the appropriate - // mapping. For these we grab a visitor that generates the - // parameter listing. - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_AMI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_ami_ch::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_ch::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_ami_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_ami_cs.cpp deleted file mode 100644 index 9db88553f3d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation_ami_cs.cpp +++ /dev/null @@ -1,901 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation in the stubs file. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, operation_ami_cs, "$Id$") - - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -be_visitor_operation_ami_cs::be_visitor_operation_ami_cs (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ami_cs::~be_visitor_operation_ami_cs (void) -{ -} - -// Processing to be done after every element in the scope is -// processed. -int -be_visitor_operation_ami_cs::post_process (be_decl *bd) -{ - // all we do here is to insert a comma and a newline - TAO_OutStream *os = this->ctx_->stream (); - if (!this->last_node (bd)) - *os << ",\n"; - return 0; -} - -int -be_visitor_operation_ami_cs::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_visitor_context ctx; // visitor context - be_visitor *visitor; // visitor - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node for future use - - os->indent (); // start with the current indentation level - - // Generate the return type mapping. Return type is simply void. - *os << "void" << be_nl; - - // Generate the operation name. - - // Grab the scope name. - be_decl *parent = - be_scope::narrow_from_scope (node->defined_in ())->decl (); - if (parent == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "scope name is nil\n"), - -1); - - // Generate the scope::operation name. - *os << parent->fullname () - << "::" - << "sendc_" - << node->local_name ()->get_string (); - - // Generate the argument list with the appropriate mapping (same as - // in the header file) - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_AMI); - visitor = tao_cg->make_visitor (&ctx); - if ((!visitor) || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - // Generate the actual code for the stub. However, if any of the argument - // types is "native", we flag a MARSHAL exception. - // last argument - is always CORBA::Environment - *os << "{" << be_idt_nl; - - // Create the return type node. Return type is void. - be_predefined_type *bt = 0; - ACE_NEW_RETURN (bt, - be_predefined_type (AST_PredefinedType::PT_void, - new UTL_ScopedName - (new Identifier - ("void", 1, 0, I_FALSE), 0), - 0), - -1); - - // generate any pre stub info if and only if none of our parameters is of the - // native type - if (!node->has_native ()) - { - // native type does not exist. - - // Generate any "pre" stub information such as tables or declarations - // This is a template method and the actual work will be done by the - // derived class - if (this->gen_pre_stub_info (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "gen_pre_stub_info failed\n"), - -1); - } - } - - if (node->has_native ()) // native exists => no stub - { - if (this->gen_raise_exception (bt, - "CORBA::MARSHAL", - "") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for return var failed\n"), - -1); - } - } - else - { - // Generate code that retrieves the underlying stub object and then - // invokes do_static_call on it. - *os << be_nl - << "TAO_Stub *istub = this->_stubobj ();" << be_nl - << "if (istub == 0)" << be_idt_nl; - - // if the stub object was bad, then we raise a system exception - if (this->gen_raise_exception (bt, "CORBA::INV_OBJREF", - "") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for checking exception failed\n"), - -1); - - } - *os << be_uidt_nl << "\n"; - - // do any pre marshal and invoke processing with return type. This - // includes allocating memory, initialization. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_PRE_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for retval pre invoke failed\n"), - -1); - } - - // do any pre marshal and invoke stuff with arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_PRE_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for argument pre invoke failed\n"), - -1); - } - - // generate the code for marshaling in the parameters and transmitting - // them - if (this->gen_marshal_and_invoke (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for marshal and invoke failed\n"), - -1); - - } - - // No return values. - *os << "return;"; - } // end of if (!native) - - *os << be_uidt_nl << "}\n\n"; - - return 0; -} - -int -be_visitor_operation_ami_cs::visit_argument (be_argument *node) -{ - // this method is used to generate the ParamData table entry - - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; // argument type - - // retrieve the type for this argument - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - os->indent (); - *os << "{" << bt->tc_name () << ", "; - switch (node->direction ()) - { - case AST_Argument::dir_IN: - *os << "PARAM_IN, "; - break; - case AST_Argument::dir_INOUT: - *os << "PARAM_INOUT, "; - break; - case AST_Argument::dir_OUT: - *os << "PARAM_OUT, "; - break; - } - *os << "0}"; - - return 0; -} - -int -be_visitor_operation_ami_cs::gen_raise_exception (be_type *bt, - const char *excep, - const char *completion_status) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - if (this->void_return_type (bt)) - { - *os << "ACE_THROW (" - << excep << " (" << completion_status << "));\n"; - } - else - { - *os << "ACE_THROW_RETURN (" - << excep << " (" << completion_status << "), "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "gen_raise_exception - " - "codegen for return var failed\n"), - -1); - } - *os << ");\n"; - } - return 0; -} - -int -be_visitor_operation_ami_cs::gen_check_exception (be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - // check if there is an exception - if (this->void_return_type (bt)) - { - *os << "ACE_CHECK;\n"; - //<< "_tao_environment);\n"; - } - else - { - *os << "ACE_CHECK_RETURN ("; - // << "_tao_environment, "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "gen_check_exception - " - "codegen failed\n"), - -1); - } - *os << ");\n"; - } - - return 0; -} - -// ************************************************************ -// Operation visitor for interpretive client stubs -// ************************************************************ - -be_interpretive_visitor_operation_ami_cs:: -be_interpretive_visitor_operation_ami_cs (be_visitor_context *ctx) - : be_visitor_operation_ami_cs (ctx) -{ -} - -be_interpretive_visitor_operation_ami_cs::~be_interpretive_visitor_operation_ami_cs (void) -{ -} - -// concrete implementation of the template methods - -int -be_interpretive_visitor_operation_ami_cs::gen_pre_stub_info (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - // Generate the TAO_Param_Data table - os->indent (); - *os << "static const TAO_Param_Data "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << - "_paramdata [] = " << be_nl; - *os << "{\n"; - os->incr_indent (); - - // entry for the return type - *os << "{" << bt->tc_name () << ", PARAM_RETURN, 0}"; - if (node->nmembers () > 0) - *os << ",\n"; - - // generate entries for the param data table for arguments - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_cs::" - "gen_pre_stub_info - " - "visit scope failed\n"), - -1); - } - *os << "\n"; - os->decr_indent (); - *os << "}; // " << node->flatname () << "_paramdata\n\n"; - - // Check if this operation raises any exceptions. In that case, we must - // generate a list of exception typecodes. This is not valid for - // attributes - if (!this->ctx_->attribute ()) - { - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_interpretive_visitor_operation_ami_cs::" - "gen_pre_stub_info - " - "Exceptionlist generation error\n"), - -1); - } - } - - // now generate the calldata table - os->indent (); - *os << "static const TAO_Call_Data "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () - << "_calldata = " << be_nl - << "{" - << "\""; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->local_name () << "\", "; - - // are we oneway or two operation? - if (node->flags () == AST_Operation::OP_oneway) - { - *os << "0, "; // for false - } - else - { - *os << "1, "; // for true - } - // insert the size of the paramdata table i.e., number of arguments + 1 - // for return type - *os << (node->argument_count () + 1) << ", "; - - // insert the address of the paramdata table - // first check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_paramdata, "; - - // insert exception list (if any) - node for attributes - if (this->ctx_->attribute ()) - *os << "0, 0};\n\n"; - else - { - if (node->exceptions ()) - { - *os << node->exceptions ()->length () - << ", _tao_" << node->flatname () << "_exceptiondata};\n\n"; - } - else - *os << "0, 0};\n\n"; - } - return 0; -} - -int -be_interpretive_visitor_operation_ami_cs::gen_marshal_and_invoke (be_operation - *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - *os << "void* _tao_arguments[" - << node->argument_count () + 1 << "];" << be_nl - << "const void** _tao_arg = ACE_const_cast (const void**,_tao_arguments);" << be_nl - << "*_tao_arg = "; - - // pass the appropriate return value to docall - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - *os << "; _tao_arg++;\n"; - - // pass each argument to do_static_call - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - - // call do_static_call with appropriate number of arguments - os->indent (); - *os << "istub->do_static_call (" << be_idt_nl - << "ACE_TRY_ENV, " << be_nl - << "&"; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_calldata," << be_nl - << "_tao_arguments" << be_uidt_nl - << ");\n"; - - os->indent (); - // check if there is an exception - if (this->gen_check_exception (bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for checking exception failed\n"), - -1); - - } - - // do any post processing for the arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_POST_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for args post do_static_call failed\n"), - -1); - } - - // do any post processing for the retval - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_POST_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "visit_operation - " - "codegen for return type post do_static_call failed\n"), - -1); - } - - return 0; -} - -// ************************************************************ -// Operation visitor for compiled client stubs -// ************************************************************ - -be_compiled_visitor_operation_ami_cs:: -be_compiled_visitor_operation_ami_cs (be_visitor_context *ctx) - : be_visitor_operation_ami_cs (ctx) -{ -} - -be_compiled_visitor_operation_ami_cs::~be_compiled_visitor_operation_ami_cs (void) -{ -} - -// concrete implementation of the template methods - -int -be_compiled_visitor_operation_ami_cs::gen_pre_stub_info (be_operation *node, - be_type *) -{ - - // Check if this operation raises any exceptions. In that case, we must - // generate a list of exception typecodes. This is not valid for - // attributes - if (!this->ctx_->attribute ()) - { - be_visitor_context ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_ami_cs::" - "gen_pre_stub_info - " - "Exceptionlist generation error\n"), - -1); - } - } - - return 0; -} - -int -be_compiled_visitor_operation_ami_cs::gen_marshal_and_invoke (be_operation - *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - - // create the GIOP_Invocation and grab the outgoing CDR stream - switch (node->flags ()) - { - case AST_Operation::OP_oneway: - *os << "TAO_GIOP_Oneway_Invocation _tao_call "; - break; - default: - *os << "TAO_GIOP_Twoway_Invocation _tao_call "; - } - *os << "(" << be_idt << be_idt_nl - << "istub," << be_nl; - - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "\"_set_\""; - else - *os << "\"_get_\""; - } - *os << "\"" << node->local_name () - << "\"," << be_nl - << "istub->orb_core ()" << be_uidt_nl - << ");" << be_uidt_nl; - - *os << "\n" << be_nl - << "for (;;)" << be_nl - << "{" << be_idt_nl; - - // *os << "ACE_TRY_ENV.clear ();" << be_nl - *os << "_tao_call.start (ACE_TRY_ENV);" << be_nl; - // check if there is an exception - if (this->gen_check_exception (bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for checking exception failed\n"), - -1); - - } - - // now make sure that we have some in and inout parameters. Otherwise, there - // is nothing to be marshaled in - if (this->has_param_type (node, AST_Argument::dir_IN) || - this->has_param_type (node, AST_Argument::dir_INOUT)) - { - *os << be_nl - << "TAO_OutputCDR &_tao_out = _tao_call.out_stream ();" - << be_nl - << "if (!(\n" << be_idt << be_idt << be_idt; - - // marshal each in and inout argument - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_OUTPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - *os << be_uidt << be_uidt_nl - << "))" << be_nl; - - // if marshaling fails, raise exception - if (this->gen_raise_exception (bt, "CORBA::MARSHAL", - "") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and invoke - " - "codegen for return var failed\n"), - -1); - } - *os << be_uidt; - } - - *os << be_nl - << "int _invoke_status =" << be_idt_nl; - if (node->flags () == AST_Operation::OP_oneway) - { - // oneway operation - *os << "_tao_call.invoke (ACE_TRY_ENV);"; - } - else - { - if (node->exceptions ()) - { - *os << "_tao_call.invoke (_tao_" << node->flatname () - << "_exceptiondata, " - << node->exceptions ()->length () - << ", ACE_TRY_ENV);"; - } - else - { - *os << "_tao_call.invoke (0, 0, ACE_TRY_ENV);"; - } - } - - *os << be_uidt_nl; - // check if there is an exception - if (this->gen_check_exception (bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for checking exception failed\n"), - -1); - } - - *os << be_nl - << "if (_invoke_status == TAO_INVOKE_RESTART)" << be_idt_nl - << "continue;" << be_uidt_nl - << "// if (_invoke_status == TAO_INVOKE_EXCEPTION)" << be_idt_nl - << "// cannot happen" << be_uidt_nl - << "if (_invoke_status != TAO_INVOKE_OK)" << be_nl - << "{" << be_idt_nl; - - if (this->gen_raise_exception (bt, - "CORBA::UNKNOWN", - "TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and invoke - " - "codegen for return var failed\n"), - -1); - } - - *os << be_uidt_nl - << "}" << be_nl - << "break;" << be_nl - << be_uidt_nl << "}" << be_nl; - - // the code below this is for 2way operations only - - if (this->void_return_type (bt) && - !this->has_param_type (node, AST_Argument::dir_INOUT) && - !this->has_param_type (node, AST_Argument::dir_OUT)) - { - return 0; - } - - // Do any post_invoke stuff that might be necessary. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_POST_INVOKE_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_INPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for args in post do_static_call\n"), - -1); - } - - - // Generate any temporary variables to demarshal the arguments - ctx = *this->ctx_; - be_visitor_compiled_args_decl vis1 (new be_visitor_context (ctx)); - if (node->accept (&vis1) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_pre_stub_info - " - "codegen for pre args failed\n"), - -1); - } - - if (!this->void_return_type (bt)) - { - // Generate any temporary variables to demarshal the return value - ctx = *this->ctx_; - be_visitor_context *new_ctx = - new be_visitor_context (ctx); - be_visitor_operation_compiled_rettype_post_docall vis2 (new_ctx); - if (bt->accept (&vis2) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_pre_stub_info - " - "codegen rettype [post docall] failed\n"), - -1); - } - } - - // check if there was a user exception, else demarshal the - // return val (if any) and parameters (if any) that came with - // the response message - *os << "TAO_InputCDR &_tao_in = _tao_call.inp_stream ();" << be_nl - << "if (!(\n" << be_idt << be_idt << be_idt; - - if (!this->void_return_type (bt)) - { - // demarshal the return val - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_INVOKE_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_INPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for return var failed\n"), - -1); - } - } - - if (this->has_param_type (node, AST_Argument::dir_INOUT) || - this->has_param_type (node, AST_Argument::dir_OUT)) - { - if (!this->void_return_type (bt)) - *os << " &&\n"; - - // demarshal each out and inout argument - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_INPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and_invoke - " - "codegen for return var failed\n"), - -1); - } - } - - if (!this->void_return_type (bt) || - this->has_param_type (node, AST_Argument::dir_INOUT) || - this->has_param_type (node, AST_Argument::dir_OUT)) - { - - *os << be_uidt << be_uidt << be_nl - << "))" << be_nl; - // if marshaling fails, raise exception - if (this->gen_raise_exception (bt, "CORBA::MARSHAL", - "TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ami_cs::" - "gen_marshal_and invoke - " - "codegen for return var failed\n"), - -1); - } - *os << be_uidt; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp deleted file mode 100644 index ad20f9bd7a8..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp +++ /dev/null @@ -1,122 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation node in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, operation_ch, "$Id$") - - -// ****************************************************** -// primary visitor for "operation" in client header -// ****************************************************** - -be_visitor_operation_ch::be_visitor_operation_ch (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ch::~be_visitor_operation_ch (void) -{ -} - -int -be_visitor_operation_ch::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *os << "virtual "; - - // STEP I: generate the return type - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ch::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // grab the right visitor to generate the return type - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_ch::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ch::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - // STEP 2: generate the operation name - *os << " " << node->local_name (); - - // STEP 3: generate the argument list with the appropriate mapping. For these - // we grab a visitor that generates the parameter listing - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_CH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_ch::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ch::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp deleted file mode 100644 index 980cbb496c8..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp +++ /dev/null @@ -1,937 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation in the stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, operation_cs, "$Id$") - - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -be_visitor_operation_cs::be_visitor_operation_cs (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_cs::~be_visitor_operation_cs (void) -{ -} - -// processing to be done after every element in the scope is processed -int -be_visitor_operation_cs::post_process (be_decl *bd) -{ - // all we do here is to insert a comma and a newline - TAO_OutStream *os = this->ctx_->stream (); - if (!this->last_node (bd)) - *os << ",\n"; - return 0; -} - -int -be_visitor_operation_cs::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node - be_visitor_context ctx; // visitor context - be_visitor *visitor; // visitor - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node for future use - - os->indent (); // start with the current indentation level - - // retrieve the operation return type - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // Generate the return type mapping (same as in the header file) - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS); - visitor = tao_cg->make_visitor (&ctx); - - if ((!visitor) || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - // Generate the operation name - *os << " " << node->name (); - - // Generate the argument list with the appropriate mapping (same as - // in the header file) - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_OTHERS); - visitor = tao_cg->make_visitor (&ctx); - if ((!visitor) || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - // Generate the actual code for the stub. However, if any of the argument - // types is "native", we flag a MARSHAL exception. - // last argument - is always CORBA::Environment - *os << "{" << be_idt_nl; - - // Deal with differences between IDL mapping for true C++ exceptions and - // alternate mapping. Since our code uses the ACE_TRY_ENV variable in a - // number of places, for the true exception case, we will have to explicitly - // declare the ACE_TRY_ENV variable. - *os << this->gen_environment_var () << "\n"; - - // Generate any pre stub info if and only if none of our parameters is of the - // native type. - if (!node->has_native ()) - { - // native type does not exist. - - // Generate any "pre" stub information such as tables or declarations - // This is a template method and the actual work will be done by the - // derived class - if (this->gen_pre_stub_info (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "gen_pre_stub_info failed\n"), - -1); - } - } - - // Declare return type. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for return var decl failed\n"), - -1); - } - - if (node->has_native ()) // native exists => no stub - { - if (this->gen_raise_exception (bt, "CORBA::MARSHAL", - "") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for return var failed\n"), - -1); - } - } - else - { - // Generate code that retrieves the underlying stub object and then - // invokes do_static_call on it. - *os << be_nl - << "TAO_Stub *istub = this->_stubobj ();" << be_nl - << "if (istub == 0)" << be_idt_nl; - - // if the stub object was bad, then we raise a system exception - if (this->gen_raise_exception (bt, "CORBA::INTERNAL", - "") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for checking exception failed\n"), - -1); - - } - *os << be_uidt_nl << "\n"; - - // do any pre marshal and invoke processing with return type. This - // includes allocating memory, initialization. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_PRE_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for retval pre invoke failed\n"), - -1); - } - - // do any pre marshal and invoke stuff with arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_PRE_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for argument pre invoke failed\n"), - -1); - } - - // generate the code for marshaling in the parameters and transmitting - // them - if (this->gen_marshal_and_invoke (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for marshal and invoke failed\n"), - -1); - - } - - if (!this->void_return_type (bt)) - { - // now generate the normal successful return statement - os->indent (); - *os << "return "; - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for return var failed\n"), - -1); - } - *os << ";"; - } - } // end of if (!native) - - *os << be_uidt_nl << "}\n\n"; - - return 0; -} - -int -be_visitor_operation_cs::visit_argument (be_argument *node) -{ - // this method is used to generate the ParamData table entry - - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; // argument type - - // retrieve the type for this argument - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - os->indent (); - *os << "{" << bt->tc_name () << ", "; - switch (node->direction ()) - { - case AST_Argument::dir_IN: - *os << "PARAM_IN, "; - break; - case AST_Argument::dir_INOUT: - *os << "PARAM_INOUT, "; - break; - case AST_Argument::dir_OUT: - *os << "PARAM_OUT, "; - break; - } - *os << "0}"; - - return 0; -} - -int -be_visitor_operation_cs::gen_raise_exception (be_type *bt, - const char *excep, - const char *completion_status) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - if (this->void_return_type (bt)) - { - *os << "ACE_THROW (" - << excep << " (" << completion_status << "));\n"; - } - else - { - *os << "ACE_THROW_RETURN (" - << excep << " (" << completion_status << "), "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "gen_raise_exception - " - "codegen for return var failed\n"), - -1); - } - *os << ");\n"; - } - return 0; -} - -int -be_visitor_operation_cs::gen_check_exception (be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - // check if there is an exception - if (this->void_return_type (bt)) - { - *os << "ACE_CHECK;\n"; - //<< "_tao_environment);\n"; - } - else - { - *os << "ACE_CHECK_RETURN ("; - // << "_tao_environment, "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "gen_check_exception - " - "codegen failed\n"), - -1); - } - *os << ");\n"; - } - - return 0; -} - -// ************************************************************ -// Operation visitor for interpretive client stubs -// ************************************************************ - -be_interpretive_visitor_operation_cs:: -be_interpretive_visitor_operation_cs (be_visitor_context *ctx) - : be_visitor_operation_cs (ctx) -{ -} - -be_interpretive_visitor_operation_cs::~be_interpretive_visitor_operation_cs (void) -{ -} - -// concrete implementation of the template methods - -int -be_interpretive_visitor_operation_cs::gen_pre_stub_info (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - // Generate the TAO_Param_Data table - os->indent (); - *os << "static const TAO_Param_Data "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << - "_paramdata [] = " << be_nl; - *os << "{\n"; - os->incr_indent (); - - // entry for the return type - *os << "{" << bt->tc_name () << ", PARAM_RETURN, 0}"; - if (node->nmembers () > 0) - *os << ",\n"; - - // generate entries for the param data table for arguments - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_cs::" - "gen_pre_stub_info - " - "visit scope failed\n"), - -1); - } - *os << "\n"; - os->decr_indent (); - *os << "}; // " << node->flatname () << "_paramdata\n\n"; - - // Check if this operation raises any exceptions. In that case, we must - // generate a list of exception typecodes. This is not valid for - // attributes - if (!this->ctx_->attribute ()) - { - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_interpretive_visitor_operation_cs::" - "gen_pre_stub_info - " - "Exceptionlist generation error\n"), - -1); - } - } - - // now generate the calldata table - os->indent (); - *os << "static const TAO_Call_Data "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () - << "_calldata = " << be_nl - << "{" - << "\""; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->local_name () << "\", "; - - // are we oneway or two operation? - if (node->flags () == AST_Operation::OP_oneway) - { - *os << "0, "; // for false - } - else - { - *os << "1, "; // for true - } - // insert the size of the paramdata table i.e., number of arguments + 1 - // for return type - *os << (node->argument_count () + 1) << ", "; - - // insert the address of the paramdata table - // first check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_paramdata, "; - - // insert exception list (if any) - node for attributes - if (this->ctx_->attribute ()) - *os << "0, 0};\n\n"; - else - { - if (node->exceptions ()) - { - *os << node->exceptions ()->length () - << ", _tao_" << node->flatname () << "_exceptiondata};\n\n"; - } - else - *os << "0, 0};\n\n"; - } - return 0; -} - -int -be_interpretive_visitor_operation_cs::gen_marshal_and_invoke (be_operation - *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - *os << "void* _tao_arguments[" - << node->argument_count () + 1 << "];" << be_nl - << "const void** _tao_arg = ACE_const_cast (const void**,_tao_arguments);" << be_nl - << "*_tao_arg = "; - - // pass the appropriate return value to docall - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - *os << "; _tao_arg++;\n"; - - // pass each argument to do_static_call - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - - // call do_static_call with appropriate number of arguments - os->indent (); - *os << "istub->do_static_call (" << be_idt_nl - << "ACE_TRY_ENV, " << be_nl - << "&"; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_calldata," << be_nl - << "_tao_arguments" << be_uidt_nl - << ");\n"; - - os->indent (); - // check if there is an exception - if (this->gen_check_exception (bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interpretive_visitor_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for checking exception failed\n"), - -1); - - } - - // do any post processing for the arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_POST_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for args post do_static_call failed\n"), - -1); - } - - // do any post processing for the retval - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_POST_INVOKE_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for return type post do_static_call failed\n"), - -1); - } - - return 0; -} - -// ************************************************************ -// Operation visitor for compiled client stubs -// ************************************************************ - -be_compiled_visitor_operation_cs:: -be_compiled_visitor_operation_cs (be_visitor_context *ctx) - : be_visitor_operation_cs (ctx) -{ -} - -be_compiled_visitor_operation_cs::~be_compiled_visitor_operation_cs (void) -{ -} - -// concrete implementation of the template methods - -int -be_compiled_visitor_operation_cs::gen_pre_stub_info (be_operation *node, - be_type *) -{ - - // Check if this operation raises any exceptions. In that case, we must - // generate a list of exception typecodes. This is not valid for - // attributes - if (!this->ctx_->attribute ()) - { - be_visitor_context ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_EXCEPTLIST_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) " - "be_compiled_visitor_operation_cs::" - "gen_pre_stub_info - " - "Exceptionlist generation error\n"), - -1); - } - } - - return 0; -} - -int -be_compiled_visitor_operation_cs::gen_marshal_and_invoke (be_operation - *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - - // create the GIOP_Invocation and grab the outgoing CDR stream - switch (node->flags ()) - { - case AST_Operation::OP_oneway: - *os << "TAO_GIOP_Oneway_Invocation _tao_call "; - break; - default: - *os << "TAO_GIOP_Twoway_Invocation _tao_call "; - } - *os << "(" << be_idt << be_idt_nl - << "istub," << be_nl; - - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "\"_set_\""; - else - *os << "\"_get_\""; - } - - *os << "\"" << node->original_local_name () - << "\"," << be_nl - << "istub->orb_core ()" << be_uidt_nl - << ");" << be_uidt_nl; - - *os << "\n" << be_nl - << "for (;;)" << be_nl - << "{" << be_idt_nl; - - // *os << "ACE_TRY_ENV.clear ();" << be_nl; - *os << "_tao_call.start (ACE_TRY_ENV);\n"; - // check if there is an exception - if (this->gen_check_exception (bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for checking exception failed\n"), - -1); - - } - - // now make sure that we have some in and inout parameters. Otherwise, there - // is nothing to be marshaled in - if (this->has_param_type (node, AST_Argument::dir_IN) || - this->has_param_type (node, AST_Argument::dir_INOUT)) - { - *os << be_nl - << "TAO_OutputCDR &_tao_out = _tao_call.out_stream ();" - << be_nl - << "if (!(\n" << be_idt << be_idt << be_idt; - - // marshal each in and inout argument - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_OUTPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for return var in do_static_call failed\n"), - -1); - } - *os << be_uidt << be_uidt_nl - << "))" << be_nl; - - // if marshaling fails, raise exception - if (this->gen_raise_exception (bt, "CORBA::MARSHAL", - "") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_marshal_and invoke - " - "codegen for return var failed\n"), - -1); - } - *os << be_uidt; - } - - *os << be_nl - << "int _invoke_status =" << be_idt_nl; - if (node->flags () == AST_Operation::OP_oneway) - { - // oneway operation - *os << "_tao_call.invoke (ACE_TRY_ENV);"; - } - else - { - if (node->exceptions ()) - { - *os << "_tao_call.invoke (_tao_" << node->flatname () - << "_exceptiondata, " - << node->exceptions ()->length () - << ", ACE_TRY_ENV);"; - } - else - { - *os << "_tao_call.invoke (0, 0, ACE_TRY_ENV);"; - } - } - - *os << be_uidt_nl; - // check if there is an exception - if (this->gen_check_exception (bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for checking exception failed\n"), - -1); - } - - *os << be_nl - << "if (_invoke_status == TAO_INVOKE_RESTART)" << be_idt_nl - << "continue;" << be_uidt_nl - << "// if (_invoke_status == TAO_INVOKE_EXCEPTION)" << be_idt_nl - << "// cannot happen" << be_uidt_nl - << "if (_invoke_status != TAO_INVOKE_OK)" << be_nl - << "{" << be_idt_nl; - - if (this->gen_raise_exception (bt, - "CORBA::UNKNOWN", - "TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_marshal_and invoke - " - "codegen for return var failed\n"), - -1); - } - - *os << be_uidt_nl - << "}" << be_nl - << "break;" << be_nl - << be_uidt_nl << "}" << be_nl; - - // the code below this is for 2way operations only - - if (this->void_return_type (bt) && - !this->has_param_type (node, AST_Argument::dir_INOUT) && - !this->has_param_type (node, AST_Argument::dir_OUT)) - { - return 0; - } - - // Do any post_invoke stuff that might be necessary. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_POST_INVOKE_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_INPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for args in post do_static_call\n"), - -1); - } - - - // Generate any temporary variables to demarshal the arguments - ctx = *this->ctx_; - be_visitor_compiled_args_decl vis1 (new be_visitor_context (ctx)); - if (node->accept (&vis1) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_pre_stub_info - " - "codegen for pre args failed\n"), - -1); - } - - if (!this->void_return_type (bt)) - { - // Generate any temporary variables to demarshal the return value - ctx = *this->ctx_; - be_visitor_context *new_ctx = - new be_visitor_context (ctx); - be_visitor_operation_compiled_rettype_post_docall vis2 (new_ctx); - if (bt->accept (&vis2) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_pre_stub_info - " - "codegen rettype [post docall] failed\n"), - -1); - } - } - - // check if there was a user exception, else demarshal the - // return val (if any) and parameters (if any) that came with - // the response message - *os << "TAO_InputCDR &_tao_in = _tao_call.inp_stream ();" << be_nl - << "if (!(\n" << be_idt << be_idt << be_idt; - - if (!this->void_return_type (bt)) - { - // demarshal the return val - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_INVOKE_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_INPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for return var failed\n"), - -1); - } - } - - if (this->has_param_type (node, AST_Argument::dir_INOUT) || - this->has_param_type (node, AST_Argument::dir_OUT)) - { - if (!this->void_return_type (bt)) - *os << " &&\n"; - - // demarshal each out and inout argument - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_INVOKE_CS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_INPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_marshal_and_invoke - " - "codegen for return var failed\n"), - -1); - } - } - - if (!this->void_return_type (bt) || - this->has_param_type (node, AST_Argument::dir_INOUT) || - this->has_param_type (node, AST_Argument::dir_OUT)) - { - - *os << be_uidt << be_uidt << be_nl - << "))" << be_nl; - // if marshaling fails, raise exception - if (this->gen_raise_exception (bt, "CORBA::MARSHAL", - "TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_marshal_and invoke - " - "codegen for return var failed\n"), - -1); - } - *os << be_uidt; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_ih.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_ih.cpp deleted file mode 100644 index 67a50e5b36f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation_ih.cpp +++ /dev/null @@ -1,125 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ih.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation in the implementation header -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, operation_ih, "$Id$") - -// ************************************************************ -// Operation visitor for implementation header -// ************************************************************ - -be_visitor_operation_ih::be_visitor_operation_ih (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ih::~be_visitor_operation_ih (void) -{ -} - -int -be_visitor_operation_ih::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node representing the return type - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *os << "virtual "; - - // STEP I: generate the return type - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_sh::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // grab the right visitor to generate the return type - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_ih::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ih::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - // STEP 2: generate the operation name - *os << " " << node->local_name (); - - // STEP 3: generate the argument list with the appropriate mapping. For these - // we grab a visitor that generates the parameter listing - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_IH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_ih::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ih::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - //generate the exceptions that are thrown by the operation - //Don't have to do it here. It will be done as part of the argument list generatio - //this->gen_throw_spec (node); - - return 0; -} - - diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_is.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_is.cpp deleted file mode 100644 index 4e366f6ef46..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation_is.cpp +++ /dev/null @@ -1,175 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_is.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation in the implementation skeleton -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" -#include "ace/SString.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, operation_is, "$Id$") - -// ************************************************************ -// Operation visitor for implementation skeleton -// ************************************************************ - -be_visitor_operation_is::be_visitor_operation_is (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_is::~be_visitor_operation_is (void) -{ -} - -int -be_visitor_operation_is::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node representing the return type - - //cout<<"Within visit_operation "<ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - - - - // STEP I: generate the return type - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_is::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // grab the right visitor to generate the return type - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_is::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_is::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - - ACE_CString str(node->flatname ()); - - - int lnmlength = ACE_OS::strlen (node->local_name ()->get_string ()); - - int fnmlength = ACE_OS::strlen (node->flatname ()); - fnmlength--; - - char * classname = str.substr (0,(fnmlength-lnmlength) ).rep (); - - // STEP 2: generate the operation name - *os << " " << idl_global->impl_class_prefix () << classname << idl_global->impl_class_suffix () << "::" << node->local_name (); - - // STEP 3: generate the argument list with the appropriate mapping. For these - // we grab a visitor that generates the parameter listing - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_IS); - visitor = tao_cg->make_visitor (&ctx); - - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_is::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_is::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - //generate the excetions thrown by the operation - // this->gen_throw_spec (node); - - *os <ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_IS); - visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_is::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_is::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - */ - - *os << "}" << be_nl << be_uidt_nl; - - - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp deleted file mode 100644 index 05bca9d22d2..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp +++ /dev/null @@ -1,148 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation in the server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, operation_sh, "$Id$") - - -// ************************************************************ -// Operation visitor for server header -// ************************************************************ - -be_visitor_operation_sh::be_visitor_operation_sh (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_sh::~be_visitor_operation_sh (void) -{ -} - -int -be_visitor_operation_sh::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node representing the return type - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *os << "virtual "; - - // STEP I: generate the return type - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_sh::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // grab the right visitor to generate the return type - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_sh::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_sh::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - // STEP 2: generate the operation name - *os << " " << node->local_name (); - - // STEP 3: generate the argument list with the appropriate mapping. For these - // we grab a visitor that generates the parameter listing - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_SH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_sh::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_sh::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - // generate the corresponding static skeleton method for this operation only - // if there was no "native" type - if (!node->has_native ()) - { - os->indent (); - *os << "static void "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->local_name () << - "_skel (" << be_idt << be_idt_nl - << "CORBA::ServerRequest &_tao_req, " << be_nl - << "void *_tao_obj, " << be_nl - << "void *_tao_context, " << be_nl - << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt << "\n\n"; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp deleted file mode 100644 index d4ac4d925ed..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp +++ /dev/null @@ -1,821 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ss.cpp -// -// = DESCRIPTION -// Visitor generating code for Operation in the server skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" -#include "be_visitor_argument.h" - -ACE_RCSID(be_visitor_operation, operation_ss, "$Id$") - - -// ************************************************************ -// Operation visitor for server skeletons -// ************************************************************ - -be_visitor_operation_ss::be_visitor_operation_ss (be_visitor_context *ctx) - : be_visitor_operation (ctx) -{ -} - -be_visitor_operation_ss::~be_visitor_operation_ss (void) -{ -} - -// processing to be done after every element in the scope is processed -int -be_visitor_operation_ss::post_process (be_decl *bd) -{ - // all we do here is to insert a comma and a newline - TAO_OutStream *os = this->ctx_->stream (); - if (!this->last_node (bd)) - *os << ",\n"; - return 0; -} - -int -be_visitor_operation_ss::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node for return type - - os = this->ctx_->stream (); // grab the o/p stream - this->ctx_->node (node); // save the node for future use - - os->indent (); // start with the current indentation level - - // if there is an argument of type "native", return immediately - if (node->has_native ()) - return 0; - - // retrieve the operation return type - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // We need the interface node in which this operation was defined. However, - // if this operation node was an attribute node in disguise, we get this - // information from the context - be_interface *intf; - intf = this->ctx_->attribute () - ? be_interface::narrow_from_scope (this->ctx_->attribute ()->defined_in ()) - : be_interface::narrow_from_scope (node->defined_in ()); - - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "bad interface scope\n"), - -1); - } - - // generate the signature of the static skeleton - os->indent (); - *os << "void " << intf->full_skel_name () << "::"; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->local_name () - << "_skel (" << be_idt << be_idt_nl; - - if (node->flags () == AST_Operation::OP_oneway - && !this->has_param_type (node, AST_Argument::dir_IN)) - { - *os << "CORBA::ServerRequest &/* _tao_server_request */, " << be_nl; - } - else - { - *os << "CORBA::ServerRequest &_tao_server_request, " << be_nl; - } - - *os << "void *_tao_object_reference, " << be_nl - << "void * /* context */, " << be_nl - << "CORBA::Environment &ACE_TRY_ENV" << be_uidt << be_uidt_nl - << ")" << be_nl; - - // generate the actual code for the skeleton. However, if any of the argument - // types is "native", we do not generate any skeleton - // last argument - is always CORBA::Environment - *os << "{\n" << be_idt; - - // generate all the tables and other pre-skel info - if (this->gen_pre_skel_info (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "gen_pre_skel_info failed\n"), - -1); - } - - os->indent (); - // get the right object implementation. - *os << intf->full_skel_name () << " *_tao_impl = (" - << intf->full_skel_name () << " *)_tao_object_reference;\n\n"; - - // declare a return type variable - be_visitor_context ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for return var decl failed\n"), - -1); - } - - // declare variables for arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_DECL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for return var decl failed\n"), - -1); - } - - // Demarshal parameters - if (this->gen_demarshal_params (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "gen_demarshal_params failed\n"), - -1); - } - - // do pre upcall processing if any - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_PRE_UPCALL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for pre upcall failed\n"), - -1); - } - // make the upcall and assign to the return val - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for retval assignment failed\n"), - -1); - } - - // make the upcall - *os << "_tao_impl->" << node->local_name () << " (" << be_idt << "\n"; - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_UPCALL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for making upcall failed\n"), - -1); - } - - // end the upcall - *os << be_uidt_nl << ");\n"; - - if (node->flags () != AST_Operation::OP_oneway) - { - os->indent (); - *os << "ACE_CHECK;\n"; - } - - // do any post processing for the arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_POST_UPCALL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for args in post upcall failed\n"), - -1); - } - - // check if we are oneway in which case, we are done - if (node->flags () == AST_Operation::OP_oneway) - { - // we are done. Nothing else to do, except closing the function body. - os->decr_indent (); - *os << "}\n\n"; - return 0; - } - - // marshal outgoing parameters - if (this->gen_marshal_params (node, bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "gen_marshal_params failed\n"), - -1); - } - - // do any post processing for the retval - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_POST_UPCALL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for return type post upcall failed\n"), - -1); - } - - // do any post processing for the arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_POST_MARSHAL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for args in post marshal failed\n"), - -1); - } - - os->decr_indent (); - *os << "}\n\n"; - return 0; -} - -int -be_visitor_operation_ss::visit_argument (be_argument *node) -{ - // this method is used to generate the ParamData table entry - - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; // argument type - - // retrieve the type for this argument - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - os->indent (); - *os << "{" << bt->tc_name () << ", "; - switch (node->direction ()) - { - case AST_Argument::dir_IN: - *os << "CORBA::ARG_IN, "; - break; - case AST_Argument::dir_INOUT: - *os << "CORBA::ARG_INOUT, "; - break; - case AST_Argument::dir_OUT: - *os << "CORBA::ARG_OUT, "; - break; - } - *os << "0}"; - - return 0; -} - -int -be_visitor_operation_ss::gen_raise_exception (be_type *, - const char *excep, - const char *completion_status, - const char * /* env */) -{ - TAO_OutStream *os = this->ctx_->stream (); - - os->indent (); - *os << "ACE_THROW (" - << excep << " (" << completion_status << ") " - << ");\n"; - return 0; -} - -int -be_visitor_operation_ss::gen_check_exception (be_type *, const char * /* env */) -{ - TAO_OutStream *os = this->ctx_->stream (); - - os->indent (); - // check if there is an exception - *os << "ACE_CHECK;\n"; - // << env << ");\n"; - - return 0; -} - - -// ********************************************************************* -// Operation visitor for server skeletons using interpretive marshaling -// ********************************************************************* - -be_interpretive_visitor_operation_ss:: -be_interpretive_visitor_operation_ss (be_visitor_context *ctx) - : be_visitor_operation_ss (ctx) -{ -} - -be_interpretive_visitor_operation_ss:: -~be_interpretive_visitor_operation_ss (void) -{ -} - -int -be_interpretive_visitor_operation_ss::gen_pre_skel_info (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor_context ctx; - - os->indent (); - // generate the param_data and call_data tables. We generate these if and - // only if none of our arguments is of "native" type. Native types cannot be - // marshaled. - // native type does not exist. Generate the static tables - - // generate the TAO_Param_Data_Skel table - *os << "static const TAO_Param_Data_Skel "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << - "_paramdata [] = " << be_nl; - *os << "{\n"; - os->incr_indent (); - - // entry for the return type - *os << "{" << bt->tc_name () << ", 0, 0}"; - if (node->nmembers () > 0) - *os << ",\n"; - - // generate entries for the param data table for arguments - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "visit scope failed\n"), - -1); - } - *os << "\n"; - os->decr_indent (); - *os << "}; // " << node->flatname () << "_paramdata\n\n"; - - // now generate the calldata table - os->indent (); - *os << "static const TAO_Call_Data_Skel "; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () - << "_calldata = " << be_nl - << "{" - << "\""; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->local_name () << "\", "; - - // are we oneway or two operation? - if (node->flags () == AST_Operation::OP_oneway) - { - *os << "0, "; // for false - } - else - { - *os << "1, "; // for true - } - // insert the size of the paramdata table i.e., number of arguments + 1 - // for return type - *os << (node->argument_count () + 1) << ", "; - - // insert the address of the paramdata table - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_paramdata};\n\n"; - - return 0; -} - -int -be_interpretive_visitor_operation_ss::gen_demarshal_params (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - // setup parameters for demarshaling and demarshal them - os->indent (); - *os << "_tao_server_request.demarshal (" << be_idt_nl - << "ACE_TRY_ENV, " << be_nl - << "&"; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_calldata,\n"; - - // pass the appropriate return value to the demarshal operation - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_DEMARSHAL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for return var in demarshal failed\n"), - -1); - } - // insert a comma after the return val if there are arguments - if (node->argument_count () > 0) - *os << ",\n"; - - // pass each argument to the demarshal operation - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_DEMARSHAL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for argument in demarshal failed\n"), - -1); - } - - // end the demarshal call - *os << be_uidt_nl; - *os << ");" << be_nl; - - *os << "ACE_CHECK;\n"; - - return 0; -} - -int -be_interpretive_visitor_operation_ss::gen_marshal_params (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - // setup parameters for marshaling and marshal them into the - // outgoing stream - os->indent (); - *os << "_tao_server_request.marshal (" << be_idt_nl - << "ACE_TRY_ENV, " << be_nl - // << "_tao_skel_environment, " << be_nl - << "&"; - // check if we are an attribute node in disguise - if (this->ctx_->attribute ()) - { - // now check if we are a "get" or "set" operation - if (node->nmembers () == 1) // set - *os << "_set_"; - else - *os << "_get_"; - } - *os << node->flatname () << "_calldata,\n"; - - // pass the appropriate return value to the marshal operation - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_MARSHAL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for return var in marshal failed\n"), - -1); - } - // insert a comma after the return val if there are arguments - if (node->argument_count () > 0) - { - *os << ",\n"; - } - - // pass each argument to the marshal operation - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_MARSHAL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for argument in marshal failed\n"), - -1); - } - // end the marshal call - *os << be_uidt_nl; - *os << ");\n"; - - return 0; -} - -// ********************************************************************* -// Operation visitor for server skeletons using compiled marshaling -// ********************************************************************* - -be_compiled_visitor_operation_ss:: -be_compiled_visitor_operation_ss (be_visitor_context *ctx) - : be_visitor_operation_ss (ctx) -{ -} - -be_compiled_visitor_operation_ss:: -~be_compiled_visitor_operation_ss (void) -{ -} - -int -be_compiled_visitor_operation_ss::gen_pre_skel_info (be_operation *node, - be_type *) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // now make sure that we have some in and inout parameters. Otherwise, there - // is nothing to be marshaled in - if (this->has_param_type (node, AST_Argument::dir_IN) || - this->has_param_type (node, AST_Argument::dir_INOUT)) - { - // instantiate a TAO_InputCDR variable - os->indent (); - *os << "TAO_InputCDR &_tao_in = _tao_server_request.incoming ();\n"; - } - - return 0; -} - -int -be_compiled_visitor_operation_ss::gen_demarshal_params (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - // now make sure that we have some in and inout parameters. Otherwise, there - // is nothing to be marshaled in - if (this->has_param_type (node, AST_Argument::dir_IN) || - this->has_param_type (node, AST_Argument::dir_INOUT)) - { - os->indent (); - - // demarshal the in and inout arguments - *os << "if (!(\n" << be_idt; - - // marshal each in and inout argument - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_DEMARSHAL_SS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_INPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ss::" - "gen_demarshal_params - " - "codegen for demarshal failed\n"), - -1); - } - *os << be_uidt_nl << "))\n" << be_idt; - - // if marshaling fails, raise exception - if (this->gen_raise_exception (bt, "CORBA::MARSHAL", - "", - "ACE_TRY_ENV") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ss::" - "gen_marshal_and invoke - " - "codegen for return var failed\n"), - -1); - } - *os << be_uidt << "\n"; - - }; - - return 0; -} - -int -be_compiled_visitor_operation_ss::gen_marshal_params (be_operation *node, - be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - // setup parameters for marshaling and marshal them into the - // outgoing stream - // the code below this is for 2way operations only - - // We will be here only if we are 2way - // first initialize a reply message - os->indent (); - *os << "_tao_server_request.init_reply (ACE_TRY_ENV);\n"; - - // We still need the following check because we maybe 2way and yet have no - // parameters and a void return type - if (this->void_return_type (bt) && - !this->has_param_type (node, AST_Argument::dir_INOUT) && - !this->has_param_type (node, AST_Argument::dir_OUT)) - { - return 0; - } - - // grab the incoming stream - os->indent (); - *os << "ACE_CHECK;" << be_nl; - - // Create temporary variables for the out and return parameters.. - if (!this->void_return_type (bt)) - { - ctx = *this->ctx_; - be_visitor_context *new_ctx = - new be_visitor_context (ctx); - be_visitor_operation_compiled_rettype_post_upcall visitor (new_ctx); - if (bt->accept (&visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ss::" - "gen_marshal_params - " - "codegen for return var [post upcall] failed\n"), - -1); - } - } - - // Generate any temporary variables to demarshal the arguments - ctx = *this->ctx_; - be_visitor_compiled_args_post_upcall vis1 (new be_visitor_context (ctx)); - if (node->accept (&vis1) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_cs::" - "gen_pre_stub_info - " - "codegen for pre args failed\n"), - -1); - } - - *os << "TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();" << be_nl; - *os << "if (!(\n" << be_idt; - - if (!this->void_return_type (bt)) - { - // demarshal the return val and each inout and out argument - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_MARSHAL_SS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_OUTPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ss::" - "gen_marshal_params - " - "codegen for return var failed\n"), - -1); - } - } - - if (this->has_param_type (node, AST_Argument::dir_INOUT) || - this->has_param_type (node, AST_Argument::dir_OUT)) - { - - if (!this->void_return_type (bt)) - // we have already printed the return val. SO put a && - *os << " &&\n"; - - // marshal each in and inout argument - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_MARSHAL_SS); - ctx.sub_state (TAO_CodeGen::TAO_CDR_OUTPUT); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ss::" - "gen_marshal_params - " - "codegen for args failed\n"), - -1); - } - } - - *os << be_uidt_nl << "))\n" << be_idt; - // if marshaling fails, raise exception - if (this->gen_raise_exception (bt, "CORBA::MARSHAL", - "", - "ACE_TRY_ENV") == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_compiled_visitor_operation_ss::" - "gen_marshal_params - " - "codegen for raising exception failed\n"), - -1); - } - *os << be_uidt << be_uidt << "\n"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp deleted file mode 100644 index 860210a7aab..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp +++ /dev/null @@ -1,315 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype.cpp -// -// = DESCRIPTION -// Visitor generating code for return type of the Operation node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype, "$Id$") - - -// **************************************************************************** -// Operation visitor for return types. This generates the mapping for a return -// type in an operation signature -// **************************************************************************** - -be_visitor_operation_rettype::be_visitor_operation_rettype (be_visitor_context - *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype::~be_visitor_operation_rettype (void) -{ -} - -int -be_visitor_operation_rettype::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope (), "_slice") << " *"; - else - *os << bt->name () << "_slice *"; - return 0; -} - -int -be_visitor_operation_rettype::visit_enum (be_enum *node) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()); - else - *os << bt->name (); - return 0; -} - -int -be_visitor_operation_rettype::visit_interface (be_interface *node) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope (), "_ptr"); - else - *os << bt->name () << "_ptr"; - return 0; -} - -int -be_visitor_operation_rettype::visit_interface_fwd (be_interface_fwd *node) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope (), "_ptr"); - else - *os << bt->name () << "_ptr"; - return 0; -} - -int -be_visitor_operation_rettype::visit_native (be_native *node) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()) << " *"; - else - *os << bt->name () << " *"; - return 0; -} - -int -be_visitor_operation_rettype::visit_predefined_type (be_predefined_type *node) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope (), "_ptr"); - else - *os << bt->name () << "_ptr"; - break; - case AST_PredefinedType::PT_any: - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()) << " *"; - else - *os << bt->name () << " *"; - break; - default: - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()); - else - *os << bt->name (); - break; - } - - return 0; -} - -int -be_visitor_operation_rettype::visit_sequence (be_sequence *node) -{ - - - // we should never directly be here because anonymous sequence return types - // are not allowed - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()) << " *"; - else - *os << bt->name () << " *"; - return 0; -} - -int -be_visitor_operation_rettype::visit_string (be_string * /* node*/) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - *os << "char *"; - return 0; -} - -int -be_visitor_operation_rettype::visit_structure (be_structure *node) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()); - else - *os << bt->name (); - - // based on whether we are variable or not, we return a pointer or the - // aggregate type - if (node->size_type () == be_decl::VARIABLE) - *os << " *"; - return 0; -} - -int -be_visitor_operation_rettype::visit_typedef (be_typedef *node) -{ - - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_operation_rettype::visit_union (be_union *node) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()); - else - *os << bt->name (); - - // based on whether we are variable or not, we return a pointer or the - // aggregate type - if (node->size_type () == be_decl::VARIABLE) - *os << " *"; - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int -be_visitor_operation_rettype::visit_valuetype (be_valuetype *node) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope (), " *"); - else { - *os << bt->name () << " *"; - } - return 0; -} - -int -be_visitor_operation_rettype::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_OPERATION_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope (), "*"); - else { - *os << bt->name () << " *"; - } - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_assign_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_assign_ss.cpp deleted file mode 100644 index fae87d2e2e5..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_assign_ss.cpp +++ /dev/null @@ -1,195 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_assign_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for assigning the return value of upcall to the -// return type variable. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype_assign_ss, "$Id$") - - -// **************************************************************************** -// visitor for assignment to a return value variable from the upcall -// **************************************************************************** - -be_visitor_operation_rettype_assign_ss:: -be_visitor_operation_rettype_assign_ss (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_assign_ss:: -~be_visitor_operation_rettype_assign_ss (void) -{ -} - -int -be_visitor_operation_rettype_assign_ss::visit_array (be_array *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval = "; - return 0; -} - -int -be_visitor_operation_rettype_assign_ss::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval = "; - - return 0; -} - -int -be_visitor_operation_rettype_assign_ss::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval = "; - - return 0; -} - -int -be_visitor_operation_rettype_assign_ss:: -visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval = "; - - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int -be_visitor_operation_rettype_assign_ss::visit_valuetype (be_valuetype *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval = "; - - return 0; -} - -int -be_visitor_operation_rettype_assign_ss:: -visit_valuetype_fwd (be_valuetype_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval = "; - - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int -be_visitor_operation_rettype_assign_ss:: -visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - switch (node->pt ()) - { - case AST_PredefinedType::PT_void: - break; - case AST_PredefinedType::PT_pseudo: - case AST_PredefinedType::PT_any: - default: - *os << "_tao_retval = "; - break; - } - return 0; -} - -int -be_visitor_operation_rettype_assign_ss::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval = "; - - return 0; -} - -int -be_visitor_operation_rettype_assign_ss::visit_string (be_string * /* node*/) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval = "; - - return 0; -} - -int -be_visitor_operation_rettype_assign_ss::visit_structure (be_structure *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval = "; - - return 0; -} - -int -be_visitor_operation_rettype_assign_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_assign_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_operation_rettype_assign_ss::visit_union (be_union *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval = "; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_docall_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_docall_cs.cpp deleted file mode 100644 index 1e21d6a8106..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_docall_cs.cpp +++ /dev/null @@ -1,172 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_docall_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for passing the return type variable to the -// do_static_call method in the stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype_docall_cs, "$Id$") - - -// ***************************************************************************** -// be_visitor_operation_rettype_docall_cs -// -// This visitor generates code that passes the return type variable to the -// do_static_call method -// ***************************************************************************** - -be_visitor_operation_rettype_docall_cs::be_visitor_operation_rettype_docall_cs -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_docall_cs:: -~be_visitor_operation_rettype_docall_cs (void) -{ -} - -int -be_visitor_operation_rettype_docall_cs::visit_array (be_array *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_docall_cs::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "&_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_docall_cs::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "&_tao_base_retval"; - return 0; -} - -int -be_visitor_operation_rettype_docall_cs::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "&_tao_base_retval"; - return 0; -} - -int -be_visitor_operation_rettype_docall_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - switch (node->pt ()) - { - case AST_PredefinedType::PT_void: - *os << "0"; - break; - case AST_PredefinedType::PT_any: - *os << "_tao_retval"; - break; - default: - *os << "&_tao_retval"; - break; - } - return 0; -} - -int -be_visitor_operation_rettype_docall_cs::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_docall_cs::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "&_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_docall_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // check if the struct is variable - if (node->size_type () == be_type::VARIABLE) - *os << "_tao_retval"; - else - *os << "&_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_docall_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_docall_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_operation_rettype_docall_cs::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // check if the union is variable - if (node->size_type () == be_type::VARIABLE) - *os << "_tao_retval"; - else - *os << "&_tao_retval"; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_is.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_is.cpp deleted file mode 100644 index d0a7b793551..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_is.cpp +++ /dev/null @@ -1,170 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype.cpp -// -// = DESCRIPTION -// Visitor generating code for return type of the Operation node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype_is, "$Id$") - - -// **************************************************************************** -// Operation visitor for return types. This generates the mapping for a return -// type in an operation signature -// **************************************************************************** - -be_visitor_operation_rettype_is::be_visitor_operation_rettype_is (be_visitor_context - *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_is::~be_visitor_operation_rettype_is (void) -{ -} - -int -be_visitor_operation_rettype_is::visit_array (be_array *) -{ - - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - *os << "return 0;" <ctx_->stream (); // grab the out stream - *os << "return 0;" <ctx_->stream (); // grab the out stream - *os << "return 0;" <ctx_->stream (); // grab the out stream - - *os << "return 0;" <ctx_->stream (); // grab the out stream - - *os << "return 0;" <ctx_->stream (); // grab the out stream - - switch (node->pt ()) - { - case AST_PredefinedType::PT_void: - *os << "return;" <ctx_->stream (); // grab the out stream - - *os << "return 0;" <ctx_->stream (); // grab the out stream - - - *os << "return 0;" <ctx_->stream (); // grab the out stream - - *os << "return 0;" <ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_operation_rettype_is::visit_union (be_union *) -{ - - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - *os << "return 0;" <ctx_->stream (); // grab the out stream - - os->indent (); - //*os << "_tao_ptr_retval"; - *os << "_tao_retval.inout ()"; - return 0; -} - -int -be_visitor_operation_rettype_marshal_ss::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "&_tao_retval"; - - return 0; -} - -int -be_visitor_operation_rettype_marshal_ss::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // *os << "&_tao_ptr_retval"; - *os << "&_tao_retval.inout ()"; - - return 0; -} - -int -be_visitor_operation_rettype_marshal_ss:: -visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // *os << "&_tao_ptr_retval"; - *os << "&_tao_retval.inout ()"; - - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int -be_visitor_operation_rettype_marshal_ss::visit_valuetype (be_valuetype *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // *os << "&_tao_ptr_retval"; - *os << "&_tao_retval.inout ()"; - - return 0; -} - -int -be_visitor_operation_rettype_marshal_ss:: -visit_valuetype_fwd (be_valuetype_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // *os << "&_tao_ptr_retval"; - *os << "&_tao_retval.inout ()"; - - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int -be_visitor_operation_rettype_marshal_ss:: -visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - switch (node->pt ()) - { - case AST_PredefinedType::PT_void: - os->indent (); - *os << "0"; - break; - case AST_PredefinedType::PT_pseudo: - os->indent (); - //*os << "&_tao_ptr_retval"; - *os << "&_tao_retval.inout ()"; - break; - case AST_PredefinedType::PT_any: - os->indent (); - // *os << "_tao_ptr_retval"; - *os << "&_tao_retval.inout ()"; - break; - default: - os->indent (); - *os << "&_tao_retval"; - break; - } - return 0; -} - -int -be_visitor_operation_rettype_marshal_ss::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // *os << "_tao_ptr_retval"; - *os << "&_tao_retval.inout ()"; - - return 0; -} - -int -be_visitor_operation_rettype_marshal_ss::visit_string (be_string * /* node*/) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // *os << "&_tao_ptr_retval"; - *os << "&_tao_retval.inout ()"; - - return 0; -} - -int -be_visitor_operation_rettype_marshal_ss::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - if (node->size_type () == be_type::VARIABLE) - //*os << "_tao_ptr_retval"; - *os << "&_tao_retval.inout ()"; - else - *os << "&_tao_retval"; - - return 0; -} - -int -be_visitor_operation_rettype_marshal_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_marshal_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_operation_rettype_marshal_ss::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - if (node->size_type () == be_type::VARIABLE) - // *os << "_tao_ptr_retval"; - *os << "&_tao_retval.inout ()"; - else - *os << "&_tao_retval"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_post_docall_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_post_docall_cs.cpp deleted file mode 100644 index 9c43261e406..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_post_docall_cs.cpp +++ /dev/null @@ -1,124 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_post_docall_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for return type post processing following a -// do_static_call. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype_post_docall_cs, "$Id$") - - -// ******************************************************************************* -// be_visitor_operation_rettype_post_docall_cs -// -// This visitor generates code that passes the return type variable to the -// do_static_call method -// ******************************************************************************** - -be_visitor_operation_rettype_post_docall_cs:: -be_visitor_operation_rettype_post_docall_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_post_docall_cs:: -~be_visitor_operation_rettype_post_docall_cs (void) -{ -} - -int -be_visitor_operation_rettype_post_docall_cs::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - *os << "_tao_retval = " << bt->name () - << "::_narrow (_tao_base_retval, ACE_TRY_ENV);" << be_nl; - *os << "CORBA::release (_tao_base_retval);\n"; - return 0; -} - -int -be_visitor_operation_rettype_post_docall_cs:: -visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - *os << "_tao_retval = " << bt->name () - << "::_narrow (_tao_base_retval, ACE_TRY_ENV);" << be_nl; - *os << "CORBA::release (_tao_base_retval);\n"; - return 0; -} - -// **************************************************************** - -be_visitor_operation_compiled_rettype_post_docall:: - be_visitor_operation_compiled_rettype_post_docall (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -int -be_visitor_operation_compiled_rettype_post_docall::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt = node; - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - - *os << bt->name () << "_forany _tao_retval_forany (" - << be_idt << be_idt_nl - << "_tao_retval" << be_uidt_nl - << ");\n" << be_uidt; - return 0; -} - -int -be_visitor_operation_compiled_rettype_post_docall::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_post_docall::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_post_upcall_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_post_upcall_ss.cpp deleted file mode 100644 index d30a99cc54f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_post_upcall_ss.cpp +++ /dev/null @@ -1,153 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_post_upcall_ss.cpp -// -// = DESCRIPTION -// Visitor generating code for post-processing of return type after an -// upcall is made -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype_post_upcall_ss, "$Id$") - - -// **************************************************************************** -// visitor to do any post processing for return type after an upcall -// **************************************************************************** - -be_visitor_operation_rettype_post_upcall_ss::be_visitor_operation_rettype_post_upcall_ss (be_visitor_context - *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_post_upcall_ss::~be_visitor_operation_rettype_post_upcall_ss (void) -{ -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_array (be_array *) -{ - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_enum (be_enum *) -{ - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_interface (be_interface *) -{ - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_interface_fwd (be_interface_fwd *) -{ - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_predefined_type (be_predefined_type *) -{ - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_sequence (be_sequence *) -{ - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_string (be_string * /* node*/) -{ - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_structure (be_structure *) -{ - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_post_upcall_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_union (be_union *) -{ - return 0; -} - -// **************************************************************** - -be_visitor_operation_compiled_rettype_post_upcall:: - be_visitor_operation_compiled_rettype_post_upcall (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -int -be_visitor_operation_compiled_rettype_post_upcall::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt = node; - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - - *os << bt->name () << "_forany _tao_retval_forany (" - << be_idt << be_idt_nl - << "_tao_retval.inout ()" << be_uidt_nl - << ");\n" << be_uidt; - return 0; -} - -int -be_visitor_operation_compiled_rettype_post_upcall::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_post_upcall::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_pre_docall_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_pre_docall_cs.cpp deleted file mode 100644 index f6f656853e4..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_pre_docall_cs.cpp +++ /dev/null @@ -1,174 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_pre_docall_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for doing any pre-processing of return type prior -// to making the do_static_call. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype_pre_docall_cs, "$Id$") - - -// ***************************************************************************** -// be_visitor_operation_rettype_pre_docall_cs -// -// This visitor generates code that passes the return type variable to the -// do_static_call method -// ***************************************************************************** - -be_visitor_operation_rettype_pre_docall_cs:: -be_visitor_operation_rettype_pre_docall_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_pre_docall_cs:: -~be_visitor_operation_rettype_pre_docall_cs (void) -{ -} - -int -be_visitor_operation_rettype_pre_docall_cs::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - *os << "ACE_ALLOCATOR_RETURN (_tao_retval, " << bt->name () - << "_alloc (), _tao_retval);\n"; - return 0; -} - -int -be_visitor_operation_rettype_pre_docall_cs::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "CORBA::Object_ptr _tao_base_retval = CORBA::Object::_nil ();\n"; - return 0; -} - -int -be_visitor_operation_rettype_pre_docall_cs::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "CORBA::Object_ptr _tao_base_retval = CORBA::Object::_nil ();\n"; - return 0; -} - -int -be_visitor_operation_rettype_pre_docall_cs:: -visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - switch (node->pt ()) - { - case AST_PredefinedType::PT_any: - os->indent (); - *os << "ACE_NEW_RETURN (_tao_retval, CORBA::Any, _tao_retval);\n"; - break; - default: - break; - } - return 0; -} - -int -be_visitor_operation_rettype_pre_docall_cs::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - *os << "ACE_NEW_RETURN (_tao_retval, " << bt->name () << ", _tao_retval);\n"; - return 0; -} - -int -be_visitor_operation_rettype_pre_docall_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - // check if the union is variable - if (node->size_type () == be_type::VARIABLE) - { - os->indent (); - *os << "ACE_NEW_RETURN (_tao_retval, " << bt->name () << ", _tao_retval);\n"; - } - return 0; -} - -int -be_visitor_operation_rettype_pre_docall_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_pre_docall_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_operation_rettype_pre_docall_cs::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - // check if the union is variable - if (node->size_type () == be_type::VARIABLE) - { - os->indent (); - *os << "ACE_NEW_RETURN (_tao_retval, " << bt->name () << ", _tao_retval);\n"; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_pre_invoke_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_pre_invoke_cs.cpp deleted file mode 100644 index 5b0c21c3a24..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_pre_invoke_cs.cpp +++ /dev/null @@ -1,59 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_pre_invoke_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for doing any pre-processing of return type prior -// to making the do_static_call. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype_pre_invoke_cs, "$Id$") - - -// ***************************************************************************** -// be_visitor_operation_rettype_pre_invoke_cs -// -// ***************************************************************************** - -be_visitor_operation_rettype_pre_invoke_cs:: -be_visitor_operation_rettype_pre_invoke_cs (be_visitor_context *ctx) - : be_visitor_operation_rettype_pre_docall_cs (ctx) -{ -} - -be_visitor_operation_rettype_pre_invoke_cs:: -~be_visitor_operation_rettype_pre_invoke_cs (void) -{ -} - -int -be_visitor_operation_rettype_pre_invoke_cs::visit_interface (be_interface *) -{ - // don't do anything. This is the overriding action - return 0; -} - -int -be_visitor_operation_rettype_pre_invoke_cs::visit_interface_fwd (be_interface_fwd *) -{ - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_return_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_return_cs.cpp deleted file mode 100644 index 49e1870f8d3..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_return_cs.cpp +++ /dev/null @@ -1,195 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_return_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for returning the return type variable. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype_return_cs, "$Id$") - - -// ************************************************************ -// be_visitor_operation_rettype_return_cs -// -// code to generate the return statement of the stub. -// ************************************************************ - -be_visitor_operation_rettype_return_cs::be_visitor_operation_rettype_return_cs -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_return_cs::~be_visitor_operation_rettype_return_cs (void) -{ -} - -int -be_visitor_operation_rettype_return_cs::visit_array (be_array *) -{ - // Grab the out stream - TAO_OutStream *os = this->ctx_->stream (); - - // os->indent (); - // *os << "return _tao_retval;\n"; - - *os << "_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_enum (be_enum *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - //os->indent (); - // *os << "return _tao_retval;\n"; - *os << "_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - // os->indent (); - // *os << "return _tao_retval;\n"; - *os << "_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - //os->indent (); - // *os << "return _tao_retval;\n"; - *os << "_tao_retval"; - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int -be_visitor_operation_rettype_return_cs::visit_valuetype (be_valuetype *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - //os->indent (); - // *os << "return _tao_retval;\n"; - *os << "_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_valuetype_fwd (be_valuetype_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - //os->indent (); - // *os << "return _tao_retval;\n"; - *os << "_tao_retval"; - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int -be_visitor_operation_rettype_return_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - //os->indent (); - switch (node->pt ()) - { - case AST_PredefinedType::PT_void: - // *os << "return;\n"; - break; - default: - // *os << "return _tao_retval;\n"; - *os << "_tao_retval"; - break; - } - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_sequence (be_sequence *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - //os->indent (); - // *os << "return _tao_retval;\n"; - *os << "_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - //os->indent (); - // *os << "return _tao_retval;\n"; - *os << "_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_structure (be_structure *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - //os->indent (); - // *os << "return _tao_retval;\n"; - *os << "_tao_retval"; - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_return_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_union (be_union *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - //os->indent (); - // *os << "return _tao_retval;\n"; - *os << "_tao_retval"; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_cs.cpp deleted file mode 100644 index 5873b0d412f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_cs.cpp +++ /dev/null @@ -1,305 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_vardecl_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for return type variable declaration in the stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype_vardecl_cs, "$Id$") - - -// ************************************************************ -// be_visitor_operation_rettype_vardecl_cs -// This visitor generates code for variable declaration and initialization -// of the return type. -// ************************************************************ - -be_visitor_operation_rettype_vardecl_cs:: -be_visitor_operation_rettype_vardecl_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_vardecl_cs:: -~be_visitor_operation_rettype_vardecl_cs (void) -{ -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - - *os << bt->name () << "_slice *_tao_retval = 0;"; - - *os << be_nl << be_nl; - - return 0; -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - - *os << bt->name () << " _tao_retval = (" << bt->name () << ")0;"; - - *os << be_nl << be_nl; - - return 0; -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - *os << bt->name () << "_ptr _tao_retval = " << bt->name () << "::_nil ();"; - - *os << be_nl << be_nl; - - return 0; -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - *os << bt->name () << "_ptr _tao_retval = " << bt->name () << "::_nil ();"; - - *os << be_nl << be_nl; - - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -int -be_visitor_operation_rettype_vardecl_cs::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - - *os << bt->name () << "* _tao_retval = 0;"; - - *os << be_nl << be_nl; - - return 0; -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - *os << bt->name () << "* _tao_retval = 0;"; - - *os << be_nl << be_nl; - - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int -be_visitor_operation_rettype_vardecl_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - os->indent (); - *os << bt->name () << "_ptr _tao_retval = 0;"; - break; - case AST_PredefinedType::PT_any: - os->indent (); - *os << bt->name () << "* _tao_retval = 0;"; - break; - case AST_PredefinedType::PT_void: - break; - default: - os->indent (); - *os << bt->name () << " _tao_retval = 0;"; - break; - } - - *os << be_nl << be_nl; - - return 0; -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_sequence (be_sequence *node) -{ - // we should never directly be here because anonymous sequence return types - // are not allowed - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - *os << bt->name () << "* _tao_retval = 0;"; - - *os << be_nl << be_nl; - return 0; -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_string (be_string * /* node*/) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "char* _tao_retval = 0;"; - - *os << be_nl << be_nl; - return 0; -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - - // based on whether we are variable or not, we return a pointer or the - // aggregate type - if (node->size_type () == be_decl::VARIABLE) - { - *os << bt->name () << "* _tao_retval = 0;" << be_nl; - } - else - { - *os << bt->name () << " _tao_retval;" << be_nl; - *os << "ACE_OS::memset (&_tao_retval, 0, sizeof (" << bt->name () << "));" - << be_nl; - } - - return 0; -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_vardecl_cs::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - - // based on whether we are variable or not, we return a pointer or the - // aggregate type - if (node->size_type () == be_decl::VARIABLE) - { - *os << bt->name () << "* _tao_retval = 0;"; - } - else - { - *os << bt->name () << " _tao_retval;"; - } - - *os << be_nl; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp deleted file mode 100644 index 88901556894..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/rettype_vardecl_ss.cpp +++ /dev/null @@ -1,326 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_vardecl_ss.cpp -// -// = DESCRIPTION -// Visitor generating code for return type variable declaration in the -// skeleton file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, rettype_vardecl_ss, "$Id$") - - -// ************************************************************************ -// be_visitor_operation_rettype_vardecl_ss -// This visitor generates code for variable declaration and initialization -// of the return type. -// ************************************************************************ - -be_visitor_operation_rettype_vardecl_ss::be_visitor_operation_rettype_vardecl_ss -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_vardecl_ss:: -~be_visitor_operation_rettype_vardecl_ss (void) -{ -} - -int -be_visitor_operation_rettype_vardecl_ss::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - *os << bt->name () << "_var _tao_retval;\n\n"; - return 0; -} - -int -be_visitor_operation_rettype_vardecl_ss::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - *os << bt->name () << " _tao_retval;\n"; - return 0; -} - -int -be_visitor_operation_rettype_vardecl_ss::visit_interface (be_interface *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // due to the virtual inheritance and the fact that we will be passing the - // address of the objref to the marshaling routine, we use the base - // CORBA::Object_ptr as the type for the return value even though the actual - // return type may be some derived class - *os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();\n"; -#if 0 /* ASG */ - *os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();\n"; - *os << "CORBA::Object_ptr &_tao_ptr_retval = _tao_retval.out ();\n"; -#endif - return 0; -} - -int -be_visitor_operation_rettype_vardecl_ss:: -visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // due to the virtual inheritance and the fact that we will be passing the - // address of the objref to the marshaling routine, we use the base - // CORBA::Object_ptr as the type for the return value even though the actual - // return type may be some derived class -#if 0 /* ASG */ - *os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();\n"; - *os << "CORBA::Object_ptr &_tao_ptr_retval = _tao_retval.out ();\n"; -#endif - *os << "CORBA::Object_var _tao_retval = CORBA::Object::_nil ();\n"; - return 0; -} - -#ifdef IDL_HAS_VALUETYPE -// like be_compiled_visitor_operation_rettype_vardecl_ss -int -be_visitor_operation_rettype_vardecl_ss::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << node->name () << "_var _tao_retval;\n"; - return 0; -} - -int -be_visitor_operation_rettype_vardecl_ss:: -visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << node->name () << "_var _tao_retval;\n"; - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -int -be_visitor_operation_rettype_vardecl_ss:: -visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_retval;\n"; - *os << bt->name () << "_ptr &_tao_ptr_retval = _tao_retval.out ();\n"; -#endif - *os << bt->name () << "_var _tao_retval;\n"; - break; - case AST_PredefinedType::PT_any: - os->indent (); -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_retval;\n"; - *os << bt->name () << "_ptr &_tao_ptr_retval = _tao_retval.out ();\n"; -#endif - *os << bt->name () << "_var _tao_retval;\n"; - break; - case AST_PredefinedType::PT_void: - break; - default: - os->indent (); - *os << bt->name () << " _tao_retval = 0;\n"; - break; - } - return 0; -} - -int -be_visitor_operation_rettype_vardecl_ss::visit_sequence (be_sequence *node) -{ - // we should never directly be here because anonymous sequence return types - // are not allowed - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); -#if 0 /* ASg */ - *os << bt->name () << "_var _tao_retval;\n"; - *os << bt->name () << " *&_tao_ptr_retval = _tao_retval.out ();\n"; -#endif - *os << bt->name () << "_var _tao_retval;\n"; - return 0; -} - -int -be_visitor_operation_rettype_vardecl_ss::visit_string (be_string * /* node*/) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); -#if 0 /* ASG */ - *os << "CORBA::String_var _tao_retval;\n"; - *os << "char *&_tao_ptr_retval = _tao_retval.out ();\n"; -#endif - *os << "CORBA::String_var _tao_retval;\n"; - return 0; -} - -int -be_visitor_operation_rettype_vardecl_ss::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - // based on whether we are variable or not, we return a pointer or the - // aggregate type - if (node->size_type () == be_decl::VARIABLE) - { -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_retval;\n"; - *os << bt->name () << " *&_tao_ptr_retval = _tao_retval.out ();\n"; -#endif - *os << bt->name () << "_var _tao_retval;\n"; - } - else - *os << bt->name () << " _tao_retval;\n"; - return 0; -} - -int -be_visitor_operation_rettype_vardecl_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_rettype_vardecl_ss::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_operation_rettype_vardecl_ss::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - be_type *bt; // return type - - if (this->ctx_->alias ()) // a typedefed return type - bt = this->ctx_->alias (); - else - bt = node; - - os->indent (); - // based on whether we are variable or not, we return a pointer or the - // aggregate type - if (node->size_type () == be_decl::VARIABLE) - { -#if 0 /* ASG */ - *os << bt->name () << "_var _tao_retval;\n"; - *os << bt->name () << " *&_tao_ptr_retval = _tao_retval.out ();\n"; -#endif - *os << bt->name () << "_var _tao_retval;\n"; - } - else - *os << bt->name () << " _tao_retval;\n"; - return 0; -} - - -// ******************************************************************************** -// be_visitor_operation_rettype_vardecl_ss -// This visitor generates code for variable declaration and initialization -// of the return type. -// ******************************************************************************** - -be_compiled_visitor_operation_rettype_vardecl_ss -::be_compiled_visitor_operation_rettype_vardecl_ss -(be_visitor_context *ctx) - : be_visitor_operation_rettype_vardecl_ss (ctx) -{ -} - -be_compiled_visitor_operation_rettype_vardecl_ss:: -~be_compiled_visitor_operation_rettype_vardecl_ss (void) -{ -} - -int -be_compiled_visitor_operation_rettype_vardecl_ss::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << node->name () << "_var _tao_retval;\n"; - return 0; -} - -int -be_compiled_visitor_operation_rettype_vardecl_ss:: -visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << node->name () << "_var _tao_retval;\n"; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/thru_poa_collocated_sh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/thru_poa_collocated_sh.cpp deleted file mode 100644 index c098696d347..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/thru_poa_collocated_sh.cpp +++ /dev/null @@ -1,124 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// thru_poa_collocated_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for thru_poa_collocated operation in the server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, thru_poa_collocated_sh, "$Id$") - - -// ************************************************************************* -// be_visitor_operation_thru_poa_collocated_sh -- -// This visitor generates code for the thru_poa_collocated operation signature in a -// server header file -// ************************************************************************* - -be_visitor_operation_thru_poa_collocated_sh::be_visitor_operation_thru_poa_collocated_sh -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation_thru_poa_collocated_sh::~be_visitor_operation_thru_poa_collocated_sh (void) -{ -} - -int be_visitor_operation_thru_poa_collocated_sh::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node representing the return type - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *os << "virtual "; - - // STEP I: generate the return type - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_sh::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // grab the right visitor to generate the return type - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_sh::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_sh::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - // STEP 2: generate the operation name - *os << " " << node->local_name (); - - // STEP 3: generate the argument list with the appropriate mapping. For these - // we grab a visitor that generates the parameter listing - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_COLLOCATED_SH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_sh::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_sh::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/thru_poa_collocated_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/thru_poa_collocated_ss.cpp deleted file mode 100644 index 78c7b56db5f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/thru_poa_collocated_ss.cpp +++ /dev/null @@ -1,302 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// thru_poa_collocated_ss.cpp -// -// = DESCRIPTION -// Visitor generating code for thru_poa_collocated Operation in the skeleton. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, thru_poa_collocated_ss, "$Id$") - - -// ************************************************************************* -// be_visitor_operation_thru_poa_collocated_ss -- -// This visitor generates code for the thru_poa_collocated operation signature in a -// server skeletons file -// ************************************************************************* - -be_visitor_operation_thru_poa_collocated_ss::be_visitor_operation_thru_poa_collocated_ss -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation_thru_poa_collocated_ss::~be_visitor_operation_thru_poa_collocated_ss (void) -{ -} - -int be_visitor_operation_thru_poa_collocated_ss::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // We need the interface node in which this operation was defined. However, - // if this operation node was an attribute node in disguise, we get this - // information from the context - be_interface *intf; - intf = this->ctx_->attribute () - ? be_interface::narrow_from_scope (this->ctx_->attribute ()->defined_in ()) - : be_interface::narrow_from_scope (node->defined_in ()); - - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_thru_poa_collocated_ss::" - "visit_operation - " - "bad interface scope\n"), - -1); - } - - // retrieve the operation return type - be_type *bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_thru_poa_collocated_ss::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // STEP 2: generate the return type mapping (same as in the header file) - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_thru_poa_collocated_ss::" - "visit_operation - " - "Bad visitor for return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_thru_poa_collocated_ss::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - *os << " " << intf->full_coll_name (be_interface::THRU_POA) << "::" - << node->local_name () << " "; - - // STEP 4: generate the argument list with the appropriate mapping (same as - // in the header file) - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_OTHERS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_cs::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - *os << "{" << be_idt << "\n"; - - if (!idl_global->exception_support ()) - { - // Declare a return type - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_thru_poa_collocated_ss::" - "visit_operation - " - "codegen for return var decl failed\n"), - -1); - } - - if (!this->void_return_type (bt)) - { - os->indent (); - *os << "ACE_UNUSED_ARG ("; - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_thru_poa_collocated_cs::" - "gen_check_exception - " - "codegen failed\n"), - -1); - } - *os << ");\n"; - } - } - - os->indent (); - - *os <<"TAO_Object_Adapter::Servant_Upcall servant_upcall (" - << be_idt << be_idt_nl - << "*this->_stubobj ()->servant_orb_var ()->orb_core ()->object_adapter ()" - << be_uidt_nl - << ");" << be_uidt_nl - << "servant_upcall.prepare_for_upcall (" << be_idt << be_idt_nl - << "this->_object_key ()," << be_nl - << "\"" << node->original_local_name () << "\""; - if (!idl_global->exception_support ()) - *os << "," << be_nl - << "ACE_TRY_ENV" << be_uidt_nl - << ");\n" << be_uidt; - else - *os << be_uidt_nl << ");\n" << be_uidt; - - // check if there is an exception - if (!idl_global->exception_support ()) - if (this->gen_check_exception (bt) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_thru_poa_collocated_ss::" - "visit_operation - " - "codegen for checking exception failed\n"), - -1); - } - - os->indent (); - - if (!this->void_return_type (bt)) - { - *os << "return "; - } - - *os << "ACE_reinterpret_cast (" << be_idt << be_idt_nl - << intf->full_skel_name () << "_ptr," << be_nl - << "servant_upcall.servant ()->_downcast (" << be_idt << be_idt_nl - << "\"" << intf->repoID () << "\"" << be_uidt_nl - << ")" << be_uidt << be_uidt_nl - << ")" << be_uidt; - - if (this->gen_invoke (ctx, node) == -1) - return -1; - - if (this->void_return_type (bt)) - { - os->indent (); - *os << "return;"; - } - - *os << be_uidt_nl - << "}\n\n"; - - return 0; -} - -int be_visitor_operation_thru_poa_collocated_ss::gen_invoke (be_visitor_context &ctx, - be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - *os << "->" << node->local_name () << " (" - << be_idt << be_idt << "\n"; - - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_COLLOCATED_ARG_UPCALL_SS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_thru_poa_collocated_ss::" - "gen_invoke - " - "codegen for making upcall failed\n"), - -1); - } - - // end the upcall - *os << be_uidt_nl - << ");\n" << be_uidt; - return 0; -} - -int -be_visitor_operation_thru_poa_collocated_ss::gen_check_exception (be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_visitor *visitor; - be_visitor_context ctx; - - os->indent (); - // check if there is an exception - if (!this->void_return_type (bt)) - { - *os << "ACE_CHECK_RETURN ("; - // << "_tao_environment, "; - - // return the appropriate return value - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (bt->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_thru_poa_collocated_cs::" - "gen_check_exception - " - "codegen failed\n"), - -1); - } - *os << ");\n"; - } - else - { - *os << "ACE_CHECK;\n"; - //<< "_tao_environment);\n"; - } - - return 0; -} - -int -be_visitor_operation_thru_poa_collocated_ss::void_return_type (be_type *bt) -{ - // is the operation return type void? - - if (bt->node_type () == AST_Decl::NT_pre_defined - && (be_predefined_type::narrow_from_decl (bt)->pt () - == AST_PredefinedType::PT_void)) - return 1; - else - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/tie_sh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/tie_sh.cpp deleted file mode 100644 index 08c28a0d6ee..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/tie_sh.cpp +++ /dev/null @@ -1,121 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// tie_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for operations of the TIE class in the header -// file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, tie_sh, "$Id$") - - -// ************************************************************ -// Operation visitor for server header for TIE class operations -// ************************************************************ - -be_visitor_operation_tie_sh::be_visitor_operation_tie_sh (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation_tie_sh::~be_visitor_operation_tie_sh (void) -{ -} - -int -be_visitor_operation_tie_sh::visit_operation (be_operation *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node representing the return type - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // STEP I: generate the return type - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_tie_sh::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // grab the right visitor to generate the return type - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_tie_sh::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_tie_sh::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - // STEP 2: generate the operation name - *os << " " << node->local_name (); - - // STEP 3: generate the argument list with the appropriate mapping. For these - // we grab a visitor that generates the parameter listing - ctx = *this->ctx_; - // we use the _CH state here because the _SH state produces pure virtual - // methods. - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_CH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_tie_sh::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_tie_sh::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_operation/tie_si.cpp b/TAO/TAO_IDL/be/be_visitor_operation/tie_si.cpp deleted file mode 100644 index 098429b1537..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation/tie_si.cpp +++ /dev/null @@ -1,155 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// tie_si.cpp -// -// = DESCRIPTION -// Visitor generating code for operations for the TIE class. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, tie_si, "$Id$") - - -// ************************************************************ -// Operation visitor for server inline for TIE class operations -// ************************************************************ - -be_visitor_operation_tie_si::be_visitor_operation_tie_si -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation_tie_si::~be_visitor_operation_tie_si (void) -{ -} - -int be_visitor_operation_tie_si::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - be_interface *intf = - this->ctx_->interface (); - - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_tie_si::" - "visit_operation - " - "bad interface scope\n"), - -1); - } - - // retrieve the operation return type - be_type *bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_tie_si::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - os->indent (); - *os << "template ACE_INLINE\n"; - - // generate the return type mapping (same as in the header file) - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_OTHERS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_tie_si::" - "visit_operation - " - "Bad visitor for return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_tie_si::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - *os << " " << intf->full_skel_name () << "_tie::" - << node->local_name () << " "; - - // STEP 4: generate the argument list with the appropriate mapping (same as - // in the header file) - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_OTHERS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_operation_cs::" - "visit_operation - " - "Bad visitor for argument list\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_cs::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - *os << "{" << be_idt_nl; - - if (bt->node_type () != AST_Decl::NT_pre_defined - || be_predefined_type::narrow_from_decl (bt)->pt () != AST_PredefinedType::PT_void) - { - *os << "return "; - } - - *os << "this->ptr_->" << node->local_name () << " (" << be_idt << "\n"; - - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_COLLOCATED_ARG_UPCALL_SS); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ss::" - "visit_operation - " - "codegen for making upcall failed\n"), - -1); - } - // end the upcall - *os << be_uidt_nl; - *os << ");" << be_uidt_nl; - *os << "}\n\n"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_rettype.cpp b/TAO/TAO_IDL/be/be_visitor_rettype.cpp deleted file mode 100644 index eb1cf5095d9..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_rettype.cpp +++ /dev/null @@ -1,3032 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_rettype.cpp -// -// = DESCRIPTION -// Visitor generating the first argument of an ami handler's call -// back hook method. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_rettype.h" - -ACE_RCSID(be, be_visitor_rettype, "$Id$") - - -// ****************************************************** -// TypeCode Definitions -// ****************************************************** - -be_visitor_rettype_ami_handler_result_arg::be_visitor_rettype_ami_handler_result_arg (be_visitor_context *ctx) - : be_visitor_scope (ctx), - computed_tc_size_ (0), - computed_encap_len_ (0), - computed_scope_encap_len_ (0), - tc_offset_ (0), - index_ (-1) - -{ -} - -be_visitor_rettype_ami_handler_result_arg::~be_visitor_rettype_ami_handler_result_arg (void) -{ - this->queue_reset (this->tc_queue_); - this->queue_reset (this->compute_queue_); -} - -// the visit methods will be called for the top-level node whose typecode is -// being generated - -int -be_visitor_rettype_ami_handler_result_arg::visit_type (be_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // reset the queue - this->queue_reset (this->tc_queue_); - this->tc_offset_ = 0; - - // check if optimized typecodes are desired OR if the node is involved in - // some form of recursion - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_rettype_ami_handler_result_arg::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - os->indent (); // start from current indentation level - - // generate the typecode information here - *os << "static const CORBA::Long _oc_" << node->flatname () << "[] =" - << be_nl; - *os << "{" << be_idt << "\n"; - - // add the sizeof the enum tk_* and the encap length that we do not put into - // this array but which will exist in the CDR buffer - - this->tc_offset_ = 4 + 4; - - - // note that we just need the parameters here and hence we generate the - // encapsulation for the parameters - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_rettype_ami_handler_result_arg::" - "visit_type - " - "codegen for typecode encapsulation failed\n"), - -1); - } - *os << be_uidt << "};" << be_nl; - - *os << "static CORBA::TypeCode _tc_TAO_tc_" << node->flatname () - << " ("; - switch (node->node_type ()) - { - case AST_Decl::NT_array: - *os << "CORBA::tk_array"; - break; - case AST_Decl::NT_enum: - *os << "CORBA::tk_enum"; - break; - case AST_Decl::NT_except: - *os << "CORBA::tk_except"; - break; - case AST_Decl::NT_interface: - *os << "CORBA::tk_objref"; - break; - case AST_Decl::NT_sequence: - *os << "CORBA::tk_sequence"; - break; - case AST_Decl::NT_struct: - *os << "CORBA::tk_struct"; - break; - case AST_Decl::NT_typedef: - *os << "CORBA::tk_alias"; - break; - case AST_Decl::NT_union: - *os << "CORBA::tk_union"; - break; - default: - return -1; // error - } - - *os << ", sizeof (_oc_" << node->flatname () - << "), (char *) &_oc_" << node->flatname () - << ", 0, sizeof (" << node->name () << "));" << be_nl; - - // is our enclosing scope a module? We need this check because for - // platforms that support namespaces, the typecode must be declared - // extern - if (node->is_nested () && - node->defined_in ()->scope_node_type () == AST_Decl::NT_module) - { - *os << "TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)" << be_nl; - be_module *module = be_module::narrow_from_scope (node->defined_in ()); - if (!module || (this->gen_nested_namespace_begin (module) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_rettype_ami_handler_result_arg::visit_type - " - "Error parsing nested name\n"), - -1); - } - *os << "TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_" - << node->local_name () << ", &_tc_TAO_tc_" - << node->flatname () << ")" << be_nl; - if (this->gen_nested_namespace_end (module) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_rettype_ami_handler_result_arg::visit_type - " - "Error parsing nested name\n"), - -1); - } - } - else - { - // outermost scope. - *os << "CORBA::TypeCode_ptr " << node->tc_name () << " = &_tc_TAO_tc_" - << node->flatname () << ";\n\n"; - } - return 0; -} - -// the following needs to be done to deal with the most bizarre behavior of -// MSVC++ compiler -int -be_visitor_rettype_ami_handler_result_arg::gen_nested_namespace_begin (be_module *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - UTL_IdListActiveIterator *i; - - i = new UTL_IdListActiveIterator (node->name ()); - while (!(i->is_done ())) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - { - // leave the outermost root scope - *os << "TAO_NAMESPACE_BEGIN (" << i->item ()->get_string () - << ")" << be_nl; - } - i->next (); - } - delete i; - return 0; -} - -// the following needs to be done to deal with the most bizarre behavior of -// MSVC++ compiler -int -be_visitor_rettype_ami_handler_result_arg::gen_nested_namespace_end (be_module *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - UTL_IdListActiveIterator *i; - - i = new UTL_IdListActiveIterator (node->name ()); - while (!(i->is_done ())) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - { - // leave the outermost root scope - *os << "TAO_NAMESPACE_END" << be_nl; - } - i->next (); - } - delete i; - return 0; -} - -int -be_visitor_rettype_ami_handler_result_arg::visit_array (be_array *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_rettype_ami_handler_result_arg::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_rettype_ami_handler_result_arg::visit_enum (be_enum *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - return this->visit_scope (node); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_rettype_ami_handler_result_arg::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_rettype_ami_handler_result_arg::visit_enum_val (be_enum_val *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_rettype_ami_handler_result_arg::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_rettype_ami_handler_result_arg::visit_exception (be_exception *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - return this->visit_scope (node); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_rettype_ami_handler_result_arg::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_rettype_ami_handler_result_arg::visit_field (be_field *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_rettype_ami_handler_result_arg::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_rettype_ami_handler_result_arg::visit_interface (be_interface *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_rettype_ami_handler_result_arg::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_rettype_ami_handler_result_arg::visit_interface_fwd (be_interface_fwd *) -{ - // nothing to do - return 0; -} - -int -be_visitor_rettype_ami_handler_result_arg::visit_predefined_type (be_predefined_type *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - // top level typecodes are defined in the CORBA library. If we show up - // here, then it is an error - break; - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_rettype_ami_handler_result_arg::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_rettype_ami_handler_result_arg::visit_sequence (be_sequence *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_rettype_ami_handler_result_arg::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_string (be_string *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - // top level typecode for string is not permitted. It has to be a - // typedefed string - break; - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_structure (be_structure *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - return this->visit_scope (node); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_typedef (be_typedef *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_union (be_union *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - return this->visit_scope (node); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_union_branch (be_union_branch *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -// methods that actually produce the typecode and the encapsulations - - -int -be_visitor_typecode_defn::gen_typecode (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // we do not do typecode optimization for anonymous arrays - - *os << "CORBA::tk_array, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (array) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("gen_typecode - ") - ASYS_TEXT ("gen_encapsulation failed for array\n")), - -1); - } - - *os << be_uidt << "\n"; - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *bt; // base type - unsigned long i; - - os->indent (); // start from the current indentation level - - // retrieve the base type - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::gen_encapsulation - " - "bad base type\n"), - -1); - } - - // compute the typecode size - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_encapsulation (array) - ") - ASYS_TEXT ("Failed to get typecode size\n")), - -1); - } - - for (i = 0; i < (node->n_dims () - 1); i++) - { - unsigned long rem_encap_len; - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - *os << "CORBA::tk_array, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - rem_encap_len - = (node->n_dims () - (i + 1)) * (4 + 4) - + (node->n_dims () - (i + 2)) * (4 + 4) - + this->computed_tc_size_; - *os << rem_encap_len << ", // encapsulation length" << be_idt_nl; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - - // now generate the typecode of the base type - *os << "TAO_ENCAP_BYTE_ORDER, // byte order\n"; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::gen_encapsulation - " - "base type typecode gen failed\n"), - -1); - } - - os->indent (); - // now reduce the indentation appropriately - for (i = (node->n_dims () - 1); i > 0; i--) - { - *os << node->dims ()[i] << "," << be_uidt_nl; - // size of the dimension which is a 4 byte quantity - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - *os << node->dims ()[0] << ",\n"; - // size of the dimension which is a 4 byte quantity - this->tc_offset_ += sizeof (ACE_CDR::ULong); - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_enum, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (enum) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (enum) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - - *os << be_uidt << "\n"; - - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - // generate the member count - os->indent (); - *os << node->member_count () << ", // member count\n"; - // size of the member length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // hand over to the scope to generate the typecode for elements - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (enum) - ") - ASYS_TEXT ("cannot generate typecode for members\n")), - -1); - } - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_enum_val *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // generate name - this->gen_name (node); - - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_exception *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_except, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (exception) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (exception) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - - *os << be_uidt << "\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_exception *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - // generate the member count - os->indent (); - *os << node->member_count () << ", // member count\n"; - // size of the member count - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // hand over to the scope to generate the typecode for elements - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (exception) - ") - ASYS_TEXT ("cannot generate typecode for members\n")), - -1); - } - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_field *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *bt; // our type node - - os->indent (); // start from whatever indentation level we were at - - // generate name - this->gen_name (node); - - // hand over code generation to our type node - bt = be_type::narrow_from_decl (node->field_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (field) - ") - ASYS_TEXT ("failed to generate typecode\n")), - -1); - } - // revert the state to what it was before because we may be dealing with - // subsequent fields for which we have to be in the "gen scope" - // substate - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_objref, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (interface) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (interface) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - *os << be_uidt << "\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_interface_fwd *) -{ - // nothing to do here - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_interface_fwd *) -{ - // nothing to be done - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from the current indentation level - - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - switch (node->pt ()) - { - case AST_PredefinedType::PT_void: - *os << "CORBA::tk_void,\n\n"; - break; - case AST_PredefinedType::PT_short: - *os << "CORBA::tk_short,\n\n"; - break; - case AST_PredefinedType::PT_ushort: - *os << "CORBA::tk_ushort,\n\n"; - break; - case AST_PredefinedType::PT_long: - *os << "CORBA::tk_long,\n\n"; - break; - case AST_PredefinedType::PT_ulong: - *os << "CORBA::tk_ulong,\n\n"; - break; - case AST_PredefinedType::PT_longlong: - *os << "CORBA::tk_longlong,\n\n"; - break; - case AST_PredefinedType::PT_ulonglong: - *os << "CORBA::tk_ulonglong,\n\n"; - break; - case AST_PredefinedType::PT_float: - *os << "CORBA::tk_float,\n\n"; - break; - case AST_PredefinedType::PT_double: - *os << "CORBA::tk_double,\n\n"; - break; - case AST_PredefinedType::PT_longdouble: - *os << "CORBA::tk_longdouble,\n\n"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::tk_boolean,\n\n"; - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::tk_char,\n\n"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::tk_octet,\n\n"; - break; - case AST_PredefinedType::PT_any: - *os << "CORBA::tk_any,\n\n"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::tk_wchar,\n\n"; - break; - case AST_PredefinedType::PT_pseudo: - { - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "TypeCode")) - *os << "CORBA::tk_TypeCode,\n\n"; - else - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "Object")) - { - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_objref," << be_nl; - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (predefined) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect - // computation of other nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ - << ", // encapsulation length" << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (predefined objref) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - *os << be_uidt << "\n"; - } - } - } - break; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_predefined_type *node) -{ - // this one is valid only for "Object" - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "Object")) - { - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - } - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // no typecode optimization for anonymous sequences - - *os << "CORBA::tk_sequence, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (sequence) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (sequence) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - *os << be_uidt << "\n"; - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *bt; // base type - - os->indent (); - *os << "TAO_ENCAP_BYTE_ORDER, // byte order\n"; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // emit typecode of element type - bt = be_type::narrow_from_decl (node->base_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (sequence) - ") - ASYS_TEXT ("failed to generate typecode\n")), - -1); - } - - // emit the sequence bounds (0 if unbounded) - os->indent (); - *os << node->max_size () << ",\n"; - // size of the bound length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_string *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - // no typecode optimizations for anonymous strings - - os->indent (); // start from the current indentation level - // emit the enumeration - *os << "CORBA::tk_string, " << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // emit the string bounds (0 if unbounded) - *os << node->max_size () << ", // string length\n"; - // size of the bounds - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_string *) -{ - // nothing to be done here - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_struct, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (struct) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (structure) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - *os << be_uidt << "\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - // generate the member count - os->indent (); - *os << node->member_count () << ", // member count\n"; - // size of the member count - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // hand over to the scope to generate the typecode for elements - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - if (node->accept (this) == -1) - { - ACE_ERROR ((LM_ERROR, "be_structure: cannot generate typecode for members\n")); - return -1; - } - - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_typedef *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_alias, // typecode kind for typedefs" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (typedef) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (typedef) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - - *os << be_uidt << "\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_typedef *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *bt; // base type - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - // generate typecode for the base type - bt = be_type::narrow_from_decl (node->base_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (typedef) - ") - ASYS_TEXT ("failed to generate typecode\n")), - -1); - } - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_union, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (union) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (union) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - *os << be_uidt << "\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *discrim; - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - // generate typecode for discriminant - discrim = be_type::narrow_from_decl (node->disc_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (discrim->accept (this) == -1) - { - ACE_ERROR ((LM_ERROR, "be_union: cannot generate typecode for discriminant\n")); - return -1; - } - - // generate the default used flag - os->indent (); - *os << node->default_index () << ", // default used index" << be_nl; - // size of the default index used - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate the member count - *os << node->member_count () << ", // member count\n"; - // size of the member count - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // hand over to the scope to generate the typecode for elements - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - if (node->accept (this) == -1) - { - ACE_ERROR ((LM_ERROR, "be_union: cannot generate code for members\n")); - return -1; - } - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_union_branch *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *bt; // our type node - - be_union *ub = this->ctx_->be_scope_as_union (); - - ACE_UINT32 buf[1]; - ACE_OS::memset (buf, 0, sizeof (buf)); - - for (unsigned long i = 0; - i < node->label_list_length (); - ++i) - { - os->indent (); - - // emit the case label value - if (node->label (i)->label_kind () == AST_UnionLabel::UL_label) - { - AST_Expression *expression = node->label (i)->label_val (); - AST_Expression::AST_ExprValue *ev = expression->ev (); - switch (ub->udisc_type ()) - { - case AST_Expression::EV_char: - os->print ("ACE_IDL_NCTOHL (0x%02.2x)", (unsigned char)ev->u.cval); - // size of bool/char aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - case AST_Expression::EV_bool: - os->print ("ACE_IDL_NCTOHL (0x%02.2x)", (unsigned char)ev->u.bval); - // size of bool/char aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - case AST_Expression::EV_wchar: - case AST_Expression::EV_short: - os->print ("ACE_IDL_NSTOHL (0x%04.4x)", (unsigned short)ev->u.sval); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ushort: - os->print ("ACE_IDL_NSTOHL (0x%04.4x)", (unsigned short)ev->u.usval); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_long: - os->print ("0x%08.8x", (unsigned long)ev->u.lval); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ulong: - os->print ("0x%08.8x", ev->u.ulval); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_any: - // enum - os->print ("0x%08.8x", (unsigned long)ev->u.eval); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longlong: - // unimplemented yet - - default: - ACE_ERROR_RETURN ((LM_DEBUG, - "be_union_branch: (%N:%l) Label value " - "type (%d) is invalid\n", ev->et), -1); - ACE_NOTREACHED (break;) - } - - *os << ", // union case label (evaluated value)" << be_nl; - } - else - { - // default case - be_union::DefaultValue dv; - if (ub->default_value (dv) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode::" - "gen_encapsulation (union_branch) - " - "computing default value failed\n"), - -1); - } - - switch (ub->udisc_type ()) - { - case AST_Expression::EV_char: - os->print ("ACE_IDL_NCTOHL (0x%02.2x)", (unsigned char)dv.u.char_val); - // size of bool/char aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - case AST_Expression::EV_bool: - os->print ("ACE_IDL_NCTOHL (0x%02.2x)", (unsigned char)dv.u.bool_val); - // size of bool/char aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - case AST_Expression::EV_wchar: - case AST_Expression::EV_short: - os->print ("ACE_IDL_NSTOHL (0x%04.4x)", (unsigned short)dv.u.short_val); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ushort: - os->print ("ACE_IDL_NSTOHL (0x%04.4x)", (unsigned short)dv.u.ushort_val); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_long: - os->print ("0x%08.8x", (unsigned long)dv.u.long_val); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ulong: - os->print ("0x%08.8x", (unsigned long)dv.u.ulong_val); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_any: - // enum - os->print ("0x%08.8x", (unsigned long)dv.u.enum_val); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longlong: - // unimplemented yet - - default: - ACE_ERROR_RETURN ((LM_DEBUG, - "be_union_branch: (%N:%l) Label value " - "type (%d) is invalid\n", ub->udisc_type ()), - -1); - ACE_NOTREACHED (break;) - } - - *os << ", // union default label (evaluated value)" << be_nl; - } - - // emit name - this->gen_name (node); - - // hand over code generation to our type node - bt = be_type::narrow_from_decl (node->field_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (union_branch) - ") - ASYS_TEXT ("failed to generate typecode\n")), - -1); - } - } // end of for loop - - // revert the state - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - return 0; -} - - -// = methods for computing typecode and encapsulation sizes - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_array *node) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (array) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_array *node) -{ - // Suppose "N" is the number of dimensions, then for a N dimensional array, - // we will have N encapsulations. The innermost encapsulation will hold the - // typecode of the real base type. - // Thus, we will have N byte order flags and dimensions, and N-1 tk_array - // enumerations, encapsulation lengths, and dimensions. - - be_type *bt; // base type - - bt = be_type::narrow_from_decl (node->base_type ()); - - ACE_CDR::Long encap_len = - // N byte order flags and dimensions - node->n_dims () * (4 + 4) - + - // N-1 of tk_array and that many encapsulation lengths - (node->n_dims () - 1) * (4 + 4); - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (array) - ") - ASYS_TEXT ("cannot compute tc size for base\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_tc_size_; - return this->computed_encap_len_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_enum *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (enum) - " - "queue insert failed\n"), - -1); - } - } - - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (enum) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_enum *node) -{ - ACE_CDR::Long encap_len; - encap_len = 4; // holds the byte order flag - - encap_len += - this->repoID_encap_len (node); // repoID storage - - // do the same thing for the local name - encap_len += this->name_encap_len (node); - - encap_len += 4; // to hold the member count - - // save the current value of scope len and start with a fresh one for our - // scope length computation - if (this->push (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (enum) - ") - ASYS_TEXT ("push failed\n")), - -1); - } - this->computed_scope_encap_len_ = 0; - - // compute encap length for members - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (enum) - ") - ASYS_TEXT ("cannot compute scope tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_scope_encap_len_; - - // pop off the previous value of computed_scope_len_ - if (this->pop (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (enum) - ") - ASYS_TEXT ("pop failed\n")), - -1); - } - - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_enum_val *node) -{ - this->computed_encap_len_ = this->name_encap_len (node); - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_exception *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (exception) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (array) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_exception *node) -{ - ACE_CDR::Long encap_len; - encap_len = 4; // holds the byte order flag - - encap_len += this->repoID_encap_len (node); // repoID - - // do the same thing for the local name - encap_len += this->name_encap_len (node); - - encap_len += 4; // to hold the member count - - // save the current value of scope len and start with a fresh one for our - // scope length computation - if (this->push (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (exception) - ") - ASYS_TEXT ("push failed\n")), - -1); - } - this->computed_scope_encap_len_ = 0; - - // compute encap length for members - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (exception) - ") - ASYS_TEXT ("cannot compute scope tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_scope_encap_len_; - - // pop off the previous value of computed_scope_len_ - if (this->pop (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (exception) - ") - ASYS_TEXT ("pop failed\n")), - -1); - } - - return this->computed_encap_len_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_field *node) -{ - be_type *bt; - - // struct member is represented as the "name" followed by the typecode - - ACE_CDR::Long encap_len = - this->name_encap_len (node); // for name - - // add to this, the size of our typecode - bt = be_type::narrow_from_decl (node->field_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (array) - ") - ASYS_TEXT ("cannot compute tc size\n")), - -1); - } - - // note that we must add typecode size of base type - this->computed_encap_len_ = encap_len + this->computed_tc_size_; - - // revert the sub state - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - - return this->computed_encap_len_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_interface *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (interface) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (interface) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_interface *node) -{ - this->computed_encap_len_ = 4; // holds the byte order flag - - this->computed_encap_len_ += - this->repoID_encap_len (node); // for repoID - - // do the same thing for the local name - this->computed_encap_len_ += - this->name_encap_len (node); - - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_interface_fwd *) -{ - return 0; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_interface_fwd *) -{ - return 0; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_predefined_type *node) -{ - if (!ACE_OS::strcmp (node->local_name ()->get_string (), - "Object")) // not same - { - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (predefined type) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (predefined objref) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - } - else - this->computed_tc_size_ = 4; - - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_predefined_type *node) -{ - if (!ACE_OS::strcmp (node->local_name ()->get_string (), - "Object")) // not same - { - this->computed_encap_len_ = 4; // holds the byte order flag - - this->computed_encap_len_ += - this->repoID_encap_len (node); // for repoID - - // do the same thing for the local name - this->computed_encap_len_ += - this->name_encap_len (node); - } - else - this->computed_encap_len_ = 0; - - return this->computed_encap_len_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_sequence *node) -{ - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (sequence) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_sequence *node) -{ - be_type *bt; // base type - - ACE_CDR::Long encap_len = 4; // holds the byte order flag - - // add the encapsulation length of our base type - bt = be_type::narrow_from_decl (node->base_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (sequence) - ") - ASYS_TEXT ("cannot compute tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_tc_size_; - this->computed_encap_len_ += 4; // to hold the max size - - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_string *) -{ - this->computed_tc_size_ = 4 + 4; - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_string *) -{ - this->computed_encap_len_ = 0; - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_structure *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (structure) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (structure) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_structure *node) -{ - ACE_CDR::Long encap_len = 4; // holds the byte order flag - - encap_len += this->repoID_encap_len (node); // repoID - - // do the same thing for the local name - encap_len += this->name_encap_len (node); - - encap_len += 4; // to hold the member count - - // save the current value of scope len and start with a fresh one for our - // scope length computation - if (this->push (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (struct) - ") - ASYS_TEXT ("push failed\n")), - -1); - } - this->computed_scope_encap_len_ = 0; - - // compute encap length for members - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (structure) - ") - ASYS_TEXT ("cannot compute scope tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_scope_encap_len_; - - // pop off the previous value of computed_scope_len_ - if (this->pop (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (struct) - ") - ASYS_TEXT ("pop failed\n")), - -1); - } - - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_typedef *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (typedef) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (array) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_typedef *node) -{ - be_type *bt; // base type - ACE_CDR::Long encap_len = 4; // holds the byte order flag - - encap_len += - this->repoID_encap_len (node); // repoID - - // do the same thing for the local name - encap_len += - this->name_encap_len (node); - - // add the encapsulation length of our base type - bt = be_type::narrow_from_decl (node->base_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (typedef) - ") - ASYS_TEXT ("cannot compute tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_tc_size_; - return this->computed_encap_len_; - -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_union *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (union) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (union) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_union *node) -{ - be_type *discrim; - - ACE_CDR::Long encap_len = 4; // holds the byte order flag - - encap_len += this->repoID_encap_len (node); // for repoID - - // do the same thing for the local name - encap_len += this->name_encap_len (node); // for name - - // add encapsulation size of discriminant typecode - discrim = be_type::narrow_from_decl (node->disc_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!discrim || discrim->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (union) - ") - ASYS_TEXT ("cannot compute tc size\n")), - -1); - } - - encap_len += this->computed_tc_size_; - - encap_len += 4; // to hold the "default used" flag - encap_len += 4; // to hold the member count - - // save the current value of scope len and start with a fresh one for our - // scope length computation - if (this->push (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (union) - ") - ASYS_TEXT ("push failed\n")), - -1); - } - this->computed_scope_encap_len_ = 0; - - // compute encap length for members - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (union) - ") - ASYS_TEXT ("cannot compute scope tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_scope_encap_len_; - - // pop off the previous value of computed_scope_len_ - if (this->pop (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (union) - ") - ASYS_TEXT ("pop failed\n")), - -1); - } - - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_union_branch *node) -{ - be_type *bt; - - ACE_CDR::Long encap_len = 0; - - for (unsigned long i = 0; - i < node->label_list_length (); - ++i) - { - encap_len += 4; // case label; - encap_len += - this->name_encap_len (node); // for name - - bt = be_type::narrow_from_decl (node->field_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (union branch) - ") - ASYS_TEXT ("cannot compute tc size\n")), - -1); - } - encap_len += this->computed_tc_size_; - } - - this->computed_encap_len_ = encap_len; - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - return this->computed_encap_len_; -} - -// helpers that accomplish a common task - that of generating the repository -// IDs and names in a TypeCode description - -void -be_visitor_typecode_defn::gen_repoID (be_decl *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - int flag = 0; - - // check if we want to generate optimized typecodes. In such a case, there is - // no need to generate the repoID (unless we are an object reference or an - // exception in which case it is mandatory to have the repository ID) - // generate repoID - - if (idl_global->opt_tc ()) - { - switch (node->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_except: - flag = 0; - break; - case AST_Decl::NT_pre_defined: - if (!ACE_OS::strcmp (node->local_name ()->get_string (), - "Object")) - flag = 0; - else - flag = 1; - break; - default: - flag = 1; - } - } - - // XXXASG -- there is still some doubts in my mind about whether repoID - // *must* be supplied or not as per spec 2.3a. So I am not going to allow - // optimizations here. - // flag = 0; - - if (flag) - { - // optimized case - *os << "1, 0x0,"; - *os << " // repository ID = " << node->repoID (); - // size of the repoID filed - this->tc_offset_ += (2 * sizeof (ACE_CDR::ULong)); - } - else - { - // unoptimized case - *os << (ACE_OS::strlen (node->repoID ()) + 1) << ", "; - - ACE_CDR::ULong *arr, i, arrlen; - (void) this->tc_name2long (node->repoID (), arr, arrlen); - for (i = 0; i < arrlen; i++) - { - os->print ("ACE_NTOHL (0x%x), ", arr[i]); - } - *os << " // repository ID = " << node->repoID (); - // size of the repoID field - this->tc_offset_ += (arrlen + 1) * sizeof (ACE_CDR::ULong); - } - *os << "\n"; - return; -} - -void -be_visitor_typecode_defn::gen_name (be_decl *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // generate name - if (idl_global->opt_tc ()) - { - *os << "1, 0x0,"; - *os << " // name = " << node->local_name (); - // size of the name field - this->tc_offset_ += (2 * sizeof (ACE_CDR::ULong)); - } - else - { - ACE_CDR::ULong *arr, i, arrlen; - *os << (ACE_OS::strlen (node->local_name ()->get_string ()) + 1) << ", "; - (void) this->tc_name2long (node->local_name ()->get_string (), arr, arrlen); - for (i = 0; i < arrlen; i++) - { - os->print ("ACE_NTOHL (0x%x), ", arr[i]); - } - *os << " // name = " << node->local_name (); - // size of the name field - this->tc_offset_ += (arrlen + 1) * sizeof (ACE_CDR::ULong); - } - *os << "\n"; - return; -} - -// return the length in bytes to hold the repoID inside a typecode. This -// comprises 4 bytes indicating the length of the string followed by the actual -// string represented as longs. -ACE_CDR::ULong -be_visitor_typecode_defn::repoID_encap_len (be_decl *node) -{ - int flag = 0; - - // check if we want to generate optimized typecodes. In such a case, there is - // no need to generate the repoID (unless we are an object reference or an - // exception in which case it is mandatory to have the repository ID) - // generate repoID - - if (idl_global->opt_tc ()) - { - switch (node->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_except: - flag = 0; - break; - case AST_Decl::NT_pre_defined: - if (!ACE_OS::strcmp (node->local_name ()->get_string (), - "Object")) - flag = 0; - else - flag = 1; - break; - default: - flag = 1; - } - } - - // XXXASG -- there is still some doubts in my mind about whether repoID - // *must* be supplied or not as per spec 2.3a. So I am not going to allow - // optimizations here. - //flag = 0; - - if (flag) - { - return 4 + 4; - } - else - { - ACE_CDR::ULong slen = ACE_OS::strlen (node->repoID ()) + 1; - // + 1 for NULL terminating char - - // the number of bytes to hold the string must be a multiple of 4 since this - // will be represented as an array of longs - return 4 + 4 * (slen/4 + (slen%4 ? 1:0)); - } -} - -// return the length in bytes to hold the name inside a typecode. This -// comprises 4 bytes indicating the length of the string followed by the actual -// string represented as longs. -ACE_CDR::ULong -be_visitor_typecode_defn::name_encap_len (be_decl *node) -{ - if (idl_global->opt_tc ()) - { - return 4 + 4; - } - else - { - ACE_CDR::ULong slen = - ACE_OS::strlen (node->local_name ()->get_string ()) + 1; - - // the number of bytes to hold the string must be a multiple of 4 since this - // will be represented as an array of longs - return 4 + 4 * (slen/4 + (slen%4 ? 1:0)); - } -} - -// converts a string name into an array of 4 byte longs -int -be_visitor_typecode_defn::tc_name2long (const char *name, - ACE_CDR::ULong *&larr, - ACE_CDR::ULong &arrlen) -{ - const int bytes_per_word = sizeof (ACE_CDR::ULong); - static ACE_CDR::ULong buf [NAMEBUFSIZE]; - ACE_CDR::ULong i, slen; - - slen = ACE_OS::strlen (name) + 1; // 1 for NULL terminating - - // compute the number of bytes necessary to hold the name rounded to - // the next multiple of 4 (i.e., size of long) - arrlen = slen / bytes_per_word + (slen % bytes_per_word ? 1 : 0); - - ACE_OS::memset (buf, 0, sizeof (buf)); - larr = buf; - ACE_OS::memcpy (buf, name, slen); - for (i = 0; i < arrlen; i++) - larr [i] = ACE_HTONL (larr [i]); - return 0; -} - -// post processing -int -be_visitor_typecode_defn::post_process (be_decl *) -{ - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN) - { - this->computed_scope_encap_len_ += this->computed_encap_len_; - } - return 0; -} - -// scope stack routines -int -be_visitor_typecode_defn::push (ACE_CDR::Long val) -{ - if (this->index_ >= TAO_BE_VISITOR_TYPECODE_DEFN_MAX_STACK_SIZE) - return -1; - - this->scope_stack_ [++this->index_] = val; - return 0; -} - -int -be_visitor_typecode_defn::pop (ACE_CDR::Long &val) -{ - if (this->index_ < 0) - return -1; - - val = this->scope_stack_[this->index_--]; - return 0; -} - -const be_visitor_typecode_defn::QNode * -be_visitor_typecode_defn:: -queue_insert (ACE_Unbounded_Queue &queue, - be_type *node, ACE_CDR::Long offset) -{ - be_visitor_typecode_defn::QNode *qnode; - - ACE_NEW_RETURN (qnode, be_visitor_typecode_defn::QNode, 0); - - qnode->node = node; - qnode->offset = offset; - - if (queue.enqueue_tail (qnode) == -1) - { - delete qnode; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::queue_insert - failed\n")), - 0); - } - - return qnode; -} - -const be_visitor_typecode_defn::QNode * -be_visitor_typecode_defn:: -queue_lookup (ACE_Unbounded_Queue &queue, - be_type *node) -{ - for (ACE_Unbounded_Queue_Iterator - iter (queue); - !iter.done (); - iter.advance ()) - { - be_visitor_typecode_defn::QNode **addr, *item; - iter.next (addr); - item = *addr; - - if (!ACE_OS::strcmp (item->node->fullname (), - node->fullname ())) - { - // found - return item; - } - } - - return 0; -} - -void -be_visitor_typecode_defn:: -queue_reset (ACE_Unbounded_Queue &queue) -{ - while (!queue.is_empty ()) - { - be_visitor_typecode_defn::QNode *qnode; - (void) queue.dequeue_head (qnode); - delete qnode; - } - return; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root.cpp b/TAO/TAO_IDL/be/be_visitor_root.cpp deleted file mode 100644 index 770f575be95..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_root.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Root -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" -#include "be_visitor_root.h" - -// include all the individual files -#include "be_visitor_root/root.cpp" -#include "be_visitor_root/root_ch.cpp" -#include "be_visitor_root/root_ci.cpp" -#include "be_visitor_root/root_cs.cpp" -#include "be_visitor_root/root_sh.cpp" -#include "be_visitor_root/root_si.cpp" -#include "be_visitor_root/root_ss.cpp" -#include "be_visitor_root/root_is.cpp" -#include "be_visitor_root/root_ih.cpp" -#include "be_visitor_root/any_op.cpp" -#include "be_visitor_root/cdr_op.cpp" - -ACE_RCSID(be, be_visitor_root, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_root/any_op.cpp b/TAO/TAO_IDL/be/be_visitor_root/any_op.cpp deleted file mode 100644 index 9d31730b5c7..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/any_op.cpp +++ /dev/null @@ -1,56 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op.cpp -// -// = DESCRIPTION -// Visitor generating code for the Any operators for types defined in Root's -// scope. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, any_op, "$Id$") - - -// *************************************************************************** -// Root visitor for generating Any operator declarations in the client header -// and stub -// *************************************************************************** - -be_visitor_root_any_op::be_visitor_root_any_op (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_any_op::~be_visitor_root_any_op (void) -{ -} - -int -be_visitor_root_any_op::visit_root (be_root *node) -{ - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::visit_root - " - "codegen for scope failed\n"), -1); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root/cdr_op.cpp b/TAO/TAO_IDL/be/be_visitor_root/cdr_op.cpp deleted file mode 100644 index 36f9214da42..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/cdr_op.cpp +++ /dev/null @@ -1,71 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op.cpp -// -// = DESCRIPTION -// Visitor generating code for the CDR operators for types defined -// in Root's scope. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, cdr_op, "$Id$") - - -// *************************************************************************** -// Root visitor for generating CDR operator declarations in the client header -// and stub -// *************************************************************************** - -be_visitor_root_cdr_op::be_visitor_root_cdr_op (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_cdr_op::~be_visitor_root_cdr_op (void) -{ -} - -int -be_visitor_root_cdr_op::visit_root (be_root *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (this->ctx_->state () == TAO_CodeGen::TAO_ROOT_CDR_OP_CH) - { - *os << be_nl - << "#ifndef __ACE_INLINE__\n\n"; - } - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_cdr_op::visit_root - " - "codegen for scope failed\n"), -1); - } - - if (this->ctx_->state () == TAO_CodeGen::TAO_ROOT_CDR_OP_CH) - { - *os << be_nl - << "#endif /* __ACE_INLINE__ */\n\n"; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root/root.cpp b/TAO/TAO_IDL/be/be_visitor_root/root.cpp deleted file mode 100644 index ecd3cc52ddd..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/root.cpp +++ /dev/null @@ -1,1101 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root.cpp -// -// = DESCRIPTION -// Visitor generating code for the Root node. This is a generic visitor. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, root, "$Id$") - - -// Generic Root visitor -be_visitor_root::be_visitor_root (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_root::~be_visitor_root (void) -{ -} - -// this method must be overridden by the derived root visitors -int -be_visitor_root::init (void) -{ - return -1; -} - -// visit the Root node and its scope -int be_visitor_root::visit_root (be_root *node) -{ - // open the appropriate output file based on what state we are in. The - // overridden "init" method of derived classes will do the job. - if (this->init () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::init - " - "failed to initialize context\n"), -1); - } - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::visit_root - " - "codegen for scope failed\n"), -1); - } - - - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - -#ifdef IDL_HAS_VALUETYPE - // make one more pass over the entire tree and generate the OBV_ namespaces - // and OBV_ classes - - idl_bool obv = 0; - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - obv = 1; - ctx.state (TAO_CodeGen::TAO_MODULE_OBV_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - obv = 1; - ctx.state (TAO_CodeGen::TAO_MODULE_OBV_CI); - break; - case TAO_CodeGen::TAO_ROOT_CS: - obv = 1; - ctx.state (TAO_CodeGen::TAO_MODULE_OBV_CS); - break; - } - if (obv) - { - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_root - " - "NUL visitor\n" - ), -1); - } - - if (visitor->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_root - " - "failed to generate OBV_ things\n" - ), -1); - } - delete visitor; - } -#endif /* IDL_HAS_VALUETYPE */ - - - // The next thing we need to do is make one more pass thru the entire tree - // and generate code for all the <<= and >>= operators for all the - // user-defined types. - // - // XXXASG - this part of the code may be conditionally generated because at - // times it is not necessary to have these operators at all. TO-DO. - - ctx = *this->ctx_; - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_ROOT_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_ROOT_ANY_OP_CS); - break; - - case TAO_CodeGen::TAO_ROOT_IH: - (void) tao_cg->end_implementation_header (idl_global->be_get_implementation_hdr_fname (0)); - break; - case TAO_CodeGen::TAO_ROOT_SH: - (void) tao_cg->end_server_header (); - (void) tao_cg->end_server_template_header (); - return 0; - - case TAO_CodeGen::TAO_ROOT_CI: - break; - case TAO_CodeGen::TAO_ROOT_IS: - break; - case TAO_CodeGen::TAO_ROOT_SI: - return 0; // nothing to be done - case TAO_CodeGen::TAO_ROOT_SS: - (void) tao_cg->end_server_template_skeletons (); - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_constant - " - "Bad context state\n" - ), -1); - } - } - - // *ASG* - this is a tempoaray hack soln so that our CDR operators get - // generated in the *.i file rather than the *.cpp file - if (this->ctx_->state () != TAO_CodeGen::TAO_ROOT_CI - && this->ctx_->state () != TAO_CodeGen::TAO_ROOT_IH - && this->ctx_->state () != TAO_CodeGen::TAO_ROOT_IS) - { - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_root - " - "NUL visitor\n" - ), -1); - } - - // generate the << and >> operators for all the user-defined - // data types in the outermost scope - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_root - " - "failed to generate Any operators\n" - ), -1); - } - delete visitor; - } - - // make one more pass over the entire tree and generate the CDR << and >> - // operators for compiled marshaling. Again, this code can be conditionally - // generated if compiled marshaling is desired. - ctx = *this->ctx_; - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_ROOT_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - ctx.state (TAO_CodeGen::TAO_ROOT_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_ROOT_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_IH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - case TAO_CodeGen::TAO_ROOT_IS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_constant - " - "Bad context state\n" - ), -1); - } - } visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_root - " - "NUL visitor\n" - ), -1); - } - - // generate the << and >> operators for all the user-defined data types in - // the outermost scope - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_root - " - "failed to generate CDR operators\n" - ), -1); - } - delete visitor; - - // generate any final code such as #endifs - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - (void) tao_cg->end_client_header (); - break; - default: - break; - } - return 0; -} - -// =all common visit methods for root visitor - -// visit a constant -int -be_visitor_root::visit_constant (be_constant *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_CONSTANT_CH); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_CONSTANT_CS); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - case TAO_CodeGen::TAO_ROOT_CI: - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_IH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - case TAO_CodeGen::TAO_ROOT_IS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_constant - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_constant - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_constant - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -//visit an enum -int -be_visitor_root::visit_enum (be_enum *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_CH); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_CS); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_CI: - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - case TAO_CodeGen::TAO_ROOT_IS: - case TAO_CodeGen::TAO_ROOT_IH: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_enum - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_enum - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_enum - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an exception -int -be_visitor_root::visit_exception (be_exception *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CI); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CS); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_EXCEPTION_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - case TAO_CodeGen::TAO_ROOT_IS: - case TAO_CodeGen::TAO_ROOT_IH: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_exception - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_exception - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_exception - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an interface -int -be_visitor_root::visit_interface (be_interface *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CI); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CS); - break; - case TAO_CodeGen::TAO_ROOT_SH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_SH); - break; - case TAO_CodeGen::TAO_ROOT_IH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_IH); - break; - case TAO_CodeGen::TAO_ROOT_SI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_SI); - break; - case TAO_CodeGen::TAO_ROOT_SS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_SS); - break; - case TAO_CodeGen::TAO_ROOT_IS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_IS); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_CDR_OP_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_interface - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_interface - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_interface - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an interface_fwd -int -be_visitor_root::visit_interface_fwd (be_interface_fwd *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_INTERFACE_FWD_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_FWD_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_FWD_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_FWD_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - case TAO_CodeGen::TAO_ROOT_CS: - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - case TAO_CodeGen::TAO_ROOT_IS: - case TAO_CodeGen::TAO_ROOT_IH: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_interface_fwd - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_interface_fwd - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_interface_fwd - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -// visit an valuetype -int -be_visitor_root::visit_valuetype (be_valuetype *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CI); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CS); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_IH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - case TAO_CodeGen::TAO_ROOT_IS: - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - return 0; // nothing to do, resp. not yet impl. - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_valuetype - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_valuetype - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_valuetype - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an valuetype_fwd -int -be_visitor_root::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_FWD_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_FWD_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_FWD_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_FWD_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_FWD_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - case TAO_CodeGen::TAO_ROOT_CS: - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - case TAO_CodeGen::TAO_ROOT_IS: - case TAO_CodeGen::TAO_ROOT_IH: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_valuetype_fwd - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_valuetype_fwd - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_valuetype_fwd - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -// visit an module -int -be_visitor_root::visit_module (be_module *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_MODULE_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - ctx.state (TAO_CodeGen::TAO_MODULE_CI); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_MODULE_CS); - break; - case TAO_CodeGen::TAO_ROOT_SH: - ctx.state (TAO_CodeGen::TAO_MODULE_SH); - break; - case TAO_CodeGen::TAO_ROOT_SI: - ctx.state (TAO_CodeGen::TAO_MODULE_SI); - break; - case TAO_CodeGen::TAO_ROOT_SS: - ctx.state (TAO_CodeGen::TAO_MODULE_SS); - break; - case TAO_CodeGen::TAO_ROOT_IS: - ctx.state (TAO_CodeGen::TAO_MODULE_IS); - break; - case TAO_CodeGen::TAO_ROOT_IH: - ctx.state (TAO_CodeGen::TAO_MODULE_IH); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_MODULE_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_MODULE_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_MODULE_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_MODULE_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_MODULE_CDR_OP_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_module - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_module - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_module - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an structure -int -be_visitor_root::visit_structure (be_structure *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CI); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CS); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - case TAO_CodeGen::TAO_ROOT_IS: - case TAO_CodeGen::TAO_ROOT_IH: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_structure - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_structure - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_structure - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an union -int -be_visitor_root::visit_union (be_union *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_UNION_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - ctx.state (TAO_CodeGen::TAO_UNION_CI); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_UNION_CS); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - case TAO_CodeGen::TAO_ROOT_IS: - case TAO_CodeGen::TAO_ROOT_IH: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_union - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_union - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_union - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an typedef -int -be_visitor_root::visit_typedef (be_typedef *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_ROOT_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CH); - break; - case TAO_CodeGen::TAO_ROOT_CI: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CI); - break; - case TAO_CodeGen::TAO_ROOT_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CS); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_ROOT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - case TAO_CodeGen::TAO_ROOT_IS: - case TAO_CodeGen::TAO_ROOT_IH: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_typedef - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_typedef - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_typedef - " - "failed to accept visitor" - ), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp deleted file mode 100644 index 29a3dacdfb9..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp +++ /dev/null @@ -1,59 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Root in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, root_ch, "$Id$") - - -// ******************************** -// Root visitor for client header -// ******************************** - -be_visitor_root_ch::be_visitor_root_ch (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_ch::~be_visitor_root_ch (void) -{ -} - -int -be_visitor_root_ch::init (void) -{ - // first open the client-side header file for writing - if (tao_cg->start_client_header (idl_global->be_get_client_hdr_fname ()) - == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_visitor_root_ch::init - " - "Error opening client header file\n")); - return -1; - } - - // init the stream - this->ctx_->stream (tao_cg->client_header ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_ci.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_ci.cpp deleted file mode 100644 index d7ca5008cba..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/root_ci.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for the Root in the client inline -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, root_ci, "$Id$") - - -// ********************************* -// Root visitor for client inline -// ********************************* - -be_visitor_root_ci::be_visitor_root_ci (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_ci::~be_visitor_root_ci (void) -{ -} - -int -be_visitor_root_ci::init (void) -{ - // first open the client-side inline file for writing - if (tao_cg->start_client_inline (idl_global->be_get_client_inline_fname ()) - == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_visitor_root_ci - " - "Error opening client inline file\n")); - return -1; - } - - this->ctx_->stream (tao_cg->client_inline ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_cs.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_cs.cpp deleted file mode 100644 index a6d0bc90b54..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/root_cs.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Root in the client stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, root_cs, "$Id$") - - -// *********************************** -// Root visitor for client stubs -// *********************************** - -be_visitor_root_cs::be_visitor_root_cs (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_cs::~be_visitor_root_cs (void) -{ -} - -int -be_visitor_root_cs::init (void) -{ - // first open the file - if (tao_cg->start_client_stubs (idl_global->be_get_client_stub_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_cs - " - "Error opening client stub file\n"), -1); - } - - // init stream - this->ctx_->stream (tao_cg->client_stubs ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_ih.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_ih.cpp deleted file mode 100644 index 98370a45a42..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/root_ih.cpp +++ /dev/null @@ -1,59 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_ih.cpp -// -// = DESCRIPTION -// Visitor generating code for Root in the server implementation header -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, root_ih, "$Id$") - - -// *********************************** -// Root visitor for implementation header -// *********************************** - -be_visitor_root_ih::be_visitor_root_ih (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_ih::~be_visitor_root_ih (void) -{ -} - -int -be_visitor_root_ih::init (void) -{ - // open the file - if (tao_cg->start_implementation_header (idl_global->be_get_implementation_hdr_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_ih::init - " - "Error :%p: Unable to open implementation header file : %s\n", - idl_global->be_get_implementation_hdr_fname ()), - -1); - } - - - // set the stream and the next state - this->ctx_->stream (tao_cg->implementation_header ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_is.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_is.cpp deleted file mode 100644 index 5cf2a47ffce..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/root_is.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_is.cpp -// -// = DESCRIPTION -// Visitor generating code for the Root in the implementation skeletons file -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -//ACE_RCSID(be_visitor_root, root_ss, "$Id$") - - -// ****************************************************** -// Root visitor for implementation skeletons -// ****************************************************** - -be_visitor_root_is::be_visitor_root_is (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_is::~be_visitor_root_is (void) -{ -} - -int -be_visitor_root_is::init (void) -{ - // first open the file for writing - if (tao_cg->start_implementation_skeleton (idl_global - ->be_get_implementation_skel_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_is::init - " - "Error opening implementation skeletons file\n"), -1); - } - /* - if (tao_cg->start_server_template_skeletons - (idl_global->be_get_server_template_skeleton_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_ss::init - " - "Error opening server template skeleton file\n"), - -1); - } - */ - // set stream - this->ctx_->stream (tao_cg->implementation_skeleton ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_sh.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_sh.cpp deleted file mode 100644 index f8c1eebbc21..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/root_sh.cpp +++ /dev/null @@ -1,70 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for Root in the server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, root_sh, "$Id$") - - -// *********************************** -// Root visitor for server header -// *********************************** - -be_visitor_root_sh::be_visitor_root_sh (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_sh::~be_visitor_root_sh (void) -{ -} - -int -be_visitor_root_sh::init (void) -{ - // open the file - if (tao_cg->start_server_header (idl_global->be_get_server_hdr_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_sh::init - " - "Error :%p: Unable to open server header file : %s\n", - idl_global->be_get_server_hdr_fname ()), - -1); - } - - if (tao_cg->start_server_template_header (idl_global->be_get_server_template_hdr_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_sh::init - " - "Error:Unable to openin server template header file : %s\n", - idl_global->be_get_server_template_hdr_fname ()), - -1); - } - - // set the stream and the next state - this->ctx_->stream (tao_cg->server_header ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_si.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_si.cpp deleted file mode 100644 index 5a4ec77261c..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/root_si.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_si.cpp -// -// = DESCRIPTION -// Visitor generating code for the Root in the server inline file -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, root_si, "$Id$") - - -// *********************************************** -// Root visitor for server inline -// *********************************************** - -be_visitor_root_si::be_visitor_root_si (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_si::~be_visitor_root_si (void) -{ -} - -int -be_visitor_root_si::init (void) -{ - // first open the file for writing - if (tao_cg->start_server_inline (idl_global->be_get_server_inline_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_si::init - " - "server inline open failed\n"), -1); - } - - if (tao_cg->start_server_template_inline - (idl_global->be_get_server_template_inline_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_si::init - " - "Error opening server template inline file\n"), - -1); - } - - // init stream - this->ctx_->stream (tao_cg->server_inline ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_ss.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_ss.cpp deleted file mode 100644 index c5557f3fa80..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/root_ss.cpp +++ /dev/null @@ -1,69 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_ss.cpp -// -// = DESCRIPTION -// Visitor generating code for the Root in the server skeletons file -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, root_ss, "$Id$") - - -// ****************************************************** -// Root visitor for server skeletons -// ****************************************************** - -be_visitor_root_ss::be_visitor_root_ss (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_ss::~be_visitor_root_ss (void) -{ -} - -int -be_visitor_root_ss::init (void) -{ - // first open the file for writing - if (tao_cg->start_server_skeletons (idl_global - ->be_get_server_skeleton_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_ss::init - " - "Error opening server skeletons file\n"), -1); - } - - if (tao_cg->start_server_template_skeletons - (idl_global->be_get_server_template_skeleton_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_ss::init - " - "Error opening server template skeleton file\n"), - -1); - } - - // set stream - this->ctx_->stream (tao_cg->server_skeletons ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_scope.cpp b/TAO/TAO_IDL/be/be_visitor_scope.cpp deleted file mode 100644 index f2fb9d62921..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_scope.cpp +++ /dev/null @@ -1,240 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_scope.cpp -// -// = DESCRIPTION -// Visitor for the base be_scope node. This serves to maintain the current -// state (context) of code generation for the derived visitor. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_scope.h" - -ACE_RCSID(be, be_visitor_scope, "$Id$") - - -// ****************************************************** -// Generic visitor for a scope. -// All elements that give rise to a scope inherit from -// this class -// ****************************************************** - -be_visitor_scope::be_visitor_scope (be_visitor_context *ctx) - : be_visitor_decl (ctx), - elem_number_ (0) -{ -} - -be_visitor_scope::~be_visitor_scope (void) -{ -} - -// visit the scope and its elements -int -be_visitor_scope::visit_scope (be_scope *node) -{ - // proceed if the number of members in our scope is greater than 0 - if (node->nmembers () > 0) - { - // initialize an iterator to iterate thru our scope - UTL_ScopeActiveIterator *si; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (node, - UTL_Scope::IK_decls), - -1); - this->elem_number_ = 0; - // continue until each element is visited - while (!si->is_done ()) - { - AST_Decl *d = si->item (); - if (!d) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "bad node in this scope\n"), -1); - - } - - be_decl *bd = be_decl::narrow_from_decl (d); - - // set the scope node as "node" in which the code is being - // generated so that elements in the node's scope can use it - // for code generation - this->ctx_->scope (node->decl ()); - - // set the node to be visited - this->ctx_->node (bd); - this->elem_number_++; - - // Do any pre processing using the next item info. - if (this->pre_process (bd) == -1) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "pre processing failed\n"), -1); - } - - // Send the visitor. - if (bd == 0 || bd->accept (this) == -1) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "codegen for scope failed\n"), -1); - - } - - // Do any post processing using this item info. - if (this->post_process (bd) == -1) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "post processing failed\n"), -1); - } - si->next (); - } // end of while loop - delete si; - } // end of if - - -#if 0 - // For debugging the prefix... - be_decl* decl = node->decl (); - ACE_DEBUG ((LM_DEBUG, "Enter scope <%s> : [%s]\n", - decl->fullname (), decl->prefix ())); - if (decl->pragmas () != 0) - { - for (UTL_StrlistActiveIterator i(decl->pragmas ()); - !i.is_done (); - i.next ()) - { - String* s = i.item (); - - ACE_DEBUG ((LM_DEBUG, " pragma = <%s>\n", s->get_string ())); - } - } -#endif - - return 0; -} - -int -be_visitor_scope::post_process (be_decl *) -{ - return 0; -} - -int -be_visitor_scope::pre_process (be_decl *) -{ - return 0; -} - -int -be_visitor_scope::elem_number (void) -{ - // return the current element that we are working on - return this->elem_number_; -} - -// find the element that succeeds "elem" in the list -int -be_visitor_scope::next_elem (be_decl *elem, - be_decl *&successor) -{ - be_scope *node = 0; - - if (!this->ctx_->scope () || - !(node = this->ctx_->scope ()->scope ())) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::next_elem - " - "bad scope\n"), -1); - - } - - successor = 0; - // proceed if the number of members in our scope is greater than 0 - if (node->nmembers () > 0) - { - // initialize an iterator to iterate thru our scope - UTL_ScopeActiveIterator *si; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (node, - UTL_Scope::IK_decls), - -1); - // continue until each element is visited - while (!si->is_done ()) - { - be_decl *bd = be_decl::narrow_from_decl (si->item ()); - if (!bd) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::next_elem - " - "bad node in this scope\n"), -1); - - } - - if (bd == elem) - { - // find who is next to me - si->next (); - if (si->is_done ()) - { - // nobody left in the list - delete si; - return 0; - } - successor = be_decl::narrow_from_decl (si->item ()); - if (!successor) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::next_elem - " - "bad node in this scope\n"), -1); - - } - // nothing else to do - delete si; - return 0; - } - else - // proceed to the next element - si->next (); - } // end of while loop - delete si; - } // end of if - return 0; -} - -idl_bool -be_visitor_scope::last_node (be_decl *bd) -{ - be_decl *next = 0; - (void) this->next_elem (bd, next); - if (next) - // not the last - return 0; - - // I am the last one - return 1; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence.cpp b/TAO/TAO_IDL/be/be_visitor_sequence.cpp deleted file mode 100644 index a5fa66377e0..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_sequence.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Sequence -// -// = AUTHOR -// Aniruddha Gokhale and Carlos O'Ryan -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" -#include "be_visitor_sequence.h" - -// include all the individual files -#include "be_visitor_sequence/any_op_ch.cpp" -#include "be_visitor_sequence/any_op_cs.cpp" -#include "be_visitor_sequence/cdr_op_ch.cpp" -#include "be_visitor_sequence/cdr_op_ci.cpp" -#include "be_visitor_sequence/cdr_op_cs.cpp" -#include "be_visitor_sequence/buffer_type.cpp" -#include "be_visitor_sequence/elemtype.cpp" -#include "be_visitor_sequence/sequence_base.cpp" -#include "be_visitor_sequence/sequence_ch.cpp" -#include "be_visitor_sequence/sequence_ci.cpp" -#include "be_visitor_sequence/sequence_cs.cpp" -#include "be_visitor_sequence/gen_unbounded_sequence_ch.cpp" -#include "be_visitor_sequence/gen_bounded_sequence_ch.cpp" -#include "be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp" -#include "be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp" -#include "be_visitor_sequence/gen_bounded_str_sequence_ch.cpp" -#include "be_visitor_sequence/gen_unbounded_sequence_ci.cpp" -#include "be_visitor_sequence/gen_bounded_sequence_ci.cpp" -#include "be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp" -#include "be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp" -#include "be_visitor_sequence/gen_bounded_str_sequence_ci.cpp" -#include "be_visitor_sequence/gen_unbounded_sequence_cs.cpp" -#include "be_visitor_sequence/gen_bounded_sequence_cs.cpp" -#include "be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp" -#include "be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp" -#include "be_visitor_sequence/gen_bounded_str_sequence_cs.cpp" - -ACE_RCSID(be, be_visitor_sequence, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/any_op_ch.cpp deleted file mode 100644 index f1223cd7642..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/any_op_ch.cpp +++ /dev/null @@ -1,66 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operators for the Sequence -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, any_op_ch, "$Id$") - - -// *************************************************************************** -// Sequence visitor for generating Any operator declarations in the client header -// *************************************************************************** - -be_visitor_sequence_any_op_ch::be_visitor_sequence_any_op_ch -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_any_op_ch::~be_visitor_sequence_any_op_ch (void) -{ -} - -int -be_visitor_sequence_any_op_ch::visit_sequence (be_sequence *node) -{ - if (node->cli_hdr_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operators - os->indent (); - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, const " << node->name () - << " &); // copying version" << be_nl; - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, " << node->name () - << "*); // noncopying version" << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>>= (const CORBA::Any &, " - << node->name () << " *&);\n"; - - node->cli_hdr_any_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp deleted file mode 100644 index 79fb96574fe..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp +++ /dev/null @@ -1,139 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operator for the Sequence node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, any_op_cs, "$Id$") - - -// *************************************************************************** -// Sequence visitor for generating Any operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_sequence_any_op_cs::be_visitor_sequence_any_op_cs -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_any_op_cs::~be_visitor_sequence_any_op_cs (void) -{ -} - -int -be_visitor_sequence_any_op_cs::visit_sequence (be_sequence *node) -{ - if (node->cli_stub_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // Any <<= and >>= operators - os->indent (); - *os << "void operator<<= (" << be_idt << be_idt_nl - << "CORBA::Any &_tao_any," << be_nl - << "const " << node->name () << " &_tao_elem" << be_uidt_nl - << ") // copying" << be_uidt_nl - << "{" << be_idt_nl - << node->name () << " *_tao_any_val;" << be_nl - << "ACE_NEW (_tao_any_val, " << node->name () - << " (_tao_elem));" << be_nl - << "if (!_tao_any_val) return;" << be_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "_tao_any.replace (" << node->tc_name () - << ", _tao_any_val, 1, ACE_TRY_ENV);" - << " // copy the value" << be_nl - << "ACE_TRY_CHECK; " << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "delete _tao_any_val;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n" << be_nl; - - *os << "void operator<<= (CORBA::Any &_tao_any, " - << node->name () << " *_tao_elem) // non copying" << be_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "_tao_any.replace (" << node->tc_name () << ", " - << "_tao_elem, 0, ACE_TRY_ENV);" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY {}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n" << be_nl; - - *os << "CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, " - << node->name () << " *&_tao_elem)" << be_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "CORBA::TypeCode_var type = _tao_any.type ();" << be_nl - << "if (!type->equal (" << node->tc_name () - << ", ACE_TRY_ENV)) return 0; // not equal" << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "if (_tao_any.any_owns_data ())" << be_nl - << "{" << be_idt_nl - << "_tao_elem = (" << node->name () << " *)_tao_any.value ();" - << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl // else any does not own the data - << "{" << be_idt_nl - << "ACE_NEW_RETURN (_tao_elem, " << node->name () << ", 0);" - << be_nl - << "TAO_InputCDR stream (_tao_any._tao_get_cdr ());" - << be_nl - << "if (stream.decode (" << node->tc_name () - << ", _tao_elem, 0, ACE_TRY_ENV)" << be_nl - << " == CORBA::TypeCode::TRAVERSE_CONTINUE)" << be_nl - << "{" << be_idt_nl - << "((CORBA::Any *)&_tao_any)->replace (" - << node->tc_name () << ", _tao_elem, 1, ACE_TRY_ENV);" - << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl // decode failed - << "{" << be_idt_nl - << "delete _tao_elem;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "delete _tao_elem;" << be_nl - << "return 0;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_nl - << "return 0;" << be_uidt_nl - << "}\n\n"; - - node->cli_stub_any_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/buffer_type.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/buffer_type.cpp deleted file mode 100644 index 5ffe0a8aced..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/buffer_type.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// buffer_type.cpp -// -// = DESCRIPTION -// Visitor generating code for the internal buffer type of the Sequence node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, buffer_type, "$Id$") - - -// **************************************************************** -// We have to generate the buffer type in the constructor -// **************************************************************** - -be_visitor_sequence_buffer_type:: -be_visitor_sequence_buffer_type (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_buffer_type::~be_visitor_sequence_buffer_type (void) -{ -} - -// helper -int -be_visitor_sequence_buffer_type::visit_node (be_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_SEQUENCE_BUFFER_TYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()); - else - *os << bt->name (); - return 0; -} - -int -be_visitor_sequence_buffer_type::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - if (node->pt () == AST_PredefinedType::PT_pseudo) - *os << node->name () << "_ptr"; - else - *os << node->name (); - return 0; -} - -int -be_visitor_sequence_buffer_type::visit_sequence (be_sequence *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_buffer_type::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - if (this->ctx_->state () == TAO_CodeGen::TAO_SEQUENCE_BUFFER_TYPE_CH) - *os << node->nested_type_name (this->ctx_->scope (), "_ptr"); - else - *os << node->name () << "_ptr"; - return 0; -} - -int -be_visitor_sequence_buffer_type::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - if (this->ctx_->state () == TAO_CodeGen::TAO_SEQUENCE_BUFFER_TYPE_CH) - *os << node->nested_type_name (this->ctx_->scope (), "_ptr"); - else - *os << node->name () << "_ptr"; - return 0; -} - -int -be_visitor_sequence_buffer_type::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); - *os << "char *"; - return 0; -} - -int -be_visitor_sequence_buffer_type::visit_structure (be_structure *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_buffer_type::visit_union (be_union *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_buffer_type::visit_enum (be_enum *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_buffer_type::visit_exception (be_exception *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_buffer_type::visit_array (be_array *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_buffer_type::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_sequence_buffer_type::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_ch.cpp deleted file mode 100644 index 773a7f26d73..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_ch.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for sequences. This uses -// compiled marshaling. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, cdr_op_ch, "$Id$") - -// *************************************************************************** -// Sequence visitor for generating CDR operator declarations in the client header -// *************************************************************************** - -be_visitor_sequence_cdr_op_ch::be_visitor_sequence_cdr_op_ch -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_cdr_op_ch::~be_visitor_sequence_cdr_op_ch (void) -{ -} - -int -be_visitor_sequence_cdr_op_ch::visit_sequence (be_sequence *node) -{ - if (node->cli_hdr_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator declarations - os->indent (); - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator<< (" << be_idt << be_idt_nl - << "TAO_OutputCDR &," << be_nl - << "const " << node->name () << " &" << be_uidt_nl - << ");" << be_uidt_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>> (" << be_idt << be_idt_nl - << "TAO_InputCDR &," << be_nl - << node->name () << " &" << be_uidt_nl - << ");" << be_uidt << "\n\n"; - - - node->cli_hdr_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_ci.cpp deleted file mode 100644 index c2da5f9d78d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_ci.cpp +++ /dev/null @@ -1,73 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor for code generation of Sequences for the CDR operators -// in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, cdr_op_ci, "$Id$") - - -// *************************************************************************** -// Sequence visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_sequence_cdr_op_ci::be_visitor_sequence_cdr_op_ci -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_cdr_op_ci::~be_visitor_sequence_cdr_op_ci (void) -{ -} - -int -be_visitor_sequence_cdr_op_ci::visit_sequence (be_sequence *node) -{ - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // Sequences are *always* generated in the .cpp file, it doesn't - // save all that time to generate them inline and this breaks - // the dependencies for recursive types. - - os->indent (); - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator<< (" << be_idt << be_idt_nl - << "TAO_OutputCDR &," << be_nl - << "const " << node->name () << " &" << be_uidt_nl - << ");" << be_uidt_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>> (" << be_idt << be_idt_nl - << "TAO_InputCDR &," << be_nl - << node->name () << " &" << be_uidt_nl - << ");" << be_uidt << "\n\n"; - - node->cli_inline_cdr_op_gen (1); - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp deleted file mode 100644 index 63a7cde5c2c..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp +++ /dev/null @@ -1,593 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_cs.cpp -// -// = DESCRIPTION -// Visitor for code generation of Sequences for the CDR operators -// in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, cdr_op_cs, "$Id$") - -// *************************************************************************** -// Sequence visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_sequence_cdr_op_cs::be_visitor_sequence_cdr_op_cs -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_cdr_op_cs::~be_visitor_sequence_cdr_op_cs (void) -{ -} - -int -be_visitor_sequence_cdr_op_cs::visit_sequence (be_sequence *node) -{ - if (this->ctx_->alias ()) - { - // we are here because the base type of the sequence node is - // itself a sequence i.e., this is a case of sequence of - // sequence - return this->visit_node (node); - } - else - { - if (node->cli_stub_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - be_type *bt = - be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_sequence_cdr_op_cs::" - "visit_sequence - " - "Bad base type\n"), - -1); - } - - // generate the CDR << and >> operator defns - - // save the sequence node for further use - this->ctx_->node (node); - - // set the sub state as generating code for the output operator - this->ctx_->sub_state (TAO_CodeGen::TAO_CDR_OUTPUT); - *os << "CORBA::Boolean operator<< (" << be_idt << be_idt_nl - << "TAO_OutputCDR &strm," << be_nl - << "const " << node->name () - << " &_tao_sequence" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - - // first encode the sequence length - *os << "if (strm << _tao_sequence.length ())" << be_nl - << "{" << be_idt_nl; - // now encode the sequence elements - *os << "// encode all elements" << be_nl; - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_sequence_cdr_op_cs::" - "visit_sequence - " - "Base type codegen failed\n"), - -1); - } - *os << "}" << be_nl - << "return 0; // error" << be_uidt_nl - << "}\n\n"; - - // set the sub state as generating code for the input operator - os->indent (); - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_INPUT); - *os << "CORBA::Boolean operator>> (" << be_idt << be_idt_nl - << "TAO_InputCDR &strm," << be_nl - << node->name () << " &_tao_sequence" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - // first retrieve the length and adjust the sequence length accordingly - *os << "CORBA::ULong _tao_seq_len;" << be_nl; - *os << "if (strm >> _tao_seq_len)" << be_nl - << "{" << be_idt_nl; - // now check if the length does not exceed the maximum. We do this only - // for bounded sequences - - AST_Expression *expr = node->max_size (); - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_sequence - " - "bad sequence dimension\n"), - -1); - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - if (expr->ev ()->u.ulval > 0) - { - // we are dealing with a bounded sequence. Check if we are within - // bounds - *os << "if (_tao_seq_len <= _tao_sequence.maximum ())" << be_nl - << "{" << be_idt_nl; - } - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_sequence - " - "bad sequence dimension value\n"), - -1); - } - *os << "// set the length of the sequence" << be_nl - << "_tao_sequence.length (_tao_seq_len);" << be_nl; - *os << "// retrieve all the elements" << be_nl; - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_sequence_cdr_op_cs::" - "visit_sequence - " - "Base type codegen failed\n"), - -1); - } - if (expr->ev ()->u.ulval > 0) - { - // we are dealing with a bounded sequence. - *os << "}" << be_uidt_nl; - } - *os << "}" << be_nl - << "return 0; // error" << be_uidt_nl - << "}\n\n"; - - node->cli_stub_cdr_op_gen (1); - } - return 0; -} - -// handle all the base types - -int -be_visitor_sequence_cdr_op_cs::visit_array (be_array *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_cdr_op_cs::visit_enum (be_enum *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_cdr_op_cs::visit_interface (be_interface *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_cdr_op_cs::visit_interface_fwd (be_interface_fwd *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_cdr_op_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - case AST_PredefinedType::PT_any: - // let the helper handle this - return this->visit_node (node); - case AST_PredefinedType::PT_void: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_predefined_type - " - "Bad primitive type\n" - ), -1); - default: - // all other primitive types. Handle them as shown below - break; - }; - - // we get here if the "type" of individual elements of the sequence is a - // primitive type. In this case, we treat the sequence as a single - // dimensional sequence (even of it was multi-dimensional), and pass - // the total length of the sequence as a cross product of the - // dimensions - - // grab the sequence node - be_sequence *sequence = this->ctx_->be_node_as_sequence (); - - if (!sequence) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_predefined_type - " - "bad sequence node\n"), - -1); - } - - // handle octet sequences using the optimizations provided by the TAO ORB - // Core. If these optimizations are not available, then use the normal form - - if (node->pt () == AST_PredefinedType::PT_octet && sequence->unbounded ()) - { - *os << "\n#if defined (TAO_NO_COPY_OCTET_SEQUENCES)" << be_nl; - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - { - *os << "if (ACE_BIT_DISABLED (strm.start ()->flags ()," - << "ACE_Message_Block::DONT_DELETE))" << be_nl - << "{" << be_idt_nl - << "TAO_Unbounded_Sequence *oseq = " << be_nl - << " ACE_static_cast(TAO_Unbounded_Sequence*, " - << "&_tao_sequence);" << be_nl - << "oseq->replace (_tao_seq_len, strm.start ());" - << be_nl - << "oseq->mb ()->wr_ptr (oseq->mb()->rd_ptr () + " - << "_tao_seq_len);" << be_nl - << "strm.skip_bytes (_tao_seq_len);" << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "else" << be_idt_nl - << "return strm.read_octet_array (" - << "_tao_sequence.get_buffer (), _tao_seq_len);" - << be_uidt_nl; - } - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - { - *os << "{" << be_idt_nl - << "TAO_Unbounded_Sequence *oseq = " << be_nl - << " ACE_static_cast (TAO_Unbounded_Sequence*, " - << "(" << sequence->name () << " *)&_tao_sequence);" << be_nl - << "if (oseq->mb ())" << be_idt_nl - << "return strm.write_octet_array_mb (oseq->mb ());" - << be_uidt_nl - << "else" << be_idt_nl - << "return strm.write_octet_array (" - << "_tao_sequence.get_buffer (), _tao_sequence.length ());" - << be_uidt << be_uidt_nl - << "}" << be_nl; - } - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_predefined_type - " - "bad sub state\n"), - -1); - } - *os << "\n#else /* TAO_NO_COPY_OCTET_SEQUENCES */" << be_nl; - } - - *os << "return strm."; - // based on our substate, we may be reading from a stream or writing into a - // stream - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "read_"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "write_"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_predefined_type - " - "bad sub state\n"), - -1); - } - - // determine what kind of sequence are we reading/writing - switch (node->pt ()) - { - case AST_PredefinedType::PT_long: - *os << "long_array"; - break; - case AST_PredefinedType::PT_ulong: - *os << "ulong_array"; - break; - case AST_PredefinedType::PT_short: - *os << "short_array"; - break; - case AST_PredefinedType::PT_ushort: - *os << "ushort_array"; - break; - case AST_PredefinedType::PT_octet: - *os << "octet_array"; - break; - case AST_PredefinedType::PT_char: - *os << "char_array"; - break; - case AST_PredefinedType::PT_wchar: - *os << "wchar_array"; - break; - case AST_PredefinedType::PT_float: - *os << "float_array"; - break; - case AST_PredefinedType::PT_double: - *os << "double_array"; - break; - case AST_PredefinedType::PT_longlong: - *os << "longlong_array"; - break; - case AST_PredefinedType::PT_ulonglong: - *os << "ulonglong_array"; - break; - case AST_PredefinedType::PT_longdouble: - *os << "longdouble_array"; - break; - case AST_PredefinedType::PT_boolean: - *os << "boolean_array"; - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_predefined_type - " - "bad primitive type for optimized code gen\n"), - -1); - } - - // handle special case to avoid compiler errors - switch (node->pt ()) - { - case AST_PredefinedType::PT_char: - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << " ((char *)_tao_sequence.get_buffer (), "; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << " ((const char *)_tao_sequence.get_buffer (), "; - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs" - "::visit_predefined_type - " - "bad codegen substate\n"), - -1); - } - break; - default: - *os << " (_tao_sequence.get_buffer (), "; - break; - } - - *os << "_tao_sequence.length ());" << be_uidt_nl; - - if (node->pt () == AST_PredefinedType::PT_octet && sequence->unbounded ()) - *os << "\n#endif /* TAO_NO_COPY_OCTET_SEQUENCES */" << be_nl; - return 0; -} - -int -be_visitor_sequence_cdr_op_cs::visit_string (be_string *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_cdr_op_cs::visit_structure (be_structure *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_cdr_op_cs::visit_union (be_union *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_cdr_op_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -// helper -int -be_visitor_sequence_cdr_op_cs::visit_node (be_type *bt) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_sequence *node = this->ctx_->be_node_as_sequence (); - - if (!node) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_node - " - "bad sequence node\n"), - -1); - } - - // initialize a boolean variable - *os << "CORBA::Boolean _tao_marshal_flag = 1;" << be_nl; - - // we get here if the "type" of individual elements of the sequence is not a - // primitive type. In this case, we are left with no other alternative but to - // encode/decode element by element - - AST_Expression *expr = node->max_size (); - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_node - " - "bad sequence dimension\n"), - -1); - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - *os << "for (CORBA::ULong i = 0; i < _tao_sequence.length ()" - << " && _tao_marshal_flag; " - << "i++)" << be_idt_nl; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_node - " - "bad sequence dimension value\n"), - -1); - } - - // if the type was a string, an obj ref, or a pseudo-obj, we are dealing with - // a manager type and hence we must use the appropriate in () and out () - // methods. - // - - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "_tao_marshal_flag = (strm >> "; - switch (bt->node_type ()) - { - case AST_Decl::NT_string: - { - be_string *str = be_string::narrow_from_decl (bt); - - if (!str) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_node - " - "bad string node\n"), - -1); - } - if (str->max_size ()->ev ()->u.ulval == 0) - { - // unbounded - *os << "_tao_sequence[i].out ()"; - } - else - { - *os << "CORBA::Any::to_string (_tao_sequence[i].out (), " - << str->max_size ()->ev ()->u.ulval << ")"; - } - } - break; - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - *os << "_tao_sequence[i].out ()"; - break; - case AST_Decl::NT_pre_defined: - { - // we need to separately handle this case of pseudo objects because - // they have a _var type - be_predefined_type *pt = be_predefined_type::narrow_from_decl (bt); - if (!pt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_node - " - "bad predefined type node\n"), - -1); - } - if (pt->pt () == AST_PredefinedType::PT_pseudo) - { - *os << "_tao_sequence[i].out ()"; - } - else - { - *os << "_tao_sequence[i]"; - } - } - break; - default: - *os << "_tao_sequence[i]"; - } - *os << ");"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "_tao_marshal_flag = (strm << _tao_sequence[i]"; - switch (bt->node_type ()) - { - case AST_Decl::NT_string: - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - *os << ".in ()"; - break; - case AST_Decl::NT_pre_defined: - { - be_predefined_type *pt = be_predefined_type::narrow_from_decl (bt); - if (!pt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_node - " - "bad predefined type node\n"), - -1); - } - if (pt->pt () == AST_PredefinedType::PT_pseudo) - { - *os << ".in ()"; - } - } - default: - break; - } - *os << ");"; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cdr_op_cs::" - "visit_node - " - "bad sub state\n"), - -1); - } - - *os << be_uidt_nl; - *os << "return _tao_marshal_flag;" << be_uidt_nl; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/elemtype.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/elemtype.cpp deleted file mode 100644 index 01632c2bdfd..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/elemtype.cpp +++ /dev/null @@ -1,222 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// elemtype.cpp -// -// = DESCRIPTION -// Visitor generating code for the element type for the Sequence -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, elemtype, "$Id$") - - -// *********************************************************** -// sequence element type visitor for return types of [] methods -// *********************************************************** - - -be_visitor_sequence_elemtype:: -be_visitor_sequence_elemtype (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_elemtype::~be_visitor_sequence_elemtype (void) -{ -} - -// helper -int -be_visitor_sequence_elemtype::visit_node (be_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()) << " &"; - else - *os << bt->name () << " &"; - return 0; -} - -int -be_visitor_sequence_elemtype::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - { - int is_pseudo_object = - ACE_OS::strcmp (node->local_name ()->get_string (), - "Object") != 0; - if (is_pseudo_object) - { - *os << "TAO_Pseudo_Object_Manager<"; - } - else - { - *os << "TAO_Object_Manager<"; - } - if (this->ctx_->state () == TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH) - { - *os << bt->nested_type_name (this->ctx_->scope ()) << "," - << bt->nested_type_name (this->ctx_->scope ()) << "_var> "; - } - else - { - *os << bt->name () << "," - << bt->name () <<"_var> "; - } - } - break; - default: - if (this->ctx_->state () == TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()) << " &"; - else - *os << bt->name () << " &"; - } - return 0; -} - -int -be_visitor_sequence_elemtype::visit_sequence (be_sequence *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_elemtype::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH) - { - *os << "TAO_Object_Manager<" - << bt->nested_type_name (this->ctx_->scope ()) << "," - << bt->nested_type_name (this->ctx_->scope ()) << "_var> "; - } - else - *os << "TAO_Object_Manager<" - << bt->name () << "," - << bt->name () << "_var> "; - - return 0; -} - -int -be_visitor_sequence_elemtype::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH) - { - *os << "TAO_Object_Manager<" - << bt->nested_type_name (this->ctx_->scope ()) << "," - << bt->nested_type_name (this->ctx_->scope ()) << "_var> "; - } - else - *os << "TAO_Object_Manager<" - << bt->name () << "," - << bt->name () << "_var>"; - - os->gen_endif_AHETI(); - - return 0; -} - -int -be_visitor_sequence_elemtype::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); - - *os << "TAO_SeqElem_String_Manager "; - return 0; -} - -int -be_visitor_sequence_elemtype::visit_structure (be_structure *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_elemtype::visit_union (be_union *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_elemtype::visit_enum (be_enum *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_elemtype::visit_exception (be_exception *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_elemtype::visit_array (be_array *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_elemtype::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_sequence_elemtype::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp deleted file mode 100644 index 144c6fbefb7..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp +++ /dev/null @@ -1,186 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_bounded_obj_sequence_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client header -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_bounded_obj_sequence_ch, "$Id$") - - -int -be_visitor_sequence_ch::gen_bounded_obj_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - - const char * class_name = node->instance_name (); - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instantiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - *os << "class " << class_name - << " : public TAO_Bounded_Base_Sequence" << be_nl - << "{" << be_nl - << "public:" << be_idt_nl - << "// = Initialization and termination methods." << be_nl - << be_nl; - - // default constructor - *os << class_name << " (void);" << be_nl; - - // constructor - *os << class_name << " (CORBA::ULong length," << be_idt_nl; - // the accept is here the first time used and if an - // error occurs, it will occur here. Later no check - // for errors will be done. - if (pt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "base type visit failed\n"), - -1); - } - *os <<"* *value," << be_nl - << "CORBA::Boolean release = 0);" << be_uidt_nl; - - // constructor - *os << class_name << " (const " << class_name << " &rhs);" << be_nl - << "// Copy constructor." << be_nl; - - // destructor - *os << "virtual ~" << class_name << " (void);" << be_nl - << "// destructor" << be_nl; - - // operator= - *os << class_name << " &operator= (const " << class_name << " &rhs);" << be_nl - << "// Assignment from another Bounded sequence." << be_nl; - - be_predefined_type *prim = be_predefined_type::narrow_from_decl (pt); - int is_pseudo_object = - pt->node_type () == AST_Decl::NT_pre_defined - && prim && prim->pt () == AST_PredefinedType::PT_pseudo - && ACE_OS::strcmp (prim->local_name ()->get_string (), - "Object") != 0; - - // operator[] - if (is_pseudo_object) - { - *os << "TAO_Pseudo_Object_Manager<"; - } - else - { - *os << "TAO_Object_Manager<"; - } - - *os << pt->name () << "," - << pt->name () << "_var>" - << " operator[] (CORBA::ULong index) const;" - << "// Read-write accessor." << be_nl; - - // allocbuf - *os << "static "; - pt->accept (visitor); - *os << " **allocbuf (CORBA::ULong length); " - << "// Allocate storage for a sequence.." << be_nl; - - // freebuf - *os << "static void freebuf ("; - pt->accept (visitor); - *os << " **buffer);" << be_nl; - - // allocate_buffer - *os << "// The Base_Sequence functions, please see tao/sequence.h" << be_nl - << "virtual void _allocate_buffer (CORBA::ULong length);" << be_nl; - - // deallocate_buffer - *os << "virtual void _deallocate_buffer (void);" << be_nl; - - // get_buffer - pt->accept(visitor); - *os << "* *get_buffer (CORBA::Boolean orphan = 0);" << be_nl; - - // get_buffer - *os << "const "; - pt->accept (visitor); - *os << "* *get_buffer (void) const;" << be_nl; - - // _shrink_buffer - *os << "virtual void _shrink_buffer (CORBA::ULong nl, CORBA::ULong ol);" << be_nl; - - if (!is_pseudo_object) - { - // Pseudo objects do not require this methods. - *os << "virtual void _downcast (" << be_idt << be_idt_nl - << "void* target," << be_nl - << "CORBA_Object *src," << be_nl - << "CORBA_Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt_nl; - - *os << "virtual CORBA_Object* _upcast (void *src) const;" << be_nl; - } - *os << be_uidt_nl << "};\n"; - - os->gen_endif (); - - // generate #endif for AHETI - os->gen_endif_AHETI (); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp deleted file mode 100644 index 8f4c05ee2a1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ci.cpp +++ /dev/null @@ -1,346 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_bounded_obj_sequence_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client inline -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// ============================================================================ - -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_bounded_obj_sequence_ci, "$Id$") - - -int -be_visitor_sequence_ci::gen_bounded_obj_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - const char * class_name = node->instance_name (); - - static char full_class_name [NAMEBUFSIZE]; - ACE_OS::memset (full_class_name, '\0', NAMEBUFSIZE); - - if (node->is_nested ()) - { - ACE_OS::sprintf (full_class_name, "%s::%s", - be_scope::narrow_from_scope (node->defined_in ())->decl ()->fullname (), - class_name); - } - else - { - ACE_OS::sprintf (full_class_name, "%s", - class_name); - } - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - // first generate the static methods since they are used by others. Sinc - // ethey are inlined, their definition needs to come before their use else - // some compilers give lost of warnings. - - // allocbuf - *os << "ACE_INLINE "; pt->accept (visitor); - *os << " **" << be_nl; - *os << full_class_name << "::allocbuf (CORBA::ULong /* length */) " - << "// Allocate storage for a sequence.." << be_nl - << "{" << be_idt_nl; - // the accept is here the first time used and if an - // error occurs, it will occur here. Later no check - // for errors will be done. - if (pt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "base type visit failed\n"), - -1); - } - *os <<" **buf = 0;" << be_nl - << be_nl - << "ACE_NEW_RETURN (buf, "; - pt->accept (visitor); - *os << "*[" << node->max_size () << "], 0);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < " << node->max_size () << "; i++)" << be_idt_nl - << "buf[i] = "; - pt->accept (visitor); - *os << "::_nil ();" << be_uidt_nl - << be_nl - << "return buf;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // freebuf - *os << "ACE_INLINE void" << be_nl - << full_class_name << "::freebuf ("; - pt->accept (visitor); - *os << " **buffer)" << be_nl - << "{" << be_idt_nl - << "for (CORBA::ULong i = 0; i < " << node->max_size () << "; ++i)" << be_idt_nl - << "if (buffer[i] != "; - pt->accept (visitor); - *os << "::_nil ())" << be_nl - << "{" << be_idt_nl - << "CORBA::release (buffer[i]);" << be_nl - << "buffer[i] = "; - pt->accept (visitor); - *os << "::_nil ();" << be_uidt_nl - << "}" << be_uidt_nl - << be_nl - << "delete[] buffer;" << be_uidt_nl - << "} " << be_nl - << be_nl; - - // constructor - *os << "// default ctor" << be_nl; - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (void)" << be_idt_nl - << " : TAO_Bounded_Base_Sequence (" << node->max_size () - << ", " << full_class_name << "::allocbuf (" << node->max_size () << "))" << be_uidt_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name - << " (CORBA::ULong length," << be_idt_nl; - pt->accept (visitor); - *os <<"* *value," << be_nl - << "CORBA::Boolean release)" << be_uidt_nl - << "// Constructor from data." << be_nl - << " : TAO_Bounded_Base_Sequence (" << node->max_size () << ", length, value, release)" << be_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (const " - << full_class_name << " &rhs)" << be_nl - << "// Copy constructor." << be_idt_nl - << ": TAO_Bounded_Base_Sequence (rhs)" << be_uidt_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" **tmp1 = allocbuf (" << node->max_size () << ");" << be_nl; - pt->accept(visitor); - *os <<" ** const tmp2 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << "** ACE_CAST_CONST, rhs.buffer_);" << be_nl - << "for (CORBA::ULong i = 0; i < rhs.length_; i++)" << be_idt_nl - << "tmp1[i] = "; pt->accept (visitor); *os << "::_duplicate (tmp2[i]);" << be_uidt_nl - << "this->buffer_ = tmp1;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // assignment operator - *os << "ACE_INLINE " << full_class_name << " &" << be_nl - << full_class_name << "::operator= (const " - << full_class_name << " &rhs)" << be_nl - << "// Assignment from another Bounded sequence." << be_nl - << "{" << be_idt_nl - << "if (this == &rhs)" << be_idt_nl - << "return *this;" << be_uidt_nl - << be_nl - << "if (this->release_)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" **tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " **, this->buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << be_nl - << "{" << be_idt_nl - << "CORBA::release (tmp[i]);" << be_nl - << "tmp[i] = "; - pt->accept (visitor); - *os << "::_nil ();" << be_uidt_nl - << "}" << be_nl - << "// No need to reallocate the buffer since it is always of size" << be_nl - << "// " << node->max_size () << "" << be_nl - << "#if 0" << be_idt_nl - << "if (this->maximum_ < rhs.maximum_)" << be_nl - << "{" << be_idt_nl - << full_class_name << "::freebuf (tmp);" << be_nl - << "this->buffer_ = " << full_class_name << "::allocbuf (rhs.maximum_);" << be_uidt_nl - << "}" << be_uidt_nl - << "#endif /* 0 */" << be_uidt_nl - << "}" << be_nl - << "else" << be_idt_nl - << "this->buffer_ = " << full_class_name << "::allocbuf (rhs.maximum_);" << be_uidt_nl - << be_nl - << "TAO_Bounded_Base_Sequence::operator= (rhs);" << be_nl - << be_nl; - pt->accept(visitor); - *os <<" **tmp1 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " **, this->buffer_);" << be_nl; - pt->accept(visitor); - *os <<" ** const tmp2 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " ** ACE_CAST_CONST, rhs.buffer_);" << be_nl - << "for (CORBA::ULong i=0; i < rhs.length_; ++i)" << be_idt_nl - << "tmp1[i] = "; - pt->accept (visitor); - *os << "::_duplicate (tmp2[i]);" << be_uidt_nl - << "return *this;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // operator[] - be_predefined_type *prim = be_predefined_type::narrow_from_decl (pt); - int is_pseudo_object = - pt->node_type () == AST_Decl::NT_pre_defined - && prim && prim->pt () == AST_PredefinedType::PT_pseudo - && ACE_OS::strcmp (prim->local_name ()->get_string (), - "Object") != 0; - - // operator[] - if (is_pseudo_object) - { - *os << "ACE_INLINE TAO_Pseudo_Object_Manager<"; - } - else - { - *os << "ACE_INLINE TAO_Object_Manager<"; - } - - *os << pt->name () << "," - << pt->name () << "_var>" << be_nl - << full_class_name << "::operator[] (CORBA::ULong index) const" - << " // Read-write accessor." << be_nl - << "{" << be_idt_nl - << "ACE_ASSERT (index < this->maximum_);" << be_nl; - - pt->accept(visitor); - *os <<" **const tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " ** ACE_CAST_CONST, this->buffer_);" << be_nl; - - if (is_pseudo_object) - { - *os << "return TAO_Pseudo_Object_Manager<"; - } - else - { - *os << "return TAO_Object_Manager<"; - } - - *os << pt->name () << "," - << pt->name () << "_var> " - << "(tmp + index, this->release_);" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // get_buffer - *os << "ACE_INLINE "; - pt->accept(visitor); - *os << " **" << be_nl; - *os << full_class_name << "::get_buffer (CORBA::Boolean orphan)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os << " **result = 0;" << be_nl - << "if (orphan == 0)" << be_nl - << "{" << be_idt_nl - << "// We retain ownership." << be_nl - << "if (this->buffer_ == 0)" << be_nl - << "{" << be_idt_nl - << "result = " << full_class_name << "::allocbuf (this->maximum_);" << be_nl - << "this->buffer_ = result;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl - << "{" << be_idt_nl - << "result = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << "**, this->buffer_);" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "else // if (orphan == 1)" << be_nl - << "{" << be_idt_nl - << "if (this->release_ != 0)" << be_nl - << "{" << be_idt_nl - << "// We set the state back to default and relinquish" << be_nl - << "// ownership." << be_nl - << "result = ACE_reinterpret_cast("; - pt->accept (visitor); - *os << "**,this->buffer_);" << be_nl - << "this->maximum_ = 0;" << be_nl - << "this->length_ = 0;" << be_nl - << "this->buffer_ = 0;" << be_nl - << "this->release_ = 0;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "return result;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // get_buffer - *os << "ACE_INLINE const "; - pt->accept (visitor); - *os << "* *" << be_nl - << full_class_name << "::get_buffer (void) const" << be_nl - << "{" << be_idt_nl - << "return ACE_reinterpret_cast(const "; - pt->accept (visitor); - *os << " ** ACE_CAST_CONST, this->buffer_);" << be_uidt_nl - << "}" << be_nl - << be_nl; - - os->gen_endif (); - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp deleted file mode 100644 index 8ff1a215796..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_cs.cpp +++ /dev/null @@ -1,183 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_bounded_obj_sequence_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client impl -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// ============================================================================ - -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_bounded_obj_sequence_cs, "$Id$") - - -int -be_visitor_sequence_cs::gen_bounded_obj_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - const char * class_name = node->instance_name (); - - static char full_class_name [NAMEBUFSIZE]; - ACE_OS::memset (full_class_name, '\0', NAMEBUFSIZE); - - if (node->is_nested ()) - { - ACE_OS::sprintf (full_class_name, "%s::%s", - be_scope::narrow_from_scope (node->defined_in ())->decl ()->fullname (), - class_name); - } - else - { - ACE_OS::sprintf (full_class_name, "%s", - class_name); - } - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - // first generate the static methods since they are used by others. Sinc - // ethey are inlined, their definition needs to come before their use else - // some compilers give lost of warnings. - - // allocate_buffer - *os << "// The Base_Sequence functions, please see tao/sequence.h" << be_nl - << "void " << be_nl - << full_class_name << "::_allocate_buffer (CORBA::ULong length)" << be_nl - << "{" << be_idt_nl - << "// For this class memory is never reallocated so the implementation" << be_nl - << "// is *really* simple." << be_nl - << "this->buffer_ = " << full_class_name << "::allocbuf (length);" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // deallocate_buffer - *os << "void" << be_nl - << full_class_name << "::_deallocate_buffer (void)" << be_nl - << "{" << be_idt_nl - << "if (this->buffer_ == 0 || this->release_ == 0)" << be_idt_nl - << "return;" << be_uidt_nl; - pt->accept(visitor); - *os <<" **tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " **, this->buffer_);" << be_nl - << full_class_name << "::freebuf (tmp);" << be_nl - << "this->buffer_ = 0;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // destructor - *os << full_class_name << "::~" << class_name << " (void)" << be_nl - << "// destructor" << be_nl - << "{" << be_idt_nl - << "this->_deallocate_buffer ();" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // _shrink_buffer - *os << "void" << be_nl - << full_class_name << "::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" **tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " **, this->buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = nl; i < ol; ++i)" << be_nl - << "{" << be_idt_nl - << "CORBA::release (tmp[i]);" << be_nl - << "tmp[i] = "; - pt->accept (visitor); - *os << "::_nil ();" << be_uidt_nl - << "}" << be_uidt_nl - << "}\n" << be_nl; - - be_predefined_type *prim = be_predefined_type::narrow_from_decl (pt); - if ((pt->node_type () != AST_Decl::NT_pre_defined) || - (prim && (prim->pt () == AST_PredefinedType::PT_pseudo) && - (!ACE_OS::strcmp (prim->local_name ()->get_string (), "Object")))) - { - // Pseudo objects do not require this methods. - *os << "void" << be_nl - << full_class_name << "::_downcast (" << be_idt << be_idt_nl - << "void* target," << be_nl - << "CORBA_Object *src," << be_nl - << "CORBA::Environment &ACE_TRY_ENV" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - pt->accept (visitor); - *os << " **tmp = ACE_static_cast ("; - pt->accept (visitor); - *os << "**, target);" << be_nl - << "*tmp = "; - pt->accept (visitor); - *os << "::_narrow (src, ACE_TRY_ENV);" << be_uidt_nl - << "}\n" << be_nl; - - *os << "CORBA_Object*" << be_nl - << full_class_name << "::_upcast (void *src) const" << be_nl - << "{" << be_idt_nl; - pt->accept (visitor); - *os << " **tmp = ACE_static_cast ("; - pt->accept (visitor); - *os << "**, src);" << be_nl - << "return *tmp;" << be_uidt_nl - << "}" << be_nl; - } - - os->gen_endif (); - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp deleted file mode 100644 index 15778c7e2d0..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_bounded_sequence_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client header -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - -//#include "idl.h" -//#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_bounded_sequence_ch, "$Id$") - - -int -be_visitor_sequence_ch::gen_bounded_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - - const char * class_name = node->instance_name (); - - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - *os << "class " << class_name << " : public TAO_Bounded_Base_Sequence" << be_nl - << "{" << be_nl - << "public:" << be_idt_nl - << "// = Initialization and termination methods." << be_nl - << be_nl; - - // default Constructor - *os << class_name << " (void);" << be_nl; - - // constructor - *os << class_name << " (CORBA::ULong length," << be_idt_nl; - pt->accept (visitor); - *os <<" *data," << be_nl - << "CORBA::Boolean release = 0);" << be_uidt_nl; - - // constructor - *os << class_name << " (const " << class_name << " &rhs);" << be_nl - << "// Copy constructor." << be_nl; - - // operator= - *os << class_name << " &operator= (const " << class_name << " &rhs);" << be_nl - << "// Assignment operator. " << be_nl; - - // destructor - *os << "virtual ~" << class_name << " (void); // Dtor." << be_nl; - - // Accessors - // operator[] - *os << "// = Accessors." << be_nl; - pt->accept(visitor); - *os <<" &operator[] (CORBA::ULong i);// operator []" << be_nl; - - // operator[] - *os << "const "; - pt->accept (visitor); - *os << " &operator[] (CORBA::ULong i) const;" << be_nl; - - // Static Operations - *os << "// = Static operations." << be_nl - << "static "; - pt->accept (visitor); - *os << " *allocbuf (CORBA::ULong); // Allocate storage for the sequence." << be_nl; - - // free_buf - *os << "static void freebuf ("; - pt->accept (visitor); - *os << " *buffer); // Free the sequence." << be_nl; - - // allocate_buffer - *os << "virtual void _allocate_buffer (CORBA::ULong length);" << be_nl; - - // deallocate_buffer - *os << "virtual void _deallocate_buffer (void);" << be_nl; - - // get_buffer - pt->accept(visitor); - *os << " *get_buffer (CORBA::Boolean orphan = 0);" << be_nl; - - // get_buffer - *os << "const "; - pt->accept (visitor); - *os << " *get_buffer (void) const;" << be_nl; - - // replace - *os << "void replace (CORBA::ULong max," << be_idt_nl - << "CORBA::ULong length," << be_nl; - pt->accept(visitor); - *os <<" *data," << be_nl - << "CORBA::Boolean release = 0);" << be_uidt << be_uidt_nl; - - *os << "};\n"; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ci.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ci.cpp deleted file mode 100644 index 167d7a4b79c..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ci.cpp +++ /dev/null @@ -1,320 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_bounded_sequence_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client inline -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - -//#include "idl.h" -//#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_bounded_sequence_ci, "$Id$") - - -int -be_visitor_sequence_ci::gen_bounded_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - const char * class_name = node->instance_name (); - - static char full_class_name [NAMEBUFSIZE]; - ACE_OS::memset (full_class_name, '\0', NAMEBUFSIZE); - - if (node->is_nested ()) - { - ACE_OS::sprintf (full_class_name, "%s::%s", - be_scope::narrow_from_scope (node->defined_in ())->decl ()->fullname (), - class_name); - } - else - { - ACE_OS::sprintf (full_class_name, "%s", - class_name); - } - - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - // first generate the static methods since they are used by others. Sinc - // ethey are inlined, their definition needs to come before their use else - // some compilers give lost of warnings. - - // Static Operations - // allocbuf - *os << "// = Static operations." << be_nl - << "ACE_INLINE "; - - // the accept is here the first time used and if an - // error occurs, it will occur here. Later no check - // for errors will be done. - if (pt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence::" - "gen_bounded_sequence - " - "base type visit failed\n"), - -1); - } - *os << " *" << be_nl - << full_class_name << "::allocbuf (CORBA::ULong) " - << "// Allocate storage for the sequence." << be_nl - << "{" << be_idt_nl - << "return new "; - pt->accept (visitor); - *os << "[" << node->max_size () << "];" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // free_buf - *os << "ACE_INLINE void " << be_nl - << full_class_name << "::freebuf ("; - pt->accept (visitor); - *os << " *buffer) // Free the sequence." << be_nl - << "{" << be_idt_nl - << "delete [] buffer;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // Constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (void)" << be_nl - << "// Default constructor." << be_nl - << " : TAO_Bounded_Base_Sequence (" << node->max_size () - << ", 0, " << full_class_name << "::allocbuf (" << node->max_size () - << "), 0)" << be_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl; - *os << full_class_name << "::" << class_name << " (CORBA::ULong length," << be_idt_nl; - pt->accept (visitor); - *os <<" *data," << be_nl - << "CORBA::Boolean release)" << be_uidt_nl - << "// Constructor using the data and memory management flag." << be_nl - << " : TAO_Bounded_Base_Sequence (" << node->max_size () << ", length, data, release)" << be_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name - << " (const " << full_class_name << " &rhs)" << be_nl - << "// Copy constructor." << be_idt_nl - << ": TAO_Bounded_Base_Sequence (rhs)" << be_uidt_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" *tmp1 = " << full_class_name << "::allocbuf (" << node->max_size () - << ");" << be_nl - << be_nl; - pt->accept(visitor); - *os <<" * const tmp2 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " * ACE_CAST_CONST, rhs.buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << be_idt_nl - << "tmp1[i] = tmp2[i];" << be_uidt_nl - << be_nl - << "this->buffer_ = tmp1;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // operator= - *os << "ACE_INLINE " << full_class_name << " &" << be_nl - << full_class_name << "::operator= (const " << full_class_name << " &rhs)" << be_nl - << "// Assignment operator. " << be_nl - << "{" << be_idt_nl - << "if (this == &rhs)" << be_idt_nl - << "return *this;" << be_uidt_nl - << be_nl - << "if (this->release_)" << be_nl - << "{" << be_nl - << "}" << be_nl - << "else" << be_idt_nl - << "this->buffer_ = " << full_class_name << "::allocbuf (rhs.maximum_);" << be_nl - << be_nl - <<"TAO_Bounded_Base_Sequence::operator= (rhs);" << be_nl - << be_nl; - pt->accept(visitor); - *os <<"* tmp1 = ACE_reinterpret_cast ("; - pt->accept(visitor); - *os << " *, this->buffer_);" << be_nl; - pt->accept(visitor); - *os <<"* const tmp2 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " * ACE_CAST_CONST, rhs.buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << be_idt_nl - << "tmp1[i] = tmp2[i];" << be_uidt_nl - << be_nl - << "return *this;" << be_uidt_nl << be_uidt_nl - << "}" << be_nl - << be_nl; - - // Accessors - *os << "// = Accessors." << be_nl; - *os << "ACE_INLINE "; - pt->accept(visitor); - *os << " &" << be_nl; - *os << full_class_name << "::operator[] (CORBA::ULong i)// operator []" << be_nl - << "{" << be_idt_nl - << "ACE_ASSERT (i < this->maximum_);" << be_nl; - pt->accept(visitor); - *os <<" *tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << "*,this->buffer_);" << be_nl - << "return tmp[i];" << be_uidt_nl - << "}" << be_nl; - - *os << "ACE_INLINE const "; - pt->accept (visitor); - *os << " &" << be_nl - << full_class_name << "::operator[] (CORBA::ULong i) const// operator []" << be_nl - << "{" << be_idt_nl - << "ACE_ASSERT (i < this->maximum_);" << be_nl - << "const "; - pt->accept (visitor); - *os << "* tmp = ACE_reinterpret_cast (const "; - pt->accept (visitor); - *os << "* ACE_CAST_CONST,this->buffer_);" << be_nl - << "return tmp[i];" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // get_buffer - *os << "ACE_INLINE "; - pt->accept(visitor); - *os << " *" << be_nl - << full_class_name << "::get_buffer (CORBA::Boolean orphan)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os << " *result = 0;" << be_nl - << "if (orphan == 0)" << be_nl - << "{" << be_idt_nl - << "// We retain ownership." << be_nl - << "if (this->buffer_ == 0)" << be_nl - << "{" << be_idt_nl - << "result = " << full_class_name << "::allocbuf (this->maximum_);" << be_nl - << "this->buffer_ = result;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl - << "{" << be_idt_nl - << "result = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << "*, this->buffer_);" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "else // if (orphan == 1)" << be_nl - << "{" << be_idt_nl - << "if (this->release_ != 0)" << be_nl - << "{" << be_idt_nl - << "// We set the state back to default and relinquish" << be_nl - << "// ownership." << be_nl - << "result = ACE_reinterpret_cast("; - pt->accept (visitor); - *os << "*,this->buffer_);" << be_nl - << "this->maximum_ = 0;" << be_nl - << "this->length_ = 0;" << be_nl - << "this->buffer_ = 0;" << be_nl - << "this->release_ = 0;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "return result;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // get_buffer - *os << "ACE_INLINE const "; - pt->accept (visitor); - *os << " *" << be_nl - << full_class_name << "::get_buffer (void) const" << be_nl - << "{" << be_idt_nl - << "return ACE_reinterpret_cast(const "; - pt->accept (visitor); - *os << " * ACE_CAST_CONST, this->buffer_);" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // replace - *os << "ACE_INLINE void " << be_nl - << full_class_name << "::replace (CORBA::ULong max," << be_idt_nl - << "CORBA::ULong length," << be_nl; - pt->accept(visitor); - *os <<" *data," << be_nl - << "CORBA::Boolean release)" << be_uidt_nl - << "{" << be_idt_nl - << "this->maximum_ = max;" << be_nl - << "this->length_ = length;" << be_nl - << "if (this->buffer_ && this->release_ == 1)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<"* tmp = ACE_reinterpret_cast("; - pt->accept (visitor); - *os << "* ACE_CAST_CONST, this->buffer_);" << be_nl - << full_class_name << "::freebuf (tmp);" << be_uidt_nl - << "}" << be_nl - << "this->buffer_ = data;" << be_nl - << "this->release_ = release;" << be_uidt_nl - << "}" << be_nl; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_cs.cpp deleted file mode 100644 index 0b72e049306..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_cs.cpp +++ /dev/null @@ -1,130 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_bounded_sequence_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client inline -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - -//#include "idl.h" -//#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_bounded_sequence_cs, "$Id$") - - -int -be_visitor_sequence_cs::gen_bounded_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - const char * class_name = node->instance_name (); - - static char full_class_name [NAMEBUFSIZE]; - ACE_OS::memset (full_class_name, '\0', NAMEBUFSIZE); - - if (node->is_nested ()) - { - ACE_OS::sprintf (full_class_name, "%s::%s", - be_scope::narrow_from_scope (node->defined_in ())->decl ()->fullname (), - class_name); - } - else - { - ACE_OS::sprintf (full_class_name, "%s", - class_name); - } - - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - // allocate_buffer - *os << "void " << be_nl - << full_class_name << "::_allocate_buffer (CORBA::ULong /* length */)" << be_nl - << "// allocate a buffer of the requested length. The buffer is allocated for the" << be_nl - << "// right type" << be_nl - << "{" << be_idt_nl - << "this->buffer_ = " << full_class_name << "::allocbuf (" - << node->max_size () << ");" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // deallocate_buffer - *os << "void " << be_nl - << full_class_name << "::_deallocate_buffer (void)" << be_nl - << "// deallocate the buffer" << be_nl - << "{" << be_idt_nl - << "if (this->buffer_ == 0 || this->release_ == 0)" << be_idt_nl - << "return;" << be_uidt_nl; - pt->accept(visitor); - *os <<" *tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " *, this->buffer_);" << be_nl - << full_class_name << "::freebuf (tmp);" << be_nl - << "this->buffer_ = 0;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // destructor - *os << full_class_name << "::~" << class_name << " (void) // Dtor." << be_nl - << "{" << be_idt_nl - << "this->_deallocate_buffer ();" << be_uidt_nl - << "}" << be_nl - << be_nl; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp deleted file mode 100644 index bb34ba31db0..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp +++ /dev/null @@ -1,144 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_bounded_str_sequence_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client header -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// ============================================================================ - -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_bounded_str_sequence_ch, "$Id$") - - -int -be_visitor_sequence_ch::gen_bounded_str_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - - const char * class_name = node->instance_name (); - - - // get the visitor for the type of the sequence - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - // the accept is here the first time used and if an - // error occurs, it will occur here. Later no check - // for errors will be done. - if (pt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "base type visit failed\n"), - -1); - } - - - *os << "class " << class_name << " : public TAO_Bounded_Base_Sequence" << be_nl - << "{" << be_nl - << "public:" << be_idt_nl; - - // constructor - *os << class_name << " (void);" << be_nl; - - // constructor - *os << class_name << " (CORBA::ULong length," << be_idt_nl - << "char* *value," << be_nl - << "CORBA::Boolean release = 0);" << be_uidt_nl; - - // constructor - *os << class_name << " (const " << class_name << " &rhs);" << be_nl; - - // operator= - *os << class_name << " &operator= (const " << class_name << " &rhs);" << be_nl; - - // destructor - *os << "virtual ~" << class_name << " (void);" << be_nl; - - // operator[] - *os << "TAO_SeqElem_String_Manager operator[] (CORBA::ULong index) const;" << be_nl - << "// read-write accessor" << be_nl; - - // allocbuf - *os << "static char **allocbuf (CORBA::ULong length);" << be_nl; - - // freebuf - *os << "static void freebuf (char **buffer);" << be_nl; - - // allocate_buffer - *os << "virtual void _allocate_buffer (CORBA::ULong length);" << be_nl; - - // deallocate_buffer - *os << "virtual void _deallocate_buffer (void);" << be_nl; - - // get_buffer - *os << "char* *get_buffer (CORBA::Boolean orphan = 0);" << be_nl; - - // get_buffer - *os << "const char* *get_buffer (void) const;" << be_nl; - - // shrink_buffer - *os << "virtual void _shrink_buffer (CORBA::ULong nl,CORBA::ULong ol);" - << be_uidt_nl; - - *os << "};\n"; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp deleted file mode 100644 index bc74e1f12de..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ci.cpp +++ /dev/null @@ -1,263 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_bounded_str_sequence_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client inline -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_bounded_str_sequence_ci, "$Id$") - - -int -be_visitor_sequence_ci::gen_bounded_str_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - const char * class_name = node->instance_name (); - - static char full_class_name [NAMEBUFSIZE]; - ACE_OS::memset (full_class_name, '\0', NAMEBUFSIZE); - - if (node->is_nested ()) - { - ACE_OS::sprintf (full_class_name, "%s::%s", - be_scope::narrow_from_scope (node->defined_in ())->decl ()->fullname (), - class_name); - } - else - { - ACE_OS::sprintf (full_class_name, "%s", - class_name); - } - - - // get the visitor for the type of the sequence - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - -#if 0 /* Why is this here? ASG */ - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - // the accept is here the first time used and if an - // error occurs, it will occur here. Later no check - // for errors will be done. - if (pt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "base type visit failed\n"), - -1); - } -#endif /* 0 */ - - // first generate the static methods since they are used by others. Since - // they are inlined, their definition needs to come before their use else - // some compilers (e.g., g++) produce lots of warnings. - - // allocbuf - *os << "ACE_INLINE char **" << be_nl - << full_class_name << "::allocbuf (CORBA::ULong /* length */)" << be_nl - << "{" << be_idt_nl - << "char **buf = 0;" << be_nl - << "ACE_NEW_RETURN (buf, char *[" << node->max_size () << "], 0);" << be_nl - << "for (CORBA::ULong i = 0; i < " << node->max_size () << "; i++)" << be_idt_nl - << "buf[i] = 0;" << be_uidt_nl - << "return buf;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // freebuf - *os << "ACE_INLINE void " << be_nl - << full_class_name << "::freebuf (char **buffer)" << be_nl - << "{" << be_idt_nl - << "for (CORBA::ULong i = 0; i < " << node->max_size () << "; ++i)" << be_nl - << "{" << be_idt_nl - << "if (buffer[i] != 0)" << be_nl - << "{" << be_idt_nl - << "CORBA::string_free (buffer[i]);" << be_nl - << "buffer[i] = 0;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "delete [] buffer;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (void)" << be_nl - << " : TAO_Bounded_Base_Sequence (" << node->max_size () - << ", " << full_class_name << "::allocbuf(" << node->max_size () << "))" << be_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (CORBA::ULong length," << be_idt_nl - << "char* *value," << be_nl - << "CORBA::Boolean release)" << be_uidt_nl - << " : TAO_Bounded_Base_Sequence (" << node->max_size () << ", length, value, release)" << be_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (const " << full_class_name << " &rhs)" << be_idt_nl - << ": TAO_Bounded_Base_Sequence (rhs)" << be_uidt_nl - << "{" << be_idt_nl - << "char **tmp1 = " << full_class_name << "::allocbuf (this->maximum_);" << be_nl - << "char ** const tmp2 = ACE_reinterpret_cast (char ** ACE_CAST_CONST, rhs.buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i=0; i < rhs.length_; i++)" << be_idt_nl - << "tmp1[i] = CORBA::string_dup (tmp2[i]);" << be_uidt_nl - << be_nl - << "this->buffer_ = tmp1;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // operator= - *os << "ACE_INLINE " << full_class_name << "& " << be_nl - << full_class_name << "::operator= (const " << full_class_name << " &rhs)" << be_nl - << "{" << be_idt_nl - << "if (this == &rhs)" << be_idt_nl - << "return *this;" << be_uidt_nl - << be_nl - << "if (this->release_)" << be_nl - << "{ " << be_idt_nl - << "char **tmp = ACE_reinterpret_cast (char **, this->buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << be_nl - << "{" << be_idt_nl - << "CORBA::string_free (tmp[i]);" << be_nl - << "tmp[i] = 0;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "else" << be_idt_nl - << "this->buffer_ = " << full_class_name << "::allocbuf (rhs.maximum_);" << be_uidt_nl - << be_nl - << "TAO_Bounded_Base_Sequence::operator= (rhs);" << be_nl - << be_nl - << "char **tmp1 = ACE_reinterpret_cast (char **, this->buffer_);" << be_nl - << "char ** const tmp2 = ACE_reinterpret_cast (char ** ACE_CAST_CONST, rhs.buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < rhs.length_; i++)" << be_idt_nl - << "tmp1[i] = CORBA::string_dup (tmp2[i]);" << be_uidt_nl - << "return *this;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // operator[] - *os << "ACE_INLINE TAO_SeqElem_String_Manager " << be_nl - << full_class_name << "::operator[] (CORBA::ULong index) const" << be_nl - << "// read-write accessor" << be_nl - << "{" << be_idt_nl - << "ACE_ASSERT (index < this->maximum_);" << be_nl - << "char **const tmp = ACE_reinterpret_cast (char ** ACE_CAST_CONST, this->buffer_);" << be_nl - << "return TAO_SeqElem_String_Manager (tmp + index, this->release_);" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // get_buffer - *os << "ACE_INLINE char**" << be_nl - << full_class_name << "::get_buffer (CORBA::Boolean orphan)" << be_nl - << "{" << be_idt_nl - << "char **result = 0;" << be_nl - << "if (orphan == 0)" << be_nl - << "{" << be_idt_nl - << "// We retain ownership. " << be_nl - << "if (this->buffer_ == 0)" << be_nl - << "{" << be_idt_nl - << "result = " << full_class_name << "::allocbuf (this->maximum_);" << be_nl - << "this->buffer_ = result;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl - << "{" << be_idt_nl - << "result = ACE_reinterpret_cast (char **, this->buffer_);" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "else // if (orphan == 1)" << be_nl - << "{" << be_idt_nl - << "if (this->release_ != 0)" << be_nl - << "{" << be_idt_nl - << "// We set state back to default and relinquish" << be_nl - << "// ownership." << be_nl - << "result = ACE_reinterpret_cast (char **, this->buffer_);" << be_nl - << "this->maximum_ = 0;" << be_nl - << "this->length_ = 0;" << be_nl - << "this->buffer_ = 0;" << be_nl - << "this->release_ = 0;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "return result;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // get_buffer - *os << "ACE_INLINE const char**" << be_nl - << full_class_name << "::get_buffer (void) const" << be_nl - << "{" << be_idt_nl - << "return ACE_reinterpret_cast (const char ** ACE_CAST_CONST, this->buffer_);" << be_uidt_nl - << "}" << be_nl - << be_nl; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_cs.cpp deleted file mode 100644 index 07a34995988..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_cs.cpp +++ /dev/null @@ -1,155 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_bounded_str_sequence_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client impl -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_bounded_str_sequence_cs, "$Id$") - - -int -be_visitor_sequence_cs::gen_bounded_str_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - const char * class_name = node->instance_name (); - - static char full_class_name [NAMEBUFSIZE]; - ACE_OS::memset (full_class_name, '\0', NAMEBUFSIZE); - - if (node->is_nested ()) - { - ACE_OS::sprintf (full_class_name, "%s::%s", - be_scope::narrow_from_scope (node->defined_in ())->decl ()->fullname (), - class_name); - } - else - { - ACE_OS::sprintf (full_class_name, "%s", - class_name); - } - - - // get the visitor for the type of the sequence - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - -#if 0 /* Why is this here? ASG */ - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - // the accept is here the first time used and if an - // error occurs, it will occur here. Later no check - // for errors will be done. - if (pt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "base type visit failed\n"), - -1); - } -#endif /* 0 */ - - // allocate_buffer - *os << "void" << be_nl - << full_class_name << "::_allocate_buffer (CORBA::ULong /* length */)" << be_nl - << "{" << be_idt_nl - << "// For this class memory is never reallocated so the implementation" << be_nl - << "// is *really* simple." << be_nl - << "this->buffer_ = " << full_class_name << "::allocbuf (" - << node->max_size () << ");" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // deallocate_buffer - *os << "void" << be_nl - << full_class_name << "::_deallocate_buffer (void)" << be_nl - << "{" << be_idt_nl - << "if (this->buffer_ == 0 || this->release_ == 0)" << be_idt_nl - << "return;" << be_uidt_nl - << "char **tmp = ACE_reinterpret_cast (char **, this->buffer_);" << be_nl - << full_class_name << "::freebuf (tmp);" << be_nl - << "this->buffer_ = 0;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // destructor - *os << full_class_name << "::~" << class_name << " (void)" << be_nl - << "{" << be_idt_nl - << "this->_deallocate_buffer ();" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // shrink_buffer - *os << "void" << be_nl - << full_class_name << "::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol)" << be_nl - << "{" << be_idt_nl - << "char **tmp = ACE_reinterpret_cast (char **,this->buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = nl; i < ol; ++i)" << be_nl - << "{" << be_idt_nl - << "CORBA::string_free (tmp[i]);" << be_nl - << "tmp[i] = 0;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp deleted file mode 100644 index 5e2594fc4a8..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp +++ /dev/null @@ -1,175 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_unbounded_obj_sequence_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client header -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - - -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_unbounded_obj_sequence_ch, "$Id$") - - -int -be_visitor_sequence_ch::gen_unbounded_obj_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - - const char * class_name = node->instance_name (); - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - *os << "class " << class_name << " : public TAO_Unbounded_Base_Sequence" << be_nl - << "{" << be_nl - << "public:" << be_idt_nl - << "// = Initialization and termination methods." << be_nl - << be_nl; - - // constructor - *os << class_name << " (void);" << be_nl; - - // constructor - *os << class_name << " (CORBA::ULong maximum);" << be_nl; - - // constructor - *os << class_name << " (CORBA::ULong maximum," << be_idt_nl - << "CORBA::ULong length," << be_nl; - pt->accept (visitor); - *os <<"* *value," << be_nl - << "CORBA::Boolean release = 0);" << be_uidt_nl; - - // constructor - *os << class_name << "(const " << class_name << " &rhs);" << be_nl; - - // destructor - *os << "virtual ~" << class_name << " (void);" << be_nl; - - // operator= - *os << class_name << " &operator= (const " << class_name << " &rhs);" << be_nl; - - // operator[] - be_predefined_type *prim = be_predefined_type::narrow_from_decl (pt); - int is_pseudo_object = - pt->node_type () == AST_Decl::NT_pre_defined - && prim && prim->pt () == AST_PredefinedType::PT_pseudo - && ACE_OS::strcmp (prim->local_name ()->get_string (), - "Object") != 0; - - if (is_pseudo_object) - { - *os << "TAO_Pseudo_Object_Manager<"; - } - else - { - *os << "TAO_Object_Manager<"; - } - - *os << pt->name () << "," - << pt->name () << "_var>" - << " operator[] (CORBA::ULong index) const;" << be_nl; - - // allocbuf - *os << "static "; - pt->accept (visitor); - *os << " **allocbuf (CORBA::ULong nelems);" << be_nl; - - // freebuf - *os << "static void freebuf ("; - pt->accept (visitor); - *os << " **buffer);" << be_nl; - - // allocate_buffer - *os << "// The Base_Sequence functions, please see tao/Sequence.h" << be_nl - << "virtual void _allocate_buffer (CORBA::ULong length);" << be_nl; - - // deallocate_buffer - *os << "virtual void _deallocate_buffer (void);" << be_nl; - - // get_buffer - pt->accept(visitor); - *os << "* *get_buffer (CORBA::Boolean orphan = 0);" << be_nl; - - // get_buffer - *os << "const "; - pt->accept (visitor); - *os << "* *get_buffer (void) const;" << be_nl; - - // shrink_buffer - *os << "virtual void _shrink_buffer (CORBA::ULong nl, CORBA::ULong ol);" << be_nl; - - if (!is_pseudo_object) - { - // Pseudo objects do not require this methods. - *os << "virtual void _downcast (" << be_idt << be_idt_nl - << "void* target," << be_nl - << "CORBA_Object *src," << be_nl - << "CORBA_Environment &ACE_TRY_ENV = " << be_idt_nl - << "TAO_default_environment ()" - << be_uidt << be_uidt_nl - << ");" << be_uidt_nl; - - *os << "virtual CORBA_Object* _upcast (void *src) const;" << be_nl; - } - *os << be_uidt_nl << "};\n"; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp deleted file mode 100644 index 16d8728477c..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ci.cpp +++ /dev/null @@ -1,339 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_unbounded_obj_sequence_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client inline. -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - - -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_unbounded_obj_sequence_ci, "$Id$") - - -int -be_visitor_sequence_ci::gen_unbounded_obj_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - - const char * class_name = node->instance_name (); - - static char full_class_name [NAMEBUFSIZE]; - ACE_OS::memset (full_class_name, '\0', NAMEBUFSIZE); - - if (node->is_nested ()) - { - ACE_OS::sprintf (full_class_name, "%s::%s", - be_scope::narrow_from_scope (node->defined_in ())->decl ()->fullname (), - class_name); - } - else - { - ACE_OS::sprintf (full_class_name, "%s", - class_name); - } - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - // allocbuf - *os << "ACE_INLINE "; - // the accept is here the first time used and if an - // error occurs, it will occur here. Later no check - // for errors will be done. - if (pt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "gen_unbounded_obj_sequence - " - "base type visit failed\n"), - -1); - } - *os << " **" << be_nl - << full_class_name << "::allocbuf (CORBA::ULong nelems)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" **buf = 0;" << be_nl - << be_nl - << "ACE_NEW_RETURN (buf, "; - pt->accept (visitor); - *os << "*[nelems], 0);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < nelems; i++)" << be_idt_nl - << "buf[i] = "; - pt->accept (visitor); - *os << "::_nil ();" << be_uidt_nl - << be_nl - << "return buf;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // freebuf - *os << "ACE_INLINE void " << be_nl - << full_class_name << "::freebuf ("; - pt->accept (visitor); - *os << " **buffer)" << be_nl - << "{" << be_idt_nl - << "if (buffer == 0)" << be_idt_nl - << "return;" << be_uidt_nl - << "delete[] buffer;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (void)" << be_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (CORBA::ULong maximum)" << be_idt_nl - << ": TAO_Unbounded_Base_Sequence (maximum, " - << full_class_name << "::allocbuf (maximum))" << be_uidt_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (CORBA::ULong maximum," << be_idt_nl - << "CORBA::ULong length," << be_nl; - pt->accept (visitor); - *os <<"* *value," << be_nl - << "CORBA::Boolean release)" << be_uidt_nl - << ": TAO_Unbounded_Base_Sequence (maximum, length, value, release)" << be_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << "(const " - << full_class_name << " &rhs)" << be_idt_nl - << ": TAO_Unbounded_Base_Sequence (rhs)" << be_uidt_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" **tmp1 = " << full_class_name << "::allocbuf (this->maximum_);" << be_nl; - pt->accept(visitor); - *os <<" ** const tmp2 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " ** ACE_CAST_CONST, rhs.buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < rhs.length_; ++i)" << be_idt_nl - << "tmp1[i] = "; - pt->accept (visitor); *os << "::_duplicate (tmp2[i]);" << be_uidt_nl - << be_nl - << "this->buffer_ = tmp1;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // operator= - *os << "ACE_INLINE " << full_class_name << " &" << be_nl - << full_class_name << "::operator= (const " << full_class_name << " &rhs)" << be_nl - << "{" << be_idt_nl - << "if (this == &rhs)" << be_idt_nl - << "return *this;" << be_uidt_nl - << be_nl - << "if (this->release_)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" **tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " **, this->buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << be_nl - << "{" << be_idt_nl - << "CORBA::release (tmp[i]);" << be_nl - << "tmp[i] = "; - pt->accept (visitor); - *os << "::_nil ();" << be_uidt_nl - << "}" << be_nl - << "if (this->maximum_ < rhs.maximum_)" << be_nl - << "{" << be_idt_nl - << full_class_name << "::freebuf (tmp);" << be_nl - << "this->buffer_ = " << full_class_name - << "::allocbuf (rhs.maximum_);" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "else" << be_idt_nl - << "this->buffer_ = " << full_class_name - << "::allocbuf (rhs.maximum_);" << be_uidt_nl - << be_nl - << "TAO_Unbounded_Base_Sequence::operator= (rhs);" << be_nl - << be_nl; - pt->accept(visitor); - *os <<" **tmp1 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " **, this->buffer_);" << be_nl; - pt->accept(visitor); - *os <<" ** const tmp2 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " ** ACE_CAST_CONST, rhs.buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < rhs.length_; ++i)" << be_idt_nl - << "tmp1[i] = "; - pt->accept (visitor); - *os << "::_duplicate (tmp2[i]);" << be_uidt_nl - << be_nl - << "return *this;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // operator[] - be_predefined_type *prim = be_predefined_type::narrow_from_decl (pt); - int is_pseudo_object = - pt->node_type () == AST_Decl::NT_pre_defined - && prim && prim->pt () == AST_PredefinedType::PT_pseudo - && ACE_OS::strcmp (prim->local_name ()->get_string (), - "Object") != 0; - - if (is_pseudo_object) - { - *os << "ACE_INLINE TAO_Pseudo_Object_Manager<"; - } - else - { - *os << "ACE_INLINE TAO_Object_Manager<"; - } - - *os << pt->name () << "," - << pt->name () << "_var>" << be_nl - << full_class_name << "::operator[] (CORBA::ULong index) const" << be_nl - << "// read-write accessor" << be_nl - << "{" << be_idt_nl - << "ACE_ASSERT (index < this->maximum_);" << be_nl; - pt->accept(visitor); - *os <<" ** const tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " ** ACE_CAST_CONST, this->buffer_);" << be_nl; - if (is_pseudo_object) - { - *os << "return TAO_Pseudo_Object_Manager<"; - } - else - { - *os << "return TAO_Object_Manager<"; - } - - *os << pt->name () << "," - << pt->name () << "_var>" - << " (tmp + index, this->release_);" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // get_buffer - *os << "ACE_INLINE "; - pt->accept(visitor); - *os << "* *" << be_nl - << full_class_name << "::get_buffer (CORBA::Boolean orphan)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os << " **result = 0;" << be_nl - << "if (orphan == 0)" << be_nl - << "{" << be_idt_nl - << "// We retain ownership." << be_nl - << "if (this->buffer_ == 0)" << be_nl - << "{" << be_idt_nl - << "result = " << full_class_name << "::allocbuf (this->maximum_);" << be_nl - << "this->buffer_ = result;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl - << "{" << be_idt_nl - << "result = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << "**, this->buffer_);" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "else // if (orphan == 1)" << be_nl - << "{" << be_idt_nl - << "if (this->release_ != 0)" << be_nl - << "{" << be_idt_nl - << "// We set the state back to default and relinquish" << be_nl - << "// ownership." << be_nl - << "result = ACE_reinterpret_cast("; - pt->accept (visitor); - *os << "**,this->buffer_);" << be_nl - << "this->maximum_ = 0;" << be_nl - << "this->length_ = 0;" << be_nl - << "this->buffer_ = 0;" << be_nl - << "this->release_ = 0;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "return result;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // get_buffer - *os << "ACE_INLINE "; - *os << "const "; - pt->accept (visitor); - *os << "* *" << be_nl - << full_class_name << "::get_buffer (void) const" << be_nl - << "{" << be_idt_nl - << "return ACE_reinterpret_cast(const "; - pt->accept (visitor); - *os << " ** ACE_CAST_CONST, this->buffer_);" << be_uidt_nl - << "}" << be_nl - << be_nl; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp deleted file mode 100644 index b42030ec7ab..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_cs.cpp +++ /dev/null @@ -1,208 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_unbounded_obj_sequence_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client inline. -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - - -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_unbounded_obj_sequence_cs, "$Id$") - - -int -be_visitor_sequence_cs::gen_unbounded_obj_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - - const char * class_name = node->instance_name (); - - static char full_class_name [NAMEBUFSIZE]; - ACE_OS::memset (full_class_name, '\0', NAMEBUFSIZE); - - if (node->is_nested ()) - { - ACE_OS::sprintf (full_class_name, "%s::%s", - be_scope::narrow_from_scope (node->defined_in ())->decl ()->fullname (), - class_name); - } - else - { - ACE_OS::sprintf (full_class_name, "%s", - class_name); - } - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - // allocate_buffer - *os << "// The Base_Sequence functions, please see tao/Sequence.h" << be_nl - << "void" << be_nl - << full_class_name << "::_allocate_buffer (CORBA::ULong length)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" **tmp = 0;" << be_nl - << "tmp = " << full_class_name << "::allocbuf (length);" << be_nl - << be_nl - << "if (this->buffer_ != 0)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" **old = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << "**, this->buffer_);" << be_nl - << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << be_idt_nl - << "if (!this->release_)" << be_idt_nl - << "tmp[i] = "; - pt->accept (visitor); - *os << "::_duplicate (old[i]);" << be_uidt_nl - << "else" << be_idt_nl - << "tmp[i] = old[i];" << be_uidt_nl << be_uidt_nl - << "if (this->release_)" << be_idt_nl - << "delete[] old;" << be_uidt_nl << be_uidt_nl - << "}" << be_nl - << "this->buffer_ = tmp;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // deallocate_buffer - *os << "void" << be_nl - << full_class_name << "::_deallocate_buffer (void)" << be_nl - << "{" << be_idt_nl - << "if (this->buffer_ == 0 || this->release_ == 0)" << be_idt_nl - << "return;" << be_uidt_nl; - pt->accept(visitor); - *os <<" **tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << "**, this->buffer_);" << be_nl - << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << be_nl - << "{" << be_idt_nl - << "CORBA::release (tmp[i]);" << be_nl - << "tmp[i] = "; - pt->accept (visitor); - *os << "::_nil ();" << be_uidt_nl - << "}" << be_nl - << full_class_name << "::freebuf (tmp);" << be_nl - << "this->buffer_ = 0;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // destructor - *os << full_class_name << "::~" << class_name << " (void)" << be_nl - << "{" << be_idt_nl - << "this->_deallocate_buffer ();" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // shrink_buffer - *os << "void" << be_nl - << full_class_name << "::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" **tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << "**, this->buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = nl; i < ol; ++i)" << be_nl - << "{" << be_idt_nl - << "CORBA::release (tmp[i]);" << be_nl - << "tmp[i] = "; - pt->accept (visitor); - *os << "::_nil ();" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl; - - - be_predefined_type *prim = be_predefined_type::narrow_from_decl (pt); - if ((pt->node_type () != AST_Decl::NT_pre_defined) || - (prim && (prim->pt () == AST_PredefinedType::PT_pseudo) && - (!ACE_OS::strcmp (prim->local_name ()->get_string (), "Object")))) - { - // Pseudo objects do not require this methods. - *os << "void " << be_nl - << full_class_name << "::_downcast (" << be_idt << be_idt_nl - << "void* target," << be_nl - << "CORBA_Object *src," << be_nl - << "CORBA_Environment &ACE_TRY_ENV" - << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - pt->accept (visitor); - *os << " **tmp = ACE_static_cast ("; - pt->accept (visitor); - *os << "**, target);" << be_nl - << "*tmp = "; - pt->accept (visitor); - *os << "::_narrow (src, ACE_TRY_ENV);" << be_uidt_nl - << "}\n" << be_nl; - - *os << "CORBA_Object*" << be_nl - << full_class_name << "::_upcast (void *src) const" << be_nl - << "{" << be_idt_nl; - pt->accept (visitor); - *os << " **tmp = ACE_static_cast ("; - pt->accept (visitor); - *os << "**, src);" << be_nl - << "return *tmp;" << be_uidt_nl - << "}" << be_nl; - } - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp deleted file mode 100644 index b9307c1ce0f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp +++ /dev/null @@ -1,167 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_unbounded_sequence_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client header -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - -//#include "idl.h" -//#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_unbounded_sequence_ch, "$Id$") - - -int -be_visitor_sequence_ch::gen_unbounded_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - - const char * class_name = node->instance_name (); - - - // get the visitor for the type of the sequence - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - *os << "class TAO_EXPORT_NESTED_MACRO " - << class_name << " : public TAO_Unbounded_Base_Sequence" << be_nl - << "{" << be_nl - << "public:" << be_idt_nl - << "// = Initialization and termination methods." << be_nl - << be_nl; - // constructor - *os << class_name << " (void); // Default constructor." << be_nl; - - // constructor - *os << class_name << " (CORBA::ULong maximum); " << be_nl; - - // constructor - *os << class_name << " (CORBA::ULong maximum," << be_idt_nl - << "CORBA::ULong length," << be_nl; - // the accept is here the first time used and if an - // error occurs, it will occur here. Later no check - // for errors will be done. - if (pt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "base type visit failed\n"), - -1); - } - *os << " *data," << be_nl - << "CORBA::Boolean release = 0);" << be_uidt_nl; - - // constructor - *os << class_name << " (const " << class_name << " &rhs);" << be_nl; - - // operator = - *os << class_name << " &operator= (const " << class_name << " &rhs);" << be_nl; - - // destructor - *os << "virtual ~" << class_name << " (void); // Dtor." << be_nl; - - // Accessors - *os << "// = Accessors." << be_nl; - pt->accept (visitor); - *os <<" &operator[] (CORBA::ULong i);" << be_nl; - - // operator[] - *os << "const "; - pt->accept (visitor); - *os << " &operator[] (CORBA::ULong i) const;" << be_nl; - - // Static operations - *os << "// = Static operations." << be_nl - << "static "; - pt->accept (visitor); - *os << " *allocbuf (CORBA::ULong size);" << be_nl; - - *os << "static void freebuf ("; - pt->accept (visitor); - *os << " *buffer);" << be_nl; - - // allocate_buffer - *os << "virtual void _allocate_buffer (CORBA::ULong length);" << be_nl; - - // deallocate_buffer - *os << "virtual void _deallocate_buffer (void);" << be_nl; - - // Implement the TAO_Base_Sequence methods (see Sequence.h) - *os << "// Implement the TAO_Base_Sequence methods (see Sequence.h)" << be_nl - << be_nl; - pt->accept(visitor); - *os << " *get_buffer (CORBA::Boolean orphan = 0);" << be_nl; - - // get_buffer - *os << "const "; - pt->accept (visitor); - *os << " *get_buffer (void) const;" << be_nl; - - // replace - *os << "void replace (CORBA::ULong max," << be_idt_nl - << "CORBA::ULong length," << be_nl; - pt->accept(visitor); - *os <<" *data," << be_nl - << "CORBA::Boolean release);" << be_uidt << be_uidt_nl; - - *os << "};\n"; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp deleted file mode 100644 index 9348769b863..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp +++ /dev/null @@ -1,338 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_unbounded_sequence_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client inline -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - -//#include "idl.h" -//#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_unbounded_sequence_ci, "$Id$") - - -int -be_visitor_sequence_ci::gen_unbounded_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - - const char * class_name = node->instance_name (); - - static char full_class_name [NAMEBUFSIZE]; - ACE_OS::memset (full_class_name, '\0', NAMEBUFSIZE); - - if (node->is_nested ()) - { - ACE_OS::sprintf (full_class_name, "%s::%s", - be_scope::narrow_from_scope (node->defined_in ())->decl ()->fullname (), - class_name); - } - else - { - ACE_OS::sprintf (full_class_name, "%s", - class_name); - } - - // get the visitor for the type of the sequence - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - // Static operations - // allocbuf - *os << "// = Static operations." << be_nl - << "ACE_INLINE "; - // the accept is here the first time used and if an - // error occurs, it will occur here. Later no check - // for errors will be done. - if (pt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "gen_unbounded_sequence - " - "base type visit failed\n"), - -1); - } - *os << " *" << be_nl - << full_class_name << "::allocbuf (CORBA::ULong size)" << be_nl - << "// Allocate storage for the sequence." << be_nl - << "{" << be_idt_nl - << "return new "; - pt->accept (visitor); - *os << "[size];" << be_uidt_nl - << "}" << be_nl - << be_nl; - - *os << "ACE_INLINE void " - << full_class_name << "::freebuf ("; - pt->accept (visitor); - *os << " *buffer)" << be_nl - << "// Free the sequence." << be_nl - << "{" << be_idt_nl - << "delete [] buffer;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (void) // Default constructor." << be_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (CORBA::ULong maximum) " - << "// Constructor using a maximum length value." << be_idt_nl - << ": TAO_Unbounded_Base_Sequence (maximum, " - << full_class_name << "::allocbuf (maximum))" - << be_uidt_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (CORBA::ULong maximum," << be_idt_nl - << "CORBA::ULong length," << be_nl; - pt->accept (visitor); - *os << " *data," << be_nl - << "CORBA::Boolean release)" << be_uidt_nl - << ": TAO_Unbounded_Base_Sequence (maximum, length, data, release)" << be_nl - << "{" << be_nl - << "}" << be_nl - << be_nl; - - // constructor - *os << "ACE_INLINE" << be_nl - << full_class_name << "::" << class_name << " (const " - << full_class_name << " &rhs)" << be_nl - << "// Copy constructor." << be_idt_nl; - *os << ": TAO_Unbounded_Base_Sequence (rhs)" << be_uidt_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" *tmp1 = " << full_class_name << "::allocbuf (this->maximum_);" << be_nl; - pt->accept(visitor); - *os << " * const tmp2 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " * ACE_CAST_CONST, rhs.buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << be_idt_nl - << "tmp1[i] = tmp2[i];" << be_uidt_nl - << be_nl - << "this->buffer_ = tmp1;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // operator = - *os << "ACE_INLINE " << full_class_name << " &" << be_nl - << full_class_name << "::operator= (const " << full_class_name << " &rhs)" << be_nl - << "// Assignment operator." << be_nl - << "{" << be_idt_nl - << "if (this == &rhs)" << be_idt_nl - << "return *this;" << be_uidt_nl - << be_nl - << "if (this->release_)" << be_nl - << "{" << be_idt_nl - << "if (this->maximum_ < rhs.maximum_)" << be_nl - << "{" << be_idt_nl - << "// free the old buffer" << be_nl; - pt->accept (visitor); - *os <<" *tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " *, this->buffer_);" << be_nl - << full_class_name << "::freebuf (tmp);" << be_nl - << "this->buffer_ = " << full_class_name - << "::allocbuf (rhs.maximum_);" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "else" << be_idt_nl - << "this->buffer_ = " << full_class_name - << "::allocbuf (rhs.maximum_);" << be_uidt_nl - << be_nl - << "TAO_Unbounded_Base_Sequence::operator= (rhs);" << be_nl - << be_nl; - pt->accept (visitor); - *os <<" *tmp1 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " *, this->buffer_);" << be_nl; - pt->accept (visitor); - *os <<" * const tmp2 = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " * ACE_CAST_CONST, rhs.buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << be_idt_nl - << "tmp1[i] = tmp2[i];" << be_uidt_nl - << be_nl - << "return *this;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // Accessors - *os << "// = Accessors." << be_nl; - *os << "ACE_INLINE "; - pt->accept (visitor); - *os <<" &" << be_nl - << full_class_name << "::operator[] (CORBA::ULong i)" << be_nl - << "// operator []" << be_nl - << "{" << be_idt_nl - << "ACE_ASSERT (i < this->maximum_);" << be_nl; - pt->accept (visitor); - *os <<"* tmp = ACE_reinterpret_cast("; - pt->accept (visitor); - *os << "*,this->buffer_);" << be_nl - << "return tmp[i];" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // operator[] - *os << "ACE_INLINE const "; - pt->accept (visitor); - *os << " &" << be_nl - << full_class_name << "::operator[] (CORBA::ULong i) const" << be_nl - << "// operator []" << be_nl - << "{" << be_idt_nl - << "ACE_ASSERT (i < this->maximum_);" << be_nl; - pt->accept (visitor); - *os <<" * const tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << "* ACE_CAST_CONST, this->buffer_);" << be_nl - << "return tmp[i];" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // Implement the TAO_Base_Sequence methods (see Sequence.h) - *os << "// Implement the TAO_Base_Sequence methods (see Sequence.h)" << be_nl - << be_nl; - *os << "ACE_INLINE "; - pt->accept(visitor); - *os << " *" << be_nl - << full_class_name << "::get_buffer (CORBA::Boolean orphan)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" *result = 0;" << be_nl - << "if (orphan == 0)" << be_nl - << "{" << be_idt_nl - << "// We retain ownership." << be_nl - << "if (this->buffer_ == 0)" << be_nl - << "{" << be_idt_nl - << "result = " << full_class_name << "::allocbuf (this->length_);" << be_nl - << "this->buffer_ = result;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl - << "{" << be_idt_nl - << "result = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << "*, this->buffer_);" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "else // if (orphan == 1)" << be_nl - << "{" << be_idt_nl - << "if (this->release_ != 0)" << be_nl - << "{" << be_idt_nl - << "// We set the state back to default and relinquish" << be_nl - << "// ownership." << be_nl - << "result = ACE_reinterpret_cast("; - pt->accept (visitor); - *os << "*,this->buffer_);" << be_nl - << "this->maximum_ = 0;" << be_nl - << "this->length_ = 0;" << be_nl - << "this->buffer_ = 0;" << be_nl - << "this->release_ = 0;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "return result;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // get_buffer - *os << "ACE_INLINE const "; - pt->accept (visitor); - *os << " *" << be_nl - << full_class_name << "::get_buffer (void) const" << be_nl - << "{" << be_idt_nl - << "return ACE_reinterpret_cast(const "; - pt->accept (visitor); - *os << " * ACE_CAST_CONST, this->buffer_);" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // replace - *os << "ACE_INLINE void" << be_nl - << full_class_name << "::replace (CORBA::ULong max," << be_nl - << "CORBA::ULong length," << be_nl; - pt->accept(visitor); - *os <<" *data," << be_nl - << "CORBA::Boolean release)" << be_nl - << "{" << be_idt_nl - << "this->maximum_ = max;" << be_nl - << "this->length_ = length;" << be_nl - << "if (this->buffer_ && this->release_ == 1)" << be_nl - << "{" << be_idt_nl; - pt->accept(visitor); - *os <<" *tmp = ACE_reinterpret_cast("; - pt->accept (visitor); - *os << "*,this->buffer_);" << be_nl - << full_class_name << "::freebuf (tmp);" << be_uidt_nl - << "}" << be_nl - << "this->buffer_ = data;" << be_nl - << "this->release_ = release;" << be_uidt_nl - << "}" << be_nl; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp deleted file mode 100644 index 93c7138ba1a..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp +++ /dev/null @@ -1,146 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// gen_unbounded_sequence_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client impl -// -// = AUTHOR -// Michael Kircher -// -// Modifications by Aniruddha Gokhale -// -// ============================================================================ - -//#include "idl.h" -//#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, gen_unbounded_sequence_cs, "$Id$") - - -int -be_visitor_sequence_cs::gen_unbounded_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the class name - be_type *pt; // base types - - if (bt->node_type () == AST_Decl::NT_typedef) - { - // get the primitive base type of this typedef node - be_typedef *t = be_typedef::narrow_from_decl (bt); - pt = t->primitive_base_type (); - } - else - pt = bt; - - - const char * class_name = node->instance_name (); - - static char full_class_name [NAMEBUFSIZE]; - ACE_OS::memset (full_class_name, '\0', NAMEBUFSIZE); - - if (node->is_nested ()) - { - ACE_OS::sprintf (full_class_name, "%s::%s", - be_scope::narrow_from_scope (node->defined_in ())->decl ()->fullname (), - class_name); - } - else - { - ACE_OS::sprintf (full_class_name, "%s", - class_name); - } - - // get the visitor for the type of the sequence - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BASE_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - os->gen_ifdef_macro (class_name); - - os->indent (); - - // allocate_buffer - *os << "void" << be_nl - << full_class_name << "::_allocate_buffer (CORBA::ULong length)" << be_nl - << "{" << be_idt_nl; - pt->accept (visitor); - *os << "* tmp = 0;" << be_nl - << "tmp = " << full_class_name << "::allocbuf (length);" << be_nl - << be_nl - << "if (this->buffer_ != 0)" << be_nl - << "{" << be_idt_nl; - pt->accept (visitor); - *os <<" *old = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " *,this->buffer_);" << be_nl - << be_nl - << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << be_idt_nl - << "tmp[i] = old[i];" << be_uidt_nl - << be_nl - << "if (this->release_)" << be_idt_nl - << full_class_name << "::freebuf (old);" << be_uidt_nl << be_uidt_nl - << "}" << be_nl - << "this->buffer_ = tmp;" << be_uidt_nl - << "}" << be_nl - << be_nl; - - // deallocate_buffer - *os << "void" << be_nl - << full_class_name << "::_deallocate_buffer (void)" << be_nl - << "{" << be_idt_nl - << "if (this->buffer_ == 0 || this->release_ == 0)" << be_idt_nl - << "return;" << be_uidt_nl - << be_nl; - pt->accept(visitor); - *os <<" *tmp = ACE_reinterpret_cast ("; - pt->accept (visitor); - *os << " *,this->buffer_);" << be_nl - << be_nl - << full_class_name << "::freebuf (tmp);" << be_nl - << "this->buffer_ = 0;" << be_uidt_nl - << "} " << be_nl - << be_nl; - - // destructor - *os << full_class_name << "::~" << class_name << " (void) // Dtor." << be_nl - << "{" << be_idt_nl - << "this->_deallocate_buffer ();" << be_uidt_nl - << "}" << be_nl - << be_nl; - - os->gen_endif (); // endif macro - - // generate #endif for AHETI - os->gen_endif_AHETI(); - - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp deleted file mode 100644 index 0b3bb8a627e..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp +++ /dev/null @@ -1,194 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// sequence_base.cpp -// -// = DESCRIPTION -// Visitor generating code for the base type of the Sequence -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, sequence_base, "$Id$") - - -// **************************************************************** -// We have to generate the parameters for the template that implements -// each sequence type. -// **************************************************************** - -be_visitor_sequence_base:: -be_visitor_sequence_base (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_base::~be_visitor_sequence_base (void) -{ -} - - -int -be_visitor_sequence_base::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - *os << node->name (); - return 0; -} - -// helper -int -be_visitor_sequence_base::visit_node (be_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (this->ctx_->state () == TAO_CodeGen::TAO_SEQUENCE_BASE_CH) - *os << bt->nested_type_name (this->ctx_->scope ()); - else - *os << bt->name (); - return 0; -} - -int -be_visitor_sequence_base::visit_sequence (be_sequence *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_base::visit_interface (be_interface *node) -{ - - return this->visit_node (node); - -} - -int -be_visitor_sequence_base::visit_interface_fwd (be_interface_fwd *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_base::visit_string (be_string *) -{ - // NO-OP, we have ad-hoc classes from strings. - return 0; -} - -int -be_visitor_sequence_base::visit_structure (be_structure *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_base::visit_union (be_union *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_base::visit_enum (be_enum *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_base::visit_exception (be_exception *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_base::visit_array (be_array *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_base::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - if (node->primitive_base_type ()->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_sequence_base::" - "visit_typedef - " - "accept on primitive type failed\n"), - -1); - } - this->ctx_->alias (0); - return 0; -} - - -be_visitor_sequence_base_template_args::be_visitor_sequence_base_template_args (be_visitor_context *ctx, - be_sequence *seq) - :be_visitor_sequence_base (ctx), - beseq_ (seq) -{ - // no-op -} - - -be_visitor_sequence_base_template_args::~be_visitor_sequence_base_template_args (void) -{ - //no-op -} - -int -be_visitor_sequence_base_template_args::visit_interface (be_interface *node) -{ -TAO_OutStream *os = this->ctx_->stream (); - be_type *bt = node; - - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - - if (this->ctx_->state () == TAO_CodeGen::TAO_SEQUENCE_BASE_CH) - { - *os << bt->nested_type_name (this->ctx_->scope ()) - << ","; - *os << bt->nested_type_name (this->ctx_->scope (), "_var"); - } - else - *os << bt->name () - << "," << bt->name () << "_var"; - - return 0; - -} - -int -be_visitor_sequence_base_template_args::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - *os << node->name (); - if (beseq_->managed_type () == be_sequence::MNG_PSEUDO || - beseq_->managed_type () == be_sequence::MNG_OBJREF) - *os << "," << node->name () << "_var"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp deleted file mode 100644 index 26a8f5c15ba..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp +++ /dev/null @@ -1,630 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// sequence_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, sequence_ch, "$Id$") - - -// Root visitor for client header -be_visitor_sequence_ch::be_visitor_sequence_ch (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_ch::~be_visitor_sequence_ch (void) -{ -} - -int -be_visitor_sequence_ch::gen_base_sequence_class (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - - // !! branching in either compile time template instantiation - // or manual template instatiation - os->gen_ifdef_AHETI(); - - // this is the instantiation branch - *os << node->instance_name (); - - os->gen_else_AHETI(); - - // generate the appropriate sequence type - switch (node->managed_type ()) - { - case be_sequence::MNG_OBJREF: - if (node->unbounded ()) - *os << "TAO_Unbounded_Object_Sequence<"; - else - *os << "TAO_Bounded_Object_Sequence<"; - break; - case be_sequence::MNG_PSEUDO: - if (node->unbounded ()) - *os << "TAO_Unbounded_Pseudo_Sequence<"; - else - *os << "TAO_Bounded_Pseudo_Sequence<"; - break; - case be_sequence::MNG_STRING: - if (node->unbounded ()) - *os << "TAO_Unbounded_String_Sequence"; - else - *os << "TAO_Bounded_String_Sequence"; - break; - default: // not a managed type - if (node->unbounded ()) - *os << "TAO_Unbounded_Sequence<"; - else - *os << "TAO_Bounded_Sequence<"; - break; - } - - be_visitor_context *ctx; - ACE_NEW_RETURN (ctx, - be_visitor_context (*this->ctx_), - 0); - be_visitor_sequence_base_template_args visitor (ctx, node); - ctx->state (TAO_CodeGen::TAO_SEQUENCE_BASE_CH); - //be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (bt->accept (&visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "base type visit failed\n"), - -1); - } - //delete visitor; - - // find out if the sequence is of a managed type and if it is bounded or not - if (node->managed_type () == be_sequence::MNG_STRING) - { - if (!node->unbounded ()) - { - *os << "<" << node->max_size () << ">"; - } - } - else - { - if (node->unbounded ()) - { - *os << ">"; - } - else - { - *os << ", " << node->max_size () << ">"; - } - } - - os->gen_endif_AHETI(); - - return 0; -} - - -int -be_visitor_sequence_ch::instantiate_sequence (be_sequence *node) -{ - be_type *bt; - - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "gen_instantiate_template_name - " - "Bad element type\n"), -1); - } - - // generate the appropriate sequence type - switch (node->managed_type ()) - { - case be_sequence::MNG_PSEUDO: - case be_sequence::MNG_OBJREF: - if (node->unbounded ()) - this->gen_unbounded_obj_sequence (node); - else - this->gen_bounded_obj_sequence (node); - break; - case be_sequence::MNG_STRING: // sequence of strings - if (!node->unbounded ()) - this->gen_bounded_str_sequence (node); - // else - // inheriting from the right class is enough - break; - default: // not a managed type - if (node->unbounded ()) - { -#if 1 - // TAO provides extensions for octet sequences, first find out - // if the base type is an octet (or an alias for octet) - be_predefined_type *predef = 0; - if (bt->base_node_type () == AST_Type::NT_pre_defined) - { - be_typedef* alias = - be_typedef::narrow_from_decl (bt); - - if (alias == 0) - { - predef = - be_predefined_type::narrow_from_decl (bt); - } - else - { - predef = be_predefined_type::narrow_from_decl - (alias->primitive_base_type ()); - } - } - if (predef != 0) - { - if (predef->pt() != AST_PredefinedType::PT_octet) - this->gen_unbounded_sequence (node); - } - else - this->gen_unbounded_sequence (node); -#else - // @@ This needs to be fixed. (Michael) - be_predefined_type * bpt = - be_predefined_type::narrow_from_decl (node->base_type()); - if (bpt) - { - if (bpt->pt() != AST_PredefinedType::PT_octet) - this->gen_unbounded_sequence (node); - } - else - this->gen_unbounded_sequence (node); -#endif - } - else - this->gen_bounded_sequence (node); - break; - } - - return 0; -} - - -int be_visitor_sequence_ch::visit_sequence (be_sequence *node) -{ - be_type *bt; // type node - TAO_OutStream *os = this->ctx_->stream (); - - // first create a name for ourselves - if (node->create_name (this->ctx_->tdef ()) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "failed creating name\n"), -1); - } - - if (node->cli_hdr_gen () || node->imported ()) - return 0; - - // instantiation - - if (this->instantiate_sequence (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "codegen. for the primitive type sequence\n"), -1); - } - - // end of instantiation - - // generate the ifdefined macro for the sequence type - os->gen_ifdef_macro (node->flatname ()); - - os->indent (); // start with the current indentation level - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - *os << "// *************************************************************" - << be_nl - << "// " << node->local_name () << be_nl - << "// *************************************************************" - << be_nl << be_nl; - - // generate a typedef to a parametrized sequence - *os << "class " << idl_global->export_macro () - << " " << node->local_name () << " : public "; - - if (this->gen_base_sequence_class (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "codegen for base sequence class\n"), -1); - } - - *os << "{" << be_nl - << "public:" << be_idt_nl - << node->local_name () << " (void); // default ctor" << be_nl; - // for unbounded sequences, we have a different set of constructors - if (node->unbounded ()) - { - *os << node->local_name () << " (CORBA::ULong max); // uses max size" - << be_nl; - } - - *os << node->local_name () << " (" << be_idt_nl; - if (node->unbounded ()) - { - // unbounded seq takes this extra parameter - *os << "CORBA::ULong max, " << be_nl; - } - *os << "CORBA::ULong length, " << be_nl; - // generate the base type for the buffer - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BUFFER_TYPE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "Bad visitor\n"), -1); - } - - if (bt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "base type visit failed\n"), - -1); - } - delete visitor; - *os << " *buffer, " << be_nl - << "CORBA::Boolean release=0" << be_uidt_nl - << ");" << be_nl; - *os << node->local_name () << " (const " << node->local_name () - << " &); // copy ctor" << be_nl; - *os << "~" << node->local_name () << " (void); // dtor\n"; - - // TAO provides extensions for octet sequences, first find out if - // the base type is an octet (or an alias for octet) - be_predefined_type *predef = 0; - if (bt->base_node_type () == AST_Type::NT_pre_defined) - { - be_typedef* alias = - be_typedef::narrow_from_decl (bt); - - if (alias == 0) - { - predef = be_predefined_type::narrow_from_decl (bt); - } - else - { - predef = be_predefined_type::narrow_from_decl - (alias->primitive_base_type ()); - } - } - // Now generate the extension... - if (predef != 0 && predef->pt () == AST_PredefinedType::PT_octet - && node->unbounded ()) - { - *os << "\n" - << "#if defined(TAO_NO_COPY_OCTET_SEQUENCES)" << be_nl - << node->local_name () << " (" << be_idt << be_idt_nl - << "CORBA::ULong length," << be_nl - << "const ACE_Message_Block* mb" << be_uidt_nl - << ")" << be_uidt_nl - << " : " << node->instance_name () - << " (length, mb) {}" << "\n" - << "#endif /* TAO_NO_COPY_OCTET_SEQUENCE */\n\n"; - } - - os->decr_indent (); - *os << "};" << be_nl; - - // define a _ptr type. This is just an extension for convenience - *os << "typedef " << node->local_name () << " *" - << node->local_name () << "_ptr;\n"; - -#if 0 - if (!this->ctx_->tdef ()) - { - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_TYPECODE_DECL); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "TypeCode declaration failed\n" - ), -1); - } - } -#endif - - os->gen_endif (); // endif macro - - // generate the ifdefined macro for the var type - os->gen_ifdef_macro (node->flatname (), "_var"); - - // generate the var and out types - if (this->gen_var_defn (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "codegen for _var failed\n"), -1); - } - - os->gen_endif (); - - // generate the ifdefined macro for the _out type - os->gen_ifdef_macro (node->flatname (), "_out"); - - if (this->gen_out_defn (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "codegen for _out failed\n"), - -1); - } - os->gen_endif (); - node->cli_hdr_gen (1); - - return 0; -} - -// generate the _var definition for ourself -int -be_visitor_sequence_ch::gen_var_defn (be_sequence *node) -{ - TAO_OutStream *os; // output stream - char namebuf [NAMEBUFSIZE]; // names - be_type *bt; // base type - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", node->local_name ()->get_string ()); - - os = this->ctx_->stream (); - - *os << "// *************************************************************" - << be_nl; - *os << "// class " << node->name () << "_var" << be_nl; - *os << "// *************************************************************\n\n"; - - // retrieve base type - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "gen_var_defn - " - "Bad base type\n"), - -1); - } - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - os->indent (); // start with whatever was our current indent level - *os << "class " << idl_global->export_macro () - << " " << namebuf << be_nl; - *os << "{" << be_nl; - *os << "public:\n"; - os->incr_indent (); - // default constr - *os << namebuf << " (void); // default constructor" << be_nl; - // constr - *os << namebuf << " (" << node->local_name () << " *);" << be_nl; - // copy constructor - *os << namebuf << " (const " << namebuf << - " &); // copy constructor" << be_nl; - // destructor - *os << "~" << namebuf << " (void); // destructor" << be_nl; - *os << be_nl; - // assignment operator from a pointer - *os << namebuf << " &operator= (" << node->local_name () << " *);" << be_nl; - // assignment from _var - *os << namebuf << " &operator= (const " << namebuf << - " &);" << be_nl; - - // arrow operator - *os << node->local_name () << " *operator-> (void);" << be_nl; - *os << "const " << node->local_name () << " *operator-> (void) const;" << be_nl; - *os << be_nl; - - // other extra types (cast operators, [] operator, and others) - - // cast operator - *os << "operator const " << node->local_name () << " &() const;" << be_nl; - *os << "operator " << node->local_name () << " &();" << be_nl; - *os << "operator " << node->local_name () << " &() const;" << be_nl; - - // overloaded [] operator. The const version is not required for sequences - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "gen_var_defn - " - "Bad visitor\n"), -1); - } - - if (bt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_var_defn - " - "[] ret type gen failed\n"), - -1); - } - delete visitor; - - *os << "operator[] (CORBA::ULong index);" << be_nl; - - *os << "// in, inout, out, _retn " << be_nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - *os << "const " << node->local_name () << " &in (void) const;" << be_nl; - *os << node->local_name () << " &inout (void);" << be_nl; - *os << node->local_name () << " *&out (void);" << be_nl; - *os << node->local_name () << " *_retn (void);" << be_nl; - - // generate an additional member function that returns the underlying pointer - *os << node->local_name () << " *ptr (void) const;\n"; - - *os << "\n"; - os->decr_indent (); - - // generate the private section - *os << "private:\n"; - os->incr_indent (); - *os << node->local_name () << " *ptr_;\n"; - - os->decr_indent (); - *os << "};\n\n"; - - return 0; -} - -// generate the _out definition -int -be_visitor_sequence_ch::gen_out_defn (be_sequence *node) -{ - TAO_OutStream *os; // output stream - char namebuf [NAMEBUFSIZE]; // to hold the _out name - be_type *bt; // base type - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", node->local_name ()->get_string ()); - os = this->ctx_->stream (); - - // retrieve base type - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "gen_out_defn - " - "Bad base type\n"), - -1); - } - - // generate the out definition (always in the client header) - os->indent (); // start with whatever was our current indent level - - *os << "class " << idl_global->export_macro () << " " - << namebuf << be_nl; - *os << "{" << be_nl; - *os << "public:\n"; - os->incr_indent (); - - // No default constructor - - // constructor from a pointer - *os << namebuf << " (" << node->local_name () << " *&);" << be_nl; - // constructor from a _var & - *os << namebuf << " (" << node->local_name () << "_var &);" << be_nl; - // constructor from a _out & - *os << namebuf << " (const " << namebuf << " &);" << be_nl; - // assignment operator from a _out & - *os << namebuf << " &operator= (const " << namebuf << " &);" << be_nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // assignment - *os << namebuf << " &operator= (" << node->local_name () << " *);" << be_nl; - // operator () - *os << "operator " << node->local_name () << " *&();" << be_nl; - // ptr fn - *os << node->local_name () << " *&ptr (void);" << be_nl; - // operator -> - *os << node->local_name () << " *operator-> (void);" << be_nl; - - // overloaded [] operator only for sequence. The const version is not - // required - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "gen_out_defn - " - "Bad visitor\n"), -1); - } - - if (bt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_var_defn - " - "[] ret type gen failed\n"), - -1); - } - delete visitor; - *os << "operator[] (CORBA::ULong index);" << be_nl; - *os << "\n"; - os->decr_indent (); - *os << "private:\n"; - os->incr_indent (); - - *os << node->local_name () << " *&ptr_;" << be_nl; - *os << "// assignment from T_var not allowed" << be_nl; - *os << "void operator= (const " << node->local_name () << "_var &);\n"; - - os->decr_indent (); - *os << "};\n\n"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp deleted file mode 100644 index d30852ffa11..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp +++ /dev/null @@ -1,574 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// sequence_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequence in the client inline file -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, sequence_ci, "$Id$") - - -// *********************************************************** -// sequence visitor for inline generation -// *********************************************************** - - -be_visitor_sequence_ci::be_visitor_sequence_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_ci::~be_visitor_sequence_ci (void) -{ -} - -int -be_visitor_sequence_ci::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (node->cli_inline_gen () || node->imported ()) - return 0; - - // instantiation - - if (this->instantiate_sequence (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "codegen. for the primitive type sequence\n"), - -1); - } - - // end of instantiation - - // generate the ifdefined macro for the sequence type - os->gen_ifdef_macro (node->flatname ()); - - // all we do is generate the _var and _out implementations - if (this->gen_var_impl (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "codegen for _var failed\n"), -1); - } - - if (this->gen_out_impl (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "codegen for _out failed\n"), -1); - } - - // generate the endif macro for the sequence type - os->gen_endif (); - node->cli_inline_gen (1); - - return 0; -} - -int -be_visitor_sequence_ci::instantiate_sequence (be_sequence *node) -{ - be_type *bt; - - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "gen_instantiate_template_name - " - "Bad element type\n"), -1); - } - - // generate the appropriate sequence type - switch (node->managed_type ()) - { - case be_sequence::MNG_PSEUDO: - case be_sequence::MNG_OBJREF: - if (node->unbounded ()) - this->gen_unbounded_obj_sequence (node); - else - this->gen_bounded_obj_sequence (node); - break; - case be_sequence::MNG_STRING: // sequence of strings - if (!node->unbounded ()) - this->gen_bounded_str_sequence (node); - // else - // inheriting from the right class is enough - break; - default: // not a managed type - if (node->unbounded ()) - { -#if 1 - // TAO provides extensions for octet sequences, first find out - // if the base type is an octet (or an alias for octet) - be_predefined_type *predef = 0; - if (bt->base_node_type () == AST_Type::NT_pre_defined) - { - be_typedef* alias = - be_typedef::narrow_from_decl (bt); - - if (alias == 0) - { - predef = - be_predefined_type::narrow_from_decl (bt); - } - else - { - predef = be_predefined_type::narrow_from_decl - (alias->primitive_base_type ()); - } - } - if (predef != 0) - { - if (predef->pt() != AST_PredefinedType::PT_octet) - this->gen_unbounded_sequence (node); - } - else - this->gen_unbounded_sequence (node); -#else - // @@ This needs to be fixed. (Michael) - be_predefined_type * bpt = - be_predefined_type::narrow_from_decl (node->base_type()); - if (bpt) - { - if (bpt->pt() != AST_PredefinedType::PT_octet) - this->gen_unbounded_sequence (node); - } - else - this->gen_unbounded_sequence (node); -#endif - } - else - this->gen_bounded_sequence (node); - break; - } - - return 0; -} - -int -be_visitor_sequence_ci::gen_var_impl (be_sequence *node) -{ - TAO_OutStream *os; // output stream - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - be_type *bt; // base type - - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", node->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", node->local_name ()->get_string ()); - - os = this->ctx_->stream (); - - // retrieve base type - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - // generate the var implementation in the inline file - os->indent (); // start with whatever was our current indent level - - *os << "// *************************************************************" - << be_nl; - *os << "// Inline operations for class " << fname << be_nl; - *os << "// *************************************************************\n\n"; - - // default constr - *os << "ACE_INLINE" << be_nl - << fname << "::" << lname - << " (void) // default constructor" << be_nl - << " " << ": ptr_ (0)" << be_nl - << "{}\n\n"; - - // constr from a _ptr - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (" << node->name () << " *p)" << be_nl; - *os << " : ptr_ (p)" << be_nl; - *os << "{}\n\n"; - - // copy constructor - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "if (p.ptr_)" << be_nl; - *os << " this->ptr_ = new " << node->name () << "(*p.ptr_);" << be_nl; - *os << "else" << be_nl; - *os << " this->ptr_ = 0;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // destructor - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::~" << lname << " (void) // destructor" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "delete this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // assignment operator from a pointer - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (" << node->name () << - " *p)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "delete this->ptr_;" << be_nl; - *os << "this->ptr_ = p;" << be_nl; - *os << "return *this;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // assignment operator from _var - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (const " << fname << - " &p) // deep copy" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "if (this != &p)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "delete this->ptr_;" << be_nl; - *os << "this->ptr_ = new " << node->name () << " (*p.ptr_);\n"; - os->decr_indent (); - *os << "}" << be_nl; - *os << "return *this;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // two arrow operators - os->indent (); - *os << "ACE_INLINE const " << node->name () << " *" << be_nl; - *os << fname << "::operator-> (void) const" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << node->name () << " *" << be_nl; - *os << fname << "::operator-> (void)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // other extra methods - 3 cast operator () - os->indent (); - *os << "ACE_INLINE " << be_nl; - *os << fname << "::operator const " << node->name () << - " &() const // cast" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << be_nl; - *os << fname << "::operator " << node->name () << " &() // cast " << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << be_nl; - *os << fname << "::operator " << node->name () << " &() const// cast " << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // operator [] - os->indent (); - *os << "ACE_INLINE "; - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQELEM_RETTYPE_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "gen_var_impl - " - "Bad visitor\n"), -1); - } - - if (bt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "gen_var_impl - " - "[] ret type gen failed\n"), - -1); - } - delete visitor; - - *os << be_nl; - *os << fname << "::operator[] (CORBA::ULong index)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->ptr_->operator[] (index);\n"; - os->decr_indent (); - *os << "}\n\n"; - - // in, inout, out, and _retn - os->indent (); - *os << "ACE_INLINE const " << node->name () << " &" << be_nl; - *os << fname << "::in (void) const" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << node->name () << " &" << be_nl; - *os << fname << "::inout (void)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - *os << "// mapping for variable size " << be_nl; - *os << "ACE_INLINE " << node->name () << " *&" << be_nl; - *os << fname << "::out (void)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "delete this->ptr_;" << be_nl; - *os << "this->ptr_ = 0;" << be_nl; - *os << "return this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - *os << "ACE_INLINE " << node->name () << " *" << be_nl; - *os << fname << "::_retn (void)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << node->name () << " *tmp = this->ptr_;" << be_nl; - *os << "this->ptr_ = 0;" << be_nl; - *os << "return tmp;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // the additional ptr () member function - os->indent (); - *os << "ACE_INLINE " << node->name () << " *" << be_nl; - *os << fname << "::ptr (void) const" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - return 0; -} - -int -be_visitor_sequence_ci::gen_out_impl (be_sequence *node) -{ - TAO_OutStream *os; // output stream - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - be_type *bt; // base type - - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", node->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", node->local_name ()->get_string ()); - - os = this->ctx_->stream (); - - // retrieve base type - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "gen_out_impl - " - "Bad element type\n"), -1); - } - - // generate the out implementation in the inline file - - os->indent (); // start with whatever was our current indent level - - *os << "// *************************************************************" - << be_nl; - *os << "// Inline operations for class " << fname << be_nl; - *os << "// *************************************************************\n\n"; - - // constr from a pointer - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (" << node->name () << " *&p)" << be_nl; - *os << " : ptr_ (p)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "this->ptr_ = 0;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // constructor from _var & - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (" << node->name () << - "_var &p) // constructor from _var" << be_nl; - *os << " : ptr_ (p.out ())" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "delete this->ptr_;" << be_nl; - *os << "this->ptr_ = 0;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // copy constructor - os->indent (); - *os << "ACE_INLINE" << be_nl; - *os << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << be_nl; - *os << " : ptr_ (ACE_const_cast (" << fname - << "&,p).ptr_)" << be_nl; - *os << "{}\n\n"; - - // assignment operator from _out & - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (const " << fname << - " &p)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "this->ptr_ = ACE_const_cast (" << fname - << "&,p).ptr_;" << be_nl; - *os << "return *this;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // assignment from _var is not allowed by a private declaration - - // assignment operator from pointer - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (" << node->name () << - " *p)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "this->ptr_ = p;" << be_nl; - *os << "return *this;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // other extra methods - cast operator () - os->indent (); - *os << "ACE_INLINE " << be_nl; - *os << fname << "::operator " << node->name () << - " *&() // cast" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // ptr function - os->indent (); - *os << "ACE_INLINE " << node->name () << " *&" << be_nl; - *os << fname << "::ptr (void) // ptr" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // operator -> - os->indent (); - *os << "ACE_INLINE " << node->name () << " *" << be_nl; - *os << fname << "::operator-> (void)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->ptr_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // sequence has an additional method - os->indent (); - *os << "ACE_INLINE "; - - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQELEM_RETTYPE_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "gen_out_impl - " - "Bad visitor\n"), -1); - } - - if (bt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ci::" - "gen_out_impl - " - "[] ret type gen failed\n"), - -1); - } - delete visitor; - - *os << be_nl; - *os << fname << "::operator[] (CORBA::ULong index)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->ptr_->operator[] (index);\n"; - os->decr_indent (); - *os << "}\n\n"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp deleted file mode 100644 index d74ffea45d1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp +++ /dev/null @@ -1,385 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// sequence_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Sequences in the client stubs file -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_sequence.h" - -ACE_RCSID(be_visitor_sequence, sequence_cs, "$Id$") - - -// ************************************************************ -// Root visitor for client stub class -// ************************************************************ - -be_visitor_sequence_cs::be_visitor_sequence_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_sequence_cs::~be_visitor_sequence_cs (void) -{ -} - -// XXXASG - this method is same as that in the _ch visitor. So we need some -// abstraction for this - -int -be_visitor_sequence_cs::gen_base_sequence_class (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_type *bt; - - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "gen_base_sequence_class - " - "Bad element type\n"), -1); - } - - os->gen_ifdef_AHETI(); - - // this is the instantiation branch - *os << node->instance_name (); - - os->gen_else_AHETI(); - - // generate the appropriate sequence type - switch (node->managed_type ()) - { - case be_sequence::MNG_OBJREF: - if (node->unbounded ()) - *os << "TAO_Unbounded_Object_Sequence<"; - else - *os << "TAO_Bounded_Object_Sequence<"; - break; - case be_sequence::MNG_PSEUDO: - if (node->unbounded ()) - *os << "TAO_Unbounded_Pseudo_Sequence<"; - else - *os << "TAO_Bounded_Pseudo_Sequence<"; - break; - case be_sequence::MNG_STRING: - if (node->unbounded ()) - *os << "TAO_Unbounded_String_Sequence"; - else - *os << "TAO_Bounded_String_Sequence"; - break; - default: // not a managed type - if (node->unbounded ()) - *os << "TAO_Unbounded_Sequence<"; - else - *os << "TAO_Bounded_Sequence<"; - break; - } - - be_visitor_context *ctx; - ACE_NEW_RETURN (ctx, - be_visitor_context (*this->ctx_), - 0); - be_visitor_sequence_base_template_args visitor (ctx,node); - ctx->state (TAO_CodeGen::TAO_SEQUENCE_BASE_CS); - //be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (bt->accept (&visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "base type visit failed\n"), - -1); - } - //delete visitor; - - // find out if the sequence is of a managed type and if it is bounded or not - if (node->managed_type () == be_sequence::MNG_STRING) - { - if (!node->unbounded ()) - { - *os << "<" << node->max_size () << ">"; - } - } - else - { - if (node->unbounded ()) - { - *os << ">"; - } - else - { - *os << ", " << node->max_size () << ">"; - } - } - - os->gen_endif_AHETI(); - - return 0; -} - -int be_visitor_sequence_cs::visit_sequence (be_sequence *node) -{ - // generate the constructors - be_type *bt; // type node - TAO_OutStream *os = this->ctx_->stream (); - - if (node->cli_stub_gen () || node->imported ()) - return 0; - - // instantiation - - if (this->instantiate_sequence (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_ch::" - "visit_sequence - " - "codegen. for the primitive type sequence\n"), -1); - } - - // end of instantiation - - // generate the ifdefined macro for the sequence type - os->gen_ifdef_macro (node->flatname ()); - - os->indent (); // start with the current indentation level - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "Bad element type\n"), -1); - } - - *os << "// *************************************************************" - << be_nl - << "// " << node->name () << be_nl - << "// *************************************************************" - << be_nl << be_nl; - - // default constructor - *os << node->name () << "::" << node->local_name () << " (void)" << be_nl - << "{}" << be_nl; - - // for unbounded sequences, we have a different set of constructors - if (node->unbounded ()) - { - *os << node->name () << "::" << node->local_name () - << " (CORBA::ULong max) // uses max size" << be_nl - << " : "; - - // pass it to the base constructor - if (this->gen_base_sequence_class (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "codegen for base sequence class\n"), -1); - } - - - *os << " (max)" << be_nl - << "{}" << be_nl; - } - - // constructor with the buffer - *os << node->name () << "::" << node->local_name () << " ("; - if (node->unbounded ()) - { - *os << "CORBA::ULong max, "; // unbounded seq takes this extra parameter - } - *os << "CORBA::ULong length, "; - // generate the base type for the buffer - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_SEQUENCE_BUFFER_TYPE_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "Bad visitor\n"), -1); - } - - if (bt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "base type visit failed\n"), - -1); - } - delete visitor; - *os << " *buffer, CORBA::Boolean release)" << be_nl - << " : "; - // pass it to the base constructor - if (this->gen_base_sequence_class (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "codegen for base sequence class\n"), -1); - } - *os << " ("; - if (node->unbounded ()) - { - *os << "max, "; - } - *os << "length, buffer, release)" << be_nl - << "{}" << be_nl; - - // copy constructor - *os << node->name () << "::" << node->local_name () - << " (const " << node->local_name () - << " &seq) // copy ctor" << be_nl - << " : "; - // pass it to the base constructor - if (this->gen_base_sequence_class (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "codegen for base sequence class\n"), -1); - } - *os << " (seq)" << be_nl - << "{}" << be_nl; - - // destructor - *os << node->name () << "::~" << node->local_name () - << " (void) // dtor" << be_nl - << "{}\n\n"; - -#if 0 - if (!this->ctx_->tdef ()) - { - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_TYPECODE_DEFN); - ctx.sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "visit_sequence - " - "TypeCode definition failed\n" - ), -1); - } - } -#endif - - os->gen_endif (); - node->cli_stub_gen (1); - - return 0; -} - -int -be_visitor_sequence_cs::instantiate_sequence (be_sequence *node) -{ - be_type *bt; - - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_sequence_cs::" - "gen_instantiate_template_name - " - "Bad element type\n"), -1); - } - - // generate the appropriate sequence type - switch (node->managed_type ()) - { - case be_sequence::MNG_PSEUDO: - case be_sequence::MNG_OBJREF: - if (node->unbounded ()) - this->gen_unbounded_obj_sequence (node); - else - this->gen_bounded_obj_sequence (node); - break; - case be_sequence::MNG_STRING: // sequence of strings - if (!node->unbounded ()) - this->gen_bounded_str_sequence (node); - // else - // inheriting from the right class is enough - break; - default: // not a managed type - if (node->unbounded ()) - { -#if 1 - // TAO provides extensions for octet sequences, first find out - // if the base type is an octet (or an alias for octet) - be_predefined_type *predef = 0; - if (bt->base_node_type () == AST_Type::NT_pre_defined) - { - be_typedef* alias = - be_typedef::narrow_from_decl (bt); - - if (alias == 0) - { - predef = - be_predefined_type::narrow_from_decl (bt); - } - else - { - predef = be_predefined_type::narrow_from_decl - (alias->primitive_base_type ()); - } - } - if (predef != 0) - { - if (predef->pt() != AST_PredefinedType::PT_octet) - this->gen_unbounded_sequence (node); - } - else - this->gen_unbounded_sequence (node); -#else - // @@ This needs to be fixed. (Michael) - be_predefined_type * bpt = - be_predefined_type::narrow_from_decl (node->base_type()); - if (bpt) - { - if (bpt->pt() != AST_PredefinedType::PT_octet) - this->gen_unbounded_sequence (node); - } - else - this->gen_unbounded_sequence (node); -#endif - } - else - this->gen_bounded_sequence (node); - break; - } - - return 0; -} - diff --git a/TAO/TAO_IDL/be/be_visitor_structure.cpp b/TAO/TAO_IDL/be/be_visitor_structure.cpp deleted file mode 100644 index 53305f2da63..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_structure.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Structure -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_structure.h" - -// include all the individual files -#include "be_visitor_structure/structure.cpp" -#include "be_visitor_structure/structure_ch.cpp" -#include "be_visitor_structure/structure_ci.cpp" -#include "be_visitor_structure/structure_cs.cpp" -#include "be_visitor_structure/any_op_ch.cpp" -#include "be_visitor_structure/any_op_cs.cpp" -#include "be_visitor_structure/cdr_op_ch.cpp" -#include "be_visitor_structure/cdr_op_ci.cpp" -#include "be_visitor_structure/cdr_op_cs.cpp" - -ACE_RCSID(be, be_visitor_structure, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp deleted file mode 100644 index 34b3f3210d3..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp +++ /dev/null @@ -1,102 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operators for structures -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_structure.h" - -ACE_RCSID(be_visitor_structure, any_op_ch, "$Id$") - - -// *************************************************************************** -// Structure visitor for generating Any operator declarations in the client header -// *************************************************************************** - -be_visitor_structure_any_op_ch::be_visitor_structure_any_op_ch -(be_visitor_context *ctx) - : be_visitor_structure (ctx) -{ -} - -be_visitor_structure_any_op_ch::~be_visitor_structure_any_op_ch (void) -{ -} - -int -be_visitor_structure_any_op_ch::visit_structure (be_structure *node) -{ - if (node->cli_hdr_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - os->indent (); - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, const " << node->name () - << " &); // copying version" << be_nl; - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, " << node->name () - << "*); // noncopying version" << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>>= (const CORBA::Any &, " - << node->name () << " *&);\n"; - - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure::visit_structure - " - "codegen for scope failed\n"), -1); - } - - node->cli_hdr_any_op_gen (1); - return 0; -} - -int -be_visitor_structure_any_op_ch::visit_field (be_field *node) -{ - be_type *bt; // field's type - - // first generate the type information - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_any_op_ch::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_any_op_ch::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp deleted file mode 100644 index 8bc890ea686..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp +++ /dev/null @@ -1,171 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operators for structures -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_structure.h" - -ACE_RCSID(be_visitor_structure, any_op_cs, "$Id$") - - -// *************************************************************************** -// Structure visitor for generating Any operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_structure_any_op_cs::be_visitor_structure_any_op_cs -(be_visitor_context *ctx) - : be_visitor_structure (ctx) -{ -} - -be_visitor_structure_any_op_cs::~be_visitor_structure_any_op_cs (void) -{ -} - -int -be_visitor_structure_any_op_cs::visit_structure (be_structure *node) -{ - if (node->cli_stub_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - // Any <<= and >>= operators - os->indent (); - *os << "void operator<<= (CORBA::Any &_tao_any, const " - << node->name () << " &_tao_elem) // copying" << be_nl - << "{" << be_idt_nl - << node->name () << " *_any_val;" << be_nl - << "ACE_NEW (_any_val, " << node->name () << " (_tao_elem));" << be_nl - << "if (!_any_val) return;" << be_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "_tao_any.replace (" << node->tc_name () - << ", _any_val, 1, ACE_TRY_ENV);" << " // copy the value" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "delete _any_val;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n" << be_nl; - - *os << "void operator<<= (CORBA::Any &_tao_any, " - << node->name () << " *_tao_elem) // non copying" << be_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "_tao_any.replace (" << node->tc_name () << ", " - << "_tao_elem, 1, ACE_TRY_ENV); // consume it" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY {}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n" << be_nl; - - *os << "CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, " - << node->name () << " *&_tao_elem)" << be_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "CORBA::TypeCode_var type = _tao_any.type ();" << be_nl - << "if (!type->equal (" << node->tc_name () - << ", ACE_TRY_ENV)) return 0; // not equal" << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "if (_tao_any.any_owns_data ())" << be_nl - << "{" << be_idt_nl - << "_tao_elem = (" << node->name () << " *)_tao_any.value ();" - << be_nl - << "return 1;" << be_nl - << "}" << be_uidt_nl - << "else" << be_nl // else any does not own the data - << "{" << be_idt_nl - << "ACE_NEW_RETURN (_tao_elem, " << node->name () << ", 0);" - << be_nl - << "TAO_InputCDR stream (_tao_any._tao_get_cdr ());" - << be_nl - << "if (stream.decode (" << node->tc_name () - << ", _tao_elem, 0, ACE_TRY_ENV)" << be_nl - << " == CORBA::TypeCode::TRAVERSE_CONTINUE)" << be_nl - << "{" << be_idt_nl - << "((CORBA::Any *)&_tao_any)->replace (" - << node->tc_name () << ", _tao_elem, 1, ACE_TRY_ENV);" << be_nl - << "ACE_TRY_CHECK;" << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl - << "{" << be_idt_nl - << "delete _tao_elem;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "delete _tao_elem;" << be_nl - << "return 0; " << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_nl - << "return 0;" << be_uidt_nl - << "}\n\n"; - - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure::visit_structure - " - "codegen for scope failed\n"), -1); - } - - node->cli_stub_any_op_gen (1); - return 0; -} - -int -be_visitor_structure_any_op_cs::visit_field (be_field *node) -{ - be_type *bt; // field's type - - // first generate the type information - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_any_op_cs::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_any_op_cs::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp deleted file mode 100644 index a5313415f80..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp +++ /dev/null @@ -1,76 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for structures. This uses -// compiled marshaling. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_structure.h" - -ACE_RCSID(be_visitor_structure, cdr_op_ch, "$Id$") - -// *************************************************************************** -// Structure visitor for generating CDR operator declarations in the client header -// *************************************************************************** - -be_visitor_structure_cdr_op_ch::be_visitor_structure_cdr_op_ch -(be_visitor_context *ctx) - : be_visitor_structure (ctx) -{ -} - -be_visitor_structure_cdr_op_ch::~be_visitor_structure_cdr_op_ch (void) -{ -} - -int -be_visitor_structure_cdr_op_ch::visit_structure (be_structure *node) -{ - if (node->cli_hdr_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator declarations - os->indent (); - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator<< (TAO_OutputCDR &, const " << node->name () - << " &);" << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>> (TAO_InputCDR &, " - << node->name () << " &);\n"; - - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_cdr_op_ch::" - "visit_structure - " - "codegen for scope failed\n"), -1); - } - - - node->cli_hdr_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp deleted file mode 100644 index b3fc996b4cd..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp +++ /dev/null @@ -1,151 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for structures -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_structure.h" -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_structure, cdr_op_ci, "$Id$") - -// *************************************************************************** -// Structure visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_structure_cdr_op_ci::be_visitor_structure_cdr_op_ci -(be_visitor_context *ctx) - : be_visitor_structure (ctx) -{ -} - -be_visitor_structure_cdr_op_ci::~be_visitor_structure_cdr_op_ci (void) -{ -} - -int -be_visitor_structure_cdr_op_ci::visit_structure (be_structure *node) -{ - // already generated and/or we are imported. Don't do anything. - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // First generate code for our children. The reason we do this first is - // because the inlined code for our children must be available before we use - // it in our parent - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_cdr_op_ci" - "::visit_structure - " - "codegen for scope failed\n"), -1); - } - - // set the sub state as generating code for the output operator - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_OUTPUT); - *os << "ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, " - << "const " << node->name () << " &_tao_aggregate)" << be_nl - << "{" << be_idt_nl; - - { - be_visitor_context* new_ctx = - new be_visitor_context (*this->ctx_); - be_visitor_cdr_op_field_decl field_decl (new_ctx); - field_decl.visit_scope (node); - } - *os << "if (" << be_idt_nl; - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_cdr_op_ci::" - "visit_structure - " - "codegen for scope failed\n"), -1); - } - *os << be_uidt_nl << ")" - << be_idt_nl - << "return 1;" << be_uidt_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt_nl << be_uidt_nl - << "}\n\n"; - - // set the substate as generating code for the input operator - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_INPUT); - *os << "ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, " - << node->name () << " &_tao_aggregate)" << be_nl - << "{" << be_idt_nl; - - { - be_visitor_context* new_ctx = - new be_visitor_context (*this->ctx_); - be_visitor_cdr_op_field_decl field_decl (new_ctx); - field_decl.visit_scope (node); - } - *os << "if (" << be_idt_nl; - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_cdr_op_ci" - "::visit_structure - " - "codegen for scope failed\n"), -1); - } - *os << be_uidt_nl << ")" - << be_idt_nl - << "return 1;" << be_uidt_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt_nl << be_uidt_nl - << "}\n\n"; - - node->cli_inline_cdr_op_gen (1); - return 0; -} - -int -be_visitor_structure_cdr_op_ci::post_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (!this->last_node (bd) - && bd->node_type () != AST_Decl::NT_enum_val) - { - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_OUTPUT: - case TAO_CodeGen::TAO_CDR_INPUT: - *os << " &&" << be_nl; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - default: - break; - }; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp deleted file mode 100644 index 6c7c0174899..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_cs.cpp +++ /dev/null @@ -1,59 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for structures -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_structure.h" -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_structure, cdr_op_cs, "$Id$") - -be_visitor_structure_cdr_op_cs::be_visitor_structure_cdr_op_cs (be_visitor_context *ctx) - : be_visitor_structure (ctx) -{ -} - -be_visitor_structure_cdr_op_cs::~be_visitor_structure_cdr_op_cs (void) -{ -} - -int -be_visitor_structure_cdr_op_cs::visit_structure (be_structure *node) -{ - if (node->cli_stub_cdr_op_gen () || node->imported ()) - return 0; - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_cdr_op_cs::" - "visit_structure - " - "codegen for scope failed\n"), -1); - } - - - node->cli_stub_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_structure/structure.cpp b/TAO/TAO_IDL/be/be_visitor_structure/structure.cpp deleted file mode 100644 index 518345c6d28..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure/structure.cpp +++ /dev/null @@ -1,110 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// structure.cpp -// -// = DESCRIPTION -// Visitor generating code for Structures. This is a generic visitor. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_structure.h" - -ACE_RCSID(be_visitor_structure, structure, "$Id$") - - -// generic struct visitor -be_visitor_structure::be_visitor_structure (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_structure::~be_visitor_structure (void) -{ -} - -// visit the Structure node and its scope -int -be_visitor_structure::visit_structure (be_structure *) -{ - return -1; // must be overriden -} - -int -be_visitor_structure::visit_field (be_field *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_STRUCT_CH: - ctx.state (TAO_CodeGen::TAO_FIELD_CH); - break; - case TAO_CodeGen::TAO_STRUCT_CI: - ctx.state (TAO_CodeGen::TAO_FIELD_CI); - break; - case TAO_CodeGen::TAO_STRUCT_CS: - ctx.state (TAO_CodeGen::TAO_FIELD_CS); - break; - case TAO_CodeGen::TAO_STRUCT_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_FIELD_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_STRUCT_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_FIELD_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_STRUCT_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_FIELD_CDR_OP_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure::" - "visit_field - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure::" - "visit_field - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure::" - "visit_field - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_structure/structure_ch.cpp b/TAO/TAO_IDL/be/be_visitor_structure/structure_ch.cpp deleted file mode 100644 index f9ce9cb68e2..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure/structure_ch.cpp +++ /dev/null @@ -1,117 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// structure_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Structure in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_structure.h" - -ACE_RCSID(be_visitor_structure, structure_ch, "$Id$") - - -// ****************************************************** -// for client header -// ****************************************************** - -be_visitor_structure_ch::be_visitor_structure_ch (be_visitor_context *ctx) - : be_visitor_structure (ctx) -{ -} - -be_visitor_structure_ch::~be_visitor_structure_ch (void) -{ -} - -// visit the Structure node and its scope -int be_visitor_structure_ch::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - - if (!node->cli_hdr_gen () && !node->imported ()) // not already generated and - // not imported - { - os = this->ctx_->stream (); - - os->indent (); // start from whatever indentation level we were at - *os << "struct " << idl_global->export_macro () << " " - << node->local_name () << be_nl - << "{" << be_idt << "\n"; - - // generate code for field members - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_ch::" - "visit_structure - " - "codegen for scope failed\n"), -1); - } - - os->decr_indent (); - *os << "};\n\n"; - - // generate var defn - if (node->gen_var_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_ch::" - "visit_structure - " - "codegen for _var failed\n"), -1); - } - - // a class is generated for an out defn only for a variable length struct - if (node->size_type () == be_decl::VARIABLE) - { - if (node->gen_out_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_ch::" - "visit_structure - " - "codegen for _out failed\n"), -1); - } - } - else - { - os->indent (); - *os << "typedef " << node->local_name () << " &" << node->local_name - () << "_out;\n\n"; - } - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_TYPECODE_DECL); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_ch::" - "visit_structure - " - "TypeCode declaration failed\n" - ), -1); - } - - - node->cli_hdr_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_structure/structure_ci.cpp b/TAO/TAO_IDL/be/be_visitor_structure/structure_ci.cpp deleted file mode 100644 index 8271008eb2b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure/structure_ci.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// structure_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Structure in the inline file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_structure.h" - -ACE_RCSID(be_visitor_structure, structure_ci, "$Id$") - - -// ****************************************************** -// for client inline -// ****************************************************** - -be_visitor_structure_ci::be_visitor_structure_ci (be_visitor_context *ctx) - : be_visitor_structure (ctx) -{ -} - -be_visitor_structure_ci::~be_visitor_structure_ci (void) -{ -} - -// visit the Structure node and its scope -int be_visitor_structure_ci::visit_structure (be_structure *node) -{ - if (!node->cli_inline_gen () && !node->imported ()) - { - if (node->gen_var_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_ci::" - "visit_structure - " - "codegen for _var failed\n"), -1); - } - if (node->size_type () == be_decl::VARIABLE && - node->gen_out_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_ci::" - "visit_structure - " - "codegen for _out failed\n"), -1); - } - // all we have to do is to visit the scope - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_ci::" - "visit_structure - " - "codegen for scope failed\n"), -1); - } - node->cli_inline_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_structure/structure_cs.cpp b/TAO/TAO_IDL/be/be_visitor_structure/structure_cs.cpp deleted file mode 100644 index 830b5a7a0a3..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure/structure_cs.cpp +++ /dev/null @@ -1,78 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// structure_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Structures in the client stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_structure.h" - -ACE_RCSID(be_visitor_structure, structure_cs, "$Id$") - - -// *************************************************************************** -// for client stubs -// *************************************************************************** -be_visitor_structure_cs::be_visitor_structure_cs (be_visitor_context *ctx) - : be_visitor_structure (ctx) -{ -} - -be_visitor_structure_cs::~be_visitor_structure_cs (void) -{ -} - -// visit the Structure_Cs node and its scope -int be_visitor_structure_cs::visit_structure (be_structure *node) -{ - if (!node->cli_stub_gen () && !node->imported ()) - { - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_TYPECODE_DEFN); - ctx.sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_cs::" - "visit_structure - " - "TypeCode definition failed\n" - ), -1); - } - - - // do any code generation required for the scope members - // all we have to do is to visit the scope - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_cs::" - "visit_structure - " - "codegen for scope failed\n"), -1); - } - node->cli_stub_gen (I_TRUE); - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_typecode.cpp b/TAO/TAO_IDL/be/be_visitor_typecode.cpp deleted file mode 100644 index 5012a6f795b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typecode.cpp +++ /dev/null @@ -1,41 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_typecode.cpp -// -// = DESCRIPTION -// Visitors for generation of code for TypeCodes for various types -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typecode.h" - -// include all the individual files -#include "be_visitor_typecode/typecode_decl.cpp" -#include "be_visitor_typecode/typecode_defn.cpp" - -ACE_RCSID(be, be_visitor_typecode, "$Id$") - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Node; -template class ACE_Unbounded_Queue; -template class ACE_Unbounded_Queue_Iterator; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Node -#pragma instantiate ACE_Unbounded_Queue -#pragma instantiate ACE_Unbounded_Queue_Iterator -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp b/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp deleted file mode 100644 index 90db4fab104..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typecode/typecode_decl.cpp +++ /dev/null @@ -1,128 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typecode_decl.cpp -// -// = DESCRIPTION -// Visitor generating code for TypeCode declaration for a type -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typecode.h" - -ACE_RCSID(be_visitor_typecode, typecode_decl, "$Id$") - - -// ****************************************************** -// TypeCode declarations -// ****************************************************** - -be_visitor_typecode_decl::be_visitor_typecode_decl (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_typecode_decl::~be_visitor_typecode_decl (void) -{ -} - -int -be_visitor_typecode_decl::visit_type (be_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // Generate the typecode decl. - const char *prefix = 0; - const char *postfix = 0; - - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DECL) - { - prefix = "AMI_"; - postfix = "_Handler"; - } - - if (node->is_nested ()) - { - // we have a scoped name - os->indent (); - // is our enclosing scope a module? We need this check because for - // platforms that support namespaces, the typecode must be declared - // extern - if (node->defined_in ()->scope_node_type () == AST_Decl::NT_module) - *os << "TAO_NAMESPACE_STORAGE_CLASS "; - else - *os << "static "; - *os << "CORBA::TypeCode_ptr " - << node->tc_name (prefix, postfix)->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - os->indent (); - *os << "extern " << idl_global->export_macro () << " CORBA::TypeCode_ptr " - << " " << node->tc_name (prefix, postfix)->last_component () << ";\n\n"; - } - return 0; -} - -int -be_visitor_typecode_decl::visit_array (be_array *node) -{ - return this->visit_type (node); -} - -int -be_visitor_typecode_decl::visit_enum (be_enum *node) -{ - return this->visit_type (node); -} - -int -be_visitor_typecode_decl::visit_exception (be_exception *node) -{ - return this->visit_type (node); -} - -int -be_visitor_typecode_decl::visit_interface (be_interface *node) -{ - return this->visit_type (node); -} - -int -be_visitor_typecode_decl::visit_sequence (be_sequence *node) -{ - return this->visit_type (node); -} - -int -be_visitor_typecode_decl::visit_structure (be_structure *node) -{ - return this->visit_type (node); -} - -int -be_visitor_typecode_decl::visit_typedef (be_typedef *node) -{ - return this->visit_type (node); -} - -int -be_visitor_typecode_decl::visit_union (be_union *node) -{ - return this->visit_type (node); -} diff --git a/TAO/TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp b/TAO/TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp deleted file mode 100644 index 79fd133600f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp +++ /dev/null @@ -1,3161 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typecode_defn.cpp -// -// = DESCRIPTION -// Visitor generating code for TypeCode definitions for types. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typecode.h" - -ACE_RCSID(be_visitor_typecode, typecode_defn, "$Id$") - - -// ****************************************************** -// TypeCode Definitions -// ****************************************************** - -be_visitor_typecode_defn::be_visitor_typecode_defn (be_visitor_context *ctx) - : be_visitor_scope (ctx), - computed_tc_size_ (0), - computed_encap_len_ (0), - computed_scope_encap_len_ (0), - tc_offset_ (0), - index_ (-1) - -{ -} - -be_visitor_typecode_defn::~be_visitor_typecode_defn (void) -{ - this->queue_reset (this->tc_queue_); - this->queue_reset (this->compute_queue_); -} - -// the following needs to be done to deal with the most bizarre behavior of -// MSVC++ compiler -int -be_visitor_typecode_defn::gen_nested_namespace_begin (be_module *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - UTL_IdListActiveIterator *i; - - i = new UTL_IdListActiveIterator (node->name ()); - while (!(i->is_done ())) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - { - // leave the outermost root scope - *os << "TAO_NAMESPACE_BEGIN (" << i->item ()->get_string () - << ")" << be_nl; - } - i->next (); - } - delete i; - return 0; -} - -// the following needs to be done to deal with the most bizarre behavior of -// MSVC++ compiler -int -be_visitor_typecode_defn::gen_nested_namespace_end (be_module *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - UTL_IdListActiveIterator *i; - - i = new UTL_IdListActiveIterator (node->name ()); - while (!(i->is_done ())) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - { - // leave the outermost root scope - *os << "TAO_NAMESPACE_END" << be_nl; - } - i->next (); - } - delete i; - return 0; -} - -// the visit methods will be called for the top-level node whose typecode is -// being generated - -int -be_visitor_typecode_defn::visit_type (be_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // reset the queue - this->queue_reset (this->tc_queue_); - this->tc_offset_ = 0; - - // check if optimized typecodes are desired OR if the node is involved in - // some form of recursion - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - os->indent (); // start from current indentation level - - // Generate the typecode information here - *os << "static const CORBA::Long _oc_"; - - // Flat name generation. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << node->compute_flatname ("AMI_", "_Handler"); - else - *os << node->flatname (); - - *os << "[] =" << be_nl; - *os << "{" << be_idt << "\n"; - - // Add the sizeof the enum tk_* and the encap length that we do not put into - // this array but which will exist in the CDR buffer. - - this->tc_offset_ = 4 + 4; - - // Note that we just need the parameters here and hence we generate the - // encapsulation for the parameters. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - this->ctx_->sub_state (TAO_CodeGen::TAO_AMI_HANDLER_TC_DEFN_ENCAPSULATION); - else - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "codegen for typecode encapsulation failed\n"), - -1); - } - *os << be_uidt << "};" << be_nl; - - // Type code definition. - *os << "static CORBA::TypeCode _tc_TAO_tc_"; - - // Flat name generation. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << node->compute_flatname ("AMI_", "_Handler"); - else - *os << node->flatname (); - - *os << " ("; - - switch (node->node_type ()) - { - case AST_Decl::NT_array: - *os << "CORBA::tk_array"; - break; - case AST_Decl::NT_enum: - *os << "CORBA::tk_enum"; - break; - case AST_Decl::NT_except: - *os << "CORBA::tk_except"; - break; - case AST_Decl::NT_interface: - *os << "CORBA::tk_objref"; - break; - case AST_Decl::NT_sequence: - *os << "CORBA::tk_sequence"; - break; - case AST_Decl::NT_struct: - *os << "CORBA::tk_struct"; - break; - case AST_Decl::NT_typedef: - *os << "CORBA::tk_alias"; - break; - case AST_Decl::NT_union: - *os << "CORBA::tk_union"; - break; - default: - return -1; // error - } - - *os << ", sizeof (_oc_"; - - // Flat name generation. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << node->compute_flatname ("AMI_", "_Handler"); - else - *os << node->flatname (); - - *os << "), (char *) &_oc_"; - - // Flat name generation. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << node->compute_flatname ("AMI_", "_Handler"); - else - *os << node->flatname (); - - // Name generation. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << ", 0, sizeof (" << node->compute_name ("AMI_", "_Handler") << "));" << be_nl; - else - *os << ", 0, sizeof (" << node->name () << "));" << be_nl; - - // Is our enclosing scope a module? We need this check because for - // platforms that support namespaces, the typecode must be declared - // extern. - if (node->is_nested () && - node->defined_in ()->scope_node_type () == AST_Decl::NT_module) - { - *os << "TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)" << be_nl; - be_module *module = be_module::narrow_from_scope (node->defined_in ()); - if (!module || (this->gen_nested_namespace_begin (module) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_typecode_defn::visit_type - " - "Error parsing nested name\n"), - -1); - } - *os << "TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_"; - - // Local name generation. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << "AMI_" << node->local_name () << "_Handler"; - else - *os << node->local_name (); - - *os << ", &_tc_TAO_tc_"; - - // Flat name generation. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << node->compute_flatname ("AMI_", "_Handler"); - else - *os << node->flatname (); - - *os << ")" << be_nl; - - if (this->gen_nested_namespace_end (module) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_typecode_defn::visit_type - " - "Error parsing nested name\n"), - -1); - } - } - else - { - // outermost scope. - *os << "CORBA::TypeCode_ptr "; - - // Tc name generation. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << node->tc_name ("AMI_", "_Handler"); - else - *os << node->tc_name (); - - *os << " = &_tc_TAO_tc_"; - - // Flat name generation. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << node->compute_flatname ("AMI_", "_Handler"); - else - *os << node->flatname (); - - *os << ";\n\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::visit_array (be_array *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_enum (be_enum *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - return this->visit_scope (node); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_enum_val (be_enum_val *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_exception (be_exception *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - return this->visit_scope (node); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_field (be_field *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_interface (be_interface *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_AMI_HANDLER_TC_DEFN_TYPECODE: - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - - case TAO_CodeGen::TAO_AMI_HANDLER_TC_DEFN_ENCAPSULATION: - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_interface_fwd (be_interface_fwd *) -{ - // nothing to do - return 0; -} - -int -be_visitor_typecode_defn::visit_predefined_type (be_predefined_type *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - // top level typecodes are defined in the CORBA library. If we show up - // here, then it is an error - break; - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_sequence (be_sequence *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_string (be_string *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - // top level typecode for string is not permitted. It has to be a - // typedefed string - break; - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_structure (be_structure *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - return this->visit_scope (node); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_typedef (be_typedef *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_union (be_union *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE: - return this->visit_type (node); - case TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED: - return this->gen_typecode (node); - - case TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION: - return this->gen_encapsulation (node); - - case TAO_CodeGen::TAO_TC_DEFN_TC_SIZE: - this->computed_tc_size_ = this->compute_tc_size (node); - return ((this->computed_tc_size_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - return this->visit_scope (node); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -int -be_visitor_typecode_defn::visit_union_branch (be_union_branch *node) -{ - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_TC_DEFN_SCOPE: - return this->gen_encapsulation (node); - case TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN: - this->computed_encap_len_ = this->compute_encap_length (node); - return ((this->computed_encap_len_ > 0) ? 0 : -1); - default: - // error - break; - } - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("visit - bad sub state ") - ASYS_TEXT ("in visitor context\n")), - -1); -} - -// methods that actually produce the typecode and the encapsulations - - -int -be_visitor_typecode_defn::gen_typecode (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // we do not do typecode optimization for anonymous arrays - - *os << "CORBA::tk_array, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (array) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn::") - ASYS_TEXT ("gen_typecode - ") - ASYS_TEXT ("gen_encapsulation failed for array\n")), - -1); - } - - *os << be_uidt << "\n"; - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *bt; // base type - unsigned long i; - - os->indent (); // start from the current indentation level - - // retrieve the base type - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::gen_encapsulation - " - "bad base type\n"), - -1); - } - - // compute the typecode size - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_encapsulation (array) - ") - ASYS_TEXT ("Failed to get typecode size\n")), - -1); - } - - for (i = 0; i < (node->n_dims () - 1); i++) - { - unsigned long rem_encap_len; - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - *os << "CORBA::tk_array, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - rem_encap_len - = (node->n_dims () - (i + 1)) * (4 + 4) - + (node->n_dims () - (i + 2)) * (4 + 4) - + this->computed_tc_size_; - *os << rem_encap_len << ", // encapsulation length" << be_idt_nl; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - - // now generate the typecode of the base type - *os << "TAO_ENCAP_BYTE_ORDER, // byte order\n"; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::gen_encapsulation - " - "base type typecode gen failed\n"), - -1); - } - - os->indent (); - // now reduce the indentation appropriately - for (i = (node->n_dims () - 1); i > 0; i--) - { - *os << node->dims ()[i] << "," << be_uidt_nl; - // size of the dimension which is a 4 byte quantity - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - *os << node->dims ()[0] << ",\n"; - // size of the dimension which is a 4 byte quantity - this->tc_offset_ += sizeof (ACE_CDR::ULong); - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_enum, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (enum) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (enum) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - - *os << be_uidt << "\n"; - - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - // generate the member count - os->indent (); - *os << node->member_count () << ", // member count\n"; - // size of the member length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // hand over to the scope to generate the typecode for elements - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (enum) - ") - ASYS_TEXT ("cannot generate typecode for members\n")), - -1); - } - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_enum_val *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // generate name - this->gen_name (node); - - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_exception *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_except, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (exception) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (exception) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - - *os << be_uidt << "\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_exception *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - // generate the member count - os->indent (); - *os << node->member_count () << ", // member count\n"; - // size of the member count - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // hand over to the scope to generate the typecode for elements - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (exception) - ") - ASYS_TEXT ("cannot generate typecode for members\n")), - -1); - } - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_field *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *bt; // our type node - - os->indent (); // start from whatever indentation level we were at - - // generate name - this->gen_name (node); - - // hand over code generation to our type node - bt = be_type::narrow_from_decl (node->field_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (field) - ") - ASYS_TEXT ("failed to generate typecode\n")), - -1); - } - // revert the state to what it was before because we may be dealing with - // subsequent fields for which we have to be in the "gen scope" - // substate - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_objref, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (interface) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (interface) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - *os << be_uidt << "\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID. - this->gen_repoID (node); - - // generate name. - os->indent (); - this->gen_name (node); - - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_interface_fwd *) -{ - // nothing to do here - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_interface_fwd *) -{ - // nothing to be done - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from the current indentation level - - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - switch (node->pt ()) - { - case AST_PredefinedType::PT_void: - *os << "CORBA::tk_void,\n\n"; - break; - case AST_PredefinedType::PT_short: - *os << "CORBA::tk_short,\n\n"; - break; - case AST_PredefinedType::PT_ushort: - *os << "CORBA::tk_ushort,\n\n"; - break; - case AST_PredefinedType::PT_long: - *os << "CORBA::tk_long,\n\n"; - break; - case AST_PredefinedType::PT_ulong: - *os << "CORBA::tk_ulong,\n\n"; - break; - case AST_PredefinedType::PT_longlong: - *os << "CORBA::tk_longlong,\n\n"; - break; - case AST_PredefinedType::PT_ulonglong: - *os << "CORBA::tk_ulonglong,\n\n"; - break; - case AST_PredefinedType::PT_float: - *os << "CORBA::tk_float,\n\n"; - break; - case AST_PredefinedType::PT_double: - *os << "CORBA::tk_double,\n\n"; - break; - case AST_PredefinedType::PT_longdouble: - *os << "CORBA::tk_longdouble,\n\n"; - break; - case AST_PredefinedType::PT_boolean: - *os << "CORBA::tk_boolean,\n\n"; - break; - case AST_PredefinedType::PT_char: - *os << "CORBA::tk_char,\n\n"; - break; - case AST_PredefinedType::PT_octet: - *os << "CORBA::tk_octet,\n\n"; - break; - case AST_PredefinedType::PT_any: - *os << "CORBA::tk_any,\n\n"; - break; - case AST_PredefinedType::PT_wchar: - *os << "CORBA::tk_wchar,\n\n"; - break; - case AST_PredefinedType::PT_pseudo: - { - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "TypeCode")) - *os << "CORBA::tk_TypeCode,\n\n"; - else - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "Object")) - { - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_objref," << be_nl; - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (predefined) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect - // computation of other nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ - << ", // encapsulation length" << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (predefined objref) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - *os << be_uidt << "\n"; - } - } - } - break; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_predefined_type *node) -{ - // this one is valid only for "Object" - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "Object")) - { - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - } - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // no typecode optimization for anonymous sequences - - *os << "CORBA::tk_sequence, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (sequence) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (sequence) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - *os << be_uidt << "\n"; - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *bt; // base type - - os->indent (); - *os << "TAO_ENCAP_BYTE_ORDER, // byte order\n"; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // emit typecode of element type - bt = be_type::narrow_from_decl (node->base_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (sequence) - ") - ASYS_TEXT ("failed to generate typecode\n")), - -1); - } - - // emit the sequence bounds (0 if unbounded) - os->indent (); - *os << node->max_size () << ",\n"; - // size of the bound length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_string *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - // no typecode optimizations for anonymous strings - - os->indent (); // start from the current indentation level - // emit the enumeration - *os << "CORBA::tk_string, " << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // emit the string bounds (0 if unbounded) - *os << node->max_size () << ", // string length\n"; - // size of the bounds - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_string *) -{ - // nothing to be done here - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_struct, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (struct) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (structure) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - *os << be_uidt << "\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - // generate the member count - os->indent (); - *os << node->member_count () << ", // member count\n"; - // size of the member count - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // hand over to the scope to generate the typecode for elements - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - if (node->accept (this) == -1) - { - ACE_ERROR ((LM_ERROR, "be_structure: cannot generate typecode for members\n")); - return -1; - } - - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_typedef *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_alias, // typecode kind for typedefs" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (typedef) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (typedef) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - - *os << be_uidt << "\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_typedef *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *bt; // base type - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - // generate typecode for the base type - bt = be_type::narrow_from_decl (node->base_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (typedef) - ") - ASYS_TEXT ("failed to generate typecode\n")), - -1); - } - return 0; -} - -int -be_visitor_typecode_defn::gen_typecode (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - - os->indent (); // start from whatever indentation level we were at - - // check if we are repeated - const be_visitor_typecode_defn::QNode *qnode = - this->queue_lookup (this->tc_queue_, node); - if (qnode) - { - // we are repeated, so we must generate an indirection here - *os << "0xffffffff, // indirection" << be_nl; - this->tc_offset_ += sizeof (ACE_CDR::ULong); - // the offset must point to the tc_kind value of the first occurrence of - // this type - os->print ("0x%x, // negative offset (%ld)\n", - (qnode->offset - this->tc_offset_), - (qnode->offset - this->tc_offset_)); - this->tc_offset_ += sizeof (ACE_CDR::ULong); - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->tc_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "visit_type - " - "queue insert failed\n"), - -1); - } - } - - *os << "CORBA::tk_union, // typecode kind" << be_nl; - // size of the enum - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // reset the compute queue to set the stage for computing our - // encapsulation length - this->queue_reset (this->compute_queue_); - - // emit the encapsulation length - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) - be_visitor_typecode_defn") - ASYS_TEXT ("gen_typecode (union) - ") - ASYS_TEXT ("Failed to get encap length\n")), - -1); - } - // reset the compute queue since we must not affect computation of other - // nodes - this->queue_reset (this->compute_queue_); - - *os << this->computed_encap_len_ << ", // encapsulation length" - << be_idt << "\n"; - // size of the encap length - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // now emit the encapsulation - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAPSULATION); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_typecode (union) - ") - ASYS_TEXT ("failed to generate encapsulation\n")), - -1); - } - *os << be_uidt << "\n"; - } - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *discrim; - - os->indent (); // start from whatever indentation level we were at - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << be_nl; - // size of the encapsulation byte order flag. Although it is 1 byte, the - // aligned size is 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate repoID - this->gen_repoID (node); - - // generate name - os->indent (); - this->gen_name (node); - - // generate typecode for discriminant - discrim = be_type::narrow_from_decl (node->disc_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (discrim->accept (this) == -1) - { - ACE_ERROR ((LM_ERROR, "be_union: cannot generate typecode for discriminant\n")); - return -1; - } - - // generate the default used flag - os->indent (); - *os << node->default_index () << ", // default used index" << be_nl; - // size of the default index used - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // generate the member count - *os << node->member_count () << ", // member count\n"; - // size of the member count - this->tc_offset_ += sizeof (ACE_CDR::ULong); - - // hand over to the scope to generate the typecode for elements - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - if (node->accept (this) == -1) - { - ACE_ERROR ((LM_ERROR, "be_union: cannot generate code for members\n")); - return -1; - } - - return 0; -} - -int -be_visitor_typecode_defn::gen_encapsulation (be_union_branch *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_type *bt; // our type node - - be_union *ub = this->ctx_->be_scope_as_union (); - - ACE_UINT32 buf[1]; - ACE_OS::memset (buf, 0, sizeof (buf)); - - for (unsigned long i = 0; - i < node->label_list_length (); - ++i) - { - os->indent (); - - // emit the case label value - if (node->label (i)->label_kind () == AST_UnionLabel::UL_label) - { - AST_Expression *expression = node->label (i)->label_val (); - AST_Expression::AST_ExprValue *ev = expression->ev (); - switch (ub->udisc_type ()) - { - case AST_Expression::EV_char: - os->print ("ACE_IDL_NCTOHL (0x%02.2x)", (unsigned char)ev->u.cval); - // size of bool/char aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - case AST_Expression::EV_bool: - os->print ("ACE_IDL_NCTOHL (0x%02.2x)", (unsigned char)ev->u.bval); - // size of bool/char aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - case AST_Expression::EV_wchar: - case AST_Expression::EV_short: - os->print ("ACE_IDL_NSTOHL (0x%04.4x)", (unsigned short)ev->u.sval); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ushort: - os->print ("ACE_IDL_NSTOHL (0x%04.4x)", (unsigned short)ev->u.usval); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_long: - os->print ("0x%08.8x", (unsigned long)ev->u.lval); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ulong: - os->print ("0x%08.8x", ev->u.ulval); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_any: - // enum - os->print ("0x%08.8x", (unsigned long)ev->u.eval); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longlong: - // unimplemented yet - - default: - ACE_ERROR_RETURN ((LM_DEBUG, - "be_union_branch: (%N:%l) Label value " - "type (%d) is invalid\n", ev->et), -1); - ACE_NOTREACHED (break;) - } - - *os << ", // union case label (evaluated value)" << be_nl; - } - else - { - // default case - be_union::DefaultValue dv; - if (ub->default_value (dv) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode::" - "gen_encapsulation (union_branch) - " - "computing default value failed\n"), - -1); - } - - switch (ub->udisc_type ()) - { - case AST_Expression::EV_char: - os->print ("ACE_IDL_NCTOHL (0x%02.2x)", (unsigned char)dv.u.char_val); - // size of bool/char aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - case AST_Expression::EV_bool: - os->print ("ACE_IDL_NCTOHL (0x%02.2x)", (unsigned char)dv.u.bool_val); - // size of bool/char aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - case AST_Expression::EV_wchar: - case AST_Expression::EV_short: - os->print ("ACE_IDL_NSTOHL (0x%04.4x)", (unsigned short)dv.u.short_val); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ushort: - os->print ("ACE_IDL_NSTOHL (0x%04.4x)", (unsigned short)dv.u.ushort_val); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_long: - os->print ("0x%08.8x", (unsigned long)dv.u.long_val); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ulong: - os->print ("0x%08.8x", (unsigned long)dv.u.ulong_val); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_any: - // enum - os->print ("0x%08.8x", (unsigned long)dv.u.enum_val); - // size of short/wchar aligned to 4 bytes - this->tc_offset_ += sizeof (ACE_CDR::ULong); - break; - - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longlong: - // unimplemented yet - - default: - ACE_ERROR_RETURN ((LM_DEBUG, - "be_union_branch: (%N:%l) Label value " - "type (%d) is invalid\n", ub->udisc_type ()), - -1); - ACE_NOTREACHED (break;) - } - - *os << ", // union default label (evaluated value)" << be_nl; - } - - // emit name - this->gen_name (node); - - // hand over code generation to our type node - bt = be_type::narrow_from_decl (node->field_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE_NESTED); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::gen_encapsulation (union_branch) - ") - ASYS_TEXT ("failed to generate typecode\n")), - -1); - } - } // end of for loop - - // revert the state - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE); - return 0; -} - - -// = methods for computing typecode and encapsulation sizes - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_array *node) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (array) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_array *node) -{ - // Suppose "N" is the number of dimensions, then for a N dimensional array, - // we will have N encapsulations. The innermost encapsulation will hold the - // typecode of the real base type. - // Thus, we will have N byte order flags and dimensions, and N-1 tk_array - // enumerations, encapsulation lengths, and dimensions. - - be_type *bt; // base type - - bt = be_type::narrow_from_decl (node->base_type ()); - - ACE_CDR::Long encap_len = - // N byte order flags and dimensions - node->n_dims () * (4 + 4) - + - // N-1 of tk_array and that many encapsulation lengths - (node->n_dims () - 1) * (4 + 4); - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (array) - ") - ASYS_TEXT ("cannot compute tc size for base\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_tc_size_; - return this->computed_encap_len_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_enum *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (enum) - " - "queue insert failed\n"), - -1); - } - } - - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (enum) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_enum *node) -{ - ACE_CDR::Long encap_len; - encap_len = 4; // holds the byte order flag - - encap_len += - this->repoID_encap_len (node); // repoID storage - - // do the same thing for the local name - encap_len += this->name_encap_len (node); - - encap_len += 4; // to hold the member count - - // save the current value of scope len and start with a fresh one for our - // scope length computation - if (this->push (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (enum) - ") - ASYS_TEXT ("push failed\n")), - -1); - } - this->computed_scope_encap_len_ = 0; - - // compute encap length for members - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (enum) - ") - ASYS_TEXT ("cannot compute scope tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_scope_encap_len_; - - // pop off the previous value of computed_scope_len_ - if (this->pop (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (enum) - ") - ASYS_TEXT ("pop failed\n")), - -1); - } - - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_enum_val *node) -{ - this->computed_encap_len_ = this->name_encap_len (node); - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_exception *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (exception) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (array) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_exception *node) -{ - ACE_CDR::Long encap_len; - encap_len = 4; // holds the byte order flag - - encap_len += this->repoID_encap_len (node); // repoID - - // do the same thing for the local name - encap_len += this->name_encap_len (node); - - encap_len += 4; // to hold the member count - - // save the current value of scope len and start with a fresh one for our - // scope length computation - if (this->push (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (exception) - ") - ASYS_TEXT ("push failed\n")), - -1); - } - this->computed_scope_encap_len_ = 0; - - // compute encap length for members - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (exception) - ") - ASYS_TEXT ("cannot compute scope tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_scope_encap_len_; - - // pop off the previous value of computed_scope_len_ - if (this->pop (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (exception) - ") - ASYS_TEXT ("pop failed\n")), - -1); - } - - return this->computed_encap_len_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_field *node) -{ - be_type *bt; - - // struct member is represented as the "name" followed by the typecode - - ACE_CDR::Long encap_len = - this->name_encap_len (node); // for name - - // add to this, the size of our typecode - bt = be_type::narrow_from_decl (node->field_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (array) - ") - ASYS_TEXT ("cannot compute tc size\n")), - -1); - } - - // note that we must add typecode size of base type - this->computed_encap_len_ = encap_len + this->computed_tc_size_; - - // revert the sub state - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - - return this->computed_encap_len_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_interface *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (interface) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (interface) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_interface *node) -{ - this->computed_encap_len_ = 4; // holds the byte order flag - - this->computed_encap_len_ += - this->repoID_encap_len (node); // for repoID - - // do the same thing for the local name - this->computed_encap_len_ += - this->name_encap_len (node); - - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_interface_fwd *) -{ - return 0; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_interface_fwd *) -{ - return 0; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_predefined_type *node) -{ - if (!ACE_OS::strcmp (node->local_name ()->get_string (), - "Object")) // not same - { - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (predefined type) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (predefined objref) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - } - else - this->computed_tc_size_ = 4; - - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_predefined_type *node) -{ - if (!ACE_OS::strcmp (node->local_name ()->get_string (), - "Object")) // not same - { - this->computed_encap_len_ = 4; // holds the byte order flag - - this->computed_encap_len_ += - this->repoID_encap_len (node); // for repoID - - // do the same thing for the local name - this->computed_encap_len_ += - this->name_encap_len (node); - } - else - this->computed_encap_len_ = 0; - - return this->computed_encap_len_; -} - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_sequence *node) -{ - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (sequence) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_sequence *node) -{ - be_type *bt; // base type - - ACE_CDR::Long encap_len = 4; // holds the byte order flag - - // add the encapsulation length of our base type - bt = be_type::narrow_from_decl (node->base_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (sequence) - ") - ASYS_TEXT ("cannot compute tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_tc_size_; - this->computed_encap_len_ += 4; // to hold the max size - - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_string *) -{ - this->computed_tc_size_ = 4 + 4; - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_string *) -{ - this->computed_encap_len_ = 0; - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_structure *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (structure) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (structure) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_structure *node) -{ - ACE_CDR::Long encap_len = 4; // holds the byte order flag - - encap_len += this->repoID_encap_len (node); // repoID - - // do the same thing for the local name - encap_len += this->name_encap_len (node); - - encap_len += 4; // to hold the member count - - // save the current value of scope len and start with a fresh one for our - // scope length computation - if (this->push (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (struct) - ") - ASYS_TEXT ("push failed\n")), - -1); - } - this->computed_scope_encap_len_ = 0; - - // compute encap length for members - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (structure) - ") - ASYS_TEXT ("cannot compute scope tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_scope_encap_len_; - - // pop off the previous value of computed_scope_len_ - if (this->pop (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (struct) - ") - ASYS_TEXT ("pop failed\n")), - -1); - } - - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_typedef *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (typedef) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (array) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_typedef *node) -{ - be_type *bt; // base type - ACE_CDR::Long encap_len = 4; // holds the byte order flag - - encap_len += - this->repoID_encap_len (node); // repoID - - // do the same thing for the local name - encap_len += - this->name_encap_len (node); - - // add the encapsulation length of our base type - bt = be_type::narrow_from_decl (node->base_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (typedef) - ") - ASYS_TEXT ("cannot compute tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_tc_size_; - return this->computed_encap_len_; - -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_tc_size (be_union *node) -{ - // while computing the encapsulation length we must keep in mind the typecode - // that has gotten generated until this point. Hence, we must first check the - // "tc_queue" to ensure if are already there somewhere in a previous - // encapsulation in which case we must count only the bytes for the - // indirection. If we are not already generated, we must then check if we - // have already been counted in the current computation or not by checking - // for our presence in the compute queue. In both cases, we only include the - // 8 bytes in the computation - if (this->queue_lookup (this->tc_queue_, node) || - this->queue_lookup (this->compute_queue_, node)) - { - this->computed_tc_size_ = 4 + 4; - } - else - { - if (idl_global->opt_tc () || - node->in_recursion ()) - { - if (this->queue_insert (this->compute_queue_, node, this->tc_offset_) == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typecode_defn::" - "compute_tc_size (union) - " - "queue insert failed\n"), - -1); - } - } - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_ENCAP_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_tc_size (union) - ") - ASYS_TEXT ("cannot compute encap len\n")), - -1); - } - - this->computed_tc_size_ = 4 + 4 + this->computed_encap_len_; - } - return this->computed_tc_size_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_union *node) -{ - be_type *discrim; - - ACE_CDR::Long encap_len = 4; // holds the byte order flag - - encap_len += this->repoID_encap_len (node); // for repoID - - // do the same thing for the local name - encap_len += this->name_encap_len (node); // for name - - // add encapsulation size of discriminant typecode - discrim = be_type::narrow_from_decl (node->disc_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!discrim || discrim->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (union) - ") - ASYS_TEXT ("cannot compute tc size\n")), - -1); - } - - encap_len += this->computed_tc_size_; - - encap_len += 4; // to hold the "default used" flag - encap_len += 4; // to hold the member count - - // save the current value of scope len and start with a fresh one for our - // scope length computation - if (this->push (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (union) - ") - ASYS_TEXT ("push failed\n")), - -1); - } - this->computed_scope_encap_len_ = 0; - - // compute encap length for members - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - if (node->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (union) - ") - ASYS_TEXT ("cannot compute scope tc size\n")), - -1); - } - - this->computed_encap_len_ = encap_len + this->computed_scope_encap_len_; - - // pop off the previous value of computed_scope_len_ - if (this->pop (this->computed_scope_encap_len_) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (union) - ") - ASYS_TEXT ("pop failed\n")), - -1); - } - - return this->computed_encap_len_; -} - - -ACE_CDR::Long -be_visitor_typecode_defn::compute_encap_length (be_union_branch *node) -{ - be_type *bt; - - ACE_CDR::Long encap_len = 0; - - for (unsigned long i = 0; - i < node->label_list_length (); - ++i) - { - encap_len += 4; // case label; - encap_len += - this->name_encap_len (node); // for name - - bt = be_type::narrow_from_decl (node->field_type ()); - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_TC_SIZE); - if (!bt || bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::compute_encap_len (union branch) - ") - ASYS_TEXT ("cannot compute tc size\n")), - -1); - } - encap_len += this->computed_tc_size_; - } - - this->computed_encap_len_ = encap_len; - - this->ctx_->sub_state (TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN); - return this->computed_encap_len_; -} - -// helpers that accomplish a common task - that of generating the repository -// IDs and names in a TypeCode description - -void -be_visitor_typecode_defn::gen_repoID (be_decl *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - int flag = 0; - - // check if we want to generate optimized typecodes. In such a case, there is - // no need to generate the repoID (unless we are an object reference or an - // exception in which case it is mandatory to have the repository ID) - // generate repoID - - if (idl_global->opt_tc ()) - { - switch (node->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_except: - flag = 0; - break; - case AST_Decl::NT_pre_defined: - if (!ACE_OS::strcmp (node->local_name ()->get_string (), - "Object")) - flag = 0; - else - flag = 1; - break; - default: - flag = 1; - } - } - - // XXXASG -- there is still some doubts in my mind about whether repoID - // *must* be supplied or not as per spec 2.3a. So I am not going to allow - // optimizations here. - // flag = 0; - - if (flag) - { - // optimized case - *os << "1, 0x0,"; - *os << " // repository ID = "; - - // repoID generation. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << node->compute_repoID ("AMI_", "_Handler"); - else - *os << node->repoID (); - - // size of the repoID filed - this->tc_offset_ += (2 * sizeof (ACE_CDR::ULong)); - } - else - { - // Unoptimized case. - - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << (ACE_OS::strlen (node->compute_repoID ("AMI_", "_Handler")) + 1) << ", "; - else - *os << (ACE_OS::strlen (node->repoID ()) + 1) << ", "; - - ACE_CDR::ULong *arr, i, arrlen; - - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - (void) this->tc_name2long (node->compute_repoID ("AMI_", "_Handler"), arr, arrlen); - else - (void) this->tc_name2long (node->repoID (), arr, arrlen); - - for (i = 0; i < arrlen; i++) - { - os->print ("ACE_NTOHL (0x%x), ", arr[i]); - } - - // Comment. - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << " // repository ID = " << node->compute_repoID ("AMI_", "_Handler"); - else - *os << " // repository ID = " << node->repoID (); - - // size of the repoID field - this->tc_offset_ += (arrlen + 1) * sizeof (ACE_CDR::ULong); - } - *os << "\n"; - return; -} - -void -be_visitor_typecode_defn::gen_name (be_decl *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // @@ AMI code generation should be done for this optimized - // case. (Alex). - - // Generate name. - if (idl_global->opt_tc ()) - { - *os << "1, 0x0,"; - *os << " // name = " << node->local_name (); - // size of the name field - this->tc_offset_ += (2 * sizeof (ACE_CDR::ULong)); - } - else - { - ACE_CDR::ULong *arr, i, arrlen; - - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - { - *os << (ACE_OS::strlen (node->compute_local_name ("AMI_", "_Handler")->get_string ()) + 1) << ", "; - (void) this->tc_name2long (node->compute_local_name ("AMI_", "_Handler")->get_string (), arr, arrlen); - } - else - { - *os << (ACE_OS::strlen (node->local_name ()->get_string ()) + 1) << ", "; - (void) this->tc_name2long (node->local_name ()->get_string (), arr, arrlen); - } - - for (i = 0; i < arrlen; i++) - { - os->print ("ACE_NTOHL (0x%x), ", arr[i]); - } - - if (this->ctx_->state () == TAO_CodeGen::TAO_AMI_HANDLER_TYPECODE_DEFN) - *os << " // name = " << node->compute_local_name ("AMI_", "_Handler"); - else - *os << " // name = " << node->local_name (); - - // size of the name field. - this->tc_offset_ += (arrlen + 1) * sizeof (ACE_CDR::ULong); - } - *os << "\n"; - return; -} - -// return the length in bytes to hold the repoID inside a typecode. This -// comprises 4 bytes indicating the length of the string followed by the actual -// string represented as longs. -ACE_CDR::ULong -be_visitor_typecode_defn::repoID_encap_len (be_decl *node) -{ - int flag = 0; - - // check if we want to generate optimized typecodes. In such a case, there is - // no need to generate the repoID (unless we are an object reference or an - // exception in which case it is mandatory to have the repository ID) - // generate repoID - - if (idl_global->opt_tc ()) - { - switch (node->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_except: - flag = 0; - break; - case AST_Decl::NT_pre_defined: - if (!ACE_OS::strcmp (node->local_name ()->get_string (), - "Object")) - flag = 0; - else - flag = 1; - break; - default: - flag = 1; - } - } - - // XXXASG -- there is still some doubts in my mind about whether repoID - // *must* be supplied or not as per spec 2.3a. So I am not going to allow - // optimizations here. - //flag = 0; - - if (flag) - { - return 4 + 4; - } - else - { - ACE_CDR::ULong slen = ACE_OS::strlen (node->repoID ()) + 1; - // + 1 for NULL terminating char - - // the number of bytes to hold the string must be a multiple of 4 since this - // will be represented as an array of longs - return 4 + 4 * (slen/4 + (slen%4 ? 1:0)); - } -} - -// return the length in bytes to hold the name inside a typecode. This -// comprises 4 bytes indicating the length of the string followed by the actual -// string represented as longs. -ACE_CDR::ULong -be_visitor_typecode_defn::name_encap_len (be_decl *node) -{ - if (idl_global->opt_tc ()) - { - return 4 + 4; - } - else - { - ACE_CDR::ULong slen = - ACE_OS::strlen (node->local_name ()->get_string ()) + 1; - - // the number of bytes to hold the string must be a multiple of 4 since this - // will be represented as an array of longs - return 4 + 4 * (slen/4 + (slen%4 ? 1:0)); - } -} - -// converts a string name into an array of 4 byte longs -int -be_visitor_typecode_defn::tc_name2long (const char *name, - ACE_CDR::ULong *&larr, - ACE_CDR::ULong &arrlen) -{ - const int bytes_per_word = sizeof (ACE_CDR::ULong); - static ACE_CDR::ULong buf [NAMEBUFSIZE]; - ACE_CDR::ULong i, slen; - - slen = ACE_OS::strlen (name) + 1; // 1 for NULL terminating - - // compute the number of bytes necessary to hold the name rounded to - // the next multiple of 4 (i.e., size of long) - arrlen = slen / bytes_per_word + (slen % bytes_per_word ? 1 : 0); - - ACE_OS::memset (buf, 0, sizeof (buf)); - larr = buf; - ACE_OS::memcpy (buf, name, slen); - for (i = 0; i < arrlen; i++) - larr [i] = ACE_HTONL (larr [i]); - return 0; -} - -// post processing -int -be_visitor_typecode_defn::post_process (be_decl *) -{ - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_TC_DEFN_SCOPE_LEN) - { - this->computed_scope_encap_len_ += this->computed_encap_len_; - } - return 0; -} - -// scope stack routines -int -be_visitor_typecode_defn::push (ACE_CDR::Long val) -{ - if (this->index_ >= TAO_BE_VISITOR_TYPECODE_DEFN_MAX_STACK_SIZE) - return -1; - - this->scope_stack_ [++this->index_] = val; - return 0; -} - -int -be_visitor_typecode_defn::pop (ACE_CDR::Long &val) -{ - if (this->index_ < 0) - return -1; - - val = this->scope_stack_[this->index_--]; - return 0; -} - -const be_visitor_typecode_defn::QNode * -be_visitor_typecode_defn:: -queue_insert (ACE_Unbounded_Queue &queue, - be_type *node, ACE_CDR::Long offset) -{ - be_visitor_typecode_defn::QNode *qnode; - - ACE_NEW_RETURN (qnode, be_visitor_typecode_defn::QNode, 0); - - qnode->node = node; - qnode->offset = offset; - - if (queue.enqueue_tail (qnode) == -1) - { - delete qnode; - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("(%N:%l) be_visitor_typecode_defn") - ASYS_TEXT ("::queue_insert - failed\n")), - 0); - } - - return qnode; -} - -const be_visitor_typecode_defn::QNode * -be_visitor_typecode_defn:: -queue_lookup (ACE_Unbounded_Queue &queue, - be_type *node) -{ - for (ACE_Unbounded_Queue_Iterator - iter (queue); - !iter.done (); - iter.advance ()) - { - be_visitor_typecode_defn::QNode **addr, *item; - iter.next (addr); - item = *addr; - - if (!ACE_OS::strcmp (item->node->fullname (), - node->fullname ())) - { - // found - return item; - } - } - - return 0; -} - -void -be_visitor_typecode_defn:: -queue_reset (ACE_Unbounded_Queue &queue) -{ - while (!queue.is_empty ()) - { - be_visitor_typecode_defn::QNode *qnode; - (void) queue.dequeue_head (qnode); - delete qnode; - } - return; -} diff --git a/TAO/TAO_IDL/be/be_visitor_typedef.cpp b/TAO/TAO_IDL/be/be_visitor_typedef.cpp deleted file mode 100644 index c9ca1e8818f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_typedef.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Typedef -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typedef.h" - -// include all the individual files -#include "be_visitor_typedef/typedef.cpp" -#include "be_visitor_typedef/typedef_ch.cpp" -#include "be_visitor_typedef/typedef_ci.cpp" -#include "be_visitor_typedef/typedef_cs.cpp" -#include "be_visitor_typedef/any_op_ch.cpp" -#include "be_visitor_typedef/any_op_cs.cpp" -#include "be_visitor_typedef/cdr_op_ch.cpp" -#include "be_visitor_typedef/cdr_op_ci.cpp" -#include "be_visitor_typedef/cdr_op_cs.cpp" - -ACE_RCSID(be, be_visitor_typedef, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp deleted file mode 100644 index 77853097361..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp +++ /dev/null @@ -1,278 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operators of a Typedef node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typedef.h" - -ACE_RCSID(be_visitor_typedef, any_op_ch, "$Id$") - - -// *************************************************************************** -// Typedef visitor for generating Any operator declarations in the client header -// *************************************************************************** - -be_visitor_typedef_any_op_ch::be_visitor_typedef_any_op_ch -(be_visitor_context *ctx) - : be_visitor_typedef (ctx) -{ -} - -be_visitor_typedef_any_op_ch::~be_visitor_typedef_any_op_ch (void) -{ -} - -int -be_visitor_typedef_any_op_ch::visit_typedef (be_typedef *node) -{ - if (node->cli_hdr_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - // Any <<= and >>= operators - os->indent (); - - // In general, we may have a chain of typedefs. i.e., - // typedef sequence X; - // typedef X Y; - // typedef Y Z; and so on - // The first time we will be in will be for node Z for which the code - // generation has to take place. However, it is not enough to just generate - // code that looks like - - // typedef Y Z; - // For different types (in this case we have a sequence), we will need - // typedefs for the _var and _out types for Z. If it had been an array, we - // will additionally have the _forany type as well as inlined *_alloc, _dup, - // and _free methods. - // - // Finally, we need to differentiate between the case where we were - // generating code for - // typedef sequence X; and - // typedef Y Z; where Y was somehow aliased to the sequence. In the former - // case, we will need to generate all the code for sequence or whatever - // the type maybe. In the latter, we just need typedefs for the type and all - // associated _var, _out, and other types. - - be_type *bt; // base type - - if (this->ctx_->tdef ()) - { - // the fact that we are here indicates that we were generating code for a - // typedef node whose base type also happens to be another typedef-ed - // (i.e. an alias) node for another (possibly alias) node - - this->ctx_->alias (node); // save this alias - - // grab the most primitive base type in the chain to avoid recusrsively - // going thru this visit method - bt = node->primitive_base_type (); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_ch::" - "visit_typedef - " - "bad primitive base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_ch::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - this->ctx_->alias (0); // reset - } - else - { - // the context has not stored any "tdef" node. So we must be in here for - // the first time - this->ctx_->tdef (node); // save the typedef node - - // grab the immediate base type node - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_ch::" - "visit_typedef - " - "bad base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_ch::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - - this->ctx_->tdef (0); // reset - } - - node->cli_hdr_any_op_gen (1); - return 0; -} - -int -be_visitor_typedef_any_op_ch::visit_array (be_array *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (!bt->imported () && - bt->node_type () == AST_Decl::NT_array) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_array (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_ch::" - "visit_array - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_any_op_ch::visit_enum (be_enum *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_enum) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_enum (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_ch::" - "visit_enum - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_any_op_ch::visit_sequence (be_sequence *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_sequence) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_sequence (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_ch::" - "visit_sequence - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_any_op_ch::visit_structure (be_structure *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_struct) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_structure (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_ch::" - "visit_structure - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_any_op_ch::visit_union (be_union *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_union) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_union (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_ch::" - "visit_union - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp deleted file mode 100644 index 6d8a868df16..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp +++ /dev/null @@ -1,279 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operators in the client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typedef.h" - -ACE_RCSID(be_visitor_typedef, any_op_cs, "$Id$") - - -// *************************************************************************** -// Typedef visitor for generating Any operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_typedef_any_op_cs::be_visitor_typedef_any_op_cs -(be_visitor_context *ctx) - : be_visitor_typedef (ctx) -{ -} - -be_visitor_typedef_any_op_cs::~be_visitor_typedef_any_op_cs (void) -{ -} - -int -be_visitor_typedef_any_op_cs::visit_typedef (be_typedef *node) -{ - if (node->cli_stub_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - // Any <<= and >>= operators - os->indent (); - - // In general, we may have a chain of typedefs. i.e., - // typedef sequence X; - // typedef X Y; - // typedef Y Z; and so on - // The first time we will be in will be for node Z for which the code - // generation has to take place. However, it is not enough to just generate - // code that looks like - - // typedef Y Z; - // For different types (in this case we have a sequence), we will need - // typedefs for the _var and _out types for Z. If it had been an array, we - // will additionally have the _forany type as well as inlined *_alloc, _dup, - // and _free methods. - // - // Finally, we need to differentiate between the case where we were - // generating code for - // typedef sequence X; and - // typedef Y Z; where Y was somehow aliased to the sequence. In the former - // case, we will need to generate all the code for sequence or whatever - // the type maybe. In the latter, we just need typedefs for the type and all - // associated _var, _out, and other types. - - be_type *bt; // base type - - if (this->ctx_->tdef ()) - { - // the fact that we are here indicates that we were generating code for a - // typedef node whose base type also happens to be another typedef-ed - // (i.e. an alias) node for another (possibly alias) node - - this->ctx_->alias (node); // save this alias - - // grab the most primitive base type in the chain to avoid recusrsively - // going thru this visit method - bt = node->primitive_base_type (); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_cs::" - "visit_typedef - " - "bad primitive base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_cs::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - this->ctx_->alias (0); // reset - } - else - { - // the context has not stored any "tdef" node. So we must be in here for - // the first time - this->ctx_->tdef (node); // save the typedef node - - // grab the immediate base type node - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_cs::" - "visit_typedef - " - "bad base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_cs::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - - this->ctx_->tdef (0); // reset - } - - node->cli_stub_any_op_gen (1); - return 0; -} - -int -be_visitor_typedef_any_op_cs::visit_array (be_array *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (!bt->imported () && - bt->node_type () == AST_Decl::NT_array) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_array (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_cs::" - "visit_array - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_any_op_cs::visit_enum (be_enum *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_enum) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_enum (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_cs::" - "visit_enum - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_any_op_cs::visit_sequence (be_sequence *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_sequence) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_sequence (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_cs::" - "visit_sequence - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_any_op_cs::visit_structure (be_structure *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_struct) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_structure (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_cs::" - "visit_structure - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_any_op_cs::visit_union (be_union *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_union) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_union (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_any_op_cs::" - "visit_union - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp deleted file mode 100644 index 62fa413646e..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp +++ /dev/null @@ -1,277 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Cdr operators of a Typedef node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typedef.h" - -ACE_RCSID(be_visitor_typedef, cdr_op_ch, "$Id$") - - -// *************************************************************************** -// Typedef visitor for generating Cdr operator declarations in the client header -// *************************************************************************** - -be_visitor_typedef_cdr_op_ch::be_visitor_typedef_cdr_op_ch -(be_visitor_context *ctx) - : be_visitor_typedef (ctx) -{ -} - -be_visitor_typedef_cdr_op_ch::~be_visitor_typedef_cdr_op_ch (void) -{ -} - -int -be_visitor_typedef_cdr_op_ch::visit_typedef (be_typedef *node) -{ - if (node->cli_hdr_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator declarations - os->indent (); - - // In general, we may have a chain of typedefs. i.e., - // typedef sequence X; - // typedef X Y; - // typedef Y Z; and so on - // The first time we will be in will be for node Z for which the code - // generation has to take place. However, it is not enough to just generate - // code that looks like - - // typedef Y Z; - // For different types (in this case we have a sequence), we will need - // typedefs for the _var and _out types for Z. If it had been an array, we - // will additionally have the _forcdr type as well as inlined *_alloc, _dup, - // and _free methods. - // - // Finally, we need to differentiate between the case where we were - // generating code for - // typedef sequence X; and - // typedef Y Z; where Y was somehow aliased to the sequence. In the former - // case, we will need to generate all the code for sequence or whatever - // the type maybe. In the latter, we just need typedefs for the type and all - // associated _var, _out, and other types. - - be_type *bt; // base type - - if (this->ctx_->tdef ()) - { - // the fact that we are here indicates that we were generating code for a - // typedef node whose base type also happens to be another typedef-ed - // (i.e. an alias) node for another (possibly alias) node - - this->ctx_->alias (node); // save this alias - - // grab the most primitive base type in the chain to avoid recusrsively - // going thru this visit method - bt = node->primitive_base_type (); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ch::" - "visit_typedef - " - "bad primitive base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ch::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - this->ctx_->alias (0); // reset - } - else - { - // the context has not stored cdr "tdef" node. So we must be in here for - // the first time - this->ctx_->tdef (node); // save the typedef node - - // grab the immediate base type node - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ch::" - "visit_typedef - " - "bad base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ch::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - - this->ctx_->tdef (0); // reset - } - - node->cli_hdr_cdr_op_gen (1); - return 0; -} - -int -be_visitor_typedef_cdr_op_ch::visit_array (be_array *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (!bt->imported () && - bt->node_type () == AST_Decl::NT_array) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_array (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ch::" - "visit_array - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_ch::visit_enum (be_enum *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_enum) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_enum (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ch::" - "visit_enum - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_ch::visit_sequence (be_sequence *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_sequence) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_sequence (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ch::" - "visit_sequence - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_ch::visit_structure (be_structure *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_struct) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_structure (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ch::" - "visit_structure - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_ch::visit_union (be_union *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_union) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_union (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_op_ch::" - "visit_union - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ci.cpp deleted file mode 100644 index 7cd0873a76c..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ci.cpp +++ /dev/null @@ -1,279 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Cdr operators in the client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typedef.h" - -ACE_RCSID(be_visitor_typedef, cdr_op_ci, "$Id$") - - -// *************************************************************************** -// Typedef visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_typedef_cdr_op_ci::be_visitor_typedef_cdr_op_ci -(be_visitor_context *ctx) - : be_visitor_typedef (ctx) -{ -} - -be_visitor_typedef_cdr_op_ci::~be_visitor_typedef_cdr_op_ci (void) -{ -} - -int -be_visitor_typedef_cdr_op_ci::visit_typedef (be_typedef *node) -{ - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator impls - - os->indent (); - - // In general, we may have a chain of typedefs. i.e., - // typedef sequence X; - // typedef X Y; - // typedef Y Z; and so on - // The first time we will be in will be for node Z for which the code - // generation has to take place. However, it is not enough to just generate - // code that looks like - - // typedef Y Z; - // For different types (in this case we have a sequence), we will need - // typedefs for the _var and _out types for Z. If it had been an array, we - // will additionally have the _forcdr type as well as inlined *_alloc, _dup, - // and _free methods. - // - // Finally, we need to differentiate between the case where we were - // generating code for - // typedef sequence X; and - // typedef Y Z; where Y was somehow aliased to the sequence. In the former - // case, we will need to generate all the code for sequence or whatever - // the type maybe. In the latter, we just need typedefs for the type and all - // associated _var, _out, and other types. - - be_type *bt; // base type - - if (this->ctx_->tdef ()) - { - // the fact that we are here indicates that we were generating code for a - // typedef node whose base type also happens to be another typedef-ed - // (i.e. an alias) node for another (possibly alias) node - - this->ctx_->alias (node); // save this alias - - // grab the most primitive base type in the chain to avoid recusrsively - // going thru this visit method - bt = node->primitive_base_type (); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ci::" - "visit_typedef - " - "bad primitive base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ci::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - this->ctx_->alias (0); // reset - } - else - { - // the context has not stored cdr "tdef" node. So we must be in here for - // the first time - this->ctx_->tdef (node); // save the typedef node - - // grab the immediate base type node - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ci::" - "visit_typedef - " - "bad base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ci::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - - this->ctx_->tdef (0); // reset - } - - node->cli_inline_cdr_op_gen (1); - return 0; -} - -int -be_visitor_typedef_cdr_op_ci::visit_array (be_array *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (!bt->imported () && - bt->node_type () == AST_Decl::NT_array) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_array (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ci::" - "visit_array - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_ci::visit_enum (be_enum *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_enum) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_enum (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ci::" - "visit_enum - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_ci::visit_sequence (be_sequence *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_sequence) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_sequence (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ci::" - "visit_sequence - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_ci::visit_structure (be_structure *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_struct) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_structure (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ci::" - "visit_structure - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_ci::visit_union (be_union *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_union) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_union (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_ci::" - "visit_union - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp deleted file mode 100644 index 91ab655906d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp +++ /dev/null @@ -1,279 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Cdr operators in the client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typedef.h" - -ACE_RCSID(be_visitor_typedef, cdr_op_cs, "$Id$") - - -// *************************************************************************** -// Typedef visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_typedef_cdr_op_cs::be_visitor_typedef_cdr_op_cs -(be_visitor_context *ctx) - : be_visitor_typedef (ctx) -{ -} - -be_visitor_typedef_cdr_op_cs::~be_visitor_typedef_cdr_op_cs (void) -{ -} - -int -be_visitor_typedef_cdr_op_cs::visit_typedef (be_typedef *node) -{ - if (node->cli_stub_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator impls - - os->indent (); - - // In general, we may have a chain of typedefs. i.e., - // typedef sequence X; - // typedef X Y; - // typedef Y Z; and so on - // The first time we will be in will be for node Z for which the code - // generation has to take place. However, it is not enough to just generate - // code that looks like - - // typedef Y Z; - // For different types (in this case we have a sequence), we will need - // typedefs for the _var and _out types for Z. If it had been an array, we - // will additionally have the _forcdr type as well as inlined *_alloc, _dup, - // and _free methods. - // - // Finally, we need to differentiate between the case where we were - // generating code for - // typedef sequence X; and - // typedef Y Z; where Y was somehow aliased to the sequence. In the former - // case, we will need to generate all the code for sequence or whatever - // the type maybe. In the latter, we just need typedefs for the type and all - // associated _var, _out, and other types. - - be_type *bt; // base type - - if (this->ctx_->tdef ()) - { - // the fact that we are here indicates that we were generating code for a - // typedef node whose base type also happens to be another typedef-ed - // (i.e. an alias) node for another (possibly alias) node - - this->ctx_->alias (node); // save this alias - - // grab the most primitive base type in the chain to avoid recusrsively - // going thru this visit method - bt = node->primitive_base_type (); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_cs::" - "visit_typedef - " - "bad primitive base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_cs::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - this->ctx_->alias (0); // reset - } - else - { - // the context has not stored cdr "tdef" node. So we must be in here for - // the first time - this->ctx_->tdef (node); // save the typedef node - - // grab the immediate base type node - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_cs::" - "visit_typedef - " - "bad base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_cs::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - - this->ctx_->tdef (0); // reset - } - - node->cli_stub_cdr_op_gen (1); - return 0; -} - -int -be_visitor_typedef_cdr_op_cs::visit_array (be_array *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (!bt->imported () && - bt->node_type () == AST_Decl::NT_array) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_array (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_cs::" - "visit_array - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_cs::visit_enum (be_enum *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_enum) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_enum (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_cs::" - "visit_enum - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_cs::visit_sequence (be_sequence *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_sequence) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_sequence (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_cs::" - "visit_sequence - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_cs::visit_structure (be_structure *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_struct) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_structure (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_cs::" - "visit_structure - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} - -int -be_visitor_typedef_cdr_op_cs::visit_union (be_union *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_union) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_union (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cdr_op_cs::" - "visit_union - " - "base class visitor failed \n" - ), -1); - } - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/typedef.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/typedef.cpp deleted file mode 100644 index 26c232861b3..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef/typedef.cpp +++ /dev/null @@ -1,479 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typedef.cpp -// -// = DESCRIPTION -// Generic visitor generating code for Typedefs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typedef.h" - -ACE_RCSID(be_visitor_typedef, typedef, "$Id$") - - -// ****************************************************** -// Generic Typedef visitor -// ****************************************************** - -be_visitor_typedef::be_visitor_typedef (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_typedef::~be_visitor_typedef (void) -{ -} - -// visit the Typedef node and its scope -int be_visitor_typedef::visit_typedef (be_typedef *) -{ - return -1; // must be overridden -} - -// =all common visit methods for typedef visitor - -// visit a array -int -be_visitor_typedef::visit_array (be_array *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - ctx.state (TAO_CodeGen::TAO_ARRAY_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - ctx.state (TAO_CodeGen::TAO_ARRAY_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - ctx.state (TAO_CodeGen::TAO_ARRAY_CI); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_ARRAY_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_ARRAY_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_ARRAY_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_ARRAY_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_ARRAY_CDR_OP_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_array - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_array - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_array - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -//visit an enum -int -be_visitor_typedef::visit_enum (be_enum *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_enum - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_enum - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_enum - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an predefined type -int -be_visitor_typedef::visit_predefined_type (be_predefined_type *) -{ - return 0; -} - -// visit an sequence -int -be_visitor_typedef::visit_sequence (be_sequence *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CI); - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_SEQUENCE_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_SEQUENCE_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_sequence - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_sequence - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_sequence - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an structure -int -be_visitor_typedef::visit_string (be_string *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CI); - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH: - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS: - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH: - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI: - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_string - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_string - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_string - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an structure -int -be_visitor_typedef::visit_structure (be_structure *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CI); - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_structure - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_structure - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_structure - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit an union -int -be_visitor_typedef::visit_union (be_union *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - ctx.state (TAO_CodeGen::TAO_UNION_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - ctx.state (TAO_CodeGen::TAO_UNION_CI); - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - ctx.state (TAO_CodeGen::TAO_UNION_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_union - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_union - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_union - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp deleted file mode 100644 index cf754a4db2c..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp +++ /dev/null @@ -1,466 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typedef_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Typedef in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typedef.h" - -ACE_RCSID(be_visitor_typedef, typedef_ch, "$Id$") - - -// ****************************************************** -// Typedef visitor for client header -// ****************************************************** - -be_visitor_typedef_ch::be_visitor_typedef_ch (be_visitor_context *ctx) - : be_visitor_typedef (ctx) -{ -} - -be_visitor_typedef_ch::~be_visitor_typedef_ch (void) -{ -} - -int -be_visitor_typedef_ch::visit_typedef (be_typedef *node) -{ - // In general, we may have a chain of typedefs. i.e., - // typedef sequence X; - // typedef X Y; - // typedef Y Z; and so on - // The first time we will be in will be for node Z for which the code - // generation has to take place. However, it is not enough to just generate - // code that looks like - - // typedef Y Z; - // For different types (in this case we have a sequence), we will need - // typedefs for the _var and _out types for Z. If it had been an array, we - // will additionally have the _forany type as well as inlined *_alloc, _dup, - // and _free methods. - // - // Finally, we need to differentiate between the case where we were - // generating code for - // typedef sequence X; and - // typedef Y Z; where Y was somehow aliased to the sequence. In the former - // case, we will need to generate all the code for sequence or whatever - // the type maybe. In the latter, we just need typedefs for the type and all - // associated _var, _out, and other types. - - be_type *bt; // base type - - if (this->ctx_->tdef ()) - { - // the fact that we are here indicates that we were generating code for a - // typedef node whose base type also happens to be another typedef-ed - // (i.e. an alias) node for another (possibly alias) node - - this->ctx_->alias (node); // save this alias - - // grab the most primitive base type in the chain to avoid recusrsively - // going thru this visit method - bt = node->primitive_base_type (); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "bad primitive base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - this->ctx_->alias (0); // reset - } - else - { - // the context has not stored any "tdef" node. So we must be in here for - // the first time - this->ctx_->tdef (node); // save the typedef node - - // grab the immediate base type node - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "bad base type\n" - ), -1); - } - - // accept on this base type, but generate code for the typedef node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - - // generate the typecode decl for this typedef node - if (!node->imported ()) - { - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_TYPECODE_DECL); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "TypeCode declaration failed\n" - ), -1); - } - - - } - this->ctx_->tdef (0); // reset - } - - return 0; -} - -int -be_visitor_typedef_ch::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_typedef *tdef = this->ctx_->tdef (); // typedef node - be_decl *scope = this->ctx_->scope (); // scope in which it is used - be_type *bt; - - // is the base type an alias to an array node or an actual array node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - // is our base type an array node. If so, generate code for that array node - if (bt->node_type () == AST_Decl::NT_array) - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_array (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_array - " - "base class visitor failed \n" - ), -1); - } - } - else - { - // base type is simply an alias to an array node. Simply output the - // required typedefs - - os->indent (); - // typedef the type and the _slice type - *os << "typedef " << bt->nested_type_name (scope) - << " " << tdef->nested_type_name (scope) << ";" << be_nl; - *os << "typedef " << bt->nested_type_name (scope, "_slice") - << " " << tdef->nested_type_name (scope, "_slice") << ";" << be_nl; - // typedef the _var, _out, and _forany types - *os << "typedef " << bt->nested_type_name (scope, "_var") - << " " << tdef->nested_type_name (scope, "_var") << ";" << be_nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") - << " " << tdef->nested_type_name (scope, "_out") << ";" << be_nl; - *os << "typedef " << bt->nested_type_name (scope, "_forany") - << " " << tdef->nested_type_name (scope, "_forany") << ";" << be_nl; - - // the _alloc, _dup, copy, and free methods - - // Since the function nested_type_name() contains a static buffer, - // we can have only one call to it from any instantiation per stream - // output statement. - - // _alloc - *os << "ACE_INLINE " << tdef->nested_type_name (scope, "_slice") << " *"; - *os << tdef->nested_type_name (scope, "_alloc") << " (void);" << be_nl; - // _dup - *os << "ACE_INLINE " << tdef->nested_type_name (scope, "_slice") << " *"; - *os << tdef->nested_type_name (scope, "_dup") << " (const "; - *os << tdef->nested_type_name (scope, "_slice") << " *_tao_slice);" << be_nl; - // _copy - *os << "ACE_INLINE void " << tdef->nested_type_name (scope, "_copy") << " ("; - *os << tdef->nested_type_name (scope, "_slice") << " *_tao_to, const "; - *os << tdef->nested_type_name (scope, "_slice") << " *_tao_from);" << be_nl; - // _free - *os << "ACE_INLINE void " << tdef->nested_type_name (scope, "_free") << " ("; - *os << tdef->nested_type_name (scope, "_slice") << " *_tao_slice);" << be_nl; - } - return 0; -} - -int -be_visitor_typedef_ch::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_typedef *tdef = this->ctx_->tdef (); // typedef node - be_decl *scope = this->ctx_->scope (); // scope in which it is used - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_enum) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_enum (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_enum - " - "base class visitor failed \n" - ), -1); - } - } - - // now generate the typedefs - os->indent (); - // typedef the type and the _slice type - *os << "typedef " << bt->nested_type_name (scope) - << " " << tdef->nested_type_name (scope) << ";" << be_nl; - // typedef the _out - *os << "typedef " << bt->nested_type_name (scope, "_out") - << " " << tdef->nested_type_name (scope, "_out") << ";" << be_nl; - return 0; -} - -int -be_visitor_typedef_ch::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_typedef *tdef = this->ctx_->tdef (); // typedef node - be_decl *scope = this->ctx_->scope (); // scope in which it is used - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - // now generate the typedefs - os->indent (); - - // typedef the _ptr - *os << "typedef " << bt->nested_type_name (scope, "_ptr") - << " " << tdef->nested_type_name (scope, "_ptr") << ";" << be_nl; - - // typedef the _var - *os << "typedef " << bt->nested_type_name (scope, "_var") - << " " << tdef->nested_type_name (scope, "_var") << ";" << be_nl; - - // typedef the _out - *os << "typedef " << bt->nested_type_name (scope, "_out") - << " " << tdef->nested_type_name (scope, "_out") << ";" << be_nl; - - return 0; -} - -int -be_visitor_typedef_ch::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_typedef *tdef = this->ctx_->tdef (); // typedef node - be_decl *scope = this->ctx_->scope (); // scope in which it is used - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - // now generate the typedefs - os->indent (); - // typedef the type - *os << "typedef " << bt->nested_type_name (scope) - << " " << tdef->nested_type_name (scope) << ";" << be_nl; - if ((node->pt () == AST_PredefinedType::PT_pseudo) || - (node->pt () == AST_PredefinedType::PT_any)) - { - // typedef the _ptr and _var - *os << "typedef " << bt->nested_type_name (scope, "_ptr") - << " " << tdef->nested_type_name (scope, "_ptr") << ";" << be_nl; - *os << "typedef " << bt->nested_type_name (scope, "_var") - << " " << tdef->nested_type_name (scope, "_var") << ";" << be_nl; - } - // typedef the _out - *os << "typedef " << bt->nested_type_name (scope, "_out") - << " " << tdef->nested_type_name (scope, "_out") << ";" << be_nl; - return 0; -} - -int -be_visitor_typedef_ch::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_typedef *tdef = this->ctx_->tdef (); // typedef node - be_decl *scope = this->ctx_->scope (); // scope in which it is used - - // now generate the typedefs - os->indent (); - // typedef the type and the _slice type - *os << "typedef char *" - << " " << tdef->nested_type_name (scope) << ";" << be_nl; - // typedef the _var, _out, and _forany types - *os << "typedef CORBA::String_var" - << " " << tdef->nested_type_name (scope, "_var") << ";" << be_nl; - *os << "typedef CORBA::String_out" - << " " << tdef->nested_type_name (scope, "_out") << ";" << be_nl; - return 0; -} - -int -be_visitor_typedef_ch::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_typedef *tdef = this->ctx_->tdef (); // typedef node - be_decl *scope = this->ctx_->scope (); // scope in which it is used - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_sequence) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_sequence (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_sequence - " - "base class visitor failed \n" - ), -1); - } - } - else - { - // now generate the typedefs - os->indent (); - // typedef the type - *os << "typedef " << bt->nested_type_name (scope) - << " " << tdef->nested_type_name (scope) << ";" << be_nl; - // typedef the _var, _out types - *os << "typedef " << bt->nested_type_name (scope, "_var") - << " " << tdef->nested_type_name (scope, "_var") << ";" << be_nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") - << " " << tdef->nested_type_name (scope, "_out") << ";" << be_nl; - } - return 0; -} - -int -be_visitor_typedef_ch::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_typedef *tdef = this->ctx_->tdef (); // typedef node - be_decl *scope = this->ctx_->scope (); // scope in which it is used - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_struct) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_structure (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_structure - " - "base class visitor failed \n" - ), -1); - } - } - - // now generate the typedefs - os->indent (); - // typedef the type - *os << "typedef " << bt->nested_type_name (scope) - << " " << tdef->nested_type_name (scope) << ";" << be_nl; - // typedef the _var, _out types - *os << "typedef " << bt->nested_type_name (scope, "_var") - << " " << tdef->nested_type_name (scope, "_var") << ";" << be_nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") - << " " << tdef->nested_type_name (scope, "_out") << ";" << be_nl; - return 0; -} - -int -be_visitor_typedef_ch::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_typedef *tdef = this->ctx_->tdef (); // typedef node - be_decl *scope = this->ctx_->scope (); // scope in which it is used - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_union) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_union (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_union - " - "base class visitor failed \n" - ), -1); - } - } - - // now generate the typedefs - os->indent (); - // typedef the type and the _slice type - *os << "typedef " << bt->nested_type_name (scope) - << " " << tdef->nested_type_name (scope) << ";" << be_nl; - // typedef the _var, _out types - *os << "typedef " << bt->nested_type_name (scope, "_var") - << " " << tdef->nested_type_name (scope, "_var") << ";" << be_nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") - << " " << tdef->nested_type_name (scope, "_out") << ";" << be_nl; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp deleted file mode 100644 index de9c0463431..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp +++ /dev/null @@ -1,275 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typedef_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Typedefs in the client inline file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typedef.h" - -ACE_RCSID(be_visitor_typedef, typedef_ci, "$Id$") - - -// ****************************************************** -// Typedef visitor for client inline -// ****************************************************** - -be_visitor_typedef_ci::be_visitor_typedef_ci (be_visitor_context *ctx) - : be_visitor_typedef (ctx) -{ -} - -be_visitor_typedef_ci::~be_visitor_typedef_ci (void) -{ -} - -int -be_visitor_typedef_ci::visit_typedef (be_typedef *node) -{ - // In general, we may have a chain of typedefs. i.e., - // typedef sequence X; - // typedef X Y; - // typedef Y Z; and so on - // The first time we will be in will be for node Z for which the code - // generation has to take place. However, it is not enough to just generate - // code that looks like - - // typedef Y Z; - // For different types (in this case we have a sequence), we will need - // typedefs for the _var and _out types for Z. If it had been an array, we - // will additionally have the _forany type as well as inlined *_alloc - // methods. - // - // Finally, we need to differentiate between the case where we were - // generating code for - // typedef sequence X; and - // typedef Y Z; where Y was somehow aliased to the sequence. In the former - // case, we will need to generate all the code for sequence or whatever - // the type maybe. In the latter, we just need typedefs for the type and all - // associated _var, _out, and other types. - - be_type *bt; // base type - - if (this->ctx_->tdef ()) - { - // the fact that we are here indicates that we were generating code for a - // typedef node whose base type also happens to be another typedef-ed - // (i.e. an alias) node for another (possibly alias) node - - this->ctx_->alias (node); // save this alias - - // grab the most primitive base type in the chain to avoid recusrsively - // going thru this visit method - bt = node->primitive_base_type (); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "bad primitive base type\n" - ), -1); - } - // accept on this base type - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - - this->ctx_->alias (0); - } - else - { - // the context has not stored any "tdef" node. So we must be in here for - // the first time - this->ctx_->tdef (node); // save the typedef node - - // grab the immediate base type node - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "bad base type\n" - ), -1); - } - // accept on this base type - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - - this->ctx_->tdef (0); - } - return 0; -} - -int -be_visitor_typedef_ci::visit_array (be_array *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // output stream - be_typedef *tdef = this->ctx_->tdef (); // typedef node - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_array) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_array (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ci::" - "visit_array - " - "base class visitor failed \n" - ), -1); - } - } - else - { - // generate the inline code for alloc, dup, copy, and free methods - - // alloc method - os->indent (); - *os << "ACE_INLINE " << tdef->name () << "_slice *" << be_nl; - *os << tdef->name () << "_alloc (void)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return " << bt->name () << "_alloc ();" << be_uidt_nl; - *os << "}\n\n"; - - // dup method - os->indent (); - *os << "ACE_INLINE " << tdef->name () << "_slice *" << be_nl; - *os << tdef->name () << "_dup (const " << tdef->name () - << "_slice *_tao_src)" << be_nl; - *os << "{" << be_idt_nl; - *os << "return " << bt->name () << "_dup (_tao_src);" << be_uidt_nl; - *os << "}\n\n"; - - // copy method - os->indent (); - *os << "ACE_INLINE void" << be_nl; - *os << tdef->name () << "_copy (" << tdef->name () - << "_slice *_tao_dest, const " << tdef->name () - << "_slice *_tao_src)" << be_nl; - *os << "{" << be_idt_nl; - *os << bt->name () << "_copy (_tao_dest, _tao_src);" << be_uidt_nl; - *os << "}\n\n"; - - // free method - os->indent (); - *os << "ACE_INLINE void" << be_nl; - *os << tdef->name () << "_free (" << tdef->name () - << "_slice *_tao_src)" << be_nl; - *os << "{" << be_idt_nl; - *os << bt->name () << "_free (_tao_src);" << be_uidt_nl; - *os << "}\n\n"; - } - return 0; -} - -int -be_visitor_typedef_ci::visit_sequence (be_sequence *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_sequence) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_sequence (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ci::" - "visit_sequence - " - "base class visitor failed \n" - ), -1); - } - } - return 0; -} - -int -be_visitor_typedef_ci::visit_structure (be_structure *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_struct) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_structure (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ci::" - "visit_structure - " - "base class visitor failed \n" - ), -1); - } - } - return 0; -} - -int -be_visitor_typedef_ci::visit_union (be_union *node) -{ - be_type *bt; - - if (this->ctx_->alias ()) // typedef of a typedef - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () == AST_Decl::NT_union) // direct typedef of a base node - // type - { - // let the base class visitor handle this case - if (this->be_visitor_typedef::visit_union (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ci::" - "visit_union - " - "base class visitor failed \n" - ), -1); - } - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp deleted file mode 100644 index ebecde2e307..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp +++ /dev/null @@ -1,149 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typedef_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Typedef in the client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_typedef.h" - -ACE_RCSID(be_visitor_typedef, typedef_cs, "$Id$") - - -// ****************************************************** -// Typedef visitor for client stubs -// ****************************************************** - -be_visitor_typedef_cs::be_visitor_typedef_cs (be_visitor_context *ctx) - : be_visitor_typedef (ctx) -{ -} - -be_visitor_typedef_cs::~be_visitor_typedef_cs (void) -{ -} - -int -be_visitor_typedef_cs::visit_typedef (be_typedef *node) -{ - // In general, we may have a chain of typedefs. i.e., - // typedef sequence X; - // typedef X Y; - // typedef Y Z; and so on - // The first time we will be in will be for node Z for which the code - // generation has to take place. However, it is not enough to just generate - // code that looks like - - // typedef Y Z; - // For different types (in this case we have a sequence), we will need - // typedefs for the _var and _out types for Z. If it had been an array, we - // will additionally have the _forany type as well as inlined *_alloc - // methods. - // - // Finally, we need to differentiate between the case where we were - // generating code for - // typedef sequence X; and - // typedef Y Z; where Y was somehow aliased to the sequence. In the former - // case, we will need to generate all the code for sequence or whatever - // the type maybe. In the latter, we just need typedefs for the type and all - // associated _var, _out, and other types. - - be_type *bt; // base type - - if (this->ctx_->tdef ()) - { - // the fact that we are here indicates that we were generating code for a - // typedef node whose base type also happens to be another typedef-ed - // (i.e. an alias) node for another (possibly alias) node - - this->ctx_->alias (node); // save this alias - - // grab the most primitive base type in the chain to avoid recusrsively - // going thru this visit method - bt = node->primitive_base_type (); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "bad primitive base type\n" - ), -1); - } - // accept on this base type - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - this->ctx_->alias (0); - } - else - { - // the context has not stored any "tdef" node. So we must be in here for - // the first time - this->ctx_->tdef (node); // save the typedef node - - // grab the immediate base type node - bt = be_type::narrow_from_decl (node->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "bad base type\n" - ), -1); - } - // accept on this base type - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_ch::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - - if (!node->imported ()) - { - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - be_visitor *visitor; - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_TYPECODE_DEFN); - ctx.sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef_cs::" - "visit_typedef - " - "TypeCode definition failed\n" - ), -1); - } - - } - this->ctx_->tdef (0); - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union.cpp b/TAO/TAO_IDL/be/be_visitor_union.cpp deleted file mode 100644 index 17db8dd01ab..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union.cpp +++ /dev/null @@ -1,41 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_union.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Union -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -// include all the individual files -#include "be_visitor_union/discriminant_ch.cpp" -#include "be_visitor_union/discriminant_ci.cpp" -#include "be_visitor_union/discriminant_cs.cpp" -#include "be_visitor_union/union.cpp" -#include "be_visitor_union/union_ch.cpp" -#include "be_visitor_union/union_ci.cpp" -#include "be_visitor_union/union_cs.cpp" -#include "be_visitor_union/any_op_ch.cpp" -#include "be_visitor_union/any_op_cs.cpp" -#include "be_visitor_union/cdr_op_ch.cpp" -#include "be_visitor_union/cdr_op_ci.cpp" -#include "be_visitor_union/cdr_op_cs.cpp" - -ACE_RCSID(be, be_visitor_union, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_union/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union/any_op_ch.cpp deleted file mode 100644 index f743a905db8..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/any_op_ch.cpp +++ /dev/null @@ -1,102 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operators for Union. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, any_op_ch, "$Id$") - - -// *************************************************************************** -// Union visitor for generating Any operator declarations in the client header -// *************************************************************************** - -be_visitor_union_any_op_ch::be_visitor_union_any_op_ch -(be_visitor_context *ctx) - : be_visitor_union (ctx) -{ -} - -be_visitor_union_any_op_ch::~be_visitor_union_any_op_ch (void) -{ -} - -int -be_visitor_union_any_op_ch::visit_union (be_union *node) -{ - if (node->cli_hdr_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - os->indent (); - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, const " << node->name () - << " &); // copying version" << be_nl; - *os << "void " << idl_global->export_macro () - << " operator<<= (CORBA::Any &, " << node->name () - << "*); // noncopying version" << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>>= (const CORBA::Any &, " - << node->name () << " *&);\n"; - - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union::visit_union - " - "codegen for scope failed\n"), -1); - } - - node->cli_hdr_any_op_gen (1); - return 0; -} - -int -be_visitor_union_any_op_ch::visit_union_branch (be_union_branch *node) -{ - be_type *bt; // field's type - - // first generate the type information - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_any_op_ch::" - "visit_union_branch - " - "Bad field type\n" - ), -1); - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_any_op_ch::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp deleted file mode 100644 index 8287b104719..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/any_op_cs.cpp +++ /dev/null @@ -1,276 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Any operators for Union. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, any_op_cs, "$Id$") - - -// *************************************************************************** -// Union visitor for generating Any operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_union_any_op_cs::be_visitor_union_any_op_cs -(be_visitor_context *ctx) - : be_visitor_union (ctx) -{ -} - -be_visitor_union_any_op_cs::~be_visitor_union_any_op_cs (void) -{ -} - -int -be_visitor_union_any_op_cs::visit_union (be_union *node) -{ - if (node->cli_stub_any_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the Any <<= and >>= operator declarations - os->indent (); - *os << "void operator<<= (" << be_idt << be_idt_nl - << "CORBA::Any &_tao_any," << be_nl - << "const " << node->name () << " &_tao_elem" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << node->name () << " *_any_val;" << be_nl - << "ACE_NEW (_any_val, " << node->name () << " (_tao_elem));" - << be_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl; - - if (this->gen_insertion (os, node) != 0) - return -1; - - *os << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "delete _any_val;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n" << be_nl; - - *os << "void operator<<= (" << be_idt << be_idt_nl - << "CORBA::Any &_tao_any," << be_nl - << node->name () << " *_tao_elem" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl; - - if (this->gen_insertion_nocopy (os, node) != 0) - return -1; - - *os << "}" << be_nl - << "ACE_CATCHANY {}" << be_nl - << "ACE_ENDTRY;" << be_uidt_nl - << "}\n" << be_nl; - - *os << "CORBA::Boolean operator>>= (" << be_idt << be_idt_nl - << "const CORBA::Any &_tao_any," << be_nl - << node->name () << " *&_tao_elem" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "ACE_TRY_NEW_ENV" << be_nl - << "{" << be_idt_nl - << "CORBA::TypeCode_var type = _tao_any.type ();" << be_nl - << "if (!type->equal (" << node->tc_name () - << ", ACE_TRY_ENV))" << be_idt_nl - << "return 0;" << be_uidt_nl - << "ACE_TRY_CHECK;" << be_nl - << "if (_tao_any.any_owns_data ())" << be_nl - << "{" << be_idt_nl - << "_tao_elem = (" << node->name () << " *)_tao_any.value ();" - << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_nl - << "else" << be_nl // else any does not own the data - << "{" << be_idt_nl - << "ACE_NEW_RETURN (_tao_elem, " << node->name () << ", 0);" - << be_nl - << "TAO_InputCDR stream (_tao_any._tao_get_cdr ());" << be_nl; - - if (this->gen_extraction (os, node) != 0) - return -1; - - *os << be_nl - << "return 1;" << be_uidt_nl - << "}" << be_uidt_nl - << "}" << be_nl - << "ACE_CATCHANY" << be_nl - << "{" << be_idt_nl - << "delete _tao_elem;" << be_uidt_nl - << "}" << be_nl - << "ACE_ENDTRY;" << be_nl - << "return 0;" << be_uidt_nl - << "}\n\n"; - - - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union::visit_union - " - "codegen for scope failed\n"), -1); - } - - node->cli_stub_any_op_gen (1); - return 0; -} - -int -be_visitor_union_any_op_cs::visit_union_branch (be_union_branch *node) -{ - be_type *bt; // field's type - - // first generate the type information - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_any_op_cs::" - "visit_union_branch - " - "Bad field type\n" - ), -1); - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_any_op_cs::" - "visit_union_branch - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} - -// **************************************************************** - -be_visitor_union_any_op_compiled_cs:: -be_visitor_union_any_op_compiled_cs (be_visitor_context *ctx) - : be_visitor_union_any_op_cs (ctx) -{ -} - -int -be_visitor_union_any_op_compiled_cs:: -gen_insertion (TAO_OutStream *os, - be_union *node) -{ - *os << "TAO_OutputCDR stream;" << be_nl - << "stream << *_any_val;" << be_nl - << "_tao_any._tao_replace (" << be_idt << be_idt_nl - << node->tc_name () << "," << be_nl - << "stream.begin ()," << be_nl - << "1," << be_nl - << "_any_val," << be_nl - << "ACE_TRY_ENV" << be_uidt_nl - << ");" << be_uidt_nl - << "ACE_TRY_CHECK;" << be_uidt_nl; - return 0; -} - -int -be_visitor_union_any_op_compiled_cs:: -gen_insertion_nocopy (TAO_OutStream *os, - be_union *node) -{ - *os << "TAO_OutputCDR stream;" << be_nl - << "stream << *_tao_elem;" << be_nl - << "_tao_any._tao_replace (" << be_idt << be_idt_nl - << node->tc_name () << "," << be_nl - << "stream.begin ()," << be_nl - << "1," << be_nl - << "_tao_elem," << be_nl - << "ACE_TRY_ENV" << be_uidt_nl - << ");" << be_uidt_nl - << "ACE_TRY_CHECK;" << be_uidt_nl; - return 0; -} - -int -be_visitor_union_any_op_compiled_cs:: -gen_extraction (TAO_OutStream *os, - be_union *node) -{ - *os << "stream >> *_tao_elem;" << be_nl - << "((CORBA::Any *)&_tao_any)->_tao_replace (" << be_idt << be_idt_nl - << node->tc_name () << "," << be_nl - << "1," << be_nl - << "ACE_reinterpret_cast(void*,_tao_elem)," << be_nl - << "ACE_TRY_ENV" << be_uidt_nl - << ");" << be_uidt_nl - << "ACE_TRY_CHECK;" << be_nl; - return 0; -} - -// **************************************************************** - -be_visitor_union_any_op_interpretive_cs:: -be_visitor_union_any_op_interpretive_cs (be_visitor_context *ctx) - : be_visitor_union_any_op_cs (ctx) -{ -} - -int -be_visitor_union_any_op_interpretive_cs:: -gen_insertion (TAO_OutStream *os, - be_union *node) -{ - *os << "_tao_any.replace (" << node->tc_name () - << ", _any_val, 1, ACE_TRY_ENV);" << " // copy the value" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl; - return 0; -} - -int -be_visitor_union_any_op_interpretive_cs:: -gen_insertion_nocopy (TAO_OutStream *os, - be_union *node) -{ - *os << "_tao_any.replace (" << node->tc_name () << ", " - << "_tao_elem, 1, ACE_TRY_ENV); // consume it" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl; - return 0; -} - -int -be_visitor_union_any_op_interpretive_cs:: -gen_extraction (TAO_OutStream *os, - be_union *node) -{ - *os << "if (stream.decode (" << node->tc_name () - << ", _tao_elem, 0, ACE_TRY_ENV)" << be_nl - << " == CORBA::TypeCode::TRAVERSE_CONTINUE)" << be_nl - << "{" << be_idt_nl - << "((CORBA::Any *)&_tao_any)->replace (" - << node->tc_name () << ", _tao_elem, 1, ACE_TRY_ENV);" << be_nl - << "ACE_TRY_CHECK;" << be_uidt_nl - << "}"; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union/cdr_op_ch.cpp deleted file mode 100644 index 01173b46b6d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/cdr_op_ch.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for unions. This uses -// compiled marshaling. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, cdr_op_ch, "$Id$") - -// *************************************************************************** -// Union visitor for generating CDR operator declarations in the client header -// *************************************************************************** - -be_visitor_union_cdr_op_ch::be_visitor_union_cdr_op_ch -(be_visitor_context *ctx) - : be_visitor_union (ctx) -{ -} - -be_visitor_union_cdr_op_ch::~be_visitor_union_cdr_op_ch (void) -{ -} - -int -be_visitor_union_cdr_op_ch::visit_union (be_union *node) -{ - if (node->cli_hdr_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator declarations - os->indent (); - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator<< (TAO_OutputCDR &, const " << node->name () - << " &); // " << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>> (TAO_InputCDR &, " - << node->name () << " &);\n"; - - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cdr_op_ch::" - "visit_union - " - "codegen for scope failed\n"), -1); - } - - node->cli_hdr_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_union/cdr_op_ci.cpp deleted file mode 100644 index 969d4216d9b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/cdr_op_ci.cpp +++ /dev/null @@ -1,171 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for unions -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, cdr_op_ci, "$Id$") - -// *************************************************************************** -// Union visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_union_cdr_op_ci::be_visitor_union_cdr_op_ci -(be_visitor_context *ctx) - : be_visitor_union (ctx) -{ -} - -be_visitor_union_cdr_op_ci::~be_visitor_union_cdr_op_ci (void) -{ -} - -int -be_visitor_union_cdr_op_ci::visit_union (be_union *node) -{ - // already generated and/or we are imported. Don't do anything. - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cdr_op_ci" - "::visit_union - " - "codegen for scope failed\n"), -1); - } - - TAO_OutStream *os = this->ctx_->stream (); - - // set the sub state as generating code for the output operator - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_OUTPUT); - - *os << "ACE_INLINE CORBA::Boolean operator<< (" << be_idt << be_idt_nl - << "TAO_OutputCDR &strm," << be_nl - << "const " << node->name () << " &_tao_union" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "if (!(strm << _tao_union._d ()))" << be_idt_nl - << "return 0;" << be_uidt_nl - << "CORBA::Boolean result = 0;" << be_nl - << "switch (_tao_union._d ())" << be_nl - << "{" << be_idt_nl; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cdr_op_ci::" - "visit_union - " - "codegen for scope failed\n"), -1); - } - *os << be_uidt_nl << "}" << be_nl - << "return result;" << be_uidt_nl - << "}\n\n"; - - // set the substate as generating code for the input operator - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_INPUT); - *os << "ACE_INLINE CORBA::Boolean operator>> (" << be_idt << be_idt_nl - << "TAO_InputCDR &strm," << be_nl - << node->name () << " &_tao_union" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - - be_type* disc_type = - be_type::narrow_from_decl (node->disc_type ()); - - // Generate a temporary to store the discriminant - *os << disc_type->fullname () - << " " << "_tao_discriminant;" << be_nl - << "if ( !(strm >> _tao_discriminant) )" << be_idt_nl - << "return 0;" << be_uidt_nl - << "CORBA::Boolean result = 0;" << be_nl - << "switch (_tao_discriminant)" << be_nl - << "{" << be_idt_nl; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cdr_op_ci::" - "visit_union - " - "codegen for scope failed\n"), -1); - } - - *os << be_uidt_nl << "}" << be_nl - << "return result;" << be_uidt_nl - << "}\n\n"; - - node->cli_inline_cdr_op_gen (1); - return 0; -} - -int -be_visitor_union_cdr_op_ci::pre_process (be_decl *bd) -{ - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_SCOPE) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - be_union_branch* b = - be_union_branch::narrow_from_decl (bd); - - for (unsigned long i = 0; - i < b->label_list_length (); - ++i) - { - // check if we are printing the default case - if (b->label (i)->label_kind () == AST_UnionLabel::UL_default) - *os << "default:"; - else - { - *os << "case "; - b->gen_label_value (os, i); - *os << ":"; - } - if (i == (b->label_list_length () - 1)) - *os << be_idt_nl; - else - *os << be_nl; - } - - *os << "{" << be_idt_nl; - return 0; -} - -int -be_visitor_union_cdr_op_ci::post_process (be_decl *) -{ - if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_SCOPE) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - *os << be_uidt_nl << "}" << be_nl - << "break;" << be_uidt_nl; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp deleted file mode 100644 index f62a2206f04..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/cdr_op_cs.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for unions -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, cdr_op_cs, "$Id$") - -// *************************************************************************** -// Union visitor for generating CDR operator declarations in the client -// stubs file -// *************************************************************************** - -be_visitor_union_cdr_op_cs::be_visitor_union_cdr_op_cs -(be_visitor_context *ctx) - : be_visitor_union (ctx) -{ -} - -be_visitor_union_cdr_op_cs::~be_visitor_union_cdr_op_cs (void) -{ -} - -int -be_visitor_union_cdr_op_cs::visit_union (be_union *node) -{ - // already generated and/or we are imported. Don't do anything. - if (node->cli_stub_cdr_op_gen () || node->imported ()) - return 0; - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cdr_op_cs" - "::visit_union - " - "codegen for scope failed\n"), -1); - } - - node->cli_stub_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp deleted file mode 100644 index 66c3002b440..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// discriminant_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for discriminant of the Union -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, discriminant_ch, "$Id$") - - -// ************************************************************************* -// be_visitor_discriminant_ch - visitor for discriminant in client header file -// ************************************************************************* - -be_visitor_union_discriminant_ch::be_visitor_union_discriminant_ch -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_union_discriminant_ch::~be_visitor_union_discriminant_ch (void) -{ -} - -int -be_visitor_union_discriminant_ch::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - be_union *bu = - this->ctx_->be_node_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_ENUM_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_discriminant_ch::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_discriminant_ch::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - os->indent (); - // the set method - *os << "void _d (" << bt->nested_type_name (bu) << ");" << be_nl; - // the get method - *os << bt->nested_type_name (bu) << " _d (void) const;\n\n"; - return 0; -} - -int -be_visitor_union_discriminant_ch::visit_predefined_type (be_predefined_type - *node) -{ - TAO_OutStream *os; // output stream - be_union *bu = - this->ctx_->be_node_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - os = this->ctx_->stream (); - - os->indent (); - // the set method - *os << "void _d (" << bt->nested_type_name (bu) << ");" << be_nl; - // the get method - *os << bt->nested_type_name (bu) << " _d (void) const;\n\n"; - return 0; -} - -int -be_visitor_union_discriminant_ch::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_discriminant_ch::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/discriminant_ci.cpp b/TAO/TAO_IDL/be/be_visitor_union/discriminant_ci.cpp deleted file mode 100644 index 100c54c65c3..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/discriminant_ci.cpp +++ /dev/null @@ -1,215 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// discriminant_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for discriminant of the union. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, discriminant_ci, "$Id$") - - -// ************************************************************************* -// be_visitor_discriminant_ci - visitor for discriminant in client inline file -// ************************************************************************* - -be_visitor_union_discriminant_ci::be_visitor_union_discriminant_ci -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_union_discriminant_ci::~be_visitor_union_discriminant_ci (void) -{ -} - -int -be_visitor_union_discriminant_ci::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - be_union *bu = - this->ctx_->be_node_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - os = this->ctx_->stream (); - - // now check if we need to generate the _default () method - be_union::DefaultValue dv; - if (bu->default_value (dv) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_discriminant_ci::" - "visit_enum - " - "computing default value failed\n"), - -1); - } - if ((dv.computed_ != 0) && (bu->default_index () == -1)) - { - // only if all cases are not covered AND there is no explicit - // default, we get the _default () method - os->indent (); - *os << "// the implicit _default () method" << be_nl; - *os << "ACE_INLINE void " << be_nl - << bu->name () << "::_default ()" << be_nl - << "{" << be_idt_nl - << "this->disc_ = "; - switch (bu->udisc_type ()) - { - case AST_Expression::EV_short: - *os << dv.u.short_val; - break; - case AST_Expression::EV_ushort: - *os << dv.u.ushort_val; - break; - case AST_Expression::EV_long: - *os << dv.u.long_val; - break; - case AST_Expression::EV_ulong: - *os << dv.u.ulong_val; - break; - case AST_Expression::EV_char: - os->print ("%d", dv.u.char_val); - break; - case AST_Expression::EV_bool: - *os << dv.u.bool_val; - break; - case AST_Expression::EV_any: - // The discriminant is an enum. Some compilers will - // not accept a numeric value assigned to this - // discriminant, so we must generate the string name. - { - be_type* dt = - be_type::narrow_from_decl (bu->disc_type ()); - if (dt == 0) - return -1; - - // Find where was the enum defined, if it was defined in the globa - // scope, then it is easy to generate the enum values.... - be_scope* scope = - be_scope::narrow_from_scope (dt->defined_in ()); - if (scope == 0) - { - *os << node->value_to_name (dv.u.enum_val); - return 0; - } - - // The function value_to_name() takes care of adding - // any necessary scoping to the output. - *os << node->value_to_name (dv.u.enum_val); - break; - } - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - // unimplemented - default: - // error caught earlier. - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_discriminant_ci::" - "visit_enum - " - "bad or unimplemented discriminant type\n"), - -1); - } - *os << ";" << be_uidt_nl << "}\n\n"; - } - - os->indent (); - // the set method - *os << "// accessor to set the discriminant" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::_d (" << bt->name () - << " discval)" << be_nl - << "{" << be_idt_nl - << "this->disc_ = discval;" << be_uidt_nl - << "}" << be_nl; - - // the get method - *os << "// accessor to get the discriminant" << be_nl - << "ACE_INLINE " << bt->name () << be_nl - << bu->name () << "::_d (void) const" << be_nl - << "{" << be_idt_nl - << "return this->disc_;" << be_uidt_nl - << "}\n\n"; - return 0; -} - -int -be_visitor_union_discriminant_ci::visit_predefined_type (be_predefined_type - *node) -{ - TAO_OutStream *os; // output stream - be_union *bu = - this->ctx_->be_node_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - os = this->ctx_->stream (); - - os->indent (); - // the set method - *os << "// accessor to set the discriminant" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::_d (" << bt->name () - << " discval)" << be_nl - << "{" << be_idt_nl - << "this->disc_ = discval;" << be_uidt_nl - << "}" << be_nl; - - // the get method - *os << "// accessor to get the discriminant" << be_nl - << "ACE_INLINE " << bt->name () << be_nl - << bu->name () << "::_d (void) const" << be_nl - << "{" << be_idt_nl - << "return this->disc_;" << be_uidt_nl - << "}\n\n"; - return 0; -} - -int -be_visitor_union_discriminant_ci::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_discriminant_ci::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - this->ctx_->alias (0); - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/discriminant_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union/discriminant_cs.cpp deleted file mode 100644 index 79f75f66a28..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/discriminant_cs.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// discriminant_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for discriminant of the union -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, discriminant_cs, "$Id$") - - -// ************************************************************************* -// be_visitor_discriminant_cs - visitor for discriminant in client stubs -// ************************************************************************* - -be_visitor_union_discriminant_cs::be_visitor_union_discriminant_cs -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_union_discriminant_cs::~be_visitor_union_discriminant_cs (void) -{ -} - -int -be_visitor_union_discriminant_cs::visit_enum (be_enum *node) -{ - be_union *bu = - this->ctx_->be_node_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // generate the typecode for the enum - ctx.state (TAO_CodeGen::TAO_ENUM_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_discriminant_cs::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_discriminant_cs::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/union.cpp b/TAO/TAO_IDL/be/be_visitor_union/union.cpp deleted file mode 100644 index 2b04aff5d46..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/union.cpp +++ /dev/null @@ -1,122 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// union.cpp -// -// = DESCRIPTION -// Generic visitor generating code for Unions -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, union, "$Id$") - - -// generic struct visitor -be_visitor_union::be_visitor_union (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_union::~be_visitor_union (void) -{ -} - -// visit the Union node and its scope -int -be_visitor_union::visit_union (be_union *) -{ - return -1; // must be overriden -} - -int -be_visitor_union::visit_union_branch (be_union_branch *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_UNION_PUBLIC_CH: - ctx.state (TAO_CodeGen::TAO_UNION_PUBLIC_CH); - break; - case TAO_CodeGen::TAO_UNION_PRIVATE_CH: - ctx.state (TAO_CodeGen::TAO_UNION_PRIVATE_CH); - break; - case TAO_CodeGen::TAO_UNION_PUBLIC_CI: - ctx.state (TAO_CodeGen::TAO_UNION_PUBLIC_CI); - break; - case TAO_CodeGen::TAO_UNION_PUBLIC_CS: - ctx.state (TAO_CodeGen::TAO_UNION_PUBLIC_CS); - break; - case TAO_CodeGen::TAO_UNION_PUBLIC_ASSIGN_CS: - ctx.state (TAO_CodeGen::TAO_UNION_PUBLIC_ASSIGN_CS); - break; - case TAO_CodeGen::TAO_UNION_PUBLIC_RESET_CS: - ctx.state (TAO_CodeGen::TAO_UNION_PUBLIC_RESET_CS); - break; - case TAO_CodeGen::TAO_UNION_PUBLIC_ACCESS_CS: - ctx.state (TAO_CodeGen::TAO_UNION_PUBLIC_ACCESS_CS); - break; - case TAO_CodeGen::TAO_UNION_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_BRANCH_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_UNION_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_UNION_BRANCH_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_UNION_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_BRANCH_CDR_OP_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union::" - "visit_union_branch - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union::" - "visit_union_branch - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union::" - "visit_union_branch - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp deleted file mode 100644 index b3d8de89394..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/union_ch.cpp +++ /dev/null @@ -1,238 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// union_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Unions in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, union_ch, "$Id$") - - -// ****************************************************** -// for client header -// ****************************************************** - -be_visitor_union_ch::be_visitor_union_ch (be_visitor_context *ctx) - : be_visitor_union (ctx) -{ -} - -be_visitor_union_ch::~be_visitor_union_ch (void) -{ -} - -// visit the Union node and its scope -int be_visitor_union_ch::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - - if (!node->cli_hdr_gen () && !node->imported ()) // not already generated and - // not imported - { - os = this->ctx_->stream (); - - // generate the ifdefined macro for the union type - os->gen_ifdef_macro (node->flatname ()); - os->indent (); // start with the current indentation level - *os << "class " << idl_global->export_macro () << " " - << node->local_name () << ": public TAO_Base_Union " << be_nl - << "{" << be_nl - << "public:" << be_idt_nl - - // generate default and copy constructors - << node->local_name () << " (void); // default constructor" << be_nl - << node->local_name () << " (const " << node->local_name () - << " &); // copy constructor" << be_nl - // generate destructor - << "~" << node->local_name () << " (void); // destructor" << be_nl - // generate assignment operator - << node->local_name () << " &operator= (const " - << node->local_name () << " &); // copy constructor\n\n"; - - // retrieve the disriminant type - bt = be_type::narrow_from_decl (node->disc_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ch::" - "visit_union - " - "bad disciminant type\n"), -1); - } - - // the discriminant type may have to be defined here if it was an enum - // declaration inside of the union statement. - - ctx.state (TAO_CodeGen::TAO_UNION_DISCTYPEDEFN_CH); // set current code - // gen state - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ch::" - "visit_union - " - "bad visitor\n"), -1); - } - - if (bt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ch::" - " visit_union - " - "codegen for discriminant failed\n"), -1); - } - delete visitor; - - // now generate the public defn for the union branch members. For this, - // set our state to reflect what we are aiming to do - this->ctx_->state (TAO_CodeGen::TAO_UNION_PUBLIC_CH); // set current code - // gen state - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ch::" - "visit_union - " - "codegen for public defn of union members\n"), - -1); - } - - // now check if we need to generate the _default () method - be_union::DefaultValue dv; - if (node->default_value (dv) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ch::" - "visit_union - " - "computing default value failed\n"), - -1); - } - if ((dv.computed_ != 0) && (node->default_index () == -1)) - { - // only if all cases are not covered AND there is no explicit - // default, we get the _default () method - os->indent (); - *os << "void _default ();\n"; - } - - // now generate the private data members of the union - os->decr_indent (); - *os << "private:\n"; - os->incr_indent (); - *os << bt->nested_type_name (node) << " disc_;" << be_nl; // emit the - // ACE_NESTED_CLASS macro - - // the members are inside of a union - *os << "union" << be_nl; - *os << "{\n"; - os->incr_indent (0); - this->ctx_->state (TAO_CodeGen::TAO_UNION_PRIVATE_CH); // set current - // code gen state - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ch::" - "visit_union - " - "codegen for private members of union\n"), -1); - } - - os->decr_indent (); - *os << "} u_; // end of union" << be_nl; - - // the reset method (TAO extension) - *os << "// TAO extensions" << be_nl; - *os << "void _reset (" << bt->nested_type_name (node) - << ", CORBA::Boolean);" << be_nl; - *os << "// Frees any allocated storage" << be_nl << be_nl; - // the virtual overloaded _discriminant method - *os << "virtual void *_discriminant (void);" << be_nl; - *os << "// returns pointer to the discriminant" << be_nl << be_nl; - // the overloaded virtual reset method - *os << "virtual void _reset (void);" << be_nl; - *os << "// calls the above reset with finalize=1" << be_nl << be_nl; - // the _access method - *os << "virtual void *_access (CORBA::Boolean flag);" << be_nl; - *os << "// accesses the right data member. " - << "Also will allocate on TRUE flag" << be_nl << be_uidt_nl; - *os << "}; // " << node->name () << "\n\n"; - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_TYPECODE_DECL); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ch::" - "visit_union - " - "TypeCode declaration failed\n" - ), -1); - } - - - os->gen_endif (); - - // generate the ifdefined macro for the _var type - os->gen_ifdef_macro (node->flatname (), "_var"); - // generate var defn - if (node->gen_var_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ch::" - "visit_union - " - "codegen for _var\n"), -1); - } - os->gen_endif (); - - // generate the ifdefined macro for the array type - os->gen_ifdef_macro (node->flatname (), "_out"); - // a class is generated for an out defn only for a variable length struct - if (node->size_type () == be_decl::VARIABLE) - { - if (node->gen_out_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ch::" - "visit_union - " - "codegen for _out\n"), -1); - } - } - else - { - os->indent (); - *os << "typedef " << node->local_name () << " &" << node->local_name - () << "_out;\n\n"; - } - os->gen_endif (); - - node->cli_hdr_gen (I_TRUE); - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/union_ci.cpp b/TAO/TAO_IDL/be/be_visitor_union/union_ci.cpp deleted file mode 100644 index 8790e6a339b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/union_ci.cpp +++ /dev/null @@ -1,160 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// union_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Union in the client inline file -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, union_ci, "$Id$") - - -// ****************************************************** -// for client inline -// ****************************************************** - -be_visitor_union_ci::be_visitor_union_ci (be_visitor_context *ctx) - : be_visitor_union (ctx) -{ -} - -be_visitor_union_ci::~be_visitor_union_ci (void) -{ -} - -// visit the Union node and its scope -int be_visitor_union_ci::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - - if (!node->cli_inline_gen () && !node->imported ()) - { - os = this->ctx_->stream (); - - *os << "// *************************************************************" - << be_nl; - *os << "// Inline operations for union " << node->name () << be_nl; - *os << "// *************************************************************\n\n"; - - // generate the default constructor and the destructor here - os->indent (); - *os << "// destructor" << be_nl - << "ACE_INLINE" << be_nl - << node->name () << "::~" << node->local_name () << " (void)" << be_nl - << "{" << be_idt_nl - << "// finalize" << be_nl - << "this->_reset (this->disc_, 1);" << be_uidt_nl - << "}" << be_nl << be_nl; - - // the virtual overloaded _reset method - *os << "// this reset method is used by the decoding engine" << be_nl; - *os << "ACE_INLINE void" << be_nl - << node->name () << "::_reset (void)" << be_nl - << "{" << be_idt_nl - << "this->_reset (this->disc_, 1);" << be_nl - << "ACE_OS::memcpy (&this->u_, 0, sizeof (this->u_));" << be_uidt_nl - << "}" << be_nl << be_nl; - - // the virtual overloaded _discriminant method - *os << "// returns pointer to the discriminant" << be_nl; - *os << "ACE_INLINE void *" << be_nl - << node->name () << "::_discriminant (void)" << be_nl - << "{" << be_idt_nl - << "return &this->disc_;" << be_uidt_nl - << "}\n\n"; - - // the discriminant type may have to be defined here if it was an enum - // declaration inside of the union statement. - - bt = be_type::narrow_from_decl (node->disc_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ci::" - "visit_union - " - "bad discriminant type\n"), -1); - } - - ctx.state (TAO_CodeGen::TAO_UNION_DISCTYPEDEFN_CI); // set current code - // gen state - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ci::" - "visit_union - " - "bad visitor\n"), -1); - } - // generate code for the discriminant - if (bt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ci::" - "visit union - " - "codegen for discrminant failed\n"), -1); - } - - // now generate the implementation of the access methods for the - // union. For this set our state - this->ctx_->state (TAO_CodeGen::TAO_UNION_PUBLIC_CI); - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ci::" - "visit_union - " - "codegen for scope failed\n"), -1); - } - - // generate the ifdefined macro for the array type - os->gen_ifdef_macro (node->flatname (), "_var"); - if (node->gen_var_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ci::" - "visit_union - " - "codegen for _var failed\n"), -1); - } - os->gen_endif (); - - // generate the ifdefined macro for the array type then generate the _out - // impl - os->gen_ifdef_macro (node->flatname (), "_out"); - if (node->size_type () == be_decl::VARIABLE - && node->gen_out_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_ci::" - "visit_union - " - "codegen for _out failed\n"), -1); - } - os->gen_endif (); - - node->cli_inline_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp deleted file mode 100644 index d739655b4f2..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union/union_cs.cpp +++ /dev/null @@ -1,234 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// union_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Unions in the client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union.h" - -ACE_RCSID(be_visitor_union, union_cs, "$Id$") - - -// ****************************************************** -// for client stubs -// ****************************************************** - -be_visitor_union_cs::be_visitor_union_cs (be_visitor_context *ctx) - : be_visitor_union (ctx) -{ -} - -be_visitor_union_cs::~be_visitor_union_cs (void) -{ -} - -// visit the Union_cs node and its scope -int be_visitor_union_cs::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - be_type *bt; // for discriminant type - - if (!node->cli_stub_gen () && !node->imported ()) - { - os = this->ctx_->stream (); - - be_visitor_context ctx (*this->ctx_); - // the discriminant type may have to be defined here if it was an enum - // declaration inside of the union statement. We need to generate its - // typecode - - bt = be_type::narrow_from_decl (node->disc_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cs::" - "visit_union - " - "bad discriminant type\n"), -1); - } - - ctx.state (TAO_CodeGen::TAO_UNION_DISCTYPEDEFN_CS); // set current code - // gen state - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cs::" - "visit_union - " - "bad visitor\n"), -1); - } - // generate code for the discriminant - if (bt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cs::" - "visit union - " - "codegen for discrminant failed\n"), -1); - } - - // first generate code for any of the members (if required, e.g., - // anonymous sequences, structs, unions, arrays) - this->ctx_->state (TAO_CodeGen::TAO_UNION_PUBLIC_CS); // set current code - // gen state - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cs" - "visit_union - " - "codegen for scope failed\n"), -1); - } - - // now generate the operations on the union such as the copy constructor - // and the assignment operator - - *os << "// *************************************************************" - << be_nl; - *os << "// Operations for union " << node->name () << be_nl; - *os << "// *************************************************************\n\n"; - - // generate the copy constructor and the assignment operator here - os->indent (); - *os << "// default constructor" << be_nl - << node->name () << "::" << node->local_name () << " (void)" << be_nl - << " : TAO_Base_Union ()" << be_nl - << "{" << be_idt_nl - << "ACE_OS::memset (&this->disc_, 0, sizeof (this->disc_));" << be_nl - << "ACE_OS::memset (&this->u_, 0, sizeof (this->u_));" << be_uidt_nl - << "}" << be_nl << be_nl; - - this->ctx_->state (TAO_CodeGen::TAO_UNION_PUBLIC_ASSIGN_CS); - - *os << "// copy constructor" << be_nl; - *os << node->name () << "::" << node->local_name () - << " (const " << node->name () << " &u)" << be_nl - << " : TAO_Base_Union ()" << be_nl; - *os << "{" << be_idt_nl; - *os << "this->disc_ = u.disc_;" << be_nl; - // now switch based on the disc value - *os << "switch (this->disc_)" << be_nl; - *os << "{\n"; - os->incr_indent (0); - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cs" - "visit_union - " - "codegen for copy ctor failed\n"), -1); - } - - os->decr_indent (); - *os << "}\n"; - os->decr_indent (); - *os << "}\n\n"; - - this->ctx_->state (TAO_CodeGen::TAO_UNION_PUBLIC_ASSIGN_CS); - - // assignment operator - os->indent (); - *os << "// assignment operator" << be_nl; - *os << node->name () << " &" << be_nl; // return type - *os << node->name () << "::operator= (const " << - node->name () << " &u)" << be_nl; - *os << "{\n"; - os->incr_indent (); - // first reset and set the discriminant - *os << "this->_reset (u.disc_, 0);" << be_nl; - *os << "this->disc_ = u.disc_;" << be_nl; - // now switch based on the disc value - *os << "switch (this->disc_)" << be_nl; - *os << "{\n"; - os->incr_indent (0); - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cs" - "visit_union - " - "codegen for assign op failed\n"), -1); - } - - os->decr_indent (); - *os << "}" << be_nl; - *os << "return *this;\n"; - os->decr_indent (); - *os << "}\n\n"; - - // the reset method - this->ctx_->state (TAO_CodeGen::TAO_UNION_PUBLIC_RESET_CS); - os->indent (); - *os << "// reset method to reset old values of a union" << be_nl; - *os << "void " << node->name () << "::_reset (" << bt->name () - << ", CORBA::Boolean finalize)" << be_nl; - *os << "{" << be_idt_nl; - *os << "switch (this->disc_)" << be_nl; - *os << "{" << be_idt_nl; - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cs" - "visit_union - " - "codegen for reset failed\n"), -1); - } - - *os << be_uidt_nl << "}" << be_uidt_nl - << "}\n\n"; - - // the access method - os->indent (); - *os << "// the virtual overloaded access method" << be_nl; - *os << "void *" << node->name () << "::_access (" - << " CORBA::Boolean alloc_flag)" << be_nl; - *os << "{" << be_idt_nl; - *os << "switch (this->disc_)" << be_nl; - *os << "{" << be_idt_nl; - this->ctx_->state (TAO_CodeGen::TAO_UNION_PUBLIC_ACCESS_CS); - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cs" - "visit_union - " - "codegen for access failed\n"), -1); - } - - *os << be_uidt_nl << "}" << be_nl; - *os << "return 0; // default" << be_uidt_nl - << "}\n\n"; - - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_TYPECODE_DEFN); - ctx.sub_state (TAO_CodeGen::TAO_TC_DEFN_TYPECODE); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor || (node->accept (visitor) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cs::" - "visit_union - " - "TypeCode definition failed\n" - ), -1); - } - - - node->cli_stub_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch.cpp deleted file mode 100644 index 0898d4cc7ad..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_union_branch.cpp -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Union_Branch" node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -// include all the individual files -#include "be_visitor_union_branch/private_ch.cpp" -#include "be_visitor_union_branch/public_assign_cs.cpp" -#include "be_visitor_union_branch/public_reset_cs.cpp" -#include "be_visitor_union_branch/public_access_cs.cpp" -#include "be_visitor_union_branch/public_ch.cpp" -#include "be_visitor_union_branch/public_ci.cpp" -#include "be_visitor_union_branch/public_cs.cpp" -#include "be_visitor_union_branch/cdr_op_ch.cpp" -#include "be_visitor_union_branch/cdr_op_ci.cpp" -#include "be_visitor_union_branch/cdr_op_cs.cpp" - -ACE_RCSID(be, be_visitor_union_branch, "$Id$") diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_ch.cpp deleted file mode 100644 index 74108181d13..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_ch.cpp +++ /dev/null @@ -1,295 +0,0 @@ - -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Visitor generating CDR operator declarator for union_branch in the client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -ACE_RCSID(be_visitor_union_branch, cdr_op_ch, "$Id$") - - -// ********************************************** -// visitor for union_branch in the client header file -// ********************************************** - -// constructor -be_visitor_union_branch_cdr_op_ch::be_visitor_union_branch_cdr_op_ch (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_union_branch_cdr_op_ch::~be_visitor_union_branch_cdr_op_ch (void) -{ -} - -// visit the union_branch node -int -be_visitor_union_branch_cdr_op_ch::visit_union_branch (be_union_branch *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_union_branch - " - "Bad union_branch type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_union_branch - " - "codegen for union_branch type failed\n" - ), -1); - } - - return 0; -} - -// =visit operations on all possible data types that a union_branch can be - -// visit array type -int -be_visitor_union_branch_cdr_op_ch::visit_array (be_array *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // this is the case for anonymous arrays. - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the struct declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CDR_OP_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} - -// visit enum type -int -be_visitor_union_branch_cdr_op_ch::visit_enum (be_enum *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} - -// visit sequence type -int -be_visitor_union_branch_cdr_op_ch::visit_sequence (be_sequence *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the sequence declaration - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} - -// visit structure type -int -be_visitor_union_branch_cdr_op_ch::visit_structure (be_structure *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the struct declaration - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} - -// visit typedefed type -int -be_visitor_union_branch_cdr_op_ch::visit_typedef (be_typedef *node) -{ - // save the node for use in code generation and - // indicate that the union_branch of the union_branch node - // is a typedefed quantity - this->ctx_->alias (node); - - // make a decision based on the primitive base type - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_union_branch_cdr_op_ch::visit_union (be_union *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ch::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_ci.cpp deleted file mode 100644 index 081214f15c7..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_ci.cpp +++ /dev/null @@ -1,813 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// union_branch_cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Union_Branch in the client stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -ACE_RCSID(be_visitor_union_branch, cdr_op_ci, "$Id$") - - -// ********************************************** -// visitor for union_branch in the client stubs file -// ********************************************** - -// constructor -be_visitor_union_branch_cdr_op_ci::be_visitor_union_branch_cdr_op_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_union_branch_cdr_op_ci::~be_visitor_union_branch_cdr_op_ci (void) -{ -} - -// visit the union_branch node -int -be_visitor_union_branch_cdr_op_ci::visit_union_branch (be_union_branch *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_union_branch - " - "Bad union_branch type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_union_branch - " - "codegen for union_branch type failed\n" - ), -1); - } - return 0; -} - -// visit array -int -be_visitor_union_branch_cdr_op_ci::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the union_branch node - be_union_branch *f = this->ctx_->be_node_as_union_branch (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_array - " - "cannot retrieve union_branch node\n" - ), -1); - } - - // for anonymous arrays, the type name has a _ prepended. We compute the - // fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - // save the node's local name and full name in a buffer for quick - // use later on - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscore - // prepended to our local name. This needs to be inserted after - // the parents's name - if (node->is_nested ()) - { - be_decl *parent = - be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", node->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", node->fullname ()); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << fname << " _tao_union_tmp;" << be_nl - << fname << "_forany " << be_idt_nl - << "_tao_union_helper (_tao_union_tmp);" << be_uidt_nl - << "result = strm >> _tao_union_helper;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." << f->local_name () << "(" - << "_tao_union_tmp);" << be_uidt; - return 0; - - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << fname << "_forany " << be_idt_nl - << "_tao_union_tmp (_tao_union." - << f->local_name () << " ());" << be_uidt_nl - << "result = strm << _tao_union_tmp;"; - return 0; - - case TAO_CodeGen::TAO_CDR_SCOPE: - // This is done in cdr_op_cs.cpp and hacked into *.i. - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_array - " - "bad sub state\n" - ), -1); - } - - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // this is the case for anonymous arrays. - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit enum type -int -be_visitor_union_branch_cdr_op_ci::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the union_branch node - be_union_branch *f = this->ctx_->be_node_as_union_branch (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_array - " - "cannot retrieve union_branch node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << node->name () << " _tao_union_tmp" - << ";" << be_nl - << "result = strm >> _tao_union_tmp;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." << f->local_name () << " (" - << "_tao_union_tmp);" << be_uidt; - return 0; - - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "strm << _tao_union." << f->local_name () << " ();"; - return 0; - - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_enum - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // generate the typcode for enums - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit interface type -int -be_visitor_union_branch_cdr_op_ci::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // retrieve the union_branch node - be_union_branch *f = this->ctx_->be_node_as_union_branch (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_interface - " - "cannot retrieve union_branch node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << node->name () << "_var _tao_union_tmp;" << be_nl - << "result = strm >> _tao_union_tmp;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." - << f->local_name () << " (_tao_union_tmp.in ());" << be_uidt; - break; - - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "result = strm << _tao_union." - << f->local_name () << " ();"; - break; - - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done because an interface cannit be declared inside a - // structure - break; - - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_interface - " - "bad sub state\n" - ), -1); - } - return 0; -} - -// visit interface forward type -int -be_visitor_union_branch_cdr_op_ci::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // retrieve the union_branch node - be_union_branch *f = this->ctx_->be_node_as_union_branch (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_interface_fwd - " - "cannot retrieve union_branch node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << node->name () << "_var _tao_union_tmp;" << be_nl - << "result = strm >> _tao_union_tmp;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." - << f->local_name () << " (_tao_union_tmp.in ());" << be_uidt; - break; - - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "result = strm << _tao_union." - << f->local_name () << " ();"; - break; - - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done because an interface cannit be declared inside a - // structure - break; - - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_interface_fwd - " - "bad sub state\n" - ), -1); - } - return 0; -} - -// visit predefined type -int -be_visitor_union_branch_cdr_op_ci::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the union_branch node - be_union_branch *f = this->ctx_->be_node_as_union_branch (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_predefined_type - " - "cannot retrieve union_branch node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - - if (node->pt () == AST_PredefinedType::PT_pseudo) - { - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "TypeCode")) - *os << "CORBA::TypeCode_var _tao_union_tmp;" << be_nl; - - else if (!ACE_OS::strcmp (node->local_name ()->get_string (), "Object")) - *os << "CORBA::Object_var _tao_union_tmp;" << be_nl; - - //@@TODO - case for ValueBase. - - *os << "result = strm >> _tao_union_tmp.out ();" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." << f->local_name () << " (_tao_union_tmp.in ());" - << be_uidt; - } - else if (node->pt () == AST_PredefinedType::PT_char) - *os << "CORBA::Char _tao_union_tmp;" << be_nl - << "CORBA::Any::to_char _tao_union_helper " - << "(_tao_union_tmp);" << be_nl - << "result = strm >> _tao_union_helper;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." << f->local_name () - << "(_tao_union_tmp);" << be_uidt; - else if (node->pt () == AST_PredefinedType::PT_wchar) - *os << "CORBA::WChar _tao_union_tmp;" << be_nl - << "CORBA::Any::to_wchar _tao_union_helper " - << "(_tao_union_tmp);" << be_nl - << "result = strm >> _tao_union_helper;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." << f->local_name () - << "(_tao_union_tmp);" << be_uidt; - else if (node->pt () == AST_PredefinedType::PT_octet) - *os << "CORBA::Octet _tao_union_tmp;" << be_nl - << "CORBA::Any::to_octet _tao_union_helper " - << "(_tao_union_tmp);" << be_nl - << "result = strm >> _tao_union_helper;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." << f->local_name () - << "(_tao_union_tmp);" << be_uidt; - else if (node->pt () == AST_PredefinedType::PT_boolean) - *os << "CORBA::Boolean _tao_union_tmp;" << be_nl - << "CORBA::Any::to_boolean _tao_union_helper " - << "(_tao_union_tmp);" << be_nl - << "result = strm >> _tao_union_helper;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." << f->local_name () - << "(_tao_union_tmp);" << be_uidt; - else - *os << node->name () << " _tao_union_tmp;" << be_nl - << "result = strm >> _tao_union_tmp;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." << f->local_name () - << " (_tao_union_tmp);" << be_uidt; - break; - - case TAO_CodeGen::TAO_CDR_OUTPUT: - - *os << "result = "; - if (node->pt () == AST_PredefinedType::PT_pseudo) - *os << "strm << _tao_union." << f->local_name () << " ();"; - else if (node->pt () == AST_PredefinedType::PT_char) - *os << "strm << CORBA::Any::from_char (_tao_union." - << f->local_name () << " ());"; - else if (node->pt () == AST_PredefinedType::PT_wchar) - *os << "strm << CORBA::Any::from_wchar (_tao_union." - << f->local_name () << " ());"; - else if (node->pt () == AST_PredefinedType::PT_octet) - *os << "strm << CORBA::Any::from_octet (_tao_union." - << f->local_name () << " ());"; - else if (node->pt () == AST_PredefinedType::PT_boolean) - *os << "strm << CORBA::Any::from_boolean (_tao_union." - << f->local_name () << " ());"; - else - *os << "strm << _tao_union." << f->local_name () << " ();"; - break; - - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_array - " - "bad sub state\n" - ), -1); - } - - return 0; -} - -int -be_visitor_union_branch_cdr_op_ci::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the union_branch node - be_union_branch *f = this->ctx_->be_node_as_union_branch (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_sequence - " - "cannot retrieve union_branch node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - { - // If the typedef'd sequence is included from another - // file, node->name() won't work. The following works - // for all typedefs, external or not. - be_typedef *td = this->ctx_->alias (); - - if (td) - { - *os << td->name (); - } - else - { - *os << node->name (); - } - - *os << " _tao_union_tmp;" << be_nl - << "result = strm >> _tao_union_tmp;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." - << f->local_name () << " (_tao_union_tmp);" << be_uidt; - return 0; - } - - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "result = strm << _tao_union." - << f->local_name () << " ();"; - return 0; - - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_sequence - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef - && node->is_child (this->ctx_->scope ())) - // not a typedef AND - // node is defined inside the structure - { - // Anonymous sequence - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit string type -int -be_visitor_union_branch_cdr_op_ci::visit_string (be_string *) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the union_branch node - be_union_branch *f = this->ctx_->be_node_as_union_branch (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_string - " - "cannot retrieve union_branch node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "CORBA::String_var _tao_union_tmp;" << be_nl - << "result = strm >> _tao_union_tmp.out ();" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." - << f->local_name () << " (_tao_union_tmp);" << be_uidt; - break; - - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "result = strm << _tao_union." - << f->local_name () << " ();"; - break; - - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_array - " - "bad sub state\n" - ), -1); - } - - return 0; -} - -// visit structure type -int -be_visitor_union_branch_cdr_op_ci::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // retrieve the union_branch node - be_union_branch *f = this->ctx_->be_node_as_union_branch (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_structure - " - "cannot retrieve union_branch node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << node->name () << " _tao_union_tmp;" << be_nl - << "result = strm >> _tao_union_tmp;" << be_nl - << "if (result)" << be_idt_nl - << "_tao_union." << f->local_name () - << " (_tao_union_tmp);" << be_uidt; - return 0; - - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "result = strm << _tao_union." - << f->local_name () << " ();"; - return 0; - - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_structure - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit typedef type -int -be_visitor_union_branch_cdr_op_ci::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_union_branch_cdr_op_ci::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the union_branch node - be_union_branch *f = this->ctx_->be_node_as_union_branch (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_union - " - "cannot retrieve union_branch node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "result = strm >> _tao_union." - << f->local_name () << " ();"; - return 0; - - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "result = strm << _tao_union." - << f->local_name () << " ();"; - return 0; - - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_union - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for union - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_ci::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_cs.cpp deleted file mode 100644 index 37bbb15f6a4..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/cdr_op_cs.cpp +++ /dev/null @@ -1,285 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// union_branch_cdr_op_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Union_Branch in the client stubs file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -ACE_RCSID(be_visitor_union_branch, cdr_op_cs, "$Id$") - - -// ********************************************** -// visitor for union_branch in the client stubs file -// ********************************************** - -// constructor -be_visitor_union_branch_cdr_op_cs::be_visitor_union_branch_cdr_op_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_union_branch_cdr_op_cs::~be_visitor_union_branch_cdr_op_cs (void) -{ -} - -// visit the union_branch node -int -be_visitor_union_branch_cdr_op_cs::visit_union_branch (be_union_branch *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_union_branch - " - "Bad union_branch type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_union_branch - " - "codegen for union_branch type failed\n" - ), -1); - } - return 0; -} - -// visit array -int -be_visitor_union_branch_cdr_op_cs::visit_array (be_array *node) -{ - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // this is the case for anonymous arrays. - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CDR_OP_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit enum type -int -be_visitor_union_branch_cdr_op_cs::visit_enum (be_enum *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // generate the typcode for enums - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -int -be_visitor_union_branch_cdr_op_cs::visit_sequence (be_sequence *node) -{ - if (node->node_type () != AST_Decl::NT_typedef - && node->is_child (this->ctx_->scope ())) - // not a typedef AND - // node is defined inside the structure - { - // Anonymous sequence - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit structure type -int -be_visitor_union_branch_cdr_op_cs::visit_structure (be_structure *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit typedef type -int -be_visitor_union_branch_cdr_op_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_union_branch_cdr_op_cs::visit_union (be_union *node) -{ - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for union - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cdr_op_cs::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp deleted file mode 100644 index 3c1d6e42452..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp +++ /dev/null @@ -1,424 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// private_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Union branch for the private part of the -// class. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -ACE_RCSID(be_visitor_union_branch, private_ch, "$Id$") - - -// ********************************************** -// visitor for union_branch in the client header generating the private information -// ********************************************** - -// constructor -be_visitor_union_branch_private_ch::be_visitor_union_branch_private_ch (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_union_branch_private_ch::~be_visitor_union_branch_private_ch (void) -{ -} - -// visit the union_branch node -int -be_visitor_union_branch_private_ch::visit_union_branch (be_union_branch *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_union_branch - " - "Bad union_branch type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_union_branch - " - "codegen for union_branch type failed\n" - ), -1); - } - return 0; -} - -// =visit operations on all possible data types that a union_branch can be - -int -be_visitor_union_branch_private_ch::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_array - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // case of anonymous array in union - os->indent (); - *os << "_" << bt->local_name () << "_slice *" << ub->local_name () - << "_;\n"; - } - else - { - os->indent (); - *os << bt->nested_type_name (bu, "_slice") << " *" << ub->local_name () - << "_;\n"; - } - - return 0; -} - -int -be_visitor_union_branch_private_ch::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_enum - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - *os << bt->nested_type_name (bu) << " " << ub->local_name () << "_;\n"; - return 0; -} - -int -be_visitor_union_branch_private_ch::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_interface - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // C++ does not allow an object declaration inside a union. Hence we - // must have a pointer. This changes some of the methods. - // We use TAO_Object_Field_T<> so that _upcast() and _downcast() will work. - *os << "TAO_Object_Field_T<" - << bt->nested_type_name (bu, "") << ","; - // Must use another statement, nested_type_name has side effects... - *os << bt->nested_type_name (bu, "_var") - << "> *" << ub->local_name () << "_;\n"; - return 0; -} - -int -be_visitor_union_branch_private_ch::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_interface_fwd - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // C++ does not allow an object declaration inside a union. Hence we - // must have a pointer. This changes some of the methods. - // We use TAO_Object_Field_T<> so that _upcast() and _downcast() will work. - *os << "TAO_Object_Field_T<" - << bt->nested_type_name (bu, "") << ","; - // Must use another statement, nested_type_name has side effects... - *os << bt->nested_type_name (bu, "_var") - << "> *" << ub->local_name () << "_;\n"; - return 0; -} - -int -be_visitor_union_branch_private_ch::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_predefined_type - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (node->pt () == AST_PredefinedType::PT_pseudo) - { - // Cannot have an object inside of a union - os->indent (); // start from current indentation - // check if we are dealing with a CORBA::Object - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "Object")) - { - *os << "TAO_Object_Field_T<" - << bt->name () << "," - << bt->name () << "_var" - << "> *" << ub->local_name () << "_;\n"; - } - else - *os << bt->nested_type_name (bu, "_ptr") << " " << ub->local_name () - << "_;\n"; - } - else if (node->pt () == AST_PredefinedType::PT_any) - { - // Cannot have an object inside of a union. In addition, an Any is a - // variable data type - os->indent (); // start from current indentation - *os << bt->nested_type_name (bu) << " *" << ub->local_name () << - "_;\n"; - } - else - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bu) << " " << ub->local_name () << - "_;\n"; - } - return 0; -} - -int -be_visitor_union_branch_private_ch::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_sequence - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); - // C++ doesn't allow object instances inside unions, so we need a - // pointer - *os << bt->nested_type_name (bu) << " *" << ub->local_name () << "_;\n"; - return 0; -} - -int -be_visitor_union_branch_private_ch::visit_string (be_string *) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_string - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); - *os << "char *" << ub->local_name () << "_;\n"; - return 0; -} - -int -be_visitor_union_branch_private_ch::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_structure - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); - - // if we are variable sized, we need a pointer type - if (node->size_type () == be_type::VARIABLE) - { - *os << bt->nested_type_name (bu) << " *" << ub->local_name () << "_;\n"; - } - else - { - *os << bt->nested_type_name (bu) << " " << ub->local_name () << "_;\n"; - } - - return 0; -} - -int -be_visitor_union_branch_private_ch::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_union_branch_private_ch::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_private_ch::" - "visit_union - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); - // C++ doesn't allow instances of classes - *os << bt->nested_type_name (bu) << " *" << ub->local_name () << "_;\n"; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_access_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_access_cs.cpp deleted file mode 100644 index 04e57571655..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_access_cs.cpp +++ /dev/null @@ -1,439 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_access_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Union Branch in the client inline file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -ACE_RCSID(be_visitor_union_branch, public_access_cs, "$Id$") - - -// ***************************************************** -// visitor for union_branch in the client -// stubs file for the access method -// ***************************************************** - -// constructor -be_visitor_union_branch_public_access_cs:: -be_visitor_union_branch_public_access_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_union_branch_public_access_cs:: -~be_visitor_union_branch_public_access_cs (void) -{ -} - -// visit the union_branch node -int -be_visitor_union_branch_public_access_cs:: -visit_union_branch (be_union_branch *node) -{ - TAO_OutStream *os; - be_type *bt; // union_branch's type - - os = this->ctx_->stream (); - // first generate the type information - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cs::" - "visit_union_branch - " - "Bad union_branch type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - - for (unsigned long i = 0; - i < node->label_list_length (); - ++i) - { - // check if we are printing the default case - if (node->label (i)->label_kind () == AST_UnionLabel::UL_default) - *os << "default:"; - else - { - *os << "case "; - node->gen_label_value (os, i); - *os << ":"; - } - if (i == (node->label_list_length () - 1)) - *os << be_idt_nl; - else - *os << be_nl; - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cs::" - "visit_union_branch - " - "codegen for union_branch type failed\n" - ), -1); - } - return 0; -} - -// =visit operations on all possible data types that a union_branch can be - -int -be_visitor_union_branch_public_access_cs::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_access_cs::" - "visit_enum - " - "bad context information\n" - ), -1); - } - - // for anonymous arrays, the type name has a _ prepended. We compute the - // fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - // save the node's local name and full name in a buffer for quick use later - // on - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope prepended to - // our local name. This needs to be inserted after the parents's name - - if (bt->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (bt->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - bt->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", bt->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", bt->fullname ()); - } - - os = this->ctx_->stream (); - *os << "if (alloc_flag)" << be_idt_nl; - *os << "this->u_." << ub->local_name () << "_ = " << fname - << "_alloc ();" << be_uidt_nl; - *os << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_access_cs::visit_enum (be_enum *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_access_cs::" - "visit_enum - " - "bad context information\n" - ), -1); - } - TAO_OutStream *os = this->ctx_->stream (); - *os << "return &this->u_." << ub->local_name () << "_;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_access_cs::visit_interface (be_interface *node) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_access_cs::" - "visit_interface - " - "bad context information\n" - ), -1); - } - TAO_OutStream *os = this->ctx_->stream (); - *os << "if (alloc_flag)" << be_idt_nl; - *os << "ACE_NEW_RETURN (this->u_." << ub->local_name () << "_, " - << "(TAO_Object_Field_T<" - << bt->name () << "," - << bt->name () << "_var>), 0);" << be_uidt_nl; - *os << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_access_cs::visit_interface_fwd (be_interface_fwd *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_access_cs::" - "visit_interface - " - "bad context information\n" - ), -1); - } - TAO_OutStream *os = this->ctx_->stream (); - *os << "return (CORBA::Object_ptr) &this->u_." << ub->local_name () - << "_->inout ();" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_access_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_access_cs::" - "visit_interface - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - *os << "return &this->u_." << ub->local_name () << "_;" << be_uidt_nl; - break; - case AST_PredefinedType::PT_any: - *os << "if (alloc_flag)" << be_idt_nl; - *os << "this->u_." << ub->local_name () << "_ = new " << bt->name () - << ";" << be_uidt_nl; - *os << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl; - break; - case AST_PredefinedType::PT_void: - break; - default: - *os << "return &this->u_." << ub->local_name () << "_;" << be_uidt_nl; - } - return 0; -} - -int -be_visitor_union_branch_public_access_cs::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_access_cs::" - "visit_sequence - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - *os << "if (alloc_flag)" << be_idt_nl; - *os << "this->u_." << ub->local_name () << "_ = new " << bt->name () - << ";" << be_uidt_nl; - *os << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_access_cs::visit_string (be_string *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_access_cs::" - "visit_string - " - "bad context information\n" - ), -1); - } - TAO_OutStream *os = this->ctx_->stream (); - *os << "return &this->u_." << ub->local_name () << "_;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_access_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_access_cs::" - "visit_structure - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - if (bt->size_type () == be_type::VARIABLE) - { - *os << "if (alloc_flag)" << be_idt_nl; - *os << "this->u_." << ub->local_name () << "_ = new " << bt->name () - << ";" << be_uidt_nl; - *os << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl; - } - else - { - *os << "return &this->u_." << ub->local_name () << "_;" << be_uidt_nl; - } - - return 0; -} - -int -be_visitor_union_branch_public_access_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_access_cs::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_union_branch_public_access_cs::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_access_cs::" - "visit_union - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - *os << "if (alloc_flag)" << be_idt_nl; - *os << "this->u_." << ub->local_name () << "_ = new " << bt->name () - << ";" << be_uidt_nl; - *os << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp deleted file mode 100644 index d82862e40c1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp +++ /dev/null @@ -1,497 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_assign_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Union Branch for the assignment operator -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -ACE_RCSID(be_visitor_union_branch, public_assign_cs, "$Id$") - - -// ********************************************** -// visitor for union_branch in the client stubs file generating the code for -// the copy ctor and assignment operator -// ********************************************** - -// constructor -be_visitor_union_branch_public_assign_cs::be_visitor_union_branch_public_assign_cs -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_union_branch_public_assign_cs::~be_visitor_union_branch_public_assign_cs -(void) -{ -} - -// visit the union_branch node -int -be_visitor_union_branch_public_assign_cs::visit_union_branch (be_union_branch *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - // This visitor is used when we are generating the copy ctor and - // assignment operator for the union. - // Individual assignment of the members takes place inside a case - // statement because the type of member assigned is based on the value - // of the discriminant - os->indent (); - for (unsigned long i = 0; - i < node->label_list_length (); - ++i) - { - // check if we are printing the default case - if (node->label (i)->label_kind () == AST_UnionLabel::UL_default) - *os << "default:" << be_nl; - else - { - *os << "case "; - node->gen_label_value (os, i); - *os << ":" << be_nl; - } - } - *os << "{" << be_idt << "\n"; - - // first generate the type information - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_union_branch - " - "Bad union_branch type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_union_branch - " - "codegen for union_branch type failed\n" - ), -1); - } - *os << "}" << be_nl; - *os << "break;\n"; - return 0; -} - -// =visit operations on all possible data types that a union_branch can be - -int -be_visitor_union_branch_public_assign_cs::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_array - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // for anonymous arrays, the type name has a _ prepended. We compute the - // fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - // save the node's local name and full name in a buffer for quick use later - // on - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope prepended to - // our local name. This needs to be inserted after the parents's name - - if (bt->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (bt->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - bt->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", bt->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", bt->fullname ()); - } - - os->indent (); // start from current indentation - // set the discriminant to the appropriate label - *os << "// make a deep copy" << be_nl; - *os << "this->u_." << ub->local_name () - << "_ = " << fname - << "_dup (u.u_." - << ub->local_name () << "_);" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_assign_cs::visit_enum (be_enum *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_enum - " - "bad context information\n" - ), -1); - } - - TAO_OutStream *os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set the discriminant to the appropriate label - // valid label - *os << "// set the value" << be_nl - << "this->u_." << ub->local_name () << "_ = u.u_." - << ub->local_name () << "_;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_assign_cs::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_interface - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set the discriminant to the appropriate label - *os << "this->u_." << ub->local_name () - << "_ = new TAO_Object_Field_T<" - << bt->name () << "," - << bt->name () << "_var" - << "> (" << bt->name () << "::_duplicate (u.u_." - << ub->local_name () << "_->ptr ()));" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_assign_cs::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_interface_fwd - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set the discriminant to the appropriate label - *os << "this->u_." << ub->local_name () - << "_ = new TAO_Object_Field_T<" - << bt->name () << "," - << bt->name () << "_var" - << "> (" << bt->name () << "::_duplicate (u.u_." - << ub->local_name () << "_->ptr ()));" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_assign_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_predefined_type - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set the discriminant to the appropriate label - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - *os << "this->u_." << ub->local_name () << "_ = "; - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "Object")) - { - *os << "new TAO_Object_Field_T " - << "(CORBA::Object::_duplicate (u.u_." - << ub->local_name () << "_->ptr ()));" << be_uidt_nl; - } - else - { - *os << bt->name () << "::_duplicate (u.u_." - << ub->local_name () << "_);" << be_uidt_nl; - } - break; - case AST_PredefinedType::PT_any: - *os << "this->u_." << ub->local_name () << "_ = new " - << bt->name () << " (*u.u_." - << ub->local_name () << "_);" << be_uidt_nl; - break; - case AST_PredefinedType::PT_void: - break; - default: - *os << "// set the value" << be_nl - << "this->u_." << ub->local_name () << "_ = " - << "u.u_." << ub->local_name () << "_;" << be_uidt_nl; - break; - } - - return 0; -} - -int -be_visitor_union_branch_public_assign_cs::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_array - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set the discriminant to the appropriate label - *os << "this->u_." << ub->local_name () << "_ = new " - << bt->name () << " (*u.u_." - << ub->local_name () << "_);" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_assign_cs::visit_string (be_string *) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_array - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set the discriminant to the appropriate label - *os << "this->u_." << ub->local_name () << "_ = " - << "CORBA::string_dup (u.u_." - << ub->local_name () << "_);" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_assign_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_array - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set the discriminant to the appropriate label - if (bt->size_type () == be_type::VARIABLE) - { - *os << "this->u_." << ub->local_name () << "_ = new " - << bt->name () << " (*u.u_." - << ub->local_name () << "_);" << be_uidt_nl; - } - else - { - *os << "this->u_." << ub->local_name () << "_ = u.u_." - << ub->local_name () << "_;" << be_uidt_nl; - } - - return 0; -} - -int -be_visitor_union_branch_public_assign_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_union_branch_public_assign_cs::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_assign_cs::" - "visit_array - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set the discriminant to the appropriate label - *os << "this->u_." << ub->local_name () << "_ = new " - << bt->name () << " (*u.u_." - << ub->local_name () << "_);" << be_uidt_nl; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp deleted file mode 100644 index f2be1ad27d7..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp +++ /dev/null @@ -1,708 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Union_branch in the public part. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -ACE_RCSID(be_visitor_union_branch, public_ch, "$Id$") - - -// ********************************************** -// visitor for union_branch in the client header file -// ********************************************** - -// constructor -be_visitor_union_branch_public_ch::be_visitor_union_branch_public_ch -(be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_union_branch_public_ch::~be_visitor_union_branch_public_ch (void) -{ -} - -// visit the union_branch node -int -be_visitor_union_branch_public_ch::visit_union_branch (be_union_branch *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_union_branch - " - "Bad union_branch type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_union_branch - " - "codegen for union_branch type failed\n" - ), -1); - } - return 0; -} - -// =visit operations on all possible data types that a union_branch can be - -// visit array type -int -be_visitor_union_branch_public_ch::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch member - be_decl *bu = this->ctx_->scope (); // get the enclosing union node - be_type *bt; - - // check if we are visiting this via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_array - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // this is the case of an anonymous array inside a union - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the array declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - // now use this array as a "type" for the subsequent declarator - os->indent (); // start from current indentation - // the set method - *os << "void " << ub->local_name () << " (" - << "_" << bt->local_name () << ");// set" << be_nl; - // the get method - *os << "_" << bt->local_name () << "_slice * " << ub->local_name () - << " (void) const; // get method\n\n"; - } - else - { - // now use this array as a "type" for the subsequent declarator - os->indent (); // start from current indentation - // the set method - *os << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu) << ");// set" - << be_nl; - // the get method - *os << bt->nested_type_name (bu, "_slice *") << " " << ub->local_name () - << " (void) const; // get method\n\n"; - } - - return 0; -} - -// visit enum type -int -be_visitor_union_branch_public_ch::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch member - be_decl *bu = this->ctx_->scope (); // get the enclosing union node - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_enum - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_ENUM_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // now use this enum as a "type" for the subsequent declarator - os->indent (); // start from current indentation - // the set method - *os << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu) << ");// set" - << be_nl; - // the get method - *os << bt->nested_type_name (bu) << " " << ub->local_name () - << " (void) const; // get method\n\n"; - - return 0; -} - -// visit interface type -int -be_visitor_union_branch_public_ch::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_interface - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set method - *os << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu, "_ptr") - << ");// set" << be_nl; - // get method - *os << bt->nested_type_name (bu, "_ptr") << " " << ub->local_name () - << " (void) const; // get method\n\n"; - return 0; -} - -// visit interface forward type -int -be_visitor_union_branch_public_ch::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_interface_fwd - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set method - *os << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu, "_ptr") - << ");// set" << be_nl; - // get method - *os << bt->nested_type_name (bu, "_ptr") << " " << ub->local_name () - << " (void) const; // get method\n\n"; - return 0; -} - -#ifdef IDL_HAS_VALUETYPE - -// visit valuetype type -int -be_visitor_union_branch_public_ch::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_valuetype - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set method - *os << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu, "*") - << ");// set" << be_nl; - // get method - *os << bt->nested_type_name (bu, "*") << " " << ub->local_name () - << " (void) const; // get method\n\n"; - return 0; -} - -// visit valuetype forward type -int -be_visitor_union_branch_public_ch::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_valuetype_fwd - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set method - *os << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu, "*") - << ");// set" << be_nl; - // get method - *os << bt->nested_type_name (bu, "*") << " " << ub->local_name () - << " (void) const; // get method\n\n"; - return 0; -} - -#endif /* IDL_HAS_VALUETYPE */ - -// visit predefined type -int -be_visitor_union_branch_public_ch::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_predefined_type - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - // set method - *os << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu, "_ptr") << ");// set" << be_nl; - // get method - *os << bt->nested_type_name (bu, "_ptr") << " " << ub->local_name () - << " (void) const; // get method\n\n"; - break; - case AST_PredefinedType::PT_any: - // set method - *os << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu) << ");// set" << be_nl; - // get method (read-only) - *os << "const " << bt->nested_type_name (bu) << " " - << ub->local_name () << " (void) const; // get method\n\n"; - // get method (read/write) - *os << bt->nested_type_name (bu) << " " - << ub->local_name () << " (void); // get method\n\n"; - break; - case AST_PredefinedType::PT_void: - break; - default: - // set method - *os << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu) << ");// set" << be_nl; - // get method - *os << bt->nested_type_name (bu) << " " << ub->local_name () - << " (void) const; // get method\n\n"; - } - return 0; -} - -// visit sequence type -int -be_visitor_union_branch_public_ch::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_sequence - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the sequence declaration - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - os->indent (); - // set method - *os << "void " << ub->local_name () << " (const " - << bt->nested_type_name (bu) << " &);// set" << be_nl; - // read-only - *os << "const " << bt->nested_type_name (bu) << " &" - << ub->local_name () << " (void) const; // get method (read only)" - << be_nl; - // read/write - *os << bt->nested_type_name (bu) << " &" << ub->local_name () - << " (void); // get method (read/write only)\n\n"; - - return 0; -} - -// visit string type -int -be_visitor_union_branch_public_ch::visit_string (be_string *) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_string - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); - // three methods to set the string value - *os << "void " << ub->local_name () << " (char *); // set" << be_nl; - *os << "void " << ub->local_name () << " (const char *); // set" - << be_nl; - *os << "void " << ub->local_name () << " (const CORBA::String_var&); // set" - << be_nl; - //get method - *os << "const char *" << ub->local_name () - << " (void) const; // get method\n\n"; - return 0; -} - -// visit structure type -int -be_visitor_union_branch_public_ch::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_structure - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the sequence declaration - ctx.state (TAO_CodeGen::TAO_STRUCT_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_structure - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_structure - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - os->indent (); - // set method - *os << "void " << ub->local_name () << " (const " - << bt->nested_type_name (bu) << " &);// set" << be_nl - // read-only - << "const " << bt->nested_type_name (bu) << " &" - << ub->local_name () << " (void) const; // get method (read only)" - << be_nl - // read/write - << bt->nested_type_name (bu) << " &" << ub->local_name () - << " (void); // get method (read/write only)\n\n"; - - return 0; -} - -// visit typedefed type -int -be_visitor_union_branch_public_ch::visit_typedef (be_typedef *node) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - os->indent (); // start from current indentation level - this->ctx_->alias (node); // save the node for use in code generation and - // indicate that the union_branch of the union_branch node - // is a typedefed quantity - - // make a decision based on the primitive base type - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_spec_ch::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_union_branch_public_ch::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get union branch - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_union - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the union declaration - ctx.state (TAO_CodeGen::TAO_UNION_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ch::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - os->indent (); - // set method - *os << "void " << ub->local_name () << " (const " - << bt->nested_type_name (bu) << " &);// set" << be_nl - // read-only - << "const " << bt->nested_type_name (bu) << " &" - << ub->local_name () << " (void) const; // get method (read only)" - << be_nl - // read/write - << bt->nested_type_name (bu) << " &" << ub->local_name () - << " (void); // get method (read/write only)\n\n"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_ci.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_ci.cpp deleted file mode 100644 index 76e4e27d077..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_ci.cpp +++ /dev/null @@ -1,1016 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Union Branch in the client inline file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -ACE_RCSID(be_visitor_union_branch, public_ci, "$Id$") - - -// ***************************************************** -// visitor for union_branch in the client inline file -// ***************************************************** - -// constructor -be_visitor_union_branch_public_ci:: -be_visitor_union_branch_public_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_union_branch_public_ci:: -~be_visitor_union_branch_public_ci (void) -{ -} - -// visit the union_branch node -int -be_visitor_union_branch_public_ci:: -visit_union_branch (be_union_branch *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cs::" - "visit_union_branch - " - "Bad union_branch type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cs::" - "visit_union_branch - " - "codegen for union_branch type failed\n" - ), -1); - } - return 0; -} - -// =visit operations on all possible data types that a union_branch can be - -int -be_visitor_union_branch_public_ci::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_enum - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the inline operations for this anonymous array type - ctx.state (TAO_CodeGen::TAO_ARRAY_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // for anonymous arrays, the type name has a _ prepended. We compute the - // fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - // save the node's local name and full name in a buffer for quick use later - // on - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope prepended to - // our local name. This needs to be inserted after the parents's name - - if (bt->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (bt->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - bt->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", bt->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", bt->fullname ()); - } - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () << " (" << fname - << " val)// set" << be_nl - << "{" << be_idt_nl; - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - *os << "this->u_." << ub->local_name () << "_ = " - << fname << "_dup (val);" << be_uidt_nl; - } - else - { - // default label - // XXXASG - TODO - } - *os << "}" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << "ACE_INLINE " << fname << "_slice *" << be_nl - << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{" << be_idt_nl; - *os << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl; - *os << "}\n\n"; - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_enum - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () << " (" << bt->name () - << " val)// set" << be_nl - << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - *os << "// set the value" << be_nl - << "this->u_." << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << "ACE_INLINE " << bt->name () << be_nl - << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->u_." << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}\n\n"; - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_interface - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () << " (" << bt->name () - << "_ptr val)// set" << be_nl - << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - *os << "this->u_." << ub->local_name () - << "_ = new TAO_Object_Field_T<" - << bt->nested_type_name (bu, "") << ","; - // Must use another statement, nested_type_name has side effects... - *os << bt->nested_type_name (bu, "_var") - << "> (" << bt->name () - << "::_duplicate (val));" << be_uidt_nl; - } - else - { - // default label - // XXXASG - TODO - } - *os << "}" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << "ACE_INLINE " << bt->name () << "_ptr " << be_nl - << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->u_." << ub->local_name () << "_->ptr ();\n"; - os->decr_indent (); - *os << "}\n\n"; - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_interface - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () << " (" << bt->name () - << "_ptr val)// set" << be_nl - << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - *os << "this->u_." << ub->local_name () - << "_ = new TAO_Object_Field_T<" - << bt->nested_type_name (bu, "") << ","; - // Must use another statement, nested_type_name has side effects... - *os << bt->nested_type_name (bu, "") << "_var" - << "> (" << bt->name () - << "::_duplicate (val));" << be_uidt_nl; - } - else - { - // default label - // XXXASG - TODO - } - *os << "}" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << "ACE_INLINE " << bt->name () << "_ptr " << be_nl - << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->u_." << ub->local_name () << "_->ptr ();\n"; - os->decr_indent (); - *os << "}\n\n"; - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_interface - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () << " (" << bt->name (); - if (node->pt () == AST_PredefinedType::PT_pseudo) - *os << "_ptr"; - *os << " val) // set" << be_nl - << "{" << be_idt_nl; - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "Object")) - { - *os << "this->u_." << ub->local_name () << "_ = new " - << "TAO_Object_Field_T (CORBA::Object::_duplicate (val));" - << be_uidt_nl; - } - else - { - *os << "this->u_." << ub->local_name () << "_ = " - << bt->name () << "::_duplicate (val);" << be_uidt_nl; - } - break; - - case AST_PredefinedType::PT_any: - *os << "this->u_." << ub->local_name () << "_ = new " - << bt->name () << " (val);" << be_uidt_nl; - break; - - case AST_PredefinedType::PT_void: - break; - - default: - *os << "// set the value" << be_nl - << "this->u_." << ub->local_name () - << "_ = val;" << be_uidt_nl; - } - } - else - { - // default label - // XXXASG - TODO - } - *os << "}" << be_nl; - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - // get method - *os << "// retrieve the member" << be_nl - << "ACE_INLINE " << bt->name () << "_ptr" << be_nl; - *os << bu->name () << "::" << ub->local_name () - << " (void) const" << be_nl - << "{" << be_idt_nl; - if (!ACE_OS::strcmp (bt->local_name ()->get_string (), "Object")) - { - *os << "return this->u_." << ub->local_name () - << "_->ptr ();" << be_uidt_nl; - } - else - { - *os << "return this->u_." << ub->local_name () - << "_;" << be_uidt_nl; - } - *os << "}\n\n"; - break; - case AST_PredefinedType::PT_any: - // get method with read-only access - *os << "// retrieve the member" << be_nl - << "ACE_INLINE const " << bt->name () << be_nl; - *os << bu->name () << "::" << ub->local_name () - << " (void) const" << be_nl - << "{" << be_idt_nl - << "return *this->u_." << ub->local_name () << "_;" << be_uidt_nl - << "}" << be_nl; - - // get method with read/write access - *os << "// retrieve the member" << be_nl - << "ACE_INLINE " << bt->name () << be_nl; - *os << bu->name () << "::" << ub->local_name () - << " (void)" << be_nl - << "{" << be_idt_nl - << "return *this->u_." << ub->local_name () << "_;" << be_uidt_nl - << "}\n\n"; - break; - case AST_PredefinedType::PT_void: - break; - default: - // get method - *os << "// retrieve the member" << be_nl - << "ACE_INLINE " << bt->name () << be_nl; - *os << bu->name () << "::" << ub->local_name () - << " (void) const" << be_nl - << "{" << be_idt_nl - << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl - << "}\n\n"; - } - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_sequence - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the inline operations for this anonymous sequence type - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // (1) set from a const - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () - << " (const " << bt->name () << " &val)" << be_nl - << "{" << be_idt_nl; - - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - *os << "this->u_." << ub->local_name () << "_ = new " - << bt->name () << " (val);" << be_uidt_nl; - } - else - { - // default label - // XXXASG - TODO - } - *os << "}" << be_nl; - - // readonly get method - *os << "// readonly get method " << be_nl - << "ACE_INLINE const " << bt->name () << " &" << be_nl - << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{" << be_idt_nl - << "return *this->u_." << ub->local_name () << "_;" << be_uidt_nl - << "}" << be_nl; - - // read/write get method - *os << "// read/write get method " << be_nl - << "ACE_INLINE " << bt->name () << " &" << be_nl - << bu->name () << "::" << ub->local_name () << " (void)" << be_nl - << "{" << be_idt_nl - << "return *this->u_." << ub->local_name () << "_;" << be_uidt_nl - << "}\n\n"; - - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_string (be_string *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_string - " - "bad context information\n" - ), -1); - } - TAO_OutStream *os = this->ctx_->stream (); - - // three methods to set the string value - - // (1) set method from char* - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () << " (char *val)" - << be_nl - << "{" << be_idt_nl; - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - *os << "// set the value" << be_nl - << "this->u_." << ub->local_name () << "_ = val;" << be_uidt_nl; - } - else - { - // default label - // XXXASG - TODO - } - *os << "}" << be_nl; - - // (2) set method from const char * - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () - << " (const char *val)" << be_nl - << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - *os << "// set the value" << be_nl - << "this->u_." << ub->local_name () << "_ = " - << "CORBA::string_dup (val);" << be_uidt_nl; - } - else - { - // default label - // XXXASG - TODO - } - - *os << "}" << be_nl; - - // (3) set from const String_var& - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () - << " (const CORBA::String_var &val)" << be_nl - << "{" << be_idt_nl; - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - *os << "// set the value" << be_nl - << "CORBA::String_var " << ub->local_name () - << "_var = val;" << be_nl - << "this->u_." << ub->local_name () << "_ = " - << ub->local_name () << "_var._retn ();" << be_uidt_nl; - } - else - { - // default label - // XXXASG - TODO - } - *os << "}" << be_nl; - - // get method - *os << "ACE_INLINE const char *" << be_nl - << bu->name () << "::" << ub->local_name () - << " (void) const // get method" << be_nl - << "{" << be_idt_nl - << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl - << "}\n\n"; - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_structure - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_STRUCT_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_structure - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_structure - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // (1) set from a const - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () - << " (const " << bt->name () << " &val)" << be_nl - << "{" << be_idt_nl; - - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - if (bt->size_type () == be_type::VARIABLE) - { - *os << "this->u_." << ub->local_name () << "_ = new " - << bt->name () << " (val);" << be_uidt_nl; - } - else - { - *os << "this->u_." << ub->local_name () << "_ = val;" << be_uidt_nl; - } - } - else - { - // default label - // XXXASG - TODO - } - *os << "}" << be_nl; - - // readonly get method - *os << "// readonly get method " << be_nl - << "ACE_INLINE const " << bt->name () << " &" << be_nl - << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{" << be_idt_nl; - if (bt->size_type () == be_type::VARIABLE) - *os << "return *this->u_." << ub->local_name () << "_;" << be_uidt_nl; - else - *os << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl; - *os << "}" << be_nl; - - // read/write get method - *os << "// read/write get method " << be_nl - << "ACE_INLINE " << bt->name () << " &" << be_nl - << bu->name () << "::" << ub->local_name () << " (void)" << be_nl - << "{" << be_idt_nl; - if (bt->size_type () == be_type::VARIABLE) - *os << "return *this->u_." << ub->local_name () << "_;" << be_uidt_nl; - else - *os << "return this->u_." << ub->local_name () << "_;" << be_uidt_nl; - *os << "}\n\n"; - - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_union - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_UNION_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // (1) set from a const - *os << "// accessor to set the member" << be_nl - << "ACE_INLINE void" << be_nl - << bu->name () << "::" << ub->local_name () - << " (const " << bt->name () << " &val)" << be_nl - << "{" << be_idt_nl; - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - *os << "// set the discriminant val" << be_nl; - *os << "this->_reset ("; - ub->gen_label_value (os); - *os << ", 0);" << be_nl - << "this->disc_ = "; - ub->gen_label_value (os); - *os << ";" << be_nl; - - *os << "this->u_." - << ub->local_name () << "_ = new " << bt->name () - << " (val);" << be_nl; - } - else - { - // default label - // XXXASG - TODO - } - *os << "}" << be_nl; - - // readonly get method - *os << "// readonly get method " << be_nl - << "ACE_INLINE const " << bt->name () << " &" << be_nl - << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{" << be_idt_nl - << "return *this->u_." << ub->local_name () << "_;" << be_uidt_nl - << "}" << be_nl; - - // read/write get method - *os << "// read/write get method " << be_nl - << "ACE_INLINE " << bt->name () << " &" << be_nl - << bu->name () << "::" << ub->local_name () << " (void)" << be_nl - << "{" << be_idt_nl - << "return *this->u_." << ub->local_name () << "_;" << be_uidt_nl - << "}\n\n"; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_cs.cpp deleted file mode 100644 index 5d8424c9b92..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_cs.cpp +++ /dev/null @@ -1,261 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Union Branch in the client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -ACE_RCSID(be_visitor_union_branch, public_cs, "$Id$") - - -// ********************************************** -// visitor for union_branch in the client stubs file -// ********************************************** - -// constructor -be_visitor_union_branch_public_cs::be_visitor_union_branch_public_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_union_branch_public_cs::~be_visitor_union_branch_public_cs (void) -{ -} - -// visit the union_branch node -int -be_visitor_union_branch_public_cs::visit_union_branch (be_union_branch *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_union_branch - " - "Bad union_branch type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_union_branch - " - "codegen for union_branch type failed\n" - ), -1); - } - return 0; -} - -// visit array type -int -be_visitor_union_branch_public_cs::visit_array (be_array *node) -{ - // if not a typedef and we are defined in the use scope, we must be - // defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // anonymous array case - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the inline operations for this anonymous array type - ctx.state (TAO_CodeGen::TAO_ARRAY_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} - -// visit enum type -int -be_visitor_union_branch_public_cs::visit_enum (be_enum *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the typcode for enums - ctx.state (TAO_CodeGen::TAO_ENUM_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit sequence type -int -be_visitor_union_branch_public_cs::visit_sequence (be_sequence *node) -{ - // if not a typedef and we are defined in the use scope, we must be - // defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // anonymous array case - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the inline operations for this anonymous sequence type - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - return 0; -} - -// visit string type -int -be_visitor_union_branch_public_cs::visit_string (be_string *) -{ - return 0; -} - -// visit structure type -int -be_visitor_union_branch_public_cs::visit_structure (be_structure *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_STRUCT_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit union type -int -be_visitor_union_branch_public_cs::visit_union (be_union *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for union - ctx.state (TAO_CodeGen::TAO_UNION_CS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_cs::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp deleted file mode 100644 index 77c3b394789..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp +++ /dev/null @@ -1,434 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_reset_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Union Branch in the client inline file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_union_branch.h" - -ACE_RCSID(be_visitor_union_branch, public_reset_cs, "$Id$") - - -// ***************************************************** -// visitor for union_branch in the client -// stubs file for the reset method -// ***************************************************** - -// constructor -be_visitor_union_branch_public_reset_cs:: -be_visitor_union_branch_public_reset_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -// destructor -be_visitor_union_branch_public_reset_cs:: -~be_visitor_union_branch_public_reset_cs (void) -{ -} - -// visit the union_branch node -int -be_visitor_union_branch_public_reset_cs:: -visit_union_branch (be_union_branch *node) -{ - TAO_OutStream *os; - be_type *bt; // union_branch's type - - os = this->ctx_->stream (); - // first generate the type information - bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cs::" - "visit_union_branch - " - "Bad union_branch type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - - for (unsigned long i = 0; - i < node->label_list_length (); - ++i) - { - // check if we are printing the default case - if (node->label (i)->label_kind () == AST_UnionLabel::UL_default) - *os << "default:"; - else - { - *os << "case "; - node->gen_label_value (os, i); - *os << ":"; - } - if (i == (node->label_list_length () - 1)) - *os << be_idt_nl; - else - *os << be_nl; - } - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_cs::" - "visit_union_branch - " - "codegen for union_branch type failed\n" - ), -1); - } - return 0; -} - -// =visit operations on all possible data types that a union_branch can be - -int -be_visitor_union_branch_public_reset_cs::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_reset_cs::" - "visit_enum - " - "bad context information\n" - ), -1); - } - - // for anonymous arrays, the type name has a _ prepended. We compute the - // fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - // save the node's local name and full name in a buffer for quick use later - // on - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope prepended to - // our local name. This needs to be inserted after the parents's name - - if (bt->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (bt->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - bt->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", bt->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", bt->fullname ()); - } - - os = this->ctx_->stream (); - *os << fname << "_free (this->u_." << ub->local_name () - << "_);" << be_nl - << "this->u_." << ub->local_name () << "_ = 0;" << be_nl - << "break;" << be_uidt_nl; - return 0; -} - -int -be_visitor_union_branch_public_reset_cs::visit_enum (be_enum *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_reset_cs::" - "visit_enum - " - "bad context information\n" - ), -1); - } - - TAO_OutStream *os = this->ctx_->stream (); - *os << "break;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_reset_cs::visit_interface (be_interface *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_reset_cs::" - "visit_interface - " - "bad context information\n" - ), -1); - } - - TAO_OutStream *os = this->ctx_->stream (); - *os << "delete this->u_." - << ub->local_name () << "_;" << be_nl - << "this->u_." << ub->local_name () - << "_ = 0;" << be_nl - << "break;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_reset_cs::visit_interface_fwd (be_interface_fwd *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_reset_cs::" - "visit_interface - " - "bad context information\n" - ), -1); - } - TAO_OutStream *os = this->ctx_->stream (); - *os << "delete this->u_." - << ub->local_name () << "_;" << be_nl - << "this->u_." << ub->local_name () - << "_ = 0;" << be_nl - << "break;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_reset_cs::visit_predefined_type (be_predefined_type *node) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_reset_cs::" - "visit_predefined_type - " - "bad context information\n" - ), -1); - } - - TAO_OutStream *os = this->ctx_->stream (); - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - if (!ACE_OS::strcmp (node->local_name ()->get_string (), "Object")) - { - *os << "delete this->u_." - << ub->local_name () << "_;" << be_nl; - } - else - { - *os << "CORBA::release (this->u_." - << ub->local_name () << "_);" << be_nl; - } - *os << "this->u_." << ub->local_name () - << "_ = 0;" << be_nl - << "break;" << be_uidt_nl; - break; - case AST_PredefinedType::PT_any: - *os << "delete this->u_." - << ub->local_name () << "_;" << be_nl - << "this->u_." << ub->local_name () - << "_ = 0;" << be_nl - << "break;" << be_uidt_nl; - break; - case AST_PredefinedType::PT_void: - break; - default: - *os << "break;" << be_uidt_nl; - } - return 0; -} - -int -be_visitor_union_branch_public_reset_cs::visit_sequence (be_sequence *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_reset_cs::" - "visit_sequence - " - "bad context information\n" - ), -1); - } - - TAO_OutStream *os = this->ctx_->stream (); - *os << "delete this->u_." - << ub->local_name () << "_;" << be_nl - << "this->u_." - << ub->local_name () - << "_ = 0;" << be_nl - << "break;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_reset_cs::visit_string (be_string *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_reset_cs::" - "visit_string - " - "bad context information\n" - ), -1); - } - - TAO_OutStream *os = this->ctx_->stream (); - *os << "CORBA::string_free (this->u_." - << ub->local_name () << "_);" << be_nl - << "this->u_." - << ub->local_name () - << "_ = 0;" << be_nl - << "break;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_reset_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_reset_cs::" - "visit_structure - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - if (bt->size_type () == be_type::VARIABLE) - { - *os << "delete this->u_." << ub->local_name () - << "_;" << be_nl - << "this->u_." - << ub->local_name () - << "_ = 0;" << be_nl; - } - - *os << "break;" << be_uidt_nl; - - return 0; -} - -int -be_visitor_union_branch_public_reset_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_reset_cs::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_union_branch_public_reset_cs::visit_union (be_union *) -{ - be_union_branch *ub = - this->ctx_->be_node_as_union_branch (); // get union branch - be_union *bu = - this->ctx_->be_scope_as_union (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_reset_cs::" - "visit_union - " - "bad context information\n" - ), -1); - } - - TAO_OutStream *os = this->ctx_->stream (); - *os << "delete this->u_." - << ub->local_name () << "_;" << be_nl - << "this->u_." - << ub->local_name () << "_ = 0;" << be_nl - << "break;" << be_uidt_nl; - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype.cpp deleted file mode 100644 index 200b28a3b64..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype.cpp +++ /dev/null @@ -1,50 +0,0 @@ - -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_valuetype.cpp -// -// = DESCRIPTION -// Concrete visitor for the Valuetype class -// -// = AUTHOR -// Torsten Kuepper -// -// ============================================================================ - - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#ifdef IDL_HAS_VALUETYPE - -#include "be_visitor_valuetype.h" - -#include "be_visitor_valuetype/valuetype.cpp" -#include "be_visitor_valuetype/valuetype_ch.cpp" -#include "be_visitor_valuetype/valuetype_obv_ch.cpp" -#include "be_visitor_valuetype/valuetype_obv_cs.cpp" -#include "be_visitor_valuetype/valuetype_ci.cpp" -#include "be_visitor_valuetype/valuetype_cs.cpp" -//#include "be_visitor_valuetype/valuetype_ih.cpp" -//#include "be_visitor_valuetype/valuetype_is.cpp" -//#include "be_visitor_valuetype/any_op_ch.cpp" -//#include "be_visitor_valuetype/any_op_cs.cpp" -#include "be_visitor_valuetype/cdr_op_ch.cpp" -#include "be_visitor_valuetype/cdr_op_ci.cpp" -#include "be_visitor_valuetype/marshal_ch.cpp" -#include "be_visitor_valuetype/marshal_cs.cpp" -#include "be_visitor_valuetype/arglist.cpp" -#include "be_visitor_valuetype/field_ch.cpp" -#include "be_visitor_valuetype/field_cs.cpp" -#include "be_visitor_valuetype/field_cdr_ci.cpp" -#include "be_visitor_valuetype/obv_module.cpp" - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/arglist.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/arglist.cpp deleted file mode 100644 index c5538060056..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/arglist.cpp +++ /dev/null @@ -1,220 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// arglist.cpp -// -// = DESCRIPTION -// Visitor generating the parameter list of operations -// in the Valuetype class. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_operation.h" - -ACE_RCSID(be_visitor_operation, arglist, "$Id$") - - -// ************************************************************ -// operation visitor to generate the argument list. -// We have separated code generation for this from the 4 main -// visitors to avoid code duplication and tight coupling -// ************************************************************ - -be_visitor_obv_operation_arglist::be_visitor_obv_operation_arglist (be_visitor_context - *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_obv_operation_arglist::~be_visitor_obv_operation_arglist (void) -{ -} - -int -be_visitor_obv_operation_arglist::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - *os << " ("; - // *os << " (" << be_idt << be_idt << "\n"; - - // all we do is hand over code generation to our scope - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_obv_operation_arglist::" - "visit_operation - " - "codegen for scope failed\n"), - -1); - } - - - // *os << be_uidt; - // os->indent (); - *os << ")";// << be_uidt; - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_CH: - // each method is pure virtual in the Valuetype class - *os << " = 0;\n"; - break; - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_IH: - break; - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_IS: - break; - default: - *os << "\n"; - } - if (!this->ctx_->attribute ()) // hack to get a nice newline - *os << "\n"; - return 0; -} - -int -be_visitor_obv_operation_arglist::visit_argument (be_argument *node) -{ - // TAO_OutStream *os = this->ctx_->stream (); - - // get the visitor that will dump the argument's mapping in the operation - // signature. - be_visitor_context ctx (*this->ctx_); - - // first grab the interface definition inside which this operation is - // defined. We need this since argument types may very well be declared - // inside the scope of the interface node. In such cases, we would like to - // generate the appropriate relative scoped names. - be_operation *op = this->ctx_->be_scope_as_operation (); - if (!op) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "Bad operation\n"), - -1); - } - - // We need the interface node in which this operation was defined. However, - // if this operation node was an attribute node in disguise, we get this - // information from the context - // %! use AST_Interface - be_valuetype *intf; - intf = this->ctx_->attribute () - ? be_valuetype::narrow_from_scope (this->ctx_->attribute ()->defined_in ()) - : be_valuetype::narrow_from_scope (op->defined_in ()); - - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "Bad interface\n"), - -1); - } - ctx.scope (intf); // set new scope - - // snipped from - // be_visitor_args_arglist::visit_argument (be_argument *node) - ctx.node (node); // save the argument node - - // retrieve the type - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_arglist::" - "visit_argument - " - "Bad argument type\n"), - -1); - } - - // os->indent (); // start with current indentation level - - // Different types have different mappings when used as in/out or - // inout parameters. Let this visitor deal with the type - - // end of be_visitor_args_arglist::visit_argument () - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_CH: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_ARGLIST_CH); - break; - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_OTHERS: - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_SH: - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_IH: - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_IS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_ARGLIST_OTHERS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "Bad context\n"), - -1); - } - } - - // grab a visitor - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "Bad visitor\n"), - -1); - } - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_arglist::" - "visit_argument - " - "codegen for argument failed\n"), - -1); - } - delete visitor; - return 0; -} - -int -be_visitor_obv_operation_arglist::post_process (be_decl *bd) -// derived from be_visitor_operation_argument::post_process (be_decl *bd) -{ - TAO_OutStream *os = this->ctx_->stream (); - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_CH: - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_OTHERS: - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_SH: - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_IH: - case TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_IS: - if (!this->last_node (bd)) - *os << ", "; // "\n"; - else - *os << ""; // "\n"; - break; - default: - break; - } - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/cdr_op_ch.cpp deleted file mode 100644 index eb01d5ff6c4..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/cdr_op_ch.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.cpp -// -// = DESCRIPTION -// Concrete visitor for valuetypes. -// This one provides code generation for the CDR operators. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale -// -// ============================================================================ - - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype, cdr_op_ch, "$Id$") - -be_visitor_valuetype_cdr_op_ch::be_visitor_valuetype_cdr_op_ch -(be_visitor_context *ctx) - : be_visitor_valuetype (ctx) -{ -} - -be_visitor_valuetype_cdr_op_ch::~be_visitor_valuetype_cdr_op_ch (void) -{ -} - -int -be_visitor_valuetype_cdr_op_ch::visit_valuetype (be_valuetype *node) -{ - if (node->cli_hdr_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator declarations (prototypes) - - os->indent (); - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator<< (TAO_OutputCDR &, const " << node->name () - << " *); // " << be_nl; - *os << "CORBA::Boolean " << idl_global->export_macro () - << " operator>> (TAO_InputCDR &, " - << node->name () << " *&);\n"; - - // set the substate as generating code for the types defined in our scope - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_cdr_op_ch::" - "visit_valuetype - " - "codegen for scope failed\n"), -1); - } - - - node->cli_hdr_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/cdr_op_ci.cpp deleted file mode 100644 index 5c0b7513f77..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/cdr_op_ci.cpp +++ /dev/null @@ -1,113 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Concrete visitor for valuetypes. -// This one provides code generation for the CDR operators. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale -// -// ============================================================================ - - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" -// #include "be_visitor_field.h" - -ACE_RCSID(be_visitor_valuetype, cdr_op_ci, "$Id$") - -be_visitor_valuetype_cdr_op_ci::be_visitor_valuetype_cdr_op_ci -(be_visitor_context *ctx) - : be_visitor_valuetype (ctx) -{ -} - -be_visitor_valuetype_cdr_op_ci::~be_visitor_valuetype_cdr_op_ci (void) -{ -} - -int -be_visitor_valuetype_cdr_op_ci::visit_valuetype (be_valuetype *node) -{ - // already generated and/or we are imported. Don't do anything. - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // First generate code for our children. The reason we do this first is - // because the inlined code for our children must be available before we use - // it in our parent - - // set the substate as generating code for the types defined in our scope - //this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_SCOPE); - // all we have to do is to visit the scope and generate code - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_cdr_op_ci" - "::visit_valuetype - " - "codegen for scope failed\n"), -1); - } - - // set the sub state as generating code for the output operator - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_OUTPUT); - os->indent (); - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator<< (TAO_OutputCDR &strm, const " - << node->name () - << " *_tao_valuetype)" << be_nl - << "{" << be_idt_nl; - *os << "return CORBA_ValueBase::_tao_marshal (strm," << be_idt_nl - << "ACE_const_cast (" << node->name () << "*, _tao_valuetype)," << be_nl - << "(ptr_arith_t) &" << node->name() <<"::_downcast);" - << be_uidt<< be_uidt_nl - << "}\n\n"; - - // set the substate as generating code for the input operator - //this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_INPUT); - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator>> (TAO_InputCDR &strm, " - << node->name () - << " *&_tao_valuetype)" << be_nl - << "{" << be_idt_nl; - *os << "return " << node->name() << "::_tao_unmarshal (strm, _tao_valuetype);" -#ifdef obv_marshal_old_version - *os << "CORBA::ValueBase *ptr;" << be_nl - << "int retval = CORBA_ValueBase::_tao_unmarshal (strm," - << be_idt_nl << "ptr, (ptr_arith_t) &" << node->name() <<"::_downcast);" - << be_uidt_nl - << "if (retval) {" << be_idt_nl - << "_tao_valuetype = " << node->name() << "::_downcast (ptr);" - << be_nl << "if (_tao_valuetype) retval = 1;" - << be_uidt_nl << "}" << be_idt_nl - << "return retval;" -#endif /* obv_marshal_old_version */ - << be_uidt_nl - << "}\n\n"; - - if (!node->is_abstract_valuetype ()) - { // functions that marshal state - be_visitor_context* new_ctx = - new be_visitor_context (*this->ctx_); - be_visitor_valuetype_marshal_cs visitor (new_ctx); - visitor.visit_valuetype (node); - } - - node->cli_inline_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/field_cdr_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/field_cdr_ci.cpp deleted file mode 100644 index d8288c7af99..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/field_cdr_ci.cpp +++ /dev/null @@ -1,947 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_cdr_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Field in the client stubs file. -// -// = AUTHOR -// Torsten Kuepper -// derived from be_visitor_field/cdr_op_ci.cpp -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_field.h" - -ACE_RCSID(be_visitor_valuetype, field_cdr_op_ci, "$Id$") - - -// ********************************************** -// visitor for field in the client stubs file -// ********************************************** - -// constructor -be_visitor_valuetype_field_cdr_ci::be_visitor_valuetype_field_cdr_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx), - pre_ (""), post_ ("") -{ -} - -// destructor -be_visitor_valuetype_field_cdr_ci::~be_visitor_valuetype_field_cdr_ci (void) -{ -} - -// visit the field node -int -be_visitor_valuetype_field_cdr_ci::visit_field (be_field *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} - -// visit array -int -be_visitor_valuetype_field_cdr_ci::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_array - " - "cannot retrieve field node\n" - ), -1); - } - - // for anonymous arrays, the type name has a _ prepended. We compute - // the fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - // save the node's local name and full name in a buffer for quick - // use later on - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscore - // prepended to our local name. This needs to be inserted after - // the parents's name - - if (node->is_nested ()) - { - be_decl *parent = - be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", node->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", node->fullname ()); - } - - // check what is the code generation substate. Are we generating - // code for the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " - << "_tao_" << pre_ << f->local_name () << post_ << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " - << "_tao_" << pre_ << f->local_name () << post_ << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_array - " - "bad sub state\n" - ), -1); - } - - // if not a typedef and we are defined in the use scope, we must be defined - - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // this is the case for anonymous arrays. Generate the <<, >> operators - // for the type defined by the anonymous array - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit enum type -int -be_visitor_valuetype_field_cdr_ci::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_array - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " << pre_ << f->local_name () << post_ << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " << pre_ << f->local_name () << post_ << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_enum - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // generate the typcode for enums - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit interface type -int -be_visitor_valuetype_field_cdr_ci::visit_interface (be_interface *) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_interface - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " << pre_ << f->local_name () << post_ << ".out ())"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " << pre_ << f->local_name () << post_ << ".in ())"; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done because an interface cannit be declared inside a - // structure - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_interface - " - "bad sub state\n" - ), -1); - } - return 0; -} - -// visit interface forward type -int -be_visitor_valuetype_field_cdr_ci::visit_interface_fwd (be_interface_fwd *) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_interface_fwd - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " << pre_ << f->local_name () << post_ << ").out ()"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " << pre_ << f->local_name () << post_ << ").in ()"; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done because an interface cannit be declared inside a - // structure - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_interface_fwd - " - "bad sub state\n" - ), -1); - } - return 0; -} - -// visit valuetype type -int -be_visitor_valuetype_field_cdr_ci::visit_valuetype (be_valuetype *) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_valuetype - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " << pre_ << f->local_name () << post_ << ".out ())"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " << pre_ << f->local_name () << post_ << ".in ())"; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done because an valuetype cannit be declared inside a - // structure - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_valuetype - " - "bad sub state\n" - ), -1); - } - return 0; -} - -// visit valuetype forward type -int -be_visitor_valuetype_field_cdr_ci::visit_valuetype_fwd (be_valuetype_fwd *) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_valuetype_fwd - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " << pre_ << f->local_name () << post_ << ").out ()"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " << pre_ << f->local_name () << post_ << ").in ()"; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done because an valuetype cannit be declared inside a - // structure - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_valuetype_fwd - " - "bad sub state\n" - ), -1); - } - return 0; -} - -// visit predefined type -int -be_visitor_valuetype_field_cdr_ci::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_predefined_type - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - // is a psuedo obj - if (node->pt () == AST_PredefinedType::PT_pseudo) - *os << "(strm >> " << pre_ << f->local_name () << post_ - << ".out ())"; - else if (node->pt () == AST_PredefinedType::PT_char) - *os << "(strm >> CORBA::Any::to_char (" << pre_ - << f->local_name () << post_ << "))"; - else if (node->pt () == AST_PredefinedType::PT_wchar) - *os << "(strm >> CORBA::Any::to_wchar (" << pre_ - << f->local_name () << post_ << "))"; - else if (node->pt () == AST_PredefinedType::PT_octet) - *os << "(strm >> CORBA::Any::to_octet (" << pre_ - << f->local_name () << post_ << "))"; - else if (node->pt () == AST_PredefinedType::PT_boolean) - *os << "(strm >> CORBA::Any::to_boolean (" << pre_ - << f->local_name () << post_ << "))"; - else - *os << "(strm >> " << pre_ << f->local_name () << post_ << ")"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - // is a psuedo obj - if (node->pt () == AST_PredefinedType::PT_pseudo) - *os << "(strm << " << pre_ << f->local_name () << post_ << ".in ())"; - else if (node->pt () == AST_PredefinedType::PT_char) - *os << "(strm << CORBA::Any::from_char (" << pre_ - << f->local_name () << post_ << "))"; - else if (node->pt () == AST_PredefinedType::PT_wchar) - *os << "(strm << CORBA::Any::from_wchar (" << pre_ - << f->local_name () << post_ << "))"; - else if (node->pt () == AST_PredefinedType::PT_octet) - *os << "(strm << CORBA::Any::from_octet (" << pre_ - << f->local_name () << post_ << "))"; - else if (node->pt () == AST_PredefinedType::PT_boolean) - *os << "(strm << CORBA::Any::from_boolean (" << pre_ - << f->local_name () << post_ << "))"; - else - *os << "(strm << " << pre_ << f->local_name () << post_ << ")"; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_array - " - "bad sub state\n" - ), -1); - } - - return 0; -} - -int -be_visitor_valuetype_field_cdr_ci::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_sequence - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " << pre_ << f->local_name () << post_ << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " << pre_ << f->local_name () << post_ << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_sequence - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef - && node->is_child (this->ctx_->scope ())) - // not a typedef AND - // node is defined inside the structure - { - // Anonymous sequence - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. - // The scope is still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit string type -int -be_visitor_valuetype_field_cdr_ci::visit_string (be_string *) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_string - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " << pre_ << f->local_name () << post_ << ".out ())"; - break; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " << pre_ << f->local_name () << post_ << ".in ())"; - break; - case TAO_CodeGen::TAO_CDR_SCOPE: - // nothing to be done - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_array - " - "bad sub state\n" - ), -1); - } - - return 0; -} - -// visit structure type -int -be_visitor_valuetype_field_cdr_ci::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_structure - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " << pre_ << f->local_name () << post_ << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " << pre_ << f->local_name () << post_ << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_structure - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for structs - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_struct - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_struct - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - -// visit typedef type -int -be_visitor_valuetype_field_cdr_ci::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_branch_public_ci::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_valuetype_field_cdr_ci::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_union - " - "cannot retrieve field node\n" - ), -1); - } - - // check what is the code generations substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - *os << "(strm >> " << pre_ << f->local_name () << post_ << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << "(strm << " << pre_ << f->local_name () << post_ << ")"; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - // proceed further - break; - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_union - " - "bad sub state\n" - ), -1); - } - - if (node->node_type () != AST_Decl::NT_typedef // not a typedef - && node->is_child (this->ctx_->scope ())) // node is defined inside the - // structure - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // generate the inline code for union - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_ci::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - return 0; -} - - -// **************************************************************** - -be_visitor_valuetype_field_cdr_decl:: - be_visitor_valuetype_field_cdr_decl (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -// This is a field, but the action depends on the type of the field, -// use this visitor to detect the type of the field. -// Notice that this is why the parent visitor (who create us) cannot -// do the job, because it may have another purpose for some or all of -// the visit_* methods; in other words, while running a visitor to -// generate CDR operators for structures we cannot use that one to -// generate the code of each field, because visit_struct already has a -// meaning in that visitor. -int -be_visitor_valuetype_field_cdr_decl::visit_field (be_field *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_decl::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - // @@ Shouldn't this be saved in the visitor and not the context?! - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_decl::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} - -// visit array -int -be_visitor_valuetype_field_cdr_decl::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - // retrieve the field node - be_field *f = this->ctx_->be_node_as_field (); - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_decl::" - "visit_array - " - "cannot retrieve field node\n" - ), -1); - } - - // retrieve the valuetype scope in which the code is generated - be_decl *sc = this->ctx_->scope (); - be_valuetype *vt = be_valuetype::narrow_from_decl (sc); - if (!vt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_decl::" - "visit_array - " - "cannot retrieve valuetype node\n" - ), -1); - } - - // for anonymous arrays, the type name has a _ prepended. We compute - // the fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (!this->ctx_->alias () // not a typedef - && node->is_child (this->ctx_->scope ())) - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope - // prepended to our local name. This needs to be inserted after - // the parents's name - - if (node->is_nested ()) - { - be_decl *parent = be_scope::narrow_from_scope (node->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - node->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", node->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", node->fullname ()); - } - - // check what is the code generation substate. Are we generating code for - // the in/out operators for our parent or for us? - switch (this->ctx_->sub_state ()) - { - case TAO_CodeGen::TAO_CDR_INPUT: - case TAO_CodeGen::TAO_CDR_OUTPUT: - *os << fname << "_forany " - << "_tao_" << vt->field_pd_prefix () << f->local_name () - << vt->field_pd_postfix () << be_idt << be_idt_nl - << "(ACE_const_cast (" << be_idt << be_idt_nl - << fname << "_slice*," << be_nl - << vt->field_pd_prefix () << f->local_name () - << vt->field_pd_postfix () << be_uidt_nl - << ")" << be_uidt << be_uidt_nl - << ");" << be_uidt_nl; - return 0; - case TAO_CodeGen::TAO_CDR_SCOPE: - default: - // error - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cdr_decl::" - "visit_array - " - "bad sub state\n" - ), -1); - } - ACE_NOTREACHED (return 0); -} - -// visit typedef type -int -be_visitor_valuetype_field_cdr_decl::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_cdr_op_field_decl::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/field_ch.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/field_ch.cpp deleted file mode 100644 index e88495def71..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/field_ch.cpp +++ /dev/null @@ -1,748 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_ch.cpp -// -// = DESCRIPTION -// Visitor generating the accessor and modifier declarations -// for valuetype fields in the valuetype class (header). -// -// = AUTHOR -// Torsten Kuepper -// derived from be_visitor_union_branch/public_ch.cpp -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be_visitor_valuetype, field_ch, "$Id$") - - -// constructor -be_visitor_valuetype_field_ch::be_visitor_valuetype_field_ch - (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ - setenclosings ("",";"); -} - -// destructor -be_visitor_valuetype_field_ch::~be_visitor_valuetype_field_ch (void) -{ -} - -// visit the field node -int -be_visitor_valuetype_field_ch::visit_field (be_field *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_union_branch - " - "Bad type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_union_branch - " - "codegen failed\n" - ), -1); - } - return 0; -} - -// =visit operations on all possible data types (valuetype state member) - -// visit array type -int -be_visitor_valuetype_field_ch::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union node - be_type *bt; - - // check if we are visiting this via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_array - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // this is the case of an anonymous array inside a union - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the array declaration - ctx.state (TAO_CodeGen::TAO_ARRAY_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - // now use this array as a "type" for the subsequent declarator - os->indent (); // start from current indentation - // the set method - *os << pre_op() << "void " << ub->local_name () << " (" - << "_" << bt->local_name () << ")" - << post_op() << " // set" << be_nl; - // the get method - *os << pre_op() << "const _" << bt->local_name () - << "_slice * " << ub->local_name () - << " (void)" << post_op() << be_nl; - *os << pre_op() << "_" << bt->local_name () - << "_slice * " << ub->local_name () - << " (void)" << post_op(); - } - else - { - // now use this array as a "type" for the subsequent declarator - os->indent (); // start from current indentation - // the set method - *os << pre_op() << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu) << ")" << post_op() << " // set" - << be_nl; - // the get method - *os << pre_op() - << bt->nested_type_name (bu, "_slice *") << " " << ub->local_name () - << " (void)" << post_op() << be_nl; - // the get (read/write) method - *os << pre_op() << "const " - << bt->nested_type_name (bu, "_slice *") << " " << ub->local_name () - << " (void) const" << post_op() << "\n\n"; - } - - return 0; -} - -// visit enum type -int -be_visitor_valuetype_field_ch::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union node - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_enum - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_ENUM_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_enum - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_enum - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // now use this enum as a "type" for the subsequent declarator - os->indent (); // start from current indentation - // the set method - *os << pre_op() << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu) << ")" << post_op() << " // set" - << be_nl; - // the get method - *os << pre_op() << bt->nested_type_name (bu) << " " << ub->local_name () - << " (void) const" << post_op() << " // get method\n\n"; - - return 0; -} - -// visit interface type -int -be_visitor_valuetype_field_ch::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_interface - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set method - *os << pre_op() << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu, "_ptr") - << ")" << post_op() << " // set" << be_nl; - // get method - *os << pre_op() - << bt->nested_type_name (bu, "_ptr") << " " << ub->local_name () - << " (void) const" << post_op() << " // get method\n\n"; - return 0; -} - -// visit interface forward type -int -be_visitor_valuetype_field_ch::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_interface_fwd - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set method - *os << pre_op() << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu, "_ptr") - << ")" << post_op() << " // set" << be_nl; - // get method - *os << pre_op() - << bt->nested_type_name (bu, "_ptr") << " " << ub->local_name () - << " (void) const" << post_op() << " // get method\n\n"; - return 0; -} - -// visit valuetype type -int -be_visitor_valuetype_field_ch::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_valuetype - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set method - *os << pre_op() << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu, "*") - << ")" << post_op() << " // set" << be_nl; - // get method - *os << pre_op() - << bt->nested_type_name (bu, "*") << " " << ub->local_name () - << " (void) const" << post_op() << " // get method\n\n"; - return 0; -} - -// visit valuetype forward type -int -be_visitor_valuetype_field_ch::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_valuetype_fwd - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); // start from current indentation - // set method - *os << pre_op() << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu, "*") - << ")" << post_op() << " // set" << be_nl; - // get method - *os << pre_op() - << bt->nested_type_name (bu, "*") << " " << ub->local_name () - << " (void) const" << post_op() << " // get method\n\n"; - return 0; -} - -// visit predefined type -int -be_visitor_valuetype_field_ch::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_predefined_type - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - os->indent (); // start from current indentation - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - // set method - *os << pre_op() << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu, "_ptr") << ")" - << post_op() << " // set" << be_nl; - // get method - *os << pre_op() - << bt->nested_type_name (bu, "_ptr") << " " << ub->local_name () - << " (void) const" << post_op() << " // get method\n\n"; - break; - case AST_PredefinedType::PT_any: - // set method - *os << pre_op() << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu) << ")" - << post_op() << " // set" << be_nl; - // get method (read-only) - *os << pre_op() << "const " << bt->nested_type_name (bu) << " " - << ub->local_name () << " (void) const" - << post_op() << " // get method\n\n"; - // get method (read/write) - *os << pre_op() << bt->nested_type_name (bu) << " " - << ub->local_name () << " (void)" - << post_op() << " // get method\n\n"; - break; - case AST_PredefinedType::PT_void: - break; - default: - // set method - *os << pre_op() << "void " << ub->local_name () << " (" - << bt->nested_type_name (bu) << ")" - << post_op() << " // set" << be_nl; - // get method - *os << pre_op() << bt->nested_type_name (bu) << " " << ub->local_name () - << " (void) const" << post_op() << " // get method\n\n"; - } - return 0; -} - -// visit sequence type -int -be_visitor_valuetype_field_ch::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_sequence - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the sequence declaration - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - os->indent (); - // set method - *os << pre_op() << "void " << ub->local_name () << " (const " - << bt->nested_type_name (bu) << " &)" - << post_op() << " // set" << be_nl; - // read-only - *os << pre_op() << "const " << bt->nested_type_name (bu) << " &" - << ub->local_name () << " (void) const" - << post_op() << " // get method (read only)" << be_nl; - // read/write - *os << pre_op() << bt->nested_type_name (bu) << " &" << ub->local_name () - << " (void)" - << post_op() << " // get method (read/write only)\n\n"; - - return 0; -} - -// visit string type -int -be_visitor_valuetype_field_ch::visit_string (be_string *) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_string - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - os->indent (); - // three methods to set the string value - *os << pre_op() - << "void " << ub->local_name () << " (char *)" - << post_op() << " // set" << be_nl; - *os << pre_op() - << "void " << ub->local_name () << " (const char *)" - << post_op() << " // set" << be_nl; - *os << pre_op() - << "void " << ub->local_name () << " (const CORBA::String_var&)" - << post_op() << " // set" << be_nl; - //get method - *os << pre_op() << "const char *" << ub->local_name () - << " (void) const" << post_op() << " // get method\n\n"; - return 0; -} - -// visit structure type -int -be_visitor_valuetype_field_ch::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_structure - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the sequence declaration - ctx.state (TAO_CodeGen::TAO_STRUCT_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_structure - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_structure - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - os->indent (); - // set method - *os << pre_op() << "void " << ub->local_name () << " (const " - << bt->nested_type_name (bu) << " &)" - << post_op() << " // set" << be_nl - // read-only - << pre_op() << "const " << bt->nested_type_name (bu) << " &" - << ub->local_name () << " (void) const" - << post_op() << " // get method (read only)" << be_nl - // read/write - << pre_op() << bt->nested_type_name (bu) << " &" << ub->local_name () - << " (void)" << post_op() << " // get method (read/write only)\n\n"; - - return 0; -} - -// visit typedefed type -int -be_visitor_valuetype_field_ch::visit_typedef (be_typedef *node) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - os->indent (); // start from current indentation level - this->ctx_->alias (node); // save the node for use in code generation and - // indicate that the union_branch of the union_branch node - // is a typedefed quantity - - // make a decision based on the primitive base type - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_spec_ch::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - this->ctx_->alias (0); - return 0; -} - -// visit union type -int -be_visitor_valuetype_field_ch::visit_union (be_union *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = this->ctx_->node (); // get state member - be_decl *bu = this->ctx_->scope (); // get the enclosing union backend - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_union - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the sequence declaration - ctx.state (TAO_CodeGen::TAO_STRUCT_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_ch::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - os->indent (); - // set method - *os << pre_op() << "void " << ub->local_name () << " (const " - << bt->nested_type_name (bu) << " &)" - << post_op() << " // set" << be_nl - // read-only - << pre_op() << "const " << bt->nested_type_name (bu) << " &" - << ub->local_name () << " (void) const" - << post_op() << " // get method (read only)" - << be_nl - // read/write - << pre_op() << bt->nested_type_name (bu) << " &" << ub->local_name () - << " (void)" << post_op() << " // get method (read/write only)\n\n"; - - return 0; -} - -void -be_visitor_valuetype_field_ch::setenclosings (const char *pre, const char *post) -{ - pre_op_ = pre; - post_op_ = post; -} - -const char* -be_visitor_valuetype_field_ch::pre_op () -{ - return pre_op_; -} - -const char* -be_visitor_valuetype_field_ch::post_op () -{ - return post_op_; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp deleted file mode 100644 index b052358eae7..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp +++ /dev/null @@ -1,1050 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_cs.cpp -// -// = DESCRIPTION -// Visitor for the Valuetype class. -// This one generates code for accessor and modifier functions of -// valuetype state members (in the stub or inline file). -// -// = AUTHOR -// Torsten Kuepper -// derived from be_visitor_union_branch/public_ci.cpp -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype, field_cs, "$Id$") - - -// constructor -be_visitor_valuetype_field_cs:: -be_visitor_valuetype_field_cs (be_visitor_context *ctx) - : be_visitor_decl (ctx), - in_obv_space_ (0) -{ - setenclosings (""); -} - -// destructor -be_visitor_valuetype_field_cs:: -~be_visitor_valuetype_field_cs (void) -{ -} - -// visit the field node -int -be_visitor_valuetype_field_cs:: -visit_field (be_field *node) -{ - be_type *bt = be_type::narrow_from_decl (node->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - this->ctx_->node (node); // save the node - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_cs::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - return 0; -} - -// =visit operations on all possible data types that a union_branch can be - -int -be_visitor_valuetype_field_cs::visit_array (be_array *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_array - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the inline operations for this anonymous array type - ctx.state (TAO_CodeGen::TAO_ARRAY_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_array - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_array - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // for anonymous arrays, the type name has a _ prepended. We compute the - // fullname with or without the underscore and use it later on. - char fname [NAMEBUFSIZE]; // to hold the full and - - // save the node's local name and full name in a buffer for quick use later - // on - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // for anonymous arrays ... - // we have to generate a name for us that has an underscope prepended to - // our local name. This needs to be inserted after the parents's name - - if (bt->is_nested ()) - { - be_decl *parent = - be_scope::narrow_from_scope (bt->defined_in ())->decl (); - ACE_OS::sprintf (fname, "%s::_%s", parent->fullname (), - bt->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (fname, "_%s", bt->fullname ()); - } - } - else - { - // typedefed node - ACE_OS::sprintf (fname, "%s", bt->fullname ()); - } - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); *os << "::" << ub->local_name () << " (" << fname - << " val)// set" << be_nl - << "{" << be_idt_nl; - - *os << fname << "_copy (" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ", val);" << be_uidt_nl; - - *os << "}" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << this->pre_op() << "const " << fname << "_slice *" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (void) const" << be_nl - << "{" << be_idt_nl; - *os << "return this->" - << bu->field_pd_prefix() << ub->local_name () - << bu->field_pd_postfix() << ";" << be_uidt_nl - << "}\n" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << this->pre_op() << fname << "_slice *" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (void)" << be_nl - << "{" << be_idt_nl; - *os << "return this->" - << bu->field_pd_prefix() << ub->local_name () - << bu->field_pd_postfix() << ";" << be_uidt_nl; - *os << "}\n\n"; - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_enum (be_enum *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_enum - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (" << bt->name () - << " val)// set" << be_nl - << "{\n"; - os->incr_indent (); - *os << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = val;\n"; - os->decr_indent (); - *os << "}" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << this->pre_op() << bt->name () << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " () const" - << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";\n"; - os->decr_indent (); - *os << "}\n\n"; - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_interface (be_interface *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_interface - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (" << bt->name () - << "_ptr val)// set" << be_nl - << "{\n"; - os->incr_indent (); - *os << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = val->duplicate ();" << be_uidt_nl; - *os << "}" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << this->pre_op() << bt->name () << "_ptr " << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " () const" - << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ".ptr ();\n"; - os->decr_indent (); - *os << "}\n\n"; - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_interface - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (" << bt->name () - << "_ptr val)// set" << be_nl - << "{\n"; - os->incr_indent (); - *os << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = val->duplicate ();" << be_uidt_nl; - *os << "}" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << this->pre_op() << bt->name () << "_ptr " << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " () const" - << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ".ptr ();\n"; - os->decr_indent (); - *os << "}\n\n"; - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_interface - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (" << bt->name () - << "* val)// set" << be_nl - << "{\n"; - os->incr_indent (); - *os << "if (val) val->_add_ref ();" << be_nl - << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = val;" << be_uidt_nl; - *os << "}" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << this->pre_op() << bt->name () << "* " << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " () const" - << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ".ptr ();\n"; - os->decr_indent (); - *os << "}\n\n"; - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_interface - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (" << bt->name () - << "* val)// set" << be_nl - << "{\n"; - os->incr_indent (); - *os << "if (val) val->_add_ref ();" << be_nl - << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = val;" << be_uidt_nl; - *os << "}" << be_nl; - - // get method - *os << "// retrieve the member" << be_nl - << this->pre_op() << bt->name () << "* " << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " () const" - << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ".ptr ();\n"; - os->decr_indent (); - *os << "}\n\n"; - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_predefined_type (be_predefined_type *node) -{ - TAO_OutStream *os; // output stream - - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - be_type *bt; - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_predef... - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (" << bt->name (); - if (node->pt () == AST_PredefinedType::PT_pseudo) - *os << "_ptr"; - *os << " val) // set" << be_nl - << "{" << be_idt_nl; - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - *os << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = " - << bt->name () << "::_duplicate (val);" << be_uidt_nl; - break; - - case AST_PredefinedType::PT_any: - *os << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = new " - << bt->name () << " (val);" << be_uidt_nl; - break; - - case AST_PredefinedType::PT_void: - break; - - default: - *os << "// set the value" << be_nl - << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = val;" << be_uidt_nl; - } - *os << "}" << be_nl; - - switch (node->pt ()) - { - case AST_PredefinedType::PT_pseudo: - // get method - *os << "// retrieve the member" << be_nl - << this->pre_op() << bt->name () << "_ptr" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (void) const" << be_nl - << "{" << be_idt_nl - << "return this->u" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl - << "}\n\n"; - break; - case AST_PredefinedType::PT_any: - // get method with read-only access - *os << "// retrieve the member" << be_nl - << this->pre_op() << "const " << bt->name () << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (void) const" << be_nl - << "{" << be_idt_nl - << "return *this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl - << "}" << be_nl; - - // get method with read/write access - *os << "// retrieve the member" << be_nl - << this->pre_op() << bt->name () << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (void)" << be_nl - << "{" << be_idt_nl - << "return *this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl - << "}\n\n"; - break; - case AST_PredefinedType::PT_void: - break; - default: - // get method - *os << "// retrieve the member" << be_nl - << this->pre_op() << bt->name () << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (void) const" << be_nl - << "{" << be_idt_nl - << "return this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl - << "}\n\n"; - } - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_sequence (be_sequence *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_sequence - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the inline operations for this anonymous sequence type - ctx.state (TAO_CodeGen::TAO_SEQUENCE_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_sequence - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_sequence - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // (1) set from a const - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (const " << bt->name () << " &val)" << be_nl - << "{" << be_idt_nl; - - *os << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = new " - << bt->name () << " (val);" << be_uidt_nl; - - *os << "}" << be_nl; - - // readonly get method - *os << "// readonly get method " << be_nl - << this->pre_op() << "const " << bt->name () << " &" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (void) const" << be_nl - << "{" << be_idt_nl - << "return this->" // %! *this (seq_var, not seq member) - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl - << "}" << be_nl; - - // read/write get method - *os << "// read/write get method " << be_nl - << this->pre_op() << bt->name () << " &" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (void)" << be_nl - << "{" << be_idt_nl - << "return this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl - << "}\n\n"; - - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_string (be_string *) -{ - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_string - " - "bad context information\n" - ), -1); - } - TAO_OutStream *os = this->ctx_->stream (); - - // three methods to set the string value - - // (1) set method from char* - os->indent (); // start from current indentation - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (char *val)" - << be_nl - << "{" << be_idt_nl; - - *os << "// set the value" << be_nl - << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = val;" << be_uidt_nl - << "}" << be_nl; - - // (2) set method from const char * - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (const char *val)" << be_nl - << "{\n"; - os->incr_indent (); - - *os << "// set the value" << be_nl - << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = " - << "CORBA::string_dup (val);" << be_uidt_nl; - - *os << "}" << be_nl; - - // (3) set from const String_var& - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (const CORBA::String_var &val)" << be_nl - << "{" << be_idt_nl; - *os << ";" << be_nl; - - *os << "// set the value" << be_nl - << "CORBA::String_var " << ub->local_name () - << "_var = val;" << be_nl - << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = " - << ub->local_name () << "_var._retn ();" << be_uidt_nl; - - *os << "}" << be_nl; - - // get method - *os << this->pre_op() << "const char *" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (void) const // get method" << be_nl - << "{" << be_idt_nl - << "return this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl - << "}\n\n"; - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_structure (be_structure *node) -{ - TAO_OutStream *os; // output stream - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_structure - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_STRUCT_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_structure - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_structure - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // (1) set from a const - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (const " << bt->name () << " &val)" << be_nl - << "{" << be_idt_nl; - - if (0) // %! (bt->size_type () == be_type::VARIABLE) - { cerr <<"!t VARIABLE struct in field_cs\n"; - *os << "delete this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_nl; - *os << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = new " - << bt->name () << " (val);" << be_uidt_nl; - } - else - { - *os << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << " = val;" << be_uidt_nl; - } - - *os << "}" << be_nl; - - // readonly get method - *os << "// readonly get method " << be_nl - << this->pre_op() << "const " << bt->name () << " &" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (void) const" << be_nl - << "{" << be_idt_nl; - if (0) // %! (bt->size_type () == be_type::VARIABLE) - *os << "return *this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl; - else - *os << "return this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl; - *os << "}" << be_nl; - - // read/write get method - *os << "// read/write get method " << be_nl - << this->pre_op() << bt->name () << " &" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (void)" << be_nl - << "{" << be_idt_nl; - if (0) // %! (bt->size_type () == be_type::VARIABLE) - *os << "return *this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl; - else - *os << "return this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl; - *os << "}\n\n"; - - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // save the typedef node for use in code generation - // as we visit the base type - - // the node to be visited in the base primitve type that gets typedefed - be_type *bt = node->primitive_base_type (); - if (!bt || (bt->accept (this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - - this->ctx_->alias (0); - return 0; -} - -int -be_visitor_valuetype_field_cs::visit_union (be_union *node) -{ - cerr << "!u be_visitor_valuetype_field_cs::visit_union unimp.\n"; - TAO_OutStream *os; // output stream - be_decl *ub = - this->ctx_->node (); // get field node - be_valuetype *bu = - be_valuetype::narrow_from_decl (this->ctx_->scope ()); - be_type *bt; - - // check if we are visiting this node via a visit to a typedef node - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - - if (!ub || !bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_union - " - "bad context information\n" - ), -1); - } - os = this->ctx_->stream (); - - if (bt->node_type () != AST_Decl::NT_typedef // not a typedef - && bt->is_child (bu)) // bt is defined inside the union - { - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope - // is still the same - - // first generate the enum declaration - ctx.state (TAO_CodeGen::TAO_UNION_CI); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_union - " - "Bad visitor\n" - ), -1); - } - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_field_cs::" - "visit_union - " - "codegen failed\n" - ), -1); - } - delete visitor; - } - - // (1) set from a const - *os << "// accessor to set the member" << be_nl - << this->pre_op() << "void" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () - << " (const " << bt->name () << " &val)" << be_nl - << "{" << be_idt_nl; - - *os << "this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << "_var = new " << bt->name () - << " (val);" << be_nl; - - *os << "}" << be_nl; - - // readonly get method - *os << "// readonly get method " << be_nl - << this->pre_op() << "const " << bt->name () << " &" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (void) const" << be_nl - << "{" << be_idt_nl - << "return *this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl - << "}" << be_nl; - - // read/write get method - *os << "// read/write get method " << be_nl - << this->pre_op() << bt->name () << " &" << be_nl; - this->op_name(bu,os); - *os << "::" << ub->local_name () << " (void)" << be_nl - << "{" << be_idt_nl - << "return *this->" - << bu->field_pd_prefix() << ub->local_name () << bu->field_pd_postfix() - << ";" << be_uidt_nl - << "}\n\n"; - - return 0; -} - -void -be_visitor_valuetype_field_cs::setenclosings (const char *pre) -{ - pre_op_ = pre; -} - -const char* -be_visitor_valuetype_field_cs::pre_op () -{ - return pre_op_; -} - -// retrieve the fully scoped skeleton name -void -be_visitor_valuetype_field_cs::op_name (be_valuetype *node, - TAO_OutStream *os) -{ - if (this->in_obv_space_) - *os << node->full_obv_skel_name (); - else - *os << node->name (); -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/marshal_ch.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/marshal_ch.cpp deleted file mode 100644 index 8fd36705682..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/marshal_ch.cpp +++ /dev/null @@ -1,50 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// marshal_ch.cpp -// -// = DESCRIPTION -// Concrete visitor for valuetypes. -// This one provides code generation for marshalling. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale -// -// ============================================================================ - - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype, marshal_ch, "$Id$") - -// *************************************************************************** -// Structure visitor for generating declarations -// *************************************************************************** - -be_visitor_valuetype_marshal_ch::be_visitor_valuetype_marshal_ch -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_valuetype_marshal_ch::~be_visitor_valuetype_marshal_ch (void) -{ -} - -int -be_visitor_valuetype_marshal_ch::visit_valuetype (be_valuetype *) -{ - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp deleted file mode 100644 index 1f7e5405a67..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/marshal_cs.cpp +++ /dev/null @@ -1,200 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// marshal_cs.cpp -// -// = DESCRIPTION -// Concrete visitor for valuetypes. -// This one provides code generation for marshalling. -// -// = AUTHOR -// Torsten Kuepper -// -// ============================================================================ - - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype, marshal_cs, "$Id$") - - -be_visitor_valuetype_marshal_cs::be_visitor_valuetype_marshal_cs -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_valuetype_marshal_cs::~be_visitor_valuetype_marshal_cs (void) -{ -} - -int -be_visitor_valuetype_marshal_cs::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_OUTPUT); - os->indent (); - *os << "ACE_INLINE CORBA::Boolean" << be_nl; - this->class_name (node, os); - *os << "::_tao_marshal_state (TAO_OutputCDR &strm)" << be_nl - << "{" << be_idt_nl; - be_valuetype *inh = node->statefull_inherit (); - if (inh) - { - if (inh->opt_accessor ()) - { - *os << "if (!"; - this->class_name (inh, os); - *os << "::_tao_marshal_state (strm)) return 0;" << be_nl; - } - else // only can access base class via virtual function - { - *os << "if (!this->_tao_marshal__" - << inh->flatname () - << " (strm)) return 0;" << be_nl; - } - } - - { // array _forany - be_visitor_context* new_ctx = - new be_visitor_context (*this->ctx_); - be_visitor_valuetype_field_cdr_decl field_decl (new_ctx); - field_decl.visit_scope (node); - } - - *os << "if (" << be_idt_nl; - // all we have to do is to visit the scope and generate code - this->gen_fields (node, *this->ctx_); - - *os << be_uidt_nl << ")" - << be_idt_nl - << "return 1;" << be_uidt_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt_nl << be_uidt_nl - << "}\n\n"; - - // set the substate as generating code for the input operator - this->ctx_->sub_state(TAO_CodeGen::TAO_CDR_INPUT); - os->indent (); - *os << "ACE_INLINE CORBA::Boolean" << be_nl; - this->class_name (node, os); - *os << "::_tao_unmarshal_state (TAO_InputCDR &strm)" << be_nl - << "{" << be_idt_nl; - inh = node->statefull_inherit (); - if (inh) - { - if (inh->opt_accessor ()) - { - *os << "if (!"; - this->class_name (inh, os); - *os << "::_tao_unmarshal_state (strm)) return 0;" << be_nl; - } - else // only can access base class via virtual function - { - *os << "if (!this->_tao_unmarshal__" - << inh->flatname () - << " (strm)) return 0;" << be_nl; - } - } - - { // array _forany - be_visitor_context* new_ctx = - new be_visitor_context (*this->ctx_); - be_visitor_valuetype_field_cdr_decl field_decl (new_ctx); - field_decl.visit_scope (node); - } - - *os << "if (" << be_idt_nl; - // all we have to do is to visit the scope and generate code - this->gen_fields (node, *this->ctx_); - - *os << be_uidt_nl << ")" - << be_idt_nl - << "return 1;" << be_uidt_nl - << "else" << be_idt_nl - << "return 0;" << be_uidt_nl << be_uidt_nl - << "}\n\n"; - - return 0; -} - -// retrieve the fully scoped skeleton name -void -be_visitor_valuetype_marshal_cs::class_name (be_valuetype *node, - TAO_OutStream *os) -{ - if (node->opt_accessor ()) - *os << node->name (); - else - *os << node->full_obv_skel_name (); -} - -// ops for field marshal -int -be_visitor_valuetype_marshal_cs::gen_fields (be_valuetype *node, - be_visitor_context &ctx) -{ - int n_processed = 0; - - TAO_OutStream *os = ctx.stream (); - // proceed if the number of members in our scope is greater than 0 - if (node->nmembers () > 0) - { - // initialize an iterator to iterate thru our scope - UTL_ScopeActiveIterator *si; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (node, - UTL_Scope::IK_decls), - -1); - this->elem_number_ = 0; - // continue until each field is visited - for (;!si->is_done ();si->next()) - { - AST_Decl *d = si->item (); - if (!d) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "bad node in this scope\n"), -1); - - } - be_field *field = be_field::narrow_from_decl (d); - if (field) - { - if (n_processed > 0) - *os << " &&" << be_nl; - ++n_processed; - be_visitor_context* new_ctx = - new be_visitor_context (ctx); - be_visitor_valuetype_field_cdr_ci visitor (new_ctx); - visitor.pre_ = node->field_pd_prefix (); - visitor.post_ = node->field_pd_postfix (); - if (visitor.visit_field (field) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_marshal_cs::" - "visit_valuetype - " - "codegen for scope failed\n"), -1); - } - - } - } // end of for loop - delete si; - } - if (n_processed == 0) - *os << "1"; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp deleted file mode 100644 index 70806d09556..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/obv_module.cpp +++ /dev/null @@ -1,145 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// obv_module.cpp -// -// = DESCRIPTION -// Concrete visitor for the Module class -// This provides code generation for the module in the header -// for the OBV_ namespace (see C++ mapping OMG 20.17) -// -// = AUTHOR -// Torsten Kuepper -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -ACE_RCSID(be_visitor_obv_module, obv_module, "$Id$") - - -// ************************************************************ -// Module visitor for server header -// ************************************************************ - -be_visitor_obv_module::be_visitor_obv_module (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_obv_module::~be_visitor_obv_module (void) -{ -} - - - -// This states are processed: -// TAO_MODULE_OBV_CH -// TAO_MODULE_OBV_CI -// TAO_MODULE_OBV_CH - - -int -be_visitor_obv_module::visit_module (be_module *node) -{ - TAO_OutStream *os; // output stream - os = this->ctx_->stream (); - - if (node->has_nested_valuetype ()) - { - if (this->ctx_->state () == TAO_CodeGen::TAO_MODULE_OBV_CH) - { - os->indent (); - - *os << "TAO_NAMESPACE "; // << idl_global->export_macro () - - if (!node->is_nested ()) - // we are outermost module, so prepend - *os << " OBV_" << node->local_name () << be_nl; - else - // we are inside another module - *os << " " << node->local_name () << be_nl; - - *os << "{" << be_nl - << be_idt; - } // client header - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_obv_module::" - "visit_module - " - "codegen for scope failed\n"), -1); - } - - if (this->ctx_->state () == TAO_CodeGen::TAO_MODULE_OBV_CH) - { - os->decr_indent (); - *os << "};\n\n"; - } - } - return 0; -} - - -int -be_visitor_obv_module::visit_valuetype (be_valuetype *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_MODULE_OBV_CH: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_OBV_CH); - break; - case TAO_CodeGen::TAO_MODULE_OBV_CI: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_OBV_CI); - break; - case TAO_CodeGen::TAO_MODULE_OBV_CS: - ctx.state (TAO_CodeGen::TAO_VALUETYPE_OBV_CS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_obv_module::" - "visit_valuetype - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_obv_module::" - "visit_valuetype - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_obv_module::" - "visit_valuetype - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype.cpp deleted file mode 100644 index 41451082e2d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype.cpp +++ /dev/null @@ -1,840 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype.cpp -// -// = DESCRIPTION -// Visitor generating code for Valuetypes. This is a generic visitor. -// -// = AUTHOR -// Torsten Kuepper -// based on interface.cpp from Aniruddha Gokhale -// -// ============================================================================ - -//#include "idl.h" -//#include "idl_extern.h" -//#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype, valuetype, "$Id$") - - -be_visitor_valuetype::be_visitor_valuetype (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_valuetype::~be_visitor_valuetype (void) -{ -} - -// this method must be overridden by the derived valuetype visitors -int -be_visitor_valuetype::visit_valuetype (be_valuetype *) -{ -//! ACE_ASSERT (0); - return -1; -} - - -// visit the scope of the valuetype node -// (in public/private field order) -int -be_visitor_valuetype::visit_valuetype_scope (be_valuetype *node) -{ - // proceed if the number of members in our scope is greater than 0 - if (node->nmembers () > 0) - { - // initialize an iterator to iterate thru our scope - UTL_ScopeActiveIterator *si; - int n_processed = 0; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (node, - UTL_Scope::IK_decls), - -1); - this->elem_number_ = 0; - // continue until each element is visited - for (;!si->is_done ();si->next()) - { - AST_Decl *d = si->item (); - if (!d) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "bad node in this scope\n"), -1); - - } - AST_Field *field = AST_Field::narrow_from_decl (d); - if (field && field->visibility() == AST_Field::vis_PRIVATE) - { - continue; // ignore private fields in this run - // AST_Attribute derives from AST_Field, so test for - // vis_PRIVATE is ok (the attribute has it set to vis_NA) - } - ++ n_processed; - if (n_processed == 1) - this->begin_public (); - be_decl *bd = be_decl::narrow_from_decl (d); - // set the scope node as "node" in which the code is being - // generated so that elements in the node's scope can use it - // for code generation - - this->ctx_->scope (node->decl ()); - - // set the node to be visited - this->ctx_->node (bd); - this->elem_number_++; - - if (bd == 0 || bd->accept (this) == -1) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "codegen for scope failed\n"), -1); - - } - } // end of for loop - delete si; - // next run with private fields only - n_processed = 0; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (node, - UTL_Scope::IK_decls), - -1); - this->elem_number_ = 0; - // continue until each element is visited - for (;!si->is_done ();si->next()) - { - AST_Decl *d = si->item (); - if (!d) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "bad node in this scope\n"), -1); - - } - AST_Field *field = AST_Field::narrow_from_decl (d); - if (!field || - (field && field->visibility() != AST_Field::vis_PRIVATE)) - { - continue; // only private fields in this run - } - ++ n_processed; - if (n_processed == 1) - this->begin_private (); - be_decl *bd = be_decl::narrow_from_decl (d); - // set the scope node as "node" in which the code is being - // generated so that elements in the node's scope can use it - // for code generation - - this->ctx_->scope (node->decl ()); - - // set the node to be visited - this->ctx_->node (bd); - this->elem_number_++; - - if (bd == 0 || bd->accept (this) == -1) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "codegen for scope failed\n"), -1); - - } - } // end of for loop - delete si; - } // end of if - return 0; -} - -// this two are called from visit_valuetype_scope() -void -be_visitor_valuetype::begin_public () -{ - // in derived visitors print "public:" in class definition -} - -void -be_visitor_valuetype::begin_private () -{ - // in derived visitors print "protected:" in class definition -} - -// =all common visit methods for valuetype visitor - -// visit an attribute -int -be_visitor_valuetype::visit_attribute (be_attribute *node) -// was be_visitor_attribute::visit_attribute (be_attribute *node) -{ - this->ctx_->node (node); // save the node - this->ctx_->attribute (node); // save this attribute node - - be_operation *op; - - // first the "get" operation - op = new be_operation (node->field_type (), AST_Operation::OP_noflags, - node->name (), 0); - op->set_name (node->name ()); - if (!op || this->visit_operation (op) == -1) - { - delete op; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_attribute::" - "visit_attribute - " - "codegen for get_attribute failed\n"), - -1); - } - delete op; - if (node->readonly ()) - return 0; // nothing else to do - - // the set method. - // the return type is "void" - be_predefined_type *rt = new be_predefined_type (AST_PredefinedType::PT_void, - new UTL_ScopedName - (new Identifier - ("void", 1, 0, I_FALSE), 0), - 0); - // argument type is the same as the attribute type - be_argument *arg = new be_argument (AST_Argument::dir_IN, - node->field_type (), - node->name (), - 0); - arg->set_name (node->name ()); - // create the operation - op = new be_operation (rt, AST_Operation::OP_noflags, - node->name (), 0); - op->set_name (node->name ()); - op->add_argument_to_scope (arg); - - if (!op || this->visit_operation (op) == -1) - { - delete op; - delete arg; - delete rt; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_attribute::" - "visit_attribute - " - "codegen for set_attribute failed\n"), - -1); - } - delete op; - delete rt; - delete arg; - return 0; -} - - -// visit a constant -int -be_visitor_valuetype::visit_constant (be_constant *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_VALUETYPE_CH: - ctx.state (TAO_CodeGen::TAO_CONSTANT_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_CS: - ctx.state (TAO_CodeGen::TAO_CONSTANT_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_OBV_CH: - case TAO_CodeGen::TAO_VALUETYPE_OBV_CI: - case TAO_CodeGen::TAO_VALUETYPE_OBV_CS: - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CH: - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CS: - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CH: - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CI: - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CS: - case TAO_CodeGen::TAO_VALUETYPE_CI: - case TAO_CodeGen::TAO_VALUETYPE_SH: - case TAO_CodeGen::TAO_VALUETYPE_IH: - case TAO_CodeGen::TAO_VALUETYPE_IS: - case TAO_CodeGen::TAO_VALUETYPE_SI: - case TAO_CodeGen::TAO_VALUETYPE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_constant - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_constant - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_constant - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -//visit an enum -int -be_visitor_valuetype::visit_enum (be_enum *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_VALUETYPE_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_ENUM_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_VALUETYPE_OBV_CH: - case TAO_CodeGen::TAO_VALUETYPE_OBV_CI: - case TAO_CodeGen::TAO_VALUETYPE_OBV_CS: - case TAO_CodeGen::TAO_VALUETYPE_CI: - case TAO_CodeGen::TAO_VALUETYPE_SH: - case TAO_CodeGen::TAO_VALUETYPE_IH: - case TAO_CodeGen::TAO_VALUETYPE_IS: - case TAO_CodeGen::TAO_VALUETYPE_SI: - case TAO_CodeGen::TAO_VALUETYPE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_enum - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_enum - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_enum - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - - -// visit an operation -int -be_visitor_valuetype::visit_operation (be_operation *) -{ - // is overridden in derived visitors - return 0; -} - -// visit an exception (not used) -int -be_visitor_valuetype::visit_exception (be_exception *) -{ - cerr << "! be_visitor_valuetype::visit_exception() --- not allowed\n"; - ACE_ASSERT (0); - return 0; -} - -// visit an structure -int -be_visitor_valuetype::visit_structure (be_structure *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_VALUETYPE_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CI); - break; - case TAO_CodeGen::TAO_VALUETYPE_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_STRUCT_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_OBV_CH: - case TAO_CodeGen::TAO_VALUETYPE_OBV_CI: - case TAO_CodeGen::TAO_VALUETYPE_OBV_CS: - case TAO_CodeGen::TAO_VALUETYPE_SH: - case TAO_CodeGen::TAO_VALUETYPE_IH: - case TAO_CodeGen::TAO_VALUETYPE_IS: - case TAO_CodeGen::TAO_VALUETYPE_SI: - case TAO_CodeGen::TAO_VALUETYPE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_structure - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_structure - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_structure - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit a union -int -be_visitor_valuetype::visit_union (be_union *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_VALUETYPE_CH: - ctx.state (TAO_CodeGen::TAO_UNION_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_CI: - ctx.state (TAO_CodeGen::TAO_UNION_CI); - break; - case TAO_CodeGen::TAO_VALUETYPE_CS: - ctx.state (TAO_CodeGen::TAO_UNION_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_UNION_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_OBV_CH: - case TAO_CodeGen::TAO_VALUETYPE_OBV_CI: - case TAO_CodeGen::TAO_VALUETYPE_OBV_CS: - case TAO_CodeGen::TAO_VALUETYPE_SH: - case TAO_CodeGen::TAO_VALUETYPE_IH: - case TAO_CodeGen::TAO_VALUETYPE_IS: - case TAO_CodeGen::TAO_VALUETYPE_SI: - case TAO_CodeGen::TAO_VALUETYPE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_union - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_union - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_union - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -// visit a typedef -int -be_visitor_valuetype::visit_typedef (be_typedef *node) -{ - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - // this switch is acceptable rather than having derived visitors overriding - // this method and differing only in what state they set - - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_VALUETYPE_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_CI: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CI); - break; - case TAO_CodeGen::TAO_VALUETYPE_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_ANY_OP_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CH: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CH); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CI: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CI); - break; - case TAO_CodeGen::TAO_VALUETYPE_CDR_OP_CS: - ctx.state (TAO_CodeGen::TAO_TYPEDEF_CDR_OP_CS); - break; - case TAO_CodeGen::TAO_VALUETYPE_OBV_CH: - case TAO_CodeGen::TAO_VALUETYPE_OBV_CI: - case TAO_CodeGen::TAO_VALUETYPE_OBV_CS: - case TAO_CodeGen::TAO_VALUETYPE_SH: - case TAO_CodeGen::TAO_VALUETYPE_IH: - case TAO_CodeGen::TAO_VALUETYPE_IS: - case TAO_CodeGen::TAO_VALUETYPE_SI: - case TAO_CodeGen::TAO_VALUETYPE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_typedef - " - "Bad context state\n" - ), -1); - } - } - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_typedef - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype::" - "visit_typedef - " - "failed to accept visitor\n" - ), -1); - } - delete visitor; - return 0; -} - -int -be_visitor_valuetype::visit_field (be_field *) -{ - // is overridden in derived visitors - return 0; -} - - -// private data fields for scope -int -be_visitor_valuetype::gen_pd (be_valuetype *node) -{ - // proceed if the number of members in our scope is greater than 0 - if (node->nmembers () > 0) - { - // initialize an iterator to iterate thru our scope - UTL_ScopeActiveIterator *si; - int n_processed = 0; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (node, - UTL_Scope::IK_decls), - -1); - this->elem_number_ = 0; - // continue until each field is visited - for (;!si->is_done ();si->next()) - { - AST_Decl *d = si->item (); - if (!d) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "bad node in this scope\n"), -1); - - } - be_field *field = be_field::narrow_from_decl (d); - if (!field) - { - continue; - } - ++ n_processed; - // set the scope node as "node" in which the code is being - // generated so that elements in the node's scope can use it - // for code generation - - this->ctx_->scope (node->decl ()); - - // set the node to be visited - this->ctx_->node (field); - this->elem_number_++; - - if (this->gen_field_pd (field) == -1) - { - delete si; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_scope::visit_scope - " - "codegen for scope failed\n"), -1); - - } - } // end of for loop - delete si; - } - return 0; -} - -// private data for field -int -be_visitor_valuetype::gen_field_pd (be_field *node) -// derived from be_visitor_field_ch -{ - TAO_OutStream *os; // output stream - be_type *bt; // field's type - be_valuetype *vt; // field declared in this scope - - os = this->ctx_->stream (); - // first generate the type information - bt = be_type::narrow_from_decl (node->field_type ()); - vt = be_valuetype::narrow_from_scope (node->defined_in ()); - if (!bt || !vt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_field - " - "Bad field type\n" - ), -1); - } - - // instantiate a visitor context with a copy of our context. This info - // will be modified based on what type of node we are visiting - be_visitor_context ctx (*this->ctx_); - ctx.node (node); // set the node to be the node being visited. The scope is - // still the same - - ctx.state (TAO_CodeGen::TAO_FIELD_CH); - - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure::" - "visit_field - " - "NUL visitor\n" - ), -1); - } - - // let the node accept this visitor - if (bt->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_field_ch::" - "visit_field - " - "codegen for field type failed\n" - ), -1); - } - delete visitor; - - // now output the field name. - *os << " " << vt->field_pd_prefix () - << node->local_name () - << vt->field_pd_postfix() << ";\n"; - return 0; - -} - - -// generate the _init definition -int -be_visitor_valuetype::gen_init_defn (be_valuetype *node) -{ - if (node->is_abstract_valuetype ()) - return 0; // no instance of it can created - - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - os->indent (); // start with whatever indentation level we are at - - *os << "class " << idl_global->export_macro () - << " " << node->local_name () - << "_init : public ACE_CORBA_1 (ValueFactoryBase)" << be_nl; - - // generate the body - - *os << "{" << be_nl - << "public:" << be_idt_nl - << "virtual ~" << node->local_name () << "_init ();" << be_nl; - - /* %! << "static " << node->local_name () << "* " - << "_downcast (CORBA::ValueFactoryBase* );" << be_nl */ - - *os << "virtual const char* tao_repository_id ();\n" << be_nl; - *os << "// create () goes here" << be_nl; // %! - - *os << be_uidt_nl << "};\n"; - - return 0; -} - -int -be_visitor_valuetype::gen_init_impl (be_valuetype *node) -{ - if (node->is_abstract_valuetype ()) - return 0; // no instance of it can created - - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - os->indent (); // start with whatever indentation level we are at - - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_init", node->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_init", node->local_name ()->get_string ()); - - // destructor - *os << fname << "::~" << lname << " ()" << be_nl - << "{" << be_nl << "}\n\n"; - - *os << "const char* " << be_nl - << fname << "::tao_repository_id ()" << be_nl - << "{" << be_idt_nl - << "return " << node->name() - << "::_tao_obv_static_repository_id ();" - << be_uidt_nl << "}\n\n"; - - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp deleted file mode 100644 index e15b3aedea9..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp +++ /dev/null @@ -1,419 +0,0 @@ - -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Valuetypes in the client header -// (see C++ mapping OMG 20.17) -// -// = AUTHOR -// Torsten Kuepper , -// based on interface_ch.cpp from Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype, valuetype_ch, "$Id$") - - -// ****************************************************** -// Valuetype visitor for client header -// ****************************************************** - -be_visitor_valuetype_ch::be_visitor_valuetype_ch (be_visitor_context *ctx) - : be_visitor_valuetype (ctx) -{ -} - -be_visitor_valuetype_ch::~be_visitor_valuetype_ch (void) -{ -} - -int -be_visitor_valuetype_ch::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os; // output stream - - if (!node->cli_hdr_gen () && !node->imported ()) // not already generated and - // not imported - { - - os = this->ctx_->stream (); - *os << "// valuetype class\n"; - - // == STEP 1: generate the class name and class names we inherit == - - os->indent (); // start with whatever indentation level we are at - // forward declaration - *os << "class " << node->local_name () << ";" << be_nl; - - // generate the ifdefined macro for the _var type - os->gen_ifdef_macro (node->flatname (), "_var"); - - // generate the _var declaration - if (node->gen_var_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_ch::" - "visit_valuetype - " - "codegen for _var failed\n"), -1); - } - os->gen_endif (); - - // generate the ifdef macro for the _out class - os->gen_ifdef_macro (node->flatname (), "_out"); - - // generate the _out declaration - ORBOS/97-05-15 pg 16-20 spec - if (node->gen_out_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_ch::" - "visit_valuetype - " - "codegen for _out failed\n"), -1); - } - // generate the endif macro - os->gen_endif (); - - // generate the ifdef macro for the _init class - os->gen_ifdef_macro (node->flatname (), "_init"); - - // generate the _init declaration - ptc/98-09-03 20.17.10 p.20-93 - if (this->gen_init_defn (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_ch::" - "visit_valuetype - " - "codegen for _init failed\n"), -1); - } - // generate the endif macro - os->gen_endif (); - - // now the valuetype definition itself - os->gen_ifdef_macro (node->flatname ()); - - // now generate the class definition - os->indent (); - *os << "class " << idl_global->export_macro () - << " " << node->local_name (); - - // node valuetype inherits from other valuetypes (OMG 20.17.9) - // (ordinary (not abstract) interfaces ignored) - - *os << " : "; - int i; // loop index - int n_inherits_valuetypes = 0; - idl_bool valuebase_inherited = 0; - if (node->n_inherits () > 0) - { - for (i = 0; i < node->n_inherits (); i++) - { - // %! move is_nested() and nested_type_name() to - // AST_Interface, then type AST_Interface can be used - be_interface *inherited = - be_interface::narrow_from_decl (node->inherits ()[i]); - if (!inherited->is_valuetype() && - !inherited->is_abstract_interface()) - continue; - - ++ n_inherits_valuetypes; - if (inherited->is_valuetype()) - valuebase_inherited = 1; - if (n_inherits_valuetypes > 1) // node is the case of multiple - // inheritance, so put a comma - { - *os << ", "; - } - be_decl *scope = 0; - if (inherited->is_nested ()) - { - // inherited node is used in the scope of "node" node - scope = be_scope::narrow_from_scope (node->defined_in ()) - ->decl (); - } - - // dump the scoped name - *os << "public virtual "; - *os << inherited->nested_type_name (scope); - } // end of for loop - if (n_inherits_valuetypes > 0) - *os << be_nl; - } - if (!valuebase_inherited) - { - // we do not inherit from any valuetype, hence we do so from the base - // CORBA::ValueBase class - // Generate code that uses the macro. This is required to deal with - // the MSVC++ insanity - if (n_inherits_valuetypes > 1) // node is the case of multiple - // inheritance, so put a comma - { - *os << ", "; - } - *os << "public virtual ACE_CORBA_1 (ValueBase)" << be_nl; - } - - // generate the body - - *os << "{" << be_nl - << "public:" << be_nl - - // generate the _ptr_type and _var_type typedef - // but we must protect against certain versions of g++ - << "#if !defined(__GNUC__) || __GNUC__ > 2 || __GNUC_MINOR__ >= 8" - << be_idt_nl - << "typedef " << node->local_name () << "* _ptr_type;" << be_nl - << "typedef " << node->local_name () << "_var _var_type;" - << be_uidt_nl - << "#endif /* __GNUC__ */\n" << be_idt_nl - - // generate the static _downcast operation - // (see OMG 20.17.{4,5}) - << "static " << node->local_name () << "* " - << "_downcast (CORBA::ValueBase* );" << be_nl - << "// The address of static _downcast is implicit used as type id\n" - << be_nl - - << "// (TAO extensions or internals)" << be_nl - << "static CORBA::Boolean _tao_unmarshal (TAO_InputCDR &, " - << node->local_name () << " *&);" << be_nl - << "virtual const char* " - << "_tao_obv_repository_id () const;" - << be_nl - << "static const char* " - << "_tao_obv_static_repository_id ();\n"; - - // generate code for the valuetype definition - if (this->visit_valuetype_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_ch::" - "visit_valuetype - " - "codegen for scope failed\n"), -1); - } - - // protected member: - - // generate the "protected" constructor so that users cannot instantiate - // us - *os << be_uidt_nl << "protected:" << be_idt_nl - << node->local_name () - << " (); // default constructor" << be_nl - << "virtual ~" << node->local_name () << " ();\n" << be_nl; - - *os << "// TAO internals" << be_nl - << "virtual void *_tao_obv_narrow (ptr_arith_t);" << be_nl; - // support for marshalling - if (!node->is_abstract_valuetype ()) - { - *os << "virtual CORBA::Boolean " - << "_tao_marshal_v (TAO_OutputCDR &);" << be_nl; - *os << "virtual CORBA::Boolean " - << "_tao_unmarshal_v (TAO_InputCDR &);" << be_nl; - // %! optimize _downcast away: extra parameter with type info - // set (void *) in CDR Stream with the right derived pointer - } - - - // private member: - - // private copy constructor and assignment operator. These are not - // allowed, hence they are private. - *os << be_uidt_nl << "private:" << be_idt_nl; - *os << node->local_name () << " (const " << node->local_name () << " &);" - << be_nl - << "void operator= (const " << node->local_name () << " &);" - << be_nl; - - // map fields to private data (if optimizing) - if (node->opt_accessor ()) - { - *os << be_uidt_nl << "protected:" << be_idt_nl; - *os << "CORBA::Boolean " - << "_tao_marshal_state (TAO_OutputCDR &);" << be_nl - << "CORBA::Boolean " - << "_tao_unmarshal_state (TAO_InputCDR &);\n\n"; - *os << be_uidt_nl << "private:\n" << be_idt; - this->gen_pd (node); - } - else // need a way to access the state of derived OBV_ classes - { - if (!node->is_abstract_valuetype ()) - { - *os << be_uidt_nl << "protected:" << be_idt_nl; - *os << "virtual CORBA::Boolean _tao_marshal__" - << node->flatname () << " (TAO_OutputCDR &) = 0;" - << be_nl; - *os << "virtual CORBA::Boolean _tao_unmarshal__" - << node->flatname () << " (TAO_InputCDR &) = 0;" - << be_nl; - } - } - - *os << be_uidt_nl << "};\n"; - os->gen_endif (); - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - // (see interface code how to do this. not yet impl.) - - node->cli_hdr_gen (I_TRUE); - } // if !cli_hdr_gen - return 0; -} - - -int -be_visitor_valuetype_ch::visit_operation (be_operation *node) -// derived from be_visitor_operation_ch::visit_operation -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node - - os = this->ctx_->stream (); - this->ctx_->node (node); // save the node - - os->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *os << "virtual "; - - // STEP I: generate the return type - bt = be_type::narrow_from_decl (node->return_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_ch::" - "visit_operation - " - "Bad return type\n"), - -1); - } - - // grab the right visitor to generate the return type - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_RETTYPE_CH); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_valuetype_ch::" - "visit_operation - " - "Bad visitor to return type\n"), - -1); - } - - if (bt->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_ch::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - // STEP 2: generate the operation name - *os << " " << node->local_name (); - - // STEP 3: generate the argument list with the appropriate mapping. For these - // we grab a visitor that generates the parameter listing - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OBV_OPERATION_ARGLIST_CH); - visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_valuetype_ch::" - "visit_operation - " - "Bad visitor to argument list\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_operation_ch::" - "visit_operation - " - "codegen for argument list failed\n"), - -1); - } - delete visitor; - - return 0; -} - -int -be_visitor_valuetype_ch::visit_field (be_field *node) -{ - be_valuetype *vt = be_valuetype::narrow_from_scope (node->defined_in ()); - if (!vt) - return -1; - be_visitor_context* ctx = new be_visitor_context (*this->ctx_); - ctx->state (TAO_CodeGen::TAO_FIELD_OBV_CH); - be_visitor_valuetype_field_ch *visitor = - new be_visitor_valuetype_field_ch (ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_valuetype_obv_ch::" - "visit_field - bad visitor\n"), - -1); - } - - if (vt->opt_accessor ()) - visitor->setenclosings ("",";"); - else - visitor->setenclosings ("virtual "," = 0;"); - - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_obv_ch::" - "visit_field - codegen failed\n"), - -1); - } - delete visitor; - return 0; -} - - -void -be_visitor_valuetype_ch::begin_public () -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - *os << be_uidt; - os->indent (); - *os << "public:\n" << be_idt; -} - -void -be_visitor_valuetype_ch::begin_private () -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - *os << be_uidt; - os->indent (); - *os << "protected:\n" << be_idt; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ci.cpp deleted file mode 100644 index 368a53e1e71..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ci.cpp +++ /dev/null @@ -1,133 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Valuetypes in the client inline file -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype, valuetype_ci, "$Id$") - - -// ************************************************** -// Valuetype visitor for client inline -// ************************************************** -be_visitor_valuetype_ci::be_visitor_valuetype_ci (be_visitor_context *ctx) - : be_visitor_valuetype (ctx), - opt_accessor_ (0) -{ -} - -be_visitor_valuetype_ci::~be_visitor_valuetype_ci (void) -{ -} - -int -be_visitor_valuetype_ci::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os; // output stream - - if (node->cli_inline_gen () || node->imported ()) - return 0; - - // need to access it in visit_field () - if (node->opt_accessor ()) - this->opt_accessor_ = 1; - - os = this->ctx_->stream (); - - os->indent (); // start from the current indentation level - - // generate the constructors and destructor - *os << "ACE_INLINE" << be_nl; - *os << node->name () << "::" << node->local_name () << - " () // default constructor" << be_nl; - *os << "{}" << be_nl << be_nl; - - *os << "ACE_INLINE" << be_nl; - *os << node->name () << "::~" << node->local_name () << - " () // destructor" << be_nl; - *os << "{}\n" << be_nl; - - *os << "ACE_INLINE const char* " << be_nl - << node->name() << "::_tao_obv_static_repository_id ()" << be_nl - << "{" << be_idt_nl - << "return \"" << node->repoID () << "\";" << be_uidt_nl - << "}\n\n"; - - // generate the ifdefined macro for the _var type - os->gen_ifdef_macro (node->flatname (), "_var"); - if (node->gen_var_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_ci::" - "visit_valuetype - " - "codegen for _var failed\n"), -1); - } - os->gen_endif (); - - // generate the ifdefined macro for the _out type - os->gen_ifdef_macro (node->flatname (), "_out"); - if (node->gen_out_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_ci::" - "visit_valuetype - " - "codegen for _out failed\n"), -1); - } - os->gen_endif (); - - // generate inline methods for elements of our scope - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_ci::" - "visit_valuetype - " - "codegen for scope failed\n"), -1); - } - - return 0; -} - - -int -be_visitor_valuetype_ci::visit_field (be_field *node) -{ - if (opt_accessor_) - { - be_visitor_context *ctx = new be_visitor_context (*this->ctx_); - be_visitor_valuetype_field_cs *visitor = - new be_visitor_valuetype_field_cs (ctx); - visitor->in_obv_space_ = 0; - visitor->setenclosings ("ACE_INLINE "); - if (visitor->visit_field (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_ci::" - "visit_field - " - "visit_field failed\n" - ), -1); - } - delete visitor; - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_cs.cpp deleted file mode 100644 index 40b655a80b1..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_cs.cpp +++ /dev/null @@ -1,210 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Valuetypes in the client stubs file. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype, valuetype_cs, "$Id$") - - -// ************************************************************ -// Valuetype visitor for client stubs -// ************************************************************ - -be_visitor_valuetype_cs::be_visitor_valuetype_cs (be_visitor_context *ctx) - : be_visitor_valuetype (ctx) -{ -} - -be_visitor_valuetype_cs::~be_visitor_valuetype_cs (void) -{ -} - -int -be_visitor_valuetype_cs::visit_valuetype (be_valuetype *node) -{ - TAO_OutStream *os; // output stream - - if (node->cli_stub_gen () || node->imported ()) - return 0; - - os = this->ctx_->stream (); - - os->indent (); // start with whatever indentation level we are at - - // The _downcast method // %! use ACE_xxx_cast here ? - *os << node->name() << "* " << node->name() - << "::_downcast (CORBA::ValueBase* v)" << be_nl - << "{" << be_idt_nl - << "if (v == 0) return 0;" << be_nl - << "return (" << node->local_name() << "* ) " - << "v->_tao_obv_narrow ((ptr_arith_t) &_downcast);" << be_uidt_nl - << "}\n" << be_nl - - // The _tao_obv_repository_id method - << "const char* " << node->name() - << "::_tao_obv_repository_id () const" << be_nl - << "{" << be_idt_nl - << "return this->_tao_obv_static_repository_id ();" << be_uidt_nl - << "}\n" << be_nl - - // The _tao_obv_narrow method - << "void* " << node->name() - << "::_tao_obv_narrow (ptr_arith_t type_id)" << be_nl - << "{" << be_idt_nl - << "if (type_id == (ptr_arith_t) &_downcast)" << be_idt_nl - << "return this;" << be_uidt_nl - << "void *rval = 0;" << be_nl; - - // Find the possible base classes. - - int n_inherits_downcastable = 0; - for (int i = 0; i < node->n_inherits (); i++) - { - AST_Interface *inherited = - AST_Interface::narrow_from_decl (node->inherits ()[i]); - if (inherited->is_valuetype()) - { - ++n_inherits_downcastable; - *os << "if (rval == 0)" << be_idt_nl - << "rval = " << inherited->name() - << "::_tao_obv_narrow (type_id);" << be_uidt_nl; - } - } - - *os << "return rval;" << be_uidt_nl - << "}\n\n"; - - // Nothing to marshal if abstract valuetype. - if (!node->is_abstract_valuetype ()) - { - // The virtual _tao_marshal_v method - *os << "CORBA::Boolean " << node->name() - << "::_tao_marshal_v (TAO_OutputCDR & strm)" - << be_nl - << "{" << be_idt_nl - << "return "; - if (node->opt_accessor ()) - { - *os << node->name () - <<"::_tao_marshal_state (strm);" << be_uidt_nl; - } - else - { - *os << "this->_tao_marshal__" << node->flatname () - << " (strm);" << be_uidt_nl; - } - *os << "}\n" << be_nl; - - // The virtual _tao_unmarshal_v method - *os << "CORBA::Boolean " << node->name() - << "::_tao_unmarshal_v (TAO_InputCDR & strm)" - << be_nl - << "{" << be_idt_nl - << "return "; - if (node->opt_accessor ()) - { - *os << node->name () - <<"::_tao_unmarshal_state (strm);" << be_uidt_nl; - } - else - { - *os << "this->_tao_unmarshal__" << node->flatname () - << " (strm);" << be_uidt_nl; - } - *os << "}\n" << be_nl; - } // !node->is_abstract_valuetype () - - // The static T::_tao_unmarshal method ---------------------------- - - *os << "CORBA::Boolean " << node->name() - << "::_tao_unmarshal (TAO_InputCDR &strm, " - << node->name() <<" *&new_object)" << be_nl - << "{" << be_idt_nl - << "CORBA::Boolean retval = 1;" << be_nl - << "CORBA::ValueBase *base; // %! should be a _var" - << be_nl - << "CORBA::ValueFactory_ptr factory; // %! should be a _var" - << be_nl - - << "if (!CORBA::ValueBase::_tao_unmarshal_pre (strm, factory, base," << be_idt_nl - << " " << node->name () - << "::_tao_obv_static_repository_id ()) )" << be_nl - << "{" << be_idt_nl - << "return 0;" << be_uidt_nl - << "}" << be_uidt_nl - << "if (factory != 0)" << be_idt_nl - << "{" << be_idt_nl - - << "base = factory->create_for_unmarshal ();" << be_nl - << "factory->_remove_ref ();" << be_nl - << "if (base == 0) return 0; // %! except.?" << be_nl - << "//%! ACE_DEBUG ((LM_DEBUG, \"" << node->name() - << "::_tao_unmarshal %s\\n\", " - << "base->_tao_obv_repository_id () ));" << be_nl - << "retval = base->_tao_unmarshal_v (strm);" << be_nl - << "//%! ACE_DEBUG ((LM_DEBUG, \"" << node->name() - << "::_tao_unmarshal retval unmarshal_v is %d\\n\", " - << "retval));" << be_nl - << "if (!retval) return 0;" - - << be_uidt_nl << "}" << be_uidt_nl - << "// Now base must be null or point to the unmarshaled object." - << be_nl - << "// Align the pointer to the right subobject." << be_nl - << "new_object = " << node->name () << "::_downcast (base);" << be_nl - << "// %! unmarshal_post" << be_nl - << "return 1;" << be_uidt_nl - << "}\n" << be_nl; - - // The static T::_tao_unmarshal method ------------------------ end - - // generate the ifdefined macro for the _init type - os->gen_ifdef_macro (node->flatname (), "_init"); - if (this->gen_init_impl (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_cs::" - "visit_valuetype - " - "codegen for _init failed\n"), -1); - } - os->gen_endif (); - - // generate code for the elements of the valuetype - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_cs::" - "visit_valuetype - " - "codegen for scope failed\n"), -1); - } - - - // by using a visitor to declare and define the TypeCode, we have the - // added advantage to conditionally not generate any code. This will be - // based on the command line options. This is still TO-DO - // (see interface code how to do this. not yet impl.) - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_ch.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_ch.cpp deleted file mode 100644 index 4cdee96d078..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_ch.cpp +++ /dev/null @@ -1,176 +0,0 @@ - -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_obv__ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Valuetypes in the client header -// OBV_ class -// (see C++ mapping OMG 20.17) -// -// = AUTHOR -// Torsten Kuepper , -// based on interface_ch.cpp from Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype_obv_ch, valuetype_obv_ch, "$Id$") - - -// ****************************************************** -// Valuetype visitor for client header -// ****************************************************** - -be_visitor_valuetype_obv_ch::be_visitor_valuetype_obv_ch (be_visitor_context *ctx) - : be_visitor_valuetype (ctx) -{ -} - -be_visitor_valuetype_obv_ch::~be_visitor_valuetype_obv_ch (void) -{ -} - - -// OBV_ class must be in OBV_ namespace -int -be_visitor_valuetype_obv_ch::visit_valuetype (be_valuetype *node) -{ - // only visit non-abstract valuetype - if (node->is_abstract_valuetype ()) - return 0; - - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - - // OBV_ class maps only to a typedef if we are optimizing accessors - if (node->opt_accessor ()) - { - os->indent (); - *os << "typedef " << node->fullname () << " "; - if (!node->is_nested ()) - *os << "OBV_"; - *os << node->local_name () << ";" << be_nl; - } - else - { - // == STEP 1: generate the class name and the class name we inherit == - - os->gen_ifdef_macro (node->flatname (), "_OBV"); - os->indent (); - - *os << "// OBV_ class" << be_nl; - *os << "class "; - if (!node->is_nested()) // we are in root ? - *os << "OBV_"; - *os << node->local_name () << " : public virtual " - << node->fullname () << be_nl; - - // == STEP 2: generate the body == - - *os << "{\n" << be_idt; - - // generate code for the OBV_ class definition - if (this->visit_valuetype_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_obv_ch::" - "visit_valuetype - " - "codegen for scope failed\n"), -1); - } - // map fields to private data - if (!node->opt_accessor ()) // check again (redundant) - { - *os << be_uidt_nl << "protected:" << be_idt_nl; - *os << "virtual CORBA::Boolean _tao_marshal__" - << node->flatname () << " (TAO_OutputCDR &);" << be_nl; - *os << "virtual CORBA::Boolean _tao_unmarshal__" - << node->flatname () << " (TAO_InputCDR &);" << be_nl; - *os << "CORBA::Boolean " - << "_tao_marshal_state (TAO_OutputCDR &);" << be_nl - << "CORBA::Boolean " - << "_tao_unmarshal_state (TAO_InputCDR &);\n\n"; - *os << be_uidt_nl << "private:" << be_idt_nl; - this->gen_pd (node); - } - *os << be_uidt; - os->indent (); - *os << "};\n"; - os->gen_endif (); - } // if !opt_accessor () - - return 0; -} - - -int -be_visitor_valuetype_obv_ch::visit_field (be_field *node) -{ - be_valuetype *vt = be_valuetype::narrow_from_scope (node->defined_in ()); - if (!vt) - return -1; - // only in OBV_ class, if we are not optimizing accessors (and modifiers) - if (!vt->opt_accessor ()) - { - be_visitor_context* ctx = new be_visitor_context (*this->ctx_); - ctx->state (TAO_CodeGen::TAO_FIELD_OBV_CH); - be_visitor_valuetype_field_ch *visitor = - new be_visitor_valuetype_field_ch (ctx); - - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_valuetype_obv_ch::" - "visit_field - bad visitor\n"), - -1); - } - - visitor->setenclosings ("virtual ",";"); - if (node->accept (visitor) == -1) - { - delete visitor; - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_obv_ch::" - "visit_field - codegen failed\n"), - -1); - } - delete visitor; - } - return 0; -} - -void -be_visitor_valuetype_obv_ch::begin_public () -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - *os << be_uidt; - os->indent (); - *os << "public:\n" << be_idt; -} - -void -be_visitor_valuetype_obv_ch::begin_private () -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - *os << be_uidt; - os->indent (); - *os << "protected:\n" << be_idt; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_ci.cpp deleted file mode 100644 index ca026ba9dfd..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_ci.cpp +++ /dev/null @@ -1,78 +0,0 @@ - -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_obv_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Valuetypes -// OBV_ class implementation -// (see C++ mapping OMG 20.17) -// -// = AUTHOR -// Torsten Kuepper , -// based on interface_ch.cpp from Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype_obv_ci, valuetype_obv_ci, "$Id$") - - -// ****************************************************** -// Valuetype visitor for OBV_ class implementation -// ****************************************************** - -be_visitor_valuetype_obv_ci::be_visitor_valuetype_obv_ci (be_visitor_context *ctx) - : be_visitor_valuetype (ctx) -{ -} - -be_visitor_valuetype_obv_ci::~be_visitor_valuetype_obv_ci (void) -{ -} - - -// OBV_ class must be in OBV_ namespace -int -be_visitor_valuetype_obv_ci::visit_valuetype (be_valuetype *node) -{ -return 0; // %! dead code - // only visit non-abstract valuetype - if (node->is_abstract_valuetype ()) - return 0; - - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - os->indent (); - - // OBV_ class is only a typedef if we are optimizing accessors - if (node->opt_accessor ()) - { - } - else - { - } // if !opt_accessor () - return 0; -} - - -int -be_visitor_valuetype_obv_ci::visit_field (be_field *node) -{ - // dead code - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_cs.cpp deleted file mode 100644 index 4bcf4ef00ba..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_cs.cpp +++ /dev/null @@ -1,111 +0,0 @@ - -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_obv_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Valuetypes -// OBV_ class implementation -// (see C++ mapping OMG 20.17) -// -// = AUTHOR -// Torsten Kuepper , -// derived from interface_ch.cpp from Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype.h" - -ACE_RCSID(be_visitor_valuetype_obv_cs, valuetype_obv_cs, "$Id$") - - -// ****************************************************** -// Valuetype visitor for OBV_ class implementation -// ****************************************************** - -be_visitor_valuetype_obv_cs::be_visitor_valuetype_obv_cs (be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_valuetype_obv_cs::~be_visitor_valuetype_obv_cs (void) -{ -} - - -// OBV_ class must be in OBV_ namespace -int -be_visitor_valuetype_obv_cs::visit_valuetype (be_valuetype *node) -{ - // only visit non-abstract valuetype - if (node->is_abstract_valuetype ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // OBV_ class has no accessors or modifiers if we are optimizing - // or the valuetype is abstract. - if (!(node->opt_accessor () || node->is_abstract_valuetype () )) - { - os->indent (); - *os << "CORBA::Boolean " << be_nl - << node->full_obv_skel_name () - << "::_tao_marshal__" << node->flatname () - << " (TAO_OutputCDR &strm)" - << "{" << be_idt_nl - << "return " << node->full_obv_skel_name () - << "::_tao_marshal_state (strm);" << be_nl - << be_uidt_nl << "}\n"; - - *os << "CORBA::Boolean " - << node->full_obv_skel_name () - << "::_tao_unmarshal__" << node->flatname () - << " (TAO_InputCDR &strm)" - << "{" << be_idt_nl - << "return " << node->full_obv_skel_name () - << "::_tao_unmarshal_state (strm);" << be_nl - << be_uidt_nl << "}\n"; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_obv_cs::" - "visit_valuetype - " - "visit_scope failed\n" - ), -1); - } - } - return 0; -} - -int -be_visitor_valuetype_obv_cs::visit_field (be_field *node) -{ - be_visitor_context *ctx = new be_visitor_context (*this->ctx_); - be_visitor_valuetype_field_cs *visitor = - new be_visitor_valuetype_field_cs (ctx); - visitor->in_obv_space_ = 1; - // visitor->setenclosings ("ACE_INLINE "); - if (visitor->visit_field (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_obv_cs::" - "visit_field - " - "visit_field failed\n" - ), -1); - } - delete visitor; - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype_fwd.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype_fwd.cpp deleted file mode 100644 index 79d1f442b5b..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype_fwd.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_valuetype_fwd.cpp -// -// = DESCRIPTION -// Visitors for generation of code for Valuetype_Fwd -// -// = AUTHOR -// Torsten Kuepper -// -// ============================================================================ - - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#ifdef IDL_HAS_VALUETYPE - -#include "be_visitor_valuetype_fwd.h" - -// include all the individual files -//#include "be_visitor_valuetype_fwd/valuetype_fwd_ch.cpp" -//#include "be_visitor_valuetype_fwd/valuetype_fwd_ci.cpp" -//#include "be_visitor_valuetype_fwd/cdr_op_ci.cpp" - -ACE_RCSID(be, be_visitor_valuetype_fwd, "$Id$") - -#endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype_fwd/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype_fwd/cdr_op_ci.cpp deleted file mode 100644 index a290ee99010..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype_fwd/cdr_op_ci.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// -// $Id$ -// - -// ================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for forward -// declarations of valuetypes. This uses compiled marshaling. -// -// = AUTHOR -// Torsten Kuepper based on code from -// Aniruddha Gokhale & Carlos O'Ryan (cdr_op_ci.cpp) -// -// ================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype_fwd.h" - -ACE_RCSID(be_visitor_valuetype_fwd, cdr_op_ci, "$Id$") - -// **************************************************************** -// Interface visitor for generating CDR operator declarations in the -// client header -// **************************************************************** - -be_visitor_valuetype_fwd_cdr_op_ci:: -be_visitor_valuetype_fwd_cdr_op_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_fwd_cdr_op_ci::" - "must be implemented\n"), -1); -} - -be_visitor_valuetype_fwd_cdr_op_ci:: -~be_visitor_valuetype_fwd_cdr_op_ci (void) -{ -} - -int -be_visitor_valuetype_fwd_cdr_op_ci:: -visit_valuetype_fwd (be_valuetype_fwd *node) -{ - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator declarations - os->indent (); - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator<< (" << be_idt << be_idt_nl - << "TAO_OutputCDR &," << be_nl - << "const " << node->name () << "_ptr" << be_uidt_nl - << ");" << be_uidt_nl; - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator>> (" << be_idt << be_idt_nl - << "TAO_InputCDR &," << be_nl - << node->name () << "_ptr &" << be_uidt_nl - << ");" << be_uidt << "\n"; - - node->cli_inline_cdr_op_gen (1); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype_fwd/interface_fwd_ch.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype_fwd/interface_fwd_ch.cpp deleted file mode 100644 index 5411463a7ec..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype_fwd/interface_fwd_ch.cpp +++ /dev/null @@ -1,100 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_fwd_ch.cpp -// -// = DESCRIPTION -// Visitor generating code for Interface_Fwd node in the client header. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale (interface_fwd_ch.cpp) -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype_fwd.h" - -ACE_RCSID(be_visitor_valuetype_fwd, valuetype_fwd_ch, "$Id$") - - -// ******************************************************************** -// Visitor implementation for the Interface_Fwd type -// This one for the client header file -// ******************************************************************** - -be_visitor_valuetype_fwd_ch::be_visitor_valuetype_fwd_ch (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_fwd_ch::" - "must be implemented\n"), -1); -} - -be_visitor_valuetype_fwd_ch::~be_visitor_valuetype_fwd_ch (void) -{ -} - -// visit the Interface_Fwd_Ch node and its scope -int -be_visitor_valuetype_fwd_ch::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (!node->cli_hdr_gen () && !node->imported ()) - { - os->indent (); // start from the current - - // all we do in this is generate a forward declaration of the class - *os << "class " << node->local_name () << ";" << be_nl; - - // generate the ifdefined macro for the _ptr type - os->gen_ifdef_macro (node->flatname (), "_ptr"); - - // generate the _ptr declaration - *os << "typedef " << node->local_name () << " *" << node->local_name () - << "_ptr;\n"; - - os->gen_endif (); - - // enclose under an ifdef macro - os->gen_ifdef_macro (node->flatname (), "_var"); - - // generate the _var declaration - if (node->gen_var_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_fwd_ch::" - "visit_valuetype_fwd - " - "codegen for _var failed\n"), -1); - } - // gen an endif - os->gen_endif (); - - // enclose under an ifdef macro - os->gen_ifdef_macro (node->flatname (), "_out"); - - // generate the _out declaration - ORBOS/97-05-15 pg 16-20 spec - if (node->gen_out_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_fwd_ch::" - "visit_valuetype_fwd - " - "codegen for _out failed\n"), -1); - } - // generate the endif macro - os->gen_endif (); - node->cli_hdr_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype_fwd/interface_fwd_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype_fwd/interface_fwd_ci.cpp deleted file mode 100644 index aaadbbb38f6..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_valuetype_fwd/interface_fwd_ci.cpp +++ /dev/null @@ -1,85 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_fwd_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for Interface_Fwd node in the client inline. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale (interface_fwd_ci.cpp) -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_valuetype_fwd.h" - -ACE_RCSID(be_visitor_valuetype_fwd, valuetype_fwd_ci, "$Id$") - - -// ******************************************************************** -// Visitor implementation for the Interface_Fwd type -// This one for the client inline file -// ******************************************************************** - -be_visitor_valuetype_fwd_ci::be_visitor_valuetype_fwd_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_fwd_ci::" - "must be implemented\n"), -1); -} - -be_visitor_valuetype_fwd_ci::~be_visitor_valuetype_fwd_ci (void) -{ -} - -// visit the Interface_Fwd_ci node and its scope -int -be_visitor_valuetype_fwd_ci::visit_valuetype_fwd (be_valuetype_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (!node->cli_inline_gen () && !node->imported ()) - { - - // generate the ifdefined macro for the _var type - os->gen_ifdef_macro (node->flatname (), "_var"); - - if (node->gen_var_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_fwd_ci::" - "visit_valuetype_fwd - " - "codegen for _var failed\n"), -1); - } - - os->gen_endif (); - - // generate the ifdefined macro for the _out type - os->gen_ifdef_macro (node->flatname (), "_out"); - - if (node->gen_out_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_valuetype_fwd_ci::" - "visit_valuetype_fwd - " - "codegen for _out failed\n"), -1); - } - os->gen_endif (); - - node->cli_stub_gen (I_TRUE); - } - return 0; -} diff --git a/TAO/TAO_IDL/be_include/Makefile.am b/TAO/TAO_IDL/be_include/Makefile.am deleted file mode 100644 index 5574114093a..00000000000 --- a/TAO/TAO_IDL/be_include/Makefile.am +++ /dev/null @@ -1,84 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Makefile.am for the TAO IDL compiler --- 'be_include' sub-directory -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -noinst_HEADERS = \ - be.h \ - be_argument.h \ - be_array.h \ - be_attribute.h \ - be_codegen.h \ - be_constant.h \ - be_decl.h \ - be_enum.h \ - be_enum_val.h \ - be_exception.h \ - be_expression.h \ - be_field.h \ - be_generator.h \ - be_helper.h \ - be_interface.h \ - be_interface_fwd.h \ - be_module.h \ - be_native.h \ - be_operation.h \ - be_predefined_type.h \ - be_root.h \ - be_scope.h \ - be_sequence.h \ - be_state.h \ - be_stream_factory.h \ - be_string.h \ - be_structure.h \ - be_sunsoft.h \ - be_type.h \ - be_typedef.h \ - be_union.h \ - be_union_branch.h \ - be_union_label.h \ - be_visitor.h \ - be_visitor_argument.h \ - be_visitor_array.h \ - be_visitor_attribute.h \ - be_visitor_constant.h \ - be_visitor_context.h \ - be_visitor_decl.h \ - be_visitor_enum.h \ - be_visitor_exception.h \ - be_visitor_factory.h \ - be_visitor_field.h \ - be_visitor_interface.h \ - be_visitor_interface_fwd.h \ - be_visitor_module.h \ - be_visitor_operation.h \ - be_visitor_root.h \ - be_visitor_scope.h \ - be_visitor_sequence.h \ - be_visitor_structure.h \ - be_visitor_typecode.h \ - be_visitor_typedef.h \ - be_visitor_union.h \ - be_visitor_union_branch.h - -dist-hook: - list=`find * -name CVS -prune -o -type d -print`; for p in $$list; do \ - $(mkinstalldirs) $(distdir)/$$p; \ - cp $$p/*.h $(distdir)/$$p; \ - done - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/TAO_IDL/be_include/be.h b/TAO/TAO_IDL/be_include/be.h deleted file mode 100644 index b2c9ee43602..00000000000 --- a/TAO/TAO_IDL/be_include/be.h +++ /dev/null @@ -1,134 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _BE_BE_HH -#define _BE_BE_HH - -// be.h -// - -#if defined (ACE_WIN32) -#pragma warning(disable:4250) -#endif /* ACE_WIN32 */ - -// ACE includes - -#include "ace/ACE.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/OS.h" -#include "ace/Singleton.h" -#include "ace/Synch.h" -#include "ace/Log_Msg.h" -#include "ace/Containers.h" -#include "ace/Process.h" - -/* - * BE includes - */ - -#include "be_decl.h" // class BE_Decl -#include "be_scope.h" // class BE_Scope -#include "be_generator.h" // BE generator class -#include "be_type.h" -#include "be_predefined_type.h" // class BE_PredefinedType -#include "be_module.h" // class BE_Module -#include "be_interface.h" // class BE_Interface -#include "be_interface_fwd.h" // class BE_InterfaceFwd -#include "be_valuetype.h" // class be_valuetype -#include "be_valuetype_fwd.h" // class be_valuetype_fwd -#include "be_structure.h" // class BE_Structure -#include "be_exception.h" // class BE_Exception -#include "be_expression.h" // class BE_Expr_val -#include "be_enum.h" // class BE_Enum -#include "be_operation.h" // class BE_Operation -#include "be_field.h" // class BE_Field -#include "be_argument.h" // class BE_Argument -#include "be_attribute.h" // class BE_Attribute -#include "be_union.h" // class BE_Union -#include "be_union_branch.h" // class BE_UnionBranch -#include "be_union_label.h" // class BE_UnionLabel -#include "be_constant.h" // class BE_Constant -#include "be_enum_val.h" // class BE_EnumVal -#include "be_array.h" // class BE_Array -#include "be_sequence.h" // class BE_Sequence -#include "be_string.h" // class BE_String -#include "be_typedef.h" // class BE_Typedef -#include "be_root.h" // class BE_Root -#include "be_native.h" // class BE_Native - -#include "be_helper.h" // helper functions -#include "be_codegen.h" // code generator -#include "be_stream_factory.h" // output stream factory - -#include "be_visitor.h" // abstract visitor -#include "be_visitor_factory.h" // visitor factory -#include "be_visitor_context.h" // visitor context - -#endif // _BE_BE_HH diff --git a/TAO/TAO_IDL/be_include/be_argument.h b/TAO/TAO_IDL/be_include/be_argument.h deleted file mode 100644 index d32814e2335..00000000000 --- a/TAO/TAO_IDL/be_include/be_argument.h +++ /dev/null @@ -1,56 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_argument.h -// -// = DESCRIPTION -// Extension of class AST_Argument that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_ARGUMENT_H -#define BE_ARGUMENT_H - -#include "be_decl.h" -#include "ast_argument.h" - -class AST_Type; -class UTL_StrList; -class be_visitor; - -/* - * BE_Argument - */ -class be_argument : public virtual AST_Argument, - public virtual be_decl -{ -public: - // =Operations - - be_argument (void); - // default constructor - - be_argument (AST_Argument::Direction d, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_argument, AST_Argument, be_decl); - DEF_NARROW_FROM_DECL (be_argument); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_array.h b/TAO/TAO_IDL/be_include/be_array.h deleted file mode 100644 index fd9afcf42e7..00000000000 --- a/TAO/TAO_IDL/be_include/be_array.h +++ /dev/null @@ -1,75 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_array.h -// -// = DESCRIPTION -// Extension of class AST_Array that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_ARRAY_H -#define BE_ARRAY_H - -#include "be_type.h" -#include "ast_array.h" - -class UTL_ExprList; -class TAO_OutStream; -class be_visitor; - -/* - * BE_Array - */ -class be_array : public virtual AST_Array, - public virtual be_type -{ -public: - // =Operations - - be_array (void); - // default constructor - - be_array (UTL_ScopedName *n, unsigned long ndims, UTL_ExprList *dims); - // constructor - - ~be_array (void); - - virtual int gen_dimensions (TAO_OutStream *os, unsigned short slice=0); - // generate dimensions. If slice == 1, generate dimensions for the slice - // definition - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_array, AST_Array, be_type); - DEF_NARROW_FROM_DECL (be_array); - -protected: - virtual int compute_size_type (void); - // compute the size type if it is unknown - - virtual int create_name (void); - // create a name for us - - const char* tao_name (void); - -private: - char* tao_name_; - // We need a name to generate typecodes and other objects, but it - // must be different from the typedef name.... -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_attribute.h b/TAO/TAO_IDL/be_include/be_attribute.h deleted file mode 100644 index 345d63c14a2..00000000000 --- a/TAO/TAO_IDL/be_include/be_attribute.h +++ /dev/null @@ -1,55 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_attribute.h -// -// = DESCRIPTION -// Extension of class AST_Attribute that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_ATTRIBUTE_H -#define BE_ATTRIBUTE_H - -#include "be_decl.h" -#include "ast_attribute.h" - -class AST_Type; -class UTL_StrList; -class be_visitor; - -/* - * BE_Attribute - */ -class be_attribute : public virtual AST_Attribute, - public virtual be_decl -{ -public: - // =Operations - - be_attribute (void); - // default constructor - - be_attribute (idl_bool ro, AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_attribute, AST_Attribute, be_decl); - DEF_NARROW_FROM_DECL (be_attribute); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_codegen.h b/TAO/TAO_IDL/be_include/be_codegen.h deleted file mode 100644 index 19edeafc611..00000000000 --- a/TAO/TAO_IDL/be_include/be_codegen.h +++ /dev/null @@ -1,695 +0,0 @@ -// $Id$ -/* -*- c++ -*- */ -// ================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_codegen.h -// -// = DESCRIPTION -// The Code generator class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ================================================================ - -#ifndef TAO_BE_CODEGEN_H -#define TAO_BE_CODEGEN_H - -#include "ace/Singleton.h" -#include "ace/Synch.h" - -#define NAMEBUFSIZE 1024 -// maximum length of static buffers used to store names - -class TAO_Visitor_Factory; -class TAO_OutStream; -class be_visitor_context; -class be_visitor; -class be_decl; - -class TAO_CodeGen -{ - // = TITLE - // TAO_CodeGen - // - // = DESCRIPTION - // Holds global parameters for the Back End and generates the C++ mapping - // -public: - - // define all the code generation states. - // The first letter C/S of the suffix stands for client/server-side - // The second letter H/I/S stands for header/inline/impl file. - // These are used to denote the state or the context of code - // generation we are in and serves to produce the right kind of - // visitor for us - - enum CG_STATE - { - // initial state - TAO_INITIAL, - - // rest of the state in alphabetical order of the types - - // emitting code for arguments of an operation. No distinction between - // headers, inlines, stubs. - TAO_ARGUMENT_ARGLIST_CH, // argument in op signature of - // ... client header - TAO_ARGUMENT_ARGLIST_OTHERS, // ... in other cases - TAO_ARGUMENT_PRE_INVOKE_CS, // preprocessing of argument - // variable before passing to - // do_static_call (in stub) - TAO_ARGUMENT_INVOKE_CS, // passing argument variable to do_static_call - TAO_ARGUMENT_POST_INVOKE_CS, // postprocessing of argument - // variable after do_static_call - TAO_ARGUMENT_VARDECL_SS, // declaration of argument - // variable in skeleton (server) - TAO_ARGUMENT_MARSHAL_SS, // passing argument node to the - TAO_ARGUMENT_DEMARSHAL_SS, // demarshal and marshal - // operations - TAO_ARGUMENT_POST_MARSHAL_SS, - TAO_ARGUMENT_PRE_UPCALL_SS, // preprocessing of argument - // variable before upcall - TAO_ARGUMENT_UPCALL_SS, // passing argument variable to upcall - TAO_ARGUMENT_COLLOCATED_UPCALL_SS, // passing argument - // variable to upcall - TAO_ARGUMENT_POST_UPCALL_SS, // postprocessing of argument - // variable after upcall - - // emitting code for attributes. - TAO_ATTRIBUTE_CH, // in client header - TAO_ATTRIBUTE_CS, // in client stubs - TAO_ATTRIBUTE_SH, // in server header - TAO_ATTRIBUTE_IH, // in implementation header - TAO_ATTRIBUTE_SS, // in server skeletons - TAO_ATTRIBUTE_IS, // in implementation skeletons - TAO_ATTRIBUTE_THRU_POA_COLLOCATED_SH, // in server header for collocated - TAO_ATTRIBUTE_THRU_POA_COLLOCATED_SS, // in server skeletons for - // collocated - TAO_ATTRIBUTE_DIRECT_COLLOCATED_SH, // in server header for collocated - TAO_ATTRIBUTE_DIRECT_COLLOCATED_SS, // in server skeletons for - // collocated - TAO_ATTRIBUTE_TIE_SH, - TAO_ATTRIBUTE_TIE_SI, - - // emitting code for array defn - TAO_ARRAY_CH, - TAO_ARRAY_CI, - TAO_ARRAY_CS, - TAO_ARRAY_ANY_OP_CH, - TAO_ARRAY_ANY_OP_CS, - TAO_ARRAY_CDR_OP_CH, - TAO_ARRAY_CDR_OP_CI, - TAO_ARRAY_CDR_OP_CS, - - // emitting code for the constants - TAO_CONSTANT_CH, // in client header - TAO_CONSTANT_CI, // XXXASG rm? - TAO_CONSTANT_CS, // in client stub - - // emitting code for enums - TAO_ENUM_CH, // in client header - TAO_ENUM_CS, // in client stubs - TAO_ENUM_ANY_OP_CH, - TAO_ENUM_ANY_OP_CS, - TAO_ENUM_CDR_OP_CH, - TAO_ENUM_CDR_OP_CI, - TAO_ENUM_CDR_OP_CS, - - // emitting code for exceptions - TAO_EXCEPTION_CH, - TAO_EXCEPTION_CTOR_CH, - TAO_EXCEPTION_CI, - TAO_EXCEPTION_CS, - TAO_EXCEPTION_CTOR_CS, - TAO_EXCEPTION_CTOR_ASSIGN_CS, - TAO_EXCEPTION_ANY_OP_CH, - TAO_EXCEPTION_ANY_OP_CS, - TAO_EXCEPTION_CDR_OP_CH, - TAO_EXCEPTION_CDR_OP_CI, - TAO_EXCEPTION_CDR_OP_CS, - - // emitting fields i.e., struct members - TAO_FIELD_CH, - TAO_FIELD_CI, - TAO_FIELD_CS, - TAO_FIELD_CDR_OP_CH, - TAO_FIELD_CDR_OP_CI, - TAO_FIELD_CDR_OP_CS, - TAO_FIELD_OBV_CH, - - // emitting code for the interface - TAO_INTERFACE_CH, - TAO_INTERFACE_CI, - TAO_INTERFACE_CS, - TAO_INTERFACE_SH, - TAO_INTERFACE_IH, - TAO_INTERFACE_SI, - TAO_INTERFACE_SS, - TAO_INTERFACE_IS, - TAO_INTERFACE_THRU_POA_COLLOCATED_SH, - TAO_INTERFACE_THRU_POA_COLLOCATED_SS, - TAO_INTERFACE_DIRECT_COLLOCATED_SH, - TAO_INTERFACE_DIRECT_COLLOCATED_SS, - TAO_INTERFACE_ANY_OP_CH, - TAO_INTERFACE_ANY_OP_CS, - TAO_INTERFACE_CDR_OP_CH, - TAO_INTERFACE_CDR_OP_CI, - TAO_INTERFACE_CDR_OP_CS, - TAO_INTERFACE_TIE_SH, - TAO_INTERFACE_TIE_SI, - - // emitting code for the interface forward declaration - TAO_INTERFACE_FWD_CH, - TAO_INTERFACE_FWD_CI, - TAO_INTERFACE_FWD_CS, - TAO_INTERFACE_FWD_CDR_OP_CH, - TAO_INTERFACE_FWD_CDR_OP_CI, - TAO_INTERFACE_FWD_CDR_OP_CS, - - // emitting code for the valuetype - TAO_VALUETYPE_CH, - TAO_VALUETYPE_CI, - TAO_VALUETYPE_CS, - TAO_VALUETYPE_SH, - TAO_VALUETYPE_IH, - TAO_VALUETYPE_SI, - TAO_VALUETYPE_SS, - TAO_VALUETYPE_IS, - TAO_VALUETYPE_OBV_CH, // OBV_ class - TAO_VALUETYPE_OBV_CI, - TAO_VALUETYPE_OBV_CS, - TAO_VALUETYPE_COLLOCATED_SH, - TAO_VALUETYPE_COLLOCATED_SS, - TAO_VALUETYPE_ANY_OP_CH, - TAO_VALUETYPE_ANY_OP_CS, - TAO_VALUETYPE_MARSHAL_CH, // the actual generation of CDR in header - TAO_VALUETYPE_MARSHAL_CS, // and the implementation, activated from: - TAO_VALUETYPE_CDR_OP_CH, - TAO_VALUETYPE_CDR_OP_CI, - TAO_VALUETYPE_CDR_OP_CS, - //TAO_VALUETYPE_TIE_SH, - //TAO_VALUETYPE_TIE_SI, - - // emitting code for the valuetype forward declaration - TAO_VALUETYPE_FWD_CH, - TAO_VALUETYPE_FWD_CI, - TAO_VALUETYPE_FWD_CS, - TAO_VALUETYPE_FWD_CDR_OP_CH, - TAO_VALUETYPE_FWD_CDR_OP_CI, - TAO_VALUETYPE_FWD_CDR_OP_CS, - - // emitting code for the module - TAO_MODULE_CH, - TAO_MODULE_CI, - TAO_MODULE_CS, - TAO_MODULE_SH, - TAO_MODULE_SI, - TAO_MODULE_IH, - TAO_MODULE_SS, - TAO_MODULE_IS, - TAO_MODULE_ANY_OP_CH, - TAO_MODULE_ANY_OP_CS, - TAO_MODULE_CDR_OP_CH, - TAO_MODULE_CDR_OP_CI, - TAO_MODULE_CDR_OP_CS, - TAO_MODULE_OBV_CH, // for OBV_ (cmp. POA_ namespace) - TAO_MODULE_OBV_CI, - TAO_MODULE_OBV_CS, - - // emitting code for an operation. - TAO_OPERATION_CH, // in client header - TAO_OPERATION_CS, // in client stubs - TAO_OPERATION_SH, // in server header - TAO_OPERATION_IH, // in implementation header - TAO_OPERATION_SS, // in server skeletons - TAO_OPERATION_IS, // in server skeletons - TAO_OPERATION_THRU_POA_COLLOCATED_SH, // in collocated server header - TAO_OPERATION_THRU_POA_COLLOCATED_SS, // in collocated server skel - TAO_OPERATION_DIRECT_COLLOCATED_SH, // in collocated server header - TAO_OPERATION_DIRECT_COLLOCATED_SS, // in collocated server skel - TAO_OPERATION_RETTYPE_CH, // return type in client header op - // signature - TAO_OPERATION_RETTYPE_IS, // return type in client header op - TAO_OPERATION_RETTYPE_OTHERS, // ... in other cases - TAO_OPERATION_ARGLIST_CH, // parameter list in op signature - // ... for client header - TAO_OPERATION_ARGLIST_SH, // ... for server header - TAO_OPERATION_ARGLIST_IH, // ... for implementation header - TAO_OPERATION_ARGLIST_IS, // ... for implementation header - TAO_OPERATION_ARGLIST_COLLOCATED_SH, // ... for collocated server - TAO_OPERATION_ARGLIST_OTHERS, // ... for all other cases - TAO_OPERATION_RETVAL_DECL_CS, // return value variable declaration - TAO_OPERATION_RETVAL_PRE_INVOKE_CS, // preprocessing for return value - // before sending over the wire - TAO_OPERATION_ARG_PRE_INVOKE_CS, // preprocessing of arguments - // before do_static_call - TAO_OPERATION_RETVAL_INVOKE_CS, // passing the return type - // variable to do_static_call - TAO_OPERATION_ARG_INVOKE_CS, // passing argument variable to do_static_call - TAO_OPERATION_RETVAL_POST_INVOKE_CS, // processing of return type - // after do_static_call - TAO_OPERATION_ARG_POST_INVOKE_CS, // processing of arg after do_static_call - TAO_OPERATION_RETVAL_RETURN_CS, // returning the return type - // variable - TAO_OPERATION_EXCEPTLIST_CS, // generating the exception list - TAO_OPERATION_RETVAL_DECL_SS, // return type decl in skeleton - TAO_OPERATION_ARG_DECL_SS, // argument decl in skeleton - TAO_OPERATION_RETVAL_DEMARSHAL_SS, // passing return type variable - TAO_OPERATION_ARG_DEMARSHAL_SS, // and argument variables to the - TAO_OPERATION_RETVAL_MARSHAL_SS, // marshal and demarshal operations - TAO_OPERATION_ARG_MARSHAL_SS, - TAO_OPERATION_ARG_POST_MARSHAL_SS, - TAO_OPERATION_RETVAL_ASSIGN_SS, // assigning to return type - // variable - TAO_OPERATION_ARG_PRE_UPCALL_SS, // pre upcall processing - TAO_OPERATION_ARG_UPCALL_SS, // variables to upcall - TAO_OPERATION_COLLOCATED_ARG_UPCALL_SS, // variables to upcall for - // collocated op - TAO_OPERATION_RETVAL_POST_UPCALL_SS, // post upcall processing for - TAO_OPERATION_ARG_POST_UPCALL_SS, // return and argument variables - TAO_OPERATION_RESULT_SS, // XXXASG rm? - TAO_OPERATION_TIE_SH, - TAO_OPERATION_TIE_SI, - - TAO_OBV_OPERATION_ARGLIST_CH, // parameter list in obv op signature - // ... for client header - TAO_OBV_OPERATION_ARGLIST_OBV_CH, // ... for OBV_ class - TAO_OBV_OPERATION_ARGLIST_SH, // ... for server header - TAO_OBV_OPERATION_ARGLIST_IH, // ... for implementation header - TAO_OBV_OPERATION_ARGLIST_IS, // ... for implementation header - TAO_OBV_OPERATION_ARGLIST_COLLOCATED_SH, // ... for collocated server - TAO_OBV_OPERATION_ARGLIST_OTHERS, // ... for all other cases - - // Emitting code for AMI. - TAO_OPERATION_AMI_CH, // AMI stub generation. - TAO_OPERATION_AMI_CS, // AMI stub generation. - TAO_OPERATION_AMI_ARGLIST_CH, // AMI stubs in client header - TAO_OPERATION_AMI_ARGLIST_CS, // AMI stubs in client cpp. - TAO_OPERATION_ARG_AMI, // AMI stub. - TAO_ARGUMENT_AMI, // Argument in AMI stub. - TAO_ARGUMENT_AMI_ARGLIST_CH, // Arg list in AMI stub. - TAO_ARGUMENT_AMI_ARGLIST_CS, // Arg list in AMI stub. - TAO_AMI_HANDLER_FWD_CH, // FWD decl for AMI handler. - TAO_AMI_HANDLER_FWD_CI, // FWD decl for AMI handler. - - TAO_AMI_HANDLER_SERVANT_CH, // POA_AMI_*_Handler. - TAO_AMI_HANDLER_SERVANT_CS, // POA_AMI_*_Handler. - - TAO_AMI_HANDLER_STUB_CH, // AMI_*_Handler class visitor. - - TAO_AMI_HANDLER_STUB_CS, // AMI_*_Handler class visitor. - - TAO_AMI_HANDLER_SERVANT_OPERATION_CH, // Operation in AMI_*_Handler. - TAO_AMI_HANDLER_STUB_OPERATION_CH, // Operation in POA_AMI_*_Handler. - TAO_AMI_HANDLER_OPERATION_ARGLIST_CH, - TAO_AMI_HANDLER_OPERATION_ARGLIST_CS, - TAO_ARGUMENT_AMI_HANDLER_ARGLIST_CH, - TAO_ARGUMENT_AMI_HANDLER_ARGLIST_CS, - TAO_ARGUMENT_ARGLIST_AMI_HANDLER, - TAO_AMI_HANDLER_OPERATION_RESULT_ARG, - - TAO_AMI_HANDLER_TYPECODE_DECL, // Typecode decl for the AMI_*_Handler. - - TAO_COLLOCATED_AMI_HANDLER_CH, // Collocated AMI_*_Handler class. - - TAO_COLLOCATED_AMI_HANDLER_OPERATION_CH, // Operation inside the collocated AMI handler. - -// @@ Michael TAO_AMI_HANDLER_ARGUMENT_INVOKE_CS, - -// @@ Michael TAO_AMI_HANDLER_OPERATION_ARG_INVOKE_CS, - - TAO_AMI_HANDLER_STUB_OPERATION_CS, - - TAO_AMI_HANDLER_TYPECODE_DEFN, // Typecode definition for AMI Handler class. - - TAO_AMI_OPERATION_ARG_INVOKE_CS, // Invoke arguments for AMI's sendc method. - - TAO_AMI_ARGUMENT_INVOKE_CS, - - TAO_AMI_HANDLER_SKELETON_CS, - - TAO_AMI_HANDLER_OPERATION_RETVAL_DECL_CS, // Result argument declaration. - - TAO_AMI_HANDLER_OPERATION_ARG_DECL_CS, // Argument declartion. - - TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS, // State derived out of the above - - TAO_AMI_HANDLER_OPERATION_ARG_UPCALL_CS, // Argument list for the upcall - // (only out and inout arguments) - TAO_AMI_HANDLER_ARGUMENT_UPCALL_CS, // State derived out of the above - - TAO_AMI_HANDLER_OPERATION_RETVAL_MARSHAL_CS, // Marshalling the return value - - TAO_AMI_HANDLER_OPERATION_RETVAL_DEMARSHAL_CS, // Demarshalling the return value - - TAO_AMI_HANDLER_OPERATION_ARG_MARSHAL_CS, // Marshalling the inout and out arguments - - TAO_AMI_HANDLER_ARGUMENT_MARSHAL_CS, // State derived out of the above - - TAO_AMI_HANDLER_OPERATION_ARG_DEMARSHAL_CS, // Demarshalling the inout and out arguments - - TAO_AMI_HANDLER_ARGUMENT_DEMARSHAL_CS, // State derived out of the above - - // Emitting code for root. - TAO_ROOT_CH, - TAO_ROOT_CI, - TAO_ROOT_CS, - TAO_ROOT_SH, - TAO_ROOT_SI, - TAO_ROOT_SS, - TAO_ROOT_IH, - TAO_ROOT_IS, - TAO_ROOT_ANY_OP_CH, - TAO_ROOT_ANY_OP_CS, - TAO_ROOT_CDR_OP_CH, - TAO_ROOT_CDR_OP_CI, - TAO_ROOT_CDR_OP_CS, - - // emitting sequences - TAO_SEQUENCE_CH, - TAO_SEQUENCE_CI, - TAO_SEQUENCE_CS, - TAO_SEQUENCE_ANY_OP_CH, - TAO_SEQUENCE_ANY_OP_CS, - TAO_SEQUENCE_CDR_OP_CH, - TAO_SEQUENCE_CDR_OP_CI, - TAO_SEQUENCE_CDR_OP_CS, - - // emitting code for sequence base type - TAO_SEQUENCE_BASE_CH, - TAO_SEQUENCE_BASE_CI, - TAO_SEQUENCE_BASE_CS, - - // for special sequnce elements - TAO_SEQELEM_RETTYPE_CH, - TAO_SEQELEM_RETTYPE_CI, - TAO_SEQELEM_RETTYPE_CS, - - // for sequence buffer types - TAO_SEQUENCE_BUFFER_TYPE_CH, - TAO_SEQUENCE_BUFFER_TYPE_CI, - TAO_SEQUENCE_BUFFER_TYPE_CS, - - // emitting code for struct and its members - TAO_STRUCT_CH, - TAO_STRUCT_CI, - TAO_STRUCT_CS, - TAO_STRUCT_ANY_OP_CH, - TAO_STRUCT_ANY_OP_CS, - TAO_STRUCT_CDR_OP_CH, - TAO_STRUCT_CDR_OP_CI, - TAO_STRUCT_CDR_OP_CS, - - // emitting code for typedefs - TAO_TYPEDEF_CH, - TAO_TYPEDEF_CI, - TAO_TYPEDEF_CS, - TAO_TYPEDEF_ANY_OP_CH, - TAO_TYPEDEF_ANY_OP_CS, - TAO_TYPEDEF_CDR_OP_CH, - TAO_TYPEDEF_CDR_OP_CI, - TAO_TYPEDEF_CDR_OP_CS, - - // emitting code for unions - TAO_UNION_CH, - TAO_UNION_CI, - TAO_UNION_CS, - TAO_UNION_ANY_OP_CH, - TAO_UNION_ANY_OP_CS, - TAO_UNION_CDR_OP_CH, - TAO_UNION_CDR_OP_CI, - TAO_UNION_CDR_OP_CS, - - // emitting code for the discriminant - TAO_UNION_DISCTYPEDEFN_CH, - TAO_UNION_DISCTYPEDEFN_CI, - TAO_UNION_DISCTYPEDEFN_CS, - - // emitting code for the public members of the union - TAO_UNION_PUBLIC_CH, - TAO_UNION_PUBLIC_CI, - TAO_UNION_PUBLIC_CS, - TAO_UNION_PUBLIC_ASSIGN_CS, - TAO_UNION_PUBLIC_RESET_CS, - TAO_UNION_PUBLIC_ACCESS_CS, - - // emitting code for private members of the union - TAO_UNION_PRIVATE_CH, - - // emitting code for CDR operators for types defined inside unions - TAO_UNION_BRANCH_CDR_OP_CH, - TAO_UNION_BRANCH_CDR_OP_CI, - TAO_UNION_BRANCH_CDR_OP_CS, - - // emitting code for typecodes - TAO_TYPECODE_DECL, - TAO_TYPECODE_DEFN, - - // Always must be last - TAO_UNKNOWN - }; - - enum LOOKUP_STRATEGY - { - // various lookup strategies - TAO_LINEAR_SEARCH, - TAO_DYNAMIC_HASH, - TAO_PERFECT_HASH, - TAO_BINARY_SEARCH, - TAO_ACTIVE_DEMUX, - TAO_USER_DEFINED - }; - - enum CG_SUB_STATE - { - // sub states - - // these are for the CDR operators - TAO_CDR_INPUT, - TAO_CDR_OUTPUT, - TAO_CDR_SCOPE, - - // these are for typecode generation - TAO_TC_DEFN_TYPECODE, // top level typecode - TAO_TC_DEFN_TYPECODE_NESTED, // nested tc - - TAO_TC_DEFN_ENCAPSULATION, // encapsulation - TAO_AMI_HANDLER_TC_DEFN_ENCAPSULATION, // encapsulation - - TAO_TC_DEFN_SCOPE, // scope - TAO_TC_DEFN_TC_SIZE, // tc size computation - TAO_TC_DEFN_ENCAP_LEN, // encap size computation - TAO_TC_DEFN_SCOPE_LEN, // scope size computation - - TAO_AMI_HANDLER_TC_DEFN_TYPECODE, // For AMI Handler interface. - - // used to denote either error or don't care - TAO_SUB_STATE_UNKNOWN - }; - - TAO_CodeGen (void); - // Constructor - - ~TAO_CodeGen (void); - // destructor - - be_visitor *make_visitor (be_visitor_context *); - // Factory that makes the right visitor based on the contex. This - // delegates the task to its factory data member - - int gen_cplusplus_mapping (void); - // generate the C++ mapping for CORBA IDL - - int start_client_header (const char *fname); - // set the client header stream - - int start_client_inline (const char *fname); - // set the client inline stream - - int start_client_stubs (const char *fname); - // set the client stub stream - - int start_server_header (const char *fname); - // set the server header stream - - int start_implementation_header (const char *fname); - // set the implementation header stream - - int start_implementation_skeleton (const char *fname); - // set the implementation skeleton stream - - int start_server_template_header (const char *fname); - // set the server template header stream - - int start_server_inline (const char *fname); - // set the server inline stream - - int start_server_template_inline (const char *fname); - // set the server template inline stream - - int start_server_skeletons (const char *fname); - // set the server skeletons stream - - int start_server_template_skeletons (const char *fname); - // set the server template skeletons stream - - int end_client_header (void); - // generate code at the end such as the <<= and >>= operators alongwith the - // ending #endif statement - - int end_server_header (void); - // put a last #endif in the server header - - int end_implementation_header (const char *fname); - // put a last #endif in the server header - - int end_implementation_skeleton (const char *fname); - // put a last #endif in the server header - - int end_server_template_header (void); - // put a last #endif in the server template header - - int end_server_template_skeletons (void); - // put a last #endif in the server skeletons - - TAO_OutStream *client_header (void); - // get the client header stream - - TAO_OutStream *client_stubs (void); - // get the client stubs stream - - TAO_OutStream *client_inline (void); - // get the client inline stream - - TAO_OutStream *server_header (void); - // get the server header stream - - TAO_OutStream *implementation_header (void); - // get the implementation header stream - - TAO_OutStream *implementation_skeleton (void); - // get the implementation skeleton stream - - TAO_OutStream *server_template_header (void); - // get the server header template stream - - TAO_OutStream *server_skeletons (void); - // Get the server skeletons stream. - - TAO_OutStream *server_template_skeletons (void); - // get the server template skeletons stream - - TAO_OutStream *server_inline (void); - // get the server inline stream - - TAO_OutStream *server_template_inline (void); - // get the server template inline stream - - void gperf_input_stream (TAO_OutStream *gperf_input); - // Set the gperf input file stream. - - TAO_OutStream *gperf_input_stream (void); - // Retrieve the gperf input stream being used. - - void gperf_input_filename (char *filename); - // Set the gperf input file name. - - char *gperf_input_filename (void); - // Retrieve the gperf input file name being used. - // Name of the temp file used to collect the input for gperf - // program. This is needed coz I do ACE_OS::open on this when I need - // ACE_HANDLE for the file instead FILE*. - - void outstream (TAO_OutStream *os); - // set current out stream - - TAO_OutStream *outstream (void); - // retrieve current out stream being used - - void config_visitor_factory (void); - // set the visitor factory object. In this respect, this behaves as the - // "strategy" pattern in which the TAO_CodeGen object is the context and the - // visitor_factory is the strategy object - - void node (be_decl *n); - // pass info - - be_decl *node (void); - // retrieve passed info - - const char *upcase (const char *str); - // convert input string to all upcase - - void lookup_strategy (LOOKUP_STRATEGY s); - // Set the lookup strategy. - - TAO_CodeGen::LOOKUP_STRATEGY lookup_strategy (void) const; - // Return the enumerated value for the lookup strategy. Default is - // Dynamic Hashing. - -private: - TAO_OutStream *client_header_; - // client header stream - - TAO_OutStream *client_stubs_; - // client stub file stream - - TAO_OutStream *client_inline_; - // client side inline definitions - - TAO_OutStream *server_header_; - // server header stream - - TAO_OutStream *implementation_header_; - // implementation header stream - - TAO_OutStream *implementation_skeleton_; - // implementation skeleton stream - - TAO_OutStream *server_template_header_; - // server header template stream - - TAO_OutStream *server_skeletons_; - // server skeleton stream. - - TAO_OutStream *server_template_skeletons_; - // server skeleton template stream - - TAO_OutStream *server_inline_; - // server side inline file - - TAO_OutStream *server_template_inline_; - // server side template inline file. - - TAO_OutStream *gperf_input_stream_; - // TAO_OutStream to collect the input for gperf program. - - char *gperf_input_filename_; - // Name of the temp file used to collect the input for gperf - // program. This is needed coz I do ACE_OS::open on this when I need - // ACE_HANDLE for the file instead FILE*. - - TAO_OutStream *curr_os_; - // currently used out stream. - - be_decl *node_; - // save current node in this. - - TAO_Visitor_Factory *visitor_factory_; - // visitor factory object. - - LOOKUP_STRATEGY strategy_; - // The enumerated value indicating the lookup strategy. -}; - -typedef ACE_Singleton TAO_CODEGEN; -// Singleton instance of the BE code generator - -extern TAO_CodeGen *tao_cg; // code generator instance which is used everywhere - -#endif /* if !defined */ diff --git a/TAO/TAO_IDL/be_include/be_constant.h b/TAO/TAO_IDL/be_include/be_constant.h deleted file mode 100644 index d4e7f5713b9..00000000000 --- a/TAO/TAO_IDL/be_include/be_constant.h +++ /dev/null @@ -1,63 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_constant.h -// -// = DESCRIPTION -// Extension of class AST_Constant that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_CONSTANT_H -#define BE_CONSTANT_H - -#include "be_decl.h" -#include "ast_constant.h" -#include "ast_expression.h" - -class UTL_StrList; -class be_visitor; - -/* - * BE_Constant - */ -class be_constant : public virtual AST_Constant , public virtual be_decl -{ -public: - // Operations - - be_constant (void); - // constructor - - be_constant (AST_Expression::ExprType et, - AST_Expression *v, - UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - // = helper - const char *exprtype_to_string (void); - // returns the appropriate type - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_constant, AST_Constant, be_decl); - DEF_NARROW_FROM_DECL (be_constant); - -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_decl.h b/TAO/TAO_IDL/be_include/be_decl.h deleted file mode 100644 index b257e6359f6..00000000000 --- a/TAO/TAO_IDL/be_include/be_decl.h +++ /dev/null @@ -1,210 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_decl.h -// -// = DESCRIPTION -// Extension of the AST_Decl class. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_DECL_H -#define TAO_BE_DECL_H - -#include "ast_decl.h" - -class be_scope; -class be_visitor; - -/* - * BE_Decl - */ -class be_decl : public virtual AST_Decl -{ - // = TITLE - // be_decl - // = DESCRIPTION - // The back end extension of the AST_Decl class. Provides an abstract - // interface - // -public: - enum SIZE_TYPE - { - SIZE_UNKNOWN, - FIXED, - VARIABLE - }; - // indicates if we are fixed size or variable. Most useful for structs, - // unions, and arrays. - - // =Operations - - be_decl (void); - // Default constructor - - be_decl (AST_Decl::NodeType type, UTL_ScopedName *n, UTL_StrList *pragmas); - // constructor that sets the node type - - ~be_decl (void); - // destructor - - virtual void size_type (SIZE_TYPE); - // set the size type - - virtual SIZE_TYPE size_type (void); - // return our size type - - const char *fullname (void); - // return the stringified full name - - const char *ami_handler_fullname (void); - // return the stringified full name of the assosciated AMI reply handler. - - const char *flatname (void); - // return the flattened full scoped name. - - const char *ami_handler_flatname (void); - // return the flattened full scoped name of the assosciated AMI reply handler. - - char* compute_flatname (const char *prefix, const char *suffix); - // Both the arguments should be non-null!!!. Applies prefix and - // suffix to the local name and makes a flat name. - - const char *repoID (void); - // retrieve the repository ID. - - const char *ami_handler_repoID (void); - // retrieve the repository ID of the assosciated AMI reply handler. - - char *compute_repoID (const char *prefix, const char *suffix); - // Apply the prefix and suffix to the local name and compute the - // repoID. Both the parameters should be non-null. - - int compute_ami_handler_name (const char *name, - char *&ami_handler_name); - // Computes the name of the corresponding AMI handler out of a - // given name. The name might contain POA_ at the beginning - // and might possibly have many scope levels. - - const char* prefix (void); - // retrieve the repository ID prefix - - virtual idl_bool is_nested (void); - // determines if we are inside of a nested scope or not - - virtual be_scope *scope (void); - // return the scope created by this node (if one exists) - - // Visiting - virtual int accept (be_visitor *visitor); - - // boolean methods to test if code was already generated - idl_bool cli_hdr_gen (void); - idl_bool cli_stub_gen (void); - idl_bool cli_inline_gen (void); - idl_bool srv_hdr_gen (void); - idl_bool impl_hdr_gen (void); - idl_bool srv_skel_gen (void); - idl_bool impl_skel_gen (void); - idl_bool srv_inline_gen (void); - idl_bool cli_hdr_any_op_gen (void); - idl_bool cli_stub_any_op_gen (void); - idl_bool cli_hdr_cdr_op_gen (void); - idl_bool cli_stub_cdr_op_gen (void); - idl_bool cli_inline_cdr_op_gen (void); - - // set the flag indicating that code generation is done - void cli_hdr_gen (idl_bool); - void cli_stub_gen (idl_bool); - void cli_inline_gen (idl_bool); - void srv_hdr_gen (idl_bool); - void impl_hdr_gen (idl_bool); - void srv_skel_gen (idl_bool); - void impl_skel_gen (idl_bool); - void srv_inline_gen (idl_bool); - void cli_hdr_any_op_gen (idl_bool); - void cli_stub_any_op_gen (idl_bool); - void cli_hdr_cdr_op_gen (idl_bool); - void cli_stub_cdr_op_gen (idl_bool); - void cli_inline_cdr_op_gen (idl_bool); - - idl_bool is_child (be_decl *node); - // am I a direct child of node? - - // Narrowing - DEF_NARROW_METHODS1 (be_decl, AST_Decl); - DEF_NARROW_FROM_DECL (be_decl); - -protected: - // =helper - - virtual int compute_size_type (void); - // determine our size type and set it if it is unknown - - virtual void compute_fullname (void); - // computes the fully scoped name - - virtual void compute_flatname (void); - // compute the flattened fully scoped name - - - virtual void compute_repoID (void); - // computes the repoID - - virtual void compute_prefix (void); - // computes the prefix for the repoID - - // variables that indicate if the code generation for that node is already - // been done. This way we avoid regenerating same code. - idl_bool cli_hdr_gen_; - idl_bool cli_stub_gen_; - idl_bool cli_inline_gen_; - idl_bool srv_hdr_gen_; - idl_bool impl_hdr_gen_; - idl_bool srv_skel_gen_; - idl_bool impl_skel_gen_; - idl_bool srv_inline_gen_; - idl_bool cli_hdr_any_op_gen_; - idl_bool cli_stub_any_op_gen_; - idl_bool cli_hdr_cdr_op_gen_; - idl_bool cli_stub_cdr_op_gen_; - idl_bool cli_inline_cdr_op_gen_; - - char *fullname_; - // our full scoped name - - char *ami_handler_fullname_; - // our full scoped name of the associated AMI reply handler - - char *flatname_; - // flattened fully scoped name - - char *ami_handler_flatname_; - // flattened fully scoped name of the associated AMI reply handler - - char *repoID_; - // repository ID - - char *ami_handler_repoID_; - // repository ID of the associated AMI reply handler - - char *prefix_; - // The repository ID prefix - - SIZE_TYPE size_type_; - // whether we are fixed or variable size (by default fixed) - -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_enum.h b/TAO/TAO_IDL/be_include/be_enum.h deleted file mode 100644 index 200a08f2978..00000000000 --- a/TAO/TAO_IDL/be_include/be_enum.h +++ /dev/null @@ -1,73 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_enum.h -// -// = DESCRIPTION -// Extension of class AST_Enum that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_ENUM_H -#define BE_ENUM_H - -#include "be_scope.h" -#include "be_type.h" -#include "ast_enum.h" - -class UTL_StrList; -class be_visitor; - -/* - * BE_Enum - */ -class be_enum : public virtual AST_Enum, - public virtual be_scope, - public virtual be_type -{ -public: - // Operations - - be_enum (void); - // default constructor - - be_enum (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int member_count (void); - // return the count of members - - // Convert a numeric value to the enum's string name for it. - virtual UTL_ScopedName *value_to_name (const unsigned long v); - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS3 (be_enum, AST_Enum, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_enum); - DEF_NARROW_FROM_SCOPE (be_enum); - -private: - //=helper - - int compute_member_count (void); - // count the number of members - - int member_count_; - // number of members -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_enum_val.h b/TAO/TAO_IDL/be_include/be_enum_val.h deleted file mode 100644 index 1c3c571b7be..00000000000 --- a/TAO/TAO_IDL/be_include/be_enum_val.h +++ /dev/null @@ -1,60 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_enum_val.h -// -// = DESCRIPTION -// Extension of class AST_EnumVal that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_ENUM_VAL_H -#define BE_ENUM_VAL_H - -#include "be_decl.h" -#include "ast_enum_val.h" - -class UTL_StrList; -class be_visitor; - -/* - * BE_EnumVal - */ -class be_enum_val : public virtual AST_EnumVal, - public virtual be_decl -{ -public: - // =Operations - - be_enum_val (void); - // default constructor - - be_enum_val (unsigned long v, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_enum_val, AST_EnumVal, be_decl); - DEF_NARROW_FROM_DECL (be_enum_val); - -protected: - virtual int compute_size_type (void); - // Trivial implementation, but it avoids a switch statement - // in be_decl::size_type() -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_exception.h b/TAO/TAO_IDL/be_include/be_exception.h deleted file mode 100644 index 40aeb8b6a11..00000000000 --- a/TAO/TAO_IDL/be_include/be_exception.h +++ /dev/null @@ -1,55 +0,0 @@ -// $Id$ - -#ifndef BE_EXCEPTION_H -#define BE_EXCEPTION_H - -#include "be_scope.h" -#include "be_type.h" -#include "ast_exception.h" - -class UTL_StrList; -class be_visitor; - -/* - * BE_Exception - */ -class be_exception : public virtual AST_Exception, - public virtual be_scope, - public virtual be_type - -{ -public: - // Operations - be_exception (void); - // default constructor - - be_exception (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - // =code generation - - virtual int member_count (void); - // return the count of members - - virtual idl_bool in_recursion (be_type *node = 0); - // check if we or the parameter node is in recursion - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS3 (be_exception, AST_Exception, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_exception); - DEF_NARROW_FROM_SCOPE (be_exception); - -private: - //=helper - - int compute_member_count (void); - // count the number of members - - int member_count_; - // number of members -}; - -#endif // end of if !defined (...) diff --git a/TAO/TAO_IDL/be_include/be_expression.h b/TAO/TAO_IDL/be_include/be_expression.h deleted file mode 100644 index 432d21b1161..00000000000 --- a/TAO/TAO_IDL/be_include/be_expression.h +++ /dev/null @@ -1,52 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_expression.h -// -// = DESCRIPTION -// Extension of class AST_Expression that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_EXPRESSION_H -#define BE_EXPRESSION_H - -#include "ast_expression.h" - -class be_visitor; - -/* - * BE_Expression - */ -class be_expression : public virtual AST_Expression -{ -public: - // Operations - be_expression (UTL_ScopedName *n); - be_expression (AST_Expression *b, AST_Expression::ExprType t); - be_expression (AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2); - be_expression (long l); - be_expression (long l, AST_Expression::ExprType t); - be_expression (unsigned long l); - be_expression (UTL_String *s); - be_expression (char c); - be_expression (double d); - - // Visiting - virtual int accept (be_visitor *visitor); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_field.h b/TAO/TAO_IDL/be_include/be_field.h deleted file mode 100644 index 315b4758575..00000000000 --- a/TAO/TAO_IDL/be_include/be_field.h +++ /dev/null @@ -1,59 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_field.h -// -// = DESCRIPTION -// Extension of class AST_Field that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_FIELD_H -#define BE_FIELD_H - -#include "be_decl.h" -#include "ast_field.h" - -class UTL_StrList; -class be_visitor; - -/* - * BE_Field - */ -class be_field : public virtual AST_Field, - public virtual be_decl -{ -public: - // =Operations - - be_field (void); - // default constructor - - be_field (AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p, - Visibility vis = vis_NA); - // constructor - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_field, AST_Field, be_decl); - DEF_NARROW_FROM_DECL (be_field); - -protected: - virtual int compute_size_type (void); - // compute the size type if it is unknown -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_generator.h b/TAO/TAO_IDL/be_include/be_generator.h deleted file mode 100644 index 380dc5e6a08..00000000000 --- a/TAO/TAO_IDL/be_include/be_generator.h +++ /dev/null @@ -1,174 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _BE_GENERATOR_BE_GENERATOR_HH -#define _BE_GENERATOR_BE_GENERATOR_HH - -// be_generator.hh -// -// Defines BE class for generator -// -// This defines the same protocol as the AST_Generator class but actually -// is implemented to create nodes of AST classes subclassed in this BE - -/* -** DEPENDENCIES: AST_Generator.h -** -** USE: Included from be.h -*/ - -class be_generator : public AST_Generator { -public: - virtual AST_Root *create_root(UTL_ScopedName *n, - UTL_StrList *p); - // Create a node representing a module which is the root of an AST made up of - // BE nodes - - // Operations - virtual AST_PredefinedType - *create_predefined_type(AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, - UTL_StrList *p); - - virtual AST_Module *create_module(UTL_ScopedName *n, UTL_StrList *p); - virtual AST_Interface *create_interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p); - virtual AST_InterfaceFwd *create_interface_fwd(UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Interface *create_valuetype(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p); - virtual AST_InterfaceFwd *create_valuetype_fwd(UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Exception *create_exception(UTL_ScopedName *n, UTL_StrList *p); - virtual AST_Structure *create_structure(UTL_ScopedName *n, UTL_StrList *p); - virtual AST_Enum *create_enum(UTL_ScopedName *n, UTL_StrList *p); - virtual AST_Operation *create_operation(AST_Type *rt, - AST_Operation::Flags fl, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Field *create_field(AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p, - AST_Field::Visibility vis = AST_Field::vis_NA); - - virtual AST_Argument *create_argument(AST_Argument::Direction d, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Attribute *create_attribute(idl_bool ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Union *create_union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_UnionBranch *create_union_branch(UTL_LabelList *ll, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_UnionLabel *create_union_label(AST_UnionLabel::UnionLabel ul, - AST_Expression *lv); - virtual AST_Constant *create_constant(AST_Expression::ExprType et, - AST_Expression *ev, - UTL_ScopedName *n, - UTL_StrList *p); - - virtual AST_Expression *create_expr(UTL_ScopedName *n); - virtual AST_Expression *create_expr(AST_Expression *v, - AST_Expression::ExprType t); - virtual AST_Expression *create_expr(AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2); - virtual AST_Expression *create_expr(long v); - virtual AST_Expression *create_expr(long v, - AST_Expression::ExprType t); - virtual AST_Expression *create_expr(unsigned long v); - virtual AST_Expression *create_expr(UTL_String *s); - virtual AST_Expression *create_expr(char c); - virtual AST_Expression *create_expr(double d); - - virtual AST_EnumVal *create_enum_val(unsigned long v, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Array *create_array(UTL_ScopedName *n, - unsigned long ndims, - UTL_ExprList *dims); - virtual AST_Sequence *create_sequence(AST_Expression *v, AST_Type *bt); - virtual AST_String *create_string(AST_Expression *v); - virtual AST_String *create_wstring(AST_Expression *v); - virtual AST_Typedef *create_typedef(AST_Type *bt, - UTL_ScopedName *n, - UTL_StrList *p); - // Create a node representing a native - virtual AST_Native *create_native (UTL_ScopedName *n, - UTL_StrList *p); - -}; - -#endif // _BE_GENERATOR_BE_GENERATOR_HH diff --git a/TAO/TAO_IDL/be_include/be_helper.h b/TAO/TAO_IDL/be_include/be_helper.h deleted file mode 100644 index c931b758f97..00000000000 --- a/TAO/TAO_IDL/be_include/be_helper.h +++ /dev/null @@ -1,211 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_helper.h -// -// = DESCRIPTION -// Defines the abstract class for outputting the C++ mapping. This is a -// helper class to the singleton TAO_CodeGen class -// -// = AUTHOR -// Aniruddha Gokhale -// -// Improvements by Carlos O'Ryan -// -// ============================================================================ - -#ifndef TAO_BE_OUTSTRM_H -#define TAO_BE_OUTSTRM_H - -// a dummy structure to inform TAO_OutStream's << operator to put a newline -// and use the current indentation for the succeeding line -struct TAO_NL -{ -public: - TAO_NL (void); -}; - -struct TAO_INDENT -{ - // = TITLE - // Operates like a manipulator, increasing the indentation level. - // - // = DESCRIPTION - // Increase the indentation level, if the "do_now" parameter is - // not zero then the method is called on the stream. - // - TAO_INDENT (int do_now = 0); - - const int do_now_; -}; - -struct TAO_UNINDENT -{ - // = TITLE - // Operates like a manipulator, decreasing the indentation level. - // - // = DESCRIPTION - // Decrease the indentation level, if the "do_now" parameter is - // not zero then the method is called on the stream. - // - TAO_UNINDENT (int do_now = 0); - - const int do_now_; -}; - -extern const TAO_NL be_nl; -extern const TAO_INDENT be_idt; -extern const TAO_INDENT be_idt_nl; -extern const TAO_UNINDENT be_uidt; -extern const TAO_UNINDENT be_uidt_nl; - -class TAO_OutStream -{ - // =TITLE - // TAO_OutStream - // - // =DESCRIPTION - // Defines an interface by which the backend code generator can - // print its output to the underlying I/O handle. This is a - // helper class that will be used by the TAO_CodeGen - // class. However, this is an abstract class and classes that - // understand specific front ends must derive from this class. -public: - - // Enumerated type to indicate the stream type - enum STREAM_TYPE - { - TAO_CLI_HDR, - TAO_CLI_INL, - TAO_CLI_IMPL, - TAO_SVR_HDR, - TAO_IMPL_HDR, - TAO_IMPL_SKEL, - TAO_SVR_TMPL_HDR, - TAO_SVR_INL, - TAO_SVR_TMPL_INL, - TAO_SVR_IMPL, - TAO_SVR_TMPL_IMPL, - TAO_GPERF_INPUT - }; - - TAO_OutStream (void); - // constructor. - - virtual ~TAO_OutStream (void); - // destructor. - - int open (const char *fname, - TAO_OutStream::STREAM_TYPE st=TAO_OutStream::TAO_CLI_HDR); - // open the underlying low-level handle for output. - - void stream_type (TAO_OutStream::STREAM_TYPE); - // set the stream type - - TAO_OutStream::STREAM_TYPE stream_type (void); - // return the stream type - - FILE *file (void); - // Return the underlying lowlevel file pointer. - - int incr_indent (unsigned short flag=1); - // increment the indentation level and by default actually indent the output - // accordingly - - int decr_indent (unsigned short flag=1); - // decrease the indentation level and by default actually indent the output - // accordingly - - int reset (void); - // reset indentation level to 0 - - int indent (void); - // indent starting next line - - int nl (void); - // put a newline and indent on the next line - - int print (const char *format, ...); - // "printf" style variable argument print - - int gen_ifdef_macro (const char *flatname, const char *suffix=0); - // generate a #if !defined, #defined macro - - int gen_endif (void); - // generate an endif statement - - int gen_ifdef_AHETI (void); - // generate the ACE_HAS_EXPLICIT... ifdef - - int gen_else_AHETI (void); - // generate the ACE_HAS_EXPLICIT... else - - int gen_endif_AHETI (void); - // generate the ACE_HAS_EXPLICIT... endif - - // =overloaded operators - - TAO_OutStream &operator<< (const char *str); - // output the char string and return a reference to ourselves - - TAO_OutStream &operator<< (const ACE_CDR::UShort num); - // output the integer and return a reference to ourselves - - TAO_OutStream &operator<< (const ACE_CDR::Short num); - // output the integer and return a reference to ourselves - - TAO_OutStream &operator<< (const ACE_CDR::ULong num); - // output the integer and return a reference to ourselves - - TAO_OutStream &operator<< (const ACE_CDR::Long num); - // output the integer and return a reference to ourselves - - TAO_OutStream &operator<< (const unsigned long num); - // output the integer and return a reference to ourselves - - TAO_OutStream &operator<< (const long num); - // output the integer and return a reference to ourselves - - // = MANIPULATORS - - TAO_OutStream &operator<< (const TAO_NL& nl); - TAO_OutStream &operator<< (const TAO_INDENT& i); - TAO_OutStream &operator<< (const TAO_UNINDENT& i); - - // The following will be provided by specialized classes - - TAO_OutStream &operator<< (Identifier *id); - // output an Identifier node - - TAO_OutStream &operator<< (UTL_IdList *idl); - // output a scoped name - - TAO_OutStream &operator<< (AST_Expression *expr); - // output an AST_Expression node - - // provided by specialized classes - virtual TAO_OutStream &print (Identifier *id) = 0; - - virtual TAO_OutStream &print (UTL_IdList *idl) = 0; - - virtual TAO_OutStream &print (AST_Expression *idl) = 0; - -protected: - FILE *fp_; - // the underlying low-level I/O handle - - TAO_OutStream::STREAM_TYPE st_; - // stream type - - int indent_level_; - // indentation level - -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_interface.h b/TAO/TAO_IDL/be_include/be_interface.h deleted file mode 100644 index d9b7d2c669a..00000000000 --- a/TAO/TAO_IDL/be_include/be_interface.h +++ /dev/null @@ -1,288 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_interface.h -// -// = DESCRIPTION -// Extension of class AST_Interface that provides additional means for C++ -// mapping of an interface. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_INTERFACE_H -#define TAO_BE_INTERFACE_H - -#include "be_scope.h" -#include "be_type.h" -#include "ast_interface.h" - -class TAO_OutStream; - -/* - * BE_Interface - */ -class be_interface : public virtual AST_Interface, - public virtual be_scope, - public virtual be_type -{ - // = TITLE - // The back end extension of the AST_Interface class - // - // = DESCRIPTION - // -public: - enum { - THRU_POA = 0, - DIRECT = 1 - }; - // Collocated stubs type value. - - // used to pass functions to the template method - typedef int (*tao_code_emitter) (be_interface *, be_interface *, TAO_OutStream *); - - // Operations - be_interface (void); - // Default constructor - - be_interface (UTL_ScopedName *n, AST_Interface **ih, long nih, - UTL_StrList *p); - // Constructor that sets its scoped name , a list of inherited interfaces - // , the number of inherited interfaces , and any prgmas

- - ~be_interface (void); - // dtor - - virtual void gen_def_ctors (TAO_OutStream* os); - //call the default constructors of all the base classes - - virtual void gen_copy_ctors (TAO_OutStream* os); - //call the copy constructors of all the base classes - - virtual int gen_var_defn (char *interface_name = 0); - // generate the var definition. If is not 0, generate - // the var defn for that name. Otherwise, do it for the interface you - // are visiting (this). - - virtual int gen_var_impl (char *interface_local_name = 0, - char *interface_full_name = 0); - // Generate the implementation for the _var class. - // If any one of the argument is 0, then use the name in , - // otherwise use the name given. Just making the class more useful. - - virtual int gen_out_defn (char *interface_name = 0); - // Generate the out class definition. If is not 0, - // generate the out defn for that name. Otherwise, do it for the - // interface you are visiting (this). - - virtual int gen_out_impl (char *interface_local_name = 0, - char *interface_full_name = 0); - // Generate the out class implementation. - // If any one of the argument is 0, then use the name giin this - // node, else use the arguments. - - const char *full_skel_name (void); - // Retrieve the fully scoped skel class name. - - const char *ami_handler_full_skel_name (void); - // Retrieve the fully scoped skel AMI handler class name - - // - // Each interface (to fix names "T") also defines two help classes, - // the "collocated" class inherits from T, but delegates on the - // skeleton for T (usually POA_T or POA_ModuleName::T), in other - // words it is a Bridge from T to its implementation. - // The class is nested inside the skeleton class. - // - // The "stub" is a class defined on the client scope, it actually - // defines the stubs (all operations in T are pure virtual). - // @@ TODO currently the stub class is not implemented. - // - const char *full_coll_name (int); - // Retrieve the fully qualified collocated class name - - const char *ami_handler_full_coll_name (void); - // Retrieve the fully qualified collocated AMI handler class name - - const char *local_coll_name (int) const; - // Retrieve the fully qualified collocated class name. - - const char *ami_handler_local_coll_name (void); - // Retrieve the fully qualified collocated AMI handler class name. - - const char *ami_handler_local_name (void); - // Retrieve the local name of the AMI handler - - int compute_coll_names (const char *local_name, - char *&coll_local_name, - char *&coll_full_name); - // Generate collocated local and full names for the arbitrary local - // name under the scope of this interface. Usefull to generate AMI - // Handlers. - - virtual int traverse_inheritance_graph (tao_code_emitter gen, - TAO_OutStream *os); - // template method using breadth first traversal of inheritance graph - - const char *relative_skel_name (const char *other_class_name); - // relative skeleton name - - int in_mult_inheritance (void); - // am I in some form of multiple inheritance - // -1 => error - // 0 => no - // 1 => yes - - void in_mult_inheritance (int mi); - // set a new value - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS3 (be_interface, AST_Interface, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_interface); - DEF_NARROW_FROM_SCOPE (be_interface); - - static int is_a_helper (be_interface *, be_interface *, TAO_OutStream *os); - // helper method passed to the template method that generates code for the - // is_a method - - static int downcast_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method passed to the template method that generates code for the - // downcast. - - static int gen_optable_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method passed to the template method to generate code for the - // operation table - - static int gen_skel_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method passed to the template method to generate code for the - // skeletons in the inline file - - static int copy_ctor_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method passed to the template method to invoke ctors of all the - // base classes. - - static int in_mult_inheritance_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method to determine if the interface node is involved in some kind - // of multiple inheritance or not. Required on the skeleton side - - static int gen_def_ctors_helper (be_interface* node, - be_interface* base, - TAO_OutStream *os); - - //helper method to generate a call to the default constructors of all the base classes - - static int gen_copy_ctors_helper (be_interface* node, - be_interface* base, - TAO_OutStream *os); - - //helper method to generate a call to the copy constructors of all the base classes - - - void compute_fullskelname (void); - void compute_fullskelname (char *&skelname, const char * prefix); - // compute the fully scoped skel class name - - int gen_operation_table (void); - // generate the operation table including entries for inherited interfaces - - static const char *relative_name (const char* our_name, - const char *other_class_name); - // relative name for collocated class. - - int gen_optable_entries (be_interface *); - // generate the operation table entries. - - void compute_coll_name (int); - // compute the fully qualified collocated class name. - -private: - void gen_gperf_input_header (TAO_OutStream *ss); - // Output the header (type declaration and %%) to the gperf's input - // file. - - int gen_gperf_things (void); - // Run GPERF and get the correct lookup and other operations - // depending on which strategy we are using. Returns 0 on sucess, -1 - // on error. - - void gen_perfect_hash_class_definition (void); - // Outputs the class definition for the perfect hashing. This class - // will inherit from the TAO_Perfect_Hash_OpTable. - - void gen_binary_search_class_definition (void); - // Outputs the class definition for the binary search . This class - // will inherit from the TAO_Binary_Search_OpTable. - - void gen_linear_search_class_definition (void); - // Outputs the class defintion for the linear search. This class - // will inherit from the TAO_Linear_Search. - - int gen_gperf_lookup_methods (void); - // This calls the GPERF program and gets the correct operation - // lookup methods for the current OpLookup strategy. - - void gen_perfect_hash_instance (void); - // Create an instance of this perfect hash table. - - void gen_binary_search_instance (void); - // Create an instance of the binary search optable. - - void gen_linear_search_instance (void); - // Create an instance of the linear search optable. - - char *full_skel_name_; - // Fully scoped skeleton name. - - char *ami_handler_full_skel_name_; - // Fully scoped AMI Handler skeleton name - - int skel_count_; - // Number of static skeletons in the operation table. - - char *full_coll_name_; - // Full collocated name - - int cached_coll_name_type_; - // Record the type of cached collocated class prefix. - - char *ami_handler_full_coll_name_; - // Full collocated name of the AMI handler - - char *local_coll_name_; - // Local collocated name - - char *ami_handler_local_coll_name_; - // Local collocated name of the AMI handler - - char *ami_handler_local_name_; - // Local name of the AMI Handler - - int in_mult_inheritance_; - // am I directly or indirectly involved in a multiple inheritance. If the - // value is -1 => not computed yet. -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_interface_fwd.h b/TAO/TAO_IDL/be_include/be_interface_fwd.h deleted file mode 100644 index 70dd1d05b6d..00000000000 --- a/TAO/TAO_IDL/be_include/be_interface_fwd.h +++ /dev/null @@ -1,77 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_interface.h -// -// = DESCRIPTION -// Extension of class AST_Interface_Fwd that provides additional -// means for C++ mapping of an interface. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_INTERFACE_FWD_H -#define BE_INTERFACE_FWD_H - -#include "be_type.h" -#include "ast_interface_fwd.h" - -class AST_Interface; -class UTL_StrList; -class be_visitor; - -/* - * BE_InterfaceFwd - */ -class be_interface_fwd : public virtual AST_InterfaceFwd, - public virtual be_type -{ - // =TITLE - // be_interface_fwd - // =DESCRIPTION - // Extensions to the AST_Interface_Fwd class -public: - // Operations - - be_interface_fwd (void); - // default constructor - - be_interface_fwd (AST_Interface *dummy, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual ~be_interface_fwd (void); - - virtual int gen_var_defn (char *local_name = 0); - // generate the _var class definition - - virtual int gen_var_impl (char *local_name = 0, - char *full_name = 0); - // generate the implementation for the _var class - - virtual int gen_out_defn (char *local_name = 0); - // generate the _out class definition - - virtual int gen_out_impl (char *local_name = 0, - char *full_name = 0); - // generate the _out implementation - - // Visiting - virtual int accept (be_visitor* visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_interface_fwd, AST_InterfaceFwd, be_type); - DEF_NARROW_FROM_DECL (be_interface_fwd); - -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_module.h b/TAO/TAO_IDL/be_include/be_module.h deleted file mode 100644 index d3ada1c2a8a..00000000000 --- a/TAO/TAO_IDL/be_include/be_module.h +++ /dev/null @@ -1,63 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_module.h -// -// = DESCRIPTION -// Extension of class AST_Module that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_MODULE_H -#define _BE_MODULE_H - -#include "be_scope.h" -#include "be_decl.h" -#include "ast_module.h" - -class UTL_StrList; -class be_visitor; - -/* - * BE_Module - */ - -class be_module : public virtual AST_Module, - public virtual be_scope, - public virtual be_decl -{ -public: - // =Operations - - be_module (void); - // default constructor - - be_module (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS3 (be_module, AST_Module, be_scope, be_decl); - DEF_NARROW_FROM_DECL (be_module); - DEF_NARROW_FROM_SCOPE (be_module); - -protected: - virtual int compute_size_type (void); - // compute the size type if it is unknown -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_native.h b/TAO/TAO_IDL/be_include/be_native.h deleted file mode 100644 index 4c861669e65..00000000000 --- a/TAO/TAO_IDL/be_include/be_native.h +++ /dev/null @@ -1,61 +0,0 @@ -// $Id$ - -// Id -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_native.h -// -// = DESCRIPTION -// The native IDL type -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - - -#ifndef BE_NATIVE_H -#define BE_NATIVE_H - -#include "be_type.h" -#include "ast_native.h" - -class UTL_StrList; -class be_visitor; - -// Representation of "native" IDL type added by the POA spec - -class be_native : public virtual AST_Native, public virtual be_type -{ -public: - // =Operations - - // Constructor(s) - be_native (void); - // default constructor - - be_native(UTL_ScopedName *n, UTL_StrList *p); - // constructor that initializes its scoped name - - virtual ~be_native (void) {} - // destructor - - virtual int gen_typecode (void); - // generate the typecode description - - virtual long tc_size (void); - // return typecode size - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS2(be_native, AST_Native, be_type); - DEF_NARROW_FROM_DECL(be_native); -}; - -#endif /* BE_NATIVE_H */ diff --git a/TAO/TAO_IDL/be_include/be_operation.h b/TAO/TAO_IDL/be_include/be_operation.h deleted file mode 100644 index 4a7556d2f6b..00000000000 --- a/TAO/TAO_IDL/be_include/be_operation.h +++ /dev/null @@ -1,85 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_operation.h -// -// = DESCRIPTION -// Extension of class AST_Operation that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_OPERATION_H -#define BE_OPERATION_H - -#include "be_scope.h" -#include "be_decl.h" -#include "ast_operation.h" - -class AST_Type; -class UTL_StrList; -class be_visitor; -class be_argument; - -/* - * BE_Operation - */ -class be_operation : public virtual AST_Operation, - public virtual be_scope, - public virtual be_decl -{ -public: - // =Operations - - be_operation (void); - // default constructor - - be_operation (AST_Type *rt, AST_Operation::Flags fl, UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - virtual int argument_count (void); - // return the count of members - - virtual int has_native (void); - // Any of the arguments or the return value is a type. - // This is important because in that case no code should be - // generated for the stubs. - - be_argument *add_argument_to_scope (be_argument *arg); - // add an argument to the scope - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS3 (be_operation, AST_Operation, be_scope, be_decl); - DEF_NARROW_FROM_DECL (be_operation); - DEF_NARROW_FROM_SCOPE (be_operation); - -protected: - //=helper - int compute_size_type (void); - // compute the size type if it is unknown - - int compute_argument_attr (void); - // count the number of arguments - - int argument_count_; - // number of arguments - - int has_native_; - // Is any argument of type native. -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_predefined_type.h b/TAO/TAO_IDL/be_include/be_predefined_type.h deleted file mode 100644 index 6a682372da7..00000000000 --- a/TAO/TAO_IDL/be_include/be_predefined_type.h +++ /dev/null @@ -1,77 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_predefined_type.h -// -// = DESCRIPTION -// Extension of class AST_PredefinedType that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_PREDEFINED_TYPE_H -#define _BE_PREDEFINED_TYPE_H - -#include "be_type.h" -#include "ast_predefined_type.h" - -class UTL_StrList; -class be_visitor; - -// be_classes.hh -// -// Defines all classes for dummy BE - -/* - * BE_PredefinedType - */ -class be_predefined_type : public virtual AST_PredefinedType, - public virtual be_type -{ -public: - // =Operations - - be_predefined_type (void); - // default constructor - - be_predefined_type (AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - // Visiting - virtual int accept (be_visitor* visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_predefined_type, AST_PredefinedType, be_type); - DEF_NARROW_FROM_DECL (be_predefined_type); - -protected: - virtual int compute_size_type (void); - // compute the size type if it is unknown - - virtual void compute_tc_name (void); - // overridden method - - virtual UTL_ScopedName * compute_tc_name (const char *prefix, - const char *suffix); - // Compute and return the value. - - virtual void compute_repoID (void); - // The object and TypeCode repository IDs have a mandatory omg.org - // prefix, but the default compute_repoID() uses the #pragma's to - // obtain preffixes. -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_root.h b/TAO/TAO_IDL/be_include/be_root.h deleted file mode 100644 index 0f789bbfdbb..00000000000 --- a/TAO/TAO_IDL/be_include/be_root.h +++ /dev/null @@ -1,65 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_root.h -// -// = DESCRIPTION -// Extension of class AST_Root that provides the backend -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_ROOT_H -#define TAO_BE_ROOT_H - -#include "be_decl.h" -#include "be_scope.h" -#include "ast_root.h" - -class UTL_StrList; -class be_visitor; - -class be_root : public virtual AST_Root, - public virtual be_scope, - public virtual be_decl -{ - // = TITLE - // The back end extension of the AST_Root class - // - // = DESCRIPTION - // -public: - // Operations - be_root (void); - // Default constructor - - be_root (UTL_ScopedName *n, UTL_StrList *p); - // Constructor that sets its scoped name , and any pragmas

- - // =Scope management functions that override the AST scope management methods - // since the AST methods set the names of the sequences, strings, and arrays - // to a fixed value which interferes with our back-end code generation - AST_Sequence *fe_add_sequence (AST_Sequence *); - AST_String *fe_add_string (AST_String *); - AST_Array *fe_add_array (AST_Array *); - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS3 (be_root, AST_Root, be_scope, be_decl); - DEF_NARROW_FROM_DECL (be_root); - DEF_NARROW_FROM_SCOPE (be_root); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_scope.h b/TAO/TAO_IDL/be_include/be_scope.h deleted file mode 100644 index ec5834df68c..00000000000 --- a/TAO/TAO_IDL/be_include/be_scope.h +++ /dev/null @@ -1,74 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_scope.h -// -// = DESCRIPTION -// Extension of the UTL_Scope CFE class -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_SCOPE_H -#define TAO_BE_SCOPE_H - -#include "utl_scope.h" -#include "ast_decl.h" - -class be_decl; -class be_visitor; - -/* - * BE_Scope - */ -class be_scope : public virtual UTL_Scope -{ - // = TITLE - // be_scope - // = DESCRIPTION - // The back end extension of the UTL_Scope class - // -public: - // Operations - - be_scope (void); - // Default constructor - - be_scope (AST_Decl::NodeType nt); - // constructor that sets the node type - - virtual ~be_scope (void); - // destructor - - virtual void comma (unsigned short set); - // set the comma producing state - - int comma (void) const; - // get the comma producing state - - virtual be_decl *decl (void); - // return the be_decl node corresponding to this scope node - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS1 (be_scope, UTL_Scope); - DEF_NARROW_FROM_SCOPE (be_scope); - -private: - unsigned short comma_; - // if set, generate a comma after every element is handled -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_sequence.h b/TAO/TAO_IDL/be_include/be_sequence.h deleted file mode 100644 index fdb18fd7e53..00000000000 --- a/TAO/TAO_IDL/be_include/be_sequence.h +++ /dev/null @@ -1,107 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_sequence.h -// -// = DESCRIPTION -// Extension of class AST_Sequence that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_SEQUENCE_H -#define BE_SEQUENCE_H - -#include "be_scope.h" -#include "be_type.h" -#include "ast_sequence.h" - -class AST_Expression; -class AST_Type; -class be_visitor; - -/* - * BE_Sequence - */ - -class be_typedef; - -// A sequence in OMG IDL does not define a scoping construct just as a struct -// or union or an interface do. However, in the C++ mapping, a sequence becomes -// a class. If the base type of a sequence is another anonymous sequence, then -// the base type is defined in the scope of this sequence. Hence we define -// be_sequence to possess the additional characteristics of a scope -class be_sequence : public virtual AST_Sequence, - public virtual be_scope, - public virtual be_type -{ -public: - enum MANAGED_TYPE - { - MNG_UNKNOWN , - MNG_NONE, - MNG_STRING, - MNG_OBJREF, - MNG_PSEUDO - }; - - // =Operations - - be_sequence (void); - // default constructor - - be_sequence (AST_Expression *v, AST_Type *bt); - // constructor - - virtual int create_name (be_typedef *node=0); - // create a name for ourselves. If we are typedefed, then we get the name of - // the typedef node, else we generate a name for ourselves - - virtual MANAGED_TYPE managed_type (void); - // return the managed type - - virtual idl_bool unbounded (void) const; - // is this sequence bounded or not - - // =Scope management functions - virtual AST_Sequence *fe_add_sequence (AST_Sequence *); - - virtual be_decl *decl (void); - // overridden method on the be_scope class - - virtual idl_bool in_recursion (be_type *node = 0); - // are we or the node represented by node involved in recursion - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS3 (be_sequence, AST_Sequence, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_sequence); - - const char *instance_name (); - // report the instance name for instantiation - -protected: - virtual char *gen_name (void); - // helper to create_name - -private: - idl_bool unbounded_; - // whether we are bounded or unbounded - - MANAGED_TYPE mt_; - // our managed type -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_state.h b/TAO/TAO_IDL/be_include/be_state.h deleted file mode 100644 index eaee5f30407..00000000000 --- a/TAO/TAO_IDL/be_include/be_state.h +++ /dev/null @@ -1,299 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state.h -// -// = DESCRIPTION -// The Code generator state class and its subclasses -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_STATE_H -#define TAO_BE_STATE_H - -class be_type; -class be_decl; - -class be_state -{ - // =TITLE - // be_state - // =DESCRIPTION - // Emits code based on current state. This is an abstract base class. The - // task of code generation is handled by subclasses. -public: - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0) = 0; - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef - - virtual ~be_state (void); - // destructor - -protected: - be_state (void); - // constructor -}; - -// ============== subclasses ==================== - -class be_state_struct : public be_state -{ - // =TITLE - // be_state_struct - // =DESCRIPTION - // struct generation -public: - - be_state_struct (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton TAO_BE_STATE_STRUCT; - -class be_state_union_disctypedefn_ch: public be_state -{ - // =TITLE - // be_state_union_disctypedefn_ch - // =DESCRIPTION - // union discriminant defn generation in client header -public: - - be_state_union_disctypedefn_ch (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_UNION_DISCTYPEDEFN_CH; - -class be_state_union_disctypedefn_ci: public be_state -{ - // =TITLE - // be_state_union_disctypedefn_ci - // =DESCRIPTION - // union discriminant defn generation in client inline file -public: - - be_state_union_disctypedefn_ci (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_UNION_DISCTYPEDEFN_CI; - -class be_state_union_public_ch: public be_state -{ - // =TITLE - // be_state_union_public_ch - // =DESCRIPTION - // union discriminant defn generation in client header file -public: - - be_state_union_public_ch (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_UNION_PUBLIC_CH; - -class be_state_union_public_ci: public be_state -{ - // =TITLE - // be_state_union_public_ci - // =DESCRIPTION - // union discriminant defn generation in client inline file -public: - - be_state_union_public_ci (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_UNION_PUBLIC_CI; - -class be_state_union_private_ch: public be_state -{ - // =TITLE - // be_state_union_private_ch - // =DESCRIPTION - // union discriminant defn generation in client header file -public: - - be_state_union_private_ch (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_UNION_PRIVATE_CH; - -class be_state_union_public_cs: public be_state -{ - // =TITLE - // be_state_union_public_cs - // =DESCRIPTION - // union discriminant defn generation in client stubs file -public: - - be_state_union_public_cs (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_UNION_PUBLIC_CS; - -class be_state_operation: public be_state -{ - // =TITLE - // be_state_operation - // =DESCRIPTION - // operation return type -public: - - be_state_operation (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_OPERATION; - -class be_state_argument: public be_state -{ - // =TITLE - // be_state_argument - // =DESCRIPTION - // argument return type -public: - - be_state_argument (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_ARGUMENT; - -class be_state_typedef: public be_state -{ - // =TITLE - // be_state_typedef - // =DESCRIPTION - // typedef code generation -public: - - be_state_typedef (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_TYPEDEF; - -class be_state_array: public be_state -{ - // =TITLE - // be_state_array - // =DESCRIPTION - // array code generation -public: - - be_state_array (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_ARRAY; - -class be_state_sequence: public be_state -{ - // =TITLE - // be_state_sequence - // =DESCRIPTION - // sequence code generation -public: - - be_state_sequence (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton - TAO_BE_STATE_SEQUENCE; - -class be_state_attribute : public be_state -{ - // =TITLE - // be_state_attribute - // =DESCRIPTION - // attribute code generation -public: - be_state_attribute (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third - // parameter is used for recursive invocation involving a typedef -}; - -typedef ACE_Singleton - TAO_BE_STATE_ATTRIBUTE; - -class be_state_exception : public be_state -{ - // =TITLE - // be_state_exception - // =DESCRIPTION - // exception code generation -public: - be_state_exception (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third - // parameter is used for recursive invocation involving a typedef -}; - -typedef ACE_Singleton - TAO_BE_STATE_EXCEPTION; - -#endif /* end of be_state */ diff --git a/TAO/TAO_IDL/be_include/be_stream_factory.h b/TAO/TAO_IDL/be_include/be_stream_factory.h deleted file mode 100644 index 354d5730835..00000000000 --- a/TAO/TAO_IDL/be_include/be_stream_factory.h +++ /dev/null @@ -1,61 +0,0 @@ -// $Id$ - -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL Backend -// -// = FILENAME -// be_factory.h -// -// = DESCRIPTION -// Defines a factory that returns a specialized output stream object that -// understands a specific Front End -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_FACTORY_H -#define TAO_BE_FACTORY_H - -#include "ace/Singleton.h" -#include "ace/Synch.h" - -class TAO_OutStream; - -class TAO_OutStream_Factory -{ - // =TITLE - // TAO_OutStream_Factory - // =DESCRIPTION - // factory to produce specialized instances of the output stream objects -public: - enum TAO_OutStream_Type - { - TAO_SUNSOFT, - TAO_FLICK - }; - - TAO_OutStream_Factory (void); - // constructor - - ~TAO_OutStream_Factory (void); - // destructor - - TAO_OutStream *make_outstream (void); - // make the specialized out stream class - - int set_stream_type (TAO_OutStream_Type t); - // set the stream type - -private: - TAO_OutStream_Type strm_type_; -}; - -typedef ACE_Singleton TAO_OUTSTREAM_FACTORY; -// Singleton instance of the OutStream factory - -#endif /* if !defined _TAO_BE_FACTORY_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_string.h b/TAO/TAO_IDL/be_include/be_string.h deleted file mode 100644 index 95c32af2fb1..00000000000 --- a/TAO/TAO_IDL/be_include/be_string.h +++ /dev/null @@ -1,65 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_string.h -// -// = DESCRIPTION -// Extension of class AST_String that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_STRING_H -#define BE_STRING_H - -#include "be_type.h" -#include "ast_string.h" - -class AST_Expression; -class be_visitor; - -/* - * BE_String - */ -class be_string : public virtual AST_String, - public virtual be_type -{ -public: - // Operations - - be_string (void); - // default constructor - - be_string (AST_Expression *v); - // constructor - - be_string (AST_Expression *v, long wide); - // constructor - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_string, AST_String, be_type); - DEF_NARROW_FROM_DECL (be_string); - -protected: - virtual void compute_tc_name (void); - // overridden method to compute typecode name - - virtual UTL_ScopedName * compute_tc_name (const char *prefix, - const char *suffix); - // Compute and return the value. -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_structure.h b/TAO/TAO_IDL/be_include/be_structure.h deleted file mode 100644 index 24bd279799f..00000000000 --- a/TAO/TAO_IDL/be_include/be_structure.h +++ /dev/null @@ -1,92 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_structure.h -// -// = DESCRIPTION -// Extension of class AST_Structure that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_STRUCTURE_H -#define BE_STRUCTURE_H - -#include "be_scope.h" -#include "be_type.h" -#include "ast_structure.h" - -class UTL_StrList; -class be_visitor; - -/* - * BE_Structure - */ -class be_structure : public virtual AST_Structure, - public virtual be_scope, - public virtual be_type -{ -public: - // =Operations - - be_structure (void); - // default constructor - - be_structure (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_var_defn (char *local_name = 0); - // generate the _var class definition - - virtual int gen_var_impl (char *local_name = 0, - char *full_name = 0); - // generate the implementation for the _var class - - virtual int gen_out_defn (char *local_name = 0); - // generate the _out class definition - - virtual int gen_out_impl (char *local_name = 0, - char *full_name = 0); - // generate the _out implementation - - virtual int member_count (void); - // return the count of members - - virtual idl_bool in_recursion (be_type *node = 0); - // are we or the node represented by node involved in recursion - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS3 (be_structure, AST_Structure, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_structure); - DEF_NARROW_FROM_SCOPE (be_structure); - -protected: - virtual int compute_size_type (void); - // compute the size type if it is unknown - -private: - //=helper - - int compute_member_count (void); - // count the number of members - - int member_count_; - // number of members - -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_sunsoft.h b/TAO/TAO_IDL/be_include/be_sunsoft.h deleted file mode 100644 index a44633f5395..00000000000 --- a/TAO/TAO_IDL/be_include/be_sunsoft.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_sunsoft.h -// -// = DESCRIPTION -// SunSoft specific backend output generation -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_HELPER_H -#define TAO_BE_HELPER_H - -#include "be_helper.h" - -class TAO_SunSoft_OutStream : public TAO_OutStream -{ - // =TITLE - // TAO_SunSoft_OutStream - // =DESCRIPTION - // Backend specific to SunSoft AST nodes -public: - TAO_SunSoft_OutStream (void); - // constructor - - ~TAO_SunSoft_OutStream (void); - // destuctor - - virtual TAO_OutStream &print (Identifier *id); - // output the SunSoft IDL Identifier Node - - virtual TAO_OutStream &print (UTL_IdList *idl); - // output the SunSoft IDL UTL_IdList Node which is usually used to maintain a - // scoped name - - virtual TAO_OutStream &print (AST_Expression *expr); - // output the contents of the AST_Expression node -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_type.h b/TAO/TAO_IDL/be_include/be_type.h deleted file mode 100644 index 070353c6149..00000000000 --- a/TAO/TAO_IDL/be_include/be_type.h +++ /dev/null @@ -1,118 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_type.h -// -// = DESCRIPTION -// Extension of class AST_Type that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_TYPE_H -#define BE_TYPE_H - -#include "be_decl.h" -#include "ast_type.h" - -class TAO_OutStream; - -/* - * BE_Type - */ -class be_type : public virtual AST_Type, - public virtual be_decl -{ -public: - // =Operations - - be_type (void); - // default constructor - - be_type (AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual ~be_type (void); - - virtual int gen_var_defn (char *interface_local_name = 0); - // generate the _var class definition. - // generate the var definition. If is not 0, generate - // the var defn for that name. Otherwise, do it for the interface you - // are visiting (this). - - virtual int gen_var_impl (char *interface_local_name = 0, - char *interface_full_name = 0); - // Generate the implementation for the _var class. - // If any one of the argument is 0, then use the name in , - // otherwise use the name given. Just making the class more useful. - - virtual int gen_out_defn (char *interface_name = 0); - // Generate the out class definition. If is not 0, - // generate the out defn for that name. Otherwise, do it for the - // interface you are visiting (this). - - virtual int gen_out_impl (char *interface_local_name = 0, - char *interface_full_name = 0); - // Generate the out class implementation. - // If any one of the argument is 0, then use the name giin this - // node, else use the arguments. ); - - UTL_ScopedName *tc_name (const char *prefix = 0, - const char *suffix = 0); - // Return the typecode name. When both, the prefix and the suffix - // are non null, it computes and returns a tc name. Else, it also - // stores the result in a member variable. - - - virtual const char *nested_type_name (be_decl *d, - const char *suffix = 0, - const char *prefix = 0); - // type name of a node used when generating declarations - - virtual AST_Decl::NodeType base_node_type (void) const; - // Typedefs are tricky to handle, in many points their mapping - // depend on base type they are aliasing. Since typedefs can be - // recursive simply using "base_type->node_type()" will not work, so - // the most "unaliased" type is needed. - - virtual idl_bool in_recursion (be_type *node = 0); - // determine if we are involved in some kind of limited recursion. Most types - // cannot be involved except structs and unions. - // If the parameter is 0, we are trying to determine this for ourselves. - - // Visiting - virtual int accept (be_visitor* visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_type, AST_Type, be_decl); - DEF_NARROW_FROM_DECL (be_type); - -protected: - virtual void compute_tc_name (void); - // computes the fully scoped typecode name - - virtual UTL_ScopedName * compute_tc_name (const char *prefix, - const char *suffix); - // Compute and return the value. - - UTL_ScopedName *tc_name_; - // typecode name - - char *type_name_; - // type name (this uses the ACE NESTED macro) - - char *nested_type_name_; - // for the corresponding method. -}; - -#endif // end of if !defined diff --git a/TAO/TAO_IDL/be_include/be_typedef.h b/TAO/TAO_IDL/be_include/be_typedef.h deleted file mode 100644 index 8699239e5f9..00000000000 --- a/TAO/TAO_IDL/be_include/be_typedef.h +++ /dev/null @@ -1,67 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_typedef.h -// -// = DESCRIPTION -// Extension of class AST_typedef that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_TYPEDEF_H -#define BE_TYPEDEF_H - -#include "be_type.h" -#include "ast_typedef.h" - -class UTL_StrList; -class be_visitor; - -/* - * BE_Typedef - */ -class be_typedef : public virtual AST_Typedef, - public virtual be_type -{ -public: - // =Operations - - be_typedef (void); - // default constructor - - be_typedef (AST_Type *bt, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - be_type *primitive_base_type (void); - // return the most primitive base type by traversing the chain of typedefed - // base types - - virtual AST_Decl::NodeType base_node_type (void) const; - // Return the most "unaliased" type node for the base type (see - // be_type.h). - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_typedef, AST_Typedef, be_type); - DEF_NARROW_FROM_DECL (be_typedef); - -protected: - virtual int compute_size_type (void); - // compute the size type if it is unknown - -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_union.h b/TAO/TAO_IDL/be_include/be_union.h deleted file mode 100644 index cd00be47408..00000000000 --- a/TAO/TAO_IDL/be_include/be_union.h +++ /dev/null @@ -1,129 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_union.h -// -// = DESCRIPTION -// Extension of class AST_Union that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_UNION_H -#define BE_UNION_H - -#include "be_type.h" -#include "be_scope.h" -#include "ast_union.h" - -class AST_ConcreteType; -class UTL_StrList; -class be_visitor; - -/* - * BE_Union - */ -class be_union : public virtual AST_Union, - public virtual be_scope, - public virtual be_type -{ -public: - // =Operations - - be_union (void); - // default constructor - - be_union(AST_ConcreteType *dt, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_var_defn (char *local_name = 0); - // generate the _var class definition - - virtual int gen_var_impl (char *local_name = 0, - char *full_name = 0); - // generate the implementation for the _var class - - virtual int gen_out_defn (char *local_name = 0); - // generate the _out class definition - - virtual int gen_out_impl (char *local_name = 0, - char *full_name = 0); - // generate the _out implementation - - virtual int member_count (void); - // return the count of members - - virtual int default_index (void); - // return the default index used - - virtual idl_bool in_recursion (be_type *node = 0); - // ar we or the parameter node involved in some kind of recursion - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS3 (be_union, AST_Union, be_scope, be_type); - DEF_NARROW_FROM_DECL(be_union); - DEF_NARROW_FROM_SCOPE(be_union); - - struct DefaultValue - { - union PermittedTypes - { - char char_val; - unsigned long bool_val; - ACE_INT16 short_val; - ACE_UINT16 ushort_val; - ACE_INT32 long_val; - ACE_UINT32 ulong_val; - ACE_UINT32 enum_val; - // TO-DO - handle (u)longlong types - } u; - long computed_; - // computed == -1 => error condition - // == 0 => does not exist because all cases have been covered - // == 1 => already computed - // == -2 => initial value - }; - - int default_value (DefaultValue &); - // get the default value - -protected: - virtual int compute_size_type (void); - // compute the size type if it is unknown - -private: - //=helper - - int compute_member_count (void); - // count the number of members - - int compute_default_index (void); - // count the default index - - virtual int compute_default_value (void); - // compute the implicit default value (if any) - - int member_count_; - // number of members - - int default_index_; - // default label index (zero based indexing) - - DefaultValue default_value_; - // implicit default value (if any) -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_union_branch.h b/TAO/TAO_IDL/be_include/be_union_branch.h deleted file mode 100644 index 944049c7195..00000000000 --- a/TAO/TAO_IDL/be_include/be_union_branch.h +++ /dev/null @@ -1,64 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_union_branch.h -// -// = DESCRIPTION -// Extension of class AST_UnionBranch that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_UNION_BRANCH_H -#define BE_UNION_BRANCH_H - -#include "be_decl.h" -#include "ast_union_branch.h" - -class UTL_LabelList; -class UTL_Type; -class UTL_StrList; -class be_visitor; - -/* - * BE_UnionBranch - */ -class be_union_branch : public virtual AST_UnionBranch, - public virtual be_decl -{ -public: - // Operations - be_union_branch (void); - // default constructor - - be_union_branch (UTL_LabelList *ll, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - int gen_label_value (TAO_OutStream *os, unsigned long index = 0); - // Generate the label value (as in a switch/case statement). - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS2 (be_union_branch, AST_UnionBranch, be_decl); - DEF_NARROW_FROM_DECL (be_union_branch); - -protected: - virtual int compute_size_type (void); - // compute the size type if it is unknown - -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_union_label.h b/TAO/TAO_IDL/be_include/be_union_label.h deleted file mode 100644 index 536d9160bd9..00000000000 --- a/TAO/TAO_IDL/be_include/be_union_label.h +++ /dev/null @@ -1,24 +0,0 @@ -// $Id$ - -#ifndef BE_UNION_LABEL_H -#define BE_UNION_LABEL_H - -#include "ast_union_label.h" - -class be_visitor; - -/* - * BE_UnionLabel - */ -class be_union_label : public virtual AST_UnionLabel -{ -public: - // Operations - be_union_label(); - be_union_label(AST_UnionLabel::UnionLabel ul, AST_Expression *v); - - // Visiting - virtual int accept (be_visitor *visitor); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_valuetype.h b/TAO/TAO_IDL/be_include/be_valuetype.h deleted file mode 100644 index 819bee82351..00000000000 --- a/TAO/TAO_IDL/be_include/be_valuetype.h +++ /dev/null @@ -1,138 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_valuetype.h -// -// = DESCRIPTION -// Extension of class AST_Interface and be_interface that provides -// additional means for C++ mapping of an valuetype. -// -// ============================================================================ - -#ifndef TAO_BE_VALUETYPE_H -#define TAO_BE_VALUETYPE_H - -#ifdef IDL_HAS_VALUETYPE - -#include "be_interface.h" - -class TAO_OutStream; - -/* - * BE_Valuetype - */ -class be_valuetype : public virtual be_interface -{ - // = TITLE - // Backend-class for valuetypes - // - // = DESCRIPTION - // Extends be_interface and overrides member functions for valuetype - // mapping. - // -public: - - // used to pass functions to the template method - //: typedef int (*tao_code_emitter) (be_interface *, be_interface *, TAO_OutStream *); - - // Operations - be_valuetype (void); - // Default constructor - - be_valuetype (UTL_ScopedName *n, AST_Interface **ih, long nih, - UTL_StrList *p, idl_bool set_abstract = 0); - // Constructor that sets its scoped name , a list of inherited valuetypes - // and supported interfaces , the number of inherited interfaces , - // and any pragmas

- - ~be_valuetype (void); - // dtor - - virtual void redefine (AST_Interface *from, UTL_StrList *p); - - idl_bool opt_accessor (); - // should generate optimized form ? - - virtual int gen_var_defn (char *local_name = 0); - // generate the _var class definition - - // virtual void gen_def_ctors (TAO_OutStream* os); - //call the default constructors of all the base classes - - - - // virtual void gen_copy_ctors (TAO_OutStream* os); - //call the copy constructors of all the base classes - - virtual int gen_var_impl (char *local_name = 0, - char *full_name = 0); - // generate the implementation for the _var class - - virtual int gen_out_defn (char *local_name = 0); - // generate the _out class definition - - virtual int gen_out_impl (char *local_name = 0, - char *full_name = 0); - // generate the _out implementation - - const char *full_obv_skel_name (void); - // retrieve the fully scoped skel class name - - -#if 0 - virtual int gen_typecode (void); - // generate the typecode - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_size (void); - // return typecode size - - virtual long tc_encap_len (void); - // return length of encapsulation -#endif - - // virtual int traverse_inheritance_graph (tao_code_emitter gen, - // TAO_OutStream *os); - // template method using breadth first traversal of inheritance graph - - //: const char *relative_skel_name (const char *other_class_name); - // relative skeleton name - - const char *field_pd_prefix (); - const char *field_pd_postfix (); - // for building the name for private data fields - be_valuetype *statefull_inherit (); - - - // Visiting - virtual int accept (be_visitor *visitor); - - virtual idl_bool is_valuetype (); - virtual idl_bool is_abstract_valuetype (); - virtual void set_abstract_valuetype (); - - // Narrowing - DEF_NARROW_METHODS1 (be_valuetype, be_interface); - DEF_NARROW_FROM_DECL (be_valuetype); - DEF_NARROW_FROM_SCOPE (be_valuetype); - - void compute_fullobvskelname (void); - // compute the fully scoped skel class name - - -private: - char * full_obv_skel_name_; - idl_bool abstract_; -}; - -#endif /* IDL_HAS_VALUETYPE */ - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_valuetype_fwd.h b/TAO/TAO_IDL/be_include/be_valuetype_fwd.h deleted file mode 100644 index b1cf603fbef..00000000000 --- a/TAO/TAO_IDL/be_include/be_valuetype_fwd.h +++ /dev/null @@ -1,80 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_valuetype_fwd.h -// -// = DESCRIPTION -// Extension of class AST_Interface_Fwd that provides additional -// means for C++ mapping of a valuetype. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale, -// changed for valuetypes from Torsten Kuepper -// -// ============================================================================ - -#ifndef BE_VALUETYPE_FWD_H -#define BE_VALUETYPE_FWD_H - -#ifdef IDL_HAS_VALUETYPE - -#include "be_interface_fwd.h" - -/* - * BE_InterfaceFwd - */ - -class be_valuetype_fwd : public virtual be_interface_fwd -{ - // =TITLE - // be_valuetype_fwd - // =DESCRIPTION - // Extensions to the be_interface_fwd class -public: - // Operations - - be_valuetype_fwd (void); - // default constructor - - be_valuetype_fwd (AST_Interface *dummy, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual ~be_valuetype_fwd (void); - - virtual void set_abstract_valuetype (); - - // Generate Mapping - virtual int gen_var_defn (char *local_name = 0); - // generate the _var class definition - - virtual int gen_var_impl (char *local_name = 0, - char *full_name = 0); - // generate the implementation for the _var class - - virtual int gen_out_defn (char *local_name = 0); - // generate the _out class definition - - virtual int gen_out_impl (char *local_name = 0, - char *full_name = 0); - // generate the _out implementation - - // Visiting - virtual int accept (be_visitor* visitor); - - // Narrowing - DEF_NARROW_METHODS1 (be_valuetype_fwd, be_interface_fwd); - DEF_NARROW_FROM_DECL (be_valuetype_fwd); - -}; - -#endif /* IDL_HAS_VALUETYPE */ - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_visitor.h b/TAO/TAO_IDL/be_include/be_visitor.h deleted file mode 100644 index 249bee0d4c2..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor.h +++ /dev/null @@ -1,169 +0,0 @@ -// -// $Id$ -// - -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor.h -// -// = DESCRIPTION -// The abstract visitor class. The concrete classes are responsible for code -// generation. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Carlos O'Ryan, Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_H -#define TAO_BE_VISITOR_H - -class be_decl; -class be_scope; -class be_type; -class be_predefined_type; -class be_module; -class be_interface; -class be_interface_fwd; -#ifdef IDL_HAS_VALUETYPE - class be_valuetype; - class be_valuetype_fwd; -#endif /* IDL_HAS_VALUETYPE */ -class be_structure; -class be_exception; -class be_expression; -class be_enum; -class be_operation; -class be_field; -class be_argument; -class be_attribute; -class be_union; -class be_union_branch; -class be_union_label; -class be_constant; -class be_enum_val; -class be_array; -class be_sequence; -class be_string; -class be_typedef; -class be_root; -class be_native; - -class be_visitor_context; -class TAO_OutStream; - -class be_visitor -{ - // - // = TITLE - // Base class for visitors. - // - // = DESCRIPTION - // To implement code generation we use the "Visitor Pattern", this - // is the abstract "Visitor". - // The "visit" methods are not pure virtual to facilitate the - // implementation of simple visitors that only override a few. - // -public: - virtual ~be_visitor (void); - - virtual int visit_decl (be_decl *d); - // visit a decl node - - virtual int visit_scope (be_scope *node); - // visit the scope - - virtual int visit_type (be_type *node); - // visit the type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit the predefined type - - virtual int visit_module (be_module *node); - // visit module - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface_fwd - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype_fwd -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_exception (be_exception *node); - // visit exception - - virtual int visit_expression (be_expression *node); - // visit expression - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_operation (be_operation *node); - // visit an operation - - virtual int visit_field (be_field *node); - // visit a field - - virtual int visit_argument (be_argument *node); - // visit argument - - virtual int visit_attribute (be_attribute *node); - // visit an attribute - - virtual int visit_union (be_union *node); - // visit union - - virtual int visit_union_branch (be_union_branch *node); - // visit union branch - - virtual int visit_union_label (be_union_label *node); - // visit union label - - virtual int visit_constant (be_constant *node); - // visit a constant - - virtual int visit_enum_val (be_enum_val *node); - // visit enum val - - virtual int visit_array (be_array *node); - // visit an array - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_string (be_string *node); - // visit a string - - virtual int visit_typedef (be_typedef *node); - // visit a typedef - - virtual int visit_root (be_root *node); - // visit a root - - virtual int visit_native (be_native *node); - // visit a native - -protected: - be_visitor (void); - // constructor is protected - -}; - -#endif // TAO_BE_VISITOR_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument.h b/TAO/TAO_IDL/be_include/be_visitor_argument.h deleted file mode 100644 index 78f39acb854..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_args.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments. These are used for the -// interpretive styled stubs and skeletons -// -// = AUTHOR -// Aniruddha Gokhale and Carlos O' Ryan -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_H -#define _BE_VISITOR_ARGUMENT_H - -#include "be_visitor_decl.h" -#include "be_visitor_scope.h" -#include "be_visitor_argument/argument.h" -#include "be_visitor_argument/arglist.h" -#include "be_visitor_argument/pre_docall_cs.h" -#include "be_visitor_argument/docall_cs.h" -#include "be_visitor_argument/post_docall_cs.h" -#include "be_visitor_argument/post_docall_compiled_cs.h" -#include "be_visitor_argument/vardecl_ss.h" -#include "be_visitor_argument/pre_upcall_ss.h" -#include "be_visitor_argument/upcall_ss.h" -#include "be_visitor_argument/post_upcall_ss.h" -#include "be_visitor_argument/marshal_ss.h" -#include "be_visitor_argument/post_marshal_ss.h" -#include "be_visitor_argument/compiled_marshal_cs.h" -#include "be_visitor_argument/compiled_marshal_ss.h" -#include "be_visitor_argument/pre_invoke_cs.h" -#include "be_visitor_argument/ami_arglist.h" -#include "be_visitor_argument/ami_handler_arglist.h" -#include "be_visitor_argument/ami_handler_result_arg.h" -#include "be_visitor_argument/ami_handler_compiled_marshal_cs.h" -#include "be_visitor_argument/ami_handler_upcall_cs.h" -#include "be_visitor_argument/ami_handler_vardecl_cs.h" - -#endif /* _BE_VISITOR_ARGUMENT_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_arglist.h b/TAO/TAO_IDL/be_include/be_visitor_argument/ami_arglist.h deleted file mode 100644 index d5f11ad86b5..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_arglist.h +++ /dev/null @@ -1,96 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_arglist.h -// -// = DESCRIPTION -// Visitor for generation of code for Arguments as parameter lists -// in the operation signature of an AMI stub. -// -// = AUTHOR -// Aniruddha Gokhale & Alexander Babu Arulanthu -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_AMI_ARGLIST_H_ -#define _BE_VISITOR_ARGUMENT_AMI_ARGLIST_H_ - -class be_visitor_args_ami_arglist : public be_visitor_args -{ - // - // = TITLE - // Generates the code for arguments output. - // - // = DESCRIPTION - // At several stages in the code generation a node of type - // "be_operation" is visited, and the code for its arguments must - // be generated. - // Sometimes the argument declarations must be generated (such as - // in the class declaration), other the arguments names (such as - // in method invocations). - // This class implements the declaration output, in other words, - // it outputs both the arguments and their types. - // -public: - be_visitor_args_ami_arglist (be_visitor_context *ctx); - // Constructor. - - virtual ~be_visitor_args_ami_arglist (void); - // Destructor. - - virtual int visit_argument (be_argument *node); - // Visit the argument node. - - // = visit all the nodes that can be the types for the argument. - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - - virtual int visit_native (be_native *node); - // visit native node - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype_fwd -#endif /* IDL_HAS_VALUETYPE */ -}; - -#endif /* _BE_VISITOR_ARGUMENT_ARGLIST_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_arglist.h b/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_arglist.h deleted file mode 100644 index 63882f11020..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_arglist.h +++ /dev/null @@ -1,96 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_arglist.h -// -// = DESCRIPTION -// Visitor for generation of code for Arguments as parameter lists -// in the operation signature of an AMI stub. -// -// = AUTHOR -// Aniruddha Gokhale & Alexander Babu Arulanthu -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_AMI_HANDLER_ARGLIST_H_ -#define _BE_VISITOR_ARGUMENT_AMI_HANDLER_ARGLIST_H_ - -class be_visitor_args_ami_handler_arglist : public be_visitor_args -{ - // - // = TITLE - // Generates the code for arguments output. - // - // = DESCRIPTION - // At several stages in the code generation a node of type - // "be_operation" is visited, and the code for its arguments must - // be generated. - // Sometimes the argument declarations must be generated (such as - // in the class declaration), other the arguments names (such as - // in method invocations). - // This class implements the declaration output, in other words, - // it outputs both the arguments and their types. - // -public: - be_visitor_args_ami_handler_arglist (be_visitor_context *ctx); - // Constructor. - - virtual ~be_visitor_args_ami_handler_arglist (void); - // Destructor. - - virtual int visit_argument (be_argument *node); - // Visit the argument node. - - // = visit all the nodes that can be the types for the argument. - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - - virtual int visit_native (be_native *node); - // visit native node - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype_fwd -#endif /* IDL_HAS_VALUETYPE */ -}; - -#endif /* _BE_VISITOR_ARGUMENT_ARGLIST_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_compiled_marshal_cs.h b/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_compiled_marshal_cs.h deleted file mode 100644 index 11d8bef925f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_compiled_marshal_cs.h +++ /dev/null @@ -1,89 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_compiled_marshal_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments for passing the arguments -// to the CDR << and >> operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_ami_handler_compiled_marshal_cs_H_ -#define _BE_VISITOR_ARGUMENT_ami_handler_compiled_marshal_cs_H_ - -// ************************************************************ -// class be_visitor_args_ami_handler_compiled_marshal_cs -// ************************************************************ -class be_visitor_args_ami_handler_compiled_marshal_cs : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_ami_handler_compiled_marshal_cs - // - // = DESCRIPTION - // Code to be generated when making the do_static_call - // -public: - be_visitor_args_ami_handler_compiled_marshal_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_ami_handler_compiled_marshal_cs (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_ARGUMENT_ami_handler_compiled_marshal_cs_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_result_arg.h b/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_result_arg.h deleted file mode 100644 index 67e4d85b4a7..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_result_arg.h +++ /dev/null @@ -1,86 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_result_arg.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the return -// type of the operation -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGS_AMI_HANDLER_RESULT_ARG_H_ -#define _BE_VISITOR_ARGS_AMI_HANDLER_RESULT_ARG_H_ - -// *********************************************************************** -// Operation visitor for return types in the signature of the operation -// *********************************************************************** - -class be_visitor_args_ami_handler_result_arg : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_ch - // - // = DESCRIPTION - // This is a visitor to generate operation return types - // - // -public: - be_visitor_args_ami_handler_result_arg (be_visitor_context *ctx); - // constructor - - ~be_visitor_args_ami_handler_result_arg (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - - int visit_native (be_native *node); - // visit native type - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -# ifdef IDL_HAS_VALUETYPE - int visit_valuetype (be_valuetype *node); - int visit_valuetype_fwd (be_valuetype_fwd *node); -# endif /* IDL_HAS_VALUETYPE */ - -}; - -#endif /* _BE_VISITOR_ARGS_AMI_HANDLER_RESULT_ARG_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_upcall_cs.h b/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_upcall_cs.h deleted file mode 100644 index a1da8fe0ed2..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_upcall_cs.h +++ /dev/null @@ -1,90 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_upcall_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments. This generates the -// passing of arguments to the upcall. -// -// = AUTHOR -// Aniruddha Gokhale -// Michael Kircher -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_upcall_cs_H_ -#define _BE_VISITOR_ARGUMENT_upcall_cs_H_ - -// ************************************************************ -// class be_visitor_args_ami_handler_upcall_cs -// ************************************************************ -class be_visitor_args_ami_handler_upcall_cs : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_ami_handler_upcall_cs - // - // = DESCRIPTION - // Visitor for passing argument to the upcall - // -public: - be_visitor_args_ami_handler_upcall_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_ami_handler_upcall_cs (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_ARGUMENT_upcall_cs_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_vardecl_cs.h b/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_vardecl_cs.h deleted file mode 100644 index fd2d80db63f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/ami_handler_vardecl_cs.h +++ /dev/null @@ -1,126 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_vardecl_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments. This generates the -// variable declartion for the argument in the server-sde skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// Michael Kircher -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_ami_handler_vardecl_cs_H_ -#define _BE_VISITOR_ARGUMENT_ami_handler_vardecl_cs_H_ - -// ************************************************************ -// class be_visitor_args_ami_handler_vardecl_cs -// ************************************************************ -class be_visitor_args_ami_handler_vardecl_cs : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_ami_handler_vardecl_cs - // - // = DESCRIPTION - // Visitor for variable declaration for argument - // -public: - be_visitor_args_ami_handler_vardecl_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_ami_handler_vardecl_cs (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -// ************************************************************ -// class be_compiled_visitor_args_ami_handler_vardecl_cs -// ************************************************************ -class be_compiled_visitor_args_ami_handler_vardecl_cs : public be_visitor_args_ami_handler_vardecl_cs -{ - // - // = TITLE - // be_compiled_visitor_args_ami_handler_vardecl_cs - // - // = DESCRIPTION - // Visitor for variable declaration for argument for compiled marshaling - // skeletons - // -public: - be_compiled_visitor_args_ami_handler_vardecl_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_compiled_visitor_args_ami_handler_vardecl_cs (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - -}; - -#endif /* _BE_VISITOR_ARGUMENT_ami_handler_vardecl_cs_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/arglist.h b/TAO/TAO_IDL/be_include/be_visitor_argument/arglist.h deleted file mode 100644 index 0e784a7e4b1..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/arglist.h +++ /dev/null @@ -1,96 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// arglist.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments as parameter lists in the -// operation signature -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_ARGLIST_H_ -#define _BE_VISITOR_ARGUMENT_ARGLIST_H_ - -class be_visitor_args_arglist : public be_visitor_args -{ - // - // = TITLE - // Generates the code for arguments output. - // - // = DESCRIPTION - // At several stages in the code generation a node of type - // "be_operation" is visited, and the code for its arguments must - // be generated. - // Sometimes the argument declarations must be generated (such as - // in the class declaration), other the arguments names (such as - // in method invocations). - // This class implements the declaration output, in other words, - // it outputs both the arguments and their types. - // -public: - be_visitor_args_arglist (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_arglist (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_native (be_native *node); - // visit native node - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype_fwd -#endif /* IDL_HAS_VALUETYPE */ - -}; - -#endif /* _BE_VISITOR_ARGUMENT_ARGLIST_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/argument.h b/TAO/TAO_IDL/be_include/be_visitor_argument/argument.h deleted file mode 100644 index 882c8003b4a..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/argument.h +++ /dev/null @@ -1,59 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// argument.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_ARGUMENT_H_ -#define _BE_VISITOR_ARGUMENT_ARGUMENT_H_ - -class be_visitor_args : public be_visitor_decl -{ - // - // = TITLE - // Generates the code for arguments output. - // - // = DESCRIPTION - // At several stages in the code generation a node of type - // "be_operation" is visited, and the code for its arguments must - // be generated. - // Sometimes the argument declarations must be generated (such as - // in the class declaration), other the arguments names (such as - // in method invocations). - // This class implements some common functionality required across all - // argument visitors - // -public: - be_visitor_args (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args (void); - // destructor - - //= helper - virtual const char *type_name (be_type *type, const char *suffix=0); - // helper that produces either a nested name for header files or full name - // for others - - virtual AST_Argument::Direction direction (void); - // return the direction of the argument node - - virtual int visit_argument (be_argument *node); - // must be overridden by derived classes -}; - -#endif /* _BE_VISITOR_ARGUMENT_ARGUMENT_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/compiled_marshal_cs.h b/TAO/TAO_IDL/be_include/be_visitor_argument/compiled_marshal_cs.h deleted file mode 100644 index 47a30f5b143..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/compiled_marshal_cs.h +++ /dev/null @@ -1,89 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// compiled_marshal_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments for passing the arguments -// to the CDR << and >> operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_COMPILED_MARSHAL_CS_H_ -#define _BE_VISITOR_ARGUMENT_COMPILED_MARSHAL_CS_H_ - -// ************************************************************ -// class be_visitor_args_compiled_marshal_cs -// ************************************************************ -class be_visitor_args_compiled_marshal_cs : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_compiled_marshal_cs - // - // = DESCRIPTION - // Code to be generated when making the do_static_call - // -public: - be_visitor_args_compiled_marshal_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_compiled_marshal_cs (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_ARGUMENT_COMPILED_MARSHAL_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/compiled_marshal_ss.h b/TAO/TAO_IDL/be_include/be_visitor_argument/compiled_marshal_ss.h deleted file mode 100644 index e04b8edf204..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/compiled_marshal_ss.h +++ /dev/null @@ -1,89 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// compiled_marshal_ss.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments for passing the arguments -// to the CDR << and >> operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_COMPILED_MARSHAL_SS_H_ -#define _BE_VISITOR_ARGUMENT_COMPILED_MARSHAL_SS_H_ - -// ************************************************************ -// class be_visitor_args_compiled_marshal_ss -// ************************************************************ -class be_visitor_args_compiled_marshal_ss : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_compiled_marshal_ss - // - // = DESCRIPTION - // Code to be generated when making the do_static_call - // -public: - be_visitor_args_compiled_marshal_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_compiled_marshal_ss (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_ARGUMENT_COMPILED_MARSHAL_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/docall_cs.h b/TAO/TAO_IDL/be_include/be_visitor_argument/docall_cs.h deleted file mode 100644 index 03054f5ee01..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/docall_cs.h +++ /dev/null @@ -1,81 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// docall_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments for passing the arguments -// to the docall in the client side stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_DOCALL_CS_H_ -#define _BE_VISITOR_ARGUMENT_DOCALL_CS_H_ - -// ************************************************************ -// class be_visitor_args_docall_cs -// ************************************************************ -class be_visitor_args_docall_cs : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_docall_cs - // - // = DESCRIPTION - // Code to be generated when making the do_static_call - // -public: - be_visitor_args_docall_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_docall_cs (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_ARGUMENT_DOCALL_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/marshal_ss.h b/TAO/TAO_IDL/be_include/be_visitor_argument/marshal_ss.h deleted file mode 100644 index e116238f598..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/marshal_ss.h +++ /dev/null @@ -1,81 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// marshal_ss.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments. This generates the -// code to pass the arguments to the call to the marshaler/demarshaler -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_MARSHAL_SS_H_ -#define _BE_VISITOR_ARGUMENT_MARSHAL_SS_H_ - -// ************************************************************ -// class be_visitor_args_marshal_ss -// ************************************************************ -class be_visitor_args_marshal_ss : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_marshal_ss - // - // = DESCRIPTION - // Visitor for passing argument to the marshaling/demarshaling routine - // -public: - be_visitor_args_marshal_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_marshal_ss (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_ARGUMENT_MARSHAL_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/post_docall_compiled_cs.h b/TAO/TAO_IDL/be_include/be_visitor_argument/post_docall_compiled_cs.h deleted file mode 100644 index 53ae360551c..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/post_docall_compiled_cs.h +++ /dev/null @@ -1,70 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// post_docall_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments for docall post processing -// in the client side stub when compiled marshaling (default) is enabled. -// -// = AUTHOR -// Jeff Parsons -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_POST_DOCALL_COMPILED_CS_H_ -#define _BE_VISITOR_ARGUMENT_POST_DOCALL_COMPILED_CS_H_ - -// ************************************************************ -// class be_visitor_args_post_docall_compiled_cs -// ************************************************************ -class be_visitor_args_post_docall_compiled_cs : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_post_docall_compiled_cs - // - // = DESCRIPTION - // Code to be generated after the do_static_call is done - // -public: - be_visitor_args_post_docall_compiled_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_post_docall_compiled_cs (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - - virtual int visit_string (be_string *node); - // visit string -}; - -#endif /* _BE_VISITOR_ARGUMENT_POST_DOCALL_COMPILED_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/post_docall_cs.h b/TAO/TAO_IDL/be_include/be_visitor_argument/post_docall_cs.h deleted file mode 100644 index 4d5e5876eea..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/post_docall_cs.h +++ /dev/null @@ -1,62 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// post_docall_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments for docall post processing -// in the client side stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_POST_DOCALL_CS_H_ -#define _BE_VISITOR_ARGUMENT_POST_DOCALL_CS_H_ - -// ************************************************************ -// class be_visitor_args_post_docall_cs -// ************************************************************ -class be_visitor_args_post_docall_cs : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_post_docall_cs - // - // = DESCRIPTION - // Code to be generated after the do_static_call is done - // -public: - be_visitor_args_post_docall_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_post_docall_cs (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_string (be_string *node); - // visit the string type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type -}; - -#endif /* _BE_VISITOR_ARGUMENT_POST_DOCALL_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/post_marshal_ss.h b/TAO/TAO_IDL/be_include/be_visitor_argument/post_marshal_ss.h deleted file mode 100644 index 3b9aa9c8b63..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/post_marshal_ss.h +++ /dev/null @@ -1,81 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// post_marshal_ss.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments. This generates the -// code that does post-marshal processing (cleaning up) for arguments -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_POST_MARSHAL_SS_H_ -#define _BE_VISITOR_ARGUMENT_POST_MARSHAL_SS_H_ - -// ************************************************************ -// class be_visitor_args_post_marshal_ss -// ************************************************************ -class be_visitor_args_post_marshal_ss : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_post_marshal_ss - // - // = DESCRIPTION - // Visitor for post processing after marshal - // -public: - be_visitor_args_post_marshal_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_post_marshal_ss (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_ARGUMENT_POST_MARSHAL_SS_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/post_upcall_ss.h b/TAO/TAO_IDL/be_include/be_visitor_argument/post_upcall_ss.h deleted file mode 100644 index 63ac801198b..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/post_upcall_ss.h +++ /dev/null @@ -1,114 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// post_upcall_ss.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments. This generates the -// code for post upcall processing of the arguments -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - - -#ifndef _BE_VISITOR_ARGUMENT_POST_UPCALL_SS_H_ -#define _BE_VISITOR_ARGUMENT_POST_UPCALL_SS_H_ - -// ************************************************************ -// class be_visitor_args_post_upcall_ss -// ************************************************************ -class be_visitor_args_post_upcall_ss : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_post_upcall_ss - // - // = DESCRIPTION - // Visitor for post processing after upcall - // -public: - be_visitor_args_post_upcall_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_post_upcall_ss (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -// **************************************************************** - -// ************************************************************ -// class be_visitor_compiled_args_post_upcall -// ************************************************************ - -class be_visitor_compiled_args_post_upcall : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_compiled_args_post_upcall - // - // = DESCRIPTION - // Visitor for post processing after upcall - // -public: - be_visitor_compiled_args_post_upcall (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_compiled_args_post_upcall (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_operation (be_operation *node); - virtual int visit_array (be_array *node); - virtual int visit_typedef (be_typedef *node); -}; - -#endif /* _BE_VISITOR_ARGUMENT_POST_UPCALL_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/pre_docall_cs.h b/TAO/TAO_IDL/be_include/be_visitor_argument/pre_docall_cs.h deleted file mode 100644 index fb5acb67951..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/pre_docall_cs.h +++ /dev/null @@ -1,81 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// pre_docall_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments for pre docall processing -// in client side stub that uses interpretive marshaling. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_PRE_DOCALL_CS_H_ -#define _BE_VISITOR_ARGUMENT_PRE_DOCALL_CS_H_ - -// ************************************************************ -// class be_visitor_args_pre_docall_cs -// ************************************************************ -class be_visitor_args_pre_docall_cs : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_docall_cs - // - // = DESCRIPTION - // Code to be generated when making the do_static_call - // -public: - be_visitor_args_pre_docall_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_pre_docall_cs (void); - // destructor - - virtual int void_return_type (void); - // return true if the operation return type is void - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_ARGUMENT_PRE_DOCALL_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/pre_invoke_cs.h b/TAO/TAO_IDL/be_include/be_visitor_argument/pre_invoke_cs.h deleted file mode 100644 index 9edb4b60288..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/pre_invoke_cs.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// pre_invoke_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments for pre invoke processing -// in client side stub that uses compiled marshaling. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_PRE_INVOKE_CS_H_ -#define _BE_VISITOR_ARGUMENT_PRE_INVOKE_CS_H_ - -// ************************************************************ -// class be_visitor_args_pre_invoke_cs -// ************************************************************ -class be_visitor_args_pre_invoke_cs : public be_visitor_args_pre_docall_cs -{ - // - // = TITLE - // be_visitor_args_docall_cs - // - // = DESCRIPTION - // Code to be generated when making the do_static_call - // -public: - be_visitor_args_pre_invoke_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_pre_invoke_cs (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -}; - -#endif /* _BE_VISITOR_ARGUMENT_PRE_INVOKE_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/pre_upcall_ss.h b/TAO/TAO_IDL/be_include/be_visitor_argument/pre_upcall_ss.h deleted file mode 100644 index bb2b3430e79..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/pre_upcall_ss.h +++ /dev/null @@ -1,81 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// pre_upcall_ss.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments. This generates the -// pre upcall processing of arguments in the server-side skeleton. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_PRE_UPCALL_SS_H_ -#define _BE_VISITOR_ARGUMENT_PRE_UPCALL_SS_H_ - -// ************************************************************ -// class be_visitor_args_pre_upcall_ss -// ************************************************************ -class be_visitor_args_pre_upcall_ss : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_upcall_ss - // - // = DESCRIPTION - // Visitor for passing argument to the upcall - // -public: - be_visitor_args_pre_upcall_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_pre_upcall_ss (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_ARGUMENT_PRE_UPCALL_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/upcall_ss.h b/TAO/TAO_IDL/be_include/be_visitor_argument/upcall_ss.h deleted file mode 100644 index fc578fe2662..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/upcall_ss.h +++ /dev/null @@ -1,89 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// upcall_ss.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments. This generates the -// passing of arguments to the upcall. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_UPCALL_SS_H_ -#define _BE_VISITOR_ARGUMENT_UPCALL_SS_H_ - -// ************************************************************ -// class be_visitor_args_upcall_ss -// ************************************************************ -class be_visitor_args_upcall_ss : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_upcall_ss - // - // = DESCRIPTION - // Visitor for passing argument to the upcall - // -public: - be_visitor_args_upcall_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_upcall_ss (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_ARGUMENT_UPCALL_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_argument/vardecl_ss.h b/TAO/TAO_IDL/be_include/be_visitor_argument/vardecl_ss.h deleted file mode 100644 index a4209caeb9e..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_argument/vardecl_ss.h +++ /dev/null @@ -1,125 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// vardecl_ss.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments. This generates the -// variable declartion for the argument in the server-sde skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGUMENT_VARDECL_SS_H_ -#define _BE_VISITOR_ARGUMENT_VARDECL_SS_H_ - -// ************************************************************ -// class be_visitor_args_vardecl_ss -// ************************************************************ -class be_visitor_args_vardecl_ss : public be_visitor_args -{ - // - // = TITLE - // be_visitor_args_vardecl_ss - // - // = DESCRIPTION - // Visitor for variable declaration for argument - // -public: - be_visitor_args_vardecl_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_args_vardecl_ss (void); - // destructor - - virtual int visit_argument (be_argument *node); - // visit the argument node - - // =visit all the nodes that can be the types for the argument - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -// ************************************************************ -// class be_compiled_visitor_args_vardecl_ss -// ************************************************************ -class be_compiled_visitor_args_vardecl_ss : public be_visitor_args_vardecl_ss -{ - // - // = TITLE - // be_compiled_visitor_args_vardecl_ss - // - // = DESCRIPTION - // Visitor for variable declaration for argument for compiled marshaling - // skeletons - // -public: - be_compiled_visitor_args_vardecl_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_compiled_visitor_args_vardecl_ss (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - -}; - -#endif /* _BE_VISITOR_ARGUMENT_VARDECL_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_array.h b/TAO/TAO_IDL/be_include/be_visitor_array.h deleted file mode 100644 index 8b001cb6f01..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_array.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_array.h -// -// = DESCRIPTION -// Visitors for generation of code for Arrays -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_ARRAY_H -#define TAO_BE_VISITOR_ARRAY_H - -#include "be_visitor_decl.h" -// generic visitor -#include "be_visitor_array/array.h" -// concrete visitors -#include "be_visitor_array/array_ch.h" -#include "be_visitor_array/array_ci.h" -#include "be_visitor_array/array_cs.h" -#include "be_visitor_array/any_op_ch.h" -#include "be_visitor_array/any_op_cs.h" -#include "be_visitor_array/cdr_op_ch.h" -#include "be_visitor_array/cdr_op_ci.h" - -#endif /* TAO_BE_VISITOR_ARRAY_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_array/any_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_array/any_op_ch.h deleted file mode 100644 index 8030e83f6cc..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_array/any_op_ch.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.h -// -// = DESCRIPTION -// Visitors for generation of code for Arrays in client header. This one -// generates the Any operators. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARRAY_ANY_OP_CH_H_ -#define _BE_VISITOR_ARRAY_ANY_OP_CH_H_ - -// ************************************************************ -// class be_visitor_array_any_op_ch -// ************************************************************ - -class be_visitor_array_any_op_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_array_any_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for array that generates the Any operator - // declarations - // - -public: - be_visitor_array_any_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_array_any_op_ch (void); - // destructor - - virtual int visit_array (be_array *node); - // visit array - -}; - -#endif /* _BE_VISITOR_ARRAY_ANY_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_array/any_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_array/any_op_cs.h deleted file mode 100644 index 58b310587e2..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_array/any_op_cs.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arrays in client stubs. This one -// generates the Any operators. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARRAY_ANY_OP_CS_H_ -#define _BE_VISITOR_ARRAY_ANY_OP_CS_H_ - -// ************************************************************ -// class be_visitor_array_cs -// ************************************************************ - -class be_visitor_array_any_op_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_array_any_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for array that generates the Any operator - // implementations - // - -public: - be_visitor_array_any_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_array_any_op_cs (void); - // destructor - - virtual int visit_array (be_array *node); - // visit array - -}; - -#endif /* _BE_VISITOR_ARRAY_ANY_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_array/array.h b/TAO/TAO_IDL/be_include/be_visitor_array/array.h deleted file mode 100644 index 5fa6a4aab4c..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_array/array.h +++ /dev/null @@ -1,84 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// array.h -// -// = DESCRIPTION -// Visitors for generation of code for Arrays. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARRAY_ARRAY_H_ -#define _BE_VISITOR_ARRAY_ARRAY_H_ - -// ************************************************************ -// class be_visitor_array -// ************************************************************ - -class be_visitor_array : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_array - // - // = DESCRIPTION - // This is a generic visitor for arrays - // - // -public: - be_visitor_array (be_visitor_context *ctx); - // Constructor - - ~be_visitor_array (void); - // destructor - - virtual int visit_array (be_array *); - // visit the array node - - // = Visitor methods on array types - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_interface (be_interface *node); - // visit an interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit an interface forward node - - virtual int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - virtual int visit_sequence (be_sequence *node); - // visit sequence - - virtual int visit_string (be_string *node); - // visit string - - virtual int visit_structure (be_structure *node); - // visit structure - - virtual int visit_typedef (be_typedef *node); - // visit typedef - - virtual int visit_union (be_union *node); - // visit union - -protected: - - int visit_node (be_type *); - // helper that does the common job - -}; - -#endif /* _BE_VISITOR_ARRAY_ARRAY_H_*/ diff --git a/TAO/TAO_IDL/be_include/be_visitor_array/array_ch.h b/TAO/TAO_IDL/be_include/be_visitor_array/array_ch.h deleted file mode 100644 index 7eb4e4f578d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_array/array_ch.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// array_ch.h -// -// = DESCRIPTION -// Visitors for generation of code for Arrays in client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARRAY_CH_H_ -#define _BE_VISITOR_ARRAY_CH_H_ - -// ************************************************************ -// class be_visitor_array_ch -// ************************************************************ - -class be_visitor_array_ch : public be_visitor_array -{ - // - // = TITLE - // be_visitor_array_ch - // - // = DESCRIPTION - // Code to be generated for arrays in the client header file - // -public: - be_visitor_array_ch (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_array_ch (void); - // destructor - - virtual int visit_array (be_array *node); - // visit the array node - - virtual int gen_var_defn (be_array *node); - // generate the var class definition - - virtual int gen_out_defn (be_array *node); - // generate the out class definition - - virtual int gen_forany_defn (be_array *node); - // generate the forany class definition -}; - -#endif /* _BE_VISITOR_ARRAY_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_array/array_ci.h b/TAO/TAO_IDL/be_include/be_visitor_array/array_ci.h deleted file mode 100644 index 25601e95c74..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_array/array_ci.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// array_ci.h -// -// = DESCRIPTION -// Visitors for generation of code for Arrays in client inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARRAY_CI_H_ -#define _BE_VISITOR_ARRAY_CI_H_ - -// ************************************************************ -// class be_visitor_array_ci -// ************************************************************ - -class be_visitor_array_ci : public be_visitor_array -{ - // - // = TITLE - // be_visitor_array_ci - // - // = DESCRIPTION - // Code to be generated for arrays in the client inline file - // -public: - be_visitor_array_ci (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_array_ci (void); - // destructor - - virtual int visit_array (be_array *node); - // visit the array node - - virtual int gen_var_impl (be_array *node); - // generate the var class definition - - virtual int gen_out_impl (be_array *node); - // generate the out class definition - - virtual int gen_forany_impl (be_array *node); - // generate the forany class definition -}; - -#endif /* _BE_VISITOR_ARRAY_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_array/array_cs.h b/TAO/TAO_IDL/be_include/be_visitor_array/array_cs.h deleted file mode 100644 index 98c3e8f6c2c..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_array/array_cs.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// array_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Arrays in client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARRAY_CS_H_ -#define _BE_VISITOR_ARRAY_CS_H_ - -// ************************************************************ -// class be_visitor_array_cs -// ************************************************************ - -class be_visitor_array_cs : public be_visitor_array -{ - // - // = TITLE - // be_visitor_array_cs - // - // = DESCRIPTION - // Code to be generated for arrays in the client stub file - // -public: - be_visitor_array_cs (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_array_cs (void); - // destructor - - virtual int visit_array (be_array *node); - // visit the array node - -}; - -#endif /* _BE_VISITOR_ARRAY_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_array/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_array/cdr_op_ch.h deleted file mode 100644 index a45af118541..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_array/cdr_op_ch.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Visitors for generation of code for Arrays in client header. This one -// generates the CDR operators. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARRAY_CDR_OP_CH_H_ -#define _BE_VISITOR_ARRAY_CDR_OP_CH_H_ - -// ************************************************************ -// class be_visitor_array_cdr_op_ch -// ************************************************************ - -class be_visitor_array_cdr_op_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_array_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for array that generates the CDR operator - // declarations - // - -public: - be_visitor_array_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_array_cdr_op_ch (void); - // destructor - - virtual int visit_array (be_array *node); - // visit array - -}; - -#endif /* _BE_VISITOR_ARRAY_CDR_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_array/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_array/cdr_op_ci.h deleted file mode 100644 index 266e2696623..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_array/cdr_op_ci.h +++ /dev/null @@ -1,86 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.h -// -// = DESCRIPTION -// Visitors for generation of code for Arrays in client stubs. This one -// generates the CDR operators. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARRAY_CDR_OP_CI_H_ -#define _BE_VISITOR_ARRAY_CDR_OP_CI_H_ - -// ************************************************************ -// class be_visitor_array_cs -// ************************************************************ - -class be_visitor_array_cdr_op_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_array_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for array that generates the CDR operator - // implementations - // - -public: - be_visitor_array_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_array_cdr_op_ci (void); - // destructor - - virtual int visit_array (be_array *node); - // visit array - - // = Visitor methods on array types - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_interface (be_interface *node); - // visit an interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit an interface forward node - - virtual int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - virtual int visit_sequence (be_sequence *node); - // visit sequence - - virtual int visit_string (be_string *node); - // visit string - - virtual int visit_structure (be_structure *node); - // visit structure - - virtual int visit_typedef (be_typedef *node); - // visit typedef - - virtual int visit_union (be_union *node); - // visit union - -protected: - - int visit_node (be_type *); - // helper that does the common job - -}; - -#endif /* _BE_VISITOR_ARRAY_CDR_OP_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_attribute.h b/TAO/TAO_IDL/be_include/be_visitor_attribute.h deleted file mode 100644 index 9c5aa46988e..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_attribute.h +++ /dev/null @@ -1,29 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_attribute.h -// -// = DESCRIPTION -// Concrete visitor for the Attribute class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_ATTRIBUTE_H -#define TAO_BE_VISITOR_ATTRIBUTE_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" -#include "be_visitor_attribute/attribute.h" - -#endif diff --git a/TAO/TAO_IDL/be_include/be_visitor_attribute/attribute.h b/TAO/TAO_IDL/be_include/be_visitor_attribute/attribute.h deleted file mode 100644 index 1c2493722c0..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_attribute/attribute.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// attribute.h -// -// = DESCRIPTION -// Visitor for the Attribute class. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ATTRIBUTE_ATTRIBUTE_H -#define _BE_VISITOR_ATTRIBUTE_ATTRIBUTE_H - -// ************************************************************ -// Attribute visitor -// ************************************************************ - -class be_visitor_attribute : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_attribute - // - // = DESCRIPTION - // This is a concrete visitor to generate code for attributes. We have one - // class for mapping into the client and server. - // - // -public: - be_visitor_attribute (be_visitor_context *ctx); - // constructor - - ~be_visitor_attribute (void); - // destructor - - virtual int visit_attribute (be_attribute *node); - // visit attribute. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_ATTRIBUTE_ATTRIBUTE_H*/ diff --git a/TAO/TAO_IDL/be_include/be_visitor_constant.h b/TAO/TAO_IDL/be_include/be_visitor_constant.h deleted file mode 100644 index acc6f65d31f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_constant.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_constant.h -// -// = DESCRIPTION -// Concrete visitor for the constant class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_CONSTANT_H -#define TAO_BE_VISITOR_CONSTANT_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" -#include "be_visitor_constant/constant_ch.h" -#include "be_visitor_constant/constant_cs.h" - -#endif // TAO_BE_VISITOR_CONSTANT_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_constant/constant_ch.h b/TAO/TAO_IDL/be_include/be_visitor_constant/constant_ch.h deleted file mode 100644 index c0e53447176..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_constant/constant_ch.h +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// constant_ch.h -// -// = DESCRIPTION -// Concrete visitor for the constant class generating code in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_CONSTANT_CONSTANT_CH_H_ -#define _BE_VISITOR_CONSTANT_CONSTANT_CH_H_ - -class be_visitor_constant_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_constant_ch - // - // = DESCRIPTION - // This is the visitor for constant for the header file - // - // -public: - be_visitor_constant_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_constant_ch (void); - // destructor - - virtual int visit_constant (be_constant *node); - // visit constant. - -}; - -#endif /* _BE_VISITOR_CONSTANT_CONSTANT_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_constant/constant_cs.h b/TAO/TAO_IDL/be_include/be_visitor_constant/constant_cs.h deleted file mode 100644 index db2fccf96ca..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_constant/constant_cs.h +++ /dev/null @@ -1,54 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// constant_cs.h -// -// = DESCRIPTION -// Concrete visitor for the constant class generating code in the client stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_CONSTANT_CONSTANT_CS_H_ -#define _BE_VISITOR_CONSTANT_CONSTANT_CS_H_ - -class be_visitor_constant_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_constant_cs - // - // = DESCRIPTION - // This is the visitor for constant for the impl file - // - // -public: - be_visitor_constant_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_constant_cs (void); - // destructor - - virtual int visit_constant (be_constant *node); - // visit constant - - // = special methods - - virtual int gen_nested_namespace_begin (be_module *node); - // generate the nested namespace begins - - virtual int gen_nested_namespace_end (be_module *node); - // generate the nested namespace ends -}; - -#endif /* _BE_VISITOR_CONSTANT_CONSTANT_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_context.h b/TAO/TAO_IDL/be_include/be_visitor_context.h deleted file mode 100644 index 0487711615a..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_context.h +++ /dev/null @@ -1,249 +0,0 @@ -// -// $Id$ -// - -/* -*- C++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_context.h -// -// = DESCRIPTION -// This class serves to provide all the necessary context information to the -// visitor as it generates code. This may include the scope inside which the -// code is generated, the output file that is being used, and others. This -// context information will be passed to the abstract/concrete visitor -// factory which in turn will use it to construct the right visitor. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_CONTEXT_H -#define TAO_BE_VISITOR_CONTEXT_H - -class be_visitor_context -{ -public: - be_visitor_context (void); - // default constructor - - be_visitor_context (const be_visitor_context &ctx); - // default constructor - - ~be_visitor_context (void); - // destructor - - be_visitor_context &operator= (const be_visitor_context &ctx); - // assignment operator - - // =helpers - - void reset (void); - // reset the context - - void stream (TAO_OutStream *os); - // set the output stream - - TAO_OutStream *stream (void); - // get the stream - - void scope (be_decl *scope); - // set the scope - - be_decl *scope (void); - // get the scope in which code will be generated - - void node (be_decl *node); - // current node being visited - - be_decl *node (void); - // node being visited - - void state (TAO_CodeGen::CG_STATE); - // code generation state - - TAO_CodeGen::CG_STATE state (void); - // return the code generation state - - void sub_state (TAO_CodeGen::CG_SUB_STATE); - // code generation state - - TAO_CodeGen::CG_SUB_STATE sub_state (void); - // return the code generation state - - void alias (be_typedef *node); - // set the alias node (if any) - - be_typedef *alias (void); - // return the aliased node (if any) - - void tdef (be_typedef *node); - // set the typedef node (if any) - - be_typedef *tdef (void); - // return the typedef node (if any) - - void attribute (be_attribute *attr); - // set the attribute node if any - - be_attribute *attribute (void); - // get the attribute node - - void exception (idl_bool); - // is it the special ctor for exceptions? - - idl_bool exception (void); - // is it the special ctor for exceptions? - - void comma (idl_bool); - // scope supoorts generation of comma after each element - - idl_bool comma (void); - // are we supposed to generate a comma? - - be_interface* interface (void) const; - void interface (be_interface*); - // In some cases we need to generate the objects of one interface as - // members of a derived visitor (the TIE classes are a good - // example). This field is use to hold the interface where we are - // *generating* code, as opposed to the interfaces where the methods - // or structures are defined. - - // = helpers - - // visitors may need the actual type of the node stored in this context. We - // could have kept separate nodes but that would have increased the size of - // the context class by a large extent. So we will rely on the - // "narrow_from_decl" approach - - // two types of helpers are provided here. One of them returns the node as - // the desired actual type. The other returns the scope as the desired type. - - be_argument *be_node_as_argument (void); - // return the node as argument if possible - - be_array *be_node_as_array (void); - // return the node as array if possible - - be_attribute *be_node_as_attribute (void); - // return the node as attribute if possible - - be_constant *be_node_as_constant (void); - // return the node as constant if possible - - be_enum *be_node_as_enum (void); - // return the node as enum if possible - - be_enum_val *be_node_as_enum_val (void); - // return the node as enum_val if possible - - be_exception *be_node_as_exception (void); - // return the node as exception if possible - - be_field *be_node_as_field (void); - // return the node as field if possible - - be_interface *be_node_as_interface (void); - // return the node as interface if possible - - be_interface_fwd *be_node_as_interface_fwd (void); - // return the node as interface_fwd if possible - - be_module *be_node_as_module (void); - // return the node as module if possible - - be_operation *be_node_as_operation (void); - // return the node as operation if possible - - be_predefined_type *be_node_as_predefined_type (void); - // return the node as predefined_type if possible - - be_root *be_node_as_root (void); - // return the node as root if possible - - be_sequence *be_node_as_sequence (void); - // return the node as sequence if possible - - be_string *be_node_as_string (void); - // return the node as string if possible - - be_structure *be_node_as_structure (void); - // return the node as structure if possible - - be_typedef *be_node_as_typedef (void); - // return the node as typedef if possible - - be_union *be_node_as_union (void); - // return the node as union if possible - - be_union_branch *be_node_as_union_branch (void); - // return the node as union_branch if possible - - // for scope - - be_enum *be_scope_as_enum (void); - // return the scope as enum if possible - - be_exception *be_scope_as_exception (void); - // return the scope as exception if possible - - be_interface *be_scope_as_interface (void); - // return the scope as interface if possible - - be_module *be_scope_as_module (void); - // return the scope as module if possible - - be_operation *be_scope_as_operation (void); - // return the scope as operation if possible - - be_root *be_scope_as_root (void); - // return the scope as root if possible - - be_structure *be_scope_as_structure (void); - // return the scope as structure if possible - - be_union *be_scope_as_union (void); - // return the scope as union if possible - -private: - TAO_CodeGen::CG_STATE state_; - // code generation state - - TAO_CodeGen::CG_SUB_STATE sub_state_; - // code generation state - - TAO_OutStream *os_; - // current output stream - - be_decl *scope_; - // current scope in which code is generated - - be_decl *node_; - // current node - - be_typedef *alias_; - // aliased node used as a scoped name to define IDL types. - - be_typedef *tdef_; - // typedef node - - be_attribute *attr_; - // attribute node stored here while generating its code - - idl_bool exception_; - // is it the special ctor for exceptions? - - idl_bool comma_; - // whether scope should generate a comma after every element - - be_interface* interface_; - // See the method declaration above. -}; - - -#endif /* BE_VISITOR_CONTEXT_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_decl.h b/TAO/TAO_IDL/be_include/be_visitor_decl.h deleted file mode 100644 index e217dbacd01..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_decl.h +++ /dev/null @@ -1,58 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_decl.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Decl" node -// -// = AUTHOR -// Aniruddha Gokhale and Carlos O'Ryan -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_DECL_H -#define TAO_BE_VISITOR_DECL_H - -#include "be_visitor.h" -#include "be_codegen.h" - -class be_visitor_decl : public be_visitor -{ - // - // = TITLE - // be_visitor_decl - // - // = DESCRIPTION - // This is a concrete visitor for the be_decl node. Its only purpose is to - // maintain state information for the derived visitor - // -public: - be_visitor_decl (be_visitor_context *ctx); - // constructor - - ~be_visitor_decl (void); - // destructor - -protected: - // using a protected mechanism will allow derived visitors to access this - // information - - be_visitor_context *ctx_; - // any context information required by the visitor - - int gen_anonymous_base_type (be_type *bt, - TAO_CodeGen::CG_STATE cg_state); - // Factors out common code used when one anonymous type is - // contained by another. -}; - - -#endif // TAO_BE_VISITOR_DECL_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_enum.h b/TAO/TAO_IDL/be_include/be_visitor_enum.h deleted file mode 100644 index d8deaff8f47..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_enum.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_enum.h -// -// = DESCRIPTION -// Concrete visitor for the enum class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_ENUM_H -#define TAO_BE_VISITOR_ENUM_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" -#include "be_visitor_enum/enum_ch.h" -#include "be_visitor_enum/enum_cs.h" -#include "be_visitor_enum/any_op_ch.h" -#include "be_visitor_enum/any_op_cs.h" -#include "be_visitor_enum/cdr_op_ch.h" -#include "be_visitor_enum/cdr_op_ci.h" - -#endif /* TAO_BE_VISITOR_ENUM_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_enum/any_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_enum/any_op_ch.h deleted file mode 100644 index f9d25ecf81c..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_enum/any_op_ch.h +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for Enums generating code for the Any operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ENUM_ANY_OP_CH_H_ -#define _BE_VISITOR_ENUM_ANY_OP_CH_H_ - -class be_visitor_enum_any_op_ch : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_enum_any_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for enum that generates the Any operator - // declarations - // - -public: - be_visitor_enum_any_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_enum_any_op_ch (void); - // destructor - - virtual int visit_enum (be_enum *node); - // visit enum -}; - -#endif /* _BE_VISITOR_ENUM_ANY_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_enum/any_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_enum/any_op_cs.h deleted file mode 100644 index f3db76c2be4..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_enum/any_op_cs.h +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.h -// -// = DESCRIPTION -// Concrete visitor for Enums generating code for the Any operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ENUM_ANY_OP_CS_H_ -#define _BE_VISITOR_ENUM_ANY_OP_CS_H_ - -class be_visitor_enum_any_op_cs : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_enum_any_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for enum that generates the Any operator - // implementations - // - -public: - be_visitor_enum_any_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_enum_any_op_cs (void); - // destructor - - virtual int visit_enum (be_enum *node); - // visit enum -}; - -#endif /* _BE_VISITOR_ENUM_ANY_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_ch.h deleted file mode 100644 index c8ba0e49f81..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_ch.h +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for Enums generating code for the CDR operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ENUM_CDR_OP_CH_H_ -#define _BE_VISITOR_ENUM_CDR_OP_CH_H_ - -class be_visitor_enum_cdr_op_ch : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_enum_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for enum that generates the CDR operator - // declarations - // - -public: - be_visitor_enum_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_enum_cdr_op_ch (void); - // destructor - - virtual int visit_enum (be_enum *node); - // visit enum -}; - -#endif /* _BE_VISITOR_ENUM_CDR_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_ci.h deleted file mode 100644 index 59ea94f3486..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_ci.h +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.h -// -// = DESCRIPTION -// Concrete visitor for Enums generating code for the CDR operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ENUM_CDR_OP_CI_H_ -#define _BE_VISITOR_ENUM_CDR_OP_CI_H_ - -class be_visitor_enum_cdr_op_ci : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_enum_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for enum that generates the CDR operator - // implementations - // - -public: - be_visitor_enum_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_enum_cdr_op_ci (void); - // destructor - - virtual int visit_enum (be_enum *node); - // visit enum -}; - -#endif /* _BE_VISITOR_ENUM_CDR_OP_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_enum/enum_ch.h b/TAO/TAO_IDL/be_include/be_visitor_enum/enum_ch.h deleted file mode 100644 index 8a3f922dce4..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_enum/enum_ch.h +++ /dev/null @@ -1,56 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// enum_ch.h -// -// = DESCRIPTION -// Concrete visitor for Enums generating code in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ENUM_ENUM_CH_H_ -#define _BE_VISITOR_ENUM_ENUM_CH_H_ - -class be_visitor_enum_ch : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_enum_ch - // - // = DESCRIPTION - // This is the base visitor for enum for the header file - // - // -public: - be_visitor_enum_ch (be_visitor_context *ctx); - // conenumor - - ~be_visitor_enum_ch (void); - // deenumor - - virtual int visit_enum (be_enum *node); - // visit enum. - - // =visit operations on syntactically valid elements in our scope - - virtual int visit_enum_val (be_enum_val *node); - // visit enum_val - - // = helper - - virtual int post_process (be_decl *); - // generate a comma after each element is processed -}; - -#endif /* _BE_VISITOR_ENUM_ENUM_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h b/TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h deleted file mode 100644 index a40455f2190..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// enum_cs.h -// -// = DESCRIPTION -// Concrete visitor for Enums generating code in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ENUM_ENUM_CS_H_ -#define _BE_VISITOR_ENUM_ENUM_CS_H_ - -class be_visitor_enum_cs : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_enum_cs - // - // = DESCRIPTION - // This is the visitor for enum for the impl file - // - // -public: - be_visitor_enum_cs (be_visitor_context *ctx); - // conenumor - - ~be_visitor_enum_cs (void); - // deenumor - - virtual int visit_enum (be_enum *node); - // visit enum and generate the typecode - -}; - -#endif /* _BE_VISITOR_ENUM_ENUM_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception.h b/TAO/TAO_IDL/be_include/be_visitor_exception.h deleted file mode 100644 index 64c85361e1a..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_exception.h -// -// = DESCRIPTION -// Concrete visitor for the Exception class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_EXCEPTION_H -#define TAO_BE_VISITOR_EXCEPTION_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" -#include "be_visitor_exception/exception.h" -#include "be_visitor_exception/exception_ch.h" -#include "be_visitor_exception/exception_ci.h" -#include "be_visitor_exception/exception_cs.h" -#include "be_visitor_exception/ctor.h" -#include "be_visitor_exception/ctor_assign.h" -#include "be_visitor_exception/any_op_ch.h" -#include "be_visitor_exception/any_op_cs.h" -#include "be_visitor_exception/cdr_op_ch.h" -#include "be_visitor_exception/cdr_op_ci.h" -#include "be_visitor_exception/cdr_op_cs.h" - -#endif /* TAO_BE_VISITOR_EXCEPTION_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/any_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_exception/any_op_ch.h deleted file mode 100644 index ee3ff396dc1..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/any_op_ch.h +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.h -// -// = DESCRIPTION -// Visitor for Exceptions. -// For code generation of Any operator in client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_ANY_OP_CH_H_ -#define _BE_VISITOR_EXCEPTION_ANY_OP_CH_H_ - -class be_visitor_exception_any_op_ch : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_exception_any_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for exception that generates the Any operator - // declarations - // - -public: - be_visitor_exception_any_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_exception_any_op_ch (void); - // destructor - - virtual int visit_exception (be_exception *node); - // visit exception - - virtual int visit_field (be_field *node); - // visit field -}; - -#endif /* _BE_VISITOR_EXCEPTION_ANY_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/any_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_exception/any_op_cs.h deleted file mode 100644 index 45a82cb7e23..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/any_op_cs.h +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.h -// -// = DESCRIPTION -// Visitor for Exceptions. -// For code generation of Any operator in client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_ANY_OP_CS_H_ -#define _BE_VISITOR_EXCEPTION_ANY_OP_CS_H_ - -class be_visitor_exception_any_op_cs : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_exception_any_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for exception that generates the Any operator - // implementations - // - -public: - be_visitor_exception_any_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_exception_any_op_cs (void); - // destructor - - virtual int visit_exception (be_exception *node); - // visit exception - - virtual int visit_field (be_field *node); - // visit field -}; - -#endif /* _BE_VISITOR_EXCEPTION_ANY_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_ch.h deleted file mode 100644 index dd5df6266e2..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_ch.h +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Exception class -// This one provides code generation for the CDR operators for the exception -// in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_CDR_OP_CH_H_ -#define _BE_VISITOR_EXCEPTION_CDR_OP_CH_H_ - -class be_visitor_exception_cdr_op_ch : public be_visitor_exception -{ - // - // = TITLE - // be_visitor_exception_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for exception that generates the CDR operator - // declarations - // - -public: - be_visitor_exception_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_exception_cdr_op_ch (void); - // destructor - - virtual int visit_exception (be_exception *node); - // visit exception - -}; - -#endif /* _BE_VISITOR_EXCEPTION_CDR_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_ci.h deleted file mode 100644 index 27b716925ed..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_ci.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Exception class -// This one provides code generation for the CDR operators for the exception -// in the client stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_CDR_OP_CI_H_ -#define _BE_VISITOR_EXCEPTION_CDR_OP_CI_H_ - -class be_visitor_exception_cdr_op_ci : public be_visitor_exception -{ - // - // = TITLE - // be_visitor_exception_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for exception that generates the CDR operator - // implementations - // - -public: - be_visitor_exception_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_exception_cdr_op_ci (void); - // destructor - - virtual int visit_exception (be_exception *node); - // visit exception - - virtual int post_process (be_decl *); - // any post processing that needs to be done after a scope element is handled -}; - -#endif /* _BE_VISITOR_EXCEPTION_CDR_OP_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_cs.h deleted file mode 100644 index f93ca246e61..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/cdr_op_cs.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Exception class -// This one provides code generation for the CDR operators for the exception -// in the client stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_CDR_OP_CS_H_ -#define _BE_VISITOR_EXCEPTION_CDR_OP_CS_H_ - -class be_visitor_exception_cdr_op_cs : public be_visitor_exception -{ - // - // = TITLE - // be_visitor_exception_cdr_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for exception that generates the CDR operator - // implementations - // - -public: - be_visitor_exception_cdr_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_exception_cdr_op_cs (void); - // destructor - - virtual int visit_exception (be_exception *node); - // visit exception -}; - -#endif /* _BE_VISITOR_EXCEPTION_CDR_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/ctor.h b/TAO/TAO_IDL/be_include/be_visitor_exception/ctor.h deleted file mode 100644 index 80529d2a203..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/ctor.h +++ /dev/null @@ -1,83 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ctor.h -// -// = DESCRIPTION -// Visitor for Exceptions. -// For code generation for the special constructor for exceptions -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_CTOR_H_ -#define _BE_VISITOR_EXCEPTION_CTOR_H_ - -class be_visitor_exception_ctor : public be_visitor_scope -{ - // =TITLE - // be_visitor_exception_ctor - // - // =DESCRIPTION - // generation of the special constructor -public: - be_visitor_exception_ctor (be_visitor_context *ctx); - // ctor - - ~be_visitor_exception_ctor (void); - // dtor - - virtual int post_process (be_decl *); - // post processing after each element - - virtual int visit_exception (be_exception *node); - // visit exception. We provide code for this method in the derived class - - virtual int visit_field (be_field *node); - // visit the argument node - - // =visit all the nodes that can be the types for the field - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_EXCEPTION_CTOR_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/ctor_assign.h b/TAO/TAO_IDL/be_include/be_visitor_exception/ctor_assign.h deleted file mode 100644 index 52b6ab67dd7..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/ctor_assign.h +++ /dev/null @@ -1,81 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ctor_assign.h -// -// = DESCRIPTION -// Visitor for Exceptions. -// For code generation for the special constructor and assignment operator -// for exceptions. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_CTOR_ASSIGN_H_ -#define _BE_VISITOR_EXCEPTION_CTOR_ASSIGN_H_ - -class be_visitor_exception_ctor_assign : public be_visitor_scope -{ - // =TITLE - // be_visitor_exception_ctor_assign - // - // =DESCRIPTION - // generation of the assignment statements in -public: - be_visitor_exception_ctor_assign (be_visitor_context *ctx); - // ctor - - ~be_visitor_exception_ctor_assign (void); - // dtor - - virtual int visit_exception (be_exception *node); - // visit exception. - - virtual int visit_field (be_field *node); - // visit the field node - - // =visit all the nodes that can be the types for the field - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_EXCEPTION_CTOR_ASSIGN_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/exception.h b/TAO/TAO_IDL/be_include/be_visitor_exception/exception.h deleted file mode 100644 index c4be6b317dc..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/exception.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exception.h -// -// = DESCRIPTION -// Visitor for Exceptions. -// This is the generic (common) visitor for all exceptions. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_EXCEPTION_H_ -#define _BE_VISITOR_EXCEPTION_EXCEPTION_H_ - -class be_visitor_exception : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_exception - // - // = DESCRIPTION - // This is the base visitor for exception - // - // -public: - be_visitor_exception (be_visitor_context *ctx); - // ctor - - ~be_visitor_exception (void); - // dtor - - virtual int visit_exception (be_exception *node); - // visit exception. We provide code for this method in the derived class - - // =visit operations on syntactically valid elements in our scope - - virtual int visit_field (be_field *node); - // visit field -}; - -#endif /* _BE_VISITOR_EXCEPTION_EXCEPTION_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ch.h b/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ch.h deleted file mode 100644 index c664d166593..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ch.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exception_ch.h -// -// = DESCRIPTION -// Visitor for Exceptions. -// For code generation in client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_EXCEPTION_CH_H_ -#define _BE_VISITOR_EXCEPTION_EXCEPTION_CH_H_ - -class be_visitor_exception_ch : public be_visitor_exception -{ - // - // = TITLE - // be_visitor_exception_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for exception - // - // -public: - be_visitor_exception_ch (be_visitor_context *ctx); - // constructureor - - ~be_visitor_exception_ch (void); - // destructureor - - virtual int visit_exception (be_exception *node); - // visit exception. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_EXCEPTION_EXCEPTION_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ci.h b/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ci.h deleted file mode 100644 index ccd48fbb07b..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ci.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exception_ci.h -// -// = DESCRIPTION -// Visitor for Exceptions. -// For code generation in client inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_EXCEPTION_CI_H_ -#define _BE_VISITOR_EXCEPTION_EXCEPTION_CI_H_ - -class be_visitor_exception_ci : public be_visitor_exception -{ - // - // = TITLE - // be_visitor_exception_ci - // - // = DESCRIPTION - // This is a concrete visitor to generate the client inline for exception - // - // -public: - be_visitor_exception_ci (be_visitor_context *ctx); - // ctor - - ~be_visitor_exception_ci (void); - // dtor - - virtual int visit_exception (be_exception *node); - // visit exception. - -}; - -#endif /* _BE_VISITOR_EXCEPTION_EXCEPTION_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/exception_cs.h b/TAO/TAO_IDL/be_include/be_visitor_exception/exception_cs.h deleted file mode 100644 index a3d0c0e9c62..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/exception_cs.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exception_cs.h -// -// = DESCRIPTION -// Visitor for Exceptions. -// For code generation in client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_EXCEPTION_CS_H_ -#define _BE_VISITOR_EXCEPTION_EXCEPTION_CS_H_ - -class be_visitor_exception_cs : public be_visitor_exception -{ - // - // = TITLE - // be_visitor_exception_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for exception - // - // -public: - be_visitor_exception_cs (be_visitor_context *ctx); - // ctor - - ~be_visitor_exception_cs (void); - // dtor - - virtual int visit_exception (be_exception *node); - // visit exception. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_EXCEPTION_EXCEPTION_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ctor.h b/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ctor.h deleted file mode 100644 index fd0ddf8ff0c..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ctor.h +++ /dev/null @@ -1,83 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exception_ctor.h -// -// = DESCRIPTION -// Visitor for Exceptions. -// For code generation for the special constructor for exceptions -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_EXCEPTION_EXCEPTION_CTOR_H_ -#define _BE_VISITOR_EXCEPTION_EXCEPTION_CTOR_H_ - -class be_visitor_exception_ctor : public be_visitor_scope -{ - // =TITLE - // be_visitor_exception_ctor - // - // =DESCRIPTION - // generation of the special constructor -public: - be_visitor_exception_ctor (be_visitor_context *ctx); - // ctor - - ~be_visitor_exception_ctor (void); - // dtor - - virtual int post_process (be_decl *); - // post processing after each element - - virtual int visit_exception (be_exception *node); - // visit exception. We provide code for this method in the derived class - - virtual int visit_field (be_field *node); - // visit the argument node - - // =visit all the nodes that can be the types for the field - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit the enum node - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - - virtual int visit_typedef (be_typedef *node); - // visit the typedef type - -}; - -#endif /* _BE_VISITOR_EXCEPTION_EXCEPTION_CTOR_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_factory.h b/TAO/TAO_IDL/be_include/be_visitor_factory.h deleted file mode 100644 index 2061b51bb04..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_factory.h +++ /dev/null @@ -1,112 +0,0 @@ -// $Id$ - -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL Backend -// -// = FILENAME -// be_visitor_factory.h -// -// = DESCRIPTION -// Define an abstract visitor Factory and a bunch of concrete visitor -// factories (whcih are singletons). -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_FACTORY_H -#define TAO_BE_VISITOR_FACTORY_H - -class TAO_Visitor_Factory -{ - // =TITLE - // TAO_Visitor_Factory - // - // =DESCRIPTION - // An abstract visitor factory class - -public: - - TAO_Visitor_Factory (void); - // constructor - - virtual ~TAO_Visitor_Factory (void); - // destructor - - virtual be_visitor *make_visitor (be_visitor_context *) = 0; - // make a visitor -}; - -class TAO_Common_Visitor_Factory : public TAO_Visitor_Factory -{ - // =TITLE - // TAO_Common_Visitor_Factory - // - // =DESCRIPTION - // A concrete visitor factory for generating the visitors irrsepective of - // whether we use compiled or interpretive marshaling - -public: - - TAO_Common_Visitor_Factory (void); - // constructor - - virtual ~TAO_Common_Visitor_Factory (void); - // destructor - - virtual be_visitor *make_visitor (be_visitor_context *); - // make the right visitor based on the context and code generation state -}; - -class TAO_Interpretive_Visitor_Factory : public TAO_Visitor_Factory -{ - // =TITLE - // TAO_Interpretive_Visitor_Factory - // - // =DESCRIPTION - // A concrete visitor factory for generating the visitors for stubs and - // skeletons using interpretive marshaling. - -public: - - TAO_Interpretive_Visitor_Factory (void); - // constructor - - virtual ~TAO_Interpretive_Visitor_Factory (void); - // destructor - - virtual be_visitor *make_visitor (be_visitor_context *); - // make the right visitor based on the context and code generation state -}; - -class TAO_Compiled_Visitor_Factory : public TAO_Visitor_Factory -{ - // =TITLE - // TAO_Compiled_Visitor_Factory - // - // =DESCRIPTION - // A concrete visitor factory for generating the visitors for stubs and - // skeletons using compiled marshaling. - -public: - - TAO_Compiled_Visitor_Factory (void); - // constructor - - virtual ~TAO_Compiled_Visitor_Factory (void); - // destructor - - virtual be_visitor *make_visitor (be_visitor_context *); - // make the right visitor based on the context and code generation state -}; - -// Singleton instance of the BE Visitor Factory -typedef ACE_Singleton TAO_COMMON_VISITOR_FACTORY; -typedef ACE_Singleton TAO_INTERPRETIVE_VISITOR_FACTORY; -typedef ACE_Singleton TAO_COMPILED_VISITOR_FACTORY; - -#endif /* if !defined _TAO_BE_VISITOR_FACTORY_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_field.h b/TAO/TAO_IDL/be_include/be_visitor_field.h deleted file mode 100644 index 47913a1c9c4..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_field.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_field.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Field" node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_FIELD_H -#define TAO_BE_VISITOR_FIELD_H - -#include "be_visitor_decl.h" - -#include "be_visitor_field/field_ch.h" -#include "be_visitor_field/field_ci.h" -#include "be_visitor_field/field_cs.h" -#include "be_visitor_field/cdr_op_ch.h" -#include "be_visitor_field/cdr_op_ci.h" -#include "be_visitor_field/cdr_op_cs.h" - -#endif /* TAO_BE_VISITOR_FIELD_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_ch.h deleted file mode 100644 index 0e3a9555fd6..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_ch.h +++ /dev/null @@ -1,66 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Field" node -// This generates code for structure members in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_FIELD_CDR_OP_CH_H_ -#define _BE_VISITOR_FIELD_CDR_OP_CH_H_ - -class be_visitor_field_cdr_op_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for the be_field node for the client header. - // -public: - be_visitor_field_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_field_cdr_op_ch (void); - // destructor - - virtual int visit_field (be_field *node); - // visit the field node - - // =visit operations on all possible data types that a field can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_FIELD_CDR_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_ci.h deleted file mode 100644 index 35d1a4a136b..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_ci.h +++ /dev/null @@ -1,108 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Field" node -// This generates code for structure members in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_FIELD_CDR_OP_CI_H_ -#define _BE_VISITOR_FIELD_CDR_OP_CI_H_ - -#include "be_visitor_scope.h" - -class be_visitor_field_cdr_op_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_field_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for the be_field node for the client header. - // -public: - be_visitor_field_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_field_cdr_op_ci (void); - // destructor - - virtual int visit_field (be_field *node); - // visit the field node - - // =visit operations on all possible data types that a field can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -class be_visitor_cdr_op_field_decl : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_cdr_op_ci_field_decl - // - // = DESCRIPTION - // When generating CDR operators for fields of structures and/or - // unions it may be necessary to define some local variables (for - // instance to hold temporary T_forany objects); this visitor - // generates that code. - // -public: - be_visitor_cdr_op_field_decl (be_visitor_context *ctx); - // constructor - - virtual int visit_field (be_field *node); - // visit the field node - - // = visit operations for data types that require a local variable. - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_typedef (be_typedef *node); - // visit typedef type -}; - -#endif /* _BE_VISITOR_FIELD_CDR_OP_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_cs.h deleted file mode 100644 index dd5731bac68..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_field/cdr_op_cs.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_cs.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Field" node -// This generates code for structure members in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_FIELD_CDR_OP_CS_H_ -#define _BE_VISITOR_FIELD_CDR_OP_CS_H_ - -#include "be_visitor_scope.h" - -class be_visitor_field_cdr_op_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_field_cdr_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for the be_field node for the client header. - // -public: - be_visitor_field_cdr_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_field_cdr_op_cs (void); - // destructor - - virtual int visit_field (be_field *node); - // visit the field node - - // =visit operations on all possible data types that a field can be - - virtual int visit_array (be_array *node); - virtual int visit_enum (be_enum *node); - virtual int visit_sequence (be_sequence *node); - virtual int visit_structure (be_structure *node); - virtual int visit_typedef (be_typedef *node); - virtual int visit_union (be_union *node); - -}; - -#endif /* _BE_VISITOR_FIELD_CDR_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_field/field_ch.h b/TAO/TAO_IDL/be_include/be_visitor_field/field_ch.h deleted file mode 100644 index 27e7d702085..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_field/field_ch.h +++ /dev/null @@ -1,86 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_ch.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Field" node -// This generates code for structure members in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_FIELD_CH_H_ -#define _BE_VISITOR_FIELD_CH_H_ - -class be_visitor_field_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_field_ch - // - // = DESCRIPTION - // This is a concrete visitor for the be_field node for the client header. - // -public: - be_visitor_field_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_field_ch (void); - // destructor - - virtual int visit_field (be_field *node); - // visit the field node - - // =visit operations on all possible data types that a field can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype type - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward type -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_FIELD_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_field/field_ci.h b/TAO/TAO_IDL/be_include/be_visitor_field/field_ci.h deleted file mode 100644 index b2b71678b70..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_field/field_ci.h +++ /dev/null @@ -1,65 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_ci.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Field" node -// This generates code for structure members in the client inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_FIELD_CI_H_ -#define _BE_VISITOR_FIELD_CI_H_ - -class be_visitor_field_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_field_ci - // - // = DESCRIPTION - // This is a concrete visitor for the be_field node for the client inline - // file - // -public: - be_visitor_field_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_field_ci (void); - // destructor - - virtual int visit_field (be_field *node); - // visit the field node - - // =visit operations on all possible data types that a field can be and for - // which inline code must be generated - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_FIELD_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_field/field_cs.h b/TAO/TAO_IDL/be_include/be_visitor_field/field_cs.h deleted file mode 100644 index c48a1fd5969..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_field/field_cs.h +++ /dev/null @@ -1,68 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_cs.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Field" node -// This generates code for structure members in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_FIELD_CS_H_ -#define _BE_VISITOR_FIELD_CS_H_ - -class be_visitor_field_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_field_cs - // - // = DESCRIPTION - // This is a concrete visitor for the be_field node for the client stubs - // file - // -public: - be_visitor_field_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_field_cs (void); - // destructor - - virtual int visit_field (be_field *node); - // visit the field node - - // =visit operations on all possible data types that a field can be and impl - // code must be generated - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_FIELD_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface.h b/TAO/TAO_IDL/be_include/be_visitor_interface.h deleted file mode 100644 index e35aed8ac7b..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface.h +++ /dev/null @@ -1,54 +0,0 @@ - -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_interface.h -// -// = DESCRIPTION -// Concrete visitor for the Interface class -// -// = AUTHOR -// Carlos O'Ryan and Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_INTERFACE_H -#define TAO_BE_VISITOR_INTERFACE_H - -#include "be_visitor_scope.h" - -#include "be_visitor_interface/interface.h" -#include "be_visitor_interface/interface_ch.h" -#include "be_visitor_interface/interface_ci.h" -#include "be_visitor_interface/interface_cs.h" -#include "be_visitor_interface/interface_sh.h" -#include "be_visitor_interface/interface_ih.h" -#include "be_visitor_interface/interface_si.h" -#include "be_visitor_interface/interface_ss.h" -#include "be_visitor_interface/interface_is.h" -#include "be_visitor_interface/thru_poa_collocated_sh.h" -#include "be_visitor_interface/thru_poa_collocated_ss.h" -#include "be_visitor_interface/direct_collocated_sh.h" -#include "be_visitor_interface/direct_collocated_ss.h" -#include "be_visitor_interface/any_op_ch.h" -#include "be_visitor_interface/any_op_cs.h" -#include "be_visitor_interface/cdr_op_ch.h" -#include "be_visitor_interface/cdr_op_ci.h" -#include "be_visitor_interface/cdr_op_cs.h" -#include "be_visitor_interface/tie_sh.h" -#include "be_visitor_interface/tie_si.h" -#include "be_visitor_interface/ami_handler_fwd_ch.h" -#include "be_visitor_interface/ami_handler_fwd_ci.h" -#include "be_visitor_interface/ami_handler_servant_ch.h" -#include "be_visitor_interface/ami_handler_servant_cs.h" -#include "be_visitor_interface/ami_handler_stub_ch.h" -#include "be_visitor_interface/ami_handler_stub_cs.h" -#include "be_visitor_interface/collocated_ami_handler_ch.h" - -#endif /* _BE_VISITOR_INTERFACE_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_ch.h deleted file mode 100644 index ec5b0136d7d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_ch.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides for code generation in the server header -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#ifndef _BE_INTERFACE_AMI_HANDLER_CH_H_ -#define _BE_INTERFACE_AMI_HANDLER_CH_H_ - -class be_visitor_interface_ami_handler_ch : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_ami_handler_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for interface - // - // -public: - be_visitor_interface_ami_handler_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ami_handler_ch (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_AMI_HANDLER_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_cs.h b/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_cs.h deleted file mode 100644 index 00f3472e5d2..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_cs.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides code generation for interfaces in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_AMI_HANDLER_CS_H_ -#define _BE_INTERFACE_AMI_HANDLER_CS_H_ - -class be_visitor_ami_handler_cs : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_ami_handler_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the AMI Handler - // skeletons for interface. - // -public: - be_visitor_ami_handler_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_ami_handler_cs (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_AMI_HANDLER_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_fwd_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_fwd_ch.h deleted file mode 100644 index 158675919c9..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_fwd_ch.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_fwd_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface Forward node. -// This one provides code generation for interface forward node. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#ifndef _BE_INTERFACE_AMI_HANDLER_FWD_CH_H_ -#define _BE_INTERFACE_AMI_HANDLER_FWD_CH_H_ - -class be_visitor_interface_ami_handler_fwd_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_interface_ami_handler_fwd_ch - // - // = DESCRIPTION - // This visitor visits the an interface and generates fwd - // declaration code for the AMI Handler interface. - // - // -public: - be_visitor_interface_ami_handler_fwd_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ami_handler_fwd_ch (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface. -}; - -#endif /* _BE_INTERFACE_AMI_HANDLER_FWD_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_fwd_ci.h b/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_fwd_ci.h deleted file mode 100644 index 5714eeeaac1..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_fwd_ci.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_fwd_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Interface Forward node. -// This one provides code generation for interface forward node. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#ifndef _BE_INTERFACE_AMI_HANDLER_FWD_CI_H_ -#define _BE_INTERFACE_AMI_HANDLER_FWD_CI_H_ - -class be_visitor_interface_ami_handler_fwd_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_interface_ami_handler_fwd_ci - // - // = DESCRIPTION - // This visitor visits the interface to generate the forward - // declration code for the AMI reply handler. - // - // -public: - be_visitor_interface_ami_handler_fwd_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ami_handler_fwd_ci (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface. - -}; - -#endif /* _BE_INTERFACE_INTERFACE_FWD_CH_I_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_servant_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_servant_ch.h deleted file mode 100644 index 8bc8857ed4f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_servant_ch.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_servant_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides for code generation in the server header -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#ifndef _BE_INTERFACE_AMI_HANDLER_SERVANT_CH_H_ -#define _BE_INTERFACE_AMI_HANDLER_SERVANT_CH_H_ - -class be_visitor_interface_ami_handler_servant_ch : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_ami_handler_servant_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for interface - // - // -public: - be_visitor_interface_ami_handler_servant_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ami_handler_servant_ch (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_AMI_HANDLER_SERVANT_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_servant_cs.h b/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_servant_cs.h deleted file mode 100644 index 71a082763e4..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_servant_cs.h +++ /dev/null @@ -1,46 +0,0 @@ -// $Id$ -// -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_servant_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides for code generation in the server skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_AMI_HANDLER_SERVANT_CS_H_ -#define _BE_INTERFACE_INTERFACE_AMI_HANDLER_SERVANT_CS_H_ - -class be_visitor_interface_ami_handler_servant_cs : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_ami_handler_servant_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the server skeletons for interface - // - // -public: - be_visitor_interface_ami_handler_servant_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ami_handler_servant_cs (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_INTERFACE_AMI_HANDLER_SERVANT_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_stub_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_stub_ch.h deleted file mode 100644 index 149201d00db..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_stub_ch.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_stub_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides code generation for interfaces in the client header. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#ifndef _BE_INTERFACE_AMI_HANDLER_STUB_CH_H_ -#define _BE_INTERFACE_AMI_HANDLER_STUB_CH_H_ - -// we need derived interface visitors for the client and server header files. For -// the others, they use the default interface visitor - -class be_visitor_interface_ami_handler_stub_ch : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_ami_handler_stub_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for - // interface. - // -public: - be_visitor_interface_ami_handler_stub_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ami_handler_stub_ch (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_AMI_HANDLER_STUB_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_stub_cs.h b/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_stub_cs.h deleted file mode 100644 index 3af5f1a4720..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/ami_handler_stub_cs.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides code generation for interfaces in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_AMI_HANDLER_CS_H_ -#define _BE_INTERFACE_AMI_HANDLER_CS_H_ - -class be_visitor_interface_ami_handler_stub_cs : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_ami_handler_stub_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the AMI Handler - // skeletons for interface. - // -public: - be_visitor_interface_ami_handler_stub_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ami_handler_stub_cs (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_AMI_HANDLER_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/any_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/any_op_ch.h deleted file mode 100644 index 0b25ff3f3be..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/any_op_ch.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides code generation for the Any operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_ANY_OP_CH_H_ -#define _BE_INTERFACE_ANY_OP_CH_H_ - -class be_visitor_interface_any_op_ch : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_any_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for interface that generates the Any operator - // declarations - // - -public: - be_visitor_interface_any_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_any_op_ch (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface -}; - -#endif /* _BE_INTERFACE_ANY_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/any_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_interface/any_op_cs.h deleted file mode 100644 index aa84f6fd2c9..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/any_op_cs.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides code generation for the Any operators -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_ANY_OP_CS_H_ -#define _BE_INTERFACE_ANY_OP_CS_H_ - -class be_visitor_interface_any_op_cs : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_any_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for interface that generates the Any operator - // implementations - // - -public: - be_visitor_interface_any_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_any_op_cs (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface -}; - -#endif /* _BE_INTERFACE_ANY_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_ch.h deleted file mode 100644 index 353659c3bcc..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_ch.h +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface class -// This one provides code generation for the CDR operators for the interface -// in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_INTERFACE_CDR_OP_CH_H_ -#define _BE_VISITOR_INTERFACE_CDR_OP_CH_H_ - -class be_visitor_interface_cdr_op_ch : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for interface that generates the CDR operator - // declarations - // - -public: - be_visitor_interface_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_cdr_op_ch (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface - -}; - -#endif /* _BE_VISITOR_INTERFACE_CDR_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_ci.h deleted file mode 100644 index 47639725412..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_ci.h +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface class -// This one provides code generation for the CDR operators for the interface -// in the client stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_INTERFACE_CDR_OP_CI_H_ -#define _BE_VISITOR_INTERFACE_CDR_OP_CI_H_ - -class be_visitor_interface_cdr_op_ci : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for interface that generates the CDR operator - // implementations - // - -public: - be_visitor_interface_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_cdr_op_ci (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface - -}; - -#endif /* _BE_VISITOR_INTERFACE_CDR_OP_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_cs.h deleted file mode 100644 index 05a062d594f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/cdr_op_cs.h +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface class -// This one provides code generation for the CDR operators for the interface -// in the client stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_INTERFACE_CDR_OP_CS_H_ -#define _BE_VISITOR_INTERFACE_CDR_OP_CS_H_ - -class be_visitor_interface_cdr_op_cs : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_cdr_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for interface that generates the CDR operator - // implementations - // - -public: - be_visitor_interface_cdr_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_cdr_op_cs (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface - -}; - -#endif /* _BE_VISITOR_INTERFACE_CDR_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/collocated_ami_handler_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/collocated_ami_handler_ch.h deleted file mode 100644 index d20938a046c..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/collocated_ami_handler_ch.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// collocated_ami_handler_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides code generation for collocated classes in server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_COLLOCATED_AMI_HANDLER_CH_H_ -#define _BE_INTERFACE_COLLOCATED_AMI_HANDLER_CH_H_ - -class be_visitor_interface_collocated_ami_handler_ch : public be_visitor_interface -{ - // = TITLE - // Generate the "collocated" class declaration. - -public: - be_visitor_interface_collocated_ami_handler_ch (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_interface_collocated_ami_handler_ch (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit an interface - -}; - -#endif /* _BE_INTERFACE_COLLOCATED_AMI_HANDLER_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/direct_collocated_sh.h b/TAO/TAO_IDL/be_include/be_visitor_interface/direct_collocated_sh.h deleted file mode 100644 index 76e937d32e9..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/direct_collocated_sh.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// direct_collocated_sh.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides code generation for direct collocated classes in server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_DIRECT_COLLOCATED_SH_H_ -#define _BE_INTERFACE_DIRECT_COLLOCATED_SH_H_ - -class be_visitor_interface_direct_collocated_sh : public be_visitor_interface -{ - // = TITLE - // Generate the "direct collocated" class declaration. - -public: - be_visitor_interface_direct_collocated_sh (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_interface_direct_collocated_sh (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit an interface - -}; - -#endif /* _BE_INTERFACE_DIRECT_COLLOCATED_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/direct_collocated_ss.h b/TAO/TAO_IDL/be_include/be_visitor_interface/direct_collocated_ss.h deleted file mode 100644 index faca2392b8e..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/direct_collocated_ss.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// driect_collocated_ss.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides code generation for direct collocated classes in server skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_DIRECT_COLLOCATED_SS_H_ -#define _BE_INTERFACE_DIRECT_COLLOCATED_SS_H_ - -class be_visitor_interface_direct_collocated_ss : public be_visitor_interface -{ - // = TITLE - // Generate the "direct collocated" class declaration. - -public: - be_visitor_interface_direct_collocated_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_interface_direct_collocated_ss (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface - - static int collocated_ctor_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method passed to the template method to invoke ctors of all the - // base classes. -}; - -#endif /* _BE_DIRECT_INTERFACE_COLLOCATED_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/interface.h b/TAO/TAO_IDL/be_include/be_visitor_interface/interface.h deleted file mode 100644 index 41dfd82b0a5..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/interface.h +++ /dev/null @@ -1,91 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides the generic visitor for interfaces from which others -// will inherit. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_H_ -#define _BE_INTERFACE_INTERFACE_H_ - -// = DESCRIPTION -// Interface code generation is complex, the client stubs require -// two different class and the server also require other two. -// Only one of them includes whatever nested typedefs, exceptions -// and or structures are defined in the interface. -// To break this complexity a different visitor is used for each -// case. -// -// = NOTE -// Visitors were added recently into the compiler, so some -// code is still generated using the old "state oriented" approach; -// notably only the _collocated class is actually generated using -// the visitor, in the other cases (the interface class and the -// skeleton class) we still call back the old code generation -// methods. -// - -class be_visitor_interface : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_interface - // - // = DESCRIPTION - // This is a concrete visitor for interface that abstracts all common tasks - // - -public: - be_visitor_interface (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit the interface node - - // =visit methods on all elements syntactically valid in a Interface scope - - virtual int visit_attribute (be_attribute *node); - // visit attribute - - virtual int visit_constant (be_constant *node); - // visit a constant - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_exception (be_exception *node); - // visit an exception - - virtual int visit_operation (be_operation *node); - // visit operation - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - - virtual int visit_typedef (be_typedef *node); - // visit the typedef node - -}; - -#endif /* _BE_INTERFACE_INTERFACE_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ch.h deleted file mode 100644 index 0294553503b..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ch.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides code generation for interfaces in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_CH_H_ -#define _BE_INTERFACE_INTERFACE_CH_H_ - -// we need derived interface visitors for the client and server header files. For -// the others, they use the default interface visitor - -class be_visitor_interface_ch : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for interface - // - // -public: - be_visitor_interface_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ch (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_INTERFACE_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ci.h b/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ci.h deleted file mode 100644 index ad1a5b31063..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ci.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides code generation for interfaces in the client inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_CI_H_ -#define _BE_INTERFACE_INTERFACE_CI_H_ - -class be_visitor_interface_ci : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_ci - // - // = DESCRIPTION - // This is a concrete visitor to generate the client inline for interface - // - // -public: - be_visitor_interface_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ci (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor - -}; - -#endif /* _BE_INTERFACE_INTERFACE_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_cs.h b/TAO/TAO_IDL/be_include/be_visitor_interface/interface_cs.h deleted file mode 100644 index 51e3f8a7a88..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_cs.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides code generation for interfaces in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_CS_H_ -#define _BE_INTERFACE_INTERFACE_CS_H_ - -class be_visitor_interface_cs : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for interface - // - // -public: - be_visitor_interface_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_cs (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_INTERFACE_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h b/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h deleted file mode 100644 index ed74b0d488d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h +++ /dev/null @@ -1,47 +0,0 @@ - -/* -*- c++ -*- */ - -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_ih.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides for code generation in the implementation header -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_IH_H_ -#define _BE_INTERFACE_INTERFACE_IH_H_ - -class be_visitor_interface_ih : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_ih - // - // = DESCRIPTION - // This is a concrete visitor to generate the implementation header for interface - // - // -public: - be_visitor_interface_ih (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ih (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_INTERFACE_IH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_is.h b/TAO/TAO_IDL/be_include/be_visitor_interface/interface_is.h deleted file mode 100644 index d0f81d1a4c6..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_is.h +++ /dev/null @@ -1,45 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_is.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides for code generation in the implementation skeleton -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_IS_H_ -#define _BE_INTERFACE_INTERFACE_IS_H_ - -class be_visitor_interface_is : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_is - // - // = DESCRIPTION - // This is a concrete visitor to generate the implementation skeletons for interface - // - // -public: - be_visitor_interface_is (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_is (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor - -}; - -#endif /* _BE_INTERFACE_INTERFACE_IS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_sh.h b/TAO/TAO_IDL/be_include/be_visitor_interface/interface_sh.h deleted file mode 100644 index 526a92af825..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_sh.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_sh.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides for code generation in the server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_SH_H_ -#define _BE_INTERFACE_INTERFACE_SH_H_ - -class be_visitor_interface_sh : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_sh - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for interface - // - // -public: - be_visitor_interface_sh (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_sh (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_INTERFACE_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_si.h b/TAO/TAO_IDL/be_include/be_visitor_interface/interface_si.h deleted file mode 100644 index c46560a433d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_si.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_si.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides for code generation in the server inline -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_SI_H_ -#define _BE_INTERFACE_INTERFACE_SI_H_ - -class be_visitor_interface_si : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_si - // - // = DESCRIPTION - // This is a concrete visitor to generate the server inline for interface - // - // -public: - be_visitor_interface_si (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_si (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_INTERFACE_SI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ss.h b/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ss.h deleted file mode 100644 index e57a272a3be..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ss.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_ss.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides for code generation in the server skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_SS_H_ -#define _BE_INTERFACE_INTERFACE_SS_H_ - -class be_visitor_interface_ss : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_ss - // - // = DESCRIPTION - // This is a concrete visitor to generate the server skeletons for interface - // - // -public: - be_visitor_interface_ss (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_ss (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor -}; - -#endif /* _BE_INTERFACE_INTERFACE_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/thru_poa_collocated_sh.h b/TAO/TAO_IDL/be_include/be_visitor_interface/thru_poa_collocated_sh.h deleted file mode 100644 index 89a73401341..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/thru_poa_collocated_sh.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// thru_poa_collocated_sh.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides code generation for thru_poa collocated classes in server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_THRU_POA_COLLOCATED_SH_H_ -#define _BE_INTERFACE_THRU_POA_COLLOCATED_SH_H_ - -class be_visitor_interface_thru_poa_collocated_sh : public be_visitor_interface -{ - // = TITLE - // Generate the "thru_poa collocated" class declaration. - -public: - be_visitor_interface_thru_poa_collocated_sh (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_interface_thru_poa_collocated_sh (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit an interface - -}; - -#endif /* _BE_INTERFACE_THRU_POA_COLLOCATED_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/thru_poa_collocated_ss.h b/TAO/TAO_IDL/be_include/be_visitor_interface/thru_poa_collocated_ss.h deleted file mode 100644 index 9348412e9c3..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/thru_poa_collocated_ss.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// thru_poa_collocated_ss.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This provides code generation for thru_poa collocated classes in server skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_THRU_POA_COLLOCATED_SS_H_ -#define _BE_INTERFACE_THRU_POA_COLLOCATED_SS_H_ - -class be_visitor_interface_thru_poa_collocated_ss : public be_visitor_interface -{ - // = TITLE - // Generate the "thru_poa collocated" class declaration. - -public: - be_visitor_interface_thru_poa_collocated_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_interface_thru_poa_collocated_ss (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface - - static int collocated_ctor_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method passed to the template method to invoke ctors of all the - // base classes. -}; - -#endif /* _BE_INTERFACE_THRU_POA_COLLOCATED_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/tie_sh.h b/TAO/TAO_IDL/be_include/be_visitor_interface/tie_sh.h deleted file mode 100644 index bd2fbfbae13..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/tie_sh.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// tie_sh.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides the code generation for TIE classes -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_TIE_SH_H_ -#define _BE_INTERFACE_TIE_SH_H_ - -class be_visitor_interface_tie_sh : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_tie_sh - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for the TIE class - // - // -public: - be_visitor_interface_tie_sh (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_tie_sh (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor - - static int method_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method to generate method declaration in the TIE classes. -}; - -#endif /* _BE_INTERFACE_TIE_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/tie_si.h b/TAO/TAO_IDL/be_include/be_visitor_interface/tie_si.h deleted file mode 100644 index f8a9f982946..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface/tie_si.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// tie_si.h -// -// = DESCRIPTION -// Concrete visitor for the Interface node. -// This one provides the code generation for TIE classes -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_TIE_SI_H_ -#define _BE_INTERFACE_TIE_SI_H_ - -class be_visitor_interface_tie_si : public be_visitor_interface -{ - // - // = TITLE - // be_visitor_interface_tie_si - // - // = DESCRIPTION - // This is a concrete visitor to generate the server inline for operations - // of the TIE class - // - // -public: - be_visitor_interface_tie_si (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_tie_si (void); - // destructor - - virtual int visit_interface (be_interface *node); - // set the right context and make a visitor - - static int method_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method to generate method declaration in the TIE classes. -}; - -#endif /* _BE_INTERFACE_TIE_SI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface_fwd.h b/TAO/TAO_IDL/be_include/be_visitor_interface_fwd.h deleted file mode 100644 index a32da4c3de0..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface_fwd.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_interface_fwd.h -// -// = DESCRIPTION -// Concrete visitor for the interface_fwd class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_INTERFACE_FWD_H -#define TAO_BE_VISITOR_INTERFACE_FWD_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" - -#include "be_visitor_interface_fwd/interface_fwd_ch.h" -#include "be_visitor_interface_fwd/interface_fwd_ci.h" -#include "be_visitor_interface_fwd/cdr_op_ci.h" -#endif /* TAO_BE_VISITOR_INTERFACE_FWD_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface_fwd/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_interface_fwd/cdr_op_ci.h deleted file mode 100644 index 3e7953ee80f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface_fwd/cdr_op_ci.h +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.h -// -// = DESCRIPTION -// Concrete visitor for the interface_fwd class -// This one provides code generation for the CDR operators -// (actually just their declarations) for the interface forward -// declaration in the client inline. -// -// = AUTHOR -// Aniruddha Gokhale & Carlos O'Ryan -// -// ============================================================================ - -#ifndef BE_VISITOR_INTERFACE_FWD_CDR_OP_CI_H -#define BE_VISITOR_INTERFACE_FWD_CDR_OP_CI_H - -class be_visitor_interface_fwd_cdr_op_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_interface_fwd_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for interface that generates the CDR - // operator forward declarations. - // - -public: - be_visitor_interface_fwd_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_fwd_cdr_op_ci (void); - // destructor - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface - -}; - -#endif /* BE_VISITOR_INTERFACE_FWD_CDR_OP_CI_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface_fwd/interface_fwd_ch.h b/TAO/TAO_IDL/be_include/be_visitor_interface_fwd/interface_fwd_ch.h deleted file mode 100644 index 02c788c071b..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface_fwd/interface_fwd_ch.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_fwd_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface Forward node. -// This one provides code generation for interface forward node. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_FWD_CH_H_ -#define _BE_INTERFACE_INTERFACE_FWD_CH_H_ - -class be_visitor_interface_fwd_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_interface_fwd_ch - // - // = DESCRIPTION - // This is the visitor for interface_fwd for the header file - // - // -public: - be_visitor_interface_fwd_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_fwd_ch (void); - // destructor - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface_fwd. - -}; - -#endif /* _BE_INTERFACE_INTERFACE_FWD_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface_fwd/interface_fwd_ci.h b/TAO/TAO_IDL/be_include/be_visitor_interface_fwd/interface_fwd_ci.h deleted file mode 100644 index f8c765d986f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface_fwd/interface_fwd_ci.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// interface_fwd_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Interface Forward node. -// This one provides code generation for interface forward node. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_FWD_CI_H_ -#define _BE_INTERFACE_INTERFACE_FWD_CI_H_ - -class be_visitor_interface_fwd_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_interface_fwd_ci - // - // = DESCRIPTION - // This is the visitor for interface_fwd for the inline file - // - // -public: - be_visitor_interface_fwd_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_interface_fwd_ci (void); - // destructor - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface_fwd - -}; - -#endif /* _BE_INTERFACE_INTERFACE_FWD_CH_I_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_module.h b/TAO/TAO_IDL/be_include/be_visitor_module.h deleted file mode 100644 index ea4f140fd6d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_module.h +++ /dev/null @@ -1,37 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_module.h -// -// = DESCRIPTION -// Concrete visitor for the Module class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_MODULE_H -#define TAO_BE_VISITOR_MODULE_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" - -#include "be_visitor_module/module.h" -// we need derived module visitors for the client and server header files. For -// the others, they use the default module visitor -#include "be_visitor_module/module_ch.h" -#include "be_visitor_module/module_sh.h" -#include "be_visitor_module/module_ih.h" -#include "be_visitor_module/any_op.h" -#include "be_visitor_module/cdr_op.h" - -#endif // TAO_BE_VISITOR_MODULE_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_module/any_op.h b/TAO/TAO_IDL/be_include/be_visitor_module/any_op.h deleted file mode 100644 index a41fec48195..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_module/any_op.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op.h -// -// = DESCRIPTION -// Concrete visitor for the Module class -// This one provides visitors to generate the Any operators for elements in -// the Module's scope. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_MODULE_ANY_OP_H_ -#define _BE_VISITOR_MODULE_ANY_OP_H_ - -class be_visitor_module_any_op : public be_visitor_module -{ - // - // = TITLE - // be_visitor_module_any_op - // - // = DESCRIPTION - // This is a concrete visitor for module that generates the Any operator - // declarations and implementations - // - -public: - be_visitor_module_any_op (be_visitor_context *ctx); - // constructor - - ~be_visitor_module_any_op (void); - // destructor - - virtual int visit_module (be_module *node); - // visit module -}; - -#endif /* _BE_VISITOR_MODULE_ANY_OP_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_module/cdr_op.h b/TAO/TAO_IDL/be_include/be_visitor_module/cdr_op.h deleted file mode 100644 index 78a56a082f9..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_module/cdr_op.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op.h -// -// = DESCRIPTION -// Concrete visitor for the Module class -// This one provides visitors to generate the CDR operators for elements in -// the Module's scope. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_MODULE_CDR_OP_H_ -#define _BE_VISITOR_MODULE_CDR_OP_H_ - -class be_visitor_module_cdr_op : public be_visitor_module -{ - // - // = TITLE - // be_visitor_module_cdr_op - // - // = DESCRIPTION - // This is a concrete visitor for module that generates the CDR operator - // declarations and implementations - // - -public: - be_visitor_module_cdr_op (be_visitor_context *ctx); - // constructor - - ~be_visitor_module_cdr_op (void); - // destructor - - virtual int visit_module (be_module *node); - // visit module -}; - -#endif /* _BE_VISITOR_MODULE_CDR_OP_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_module/module.h b/TAO/TAO_IDL/be_include/be_visitor_module/module.h deleted file mode 100644 index c12aeeed170..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_module/module.h +++ /dev/null @@ -1,82 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// module.h -// -// = DESCRIPTION -// Concrete visitor for the Module class -// This one provides the generic visitor for the Module node. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_MODULE_MODULE_H_ -#define _BE_VISITOR_MODULE_MODULE_H_ - -class be_visitor_module : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_module - // - // = DESCRIPTION - // This is a concrete visitor for module that abstracts all common tasks - // - -public: - be_visitor_module (be_visitor_context *ctx); - // constructor - - ~be_visitor_module (void); - // destructor - - // =visit methods on all elements syntactically valid in a Module scope - - virtual int visit_constant (be_constant *node); - // visit a constant - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_exception (be_exception *node); - // visit an exception - - virtual int visit_interface (be_interface *node); - // visit an interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit an interface - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype_fwd -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_module (be_module *node); - // visit a module - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - - virtual int visit_typedef (be_typedef *node); - // visit the typedef node - -}; - -#endif /* _BE_VISITOR_MODULE_MODULE_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_module/module_ch.h b/TAO/TAO_IDL/be_include/be_visitor_module/module_ch.h deleted file mode 100644 index 5de940fa34f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_module/module_ch.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// module_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Module class -// This provides code generation for the module in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_MODULE_MODULE_CH_H_ -#define _BE_VISITOR_MODULE_MODULE_CH_H_ - -class be_visitor_module_ch : public be_visitor_module -{ - // - // = TITLE - // be_visitor_module_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for module - // - // -public: - be_visitor_module_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_module_ch (void); - // destructor - - virtual int visit_module (be_module *node); - // visit module. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_MODULE_MODULE_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_module/module_ih.h b/TAO/TAO_IDL/be_include/be_visitor_module/module_ih.h deleted file mode 100644 index f0039005391..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_module/module_ih.h +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// module_ih.h -// -// = DESCRIPTION -// Concrete visitor for the Module class -// This provides code generation for the module in the implementation header. -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#ifndef _BE_VISITOR_MODULE_MODULE_IH_H_ -#define _BE_VISITOR_MODULE_MODULE_IH_H_ - -class be_visitor_module_ih : public be_visitor_module -{ - // - // = TITLE - // be_visitor_module_ih - // - // = DESCRIPTION - // This is a concrete visitor to generate the implementation header for module - // - // -public: - be_visitor_module_ih (be_visitor_context *ctx); - // constructor - - ~be_visitor_module_ih (void); - // destructor - - virtual int visit_module (be_module *node); - // visit module. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_MODULE_MODULE_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_module/module_sh.h b/TAO/TAO_IDL/be_include/be_visitor_module/module_sh.h deleted file mode 100644 index c0b6dfc5b37..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_module/module_sh.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// module_sh.h -// -// = DESCRIPTION -// Concrete visitor for the Module class -// This provides code generation for the module in the server header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_MODULE_MODULE_SH_H_ -#define _BE_VISITOR_MODULE_MODULE_SH_H_ - -class be_visitor_module_sh : public be_visitor_module -{ - // - // = TITLE - // be_visitor_module_sh - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for module - // - // -public: - be_visitor_module_sh (be_visitor_context *ctx); - // constructor - - ~be_visitor_module_sh (void); - // destructor - - virtual int visit_module (be_module *node); - // visit module. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_MODULE_MODULE_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation.h b/TAO/TAO_IDL/be_include/be_visitor_operation.h deleted file mode 100644 index e19952ca92d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation.h +++ /dev/null @@ -1,66 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_operation.h -// -// = DESCRIPTION -// Concrete visitor for the Operation class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_OPERATION_H -#define TAO_BE_VISITOR_OPERATION_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" -#include "be_visitor_operation/operation.h" -#include "be_visitor_operation/operation_ch.h" -#include "be_visitor_operation/operation_cs.h" -#include "be_visitor_operation/operation_sh.h" -#include "be_visitor_operation/operation_ih.h" -#include "be_visitor_operation/operation_ss.h" -#include "be_visitor_operation/operation_is.h" -#include "be_visitor_operation/tie_sh.h" -#include "be_visitor_operation/tie_si.h" -#include "be_visitor_operation/thru_poa_collocated_sh.h" -#include "be_visitor_operation/thru_poa_collocated_ss.h" -#include "be_visitor_operation/direct_collocated_sh.h" -#include "be_visitor_operation/direct_collocated_ss.h" -#include "be_visitor_operation/arglist.h" -#include "be_visitor_operation/rettype.h" -#include "be_visitor_operation/rettype_is.h" -#include "be_visitor_operation/rettype_vardecl_cs.h" -#include "be_visitor_operation/rettype_pre_docall_cs.h" -#include "be_visitor_operation/rettype_docall_cs.h" -#include "be_visitor_operation/rettype_post_docall_cs.h" -#include "be_visitor_operation/rettype_return_cs.h" -#include "be_visitor_operation/exceptlist_cs.h" -#include "be_visitor_operation/argument.h" -#include "be_visitor_operation/argument_invoke.h" -#include "be_visitor_operation/argument_marshal.h" -#include "be_visitor_operation/rettype_vardecl_ss.h" -#include "be_visitor_operation/rettype_assign_ss.h" -#include "be_visitor_operation/rettype_post_upcall_ss.h" -#include "be_visitor_operation/rettype_marshal_ss.h" -#include "be_visitor_operation/compiled_marshal.h" -#include "be_visitor_operation/rettype_pre_invoke_cs.h" -#include "be_visitor_operation/ami_ch.h" -#include "be_visitor_operation/ami_cs.h" -#include "be_visitor_operation/ami_arglist.h" -#include "be_visitor_operation/ami_handler_operation_ch.h" -#include "be_visitor_operation/ami_handler_arglist.h" -#include "be_visitor_operation/ami_handler_operation_cs.h" -#include "be_visitor_operation/ami_handler_skeleton_cs.h" -#include "be_visitor_operation/ami_handler_argument_marshal.h" -#endif // TAO_BE_VISITOR_OPERATION_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_arglist.h b/TAO/TAO_IDL/be_include/be_visitor_operation/ami_arglist.h deleted file mode 100644 index 26c09921b7e..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_arglist.h +++ /dev/null @@ -1,54 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_arglist.h -// -// = DESCRIPTION -// Visitor for generating IDL Stub code for IDL operations. This -// generates the operation signature for the IDL stub. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_AMI_ARGLIST_H_ -#define _BE_VISITOR_OPERATION_AMI_ARGLIST_H_ - -// ****************************************************************************** -// Operation visitor for argument list - generates parameters in the signature -// ****************************************************************************** - -class be_visitor_operation_ami_arglist : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_operaion_ami_arglist - // - // = DESCRIPTION - // This is a visitor to generate operation argument list for an - // AMI stub. - // - // -public: - be_visitor_operation_ami_arglist (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_arglist (void); - // destructor - - int visit_operation (be_operation *node); - // visit the operation - - int visit_argument (be_argument *node); - // visit each argument -}; - -#endif /* _BE_VISITOR_OPERATION_AMI_ARGLIST_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_ch.h b/TAO/TAO_IDL/be_include/be_visitor_operation/ami_ch.h deleted file mode 100644 index 2377916168d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_ch.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_ch.h -// -// = DESCRIPTION -// Visitor for generating AMI stub code for IDL operations in -// client header. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_AMI_CH_H_ -#define _BE_VISITOR_OPERATION_AMI_CH_H_ - -// ************************************************************ -// Operation visitor to generate AMI stubs for client header -// ************************************************************ - -class be_visitor_operation_ami_ch : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_ami_ch. - // - // = DESCRIPTION - // This is a concrete visitor to generate the AMI stubs in the - // client header for operation. - // - // -public: - be_visitor_operation_ami_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_ch (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. -}; - -#endif /* _BE_VISITOR_OPERATION_AMI_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/ami_cs.h deleted file mode 100644 index 40208d792ea..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_cs.h +++ /dev/null @@ -1,125 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations in client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_AMI_CS_H_ -#define _BE_VISITOR_OPERATION_AMI_CS_H_ - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -class be_visitor_operation_ami_cs : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_ami_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // - // -public: - be_visitor_operation_ami_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_cs (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. - - virtual int visit_argument (be_argument *node); - // visit argument to generate ParamData entries - - // = template methods - virtual int gen_pre_stub_info (be_operation *, be_type *) = 0; - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *) = 0; - // generate code that marshals the arguments and transmits them - - // =helper - virtual int post_process (be_decl *); - // stuff to output after every member of the scope is handled - - virtual int gen_raise_exception (be_type *, - const char * excep, - const char * status); - // helper that generates code for raising an exception - - virtual int gen_check_exception (be_type *); - // helper that generates code for checking for an exception - -}; - -// specialized visitors - -class be_interpretive_visitor_operation_ami_cs : public be_visitor_operation_ami_cs -{ - // - // = TITLE - // be_interpretive_visitor_operation_ami_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // using interpretive marshaling. - // - // -public: - be_interpretive_visitor_operation_ami_cs (be_visitor_context *); - // ctor - - ~be_interpretive_visitor_operation_ami_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them - -}; - -class be_compiled_visitor_operation_ami_cs : public be_visitor_operation_ami_cs -{ - // - // = TITLE - // be_compiled_visitor_operation_ami_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // using compiled marshaling. - // - // -public: - be_compiled_visitor_operation_ami_cs (be_visitor_context *); - // ctor - - ~be_compiled_visitor_operation_ami_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them -}; - -#endif /* _BE_VISITOR_OPERATION_AMI_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_arglist.h b/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_arglist.h deleted file mode 100644 index 9e0ceb2c62d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_arglist.h +++ /dev/null @@ -1,65 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_arglist.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the -// operation signature. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_AMI_HANDLER_ARGLIST_H_ -#define _BE_VISITOR_OPERATION_AMI_HANDLER_ARGLIST_H_ - -// ****************************************************************************** -// Operation visitor for argument list - generates parameters in the signature -// ****************************************************************************** - -class be_visitor_operation_ami_handler_arglist : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operaion_ami_handler_arglist - // - // = DESCRIPTION - // This is a visitor to generate operation argument list - // - // -public: - be_visitor_operation_ami_handler_arglist (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_handler_arglist (void); - // destructor - - virtual int visit_scope (be_scope *node); - // Visit the scope and its elements. - // This implementation is the same as - // . The variation is that it calls the - // only if the return value of the is 1. We - // need to do this since we have to differentiate between an argument - // that was printed and an argument that was skipped in the signature. - - virtual int visit_operation (be_operation *node); - // visit the operation - - virtual int visit_argument (be_argument *node); - // visit each argument - - virtual int post_process (be_decl *); - // stuff to o/p after each element of the scope is handled - -}; - -#endif /* _BE_VISITOR_OPERATION_AMI_HANDLER_ARGLIST_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_argument_marshal.h b/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_argument_marshal.h deleted file mode 100644 index 1697ff6cdd0..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_argument_marshal.h +++ /dev/null @@ -1,67 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_argument_marshal.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This is a visitor for -// passing arguments to the CDR operators in a compiled marshaling -// stub/skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_ami_handler_argument_marshal_H_ -#define _BE_VISITOR_OPERATION_ami_handler_argument_marshal_H_ - -// ************************************************************ -// generic operation visitor for docall, upcall, pre/post -// ************************************************************ - -class be_compiled_visitor_operation_ami_handler_argument_marshal - : public be_visitor_operation_argument -{ - // - // = TITLE - // be_compiled_visitor_operation_ami_handler_argument_marshal - // - // = DESCRIPTION - // This is a visitor to generate a variable declaration of an operation - // return type - // -public: - be_compiled_visitor_operation_ami_handler_argument_marshal (be_visitor_context *ctx); - // constructor - - ~be_compiled_visitor_operation_ami_handler_argument_marshal (void); - // destructor - - virtual int pre_process (be_decl *bd); - // stuff to o/p before each element of the scope is handled - - virtual int post_process (be_decl *bd); - // stuff to o/p after each element of the scope is handled - - enum LAST_ARG_PRINTED - { - TAO_ARG_NONE, - TAO_ARG_IN, - TAO_ARG_INOUT, - TAO_ARG_OUT - }; - -private: - LAST_ARG_PRINTED last_arg_printed_; -}; - - -#endif /* _BE_VISITOR_OPERATION_ami_handler_argument_marshal_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation.h b/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation.h deleted file mode 100644 index cb7640b40b0..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_operation_ch.h -// -// = DESCRIPTION -// Visitor for generating code for AMI Handler call back operations -// in client header. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_AMI_HANDLER_OPERATION_CH_H_ -#define _BE_VISITOR_OPERATION_AMI_HANDLER_OPERATION_CH_H_ - -// ************************************************************ -// Operation visitor for server header -// ************************************************************ - -class be_visitor_operation_ami_handler_operation_ch : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_ami_handler_operation_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for operation - // - // -public: - be_visitor_operation_ami_handler_operation_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_handler_operation_ch (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. - -}; - -#endif /* _BE_VISITOR_OPERATION_AMI_HANDLER_OPERATION_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation_ch.h b/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation_ch.h deleted file mode 100644 index cb7640b40b0..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation_ch.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_operation_ch.h -// -// = DESCRIPTION -// Visitor for generating code for AMI Handler call back operations -// in client header. -// -// = AUTHOR -// Aniruddha Gokhale and Alexander Babu Arulanthu -// -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_AMI_HANDLER_OPERATION_CH_H_ -#define _BE_VISITOR_OPERATION_AMI_HANDLER_OPERATION_CH_H_ - -// ************************************************************ -// Operation visitor for server header -// ************************************************************ - -class be_visitor_operation_ami_handler_operation_ch : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_ami_handler_operation_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for operation - // - // -public: - be_visitor_operation_ami_handler_operation_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_handler_operation_ch (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. - -}; - -#endif /* _BE_VISITOR_OPERATION_AMI_HANDLER_OPERATION_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation_cs.h deleted file mode 100644 index 139cc1ecd37..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_operation_cs.h +++ /dev/null @@ -1,126 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ami_handler_operation_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations in client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_AMI_HANDLER_OPERATION_CS_H_ -#define _BE_VISITOR_OPERATION_OPERATION_AMI_HANDLER_OPERATION_CS_H_ - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -class be_visitor_operation_ami_handler_operation_cs : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_ami_handler_operation_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // - // -public: - be_visitor_operation_ami_handler_operation_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_handler_operation_cs (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. - - virtual int visit_argument (be_argument *node); - // visit argument to generate ParamData entries - - // = template methods - virtual int gen_pre_stub_info (be_operation *, be_type *) = 0; - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *) = 0; - // generate code that marshals the arguments and transmits them - - // =helper - virtual int post_process (be_decl *); - // stuff to output after every member of the scope is handled - - virtual int gen_raise_exception (be_type *, - const char * excep, - const char * status); - // helper that generates code for raising an exception - - virtual int gen_check_exception (be_type *); - // helper that generates code for checking for an exception - -}; - -// specialized visitors - -class be_interpretive_visitor_operation_ami_handler_operation_cs : public be_visitor_operation_ami_handler_operation_cs -{ - // - // = TITLE - // be_interpretive_visitor_operation_ami_handler_operation_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // using interpretive marshaling. - // - // -public: - be_interpretive_visitor_operation_ami_handler_operation_cs (be_visitor_context *); - // ctor - - ~be_interpretive_visitor_operation_ami_handler_operation_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them - -}; - -class be_compiled_visitor_operation_ami_handler_operation_cs : public be_visitor_operation_ami_handler_operation_cs -{ - // - // = TITLE - // be_compiled_visitor_operation_ami_handler_operation_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // using compiled marshaling. - // - // -public: - be_compiled_visitor_operation_ami_handler_operation_cs (be_visitor_context *); - // ctor - - ~be_compiled_visitor_operation_ami_handler_operation_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them - -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_AMI_HANDLER_OPERATION_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_result_arg.h b/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_result_arg.h deleted file mode 100644 index 4405174311f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_result_arg.h +++ /dev/null @@ -1,86 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// ami_handler_result_arg.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the return -// type of the operation -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_AMI_HANDLER_RESULT_ARG_H_ -#define _BE_VISITOR_OPERATION_AMI_HANDLER_RESULT_ARG_H_ - -// *********************************************************************** -// Operation visitor for return types in the signature of the operation -// *********************************************************************** - -class be_visitor_operation_ami_handler_result_arg : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_ch - // - // = DESCRIPTION - // This is a visitor to generate operation return types - // - // -public: - be_visitor_operation_ami_handler_result_arg (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_handler_result_arg (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - - int visit_native (be_native *node); - // visit native type - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -# ifdef IDL_HAS_VALUETYPE - int visit_valuetype (be_valuetype *node); - int visit_valuetype_fwd (be_valuetype_fwd *node); -# endif /* IDL_HAS_VALUETYPE */ - -}; - -#endif /* _BE_VISITOR_OPERATION_AMI_HANDLER_RESULT_ARG_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_skeleton_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_skeleton_cs.h deleted file mode 100644 index ee6fe758b53..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/ami_handler_skeleton_cs.h +++ /dev/null @@ -1,129 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ami_handler_skeleton_cs.h -// -// = DESCRIPTION -// Visitor for generating code skelton code for IDL operations -// of AMI Reply Handlers. -// -// = AUTHOR -// Michael Kircher -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_AMI_HANDLER_SKELETON_CS_H_ -#define _BE_VISITOR_OPERATION_OPERATION_AMI_HANDLER_SKELETON_CS_H_ - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -class be_visitor_operation_ami_handler_skeleton_cs : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_ami_handler_operation_cs - // - // = DESCRIPTION - // Visitor for generating code skelton code for IDL operations - // of AMI Reply Handlers. - // - // -public: - be_visitor_operation_ami_handler_skeleton_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_handler_skeleton_cs (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. - - virtual int visit_argument (be_argument *node); - // visit argument to generate ParamData entries - - // = template methods - virtual int gen_pre_stub_info (be_operation *, be_type *) = 0; - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *) = 0; - // generate code that marshals the arguments and transmits them - - // =helper - virtual int post_process (be_decl *); - // stuff to output after every member of the scope is handled - - virtual int gen_raise_exception (be_type *, - const char * excep, - const char * status); - // helper that generates code for raising an exception - - virtual int gen_check_exception (be_type *); - // helper that generates code for checking for an exception - -}; - -// specialized visitors - -class be_interpretive_visitor_operation_ami_handler_skeleton_cs : public be_visitor_operation_ami_handler_skeleton_cs -{ - // - // = TITLE - // be_interpretive_visitor_operation_ami_skeleton_operation_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client skeletons - // for AMI reply handlers of IDL operations using interpretive marshaling. - // - // -public: - be_interpretive_visitor_operation_ami_handler_skeleton_cs (be_visitor_context *); - // ctor - - ~be_interpretive_visitor_operation_ami_handler_skeleton_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them - -}; - -class be_compiled_visitor_operation_ami_handler_skeleton_cs : public be_visitor_operation_ami_handler_skeleton_cs -{ - // - // = TITLE - // be_compiled_visitor_operation_ami_handler_skeleton_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client skeletons - // for AMI reply handlers of IDL operations using compiled marshaling. - // - // -public: - be_compiled_visitor_operation_ami_handler_skeleton_cs (be_visitor_context *); - // ctor - - ~be_compiled_visitor_operation_ami_handler_skeleton_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them - -}; - - -#endif /* _BE_VISITOR_OPERATION_OPERATION_AMI_HANDLER_SKELETON_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/arglist.h b/TAO/TAO_IDL/be_include/be_visitor_operation/arglist.h deleted file mode 100644 index a42834b2868..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/arglist.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// arglist.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the -// operation signature. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_ARGLIST_H_ -#define _BE_VISITOR_OPERATION_ARGLIST_H_ - -// ****************************************************************************** -// Operation visitor for argument list - generates parameters in the signature -// ****************************************************************************** - -class be_visitor_operation_arglist : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operaion_arglist - // - // = DESCRIPTION - // This is a visitor to generate operation argument list - // - // -public: - be_visitor_operation_arglist (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_arglist (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit the operation - - virtual int visit_argument (be_argument *node); - // visit each argument - - virtual int post_process (be_decl *); - // stuff to o/p after each element of the scope is handled - -}; - -#endif /* _BE_VISITOR_OPERATION_ARGLIST_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/argument.h b/TAO/TAO_IDL/be_include/be_visitor_operation/argument.h deleted file mode 100644 index 320e7a9aff1..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/argument.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// argument.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This is a generic visitor -// that calls visitors for the Argument class. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_ARGUMENT_H_ -#define _BE_VISITOR_OPERATION_ARGUMENT_H_ - -// ************************************************************ -// generic operation visitor for docall, upcall, pre/post -// ************************************************************ - -class be_visitor_operation_argument : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_argument - // - // = DESCRIPTION - // This is a visitor to generate a variable declaration ofr an operation - // return type - // -public: - be_visitor_operation_argument (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_argument (void); - // destructor - - virtual int post_process (be_decl *); - // stuff to o/p after each element of the scope is handled - - virtual int visit_operation (be_operation *node); - // visit the operation - - virtual int visit_argument (be_argument *node); - // visit argument - -}; - -#endif /* _BE_VISITOR_OPERATION_ARGUMENT_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/argument_invoke.h b/TAO/TAO_IDL/be_include/be_visitor_operation/argument_invoke.h deleted file mode 100644 index 06e47f6b16a..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/argument_invoke.h +++ /dev/null @@ -1,66 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// argument_invoke.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This is a visitor for -// passing arguments to the CDR operators in a compiled marshaling -// stub/skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_ARGUMENT_INVOKE_H_ -#define _BE_VISITOR_OPERATION_ARGUMENT_INVOKE_H_ - -// ************************************************************ -// generic operation visitor for docall, upcall, pre/post -// ************************************************************ - -class be_compiled_visitor_operation_argument_invoke - : public be_visitor_operation_argument -{ - // - // = TITLE - // be_compiled_visitor_operation_argument_invoke - // - // = DESCRIPTION - // This is a visitor to generate a variable declaration of an operation - // return type - // -public: - be_compiled_visitor_operation_argument_invoke (be_visitor_context *ctx); - // constructor - - ~be_compiled_visitor_operation_argument_invoke (void); - // destructor - - virtual int pre_process (be_decl *bd); - // stuff to o/p before each element of the scope is handled - - virtual int post_process (be_decl *bd); - // stuff to o/p after each element of the scope is handled - - enum LAST_ARG_PRINTED - { - TAO_ARG_NONE, - TAO_ARG_IN, - TAO_ARG_INOUT, - TAO_ARG_OUT - }; - -private: - LAST_ARG_PRINTED last_arg_printed_; -}; - -#endif /* _BE_VISITOR_OPERATION_ARGUMENT_INVOKE_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/argument_marshal.h b/TAO/TAO_IDL/be_include/be_visitor_operation/argument_marshal.h deleted file mode 100644 index 2a4802db351..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/argument_marshal.h +++ /dev/null @@ -1,88 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// argument_marshal.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This is a visitor for -// passing arguments to the CDR operators in a compiled marshaling -// stub/skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_ARGUMENT_MARSHAL_H_ -#define _BE_VISITOR_OPERATION_ARGUMENT_MARSHAL_H_ - -// ************************************************************ -// generic operation visitor for docall, upcall, pre/post -// ************************************************************ - -class be_compiled_visitor_operation_argument_marshal - : public be_visitor_operation_argument -{ - // - // = TITLE - // be_compiled_visitor_operation_argument_marshal - // - // = DESCRIPTION - // This is a visitor to generate a variable declaration of an operation - // return type - // -public: - be_compiled_visitor_operation_argument_marshal (be_visitor_context *ctx); - // constructor - - ~be_compiled_visitor_operation_argument_marshal (void); - // destructor - - virtual int pre_process (be_decl *bd); - // stuff to o/p before each element of the scope is handled - - virtual int post_process (be_decl *bd); - // stuff to o/p after each element of the scope is handled - - enum LAST_ARG_PRINTED - { - TAO_ARG_NONE, - TAO_ARG_IN, - TAO_ARG_INOUT, - TAO_ARG_OUT - }; - -private: - LAST_ARG_PRINTED last_arg_printed_; -}; - -// **************************************************************** - -class be_visitor_compiled_args_decl : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_compiled_args_decl - // - // = DESCRIPTION - // This is a visitor to generate variables declarations in the - // compiled marshaling stubs. - // -public: - be_visitor_compiled_args_decl (be_visitor_context *ctx); - // constructor - - int visit_array (be_array *node); - int visit_typedef (be_typedef *node); - int visit_argument (be_argument *node); - int visit_operation (be_operation *node); -}; - -#endif /* _BE_VISITOR_OPERATION_ARGUMENT_MARSHAL_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/compiled_marshal.h b/TAO/TAO_IDL/be_include/be_visitor_operation/compiled_marshal.h deleted file mode 100644 index e27360f0b29..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/compiled_marshal.h +++ /dev/null @@ -1,90 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// compiled_marshal.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the code -// for passing the return type variable to the CDR ops -// made. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_COMPILED_MARSHAL_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_COMPILED_MARSHAL_H_ - -// ************************************************************ -// Operation visitor for passing return variable to do_static_call -// ************************************************************ - -class be_visitor_operation_rettype_compiled_marshal :public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_compiled_marshal - // - // = DESCRIPTION - // This is a visitor to generate a variable declaration ofr an operation - // return type - // -public: - be_visitor_operation_rettype_compiled_marshal (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_compiled_marshal (void); - // destructor - - int visit_operation (be_operation *node); - // visit operation - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_COMPILED_MARSHAL_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/direct_collocated_sh.h b/TAO/TAO_IDL/be_include/be_visitor_operation/direct_collocated_sh.h deleted file mode 100644 index 413d7ce3059..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/direct_collocated_sh.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// direct_collocated_ch.h -// -// = DESCRIPTION Visitor for generating code for IDL operations for -// the direct collocated case inside of the servant header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_DIRECT_COLLOCATED_SH_H_ -#define _BE_VISITOR_OPERATION_DIRECT_COLLOCATED_SH_H_ - -// ************************************************************ -// Operation visitor for server header in the direct collocated class -// ************************************************************ - -class be_visitor_operation_direct_collocated_sh : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_operation_direct_collocated_sh - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for operation - // in the direct collocated class - // - // -public: - be_visitor_operation_direct_collocated_sh (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_direct_collocated_sh (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation node. - -}; - -#endif /* _BE_VISITOR_OPERATION_DIRECT_COLLOCATED_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/direct_collocated_ss.h b/TAO/TAO_IDL/be_include/be_visitor_operation/direct_collocated_ss.h deleted file mode 100644 index 015139b3047..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/direct_collocated_ss.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// direct_collocated_ss.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations for the direct_collocated case -// inside of the servant skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_DIRECT_COLLOCATED_SS_H_ -#define _BE_VISITOR_OPERATION_DIRECT_COLLOCATED_SS_H_ - -// ***************************************************************** -// Operation visitor for server skeletons for the direct collocated class -// ***************************************************************** - -class be_visitor_operation_direct_collocated_ss : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_operation_ss - // - // = DESCRIPTION - // This is a concrete visitor to generate the server skeletons for - // operation in the direct collocated class - // - // -public: - be_visitor_operation_direct_collocated_ss (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_direct_collocated_ss (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation node. - - virtual int gen_invoke (be_visitor_context &ctx, be_operation *node); - // A helper method to generate operation invocation code. - - virtual int gen_check_exception (be_type *bt); - // ACE_CHECK macros generator. - - virtual int void_return_type (be_type *bt); - // is my return type void? -}; - -#endif /* _BE_VISITOR_OPERATION_DIRECT_COLLOCATED_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/exceptlist_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/exceptlist_cs.h deleted file mode 100644 index 9e6d44f8848..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/exceptlist_cs.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// exceptlist_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the tables -// for the exceptions used by the stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_EXCEPTIONLIST_CS_H_ -#define _BE_VISITOR_OPERATION_EXCEPTIONLIST_CS_H_ - -// ****************************************************************************** -// Visitor for generating the exception list -// ****************************************************************************** - -class be_visitor_operation_exceptlist_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operaion_exceptlist_cs - // - // = DESCRIPTION - // This is a visitor to generate operation exception list to be provided to - // the do_static_call - // - // -public: - be_visitor_operation_exceptlist_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_exceptlist_cs (void); - // destructor - - int visit_operation (be_operation *node); - // visit the operation - -}; - -#endif /* _BE_VISITOR_OPERATION_EXCEPTIONLIST_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation.h deleted file mode 100644 index 07e9e98e68b..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations in client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_H_ -#define _BE_VISITOR_OPERATION_OPERATION_H_ - -// ************************************************************ -// Generic Operation visitor with some helper methods -// ************************************************************ - -class be_visitor_operation : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_operation - // - // = DESCRIPTION - // This is a base helper visitor for operation node - // - // -public: - be_visitor_operation (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation (void); - // destructor - - // =helper - - virtual int void_return_type (be_type *); - // is my return type void? - - virtual int has_param_type (be_operation *, AST_Argument::Direction); - // does any of the argument node have the specified direction - - virtual int gen_throw_spec (be_operation *node); - // generate the throw specification - - virtual const char *gen_environment_var (void); - // generate the environment variable declaration -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami.h deleted file mode 100644 index f2003a6db22..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ami.h -// -// = DESCRIPTION -// Visitor for generating AMI stub code for IDL operations in -// client header. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_AMI_H_ -#define _BE_VISITOR_OPERATION_OPERATION_AMI_H_ - -// ************************************************************ -// Operation visitor to generate AMI stubs for client header -// ************************************************************ - -class be_visitor_operation_ami : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_ami. - // - // = DESCRIPTION - // This is a concrete visitor to generate the AMI stubs in the - // client header for operation. - // - // -public: - be_visitor_operation_ami (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_AMI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami_ch.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami_ch.h deleted file mode 100644 index 9db97cff0bb..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami_ch.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ami_ch.h -// -// = DESCRIPTION -// Visitor for generating AMI stub code for IDL operations in -// client header. -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_AMI_CH_H_ -#define _BE_VISITOR_OPERATION_OPERATION_AMI_CH_H_ - -// ************************************************************ -// Operation visitor to generate AMI stubs for client header -// ************************************************************ - -class be_visitor_operation_ami_ch : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_ami_ch. - // - // = DESCRIPTION - // This is a concrete visitor to generate the AMI stubs in the - // client header for operation. - // - // -public: - be_visitor_operation_ami_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_ch (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_AMI_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami_cs.h deleted file mode 100644 index 6c324505aa0..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ami_cs.h +++ /dev/null @@ -1,125 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ami_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations in client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_AMI_CS_H_ -#define _BE_VISITOR_OPERATION_OPERATION_AMI_CS_H_ - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -class be_visitor_operation_ami_cs : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_ami_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // - // -public: - be_visitor_operation_ami_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ami_cs (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. - - virtual int visit_argument (be_argument *node); - // visit argument to generate ParamData entries - - // = template methods - virtual int gen_pre_stub_info (be_operation *, be_type *) = 0; - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *) = 0; - // generate code that marshals the arguments and transmits them - - // =helper - virtual int post_process (be_decl *); - // stuff to output after every member of the scope is handled - - virtual int gen_raise_exception (be_type *, - const char * excep, - const char * status); - // helper that generates code for raising an exception - - virtual int gen_check_exception (be_type *); - // helper that generates code for checking for an exception - -}; - -// specialized visitors - -class be_interpretive_visitor_operation_ami_cs : public be_visitor_operation_ami_cs -{ - // - // = TITLE - // be_interpretive_visitor_operation_ami_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // using interpretive marshaling. - // - // -public: - be_interpretive_visitor_operation_ami_cs (be_visitor_context *); - // ctor - - ~be_interpretive_visitor_operation_ami_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them - -}; - -class be_compiled_visitor_operation_ami_cs : public be_visitor_operation_ami_cs -{ - // - // = TITLE - // be_compiled_visitor_operation_ami_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // using compiled marshaling. - // - // -public: - be_compiled_visitor_operation_ami_cs (be_visitor_context *); - // ctor - - ~be_compiled_visitor_operation_ami_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_AMI_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ch.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ch.h deleted file mode 100644 index 2171d0ef62f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ch.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ch.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations in client header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_CH_H_ -#define _BE_VISITOR_OPERATION_OPERATION_CH_H_ - -// ************************************************************ -// Operation visitor for client header -// ************************************************************ - -class be_visitor_operation_ch : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for operation - // - // -public: - be_visitor_operation_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ch (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. - -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_cs.h deleted file mode 100644 index e8d029f8a35..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_cs.h +++ /dev/null @@ -1,126 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations in client stubs -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_CS_H_ -#define _BE_VISITOR_OPERATION_OPERATION_CS_H_ - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -class be_visitor_operation_cs : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // - // -public: - be_visitor_operation_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_cs (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. - - virtual int visit_argument (be_argument *node); - // visit argument to generate ParamData entries - - // = template methods - virtual int gen_pre_stub_info (be_operation *, be_type *) = 0; - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *) = 0; - // generate code that marshals the arguments and transmits them - - // =helper - virtual int post_process (be_decl *); - // stuff to output after every member of the scope is handled - - virtual int gen_raise_exception (be_type *, - const char * excep, - const char * status); - // helper that generates code for raising an exception - - virtual int gen_check_exception (be_type *); - // helper that generates code for checking for an exception - -}; - -// specialized visitors - -class be_interpretive_visitor_operation_cs : public be_visitor_operation_cs -{ - // - // = TITLE - // be_interpretive_visitor_operation_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // using interpretive marshaling. - // - // -public: - be_interpretive_visitor_operation_cs (be_visitor_context *); - // ctor - - ~be_interpretive_visitor_operation_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them - -}; - -class be_compiled_visitor_operation_cs : public be_visitor_operation_cs -{ - // - // = TITLE - // be_compiled_visitor_operation_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for operation - // using compiled marshaling. - // - // -public: - be_compiled_visitor_operation_cs (be_visitor_context *); - // ctor - - ~be_compiled_visitor_operation_cs (void); - // dtor - - virtual int gen_pre_stub_info (be_operation *, be_type *); - // generate any info before the actual code for the stub is generated - - virtual int gen_marshal_and_invoke (be_operation *, be_type *); - // generate code that marshals the arguments and transmits them - -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ih.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ih.h deleted file mode 100644 index 01b80ead8d6..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ih.h +++ /dev/null @@ -1,48 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ih.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations in implementation header -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_IH_H_ -#define _BE_VISITOR_OPERATION_OPERATION_IH_H_ - -// ************************************************************ -// Operation visitor for implementation header -// ************************************************************ - -class be_visitor_operation_ih : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_ih - // - // = DESCRIPTION - // This is a concrete visitor to generate the implementation header for operation - // - // -public: - be_visitor_operation_ih (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ih (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_IH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_is.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_is.h deleted file mode 100644 index 31743cdbba4..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_is.h +++ /dev/null @@ -1,48 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_is.cpp -// -// = DESCRIPTION -// Visitor for generating code for IDL operations in implementation skeleton -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_IS_CPP_ -#define _BE_VISITOR_OPERATION_OPERATION_IS_CPP_ - -// ************************************************************ -// Operation visitor for implementation skeleton -// ************************************************************ - -class be_visitor_operation_is : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_is - // - // = DESCRIPTION - // This is a concrete visitor to generate the implementation skeleton for operation - // - // -public: - be_visitor_operation_is (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_is (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_IS_CPP_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_sh.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_sh.h deleted file mode 100644 index d33d61533d8..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_sh.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_sh.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations in server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_SH_H_ -#define _BE_VISITOR_OPERATION_OPERATION_SH_H_ - -// ************************************************************ -// Operation visitor for server header -// ************************************************************ - -class be_visitor_operation_sh : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_sh - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for operation - // - // -public: - be_visitor_operation_sh (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_sh (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. - -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ss.h b/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ss.h deleted file mode 100644 index aac5af2ed74..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ss.h +++ /dev/null @@ -1,141 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// operation_ss.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations in server skeletons -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_OPERATION_SS_H_ -#define _BE_VISITOR_OPERATION_OPERATION_SS_H_ - -// ************************************************************ -// Operation visitor for server skeletons -// ************************************************************ - -class be_visitor_operation_ss : public be_visitor_operation -{ - // - // = TITLE - // be_visitor_operation_ss - // - // = DESCRIPTION - // This is a concrete visitor to generate the server skeletons for operation - // - // -public: - be_visitor_operation_ss (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_ss (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation. We provide code for this method in the derived class - - virtual int visit_argument (be_argument *node); - // visit argument to generate ParamData entries - - // template methods - - virtual int gen_pre_skel_info (be_operation *, be_type *) = 0; - // generate any pre skeleton code info - - virtual int gen_demarshal_params (be_operation *, be_type *) = 0; - // generate code for demarshaling incoming parameters - - virtual int gen_marshal_params (be_operation *, be_type *) = 0; - // generate code for marshaling outgoing parameters - - // = helper - virtual int post_process (be_decl *); - // stuff to output after every member of the scope is handled - - virtual int gen_raise_exception (be_type *, - const char * excep, - const char * status, - const char * env); - // helper that generates code for raising an exception - - virtual int gen_check_exception (be_type *, const char *env); - // helper that generates code for checking for an exception - -}; - -// concrete visitors - -class be_interpretive_visitor_operation_ss : public be_visitor_operation_ss -{ - // - // = TITLE - // be_interpretive_visitor_operation_ss - // - // = DESCRIPTION - // This is a concrete visitor to generate the server skeletons for - // operation using interpretive marshaling - // - // -public: - be_interpretive_visitor_operation_ss (be_visitor_context *ctx); - // constructor - - ~be_interpretive_visitor_operation_ss (void); - // destructor - - // template methods - - virtual int gen_pre_skel_info (be_operation *, be_type *); - // generate any pre skeleton code info - - virtual int gen_demarshal_params (be_operation *, be_type *); - // generate code for demarshaling incoming parameters - - virtual int gen_marshal_params (be_operation *, be_type *); - // generate code for marshaling outgoing parameters - -}; - -class be_compiled_visitor_operation_ss : public be_visitor_operation_ss -{ - // - // = TITLE - // be_compiled_visitor_operation_ss - // - // = DESCRIPTION - // This is a concrete visitor to generate the server skeletons for - // operation using compiled marshaling - // - // -public: - be_compiled_visitor_operation_ss (be_visitor_context *ctx); - // constructor - - ~be_compiled_visitor_operation_ss (void); - // destructor - - // template methods - - virtual int gen_pre_skel_info (be_operation *, be_type *); - // generate any pre skeleton code info - - virtual int gen_demarshal_params (be_operation *, be_type *); - // generate code for demarshaling incoming parameters - - virtual int gen_marshal_params (be_operation *, be_type *); - // generate code for marshaling outgoing parameters - -}; - -#endif /* _BE_VISITOR_OPERATION_OPERATION_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype.h deleted file mode 100644 index a5ed3483393..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype.h +++ /dev/null @@ -1,86 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the return -// type of the operation -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_H_ - -// *********************************************************************** -// Operation visitor for return types in the signature of the operation -// *********************************************************************** - -class be_visitor_operation_rettype : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_ch - // - // = DESCRIPTION - // This is a visitor to generate operation return types - // - // -public: - be_visitor_operation_rettype (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - - int visit_native (be_native *node); - // visit native type - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -# ifdef IDL_HAS_VALUETYPE - int visit_valuetype (be_valuetype *node); - int visit_valuetype_fwd (be_valuetype_fwd *node); -# endif /* IDL_HAS_VALUETYPE */ - -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_assign_ss.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_assign_ss.h deleted file mode 100644 index 26d943d55d5..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_assign_ss.h +++ /dev/null @@ -1,88 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_assign_ss.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the -// assignment of the return value of the upcall to the return type variabel -// inside the server-skeleton. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_ASSIGN_SS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_ASSIGN_SS_H_ - -// *********************************************************************** -// Operation visitor for assignment to return types in an upcall -// *********************************************************************** - -class be_visitor_operation_rettype_assign_ss : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_ch - // - // = DESCRIPTION - // This is a visitor to generate code that assigns to the return type - // variable in the upcall - // - // -public: - be_visitor_operation_rettype_assign_ss (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_assign_ss (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_ASSIGN_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_docall_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_docall_cs.h deleted file mode 100644 index bb7de8fe3ad..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_docall_cs.h +++ /dev/null @@ -1,79 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_docall_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the code -// for passing the return type variable to the docall -// made. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_DOCALL_CS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_DOCALL_CS_H_ - -// ************************************************************ -// Operation visitor for passing return variable to do_static_call -// ************************************************************ - -class be_visitor_operation_rettype_docall_cs :public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_docall_cs - // - // = DESCRIPTION - // This is a visitor to generate a variable declaration ofr an operation - // return type - // -public: - be_visitor_operation_rettype_docall_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_docall_cs (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_DOCALL_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_is.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_is.h deleted file mode 100644 index 1c2030b794a..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_is.h +++ /dev/null @@ -1,81 +0,0 @@ - -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the return -// type of the operation -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_IS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_IS_H_ - -// *********************************************************************** -// Operation visitor for return types in the signature of the operation -// *********************************************************************** - -class be_visitor_operation_rettype_is : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_ch - // - // = DESCRIPTION - // This is a visitor to generate operation return types - // - // -public: - be_visitor_operation_rettype_is (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_is (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - - int visit_native (be_native *node); - // visit native type - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_IS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_marshal_ss.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_marshal_ss.h deleted file mode 100644 index 845ddb5f6c1..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_marshal_ss.h +++ /dev/null @@ -1,87 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_marshal_ss.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the code -// for passing the return type variable to the marshaler. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_MARSHAL_SS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_MARSHAL_SSH_ - -// *********************************************************************** -// Operation visitor for passing return type to the marshal/demarshal routine -// inside the server skeleton -// *********************************************************************** - -class be_visitor_operation_rettype_marshal_ss : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_marshal_ss - // - // = DESCRIPTION - // This is a visitor to pass return type to the marshal/demarshal routines - // - // -public: - be_visitor_operation_rettype_marshal_ss (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_marshal_ss (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_MARSHAL_SSH_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_post_docall_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_post_docall_cs.h deleted file mode 100644 index 9129e0b86aa..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_post_docall_cs.h +++ /dev/null @@ -1,75 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_post_docall_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the code -// for post processing of the return type variable after the docall is -// made. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_POST_DOCALL_CS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_POST_DOCALL_CS_H_ - -// ************************************************************ -// Operation visitor for postprocessing after do_static_call is invoked -// ************************************************************ - -class be_visitor_operation_rettype_post_docall_cs :public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_psot_docall_cs - // - // = DESCRIPTION - // This is a visitor to generate any post processing after the do_static_call is - // made - // -public: - be_visitor_operation_rettype_post_docall_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_post_docall_cs (void); - // destructor - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node -}; - -// **************************************************************** - -class be_visitor_operation_compiled_rettype_post_docall : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_post_docall - // - // = DESCRIPTION - // This is a visitor for post processing after the invocation in - // compiled marshaling - // - // -public: - be_visitor_operation_compiled_rettype_post_docall (be_visitor_context *ctx); - // constructor - - int visit_array (be_array *node); - int visit_typedef (be_typedef *node); -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_POST_DOCALL_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_post_upcall_ss.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_post_upcall_ss.h deleted file mode 100644 index 3ba7eedbef3..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_post_upcall_ss.h +++ /dev/null @@ -1,100 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_post_upcall_ss.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the code -// for post processing of the return type variable after the upcall is -// made. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_POST_UPCALL_SS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_POST_UPCALL_SS_H_ - -// *********************************************************************** -// Operation visitor for post upcall processing of return types -// *********************************************************************** - -class be_visitor_operation_rettype_post_upcall_ss : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_post_upcall_ss - // - // = DESCRIPTION - // This is a visitor for post processing after an upcall - // - // -public: - be_visitor_operation_rettype_post_upcall_ss (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_post_upcall_ss (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -}; - -// **************************************************************** - -class be_visitor_operation_compiled_rettype_post_upcall : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_post_upcall - // - // = DESCRIPTION - // This is a visitor for post processing after an upcall in - // compiled marshaling - // - // -public: - be_visitor_operation_compiled_rettype_post_upcall (be_visitor_context *ctx); - // constructor - - int visit_array (be_array *node); - int visit_typedef (be_typedef *node); -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_POST_UPCALL_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_pre_docall_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_pre_docall_cs.h deleted file mode 100644 index 2a11b2cd605..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_pre_docall_cs.h +++ /dev/null @@ -1,73 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_pre_docall_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the code -// for pre processing of the return type variable before the docall is -// made. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_PRE_DOCALL_CS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_PRE_DOCALL_CS_H_ - -// ************************************************************ -// Operation visitor for preprocessing before do_static_call is invoked -// ************************************************************ - -class be_visitor_operation_rettype_pre_docall_cs :public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_pre_docall_cs - // - // = DESCRIPTION - // This is a visitor to generate any pre processing before the do_static_call is - // made - // -public: - be_visitor_operation_rettype_pre_docall_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_pre_docall_cs (void); - // destructor - - virtual int visit_array (be_array *node); - // visit an array node - - virtual int visit_interface (be_interface *node); - // visit an interface node - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - - virtual int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - virtual int visit_sequence (be_sequence *node); - // visit a sequence node - - virtual int visit_structure (be_structure *node); - // visit a structure node - - virtual int visit_typedef (be_typedef *node); - // visit a typedef node - - virtual int visit_union (be_union *node); - // visit a union node - -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_PRE_DOCALL_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_pre_invoke_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_pre_invoke_cs.h deleted file mode 100644 index 2abe28ed76f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_pre_invoke_cs.h +++ /dev/null @@ -1,56 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_pre_invoke_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the code -// for pre processing of the return type variable before the invoke is -// made. This one is for compiled marshaling stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_PRE_INVOKE_CS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_PRE_INVOKE_CS_H_ - -// ************************************************************ -// Operation visitor for preprocessing before invoke is invoked -// ************************************************************ - -class be_visitor_operation_rettype_pre_invoke_cs : - public be_visitor_operation_rettype_pre_docall_cs -{ - // - // = TITLE - // be_visitor_operation_rettype_pre_invoke_cs - // - // = DESCRIPTION - // This is a visitor to generate any pre processing before the do_static_call is - // made - // -public: - be_visitor_operation_rettype_pre_invoke_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_pre_invoke_cs (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit an interface node - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_PRE_INVOKE_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_return_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_return_cs.h deleted file mode 100644 index cd173c0cedb..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_return_cs.h +++ /dev/null @@ -1,86 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_return_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the return -// statement for returning the return type variable in the client stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_RETURN_CS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_CS_H_ - -// ************************************************************ -// Operation visitor for returning the return val -// ************************************************************ - -class be_visitor_operation_rettype_return_cs :public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_return_cs - // - // = DESCRIPTION - // This is a visitor to generate a variable declaration ofr an operation - // return type - // -public: - be_visitor_operation_rettype_return_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_return_cs (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_RETURN_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_vardecl_cs.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_vardecl_cs.h deleted file mode 100644 index 3b0d6613299..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_vardecl_cs.h +++ /dev/null @@ -1,86 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_vardecl_cs.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the return -// type variable declaration in the client side stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_VARDECL_CS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_VARDECL_CS_H_ - -// ************************************************************ -// Operation visitor for return type variable declaration -// ************************************************************ - -class be_visitor_operation_rettype_vardecl_cs :public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_vardecl_cs - // - // = DESCRIPTION - // This is a visitor to generate a variable declaration ofr an operation - // return type - // -public: - be_visitor_operation_rettype_vardecl_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_vardecl_cs (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_VARDECL_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_vardecl_ss.h b/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_vardecl_ss.h deleted file mode 100644 index 5adf69c8c89..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/rettype_vardecl_ss.h +++ /dev/null @@ -1,118 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// rettype_vardecl_ss.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations. This generates the return -// type variable declaration in the server side skeleton. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_RETTYPE_VARDECL_SS_H_ -#define _BE_VISITOR_OPERATION_RETTYPE_VARDECL_SS_H_ - -// ************************************************************ -// Operation visitor for return type variable declaration in the server -// skeleton -// ************************************************************ - -class be_visitor_operation_rettype_vardecl_ss :public be_visitor_decl -{ - // - // = TITLE - // be_visitor_operation_rettype_vardecl_ss - // - // = DESCRIPTION - // This is a visitor to generate a variable declaration ofr an operation - // return type in the server skeleton - // -public: - be_visitor_operation_rettype_vardecl_ss (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_rettype_vardecl_ss (void); - // destructor - - int visit_array (be_array *node); - // visit an array node - - int visit_enum (be_enum *node); - // visit an enum node - - int visit_interface (be_interface *node); - // visit an interface node - - int visit_interface_fwd (be_interface_fwd *node); - // visit an interface node - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward -#endif /* IDL_HAS_VALUETYPE */ - - int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - int visit_sequence (be_sequence *node); - // visit a sequence node - - int visit_string (be_string *node); - // visit a sequence node - - int visit_structure (be_structure *node); - // visit a structure node - - int visit_typedef (be_typedef *node); - // visit a typedef node - - int visit_union (be_union *node); - // visit a union node - -}; - -// ************************************************************ -// Operation visitor for return type variable declaration in the server -// skeleton using compiled marshaling. This one overrides 2 methods of the base -// class -// ************************************************************ - -class be_compiled_visitor_operation_rettype_vardecl_ss : - public be_visitor_operation_rettype_vardecl_ss -{ - // - // = TITLE - // be_compiled_visitor_operation_rettype_vardecl_ss - // - // = DESCRIPTION - // This is a visitor to generate a variable declaration ofr an operation - // return type in the server skeleton using compiled marshaling - // -public: - be_compiled_visitor_operation_rettype_vardecl_ss (be_visitor_context *ctx); - // constructor - - ~be_compiled_visitor_operation_rettype_vardecl_ss (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit an interface node - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit an interface fwd node -}; - -#endif /* _BE_VISITOR_OPERATION_RETTYPE_VARDECL_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/thru_poa_collocated_sh.h b/TAO/TAO_IDL/be_include/be_visitor_operation/thru_poa_collocated_sh.h deleted file mode 100644 index 26aa40394c6..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/thru_poa_collocated_sh.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// thru_poa_collocated_ch.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations for the thru_poa collocated case -// inside of the servant header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_THRU_POA_COLLOCATED_SH_H_ -#define _BE_VISITOR_OPERATION_THRU_POA_COLLOCATED_SH_H_ - -// ************************************************************ -// Operation visitor for server header in the thru_poa collocated class -// ************************************************************ - -class be_visitor_operation_thru_poa_collocated_sh : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_operation_thru_poa_collocated_sh - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for operation - // in the thru_poa collocated class - // - // -public: - be_visitor_operation_thru_poa_collocated_sh (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_thru_poa_collocated_sh (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation node. - -}; - -#endif /* _BE_VISITOR_OPERATION_THRU_POA_COLLOCATED_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/thru_poa_collocated_ss.h b/TAO/TAO_IDL/be_include/be_visitor_operation/thru_poa_collocated_ss.h deleted file mode 100644 index b6566b5a15c..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/thru_poa_collocated_ss.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// thru_poa_collocated_ss.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations for the thru_poa collocated case -// inside of the servant skeleton -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_THRU_POA_COLLOCATED_SS_H_ -#define _BE_VISITOR_OPERATION_THRU_POA_COLLOCATED_SS_H_ - -// ***************************************************************** -// Operation visitor for server skeletons for the thru_poa collocated class -// ***************************************************************** - -class be_visitor_operation_thru_poa_collocated_ss : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_operation_ss - // - // = DESCRIPTION - // This is a concrete visitor to generate the server skeletons for - // operation in the thru_poa collocated class - // - // -public: - be_visitor_operation_thru_poa_collocated_ss (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_thru_poa_collocated_ss (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation node. - - virtual int gen_invoke (be_visitor_context &ctx, be_operation *node); - // A helper method to generate operation invocation code. - - virtual int gen_check_exception (be_type *bt); - // ACE_CHECK macros generator. - - virtual int void_return_type (be_type *bt); - // is my return type void? -}; - -#endif /* _BE_VISITOR_OPERATION_THRU_POA_COLLOCATED_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/tie_sh.h b/TAO/TAO_IDL/be_include/be_visitor_operation/tie_sh.h deleted file mode 100644 index 14d0f2a4243..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/tie_sh.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// tie_sh.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations for the TIE class inside -// the server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_TIE_SH_H_ -#define _BE_VISITOR_OPERATION_TIE_SH_H_ - -// *********************************************************************** -// Operation visitor for operation declaration inside the TIE class -// *********************************************************************** - -class be_visitor_operation_tie_sh : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_operation_tie_sh - // - // = DESCRIPTION - // This is a concrete visitor to generate the operaton inside a TIE class - // - // -public: - be_visitor_operation_tie_sh (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_tie_sh (void); - // destructor - - virtual int visit_operation (be_operation *node); - // set the right context and make a visitor -}; - -#endif /* _BE_VISITOR_OPERATION_TIE_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/tie_si.h b/TAO/TAO_IDL/be_include/be_visitor_operation/tie_si.h deleted file mode 100644 index e38012009a7..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation/tie_si.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// tie_si.h -// -// = DESCRIPTION -// Visitor for generating code for IDL operations for the TIE class inside -// the server inline -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_OPERATION_TIE_SI_H_ -#define _BE_VISITOR_OPERATION_TIE_SI_H_ - -// *********************************************************************** -// Operation visitor for operation declaration inside the TIE class -// *********************************************************************** - -class be_visitor_operation_tie_si : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_operation_tie_ss - // - // = DESCRIPTION - // This is a concrete visitor to generate the operaton inside a TIE class - // - // -public: - be_visitor_operation_tie_si (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_tie_si (void); - // destructor - - virtual int visit_operation (be_operation *node); - // set the right context and make a visitor -}; - -#endif /* _BE_VISITOR_OPERATION_TIE_SI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root.h b/TAO/TAO_IDL/be_include/be_visitor_root.h deleted file mode 100644 index 6729b160008..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root.h +++ /dev/null @@ -1,40 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_root.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// -// = AUTHOR -// Aniruddha Gokhale and Carlos O'Ryan -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_ROOT_H -#define TAO_BE_VISITOR_ROOT_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" - -#include "be_visitor_root/root.h" -#include "be_visitor_root/root_ch.h" -#include "be_visitor_root/root_ci.h" -#include "be_visitor_root/root_cs.h" -#include "be_visitor_root/root_sh.h" -#include "be_visitor_root/root_si.h" -#include "be_visitor_root/root_ss.h" -#include "be_visitor_root/root_is.h" -#include "be_visitor_root/root_ih.h" -#include "be_visitor_root/any_op.h" -#include "be_visitor_root/cdr_op.h" - -#endif // TAO_BE_VISITOR_ROOT_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/any_op.h b/TAO/TAO_IDL/be_include/be_visitor_root/any_op.h deleted file mode 100644 index e7c0ea72c0c..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/any_op.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides code generation for the Any operators for elements of -// the Root scope. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_ANY_OP_H_ -#define _BE_VISITOR_ROOT_ANY_OP_H_ - -class be_visitor_root_any_op : public be_visitor_root -{ - // - // = TITLE - // be_visitor_root_any_op - // - // = DESCRIPTION - // This is a concrete visitor for root that generates the Any operator - // declarations and implementations - // - -public: - be_visitor_root_any_op (be_visitor_context *ctx); - // constructor - - ~be_visitor_root_any_op (void); - // destructor - - virtual int visit_root (be_root *node); - // visit root -}; - -#endif /* _BE_VISITOR_ROOT_ANY_OP_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/cdr_op.h b/TAO/TAO_IDL/be_include/be_visitor_root/cdr_op.h deleted file mode 100644 index 2df86ebcdfe..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/cdr_op.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides code generation for the CDR operators for elements of -// the Root scope. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_CDR_OP_H_ -#define _BE_VISITOR_ROOT_CDR_OP_H_ - -class be_visitor_root_cdr_op : public be_visitor_root -{ - // - // = TITLE - // be_visitor_root_cdr_op - // - // = DESCRIPTION - // This is a concrete visitor for root that generates the CDR operator - // declarations and implementations - // - -public: - be_visitor_root_cdr_op (be_visitor_context *ctx); - // constructor - - ~be_visitor_root_cdr_op (void); - // destructor - - virtual int visit_root (be_root *node); - // visit root -}; - -#endif /* _BE_VISITOR_ROOT_CDR_OP_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/root.h b/TAO/TAO_IDL/be_include/be_visitor_root/root.h deleted file mode 100644 index ded8bb0c11c..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/root.h +++ /dev/null @@ -1,89 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides the generic visitor for the Root node. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_ROOT_H_ -#define _BE_VISITOR_ROOT_ROOT_H_ - -class be_visitor_root : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_root - // - // = DESCRIPTION - // This is a concrete visitor for root that abstracts all common tasks - // - -public: - be_visitor_root (be_visitor_context *ctx); - // constructor - - ~be_visitor_root (void); - // destructor - - virtual int visit_root (be_root *node); - // visit root - - // =visit methods on all elements syntactically valid in a Root scope - - virtual int visit_constant (be_constant *node); - // visit a constant - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_exception (be_exception *node); - // visit an exception - - virtual int visit_interface (be_interface *node); - // visit an interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit an interface - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype_fwd -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_module (be_module *node); - // visit a module - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - - virtual int visit_typedef (be_typedef *node); - // visit the typedef node - - // =helper. This is used by derived clases to set the right context - - virtual int init (void); - // will be overridden by derived classes that set the appropriate context -}; - -#endif /* _BE_VISITOR_ROOT_ROOT_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/root_ch.h b/TAO/TAO_IDL/be_include/be_visitor_root/root_ch.h deleted file mode 100644 index c36cf7f5192..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/root_ch.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides code generation for elements of the Root node in the -// client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_ROOT_CH_H_ -#define _BE_VISITOR_ROOT_ROOT_CH_H_ - -class be_visitor_root_ch : public be_visitor_root -{ - // - // = TITLE - // be_visitor_root_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for root - // - // -public: - be_visitor_root_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_root_ch (void); - // destructor - - virtual int init (void); - // set the right context and make a visitor -}; - -#endif /* _BE_VISITOR_ROOT_ROOT_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/root_ci.h b/TAO/TAO_IDL/be_include/be_visitor_root/root_ci.h deleted file mode 100644 index e39eab1ac4f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/root_ci.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides code generation for elements of the Root node in the -// client inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_ROOT_CI_H_ -#define _BE_VISITOR_ROOT_ROOT_CI_H_ - -class be_visitor_root_ci : public be_visitor_root -{ - // - // = TITLE - // be_visitor_root_ci - // - // = DESCRIPTION - // This is a concrete visitor to generate the client inline for root - // - // -public: - be_visitor_root_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_root_ci (void); - // destructor - - virtual int init (void); - // set the right context and make a visitor -}; - -#endif /* _BE_VISITOR_ROOT_ROOT_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/root_cs.h b/TAO/TAO_IDL/be_include/be_visitor_root/root_cs.h deleted file mode 100644 index 64b5df10792..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/root_cs.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides code generation for elements of the Root node in the -// client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_ROOT_CS_H_ -#define _BE_VISITOR_ROOT_ROOT_CS_H_ - -class be_visitor_root_cs : public be_visitor_root -{ - // - // = TITLE - // be_visitor_root_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for root - // - // -public: - be_visitor_root_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_root_cs (void); - // destructor - - virtual int init (void); - // set the right context and make a visitor -}; - -#endif /* _BE_VISITOR_ROOT_ROOT_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/root_ih.h b/TAO/TAO_IDL/be_include/be_visitor_root/root_ih.h deleted file mode 100644 index fca8a7f32ab..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/root_ih.h +++ /dev/null @@ -1,47 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_ih.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides code generation for elements of the Root node in the -// implementation header. -// -// = AUTHOR -// Yamuna Krishnamurthy -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_ROOT_IH_H_ -#define _BE_VISITOR_ROOT_ROOT_IH_H_ - - - -class be_visitor_root_ih : public be_visitor_root -{ - // - // = TITLE - // be_visitor_root_ih - // - // = DESCRIPTION - // This is a concrete visitor to generate the implementation header for root - // - // -public: - be_visitor_root_ih (be_visitor_context *ctx); - // constructor - - ~be_visitor_root_ih (void); - // destructor - - virtual int init (void); - // set the right context and make a visitor -}; - -#endif /* _BE_VISITOR_ROOT_ROOT_IH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/root_is.h b/TAO/TAO_IDL/be_include/be_visitor_root/root_is.h deleted file mode 100644 index d39b16aeb8b..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/root_is.h +++ /dev/null @@ -1,45 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_is.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides code generation for elements of the Root node in the -// implementation skeletons. -// -// = AUTHOR -// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_ROOT_IS_H_ -#define _BE_VISITOR_ROOT_ROOT_IS_H_ - -class be_visitor_root_is : public be_visitor_root -{ - // - // = TITLE - // be_visitor_root_is - // - // = DESCRIPTION - // This is a concrete visitor to generate the implementation skeletons for root - // - // -public: - be_visitor_root_is (be_visitor_context *ctx); - // constructor - - ~be_visitor_root_is (void); - // destructor - - virtual int init (void); - // set the right context and make a visitor -}; - -#endif /* _BE_VISITOR_ROOT_ROOT_IS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/root_sh.h b/TAO/TAO_IDL/be_include/be_visitor_root/root_sh.h deleted file mode 100644 index d1c42ca580e..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/root_sh.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_sh.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides code generation for elements of the Root node in the -// server header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_ROOT_SH_H_ -#define _BE_VISITOR_ROOT_ROOT_SH_H_ - -class be_visitor_root_sh : public be_visitor_root -{ - // - // = TITLE - // be_visitor_root_sh - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for root - // - // -public: - be_visitor_root_sh (be_visitor_context *ctx); - // constructor - - ~be_visitor_root_sh (void); - // destructor - - virtual int init (void); - // set the right context and make a visitor -}; - -#endif /* _BE_VISITOR_ROOT_ROOT_SH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/root_si.h b/TAO/TAO_IDL/be_include/be_visitor_root/root_si.h deleted file mode 100644 index b615a08d69d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/root_si.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_si.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides code generation for elements of the Root node in the -// server inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_ROOT_SI_H_ -#define _BE_VISITOR_ROOT_ROOT_SI_H_ - -class be_visitor_root_si : public be_visitor_root -{ - // - // = TITLE - // be_visitor_root_si - // - // = DESCRIPTION - // This is a concrete visitor to generate the server inline for root - // - // -public: - be_visitor_root_si (be_visitor_context *ctx); - // constructor - - ~be_visitor_root_si (void); - // destructor - - virtual int init (void); - // set the right context and make a visitor -}; - -#endif /* _BE_VISITOR_ROOT_ROOT_SI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_root/root_ss.h b/TAO/TAO_IDL/be_include/be_visitor_root/root_ss.h deleted file mode 100644 index 0c75d137122..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root/root_ss.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_ss.h -// -// = DESCRIPTION -// Concrete visitor for the Root class -// This one provides code generation for elements of the Root node in the -// server skeletons. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_ROOT_ROOT_SS_H_ -#define _BE_VISITOR_ROOT_ROOT_SS_H_ - -class be_visitor_root_ss : public be_visitor_root -{ - // - // = TITLE - // be_visitor_root_ss - // - // = DESCRIPTION - // This is a concrete visitor to generate the server skeletons for root - // - // -public: - be_visitor_root_ss (be_visitor_context *ctx); - // constructor - - ~be_visitor_root_ss (void); - // destructor - - virtual int init (void); - // set the right context and make a visitor -}; - -#endif /* _BE_VISITOR_ROOT_ROOT_SS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_scope.h b/TAO/TAO_IDL/be_include/be_visitor_scope.h deleted file mode 100644 index 095dee0ae32..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_scope.h +++ /dev/null @@ -1,68 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_scope.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Scope" node -// -// = AUTHOR -// Aniruddha Gokhale and Carlos O'Ryan -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_SCOPE_H -#define TAO_BE_VISITOR_SCOPE_H - -#include "be_visitor.h" -#include "be_visitor_decl.h" - -class be_visitor_scope : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_scope - // - // = DESCRIPTION - // This is a concrete visitor for the be_scope node. Its only purpose is to - // iterate over the elements of the scope - // -public: - be_visitor_scope (be_visitor_context *ctx); - // constructor - - ~be_visitor_scope (void); - // destructor - - int visit_scope (be_scope *node); - // visit scope - - virtual int post_process (be_decl *); - // do any processing after every element except the last one of the scope is - // processed - - virtual int pre_process (be_decl *); - // do any processing prior to processing the element in the scope - - virtual int elem_number (void); - // return the element number that is being processed - - virtual int next_elem (be_decl *elem, be_decl *&); - // get the successor to elem - - virtual idl_bool last_node (be_decl *bd); - // Is bd the last node in the scope - -protected: - int elem_number_; -}; - - -#endif // TAO_BE_VISITOR_SCOPE_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence.h b/TAO/TAO_IDL/be_include/be_visitor_sequence.h deleted file mode 100644 index 07588e9428a..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence.h +++ /dev/null @@ -1,25 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -#ifndef TAO_BE_VISITOR_SEQUENCE_H -#define TAO_BE_VISITOR_SEQUENCE_H - -#include "be_visitor_decl.h" - -#include "be_visitor_sequence/sequence_ch.h" -#include "be_visitor_sequence/sequence_ci.h" -#include "be_visitor_sequence/sequence_cs.h" -// =helper visitors to generate the base type and element type -#include "be_visitor_sequence/sequence_base.h" -#include "be_visitor_sequence/buffer_type.h" -#include "be_visitor_sequence/elemtype.h" -// = any operators -#include "be_visitor_sequence/any_op_ch.h" -#include "be_visitor_sequence/any_op_cs.h" -#include "be_visitor_sequence/cdr_op_ch.h" -#include "be_visitor_sequence/cdr_op_ci.h" -#include "be_visitor_sequence/cdr_op_cs.h" - -#endif /* TAO_BE_VISITOR_SEQUENCE_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/any_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/any_op_ch.h deleted file mode 100644 index 71cc3bf65c5..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/any_op_ch.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Sequence class -// This one provides code generation for the Any operators for the Sequence -// node in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_ANY_OP_CH_H_ -#define _BE_VISITOR_SEQUENCE_ANY_OP_CH_H_ - -class be_visitor_sequence_any_op_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_any_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for sequence that generates the Any operator - // declarations - // - -public: - be_visitor_sequence_any_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_sequence_any_op_ch (void); - // destructor - - virtual int visit_sequence (be_sequence *node); - // visit sequence -}; - -#endif /* _BE_VISITOR_SEQUENCE_ANY_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/any_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/any_op_cs.h deleted file mode 100644 index fdb3e422d14..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/any_op_cs.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Sequence class -// This one provides code generation for the Sequence node in the client -// header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_ANY_OP_CS_H_ -#define _BE_VISITOR_SEQUENCE_ANY_OP_CS_H_ - -class be_visitor_sequence_any_op_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_any_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for sequence that generates the Any operator - // implementations - // - -public: - be_visitor_sequence_any_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_sequence_any_op_cs (void); - // destructor - - virtual int visit_sequence (be_sequence *node); - // visit sequence -}; - -#endif /* _BE_VISITOR_SEQUENCE_ANY_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/buffer_type.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/buffer_type.h deleted file mode 100644 index 1fe1880f3dd..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/buffer_type.h +++ /dev/null @@ -1,63 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// buffer_type.h -// -// = DESCRIPTION -// Concrete visitor for the Sequence class -// This one provides code generation for the buffer type of the Sequence -// node. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_BUFFER_TYPE_H_ -#define _BE_VISITOR_SEQUENCE_BUFFER_TYPE_H_ - -class be_visitor_sequence_buffer_type : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_buffer_type - // - // = DESCRIPTION - // This is a concrete visitor to generate the buffer type - // for a TAO_*_Sequence instantiation. - // -public: - be_visitor_sequence_buffer_type (be_visitor_context *ctx); - // Constructor - - ~be_visitor_sequence_buffer_type (void); - // destructor - - // = Visitor methods. - virtual int visit_predefined_type (be_predefined_type *node); - virtual int visit_interface (be_interface *node); - virtual int visit_interface_fwd (be_interface_fwd *node); - virtual int visit_structure (be_structure *node); - virtual int visit_enum (be_enum *node); - virtual int visit_exception (be_exception *node); - virtual int visit_union (be_union *node); - virtual int visit_array (be_array *node); - virtual int visit_string (be_string *node); - virtual int visit_sequence (be_sequence *node); - virtual int visit_typedef (be_typedef *node); - -protected: - int visit_node (be_type *); - // helper that does the common job - -}; - -#endif /* _BE_VISITOR_SEQUENCE_BUFFER_TYPE_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_ch.h deleted file mode 100644 index ca3f1b85856..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_ch.h +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Sequence class -// This one provides code generation for the CDR operators for the sequence -// in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_CDR_OP_CH_H_ -#define _BE_VISITOR_SEQUENCE_CDR_OP_CH_H_ - -class be_visitor_sequence_cdr_op_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for sequence that generates the CDR operator - // declarations - // - -public: - be_visitor_sequence_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_sequence_cdr_op_ch (void); - // destructor - - virtual int visit_sequence (be_sequence *node); - // visit sequence - -}; - -#endif /* _BE_VISITOR_SEQUENCE_CDR_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_ci.h deleted file mode 100644 index a2c4b394a6d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_ci.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.h -// -// = DESCRIPTION -// Visitors for generation of code for Sequences in client stubs. This one -// generates the CDR operators. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_CDR_OP_CI_H_ -#define _BE_VISITOR_SEQUENCE_CDR_OP_CI_H_ - -// ************************************************************ -// class be_visitor_sequence_cs -// ************************************************************ - -class be_visitor_sequence_cdr_op_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for sequence that generates the CDR operator - // implementations - // - -public: - be_visitor_sequence_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_sequence_cdr_op_ci (void); - // destructor - - virtual int visit_sequence (be_sequence *node); - // visit sequence -}; - -#endif /* _BE_VISITOR_SEQUENCE_CDR_OP_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_cs.h deleted file mode 100644 index 1a36b175013..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/cdr_op_cs.h +++ /dev/null @@ -1,86 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_cs.h -// -// = DESCRIPTION -// Visitors for generation of code for Sequences in client stubs. This one -// generates the CDR operators. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_CDR_OP_CS_H_ -#define _BE_VISITOR_SEQUENCE_CDR_OP_CS_H_ - -// ************************************************************ -// class be_visitor_sequence_cs -// ************************************************************ - -class be_visitor_sequence_cdr_op_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_cdr_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for sequence that generates the CDR operator - // implementations - // - -public: - be_visitor_sequence_cdr_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_sequence_cdr_op_cs (void); - // destructor - - virtual int visit_sequence (be_sequence *node); - // visit sequence - - // = Visitor methods on sequence types - - virtual int visit_array (be_array *node); - // visit sequence - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_interface (be_interface *node); - // visit an interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit an interface forward node - - virtual int visit_predefined_type (be_predefined_type *node); - // visit a predefined type node - - virtual int visit_string (be_string *node); - // visit string - - virtual int visit_structure (be_structure *node); - // visit structure - - virtual int visit_typedef (be_typedef *node); - // visit typedef - - virtual int visit_union (be_union *node); - // visit union - -protected: - - int visit_node (be_type *); - // helper that does the common job - -}; - -#endif /* _BE_VISITOR_SEQUENCE_CDR_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/elemtype.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/elemtype.h deleted file mode 100644 index c307db5fa6e..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/elemtype.h +++ /dev/null @@ -1,66 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// elemtype.h -// -// = DESCRIPTION -// Concrete visitor for the Sequence class -// This one provides code generation for the element type returned by the [] -// operators for the Sequence node. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_ELEMTYPE_H_ -#define _BE_VISITOR_SEQUENCE_ELEMTYPE_H_ - -class be_visitor_sequence_elemtype : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_elemtype - // - // = DESCRIPTION - // This is a concrete visitor to generate the return type for the - // [] operators - // - // = NOTES - // This class may eventually go away when the _var and _out classes are - // generated using templates -public: - be_visitor_sequence_elemtype (be_visitor_context *ctx); - // Constructor - - ~be_visitor_sequence_elemtype (void); - // destructor - - // = Visitors - virtual int visit_predefined_type (be_predefined_type *node); - virtual int visit_interface (be_interface *node); - virtual int visit_interface_fwd (be_interface_fwd *node); - virtual int visit_structure (be_structure *node); - virtual int visit_enum (be_enum *node); - virtual int visit_exception (be_exception *node); - virtual int visit_union (be_union *node); - virtual int visit_array (be_array *node); - virtual int visit_sequence (be_sequence *node); - virtual int visit_typedef (be_typedef *node); - virtual int visit_string (be_string *node); - -protected: - int visit_node (be_type *); - // helper that does the common job - -}; - -#endif /* _BE_VISITOR_SEQUENCE_ELEMTYPE_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_base.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_base.h deleted file mode 100644 index ecccc19f8a7..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_base.h +++ /dev/null @@ -1,95 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// sequence_base.h -// -// = DESCRIPTION -// Concrete visitor for the Sequence class -// This one provides code generation for the base typ of the Sequence node. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_SEQUENCE_BASE_H_ -#define _BE_VISITOR_SEQUENCE_SEQUENCE_BASE_H_ - -class be_visitor_sequence_base : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_base - // - // = DESCRIPTION - // This is a concrete visitor to generate the template parameters - // for a TAO_*_Sequence instantiation. - // - // = BUGS - // The class name is misleading, eventually this class could be - // used to generate code in other files, not only the client - // header. - // The visitor factory should provide a factory method that builds - // this class on the fly. - // -public: - be_visitor_sequence_base (be_visitor_context *ctx); - // Constructor - - ~be_visitor_sequence_base (void); - // destructor - - // = Visitor methods. - virtual int visit_predefined_type (be_predefined_type *node); - virtual int visit_interface (be_interface *node); - virtual int visit_interface_fwd (be_interface_fwd *node); - virtual int visit_structure (be_structure *node); - virtual int visit_enum (be_enum *node); - virtual int visit_exception (be_exception *node); - virtual int visit_union (be_union *node); - virtual int visit_array (be_array *node); - virtual int visit_string (be_string *node); - virtual int visit_sequence (be_sequence *node); - virtual int visit_typedef (be_typedef *node); - -protected: - int visit_node (be_type *); - // helper that does the common job - -}; - -class be_visitor_sequence_base_template_args: public be_visitor_sequence_base -{ - // - // =TITLE - // be_visitor_sequnce_base_template_args - // - // =Description - // This is a derived class just used to override the method - // visit_interface that generates the arguments for the - // templates. This is necessary as the same visitor was being used - // by the idl compiler to generate the template arguments and the - // return arguments for some of the methods. -public: - be_visitor_sequence_base_template_args (be_visitor_context *ctx, - be_sequence *node ); - - ~be_visitor_sequence_base_template_args (void); - //Dtor - - //= Visit methods - virtual int visit_interface (be_interface *node); - - virtual int visit_predefined_type (be_predefined_type *node); -private: - be_sequence *beseq_; -}; -#endif /* _BE_VISITOR_SEQUENCE_SEQUENCE_BASE_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_ch.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_ch.h deleted file mode 100644 index 5dd18112fd8..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_ch.h +++ /dev/null @@ -1,75 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// sequence_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Sequence class -// This one provides code generation for the Sequence node in the client -// header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_SEQUENCE_CH_H_ -#define _BE_VISITOR_SEQUENCE_SEQUENCE_CH_H_ - -class be_visitor_sequence_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for - // sequences - // -public: - be_visitor_sequence_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_sequence_ch (void); - // destructor - - virtual int visit_sequence (be_sequence *node); - // visit sequence node - - virtual int gen_unbounded_sequence (be_sequence *node); - // generate a instance of the unbounded sequence - - virtual int gen_bounded_sequence (be_sequence *node); - // generate a instance of the bounded sequence - - virtual int gen_unbounded_obj_sequence (be_sequence *node); - // generate a instance of the unbounded object sequence - - virtual int gen_bounded_obj_sequence (be_sequence *node); - // generate a instance of the bounded object sequence - - virtual int gen_bounded_str_sequence (be_sequence *node); - // generate a instance of the bounded string sequence - - virtual int instantiate_sequence (be_sequence *node); - // determine which sequence to instantiate - - virtual int gen_base_sequence_class (be_sequence *node); - // generate the base sequence class - - virtual int gen_var_defn (be_sequence *node); - // generate the var defn - - virtual int gen_out_defn (be_sequence *node); - // generate the out defn -}; - -#endif /* _BE_VISITOR_SEQUENCE_SEQUENCE_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_ci.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_ci.h deleted file mode 100644 index 076f5120ed5..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_ci.h +++ /dev/null @@ -1,73 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// sequence_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Sequence class -// This one provides code generation for the Sequence node in the client -// inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_SEQUENCE_CI_H_ -#define _BE_VISITOR_SEQUENCE_SEQUENCE_CI_H_ - -class be_visitor_sequence_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_ci - // - // = DESCRIPTION - // This is a concrete visitor to generate the client inline for - // sequences. The only purpose is to generate the implementation for the - // _var and _out classes - // -public: - be_visitor_sequence_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_sequence_ci (void); - // destructor - - virtual int visit_sequence (be_sequence *node); - // visit sequence node - - virtual int gen_unbounded_sequence (be_sequence *node); - // generate a instance of the unbounded sequence - - virtual int gen_bounded_sequence (be_sequence *node); - // generate a instance of the bounded sequence - - virtual int gen_unbounded_obj_sequence (be_sequence *node); - // generate a instance of the unbounded object sequence - - virtual int gen_bounded_obj_sequence (be_sequence *node); - // generate a instance of the bounded object sequence - - virtual int gen_bounded_str_sequence (be_sequence *node); - // generate a instance of the bounded string sequence - - virtual int instantiate_sequence (be_sequence *node); - // determine which sequence to instantiate - - virtual int gen_var_impl (be_sequence *node); - // generate the var impl - - virtual int gen_out_impl (be_sequence *node); - // generate the out impl -}; - -#endif /* _BE_VISITOR_SEQUENCE_SEQUENCE_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_cs.h b/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_cs.h deleted file mode 100644 index 883ee478a61..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence/sequence_cs.h +++ /dev/null @@ -1,69 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// sequence_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Sequence class -// This one provides code generation for the Sequence node in the client -// stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_SEQUENCE_SEQUENCE_CS_H_ -#define _BE_VISITOR_SEQUENCE_SEQUENCE_CS_H_ - -class be_visitor_sequence_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_sequence_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for - // sequences - // -public: - be_visitor_sequence_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_sequence_cs (void); - // destructor - - virtual int visit_sequence (be_sequence *node); - // visit sequence node - - virtual int gen_unbounded_sequence (be_sequence *node); - // generate a instance of the unbounded sequence - - virtual int gen_bounded_sequence (be_sequence *node); - // generate a instance of the bounded sequence - - virtual int gen_unbounded_obj_sequence (be_sequence *node); - // generate a instance of the unbounded object sequence - - virtual int gen_bounded_obj_sequence (be_sequence *node); - // generate a instance of the bounded object sequence - - virtual int gen_bounded_str_sequence (be_sequence *node); - // generate a instance of the bounded string sequence - - virtual int instantiate_sequence (be_sequence *node); - // determine which sequence to instantiate - - virtual int gen_base_sequence_class (be_sequence *node); - // generate the base sequence class -}; - -#endif /* _BE_VISITOR_SEQUENCE_SEQUENCE_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_structure.h b/TAO/TAO_IDL/be_include/be_visitor_structure.h deleted file mode 100644 index b3decadc89e..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure.h +++ /dev/null @@ -1,40 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_structure.h -// -// = DESCRIPTION -// Concrete visitor for the Structure class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_STRUCTURE_H -#define TAO_BE_VISITOR_STRUCTURE_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" - -// generic visitor -#include "be_visitor_structure/structure.h" -// concrete visitors -#include "be_visitor_structure/structure_ch.h" -#include "be_visitor_structure/structure_ci.h" -#include "be_visitor_structure/structure_cs.h" -#include "be_visitor_structure/any_op_ch.h" -#include "be_visitor_structure/any_op_cs.h" -#include "be_visitor_structure/cdr_op_ch.h" -#include "be_visitor_structure/cdr_op_ci.h" -#include "be_visitor_structure/cdr_op_cs.h" - -#endif // TAO_BE_VISITOR_STRUCTURE_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_structure/any_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_structure/any_op_ch.h deleted file mode 100644 index 935a74aedc8..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure/any_op_ch.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Structure class -// This one provides code generation for the Any operators for the structure -// in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_STRUCTURE_ANY_OP_CH_H_ -#define _BE_VISITOR_STRUCTURE_ANY_OP_CH_H_ - -class be_visitor_structure_any_op_ch : public be_visitor_structure -{ - // - // = TITLE - // be_visitor_structure_any_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for structure that generates the Any operator - // declarations - // - -public: - be_visitor_structure_any_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_structure_any_op_ch (void); - // destructor - - virtual int visit_structure (be_structure *node); - // visit structure - - virtual int visit_field (be_field *node); - // visit field -}; - -#endif /* _BE_VISITOR_STRUCTURE_ANY_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_structure/any_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_structure/any_op_cs.h deleted file mode 100644 index 65829b3ff15..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure/any_op_cs.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Structure class -// This one provides code generation for the Any operators for the structure -// in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_STRUCTURE_ANY_OP_CS_H_ -#define _BE_VISITOR_STRUCTURE_ANY_OP_CS_H_ - -class be_visitor_structure_any_op_cs : public be_visitor_structure -{ - // - // = TITLE - // be_visitor_structure_any_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for structure that generates the Any operator - // implementations - // - -public: - be_visitor_structure_any_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_structure_any_op_cs (void); - // destructor - - virtual int visit_structure (be_structure *node); - // visit structure - - virtual int visit_field (be_field *node); - // visit field -}; - -#endif /* _BE_VISITOR_STRUCTURE_ANY_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_ch.h deleted file mode 100644 index 4c082357b19..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_ch.h +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Structure class -// This one provides code generation for the CDR operators for the structure -// in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_STRUCTURE_CDR_OP_CH_H_ -#define _BE_VISITOR_STRUCTURE_CDR_OP_CH_H_ - -class be_visitor_structure_cdr_op_ch : public be_visitor_structure -{ - // - // = TITLE - // be_visitor_structure_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for structure that generates the CDR operator - // declarations - // - -public: - be_visitor_structure_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_structure_cdr_op_ch (void); - // destructor - - virtual int visit_structure (be_structure *node); - // visit structure - -}; - -#endif /* _BE_VISITOR_STRUCTURE_CDR_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_ci.h deleted file mode 100644 index c321ed901e3..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_ci.h +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Structure class -// This one provides code generation for the CDR operators for the structure -// in the client stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_STRUCTURE_CDR_OP_CI_H_ -#define _BE_VISITOR_STRUCTURE_CDR_OP_CI_H_ - -class be_visitor_structure_cdr_op_ci : public be_visitor_structure -{ - // - // = TITLE - // be_visitor_structure_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for structure that generates the CDR operator - // implementations - // - -public: - be_visitor_structure_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_structure_cdr_op_ci (void); - // destructor - - virtual int visit_structure (be_structure *node); - // visit structure - - virtual int post_process (be_decl *); - // any post processing that needs to be done after a scope element is handled - -}; - -#endif /* _BE_VISITOR_STRUCTURE_CDR_OP_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_cs.h deleted file mode 100644 index 1eb8f78d32a..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure/cdr_op_cs.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Structure class -// This one provides code generation for the CDR operators for the structure -// in the client stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_STRUCTURE_CDR_OP_CS_H_ -#define _BE_VISITOR_STRUCTURE_CDR_OP_CS_H_ - -class be_visitor_structure_cdr_op_cs : public be_visitor_structure -{ - // - // = TITLE - // be_visitor_structure_cdr_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for structure that generates the CDR operator - // implementations - // - -public: - be_visitor_structure_cdr_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_structure_cdr_op_cs (void); - // destructor - - virtual int visit_structure (be_structure *node); - // visit structure -}; - -#endif /* _BE_VISITOR_STRUCTURE_CDR_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_structure/structure.h b/TAO/TAO_IDL/be_include/be_visitor_structure/structure.h deleted file mode 100644 index 01a64e3f342..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure/structure.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// structure.h -// -// = DESCRIPTION -// Concrete visitor for the STRUCTURE class -// This one provides the generic visitor for the Structure node. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_STRUCTURE_STRUCTURE_H_ -#define _BE_VISITOR_STRUCTURE_STRUCTURE_H_ - -class be_visitor_structure : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_structure - // - // = DESCRIPTION - // This is the base visitor for structure - // - // -public: - be_visitor_structure (be_visitor_context *ctx); - // constructureor - - ~be_visitor_structure (void); - // destructureor - - virtual int visit_structure (be_structure *node); - // visit structure. We provide code for this method in the derived class - - // =visit operations on syntactically valid elements in our scope - - virtual int visit_field (be_field *node); - // visit field -}; - -#endif /* _BE_VISITOR_STRUCTURE_STRUCTURE_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_structure/structure_ch.h b/TAO/TAO_IDL/be_include/be_visitor_structure/structure_ch.h deleted file mode 100644 index 1ec6f9d6ccb..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure/structure_ch.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// structure_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Structure class -// This one provides code generation for the structure in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_STRUCTURE_STRUCTURE_CH_H_ -#define _BE_VISITOR_STRUCTURE_STRUCTURE_CH_H_ - -class be_visitor_structure_ch : public be_visitor_structure -{ - // - // = TITLE - // be_visitor_structure_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for structure - // - // -public: - be_visitor_structure_ch (be_visitor_context *ctx); - // constructureor - - ~be_visitor_structure_ch (void); - // destructureor - - virtual int visit_structure (be_structure *node); - // visit structure. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_STRUCTURE_STRUCTURE_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_structure/structure_ci.h b/TAO/TAO_IDL/be_include/be_visitor_structure/structure_ci.h deleted file mode 100644 index 8665832e078..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure/structure_ci.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// structure_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Structure class -// This one provides code generation for the structure in the client inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_STRUCTURE_STRUCTURE_CI_H_ -#define _BE_VISITOR_STRUCTURE_STRUCTURE_CI_H_ - -class be_visitor_structure_ci : public be_visitor_structure -{ - // - // = TITLE - // be_visitor_structure_ci - // - // = DESCRIPTION - // This is a concrete visitor to generate the client inline for structure - // - // -public: - be_visitor_structure_ci (be_visitor_context *ctx); - // constructureor - - ~be_visitor_structure_ci (void); - // destructureor - - virtual int visit_structure (be_structure *node); - // visit structure. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_STRUCTURE_STRUCTURE_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_structure/structure_cs.h b/TAO/TAO_IDL/be_include/be_visitor_structure/structure_cs.h deleted file mode 100644 index bf4adfa0000..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure/structure_cs.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// structure_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Structure class -// This one provides code generation for the structure in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_STRUCTURE_STRUCTURE_CS_H_ -#define _BE_VISITOR_STRUCTURE_STRUCTURE_CS_H_ - -class be_visitor_structure_cs : public be_visitor_structure -{ - // - // = TITLE - // be_visitor_structure_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for structure - // - // -public: - be_visitor_structure_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_structure_cs (void); - // destructor - - virtual int visit_structure (be_structure *node); - // visit structure. - -}; - -#endif /* _BE_VISITOR_STRUCTURE_STRUCTURE_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typecode.h b/TAO/TAO_IDL/be_include/be_visitor_typecode.h deleted file mode 100644 index c6d623cf5a0..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typecode.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_typecode.h -// -// = DESCRIPTION -// Concrete visitor to generate code for TypeCodes -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_TYPECODE_H -#define TAO_BE_VISITOR_TYPECODE_H - -#include "be_visitor_decl.h" -#include "be_visitor_scope.h" - -#include "be_visitor_typecode/typecode_decl.h" -#include "be_visitor_typecode/typecode_defn.h" - - -#endif /* TAO_BE_VISITOR_TYPECODE_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_decl.h b/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_decl.h deleted file mode 100644 index 85e3f6bcea4..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_decl.h +++ /dev/null @@ -1,74 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typecode_decl.h -// -// = DESCRIPTION -// Concrete visitor for the generation of TypeCodes. -// This one generates the declaration. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPECODE_TYPECODE_DECL_H_ -#define _BE_VISITOR_TYPECODE_TYPECODE_DECL_H_ - -class be_visitor_typecode_decl : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_typecode_decl - // - // = DESCRIPTION - // This is a concrete visitor for generating TypeCode declarations - // - -public: - be_visitor_typecode_decl (be_visitor_context *ctx); - // constructor - - ~be_visitor_typecode_decl (void); - // destructor - - virtual int visit_type (be_type *node); - // visit a generic be_type node - - // =visit methods on all types. They call the generic visit_type - - virtual int visit_array (be_array *node); - // visit a array - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_exception (be_exception *node); - // visit an enum - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_typedef (be_typedef *node); - // visit a typedef - - virtual int visit_union (be_union *node); - // visit a union - -}; - -#endif /* _BE_VISITOR_TYPECODE_TYPECODE_DECL_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h b/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h deleted file mode 100644 index 601300e9703..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h +++ /dev/null @@ -1,288 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typecode_defn.h -// -// = DESCRIPTION -// Concrete visitor for the generation of TypeCodes. -// This one generates the definitions. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPECODE_TYPECODE_DEFN_H_ -#define _BE_VISITOR_TYPECODE_TYPECODE_DEFN_H_ - -#include "be_visitor_scope.h" - -const int TAO_BE_VISITOR_TYPECODE_DEFN_MAX_STACK_SIZE = 1024; - -class be_visitor_typecode_defn : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_typecode_defn - // - // = DESCRIPTION - // This is a concrete visitor for generating TypeCode definitions - // - -public: - be_visitor_typecode_defn (be_visitor_context *ctx); - // constructor - - ~be_visitor_typecode_defn (void); - // destructor - - virtual int visit_type (be_type *node); - // visit a generic be_type node - - // =visit methods on all types. They call the generic visit_type - - virtual int visit_array (be_array *node); - // visit a array - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_exception (be_exception *node); - // visit an enum - - virtual int visit_interface (be_interface *node); - // visit interface - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined types - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_string (be_string *node); - // visit a structure - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_typedef (be_typedef *node); - // visit a typedef - - virtual int visit_union (be_union *node); - // visit a union - - // = visit methods for the scope elements - - virtual int visit_enum_val (be_enum_val *node); - // visit the enumeration values - - virtual int visit_field (be_field *node); - // visit the field (struct and exception member) - - virtual int visit_union_branch (be_union_branch *node); - // visit the union member - - // = special methods - - virtual int gen_nested_namespace_begin (be_module *node); - // generate the nested namespace begins - - virtual int gen_nested_namespace_end (be_module *node); - // generate the nested namespace ends - - // = methods for generating typecodes - - int gen_typecode (be_array *node); - - int gen_typecode (be_enum *node); - - int gen_typecode (be_exception *node); - - int gen_typecode (be_interface *node); - - int gen_typecode (be_interface_fwd *node); - - int gen_typecode (be_predefined_type *node); - - int gen_typecode (be_sequence *node); - - int gen_typecode (be_string *node); - - int gen_typecode (be_structure *node); - - int gen_typecode (be_typedef *node); - - int gen_typecode (be_union *node); - - // = methods to generate encapsulations for typecodes - - int gen_encapsulation (be_array *node); - - int gen_encapsulation (be_enum *node); - - int gen_encapsulation (be_enum_val *node); - - int gen_encapsulation (be_exception *node); - - int gen_encapsulation (be_field *node); - - int gen_encapsulation (be_interface *node); - - int gen_encapsulation (be_interface_fwd *node); - - int gen_encapsulation (be_predefined_type *node); - - int gen_encapsulation (be_sequence *node); - - int gen_encapsulation (be_string *node); - - int gen_encapsulation (be_structure *node); - - int gen_encapsulation (be_typedef *node); - - int gen_encapsulation (be_union *node); - - int gen_encapsulation (be_union_branch *node); - - // = methods for computing typecode sizes - - ACE_CDR::Long compute_tc_size (be_array *node); - - ACE_CDR::Long compute_tc_size (be_enum *node); - - ACE_CDR::Long compute_tc_size (be_exception *node); - - ACE_CDR::Long compute_tc_size (be_interface *node); - - ACE_CDR::Long compute_tc_size (be_interface_fwd *node); - - ACE_CDR::Long compute_tc_size (be_predefined_type *node); - - ACE_CDR::Long compute_tc_size (be_sequence *node); - - ACE_CDR::Long compute_tc_size (be_string *node); - - ACE_CDR::Long compute_tc_size (be_structure *node); - - ACE_CDR::Long compute_tc_size (be_typedef *node); - - ACE_CDR::Long compute_tc_size (be_union *node); - - // methods for computing the encapsulation length - - ACE_CDR::Long compute_encap_length (be_array *node); - - ACE_CDR::Long compute_encap_length (be_enum *node); - - ACE_CDR::Long compute_encap_length (be_enum_val *node); - - ACE_CDR::Long compute_encap_length (be_exception *node); - - ACE_CDR::Long compute_encap_length (be_field *node); - - ACE_CDR::Long compute_encap_length (be_interface *node); - - ACE_CDR::Long compute_encap_length (be_interface_fwd *node); - - ACE_CDR::Long compute_encap_length (be_predefined_type *node); - - ACE_CDR::Long compute_encap_length (be_sequence *node); - - ACE_CDR::Long compute_encap_length (be_string *node); - - ACE_CDR::Long compute_encap_length (be_structure *node); - - ACE_CDR::Long compute_encap_length (be_typedef *node); - - ACE_CDR::Long compute_encap_length (be_union *node); - - ACE_CDR::Long compute_encap_length (be_union_branch *node); - - // helpers to generate the repoID and name - - void gen_repoID (be_decl *node); - - void gen_name (be_decl *node); - - // helpers to generate encap len of the repoID and name - - ACE_CDR::ULong repoID_encap_len (be_decl *node); - - ACE_CDR::ULong name_encap_len (be_decl *node); - - // helper to get an array of long from a name - - int tc_name2long (const char *name, - ACE_CDR::ULong *&larr, - ACE_CDR::ULong &arrlen); - - // processing for scopes - - virtual int post_process (be_decl *); - // do any processing after every element except the last one of the scope is - // processed - - // data structure for handling recursive and repeated typecodes - - struct QNode - { - be_type *node; - ACE_CDR::Long offset; - }; - -private: - - ACE_CDR::Long computed_tc_size_; - // the tc size of the node under consideration - - ACE_CDR::Long computed_encap_len_; - // the encap length of the node under consideration - - ACE_CDR::Long computed_scope_encap_len_; - // the encap length of the scope of the node under consideration - - // the following are used for recursive and repeated typecodes - - ACE_CDR::Long tc_offset_; - // current computed length of the typecode - - ACE_Unbounded_Queue tc_queue_; - // queue to keep nodes - - ACE_Unbounded_Queue compute_queue_; - // queue to keep nodes - - ACE_CDR::Long scope_stack_ [TAO_BE_VISITOR_TYPECODE_DEFN_MAX_STACK_SIZE]; - // stores scope lens during computation - - // scope related routines - - int index_; - - int push (ACE_CDR::Long); - - int pop (ACE_CDR::Long &); - - // queue related routines - - const QNode *queue_insert (ACE_Unbounded_Queue &, - be_type *node, ACE_CDR::Long offset); - - const QNode *queue_lookup (ACE_Unbounded_Queue &, be_type *node); - - void queue_reset (ACE_Unbounded_Queue &); - -}; - -#endif /* _BE_VISITOR_TYPECODE_TYPECODE_DEFN_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typedef.h b/TAO/TAO_IDL/be_include/be_visitor_typedef.h deleted file mode 100644 index 05524ceecbe..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef.h +++ /dev/null @@ -1,40 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_typedef.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_TYPEDEF_H -#define TAO_BE_VISITOR_TYPEDEF_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" - -// generic visitor -#include "be_visitor_typedef/typedef.h" -// concrete visitors -#include "be_visitor_typedef/typedef_ch.h" -#include "be_visitor_typedef/typedef_ci.h" -#include "be_visitor_typedef/typedef_cs.h" -#include "be_visitor_typedef/any_op_ch.h" -#include "be_visitor_typedef/any_op_cs.h" -#include "be_visitor_typedef/cdr_op_ch.h" -#include "be_visitor_typedef/cdr_op_ci.h" -#include "be_visitor_typedef/cdr_op_cs.h" - -#endif // TAO_BE_VISITOR_TYPEDEF_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_typedef/any_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_typedef/any_op_ch.h deleted file mode 100644 index a614a30f71a..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef/any_op_ch.h +++ /dev/null @@ -1,69 +0,0 @@ - -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// This provides the code generation for the Any operators of the Typedef -// class in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPEDEF_ANY_OP_CH_H_ -#define _BE_VISITOR_TYPEDEF_ANY_OP_CH_H_ - -class be_visitor_typedef_any_op_ch : public be_visitor_typedef -{ - // - // = TITLE - // be_visitor_typedef_any_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for typedef that generates the Any operator - // declarations and implementations - // - -public: - be_visitor_typedef_any_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_typedef_any_op_ch (void); - // destructor - - virtual int visit_typedef (be_typedef *node); - // visit typedef - - // =visit methods on all elements syntactically valid as types that can be - // typedefed. - - virtual int visit_array (be_array *node); - // visit a array - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - -}; - -#endif /* _BE_VISITOR_TYPEDEF_ANY_OP_CH_H_*/ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typedef/any_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_typedef/any_op_cs.h deleted file mode 100644 index f99033d4f43..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef/any_op_cs.h +++ /dev/null @@ -1,69 +0,0 @@ - -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// This provides the code generation for the Any operators of the Typedef -// class in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPEDEF_ANY_OP_CS_H_ -#define _BE_VISITOR_TYPEDEF_ANY_OP_CS_H_ - -class be_visitor_typedef_any_op_cs : public be_visitor_typedef -{ - // - // = TITLE - // be_visitor_typedef_any_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for typedef that generates the Any operator - // declarations and implementations - // - -public: - be_visitor_typedef_any_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_typedef_any_op_cs (void); - // destructor - - virtual int visit_typedef (be_typedef *node); - // visit typedef - - // =visit methods on all elements syntactically valid as types that can be - // typedefed. - - virtual int visit_array (be_array *node); - // visit a array - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - -}; - -#endif /* _BE_VISITOR_TYPEDEF_ANY_OP_CS_H_*/ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_ch.h deleted file mode 100644 index 0cb82ce2ff0..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_ch.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// This provides the code generation for the CDR operators of the Typedef -// class in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPEDEF_CDR_OP_CH_H_ -#define _BE_VISITOR_TYPEDEF_CDR_OP_CH_H_ - -class be_visitor_typedef_cdr_op_ch : public be_visitor_typedef -{ - // - // = TITLE - // be_visitor_typedef_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for typedef that generates the CDR operator - // declarations and implementations - // - -public: - be_visitor_typedef_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_typedef_cdr_op_ch (void); - // destructor - - virtual int visit_typedef (be_typedef *node); - // visit typedef - - // =visit methods on all elements syntactically valid as types that can be - // typedefed. - - virtual int visit_array (be_array *node); - // visit a array - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - -}; - -#endif /* _BE_VISITOR_TYPEDEF_CDR_OP_CH_H_*/ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_ci.h deleted file mode 100644 index 26d8f6ee546..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_ci.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// This provides the code generation for the CDR operators of the Typedef -// class in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPEDEF_CDR_OP_CI_H_ -#define _BE_VISITOR_TYPEDEF_CDR_OP_CI_H_ - -class be_visitor_typedef_cdr_op_ci : public be_visitor_typedef -{ - // - // = TITLE - // be_visitor_typedef_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for typedef that generates the CDR operator - // declarations and implementations - // - -public: - be_visitor_typedef_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_typedef_cdr_op_ci (void); - // destructor - - virtual int visit_typedef (be_typedef *node); - // visit typedef - - // =visit methods on all elements syntactically valid as types that can be - // typedefed. - - virtual int visit_array (be_array *node); - // visit a array - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - -}; - -#endif /* _BE_VISITOR_TYPEDEF_CDR_OP_CI_H_*/ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_cs.h deleted file mode 100644 index 742ce34fd08..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef/cdr_op_cs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// This provides the code generation for the CDR operators of the Typedef -// class in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPEDEF_CDR_OP_CS_H_ -#define _BE_VISITOR_TYPEDEF_CDR_OP_CS_H_ - -class be_visitor_typedef_cdr_op_cs : public be_visitor_typedef -{ - // - // = TITLE - // be_visitor_typedef_cdr_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for typedef that generates the CDR operator - // declarations and implementations - // - -public: - be_visitor_typedef_cdr_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_typedef_cdr_op_cs (void); - // destructor - - virtual int visit_typedef (be_typedef *node); - // visit typedef - - // =visit methods on all elements syntactically valid as types that can be - // typedefed. - - virtual int visit_array (be_array *node); - // visit a array - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - -}; - -#endif /* _BE_VISITOR_TYPEDEF_CDR_OP_CS_H_*/ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef.h b/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef.h deleted file mode 100644 index d0d1b297ae2..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef.h +++ /dev/null @@ -1,72 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typedef.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// This provides the generic visitors for the Typedef class. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPEDEF_TYPEDEF_H_ -#define _BE_VISITOR_TYPEDEF_TYPEDEF_H_ - -class be_visitor_typedef : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_typedef - // - // = DESCRIPTION - // This is a concrete visitor for typedef that abstracts all common tasks - // - -public: - be_visitor_typedef (be_visitor_context *ctx); - // constructor - - ~be_visitor_typedef (void); - // destructor - - virtual int visit_typedef (be_typedef *node); - // must be overridden - - // =visit methods on all elements syntactically valid as types that can be - // typedefed. - - virtual int visit_array (be_array *node); - // visit a array - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type node - - virtual int visit_string (be_string *node); - // visit a typedef - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - -}; - -#endif /* _BE_VISITOR_TYPEDEF_TYPEDEF_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_ch.h b/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_ch.h deleted file mode 100644 index eda0adf5441..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_ch.h +++ /dev/null @@ -1,76 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typedef_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// This provides the code generation for the Typedef class in the client -// header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPEDEF_TYPEDEF_CH_H_ -#define _BE_VISITOR_TYPEDEF_TYPEDEF_CH_H_ - -class be_visitor_typedef_ch : public be_visitor_typedef -{ - // - // = TITLE - // be_visitor_typedef_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for typedef - // - // -public: - be_visitor_typedef_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_typedef_ch (void); - // destructor - - virtual int visit_typedef (be_typedef *node); - // visit typedef. We provide code for this method in the derived class - - // =visit methods on all elements syntactically valid as types that can be - // typedefed. - - virtual int visit_array (be_array *node); - // visit a array - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_interface (be_interface *node); - // visit an interface; - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type node - - virtual int visit_string (be_string *node); - // visit a typedef - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - -}; - -#endif /* _BE_VISITOR_TYPEDEF_TYPEDEF_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_ci.h b/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_ci.h deleted file mode 100644 index 9f308d33d52..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_ci.h +++ /dev/null @@ -1,65 +0,0 @@ - -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typedef_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// This provides the code generation for the Typedef class in the client -// inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPEDEF_TYPEDEF_CI_H_ -#define _BE_VISITOR_TYPEDEF_TYPEDEF_CI_H_ - -class be_visitor_typedef_ci : public be_visitor_typedef -{ - // - // = TITLE - // be_visitor_typedef_sh - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for typedef - // - // -public: - be_visitor_typedef_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_typedef_ci (void); - // destructor - - virtual int visit_typedef (be_typedef *node); - // visit typedef. We provide code for this method in the derived class - - // =visit methods on all elements syntactically valid as types that can be - // typedefed. - - virtual int visit_array (be_array *node); - // visit a array - - virtual int visit_sequence (be_sequence *node); - // visit a sequence - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - -}; - -#endif /* _BE_VISITOR_TYPEDEF_TYPEDEF_CI_H_*/ diff --git a/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_cs.h b/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_cs.h deleted file mode 100644 index a546de4c38d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef/typedef_cs.h +++ /dev/null @@ -1,50 +0,0 @@ - -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// typedef_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// This provides the code generation for the Typedef class in the client -// stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_TYPEDEF_TYPEDEF_CS_H_ -#define _BE_VISITOR_TYPEDEF_TYPEDEF_CS_H_ - -class be_visitor_typedef_cs : public be_visitor_typedef -{ - // - // = TITLE - // be_visitor_typedef_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for typedef - // - // -public: - be_visitor_typedef_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_typedef_cs (void); - // destructor - - virtual int visit_typedef (be_typedef *node); - // visit typedef. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_TYPEDEF_TYPEDEF_CS_H_*/ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union.h b/TAO/TAO_IDL/be_include/be_visitor_union.h deleted file mode 100644 index 2d3489a5798..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union.h +++ /dev/null @@ -1,43 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_union.h -// -// = DESCRIPTION -// Concrete visitor for the Union class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_UNION_H -#define TAO_BE_VISITOR_UNION_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" - -// generic visitor -#include "be_visitor_union/union.h" -// concrete visitors -#include "be_visitor_union/union_ch.h" -#include "be_visitor_union/union_ci.h" -#include "be_visitor_union/union_cs.h" -#include "be_visitor_union/discriminant_ch.h" -#include "be_visitor_union/discriminant_ci.h" -#include "be_visitor_union/discriminant_cs.h" -#include "be_visitor_union/any_op_ch.h" -#include "be_visitor_union/any_op_cs.h" -#include "be_visitor_union/cdr_op_ch.h" -#include "be_visitor_union/cdr_op_ci.h" -#include "be_visitor_union/cdr_op_cs.h" - -#endif // TAO_BE_VISITOR_UNION_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/any_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_union/any_op_ch.h deleted file mode 100644 index 20d7ed97b4f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/any_op_ch.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_ch.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for the Any operators for the Union in the client -// header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_ANY_OP_CH_H_ -#define _BE_VISITOR_UNION_ANY_OP_CH_H_ - -class be_visitor_union_any_op_ch : public be_visitor_union -{ - // - // = TITLE - // be_visitor_union_any_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for union that generates the Any operator - // declarations - // - -public: - be_visitor_union_any_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_any_op_ch (void); - // destructor - - virtual int visit_union (be_union *node); - // visit union - - virtual int visit_union_branch (be_union_branch *node); - // visit union_branch -}; - -#endif /* _BE_VISITOR_UNION_ANY_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/any_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_union/any_op_cs.h deleted file mode 100644 index 05e6192d346..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/any_op_cs.h +++ /dev/null @@ -1,108 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// any_op_cs.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for the Any operators for the Union in the client -// header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_ANY_OP_CS_H_ -#define _BE_VISITOR_UNION_ANY_OP_CS_H_ - -class be_visitor_union_any_op_cs : public be_visitor_union -{ - // - // = TITLE - // be_visitor_union_any_op_cs - // - // = DESCRIPTION - // This is a base class for the visitors generate the Any - // operator implementations - // - -public: - be_visitor_union_any_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_any_op_cs (void); - // destructor - - // template methods that the derived visitors must implement. - // They generate the body for the insertion and extraction - // operators. - virtual int gen_insertion_nocopy (TAO_OutStream* os, - be_union *node) = 0; - virtual int gen_insertion (TAO_OutStream* os, - be_union *node) = 0; - virtual int gen_extraction (TAO_OutStream* os, - be_union *node) = 0; - - // = The be_visitor methods. - virtual int visit_union (be_union *node); - virtual int visit_union_branch (be_union_branch *node); -}; - -class be_visitor_union_any_op_compiled_cs : public be_visitor_union_any_op_cs -{ - // - // = TITLE - // be_visitor_union_any_op_compiled_cs - // - // = DESCRIPTION - // This is a concrete visitor for union that generates the Any - // operator implementations, using compiled marshaling. - // - -public: - be_visitor_union_any_op_compiled_cs (be_visitor_context *ctx); - // constructor - - // = See be_visitor_union_any_op_cs - virtual int gen_insertion (TAO_OutStream* os, - be_union *node); - virtual int gen_insertion_nocopy (TAO_OutStream* os, - be_union *node); - virtual int gen_extraction (TAO_OutStream* os, - be_union *node); -}; - -class be_visitor_union_any_op_interpretive_cs : public be_visitor_union_any_op_cs -{ - // - // = TITLE - // be_visitor_union_any_op_interpretive_cs - // - // = DESCRIPTION - // This is a concrete visitor for union that generates the Any - // operator implementations, using interpretive marshaling. - // - -public: - be_visitor_union_any_op_interpretive_cs (be_visitor_context *ctx); - // constructor - - // = See be_visitor_union_any_op_cs - virtual int gen_insertion (TAO_OutStream* os, - be_union *node); - virtual int gen_insertion_nocopy (TAO_OutStream* os, - be_union *node); - virtual int gen_extraction (TAO_OutStream* os, - be_union *node); -}; - -#endif /* _BE_VISITOR_UNION_ANY_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_ch.h deleted file mode 100644 index 972dacf1335..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_ch.h +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Union class -// This one provides code generation for the CDR operators for the union -// in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_CDR_OP_CH_H_ -#define _BE_VISITOR_UNION_CDR_OP_CH_H_ - -class be_visitor_union_cdr_op_ch : public be_visitor_union -{ - // - // = TITLE - // be_visitor_union_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for union that generates the CDR operator - // declarations - // - -public: - be_visitor_union_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_cdr_op_ch (void); - // destructor - - virtual int visit_union (be_union *node); - // visit union - -}; - -#endif /* _BE_VISITOR_UNION_CDR_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_ci.h deleted file mode 100644 index 94cc42570e6..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_ci.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Union class -// This one provides code generation for the CDR operators for the union -// in the client stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_CDR_OP_CI_H_ -#define _BE_VISITOR_UNION_CDR_OP_CI_H_ - -class be_visitor_union_cdr_op_ci : public be_visitor_union -{ - // - // = TITLE - // be_visitor_union_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for union that generates the CDR operator - // implementations - // - -public: - be_visitor_union_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_cdr_op_ci (void); - // destructor - - virtual int visit_union (be_union *node); - // visit union - - virtual int pre_process (be_decl *); - virtual int post_process (be_decl *); -}; - -#endif /* _BE_VISITOR_UNION_CDR_OP_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_cs.h deleted file mode 100644 index 9c8f50ba0ac..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/cdr_op_cs.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Union class -// This one provides code generation for the CDR operators for the union -// in the client stub. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_CDR_OP_CS_H_ -#define _BE_VISITOR_UNION_CDR_OP_CS_H_ - -class be_visitor_union_cdr_op_cs : public be_visitor_union -{ - // - // = TITLE - // be_visitor_union_cdr_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for union that generates the CDR operator - // implementations - // - -public: - be_visitor_union_cdr_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_cdr_op_cs (void); - // destructor - - virtual int visit_union (be_union *node); - // visit union -}; - -#endif /* _BE_VISITOR_UNION_CDR_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/discriminant_ch.h b/TAO/TAO_IDL/be_include/be_visitor_union/discriminant_ch.h deleted file mode 100644 index 950deb597cd..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/discriminant_ch.h +++ /dev/null @@ -1,55 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// discriminant_ch.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for the discriminant of the Union in the client -// header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_DISCRIMINANT_CH_H_ -#define _BE_VISITOR_UNION_DISCRIMINANT_CH_H_ - -class be_visitor_union_discriminant_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_discriminant_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for union - // discriminant - // - // -public: - be_visitor_union_discriminant_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_discriminant_ch (void); - // destructor - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_predefined_type (be_predefined_type *node); - // visit a predefined type - - virtual int visit_typedef (be_typedef *node); - // visit a typedef node -}; - -#endif /* _BE_VISITOR_UNION_DISCRIMINANT_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/discriminant_ci.h b/TAO/TAO_IDL/be_include/be_visitor_union/discriminant_ci.h deleted file mode 100644 index 3e7619a939e..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/discriminant_ci.h +++ /dev/null @@ -1,55 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// discriminant_ci.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for the discriminant of the Union in the client -// inline file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_DISCRIMINANT_CI_H_ -#define _BE_VISITOR_UNION_DISCRIMINANT_CI_H_ - -class be_visitor_union_discriminant_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_discriminant_ci - // - // = DESCRIPTION - // This is a concrete visitor to generate the client inline for union - // discriminant - // - // -public: - be_visitor_union_discriminant_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_discriminant_ci (void); - // destructor - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_predefined_type (be_predefined_type *node); - // visit a predefined type - - virtual int visit_typedef (be_typedef *node); - // visit a typedef node -}; - -#endif /* _BE_VISITOR_UNION_DISCRIMINANT_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/discriminant_cs.h b/TAO/TAO_IDL/be_include/be_visitor_union/discriminant_cs.h deleted file mode 100644 index af61beb8b4d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/discriminant_cs.h +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// discriminant_cs.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for the discriminant of the Union in the client -// stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_DISCRIMINANT_CS_H_ -#define _BE_VISITOR_UNION_DISCRIMINANT_CS_H_ - -class be_visitor_union_discriminant_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_discriminant_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for union - // discriminant - // - // -public: - be_visitor_union_discriminant_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_discriminant_cs (void); - // destructor - - virtual int visit_enum (be_enum *node); - // visit an enum. Required to generate the typecode for an enum definition - // appearing side the union - -}; - -#endif /* _BE_VISITOR_UNION_DISCRIMINANT_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/union.h b/TAO/TAO_IDL/be_include/be_visitor_union/union.h deleted file mode 100644 index 5e669ac9327..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/union.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// union.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one is a generic visitor. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_UNION_H_ -#define _BE_VISITOR_UNION_UNION_H_ - -class be_visitor_union : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_union - // - // = DESCRIPTION - // This is the base visitor for union - // - // -public: - be_visitor_union (be_visitor_context *ctx); - // constructor - - ~be_visitor_union (void); - // destructor - - virtual int visit_union (be_union *node); - // visit union. We provide code for this method in the derived class - - // =visit operations on syntactically valid elements in our scope - - virtual int visit_union_branch (be_union_branch *node); - // visit union_branch -}; - -#endif /* _BE_VISITOR_UNION_UNION_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/union_ch.h b/TAO/TAO_IDL/be_include/be_visitor_union/union_ch.h deleted file mode 100644 index 86813169ff1..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/union_ch.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// union_ch.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_UNION_CH_H_ -#define _BE_VISITOR_UNION_UNION_CH_H_ - -class be_visitor_union_ch : public be_visitor_union -{ - // - // = TITLE - // be_visitor_union_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for union - // - // -public: - be_visitor_union_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_ch (void); - // destructor - - virtual int visit_union (be_union *node); - // visit union. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_UNION_UNION_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/union_ci.h b/TAO/TAO_IDL/be_include/be_visitor_union/union_ci.h deleted file mode 100644 index d0d138f583d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/union_ci.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// union_ci.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code in the client inline file. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_UNION_CI_H_ -#define _BE_VISITOR_UNION_UNION_CI_H_ - -class be_visitor_union_ci : public be_visitor_union -{ - // - // = TITLE - // be_visitor_union_ci - // - // = DESCRIPTION - // This is a concrete visitor to generate the client inline for union - // - // -public: - be_visitor_union_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_ci (void); - // destructor - - virtual int visit_union (be_union *node); - // visit union. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_UNION_UNION_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union/union_cs.h b/TAO/TAO_IDL/be_include/be_visitor_union/union_cs.h deleted file mode 100644 index 04783afa7d9..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union/union_cs.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// union_cs.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_UNION_CS_H_ -#define _BE_VISITOR_UNION_UNION_CS_H_ - -class be_visitor_union_cs : public be_visitor_union -{ - // - // = TITLE - // be_visitor_union_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for union - // - // -public: - be_visitor_union_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_cs (void); - // destructor - - virtual int visit_union (be_union *node); - // visit union. We provide code for this method in the derived class - -}; - -#endif /* _BE_VISITOR_UNION_UNION_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch.h deleted file mode 100644 index c284f47f97a..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch.h +++ /dev/null @@ -1,37 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_union_branch.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Union_Branch" node -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_UNION_BRANCH_H -#define TAO_BE_VISITOR_UNION_BRANCH_H - -#include "be_visitor_decl.h" - -#include "be_visitor_union_branch/public_ch.h" -#include "be_visitor_union_branch/public_ci.h" -#include "be_visitor_union_branch/public_cs.h" -#include "be_visitor_union_branch/public_assign_cs.h" -#include "be_visitor_union_branch/public_reset_cs.h" -#include "be_visitor_union_branch/public_access_cs.h" -#include "be_visitor_union_branch/private_ch.h" -#include "be_visitor_union_branch/cdr_op_ch.h" -#include "be_visitor_union_branch/cdr_op_ci.h" -#include "be_visitor_union_branch/cdr_op_cs.h" - -#endif // TAO_BE_VISITOR_UNION_BRANCH_H diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_ch.h deleted file mode 100644 index e325b41f912..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_ch.h +++ /dev/null @@ -1,66 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ch.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Union_Branch" node -// This generates code for structure members in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_BRANCH_CDR_OP_CH_H_ -#define _BE_VISITOR_UNION_BRANCH_CDR_OP_CH_H_ - -class be_visitor_union_branch_cdr_op_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for the be_union_branch node for the client header. - // -public: - be_visitor_union_branch_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_branch_cdr_op_ch (void); - // destructor - - virtual int visit_union_branch (be_union_branch *node); - // visit the union_branch node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_UNION_BRANCH_CDR_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_ci.h deleted file mode 100644 index 536fcbf9cce..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_ci.h +++ /dev/null @@ -1,78 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Union_Branch" node -// This generates code for structure members in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_BRANCH_CDR_OP_CI_H_ -#define _BE_VISITOR_UNION_BRANCH_CDR_OP_CI_H_ - -class be_visitor_union_branch_cdr_op_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_branch_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for the be_union_branch node for the client header. - // -public: - be_visitor_union_branch_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_branch_cdr_op_ci (void); - // destructor - - virtual int visit_union_branch (be_union_branch *node); - // visit the union_branch node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_UNION_BRANCH_CDR_OP_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_cs.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_cs.h deleted file mode 100644 index fe99899d327..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch/cdr_op_cs.h +++ /dev/null @@ -1,54 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_cs.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Union_Branch" node -// This generates code for structure members in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_BRANCH_CDR_OP_CS_H_ -#define _BE_VISITOR_UNION_BRANCH_CDR_OP_CS_H_ - -class be_visitor_union_branch_cdr_op_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_branch_cdr_op_cs - // - // = DESCRIPTION - // This is a concrete visitor for the be_union_branch node for the client header. - // -public: - be_visitor_union_branch_cdr_op_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_branch_cdr_op_cs (void); - // destructor - - virtual int visit_union_branch (be_union_branch *node); - // visit the union_branch node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - virtual int visit_enum (be_enum *node); - virtual int visit_sequence (be_sequence *node); - virtual int visit_structure (be_structure *node); - virtual int visit_typedef (be_typedef *node); - virtual int visit_union (be_union *node); -}; - -#endif /* _BE_VISITOR_UNION_BRANCH_CDR_OP_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch/private_ch.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch/private_ch.h deleted file mode 100644 index fdc7e9f2070..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch/private_ch.h +++ /dev/null @@ -1,82 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// private_ch.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for private part of the union class for the union -// members in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_BRANCH_PRIVATE_CH_H_ -#define _BE_VISITOR_UNION_BRANCH_PRIVATE_CH_H_ - -class be_visitor_union_branch_private_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_branch_private_ch - // - // = DESCRIPTION - // This is a concrete visitor for the be_union_branch node for the client - // header. This generates the code for the private section of the "union" - // class - // -public: - be_visitor_union_branch_private_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_branch_private_ch (void); - // destructor - - virtual int visit_union_branch (be_union_branch *node); - // visit the union_branch node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_UNION_BRANCH_PRIVATE_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_access_cs.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_access_cs.h deleted file mode 100644 index b1d76206108..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_access_cs.h +++ /dev/null @@ -1,80 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_access_cs.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for the access method of the union class -// for the union members. This is primarily used by the marshaling engine. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_BRANCH_PUBLIC_ACCESS_CS_H_ -#define _BE_VISITOR_UNION_BRANCH_PUBLIC_ACCESS_CS_H_ - -class be_visitor_union_branch_public_access_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_branch_public_access_cs - // - // = DESCRIPTION - // This is used to generate the body of the access method - // -public: - be_visitor_union_branch_public_access_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_branch_public_access_cs (void); - // destructor - - virtual int visit_union_branch (be_union_branch *node); - // visit the union_branch node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_UNION_BRANCH_PUBLIC_ACCESS_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_assign_cs.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_assign_cs.h deleted file mode 100644 index fe324e600d0..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_assign_cs.h +++ /dev/null @@ -1,81 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_assign_cs.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for the assignment operator of the union class -// for the union members in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_BRANCH_PUBLIC_ASSIGN_CS_H_ -#define _BE_VISITOR_UNION_BRANCH_PUBLIC_ASSIGN_CS_H_ - -class be_visitor_union_branch_public_assign_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_branch_public_assign_cs - // - // = DESCRIPTION - // This is used to generate the body of the assignment operator and the - // copy constructor of the union class - // -public: - be_visitor_union_branch_public_assign_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_branch_public_assign_cs (void); - // destructor - - virtual int visit_union_branch (be_union_branch *node); - // visit the union_branch node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_UNION_BRANCH_PUBLIC_ASSIGN_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_ch.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_ch.h deleted file mode 100644 index ffbcc9de479..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_ch.h +++ /dev/null @@ -1,90 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_ch.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for public part of the union class for the union -// members in the client header. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_BRANCH_PUBLIC_CH_H_ -#define _BE_VISITOR_UNION_BRANCH_PUBLIC_CH_H_ - -class be_visitor_union_branch_public_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_branch_public_ch - // - // = DESCRIPTION - // This is a concrete visitor for the be_union_branch node for the client - // header. This generates the code for the public section of the "union" - // class - // -public: - be_visitor_union_branch_public_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_branch_public_ch (void); - // destructor - - virtual int visit_union_branch (be_union_branch *node); - // visit the union_branch node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - -#ifdef IDL_HAS_VALUETYPE - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype type - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward type -#endif /* IDL_HAS_VALUETYPE */ - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_UNION_BRANCH_PUBLIC_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_ci.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_ci.h deleted file mode 100644 index 585d8f0453d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_ci.h +++ /dev/null @@ -1,81 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_ci.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for public part of the union class for the union -// members in the client inline. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_BRANCI_PUBLIC_CI_H_ -#define _BE_VISITOR_UNION_BRANCI_PUBLIC_CI_H_ - -class be_visitor_union_branch_public_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_branch_public_ci - // - // = DESCRIPTION - // This visitor is used to generate the accessors for the members of the - // union - // -public: - be_visitor_union_branch_public_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_branch_public_ci (void); - // destructor - - virtual int visit_union_branch (be_union_branch *node); - // visit the union_branch node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_UNION_BRANCI_PUBLIC_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_cs.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_cs.h deleted file mode 100644 index c66e142c280..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_cs.h +++ /dev/null @@ -1,69 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_cs.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for public part of the union class for the union -// members in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_BRANCS_PUBLIC_CS_H_ -#define _BE_VISITOR_UNION_BRANCS_PUBLIC_CS_H_ - -class be_visitor_union_branch_public_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_branch_public_cs - // - // = DESCRIPTION - // This visitor is used to generate implementation such as typecodes for - // constructed types - // -public: - be_visitor_union_branch_public_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_branch_public_cs (void); - // destructor - - virtual int visit_union_branch (be_union_branch *node); - // visit the union_branch node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_UNION_BRANCS_PUBLIC_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_reset_cs.h b/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_reset_cs.h deleted file mode 100644 index e7fa0b7733a..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch/public_reset_cs.h +++ /dev/null @@ -1,81 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// public_reset_cs.h -// -// = DESCRIPTION -// Visitor for the Union class. -// This one generates code for the reset method of the union class -// for the union members in the client stubs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VISITOR_UNION_BRANCH_PUBLIC_RESET_CS_H_ -#define _BE_VISITOR_UNION_BRANCH_PUBLIC_RESET_CS_H_ - -class be_visitor_union_branch_public_reset_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_union_branch_public_reset_cs - // - // = DESCRIPTION - // This is used to generate the body of the resetment operator and the - // copy constructor of the union class - // -public: - be_visitor_union_branch_public_reset_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_union_branch_public_reset_cs (void); - // destructor - - virtual int visit_union_branch (be_union_branch *node); - // visit the union_branch node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - -}; - -#endif /* _BE_VISITOR_UNION_BRANCH_PUBLIC_RESET_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype.h deleted file mode 100644 index 9f6c1dc5095..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype.h +++ /dev/null @@ -1,47 +0,0 @@ - -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_valuetype.h -// -// = DESCRIPTION -// Concrete visitor for the Valuetype class -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_VALUETYPE_H -#define TAO_BE_VISITOR_VALUETYPE_H - -#ifdef IDL_HAS_VALUETYPE - -#include "be_visitor_scope.h" - -#include "be_visitor_valuetype/valuetype.h" -#include "be_visitor_valuetype/valuetype_ch.h" -#include "be_visitor_valuetype/valuetype_obv_ch.h" -#include "be_visitor_valuetype/valuetype_obv_cs.h" -#include "be_visitor_valuetype/valuetype_ci.h" -#include "be_visitor_valuetype/valuetype_cs.h" -//#include "be_visitor_valuetype/valuetype_ih.h" -//#include "be_visitor_valuetype/valuetype_is.h" -//#include "be_visitor_valuetype/any_op_ch.h" -//#include "be_visitor_valuetype/any_op_cs.h" -#include "be_visitor_valuetype/cdr_op_ch.h" -#include "be_visitor_valuetype/cdr_op_ci.h" -#include "be_visitor_valuetype/marshal_ch.h" -#include "be_visitor_valuetype/marshal_cs.h" -#include "be_visitor_valuetype/arglist.h" -#include "be_visitor_valuetype/field_ch.h" -#include "be_visitor_valuetype/field_cs.h" -#include "be_visitor_valuetype/field_cdr_ci.h" -#include "be_visitor_valuetype/obv_module.h" - -#endif /* IDL_HAS_VALUETYPE */ - -#endif /* TAO_BE_VISITOR_VALUETYPE_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/arglist.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/arglist.h deleted file mode 100644 index e9b6747180d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/arglist.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// arglist.h -// -// = DESCRIPTION -// Visitor for generating code for IDL (valuetype) operations. -// This generates the operation signature. -// -// -// ============================================================================ - -#ifndef _BE_VISITOR_OBV_OPERATION_ARGLIST_H_ -#define _BE_VISITOR_OBV_OPERATION_ARGLIST_H_ - -// ****************************************************************************** -// Operation visitor for argument list - generates parameters in the signature -// ****************************************************************************** - -class be_visitor_obv_operation_arglist : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_operaion_arglist - // - // = DESCRIPTION - // This is a visitor to generate operation argument list - // - // -public: - be_visitor_obv_operation_arglist (be_visitor_context *ctx); - // constructor - - ~be_visitor_obv_operation_arglist (void); - // destructor - - int visit_operation (be_operation *node); - // visit the operation - - int visit_argument (be_argument *node); - // visit each argument - - int post_process (be_decl *bd); - // set 'comma' only between arguments - -}; - -#endif /* _BE_VISITOR_OBV_OPERATION_ARGLIST_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/cdr_op_ch.h deleted file mode 100644 index 78af6220e4f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/cdr_op_ch.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.h -// -// = DESCRIPTION -// Concrete visitor for valuetypes. -// This one provides code generation for the CDR operators. -// -// = AUTHOR -// Torsten Kuepper -// -// ============================================================================ - -#ifndef _BE_VISITOR_VALUETYPE_CDR_OP_CH_H_ -#define _BE_VISITOR_VALUETYPE_CDR_OP_CH_H_ - -class be_visitor_valuetype_cdr_op_ch : public be_visitor_valuetype -{ - // - // = TITLE - // be_visitor_valuetype_cdr_op_ch - // - // = DESCRIPTION - // This is a concrete visitor for interface that generates the CDR operator - // declarations - // - -public: - be_visitor_valuetype_cdr_op_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_cdr_op_ch (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - -}; - -#endif /* _BE_VISITOR_VALUETYPE_CDR_OP_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/cdr_op_ci.h deleted file mode 100644 index 68048d69098..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/cdr_op_ci.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.h -// -// = DESCRIPTION -// Concrete visitor for valuetypes. -// This one provides code generation for the CDR operators. -// -// = AUTHOR -// Torsten Kuepper -// -// ============================================================================ - -#ifndef _BE_VISITOR_VALUETYPE_CDR_OP_CI_H_ -#define _BE_VISITOR_VALUETYPE_CDR_OP_CI_H_ - -class be_visitor_valuetype_cdr_op_ci : public be_visitor_valuetype -{ - // - // = TITLE - // be_visitor_valuetype_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for interface that generates the CDR operator - // implementations - // - -public: - be_visitor_valuetype_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_cdr_op_ci (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - -}; - -#endif /* _BE_VISITOR_VALUETYPE_CDR_OP_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/field_cdr_ci.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/field_cdr_ci.h deleted file mode 100644 index d856b92f04d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/field_cdr_ci.h +++ /dev/null @@ -1,115 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_cdr_ci.h -// -// = DESCRIPTION -// Visitor generating code for Field in the client stubs file. -// -// = AUTHOR -// Torsten Kuepper -// derived from be_visitor_field/cdr_op_ci.h -// -// ============================================================================ - -#ifndef _BE_VISITOR_VALUETYPE_FIELD_CDR_CI_H_ -#define _BE_VISITOR_VALUETYPE_FIELD_CDR_CI_H_ - -#include "be_visitor_scope.h" - -class be_visitor_valuetype_field_cdr_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_valuetype_field_cdr_ci - // - // = DESCRIPTION - // This is a concrete visitor for the be_field node for the client header. - // -public: - be_visitor_valuetype_field_cdr_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_field_cdr_ci (void); - // destructor - - virtual int visit_field (be_field *node); - // visit the field node - - // =visit operations on all possible data types that a field can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype type - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - - const char *pre_, *post_; -}; - -class be_visitor_valuetype_field_cdr_decl : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_cdr_valuetype_field_cdr_decl - // - // = DESCRIPTION - // When generating CDR operators for fields of structures and/or - // unions it may be necessary to define some local variables (for - // instance to hold temporary T_forany objects); this visitor - // generates that code. - // -public: - be_visitor_valuetype_field_cdr_decl (be_visitor_context *ctx); - // constructor - - virtual int visit_field (be_field *node); - // visit the field node - - // = visit operations for data types that require a local variable. - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_typedef (be_typedef *node); - // visit typedef type -}; - -#endif /* _BE_VISITOR_VALUETYPE_FIELD_CDR_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/field_ch.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/field_ch.h deleted file mode 100644 index b22d8b269ba..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/field_ch.h +++ /dev/null @@ -1,96 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_ch.h -// -// = DESCRIPTION -// Visitor generating code for valuetype fields in the valuetype class -// (header). -// -// = AUTHOR -// Torsten Kuepper -// derived from be_visitor_union_branch/public_ch.h -// -// ============================================================================ - -#ifndef _BE_VISITOR_VALUETYPE_FIELD_CH_H_ -#define _BE_VISITOR_VALUETYPE_FIELD_CH_H_ - -class be_visitor_valuetype_field_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_field_ch - // - // = DESCRIPTION - // Visitor generating code for valuetype fields in the valuetype class - // (header). - // -public: - be_visitor_valuetype_field_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_field_ch (void); - // destructor - - virtual int visit_field (be_field *node); - // visit the field node - - // =visit operations on all possible data types that a valuetype - // state member can be. - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype type - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - - void setenclosings (const char *pre, const char *post); - const char *pre_op (); - const char *post_op (); - // print additional material around the field (e.g. virtual before) - -private: - const char *pre_op_; - const char *post_op_; -}; - -#endif /* _BE_VISITOR_VALUETYPE_FIELD_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/field_cs.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/field_cs.h deleted file mode 100644 index 8fc2ef71e8e..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/field_cs.h +++ /dev/null @@ -1,99 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// field_cs.h -// -// = DESCRIPTION -// Visitor for the Valuetype class. -// This one generates code for accessor and modifier functions of -// valuetype state members (in the stub or inline file). -// -// = AUTHOR -// Torsten Kuepper -// derived from be_visitor_union_branch/public_ci.h -// -// ============================================================================ - -#ifndef _BE_VISITOR_VALUETYPE_FIELD_CS_H_ -#define _BE_VISITOR_VALUETYPE_FIELD_CS_H_ - -class be_visitor_valuetype_field_cs : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_valuetype_field_cs - // - // = DESCRIPTION - // This visitor is used to generate the accessors and modifiers - // for the members of valuetype - // -public: - be_visitor_valuetype_field_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_field_cs (void); - // destructor - - virtual int visit_field (be_field *node); - // visit the field node - - // =visit operations on all possible data types that a union_branch can be - - virtual int visit_array (be_array *node); - // visit array type - - virtual int visit_enum (be_enum *node); - // visit enum type - - virtual int visit_interface (be_interface *node); - // visit interface type - - virtual int visit_interface_fwd (be_interface_fwd *node); - // visit interface forward type - - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype type - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype forward type - - virtual int visit_predefined_type (be_predefined_type *node); - // visit predefined type - - virtual int visit_sequence (be_sequence *node); - // visit sequence type - - virtual int visit_string (be_string *node); - // visit string type - - virtual int visit_structure (be_structure *node); - // visit structure type - - virtual int visit_typedef (be_typedef *node); - // visit typedefed type - - virtual int visit_union (be_union *node); - // visit union type - - void setenclosings (const char *pre); - const char *pre_op (); - // print additional string before op (e.g. ACE_INLINE) - - void op_name (be_valuetype *node, TAO_OutStream *os); - // if (in_obv_space_) print OBV_name else print name - - idl_bool in_obv_space_; -private: - const char *pre_op_; -}; - -#endif /* _BE_VISITOR_VALUETYPE_FIELD_CS_H_ */ - diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/marshal_ch.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/marshal_ch.h deleted file mode 100644 index 662529b8de8..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/marshal_ch.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// marshal_ch.h -// -// = DESCRIPTION -// Concrete visitor for valuetypes. -// This one provides code generation for marshalling. -// -// = AUTHOR -// Torsten Kuepper -// -// ============================================================================ - -#ifndef _BE_VISITOR_VALUETYPE_MARSHAL_CH_H_ -#define _BE_VISITOR_VALUETYPE_MARSHAL_CH_H_ - -class be_visitor_valuetype_marshal_ch : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_valuetype_marshal_ch - // - // = DESCRIPTION - // This is a concrete visitor for interface that generates the CDR operator - // declarations - // - -public: - be_visitor_valuetype_marshal_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_marshal_ch (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - -}; - -#endif /* _BE_VISITOR_VALUETYPE_MARSHAL_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/marshal_cs.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/marshal_cs.h deleted file mode 100644 index 8ec036d370f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/marshal_cs.h +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// marshal_cs.h -// -// = DESCRIPTION -// Concrete visitor for valuetypes. -// This one provides code generation for marshalling. -// -// = AUTHOR -// Torsten Kuepper -// -// ============================================================================ - -#ifndef _BE_VISITOR_VALUETYPE_MARSHAL_CS_H_ -#define _BE_VISITOR_VALUETYPE_MARSHAL_CS_H_ - -class be_visitor_valuetype_marshal_cs : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_valuetype_marshal_cs - // - // = DESCRIPTION - // This is a concrete visitor for interface that generates the CDR operator - // declarations - // - -public: - be_visitor_valuetype_marshal_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_marshal_cs (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - // visit valuetype - - void class_name (be_valuetype *node, TAO_OutStream *os); - int gen_fields (be_valuetype *node, be_visitor_context &ctx); -}; - -#endif /* _BE_VISITOR_VALUETYPE_MARSHAL_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/obv_module.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/obv_module.h deleted file mode 100644 index 84e82d06cca..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/obv_module.h +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// module_obv.h -// -// = DESCRIPTION -// Concrete visitor for the Module class -// This provides code generation for the module in the header -// for the OBV_ namespace -// -// = AUTHOR -// Torsten Kuepper -// -// ============================================================================ - -#ifndef _BE_VISITOR_VALUETYPE_OBV_MODULE_H_ -#define _BE_VISITOR_VALUETYPE_OBV_MODULE_H_ - -class be_visitor_obv_module : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_obv_module - // - // = DESCRIPTION - // This is a concrete visitor to generate the header for module - // OBV_ namespace - // -public: - be_visitor_obv_module (be_visitor_context *ctx); - // constructor - - ~be_visitor_obv_module (void); - // destructor - - virtual int visit_module (be_module *node); - - virtual int visit_valuetype (be_valuetype *node); - -}; - -#endif /* _BE_VISITOR_VALUETYPE_OBV_MODULE_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype.h deleted file mode 100644 index 745e5e73e0f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype.h +++ /dev/null @@ -1,103 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype.h -// -// = DESCRIPTION -// Concrete visitor for the Valuetype node. -// This one provides the generic visitor for valuetypes from which others -// will inherit. -// -// = AUTHOR -// Torsten Kuepper -// based on interface.h from Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VALUETYPE_VALUETYPE_H_ -#define _BE_VALUETYPE_VALUETYPE_H_ - - -class be_visitor_valuetype : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_valuetype - // - // = DESCRIPTION - // This is a concrete visitor for valuetype that abstracts all common tasks - // - -public: - be_visitor_valuetype (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - // visit the valuetype node - - virtual int visit_valuetype_scope (be_valuetype *node); - // visit the scope of the valuetype node - // (in public/private field order) - - virtual void begin_public (); - virtual void begin_private (); - - // =visit methods on all elements syntactically valid in a Valuetype scope - - virtual int visit_attribute (be_attribute *node); - // visit attribute - - virtual int visit_constant (be_constant *node); - // visit a constant - - virtual int visit_enum (be_enum *node); - // visit an enum - - virtual int visit_operation (be_operation *node); - // visit operation - - virtual int visit_exception (be_exception *node); - // visit exception (not used) - - virtual int visit_structure (be_structure *node); - // visit a structure - - virtual int visit_union (be_union *node); - // visit a union - - virtual int visit_typedef (be_typedef *node); - // visit the typedef node - - virtual int visit_field (be_field *node); - // visit a field - - // =helper methods for generation of fields - - //int gen_field_i (be_field *node, idl_bool make_inline); - // field accessor and modifier implemantation - - int gen_pd (be_valuetype *node); - // private data fields for scope - - int gen_field_pd (be_field *node); - // private data for field - - virtual int gen_init_defn (be_valuetype *node); - // generate the _init class definition - - virtual int gen_init_impl (be_valuetype *node); - // generate the _init implementation - -}; - -#endif /* _BE_VALUETYPE_VALUETYPE_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_ch.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_ch.h deleted file mode 100644 index 527262a2721..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_ch.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Valuetype node. -// This one provides code generation for valuetypes in the (client) header. -// -// = AUTHOR -// Torsten Kuepper , -// based on code from Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VALUETYPE_VALUETYPE_CH_H_ -#define _BE_VALUETYPE_VALUETYPE_CH_H_ - -// we need derived valuetype visitors for the client and server header files. For -// the others, they use the default valuetype visitor - -class be_visitor_valuetype_ch : public be_visitor_valuetype -{ - // - // = TITLE - // be_visitor_valuetype_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the client header for valuetype - // - // -public: - be_visitor_valuetype_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_ch (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - - virtual int visit_operation (be_operation *node); - virtual int visit_field (be_field *node); - - void begin_public (); - void begin_private (); -}; - -#endif /* _BE_VALUETYPE_VALUETYPE_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_ci.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_ci.h deleted file mode 100644 index 44e8445de09..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_ci.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Valuetype node. -// This one provides code generation for valuetypes in the client inline. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VALUETYPE_VALUETYPE_CI_H_ -#define _BE_VALUETYPE_VALUETYPE_CI_H_ - -class be_visitor_valuetype_ci : public be_visitor_valuetype -{ - // - // = TITLE - // be_visitor_valuetype_ci - // - // = DESCRIPTION - // This is a concrete visitor to generate the client inline for valuetype - // - // -public: - be_visitor_valuetype_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_ci (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - // set the right context and make a visitor - - virtual int visit_field (be_field *node); -private: - idl_bool opt_accessor_; -}; - -#endif /* _BE_VALUETYPE_VALUETYPE_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_cs.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_cs.h deleted file mode 100644 index b05f5ddc9ab..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_cs.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_cs.h -// -// = DESCRIPTION -// Concrete visitor for the Valuetype node. -// This one provides code generation for valuetypes in the client stubs. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VALUETYPE_VALUETYPE_CS_H_ -#define _BE_VALUETYPE_VALUETYPE_CS_H_ - -class be_visitor_valuetype_cs : public be_visitor_valuetype -{ - // - // = TITLE - // be_visitor_valuetype_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the client stubs for valuetype - // - // -public: - be_visitor_valuetype_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_cs (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - // set the right context and make a visitor -}; - -#endif /* _BE_VALUETYPE_VALUETYPE_CS_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_ch.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_ch.h deleted file mode 100644 index 10fc526dca8..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_ch.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Valuetype node. -// This one provides code generation for valuetype OBV_ class -// in the (client) header. -// -// = AUTHOR -// Torsten Kuepper , -// based on code from Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VALUETYPE_VALUETYPE_OBV_CH_H_ -#define _BE_VALUETYPE_VALUETYPE_OBV_CH_H_ - -// we need derived valuetype visitors for the client and server header files. For -// the others, they use the default valuetype visitor - -class be_visitor_valuetype_obv_ch : public be_visitor_valuetype -{ - // - // = TITLE - // be_visitor_valuetype_ch - // - // = DESCRIPTION - // This is a concrete visitor to generate the header for valuetype - // OBV_ class - // -public: - be_visitor_valuetype_obv_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_obv_ch (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - - virtual int visit_field (be_field *node); - - void begin_public (); - void begin_private (); -}; - -#endif /* _BE_VALUETYPE_VALUETYPE_OBV_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_ci.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_ci.h deleted file mode 100644 index ba4f3b0d584..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_ci.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Valuetype node. -// This one provides code generation for valuetype OBV_ class -// in the (client) header. -// -// = AUTHOR -// Torsten Kuepper , -// based on code from Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VALUETYPE_VALUETYPE_OBV_CI_H_ -#define _BE_VALUETYPE_VALUETYPE_OBV_CI_H_ - -// we need derived valuetype visitors for the client and server header files. For -// the others, they use the default valuetype visitor - -class be_visitor_valuetype_obv_ci : public be_visitor_valuetype -{ - // - // = TITLE - // be_visitor_valuetype_ci - // - // = DESCRIPTION - // This is a concrete visitor to generate the implementation for valuetype - // OBV_ class - // -public: - be_visitor_valuetype_obv_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_obv_ci (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - - virtual int visit_field (be_field *node); -}; - -#endif /* _BE_VALUETYPE_VALUETYPE_OBV_CI_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_cs.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_cs.h deleted file mode 100644 index fc7eba823b4..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_obv_cs.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_obv_cs.cpp -// -// = DESCRIPTION -// Visitor generating code for Valuetypes -// OBV_ class implementation -// (see C++ mapping OMG 20.17) -// -// = AUTHOR -// Torsten Kuepper , -// derived from interface_ch.cpp from Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_VALUETYPE_VALUETYPE_OBV_CS_H_ -#define _BE_VALUETYPE_VALUETYPE_OBV_CS_H_ - -class be_visitor_valuetype_obv_cs : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_valuetype_obv_cs - // - // = DESCRIPTION - // This is a concrete visitor to generate the implementation for valuetype - // OBV_ class - // -public: - be_visitor_valuetype_obv_cs (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_obv_cs (void); - // destructor - - virtual int visit_valuetype (be_valuetype *node); - - virtual int visit_field (be_field *node); -}; - -#endif /* _BE_VALUETYPE_VALUETYPE_OBV_CS_H_ */ - diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd.h deleted file mode 100644 index 435a992ae9d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd.h +++ /dev/null @@ -1,37 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_valuetype_fwd.h -// -// = DESCRIPTION -// Concrete visitor for the valuetype_fwd class -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale (be_visitor_interface_fwd.h) -// -// ============================================================================ - -#ifndef TAO_BE_VISITOR_VALUETYPE_FWD_H -#define TAO_BE_VISITOR_VALUETYPE_FWD_H - -#ifdef IDL_HAS_VALUETYPE - -#include "be_visitor.h" -#include "be_visitor_scope.h" - -#include "be_visitor_valuetype_fwd/valuetype_fwd_ch.h" -#include "be_visitor_valuetype_fwd/valuetype_fwd_ci.h" -#include "be_visitor_valuetype_fwd/cdr_op_ci.h" - -#endif /* IDL_HAS_VALUETYPE */ - -#endif /* TAO_BE_VISITOR_VALUETYPE_FWD_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ci.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ci.h deleted file mode 100644 index 756824a5e28..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ci.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.h -// -// = DESCRIPTION -// Concrete visitor for the valuetype_fwd class -// This one provides code generation for the CDR operators -// (actually just their declarations) for the valuetype forward -// declaration in the client inline. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale & Carlos O'Ryan -// -// ============================================================================ - -#ifndef BE_VISITOR_INTERFACE_FWD_CDR_OP_CI_H -#define BE_VISITOR_INTERFACE_FWD_CDR_OP_CI_H - -class be_visitor_valuetype_fwd_cdr_op_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_valuetype_fwd_cdr_op_ci - // - // = DESCRIPTION - // This is a concrete visitor for valuetype that generates the CDR - // operator forward declarations. - // - -public: - be_visitor_valuetype_fwd_cdr_op_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_fwd_cdr_op_ci (void); - // destructor - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype - -}; - -#endif /* BE_VISITOR_INTERFACE_FWD_CDR_OP_CI_H */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/valuetype_fwd_ch.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/valuetype_fwd_ch.h deleted file mode 100644 index 57103509505..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/valuetype_fwd_ch.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_fwd_ch.h -// -// = DESCRIPTION -// Concrete visitor for the Interface Forward node. -// This one provides code generation for valuetype forward node. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_FWD_CH_H_ -#define _BE_INTERFACE_INTERFACE_FWD_CH_H_ - -class be_visitor_valuetype_fwd_ch : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_valuetype_fwd_ch - // - // = DESCRIPTION - // This is the visitor for valuetype_fwd for the header file - // - // -public: - be_visitor_valuetype_fwd_ch (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_fwd_ch (void); - // destructor - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype_fwd. - -}; - -#endif /* _BE_INTERFACE_INTERFACE_FWD_CH_H_ */ diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/valuetype_fwd_ci.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/valuetype_fwd_ci.h deleted file mode 100644 index e32639d9a6b..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/valuetype_fwd_ci.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// valuetype_fwd_ci.h -// -// = DESCRIPTION -// Concrete visitor for the Interface Forward node. -// This one provides code generation for valuetype forward node. -// -// = AUTHOR -// Torsten Kuepper -// based on code from Aniruddha Gokhale -// -// ============================================================================ - -#ifndef _BE_INTERFACE_INTERFACE_FWD_CI_H_ -#define _BE_INTERFACE_INTERFACE_FWD_CI_H_ - -class be_visitor_valuetype_fwd_ci : public be_visitor_decl -{ - // - // = TITLE - // be_visitor_valuetype_fwd_ci - // - // = DESCRIPTION - // This is the visitor for valuetype_fwd for the inline file - // - // -public: - be_visitor_valuetype_fwd_ci (be_visitor_context *ctx); - // constructor - - ~be_visitor_valuetype_fwd_ci (void); - // destructor - - virtual int visit_valuetype_fwd (be_valuetype_fwd *node); - // visit valuetype_fwd - -}; - -#endif /* _BE_INTERFACE_INTERFACE_FWD_CH_I_ */ diff --git a/TAO/TAO_IDL/docs/ANNOUNCEMENT b/TAO/TAO_IDL/docs/ANNOUNCEMENT deleted file mode 100644 index 870db6f6006..00000000000 --- a/TAO/TAO_IDL/docs/ANNOUNCEMENT +++ /dev/null @@ -1,131 +0,0 @@ -WHAT: - -SunSoft, Inc., Mountain View, California, has placed the source code to -Project DOE's Interface Definition Language (IDL) compiler front end -(CFE) on OMG's file server, making the implementation publicly -available. This release is identified by the version number 1.3. - -Project DOE is SunSoft's corporate-wide development effort to integrate -distributed object technology into the Solaris O/S. OMG (Object Management -Group) is the industry wide body formed to create specifications for -distributed object technology. It currently has more than 370 members. OMG -IDL is part of OMG's CORBA 1.1 specification and provides a standardized -way for defining object interfaces. OMG IDL forms the basis for distributed -object interactionin Project DOE. - -The SunSoft OMG IDL CFE provides a complete framework for building -CORBA 1.1-compliant preprocessors for OMG IDL. By using this standard -implementation, developers of OMG IDL compilers will save many months -of work and enhance the portability and interoperability of OMG -IDL-interfaced objects. - -The SunSoft OMG IDL CFE allows convenient and fast integration of new back -ends to the compiler. The release consists of a front end which converts -OMG IDL to an intermediate format, a compiler framework driver, an example -implementation of a compiler back end, and a set of protocols for -interaction between the front and back ends. The SunSoft OMG IDL CFE -parser uses components generated by yacc and lex. - -The SunSoft OMG IDL CFE is designed to allow easy extension of OMG IDL -without impacting existing back-end implementations. As the CORBA -specification evolves, any new updates to the IDE CFE will be placed -by SunSoft on the OMG server. - -This release provides a directory with many examples of OMG IDL -specifications to allow users to become familiar with the process of -writing OMG IDL code. - -For more information send email to idl-cfe@sun.com. - -HOW: - -The SunSoft OMG IDL CFE is available at no charge through anonymous FTP -in source form on the OMG file server, omg.org. Please retrieve the -file OMG_IDL_CFE_1.3.tar.Z from the directory pub/OMG_IDL_CFE_1.3. Please -let us know who you are if you retrieve the compiler front end using this -method, by sending email to idl-cfe@sun.com. - -You can also retrieve the software by using the OMG mail server program. -Send email with the subject 'help' to omg_idl@omg.org, and the mail server -will respond with instructions on how to retrieve the software. - -WHEN: - -The SunSoft OMG IDL CFE is available now. - -CONTACT: - -Please let us know who you are if you decide to use this software, and how -you use it. Please send email to: - - idl-cfe@sun.com - -This address can also be used to report problems, bugs, suggestions and -send general comments. - -We ask that if you make extensions or modifications to this source release, -please make these extensions available to others using the OMG IDL compiler -front end, by sending the modified sources to the above email address. This -will help us evaluate your extensions for inclusion in a future version. It -also ensures your investment in these extensions when new versions of the -CFE are released. - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -COPYRIGHT NOTICE: - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 diff --git a/TAO/TAO_IDL/docs/BUG_REPORT b/TAO/TAO_IDL/docs/BUG_REPORT deleted file mode 100644 index 28c34ae141d..00000000000 --- a/TAO/TAO_IDL/docs/BUG_REPORT +++ /dev/null @@ -1,144 +0,0 @@ -OMG IDL COMPILER FRONT END PROBLEM REPORT FORM --============================================- - -Checklist: Did you: -- include configuration information? -- include compiler version number (use -V to obtain)? -- include script of run? -- include IDL file causing problem? -- make any changes to the CFE? If so, did you include a diff against - original version? - -PLEASE SEND THE COMPLETED BUG REPORT TO: idl-cfe@sun.com. - -THANK YOU FOR REPORTING THIS PROBLEM! THROUGH YOUR COLLABORATION, SUNSOFT -WILL BE ABLE TO IMPROVE THE FUNCTIONALITY OF THIS PRODUCT. RECEIPT OF BUG -REPORTS WILL BE ACKNOWLEDGED BUT NO OBLIGATION IS UNDERTAKEN BY SUNSOFT TO -CORRECT THE REPORTED PROBLEM. SEE YOUR COPYRIGHT AND LICENSE INFORMATION. - - -CONFIGURATION INFORMATION (describe your hardware platform, operating -system and which compilers you used to compile the CFE): - - - - - - -COMPILER VERSION INFORMATION (include output from idl -V here): - - - - - - - -PROBLEM DESCRIPTION (describe problem, include script if available): - - - - - - - - -IDL INPUT CAUSING PROBLEM (include IDL input causing problem): - - - - - - - - - -DID YOU MAKE ANY CHANGES TO THE CFE? [Y] _ [N] _ -IF YES, INCLUDE A DIF OF YOUR VERSION AGAINST ORIGINAL VERSION: - - - - - - - - - -PROPOSED FIX (if you believe you know the cause of the problem, please -include a proposed change to the software to correct it): - - - - - - - - -ANY OTHER RELEVANT INPUT (include here any other information you believe -may be relevant to the resolution of the problem you described): - - - - - - -PLEASE SEND THIS PROBLEM REPORT TO idl-cfe@sun.com. - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -COPYRIGHT NOTICE: - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 diff --git a/TAO/TAO_IDL/docs/CHANGES b/TAO/TAO_IDL/docs/CHANGES deleted file mode 100644 index ae6fca7bcea..00000000000 --- a/TAO/TAO_IDL/docs/CHANGES +++ /dev/null @@ -1,122 +0,0 @@ -CHANGES WHICH AFFECT BE WRITERS --=============================- - -INTRODUCTION - -This file describes changes that affect BE writers. It contains IMPORTANT -INFORMATION for BE writers who wish to migrate a BE written to operate with -release 1.2 to operate with release 1.3. It is likely that not following -these instructions will result in a compilable but malfunctioning compiler. - -AST INHERITANCE CHANGES - -The AST has been reorganized so that AST_Union and AST_Exception now -inherit from AST_Structure. This means that constructors of BE classes -which inherit from AST_Union or AST_Exception now need to explicitly call -an initializer for AST_Structure in their init section. - -We repeat below the information given in the file WRITING_A_BE, in the -section entitled "WRITING A BE". - -AST_EXCEPTION - -The signature for constructors of classes inheriting from AST_Exception -should now be: - - BE_Exception::BE_Exception(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_except, n, p), - AST_Structure(AST_Decl::NT_except, n, p), - UTL_Scope(AST_Decl::NT_except) - -AST_UNION - -The signature for constructors of classes inheriting from AST_Union should -now be: - - BE_Union::BE_Union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Union(dt, n, p), - AST_Structure(AST_Decl::NT_union, n, p), - AST_Decl(AST_Decl::NT_union, n, p), - UTL_Scope(AST_Decl::NT_union) - -IDL_BOOL TYPE - -To increase portability and reduce dependency of the sources on POSIX -compliance in targets of ports, IDL now provides its own boolean type which -is named idl_bool. It provides two truth values, I_TRUE and I_FALSE. - -UTL_SCOPEDNAME TYPE - -The UTL_ScopedName type is now a list of Identifier nodes; in previous -releases it used to be a list of String nodes. If your BE constructs scoped -names this change will prevent recompilation until you modify your -constructor calls to invoke constructors for Identifier instead of for -String. The signature of the constructor is: - - Identifier::Identifier(char *, long x=1, long y=0, long z=I_FALSE) - -The additional arguments which can be defaulted to the values indicated are -included for future use. - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/CLI b/TAO/TAO_IDL/docs/CLI deleted file mode 100644 index a61c2bae365..00000000000 --- a/TAO/TAO_IDL/docs/CLI +++ /dev/null @@ -1,187 +0,0 @@ -OMG INTERFACE DEFINITION LANGUAGE COMPILER FRONT END: COMMAND LINE INTERFACE --==========================================================================- - -INTRODUCTION - -This document describes general OMG Interface Definition Language compiler -command line options. Options that are specific to a given back end, object -adapter or language are not described here. These should be described in a -document detailing the interface implemented by each specific back end. - -OMG INTERFACE DEFINITION LANGUAGE COMMAND LINE OPTIONS - -OMG Interface Definition Language compiler options are described below. -Unless otherwise noted, only one occurrence of each option is allowed. -The following conventions are used - -- Text in '[..]' is optional. -- Text followed by '*' can be repeated zero or more times. -- Text followed by '+' can be repeated once or more times. -- '{' and '}' are used to group text to cause '+' or '*' to apply to - the entire grouped text. -- 'aa|bb' means either 'aa' or 'bb'. - -COMMAND LINE SUMMARY - - idl [flag | file-name]* - -Flags are command line words that start with a '-'. All other command line -words are assumed to be file names. If no file names are given, input is -taken from stdin. - -COMMAND LINE FLAGS - --A[xyz] A local escape. This can be used to specify additional options that - are specific to a given implementation. More than one -A option is - allowed - --Dname[=value] - Defines name and an optional value to be passed to a compliant C++ - preprocessor, as if by #define. White space between the -D option - and the name is optional. More than one -D option is allowed. - --d If no parse errors were found, prints out a representation of the - IDL input to stderr. - --E Runs the C++ preprocessor on the OMG Interface Definition Language - input and sends the result to the standard output. - --Idirectory - Causes directory to be added to the search path for include files. - More than one -I option is allowed. This option is processed by a - compliant C++ preprocessor. - --Uname Undefines name, as if by #undef. White space between the -U option - and the name is optional. More than one -U option is allowed. - --V Causes the version information of the CFE to be displayed. No other - work is done, regardless of any other options. - --W[b|p][,arg]+ - Hands off the arguments supplied to a specific portion of the OMG - Interface Definition Language compiler: - - - -Wb arguments are handed to the loaded back end - - -Wp arguments are handed to a compliant C++ preprocessor - --Yp,pathname - Specifies an alternate path for finding a C++ compliant - preprocessor. Specifiers other than 'p' may be defined in future - versions of the CFE. More than one -Y option may appear. The last - one specifying each component takes effect. - - This option exists but currently does nothing. Instead, we use the - preprocessing facilities provided by invoking CC -E always. - --bback_end - Causes the CFE to use a different compiler back end than the - default one (if dynamic loading is supported). Legal values for - this option and the default value are implementation specific. - --u Prints a usage message from the CFE. All possible options are - shown. No other work is done regardless of any other options. - --v Causes the CFE to produce informational output as the various - phases of the compiler execute. - --w Suppresses IDL compiler warning messages. - - -WHITESPACE - -All option arguments may be separated from their option letter by -whitespace. For example, -D FOO is equivalent to -DFOO. - -UNKNOWN OPTIONS - -If an unknown option is passed to the CFE, the offending option is -displayed to the user together with a usage message, and no compilation is -performed. - -PASSING OPTIONS TO COMPILER PHASES - -The order in which options appear on the command line is preserved when -they are passed to various compiler phases. - -MUTUALLY EXCLUSIVE OPTION COMBINATIONS - -Mutually exclusive or ambiguous option combinations are resolved by using -the option that appears later on the command line. For example, - - -DFOO -UFOO - -has no effect and leaves FOO undefined for the preprocessor. - -OPTION SCOPE - -All options are in effect for the entire IDL compilation run. If multiple -IDL source file names are given on the command line, all options apply to -each file. If different IDL source files require different sets of options -for successfull compilation, they must be compiled separately. - -EXIT STATUS - -IDL Compilers exit with status equal to zero for successfull compilations. -If errors were found by the CFE, the exit status is a count of the errors. -The exit status for unsuccessfull compilations aborted by BEs is defined by -each BE. - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -COPYRIGHT NOTICE: - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 diff --git a/TAO/TAO_IDL/docs/COPYRIGHT b/TAO/TAO_IDL/docs/COPYRIGHT deleted file mode 100644 index 461ad949518..00000000000 --- a/TAO/TAO_IDL/docs/COPYRIGHT +++ /dev/null @@ -1,57 +0,0 @@ -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/INSTALL b/TAO/TAO_IDL/docs/INSTALL deleted file mode 100644 index 6fcaa710042..00000000000 --- a/TAO/TAO_IDL/docs/INSTALL +++ /dev/null @@ -1,229 +0,0 @@ -INTERFACE DEFINITION LANGUAGE INSTALLATION GUIDE --==============================================- - -INTRODUCTION - -This file describes the installation process for OMG_IDL_CFE version 1.3. -This file explains how to: - -- install the source code -- modify the sources to customize them for different configurations -- modify the sources to implement your own back end - -TESTED CONFIGURATIONS - -This release has been tested and is believed to operate correctly on: -- SunPro Sparcworks 2.x and 3.0 on SunOS 4.1.x -- SunPro Sparcworks 2.x and 3.0 on Solaris 2.3 -- g++ 2.5.8 on SunOS 4.1.x -- g++ 2.5.8 on Solaris 2.3 - -This is the first release of OMG IDL CFE which is preconfigured to compile -correctly for Solaris 2.x and with SunPro SparcWorks compilers. - -CUSTOMIZATION - -The release contains a file idl_make_vars in the current directory, which -is included in each Makefile. This file defines all the customizable -variables for the CFE. - -OSV should be set to a string denoting the operating system upon which you -wish to build the CFE. The CFE as shipped is preconfigured to compile -correctly on Solaris 2.x (OSV=SOLARIS2), and has also been tested on SunOS -4.1.x (OSV=SUNOS4). It contains code donated by HP which enables it to be -compiled on Apollo Domain systems (OSV=apollo) and HPUX systems (OSV=hpux), -but these two configurations have not been tested. - -C++ and CCC should be set to identify the C++ compiler you will use to -compile this release. Their values should be identical. Both are set to -address differences between various make programs - some predefine CCC, -others use C++ to denote the C++ compiler. The possible values are CC -(which uses the Sparcworks compilers on SunOS 4.1 and Solaris 2.3) and g++, -which uses the installed version of GNU C++. - -CCFLAGS should be set to a list of flags to pass to the C++ compiler. As -shipped, this list is -g. NOTE: We have not extensively tested the release -with optimization turned on. - -CPP_FLAGS should be set to a list of flags to pass to the C++ preprocessor. -Use this variable to enable or disable specific customizations you make to -the BE or CFE sources. - -YFLAGS should be set to a list of flags to pass to the Yacc program. As -shipped, the list is -d -t, which causes Yacc to generate y.tab.h and -y.tab.c files. - -LEXFLAGS should be set to a list of flags to pass to the Lex program. As -shipped, the list -t. - -RANLIB should be set to the location of the ranlib program on your system. -As shipped this is ranlib. If your system has no ranlib you can set this -variable to ':' or /bin/true. As shipped the variable is preset to -/bin/true since Solaris 2.x does not use ranlib. - -AR should be set to the location of the ar program on your system. As -shipped this is ar. If your system has a different mechanism for creating -libraries, you should modify the value of this variable accordingly. - -ARFLAGS should be set to the flags to be passed to the ar program. As -shipped this is 'crv'. - -INSTALLATION - -a. Disk space requirements - -This distribution requires approximately 350 KBytes when compressed. When -uncompressed, untarred and compiled, approximately 10 MBytes of disk space -are consumed on a Sun 4. - -b. Getting the software - -Use anonymous FTP to omg.org and supply your e-mail address as password. -Change directories to pub/OMG_IDL_CFE_1.3, set bin and get the compressed -tar file OMG_IDL_CFE_1.3.tar.Z. - -The distribution may, in the future, be made available from other archives -on the Internet. However, omg.org will always have the most up-to-date -version of this software. - -After transferring this file, uncompress it and untar it in a directory of -your choice. - -c. Compiling it - -If you are using a Sparcstation running Solaris 2.x and have the SunPro -Sparcworks compilers installed, you may directly install the software. If -your hardware or operating system configurations are different, read and -follow the instructions in the previous section first. - -At the root directory of the release, issue - - % make - -or - - % make all - -This will compile the provided sources and the sources found in the be -directory. Executing this make target causes 'make all' to be invoked in -each subdirectory, resulting in building the libraries for each component -and finally a link step producing an executable IDL compiler. - -In order to make only the compiler front end components, without compiling -the sources found in the be directory and without building an executable, -issue - - % make libs - -This will build the libraries in the ast, fe, util, driver and narrow -directories. To build only the be, issue - - % make be - -To build all libraries without creating an executable, issue - - % make all_libs - -To remove all files created by the build process, issue - - % make clean - -This will not remove any files created by Yacc and Lex, because you may be -using the ones provided in the distribution (see below). - -d. Yacc and Lex - -Some installations may not have a C++ aware Yacc and Lex processor. For -these installations, we have included the output of yacc and lex in the -release. If you need to use these files to build the release because you -don't have access to a C++ capable Yacc or Lex, go to the "fe" directory, -issue the command: - - % touch lex.yy.cc y.tab.cc y.tab.hh - -This will ensure that the processed files appear to be newer than the -source files they were produced from and will cause "make" to skip their -production. - -NOTE: The files provided in the distribution have been produced on Solaris -2.3 and may contain OS-specific #include directives. If you intend to use -these files, you may have to edit them to make them work in your -environment. The provided files are known to compile cleanly without -modification with both SunPro Sparcworks compilers and GNU C++ on both -SunOS 4.1 and Solaris 2.3. We have not tested the grammar and lexer input -files with bison or flex. - -IMPLEMENTING A BACK END - -To implement your own back end, you can start with the provided sources in -the be directory and modify them. The Makefile understands the 'make all' -target and will generate libbe.a in the demo_be directory. As set up, the -variable CPP_FLAGS allows you to place include files either in the current -directory or in the include directory. Alternatively, you can place your -include files in a new directory and modify CPP_FLAGS to cause the C++ -preprocessor to search this new directory for referenced include files, by -adding a new -I directive. - -Additional detail on the structure and function of back ends, and on the -protocol which a back end must implement, are found in the document -entitled WRITING_A_BE. - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/PROBLEMS b/TAO/TAO_IDL/docs/PROBLEMS deleted file mode 100644 index 65cfb6a1893..00000000000 --- a/TAO/TAO_IDL/docs/PROBLEMS +++ /dev/null @@ -1,132 +0,0 @@ -OMG INTERFACE DEFINITION LANGUAGE COMPILER FRONT END: KNOWN PROBLEMS --==================================================================- - -INTRODUCTION - -This file describes what configurations are known to work correctly with -this release, and what are the known problems with this release as shipped. -Comments about future possible enhancements do not imply a commitment on -the part of Sun or any of its subsidiaries to produce these enhancements. - -TESTED CONFIGURATIONS - -This release has been tested and is known to operate correctly on: - -- Sparcstation 2 running SunOS 4.1.2, when compiled with SparcWorks 3.0 -- Sparcstation 10 running Solaris 2.3, when compiled with SparcWorks 3.0.1 -- Sparcstation 10 running Solaris 2.3, when compiled with SparcWorks 4.0 - -We are aware of a bug in GNU C++ (the latest version we tested was 2.5) -which causes up-casting (changing the type of an instance from a base class -to a more derived class, also known as "narrowing") to fail or cause a -program crash. - -PROBLEMS: - -This is a list of known problems with the current version of the CFE: - -- The following syntax, although legal, is not accepted by the CFE: - - .. sequence > .. - - This causes a parse error. The cause of this problem is that the '>>' is - read as a right shif operater and not as two '>'s. You can avoid this - problem by instead writing - - .. sequence > .. - -- The following syntax, although legal, is not accepted by the CFE: - - const string foo = "abc" " and" " another" " string"; - - Instead, write: - - const string foo = "abc and another string"; - -- The printout produced by the -d option for dumping the AST is not always - perfect. Specifically, dumping of sequences and arrays is deficient. - -POSSIBLE FUTURE ENHANCEMENTS: - -This is a list of areas in which the code of the CFE may change in future -releases: - -- The current release is restricted in its use of C++ because it must - be possible to compile it using C++ 2.1. However, we have also provided - files that depend on features which are only present in C++ 3.0, such as - templates. If your compiler supports templates and you wish to use them, - copy the files in include/utl_tmpl to include, and copy the files in - util/utl_tmpl to util. You will also need to make compiler dependent - modifications to Makefiles throughout the CFE directory hierarchy to - enable the use of templates. - - The code using templates was donated by Steve Vinoski of HP. - - In a future release of the CFE only the template code may be included, - and hence users will need to use a C++ 3.0 or higher compiler. - -- The UTL_list classes defined in the util directory are rudimentary. More - features may be added to make the functionality richer. - -- The UTL_String class may be rewritten or replaced by a standard ANSI C++ - String implementation. Applications will be shielded from this change. - -COPYRIGHT: - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/README b/TAO/TAO_IDL/docs/README deleted file mode 100644 index 6d73554acce..00000000000 --- a/TAO/TAO_IDL/docs/README +++ /dev/null @@ -1,233 +0,0 @@ -INTERFACE DEFINITION LANGUAGE COMPILER FRONT END --==============================================- - -INTRODUCTION - -Welcome to the publicly available source release of SunSoft's -implementation of the compiler front end (CFE) for OMG Interface Definition -Language! This is Release 1.3 of the CFE. - -The Interface Definition Language (IDL) implementation is divided into -three parts: - -- A main program for driving the compilation process -- A parser and attendant utilities -- One or more back ends (BEs) for taking the processed input and producing - output in a target language and target format - -WARNINGS - -This is a preliminary version. This software is made available AS IS and -WITH NO GUARANTEES. Please read the copyright notice attached at the -bottom of this file. - -IMPORTANT NOTICE FOR USERS OF OMG IDL CFE VERSION 1.2. - -Please carefully read the file CHANGES to obtain IMPORTANT INFORMATION on -changes in that may affect the manner in which a BE is constructed. You -must follow instructions contained in the file CHANGES to obtain a -functional BE if you are migrating an existing BE from OMG IDL CFE v. 1.2. - -TARGET AUDIENCE - -Who should use this release? - -- You can use this source release to create a stand alone parser for OMG - Interface Definition Language. This may be useful to verify the legality - of IDL input. -- Developers of OMG Interface Definition Language compilers should use this - release as a basis for writing their back ends, to obtain a common - framework for their compiler and to provide portable and uniform - parsing of IDL input. - -HOW TO OBTAIN THIS SOFTWARE - -Please use anonymous FTP to omg.org and supply your e-mail address as the -password. Then change directories to pub/OMG_IDL_CFE_1.3, set binary transfer -and get the file OMG_IDL_CFE_1.3.TAR.Z. This file includes copies of all -individual documentation files in the directory. - -Precompiled binaries constructed from the sources in this release will be -made available shortly, in the directory pub/OMG_IDL_CFE_1.3/bin. These -binaries are useful for parsing IDL source and for learning about the -language. Precompiled binaries for Solaris 2.x and for SunOS 4.x will be -provided. - -You can also use the mail server program to retrieve this software. Send -email with the subject 'help' to omg_idl@omg.org, and the mail server will -respond with instructions on how to retrieve the software. - -Copies of this software may be made available from archives other than -omg.org. New versions made available by Sun will be placed on omg.org and a -message will be sent to this newsgroup announcing its availability. - -Finally, the SunSoft OMG IDL CFE is also available on magnetic tape for a -nominal media charge directly from SunSoft. Please refer to part number -DIDL-100-STP when ordering. - -CONTACT POINT - -Please let us know who you are if you decide to use this software, and how -you use it. Please send e-mail to: - - idl-cfe@sun.com - -This address can also be used to report problems, bugs, suggestions and -send general comments. - -WHAT IS PROVIDED IN THE RELEASE - -Provided in this release are: - -- A main program for driving an Interface Definition Language compiler -- A parser for the Interface Definition Language grammar which builds an - internal representation of the input parsed. This internal - representation, named an Abstract Syntax Tree (AST), is used as input to - a back end -- Some utility functions used by the parser -- A demonstration back end (BE) which exercises the front end but produces - no translated output -- Documentation of the public interfaces and of the contract between - the compiler front end and a back end - -OPERATION - -A complete compiler operates in two passes: - -- The first pass, provided in this release, parses the IDL input and - produces an internal representation, called an Abstract Syntax Tree (AST). - This pass also does a complete syntax and semantics check of the input - provided to ensure that exactly legal IDL input is accepted. If a syntax - or semantic error is discovered, the second pass is not invoked. -- The second pass, provided by compiler developers, takes the AST and - produces output in the language and format of choice. A demonstration - back end is provided in the release. - -HOW TO USE THIS SOFTWARE - -To create a complete compiler from OMG Interface Definition Language to a -target language, compiler developers will: - -- Write a back end (BE) to take the internal representation of the input - parsed and translate it to the target language and format. You will - probably want to replace the BE directory in this source tree with your - own BE directory -- Link the BE with the sources provided here to produce a complete - compiler. - -DOCUMENTATION - -The OMG Interface Definition Language is fully described in the CORBA -documentation, Chapter 4. This document may be obtained from OMG. - -This release also provides the following documents: - -- This README file, describing the release -- INSTALL, describing installation of the software -- WRITING_A_BE contains all the information needed to start writing a back - end for this distribution -- CHANGES_IN_AST describes changes that affect migration of BEs written - against version 1.2 to version 1.3. -- CLI, describing the command line interface to the CFE -- ROADMAP, describing the directory structure for the source code. This - file will assist a developer in understanding the structure of the code - and navigating it -- PROBLEMS, describing a list of issues that may be addressed in future - releases -- BUG_REPORT, containing a form for use in reporting bugs and problems - with the IDL CFE - -ENVIRONMENT - -The INSTALL file explains how to customize the software for specific -platforms. The source distribution expects the following environment: - -- Sparcstation 1, 2, or 10 hardware -- SunPro SparcWorks 3.x or 4.0 - -As preconfigured, it compiles on Solaris 2.x. It can be reconfigured to -compile on SunOS 4.x, HPUX or Apollo Domain OS. As far as is known, no use -is made of Sun Make-specific features, and the Makefiles should be usable -with other make programs. - -This release has been tested and is believed to operate correctly with: -- SunPro Sparcworks 2.x and 3.0 on SunOS 4.1.x -- SunPro Sparcworks 2.x and 3.0 on Solaris 2.3 -- g++ 2.5.8 on SunOS 4.1.x -- g++ 2.5.8 on Solaris 2.3 - -INSTALLATION - -This release is targetted for Sun workstations running Solaris 2.x. The -process of installing this software is described in detail in the file -INSTALL in this directory. The INSTALL file also describes how to customize -the release for your own environment if it is different. - -KNOWN PROBLEMS - -A list of known deficiencies is provided in the file PROBLEMS in this -directory. If you find a problem which is not mentioned in it, please -report it as described below. Please read this file now to be apprised of -the problems found so far with this release. - -COPYRIGHT - -This copyright notice appears on all files. Please read it! - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/ROADMAP b/TAO/TAO_IDL/docs/ROADMAP deleted file mode 100644 index 5da0d83823c..00000000000 --- a/TAO/TAO_IDL/docs/ROADMAP +++ /dev/null @@ -1,126 +0,0 @@ -INTERFACE DEFINITION LANGUAGE SOURCE TREE ROADMAP --===============================================- - -INTRODUCTION - -This file provides an overview of the directory structure of the sources -for the compiler front end for OMG Interface Definition Language. This will -be of use in understanding the source structure and will aid developers of -BEs. - -DIRECTORIES - -The following directories are present: - -- idl_specs: Contains many examples of IDL specifications, including the - IDL specifications of several Object Services, and several - files that somewhat exhaustively test features of the IDL - language -- include: Contains all include (".hh") files -- ast: Contains implementations for all classes comprising - the AST internal representation of the input parsed -- fe: Contains the Yacc grammar and Lex specification for - the OMG Interface Definition Language, and some utilities -- driver: Contains the main program which drives the compilation - process -- util: Contains utility classes used throughout the CFE. These - classes may also be of use in writing a BE -- narrow: Contains an implementation of a narrowing mechanism used - in the CFE. Since C++ does not provide compiler support - for narrowing, this is provided as an explicit service -- demo_be: Contains a demonstration back end which subclasses all - the AST classes but adds no functionality - -NAMING CONVENTIONS - -The file names start with two or three characters identifying the component -to which they belong: - -- idl_: This is the prefix for all files which contain global - elements of the CFE -- ast_: This is the prefix for all files containing implementations - or definitions of the AST -- fe_: This is the prefix for all files belonging to the parser -- drv_: This is the prefix for all files belonging to the compiler - driver -- utl_: This prefix is used to identify files belonging to the set of - utlities provided with the CFE -- nr_: This prefix identifies files belonging to the narrowing mechanim -- be_: This is the prefix for all files belonging to the back end - -All C++ files use the ".cc" extension, and all include files have the ".hh" -extension. All make files are named Makefile. Each directory contains a -make file. Lex input files have the ".ll" extension, and Yacc input files -use the ".yy" extension. All files containing IDL specifications have a -name ending with the ".idl" suffix. - -INCLUDE FILE HIERARCHY - -There are two main include files which must be included in all source -files. These are idl.hh and idl_extern.hh. The idl.hh file includes the -definitions for all the facilities provided by the CFE. The idl_extern.hh -file declares globally accessible data and exported application programmer -interface entry points. - -Each component has an include file for its own. Back end writers will want -to modify be.hh and possibly be_extern.hh. - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/WRITING_A_BE b/TAO/TAO_IDL/docs/WRITING_A_BE deleted file mode 100644 index 5c3c069f7a1..00000000000 --- a/TAO/TAO_IDL/docs/WRITING_A_BE +++ /dev/null @@ -1,1350 +0,0 @@ -OMG INTERFACE DEFINITION LANGUAGE COMPILER FRONT END PROTOCOLS -============================================================== - -INTRODUCTION ------------- - -Welcome to the publicly available source release of SunSoft's -implementation of the compiler front end (CFE) for OMG Interface Definition -Language! - -This document explains how to use the release to create a fully functional -OMG Interface Definition Language to target language compiler for your -selected target system configuration. The section OVERVIEW explains this -document's structure. - -CONTEXT -------- - -The implementation has three parts: - -1. A main program driving the compilation process -2. A parser and attendant utilities for converting the IDL input into - an internal form -3. One or more back ends which take as input the internal form representing - the IDL input, and which produce output in a target language and target - format - -The release contains components 1 and 2, and a demonstration implementation -of component 3. To use this release, you - -- write a back end which takes the internal representation of the parsed input - and translates it to the target language and format. You may replace or - modify the demonstration back end provided. -- link the back end with the provided main program and parser sources - to produce a complete compiler. - -OVERVIEW --------- - -This document does not explain IDL nor does it introduce IDL features. -For this information, refer to the OMG CORBA specification, available by -anonymous FTP from omg.org. - -This document does not explain C++, except to demonstrate how it is -used to construct the CFE. The ARM by Stroustrup and Ellis provides a -thorough explanation of C++. - -This document consists of two independent parts. The first part -s all CFE supported protocols and the required -application programmer's interface entry points that a conformant -BE must provide. The second part steps through the process of -constructing a working BE. - -The first part describes: - -- The compilation process -- The Abstract Syntax Tree (AST) internal representation of parsed IDL - input -- How access to member data fields is managed -- How the AST is generated from the IDL input (Generator protocol) -- How definition scopes are nested and how name lookup works -- The narrowing mechanism -- How definition scopes are managed and how nodes are added to scopes -- How BEs get control during the AST construction process (Add protocol) -- The inheritance scheme used by the AST and how it affects BEs -- How errors are handled and reported -- How the CFE is initialized -- How the command line arguments are parsed -- What global variables and functions are provided -- What API is required to be supported by a BE in order to link - with the CFE -- What files must be included in each BE file - -The second part describes - -- The API to be supplied by each BE -- How to subclass from the AST to add BE specific functionality -- How to subclass from the Generator protocol to create BE specific - extended AST nodes -- How to write constructors for the derived BE classes -- How to use the Add protocol to store BE specific information -- How to maintain BE specific information which applies to the entire - AST generated from the IDL input -- How to use data members in your BE -- How to build a complete compiler - -PART I. FEATURES OF THE CFE --=========================- - -THE COMPILATION PROCESS ------------------------ - -The OMG IDL compiler operates as follows: - -- Parses command line arguments. If an option is directed at a - BE, an appropriate operation provided by the BE is invoked to process - the option. -- Performs global initialization. -- Forks a copy of the compiler for each file specified as input. -- An ANSI-compatible preprocessor preprocesses the IDL input. -- Parses the file using the CFE parser, and constructs an AST describing the - IDL input. -- Prints the AST for verification, if requested. -- Invokes the BE to process the AST and produce the output - characteristic of that BE. - -ABSTRACT SYNTAX TREE --------------------- - -The AST (Abstract Syntax Tree) is the primary mechanism for communication -between a BE and the CFE. It consists of a tree of instances of classes -defined in the CFE or refinements of those classes as defined in a BE. -The class hierarchy of the AST closely resembles the structure of the IDL -syntax. Most AST classes have direct equivalents in IDL constructs. - -The UTL_Scope class defines common functionality for definition scope -management and name lookup. This is explained in a following section. -UTL_Scope is defined in include/utl_scope.hh and implemented in -util/utl_scope.cc. - -The AST provides the following classes: - -AST_Decl Base of the AST class hierarchy. Each class in the AST - inherits from AST_Decl. Defined in include/ast_decl.hh - and implemented in ast/ast_decl.cc - -AST_Type Common base class for all classes which represent IDL - type constructs. Defined in include/ast_type.hh and - implemented in ast/ast_type.cc. Inherits from AST_Decl. - -AST_ConcreteType Common base class for all classes which represent IDL - types other than interfaces. Defined in the file - include/ast_concrete_type.hh and implemented in - ast/ast_concrete_type.cc. Inherits from AST_Type. - -AST_PredefinedType Instances of this class represent all predefined types - such as long, char and so forth. Defined in the file - include/ast_predefined_type.hh and implemented in - ast/ast_predefined_type.cc. Inherits from - AST_ConcreteType. - -AST_Module Represents the IDL module construct. Defined in the - file include/ast_module.hh and implemented in - ast/ast_module.cc. Inherits from AST_Decl and - UTL_Scope. - -AST_Root Represents the root of the abstract syntax tree being - constructed. Is a subclass of AST_Module. Can be - subclassed in BEs to store information associated with - the entire AST. Defined in the file include/ast_root.hh - and implemented in ast/ast_root.cc. Inherits from - AST_Module. - -AST_Interface Represents the IDL interface construct. Defined in - include/ast_interface.hh and implemented in the file - ast/ast_interface.cc. Inherits from AST_Type and - UTL_Scope. - -AST_InterfaceFwd Represents a forward declaration of an IDL interface. - Defined in include/ast_interface_fwd.hh and implemented - in ast/ast_interface_fwd.cc. Inherits from AST_Decl. - -AST_Attribute Represents an IDL attribute construct. Defined in - include/ast_attribute.hh and implemented in the file - ast/ast_attribute.cc. Inherits from AST_Decl. - -AST_Exception Represents an IDL exception construct. Defined in - include/ast_exception.hh and implemented in the file - ast/ast_exception.cc. Inherits from AST_Decl. - -AST_Structure Represents an IDL struct construct. Defined in the file - include/ast_structure.hh and implemented in the file - ast/ast_structure.cc. Inherits from AST_ConcreteType - and UTL_Scope. - -AST_Field Represents a field in an IDL struct or exception - construct. Defined in include/ast_field.hh and - implemented in ast/ast_field.cc. Inherits from - AST_Decl. - -AST_Operation Represents an IDL operation construct. Defined in the - file include/ast_operation.hh and implemented in - ast/ast_operation.cc. Inherits from AST_Decl and - UTL_Scope. - -AST_Argument Represents an argument to an IDL operation construct. - Defined in include/ast_argument.hh and implemented in - ast/ast_argument.cc. Inherits from AST_Field. - -AST_Union Represents an IDL union construct. Defined in - include/ast_union.hh and implemented in - ast/ast_union.cc. Inherits from AST_ConcreteType and - from UTL_Scope. - -AST_UnionBranch Represents an individual branch in an IDL union - construct. Defined in include/ast_union_branch.hh and - implemented in ast/ast_union_branch.cc. Inherits from - AST_Field. - -AST_UnionLabel Represents the label of an individual branch in an IDL - union construct. Defined in include/ast_union_label.hh - and implemented in ast/ast_union_label.cc - -AST_Constant Represents an IDL constant construct. Defined in - include/ast_constant.hh and implemented in the file - ast/ast_constant.cc. Inherits from AST_Decl. - -AST_Enum Represents an IDL enum construct. Defined in the file - include/ast_enum.hh and implemented in ast/ast_enum.cc. - Inherits from AST_ConcreteType and UTL_Scope. - -AST_EnumVal Represents an enumerator in an IDL enum construct. - Defined in include/ast_enum_val.hh and implemented in - ast/ast_enum_val.cc. Inherits from AST_Constant. - -AST_Sequence Represents an IDL sequence construct. Defined in - include/ast_sequence.hh and implemented in - ast/ast_sequence.cc. Inherits from AST_Decl. - -AST_String Represents an IDL string construct. Defined in the file - include/ast_string.hh and implemented in - ast/ast_string.cc. Inherits from AST_Decl. - -AST_Array Represents an array modifier to the type of an IDL - field or typedef declaration. Defined in the file - include/ast_array.hh and implemented in - ast/ast_array.cc. Inherits from AST_Decl. - -AST_Typedef Represents an IDL typedef construct. Defined in the file - include/ast_typedef.hh and implemented in - ast/ast_typedef.cc. Inherits from AST_Decl. - -AST_Expression Represents an IDL expression. Defined in the file - include/ast_expression.hh and implemented in - ast/ast_expression.cc. - -AST_Root A subclass of AST_Module, an instance of this class - is used to represent the distinguished root node of - the AST. Defined in include/ast_root.hh and implemented - in ast/ast_root.cc. Inherits from AST_Module. - - -USING INSTANCE DATA -------------------- - -The AST classes define member data fields in addition to defining -operations on instances. These member data fields are all private, to allow -only the instance in which they are stored direct access. Other objects -(including other instances of the same class) can obtain access to the -member data fields of an instance through accessor functions. These -accessor functions allow retrieval of the data, and in some cases update -functions are also provided to store new values. - -There are several reasons why this approach is taken. First, it hides the -actual implementation of the member data fields from outside the class. For -example, a Thermometer class would not expose whether its temperature -reading is stored in Farenheit or Celsius units, and it could allow access -through either unit method. - -Second, protecting access to member data in this manner restricts the -ability to update it to the instance itself, save where update functions -are explicitly provided. This makes for more reliable implementations, -since the manipulation of the data is isolated in the class implementation -itself. - -Third, wrapping a function call around access to member data allows such -access and update operations to be protected in a multithreaded -environment. While the CFE itself is not multithreaded and the access -operations as currently defined do no special work to protect against -mutliple conflicting access operations, this may be changed in a future -version. Moving the CFE to a multithreaded environment without protecting -access to member data in this manner would be extremely difficult. - -The protocol defined in the CFE is that member data fields are all private -and have names which start with the prefix "pd_" (denoting Private Data). -The access functions have names which are the same as the name of the field -sans the prefix. For example, AST_Decl has a field pd_defined_in and an -access function defined_in(). - -The update functions have names starting with "set_" followed by the name -of the corresponding access function. Thus, AST_Decl defines a function -set_in_main_file(boolean) which sets the pd_in_main_file data member's -value to the boolean provided. - -GENERATION OF THE AST ---------------------- - -The CFE generates the abstract syntax tree after parsing IDL -input. The nodes of the AST are defined by classes introduced in the -previous section, or by subclasses thereof as defined by each BE. In -writing the CFE, we were faced with the following problem: how to generate -the AST containing nodes of the derived classes as defined in each BE -without knowledge of the types and conventions of these BE classes. - -One alternative was to define a naming scheme which predetermines the names -of each subclass a BE can define. The AST would then be generated by -calling an appropriate constructor on the BE derived class. This scheme -suffers from some shortcomings: - -- It breaks the modularity of the compiler and imports knowledge about - types defined in a BE into the CFE, where this information does not belong. -- It restricts a compiler to having only one BE loaded at a time because the - names of these classes can be in use in only one BE at a time. -- It requires a BE to provide derived classes for all AST classes, even for - those classes where the BE adds no functionality. - -The mechanism we chose is different. We define the AST_Generator class -which has an operation for each constructor defined on each AST class. The -operation takes arguments appropriate to the constructor, invokes it and -returns the created AST node, using the type known to the CFE. All such -operations on the generator are declared virtual. The names of all -operations start with "create_" and contain the name of the construct. -Thus, an operation which invokes a constructor of an AST_Module is named -create_module. AST_Generator is defined in include/ast_generator.hh and -implemented in ast/ast_generator.cc. - -If a BE derives from any AST class, it must also derive from the -AST_Generator class and redefine the relevant operations to invoke -constructors of the BE provided class instead of the AST provided class. -For example, if BE_Module is a subclass of AST_Module in a BE, the BE would -also define BE_Generator and redefine create_module to call the constructor -of BE_Module instead of that provided by AST_Module. - -During initialization, the CFE causes an instance of the BE derived -generator to be created and saved. This is explained in the section on -REQUIRED ENTRY POINTS SUPPLIED BY A BE. During parsing, actions in the Yacc -grammar invoke operations on the saved instance to create new nodes for the -AST as it is being built. These operations invoke constructors for BE -derived classes or for AST provided classes if they were not overridden. - -DEFINITION SCOPES ------------------ - -IDL is a nested scoped language. The scoping rules are defined by the CORBA -spec and closely follow those of C++. - -Scope management is implemented in two classes provided in the utilities -library, UTL_Scope and UTL_Stack. UTL_Scope manages associations between -names and AST nodes, and UTL_Stack manages scope nesting and entry and exit -from definition scopes as the parse is proceeding. UTL_Scope is defined in -include/utl_scope.hh and implemented in util/utl_scope.cc. UTL_Stack is -defined in include/utl_stack.hh and implemented in util/utl_stack.cc. - -During initialization, the CFE creates an instance of UTL_Stack and saves -it. During parsing, as definition scopes are entered and exited, AST nodes -are pushed onto, or popped from, the stack represented by the saved -instances. Nodes on the stack are stored as instances of UTL_Scope. Section -THE NARROWING MECHANISM explains how to obtain the real type of a node -retrieved from the stack. - -All definition scopes are linked in a tree rooted in the distinguished AST -root node. This linkage is implemented by UTL_Scope and AST_Decl. The -linkage is a permanent record of the scope nesting while the stack is a -dynamic record which at each instant represents the current state of the -parse. - -The nesting information is used to do name lookup. IDL uses scoped names -which are concatenations of definition scope names ending with individual -construct names. For example, in - - interface a { - struct b { - long c; - }; - const long k = 23; - struct s { - long ar[k]; - }; - }; - -the name a::b::c represents the long field in the struct b inside the -interface a. - -Lookup is performed by searching down the linkage chain for the first component -of the name, then, when found, recursively resolving the remaining -components in the scope defined by the first component. Lookup is relative -to the scope of use; in the above example, k could also have been referred to -as a::k within the struct s. - -Nodes are stored in a definition scope as instances of AST_Decl. Thus, name -lookup returns instances of AST_Decl. The next section, THE NARROWING -MECHANISM, explains how to obtain the real type of a node retrieved from a -definition scope. - -THE NARROWING MECHANISM ------------------------ - -Here we give only a cursory explanation of how narrowing works. We -concentrate on defining the problem and showing how to use our narrowing -mechanism. The narrowing mechanism is defined in include/idl_narrow.hh. - -As explained above, nodes are stored on the scope stack as instances of -UTL_Scope, and inside definition scopes as instances of AST_Decl. Also, -nodes are linked in a nesting tree as instances of AST_Decl. Given a node -retrieved from the stack or a definition scope, one is faced with the task -of obtaining its real class. C++ does not currently provide an implicit -mechanism for narrowing to a derived class, so the CFE defines its own -mechanism. This mechanism requires some work on your part as BE implementor -and requires some explicit code to be written when it is to be used. - -The class AST_Decl defines an enum whose members encode specific AST node -classes. AST_Decl provides an accessor function, node_type(), which -retrieves a member of the enum representing the AST type of the node. Thus, -if an instance of AST_Decl really is an instance of AST_Module, the -node_type() accessor returns AST_Decl::NT_module. - -The class UTL_Scope also provides an accessor function, scope_node_type(), -which returns a member of the enum encoding the actual type of the node. -Thus, given an UTL_Scope instance which is really an instance of -AST_Operation, scope_node_type() would return AST_Decl::NT_op. - -Perusing the header files for classes provided by the AST, you will note -the use of some macros defined in include/idl_narrow.hh. These macros -define the explicit narrowing mechanism: - -DEF_NARROW_METHODSx(,) for x equal to 0,1,2 or 3, -defines a narrowing method for the specified class which has 0,1,2 or 3 -immediate base classes from which it inherits. For example, ast_module.hh -which defines AST_Module contains the following line: - - DEF_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope) - -This is because AST_Module inherits directly from AST_Decl and UTL_Scope. - -DEF_NARROW_FROM_DECL() appears in class definitions for classes -which are derived from AST_Decl and which can be stored in a definition -scope. This macro declares a static operation narrow_from_decl(AST_Decl *) -on the class in which it appears. The operation returns the provided -instance as an instance of if it can be narrowed, or NULL. - -DEF_NARROW_FROM_SCOPE() appears in class definitions of classes -which are derived from UTL_Scope and which can be stored on the scope -stack. This macro declares a static operation narrow_from_scope(UTL_Scope *) -on the class in which it appears. The operation returns the provided -instance as an instance of if it can be narrowed, or NULL. - -Now look in the files implementing these classes. You will note occurrences -of the following macros: - -IMPL_NARROW_METHODSx(,) for x equal to 0,1,2 or 3, -implements a narrowing method for the specified class which has 0,1,2 or 3 -immediate base classes from which it inherits. For example, ast_module.cc -which implements AST_Module contains the following line: - - IMPL_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope) - -IMPL_NARROW_FROM_DECL() implements a method to narrow from an -instance of AST_Decl to an instance of as defined above. - -IMPL_NARROW_FROM_SCOPE() implements a method to narrow from an -instance of UTL_Scope to an instance of as defined above. - -To put it all together: In the file ast_module.hh, you will find: - - // Narrowing - DEF_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Module); - DEF_NARROW_FROM_SCOPE(AST_Module); - -In the file ast_module.cc, you will see: - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Module) -IMPL_NARROW_FROM_SCOPE(AST_Module) - -The CFE uses narrowing internally to obtain the correct type of nodes in -the AST. The CFE contains many code fragments such as the following: - - AST_Decl *d = get_an_AST_Decl_from_somewhere(); - AST_Module *m; - ... - if (d->node_type() == AST_Decl::NT_module) { - m = AST_Module::narrow(d); - if (m == NULL) { // Narrow failed - ... - } else { // Success, do normal processing - ... - } - } - ... - -Similar code implements narrowing instances of UTL_Scope to their actual -types. - -In your BE classes which derive from UTL_Scope you must include a line -defining how to narrow from a scope, so: - - DEF_NARROW_FROM_SCOPE() - -and similarly for your BE classes which derive from AST_Decl. - -The narrowing mechanism is defined only for narrowing from AST_Decl and -UTL_Scope. If your BE class inherits directly from one or more classes -which themselves are derived from AST_Decl and/or UTL_Scope, you must -include a line - - DEF_NARROW_METHODSx(,,) - -To make this concrete, here is what you'd write in a definition of BE_union -which inherits from AST_Union: - - DEF_NARROW_METHODS1(BE_Union, AST_Union); - DEF_NARROW_FROM_DECL(BE_Union); - DEF_NARROW_FROM_SCOPE(BE_Union); - -and in the implementation file of BE_Union: - -/* - * Narrowing methods: - */ -IMPL_NARROW_METHODS1(BE_Union, AST_Union) -IMPL_NARROW_FROM_DECL(BE_Union) -IMPL_NARROW_FROM_SCOPE(BE_Union) - -Then, in BE code which expects to see an instance of your derived BE_Union -class, you will write: - - AST_Decl *d = get_an_AST_Decl_from_somewhere(); - BE_Union *u; - ... - if (d->node_type() == AST_Decl::NT_union) { - u = BE_Union::narrow_from_decl(d); - if (u == NULL) { // Narrow failed - ... - } else { // Success, do normal processing - ... - } - } - ... - - -SCOPE MANAGEMENT ----------------- - -Instances of classes which are derived from UTL_Scope implement definition -scopes. A definition scope can contain any kind of AST node as long as it -is derived from AST_Decl. However, specific kinds of definition scopes such -as interfaces and unions can contain only a restricted subset of all AST -node types. - -UTL_Scope provides operations to add instances of each AST provided class -to a definition scope. The names of these operations are constructed by -prepending the string "add_" to the name of the IDL construct. So, to add -an interface to a definition scope, invoke the operation add_interface. -The operations are all defined virtual and are intended to be overridden in -classes derived from UTL_Scope. - -If the node was successfully added to the definition scope, the node is -returned as the result. Otherwise the node is not added to the definition -scope and NULL is returned. - -All add operation implementations in UTL_Scope return NULL. Thus, -only the operations which implement legal additions to a specific kind of -definition scope must be overridden in the implementation of that -definition scope. For example, in AST_Module the add_interface operation is -overridden to add the provided instance of AST_Interface to the scope and -to return the provided instance if the addition was successful. Operations -which were not overridden return NULL to indicate that the addition is -illegal in this context. For example, in AST_Operation the definition of -add_interface is not overridden since it is illegal to store an interface -inside an operation definition scope. - -The add operations are invoked in the actions in the Yacc grammar. The -following fragment is a representative example of code using the add -operations: - - AST_Constant *d = construct_a_new_constant(); - ... - if (current_scope->add_constant(d) == NULL) { // Failed - ... - } else { // Succeeded - ... - } - -BE INTERACTION DURING THE PARSING PROCESS ------------------------------------------ - -The add operations can be overridden in BE derived classes to let the BE -perform additional house-keeping work during the process of constructing -the AST. For example, a BE could keep separate lists of interfaces as they -are being added to a module. - -If you override an add operation in your BE, you must invoke the overridden -operation in the superclass of your derived class to allow the CFE to -perform its own house-keeping tasks. A good rule is to invoke the operation -on the superclass before you do your own processing; then, if the -superclass operation returns NULL, this indicates that the addition failed -and your own code should immediately return NULL. An example explains this: - -AST_Interface * -BE_Module::add_interface(AST_Interface *i) -{ - if (AST_Module::add_interface(i) == NULL) // Failed, bail out! - return NULL; - ... // Do your own work here - return i; // Return success indication -} - -We strongly advise you to only define add operations that override add -operations provided by the AST classes. Add operations which -do not override equivalent operations in the AST in effect -extend the semantics of the language accepted by the compiler. For -example, the CFE does not have an add_interface operation on -AST_Operation. If you were to define one in your BE_Operation class, -the resulting compiler would allow an interface to be -stored in an operation definition scope. The current CORBA specification -does not allow this. - -AST INHERITANCE SCHEME ----------------------- - -The AST classes all use public virtual inheritance to construct the -inheritance tree. This ensures that a class may appear several times in the -inheritance tree through different paths and the derived class's instances -will have only one copy of the inherited class's data. - -The use of public virtual inheritance has several important effects on how -a BE is constructed. We explain those effects below. - -First, you must define a default constructor for your BE class, since -your class may be used as a virtual base class of some other class. In this -case the compiler may want to call a default constructor for your class. It -is a good idea to have a default constructor anyway, even if you do not -plan to subclass your BE class, since for most C++ compilers this causes -the code to be smaller. Your default constructor should initialize all -constant data members. Additionally, it may initialize any non-constant -data member whose value must be set before the first time the instance is -used. - -Second, the constructor of your BE derived class must explicitly call all -constructors of virtual base classes which perform useful work. For -example, if a class in the AST from which your BE class inherits has an -initializer for a data member, you must call that constructor. This rule is -discussed in detail in the C++ ARM. An example may help here. - -Suppose you define a class BE_attribute which inherits from AST_Attribute. -Its constructor should be as follows: - - BE_Attribute::BE_Attribute(boolean ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Attribute(ro, ft, n, p), - AST_Field(ft, n, p), - AST_Decl(AST_Decl::NT_attr, n, p) - { - } - -The calls to the constructors of AST_Attribute, AST_Field and AST_Decl are -needed because these constructors do useful initializations on their -classes. - -Note that there is some redundancy in the data passed to these -constructors. We chose to preserve this redundancy since it should be -possible to create BEs which subclass only some of the classes supplied by -the AST. This means that the constructors on each class provided by the AST -should take arguments which are sufficient to construct the instance if -the AST class is the most derived one. - -The code supplied with this release contains a demonstration BE which -subclasses all the AST provided classes. The constructors for each class -provided by the BE are found in the file be/be_classes.cc. - -INITIALIZATION --------------- - -The following steps take place at initialization: - -- The global data instance is created, stored in idl_global and filled with - default values (in driver/drv_init.cc). -- The command line arguments are parsed (in driver/drv_args.cc). -- For each IDL input file, a copy of the compiler process is forked (in - driver/drv_fork.cc). -- The IDL input is preprocessed (in driver/drv_preproc.cc). -- FE initialization stage 1 is done: the scopes stack is created and stored - in the global data variable idl_global->scopes() field (in fe/fe_init.cc). -- BE_init is called to create the generator instance and the returned - instance is stored in the global data variable idl_global->gen() field. -- FE initialization stage 2 is done: the global scope is created, pushed on - the scopes stack and populated with predefined types (in fe/fe_init.cc). - -GLOBAL STATE AND ENTRY POINTS ------------------------------ - -The CFE has one global variable named idl_global, which stores an instance -of a class IDL_GlobalData as explained below: - -The CFE defines a class IDL_GlobalData which defines the global -information used in a specific run of the compiler. IDL_GlobalData is -defined in include/idl_global.hh and implemented in the file -util/utl_global.cc. - -Initialization creates an instance of this class and stores it in the value -of the global variable idl_global. Thus, the individual pieces of -information stored in the instance are accessible everywhere. - -ERROR HANDLING --------------- - -All error handling is defined by a class provided by the CFE, UTL_Error. -This class is defined in include/utl_error.hh and implemented in the file -util/utl_error.cc. The class provides several methods for reporting -specific errors as well as generic error reporting methods taking zero to -three arguments. - -The CFE instantiates the class and stores the instance as part of the -global state, accessible as idl_global->err(). Thus, to cause an error -report, you would write code similar to the following: - - if (error condition found) - idl_global->err()->specific_error_message(arg1, ..); - -or - - if (error condition found) - idl_global->err()->generic_error_message(flag, arg1, ..); - -The flag argument is one of the predefined error conditions found in the -enum at the head of the UTL_Error class definition. The arguments to the -specific error message routine are defined by the signature of that -routine. The arguments to a generic error message routine are always -instances of AST_Decl. - -The running count of errors is accessible as idl_global->err_count(). If -the value returned by this operation is non-zero after the IDL input has -been parsed, the BE is not invoked. - -HANDLING OF COMMAND LINE ARGUMENTS ----------------------------------- - -Defined command line arguments are specified in the document CLI, in this -directory. The CFE calls the required BE API entry point BE_prep_arg to -process arguments passed within a -Wb flag. - -REQUIRED ENTRY POINTS SUPPLIED BY A BE --------------------------------------- - -The following API entry points must be supplied by a BE in order to -successfully link with the CFE: - -extern "C" AST_Generator *BE_init(); - - Creates an instance of the generator object and returns it. Note - that the global scope is not yet set up and the scopes stack is - empty when this routine is called. - -extern "C" void BE_produce(); - - Called by the compiler main program after the IDL input has been - successfully parsed and processed. The job of this routine is to - carry out the specific function of the BE. The AST is accessible as - the value of idl_global->root(). - -extern "C" void BE_prep_arg(char *, idl_bool); - - Called to process an argument passed in with a -Wb flag. The boolean - will always be FALSE. - -extern "C" void BE_abort(); - - Called when the CFE decides to abort the compilation. Can be used in - a BE to clean up after itself, e.g. remove temporary files or - directories it created while the parse was in progress. - -extern "C" void BE_version(); - - Called when a -V argument is processed. This should produce a - message for the user identifying the BE that is loaded and its - version information. - -PART II. WRITING A BACK END --=========================- - -REQUIRED API THAT EACH BE MUST SUPPORT --------------------------------------- - -Below are the API entry points that each BE must supply in order to use the -CFE framework. This is a repeat of the BE API section: - -extern "C" AST_Generator *BE_init(); - - Creates an instance of the generator object and returns it. Note - that the scopes stack is still not set up at the time this routine - is called. - -extern "C" void BE_produce(); - - Called by the compiler main program after the IDL input has been - successfully parsed and processed. The job of this routine is to - carry out the specific function of the BE. The AST is accessible as - the value of idl_global->root(). - -extern "C" void BE_prep_arg(char *, boolean); - - Called to process an argument passed in with a -Wb flag. The boolean - will always be FALSE. - -extern "C" void BE_abort(); - - Called when the CFE decides to abort the compilation. Can be used in - a BE to clean up after itself, e.g. remove temporary files or - directories it created while the parse was in progress. - -extern "C" void BE_version(); - - Called when a -V argument is processed. This should produce a - message for the user identifying the BE that is loaded and its - version information. - -WHAT FILES TO INCLUDE ---------------------- - -To use the CFE, each implementation file of your BE must include the -following two header files: - -#include -#include - -Following this, you can include any header files needed by your BE. - -HOW TO SUBCLASS THE AST ------------------------ - -Your BE may subclass from any of the classes provided by the AST. Your -class should use public virtual inheritance to ensure that only one copy of -the class's data members is present in each instance. Read the section on -HOW TO WRITE CONSTRUCTORS to learn about additional considerations that you -must take into account when writing constructors for your BE classes. - -HOW TO SUBCLASS THE GENERATOR TO CREATE BE ENHANCED AST NODES -------------------------------------------------------------- - -Your BE subclasses from classes provided by the AST. To ensure that -instances of these classes are constructed when the AST is built, you must -also subclass AST_Generator and return an instance of your subclass from -the call to BE_init. - -The AST_Generator class provides operations to create instances of all -classes defined in the AST. For example, the operation to create an -AST_Attribute node is as follows: - - AST_Attribute * - AST_Generator::create_attribute(...) - { - return new AST_Attribute(...); - } - -In your BE_Generator subclass of AST_Generator, you will override methods -for creation of nodes of all AST classes which you have subclassed. Thus, -if your BE has a class BE_Attribute which is a subclass of AST_Attribute, -your BE_Generator class definition has to override the create_attribute -method to ensure that instances of BE_Attribute are created. - -The definition of the overriden operations should call the constructor of -the derived class and return the new node as an instance of the inherited -class. Thus, the implementation of create_attribute is as follows: - - AST_Attribute * - BE_Generator::create_attribute(...) - { - return new BE_Attribute(...); - } - -The Yacc grammar actions call create_xxx operations on the generator -instance stored in the global variable idl_global->gen() field. By storing -an instance of your derived generator class BE_Generator you ensure that -instances of the BE classes you defined will be created. - -HOW TO WRITE CONSTRUCTORS FOR BE CLASSES ----------------------------------------- - -As mentioned above, the AST uses public virtual inheritance to derive the -AST class hierarchy. This has two important effects on how you write a BE, -specifically how you write constructors for derived BE classes. - -First, you must define a default constructor for your BE class, since -your class may be used as a virtual base class of some other class. In that -case the compiler may want to call a default constructor for your class. It -is a good idea to have a default constructor anyway, even if you do not -plan to subclass your BE class, since for most C++ compilers this causes -the code to be smaller. Your default constructor should initialize all -constant data members. Additionally, it may initialize any non-constant -data member whose value must be set before the first time the instance is -used. - -Second, the constructor for your BE class must explicitly call all -constructors of virtual base classes which do some useful work. For -example, if a class in the AST from which your BE class inherits, directly -or indirectly, has an initializer for a data member, your BE class's -constructor must call the AST class's constructor. This is discussed -extensively in the C++ ARM. - -Below is a list showing how to write constructors for subclasses of each -class provided by the BE. For each AST class we show a definition of a -constructor for a derived class which calls all neccessary constructors on -AST classes: - -AST_Argument: - - BE_Argument::BE_Argument(AST_Argument::Direction d, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Argument(d, ft, n, p), - AST_Field(AST_Decl::NT_argument, ft, n, p), - AST_Decl(AST_Decl::NT_argument, n, p) - { - } - -AST_Array: - - BE_Array::BE_Array(UTL_ScopedName *n, - unsigned long nd, - UTL_ExprList *ds) - : AST_Array(n, nd, ds), - AST_Decl(AST_Decl::NT_array, n, NULL) - - { - } - -AST_Attribute: - - BE_Attribute::BE_Attribute(boolean ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Attribute(ro, ft, n, p), - AST_Field(AST_Decl::NT_attr, ft, n, p), - AST_Decl(AST_Decl::NT_attr, n, p) - { - } - -AST_ConcreteType: - - BE_ConcreteType::BE_ConcreteType(AST_Decl::NodeType nt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p) - { - } - -AST_Constant: - - BE_Constant::BE_Constant(AST_Expression::ExprType t, - AST_Expression *v, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Constant(t, v, n, p), - AST_Decl(AST_Decl::NT_const, n, p) - { - } - -AST_Decl: - - BE_Decl::BE_Decl(AST_Decl::NodeType nt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p) - { - } - -AST_Enum: - - BE_Enum::BE_Enum(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Enum(n, p), - AST_Decl(AST_Decl::NT_enum, n, p), - UTL_Scope(AST_Decl::NT_enum) - { - } - -AST_EnumVal: - - BE_EnumVal::BE_EnumVal(unsigned long v, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_EnumVal(v, n, p), - AST_Constant(AST_Expression::EV_ulong, - AST_Decl::NT_enum_val, - new AST_Expression(v), - n, - p), - AST_Decl(AST_Decl::NT_enum_val, n, p) - { - } - -AST_Exception: - - BE_Exception::BE_Exception(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_except, n, p), - AST_Structure(AST_Decl::NT_except, n, p), - UTL_Scope(AST_Decl::NT_except) - { - } - -AST_Field: - - BE_Field::BE_Field(AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Field(ft, n, p), - AST_Decl(AST_Decl::NT_field, n, p) - { - } - -AST_Interface: - - BE_Interface::BE_Interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p) - : AST_Interface(n, ih, nih, p), - AST_Decl(AST_Decl::NT_interface, n, p), - UTL_Scope(AST_Decl::NT_interface) - { - } - -AST_InterfaceFwd: - - BE_InterfaceFwd::BE_InterfaceFwd(UTL_ScopedName *n, - UTL_StrList *p) - : AST_InterfaceFwd(n, p), - AST_Decl(AST_Decl::NT_interface_fwd, n, p) - { - } - -AST_Module: - - BE_Module::BE_Module(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_module, n, p), - UTL_Scope(AST_Decl::NT_module) - { - } - -AST_Operation: - - BE_Operation::BE_Operation(AST_Type *rt, - AST_Operation::Flags fl, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Operation(rt, fl, n, p), - AST_Decl(AST_Decl::NT_op, n, p), - UTL_Scope(AST_Decl::NT_op) - { - } - -AST_PredefinedType: - - BE_PredefinedType::BE_PredefinedType( - AST_PredefinedType::PredefinedType *pt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_PredefinedType(pt, n, p), - AST_Decl(AST_Decl::NT_pre_defined, n, p) - { - } - -AST_Root: - - BE_Root::BE_Root(UTL_ScopedName *n, UTL_StrList *p) - : AST_Module(n, p), - AST_Decl(AST_Decl::NT_module, n, p), - UTL_Scope(AST_Decl::NT_module) - { - } - - -AST_Sequence: - - BE_Sequence::BE_Sequence(AST_Expression *ms, AST_Type *bt) - : AST_Sequence(ms, bt), - AST_Decl(AST_Decl::NT_sequence, - new UTL_ScopedName(new String("sequence"), NULL), - NULL) - { - } - -AST_String: - - BE_String::BE_String(AST_Expression *ms) - : AST_String(ms), - AST_Decl(AST_Decl::NT_string, - new UTL_ScopedName(new String("string"), NULL), - NULL) - { - } - -AST_Structure: - - BE_Structure::BE_Structure(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_struct, n, p), - UTL_Scope(AST_Decl::NT_struct) - { - } - -AST_Type: - - BE_Type::BE_Type(AST_Decl::NodeType nt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p) - { - } - -AST_Typedef: - - BE_Typedef::BE_Typedef(AST_Type *bt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Typedef(bt, n, p), - AST_Decl(AST_Decl::NT_typedef, n, p) - { - } - -AST_Union: - - BE_Union::BE_Union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Union(dt, n, p), - AST_Structure(AST_Decl::NT_union, n, p), - AST_Decl(AST_Decl::NT_union, n, p), - UTL_Scope(AST_Decl::NT_union) - { - } - -AST_UnionBranch: - - BE_UnionBranch::BE_UnionBranch(AST_UnionLabel *fl, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_UnionBranch(fl, ft, n, p), - AST_Field(ft, n, p), - AST_Decl(AST_Decl::NT_union_branch, n, p) - { - } - -AST_UnionLabel: - - BE_UnionLabel::BE_UnionLabel(AST_UnionLabel::UnionLabel lk, - AST_Expression *lv) - : AST_UnionLabel(lk, lv) - { - } - -HOW TO USE THE ADD PROTOCOL ---------------------------- - -As explained the section SCOPE MANAGEMENT, the CFE manages scopes by -calling type-specific functions to add new nodes to the scope to be -augmented. These functions can be overridden in your BE classes to do work -specific to your BE class. For example, in a BE_module class, you might -override add_interface to do additional work. - -The protocol defined by the "add_" functions is that they return NULL to -indicate failure. They return the node that was added (and which was given -as an argument) if the operation succeeded. Your functions in your BE class -should follow the same protocol. - -The "add_" functions defined in the BE must call the overridden function in -the base class defind in the CFE in order for the CFE scope management -mechanism to work. Otherwise, the CFE does not get an opportunity to -augment its scopes with the new node to be added. It is good practice to -call the overridden "add_" function as the first action in your BE -function, because the success or failure of the CFE operation indicates -whether your function should complete its task or abort early. - -Here is an example. Suppose you have defined a class BE_module which -inherits from AST_Module. You may wish to override the add_interface -function as follows: - - class BE_Module : public virtual AST_Module - { - .... - /* - * ADD protocol - */ - virtual AST_Interface *add_interface(AST_Interface *); - ... - }; - -The implementation of this function would look something like the following: - - AST_Interface * - BE_Module::add_interface(AST_Interface *new_in) - { - /* - * Check that the CFE operation succeeds. If it returns - * NULL, stop any further work - */ - if (AST_Module::add_interface(new_in) == NULL) - return NULL; - /* - * OK, non-NULL, this means the BE can do its own work here - */ - ... - /* - * Finally, don't forget to return the argument to indicate - * success - */ - return new_in; - } - -HOW TO MAINTAIN BE SPECIFIC INFORMATION ---------------------------------------- - -The CFE provides a special class AST_Root, a subclass of AST_Module. An -instance of the AST_Root class is used as the distinguished root of the -abstract syntax tree built during a parse. - -Your BE can subclass BE_Root from AST_Root and override the create_root -operation in your BE_Generator class derived from AST_Generator. This will -cause the CFE to create an instance of your BE_Root class as the root of -the tree being constructed. - -You can use the instance of the BE_Root class as a convenient place to -store information specific to an individual tree. For example, you could -add operations on the BE_Root class to count how many nodes of each class -are created. - -HOW TO USE MEMBER DATA ----------------------- - -As explained above, the AST classes provide access and update functions for -manipulating data members. Your BE classes must use these functions when -they require access to data members defined in the AST classes, since the -data members themselves are private. - -It is good practice to follow the same scheme in your BE classes. Make all -data members private. Prepend the names of all such fields with "pd_". -Define access functions with names equal to the name of the field without the -prefix. Define update functions according to need by prepending the name of -the access function with the prefix "set_". - -Using these techniques will allow your BE to enjoy the same benefits that -are imparted onto the CFE. Your BE will be easier to move to a -multithreaded environment and its data members will be better protected and -hidden. - -HOW TO BUILD A COMPLETE COMPILER --------------------------------- - -We now have all information needed to write a BE and to link it in with the -CFE, to produce a complete IDL compiler. - -The following assumes that your BE will be stored in the "be" directory -under the "release" directory. See the document ROADMAP for an explanation -of the directory structure of the source release. If you decide to use a -different directory to store your BE, you may have to modify the CPP_FLAGS in -"idl_make_vars" in the top-level directory to allow your BE to find the -include files it needs. You will also need to modify several targets in -the Makefile in the top-level directory to correctly compile your BE into a -library and to correctly link it in with the CFE to produce a complete -compiler. - -You can get started quickly on writing your BE by modifying the sources -found in the "demo_be" directory. The Makefile supports all the the targets -that are needed to build a complete system and the maintenance target -"clean" which assists in keeping the files and directories tidy. The files -provided in the "demo_be" directory also provide all the API entry points -that are mandated by this document. - -To build a complete compiler, invoke "make" or "make all" in the top-level -directory. This will compile your BE and all the CFE sources, if this is -the first invocation. On subsequent invocations this will recompile only -the modified files. You will rarely if at all modify the CFE sources, so -the overhead of compiling the CFE is incurred only the first time. To build -just your BE, you can invoke "make all" or "make" in the "demo_be" -directory. You can also, from the top-level directory, invoke "make -demo_be/libbe.a". - -HOW TO OBTAIN ASSISTANCE ------------------------- - -First, read all the documents provided. If you have unanswered questions, -mail them to - - idl-cfe@sun.com - -Sun does not promise to support the IDL CFE source release in any manner. -However, we will attempt to answer questions and correct problems as time -allows. - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -COPYRIGHT NOTICE ----------------- - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 diff --git a/TAO/TAO_IDL/driver/Makefile.am b/TAO/TAO_IDL/driver/Makefile.am deleted file mode 100644 index b7293137b69..00000000000 --- a/TAO/TAO_IDL/driver/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Makefile.am for the TAO IDL compiler --- 'driver' sub-directory -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) \ - -I$(top_srcdir)/TAO_IDL/include \ - -I$(top_srcdir)/TAO_IDL/be_include - -noinst_LIBRARIES = libdriver.a - -libdriver_a_SOURCES = \ - drv_args.cpp \ - drv_fork.cpp \ - drv_init.cpp \ - drv_link.cpp \ - drv_preproc.cpp \ - drv_private.cpp - -## FIXME: What should CPP_LOCATION be? -## Is the "+=" a portable make feature? -CXXFLAGS += \ - -DCPP_LOCATION=\"$(CXX)\" - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/TAO_IDL/driver/drv_args.cpp b/TAO/TAO_IDL/driver/drv_args.cpp deleted file mode 100644 index a2c10e9938c..00000000000 --- a/TAO/TAO_IDL/driver/drv_args.cpp +++ /dev/null @@ -1,893 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// drv_args.c - Argument parsing for IDL compiler main driver - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -#include "be.h" -#include - -ACE_RCSID(driver, drv_args, "$Id$") - - /* - * Push a file into the list of files to be processed - */ - static void -DRV_push_file(const char *s) -{ - DRV_files[DRV_nfiles++] = s; -} - -/* - * Prepare a CPP argument - */ -static void -DRV_prep_cpp_arg (char *s) -{ - char *newarg = new char[512]; - char *farg; - - newarg[0] = '\0'; - for (farg = ACE_OS::strtok (s, ","); farg != NULL; farg = ACE_OS::strtok (0, ",")) - ACE_OS::strcat (newarg, farg); - DRV_cpp_putarg (newarg); -} - -/* - * Print a usage message and exit - */ -void -DRV_usage (void) -{ - cerr << idl_global->prog_name () - << GTDEVEL (": usage: ") - << idl_global->prog_name () - << GTDEVEL (" [flag | file]*\n"); - cerr << GTDEVEL ("Legal flags:\n"); - cerr << GTDEVEL (" -A...\t\t\tlocal implementation-specific escape\n"); - cerr << GTDEVEL (" -bback_end\t\tcauses specified back end to be used\n"); - cerr << GTDEVEL (" -ci\t\t\tClient inline file name ending. Default is C.i\n"); - cerr << GTDEVEL (" -cs\t\t\tClient stub's file name ending. Default is C.cpp\n"); - cerr << GTDEVEL (" -Dname[=value]\t\tdefines name for preprocessor\n"); - cerr << GTDEVEL (" -E\t\t\truns preprocessor only, prints on stdout\n"); - cerr << GTDEVEL (" -g \tPath for the GPERF program. Default is $ACE_ROOT/bin/gperf\n"); - cerr << GTDEVEL (" -Cw\t\t\tWarning if identifier spellings differ only in case (default)\n"); - cerr << GTDEVEL (" -Ce\t\t\tError if identifier spellings differ only in case (default is warning)\n"); - cerr << GTDEVEL (" -Gc\t\t\tenable Compiled marshaling (default)\n"); - cerr << GTDEVEL (" -Gi\t\t\tenable Interpretive marshaling (default is compiled)\n"); - cerr << GTDEVEL (" -Ge\t\t\tenable C++ Exception support (suppressed by default)\n"); - cerr << GTDEVEL (" -Gt\t\t\tenable optimized TypeCode support (unopt by default)\n"); -#ifdef IDL_HAS_VALUETYPE - cerr << GTDEVEL (" -Gv\t\t\tenable OBV (Valuetype) support (disabled by default)\n"); -#endif /* IDL_HAS_VALUETYPE */ - cerr << GTDEVEL (" -GI[h|s|b|e|c]\tGenerate Implemenation Files \n"); - - cerr << GTDEVEL (" -GC \t\tGenerate the code for using AMI Call back model\n"); - - cerr << GTDEVEL (" \t\t\th - Implementation header file name ending. Default is I.h \n"); - cerr << GTDEVEL (" \t\t\ts - Implementation skeleton file name ending. Default is I.cpp\n"); - cerr << GTDEVEL (" \t\t\tb - Prefix to the implementation class names. Default is 'no prefix' \n"); - cerr << GTDEVEL (" \t\t\te - Suffix to the implementation class names. Default is _i\n"); - cerr << GTDEVEL (" \t\t\tc - Generate copy construtors\n"); - // cerr << GTDEVEL (" \t\t\ta - Generate copy assigment operator\n"); - cerr << GTDEVEL (" -hc\t\t\tClient's header file name ending. Default is C.h\n"); - cerr << GTDEVEL (" -hs\t\t\tServer's header file name ending. Default is S.h\n"); - cerr << GTDEVEL (" -hT\t\t\tServer's template hdr file name ending. Default is S_T.h\n"); - cerr << GTDEVEL (" -H dynamic_hash\t\tTo force dynamic hashed operation lookup strategy. Default is perfect hashing\n"); - cerr << GTDEVEL (" -H linear_search\t\tTo force linear searchoperation lookup strategy\n"); - cerr << GTDEVEL (" -H binary_search\t\tTo force binary search operation lookup strategy\n"); - cerr << GTDEVEL (" -in \t\t\tTo generate <>s for standard #include'd files (non-changing files)\n"); - cerr << GTDEVEL (" -ic \t\t\tTo generate \"\"s for standard #include'd files (changing files) <\n"); - cerr << GTDEVEL (" -Idir\t\t\tincludes dir in search path for preprocessor\n"); - cerr << GTDEVEL (" -o \tOutput directory for the generated files. Default is current directory\n"); - cerr << GTDEVEL (" -si\t\t\tServer's inline file name ending. Default is S.i\n"); - cerr << GTDEVEL (" -ss\t\t\tServer's skeleton file name ending. Default is S.cpp\n"); - cerr << GTDEVEL (" -st\t\t\tServer's template inline file name ending. Default S_T.i\n"); - cerr << GTDEVEL (" -sT\t\t\tServer's template skeleton file name ending. Default is S_T.cpp\n"); - cerr << GTDEVEL (" -Sa\t\t\tsuppress Any support (support enabled by default)\n"); - cerr << GTDEVEL (" -St\t\t\tsuppress TypeCode support (support enabled by default)\n"); -#ifdef IDL_HAS_VALUETYPE - cerr << GTDEVEL (" -Sv\t\t\tdisable OBV (Valuetype) support (disabled by default)\n"); -#endif /* IDL_HAS_VALUETYPE */ - cerr << GTDEVEL (" -t\t\t\tTemporary directory to be used by the IDL compiler." - "(default is value of environment variable ACE_DEFAULT_TEMP_DIR_ENV)\n"); - cerr << GTDEVEL (" -u\t\t\tprints usage message and exits\n"); - cerr << GTDEVEL (" -Uname\t\t\tundefines name for preprocessor\n"); - cerr << GTDEVEL (" -v\t\t\ttraces compilation stages\n"); - cerr << GTDEVEL (" -V\t\t\tprints version info then exits\n"); - cerr << GTDEVEL (" -w\t\t\tsuppresses IDL compiler warning messages\n"); - cerr << GTDEVEL (" -W[p|b],arg1,argn\tpasses args to preprocessor or BE\n"); - cerr << GTDEVEL (" -Yp,path\t\tdefines location of preprocessor\n"); - cerr << GTDEVEL (" \t\t\tNo effect if TypeCode generation is suppressed\n"); - -} - -/* - * Parse arguments on command line - */ -void -DRV_parse_args (long ac, char **av) -{ - char *buffer; - char *s = 0; - long i; - - // Retrieve the singleton instance of the code generator. - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - DRV_cpp_init (); - idl_global->set_prog_name (av[0]); - //i = 1; - /* - while (a[i][0] == '-') - { - */ - for (i = 1; i < ac; i++) - { - if (av[i][0] == '-') - { - switch (av[i][1]) - { - case 0: - DRV_push_file ("standard input"); - break; - case 'A': - if (av[i][2] == '\0') - { - if (i < ac - 1) - { - i++; - s = av[i]; - } - else - ACE_OS::exit (99); - } - else - s = av[i] + 2; - ACE_OS::strcat (idl_global->local_escapes (), s); - ACE_OS::strcat (idl_global->local_escapes (), " "); - break; - - // = File name endings for all the IDL generated header files, - // stub files, skeleton files and inline files. - - // = Various 'h'eader_file_name_endings. - case 'h': - - // <-hc Client's header file name ending> - // Default is "C.h". - // <-hs Server's header file name ending> - // Default is "S.h". - // <-hT Server's template hdr file name ending> - // Default is "S_T.h". - // <-hI Server's implementation header file name ending> - // Default is "I.h". - - if (av[i][2] == 'c') - { - // Client stub's header file ending. - // @@ No error handling done here. - idl_global->client_hdr_ending (av[i+1]); - i++; - } - else if (av[i][2] == 's') - { - // Server skeleton's header file. - idl_global->server_hdr_ending (av[i+1]); - i++; - } - else if (av[i][2] == 'T') - { - // Server Template header ending. - idl_global->server_template_hdr_ending (av[i+1]); - i++; - } - else if (av[i][2] == 'I') - { - // Server Template header ending. - idl_global->implementation_hdr_ending (av[i+1]); - i++; - } - else - { - // I expect 'c' or 's' or 'T' after this. - cerr << GTDEVEL ("Incomplete Flag : ") - << av[i]; - ACE_OS::exit (99); - } - break; - - // = Various 'c'lient side stub file_name_endings. - case 'c': - // <-cs Client stub's file name ending> - // Default is "C.cpp". - // <-ci Client inline file name ending> - // Default is "C.i". - - if (av[i][2] == 's') - { - idl_global->client_stub_ending (av[i+1]); - i++; - } - - else if (av[i][2] == 'i') - { - idl_global->client_inline_ending (av[i+1]); - i++; - } - - else - { - // I expect 's' or 'i' after 'c'. - cerr << GTDEVEL("Incomplete Flag : ") - << av[i]; - ACE_OS::exit (99); - } - break; - - // = Various 's'erver side skeleton file name endings. - case 's': - // <-ss Server's skeleton file name ending> - // Default is "S.cpp". - // <-sT Server's template skeleton file name ending> - // Default is "S_T.cpp". - // <-si Server's inline file name ending> - // Default is "S.i". - // <-st Server's template inline file name ending> - // Default is "S_T.i". - // <-sI Server's implementation skeleton file name ending> - // Default is "I.cpp". - - if (av[i][2] == 's') - { - idl_global->server_skeleton_ending (av[i+1]); - i++; - } - else if (av[i][2] == 'T') - { - idl_global->server_template_skeleton_ending (av[i+1]); - i++; - } - else if (av[i][2] == 'i') - { - idl_global->server_inline_ending (av[i+1]); - i++; - } - else if (av[i][2] == 't') - { - idl_global->server_template_inline_ending (av[i+1]); - i++; - } - - else if (av[i][2] == 'I') - { - idl_global->implementation_skel_ending (av[i+1]); - i++; - } - - else - { - // I expect 's' or 'T' or 'i' or 't' after 's'. - cerr << GTDEVEL ("Incomplete Flag : ") - << av[i]; - ACE_OS::exit (99); - } - break; - - // Operation lookup strategy. - // , or - // Default is perfect. - case 'H': - if (ACE_OS::strcmp (av[i+1], "dynamic_hash") == 0) - cg->lookup_strategy (TAO_CodeGen::TAO_DYNAMIC_HASH); - else if (ACE_OS::strcmp (av[i+1], "perfect_hash") == 0) - cg->lookup_strategy (TAO_CodeGen::TAO_PERFECT_HASH); - else if (ACE_OS::strcmp (av[i+1], "binary_search") == 0) - cg->lookup_strategy (TAO_CodeGen::TAO_BINARY_SEARCH); - else if (ACE_OS::strcmp (av[i+1], "linear_search") == 0) - cg->lookup_strategy (TAO_CodeGen::TAO_LINEAR_SEARCH); - else - ACE_ERROR ((LM_ERROR, - "%s: unknown operation lookup <%s>\n", - av[0], av[i+1])); - i++; - break; - - // Switching between ""s and <>'s when we generate - // #include statements for the standard files (e.g. tao/corba.h) - case 'i': - if (av[i][2] == 'c') - idl_global->changing_standard_include_files (1); - else if (av[i][2] == 'n') - idl_global->changing_standard_include_files (0); - else - ACE_ERROR ((LM_ERROR, - "%s: unknown -i modifier <%c>\n", - av[0], av[i][2])); - break; - - // Path for the perfect hash generator(gperf) program. Default - // is $ACE_ROOT/bin/gperf. - case 'g': - idl_global->gperf_path (av[i+1]); - i++; - break; - - // Option to generate the features regarding the - // Messaging Specification. - - // Directory where all the IDL-Compiler-Generated files are to - // be kept. Default is the current directory from which the - // is called. - case 'o': - idl_global->output_dir (av [i+1]); - i++; - break; - - // Temp directory for the IDL compiler to keep its files. - case 't': - idl_global->temp_dir (av [i+1]); - i++; - break; - - case 'D': - case 'U': - case 'I': - if (av[i][2] == '\0') - { - if (i < ac - 1) - { - buffer = new char[ACE_OS::strlen (av[i]) + ACE_OS::strlen (av[i + 1]) + 2]; - ACE_OS::sprintf (buffer, "%s%s", av[i], av[i+1]); - DRV_cpp_putarg (buffer); - i++; - } - else - { - cerr << GTDEVEL ("IDL: missing argument after '") - << av[i] - << GTDEVEL ("' flag\n"); - ACE_OS::exit (99); - } - } - else - DRV_cpp_putarg (av[i]); - break; - - case 'E': - idl_global->set_compile_flags (idl_global->compile_flags () | - IDL_CF_ONLY_PREPROC); - break; - - case 'V': - idl_global->set_compile_flags (idl_global->compile_flags () | - IDL_CF_VERSION); - break; - - case 'W': - if (av[i][2] == '\0') - { - if (i < ac - 1) - { - i++; - s = av[i]; - } - else - { - cerr << GTDEVEL ("IDL: missing argument after '") - << av[i] - << GTDEVEL ("' flag\n"); - ACE_OS::exit (99); - } - } - else - s = av[i] + 2; - switch (*s) - { - default: - cerr << GTDEVEL ("IDL: -W must be followed by 'p' or 'b'\n"); - ACE_OS::exit (99); - case 'p': - if (*(s + 1) == ',') - DRV_prep_cpp_arg (s + 2); - break; - case 'b': - if (*(s + 1) == ',') - (*DRV_BE_prep_arg) (s + 2, I_TRUE); - break; - } - break; - - case 'Y': - if (av[i][2] == '\0') - { - if (i < ac - 1) - { - i++; - s = av[i]; - } - else - { - cerr << GTDEVEL ("IDL: missing argument after '") - << av[i] - << GTDEVEL ("' flag\n"); - ACE_OS::exit (99); - } - } - else - s = av[i] + 2; - switch (*s) - { - case 'p': - if (*(s + 1) == ',') - { - idl_global->set_cpp_location (s + 2); - DRV_cpp_new_location (s + 2); - } - break; - default: - break; - } - break; - - case 'b': - if (av[i][2] == '\0') - { - if (i < ac - 1) - { - i++; - s = av[i]; - } - else - { - cerr << GTDEVEL("IDL: missing argument after '") - << av[i] - << GTDEVEL("' flag\n"); - ACE_OS::exit (99); - } - } - else - s = av[i] + 2; - idl_global->set_be (s); - break; - - case 'd': - idl_global->set_compile_flags (idl_global->compile_flags () | - IDL_CF_DUMP_AST); - break; - case 'u': - idl_global->set_compile_flags (idl_global->compile_flags () | - IDL_CF_ONLY_USAGE); - break; - case 'v': - idl_global->set_compile_flags (idl_global->compile_flags () | - IDL_CF_INFORMATIVE); - break; - case 'w': - idl_global->set_compile_flags (idl_global->compile_flags () | - IDL_CF_NOWARNINGS); - break; - case 'S': - // suppress generation of ... - if (av[i][2] == 'a') - { - // suppress Any support - idl_global->any_support (0); - } - else if (av[i][2] == 't') - { - // suppress typecode support - idl_global->tc_support (0); - } - else if (av[i][2] == 'p') - { - // suppress generating Thru_POA collocated stubs - idl_global->gen_thru_poa_collocation (0); - } - else if (av[i][2] == 'd') - { - // suppress generating Direct collocated stubs - idl_global->gen_direct_collocation (0); - } - else if (av[i][2] == 'v') - { - // disable OBV (Valuetype) support -# ifdef IDL_HAS_VALUETYPE - idl_global->obv_support (0); -# endif - } - else - { - cerr << GTDEVEL("IDL: missing argument after '") - << av[i] - << GTDEVEL("' flag\n"); - ACE_OS::exit (99); - } - break; - case 'C': - // If identifiers in the same scope differ only by case... - if (av[i][2] == 'e') - { - // ...report an error. - idl_global->case_diff_error (I_TRUE); - } - else if (av[i][2] == 'w') - { - // ...report a warning (default for now) - idl_global->case_diff_error (I_FALSE); - } - else - { - cerr << GTDEVEL("IDL: missing argument after '") - << av[i] - << GTDEVEL("' flag\n"); - ACE_OS::exit (99); - } - break; - case 'G': - // Enable generation of ... - if (av[i][2] == 'c') - { - // compiled marshaling support - idl_global->compiled_marshaling (1); - } - else if (av[i][2] == 'C') - { - // AMI with Call back. - idl_global->ami_call_back (I_TRUE); - } - else if (av[i][2] == 'i') - { - // interpretive marshaling support - idl_global->compiled_marshaling (0); - } - else if (av[i][2] == 'e') - { - int option = atoi (av[i+1]); - - // exception support - idl_global->exception_support (!option); - i++; - } - else if (av[i][2] == 't') - { - // optimized typecode support - idl_global->opt_tc (1); - } - else if (av[i][2] == 'p') - { - // generating Thru_POA collocated stubs. - idl_global->gen_thru_poa_collocation (1); - } - else if (av[i][2] == 'd') - { - // generating Direct collocated stubs. - idl_global->gen_direct_collocation (1); - } - else if (av[i][2] == 'v') - { -# ifdef IDL_HAS_VALUETYPE - // enable OBV (Valuetype) support - idl_global->obv_support (1); -# else /* IDL_HAS_VALUETYPE */ - cerr << GTDEVEL("IDL: -Gv (Valuetype) not compiled in\n"); - ACE_OS::exit (99); -# endif /* IDL_HAS_VALUETYPE */ - } - else if (av[i][2] == 'I') - { - int options = ACE_OS::strlen(av[i]) - 3; - int j; - int k=i; - // optimized typecode support - idl_global->gen_impl_files (1); - for (j=0;jimplementation_skel_ending (av[i+1]); - i++; - } - else if (av[k][j+3] == 'h') - { - idl_global->implementation_hdr_ending (av[i+1]); - i++; - } - else if (av[k][j+3] == 'b') - { - idl_global->impl_class_prefix(av[i+1]); - i++; - } - else if (av[k][j+3] == 'e') - { - idl_global->impl_class_suffix(av[i+1]); - i++; - } - else if (av[k][j+3] == 'c') - { - idl_global->gen_copy_ctor(1); - } - else if (av[k][j+3] == 'a') - { - idl_global->gen_assign_op(1); - } - else if (isalpha(av[k][j+3] )) - { - cerr << GTDEVEL ("IDL: Illegal option '") << av[i] << "'\n"; - idl_global->set_compile_flags (idl_global->compile_flags () | - IDL_CF_ONLY_USAGE); - } - } - } - else - { - - cerr << GTDEVEL("IDL: missing argument after '") - << av[i] - << GTDEVEL("' flag\n"); - ACE_OS::exit (99); - } - break; - - default: - cerr << GTDEVEL ("IDL: Illegal option '") << av[i] << "'\n"; - idl_global->set_compile_flags (idl_global->compile_flags () | - IDL_CF_ONLY_USAGE); - break; - } - } - else - DRV_push_file (av[i]); - } - - - // Let us try to use Perfect Hashing Operation Lookup Strategy. Let - // us check whether things are fine with GPERF. -#if defined (ACE_HAS_GPERF) - // If Perfect Hashing or Binary Search or Linear Search strategies - // have been selected, let us make sure that it exists and will - // work. - if ((cg->lookup_strategy () == TAO_CodeGen::TAO_PERFECT_HASH) || \ - (cg->lookup_strategy () == TAO_CodeGen::TAO_BINARY_SEARCH) || \ - (cg->lookup_strategy () == TAO_CodeGen::TAO_LINEAR_SEARCH)) - { - // Testing whether GPERF works or no. - int return_value = DRV_check_gperf (); - if (return_value == -1) - { - // If gperf_path is an absolute path, try to call this - // again with - ACE_DEBUG ((LM_DEBUG, - "TAO_IDL: warning, GPERF could not be executed\n" - "Perfect Hashing or Binary/Linear Search cannot be done without GPERF\n" - "Now, using Dynamic Hashing..\n" - "To use Perfect Hashing or Binary/Linear Search strategy\n" - "\t-Build gperf at $ACE_ROOT/apps/gperf/src\n" - "\t-Set the environment variable $ACE_ROOT appropriately or add $ACE_ROOT/bin to the PATH\n" - "\t-Refer to Operation Lookup section in the TAO IDL User Guide ($TAO_ROOT/docs/compiler.html) for more details\n")); - - // Switching over to Dynamic Hashing. - cg->lookup_strategy (TAO_CodeGen::TAO_DYNAMIC_HASH); - } - } -#else /* Not ACE_HAS_GPERF */ - // If GPERF is not there, we cannot use PERFECT_HASH strategy. Let - // us go for DYNAMIC_HASH. - if ((cg->lookup_strategy () == TAO_CodeGen::TAO_PERFECT_HASH) || - (cg->lookup_strategy () == TAO_CodeGen::TAO_BINARY_SEARCH) || - (cg->lookup_strategy () == TAO_CodeGen::TAO_LINEAR_SEARCH)) - cg->lookup_strategy (TAO_CodeGen::TAO_DYNAMIC_HASH); -#endif /* ACE_HAS_GPERF */ - - // make sure that we are not suppressing TypeCode generation and asking for - // optimized typecode support at the same time - if (!idl_global->tc_support () && idl_global->opt_tc ()) - { - cerr << GTDEVEL ("Bad Combination -St and -Go \n"); - ACE_OS::exit (99); - } - - // Make sure the output directory is valid. - if (idl_global->temp_dir () == 0) - { - const char* tmpdir = getenv (ACE_DEFAULT_TEMP_DIR_ENV); - - if (tmpdir == 0) - tmpdir = ACE_DIRECTORY_SEPARATOR_STR_A - "tmp" - ACE_DIRECTORY_SEPARATOR_STR_A; - -#if defined(ACE_MVS) - if (ACE_OS::access (tmpdir, F_OK) == -1 - || ACE_OS::access (tmpdir, R_OK) == -1 - || ACE_OS::access (tmpdir, W_OK) == -1) -#else - if (ACE_OS::access (tmpdir, F_OK | R_OK | W_OK) == -1) -#endif /* ACE_MVS */ - { - cerr << GTDEVEL ("Error: Can't access temporary directory (") - << tmpdir - << GTDEVEL ("), using current directory for temp files.\n"); - tmpdir = "."; -#if defined(ACE_MVS) - if (ACE_OS::access (tmpdir, F_OK) == -1 - || ACE_OS::access (tmpdir, R_OK) == -1 - || ACE_OS::access (tmpdir, W_OK) == -1) -#else - if (ACE_OS::access (tmpdir, F_OK | R_OK | W_OK) == -1) -#endif /* ACE_MVS */ - { - cerr << GTDEVEL ("Error: Can't access temporary directory (") - << tmpdir - << "\n"; - ACE_OS::exit (99); - } - } - - idl_global->temp_dir (tmpdir); - } -} - -// Return 0 on success, -1 failure. The corresponding to the -// error that caused the GPERF execution is also set. -int -DRV_check_gperf (void) -{ - // If absolute path is not specified yet, let us call just - // "gperf". Hopefully PATH is set up correctly to locate the gperf. - if (idl_global->gperf_path () == 0) - // If ACE_GPERF is defined then use that gperf program instead of "gperf." -#if defined (ACE_GPERF) - idl_global->gperf_path (ACE_GPERF); -#else - idl_global->gperf_path ("gperf"); -#endif /* ACE_GPERF */ - - // If we have absolute path for the rather than just the - // executable name , make sure the file exists - // firsts. Otherwise just call . Probably PATH is set - // correctly to take care of this. - - // If ACE_GPERF is defined then use that gperf program instead of "gperf." -#if defined (ACE_GPERF) - if (ACE_OS::strcmp (idl_global->gperf_path (), ACE_GPERF) != 0) -#else - if (ACE_OS::strcmp (idl_global->gperf_path (), "gperf") != 0) -#endif /* ACE_GPERF */ - { - // It is absolute path. Check the existance, permissions and - // the modes. - if (ACE_OS::access (idl_global->gperf_path (), - F_OK | X_OK) == -1) - // Problem with the file. No point in having the absolute - // path. Swith to "gperf". - // If ACE_GPERF is defined then use that gperf program - //instead of "gperf." -#if defined (ACE_GPERF) - idl_global->gperf_path (ACE_GPERF); -#else - idl_global->gperf_path ("gperf"); -#endif /* ACE_GPERF */ - } - - // Just call gperf in silent mode. It will come and immly exit. - - // Using ACE_Process. - ACE_Process process_manager; - ACE_Process_Options process_options; - - // Set the command line for the gperf program. - process_options.command_line ("%s" - " " - "-V", - idl_global->gperf_path ()); - - // Spawn a process for gperf. - if (process_manager.spawn (process_options) == -1) - return -1; - -#if defined (ACE_WIN32) - // No wait or anything in Win32. - return 0; -#endif /* ACE_WIN32 */ - - // Wait for gperf to complete. - int wait_status = 0; - if (process_manager.wait (&wait_status) == -1) - return -1; - else - { - // Wait is sucessful, we will check the exit code from the - // spawned process. - if (WIFEXITED (wait_status)) - { - // Normal exit. - - // Check the exit value of the spawned process. ACE_Process - // exits with as exit code, if it is not able to - // exec gperf program, so get the exit code now and set that - // to again, so that it can be used to print error - // messages. - errno = WEXITSTATUS (wait_status); - if (errno) - // has failed. - return -1; - else - // Everything was alright. - return 0; - } - else - // Not a normal exit. No might be set. - return -1; - } -} diff --git a/TAO/TAO_IDL/driver/drv_fork.cpp b/TAO/TAO_IDL/driver/drv_fork.cpp deleted file mode 100644 index 6865ad5b9c8..00000000000 --- a/TAO/TAO_IDL/driver/drv_fork.cpp +++ /dev/null @@ -1,129 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * DRV_fork.cc - Fork a process for each file to be processed, wait for - * status from the child process - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" - -#include "ace/Process_Manager.h" - -ACE_RCSID(driver, drv_fork, "$Id$") - -/* - * Fork off a process, wait for it to die - */ -void -DRV_fork() -{ - // This will not work on NT, but I can hardly think of some way to - // make it work. - // The idea is to make it compile, and always use the compiler with - // just one file, that works because then there is no fork - // involved. - for (DRV_file_index = 0; - DRV_file_index < DRV_nfiles; - ++DRV_file_index) - { - ACE_Process_Options options; - options.creation_flags (ACE_Process_Options::NO_EXEC); - - ACE_Process_Manager manager; - pid_t child_pid = manager.spawn (options); - if (child_pid == 0) - { - /* - * OK, do it to this file (in the child) - */ - DRV_drive(DRV_files[DRV_file_index]); - ACE_OS::exit(0); - } - - if (child_pid == -1) - { - cerr << GTDEVEL("IDL: spawn failed\n"); - ACE_OS::exit (99); - /*NOTREACHED*/ - } - - // child_pid is the process id of something at this point. - if (manager.wait () == -1) - { - cerr << GTDEVEL("IDL: wait failed\n"); - ACE_OS::exit (99); - /*NOTREACHED*/ - } - } - /* - * Now the parent process can exit - */ - ACE_OS::exit (0); -} diff --git a/TAO/TAO_IDL/driver/drv_init.cpp b/TAO/TAO_IDL/driver/drv_init.cpp deleted file mode 100644 index 1c5cdea6b9c..00000000000 --- a/TAO/TAO_IDL/driver/drv_init.cpp +++ /dev/null @@ -1,123 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// DRV_init.cc - Initialization for IDL compiler driver program - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -ACE_RCSID(driver, drv_init, "$Id$") - -void -DRV_init() -{ - // Initialize global data - - idl_global = new IDL_GlobalData(); - - idl_global->set_scopes(NULL); - idl_global->set_root(NULL); - idl_global->set_gen(NULL); - idl_global->set_err((*DRV_FE_new_UTL_Error)()); - idl_global->set_err_count(0); - idl_global->set_indent((*DRV_FE_new_UTL_Indenter)()); - - idl_global->set_filename(NULL); - idl_global->set_main_filename(NULL); - idl_global->set_real_filename(NULL); - idl_global->set_stripped_filename(NULL); - idl_global->set_import(I_TRUE); - idl_global->set_in_main_file(I_FALSE); - idl_global->set_lineno(-1); - - idl_global->set_prog_name(NULL); - - idl_global->set_cpp_location(CPP_LOCATION); - - idl_global->set_be(""); - - idl_global->set_local_escapes(new char[1024]); - - idl_global->set_pragmas(NULL); - - idl_global->set_compile_flags(0); - - idl_global->set_read_from_stdin(I_FALSE); - - idl_global->set_include_file_names(NULL); - idl_global->set_n_include_file_names(0); - - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - - // Initialize driver private data - - DRV_nfiles = 0; - DRV_file_index = 0; -} - diff --git a/TAO/TAO_IDL/driver/drv_link.cpp b/TAO/TAO_IDL/driver/drv_link.cpp deleted file mode 100644 index b678587b1d1..00000000000 --- a/TAO/TAO_IDL/driver/drv_link.cpp +++ /dev/null @@ -1,140 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* -** drv_link.cc - routines for programatic linking -** -** This file is set up so that you can easily convert the CFE to do -** dynamic loading of either the front end (parser) or BEs. Since no -** portable dynamic loading mechanism exists, we have removed the specific -** one which is in Sunsoft\'s version and which uses Solaris dlopen. -*/ - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -ACE_RCSID(driver, drv_link, "$Id$") - -DRV_PF_FE_init_stage1 DRV_FE_init_stage1; -DRV_PF_FE_init_stage2 DRV_FE_init_stage2; -DRV_PF_FE_yyparse DRV_FE_yyparse; -DRV_PF_FE_set_yyin DRV_FE_set_yyin; -DRV_PF_FE_new_UTL_Error DRV_FE_new_UTL_Error; -DRV_PF_FE_new_UTL_Indenter DRV_FE_new_UTL_Indenter; -DRV_PF_FE_new_UTL_String DRV_FE_new_UTL_String; - -DRV_PF_BE_init DRV_BE_init; -DRV_PF_BE_produce DRV_BE_produce; -DRV_PF_BE_abort DRV_BE_abort; -DRV_PF_BE_prep_arg DRV_BE_prep_arg; -DRV_PF_BE_version DRV_BE_version; - -void -DRV_FE_open() -{ - DRV_FE_init_stage1 = &FE_init_stage1; - DRV_FE_init_stage2 = &FE_init_stage2; - DRV_FE_yyparse = &FE_yyparse; - DRV_FE_set_yyin = &FE_set_yyin; - DRV_FE_new_UTL_Error = &FE_new_UTL_Error; - DRV_FE_new_UTL_Indenter = &FE_new_UTL_Indenter; - DRV_FE_new_UTL_String = &FE_new_UTL_String; -} - -void -DRV_FE_close() -{ - DRV_FE_init_stage1 = 0; - DRV_FE_init_stage2 = 0; - DRV_FE_yyparse = 0; - DRV_FE_set_yyin = 0; - DRV_FE_new_UTL_Error = 0; - DRV_FE_new_UTL_Indenter = 0; - DRV_FE_new_UTL_String = 0; -} - -void -DRV_BE_open() -{ - DRV_BE_init = &BE_init; - DRV_BE_produce = &BE_produce; - DRV_BE_abort = &BE_abort; - DRV_BE_prep_arg = &BE_prep_arg; - DRV_BE_version = &BE_version; -} - -void -DRV_BE_close() -{ - DRV_BE_init = 0; - DRV_BE_produce = 0; - DRV_BE_abort = 0; - DRV_BE_prep_arg = 0; - DRV_BE_version = 0; -} diff --git a/TAO/TAO_IDL/driver/drv_preproc.cpp b/TAO/TAO_IDL/driver/drv_preproc.cpp deleted file mode 100644 index fd263cf776a..00000000000 --- a/TAO/TAO_IDL/driver/drv_preproc.cpp +++ /dev/null @@ -1,563 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * DRV_pre_proc.cc - pass an IDL file through the C preprocessor - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -#include "ace/Process_Manager.h" -#include "ace/SString.h" -#include "ace/Env_Value_T.h" -#include "ace/ARGV.h" - -ACE_RCSID(driver, drv_preproc, "$Id$") - -#undef MAX_ARGLIST -#define MAX_ARGLIST 128 - -static const char *arglist[MAX_ARGLIST]; -static long argcount = 0; - -/* - * Push the new CPP location if we got a -Yp argument - */ -void -DRV_cpp_new_location(const char *new_loc) -{ - arglist[0] = new_loc; -} - -/* - * Push an argument into the arglist - */ -void -DRV_cpp_putarg(const char *str) -{ - if (argcount >= MAX_ARGLIST) { - cerr << idl_global->prog_name() - << GTDEVEL(": More than ") - << MAX_ARGLIST - << GTDEVEL(" arguments to preprocessor\n"); - exit (99); - } - arglist[argcount++] = str; -} - -/* - * Initialize the cpp argument list - */ -void -DRV_cpp_init (void) -{ - // @@ There are two "one time" memory leaks in this function. - // They will not blow off the program but should be fixed at some point. - const char *cpp_loc; - - // DRV_cpp_putarg("\\cygnus\\H-i386-cygwin32\\bin\\echo"); - ACE_Env_Value cpp_path ("CPP_LOCATION", (char *) 0); - - if (cpp_path != 0) - cpp_loc = cpp_path; -#if defined (_MSC_VER) - else - { - cpp_path.open ("MSVCDir", (char*) 0); - - if (cpp_path != 0) - { - char* tmp = new char[BUFSIZ]; - ACE_OS::strcpy (tmp, cpp_path); - ACE_OS::strcat (tmp, "\\bin\\CL.exe"); - cpp_loc = tmp; - } - else - cpp_loc = idl_global->cpp_location(); - } - -#else - else - cpp_loc = idl_global->cpp_location(); -#endif /* _MSC_VER */ - - DRV_cpp_putarg (cpp_loc); - DRV_cpp_putarg("-DIDL"); - DRV_cpp_putarg ("-I."); - - // Added some customisable preprocessor options - - ACE_Env_Value cpp_flags ("TAO_IDL_DEFAULT_CPP_FLAGS", (char *) 0); - - if (cpp_flags == 0) - { - // If no cpp flag was defined by the user, we define some - // platform specific flags here. -#if defined (__BORLANDC__) - DRV_cpp_putarg("-P-"); - DRV_cpp_putarg("-ocon"); -#else -#if defined (ACE_WIN32) - DRV_cpp_putarg ("-nologo"); -#endif /* ACE_WIN32 */ -#if defined (ACE_MVS) - DRV_cpp_putarg ("-+"); -#endif /* ACE_MVS */ - DRV_cpp_putarg ("-E"); -#if defined (__HP_aCC) - DRV_cpp_putarg ("+W"); - DRV_cpp_putarg ("67"); // Ignore "invalid #pragma directive" -#endif /* __HP_aCC */ -#endif /* !defined (__BORLANDC__) */ - - // So we can find the required orb.idl file. - char* option = new char[BUFSIZ]; - ACE_OS::strcpy (option, "-I"); - const char* TAO_ROOT = - ACE_OS::getenv ("TAO_ROOT"); - if (TAO_ROOT != 0) - { - ACE_OS::strcat (option, TAO_ROOT); - ACE_OS::strcat (option, "/tao"); - } - else - { - const char* ACE_ROOT = - ACE_OS::getenv ("ACE_ROOT"); - if (ACE_ROOT != 0) - { - ACE_OS::strcat (option, ACE_ROOT); - ACE_OS::strcat (option, "/TAO/tao"); - } - else - { - ACE_ERROR ((LM_ERROR, - "TAO_IDL: neither TAO_ROOT nor ACE_ROOT defined\n")); - ACE_OS::strcat (option, "."); - } - } - - DRV_cpp_putarg (option); - } - else - { - // Users specify their own. Add them to cpp's arglist. - ACE_ARGV arglist (cpp_flags); - - for (size_t arg_cnt = 0; arg_cnt < arglist.argc (); ++arg_cnt) - DRV_cpp_putarg (arglist[arg_cnt]); - } -} - -/* - * lines can be 1024 chars long - */ -#define LINEBUF_SIZE 1024 -static char drv_line[LINEBUF_SIZE + 1]; - -/* - * Get a line from stdin - */ -static long -DRV_get_line(FILE *f) -{ - char *l = fgets(drv_line, LINEBUF_SIZE, f); - long i; - - if (l == NULL) - return I_FALSE; - if (*l == '\0' && feof(f)) - return I_FALSE; - if (*l == '\0') - return I_TRUE; - i = strlen(l) - 1; - if (l[i] == '\n') - l[i] = '\0'; - return I_TRUE; -} - -/* - * Copy from stdin to a file - */ -static void -DRV_copy_input(FILE *fin, char *fn, const char *orig_filename) -{ - FILE *f = ACE_OS::fopen(fn, "w"); - - if (f == NULL) { - cerr << idl_global->prog_name() - << GTDEVEL(": cannot open temp file ") - << fn - << GTDEVEL(" for writing\n"); - ACE_OS::exit (99); - } - if (fin == NULL) { - cerr << idl_global->prog_name() - << GTDEVEL(": cannot open input file\n"); - ACE_OS::exit (99); - } -#if !defined (ACE_WIN32) - fprintf (f, "#line 1 \"%s\"\n", orig_filename); -#else - // Convert single \ into double \ otherwise MSVC++ pre-processor - // gets awfully confused. - char buf[2*MAXPATHLEN]; - char *d = buf; - for (const char *s = orig_filename; *s != 0; ++s) - { - if (*s == '\\') - { - *d = '\\'; - d++; - } - *d = *s; - d++; - } - *d = 0; - ACE_OS::fprintf (f, "#line 1 \"%s\"\n", buf); -#endif /* ! ACE_WIN32 */ - - while (DRV_get_line(fin)) - { - // We really need to know whether this line is a "#include - // ...". If so, we would like to separate the "file name" and - // keep that in the idl_global. We need them to produce - // "#include's in the stubs and skeletons. - DRV_check_for_include (drv_line); - - // Print the line to the temp file. - ACE_OS::fprintf (f, "%s\n", drv_line); - } - - // Close the temp file. - ACE_OS::fclose(f); -} - -/* - * Strip down a name to the last component, i.e. everything after the - last - * '/' or '\' character - */ -static char * -DRV_stripped_name(char *fn) -{ - char *n = fn; - long l; - - if (n == NULL) - return NULL; - l = strlen(n); - int slash_found = 0; - for (n += l-1; n >= fn && !slash_found; n--) - slash_found = (*n == '/' || *n == '\\'); - n += 1; - if (slash_found) n += 1; - return n; -} - -/* - * File names - */ -static char tmp_file[128]; -static char tmp_ifile[128]; - -/* - * Pass input through preprocessor - */ -void -DRV_pre_proc(const char *myfile) -{ - long readfromstdin = I_FALSE; - char catbuf[512]; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (readfromstdin); - - const char* tmpdir = idl_global->temp_dir (); - - ACE_OS::strcpy (tmp_file, tmpdir); - ACE_OS::strcpy (tmp_ifile, tmpdir); - - ACE_OS::strcat (tmp_file, "idlf_XXXXXX"); - ACE_OS::strcat (tmp_ifile, "idli_XXXXXX"); - - (void) ACE_OS::mktemp (tmp_file); ACE_OS::strcat (tmp_file, ".cc"); - (void) ACE_OS::mktemp (tmp_ifile); ACE_OS::strcat (tmp_ifile, ".cc"); - - if (strcmp(myfile, "standard input") == 0) - { - idl_global->set_filename(new UTL_String (tmp_ifile)); - idl_global->set_main_filename(new UTL_String (tmp_ifile)); - UTL_String* stripped = new UTL_String (DRV_stripped_name(tmp_ifile)); - idl_global->set_stripped_filename(stripped); - idl_global->set_real_filename(new UTL_String (tmp_ifile)); - DRV_copy_input(stdin, tmp_ifile, "standard input"); - idl_global->set_read_from_stdin(I_TRUE); - } - else - { - FILE *fd = fopen(myfile, "r"); - DRV_copy_input(fd, tmp_ifile, myfile); - fclose(fd); - idl_global->set_read_from_stdin(I_FALSE); - idl_global->set_filename(new UTL_String (myfile)); - idl_global->set_main_filename(new UTL_String (myfile)); - ACE_Auto_String_Free tmp (ACE_OS::strdup (myfile)); - idl_global->set_stripped_filename(new UTL_String (DRV_stripped_name (tmp.get ()))); - idl_global->set_real_filename(new UTL_String (tmp_ifile)); - } - - // We use ACE instead of the (low level) fork facilities, this also - // work on NT. - ACE_Process manager; - ACE_Process_Options cpp_options; - DRV_cpp_putarg (tmp_ifile); - DRV_cpp_putarg (0); // Null terminate the arglist. - cpp_options.command_line (arglist); - ACE_HANDLE fd = ACE_OS::open(tmp_file, O_WRONLY | O_CREAT | O_TRUNC, 0777); - if (fd == ACE_INVALID_HANDLE) { - cerr << idl_global->prog_name() - << GTDEVEL(": cannot open temp file ") - << tmp_file << " for writing\n"; - return; - } - cpp_options.set_handles (ACE_INVALID_HANDLE, fd); - if (manager.spawn (cpp_options) == -1) - { - cerr << idl_global->prog_name() - << GTDEVEL(": spawn of ") - << arglist[0] - << GTDEVEL(" failed\n"); - return; - } - - // Close the output file on the parent process. - if (ACE_OS::close (fd) == -1) - { - cerr << idl_global->prog_name () - << GTDEVEL(": cannot close temp file") - << tmp_file << " on parent\n"; - return; - } - - // Remove the null termination and the input file from the arglist, - // the next file will the previous args. - argcount -= 2; - - int status = 0; - if (manager.wait (&status) == -1) - { - cerr << idl_global->prog_name () - << GTDEVEL(": wait for child process failed\n"); - return; - } - if (status != 0) - { - cerr << idl_global->prog_name() - << GTDEVEL(": preprocessor ") - << arglist[0] - << GTDEVEL(" returned with an error\n"); - ACE_OS::exit (1); - } - // TODO: Manage problems in the pre-processor, in the previous - // version the current process would exit if the pre-processor - // returned with error. - - FILE * yyin = ACE_OS::fopen(tmp_file, "r"); - if (yyin == NULL) { - cerr << idl_global->prog_name() - << GTDEVEL(": Could not open cpp output file ") - << tmp_file - << "\n"; - ACE_OS::exit (99); - } - (*DRV_FE_set_yyin)(ACE_reinterpret_cast(File *, yyin)); - - // @@ TODO: This is not portable, cat(1) is a UNIX tool. - if (idl_global->compile_flags() & IDL_CF_ONLY_PREPROC) { - sprintf(catbuf, "cat < %s", tmp_file); - system(catbuf); - } - - if (ACE_OS::unlink(tmp_ifile) == -1) { - cerr << idl_global->prog_name() - << GTDEVEL(": Could not remove cpp input file ") - << tmp_ifile - << "\n"; - ACE_OS::exit (99); - } - -#if !defined (ACE_WIN32) || defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0) - if (ACE_OS::unlink(tmp_file) == -1) { - cerr << idl_global->prog_name() - << GTDEVEL(": Could not remove cpp output file ") - << tmp_file - << "\n"; - ACE_OS::exit (99); - } -#endif /* ACE_HAS_WINNT4 && ACE_HAS_WINNT4 != 0 */ - - if (idl_global->compile_flags() & IDL_CF_ONLY_PREPROC) - ACE_OS::exit (0); -} - -// We really need to know whether this line is a "#include ...". If -// so, we would like to separate the "file name" and keep that in the -// idl_global. We need them to produce "#include's in the stubs and -// skeletons. -void -DRV_check_for_include (const char* buf) -{ - const char* r = buf; - const char* h; - - // Skip initial '#'. - if (*r != '#') - return; - else - r++; - - // Skip the tabs and spaces. - while (*r == ' ' || *r == '\t') - r++; - - // Probably we are at the word `include`. If not return. - if (*r != 'i') - return; - - // Check whether this word is `include` or no. - const char* include_str = "include"; - for (size_t ii = 0; ii < strlen ("include") && *r != '\0' && *r != ' ' && *r != '\t'; r++, ii++) - // Return if it doesn't match. - if (include_str [ii] != *r) - return; - - // Next thing is finding the file that has been `#include'd. Skip - // all the blanks and tabs and reach the startng " or < character. - for (; (*r != '"') && (*r != '<'); r++) - if (*r == '\n' || *r == '\0') - return; - - // Decide on the end char. - char end_char = '"'; - if (*r == '<') - end_char = '>'; - - // Skip this " or <. - r++; - - // Store this position. - h = r; - - // Found this in idl.ll. Decides the file to be standard input. - if (*h == '\0') - return; - - // Find the closing " or < character. - for (; *r != end_char; r++) - continue; - - // Make a new string for this file name. - char* file_name = 0; - ACE_NEW (file_name, - char [r - h + 1]); - - // Copy the char's. - size_t fi = 0; - for (; h != r; fi++, h++) - file_name [fi] = *h; - - // Terminate the string. - file_name [fi] = '\0'; - - // Put Microsoft-style pathnames into a canonical form. - size_t i = 0; - for (size_t j = 0; file_name [j] != '\0'; i++, j++) - { - if (file_name [j] == '\\' && file_name [j + 1] == '\\') - j++; - - file_name [i] = file_name [j]; - } - - // Terminate this string. - file_name [i] = '\0'; - - // Store in the idl_global, unless it's "orb.idl" - - // we don't want to generate header includes for that. - if (ACE_OS::strcmp (file_name, "orb.idl")) - idl_global->add_to_included_idl_files (file_name); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class ACE_Env_Value; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate ACE_Env_Value -#endif diff --git a/TAO/TAO_IDL/driver/drv_private.cpp b/TAO/TAO_IDL/driver/drv_private.cpp deleted file mode 100644 index 290979e389f..00000000000 --- a/TAO/TAO_IDL/driver/drv_private.cpp +++ /dev/null @@ -1,85 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// drv_global.cc - Global variables for IDL compiler driver program - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" - -ACE_RCSID(driver, drv_private, "$Id$") - -// Storage for file names - -#if !defined (NFILES) -# define NFILES 1024 -#endif /* ! NFILES */ - -const char *DRV_files[NFILES]; -long DRV_nfiles = 0; -long DRV_file_index = -1; -IDL_GlobalData *idl_global = NULL; diff --git a/TAO/TAO_IDL/fe/Makefile.am b/TAO/TAO_IDL/fe/Makefile.am deleted file mode 100644 index 3fbf6403aa6..00000000000 --- a/TAO/TAO_IDL/fe/Makefile.am +++ /dev/null @@ -1,95 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Makefile.am for the TAO IDL compiler --- 'fe' sub-directory -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) \ - -I$(top_srcdir)/TAO_IDL/include - -noinst_LIBRARIES = libfe.a - -libfe_a_SOURCES = \ - fe_declarator.cpp \ - fe_extern.cpp \ - fe_init.cpp \ - fe_interface_header.cpp \ - fe_lookup.cpp \ - fe_private.cpp \ - lex.yy.cpp \ - y.tab.cpp - -noinst_HEADERS = y.tab.h - -##BUILT_SOURCES = fe_lookup.cpp lex.yy.cpp y.tab.cpp y.tab.h - -fe_lookup.cpp: keywords.dat - rm -f fe_lookup.cpp - echo "// \$$Id\$$" > fe_lookup.cpp - echo "#include \"idl.h\"" >> fe_lookup.cpp - echo "#include \"idl_extern.h\"" >> fe_lookup.cpp - echo "#include \"fe_private.h\"" >> fe_lookup.cpp - $(GPERF) -M -J -c -C -D -E -T -F 0 -f 0 -a -o -t -p -K keyword_ \ - -L C++ -Z TAO_IDL_CPP_Keyword_Table -N lookup -k1,2,$$ keywords.dat \ - >> fe_lookup.cpp - -lex.yy.cpp: idl.ll - @echo "WARNING: Potentially outdated fe/lex.yy.cpp" - @echo " either touch(1) the file or explicitly" - @echo " generate it using:" - @echo " make lex.yy.cpp.target" - -.PHONY: lex.yy.cpp.target - -lex.yy.cpp.target: - $(LEX) -t idl.ll | \ - sed -e "s/yy/tao_yy/g" \ - -e "s/YY/TAO_YY/g" \ - -e "s@#include @#include \"ace/OS.h\"@" \ - -e "/#include lex.yy.cpp - patch < lex.yy.cpp.diff - echo timestamp > $@ - -y.tab.cpp: idl.yy - @echo "WARNING: Potentially outdated fe/y.tab.cpp" - @echo " either touch(1) the file or explicitly" - @echo " generate it using:" - @echo " make y.tab" - -.PHONY: y.tab - -y.tab: idl.yy - $(YACC) -d idl.yy - sed -e "s/char \*getenv/char *ace_foo/g" \ - -e "s/= getenv/= ACE_OS::getenv/g" \ - -e "s/yynewerror://g" \ - -e "s/yy/tao_yy/g" \ - -e "s/YY/TAO_YY/g" \ - -e "s/y\.tab\.c/y.tab.cpp/g" < y.tab.c > /tmp/$(USER).Y - sed -e "s/yy/tao_yy/g" \ - -e "s/YY/TAO_YY/g" < y.tab.h > /tmp/$(USER).YH - cp /tmp/$(USER).Y y.tab.cpp - cp /tmp/$(USER).YH y.tab.h - rm -f /tmp/$(USER).Y /tmp/$(USER).YH y.tab.c y.tab.h - patch < y.tab.cpp.diff - echo timestamp > $@ - -noinst_DATA = keywords.dat - -EXTRA_DIST = idl.ll idl.yy keywords.dat y.tab.cpp.diff - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations diff --git a/TAO/TAO_IDL/fe/fe_declarator.cpp b/TAO/TAO_IDL/fe/fe_declarator.cpp deleted file mode 100644 index 400dbe1b29f..00000000000 --- a/TAO/TAO_IDL/fe/fe_declarator.cpp +++ /dev/null @@ -1,161 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * fe_declarator.cc - Implementation of FE private declaration - * statement class - * - * The FE_Declarator class is used to hold together complex declarations - * until all the components are parsed and before they are composed into - * an AST_Type node. - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -ACE_RCSID(fe, fe_declarator, "$Id$") - -/* - * Constructor(s) and destructor - */ - -FE_Declarator::FE_Declarator(UTL_ScopedName *n, DeclaratorType dt, - AST_Decl *cp) - : pd_complex_part(cp), - pd_name(n), - pd_decl_type(dt) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Compose the type of the complex declarator (if any) with the base -// type supplied in ct -AST_Type * -FE_Declarator::compose(AST_Decl *d) -{ - AST_Array *arr; - AST_Type *ct; - - ct = AST_Type::narrow_from_decl(d); - if (ct == NULL) { - idl_global->err()->not_a_type(d); - return NULL; - } - if (ct->node_type() == AST_Decl::NT_except) { - idl_global->err()->not_a_type(d); - return NULL; - } - if (pd_decl_type == FD_simple || pd_complex_part == NULL) { - return ct; - } - if (pd_complex_part->node_type() == AST_Decl::NT_array) { - arr = AST_Array::narrow_from_decl(pd_complex_part); - arr->set_base_type(ct); - - /* - * Add the new array to the types defined in the global scope - */ - idl_global->root()->fe_add_array(arr); - - return arr; - } - return NULL; // return through this statement should not happen -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Data accessors - */ - -AST_Decl * -FE_Declarator::complex_part() -{ - return pd_complex_part; -} - -UTL_ScopedName * -FE_Declarator::name() -{ - return pd_name; -} - -FE_Declarator::DeclaratorType -FE_Declarator::decl_type() -{ - return pd_decl_type; -} diff --git a/TAO/TAO_IDL/fe/fe_extern.cpp b/TAO/TAO_IDL/fe/fe_extern.cpp deleted file mode 100644 index ee87e7c1da4..00000000000 --- a/TAO/TAO_IDL/fe/fe_extern.cpp +++ /dev/null @@ -1,126 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * fe_extern.cc - export FE interfaces to driver - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -#include "utl_error.h" -#include "utl_indenter.h" -#include "utl_string.h" - -ACE_RCSID(fe, fe_extern, "$Id$") - -/* - * yacc parser interface - */ - -extern int tao_yyparse(); -extern FILE * tao_yyin; - -int -FE_yyparse() -{ - int result = tao_yyparse(); - if (idl_global->err_count() == 0) { - idl_global->root()->call_add(); - } - return result; -} - -void -FE_set_yyin(File * f) -{ - tao_yyin = ACE_reinterpret_cast(FILE*,f); -} - -/* - * constructor interfaces - */ - -UTL_Error * -FE_new_UTL_Error() -{ - return new UTL_Error(); -} - -UTL_Indenter * -FE_new_UTL_Indenter() -{ - return new UTL_Indenter(); -} - -UTL_String * -FE_new_UTL_String(char * str) -{ - return new UTL_String(str); -} diff --git a/TAO/TAO_IDL/fe/fe_init.cpp b/TAO/TAO_IDL/fe/fe_init.cpp deleted file mode 100644 index 9e2a4f6b282..00000000000 --- a/TAO/TAO_IDL/fe/fe_init.cpp +++ /dev/null @@ -1,412 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * fe_init.cc - Initialize the FE - * - * The FE initialization is carried out in two stages, with the BE - * initialization protocol sandwiched between the two stages. - * - * The first stage is responsible for creating the scopes stack. - * The second stage is run after the BE initialization has created - * and returned an instance of AST_Generator (or a subclass). This - * instance is used to create the root node for the AST, and to - * populate it with AST_PredefinedType nodes which represent the - * predefined IDL types. This AST root is then pushed on the scopes - * stack as the outermost scope. - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -ACE_RCSID(fe, fe_init, "$Id$") - -/* - * Create a scoped name - */ -static UTL_ScopedName * -create_scoped_name(const char *s) -{ - return new UTL_ScopedName(new Identifier(s, 1, 0, I_FALSE), NULL); -} - -/* - * Populate the global scope with all predefined entities - */ -void -fe_populate(AST_Module *m) -{ - AST_PredefinedType *pdt; - - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_long, - create_scoped_name("long"), - NULL); - m->fe_add_predefined_type(pdt); - - pdt = - idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_ulong, - create_scoped_name("unsigned long"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_longlong, - create_scoped_name("long long"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_ulonglong, - create_scoped_name("unsigned long long"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_short, - create_scoped_name("short"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_ushort, - create_scoped_name("unsigned short"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_float, - create_scoped_name("float"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_double, - create_scoped_name("double"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_longdouble, - create_scoped_name("long double"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_char, - create_scoped_name("char"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_wchar, - create_scoped_name("wchar"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_octet, - create_scoped_name("octet"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_any, - create_scoped_name("any"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_boolean, - create_scoped_name("boolean"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_void, - create_scoped_name("void"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("Object"), - NULL); - m->fe_add_predefined_type(pdt); - - /* - * Add these to make all keywords protected even in different spellings - */ - - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("attribute"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("case"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("const"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("context"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("default"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("enum"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("exception"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("in"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("out"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("inout"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("interface"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("module"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("oneway"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("raises"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("readonly"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("sequence"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("string"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("wstring"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("struct"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("switch"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("typedef"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("union"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("unsigned"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("TRUE"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("FALSE"), - NULL); - m->fe_add_predefined_type(pdt); - -# ifdef IDL_HAS_VALUETYPE - if (idl_global->obv_support ()) - { - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("abstract"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("custom"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("init"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("private"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("public"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("supports"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("truncatable"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("valuetype"), - NULL); - m->fe_add_predefined_type(pdt); - } -# endif /* IDL_HAS_VALUETYPE */ -} - -/* - * Initialization stage 1: create global scopes stack - */ -void -FE_init_stage1() -{ - idl_global->set_scopes(new UTL_ScopeStack()); - if (idl_global->scopes() == NULL) { - cerr << GTDEVEL("IDL: FE init failed to create scope stack, exiting\n"); - ACE_OS::exit (99); - } -} - -/* - * Initialization stage 2: create global scope and populate it - */ -void -FE_init_stage2() -{ - AST_Root *r; - - /* - * Check that the BE init created a generator object - */ - if (idl_global->gen() == NULL) { - cerr << GTDEVEL("IDL: BE did not initialize idl_global->gen(), exiting\n"); - ACE_OS::exit (99); - } - /* - * Create a global root for the AST. Note that the AST root has no - * name - */ - r = idl_global->gen()->create_root(create_scoped_name(""), NULL); - idl_global->set_root(r); - if (r == NULL) { - cerr << GTDEVEL("IDL: FE init failed to create AST root, exiting\n"); - ACE_OS::exit (99); - } - /* - * Push it on the stack - */ - idl_global->scopes()->push(idl_global->root()); - /* - * Populate it with nodes for predefined types - */ - fe_populate(idl_global->root()); - /* - * Set flag to indicate we are processing the main file now - */ - idl_global->set_in_main_file(I_TRUE); -} diff --git a/TAO/TAO_IDL/fe/fe_interface_header.cpp b/TAO/TAO_IDL/fe/fe_interface_header.cpp deleted file mode 100644 index 09f38091eb7..00000000000 --- a/TAO/TAO_IDL/fe/fe_interface_header.cpp +++ /dev/null @@ -1,413 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * fe_interface_header.cc - Implements the FE private class FE_InterfaceHeader - * - * FE_InterfaceHeader instances are used to store information about an - * interface header as the interface is being parsed and before the - * AST_Interface node used to represent this interface is created. - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -ACE_RCSID(fe, fe_interface_header, "$Id$") - -/* - * Constructor(s) and destructor - */ - -FE_InterfaceHeader::FE_InterfaceHeader(UTL_ScopedName *n, UTL_NameList *nl, - UTL_NameList *supports, - idl_bool compile_now) - : pd_interface_name(n) -{ - if (compile_now) - compile_inheritance (nl, supports); -} - -/* - * Private operations - */ - -// Compute flattened, non-repeating list of inherited interfaces - -#undef INCREMENT -#define INCREMENT 512 - -/* - * Private storage used to store interfaces seen already in the - * computation of the unique, flattened inheritance list - */ -static AST_Interface **iseen = NULL; -static long iallocated = 0; -static long iused = 0; - -/* - * Add an interface to an inheritance spec - */ -static void -add_inheritance(AST_Interface *i) -{ - long k; - AST_Interface **oiseen; - - /* - * Make sure there's space for one more - */ - if (iallocated == iused) { - if (iallocated == 0) { - iallocated = INCREMENT; - iseen = new AST_Interface *[iallocated]; - } else { - oiseen = iseen; - iallocated += INCREMENT; - iseen = new AST_Interface *[iallocated]; - for (k = 0; k < iused; k++) - iseen[k] = oiseen[k]; - delete oiseen; - } - } - /* - * OK, now insert it - */ - iseen[iused] = i; - iused++; -} - -/* - * Have we already seen this interface? - */ -static long -already_seen(AST_Interface *ip) -{ - long i; - - for (i = 0; i < iused; i++) { - if (iseen[i] == ip) - return I_TRUE; - } - return I_FALSE; -} - -/* - * Add this interface to the list of inherited if not already there - */ -void -FE_InterfaceHeader::compile_one_inheritance(AST_Interface *i) -{ - /* - * Check for badly formed interface - */ - if (i == NULL) - return; - /* - * If we've seen it already then don't expand again - */ - if (already_seen(i)) - return; - /* - * OK, add i to the list of inherited interfaces - */ - add_inheritance(i); -} - -/* - * Compute the list of top-level interfaces this one inherits from - */ -void -FE_InterfaceHeader::compile_inheritance(UTL_NameList *ifaces, - UTL_NameList *supports) -{ - UTL_NamelistActiveIterator *l; - AST_Decl *d; - AST_Interface *i; - long k; - UTL_NameList *nl; - int loops; - long ichecked = 0; - idl_bool inh_err = 0; - idl_bool in_supports = 0; - - iused = 0; - /* - * Compute expanded flattened non-repeating list of interfaces - * which this one inherits from - */ - nl = ifaces; - // loop twice if nl and supports are nonempty - for (loops = 0; loops < 2; ++loops) { - if (nl != NULL) { - l = new UTL_NamelistActiveIterator(nl); - while (!(l->is_done())) { - /* - * Check that scope stack is valid - */ - if (idl_global->scopes()->top() == NULL) { - idl_global->err()->lookup_error(l->item()); - return; - } - /* - * Look it up - */ - d = idl_global->scopes()->top()->lookup_by_name(l->item(), I_TRUE); - /* - * Not found? - */ - if (d == NULL) { - idl_global->err()->lookup_error(l->item()); - return; - } - /* - * Not an appropriate interface? - */ - while(d->node_type() == AST_Decl::NT_typedef) - d = AST_Typedef::narrow_from_decl(d)->base_type(); - if (d->node_type() == AST_Decl::NT_interface) - i = AST_Interface::narrow_from_decl(d); - else - i = NULL; - if (i != NULL) - { - if (in_supports) - { - inh_err = ! this->check_supports (i); - } - else - { - if (ichecked == 0) - inh_err = ! this->check_first (i); - else - inh_err = ! this->check_further (i); - } - } - else - { - inh_err = 1; - } - if (inh_err) - { - idl_global->err()->inheritance_error(pd_interface_name, d); - return; //%! really ? inh_err=0; and test the remaining...? - } - /* - * Forward declared interface? - */ - if (!i->is_defined()) { - idl_global->err()->inheritance_fwd_error(pd_interface_name, i); - return; - } - /* - * OK, see if we have to add this to the list of interfaces - * inherited from - */ - compile_one_inheritance(i); - - /* - * Next element in header list - */ - ++ ichecked; - l->next(); - } - delete l; - } - in_supports = 1; - nl = supports; - } - /* - * OK, install in interface header - */ - pd_inherits = new AST_Interface *[iused]; - for (k = 0; k < iused; k++) - pd_inherits[k] = iseen[k]; - pd_n_inherits = iused; -} - -// check_ methods called from compile_inheritance() -// overridden in derived classes -idl_bool -FE_InterfaceHeader::check_first (AST_Interface *i) -{ - // nothing special for the first - return this->check_further (i); -} - -idl_bool -FE_InterfaceHeader::check_further (AST_Interface *i) -{ - if (i && ! i->is_valuetype()) - { - return 1; - } - else - { - return 0; - } -} - -idl_bool -FE_InterfaceHeader::check_supports (AST_Interface *) -{ - return 0; -} - - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Data accessors - */ - -UTL_ScopedName * -FE_InterfaceHeader::interface_name() -{ - return pd_interface_name; -} - -AST_Interface ** -FE_InterfaceHeader::inherits() -{ - return pd_inherits; -} - -long -FE_InterfaceHeader::n_inherits() -{ - return pd_n_inherits; -} - - -// #ifdef IDL_HAS_VALUETYPE - -// FE_obv_header - -FE_obv_header::FE_obv_header (UTL_ScopedName *n, UTL_NameList *nl, UTL_NameList *supports) - : FE_InterfaceHeader (n, nl, supports,0), - truncatable_ (0), - n_concrete_ (0) -{ - compile_inheritance (nl, supports); -} - -// check_ methods called from compile_inheritance() -idl_bool -FE_obv_header::check_first (AST_Interface *i) -{ - if (i && i->is_valuetype()) - { - if (! i->is_abstract_valuetype()) - ++ n_concrete_; - return 1; - } - else - { - return 0; - } -} - -idl_bool -FE_obv_header::check_further (AST_Interface *i) -{ - if (i && i->is_valuetype() && i->is_abstract_valuetype()) - { - return 1; - } - else - { - return 0; - } -} - -idl_bool -FE_obv_header::check_supports (AST_Interface *i) -{ - if (i && ! i->is_valuetype()) - { - return 1; - } - else - { - return 0; - } -} - - -long -FE_obv_header::n_concrete () -{ - return n_concrete_; -} - -// #endif /* IDL_HAS_VALUETYPE */ diff --git a/TAO/TAO_IDL/fe/fe_lookup.cpp b/TAO/TAO_IDL/fe/fe_lookup.cpp deleted file mode 100644 index 1b449b99308..00000000000 --- a/TAO/TAO_IDL/fe/fe_lookup.cpp +++ /dev/null @@ -1,191 +0,0 @@ -// $Id$ -#include "idl.h" -#include "idl_extern.h" -#include "fe_private.h" -/* starting time is 2:40:07 */ -/* C++ code produced by gperf version 2.8 (ACE version) */ -/* Command-line: /project/adaptive/ACE_wrappers/build/SunOS5.5/bin/gperf -M -J -c -C -D -E -T -f 0 -a -o -t -p -K keyword_ -L C++ -Z TAO_IDL_CPP_Keyword_Table -N lookup -k1,2,$ fe/keywords.dat */ -unsigned int -TAO_IDL_CPP_Keyword_Table::hash (const char *str, unsigned int len) -{ - static const unsigned char asso_values[] = - { - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 15, 35, 65, - 0, 0, 35, 5, 0, 60, 252, 0, 30, 0, - 5, 5, 20, 50, 40, 20, 110, 0, 45, 35, - 95, 55, 252, 252, 252, 252, 252, 252, - }; - return len + asso_values[str[1]] + asso_values[str[0]] + asso_values[str[len - 1]]; -} - -const struct TAO_IDL_CPP_Keyword_Entry * -TAO_IDL_CPP_Keyword_Table::lookup (const char *str, unsigned int len) -{ - enum - { - TOTAL_KEYWORDS = 74, - MIN_WORD_LENGTH = 2, - MAX_WORD_LENGTH = 16, - MIN_HASH_VALUE = 6, - MAX_HASH_VALUE = 251, - HASH_VALUE_RANGE = 246, - DUPLICATES = 0 - }; - - static const struct TAO_IDL_CPP_Keyword_Entry wordlist[] = - { - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"delete", "_cxx_delete"}, - {"mutable", "_cxx_mutable"}, - {"",0}, - {"enum", "_cxx_enum"}, - {"",0}, - {"double", "_cxx_double"}, - {"do", "_cxx_do"}, - {"unsigned", "_cxx_unsigned"}, - {"",0}, - {"union", "_cxx_union"}, - {"",0}, {"",0}, {"",0}, - {"goto", "_cxx_goto"}, - {"",0}, {"",0}, {"",0}, - {"and", "_cxx_and"}, - {"auto", "_cxx_auto"}, - {"",0}, {"",0}, {"",0}, {"",0}, - {"namespace", "_cxx_namespace"}, - {"using", "_cxx_using"}, - {"",0}, {"",0}, {"",0}, - {"else", "_cxx_else"}, - {"",0}, {"",0}, {"",0}, - {"asm", "_cxx_asm"}, - {"",0}, - {"while", "_cxx_while"}, - {"",0}, {"",0}, - {"new", "_cxx_new"}, - {"long", "_cxx_long"}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"return", "_cxx_return"}, - {"",0}, {"",0}, - {"void", "_cxx_void"}, - {"false", "_cxx_false"}, - {"",0}, {"",0}, - {"volatile", "_cxx_volatile"}, - {"",0}, {"",0}, - {"switch", "_cxx_switch"}, - {"",0}, {"",0}, {"",0}, {"",0}, - {"not_eq", "_cxx_not_eq"}, - {"private", "_cxx_private"}, - {"",0}, - {"protected", "_cxx_protected"}, - {"",0}, - {"inline", "_cxx_inline"}, - {"",0}, - {"operator", "_cxx_operator"}, - {"bool", "_cxx_bool"}, - {"",0}, - {"and_eq", "_cxx_and_eq"}, - {"",0}, - {"continue", "_cxx_continue"}, - {"",0}, - {"break", "_cxx_break"}, - {"friend", "_cxx_friend"}, - {"",0}, - {"for", "_cxx_for"}, - {"case", "_cxx_case"}, - {"catch", "_cxx_catch"}, - {"signed", "_cxx_signed"}, - {"or", "_cxx_or"}, - {"register", "_cxx_register"}, - {"",0}, {"",0}, - {"public", "_cxx_public"}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"or_eq", "_cxx_or_eq"}, - {"bitand", "_cxx_bitand"}, - {"",0}, {"",0}, {"",0}, - {"compl", "_cxx_compl"}, - {"extern", "_cxx_extern"}, - {"",0}, {"",0}, - {"char", "_cxx_char"}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"default", "_cxx_default"}, - {"template", "_cxx_template"}, - {"",0}, - {"class", "_cxx_class"}, - {"sizeof", "_cxx_sizeof"}, - {"",0}, - {"not", "_cxx_not"}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"if", "_cxx_if"}, - {"",0}, - {"this", "_cxx_this"}, - {"short", "_cxx_short"}, - {"",0}, {"",0}, {"",0}, {"",0}, - {"bitor", "_cxx_bitor"}, - {"",0}, - {"virtual", "_cxx_virtual"}, - {"xor", "_cxx_xor"}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"throw", "_cxx_throw"}, - {"",0}, {"",0}, {"",0}, - {"true", "_cxx_true"}, - {"",0}, - {"xor_eq", "_cxx_xor_eq"}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"reinterpret_cast", "_cxx_reinterpret_cast"}, - {"",0}, {"",0}, {"",0}, {"",0}, - {"typeid", "_cxx_typeid"}, - {"",0}, - {"typename", "_cxx_typename"}, - {"",0}, {"",0}, {"",0}, - {"dynamic_cast", "_cxx_dynamic_cast"}, - {"int", "_cxx_int"}, - {"",0}, - {"float", "_cxx_float"}, - {"",0}, {"",0}, {"",0}, {"",0}, - {"const", "_cxx_const"}, - {"",0}, {"",0}, {"",0}, {"",0}, - {"const_cast", "_cxx_const_cast"}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"",0}, - {"static", "_cxx_static"}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"typedef", "_cxx_typedef"}, - {"try", "_cxx_try"}, - {"",0}, {"",0}, - {"export", "_cxx_export"}, - {"",0}, - {"explicit", "_cxx_explicit"}, - {"",0}, {"",0}, {"",0}, - {"wchar_t", "_cxx_wchar_t"}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, {"",0}, - {"",0}, - {"struct", "_cxx_struct"}, - {"",0}, {"",0}, {"",0}, {"",0}, - {"static_cast", "_cxx_static_cast"}, - }; - - 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].keyword_; - - if (*str == *s && !strncmp (str + 1, s + 1, len - 1)) - return &wordlist[key]; - } - } - return 0; -} -/* ending time is 2:40:07 */ diff --git a/TAO/TAO_IDL/fe/fe_private.cpp b/TAO/TAO_IDL/fe/fe_private.cpp deleted file mode 100644 index bec725f9a20..00000000000 --- a/TAO/TAO_IDL/fe/fe_private.cpp +++ /dev/null @@ -1,82 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * fe_private.cc - Declare global data which are private to the FE - * part - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -ACE_RCSID(fe, fe_private, "$Id$") - -/* - * List of pragmas - */ -UTL_StrList *DRV_global_pragmas = NULL; diff --git a/TAO/TAO_IDL/fe/idl.ll b/TAO/TAO_IDL/fe/idl.ll deleted file mode 100644 index 78fc9f3c591..00000000000 --- a/TAO/TAO_IDL/fe/idl.ll +++ /dev/null @@ -1,618 +0,0 @@ -%{ -/* $Id$ - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -IDL_ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -IDL_ANY OBLIGATION ON THE PART OF Sun OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IDL_IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR IDL_ANY PATENTS BY -IDL_INTERFACE DEFINITION LANGUAGE CFE OR IDL_ANY PART THEREOF. - -IDL_IN NO EVENT WILL SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -IDL_ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * idl.ll - Lexical scanner for IDL 1.1 - */ - -#include "idl.h" -#include "idl_extern.h" -#include "fe_private.h" -#include "y.tab.h" - -static char idl_escape_reader(char *); -static double idl_atof(char *); -static long idl_atoi(char *, long); -static unsigned long idl_atoui(char *, long); -static void idl_parse_line_and_file(char *); -static void idl_store_pragma(char *); - -#if 0 /* defined (HPUX) */ -// HPUX has yytext typed to unsigned char *. We make sure here that -// we'll always use char * static char* __yytext = (char*) yytext; -// NOTE: This will not work under flex(1) were yytext is not a fixed -// buffer, but a dynamically allocated one. This function should do -// the trick for us. -inline char *__yytext() -{ - return (char *) yytext; -} -#define ace_yytext __yytext() -#else -#define ace_yytext yytext -#endif /* 0 */ - -static int scan_obv_token (int token) -{ -#ifdef IDL_HAS_VALUETYPE - if (idl_global->obv_support ()) - { - return token; - } -#endif /* IDL_HAS_VALUETYPE */ - TAO_IDL_CPP_Keyword_Table cpp_key_tbl; - const TAO_IDL_CPP_Keyword_Entry *entry = - cpp_key_tbl.lookup (ace_yytext, - ACE_OS::strlen (ace_yytext)); - if (entry) - yylval.strval = ACE_OS::strdup (entry->mapping_); - else - yylval.strval = ACE_OS::strdup (ace_yytext); - return IDENTIFIER; -} - -%} - -/* SO we don't choke on files that use \r\n */ -NL [\r?\n] - -%array -%option never-interactive - -%% - -any return IDL_ANY; -module return IDL_MODULE; -raises return IDL_RAISES; -readonly return IDL_READONLY; -attribute return IDL_ATTRIBUTE; -exception return IDL_EXCEPTION; -context return IDL_CONTEXT; -interface return IDL_INTERFACE; -const return IDL_CONST; -typedef return IDL_TYPEDEF; -struct return IDL_STRUCT; -enum return IDL_ENUM; -string return IDL_STRING; -wstring return IDL_WSTRING; -sequence return IDL_SEQUENCE; -union return IDL_UNION; -switch return IDL_SWITCH; -case return IDL_CASE; -default return IDL_DEFAULT; -float return IDL_FLOAT; -double return IDL_DOUBLE; -long return IDL_LONG; -short return IDL_SHORT; -unsigned return IDL_UNSIGNED; -char return IDL_CHAR; -wchar return IDL_WCHAR; -boolean return IDL_BOOLEAN; -octet return IDL_OCTET; -void return IDL_VOID; -native return IDL_NATIVE; -abstract return scan_obv_token (IDL_ABSTRACT); -custom return scan_obv_token (IDL_CUSTOM); -init return scan_obv_token (IDL_INIT); -private return scan_obv_token (IDL_PRIVATE); -public return scan_obv_token (IDL_PUBLIC); -supports return scan_obv_token (IDL_SUPPORTS); -truncatable return scan_obv_token (IDL_TRUNCATABLE); -valuetype return scan_obv_token (IDL_VALUETYPE); - -TRUE return IDL_TRUETOK; -FALSE return IDL_FALSETOK; - -inout return IDL_INOUT; -in return IDL_IN; -out return IDL_OUT; -oneway return IDL_ONEWAY; - -\<\< return IDL_LEFT_SHIFT; -\>\> return IDL_RIGHT_SHIFT; -\:\: { - yylval.strval = (char *) "::"; - return IDL_SCOPE_DELIMITOR; - } - -[a-ij-rs-zA-IJ-RS-Z][a-ij-rs-zA-IJ-RS-Z0-9_]* { - // Make sure that this identifier is not a C++ keyword. If it is, - // prepend it with a _cxx_. Lookup in the perfect hash table for C++ - // keyword and grab the mapping. BTW, the reason for the odd - // regular expression is to handle EBCDIC, as well as ASCII. - - TAO_IDL_CPP_Keyword_Table cpp_key_tbl; - const TAO_IDL_CPP_Keyword_Entry *entry = - cpp_key_tbl.lookup (ace_yytext, - ACE_OS::strlen (ace_yytext)); - if (entry) - yylval.strval = ACE_OS::strdup (entry->mapping_); - else - yylval.strval = ACE_OS::strdup (ace_yytext); - - return IDENTIFIER; -} - -"-"?(([0-9]+"."[0-9]*)|("."[0-9]+))([eE][+-]?[0-9]+)?[lLfF]? { - yylval.dval = idl_atof(ace_yytext); - return IDL_FLOATING_PT_LITERAL; - } -"-"?[0-9]+[eE][+-]?[0-9]+[lLfF]? { - yylval.dval = idl_atof(ace_yytext); - return IDL_FLOATING_PT_LITERAL; - } - -"-"[1-9][0-9]* { - yylval.ival = idl_atoi(ace_yytext, 10); - return IDL_INTEGER_LITERAL; - } -[1-9][0-9]* { - yylval.uival = idl_atoui(ace_yytext, 10); - return IDL_UINTEGER_LITERAL; - } -"-"0[xX][a-fA-F0-9]+ { - yylval.ival = idl_atoi(ace_yytext, 16); - return IDL_INTEGER_LITERAL; - } -0[xX][a-fA-F0-9]+ { - yylval.uival = idl_atoui(ace_yytext, 16); - return IDL_UINTEGER_LITERAL; - } -"-"0[0-7]* { - yylval.ival = idl_atoi(ace_yytext, 8); - return IDL_INTEGER_LITERAL; - } -0[0-7]* { - yylval.uival = idl_atoui(ace_yytext, 8); - return IDL_UINTEGER_LITERAL; - } - -\"([^\\\"]*|\\[ntvbrfa\\\?\'\"])*\" { - /* Skip the quotes */ - char *tmp = ace_yytext; - tmp[strlen(tmp)-1] = '\0'; - yylval.sval = new UTL_String(tmp + 1); - return IDL_STRING_LITERAL; - } -"'"."'" { - yylval.cval = ace_yytext [1]; - return IDL_CHARACTER_LITERAL; - } -"'"\\([0-7]{1,3})"'" { - // octal character constant - yylval.cval = idl_escape_reader(ace_yytext + 1); - return IDL_CHARACTER_LITERAL; - } -"'"\\[xX]([0-9a-fA-F]{1,2})"'" { - // hexadecimal character constant - yylval.cval = idl_escape_reader(ace_yytext + 1); - return IDL_CHARACTER_LITERAL; - } -"'"\\."'" { - yylval.cval = idl_escape_reader(ace_yytext + 1); - return IDL_CHARACTER_LITERAL; - } -^#[ \t]*pragma[ \t].*{NL} | -^\?\?=[ \t]*pragma[ \t].*{NL} {/* remember pragma */ - idl_global->set_lineno(idl_global->lineno() + 1); - idl_store_pragma(ace_yytext); - } -^#[ \t]*[0-9]*" ""\""[^\"]*"\""" "[0-9]*{NL} | -^\?\?=[ \t]*[0-9]*" ""\""[^\"]*"\""" "[0-9]*{NL} { - idl_parse_line_and_file(ace_yytext); - } -^#[ \t]*[0-9]*" ""\""[^\"]*"\""{NL} | -^\?\?=[ \t]*[0-9]*" ""\""[^\"]*"\""{NL} { - idl_parse_line_and_file(ace_yytext); - } -^#line[ \t]*[0-9]+[ \t]*("\""[^\"]*"\"")?{NL} | -^\?\?=line[ \t]*[0-9]*" ""\""[^\"]*"\""{NL} { - idl_parse_line_and_file(ace_yytext); - } -^#[ \t]*[0-9]*{NL} | -^\?\?=[ \t]*[0-9]*{NL} { - idl_parse_line_and_file(ace_yytext); - } -^#[ \t]*ident.*{NL} | -^\?\?=[ \t]*ident.*{NL} { - /* ignore cpp ident */ - idl_global->set_lineno(idl_global->lineno() + 1); - } -\/\/.*{NL} { - /* ignore comments */ - idl_global->set_lineno(idl_global->lineno() + 1); - } -"/*" { - for(;;) { - char c = yyinput(); - if (c == '*') { - char next = yyinput(); - if (next == '/') - break; - else - yyunput(c, NULL); - if (c == '\n') - idl_global->set_lineno(idl_global->lineno() + 1); - } - } - } -[ \t]* ; -{NL} { - idl_global->set_lineno(idl_global->lineno() + 1); - } -. return ace_yytext [0]; - -%% - /* subroutines */ - -/* - * Strip down a name to the last component, i.e. everything after the last - * '/' character - */ -static char * -stripped_name(UTL_String *fn) -{ - char *n = fn->get_string(); - long l; - - if (n == NULL) - return NULL; - l = strlen(n); - for (n += l; l > 0 && *n != '/'; l--, n--); - if (*n == '/') n++; - return n; -} - -/* - * Parse a #line statement generated by the C preprocessor - */ -static void -idl_parse_line_and_file(char *buf) -{ - char *r = buf; - char *h; - UTL_String *nm; - - /* Skip initial '#' */ - if (*r != '#') - return; - else - r++; - - /* Check to see if we're running under the screwy Microsoft scheme */ - /* of putting #line num instead of #num. */ - - if (ACE_OS::strncmp (r, "line", 4) == 0) - r += 5; - - /* Find line number */ - while (*r == ' ' || *r == '\t') - r++; - h = r; - for (; *r != '\0' && *r != ' ' && *r != '\t'; r++) - continue; - *r++ = 0; - idl_global->set_lineno(idl_atoui(h, 10)); - - /* Find file name, if present */ - for (; *r != '"'; r++) - if (*r == '\n' || *r == '\0') - return; - - h = ++r; - for (; *r != '"'; r++) - continue; - *r = 0; - if (*h == '\0') - idl_global->set_filename(new UTL_String("standard input")); - else - { - long i; - long j; - - // Put Microsoft-style pathnames into a canonical form. - for (i = 0, j = 0; h[j] != '\0'; i++, j++) - { - if (h[j] == '\\' && h[j + 1] == '\\') - j++; - - h[i] = h[j]; - } - h[i] = '\0'; - idl_global->set_filename(new UTL_String(h)); - } - int in_main_file = I_FALSE; - if (idl_global->filename()->compare(idl_global->real_filename()) - || idl_global->filename()->compare(idl_global->main_filename())) - in_main_file = I_TRUE; - idl_global->set_in_main_file(in_main_file); - /* - * If it's an import file store the stripped name for the BE to use - */ - if (!(idl_global->in_main_file()) && idl_global->import()) { - nm = new UTL_String(stripped_name(idl_global->filename())); - idl_global->store_include_file_name(nm); - } -} - -/* - * Store a #pragma line into the list of pragmas - */ -static void -idl_store_pragma(char *buf) -{ - char *sp = buf + 1; - // Remove all the blanks between the '#' and the 'pragma' - if (*sp != 'p') - { - while (*sp != 'p') - ++sp; - char *tp = buf + 1; - while (*sp != '\n') - { - *tp = *sp; - ++tp; ++sp; - } - } - - if (ACE_OS::strstr(buf + 8, "import") != 0) { - idl_global->set_import(I_TRUE); - return; - } - if (ACE_OS::strstr(buf + 8, "include") != 0) { - idl_global->set_import(I_FALSE); - return; - } - // Remove the final '\n' - while (*sp != '\n') - ++sp; - *sp = '\0'; - UTL_StrList *p = idl_global->pragmas(); - if (p == NULL) - idl_global->set_pragmas(new UTL_StrList(new UTL_String(buf), NULL)); - else { - p->nconc(new UTL_StrList(new UTL_String(buf), NULL)); - idl_global->set_pragmas(p); - } -} - -/* - * idl_atoi - Convert a string of digits into a negative integer according to base b - */ -static long -idl_atoi(char *s, long b) -{ - long r = 0; - s++; - - if (b == 8 && *s == '0') - s++; - else if (b == 16 && *s == '0' && (*(s + 1) == 'x' || *(s + 1) == 'X')) - s += 2; - - for (; *s; s++) - if (*s <= '9' && *s >= '0') - r = (r * b) + (*s - '0'); - else if (b > 10 && *s <= 'f' && *s >= 'a') - r = (r * b) + (*s - 'a' + 10); - else if (b > 10 && *s <= 'F' && *s >= 'A') - r = (r * b) + (*s - 'A' + 10); - else - break; - - return -r; -} - -/* - * idl_atoui - Convert a string of digits into an unsigned integer according to base b - */ -static unsigned long -idl_atoui(char *s, long b) -{ - long r = 0; - - if (b == 8 && *s == '0') - s++; - else if (b == 16 && *s == '0' && (*(s + 1) == 'x' || *(s + 1) == 'X')) - s += 2; - - for (; *s; s++) - if (*s <= '9' && *s >= '0') - r = (r * b) + (*s - '0'); - else if (b > 10 && *s <= 'f' && *s >= 'a') - r = (r * b) + (*s - 'a' + 10); - else if (b > 10 && *s <= 'F' && *s >= 'A') - r = (r * b) + (*s - 'A' + 10); - else - break; - - return r; -} - -/* - * Convert a string to a float; atof doesn't seem to work, always. - */ -static double -idl_atof(char *s) -{ - char *h = s; - double d = 0.0; - double f = 0.0; - double e, k; - long neg = 0, negexp = 0; - - ACE_UNUSED_ARG (f); - ACE_UNUSED_ARG (h); - - if (*s == '-') { - neg = 1; - s++; - } - while (*s >= '0' && *s <= '9') { - d = (d * 10) + *s - '0'; - s++; - } - if (*s == '.') { - s++; - e = 10; - while (*s >= '0' && *s <= '9') { - d += (*s - '0') / (e * 1.0); - e *= 10; - s++; - } - } - if (*s == 'e' || *s == 'E') { - s++; - if (*s == '-') { - negexp = 1; - s++; - } else if (*s == '+') - s++; - e = 0; - while (*s >= '0' && *s <= '9') { - e = (e * 10) + *s - '0'; - s++; - } - if (e > 0) { - for (k = 1; e > 0; k *= 10, e--); - if (negexp) - d /= k; - else - d *= k; - } - } - - if (neg) d *= -1.0; - - return d; -} - -/* - * Convert (some) escaped characters into their ascii values - */ -static char -idl_escape_reader( - char *str -) -{ - if (str[0] != '\\') { - return str[0]; - } - - switch (str[1]) { - case 'n': - return '\n'; - case 't': - return '\t'; - case 'v': - return '\v'; - case 'b': - return '\b'; - case 'r': - return '\r'; - case 'f': - return '\f'; - case 'a': - return '\a'; - case '\\': - return '\\'; - case '\?': - return '?'; - case '\'': - return '\''; - case '"': - return '"'; - case 'x': - { - int i; - // hex value - for (i = 2; str[i] != '\0' && isxdigit(str[i]); i++) { - continue; - } - char save = str[i]; - str[i] = '\0'; - char out = (char)idl_atoui(&str[2], 16); - str[i] = save; - return out; - } - ACE_NOTREACHED (break;) - default: - // check for octal value - if (str[1] >= '0' && str[1] <= '7') { - int i; - for (i = 1; str[i] >= '0' && str[i] <= '7'; i++) { - continue; - } - char save = str[i]; - str[i] = '\0'; - char out = (char)idl_atoui(&str[1], 8); - str[i] = save; - return out; - } else { - return str[1] - 'a'; - } - ACE_NOTREACHED (break;) - } -} diff --git a/TAO/TAO_IDL/fe/idl.yy b/TAO/TAO_IDL/fe/idl.yy deleted file mode 100644 index e5075ae2f56..00000000000 --- a/TAO/TAO_IDL/fe/idl.yy +++ /dev/null @@ -1,2543 +0,0 @@ -/* $Id$ */ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -IDL_ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -IDL_ANY OBLIGATION ON THE PART OF Sun OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IDL_IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR IDL_ANY PATENTS BY -IDL_INTERFACE DEFINITION LANGUAGE CFE OR IDL_ANY PART THEREOF. - -IDL_IN NO EVENT WILL SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -IDL_ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * idl.yy - YACC grammar for IDL 1.1 - */ - -/* Declarations */ - -%{ -#include "idl.h" -#include "idl_extern.h" -#include "fe_private.h" -#include - -#if (defined(apollo) || defined(hpux)) && defined(__cplusplus) -extern "C" int yywrap(); -#endif // (defined(apollo) || defined(hpux)) && defined(__cplusplus) - -void yyerror (const char *); -int yylex (void); -extern "C" int yywrap (void); -extern char yytext[]; -extern int yyleng; -#define YYDEBUG_LEXER_TEXT (yytext[yyleng] = '\0', yytext) -// Force the pretty debugging code to compile. -#define YYDEBUG 1 -%} - -/* - * Declare the type of values in the grammar - */ - -%union { - AST_Decl *dcval; /* Decl value */ - UTL_StrList *slval; /* String list */ - UTL_NameList *nlval; /* Name list */ - UTL_ExprList *elval; /* Expression list */ - UTL_LabelList *llval; /* Label list */ - UTL_DeclList *dlval; /* Declaration list */ - FE_InterfaceHeader *ihval; /* Interface header */ - FE_obv_header *vhval; /* Valuetype header */ - AST_Expression *exval; /* Expression value */ - AST_UnionLabel *ulval; /* Union label */ - AST_Field *ffval; /* Field value */ - AST_Field::Visibility vival; /* N/A, pub or priv */ - AST_Expression::ExprType etval; /* Expression type */ - AST_Argument::Direction dival; /* Argument direction */ - AST_Operation::Flags ofval; /* Operation flags */ - FE_Declarator *deval; /* Declarator value */ - idl_bool bval; /* Boolean value */ - long ival; /* Long value */ - unsigned long uival; /* Unsigned long value */ - double dval; /* Double value */ - float fval; /* Float value */ - char cval; /* Char value */ - - UTL_String *sval; /* String value */ - char *strval; /* char * value */ - Identifier *idval; /* Identifier */ - UTL_IdList *idlist; /* Identifier list */ -} - -/* - * Token types: These are returned by the lexer - */ - -%token IDENTIFIER - -%token IDL_CONST -%token IDL_MODULE -%token IDL_INTERFACE -%token IDL_TYPEDEF -%token IDL_LONG -%token IDL_SHORT -%token IDL_UNSIGNED -%token IDL_DOUBLE -%token IDL_FLOAT -%token IDL_CHAR -%token IDL_WCHAR -%token IDL_OCTET -%token IDL_BOOLEAN -%token IDL_ANY -%token IDL_STRUCT -%token IDL_UNION -%token IDL_SWITCH -%token IDL_ENUM -%token IDL_SEQUENCE -%token IDL_STRING -%token IDL_WSTRING -%token IDL_EXCEPTION -%token IDL_CASE -%token IDL_DEFAULT -%token IDL_READONLY -%token IDL_ATTRIBUTE -%token IDL_ONEWAY -%token IDL_IDEMPOTENT -%token IDL_VOID -%token IDL_IN -%token IDL_OUT -%token IDL_INOUT -%token IDL_RAISES -%token IDL_CONTEXT -%token IDL_NATIVE - /* OBV tokens see OMG ptc/98-10-04 3.2.4 */ -%token IDL_ABSTRACT -%token IDL_CUSTOM -%token IDL_INIT -%token IDL_PRIVATE -%token IDL_PUBLIC -%token IDL_SUPPORTS -%token IDL_TRUNCATABLE -%token IDL_VALUETYPE - -%token IDL_INTEGER_LITERAL -%token IDL_UINTEGER_LITERAL -%token IDL_STRING_LITERAL -%token IDL_CHARACTER_LITERAL -%token IDL_FLOATING_PT_LITERAL -%token IDL_TRUETOK -%token IDL_FALSETOK - -%token IDL_SCOPE_DELIMITOR -%token IDL_LEFT_SHIFT -%token IDL_RIGHT_SHIFT - -/* - * These are production names: - */ - -%type type_spec simple_type_spec constructed_type_spec -%type template_type_spec sequence_type_spec string_type_spec -%type struct_type enum_type switch_type_spec union_type -%type array_declarator op_type_spec seq_head wstring_type_spec -%type param_type_spec - -%type scoped_name -%type opt_context at_least_one_string_literal -%type string_literals - -%type at_least_one_scoped_name scoped_names inheritance_spec -%type opt_raises supports_spec - -%type at_least_one_array_dim array_dims - -%type at_least_one_case_label case_labels - -%type at_least_one_declarator declarators -%type at_least_one_simple_declarator simple_declarators - -%type interface_header - -%type value_header - -%type expression const_expr or_expr xor_expr and_expr shift_expr -%type add_expr mult_expr unary_expr primary_expr literal -%type positive_int_expr array_dim - -%type case_label - -%type element_spec - -%type const_type integer_type char_type boolean_type -%type floating_pt_type any_type signed_int -%type unsigned_int base_type_spec octet_type - -%type direction - -%type opt_op_attribute - -%type declarator simple_declarator complex_declarator - -%type opt_readonly, opt_truncatable - -%type interface_decl value_decl id - -%type type_dcl -%% - -/* - * Production starts here - */ -start : definitions ; - -definitions - : definition definitions - | /* empty */ - ; - -definition - : type_dcl - { - idl_global->set_parse_state(IDL_GlobalData::PS_TypeDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | const_dcl - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | exception - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | interface_def - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | module - { - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | value_def - { - idl_global->set_parse_state(IDL_GlobalData::PS_ValuetypeDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | error - { - idl_global->err()->syntax_error(idl_global->parse_state()); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } - ; - -module : IDL_MODULE - { - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleSeen); - } - IDENTIFIER - { - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier($3, 1, 0, I_FALSE), NULL); - AST_Module *m = NULL; - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleIDSeen); - /* - * Make a new module and add it to the enclosing scope - */ - if (s != NULL) { - m = idl_global->gen()->create_module(n, p); - (void) s->fe_add_module(m); - } - /* - * Push it on the stack - */ - idl_global->scopes()->push(m); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleSqSeen); - } - definitions - { - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleQsSeen); - /* - * Finished with this module - pop it from the scope stack - */ - UTL_Scope* s = idl_global->scopes()->top(); - AST_Module* m = AST_Module::narrow_from_scope (s); - UTL_StrList *p = m->pragmas (); - if (p != 0) - p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } - ; - -interface_def - : interface - | forward - ; - -interface : - interface_header - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Interface *i = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - ACE_UNUSED_ARG (v); - - /* - * Make a new interface node and add it to its enclosing scope - */ - if (s != NULL && $1 != NULL) { - i = idl_global->gen()->create_interface($1->interface_name(), - $1->inherits(), - $1->n_inherits(), - p); - AST_Interface::fwd_redefinition_helper (i,s,p); - /* - * Add the interface to its definition scope - */ - (void) s->fe_add_interface(i); - } - /* - * Push it on the scope stack - */ - idl_global->scopes()->push(i); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSqSeen); - } - exports - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceQsSeen); - /* - * Done with this interface - pop it off the scopes stack - */ - UTL_Scope* s = idl_global->scopes()->top(); - AST_Interface* m = AST_Interface::narrow_from_scope (s); - UTL_StrList *p = m->pragmas (); - if (p != 0) - p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } - ; - -interface_decl: - IDL_INTERFACE - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceIDSeen); - $$ = $3; - } - ; - -interface_header : - interface_decl inheritance_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_InheritSpecSeen); - /* - * Create an AST representation of the information in the header - * part of an interface - this representation contains a computed - * list of all interfaces which this interface inherits from, - * recursively - */ - $$ = new FE_InterfaceHeader(new UTL_ScopedName($1, NULL), $2); - } - ; - -inheritance_spec - : ':' - { - idl_global->set_parse_state(IDL_GlobalData::PS_InheritColonSeen); - } - at_least_one_scoped_name - { - $$ = $3; - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -value_def - : valuetype - | value_abs_decl - | value_forward_decl - | value_box_decl - ; - -valuetype - : IDL_CUSTOM value_concrete_decl - { - cerr << "error in " << idl_global->filename()->get_string() - << " line " << idl_global->lineno() << ":\n" ; - cerr << "Sorry, I (TAO_IDL) can't handle custom yet\n"; - /* set custom (if not truncatable) */ - } - | value_concrete_decl - ; - -value_concrete_decl : - value_header - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Interface *i = NULL; - UTL_StrList *p = idl_global->pragmas(); - - if (s != NULL && $1 != NULL) { - i = idl_global->gen()->create_valuetype($1->interface_name(), - $1->inherits(), - $1->n_inherits(), - p); - AST_Interface::fwd_redefinition_helper (i,s,p); - /* - * Add the valuetype to its definition scope - */ - (void) s->fe_add_interface(i); - } - /* - * Push it on the scope stack - */ - idl_global->scopes()->push(i); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSqSeen); - } - value_elements - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceQsSeen); - /* - * Done with this interface - pop it off the scopes stack - */ - UTL_Scope* s = idl_global->scopes()->top(); - AST_Interface* m = AST_Interface::narrow_from_scope (s); - UTL_StrList *p = m->pragmas (); - if (p != 0) p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } - ; - -value_abs_decl : - IDL_ABSTRACT - value_header - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Interface *i = NULL; - UTL_StrList *p = idl_global->pragmas(); - - if (s != NULL && $2 != NULL) { - - if ($2->n_concrete() > 0) { - idl_global->err()->abstract_inheritance_error ($2->interface_name ()); - } - - i = idl_global->gen()->create_valuetype($2->interface_name(), - $2->inherits(), - $2->n_inherits(), - p); - i->set_abstract_valuetype (); - AST_Interface::fwd_redefinition_helper (i,s,p); - /* - * Add the valuetype to its definition scope - */ - (void) s->fe_add_interface(i); - } - /* - * Push it on the scope stack - */ - idl_global->scopes()->push(i); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSqSeen); - } - exports - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceQsSeen); - /* - * Done with this interface - pop it off the scopes stack - */ - UTL_Scope* s = idl_global->scopes()->top(); - AST_Interface* m = AST_Interface::narrow_from_scope (s); - UTL_StrList *p = m->pragmas (); - if (p != 0) p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } - - ; - -value_header : - value_decl - opt_truncatable - inheritance_spec - supports_spec - { - $$ = new FE_obv_header (new UTL_ScopedName ($1, NULL), $3, $4); - } - ; - -value_decl - : IDL_VALUETYPE - { - idl_global->set_parse_state(IDL_GlobalData::PS_ValuetypeSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_ValuetypeIDSeen); - $$ = $3; - } - ; - -opt_truncatable : - IDL_TRUNCATABLE - { - cerr << "warning in " << idl_global->filename()->get_string() - << " line " << idl_global->lineno() << ":\n" ; - cerr << "truncatable modifier not supported and is ignored\n"; - $$ = I_FALSE; - /* $$ = I_TRUE; */ - } - | /* EMPTY */ - { - $$ = I_FALSE; - } - ; - -supports_spec : - IDL_SUPPORTS - scoped_name - { - $$ = new UTL_NameList($2, NULL); - } - | /* empty */ - { - $$ = NULL; - } - ; - -value_forward_decl : - IDL_ABSTRACT - value_decl - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($2, NULL); - AST_InterfaceFwd *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ForwardDeclSeen); - /* - * Create a node representing a forward declaration of an - * valuetype. Store it in the enclosing scope - */ - if (s != NULL) { - f = idl_global->gen()->create_valuetype_fwd(n, p); - // if ($1) - f->set_abstract_valuetype (); - (void) s->fe_add_interface_fwd(f); - } - } - | - value_decl - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($1, NULL); - AST_InterfaceFwd *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ForwardDeclSeen); - /* - * Create a node representing a forward declaration of an - * valuetype. Store it in the enclosing scope - */ - if (s != NULL) { - f = idl_global->gen()->create_valuetype_fwd(n, p); - (void) s->fe_add_interface_fwd(f); - } - } - ; - - -value_box_decl - : value_decl type_spec /* in this order %!?*/ - { - cerr << "error in " << idl_global->filename()->get_string() - << " line " << idl_global->lineno() << ":\n" ; - cerr << "Sorry, I (TAO_IDL) can't handle boxes yet\n"; - } - ; - -value_elements - : value_elements value_element - | /* EMPTY */ - ; - -value_element - : state_member - | export - | init_decl - ; - -state_member - : IDL_PUBLIC - { - /* is $0 to member_i */ - $$ = AST_Field::vis_PUBLIC; - } - member_i - | IDL_PRIVATE - { - /* is $0 to member_i */ - $$ = AST_Field::vis_PRIVATE; - } - member_i - ; - -exports - : exports export - | /* EMPTY */ - ; - -export - : type_dcl - { - idl_global->set_parse_state(IDL_GlobalData::PS_TypeDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | const_dcl - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | exception - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | attribute - { - idl_global->set_parse_state(IDL_GlobalData::PS_AttrDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | operation - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | error - { - idl_global->err()->syntax_error(idl_global->parse_state()); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } - ; - -at_least_one_scoped_name : - scoped_name scoped_names - { - $$ = new UTL_NameList($1, $2); - } - ; - -scoped_names - : scoped_names - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SNListCommaSeen); - } - scoped_name - { - idl_global->set_parse_state(IDL_GlobalData::PS_ScopedNameSeen); - - if ($1 == NULL) - $$ = new UTL_NameList($4, NULL); - else { - $1->nconc(new UTL_NameList($4, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -scoped_name - : id - { - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - $$ = new UTL_IdList($1, NULL); - } - | IDL_SCOPE_DELIMITOR - { - idl_global->set_parse_state(IDL_GlobalData::PS_ScopeDelimSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - $$ = new UTL_IdList(new Identifier($1, 1, 0, I_FALSE), - new UTL_IdList($3, NULL)); - } - | scoped_name - IDL_SCOPE_DELIMITOR - { - idl_global->set_parse_state(IDL_GlobalData::PS_ScopeDelimSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - $1->nconc(new UTL_IdList($4, NULL)); - $$ = $1; - } - ; - -id: IDENTIFIER - { - $$ = new Identifier($1, 1, 0, I_FALSE); - } - ; - -forward : - interface_decl - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($1, NULL); - AST_InterfaceFwd *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ForwardDeclSeen); - /* - * Create a node representing a forward declaration of an - * interface. Store it in the enclosing scope - */ - if (s != NULL) { - f = idl_global->gen()->create_interface_fwd(n, p); - (void) s->fe_add_interface_fwd(f); - } - } - ; - -const_dcl : - IDL_CONST - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstSeen); - } - const_type - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstTypeSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstIDSeen); - } - '=' - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstAssignSeen); - } - expression - { - UTL_ScopedName *n = new UTL_ScopedName($5, NULL); - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Constant *c = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_ConstExprSeen); - /* - * Create a node representing a constant declaration. Store - * it in the enclosing scope - */ - if ($9 != NULL && s != NULL) { - if ($9->coerce($3) == NULL) - idl_global->err()->coercion_error($9, $3); - else { - c = - idl_global->gen()->create_constant($3, $9, n, p); - (void) s->fe_add_constant(c); - } - } - } - ; - -const_type - : integer_type - | char_type - | octet_type - | boolean_type - | floating_pt_type - | string_type_spec - { - $$ = AST_Expression::EV_string; - } - | wstring_type_spec - { - $$ = AST_Expression::EV_wstring; - } - | scoped_name - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - AST_PredefinedType *c = NULL; - AST_Typedef *t = NULL; - - /* - * If the constant's type is a scoped name, it must resolve - * to a scalar constant type - */ - if (s != NULL && (d = s->lookup_by_name($1, I_TRUE)) != NULL) { - /* - * Look through typedefs - */ - while (d->node_type() == AST_Decl::NT_typedef) { - t = AST_Typedef::narrow_from_decl(d); - if (t == NULL) - break; - d = t->base_type(); - } - if (d == NULL) - $$ = AST_Expression::EV_any; - else if (d->node_type() == AST_Decl::NT_pre_defined) { - c = AST_PredefinedType::narrow_from_decl(d); - if (c != NULL) { - $$ = idl_global->PredefinedTypeToExprType(c->pt()); - } else { - $$ = AST_Expression::EV_any; - } - } else if (d->node_type () == AST_Decl::NT_string) { - $$ = AST_Expression::EV_string; - /* @ASG@ we will need a similar one for wstring after it - is implemented */ - } else - $$ = AST_Expression::EV_any; - } else - $$ = AST_Expression::EV_any; - } - ; - -expression : const_expr ; - -const_expr : or_expr ; - -or_expr : xor_expr - | or_expr '|' xor_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_or, $1, $3); - } - ; - -xor_expr - : and_expr - | xor_expr '^' and_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_xor, $1, $3); - } - ; - -and_expr - : shift_expr - | and_expr '&' shift_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_and, $1, $3); - } - ; - -shift_expr - : add_expr - | shift_expr IDL_LEFT_SHIFT add_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_right,$1,$3); - } - | shift_expr IDL_RIGHT_SHIFT add_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_left,$1,$3); - } - ; - -add_expr - : mult_expr - | add_expr '+' mult_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_add, $1, $3); - } - | add_expr '-' mult_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_minus,$1,$3); - } - ; - -mult_expr - : unary_expr - | mult_expr '*' unary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_mul, $1, $3); - } - | mult_expr '/' unary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_div, $1, $3); - } - | mult_expr '%' unary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_mod, $1, $3); - } - ; - -unary_expr - : primary_expr - | '+' primary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_u_plus, - $2, - NULL); - } - | '-' primary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_u_minus, - $2, - NULL); - } - | '~' primary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_bit_neg, - $2, - NULL); - } - ; - -primary_expr - : scoped_name - { - /* - * An expression which is a scoped name is not resolved now, - * but only when it is evaluated (such as when it is assigned - * as a constant value) - */ - $$ = idl_global->gen()->create_expr($1); - } - | literal - | '(' const_expr ')' - { - $$ = $2; - } - ; - -literal - : IDL_INTEGER_LITERAL - { - $$ = idl_global->gen()->create_expr($1); - } - | IDL_UINTEGER_LITERAL - { - $$ = idl_global->gen()->create_expr($1); - } - | IDL_STRING_LITERAL - { - $$ = idl_global->gen()->create_expr($1); - } - | IDL_CHARACTER_LITERAL - { - $$ = idl_global->gen()->create_expr($1); - } - | IDL_FLOATING_PT_LITERAL - { - $$ = idl_global->gen()->create_expr($1); - } - | IDL_TRUETOK - { - $$ = idl_global->gen()->create_expr((idl_bool) I_TRUE, - AST_Expression::EV_bool); - } - | IDL_FALSETOK - { - $$ = idl_global->gen()->create_expr((idl_bool) I_FALSE, - AST_Expression::EV_bool); - } - ; - -positive_int_expr : - const_expr - { - $1->evaluate(AST_Expression::EK_const); - $$ = idl_global->gen()->create_expr($1, AST_Expression::EV_ulong); - } - ; - -type_dcl - : IDL_TYPEDEF - { - idl_global->set_parse_state(IDL_GlobalData::PS_TypedefSeen); - } - type_declarator {$$ = 0;} - | struct_type { $$ = 0;} - | union_type { $$ = 0;} - | enum_type { $$ = 0;} - | IDL_NATIVE simple_declarator - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Native *node = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_NativeSeen); - /* - * Create a node representing a Native and add it to its - * enclosing scope - */ - if (s != NULL) { - node = idl_global->gen()->create_native ($2->name (), p); - /* - * Add it to its defining scope - */ - (void) s->fe_add_native (node); - } - } - ; - -type_declarator : - type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_TypeSpecSeen); - } - at_least_one_declarator - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l; - FE_Declarator *d = NULL; - AST_Typedef *t = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_DeclaratorsSeen); - /* - * Create a list of type renamings. Add them to the - * enclosing scope - */ - if (s != NULL && $1 != NULL && $3 != NULL) { - l = new UTL_DecllistActiveIterator($3); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type * tp = d->compose($1); - if (tp == NULL) - continue; - t = idl_global->gen()->create_typedef(tp, d->name(), p); - (void) s->fe_add_typedef(t); - } - delete l; - } - } - ; - -type_spec - : simple_type_spec - | constructed_type_spec - ; - -simple_type_spec - : base_type_spec - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | template_type_spec - | scoped_name - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - - if (s != NULL) - d = s->lookup_by_name($1, I_TRUE); - if (d == NULL) - idl_global->err()->lookup_error($1); - $$ = d; - } - ; - -base_type_spec - : integer_type - | floating_pt_type - | char_type - | boolean_type - | octet_type - | any_type - ; - -template_type_spec - : sequence_type_spec - | string_type_spec - | wstring_type_spec - ; - -constructed_type_spec - : struct_type - | union_type - | enum_type - ; - -at_least_one_declarator : - declarator declarators - { - $$ = new UTL_DeclList($1, $2); - } - ; - -declarators - : declarators - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsCommaSeen); - } - declarator - { - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsDeclSeen); - - if ($1 == NULL) - $$ = new UTL_DeclList($4, NULL); - else { - $1->nconc(new UTL_DeclList($4, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -declarator - : simple_declarator - | complex_declarator - ; - -at_least_one_simple_declarator : - simple_declarator simple_declarators - { - $$ = new UTL_DeclList($1, $2); - } - ; - -simple_declarators - : simple_declarators - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsCommaSeen); - } - simple_declarator - { - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsDeclSeen); - - if ($1 == NULL) - $$ = new UTL_DeclList($4, NULL); - else { - $1->nconc(new UTL_DeclList($4, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -simple_declarator : - id - { - $$ = new FE_Declarator(new UTL_ScopedName($1, NULL), - FE_Declarator::FD_simple, NULL); - } - ; - -complex_declarator : - array_declarator - { - $$ = new FE_Declarator(new UTL_ScopedName($1->local_name(), NULL), - FE_Declarator::FD_complex, - $1); - } - ; - -integer_type - : signed_int - | unsigned_int - ; - -signed_int - : IDL_LONG - { - $$ = AST_Expression::EV_long; - } - | IDL_LONG IDL_LONG - { - $$ = AST_Expression::EV_longlong; - } - | IDL_SHORT - { - $$ = AST_Expression::EV_short; - } - ; - -unsigned_int - : IDL_UNSIGNED IDL_LONG - { - $$ = AST_Expression::EV_ulong; - } - | IDL_UNSIGNED IDL_LONG IDL_LONG - { - $$ = AST_Expression::EV_ulonglong; - } - | IDL_UNSIGNED IDL_SHORT - { - $$ = AST_Expression::EV_ushort; - } - ; - -floating_pt_type - : IDL_DOUBLE - { - $$ = AST_Expression::EV_double; - } - | IDL_FLOAT - { - $$ = AST_Expression::EV_float; - } - | IDL_LONG IDL_DOUBLE - { - $$ = AST_Expression::EV_longdouble; - } - ; - -char_type - : IDL_CHAR - { - $$ = AST_Expression::EV_char; - } - | IDL_WCHAR - { - $$ = AST_Expression::EV_wchar; - } - ; - -octet_type - : IDL_OCTET - { - $$ = AST_Expression::EV_octet; - } - ; - -boolean_type - : IDL_BOOLEAN - { - $$ = AST_Expression::EV_bool; - } - ; - -any_type - : IDL_ANY - { - $$ = AST_Expression::EV_any; - } - ; - -struct_type : - IDL_STRUCT - { - idl_global->set_parse_state(IDL_GlobalData::PS_StructSeen); - } - id - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($3, NULL); - AST_Structure *d = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_StructIDSeen); - /* - * Create a node representing a struct declaration. Add it - * to the enclosing scope - */ - if (s != NULL) { - d = idl_global->gen()->create_structure(n, p); - (void) s->fe_add_structure(d); - } - /* - * Push the scope of the struct on the scopes stack - */ - idl_global->scopes()->push(d); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StructSqSeen); - } - at_least_one_member - { - idl_global->set_parse_state(IDL_GlobalData::PS_StructBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StructQsSeen); - /* - * Done with this struct. Pop its scope off the scopes stack - */ - $$ = - AST_Structure::narrow_from_scope( - idl_global->scopes()->top_non_null()); - UTL_StrList *p = $$->pragmas (); - if (p != 0) - p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } - ; - -at_least_one_member : member members ; - -members - : members member - | /* EMPTY */ - ; - -member : - { - /* is $0 to member_i */ - $$ = AST_Field::vis_NA; - } - member_i - ; - -member_i: - type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_MemberTypeSeen); - } - at_least_one_declarator - { - idl_global->set_parse_state(IDL_GlobalData::PS_MemberDeclsSeen); - } - ';' - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l = NULL; - FE_Declarator *d = NULL; - AST_Field *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_MemberDeclsCompleted); - /* - * Check for illegal recursive use of type - */ - if ($1 != NULL && AST_illegal_recursive_type($1)) - idl_global->err()->error1(UTL_Error::EIDL_RECURSIVE_TYPE, $1); - /* - * Create a node representing a struct or exception member - * Add it to the enclosing scope - */ - else if (s != NULL && $1 != NULL && $3 != NULL) { - l = new UTL_DecllistActiveIterator($3); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type *tp = d->compose($1); - if (tp == NULL) - continue; - /* $0 denotes Visibility, must be on yacc reduction stack */ - f = idl_global->gen()->create_field(tp, d->name(), p, $0); - (void) s->fe_add_field(f); - } - delete l; - } - } - | error - { - idl_global->err()->syntax_error(idl_global->parse_state()); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } - ; - -union_type : - IDL_UNION - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionIDSeen); - } - IDL_SWITCH - { - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchSeen); - } - '(' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchOpenParSeen); - } - switch_type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchTypeSeen); - } - ')' - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($3, NULL); - AST_Union *u = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchCloseParSeen); - /* - * Create a node representing a union. Add it to its enclosing - * scope - */ - if ($9 != NULL && s != NULL) { - AST_ConcreteType *tp = AST_ConcreteType::narrow_from_decl($9); - if (tp == NULL) { - idl_global->err()->not_a_type($9); - } else { - u = idl_global->gen()->create_union(tp, n, p); - (void) s->fe_add_union(u); - } - } - /* - * Push the scope of the union on the scopes stack - */ - idl_global->scopes()->push(u); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionSqSeen); - } - at_least_one_case_branch - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionQsSeen); - /* - * Done with this union. Pop its scope from the scopes stack - */ - $$ = - AST_Union::narrow_from_scope( - idl_global->scopes()->top_non_null()); - UTL_StrList *p = $$->pragmas (); - if (p != 0) - p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } - ; - -switch_type_spec : - integer_type - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | char_type - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | octet_type - { - // octets are not allowed - idl_global->err ()->error0 (UTL_Error::EIDL_DISC_TYPE); - } - | boolean_type - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | enum_type - | scoped_name - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - AST_PredefinedType *p = NULL; - AST_Typedef *t = NULL; - long found = I_FALSE; - - /* - * The discriminator is a scoped name. Try to resolve to - * one of the scalar types or to an enum. Thread through - * typedef's to arrive at the base type at the end of the - * chain - */ - if (s != NULL && (d = s->lookup_by_name($1, I_TRUE)) != NULL) { - while (!found) { - switch (d->node_type()) { - case AST_Decl::NT_enum: - $$ = d; - found = I_TRUE; - break; - case AST_Decl::NT_pre_defined: - p = AST_PredefinedType::narrow_from_decl(d); - if (p != NULL) { - switch (p->pt()) { - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_char: - case AST_PredefinedType::PT_wchar: - case AST_PredefinedType::PT_boolean: - $$ = p; - found = I_TRUE; - break; - case AST_PredefinedType::PT_octet: - // octets are not allowed - idl_global->err ()->error0 (UTL_Error::EIDL_DISC_TYPE); - $$ = NULL; - found = I_TRUE; - break; - default: - $$ = NULL; - found = I_TRUE; - break; - } - } else - { - $$ = NULL; - found = I_TRUE; - } - break; - case AST_Decl::NT_typedef: - t = AST_Typedef::narrow_from_decl(d); - if (t != NULL) d = t->base_type(); - break; - default: - $$ = NULL; - found = I_TRUE; - break; - } - } - } else - $$ = NULL; - - if ($$ == NULL) - idl_global->err()->lookup_error($1); - } - ; - -at_least_one_case_branch : case_branch case_branches ; - -case_branches - : case_branches case_branch - | /* empty */ - ; - -case_branch : - at_least_one_case_label - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionLabelSeen); - } - element_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemSeen); - } - ';' - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_LabellistActiveIterator *l = NULL; - AST_UnionLabel *d = NULL; - AST_UnionBranch *b = NULL; - AST_Field *f = $3; - - ACE_UNUSED_ARG (l); - ACE_UNUSED_ARG (d); - - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemCompleted); - /* - * Create several nodes representing branches of a union. - * Add them to the enclosing scope (the union scope) - */ - if (s != NULL && $1 != NULL && $3 != NULL) { - b = idl_global->gen()->create_union_branch($1, - f->field_type(), - f->name(), - f->pragmas()); - (void) s->fe_add_union_branch(b); - } - } - | error - { - idl_global->err()->syntax_error(idl_global->parse_state()); - } - ';' - - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } - ; - -at_least_one_case_label : - case_label case_labels - { - $$ = new UTL_LabelList($1, $2); - } - ; - -case_labels - : case_labels case_label - { - if ($1 == NULL) - $$ = new UTL_LabelList($2, NULL); - else { - $1->nconc(new UTL_LabelList($2, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -case_label - : IDL_DEFAULT - { - idl_global->set_parse_state(IDL_GlobalData::PS_DefaultSeen); - } - ':' - { - idl_global->set_parse_state(IDL_GlobalData::PS_LabelColonSeen); - - $$ = idl_global->gen()-> - create_union_label(AST_UnionLabel::UL_default, - NULL); - } - | IDL_CASE - { - idl_global->set_parse_state(IDL_GlobalData::PS_CaseSeen); - } - const_expr - { - idl_global->set_parse_state(IDL_GlobalData::PS_LabelExprSeen); - } - ':' - { - idl_global->set_parse_state(IDL_GlobalData::PS_LabelColonSeen); - - $$ = idl_global->gen()->create_union_label(AST_UnionLabel::UL_label, - $3); - } - ; - -element_spec : - type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemTypeSeen); - } - declarator - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemDeclSeen); - /* - * Check for illegal recursive use of type - */ - if ($1 != NULL && AST_illegal_recursive_type($1)) - idl_global->err()->error1(UTL_Error::EIDL_RECURSIVE_TYPE, $1); - /* - * Create a field in a union branch - */ - else if ($1 == NULL || $3 == NULL) - $$ = NULL; - else { - AST_Type *tp = $3->compose($1); - if (tp == NULL) - $$ = NULL; - else - $$ = idl_global->gen()->create_field(tp, - $3->name(), - idl_global->pragmas()); - } - } - ; - -enum_type : - IDL_ENUM - { - idl_global->set_parse_state(IDL_GlobalData::PS_EnumSeen); - } - id - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($3, NULL); - AST_Enum *e = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_EnumIDSeen); - /* - * Create a node representing an enum and add it to its - * enclosing scope - */ - if (s != NULL) { - e = idl_global->gen()->create_enum(n, p); - /* - * Add it to its defining scope - */ - (void) s->fe_add_enum(e); - } - /* - * Push the enum scope on the scopes stack - */ - idl_global->scopes()->push(e); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_EnumSqSeen); - } - at_least_one_enumerator - { - idl_global->set_parse_state(IDL_GlobalData::PS_EnumBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_EnumQsSeen); - /* - * Done with this enum. Pop its scope from the scopes stack - */ - if (idl_global->scopes()->top() == NULL) - $$ = NULL; - else { - $$ = AST_Enum::narrow_from_scope(idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } - ; - -at_least_one_enumerator : enumerator enumerators ; - -enumerators - : enumerators - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_EnumCommaSeen); - } - enumerator - | /* EMPTY */ - ; - -enumerator : - IDENTIFIER - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier($1, 1, 0, I_FALSE), NULL); - AST_EnumVal *e = NULL; - AST_Enum *c = NULL; - UTL_StrList *p = idl_global->pragmas(); - - /* - * Create a node representing one enumerator in an enum - * Add it to the enclosing scope (the enum scope) - */ - if (s != NULL && s->scope_node_type() == AST_Decl::NT_enum) { - c = AST_Enum::narrow_from_scope(s); - if (c != NULL) - e = idl_global->gen()->create_enum_val(c->next_enum_val(), n, p); - (void) s->fe_add_enum_val(e); - } - } - ; - -sequence_type_spec - : seq_head - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceCommaSeen); - } - positive_int_expr - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceExprSeen); - } - '>' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceQsSeen); - /* - * Remove sequence marker from scopes stack - */ - if (idl_global->scopes()->top() == NULL) - idl_global->scopes()->pop(); - /* - * Create a node representing a sequence - */ - if ($4 == NULL || $4->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error($4, AST_Expression::EV_ulong); - $$ = NULL; - } else if ($1 == NULL) { - $$ = NULL; - } else { - AST_Type *tp = AST_Type::narrow_from_decl($1); - if (tp == NULL) - $$ = NULL; - else { - $$ = idl_global->gen()->create_sequence($4, tp); - /* - * Add this AST_Sequence to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_sequence(AST_Sequence::narrow_from_decl($$)); - } - } - } - | seq_head - '>' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceQsSeen); - /* - * Remove sequence marker from scopes stack - */ - if (idl_global->scopes()->top() == NULL) - idl_global->scopes()->pop(); - /* - * Create a node representing a sequence - */ - if ($1 == NULL) - $$ = NULL; - else { - AST_Type *tp = AST_Type::narrow_from_decl($1); - if (tp == NULL) - $$ = NULL; - else { - $$ = - idl_global->gen()->create_sequence( - idl_global->gen()->create_expr((unsigned long) 0), - tp); - /* - * Add this AST_Sequence to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_sequence(AST_Sequence::narrow_from_decl($$)); - } - } - } - ; - -seq_head: - IDL_SEQUENCE - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceSeen); - /* - * Push a sequence marker on scopes stack - */ - idl_global->scopes()->push(NULL); - } - '<' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceSqSeen); - } - simple_type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceTypeSeen); - $$ = $5; - } - ; - -string_type_spec - : string_head - '<' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringSqSeen); - } - positive_int_expr - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringExprSeen); - } - '>' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringQsSeen); - /* - * Create a node representing a string - */ - if ($4 == NULL || $4->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error($4, AST_Expression::EV_ulong); - $$ = NULL; - } else { - $$ = idl_global->gen()->create_string($4); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl($$)); - } - } - | string_head - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringCompleted); - /* - * Create a node representing a string - */ - $$ = - idl_global->gen()->create_string( - idl_global->gen()->create_expr((unsigned long) 0)); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl($$)); - } - ; - -string_head: - IDL_STRING - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringSeen); - } - ; - -wstring_type_spec - : wstring_head - '<' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringSqSeen); - } - positive_int_expr - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringExprSeen); - } - '>' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringQsSeen); - /* - * Create a node representing a string - */ - if ($4 == NULL || $4->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error($4, AST_Expression::EV_ulong); - $$ = NULL; - } else { - $$ = idl_global->gen()->create_wstring($4); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl($$)); - } - } - | wstring_head - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringCompleted); - /* - * Create a node representing a string - */ - $$ = - idl_global->gen()->create_wstring( - idl_global->gen()->create_expr((unsigned long) 0)); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl($$)); - } - ; - -wstring_head: - IDL_WSTRING - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringSeen); - } - ; - -array_declarator : - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_ArrayIDSeen); - } - at_least_one_array_dim - { - idl_global->set_parse_state(IDL_GlobalData::PS_ArrayCompleted); - /* - * Create a node representing an array - */ - if ($3 != NULL) { - $$ = idl_global->gen()->create_array(new UTL_ScopedName($1, NULL), - $3->length(), $3); - } - } - ; - -at_least_one_array_dim : - array_dim array_dims - { - $$ = new UTL_ExprList($1, $2); - } - ; - -array_dims - : array_dims array_dim - { - if ($1 == NULL) - $$ = new UTL_ExprList($2, NULL); - else { - $1->nconc(new UTL_ExprList($2, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -array_dim : - '[' - { - idl_global->set_parse_state(IDL_GlobalData::PS_DimSqSeen); - } - positive_int_expr - { - idl_global->set_parse_state(IDL_GlobalData::PS_DimExprSeen); - } - ']' - { - idl_global->set_parse_state(IDL_GlobalData::PS_DimQsSeen); - /* - * Array dimensions are expressions which must be coerced to - * positive integers - */ - if ($3 == NULL || $3->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error($3, AST_Expression::EV_ulong); - $$ = NULL; - } else - $$ = $3; - } - ; - -attribute: - opt_readonly - IDL_ATTRIBUTE - { - idl_global->set_parse_state(IDL_GlobalData::PS_AttrSeen); - } - param_type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_AttrTypeSeen); - } - at_least_one_simple_declarator - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l = NULL; - AST_Attribute *a = NULL; - FE_Declarator *d = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_AttrCompleted); - /* - * Create nodes representing attributes and add them to the - * enclosing scope - */ - if (s != NULL && $4 != NULL && $6 != NULL) { - l = new UTL_DecllistActiveIterator($6); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type *tp = d->compose($4); - if (tp == NULL) - continue; - a = idl_global->gen()->create_attribute($1, tp, d->name(), p); - /* - * Add one attribute to the enclosing scope - */ - (void) s->fe_add_attribute(a); - } - delete l; - } - } - ; - -opt_readonly - : IDL_READONLY - { - idl_global->set_parse_state(IDL_GlobalData::PS_AttrROSeen); - $$ = I_TRUE; - } - | /* EMPTY */ - { - $$ = I_FALSE; - } - ; - -exception : - IDL_EXCEPTION - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptSeen); - } - id - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($3, NULL); - AST_Exception *e = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptIDSeen); - /* - * Create a node representing an exception and add it to - * the enclosing scope - */ - if (s != NULL) { - e = idl_global->gen()->create_exception(n, p); - (void) s->fe_add_exception(e); - } - /* - * Push the exception scope on the scope stack - */ - idl_global->scopes()->push(e); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptSqSeen); - } - members - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptQsSeen); - /* - * Done with this exception. Pop its scope from the scope stack - */ - idl_global->scopes()->pop(); - } - ; - -operation : - opt_op_attribute - op_type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpTypeSeen); - } - IDENTIFIER - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier($4, 1, 0, I_FALSE), NULL); - AST_Operation *o = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_OpIDSeen); - /* - * Create a node representing an operation on an interface - * and add it to its enclosing scope - */ - if (s != NULL && $2 != NULL) { - AST_Type *tp = AST_Type::narrow_from_decl($2); - if (tp == NULL) { - idl_global->err()->not_a_type($2); - } else if (tp->node_type() == AST_Decl::NT_except) { - idl_global->err()->not_a_type($2); - } else { - o = idl_global->gen()->create_operation(tp, $1, n, p); - (void) s->fe_add_operation(o); - } - } - /* - * Push the operation scope onto the scopes stack - */ - idl_global->scopes()->push(o); - } - parameter_list - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpParsCompleted); - } - opt_raises - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseCompleted); - } - opt_context - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Operation *o = NULL; - - idl_global->set_parse_state(IDL_GlobalData::PS_OpCompleted); - /* - * Add exceptions and context to the operation - */ - if (s != NULL && s->scope_node_type() == AST_Decl::NT_op) { - o = AST_Operation::narrow_from_scope(s); - - if ($8 != NULL && o != NULL) - (void) o->fe_add_exceptions($8); - if ($10 != NULL) - (void) o->fe_add_context($10); - } - /* - * Done with this operation. Pop its scope from the scopes stack - */ - idl_global->scopes()->pop(); - } - ; - -opt_op_attribute - : IDL_ONEWAY - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpAttrSeen); - $$ = AST_Operation::OP_oneway; - } - | IDL_IDEMPOTENT - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpAttrSeen); - $$ = AST_Operation::OP_idempotent; - } - | /* EMPTY */ - { - $$ = AST_Operation::OP_noflags; - } - ; - -op_type_spec - : param_type_spec - | IDL_VOID - { - $$ = - idl_global->scopes()->bottom() - ->lookup_primitive_type(AST_Expression::EV_void); - } - ; - -init_decl - : IDL_INIT - { - cerr << "error in " << idl_global->filename()->get_string() - << " line " << idl_global->lineno() << ":\n" ; - cerr << "Sorry, I (TAO_IDL) can't handle init yet\n"; - } - ; - - -parameter_list - : '(' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpSqSeen); - } - ')' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpQsSeen); - } - | '(' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpSqSeen); - } - at_least_one_parameter - ')' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpQsSeen); - } - ; - -at_least_one_parameter : parameter parameters ; - -parameters - : parameters - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpParCommaSeen); - } - parameter - | /* EMPTY */ - ; - -parameter : - direction - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpParDirSeen); - } - param_type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpParTypeSeen); - } - declarator - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Argument *a = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_OpParDeclSeen); - /* - * Create a node representing an argument to an operation - * Add it to the enclosing scope (the operation scope) - */ - if ($3 != NULL && $5 != NULL && s != NULL) { - AST_Type *tp = $5->compose($3); - if (tp != NULL) { - a = idl_global->gen()->create_argument($1, tp, $5->name(), p); - (void) s->fe_add_argument(a); - } - } - } - ; - -param_type_spec - : base_type_spec - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | string_type_spec - | scoped_name - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - - if (s != NULL) - d = s->lookup_by_name($1, I_TRUE); - if (d == NULL) - idl_global->err()->lookup_error($1); - $$ = d; - } - ; - -direction - : IDL_IN - { - $$ = AST_Argument::dir_IN; - } - | IDL_OUT - { - $$ = AST_Argument::dir_OUT; - } - | IDL_INOUT - { - $$ = AST_Argument::dir_INOUT; - } - ; - -opt_raises - : IDL_RAISES - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseSeen); - } - '(' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseSqSeen); - } - at_least_one_scoped_name - ')' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseQsSeen); - $$ = $5; - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -opt_context - : IDL_CONTEXT - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextSeen); - } - '(' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextSqSeen); - } - at_least_one_string_literal - ')' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextQsSeen); - $$ = $5; - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -at_least_one_string_literal : - IDL_STRING_LITERAL string_literals - { - $$ = new UTL_StrList($1, $2); - } - ; - -string_literals - : string_literals - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextCommaSeen); - } - IDL_STRING_LITERAL - { - if ($1 == NULL) - $$ = new UTL_StrList($4, NULL); - else { - $1->nconc(new UTL_StrList($4, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -%% -/* programs */ - -/* - * ??? - */ -int -yywrap() -{ - return 1; -} - -/* - * Report an error situation discovered in a production - * - * This does not do anything since we report all error situations through - * idl_global->err() operations - */ -void -yyerror(const char *) -{ -} diff --git a/TAO/TAO_IDL/fe/keywords.dat b/TAO/TAO_IDL/fe/keywords.dat deleted file mode 100644 index e9c3a8b3be8..00000000000 --- a/TAO/TAO_IDL/fe/keywords.dat +++ /dev/null @@ -1,76 +0,0 @@ -struct TAO_IDL_CPP_Keyword_Entry { const char *keyword_ ; const char *mapping_; }; -%% -and, "_cxx_and" -and_eq, "_cxx_and_eq" -asm, "_cxx_asm" -auto, "_cxx_auto" -bitand, "_cxx_bitand" -bitor, "_cxx_bitor" -bool, "_cxx_bool" -break, "_cxx_break" -case, "_cxx_case" -catch, "_cxx_catch" -char, "_cxx_char" -class, "_cxx_class" -compl, "_cxx_compl" -const, "_cxx_const" -const_cast, "_cxx_const_cast" -continue, "_cxx_continue" -default, "_cxx_default" -delete, "_cxx_delete" -do, "_cxx_do" -double, "_cxx_double" -dynamic_cast, "_cxx_dynamic_cast" -else, "_cxx_else" -enum, "_cxx_enum" -explicit, "_cxx_explicit" -export, "_cxx_export" -extern, "_cxx_extern" -false, "_cxx_false" -float, "_cxx_float" -for, "_cxx_for" -friend, "_cxx_friend" -goto, "_cxx_goto" -if, "_cxx_if" -inline, "_cxx_inline" -int, "_cxx_int" -long, "_cxx_long" -mutable, "_cxx_mutable" -namespace, "_cxx_namespace" -new, "_cxx_new" -not, "_cxx_not" -not_eq, "_cxx_not_eq" -operator, "_cxx_operator" -or, "_cxx_or" -or_eq, "_cxx_or_eq" -private, "_cxx_private" -protected, "_cxx_protected" -public, "_cxx_public" -register, "_cxx_register" -reinterpret_cast, "_cxx_reinterpret_cast" -return, "_cxx_return" -short, "_cxx_short" -signed, "_cxx_signed" -sizeof, "_cxx_sizeof" -static, "_cxx_static" -static_cast, "_cxx_static_cast" -struct, "_cxx_struct" -switch, "_cxx_switch" -template, "_cxx_template" -this, "_cxx_this" -throw, "_cxx_throw" -true, "_cxx_true" -try, "_cxx_try" -typedef, "_cxx_typedef" -typeid, "_cxx_typeid" -typename, "_cxx_typename" -union, "_cxx_union" -unsigned, "_cxx_unsigned" -using, "_cxx_using" -virtual, "_cxx_virtual" -void, "_cxx_void" -volatile, "_cxx_volatile" -wchar_t, "_cxx_wchar_t" -while, "_cxx_while" -xor, "_cxx_xor" -xor_eq, "_cxx_xor_eq" diff --git a/TAO/TAO_IDL/fe/lex.yy.cpp b/TAO/TAO_IDL/fe/lex.yy.cpp deleted file mode 100644 index 1906aa25f28..00000000000 --- a/TAO/TAO_IDL/fe/lex.yy.cpp +++ /dev/null @@ -1,2702 +0,0 @@ -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Id$ - */ - -#define FLEX_SCANNER -#define TAO_YY_FLEX_MAJOR_VERSION 2 -#define TAO_YY_FLEX_MINOR_VERSION 5 - - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include "ace/OS.h" - -/* Use prototypes in function declarations. */ -#define TAO_YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define TAO_YY_USE_CONST - -#else /* ! __cplusplus */ - -#if __STDC__ - -#define TAO_YY_USE_PROTOS -#define TAO_YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#define TAO_YY_USE_CONST -#define TAO_YY_USE_PROTOS -#endif - -#ifdef TAO_YY_USE_CONST -#define tao_yyconst const -#else -#define tao_yyconst -#endif - - -#ifdef TAO_YY_USE_PROTOS -#define TAO_YY_PROTO(proto) proto -#else -#define TAO_YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define TAO_YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define TAO_YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN tao_yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The TAO_YYSTATE alias is for lex - * compatibility. - */ -#define TAO_YY_START ((tao_yy_start - 1) / 2) -#define TAO_YYSTATE TAO_YY_START - -/* Action number for EOF rule of a given start state. */ -#define TAO_YY_STATE_EOF(state) (TAO_YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define TAO_YY_NEW_FILE tao_yyrestart( tao_yyin ) - -#define TAO_YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define TAO_YY_BUF_SIZE 16384 - -typedef struct tao_yy_buffer_state *TAO_YY_BUFFER_STATE; - -extern int tao_yyleng; -extern FILE *tao_yyin, *tao_yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * tao_yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the tao_yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define tao_yyless(n) \ - do \ - { \ - /* Undo effects of setting up tao_yytext. */ \ - *tao_yy_cp = tao_yy_hold_char; \ - TAO_YY_RESTORE_TAO_YY_MORE_OFFSET \ - tao_yy_c_buf_p = tao_yy_cp = tao_yy_bp + n - TAO_YY_MORE_ADJ; \ - TAO_YY_DO_BEFORE_ACTION; /* set up tao_yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) tao_yyunput( c, tao_yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int tao_yy_size_t; - - -struct tao_yy_buffer_state - { - FILE *tao_yy_input_file; - - char *tao_yy_ch_buf; /* input buffer */ - char *tao_yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - tao_yy_size_t tao_yy_buf_size; - - /* Number of characters read into tao_yy_ch_buf, not including EOB - * characters. - */ - int tao_yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int tao_yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int tao_yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int tao_yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int tao_yy_fill_buffer; - - int tao_yy_buffer_status; -#define TAO_YY_BUFFER_NEW 0 -#define TAO_YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as TAO_YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via tao_yyrestart()), so that the user can continue scanning by - * just pointing tao_yyin at a new input file. - */ -#define TAO_YY_BUFFER_EOF_PENDING 2 - }; - -static TAO_YY_BUFFER_STATE tao_yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define TAO_YY_CURRENT_BUFFER tao_yy_current_buffer - - -/* tao_yy_hold_char holds the character lost when tao_yytext is formed. */ -static char tao_yy_hold_char; - -static int tao_yy_n_chars; /* number of characters read into tao_yy_ch_buf */ - - -int tao_yyleng; - -/* Points to current character in buffer. */ -static char *tao_yy_c_buf_p = (char *) 0; -static int tao_yy_init = 1; /* whether we need to initialize */ -static int tao_yy_start = 0; /* start state number */ - -/* Flag which is used to allow tao_yywrap()'s to do buffer switches - * instead of setting up a fresh tao_yyin. A bit of a hack ... - */ -static int tao_yy_did_buffer_switch_on_eof; - -void tao_yyrestart TAO_YY_PROTO(( FILE *input_file )); - -void tao_yy_switch_to_buffer TAO_YY_PROTO(( TAO_YY_BUFFER_STATE new_buffer )); -void tao_yy_load_buffer_state TAO_YY_PROTO(( void )); -TAO_YY_BUFFER_STATE tao_yy_create_buffer TAO_YY_PROTO(( FILE *file, int size )); -void tao_yy_delete_buffer TAO_YY_PROTO(( TAO_YY_BUFFER_STATE b )); -void tao_yy_init_buffer TAO_YY_PROTO(( TAO_YY_BUFFER_STATE b, FILE *file )); -void tao_yy_flush_buffer TAO_YY_PROTO(( TAO_YY_BUFFER_STATE b )); -#define TAO_YY_FLUSH_BUFFER tao_yy_flush_buffer( tao_yy_current_buffer ) - -TAO_YY_BUFFER_STATE tao_yy_scan_buffer TAO_YY_PROTO(( char *base, tao_yy_size_t size )); -TAO_YY_BUFFER_STATE tao_yy_scan_string TAO_YY_PROTO(( tao_yyconst char *tao_yy_str )); -TAO_YY_BUFFER_STATE tao_yy_scan_bytes TAO_YY_PROTO(( tao_yyconst char *bytes, int len )); - -static void *tao_yy_flex_alloc TAO_YY_PROTO(( tao_yy_size_t )); -static void *tao_yy_flex_realloc TAO_YY_PROTO(( void *, tao_yy_size_t )); -static void tao_yy_flex_free TAO_YY_PROTO(( void * )); - -#define tao_yy_new_buffer tao_yy_create_buffer - -#define tao_yy_set_interactive(is_interactive) \ - { \ - if ( ! tao_yy_current_buffer ) \ - tao_yy_current_buffer = tao_yy_create_buffer( tao_yyin, TAO_YY_BUF_SIZE ); \ - tao_yy_current_buffer->tao_yy_is_interactive = is_interactive; \ - } - -#define tao_yy_set_bol(at_bol) \ - { \ - if ( ! tao_yy_current_buffer ) \ - tao_yy_current_buffer = tao_yy_create_buffer( tao_yyin, TAO_YY_BUF_SIZE ); \ - tao_yy_current_buffer->tao_yy_at_bol = at_bol; \ - } - -#define TAO_YY_AT_BOL() (tao_yy_current_buffer->tao_yy_at_bol) - -typedef unsigned char TAO_YY_CHAR; -FILE *tao_yyin = (FILE *) 0, *tao_yyout = (FILE *) 0; -typedef int tao_yy_state_type; -extern char tao_yytext[]; - - -static tao_yy_state_type tao_yy_get_previous_state TAO_YY_PROTO(( void )); -static tao_yy_state_type tao_yy_try_NUL_trans TAO_YY_PROTO(( tao_yy_state_type current_state )); -static int tao_yy_get_next_buffer TAO_YY_PROTO(( void )); -static void tao_yy_fatal_error TAO_YY_PROTO(( tao_yyconst char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up tao_yytext. - */ -#define TAO_YY_DO_BEFORE_ACTION \ - tao_yytext_ptr = tao_yy_bp; \ - tao_yyleng = (int) (tao_yy_cp - tao_yy_bp); \ - tao_yy_hold_char = *tao_yy_cp; \ - *tao_yy_cp = '\0'; \ - if ( tao_yyleng >= TAO_YYLMAX ) \ - TAO_YY_FATAL_ERROR( "token too large, exceeds TAO_YYLMAX" ); \ - tao_yy_flex_strncpy( tao_yytext, tao_yytext_ptr, tao_yyleng + 1 ); \ - tao_yy_c_buf_p = tao_yy_cp; - -#define TAO_YY_NUM_RULES 79 -#define TAO_YY_END_OF_BUFFER 80 -static tao_yyconst short int tao_yy_accept[392] = - { 0, - 76, 76, 80, 78, 76, 77, 77, 78, 78, 78, - 78, 78, 56, 52, 78, 78, 78, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 78, 77, - 76, 0, 57, 0, 0, 0, 0, 55, 51, 49, - 75, 0, 49, 56, 0, 0, 0, 52, 47, 45, - 46, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 42, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - - 0, 70, 0, 0, 0, 0, 0, 0, 0, 58, - 0, 58, 0, 0, 55, 0, 51, 0, 49, 0, - 74, 74, 49, 0, 50, 54, 48, 48, 48, 1, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 43, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 0, 0, 0, - 0, 0, 0, 61, 59, 0, 0, 53, 0, 49, - 50, 48, 39, 48, 48, 48, 18, 25, 48, 48, - 48, 48, 48, 12, 48, 48, 33, 48, 48, 22, - - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 29, - 48, 48, 0, 0, 0, 0, 0, 0, 71, 0, - 0, 0, 0, 0, 59, 0, 60, 0, 40, 48, - 48, 48, 9, 48, 48, 48, 48, 48, 20, 41, - 48, 48, 48, 28, 48, 48, 48, 48, 48, 48, - 23, 48, 48, 48, 48, 48, 48, 16, 48, 48, - 26, 48, 66, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 48, 48, 48, 48, 32, 48, 21, 48, - 48, 2, 30, 44, 48, 35, 3, 48, 48, 13, - - 11, 48, 17, 48, 48, 48, 48, 48, 64, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, - 48, 27, 7, 19, 48, 48, 34, 48, 48, 48, - 48, 10, 48, 48, 14, 0, 72, 72, 0, 68, - 0, 0, 67, 0, 0, 0, 0, 31, 48, 48, - 48, 4, 15, 36, 48, 24, 48, 0, 0, 0, - 65, 0, 0, 0, 0, 0, 0, 5, 6, 8, - 48, 38, 0, 62, 62, 0, 73, 73, 0, 0, - 0, 48, 0, 0, 0, 37, 69, 0, 63, 63, - 0 - - } ; - -static tao_yyconst int tao_yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 5, 1, 6, 7, 1, 1, 1, 8, 1, - 1, 9, 10, 1, 11, 12, 13, 14, 15, 15, - 15, 15, 15, 15, 15, 16, 16, 17, 1, 18, - 19, 20, 21, 1, 22, 23, 23, 23, 24, 25, - 26, 26, 26, 26, 26, 27, 26, 26, 26, 26, - 26, 28, 29, 30, 31, 26, 26, 32, 26, 26, - 1, 33, 1, 1, 34, 1, 35, 36, 37, 38, - - 39, 40, 41, 42, 43, 26, 26, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, - 57, 26, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static tao_yyconst int tao_yy_meta[58] = - { 0, - 1, 1, 2, 1, 1, 3, 1, 4, 1, 1, - 1, 1, 1, 5, 5, 5, 1, 1, 1, 1, - 3, 5, 5, 5, 5, 6, 6, 6, 6, 6, - 6, 6, 3, 6, 7, 7, 5, 5, 5, 7, - 6, 6, 6, 6, 6, 8, 6, 6, 6, 8, - 6, 8, 6, 8, 6, 6, 6 - } ; - -static tao_yyconst short int tao_yy_base[410] = - { 0, - 0, 51, 740, 741, 57, 741, 741, 54, 706, 49, - 52, 60, 62, 67, 721, 719, 716, 0, 713, 706, - 44, 686, 50, 60, 42, 688, 685, 683, 682, 693, - 47, 52, 36, 69, 59, 681, 78, 75, 125, 705, - 112, 98, 741, 0, 717, 128, 118, 133, 138, 176, - 741, 116, 160, 171, 182, 197, 0, 210, 741, 741, - 741, 0, 697, 692, 671, 664, 668, 672, 667, 682, - 670, 664, 674, 660, 659, 674, 663, 112, 663, 670, - 655, 654, 666, 652, 660, 666, 658, 665, 650, 651, - 647, 648, 652, 641, 645, 72, 648, 648, 648, 637, - - 644, 741, 138, 214, 649, 643, 635, 665, 145, 741, - 675, 674, 223, 673, 227, 0, 232, 243, 741, 167, - 741, 229, 0, 165, 247, 0, 651, 655, 626, 0, - 627, 632, 636, 624, 115, 621, 637, 635, 625, 630, - 633, 615, 613, 626, 623, 610, 619, 622, 605, 0, - 605, 614, 606, 618, 602, 604, 156, 605, 600, 605, - 611, 602, 605, 594, 608, 610, 594, 637, 636, 602, - 594, 604, 290, 741, 741, 261, 630, 0, 263, 274, - 741, 613, 0, 586, 592, 595, 0, 0, 581, 593, - 584, 577, 585, 0, 580, 575, 0, 574, 575, 0, - - 580, 569, 570, 586, 585, 576, 579, 570, 577, 563, - 568, 576, 565, 574, 573, 571, 562, 566, 567, 0, - 555, 561, 597, 277, 556, 562, 559, 555, 741, 196, - 305, 560, 554, 546, 741, 587, 741, 586, 0, 501, - 488, 486, 0, 461, 456, 453, 457, 431, 0, 0, - 432, 431, 430, 0, 410, 413, 426, 410, 413, 412, - 0, 416, 377, 375, 378, 380, 375, 0, 367, 348, - 0, 348, 741, 309, 341, 326, 341, 374, 373, 335, - 327, 336, 323, 306, 305, 298, 0, 293, 0, 301, - 308, 0, 0, 0, 300, 0, 0, 293, 295, 0, - - 0, 277, 0, 275, 282, 278, 259, 274, 741, 332, - 264, 347, 362, 272, 297, 351, 256, 261, 256, 244, - 234, 0, 0, 0, 237, 246, 0, 216, 231, 214, - 229, 0, 222, 207, 0, 354, 741, 366, 386, 741, - 246, 133, 741, 381, 193, 396, 191, 0, 188, 177, - 175, 0, 0, 0, 169, 0, 165, 187, 378, 400, - 741, 402, 405, 417, 422, 425, 128, 0, 0, 0, - 112, 0, 431, 741, 439, 441, 741, 443, 104, 89, - 156, 50, 64, 445, 447, 0, 741, 450, 741, 452, - 741, 473, 481, 485, 491, 499, 507, 511, 515, 518, - - 525, 530, 537, 545, 553, 561, 569, 577, 585 - } ; - -static tao_yyconst short int tao_yy_def[410] = - { 0, - 391, 1, 391, 391, 391, 391, 391, 392, 393, 391, - 391, 391, 391, 391, 391, 391, 391, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 391, 391, - 391, 392, 391, 395, 391, 396, 391, 391, 391, 391, - 391, 397, 50, 391, 391, 391, 398, 391, 391, 391, - 391, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - - 39, 391, 39, 391, 391, 391, 391, 391, 392, 391, - 391, 391, 391, 399, 391, 400, 391, 391, 391, 397, - 391, 397, 53, 391, 391, 398, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 401, 391, 391, - 391, 391, 391, 391, 391, 391, 402, 400, 391, 391, - 391, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 401, 391, 391, 391, 391, 173, 391, 173, - 391, 391, 391, 391, 391, 391, 391, 391, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 391, 391, 391, 391, 391, 403, 391, 391, - 391, 391, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - - 394, 394, 394, 394, 394, 394, 394, 394, 391, 391, - 404, 391, 391, 391, 403, 391, 391, 391, 391, 394, - 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, - 394, 394, 394, 394, 394, 404, 391, 404, 391, 391, - 405, 391, 391, 391, 391, 391, 391, 394, 394, 394, - 394, 394, 394, 394, 394, 394, 394, 405, 391, 406, - 391, 391, 407, 391, 391, 391, 391, 394, 394, 394, - 394, 394, 406, 391, 406, 407, 391, 407, 408, 391, - 391, 394, 408, 391, 409, 394, 391, 409, 391, 409, - 0, 391, 391, 391, 391, 391, 391, 391, 391, 391, - - 391, 391, 391, 391, 391, 391, 391, 391, 391 - } ; - -static tao_yyconst short int tao_yy_nxt[799] = - { 0, - 4, 5, 6, 7, 5, 8, 4, 9, 4, 4, - 10, 11, 12, 13, 14, 14, 15, 16, 4, 17, - 7, 18, 18, 18, 19, 18, 18, 18, 18, 20, - 18, 18, 4, 4, 21, 22, 23, 24, 25, 26, - 18, 18, 27, 28, 29, 30, 31, 32, 18, 33, - 34, 35, 36, 37, 38, 18, 18, 39, 41, 43, - 47, 41, 48, 49, 49, 50, 50, 50, 51, 384, - 87, 40, 52, 53, 88, 54, 54, 55, 53, 65, - 58, 58, 58, 82, 69, 56, 44, 75, 386, 66, - 56, 70, 83, 57, 379, 67, 71, 76, 73, 84, - - 56, 85, 72, 43, 86, 56, 74, 89, 94, 384, - 90, 99, 97, 41, 162, 95, 41, 57, 121, 122, - 91, 92, 163, 93, 98, 100, 101, 102, 102, 103, - 44, 50, 50, 50, 360, 112, 122, 360, 104, 104, - 104, 113, 113, 168, 53, 102, 115, 115, 55, 53, - 43, 117, 117, 117, 142, 382, 56, 385, 143, 114, - 385, 56, 381, 144, 116, 189, 190, 105, 106, 121, - 122, 56, 107, 123, 123, 123, 56, 44, 125, 125, - 125, 391, 53, 114, 54, 54, 55, 122, 116, 50, - 50, 50, 359, 53, 56, 55, 55, 55, 211, 118, - - 119, 278, 119, 372, 371, 56, 124, 124, 212, 56, - 125, 125, 125, 370, 118, 119, 102, 102, 169, 119, - 56, 53, 369, 58, 58, 58, 368, 104, 104, 104, - 175, 121, 122, 56, 102, 367, 176, 176, 53, 391, - 115, 115, 55, 53, 363, 117, 117, 117, 56, 122, - 56, 359, 179, 179, 357, 56, 180, 180, 180, 356, - 125, 125, 125, 355, 354, 56, 337, 338, 235, 353, - 56, 181, 352, 181, 236, 236, 180, 180, 180, 273, - 273, 274, 351, 350, 338, 349, 181, 180, 180, 180, - 181, 228, 229, 229, 230, 348, 347, 273, 119, 346, - - 119, 345, 316, 231, 231, 231, 342, 229, 229, 279, - 229, 309, 309, 119, 335, 334, 333, 119, 231, 231, - 231, 332, 310, 310, 310, 229, 331, 312, 330, 309, - 312, 329, 232, 233, 309, 309, 328, 234, 327, 313, - 313, 313, 326, 325, 324, 310, 310, 310, 312, 323, - 322, 312, 309, 343, 343, 344, 337, 338, 321, 320, - 313, 313, 313, 339, 340, 340, 339, 341, 337, 338, - 319, 343, 318, 317, 338, 313, 313, 313, 278, 316, - 340, 340, 340, 361, 361, 314, 338, 339, 340, 340, - 339, 341, 311, 308, 362, 362, 362, 364, 340, 307, - - 365, 361, 374, 375, 361, 361, 340, 377, 378, 366, - 366, 366, 306, 305, 304, 362, 362, 362, 364, 303, - 375, 365, 361, 364, 302, 378, 365, 379, 301, 380, - 366, 366, 366, 374, 375, 366, 366, 366, 366, 366, - 366, 374, 375, 377, 378, 377, 378, 387, 387, 389, - 390, 375, 389, 390, 389, 390, 300, 299, 298, 375, - 297, 378, 296, 378, 295, 387, 294, 390, 293, 292, - 390, 291, 390, 42, 42, 42, 42, 42, 42, 42, - 42, 45, 290, 45, 45, 45, 45, 45, 45, 62, - 62, 62, 62, 109, 109, 289, 288, 109, 109, 111, - - 287, 111, 111, 111, 111, 111, 111, 120, 120, 120, - 120, 120, 120, 120, 120, 126, 286, 126, 177, 177, - 285, 177, 178, 284, 178, 223, 223, 223, 223, 223, - 223, 223, 223, 238, 238, 283, 238, 315, 315, 315, - 315, 315, 315, 315, 315, 336, 336, 336, 336, 336, - 336, 336, 336, 358, 358, 358, 358, 358, 358, 358, - 358, 373, 373, 373, 373, 373, 373, 373, 373, 376, - 376, 376, 376, 376, 376, 376, 376, 383, 383, 383, - 383, 383, 383, 383, 383, 388, 388, 388, 388, 388, - 388, 388, 388, 237, 235, 282, 281, 280, 391, 277, - - 276, 275, 224, 272, 271, 270, 269, 268, 267, 266, - 265, 264, 263, 262, 261, 260, 259, 258, 257, 256, - 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, - 245, 244, 243, 242, 241, 240, 239, 237, 227, 226, - 225, 168, 224, 222, 221, 220, 219, 218, 217, 216, - 215, 214, 213, 210, 209, 208, 207, 206, 205, 204, - 203, 202, 201, 200, 199, 198, 197, 196, 195, 194, - 193, 192, 191, 188, 187, 186, 185, 184, 183, 182, - 174, 174, 174, 173, 172, 171, 170, 391, 167, 166, - 165, 164, 161, 160, 159, 158, 157, 156, 155, 154, - - 153, 152, 151, 150, 149, 148, 147, 146, 145, 141, - 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, - 130, 129, 128, 127, 110, 108, 96, 81, 80, 79, - 78, 77, 68, 64, 63, 61, 60, 59, 46, 391, - 3, 391, 391, 391, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 391, 391, 391 - - } ; - -static tao_yyconst short int tao_yy_chk[799] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 2, 5, 8, - 10, 5, 10, 10, 10, 11, 11, 11, 12, 383, - 33, 2, 12, 13, 33, 13, 13, 13, 14, 21, - 14, 14, 14, 31, 23, 13, 8, 25, 382, 21, - 14, 23, 31, 13, 380, 21, 23, 25, 24, 31, - - 13, 32, 23, 42, 32, 14, 24, 34, 35, 379, - 34, 38, 37, 41, 96, 35, 41, 13, 52, 52, - 34, 34, 96, 34, 37, 38, 39, 39, 39, 39, - 42, 47, 47, 47, 342, 46, 52, 342, 39, 39, - 39, 46, 46, 103, 48, 39, 48, 48, 48, 49, - 109, 49, 49, 49, 78, 371, 48, 381, 78, 46, - 381, 49, 367, 78, 48, 135, 135, 39, 39, 120, - 120, 48, 39, 53, 53, 53, 49, 109, 124, 124, - 124, 103, 54, 46, 54, 54, 54, 120, 48, 50, - 50, 50, 358, 55, 54, 55, 55, 55, 157, 50, - - 50, 230, 50, 357, 355, 55, 56, 56, 157, 54, - 56, 56, 56, 351, 50, 50, 104, 104, 104, 50, - 55, 58, 350, 58, 58, 58, 349, 104, 104, 104, - 113, 122, 122, 58, 104, 347, 113, 113, 115, 230, - 115, 115, 115, 117, 345, 117, 117, 117, 58, 122, - 115, 341, 118, 118, 334, 117, 118, 118, 118, 333, - 125, 125, 125, 331, 330, 115, 311, 311, 176, 329, - 117, 125, 328, 125, 176, 176, 179, 179, 179, 224, - 224, 224, 326, 325, 311, 321, 125, 180, 180, 180, - 125, 173, 173, 173, 173, 320, 319, 224, 180, 318, - - 180, 317, 315, 173, 173, 173, 314, 231, 231, 231, - 173, 274, 274, 180, 308, 307, 306, 180, 231, 231, - 231, 305, 274, 274, 274, 231, 304, 276, 302, 274, - 276, 299, 173, 173, 310, 310, 298, 173, 295, 276, - 276, 276, 291, 290, 288, 310, 310, 310, 312, 286, - 285, 312, 310, 316, 316, 316, 336, 336, 284, 283, - 312, 312, 312, 313, 313, 313, 313, 313, 338, 338, - 282, 316, 281, 280, 336, 313, 313, 313, 279, 278, - 359, 359, 313, 344, 344, 277, 338, 339, 339, 339, - 339, 339, 275, 272, 344, 344, 344, 346, 359, 270, - - 346, 344, 360, 360, 362, 362, 339, 363, 363, 346, - 346, 346, 269, 267, 266, 362, 362, 362, 364, 265, - 360, 364, 362, 365, 264, 363, 365, 365, 263, 366, - 364, 364, 364, 373, 373, 365, 365, 365, 366, 366, - 366, 375, 375, 376, 376, 378, 378, 384, 384, 385, - 385, 373, 388, 388, 390, 390, 262, 260, 259, 375, - 258, 376, 257, 378, 256, 384, 255, 385, 253, 252, - 388, 251, 390, 392, 392, 392, 392, 392, 392, 392, - 392, 393, 248, 393, 393, 393, 393, 393, 393, 394, - 394, 394, 394, 395, 395, 247, 246, 395, 395, 396, - - 245, 396, 396, 396, 396, 396, 396, 397, 397, 397, - 397, 397, 397, 397, 397, 398, 244, 398, 399, 399, - 242, 399, 400, 241, 400, 401, 401, 401, 401, 401, - 401, 401, 401, 402, 402, 240, 402, 403, 403, 403, - 403, 403, 403, 403, 403, 404, 404, 404, 404, 404, - 404, 404, 404, 405, 405, 405, 405, 405, 405, 405, - 405, 406, 406, 406, 406, 406, 406, 406, 406, 407, - 407, 407, 407, 407, 407, 407, 407, 408, 408, 408, - 408, 408, 408, 408, 408, 409, 409, 409, 409, 409, - 409, 409, 409, 238, 236, 234, 233, 232, 228, 227, - - 226, 225, 223, 222, 221, 219, 218, 217, 216, 215, - 214, 213, 212, 211, 210, 209, 208, 207, 206, 205, - 204, 203, 202, 201, 199, 198, 196, 195, 193, 192, - 191, 190, 189, 186, 185, 184, 182, 177, 172, 171, - 170, 169, 168, 167, 166, 165, 164, 163, 162, 161, - 160, 159, 158, 156, 155, 154, 153, 152, 151, 149, - 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, - 138, 137, 136, 134, 133, 132, 131, 129, 128, 127, - 114, 112, 111, 108, 107, 106, 105, 101, 100, 99, - 98, 97, 95, 94, 93, 92, 91, 90, 89, 88, - - 87, 86, 85, 84, 83, 82, 81, 80, 79, 77, - 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, - 66, 65, 64, 63, 45, 40, 36, 30, 29, 28, - 27, 26, 22, 20, 19, 17, 16, 15, 9, 3, - 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 391, 391, 391, 391, 391, - 391, 391, 391, 391, 391, 391, 391, 391 - - } ; - -static tao_yy_state_type tao_yy_last_accepting_state; -static char *tao_yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define tao_yymore() tao_yymore_used_but_not_detected -#define TAO_YY_MORE_ADJ 0 -#define TAO_YY_RESTORE_TAO_YY_MORE_OFFSET -#ifndef TAO_YYLMAX -#define TAO_YYLMAX 8192 -#endif - -char tao_yytext[TAO_YYLMAX]; -char *tao_yytext_ptr; -#line 1 "fe/idl.ll" -#define INITIAL 0 -#line 2 "fe/idl.ll" -/* $Id: idl.ll,v 1.39 1999/07/03 22:45:51 parsons Exp $ - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -IDL_ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -IDL_ANY OBLIGATION ON THE PART OF Sun OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IDL_IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR IDL_ANY PATENTS BY -IDL_INTERFACE DEFINITION LANGUAGE CFE OR IDL_ANY PART THEREOF. - -IDL_IN NO EVENT WILL SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -IDL_ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * idl.ll - Lexical scanner for IDL 1.1 - */ - -#include "idl.h" -#include "idl_extern.h" -#include "fe_private.h" -#include "y.tab.h" - -static char idl_escape_reader(char *); -static double idl_atof(char *); -static long idl_atoi(char *, long); -static unsigned long idl_atoui(char *, long); -static void idl_parse_line_and_file(char *); -static void idl_store_pragma(char *); - -#if 0 /* defined (HPUX) */ -// HPUX has tao_yytext typed to unsigned char *. We make sure here that -// we'll always use char * static char* __tao_yytext = (char*) tao_yytext; -// NOTE: This will not work under flex(1) were tao_yytext is not a fixed -// buffer, but a dynamically allocated one. This function should do -// the trick for us. -inline char *__tao_yytext() -{ - return (char *) tao_yytext; -} -#define ace_tao_yytext __tao_yytext() -#else -#define ace_tao_yytext tao_yytext -#endif /* 0 */ - -static int scan_obv_token (int token) -{ -#ifdef IDL_HAS_VALUETYPE - if (idl_global->obv_support ()) - { - return token; - } -#endif /* IDL_HAS_VALUETYPE */ - TAO_IDL_CPP_Keyword_Table cpp_key_tbl; - const TAO_IDL_CPP_Keyword_Entry *entry = - cpp_key_tbl.lookup (ace_tao_yytext, - ACE_OS::strlen (ace_tao_yytext)); - if (entry) - tao_yylval.strval = ACE_OS::strdup (entry->mapping_); - else - tao_yylval.strval = ACE_OS::strdup (ace_tao_yytext); - return IDENTIFIER; -} - -/* SO we don't choke on files that use \r\n */ -#define TAO_YY_NEVER_INTERACTIVE 1 - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef TAO_YY_SKIP_TAO_YYWRAP -#ifdef __cplusplus -extern "C" int tao_yywrap TAO_YY_PROTO(( void )); -#else -extern int tao_yywrap TAO_YY_PROTO(( void )); -#endif -#endif - -#ifndef TAO_YY_NO_UNPUT -static void tao_yyunput TAO_YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef tao_yytext_ptr -static void tao_yy_flex_strncpy TAO_YY_PROTO(( char *, tao_yyconst char *, int )); -#endif - -#ifdef TAO_YY_NEED_STRLEN -static int tao_yy_flex_strlen TAO_YY_PROTO(( tao_yyconst char * )); -#endif - -#ifndef TAO_YY_NO_INPUT -#ifdef __cplusplus -static int tao_yyinput TAO_YY_PROTO(( void )); -#else -static int input TAO_YY_PROTO(( void )); -#endif -#endif - -#if TAO_YY_STACK_USED -static int tao_yy_start_stack_ptr = 0; -static int tao_yy_start_stack_depth = 0; -static int *tao_yy_start_stack = 0; -#ifndef TAO_YY_NO_PUSH_STATE -static void tao_yy_push_state TAO_YY_PROTO(( int new_state )); -#endif -#ifndef TAO_YY_NO_POP_STATE -static void tao_yy_pop_state TAO_YY_PROTO(( void )); -#endif -#ifndef TAO_YY_NO_TOP_STATE -static int tao_yy_top_state TAO_YY_PROTO(( void )); -#endif - -#else -#define TAO_YY_NO_PUSH_STATE 1 -#define TAO_YY_NO_POP_STATE 1 -#define TAO_YY_NO_TOP_STATE 1 -#endif - -#ifdef TAO_YY_MALLOC_DECL -TAO_YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef TAO_YY_READ_BUF_SIZE -#define TAO_YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef TAO_YY_ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define TAO_YY_ECHO (void) fwrite( tao_yytext, tao_yyleng, 1, tao_yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or TAO_YY_NULL, - * is returned in "result". - */ -#ifndef TAO_YY_INPUT -#define TAO_YY_INPUT(buf,result,max_size) \ - if ( tao_yy_current_buffer->tao_yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( tao_yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( tao_yyin ) ) \ - TAO_YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, tao_yyin )) == 0) \ - && ferror( tao_yyin ) ) \ - TAO_YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "tao_yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef tao_yyterminate -#define tao_yyterminate() return TAO_YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef TAO_YY_START_STACK_INCR -#define TAO_YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef TAO_YY_FATAL_ERROR -#define TAO_YY_FATAL_ERROR(msg) tao_yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef TAO_YY_DECL -#define TAO_YY_DECL int tao_yylex TAO_YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after tao_yytext and tao_yyleng - * have been set up. - */ -#ifndef TAO_YY_USER_ACTION -#define TAO_YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef TAO_YY_BREAK -#define TAO_YY_BREAK ACE_NOTREACHED (break;) -#endif - -#define TAO_YY_RULE_SETUP \ - if ( tao_yyleng > 0 ) \ - tao_yy_current_buffer->tao_yy_at_bol = \ - (tao_yytext[tao_yyleng - 1] == '\n'); \ - TAO_YY_USER_ACTION - -TAO_YY_DECL - { - register tao_yy_state_type tao_yy_current_state; - register char *tao_yy_cp = 0, *tao_yy_bp = 0; - register int tao_yy_act; - -#line 124 "fe/idl.ll" - - - - if ( tao_yy_init ) - { - tao_yy_init = 0; - -#ifdef TAO_YY_USER_INIT - TAO_YY_USER_INIT; -#endif - - if ( ! tao_yy_start ) - tao_yy_start = 1; /* first start state */ - - if ( ! tao_yyin ) - tao_yyin = stdin; - - if ( ! tao_yyout ) - tao_yyout = stdout; - - if ( ! tao_yy_current_buffer ) - tao_yy_current_buffer = - tao_yy_create_buffer( tao_yyin, TAO_YY_BUF_SIZE ); - - tao_yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - tao_yy_cp = tao_yy_c_buf_p; - - /* Support of tao_yytext. */ - *tao_yy_cp = tao_yy_hold_char; - - /* tao_yy_bp points to the position in tao_yy_ch_buf of the start of - * the current run. - */ - tao_yy_bp = tao_yy_cp; - - tao_yy_current_state = tao_yy_start; - tao_yy_current_state += TAO_YY_AT_BOL(); -tao_yy_match: - do - { - register TAO_YY_CHAR tao_yy_c = tao_yy_ec[TAO_YY_SC_TO_UI(*tao_yy_cp)]; - if ( tao_yy_accept[tao_yy_current_state] ) - { - tao_yy_last_accepting_state = tao_yy_current_state; - tao_yy_last_accepting_cpos = tao_yy_cp; - } - while ( tao_yy_chk[tao_yy_base[tao_yy_current_state] + tao_yy_c] != tao_yy_current_state ) - { - tao_yy_current_state = (int) tao_yy_def[tao_yy_current_state]; - if ( tao_yy_current_state >= 392 ) - tao_yy_c = tao_yy_meta[(unsigned int) tao_yy_c]; - } - tao_yy_current_state = tao_yy_nxt[tao_yy_base[tao_yy_current_state] + (unsigned int) tao_yy_c]; - ++tao_yy_cp; - } - while ( tao_yy_base[tao_yy_current_state] != 741 ); - -tao_yy_find_action: - tao_yy_act = tao_yy_accept[tao_yy_current_state]; - if ( tao_yy_act == 0 ) - { /* have to back up */ - tao_yy_cp = tao_yy_last_accepting_cpos; - tao_yy_current_state = tao_yy_last_accepting_state; - tao_yy_act = tao_yy_accept[tao_yy_current_state]; - } - - TAO_YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( tao_yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of TAO_YY_DO_BEFORE_ACTION */ - *tao_yy_cp = tao_yy_hold_char; - tao_yy_cp = tao_yy_last_accepting_cpos; - tao_yy_current_state = tao_yy_last_accepting_state; - goto tao_yy_find_action; - -case 1: -TAO_YY_RULE_SETUP -#line 126 "fe/idl.ll" -return IDL_ANY; - TAO_YY_BREAK -case 2: -TAO_YY_RULE_SETUP -#line 127 "fe/idl.ll" -return IDL_MODULE; - TAO_YY_BREAK -case 3: -TAO_YY_RULE_SETUP -#line 128 "fe/idl.ll" -return IDL_RAISES; - TAO_YY_BREAK -case 4: -TAO_YY_RULE_SETUP -#line 129 "fe/idl.ll" -return IDL_READONLY; - TAO_YY_BREAK -case 5: -TAO_YY_RULE_SETUP -#line 130 "fe/idl.ll" -return IDL_ATTRIBUTE; - TAO_YY_BREAK -case 6: -TAO_YY_RULE_SETUP -#line 131 "fe/idl.ll" -return IDL_EXCEPTION; - TAO_YY_BREAK -case 7: -TAO_YY_RULE_SETUP -#line 132 "fe/idl.ll" -return IDL_CONTEXT; - TAO_YY_BREAK -case 8: -TAO_YY_RULE_SETUP -#line 133 "fe/idl.ll" -return IDL_INTERFACE; - TAO_YY_BREAK -case 9: -TAO_YY_RULE_SETUP -#line 134 "fe/idl.ll" -return IDL_CONST; - TAO_YY_BREAK -case 10: -TAO_YY_RULE_SETUP -#line 135 "fe/idl.ll" -return IDL_TYPEDEF; - TAO_YY_BREAK -case 11: -TAO_YY_RULE_SETUP -#line 136 "fe/idl.ll" -return IDL_STRUCT; - TAO_YY_BREAK -case 12: -TAO_YY_RULE_SETUP -#line 137 "fe/idl.ll" -return IDL_ENUM; - TAO_YY_BREAK -case 13: -TAO_YY_RULE_SETUP -#line 138 "fe/idl.ll" -return IDL_STRING; - TAO_YY_BREAK -case 14: -TAO_YY_RULE_SETUP -#line 139 "fe/idl.ll" -return IDL_WSTRING; - TAO_YY_BREAK -case 15: -TAO_YY_RULE_SETUP -#line 140 "fe/idl.ll" -return IDL_SEQUENCE; - TAO_YY_BREAK -case 16: -TAO_YY_RULE_SETUP -#line 141 "fe/idl.ll" -return IDL_UNION; - TAO_YY_BREAK -case 17: -TAO_YY_RULE_SETUP -#line 142 "fe/idl.ll" -return IDL_SWITCH; - TAO_YY_BREAK -case 18: -TAO_YY_RULE_SETUP -#line 143 "fe/idl.ll" -return IDL_CASE; - TAO_YY_BREAK -case 19: -TAO_YY_RULE_SETUP -#line 144 "fe/idl.ll" -return IDL_DEFAULT; - TAO_YY_BREAK -case 20: -TAO_YY_RULE_SETUP -#line 145 "fe/idl.ll" -return IDL_FLOAT; - TAO_YY_BREAK -case 21: -TAO_YY_RULE_SETUP -#line 146 "fe/idl.ll" -return IDL_DOUBLE; - TAO_YY_BREAK -case 22: -TAO_YY_RULE_SETUP -#line 147 "fe/idl.ll" -return IDL_LONG; - TAO_YY_BREAK -case 23: -TAO_YY_RULE_SETUP -#line 148 "fe/idl.ll" -return IDL_SHORT; - TAO_YY_BREAK -case 24: -TAO_YY_RULE_SETUP -#line 149 "fe/idl.ll" -return IDL_UNSIGNED; - TAO_YY_BREAK -case 25: -TAO_YY_RULE_SETUP -#line 150 "fe/idl.ll" -return IDL_CHAR; - TAO_YY_BREAK -case 26: -TAO_YY_RULE_SETUP -#line 151 "fe/idl.ll" -return IDL_WCHAR; - TAO_YY_BREAK -case 27: -TAO_YY_RULE_SETUP -#line 152 "fe/idl.ll" -return IDL_BOOLEAN; - TAO_YY_BREAK -case 28: -TAO_YY_RULE_SETUP -#line 153 "fe/idl.ll" -return IDL_OCTET; - TAO_YY_BREAK -case 29: -TAO_YY_RULE_SETUP -#line 154 "fe/idl.ll" -return IDL_VOID; - TAO_YY_BREAK -case 30: -TAO_YY_RULE_SETUP -#line 155 "fe/idl.ll" -return IDL_NATIVE; - TAO_YY_BREAK -case 31: -TAO_YY_RULE_SETUP -#line 156 "fe/idl.ll" -return scan_obv_token (IDL_ABSTRACT); - TAO_YY_BREAK -case 32: -TAO_YY_RULE_SETUP -#line 157 "fe/idl.ll" -return scan_obv_token (IDL_CUSTOM); - TAO_YY_BREAK -case 33: -TAO_YY_RULE_SETUP -#line 158 "fe/idl.ll" -return scan_obv_token (IDL_INIT); - TAO_YY_BREAK -case 34: -TAO_YY_RULE_SETUP -#line 159 "fe/idl.ll" -return scan_obv_token (IDL_PRIVATE); - TAO_YY_BREAK -case 35: -TAO_YY_RULE_SETUP -#line 160 "fe/idl.ll" -return scan_obv_token (IDL_PUBLIC); - TAO_YY_BREAK -case 36: -TAO_YY_RULE_SETUP -#line 161 "fe/idl.ll" -return scan_obv_token (IDL_SUPPORTS); - TAO_YY_BREAK -case 37: -TAO_YY_RULE_SETUP -#line 162 "fe/idl.ll" -return scan_obv_token (IDL_TRUNCATABLE); - TAO_YY_BREAK -case 38: -TAO_YY_RULE_SETUP -#line 163 "fe/idl.ll" -return scan_obv_token (IDL_VALUETYPE); - TAO_YY_BREAK -case 39: -TAO_YY_RULE_SETUP -#line 165 "fe/idl.ll" -return IDL_TRUETOK; - TAO_YY_BREAK -case 40: -TAO_YY_RULE_SETUP -#line 166 "fe/idl.ll" -return IDL_FALSETOK; - TAO_YY_BREAK -case 41: -TAO_YY_RULE_SETUP -#line 168 "fe/idl.ll" -return IDL_INOUT; - TAO_YY_BREAK -case 42: -TAO_YY_RULE_SETUP -#line 169 "fe/idl.ll" -return IDL_IN; - TAO_YY_BREAK -case 43: -TAO_YY_RULE_SETUP -#line 170 "fe/idl.ll" -return IDL_OUT; - TAO_YY_BREAK -case 44: -TAO_YY_RULE_SETUP -#line 171 "fe/idl.ll" -return IDL_ONEWAY; - TAO_YY_BREAK -case 45: -TAO_YY_RULE_SETUP -#line 173 "fe/idl.ll" -return IDL_LEFT_SHIFT; - TAO_YY_BREAK -case 46: -TAO_YY_RULE_SETUP -#line 174 "fe/idl.ll" -return IDL_RIGHT_SHIFT; - TAO_YY_BREAK -case 47: -TAO_YY_RULE_SETUP -#line 175 "fe/idl.ll" -{ - tao_yylval.strval = (char *) "::"; - return IDL_SCOPE_DELIMITOR; - } - TAO_YY_BREAK -case 48: -TAO_YY_RULE_SETUP -#line 180 "fe/idl.ll" -{ - // Make sure that this identifier is not a C++ keyword. If it is, - // prepend it with a _cxx_. Lookup in the perfect hash table for C++ - // keyword and grab the mapping. BTW, the reason for the odd - // regular expression is to handle EBCDIC, as well as ASCII. - - TAO_IDL_CPP_Keyword_Table cpp_key_tbl; - const TAO_IDL_CPP_Keyword_Entry *entry = - cpp_key_tbl.lookup (ace_tao_yytext, - ACE_OS::strlen (ace_tao_yytext)); - if (entry) - tao_yylval.strval = ACE_OS::strdup (entry->mapping_); - else - tao_yylval.strval = ACE_OS::strdup (ace_tao_yytext); - - return IDENTIFIER; -} - TAO_YY_BREAK -case 49: -TAO_YY_RULE_SETUP -#line 198 "fe/idl.ll" -{ - tao_yylval.dval = idl_atof(ace_tao_yytext); - return IDL_FLOATING_PT_LITERAL; - } - TAO_YY_BREAK -case 50: -TAO_YY_RULE_SETUP -#line 202 "fe/idl.ll" -{ - tao_yylval.dval = idl_atof(ace_tao_yytext); - return IDL_FLOATING_PT_LITERAL; - } - TAO_YY_BREAK -case 51: -TAO_YY_RULE_SETUP -#line 207 "fe/idl.ll" -{ - tao_yylval.ival = idl_atoi(ace_tao_yytext, 10); - return IDL_INTEGER_LITERAL; - } - TAO_YY_BREAK -case 52: -TAO_YY_RULE_SETUP -#line 211 "fe/idl.ll" -{ - tao_yylval.uival = idl_atoui(ace_tao_yytext, 10); - return IDL_UINTEGER_LITERAL; - } - TAO_YY_BREAK -case 53: -TAO_YY_RULE_SETUP -#line 215 "fe/idl.ll" -{ - tao_yylval.ival = idl_atoi(ace_tao_yytext, 16); - return IDL_INTEGER_LITERAL; - } - TAO_YY_BREAK -case 54: -TAO_YY_RULE_SETUP -#line 219 "fe/idl.ll" -{ - tao_yylval.uival = idl_atoui(ace_tao_yytext, 16); - return IDL_UINTEGER_LITERAL; - } - TAO_YY_BREAK -case 55: -TAO_YY_RULE_SETUP -#line 223 "fe/idl.ll" -{ - tao_yylval.ival = idl_atoi(ace_tao_yytext, 8); - return IDL_INTEGER_LITERAL; - } - TAO_YY_BREAK -case 56: -TAO_YY_RULE_SETUP -#line 227 "fe/idl.ll" -{ - tao_yylval.uival = idl_atoui(ace_tao_yytext, 8); - return IDL_UINTEGER_LITERAL; - } - TAO_YY_BREAK -case 57: -TAO_YY_RULE_SETUP -#line 232 "fe/idl.ll" -{ - /* Skip the quotes */ - char *tmp = ace_tao_yytext; - tmp[strlen(tmp)-1] = '\0'; - tao_yylval.sval = new UTL_String(tmp + 1); - return IDL_STRING_LITERAL; - } - TAO_YY_BREAK -case 58: -TAO_YY_RULE_SETUP -#line 239 "fe/idl.ll" -{ - tao_yylval.cval = ace_tao_yytext [1]; - return IDL_CHARACTER_LITERAL; - } - TAO_YY_BREAK -case 59: -TAO_YY_RULE_SETUP -#line 243 "fe/idl.ll" -{ - // octal character constant - tao_yylval.cval = idl_escape_reader(ace_tao_yytext + 1); - return IDL_CHARACTER_LITERAL; - } - TAO_YY_BREAK -case 60: -TAO_YY_RULE_SETUP -#line 248 "fe/idl.ll" -{ - // hexadecimal character constant - tao_yylval.cval = idl_escape_reader(ace_tao_yytext + 1); - return IDL_CHARACTER_LITERAL; - } - TAO_YY_BREAK -case 61: -TAO_YY_RULE_SETUP -#line 253 "fe/idl.ll" -{ - tao_yylval.cval = idl_escape_reader(ace_tao_yytext + 1); - return IDL_CHARACTER_LITERAL; - } - TAO_YY_BREAK -case 62: -#line 258 "fe/idl.ll" -case 63: -TAO_YY_RULE_SETUP -#line 258 "fe/idl.ll" -{/* remember pragma */ - idl_global->set_lineno(idl_global->lineno() + 1); - idl_store_pragma(ace_tao_yytext); - } - break; -case 64: -#line 263 "fe/idl.ll" -case 65: -TAO_YY_RULE_SETUP -#line 263 "fe/idl.ll" -{ - idl_parse_line_and_file(ace_tao_yytext); - } - break; -case 66: -#line 267 "fe/idl.ll" -case 67: -TAO_YY_RULE_SETUP -#line 267 "fe/idl.ll" -{ - idl_parse_line_and_file(ace_tao_yytext); - } - break; -case 68: -#line 271 "fe/idl.ll" -case 69: -TAO_YY_RULE_SETUP -#line 271 "fe/idl.ll" -{ - idl_parse_line_and_file(ace_tao_yytext); - } - break; -case 70: -#line 275 "fe/idl.ll" -case 71: -TAO_YY_RULE_SETUP -#line 275 "fe/idl.ll" -{ - idl_parse_line_and_file(ace_tao_yytext); - } - break; -case 72: -#line 279 "fe/idl.ll" -case 73: -TAO_YY_RULE_SETUP -#line 279 "fe/idl.ll" -{ - /* ignore cpp ident */ - idl_global->set_lineno(idl_global->lineno() + 1); - } - break; -case 74: -TAO_YY_RULE_SETUP -#line 283 "fe/idl.ll" -{ - /* ignore comments */ - idl_global->set_lineno(idl_global->lineno() + 1); - } - break; -case 75: -TAO_YY_RULE_SETUP -#line 287 "fe/idl.ll" -{ - for(;;) { - char c = tao_yyinput(); - if (c == '*') { - char next = tao_yyinput(); - if (next == '/') - break; - else - tao_yyunput(c, NULL); - if (c == '\n') - idl_global->set_lineno(idl_global->lineno() + 1); - } - } - } - break; -case 76: -TAO_YY_RULE_SETUP -#line 301 "fe/idl.ll" -; - TAO_YY_BREAK -case 77: -TAO_YY_RULE_SETUP -#line 302 "fe/idl.ll" -{ - idl_global->set_lineno(idl_global->lineno() + 1); - } - break; -case 78: -TAO_YY_RULE_SETUP -#line 305 "fe/idl.ll" -return ace_tao_yytext [0]; - TAO_YY_BREAK -case 79: -TAO_YY_RULE_SETUP -#line 307 "fe/idl.ll" -TAO_YY_ECHO; - TAO_YY_BREAK -case TAO_YY_STATE_EOF(INITIAL): - tao_yyterminate(); - - case TAO_YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int tao_yy_amount_of_matched_text = (int) (tao_yy_cp - tao_yytext_ptr) - 1; - - /* Undo the effects of TAO_YY_DO_BEFORE_ACTION. */ - *tao_yy_cp = tao_yy_hold_char; - TAO_YY_RESTORE_TAO_YY_MORE_OFFSET - - if ( tao_yy_current_buffer->tao_yy_buffer_status == TAO_YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed tao_yyin at a new source and called - * tao_yylex(). If so, then we have to assure - * consistency between tao_yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - tao_yy_n_chars = tao_yy_current_buffer->tao_yy_n_chars; - tao_yy_current_buffer->tao_yy_input_file = tao_yyin; - tao_yy_current_buffer->tao_yy_buffer_status = TAO_YY_BUFFER_NORMAL; - } - - /* Note that here we test for tao_yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since tao_yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( tao_yy_c_buf_p <= &tao_yy_current_buffer->tao_yy_ch_buf[tao_yy_n_chars] ) - { /* This was really a NUL. */ - tao_yy_state_type tao_yy_next_state; - - tao_yy_c_buf_p = tao_yytext_ptr + tao_yy_amount_of_matched_text; - - tao_yy_current_state = tao_yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * tao_yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - tao_yy_next_state = tao_yy_try_NUL_trans( tao_yy_current_state ); - - tao_yy_bp = tao_yytext_ptr + TAO_YY_MORE_ADJ; - - if ( tao_yy_next_state ) - { - /* Consume the NUL. */ - tao_yy_cp = ++tao_yy_c_buf_p; - tao_yy_current_state = tao_yy_next_state; - goto tao_yy_match; - } - - else - { - tao_yy_cp = tao_yy_c_buf_p; - goto tao_yy_find_action; - } - } - - else switch ( tao_yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - tao_yy_did_buffer_switch_on_eof = 0; - - if ( tao_yywrap() ) - { - /* Note: because we've taken care in - * tao_yy_get_next_buffer() to have set up - * tao_yytext, we can now set up - * tao_yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * TAO_YY_NULL, it'll still work - another - * TAO_YY_NULL will get returned. - */ - tao_yy_c_buf_p = tao_yytext_ptr + TAO_YY_MORE_ADJ; - - tao_yy_act = TAO_YY_STATE_EOF(TAO_YY_START); - goto do_action; - } - - else - { - if ( ! tao_yy_did_buffer_switch_on_eof ) - TAO_YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - tao_yy_c_buf_p = - tao_yytext_ptr + tao_yy_amount_of_matched_text; - - tao_yy_current_state = tao_yy_get_previous_state(); - - tao_yy_cp = tao_yy_c_buf_p; - tao_yy_bp = tao_yytext_ptr + TAO_YY_MORE_ADJ; - goto tao_yy_match; - - case EOB_ACT_LAST_MATCH: - tao_yy_c_buf_p = - &tao_yy_current_buffer->tao_yy_ch_buf[tao_yy_n_chars]; - - tao_yy_current_state = tao_yy_get_previous_state(); - - tao_yy_cp = tao_yy_c_buf_p; - tao_yy_bp = tao_yytext_ptr + TAO_YY_MORE_ADJ; - goto tao_yy_find_action; - } - break; - } - - default: - TAO_YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of tao_yylex */ - - -/* tao_yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int tao_yy_get_next_buffer() - { - register char *dest = tao_yy_current_buffer->tao_yy_ch_buf; - register char *source = tao_yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( tao_yy_c_buf_p > &tao_yy_current_buffer->tao_yy_ch_buf[tao_yy_n_chars + 1] ) - TAO_YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( tao_yy_current_buffer->tao_yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( tao_yy_c_buf_p - tao_yytext_ptr - TAO_YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (tao_yy_c_buf_p - tao_yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( tao_yy_current_buffer->tao_yy_buffer_status == TAO_YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - tao_yy_current_buffer->tao_yy_n_chars = tao_yy_n_chars = 0; - - else - { - int num_to_read = - tao_yy_current_buffer->tao_yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef TAO_YY_USES_REJECT - TAO_YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - TAO_YY_BUFFER_STATE b = tao_yy_current_buffer; - - int tao_yy_c_buf_p_offset = - (int) (tao_yy_c_buf_p - b->tao_yy_ch_buf); - - if ( b->tao_yy_is_our_buffer ) - { - int new_size = b->tao_yy_buf_size * 2; - - if ( new_size <= 0 ) - b->tao_yy_buf_size += b->tao_yy_buf_size / 8; - else - b->tao_yy_buf_size *= 2; - - b->tao_yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - tao_yy_flex_realloc( (void *) b->tao_yy_ch_buf, - b->tao_yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->tao_yy_ch_buf = 0; - - if ( ! b->tao_yy_ch_buf ) - TAO_YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - tao_yy_c_buf_p = &b->tao_yy_ch_buf[tao_yy_c_buf_p_offset]; - - num_to_read = tao_yy_current_buffer->tao_yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > TAO_YY_READ_BUF_SIZE ) - num_to_read = TAO_YY_READ_BUF_SIZE; - - /* Read in more data. */ - TAO_YY_INPUT( (&tao_yy_current_buffer->tao_yy_ch_buf[number_to_move]), - tao_yy_n_chars, num_to_read ); - - tao_yy_current_buffer->tao_yy_n_chars = tao_yy_n_chars; - } - - if ( tao_yy_n_chars == 0 ) - { - if ( number_to_move == TAO_YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - tao_yyrestart( tao_yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - tao_yy_current_buffer->tao_yy_buffer_status = - TAO_YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - tao_yy_n_chars += number_to_move; - tao_yy_current_buffer->tao_yy_ch_buf[tao_yy_n_chars] = TAO_YY_END_OF_BUFFER_CHAR; - tao_yy_current_buffer->tao_yy_ch_buf[tao_yy_n_chars + 1] = TAO_YY_END_OF_BUFFER_CHAR; - - tao_yytext_ptr = &tao_yy_current_buffer->tao_yy_ch_buf[0]; - - return ret_val; - } - - -/* tao_yy_get_previous_state - get the state just before the EOB char was reached */ - -static tao_yy_state_type tao_yy_get_previous_state() - { - register tao_yy_state_type tao_yy_current_state; - register char *tao_yy_cp; - - tao_yy_current_state = tao_yy_start; - tao_yy_current_state += TAO_YY_AT_BOL(); - - for ( tao_yy_cp = tao_yytext_ptr + TAO_YY_MORE_ADJ; tao_yy_cp < tao_yy_c_buf_p; ++tao_yy_cp ) - { - register TAO_YY_CHAR tao_yy_c = (*tao_yy_cp ? tao_yy_ec[TAO_YY_SC_TO_UI(*tao_yy_cp)] : 1); - if ( tao_yy_accept[tao_yy_current_state] ) - { - tao_yy_last_accepting_state = tao_yy_current_state; - tao_yy_last_accepting_cpos = tao_yy_cp; - } - while ( tao_yy_chk[tao_yy_base[tao_yy_current_state] + tao_yy_c] != tao_yy_current_state ) - { - tao_yy_current_state = (int) tao_yy_def[tao_yy_current_state]; - if ( tao_yy_current_state >= 392 ) - tao_yy_c = tao_yy_meta[(unsigned int) tao_yy_c]; - } - tao_yy_current_state = tao_yy_nxt[tao_yy_base[tao_yy_current_state] + (unsigned int) tao_yy_c]; - } - - return tao_yy_current_state; - } - - -/* tao_yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = tao_yy_try_NUL_trans( current_state ); - */ - -#ifdef TAO_YY_USE_PROTOS -static tao_yy_state_type tao_yy_try_NUL_trans( tao_yy_state_type tao_yy_current_state ) -#else -static tao_yy_state_type tao_yy_try_NUL_trans( tao_yy_current_state ) -tao_yy_state_type tao_yy_current_state; -#endif - { - register int tao_yy_is_jam; - register char *tao_yy_cp = tao_yy_c_buf_p; - - register TAO_YY_CHAR tao_yy_c = 1; - if ( tao_yy_accept[tao_yy_current_state] ) - { - tao_yy_last_accepting_state = tao_yy_current_state; - tao_yy_last_accepting_cpos = tao_yy_cp; - } - while ( tao_yy_chk[tao_yy_base[tao_yy_current_state] + tao_yy_c] != tao_yy_current_state ) - { - tao_yy_current_state = (int) tao_yy_def[tao_yy_current_state]; - if ( tao_yy_current_state >= 392 ) - tao_yy_c = tao_yy_meta[(unsigned int) tao_yy_c]; - } - tao_yy_current_state = tao_yy_nxt[tao_yy_base[tao_yy_current_state] + (unsigned int) tao_yy_c]; - tao_yy_is_jam = (tao_yy_current_state == 391); - - return tao_yy_is_jam ? 0 : tao_yy_current_state; - } - - -#ifndef TAO_YY_NO_UNPUT -#ifdef TAO_YY_USE_PROTOS -static void tao_yyunput( int c, register char *tao_yy_bp ) -#else -static void tao_yyunput( c, tao_yy_bp ) -int c; -register char *tao_yy_bp; -#endif - { - register char *tao_yy_cp = tao_yy_c_buf_p; - - /* undo effects of setting up tao_yytext */ - *tao_yy_cp = tao_yy_hold_char; - - if ( tao_yy_cp < tao_yy_current_buffer->tao_yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = tao_yy_n_chars + 2; - register char *dest = &tao_yy_current_buffer->tao_yy_ch_buf[ - tao_yy_current_buffer->tao_yy_buf_size + 2]; - register char *source = - &tao_yy_current_buffer->tao_yy_ch_buf[number_to_move]; - - while ( source > tao_yy_current_buffer->tao_yy_ch_buf ) - *--dest = *--source; - - tao_yy_cp += (int) (dest - source); - tao_yy_bp += (int) (dest - source); - tao_yy_current_buffer->tao_yy_n_chars = - tao_yy_n_chars = tao_yy_current_buffer->tao_yy_buf_size; - - if ( tao_yy_cp < tao_yy_current_buffer->tao_yy_ch_buf + 2 ) - TAO_YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--tao_yy_cp = (char) c; - - - tao_yytext_ptr = tao_yy_bp; - tao_yy_hold_char = *tao_yy_cp; - tao_yy_c_buf_p = tao_yy_cp; - } -#endif /* ifndef TAO_YY_NO_UNPUT */ - - -#ifdef __cplusplus -static int tao_yyinput() -#else -static int input() -#endif - { - int c; - - *tao_yy_c_buf_p = tao_yy_hold_char; - - if ( *tao_yy_c_buf_p == TAO_YY_END_OF_BUFFER_CHAR ) - { - /* tao_yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( tao_yy_c_buf_p < &tao_yy_current_buffer->tao_yy_ch_buf[tao_yy_n_chars] ) - /* This was really a NUL. */ - *tao_yy_c_buf_p = '\0'; - - else - { /* need more input */ - int offset = tao_yy_c_buf_p - tao_yytext_ptr; - ++tao_yy_c_buf_p; - - switch ( tao_yy_get_next_buffer() ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because tao_yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - tao_yyrestart( tao_yyin ); - - /* fall through */ - - case EOB_ACT_END_OF_FILE: - { - if ( tao_yywrap() ) - return EOF; - - if ( ! tao_yy_did_buffer_switch_on_eof ) - TAO_YY_NEW_FILE; -#ifdef __cplusplus - return tao_yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - tao_yy_c_buf_p = tao_yytext_ptr + offset; - break; - } - } - } - - c = *(unsigned char *) tao_yy_c_buf_p; /* cast for 8-bit char's */ - *tao_yy_c_buf_p = '\0'; /* preserve tao_yytext */ - tao_yy_hold_char = *++tao_yy_c_buf_p; - - tao_yy_current_buffer->tao_yy_at_bol = (c == '\n'); - - return c; - } - - -#ifdef TAO_YY_USE_PROTOS -void tao_yyrestart( FILE *input_file ) -#else -void tao_yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! tao_yy_current_buffer ) - tao_yy_current_buffer = tao_yy_create_buffer( tao_yyin, TAO_YY_BUF_SIZE ); - - tao_yy_init_buffer( tao_yy_current_buffer, input_file ); - tao_yy_load_buffer_state(); - } - - -#ifdef TAO_YY_USE_PROTOS -void tao_yy_switch_to_buffer( TAO_YY_BUFFER_STATE new_buffer ) -#else -void tao_yy_switch_to_buffer( new_buffer ) -TAO_YY_BUFFER_STATE new_buffer; -#endif - { - if ( tao_yy_current_buffer == new_buffer ) - return; - - if ( tao_yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *tao_yy_c_buf_p = tao_yy_hold_char; - tao_yy_current_buffer->tao_yy_buf_pos = tao_yy_c_buf_p; - tao_yy_current_buffer->tao_yy_n_chars = tao_yy_n_chars; - } - - tao_yy_current_buffer = new_buffer; - tao_yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (tao_yywrap()) processing, but the only time this flag - * is looked at is after tao_yywrap() is called, so it's safe - * to go ahead and always set it. - */ - tao_yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef TAO_YY_USE_PROTOS -void tao_yy_load_buffer_state( void ) -#else -void tao_yy_load_buffer_state() -#endif - { - tao_yy_n_chars = tao_yy_current_buffer->tao_yy_n_chars; - tao_yytext_ptr = tao_yy_c_buf_p = tao_yy_current_buffer->tao_yy_buf_pos; - tao_yyin = tao_yy_current_buffer->tao_yy_input_file; - tao_yy_hold_char = *tao_yy_c_buf_p; - } - - -#ifdef TAO_YY_USE_PROTOS -TAO_YY_BUFFER_STATE tao_yy_create_buffer( FILE *file, int size ) -#else -TAO_YY_BUFFER_STATE tao_yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - TAO_YY_BUFFER_STATE b; - - b = (TAO_YY_BUFFER_STATE) tao_yy_flex_alloc( sizeof( struct tao_yy_buffer_state ) ); - if ( ! b ) - TAO_YY_FATAL_ERROR( "out of dynamic memory in tao_yy_create_buffer()" ); - - b->tao_yy_buf_size = size; - - /* tao_yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->tao_yy_ch_buf = (char *) tao_yy_flex_alloc( b->tao_yy_buf_size + 2 ); - if ( ! b->tao_yy_ch_buf ) - TAO_YY_FATAL_ERROR( "out of dynamic memory in tao_yy_create_buffer()" ); - - b->tao_yy_is_our_buffer = 1; - - tao_yy_init_buffer( b, file ); - - return b; - } - - -#ifdef TAO_YY_USE_PROTOS -void tao_yy_delete_buffer( TAO_YY_BUFFER_STATE b ) -#else -void tao_yy_delete_buffer( b ) -TAO_YY_BUFFER_STATE b; -#endif - { - if ( ! b ) - return; - - if ( b == tao_yy_current_buffer ) - tao_yy_current_buffer = (TAO_YY_BUFFER_STATE) 0; - - if ( b->tao_yy_is_our_buffer ) - tao_yy_flex_free( (void *) b->tao_yy_ch_buf ); - - tao_yy_flex_free( (void *) b ); - } - - -#ifndef TAO_YY_ALWAYS_INTERACTIVE -#ifndef TAO_YY_NEVER_INTERACTIVE -extern int isatty TAO_YY_PROTO(( int )); -#endif -#endif - -#ifdef TAO_YY_USE_PROTOS -void tao_yy_init_buffer( TAO_YY_BUFFER_STATE b, FILE *file ) -#else -void tao_yy_init_buffer( b, file ) -TAO_YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - tao_yy_flush_buffer( b ); - - b->tao_yy_input_file = file; - b->tao_yy_fill_buffer = 1; - -#if TAO_YY_ALWAYS_INTERACTIVE - b->tao_yy_is_interactive = 1; -#else -#if TAO_YY_NEVER_INTERACTIVE - b->tao_yy_is_interactive = 0; -#else - b->tao_yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef TAO_YY_USE_PROTOS -void tao_yy_flush_buffer( TAO_YY_BUFFER_STATE b ) -#else -void tao_yy_flush_buffer( b ) -TAO_YY_BUFFER_STATE b; -#endif - - { - if ( ! b ) - return; - - b->tao_yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->tao_yy_ch_buf[0] = TAO_YY_END_OF_BUFFER_CHAR; - b->tao_yy_ch_buf[1] = TAO_YY_END_OF_BUFFER_CHAR; - - b->tao_yy_buf_pos = &b->tao_yy_ch_buf[0]; - - b->tao_yy_at_bol = 1; - b->tao_yy_buffer_status = TAO_YY_BUFFER_NEW; - - if ( b == tao_yy_current_buffer ) - tao_yy_load_buffer_state(); - } - - -#ifndef TAO_YY_NO_SCAN_BUFFER -#ifdef TAO_YY_USE_PROTOS -TAO_YY_BUFFER_STATE tao_yy_scan_buffer( char *base, tao_yy_size_t size ) -#else -TAO_YY_BUFFER_STATE tao_yy_scan_buffer( base, size ) -char *base; -tao_yy_size_t size; -#endif - { - TAO_YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != TAO_YY_END_OF_BUFFER_CHAR || - base[size-1] != TAO_YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (TAO_YY_BUFFER_STATE) tao_yy_flex_alloc( sizeof( struct tao_yy_buffer_state ) ); - if ( ! b ) - TAO_YY_FATAL_ERROR( "out of dynamic memory in tao_yy_scan_buffer()" ); - - b->tao_yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->tao_yy_buf_pos = b->tao_yy_ch_buf = base; - b->tao_yy_is_our_buffer = 0; - b->tao_yy_input_file = 0; - b->tao_yy_n_chars = b->tao_yy_buf_size; - b->tao_yy_is_interactive = 0; - b->tao_yy_at_bol = 1; - b->tao_yy_fill_buffer = 0; - b->tao_yy_buffer_status = TAO_YY_BUFFER_NEW; - - tao_yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef TAO_YY_NO_SCAN_STRING -#ifdef TAO_YY_USE_PROTOS -TAO_YY_BUFFER_STATE tao_yy_scan_string( tao_yyconst char *tao_yy_str ) -#else -TAO_YY_BUFFER_STATE tao_yy_scan_string( tao_yy_str ) -tao_yyconst char *tao_yy_str; -#endif - { - int len; - for ( len = 0; tao_yy_str[len]; ++len ) - ; - - return tao_yy_scan_bytes( tao_yy_str, len ); - } -#endif - - -#ifndef TAO_YY_NO_SCAN_BYTES -#ifdef TAO_YY_USE_PROTOS -TAO_YY_BUFFER_STATE tao_yy_scan_bytes( tao_yyconst char *bytes, int len ) -#else -TAO_YY_BUFFER_STATE tao_yy_scan_bytes( bytes, len ) -tao_yyconst char *bytes; -int len; -#endif - { - TAO_YY_BUFFER_STATE b; - char *buf; - tao_yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) tao_yy_flex_alloc( n ); - if ( ! buf ) - TAO_YY_FATAL_ERROR( "out of dynamic memory in tao_yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = TAO_YY_END_OF_BUFFER_CHAR; - - b = tao_yy_scan_buffer( buf, n ); - if ( ! b ) - TAO_YY_FATAL_ERROR( "bad buffer in tao_yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->tao_yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef TAO_YY_NO_PUSH_STATE -#ifdef TAO_YY_USE_PROTOS -static void tao_yy_push_state( int new_state ) -#else -static void tao_yy_push_state( new_state ) -int new_state; -#endif - { - if ( tao_yy_start_stack_ptr >= tao_yy_start_stack_depth ) - { - tao_yy_size_t new_size; - - tao_yy_start_stack_depth += TAO_YY_START_STACK_INCR; - new_size = tao_yy_start_stack_depth * sizeof( int ); - - if ( ! tao_yy_start_stack ) - tao_yy_start_stack = (int *) tao_yy_flex_alloc( new_size ); - - else - tao_yy_start_stack = (int *) tao_yy_flex_realloc( - (void *) tao_yy_start_stack, new_size ); - - if ( ! tao_yy_start_stack ) - TAO_YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - tao_yy_start_stack[tao_yy_start_stack_ptr++] = TAO_YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef TAO_YY_NO_POP_STATE -static void tao_yy_pop_state() - { - if ( --tao_yy_start_stack_ptr < 0 ) - TAO_YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(tao_yy_start_stack[tao_yy_start_stack_ptr]); - } -#endif - - -#ifndef TAO_YY_NO_TOP_STATE -static int tao_yy_top_state() - { - return tao_yy_start_stack[tao_yy_start_stack_ptr - 1]; - } -#endif - -#ifndef TAO_YY_EXIT_FAILURE -#define TAO_YY_EXIT_FAILURE 2 -#endif - -#ifdef TAO_YY_USE_PROTOS -static void tao_yy_fatal_error( tao_yyconst char msg[] ) -#else -static void tao_yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( TAO_YY_EXIT_FAILURE ); - } - - - -/* Redefine tao_yyless() so it works in section 3 code. */ - -#undef tao_yyless -#define tao_yyless(n) \ - do \ - { \ - /* Undo effects of setting up tao_yytext. */ \ - tao_yytext[tao_yyleng] = tao_yy_hold_char; \ - tao_yy_c_buf_p = tao_yytext + n; \ - tao_yy_hold_char = *tao_yy_c_buf_p; \ - *tao_yy_c_buf_p = '\0'; \ - tao_yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef tao_yytext_ptr -#ifdef TAO_YY_USE_PROTOS -static void tao_yy_flex_strncpy( char *s1, tao_yyconst char *s2, int n ) -#else -static void tao_yy_flex_strncpy( s1, s2, n ) -char *s1; -tao_yyconst char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - -#ifdef TAO_YY_NEED_STRLEN -#ifdef TAO_YY_USE_PROTOS -static int tao_yy_flex_strlen( tao_yyconst char *s ) -#else -static int tao_yy_flex_strlen( s ) -tao_yyconst char *s; -#endif - { - register int n; - for ( n = 0; s[n]; ++n ) - ; - - return n; - } -#endif - - -#ifdef TAO_YY_USE_PROTOS -static void *tao_yy_flex_alloc( tao_yy_size_t size ) -#else -static void *tao_yy_flex_alloc( size ) -tao_yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef TAO_YY_USE_PROTOS -static void *tao_yy_flex_realloc( void *ptr, tao_yy_size_t size ) -#else -static void *tao_yy_flex_realloc( ptr, size ) -void *ptr; -tao_yy_size_t size; -#endif - { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); - } - -#ifdef TAO_YY_USE_PROTOS -static void tao_yy_flex_free( void *ptr ) -#else -static void tao_yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#if TAO_YY_MAIN -int main() - { - tao_yylex(); - return 0; - } -#endif -#line 307 "fe/idl.ll" - - /* subroutines */ - -/* - * Strip down a name to the last component, i.e. everything after the last - * '/' character - */ -static char * -stripped_name(UTL_String *fn) -{ - char *n = fn->get_string(); - long l; - - if (n == NULL) - return NULL; - l = strlen(n); - for (n += l; l > 0 && *n != '/'; l--, n--); - if (*n == '/') n++; - return n; -} - -/* - * Parse a #line statement generated by the C preprocessor - */ -static void -idl_parse_line_and_file(char *buf) -{ - char *r = buf; - char *h; - UTL_String *nm; - - /* Skip initial '#' */ - if (*r != '#') - return; - else - r++; - - /* Check to see if we're running under the screwy Microsoft scheme */ - /* of putting #line num instead of #num. */ - - if (ACE_OS::strncmp (r, "line", 4) == 0) - r += 5; - - /* Find line number */ - while (*r == ' ' || *r == '\t') - r++; - h = r; - for (; *r != '\0' && *r != ' ' && *r != '\t'; r++) - continue; - *r++ = 0; - idl_global->set_lineno(idl_atoui(h, 10)); - - /* Find file name, if present */ - for (; *r != '"'; r++) - if (*r == '\n' || *r == '\0') - return; - - h = ++r; - for (; *r != '"'; r++) - continue; - *r = 0; - if (*h == '\0') - idl_global->set_filename(new UTL_String("standard input")); - else - { - long i; - long j; - - // Put Microsoft-style pathnames into a canonical form. - for (i = 0, j = 0; h[j] != '\0'; i++, j++) - { - if (h[j] == '\\' && h[j + 1] == '\\') - j++; - - h[i] = h[j]; - } - h[i] = '\0'; - idl_global->set_filename(new UTL_String(h)); - } - int in_main_file = I_FALSE; - if (idl_global->filename()->compare(idl_global->real_filename()) - || idl_global->filename()->compare(idl_global->main_filename())) - in_main_file = I_TRUE; - idl_global->set_in_main_file(in_main_file); - /* - * If it's an import file store the stripped name for the BE to use - */ - if (!(idl_global->in_main_file()) && idl_global->import()) { - nm = new UTL_String(stripped_name(idl_global->filename())); - idl_global->store_include_file_name(nm); - } -} - -/* - * Store a #pragma line into the list of pragmas - */ -static void -idl_store_pragma(char *buf) -{ - char *sp = buf + 1; - // Remove all the blanks between the '#' and the 'pragma' - if (*sp != 'p') - { - while (*sp != 'p') - ++sp; - char *tp = buf + 1; - while (*sp != '\n') - { - *tp = *sp; - ++tp; ++sp; - } - } - - if (ACE_OS::strstr(buf + 8, "import") != 0) { - idl_global->set_import(I_TRUE); - return; - } - if (ACE_OS::strstr(buf + 8, "include") != 0) { - idl_global->set_import(I_FALSE); - return; - } - // Remove the final '\n' - while (*sp != '\n') - ++sp; - *sp = '\0'; - UTL_StrList *p = idl_global->pragmas(); - if (p == NULL) - idl_global->set_pragmas(new UTL_StrList(new UTL_String(buf), NULL)); - else { - p->nconc(new UTL_StrList(new UTL_String(buf), NULL)); - idl_global->set_pragmas(p); - } -} - -/* - * idl_atoi - Convert a string of digits into a negative integer according to base b - */ -static long -idl_atoi(char *s, long b) -{ - long r = 0; - s++; - - if (b == 8 && *s == '0') - s++; - else if (b == 16 && *s == '0' && (*(s + 1) == 'x' || *(s + 1) == 'X')) - s += 2; - - for (; *s; s++) - if (*s <= '9' && *s >= '0') - r = (r * b) + (*s - '0'); - else if (b > 10 && *s <= 'f' && *s >= 'a') - r = (r * b) + (*s - 'a' + 10); - else if (b > 10 && *s <= 'F' && *s >= 'A') - r = (r * b) + (*s - 'A' + 10); - else - break; - - return -r; -} - -/* - * idl_atoui - Convert a string of digits into an unsigned integer according to base b - */ -static unsigned long -idl_atoui(char *s, long b) -{ - long r = 0; - - if (b == 8 && *s == '0') - s++; - else if (b == 16 && *s == '0' && (*(s + 1) == 'x' || *(s + 1) == 'X')) - s += 2; - - for (; *s; s++) - if (*s <= '9' && *s >= '0') - r = (r * b) + (*s - '0'); - else if (b > 10 && *s <= 'f' && *s >= 'a') - r = (r * b) + (*s - 'a' + 10); - else if (b > 10 && *s <= 'F' && *s >= 'A') - r = (r * b) + (*s - 'A' + 10); - else - break; - - return r; -} - -/* - * Convert a string to a float; atof doesn't seem to work, always. - */ -static double -idl_atof(char *s) -{ - char *h = s; - double d = 0.0; - double f = 0.0; - double e, k; - long neg = 0, negexp = 0; - - ACE_UNUSED_ARG (f); - ACE_UNUSED_ARG (h); - - if (*s == '-') { - neg = 1; - s++; - } - while (*s >= '0' && *s <= '9') { - d = (d * 10) + *s - '0'; - s++; - } - if (*s == '.') { - s++; - e = 10; - while (*s >= '0' && *s <= '9') { - d += (*s - '0') / (e * 1.0); - e *= 10; - s++; - } - } - if (*s == 'e' || *s == 'E') { - s++; - if (*s == '-') { - negexp = 1; - s++; - } else if (*s == '+') - s++; - e = 0; - while (*s >= '0' && *s <= '9') { - e = (e * 10) + *s - '0'; - s++; - } - if (e > 0) { - for (k = 1; e > 0; k *= 10, e--); - if (negexp) - d /= k; - else - d *= k; - } - } - - if (neg) d *= -1.0; - - return d; -} - -/* - * Convert (some) escaped characters into their ascii values - */ -static char -idl_escape_reader( - char *str -) -{ - if (str[0] != '\\') { - return str[0]; - } - - switch (str[1]) { - case 'n': - return '\n'; - case 't': - return '\t'; - case 'v': - return '\v'; - case 'b': - return '\b'; - case 'r': - return '\r'; - case 'f': - return '\f'; - case 'a': - return '\a'; - case '\\': - return '\\'; - case '\?': - return '?'; - case '\'': - return '\''; - case '"': - return '"'; - case 'x': - { - int i; - // hex value - for (i = 2; str[i] != '\0' && isxdigit(str[i]); i++) { - continue; - } - char save = str[i]; - str[i] = '\0'; - char out = (char)idl_atoui(&str[2], 16); - str[i] = save; - return out; - } - ACE_NOTREACHED (break;) - default: - // check for octal value - if (str[1] >= '0' && str[1] <= '7') { - int i; - for (i = 1; str[i] >= '0' && str[i] <= '7'; i++) { - continue; - } - char save = str[i]; - str[i] = '\0'; - char out = (char)idl_atoui(&str[1], 8); - str[i] = save; - return out; - } else { - return str[1] - 'a'; - } - ACE_NOTREACHED (break;) - } -} diff --git a/TAO/TAO_IDL/fe/lex.yy.cpp.diff b/TAO/TAO_IDL/fe/lex.yy.cpp.diff deleted file mode 100644 index 89544d77dde..00000000000 --- a/TAO/TAO_IDL/fe/lex.yy.cpp.diff +++ /dev/null @@ -1,101 +0,0 @@ ---- lex.yy.cpp Sat Jul 3 18:55:03 1999 -+++ lex.yy.cpp.new Sat Jul 3 18:52:58 1999 -@@ -927,7 +927,7 @@ - - /* Code executed at the end of each rule. */ - #ifndef TAO_YY_BREAK --#define TAO_YY_BREAK break; -+#define TAO_YY_BREAK ACE_NOTREACHED (break;) - #endif - - #define TAO_YY_RULE_SETUP \ -@@ -939,7 +939,7 @@ - TAO_YY_DECL - { - register tao_yy_state_type tao_yy_current_state; -- register char *tao_yy_cp, *tao_yy_bp; -+ register char *tao_yy_cp = 0, *tao_yy_bp = 0; - register int tao_yy_act; - - #line 124 "fe/idl.ll" -@@ -1405,7 +1405,7 @@ - idl_global->set_lineno(idl_global->lineno() + 1); - idl_store_pragma(ace_tao_yytext); - } -- TAO_YY_BREAK -+ break; - case 64: - #line 263 "fe/idl.ll" - case 65: -@@ -1414,7 +1414,7 @@ - { - idl_parse_line_and_file(ace_tao_yytext); - } -- TAO_YY_BREAK -+ break; - case 66: - #line 267 "fe/idl.ll" - case 67: -@@ -1423,7 +1423,7 @@ - { - idl_parse_line_and_file(ace_tao_yytext); - } -- TAO_YY_BREAK -+ break; - case 68: - #line 271 "fe/idl.ll" - case 69: -@@ -1432,7 +1432,7 @@ - { - idl_parse_line_and_file(ace_tao_yytext); - } -- TAO_YY_BREAK -+ break; - case 70: - #line 275 "fe/idl.ll" - case 71: -@@ -1441,7 +1441,7 @@ - { - idl_parse_line_and_file(ace_tao_yytext); - } -- TAO_YY_BREAK -+ break; - case 72: - #line 279 "fe/idl.ll" - case 73: -@@ -1451,7 +1451,7 @@ - /* ignore cpp ident */ - idl_global->set_lineno(idl_global->lineno() + 1); - } -- TAO_YY_BREAK -+ break; - case 74: - TAO_YY_RULE_SETUP - #line 283 "fe/idl.ll" -@@ -1459,7 +1459,7 @@ - /* ignore comments */ - idl_global->set_lineno(idl_global->lineno() + 1); - } -- TAO_YY_BREAK -+ break; - case 75: - TAO_YY_RULE_SETUP - #line 287 "fe/idl.ll" -@@ -1477,7 +1477,7 @@ - } - } - } -- TAO_YY_BREAK -+ break; - case 76: - TAO_YY_RULE_SETUP - #line 301 "fe/idl.ll" -@@ -1489,7 +1489,7 @@ - { - idl_global->set_lineno(idl_global->lineno() + 1); - } -- TAO_YY_BREAK -+ break; - case 78: - TAO_YY_RULE_SETUP - #line 305 "fe/idl.ll" diff --git a/TAO/TAO_IDL/fe/y.tab.cpp b/TAO/TAO_IDL/fe/y.tab.cpp deleted file mode 100644 index 490deb3bb16..00000000000 --- a/TAO/TAO_IDL/fe/y.tab.cpp +++ /dev/null @@ -1,3691 +0,0 @@ -// $Id$ -#ifndef lint -char tao_yysccsid[] = "@(#)yaccpar 1.4 (Berkeley) 02/25/90 \n\ - Modified 5/2/90 by J. Roskind to support graphic debugging modes"; -#endif -#line 74 "fe/idl.tao_yy" -#include "idl.h" -#include "idl_extern.h" -#include "fe_private.h" -#include - -#if (defined(apollo) || defined(hpux)) && defined(__cplusplus) -extern "C" int tao_yywrap(); -#endif /* (defined(apollo) || defined(hpux)) && defined(__cplusplus)*/ - -void tao_yyerror (const char *); -int tao_yylex (void); -extern "C" int tao_yywrap (void); -extern char tao_yytext[]; -extern int tao_yyleng; -#define TAO_YYDEBUG_LEXER_TEXT (tao_yytext[tao_yyleng] = '\0', tao_yytext) -/* Force the pretty debugging code to compile.*/ -#define TAO_YYDEBUG 1 -#line 97 "fe/idl.tao_yy" -typedef union { - AST_Decl *dcval; /* Decl value */ - UTL_StrList *slval; /* String list */ - UTL_NameList *nlval; /* Name list */ - UTL_ExprList *elval; /* Expression list */ - UTL_LabelList *llval; /* Label list */ - UTL_DeclList *dlval; /* Declaration list */ - FE_InterfaceHeader *ihval; /* Interface header */ - FE_obv_header *vhval; /* Valuetype header */ - AST_Expression *exval; /* Expression value */ - AST_UnionLabel *ulval; /* Union label */ - AST_Field *ffval; /* Field value */ - AST_Field::Visibility vival; /* N/A, pub or priv */ - AST_Expression::ExprType etval; /* Expression type */ - AST_Argument::Direction dival; /* Argument direction */ - AST_Operation::Flags ofval; /* Operation flags */ - FE_Declarator *deval; /* Declarator value */ - idl_bool bval; /* Boolean value */ - long ival; /* Long value */ - unsigned long uival; /* Unsigned long value */ - double dval; /* Double value */ - float fval; /* Float value */ - char cval; /* Char value */ - - UTL_String *sval; /* String value */ - char *strval; /* char * value */ - Identifier *idval; /* Identifier */ - UTL_IdList *idlist; /* Identifier list */ -} TAO_YYSTYPE; -#line 54 "y.tab.cpp" -#define IDENTIFIER 257 -#define IDL_CONST 258 -#define IDL_MODULE 259 -#define IDL_INTERFACE 260 -#define IDL_TYPEDEF 261 -#define IDL_LONG 262 -#define IDL_SHORT 263 -#define IDL_UNSIGNED 264 -#define IDL_DOUBLE 265 -#define IDL_FLOAT 266 -#define IDL_CHAR 267 -#define IDL_WCHAR 268 -#define IDL_OCTET 269 -#define IDL_BOOLEAN 270 -#define IDL_ANY 271 -#define IDL_STRUCT 272 -#define IDL_UNION 273 -#define IDL_SWITCH 274 -#define IDL_ENUM 275 -#define IDL_SEQUENCE 276 -#define IDL_STRING 277 -#define IDL_WSTRING 278 -#define IDL_EXCEPTION 279 -#define IDL_CASE 280 -#define IDL_DEFAULT 281 -#define IDL_READONLY 282 -#define IDL_ATTRIBUTE 283 -#define IDL_ONEWAY 284 -#define IDL_IDEMPOTENT 285 -#define IDL_VOID 286 -#define IDL_IN 287 -#define IDL_OUT 288 -#define IDL_INOUT 289 -#define IDL_RAISES 290 -#define IDL_CONTEXT 291 -#define IDL_NATIVE 292 -#define IDL_ABSTRACT 293 -#define IDL_CUSTOM 294 -#define IDL_INIT 295 -#define IDL_PRIVATE 296 -#define IDL_PUBLIC 297 -#define IDL_SUPPORTS 298 -#define IDL_TRUNCATABLE 299 -#define IDL_VALUETYPE 300 -#define IDL_INTEGER_LITERAL 301 -#define IDL_UINTEGER_LITERAL 302 -#define IDL_STRING_LITERAL 303 -#define IDL_CHARACTER_LITERAL 304 -#define IDL_FLOATING_PT_LITERAL 305 -#define IDL_TRUETOK 306 -#define IDL_FALSETOK 307 -#define IDL_SCOPE_DELIMITOR 308 -#define IDL_LEFT_SHIFT 309 -#define IDL_RIGHT_SHIFT 310 -#define TAO_YYERRCODE 256 -short tao_yylhs[] = { -1, - 0, 71, 71, 73, 72, 75, 72, 77, 72, 79, - 72, 81, 72, 83, 72, 84, 72, 85, 86, 87, - 88, 80, 78, 78, 91, 93, 94, 89, 95, 67, - 33, 96, 22, 22, 82, 82, 82, 82, 97, 97, - 102, 104, 105, 101, 106, 107, 108, 98, 34, 109, - 68, 66, 66, 24, 24, 99, 99, 100, 103, 103, - 110, 110, 110, 115, 111, 116, 111, 92, 92, 117, - 112, 118, 112, 119, 112, 121, 112, 123, 112, 124, - 112, 20, 125, 21, 21, 16, 126, 16, 127, 16, - 69, 90, 128, 129, 130, 131, 74, 50, 50, 50, - 50, 50, 50, 50, 50, 35, 36, 37, 37, 38, - 38, 39, 39, 40, 40, 40, 41, 41, 41, 42, - 42, 42, 42, 43, 43, 43, 43, 44, 44, 44, - 45, 45, 45, 45, 45, 45, 45, 46, 133, 70, - 70, 70, 70, 70, 134, 132, 1, 1, 2, 2, - 2, 58, 58, 58, 58, 58, 58, 4, 4, 4, - 3, 3, 3, 29, 135, 30, 30, 62, 62, 31, - 136, 32, 32, 63, 64, 51, 51, 56, 56, 56, - 57, 57, 57, 54, 54, 54, 52, 52, 59, 53, - 55, 137, 138, 140, 141, 7, 139, 143, 143, 144, - 142, 145, 146, 114, 147, 114, 148, 149, 150, 151, - 152, 153, 155, 156, 10, 9, 9, 9, 9, 9, - 9, 154, 158, 158, 159, 160, 157, 161, 157, 27, - 28, 28, 162, 48, 163, 164, 48, 165, 49, 166, - 167, 169, 170, 8, 168, 173, 172, 172, 171, 174, - 175, 5, 5, 176, 177, 13, 179, 180, 6, 6, - 178, 182, 183, 14, 14, 181, 184, 11, 25, 26, - 26, 185, 186, 47, 187, 188, 120, 65, 65, 189, - 190, 191, 192, 76, 193, 195, 196, 197, 122, 61, - 61, 61, 12, 12, 113, 198, 194, 200, 194, 199, - 203, 202, 202, 204, 205, 201, 15, 15, 15, 60, - 60, 60, 206, 207, 23, 23, 208, 209, 17, 17, - 18, 210, 19, 19, -}; -short tao_yylen[] = { 2, - 1, 2, 0, 0, 3, 0, 3, 0, 3, 0, - 3, 0, 3, 0, 3, 0, 3, 0, 0, 0, - 0, 9, 1, 1, 0, 0, 0, 7, 0, 3, - 2, 0, 3, 0, 1, 1, 1, 1, 2, 1, - 0, 0, 0, 7, 0, 0, 0, 8, 4, 0, - 3, 1, 0, 2, 0, 2, 1, 2, 2, 0, - 1, 1, 1, 0, 3, 0, 3, 2, 0, 0, - 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, - 3, 2, 0, 4, 0, 1, 0, 3, 0, 4, - 1, 1, 0, 0, 0, 0, 9, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, - 3, 1, 3, 1, 3, 3, 1, 3, 3, 1, - 3, 3, 3, 1, 2, 2, 2, 1, 1, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 0, 3, - 1, 1, 1, 2, 0, 3, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 2, 0, 4, 0, 1, 1, 2, - 0, 4, 0, 1, 1, 1, 1, 1, 2, 1, - 2, 3, 2, 1, 1, 2, 1, 1, 1, 1, - 1, 0, 0, 0, 0, 9, 2, 2, 0, 0, - 2, 0, 0, 5, 0, 3, 0, 0, 0, 0, - 0, 0, 0, 0, 17, 1, 1, 1, 1, 1, - 1, 2, 2, 0, 0, 0, 5, 0, 3, 2, - 2, 0, 0, 3, 0, 0, 5, 0, 3, 0, - 0, 0, 0, 9, 2, 0, 4, 0, 1, 0, - 0, 6, 2, 0, 0, 5, 0, 0, 6, 1, - 1, 0, 0, 6, 1, 1, 0, 3, 2, 2, - 0, 0, 0, 5, 0, 0, 6, 1, 0, 0, - 0, 0, 0, 9, 0, 0, 0, 0, 10, 1, - 1, 0, 1, 1, 1, 0, 3, 0, 4, 2, - 0, 4, 0, 0, 0, 5, 1, 1, 1, 1, - 1, 1, 0, 0, 6, 0, 0, 0, 6, 0, - 2, 0, 4, 0, -}; -short tao_yydefred[] = { 0, - 16, 93, 18, 29, 139, 192, 207, 240, 280, 0, - 0, 0, 50, 0, 141, 143, 142, 25, 41, 0, - 0, 4, 1, 0, 6, 8, 10, 12, 14, 23, - 24, 35, 36, 37, 38, 40, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 91, 144, 174, 45, 0, - 0, 39, 0, 0, 0, 32, 31, 0, 180, 0, - 184, 185, 187, 188, 189, 190, 191, 254, 261, 266, - 52, 87, 58, 147, 148, 150, 158, 159, 161, 163, - 162, 0, 160, 0, 152, 154, 155, 153, 157, 176, - 177, 149, 156, 0, 86, 0, 0, 0, 2, 0, - 0, 0, 0, 0, 17, 103, 104, 0, 94, 98, - 99, 101, 102, 100, 19, 30, 145, 140, 193, 208, - 241, 281, 0, 51, 26, 42, 0, 179, 186, 0, - 183, 0, 0, 250, 253, 89, 0, 257, 262, 5, - 7, 9, 11, 13, 15, 0, 0, 0, 0, 0, - 0, 0, 46, 69, 60, 0, 33, 182, 255, 88, - 0, 0, 0, 49, 0, 0, 95, 20, 175, 146, - 167, 168, 169, 0, 194, 209, 242, 282, 69, 0, - 0, 0, 0, 131, 132, 133, 134, 135, 136, 137, - 0, 0, 0, 0, 0, 138, 0, 0, 0, 0, - 0, 0, 120, 124, 129, 251, 90, 0, 258, 263, - 0, 0, 0, 0, 200, 0, 0, 199, 0, 80, - 278, 290, 291, 0, 0, 70, 72, 74, 0, 68, - 76, 78, 295, 66, 64, 0, 59, 61, 62, 63, - 83, 256, 125, 126, 127, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, - 21, 165, 272, 268, 271, 195, 199, 0, 210, 249, - 243, 248, 0, 0, 0, 294, 308, 285, 293, 0, - 307, 275, 0, 0, 0, 28, 0, 0, 0, 0, - 44, 0, 130, 0, 0, 0, 0, 0, 0, 0, - 121, 122, 123, 252, 259, 264, 0, 0, 0, 0, - 0, 0, 0, 205, 202, 201, 0, 0, 0, 198, - 0, 48, 81, 0, 0, 71, 73, 75, 77, 79, - 67, 65, 0, 97, 106, 22, 166, 273, 270, 196, - 0, 0, 0, 220, 211, 0, 216, 217, 219, 218, - 244, 246, 284, 286, 276, 0, 206, 203, 0, 0, - 0, 0, 274, 0, 212, 247, 0, 287, 277, 173, - 204, 0, 0, 0, 0, 0, 213, 297, 310, 311, - 312, 304, 0, 303, 313, 288, 171, 0, 0, 299, - 0, 0, 0, 0, 228, 235, 233, 225, 232, 214, - 224, 305, 301, 314, 317, 289, 172, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 229, 236, - 234, 238, 226, 231, 215, 223, 306, 302, 0, 318, - 0, 0, 0, 315, 0, 237, 239, 227, 324, 0, - 0, 319, 322, 0, 323, -}; -short tao_yydgoto[] = { 14, - 315, 74, 75, 76, 77, 78, 15, 16, 345, 17, - 169, 278, 82, 83, 279, 195, 406, 440, 441, 157, - 182, 57, 386, 164, 264, 311, 398, 412, 170, 213, - 369, 376, 18, 19, 334, 196, 197, 198, 199, 200, - 201, 202, 203, 204, 205, 206, 265, 399, 423, 109, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 382, - 224, 171, 172, 173, 225, 94, 20, 21, 95, 22, - 23, 24, 98, 25, 100, 26, 101, 27, 102, 28, - 103, 29, 104, 37, 39, 147, 212, 308, 30, 31, - 54, 180, 154, 229, 40, 127, 32, 33, 34, 35, - 36, 55, 181, 155, 236, 123, 179, 274, 53, 237, - 238, 230, 240, 316, 290, 289, 283, 284, 285, 231, - 287, 232, 288, 275, 292, 133, 162, 38, 146, 211, - 307, 118, 41, 148, 309, 394, 42, 149, 266, 215, - 312, 320, 273, 268, 342, 364, 341, 43, 150, 216, - 317, 359, 372, 400, 388, 413, 401, 414, 411, 433, - 408, 410, 409, 431, 432, 44, 151, 271, 217, 318, - 272, 319, 360, 161, 257, 132, 183, 96, 165, 258, - 97, 166, 259, 214, 310, 356, 325, 362, 45, 152, - 218, 321, 324, 368, 361, 375, 393, 373, 383, 374, - 384, 391, 416, 389, 415, 392, 417, 418, 435, 444, -}; -short tao_yysindex[] = { 526, - 0, 0, 0, 0, 0, 0, 0, 0, 0, -234, - -269, -269, 0, 0, 0, 0, 0, 0, 0, 41, - 359, 0, 0, 526, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 43, 489, -143, -234, - 376, -234, -234, -234, -234, 0, 0, 0, 0, -183, - -183, 0, -234, -1, 14, 0, 0, -223, 0, -203, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 20, 0, -174, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 41, 0, 85, 117, 121, 0, 128, - 130, 142, 146, 147, 0, 0, 0, -174, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 86, 0, 0, 0, -228, 0, 0, -42, - 0, 155, -234, 0, 0, 0, -77, 0, 0, 0, - 0, 0, 0, 0, 0, -234, 106, -234, 116, -48, - 119, 120, 0, 0, 0, -174, 0, 0, 0, 0, - 72, -234, -228, 0, 72, 72, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 580, - 550, 186, 440, 0, 0, 0, 0, 0, 0, 0, - 35, 35, 35, 72, -174, 0, 133, 160, 220, -238, - 12, 209, 0, 0, 0, 0, 0, -174, 0, 0, - 201, 526, 231, 173, 0, 239, 23, 0, 580, 0, - 0, 0, 0, 457, 4, 0, 0, 0, 171, 0, - 0, 0, 0, 0, 0, 175, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 250, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 241, 242, 244, 0, - 0, 0, 0, 0, 0, 0, 0, 342, 0, 0, - 0, 0, 0, 189, 259, 0, 0, 0, 0, -174, - 0, 0, 266, 271, 272, 0, 274, 288, 342, 342, - 0, -228, 0, 160, 220, -238, 12, 12, 209, 209, - 0, 0, 0, 0, 0, 0, 72, 202, -234, 72, - 173, 223, 0, 0, 0, 0, 407, 224, 309, 0, - 229, 0, 0, 99, 506, 0, 0, 0, 0, 0, - 0, 0, -174, 0, 0, 0, 0, 0, 0, 0, - 299, -234, 97, 0, 0, -174, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 267, 0, 0, 320, 23, - 322, -234, 0, 304, 0, 0, 0, 0, 0, 0, - 0, 243, 324, -197, 77, 338, 0, 0, 0, 0, - 0, 0, 327, 0, 0, 0, 0, -155, 506, 0, - 341, 346, 105, -234, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 329, 72, 332, - 376, -195, 269, -155, -234, -197, -228, 360, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 358, 0, - 343, -234, 344, 0, 101, 0, 0, 0, 0, 361, - 363, 0, 0, 108, 0, -}; -short tao_yyrindex[] = { 408, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, -12, - 9, 0, 0, 17, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, - -45, 0, 0, 0, 0, 0, 0, 107, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 113, 0, 0, 0, 0, 0, 0, - 0, 0, 0, -108, 0, 126, 132, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 153, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 69, - 0, 0, 0, 0, 0, 0, 286, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, -30, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 191, 0, 0, 0, 0, 0, 219, - 268, 10, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 3, 0, 152, 154, 166, 257, - 25, 11, 0, 0, 0, 0, 0, 291, 0, 0, - 0, 290, 357, 0, 0, 0, 0, 0, 295, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 169, 0, 0, 0, 0, 0, 0, 164, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 178, 462, 453, 62, 109, 36, 103, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 190, 0, 192, 0, 0, 0, 0, 0, 292, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, -17, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 382, 0, 0, 383, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, -22, 0, 0, 0, - 0, 0, 0, 0, -47, 368, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 387, 0, 370, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 423, 0, 305, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 402, 0, 0, 0, 0, -}; -short tao_yygindex[] = { 0, - -19, 270, 0, 0, 0, -32, -13, -16, 0, -5, - 0, 0, 0, 412, -249, -20, 0, 0, 0, 34, - 0, 372, 0, 0, 0, 0, 0, 0, 110, 0, - 0, 0, 0, 460, 0, -168, 0, 225, 226, 230, - -142, -94, 55, 131, 0, -128, 167, 61, 0, 0, - -34, -31, -29, 437, 0, 0, 0, -171, -28, 0, - 0, -251, -7, 0, 0, 0, 0, 162, -10, -2, - -4, 0, 0, 19, 0, 42, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 301, 0, 0, 0, 0, 0, 0, 0, 0, - 480, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 312, 0, -106, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 280, 232, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 83, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 138, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, -}; -#define TAO_YYTABLESIZE 872 -short tao_yytable[] = { 48, - 84, 73, 47, 110, 80, 106, 111, 79, 112, 114, - 85, 316, 53, 85, 34, 81, 3, 108, 296, 99, - 84, 117, 46, 84, 80, 246, 84, 79, 46, 116, - 13, 119, 120, 121, 122, 81, 209, 210, 128, 128, - 128, 129, 124, 128, 128, 128, 92, 128, 117, 128, - 82, 117, 281, 117, 252, 117, 253, 337, 130, 131, - 128, 128, 114, 134, 128, 114, 53, 57, 117, 117, - 250, 251, 117, 118, 194, 355, 118, 53, 118, 72, - 118, 135, 114, 114, 396, 397, 114, 53, 56, 379, - 380, 381, 85, 118, 118, 128, 128, 118, 56, 115, - 395, 105, 115, 117, 117, 84, 156, 297, 298, 181, - 34, 194, 181, 115, 191, 71, 192, 114, 114, 115, - 115, 125, 160, 115, 396, 397, 128, 181, 118, 118, - 181, 53, 82, 136, 117, 167, 126, 174, 335, 402, - 119, 3, 208, 119, 138, 119, 116, 119, 114, 116, - 178, 207, 53, 281, 115, 115, 151, 299, 300, 118, - 119, 119, 84, 427, 119, 178, 116, 116, 178, 260, - 116, 151, 50, 51, 151, 265, 139, 226, 226, 140, - 437, 338, 331, 332, 260, 115, 141, 260, 142, 34, - 265, 277, 107, 265, 108, 119, 119, 193, 227, 227, - 143, 116, 116, 280, 144, 145, 110, 261, 153, 107, - 107, 108, 108, 107, 159, 108, 226, 281, 109, 158, - 163, 228, 228, 110, 110, 176, 119, 110, 168, 241, - 269, 174, 116, 269, 174, 109, 109, 227, 175, 109, - 420, 177, 178, 316, 107, 256, 108, 84, 269, 174, - 254, 80, 53, 248, 79, 255, 247, 249, 110, 110, - 228, 260, 81, 263, 298, 298, 298, 85, 84, 84, - 109, 333, 80, 80, 262, 79, 79, 108, 269, 270, - 84, 267, 347, 81, 81, 348, 282, 349, 350, 110, - 293, 46, 277, 283, 112, 286, 346, 112, 174, 291, - 344, 109, 304, 305, 280, 306, 53, 82, 301, 302, - 303, 128, 128, 322, 112, 112, 197, 323, 112, 117, - 117, 243, 244, 245, 326, 181, 336, 53, 46, 327, - 328, 174, 329, 114, 114, 184, 185, 186, 187, 188, - 189, 190, 72, 27, 118, 118, 330, 340, 351, 112, - 112, 48, 352, 353, 370, 354, 277, 357, 128, 363, - 365, 367, 371, 178, 378, 377, 385, 390, 280, 151, - 115, 115, 184, 185, 186, 187, 188, 189, 190, 72, - 112, 387, 260, 48, 403, 404, 407, 419, 265, 421, - 84, 422, 43, 425, 80, 405, 156, 79, 434, 430, - 436, 442, 438, 439, 174, 81, 443, 3, 55, 105, - 445, 119, 119, 54, 3, 164, 245, 116, 116, 47, - 309, 174, 178, 221, 200, 200, 170, 300, 320, 222, - 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, - 200, 200, 321, 200, 200, 200, 200, 200, 200, 107, - 429, 358, 242, 200, 200, 200, 200, 200, 200, 200, - 200, 200, 200, 200, 200, 137, 200, 200, 200, 200, - 49, 294, 424, 295, 113, 292, 200, 339, 296, 219, - 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, - 113, 52, 239, 113, 267, 292, 426, 366, 313, 200, - 0, 279, 111, 428, 292, 0, 0, 0, 0, 0, - 113, 113, 0, 0, 113, 0, 0, 0, 0, 111, - 111, 0, 0, 111, 292, 0, 292, 0, 0, 292, - 292, 292, 292, 292, 292, 292, 292, 292, 292, 0, - 0, 0, 0, 0, 292, 113, 113, 0, 0, 0, - 279, 292, 0, 292, 111, 111, 292, 292, 292, 292, - 292, 292, 292, 292, 292, 292, 0, 0, 0, 0, - 0, 292, 0, 0, 0, 292, 113, 279, 0, 0, - 292, 0, 0, 0, 0, 111, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 314, 46, 0, - 0, 0, 292, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 6, 7, 46, 8, 68, 69, 70, - 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, - 6, 7, 46, 8, 68, 69, 70, 58, 59, 60, - 61, 62, 63, 64, 65, 66, 67, 6, 7, 72, - 8, 68, 69, 70, 0, 0, 0, 71, 0, 0, - 0, 0, 0, 46, 0, 0, 72, 0, 343, 59, - 60, 0, 0, 63, 64, 65, 66, 0, 0, 230, - 0, 8, 0, 72, 230, 230, 230, 230, 230, 230, - 230, 230, 230, 230, 230, 230, 46, 230, 230, 230, - 230, 58, 59, 60, 61, 62, 63, 64, 65, 66, - 67, 0, 0, 46, 72, 68, 69, 70, 58, 59, - 60, 61, 62, 63, 64, 65, 66, 67, 0, 0, - 230, 0, 0, 69, 0, 0, 0, 0, 0, 0, - 0, 0, 276, 0, 0, 46, 0, 72, 0, 0, - 58, 59, 60, 61, 62, 63, 64, 65, 66, 0, - 0, 0, 46, 0, 72, 69, 70, 58, 59, 60, - 61, 62, 63, 64, 65, 66, 67, 0, 0, 0, - 0, 1, 69, 2, 3, 4, 5, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 72, 6, 7, 0, - 8, 0, 0, 0, 9, 220, 0, 2, 0, 0, - 5, 0, 0, 72, 0, 0, 0, 10, 11, 12, - 0, 6, 7, 0, 8, 13, 0, 0, 9, 0, - 0, 221, 0, 222, 223, 220, 0, 2, 0, 0, - 5, 10, 0, 0, 233, 234, 235, 0, 0, 0, - 0, 6, 7, 0, 8, 0, 0, 0, 9, 0, - 0, 221, 0, 222, 223, 0, 0, 0, 0, 0, - 0, 10, -}; -short tao_yycheck[] = { 10, - 21, 21, 10, 38, 21, 38, 38, 21, 38, 38, - 41, 59, 58, 44, 123, 21, 0, 38, 41, 24, - 41, 41, 257, 41, 41, 194, 44, 41, 257, 40, - 300, 42, 43, 44, 45, 41, 165, 166, 262, 37, - 38, 265, 53, 41, 42, 43, 59, 45, 38, 47, - 41, 41, 224, 43, 43, 45, 45, 309, 262, 263, - 58, 59, 38, 44, 62, 41, 58, 59, 58, 59, - 309, 310, 62, 38, 40, 325, 41, 123, 43, 308, - 45, 62, 58, 59, 280, 281, 62, 58, 59, 287, - 288, 289, 123, 58, 59, 93, 94, 62, 58, 38, - 256, 59, 41, 93, 94, 123, 127, 250, 251, 41, - 123, 40, 44, 257, 43, 299, 45, 93, 94, 58, - 59, 123, 133, 62, 280, 281, 124, 59, 93, 94, - 62, 123, 123, 308, 124, 146, 123, 148, 307, 389, - 38, 125, 163, 41, 60, 43, 38, 45, 124, 41, - 44, 162, 123, 325, 93, 94, 44, 252, 253, 124, - 58, 59, 183, 415, 62, 59, 58, 59, 62, 44, - 62, 59, 11, 12, 62, 44, 60, 180, 181, 59, - 432, 310, 289, 290, 59, 124, 59, 62, 59, 298, - 59, 224, 41, 62, 41, 93, 94, 126, 180, 181, - 59, 93, 94, 224, 59, 59, 41, 212, 123, 58, - 59, 58, 59, 62, 60, 62, 219, 389, 41, 262, - 298, 180, 181, 58, 59, 274, 124, 62, 123, 44, - 41, 41, 124, 44, 44, 58, 59, 219, 123, 62, - 409, 123, 123, 291, 93, 37, 93, 268, 59, 59, - 42, 268, 298, 94, 268, 47, 124, 38, 93, 94, - 219, 61, 268, 91, 287, 288, 289, 298, 289, 290, - 93, 292, 289, 290, 44, 289, 290, 124, 40, 257, - 298, 91, 317, 289, 290, 317, 283, 317, 317, 124, - 41, 257, 325, 125, 38, 125, 317, 41, 309, 125, - 317, 124, 62, 62, 325, 62, 298, 298, 254, 255, - 256, 309, 310, 125, 58, 59, 125, 59, 62, 309, - 310, 191, 192, 193, 59, 257, 125, 298, 257, 59, - 59, 342, 59, 309, 310, 301, 302, 303, 304, 305, - 306, 307, 308, 125, 309, 310, 59, 125, 125, 93, - 94, 362, 44, 125, 362, 257, 389, 59, 262, 93, - 41, 40, 59, 257, 41, 123, 290, 41, 389, 257, - 309, 310, 301, 302, 303, 304, 305, 306, 307, 308, - 124, 44, 257, 394, 44, 40, 394, 59, 257, 58, - 411, 411, 125, 125, 411, 291, 417, 411, 41, 40, - 58, 41, 59, 303, 415, 411, 44, 0, 123, 257, - 303, 309, 310, 123, 125, 59, 125, 309, 310, 125, - 257, 432, 41, 41, 256, 257, 59, 41, 59, 125, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - 272, 273, 41, 275, 276, 277, 278, 256, 257, 38, - 417, 342, 183, 262, 263, 264, 265, 266, 267, 268, - 269, 270, 271, 272, 273, 94, 275, 276, 277, 278, - 11, 247, 412, 248, 38, 257, 308, 311, 249, 179, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - 38, 12, 181, 41, 215, 277, 414, 360, 267, 308, - -1, 283, 41, 416, 286, -1, -1, -1, -1, -1, - 58, 59, -1, -1, 62, -1, -1, -1, -1, 58, - 59, -1, -1, 62, 257, -1, 308, -1, -1, 262, - 263, 264, 265, 266, 267, 268, 269, 270, 271, -1, - -1, -1, -1, -1, 277, 93, 94, -1, -1, -1, - 283, 257, -1, 286, 93, 94, 262, 263, 264, 265, - 266, 267, 268, 269, 270, 271, -1, -1, -1, -1, - -1, 277, -1, -1, -1, 308, 124, 283, -1, -1, - 286, -1, -1, -1, -1, 124, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 256, 257, -1, - -1, -1, 308, 262, 263, 264, 265, 266, 267, 268, - 269, 270, 271, 272, 273, 257, 275, 276, 277, 278, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - 272, 273, 257, 275, 276, 277, 278, 262, 263, 264, - 265, 266, 267, 268, 269, 270, 271, 272, 273, 308, - 275, 276, 277, 278, -1, -1, -1, 299, -1, -1, - -1, -1, -1, 257, -1, -1, 308, -1, 262, 263, - 264, -1, -1, 267, 268, 269, 270, -1, -1, 257, - -1, 275, -1, 308, 262, 263, 264, 265, 266, 267, - 268, 269, 270, 271, 272, 273, 257, 275, 276, 277, - 278, 262, 263, 264, 265, 266, 267, 268, 269, 270, - 271, -1, -1, 257, 308, 276, 277, 278, 262, 263, - 264, 265, 266, 267, 268, 269, 270, 271, -1, -1, - 308, -1, -1, 277, -1, -1, -1, -1, -1, -1, - -1, -1, 286, -1, -1, 257, -1, 308, -1, -1, - 262, 263, 264, 265, 266, 267, 268, 269, 270, -1, - -1, -1, 257, -1, 308, 277, 278, 262, 263, 264, - 265, 266, 267, 268, 269, 270, 271, -1, -1, -1, - -1, 256, 277, 258, 259, 260, 261, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 308, 272, 273, -1, - 275, -1, -1, -1, 279, 256, -1, 258, -1, -1, - 261, -1, -1, 308, -1, -1, -1, 292, 293, 294, - -1, 272, 273, -1, 275, 300, -1, -1, 279, -1, - -1, 282, -1, 284, 285, 256, -1, 258, -1, -1, - 261, 292, -1, -1, 295, 296, 297, -1, -1, -1, - -1, 272, 273, -1, 275, -1, -1, -1, 279, -1, - -1, 282, -1, 284, 285, -1, -1, -1, -1, -1, - -1, 292, -}; -#define TAO_YYFINAL 14 -#ifndef TAO_YYDEBUG -#define TAO_YYDEBUG 0 -#endif -#define TAO_YYMAXTOKEN 310 -#if TAO_YYDEBUG -const char *tao_yyname[] = { -"end-of-file",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,"'%'","'&'",0,"'('","')'","'*'","'+'","','","'-'",0,"'/'",0,0,0,0,0,0,0,0, -0,0,"':'","';'","'<'","'='","'>'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,"'['",0,"']'","'^'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,"'{'","'|'","'}'","'~'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"IDENTIFIER","IDL_CONST", -"IDL_MODULE","IDL_INTERFACE","IDL_TYPEDEF","IDL_LONG","IDL_SHORT", -"IDL_UNSIGNED","IDL_DOUBLE","IDL_FLOAT","IDL_CHAR","IDL_WCHAR","IDL_OCTET", -"IDL_BOOLEAN","IDL_ANY","IDL_STRUCT","IDL_UNION","IDL_SWITCH","IDL_ENUM", -"IDL_SEQUENCE","IDL_STRING","IDL_WSTRING","IDL_EXCEPTION","IDL_CASE", -"IDL_DEFAULT","IDL_READONLY","IDL_ATTRIBUTE","IDL_ONEWAY","IDL_IDEMPOTENT", -"IDL_VOID","IDL_IN","IDL_OUT","IDL_INOUT","IDL_RAISES","IDL_CONTEXT", -"IDL_NATIVE","IDL_ABSTRACT","IDL_CUSTOM","IDL_INIT","IDL_PRIVATE","IDL_PUBLIC", -"IDL_SUPPORTS","IDL_TRUNCATABLE","IDL_VALUETYPE","IDL_INTEGER_LITERAL", -"IDL_UINTEGER_LITERAL","IDL_STRING_LITERAL","IDL_CHARACTER_LITERAL", -"IDL_FLOATING_PT_LITERAL","IDL_TRUETOK","IDL_FALSETOK","IDL_SCOPE_DELIMITOR", -"IDL_LEFT_SHIFT","IDL_RIGHT_SHIFT", -}; -const char *tao_yyrule[] = { -"$accept : start", -"start : definitions", -"definitions : definition definitions", -"definitions :", -"$$1 :", -"definition : type_dcl $$1 ';'", -"$$2 :", -"definition : const_dcl $$2 ';'", -"$$3 :", -"definition : exception $$3 ';'", -"$$4 :", -"definition : interface_def $$4 ';'", -"$$5 :", -"definition : module $$5 ';'", -"$$6 :", -"definition : value_def $$6 ';'", -"$$7 :", -"definition : error $$7 ';'", -"$$8 :", -"$$9 :", -"$$10 :", -"$$11 :", -"module : IDL_MODULE $$8 IDENTIFIER $$9 '{' $$10 definitions $$11 '}'", -"interface_def : interface", -"interface_def : forward", -"$$12 :", -"$$13 :", -"$$14 :", -"interface : interface_header $$12 '{' $$13 exports $$14 '}'", -"$$15 :", -"interface_decl : IDL_INTERFACE $$15 id", -"interface_header : interface_decl inheritance_spec", -"$$16 :", -"inheritance_spec : ':' $$16 at_least_one_scoped_name", -"inheritance_spec :", -"value_def : valuetype", -"value_def : value_abs_decl", -"value_def : value_forward_decl", -"value_def : value_box_decl", -"valuetype : IDL_CUSTOM value_concrete_decl", -"valuetype : value_concrete_decl", -"$$17 :", -"$$18 :", -"$$19 :", -"value_concrete_decl : value_header $$17 '{' $$18 value_elements $$19 '}'", -"$$20 :", -"$$21 :", -"$$22 :", -"value_abs_decl : IDL_ABSTRACT value_header $$20 '{' $$21 exports $$22 '}'", -"value_header : value_decl opt_truncatable inheritance_spec supports_spec", -"$$23 :", -"value_decl : IDL_VALUETYPE $$23 id", -"opt_truncatable : IDL_TRUNCATABLE", -"opt_truncatable :", -"supports_spec : IDL_SUPPORTS scoped_name", -"supports_spec :", -"value_forward_decl : IDL_ABSTRACT value_decl", -"value_forward_decl : value_decl", -"value_box_decl : value_decl type_spec", -"value_elements : value_elements value_element", -"value_elements :", -"value_element : state_member", -"value_element : export", -"value_element : init_decl", -"$$24 :", -"state_member : IDL_PUBLIC $$24 member_i", -"$$25 :", -"state_member : IDL_PRIVATE $$25 member_i", -"exports : exports export", -"exports :", -"$$26 :", -"export : type_dcl $$26 ';'", -"$$27 :", -"export : const_dcl $$27 ';'", -"$$28 :", -"export : exception $$28 ';'", -"$$29 :", -"export : attribute $$29 ';'", -"$$30 :", -"export : operation $$30 ';'", -"$$31 :", -"export : error $$31 ';'", -"at_least_one_scoped_name : scoped_name scoped_names", -"$$32 :", -"scoped_names : scoped_names ',' $$32 scoped_name", -"scoped_names :", -"scoped_name : id", -"$$33 :", -"scoped_name : IDL_SCOPE_DELIMITOR $$33 id", -"$$34 :", -"scoped_name : scoped_name IDL_SCOPE_DELIMITOR $$34 id", -"id : IDENTIFIER", -"forward : interface_decl", -"$$35 :", -"$$36 :", -"$$37 :", -"$$38 :", -"const_dcl : IDL_CONST $$35 const_type $$36 id $$37 '=' $$38 expression", -"const_type : integer_type", -"const_type : char_type", -"const_type : octet_type", -"const_type : boolean_type", -"const_type : floating_pt_type", -"const_type : string_type_spec", -"const_type : wstring_type_spec", -"const_type : scoped_name", -"expression : const_expr", -"const_expr : or_expr", -"or_expr : xor_expr", -"or_expr : or_expr '|' xor_expr", -"xor_expr : and_expr", -"xor_expr : xor_expr '^' and_expr", -"and_expr : shift_expr", -"and_expr : and_expr '&' shift_expr", -"shift_expr : add_expr", -"shift_expr : shift_expr IDL_LEFT_SHIFT add_expr", -"shift_expr : shift_expr IDL_RIGHT_SHIFT add_expr", -"add_expr : mult_expr", -"add_expr : add_expr '+' mult_expr", -"add_expr : add_expr '-' mult_expr", -"mult_expr : unary_expr", -"mult_expr : mult_expr '*' unary_expr", -"mult_expr : mult_expr '/' unary_expr", -"mult_expr : mult_expr '%' unary_expr", -"unary_expr : primary_expr", -"unary_expr : '+' primary_expr", -"unary_expr : '-' primary_expr", -"unary_expr : '~' primary_expr", -"primary_expr : scoped_name", -"primary_expr : literal", -"primary_expr : '(' const_expr ')'", -"literal : IDL_INTEGER_LITERAL", -"literal : IDL_UINTEGER_LITERAL", -"literal : IDL_STRING_LITERAL", -"literal : IDL_CHARACTER_LITERAL", -"literal : IDL_FLOATING_PT_LITERAL", -"literal : IDL_TRUETOK", -"literal : IDL_FALSETOK", -"positive_int_expr : const_expr", -"$$39 :", -"type_dcl : IDL_TYPEDEF $$39 type_declarator", -"type_dcl : struct_type", -"type_dcl : union_type", -"type_dcl : enum_type", -"type_dcl : IDL_NATIVE simple_declarator", -"$$40 :", -"type_declarator : type_spec $$40 at_least_one_declarator", -"type_spec : simple_type_spec", -"type_spec : constructed_type_spec", -"simple_type_spec : base_type_spec", -"simple_type_spec : template_type_spec", -"simple_type_spec : scoped_name", -"base_type_spec : integer_type", -"base_type_spec : floating_pt_type", -"base_type_spec : char_type", -"base_type_spec : boolean_type", -"base_type_spec : octet_type", -"base_type_spec : any_type", -"template_type_spec : sequence_type_spec", -"template_type_spec : string_type_spec", -"template_type_spec : wstring_type_spec", -"constructed_type_spec : struct_type", -"constructed_type_spec : union_type", -"constructed_type_spec : enum_type", -"at_least_one_declarator : declarator declarators", -"$$41 :", -"declarators : declarators ',' $$41 declarator", -"declarators :", -"declarator : simple_declarator", -"declarator : complex_declarator", -"at_least_one_simple_declarator : simple_declarator simple_declarators", -"$$42 :", -"simple_declarators : simple_declarators ',' $$42 simple_declarator", -"simple_declarators :", -"simple_declarator : id", -"complex_declarator : array_declarator", -"integer_type : signed_int", -"integer_type : unsigned_int", -"signed_int : IDL_LONG", -"signed_int : IDL_LONG IDL_LONG", -"signed_int : IDL_SHORT", -"unsigned_int : IDL_UNSIGNED IDL_LONG", -"unsigned_int : IDL_UNSIGNED IDL_LONG IDL_LONG", -"unsigned_int : IDL_UNSIGNED IDL_SHORT", -"floating_pt_type : IDL_DOUBLE", -"floating_pt_type : IDL_FLOAT", -"floating_pt_type : IDL_LONG IDL_DOUBLE", -"char_type : IDL_CHAR", -"char_type : IDL_WCHAR", -"octet_type : IDL_OCTET", -"boolean_type : IDL_BOOLEAN", -"any_type : IDL_ANY", -"$$43 :", -"$$44 :", -"$$45 :", -"$$46 :", -"struct_type : IDL_STRUCT $$43 id $$44 '{' $$45 at_least_one_member $$46 '}'", -"at_least_one_member : member members", -"members : members member", -"members :", -"$$47 :", -"member : $$47 member_i", -"$$48 :", -"$$49 :", -"member_i : type_spec $$48 at_least_one_declarator $$49 ';'", -"$$50 :", -"member_i : error $$50 ';'", -"$$51 :", -"$$52 :", -"$$53 :", -"$$54 :", -"$$55 :", -"$$56 :", -"$$57 :", -"$$58 :", -"union_type : IDL_UNION $$51 id $$52 IDL_SWITCH $$53 '(' $$54 switch_type_spec $$55 ')' $$56 '{' $$57 at_least_one_case_branch $$58 '}'", -"switch_type_spec : integer_type", -"switch_type_spec : char_type", -"switch_type_spec : octet_type", -"switch_type_spec : boolean_type", -"switch_type_spec : enum_type", -"switch_type_spec : scoped_name", -"at_least_one_case_branch : case_branch case_branches", -"case_branches : case_branches case_branch", -"case_branches :", -"$$59 :", -"$$60 :", -"case_branch : at_least_one_case_label $$59 element_spec $$60 ';'", -"$$61 :", -"case_branch : error $$61 ';'", -"at_least_one_case_label : case_label case_labels", -"case_labels : case_labels case_label", -"case_labels :", -"$$62 :", -"case_label : IDL_DEFAULT $$62 ':'", -"$$63 :", -"$$64 :", -"case_label : IDL_CASE $$63 const_expr $$64 ':'", -"$$65 :", -"element_spec : type_spec $$65 declarator", -"$$66 :", -"$$67 :", -"$$68 :", -"$$69 :", -"enum_type : IDL_ENUM $$66 id $$67 '{' $$68 at_least_one_enumerator $$69 '}'", -"at_least_one_enumerator : enumerator enumerators", -"$$70 :", -"enumerators : enumerators ',' $$70 enumerator", -"enumerators :", -"enumerator : IDENTIFIER", -"$$71 :", -"$$72 :", -"sequence_type_spec : seq_head ',' $$71 positive_int_expr $$72 '>'", -"sequence_type_spec : seq_head '>'", -"$$73 :", -"$$74 :", -"seq_head : IDL_SEQUENCE $$73 '<' $$74 simple_type_spec", -"$$75 :", -"$$76 :", -"string_type_spec : string_head '<' $$75 positive_int_expr $$76 '>'", -"string_type_spec : string_head", -"string_head : IDL_STRING", -"$$77 :", -"$$78 :", -"wstring_type_spec : wstring_head '<' $$77 positive_int_expr $$78 '>'", -"wstring_type_spec : wstring_head", -"wstring_head : IDL_WSTRING", -"$$79 :", -"array_declarator : id $$79 at_least_one_array_dim", -"at_least_one_array_dim : array_dim array_dims", -"array_dims : array_dims array_dim", -"array_dims :", -"$$80 :", -"$$81 :", -"array_dim : '[' $$80 positive_int_expr $$81 ']'", -"$$82 :", -"$$83 :", -"attribute : opt_readonly IDL_ATTRIBUTE $$82 param_type_spec $$83 at_least_one_simple_declarator", -"opt_readonly : IDL_READONLY", -"opt_readonly :", -"$$84 :", -"$$85 :", -"$$86 :", -"$$87 :", -"exception : IDL_EXCEPTION $$84 id $$85 '{' $$86 members $$87 '}'", -"$$88 :", -"$$89 :", -"$$90 :", -"$$91 :", -"operation : opt_op_attribute op_type_spec $$88 IDENTIFIER $$89 parameter_list $$90 opt_raises $$91 opt_context", -"opt_op_attribute : IDL_ONEWAY", -"opt_op_attribute : IDL_IDEMPOTENT", -"opt_op_attribute :", -"op_type_spec : param_type_spec", -"op_type_spec : IDL_VOID", -"init_decl : IDL_INIT", -"$$92 :", -"parameter_list : '(' $$92 ')'", -"$$93 :", -"parameter_list : '(' $$93 at_least_one_parameter ')'", -"at_least_one_parameter : parameter parameters", -"$$94 :", -"parameters : parameters ',' $$94 parameter", -"parameters :", -"$$95 :", -"$$96 :", -"parameter : direction $$95 param_type_spec $$96 declarator", -"param_type_spec : base_type_spec", -"param_type_spec : string_type_spec", -"param_type_spec : scoped_name", -"direction : IDL_IN", -"direction : IDL_OUT", -"direction : IDL_INOUT", -"$$97 :", -"$$98 :", -"opt_raises : IDL_RAISES $$97 '(' $$98 at_least_one_scoped_name ')'", -"opt_raises :", -"$$99 :", -"$$100 :", -"opt_context : IDL_CONTEXT $$99 '(' $$100 at_least_one_string_literal ')'", -"opt_context :", -"at_least_one_string_literal : IDL_STRING_LITERAL string_literals", -"$$101 :", -"string_literals : string_literals ',' $$101 IDL_STRING_LITERAL", -"string_literals :", -}; -#endif -#define tao_yyclearin (tao_yychar=(-1)) -#define tao_yyerrok (tao_yyerrflag=0) -#ifndef TAO_YYSTACKSIZE -#ifdef TAO_YYMAXDEPTH -#define TAO_YYSTACKSIZE TAO_YYMAXDEPTH -#else -#define TAO_YYSTACKSIZE 300 -#endif -#endif -int tao_yydebug; -int tao_yynerrs; -int tao_yyerrflag; -int tao_yychar; -short *tao_yyssp; -TAO_YYSTYPE *tao_yyvsp; -TAO_YYSTYPE tao_yyval; -TAO_YYSTYPE tao_yylval; -#define tao_yystacksize TAO_YYSTACKSIZE -short tao_yyss[TAO_YYSTACKSIZE]; -TAO_YYSTYPE tao_yyvs[TAO_YYSTACKSIZE]; -#line 2523 "fe/idl.tao_yy" -/* programs */ - -/* - * ??? - */ -int -tao_yywrap() -{ - return 1; -} - -/* - * Report an error situation discovered in a production - * - * This does not do anything since we report all error situations through - * idl_global->err() operations - */ -void -tao_yyerror(const char *) -{ -} -#line 945 "y.tab.cpp" -#define TAO_YYABORT goto tao_yyabort -#define TAO_YYACCEPT goto tao_yyaccept -#define TAO_YYERROR goto tao_yyerrlab -#ifdef TAO_YYDEBUG -#ifndef TAO_YYDEBUG_LEXER_TEXT /* pointer to the text isolated by the lexer*/ -#define TAO_YYDEBUG_LEXER_TEXT "TAO_YYDEBUG_LEXER_TEXT not defined" -#endif -#ifndef TAO_YYDEBUG_INDENT_STRING -#define TAO_YYDEBUG_INDENT_STRING "| " -#endif -#ifndef TAO_YYDEBUG_REDUCE_STRING -#define TAO_YYDEBUG_REDUCE_STRING "+-------" -#endif -#ifndef TAO_YYDEBUG_INDENT -#ifdef __cplusplus -void TAO_YYDEBUG_INDENT(int tao_yyindent) -#else -TAO_YYDEBUG_INDENT(tao_yyindent) -int tao_yyindent; -#endif -{ - while(tao_yyindent-- > 0) - printf("%s", TAO_YYDEBUG_INDENT_STRING); -} -#endif /* TAO_YYDEBUG_INDENT */ -#ifndef TAO_YYDEBUG_REDUCE -#ifdef __cplusplus -void TAO_YYDEBUG_REDUCE(int, int, const char *tao_yyrule_string, int tao_yynew_indent, int tao_yyrhs_count) -#else -TAO_YYDEBUG_REDUCE(tao_yynew_state, tao_yyrule_num, tao_yyrule_string, tao_yynew_indent, tao_yyrhs_count) -int tao_yynew_state; -int tao_yyrule_num; -char * tao_yyrule_string; -int tao_yynew_indent; -int tao_yyrhs_count; -#endif -{ - if (1 < tao_yyrhs_count) - { /* draw the graphics for the reduction */ - TAO_YYDEBUG_INDENT(tao_yynew_indent); - while(1 < tao_yyrhs_count--) - printf("%s", TAO_YYDEBUG_REDUCE_STRING); - putchar('+'); /* left rotated L would look nice */ - putchar('\n'); - TAO_YYDEBUG_INDENT(tao_yynew_indent); - putchar('|'); /* down arrow would look nice */ - putchar('\n'); - } - TAO_YYDEBUG_INDENT(tao_yynew_indent); - /* Only print the resulting token name */ - while (*tao_yyrule_string) - putchar(*tao_yyrule_string++); - putchar('\n'); -} -#endif /* TAO_YYDEBUG_REDUCE */ -#ifndef TAO_YYDEBUG_SHIFT_LEXEME -#ifdef __cplusplus -void TAO_YYDEBUG_SHIFT_LEXEME(int, int, const char *tao_yytoken_string, int tao_yynew_indent) -#else -TAO_YYDEBUG_SHIFT_LEXEME(tao_yyold_state, tao_yynew_state, tao_yytoken_string, tao_yynew_indent) -int tao_yyold_state; -int tao_yynew_state; -char * tao_yytoken_string; -int tao_yynew_indent; -#endif -{ - TAO_YYDEBUG_INDENT(tao_yynew_indent); - printf("%s <-- `%s'\n", tao_yytoken_string, TAO_YYDEBUG_LEXER_TEXT); -} -#endif /* TAO_YYDEBUG_SHIFT_LEXEME */ -#ifndef TAO_YYDEBUG_LOOK_AHEAD -#ifdef __cplusplus -void TAO_YYDEBUG_LOOK_AHEAD(int, int tao_yytoken_num, const char *tao_yytoken_string, int tao_yyindent) -#else -TAO_YYDEBUG_LOOK_AHEAD(tao_yynew_state, tao_yytoken_num, tao_yytoken_string, tao_yyindent) -int tao_yynew_state; -int tao_yytoken_num; -char * tao_yytoken_string; -int tao_yyindent; -#endif -{ - TAO_YYDEBUG_INDENT(tao_yyindent); - printf(" .... look ahead at %s `%s'\n", - tao_yytoken_string, - (0 == tao_yytoken_num)? "\0": TAO_YYDEBUG_LEXER_TEXT); -} -#endif /* TAO_YYDEBUG_LOOK_AHEAD */ -#ifndef TAO_YYDEBUG_DISCARD_STATE -#ifdef __cplusplus -void TAO_YYDEBUG_DISCARD_STATE(int, int tao_yyindent) -#else -TAO_YYDEBUG_DISCARD_STATE(tao_yynew_state, tao_yyindent) -int tao_yynew_state; -int tao_yyindent; -#endif -{ - if (0 < tao_yyindent) - { /* draw the graphics for the reduction */ - TAO_YYDEBUG_INDENT(tao_yyindent-1); - printf("%s", TAO_YYDEBUG_REDUCE_STRING); - putchar('+'); /* left rotated L would look nice */ - printf(" discarding state\n"); - TAO_YYDEBUG_INDENT(tao_yyindent-1); - putchar('|'); /* down arrow would look nice */ - putchar('\n'); - } - else - { - if (0 == tao_yyindent) - printf("discarding state\n"); - else - printf("no more states to discard: parser will abort\n"); - } -} -#endif /* TAO_YYDEBUG_DISCARD_STATE */ -#ifndef TAO_YYDEBUG_DISCARD_TOKEN -#ifdef __cplusplus -void TAO_YYDEBUG_DISCARD_TOKEN(int, int, const char *tao_yytoken_string, int tao_yyindent) -#else -TAO_YYDEBUG_DISCARD_TOKEN(tao_yynew_state, tao_yytoken_num, tao_yytoken_string, tao_yyindent) -int tao_yynew_state; -int tao_yytoken_num; -char * tao_yytoken_string; -int tao_yyindent; -#endif -{ - TAO_YYDEBUG_INDENT(tao_yyindent); - printf("discarding token %s\n", tao_yytoken_string); -} -#endif /* TAO_YYDEBUG_DISCARD_TOKEN */ -#ifndef TAO_YYDEBUG_SHIFT_ERROR_LEXEME -#ifdef __cplusplus -void TAO_YYDEBUG_SHIFT_ERROR_LEXEME(int, int, int tao_yyindent) -#else -TAO_YYDEBUG_SHIFT_ERROR_LEXEME(tao_yyold_state, tao_yynew_state, tao_yyindent) -int tao_yyold_state; -int tao_yynew_state; -int tao_yyindent; -#endif -{ - TAO_YYDEBUG_INDENT(tao_yyindent); - printf("error\n"); -} -#endif /* TAO_YYDEBUG_SHIFT_ERROR_LEXEME */ -#endif /* TAO_YYDEBUG */ -#ifdef __cplusplus -extern "C" { extern char *ace_foo(const char *); } -#endif -int -tao_yyparse() -{ - register int tao_yym, tao_yyn, tao_yystate; -#if TAO_YYDEBUG - register const char *tao_yys; -#ifndef __cplusplus - extern char *ace_foo(); -#endif - - if ((tao_yys = ACE_OS::getenv("TAO_YYDEBUG"))) - { - tao_yyn = *tao_yys; - if (tao_yyn >= '0' && tao_yyn <= '9') - tao_yydebug = tao_yyn - '0'; - } -#endif - - tao_yynerrs = 0; - tao_yyerrflag = 0; - tao_yychar = (-1); - - tao_yyssp = tao_yyss; - tao_yyvsp = tao_yyvs; - *tao_yyssp = tao_yystate = 0; - -tao_yyloop: - if ((tao_yyn = tao_yydefred[tao_yystate])) goto tao_yyreduce; - if (tao_yychar < 0) - { - if ((tao_yychar = tao_yylex()) < 0) tao_yychar = 0; -#if TAO_YYDEBUG - if (tao_yydebug) - { - tao_yys = 0; - if (tao_yychar <= TAO_YYMAXTOKEN) tao_yys = tao_yyname[tao_yychar]; - if (!tao_yys) tao_yys = "illegal-symbol"; - if (5 < tao_yydebug) - printf("tao_yydebug: state %d, reading %d (%s)\n", tao_yystate, - tao_yychar, tao_yys); - else - TAO_YYDEBUG_LOOK_AHEAD(tao_yystate, tao_yychar, tao_yys, tao_yyssp-tao_yyss); - } -#endif - } - if ((tao_yyn = tao_yysindex[tao_yystate]) && (tao_yyn += tao_yychar) >= 0 && - tao_yyn <= TAO_YYTABLESIZE && tao_yycheck[tao_yyn] == tao_yychar) - { -#if TAO_YYDEBUG - if (tao_yydebug) - if (5 < tao_yydebug) - printf("tao_yydebug: state %d, shifting to state %d\n", - tao_yystate, tao_yytable[tao_yyn]); - else - TAO_YYDEBUG_SHIFT_LEXEME(tao_yystate, tao_yytable[tao_yyn], tao_yys, tao_yyssp-tao_yyss); -#endif - if (tao_yyssp >= tao_yyss + tao_yystacksize - 1) - { - goto tao_yyoverflow; - } - *++tao_yyssp = tao_yystate = tao_yytable[tao_yyn]; - *++tao_yyvsp = tao_yylval; - tao_yychar = (-1); - if (tao_yyerrflag > 0) --tao_yyerrflag; - goto tao_yyloop; - } - if ((tao_yyn = tao_yyrindex[tao_yystate]) && (tao_yyn += tao_yychar) >= 0 && - tao_yyn <= TAO_YYTABLESIZE && tao_yycheck[tao_yyn] == tao_yychar) - { - tao_yyn = tao_yytable[tao_yyn]; - goto tao_yyreduce; - } - if (tao_yyerrflag) goto tao_yyinrecovery; -#ifdef lint - goto tao_yynewerror; -#endif - - tao_yyerror("syntax error"); -#ifdef lint - goto tao_yyerrlab; -#endif - ++tao_yynerrs; -tao_yyinrecovery: - if (tao_yyerrflag < 3) - { - tao_yyerrflag = 3; - for (;;) - { - if ((tao_yyn = tao_yysindex[*tao_yyssp]) && (tao_yyn += TAO_YYERRCODE) >= 0 && - tao_yyn <= TAO_YYTABLESIZE && tao_yycheck[tao_yyn] == TAO_YYERRCODE) - { -#if TAO_YYDEBUG - if (tao_yydebug) - if (5 < tao_yydebug) - printf("tao_yydebug: state %d, error recovery shifting\ - to state %d\n", *tao_yyssp, tao_yytable[tao_yyn]); - else - TAO_YYDEBUG_SHIFT_ERROR_LEXEME(*tao_yyssp, tao_yytable[tao_yyn], tao_yyssp-tao_yyss); -#endif - if (tao_yyssp >= tao_yyss + tao_yystacksize - 1) - { - goto tao_yyoverflow; - } - *++tao_yyssp = tao_yystate = tao_yytable[tao_yyn]; - *++tao_yyvsp = tao_yylval; - goto tao_yyloop; - } - else - { -#if TAO_YYDEBUG - if (tao_yydebug) - if (5 < tao_yydebug) - printf("tao_yydebug: error recovery discarding state %d\ -", - *tao_yyssp); - else - TAO_YYDEBUG_DISCARD_STATE(*tao_yyssp, tao_yyssp-tao_yyss-1); -#endif - if (tao_yyssp <= tao_yyss) goto tao_yyabort; - --tao_yyssp; - --tao_yyvsp; - } - } - } - else - { - if (tao_yychar == 0) goto tao_yyabort; -#if TAO_YYDEBUG - if (tao_yydebug) - { - tao_yys = 0; - if (tao_yychar <= TAO_YYMAXTOKEN) tao_yys = tao_yyname[tao_yychar]; - if (!tao_yys) tao_yys = "illegal-symbol"; - if (5 < tao_yydebug) - printf("tao_yydebug: state %d, error recovery discards token %d (%s)\n", - tao_yystate, tao_yychar, tao_yys); - else - TAO_YYDEBUG_DISCARD_TOKEN(tao_yystate, tao_yychar, tao_yys, tao_yyssp-tao_yyss); - } -#endif - tao_yychar = (-1); - goto tao_yyloop; - } -tao_yyreduce: - tao_yym = tao_yylen[tao_yyn]; - tao_yyval = tao_yyvsp[1-tao_yym]; -#if TAO_YYDEBUG - if (tao_yydebug) - if (5 < tao_yydebug) - printf("tao_yydebug: state %d, reducing by rule %d (%s)\n", - tao_yystate, tao_yyn, tao_yyrule[tao_yyn]); - else - TAO_YYDEBUG_REDUCE(tao_yystate, tao_yyn, tao_yyrule[tao_yyn], tao_yyssp-tao_yyss-tao_yym, tao_yym); -#endif - switch (tao_yyn) - { -case 4: -#line 255 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypeDeclSeen); - } -break; -case 5: -#line 259 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 6: -#line 263 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstDeclSeen); - } -break; -case 7: -#line 267 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 8: -#line 271 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptDeclSeen); - } -break; -case 9: -#line 275 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 10: -#line 279 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceDeclSeen); - } -break; -case 11: -#line 283 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 12: -#line 287 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleDeclSeen); - } -break; -case 13: -#line 291 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 14: -#line 295 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ValuetypeDeclSeen); - } -break; -case 15: -#line 299 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 16: -#line 303 "fe/idl.tao_yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } -break; -case 17: -#line 307 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - tao_yyerrok; - } -break; -case 18: -#line 314 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleSeen); - } -break; -case 19: -#line 318 "fe/idl.tao_yy" -{ - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier(tao_yyvsp[0].strval, 1, 0, I_FALSE), NULL); - AST_Module *m = NULL; - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleIDSeen); - /* - * Make a new module and add it to the enclosing scope - */ - if (s != NULL) { - m = idl_global->gen()->create_module(n, p); - (void) s->fe_add_module(m); - } - /* - * Push it on the stack - */ - idl_global->scopes()->push(m); - } -break; -case 20: -#line 339 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleSqSeen); - } -break; -case 21: -#line 343 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleBodySeen); - } -break; -case 22: -#line 347 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleQsSeen); - /* - * Finished with this module - pop it from the scope stack - */ - UTL_Scope* s = idl_global->scopes()->top(); - AST_Module* m = AST_Module::narrow_from_scope (s); - UTL_StrList *p = m->pragmas (); - if (p != 0) - p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } -break; -case 25: -#line 369 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Interface *i = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - ACE_UNUSED_ARG (v); - - /* - * Make a new interface node and add it to its enclosing scope - */ - if (s != NULL && tao_yyvsp[0].ihval != NULL) { - i = idl_global->gen()->create_interface(tao_yyvsp[0].ihval->interface_name(), - tao_yyvsp[0].ihval->inherits(), - tao_yyvsp[0].ihval->n_inherits(), - p); - AST_Interface::fwd_redefinition_helper (i,s,p); - /* - * Add the interface to its definition scope - */ - (void) s->fe_add_interface(i); - } - /* - * Push it on the scope stack - */ - idl_global->scopes()->push(i); - } -break; -case 26: -#line 396 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSqSeen); - } -break; -case 27: -#line 400 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceBodySeen); - } -break; -case 28: -#line 404 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceQsSeen); - /* - * Done with this interface - pop it off the scopes stack - */ - UTL_Scope* s = idl_global->scopes()->top(); - AST_Interface* m = AST_Interface::narrow_from_scope (s); - UTL_StrList *p = m->pragmas (); - if (p != 0) - p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } -break; -case 29: -#line 421 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSeen); - } -break; -case 30: -#line 425 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceIDSeen); - tao_yyval.idval = tao_yyvsp[0].idval; - } -break; -case 31: -#line 433 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InheritSpecSeen); - /* - * Create an AST representation of the information in the header - * part of an interface - this representation contains a computed - * list of all interfaces which this interface inherits from, - * recursively - */ - tao_yyval.ihval = new FE_InterfaceHeader(new UTL_ScopedName(tao_yyvsp[-1].idval, NULL), tao_yyvsp[0].nlval); - } -break; -case 32: -#line 447 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InheritColonSeen); - } -break; -case 33: -#line 451 "fe/idl.tao_yy" -{ - tao_yyval.nlval = tao_yyvsp[0].nlval; - } -break; -case 34: -#line 455 "fe/idl.tao_yy" -{ - tao_yyval.nlval = NULL; - } -break; -case 39: -#line 469 "fe/idl.tao_yy" -{ - cerr << "error in " << idl_global->filename()->get_string() - << " line " << idl_global->lineno() << ":\n" ; - cerr << "Sorry, I (TAO_IDL) can't handle custom yet\n"; - /* set custom (if not truncatable) */ - } -break; -case 41: -#line 480 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Interface *i = NULL; - UTL_StrList *p = idl_global->pragmas(); - - if (s != NULL && tao_yyvsp[0].vhval != NULL) { - i = idl_global->gen()->create_valuetype(tao_yyvsp[0].vhval->interface_name(), - tao_yyvsp[0].vhval->inherits(), - tao_yyvsp[0].vhval->n_inherits(), - p); - AST_Interface::fwd_redefinition_helper (i,s,p); - /* - * Add the valuetype to its definition scope - */ - (void) s->fe_add_interface(i); - } - /* - * Push it on the scope stack - */ - idl_global->scopes()->push(i); - } -break; -case 42: -#line 502 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSqSeen); - } -break; -case 43: -#line 506 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceBodySeen); - } -break; -case 44: -#line 510 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceQsSeen); - /* - * Done with this interface - pop it off the scopes stack - */ - UTL_Scope* s = idl_global->scopes()->top(); - AST_Interface* m = AST_Interface::narrow_from_scope (s); - UTL_StrList *p = m->pragmas (); - if (p != 0) p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } -break; -case 45: -#line 527 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Interface *i = NULL; - UTL_StrList *p = idl_global->pragmas(); - - if (s != NULL && tao_yyvsp[0].vhval != NULL) { - - if (tao_yyvsp[0].vhval->n_concrete() > 0) { - idl_global->err()->abstract_inheritance_error (tao_yyvsp[0].vhval->interface_name ()); - } - - i = idl_global->gen()->create_valuetype(tao_yyvsp[0].vhval->interface_name(), - tao_yyvsp[0].vhval->inherits(), - tao_yyvsp[0].vhval->n_inherits(), - p); - i->set_abstract_valuetype (); - AST_Interface::fwd_redefinition_helper (i,s,p); - /* - * Add the valuetype to its definition scope - */ - (void) s->fe_add_interface(i); - } - /* - * Push it on the scope stack - */ - idl_global->scopes()->push(i); - } -break; -case 46: -#line 555 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSqSeen); - } -break; -case 47: -#line 559 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceBodySeen); - } -break; -case 48: -#line 563 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceQsSeen); - /* - * Done with this interface - pop it off the scopes stack - */ - UTL_Scope* s = idl_global->scopes()->top(); - AST_Interface* m = AST_Interface::narrow_from_scope (s); - UTL_StrList *p = m->pragmas (); - if (p != 0) p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } -break; -case 49: -#line 583 "fe/idl.tao_yy" -{ - tao_yyval.vhval = new FE_obv_header (new UTL_ScopedName (tao_yyvsp[-3].idval, NULL), tao_yyvsp[-1].nlval, tao_yyvsp[0].nlval); - } -break; -case 50: -#line 590 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ValuetypeSeen); - } -break; -case 51: -#line 594 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ValuetypeIDSeen); - tao_yyval.idval = tao_yyvsp[0].idval; - } -break; -case 52: -#line 602 "fe/idl.tao_yy" -{ - cerr << "warning in " << idl_global->filename()->get_string() - << " line " << idl_global->lineno() << ":\n" ; - cerr << "truncatable modifier not supported and is ignored\n"; - tao_yyval.bval = I_FALSE; - /* $$ = I_TRUE; */ - } -break; -case 53: -#line 610 "fe/idl.tao_yy" -{ - tao_yyval.bval = I_FALSE; - } -break; -case 54: -#line 618 "fe/idl.tao_yy" -{ - tao_yyval.nlval = new UTL_NameList(tao_yyvsp[0].idlist, NULL); - } -break; -case 55: -#line 622 "fe/idl.tao_yy" -{ - tao_yyval.nlval = NULL; - } -break; -case 56: -#line 630 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(tao_yyvsp[0].idval, NULL); - AST_InterfaceFwd *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ForwardDeclSeen); - /* - * Create a node representing a forward declaration of an - * valuetype. Store it in the enclosing scope - */ - if (s != NULL) { - f = idl_global->gen()->create_valuetype_fwd(n, p); - /* if ($1)*/ - f->set_abstract_valuetype (); - (void) s->fe_add_interface_fwd(f); - } - } -break; -case 57: -#line 650 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(tao_yyvsp[0].idval, NULL); - AST_InterfaceFwd *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ForwardDeclSeen); - /* - * Create a node representing a forward declaration of an - * valuetype. Store it in the enclosing scope - */ - if (s != NULL) { - f = idl_global->gen()->create_valuetype_fwd(n, p); - (void) s->fe_add_interface_fwd(f); - } - } -break; -case 58: -#line 671 "fe/idl.tao_yy" -{ - cerr << "error in " << idl_global->filename()->get_string() - << " line " << idl_global->lineno() << ":\n" ; - cerr << "Sorry, I (TAO_IDL) can't handle boxes yet\n"; - } -break; -case 64: -#line 691 "fe/idl.tao_yy" -{ - /* is $0 to member_i */ - tao_yyval.vival = AST_Field::vis_PUBLIC; - } -break; -case 66: -#line 697 "fe/idl.tao_yy" -{ - /* is $0 to member_i */ - tao_yyval.vival = AST_Field::vis_PRIVATE; - } -break; -case 70: -#line 711 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypeDeclSeen); - } -break; -case 71: -#line 715 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 72: -#line 719 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstDeclSeen); - } -break; -case 73: -#line 723 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 74: -#line 727 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptDeclSeen); - } -break; -case 75: -#line 731 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 76: -#line 735 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrDeclSeen); - } -break; -case 77: -#line 739 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 78: -#line 743 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpDeclSeen); - } -break; -case 79: -#line 747 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } -break; -case 80: -#line 751 "fe/idl.tao_yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } -break; -case 81: -#line 755 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - tao_yyerrok; - } -break; -case 82: -#line 763 "fe/idl.tao_yy" -{ - tao_yyval.nlval = new UTL_NameList(tao_yyvsp[-1].idlist, tao_yyvsp[0].nlval); - } -break; -case 83: -#line 771 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SNListCommaSeen); - } -break; -case 84: -#line 775 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ScopedNameSeen); - - if (tao_yyvsp[-3].nlval == NULL) - tao_yyval.nlval = new UTL_NameList(tao_yyvsp[0].idlist, NULL); - else { - tao_yyvsp[-3].nlval->nconc(new UTL_NameList(tao_yyvsp[0].idlist, NULL)); - tao_yyval.nlval = tao_yyvsp[-3].nlval; - } - } -break; -case 85: -#line 786 "fe/idl.tao_yy" -{ - tao_yyval.nlval = NULL; - } -break; -case 86: -#line 793 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - tao_yyval.idlist = new UTL_IdList(tao_yyvsp[0].idval, NULL); - } -break; -case 87: -#line 799 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ScopeDelimSeen); - } -break; -case 88: -#line 803 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - tao_yyval.idlist = new UTL_IdList(new Identifier(tao_yyvsp[-2].strval, 1, 0, I_FALSE), - new UTL_IdList(tao_yyvsp[0].idval, NULL)); - } -break; -case 89: -#line 811 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ScopeDelimSeen); - } -break; -case 90: -#line 815 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - tao_yyvsp[-3].idlist->nconc(new UTL_IdList(tao_yyvsp[0].idval, NULL)); - tao_yyval.idlist = tao_yyvsp[-3].idlist; - } -break; -case 91: -#line 824 "fe/idl.tao_yy" -{ - tao_yyval.idval = new Identifier(tao_yyvsp[0].strval, 1, 0, I_FALSE); - } -break; -case 92: -#line 831 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(tao_yyvsp[0].idval, NULL); - AST_InterfaceFwd *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ForwardDeclSeen); - /* - * Create a node representing a forward declaration of an - * interface. Store it in the enclosing scope - */ - if (s != NULL) { - f = idl_global->gen()->create_interface_fwd(n, p); - (void) s->fe_add_interface_fwd(f); - } - } -break; -case 93: -#line 851 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstSeen); - } -break; -case 94: -#line 855 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstTypeSeen); - } -break; -case 95: -#line 859 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstIDSeen); - } -break; -case 96: -#line 863 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstAssignSeen); - } -break; -case 97: -#line 867 "fe/idl.tao_yy" -{ - UTL_ScopedName *n = new UTL_ScopedName(tao_yyvsp[-4].idval, NULL); - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Constant *c = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_ConstExprSeen); - /* - * Create a node representing a constant declaration. Store - * it in the enclosing scope - */ - if (tao_yyvsp[0].exval != NULL && s != NULL) { - if (tao_yyvsp[0].exval->coerce(tao_yyvsp[-6].etval) == NULL) - idl_global->err()->coercion_error(tao_yyvsp[0].exval, tao_yyvsp[-6].etval); - else { - c = - idl_global->gen()->create_constant(tao_yyvsp[-6].etval, tao_yyvsp[0].exval, n, p); - (void) s->fe_add_constant(c); - } - } - } -break; -case 103: -#line 900 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_string; - } -break; -case 104: -#line 904 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_wstring; - } -break; -case 105: -#line 908 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - AST_PredefinedType *c = NULL; - AST_Typedef *t = NULL; - - /* - * If the constant's type is a scoped name, it must resolve - * to a scalar constant type - */ - if (s != NULL && (d = s->lookup_by_name(tao_yyvsp[0].idlist, I_TRUE)) != NULL) { - /* - * Look through typedefs - */ - while (d->node_type() == AST_Decl::NT_typedef) { - t = AST_Typedef::narrow_from_decl(d); - if (t == NULL) - break; - d = t->base_type(); - } - if (d == NULL) - tao_yyval.etval = AST_Expression::EV_any; - else if (d->node_type() == AST_Decl::NT_pre_defined) { - c = AST_PredefinedType::narrow_from_decl(d); - if (c != NULL) { - tao_yyval.etval = idl_global->PredefinedTypeToExprType(c->pt()); - } else { - tao_yyval.etval = AST_Expression::EV_any; - } - } else if (d->node_type () == AST_Decl::NT_string) { - tao_yyval.etval = AST_Expression::EV_string; - /* @ASG@ we will need a similar one for wstring after it - is implemented */ - } else - tao_yyval.etval = AST_Expression::EV_any; - } else - tao_yyval.etval = AST_Expression::EV_any; - } -break; -case 109: -#line 954 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_or, tao_yyvsp[-2].exval, tao_yyvsp[0].exval); - } -break; -case 111: -#line 962 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_xor, tao_yyvsp[-2].exval, tao_yyvsp[0].exval); - } -break; -case 113: -#line 970 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_and, tao_yyvsp[-2].exval, tao_yyvsp[0].exval); - } -break; -case 115: -#line 978 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_right,tao_yyvsp[-2].exval,tao_yyvsp[0].exval); - } -break; -case 116: -#line 982 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_left,tao_yyvsp[-2].exval,tao_yyvsp[0].exval); - } -break; -case 118: -#line 990 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_add, tao_yyvsp[-2].exval, tao_yyvsp[0].exval); - } -break; -case 119: -#line 994 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_minus,tao_yyvsp[-2].exval,tao_yyvsp[0].exval); - } -break; -case 121: -#line 1002 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_mul, tao_yyvsp[-2].exval, tao_yyvsp[0].exval); - } -break; -case 122: -#line 1006 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_div, tao_yyvsp[-2].exval, tao_yyvsp[0].exval); - } -break; -case 123: -#line 1010 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_mod, tao_yyvsp[-2].exval, tao_yyvsp[0].exval); - } -break; -case 125: -#line 1018 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_u_plus, - tao_yyvsp[0].exval, - NULL); - } -break; -case 126: -#line 1024 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_u_minus, - tao_yyvsp[0].exval, - NULL); - } -break; -case 127: -#line 1030 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_bit_neg, - tao_yyvsp[0].exval, - NULL); - } -break; -case 128: -#line 1039 "fe/idl.tao_yy" -{ - /* - * An expression which is a scoped name is not resolved now, - * but only when it is evaluated (such as when it is assigned - * as a constant value) - */ - tao_yyval.exval = idl_global->gen()->create_expr(tao_yyvsp[0].idlist); - } -break; -case 130: -#line 1049 "fe/idl.tao_yy" -{ - tao_yyval.exval = tao_yyvsp[-1].exval; - } -break; -case 131: -#line 1056 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(tao_yyvsp[0].ival); - } -break; -case 132: -#line 1060 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(tao_yyvsp[0].uival); - } -break; -case 133: -#line 1064 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(tao_yyvsp[0].sval); - } -break; -case 134: -#line 1068 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(tao_yyvsp[0].cval); - } -break; -case 135: -#line 1072 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr(tao_yyvsp[0].dval); - } -break; -case 136: -#line 1076 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr((idl_bool) I_TRUE, - AST_Expression::EV_bool); - } -break; -case 137: -#line 1081 "fe/idl.tao_yy" -{ - tao_yyval.exval = idl_global->gen()->create_expr((idl_bool) I_FALSE, - AST_Expression::EV_bool); - } -break; -case 138: -#line 1089 "fe/idl.tao_yy" -{ - tao_yyvsp[0].exval->evaluate(AST_Expression::EK_const); - tao_yyval.exval = idl_global->gen()->create_expr(tao_yyvsp[0].exval, AST_Expression::EV_ulong); - } -break; -case 139: -#line 1097 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypedefSeen); - } -break; -case 140: -#line 1100 "fe/idl.tao_yy" -{tao_yyval.ival = 0;} -break; -case 141: -#line 1101 "fe/idl.tao_yy" -{ tao_yyval.ival = 0;} -break; -case 142: -#line 1102 "fe/idl.tao_yy" -{ tao_yyval.ival = 0;} -break; -case 143: -#line 1103 "fe/idl.tao_yy" -{ tao_yyval.ival = 0;} -break; -case 144: -#line 1105 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Native *node = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_NativeSeen); - /* - * Create a node representing a Native and add it to its - * enclosing scope - */ - if (s != NULL) { - node = idl_global->gen()->create_native (tao_yyvsp[0].deval->name (), p); - /* - * Add it to its defining scope - */ - (void) s->fe_add_native (node); - } - } -break; -case 145: -#line 1130 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypeSpecSeen); - } -break; -case 146: -#line 1134 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l; - FE_Declarator *d = NULL; - AST_Typedef *t = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_DeclaratorsSeen); - /* - * Create a list of type renamings. Add them to the - * enclosing scope - */ - if (s != NULL && tao_yyvsp[-2].dcval != NULL && tao_yyvsp[0].dlval != NULL) { - l = new UTL_DecllistActiveIterator(tao_yyvsp[0].dlval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type * tp = d->compose(tao_yyvsp[-2].dcval); - if (tp == NULL) - continue; - t = idl_global->gen()->create_typedef(tp, d->name(), p); - (void) s->fe_add_typedef(t); - } - delete l; - } - } -break; -case 149: -#line 1173 "fe/idl.tao_yy" -{ - tao_yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(tao_yyvsp[0].etval); - } -break; -case 151: -#line 1178 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - - if (s != NULL) - d = s->lookup_by_name(tao_yyvsp[0].idlist, I_TRUE); - if (d == NULL) - idl_global->err()->lookup_error(tao_yyvsp[0].idlist); - tao_yyval.dcval = d; - } -break; -case 164: -#line 1213 "fe/idl.tao_yy" -{ - tao_yyval.dlval = new UTL_DeclList(tao_yyvsp[-1].deval, tao_yyvsp[0].dlval); - } -break; -case 165: -#line 1221 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsCommaSeen); - } -break; -case 166: -#line 1225 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsDeclSeen); - - if (tao_yyvsp[-3].dlval == NULL) - tao_yyval.dlval = new UTL_DeclList(tao_yyvsp[0].deval, NULL); - else { - tao_yyvsp[-3].dlval->nconc(new UTL_DeclList(tao_yyvsp[0].deval, NULL)); - tao_yyval.dlval = tao_yyvsp[-3].dlval; - } - } -break; -case 167: -#line 1236 "fe/idl.tao_yy" -{ - tao_yyval.dlval = NULL; - } -break; -case 170: -#line 1248 "fe/idl.tao_yy" -{ - tao_yyval.dlval = new UTL_DeclList(tao_yyvsp[-1].deval, tao_yyvsp[0].dlval); - } -break; -case 171: -#line 1256 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsCommaSeen); - } -break; -case 172: -#line 1260 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsDeclSeen); - - if (tao_yyvsp[-3].dlval == NULL) - tao_yyval.dlval = new UTL_DeclList(tao_yyvsp[0].deval, NULL); - else { - tao_yyvsp[-3].dlval->nconc(new UTL_DeclList(tao_yyvsp[0].deval, NULL)); - tao_yyval.dlval = tao_yyvsp[-3].dlval; - } - } -break; -case 173: -#line 1271 "fe/idl.tao_yy" -{ - tao_yyval.dlval = NULL; - } -break; -case 174: -#line 1278 "fe/idl.tao_yy" -{ - tao_yyval.deval = new FE_Declarator(new UTL_ScopedName(tao_yyvsp[0].idval, NULL), - FE_Declarator::FD_simple, NULL); - } -break; -case 175: -#line 1286 "fe/idl.tao_yy" -{ - tao_yyval.deval = new FE_Declarator(new UTL_ScopedName(tao_yyvsp[0].dcval->local_name(), NULL), - FE_Declarator::FD_complex, - tao_yyvsp[0].dcval); - } -break; -case 178: -#line 1300 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_long; - } -break; -case 179: -#line 1304 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_longlong; - } -break; -case 180: -#line 1308 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_short; - } -break; -case 181: -#line 1315 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_ulong; - } -break; -case 182: -#line 1319 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_ulonglong; - } -break; -case 183: -#line 1323 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_ushort; - } -break; -case 184: -#line 1330 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_double; - } -break; -case 185: -#line 1334 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_float; - } -break; -case 186: -#line 1338 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_longdouble; - } -break; -case 187: -#line 1345 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_char; - } -break; -case 188: -#line 1349 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_wchar; - } -break; -case 189: -#line 1356 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_octet; - } -break; -case 190: -#line 1363 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_bool; - } -break; -case 191: -#line 1370 "fe/idl.tao_yy" -{ - tao_yyval.etval = AST_Expression::EV_any; - } -break; -case 192: -#line 1377 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructSeen); - } -break; -case 193: -#line 1381 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(tao_yyvsp[0].idval, NULL); - AST_Structure *d = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_StructIDSeen); - /* - * Create a node representing a struct declaration. Add it - * to the enclosing scope - */ - if (s != NULL) { - d = idl_global->gen()->create_structure(n, p); - (void) s->fe_add_structure(d); - } - /* - * Push the scope of the struct on the scopes stack - */ - idl_global->scopes()->push(d); - } -break; -case 194: -#line 1405 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructSqSeen); - } -break; -case 195: -#line 1409 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructBodySeen); - } -break; -case 196: -#line 1413 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructQsSeen); - /* - * Done with this struct. Pop its scope off the scopes stack - */ - tao_yyval.dcval = - AST_Structure::narrow_from_scope( - idl_global->scopes()->top_non_null()); - UTL_StrList *p = tao_yyval.dcval->pragmas (); - if (p != 0) - p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } -break; -case 200: -#line 1437 "fe/idl.tao_yy" -{ - /* is $0 to member_i */ - tao_yyval.vival = AST_Field::vis_NA; - } -break; -case 202: -#line 1446 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_MemberTypeSeen); - } -break; -case 203: -#line 1450 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_MemberDeclsSeen); - } -break; -case 204: -#line 1454 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l = NULL; - FE_Declarator *d = NULL; - AST_Field *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_MemberDeclsCompleted); - /* - * Check for illegal recursive use of type - */ - if (tao_yyvsp[-4].dcval != NULL && AST_illegal_recursive_type(tao_yyvsp[-4].dcval)) - idl_global->err()->error1(UTL_Error::EIDL_RECURSIVE_TYPE, tao_yyvsp[-4].dcval); - /* - * Create a node representing a struct or exception member - * Add it to the enclosing scope - */ - else if (s != NULL && tao_yyvsp[-4].dcval != NULL && tao_yyvsp[-2].dlval != NULL) { - l = new UTL_DecllistActiveIterator(tao_yyvsp[-2].dlval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type *tp = d->compose(tao_yyvsp[-4].dcval); - if (tp == NULL) - continue; - /* $0 denotes Visibility, must be on yacc reduction stack */ - f = idl_global->gen()->create_field(tp, d->name(), p, tao_yyvsp[-5].vival); - (void) s->fe_add_field(f); - } - delete l; - } - } -break; -case 205: -#line 1488 "fe/idl.tao_yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } -break; -case 206: -#line 1492 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - tao_yyerrok; - } -break; -case 207: -#line 1500 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionSeen); - } -break; -case 208: -#line 1504 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionIDSeen); - } -break; -case 209: -#line 1508 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchSeen); - } -break; -case 210: -#line 1512 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchOpenParSeen); - } -break; -case 211: -#line 1516 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchTypeSeen); - } -break; -case 212: -#line 1520 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(tao_yyvsp[-8].idval, NULL); - AST_Union *u = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchCloseParSeen); - /* - * Create a node representing a union. Add it to its enclosing - * scope - */ - if (tao_yyvsp[-2].dcval != NULL && s != NULL) { - AST_ConcreteType *tp = AST_ConcreteType::narrow_from_decl(tao_yyvsp[-2].dcval); - if (tp == NULL) { - idl_global->err()->not_a_type(tao_yyvsp[-2].dcval); - } else { - u = idl_global->gen()->create_union(tp, n, p); - (void) s->fe_add_union(u); - } - } - /* - * Push the scope of the union on the scopes stack - */ - idl_global->scopes()->push(u); - } -break; -case 213: -#line 1549 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionSqSeen); - } -break; -case 214: -#line 1553 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionBodySeen); - } -break; -case 215: -#line 1557 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionQsSeen); - /* - * Done with this union. Pop its scope from the scopes stack - */ - tao_yyval.dcval = - AST_Union::narrow_from_scope( - idl_global->scopes()->top_non_null()); - UTL_StrList *p = tao_yyval.dcval->pragmas (); - if (p != 0) - p = (UTL_StrList*)p->copy (); - idl_global->set_pragmas (p); - idl_global->scopes()->pop(); - } -break; -case 216: -#line 1575 "fe/idl.tao_yy" -{ - tao_yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(tao_yyvsp[0].etval); - } -break; -case 217: -#line 1579 "fe/idl.tao_yy" -{ - tao_yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(tao_yyvsp[0].etval); - } -break; -case 218: -#line 1583 "fe/idl.tao_yy" -{ - /* octets are not allowed*/ - idl_global->err ()->error0 (UTL_Error::EIDL_DISC_TYPE); - } -break; -case 219: -#line 1588 "fe/idl.tao_yy" -{ - tao_yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(tao_yyvsp[0].etval); - } -break; -case 221: -#line 1593 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - AST_PredefinedType *p = NULL; - AST_Typedef *t = NULL; - long found = I_FALSE; - - /* - * The discriminator is a scoped name. Try to resolve to - * one of the scalar types or to an enum. Thread through - * typedef's to arrive at the base type at the end of the - * chain - */ - if (s != NULL && (d = s->lookup_by_name(tao_yyvsp[0].idlist, I_TRUE)) != NULL) { - while (!found) { - switch (d->node_type()) { - case AST_Decl::NT_enum: - tao_yyval.dcval = d; - found = I_TRUE; - break; - case AST_Decl::NT_pre_defined: - p = AST_PredefinedType::narrow_from_decl(d); - if (p != NULL) { - switch (p->pt()) { - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_char: - case AST_PredefinedType::PT_wchar: - case AST_PredefinedType::PT_boolean: - tao_yyval.dcval = p; - found = I_TRUE; - break; - case AST_PredefinedType::PT_octet: - /* octets are not allowed*/ - idl_global->err ()->error0 (UTL_Error::EIDL_DISC_TYPE); - tao_yyval.dcval = NULL; - found = I_TRUE; - break; - default: - tao_yyval.dcval = NULL; - found = I_TRUE; - break; - } - } else - { - tao_yyval.dcval = NULL; - found = I_TRUE; - } - break; - case AST_Decl::NT_typedef: - t = AST_Typedef::narrow_from_decl(d); - if (t != NULL) d = t->base_type(); - break; - default: - tao_yyval.dcval = NULL; - found = I_TRUE; - break; - } - } - } else - tao_yyval.dcval = NULL; - - if (tao_yyval.dcval == NULL) - idl_global->err()->lookup_error(tao_yyvsp[0].idlist); - } -break; -case 225: -#line 1672 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionLabelSeen); - } -break; -case 226: -#line 1676 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemSeen); - } -break; -case 227: -#line 1680 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_LabellistActiveIterator *l = NULL; - AST_UnionLabel *d = NULL; - AST_UnionBranch *b = NULL; - AST_Field *f = tao_yyvsp[-2].ffval; - - ACE_UNUSED_ARG (l); - ACE_UNUSED_ARG (d); - - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemCompleted); - /* - * Create several nodes representing branches of a union. - * Add them to the enclosing scope (the union scope) - */ - if (s != NULL && tao_yyvsp[-4].llval != NULL && tao_yyvsp[-2].ffval != NULL) { - b = idl_global->gen()->create_union_branch(tao_yyvsp[-4].llval, - f->field_type(), - f->name(), - f->pragmas()); - (void) s->fe_add_union_branch(b); - } - } -break; -case 228: -#line 1704 "fe/idl.tao_yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } -break; -case 229: -#line 1709 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - tao_yyerrok; - } -break; -case 230: -#line 1717 "fe/idl.tao_yy" -{ - tao_yyval.llval = new UTL_LabelList(tao_yyvsp[-1].ulval, tao_yyvsp[0].llval); - } -break; -case 231: -#line 1724 "fe/idl.tao_yy" -{ - if (tao_yyvsp[-1].llval == NULL) - tao_yyval.llval = new UTL_LabelList(tao_yyvsp[0].ulval, NULL); - else { - tao_yyvsp[-1].llval->nconc(new UTL_LabelList(tao_yyvsp[0].ulval, NULL)); - tao_yyval.llval = tao_yyvsp[-1].llval; - } - } -break; -case 232: -#line 1733 "fe/idl.tao_yy" -{ - tao_yyval.llval = NULL; - } -break; -case 233: -#line 1740 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DefaultSeen); - } -break; -case 234: -#line 1744 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_LabelColonSeen); - - tao_yyval.ulval = idl_global->gen()-> - create_union_label(AST_UnionLabel::UL_default, - NULL); - } -break; -case 235: -#line 1752 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_CaseSeen); - } -break; -case 236: -#line 1756 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_LabelExprSeen); - } -break; -case 237: -#line 1760 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_LabelColonSeen); - - tao_yyval.ulval = idl_global->gen()->create_union_label(AST_UnionLabel::UL_label, - tao_yyvsp[-2].exval); - } -break; -case 238: -#line 1770 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemTypeSeen); - } -break; -case 239: -#line 1774 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemDeclSeen); - /* - * Check for illegal recursive use of type - */ - if (tao_yyvsp[-2].dcval != NULL && AST_illegal_recursive_type(tao_yyvsp[-2].dcval)) - idl_global->err()->error1(UTL_Error::EIDL_RECURSIVE_TYPE, tao_yyvsp[-2].dcval); - /* - * Create a field in a union branch - */ - else if (tao_yyvsp[-2].dcval == NULL || tao_yyvsp[0].deval == NULL) - tao_yyval.ffval = NULL; - else { - AST_Type *tp = tao_yyvsp[0].deval->compose(tao_yyvsp[-2].dcval); - if (tp == NULL) - tao_yyval.ffval = NULL; - else - tao_yyval.ffval = idl_global->gen()->create_field(tp, - tao_yyvsp[0].deval->name(), - idl_global->pragmas()); - } - } -break; -case 240: -#line 1800 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumSeen); - } -break; -case 241: -#line 1804 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(tao_yyvsp[0].idval, NULL); - AST_Enum *e = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_EnumIDSeen); - /* - * Create a node representing an enum and add it to its - * enclosing scope - */ - if (s != NULL) { - e = idl_global->gen()->create_enum(n, p); - /* - * Add it to its defining scope - */ - (void) s->fe_add_enum(e); - } - /* - * Push the enum scope on the scopes stack - */ - idl_global->scopes()->push(e); - } -break; -case 242: -#line 1831 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumSqSeen); - } -break; -case 243: -#line 1835 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumBodySeen); - } -break; -case 244: -#line 1839 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumQsSeen); - /* - * Done with this enum. Pop its scope from the scopes stack - */ - if (idl_global->scopes()->top() == NULL) - tao_yyval.dcval = NULL; - else { - tao_yyval.dcval = AST_Enum::narrow_from_scope(idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } -break; -case 246: -#line 1858 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumCommaSeen); - } -break; -case 249: -#line 1867 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier(tao_yyvsp[0].strval, 1, 0, I_FALSE), NULL); - AST_EnumVal *e = NULL; - AST_Enum *c = NULL; - UTL_StrList *p = idl_global->pragmas(); - - /* - * Create a node representing one enumerator in an enum - * Add it to the enclosing scope (the enum scope) - */ - if (s != NULL && s->scope_node_type() == AST_Decl::NT_enum) { - c = AST_Enum::narrow_from_scope(s); - if (c != NULL) - e = idl_global->gen()->create_enum_val(c->next_enum_val(), n, p); - (void) s->fe_add_enum_val(e); - } - } -break; -case 250: -#line 1891 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceCommaSeen); - } -break; -case 251: -#line 1895 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceExprSeen); - } -break; -case 252: -#line 1899 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceQsSeen); - /* - * Remove sequence marker from scopes stack - */ - if (idl_global->scopes()->top() == NULL) - idl_global->scopes()->pop(); - /* - * Create a node representing a sequence - */ - if (tao_yyvsp[-2].exval == NULL || tao_yyvsp[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(tao_yyvsp[-2].exval, AST_Expression::EV_ulong); - tao_yyval.dcval = NULL; - } else if (tao_yyvsp[-5].dcval == NULL) { - tao_yyval.dcval = NULL; - } else { - AST_Type *tp = AST_Type::narrow_from_decl(tao_yyvsp[-5].dcval); - if (tp == NULL) - tao_yyval.dcval = NULL; - else { - tao_yyval.dcval = idl_global->gen()->create_sequence(tao_yyvsp[-2].exval, tp); - /* - * Add this AST_Sequence to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_sequence(AST_Sequence::narrow_from_decl(tao_yyval.dcval)); - } - } - } -break; -case 253: -#line 1930 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceQsSeen); - /* - * Remove sequence marker from scopes stack - */ - if (idl_global->scopes()->top() == NULL) - idl_global->scopes()->pop(); - /* - * Create a node representing a sequence - */ - if (tao_yyvsp[-1].dcval == NULL) - tao_yyval.dcval = NULL; - else { - AST_Type *tp = AST_Type::narrow_from_decl(tao_yyvsp[-1].dcval); - if (tp == NULL) - tao_yyval.dcval = NULL; - else { - tao_yyval.dcval = - idl_global->gen()->create_sequence( - idl_global->gen()->create_expr((unsigned long) 0), - tp); - /* - * Add this AST_Sequence to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_sequence(AST_Sequence::narrow_from_decl(tao_yyval.dcval)); - } - } - } -break; -case 254: -#line 1963 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceSeen); - /* - * Push a sequence marker on scopes stack - */ - idl_global->scopes()->push(NULL); - } -break; -case 255: -#line 1971 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceSqSeen); - } -break; -case 256: -#line 1975 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceTypeSeen); - tao_yyval.dcval = tao_yyvsp[0].dcval; - } -break; -case 257: -#line 1984 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSqSeen); - } -break; -case 258: -#line 1988 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringExprSeen); - } -break; -case 259: -#line 1992 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringQsSeen); - /* - * Create a node representing a string - */ - if (tao_yyvsp[-2].exval == NULL || tao_yyvsp[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(tao_yyvsp[-2].exval, AST_Expression::EV_ulong); - tao_yyval.dcval = NULL; - } else { - tao_yyval.dcval = idl_global->gen()->create_string(tao_yyvsp[-2].exval); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl(tao_yyval.dcval)); - } - } -break; -case 260: -#line 2010 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringCompleted); - /* - * Create a node representing a string - */ - tao_yyval.dcval = - idl_global->gen()->create_string( - idl_global->gen()->create_expr((unsigned long) 0)); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl(tao_yyval.dcval)); - } -break; -case 261: -#line 2028 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSeen); - } -break; -case 262: -#line 2036 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSqSeen); - } -break; -case 263: -#line 2040 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringExprSeen); - } -break; -case 264: -#line 2044 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringQsSeen); - /* - * Create a node representing a string - */ - if (tao_yyvsp[-2].exval == NULL || tao_yyvsp[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(tao_yyvsp[-2].exval, AST_Expression::EV_ulong); - tao_yyval.dcval = NULL; - } else { - tao_yyval.dcval = idl_global->gen()->create_wstring(tao_yyvsp[-2].exval); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl(tao_yyval.dcval)); - } - } -break; -case 265: -#line 2062 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringCompleted); - /* - * Create a node representing a string - */ - tao_yyval.dcval = - idl_global->gen()->create_wstring( - idl_global->gen()->create_expr((unsigned long) 0)); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl(tao_yyval.dcval)); - } -break; -case 266: -#line 2080 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSeen); - } -break; -case 267: -#line 2087 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ArrayIDSeen); - } -break; -case 268: -#line 2091 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ArrayCompleted); - /* - * Create a node representing an array - */ - if (tao_yyvsp[0].elval != NULL) { - tao_yyval.dcval = idl_global->gen()->create_array(new UTL_ScopedName(tao_yyvsp[-2].idval, NULL), - tao_yyvsp[0].elval->length(), tao_yyvsp[0].elval); - } - } -break; -case 269: -#line 2105 "fe/idl.tao_yy" -{ - tao_yyval.elval = new UTL_ExprList(tao_yyvsp[-1].exval, tao_yyvsp[0].elval); - } -break; -case 270: -#line 2112 "fe/idl.tao_yy" -{ - if (tao_yyvsp[-1].elval == NULL) - tao_yyval.elval = new UTL_ExprList(tao_yyvsp[0].exval, NULL); - else { - tao_yyvsp[-1].elval->nconc(new UTL_ExprList(tao_yyvsp[0].exval, NULL)); - tao_yyval.elval = tao_yyvsp[-1].elval; - } - } -break; -case 271: -#line 2121 "fe/idl.tao_yy" -{ - tao_yyval.elval = NULL; - } -break; -case 272: -#line 2128 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DimSqSeen); - } -break; -case 273: -#line 2132 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DimExprSeen); - } -break; -case 274: -#line 2136 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DimQsSeen); - /* - * Array dimensions are expressions which must be coerced to - * positive integers - */ - if (tao_yyvsp[-2].exval == NULL || tao_yyvsp[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(tao_yyvsp[-2].exval, AST_Expression::EV_ulong); - tao_yyval.exval = NULL; - } else - tao_yyval.exval = tao_yyvsp[-2].exval; - } -break; -case 275: -#line 2153 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrSeen); - } -break; -case 276: -#line 2157 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrTypeSeen); - } -break; -case 277: -#line 2161 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l = NULL; - AST_Attribute *a = NULL; - FE_Declarator *d = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_AttrCompleted); - /* - * Create nodes representing attributes and add them to the - * enclosing scope - */ - if (s != NULL && tao_yyvsp[-2].dcval != NULL && tao_yyvsp[0].dlval != NULL) { - l = new UTL_DecllistActiveIterator(tao_yyvsp[0].dlval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type *tp = d->compose(tao_yyvsp[-2].dcval); - if (tp == NULL) - continue; - a = idl_global->gen()->create_attribute(tao_yyvsp[-5].bval, tp, d->name(), p); - /* - * Add one attribute to the enclosing scope - */ - (void) s->fe_add_attribute(a); - } - delete l; - } - } -break; -case 278: -#line 2195 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrROSeen); - tao_yyval.bval = I_TRUE; - } -break; -case 279: -#line 2200 "fe/idl.tao_yy" -{ - tao_yyval.bval = I_FALSE; - } -break; -case 280: -#line 2207 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptSeen); - } -break; -case 281: -#line 2211 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(tao_yyvsp[0].idval, NULL); - AST_Exception *e = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptIDSeen); - /* - * Create a node representing an exception and add it to - * the enclosing scope - */ - if (s != NULL) { - e = idl_global->gen()->create_exception(n, p); - (void) s->fe_add_exception(e); - } - /* - * Push the exception scope on the scope stack - */ - idl_global->scopes()->push(e); - } -break; -case 282: -#line 2235 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptSqSeen); - } -break; -case 283: -#line 2239 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptBodySeen); - } -break; -case 284: -#line 2243 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptQsSeen); - /* - * Done with this exception. Pop its scope from the scope stack - */ - idl_global->scopes()->pop(); - } -break; -case 285: -#line 2255 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpTypeSeen); - } -break; -case 286: -#line 2259 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier(tao_yyvsp[0].strval, 1, 0, I_FALSE), NULL); - AST_Operation *o = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_OpIDSeen); - /* - * Create a node representing an operation on an interface - * and add it to its enclosing scope - */ - if (s != NULL && tao_yyvsp[-2].dcval != NULL) { - AST_Type *tp = AST_Type::narrow_from_decl(tao_yyvsp[-2].dcval); - if (tp == NULL) { - idl_global->err()->not_a_type(tao_yyvsp[-2].dcval); - } else if (tp->node_type() == AST_Decl::NT_except) { - idl_global->err()->not_a_type(tao_yyvsp[-2].dcval); - } else { - o = idl_global->gen()->create_operation(tp, tao_yyvsp[-3].ofval, n, p); - (void) s->fe_add_operation(o); - } - } - /* - * Push the operation scope onto the scopes stack - */ - idl_global->scopes()->push(o); - } -break; -case 287: -#line 2288 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParsCompleted); - } -break; -case 288: -#line 2292 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseCompleted); - } -break; -case 289: -#line 2296 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Operation *o = NULL; - - idl_global->set_parse_state(IDL_GlobalData::PS_OpCompleted); - /* - * Add exceptions and context to the operation - */ - if (s != NULL && s->scope_node_type() == AST_Decl::NT_op) { - o = AST_Operation::narrow_from_scope(s); - - if (tao_yyvsp[-2].nlval != NULL && o != NULL) - (void) o->fe_add_exceptions(tao_yyvsp[-2].nlval); - if (tao_yyvsp[0].slval != NULL) - (void) o->fe_add_context(tao_yyvsp[0].slval); - } - /* - * Done with this operation. Pop its scope from the scopes stack - */ - idl_global->scopes()->pop(); - } -break; -case 290: -#line 2321 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpAttrSeen); - tao_yyval.ofval = AST_Operation::OP_oneway; - } -break; -case 291: -#line 2326 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpAttrSeen); - tao_yyval.ofval = AST_Operation::OP_idempotent; - } -break; -case 292: -#line 2331 "fe/idl.tao_yy" -{ - tao_yyval.ofval = AST_Operation::OP_noflags; - } -break; -case 294: -#line 2339 "fe/idl.tao_yy" -{ - tao_yyval.dcval = - idl_global->scopes()->bottom() - ->lookup_primitive_type(AST_Expression::EV_void); - } -break; -case 295: -#line 2348 "fe/idl.tao_yy" -{ - cerr << "error in " << idl_global->filename()->get_string() - << " line " << idl_global->lineno() << ":\n" ; - cerr << "Sorry, I (TAO_IDL) can't handle init yet\n"; - } -break; -case 296: -#line 2358 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpSqSeen); - } -break; -case 297: -#line 2362 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpQsSeen); - } -break; -case 298: -#line 2366 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpSqSeen); - } -break; -case 299: -#line 2371 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpQsSeen); - } -break; -case 301: -#line 2381 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParCommaSeen); - } -break; -case 304: -#line 2390 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParDirSeen); - } -break; -case 305: -#line 2394 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParTypeSeen); - } -break; -case 306: -#line 2398 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Argument *a = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_OpParDeclSeen); - /* - * Create a node representing an argument to an operation - * Add it to the enclosing scope (the operation scope) - */ - if (tao_yyvsp[-2].dcval != NULL && tao_yyvsp[0].deval != NULL && s != NULL) { - AST_Type *tp = tao_yyvsp[0].deval->compose(tao_yyvsp[-2].dcval); - if (tp != NULL) { - a = idl_global->gen()->create_argument(tao_yyvsp[-4].dival, tp, tao_yyvsp[0].deval->name(), p); - (void) s->fe_add_argument(a); - } - } - } -break; -case 307: -#line 2420 "fe/idl.tao_yy" -{ - tao_yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(tao_yyvsp[0].etval); - } -break; -case 309: -#line 2425 "fe/idl.tao_yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - - if (s != NULL) - d = s->lookup_by_name(tao_yyvsp[0].idlist, I_TRUE); - if (d == NULL) - idl_global->err()->lookup_error(tao_yyvsp[0].idlist); - tao_yyval.dcval = d; - } -break; -case 310: -#line 2439 "fe/idl.tao_yy" -{ - tao_yyval.dival = AST_Argument::dir_IN; - } -break; -case 311: -#line 2443 "fe/idl.tao_yy" -{ - tao_yyval.dival = AST_Argument::dir_OUT; - } -break; -case 312: -#line 2447 "fe/idl.tao_yy" -{ - tao_yyval.dival = AST_Argument::dir_INOUT; - } -break; -case 313: -#line 2454 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseSeen); - } -break; -case 314: -#line 2458 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseSqSeen); - } -break; -case 315: -#line 2463 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseQsSeen); - tao_yyval.nlval = tao_yyvsp[-1].nlval; - } -break; -case 316: -#line 2468 "fe/idl.tao_yy" -{ - tao_yyval.nlval = NULL; - } -break; -case 317: -#line 2475 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextSeen); - } -break; -case 318: -#line 2479 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextSqSeen); - } -break; -case 319: -#line 2484 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextQsSeen); - tao_yyval.slval = tao_yyvsp[-1].slval; - } -break; -case 320: -#line 2489 "fe/idl.tao_yy" -{ - tao_yyval.slval = NULL; - } -break; -case 321: -#line 2496 "fe/idl.tao_yy" -{ - tao_yyval.slval = new UTL_StrList(tao_yyvsp[-1].sval, tao_yyvsp[0].slval); - } -break; -case 322: -#line 2504 "fe/idl.tao_yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextCommaSeen); - } -break; -case 323: -#line 2508 "fe/idl.tao_yy" -{ - if (tao_yyvsp[-3].slval == NULL) - tao_yyval.slval = new UTL_StrList(tao_yyvsp[0].sval, NULL); - else { - tao_yyvsp[-3].slval->nconc(new UTL_StrList(tao_yyvsp[0].sval, NULL)); - tao_yyval.slval = tao_yyvsp[-3].slval; - } - } -break; -case 324: -#line 2517 "fe/idl.tao_yy" -{ - tao_yyval.slval = NULL; - } -break; -#line 3632 "y.tab.cpp" - } - tao_yyssp -= tao_yym; - tao_yystate = *tao_yyssp; - tao_yyvsp -= tao_yym; - tao_yym = tao_yylhs[tao_yyn]; - if (tao_yystate == 0 && tao_yym == 0) - { -#ifdef TAO_YYDEBUG - if (5 < tao_yydebug) - printf("tao_yydebug: after reduction, shifting from state 0 to\ - state %d\n", TAO_YYFINAL); -#endif - tao_yystate = TAO_YYFINAL; - *++tao_yyssp = TAO_YYFINAL; - *++tao_yyvsp = tao_yyval; - if (tao_yychar < 0) - { - if ((tao_yychar = tao_yylex()) < 0) tao_yychar = 0; -#if TAO_YYDEBUG - if (tao_yydebug) - { - tao_yys = 0; - if (tao_yychar <= TAO_YYMAXTOKEN) tao_yys = tao_yyname[tao_yychar]; - if (!tao_yys) tao_yys = "illegal-symbol"; - if (5 < tao_yydebug) - printf("tao_yydebug: state %d, reading %d (%s)\n", - TAO_YYFINAL, tao_yychar, tao_yys); - else - TAO_YYDEBUG_LOOK_AHEAD(TAO_YYFINAL, tao_yychar, tao_yys, tao_yyssp-tao_yyss); - } -#endif - } - if (tao_yychar == 0) goto tao_yyaccept; - goto tao_yyloop; - } - if ((tao_yyn = tao_yygindex[tao_yym]) && (tao_yyn += tao_yystate) >= 0 && - tao_yyn <= TAO_YYTABLESIZE && tao_yycheck[tao_yyn] == tao_yystate) - tao_yystate = tao_yytable[tao_yyn]; - else - tao_yystate = tao_yydgoto[tao_yym]; -#ifdef TAO_YYDEBUG - if (5 < tao_yydebug) - printf("tao_yydebug: after reduction, shifting from state %d \ -to state %d\n", *tao_yyssp, tao_yystate); -#endif - if (tao_yyssp >= tao_yyss + tao_yystacksize - 1) - { - goto tao_yyoverflow; - } - *++tao_yyssp = tao_yystate; - *++tao_yyvsp = tao_yyval; - goto tao_yyloop; -tao_yyoverflow: - tao_yyerror("yacc stack overflow"); -tao_yyabort: - return (1); -tao_yyaccept: - return (0); -} diff --git a/TAO/TAO_IDL/fe/y.tab.cpp.diff b/TAO/TAO_IDL/fe/y.tab.cpp.diff deleted file mode 100644 index f819d3bc3a4..00000000000 --- a/TAO/TAO_IDL/fe/y.tab.cpp.diff +++ /dev/null @@ -1,28 +0,0 @@ ---- y.tab.cpp Fri Jun 18 18:28:04 1999 -+++ y.tab.cpp.new Fri Jun 18 18:20:42 1999 -@@ -1101,7 +1101,7 @@ - extern char *ace_foo(); - #endif - -- if (tao_yys = ACE_OS::getenv("TAO_YYDEBUG")) -+ if ((tao_yys = ACE_OS::getenv("TAO_YYDEBUG"))) - { - tao_yyn = *tao_yys; - if (tao_yyn >= '0' && tao_yyn <= '9') -@@ -1118,7 +1118,7 @@ - *tao_yyssp = tao_yystate = 0; - - tao_yyloop: -- if (tao_yyn = tao_yydefred[tao_yystate]) goto tao_yyreduce; -+ if ((tao_yyn = tao_yydefred[tao_yystate])) goto tao_yyreduce; - if (tao_yychar < 0) - { - if ((tao_yychar = tao_yylex()) < 0) tao_yychar = 0; -@@ -1172,7 +1172,6 @@ - #ifdef lint - goto tao_yyerrlab; - #endif --tao_yyerrlab: - ++tao_yynerrs; - tao_yyinrecovery: - if (tao_yyerrflag < 3) diff --git a/TAO/TAO_IDL/fe/y.tab.h b/TAO/TAO_IDL/fe/y.tab.h deleted file mode 100644 index 6991a4e5c22..00000000000 --- a/TAO/TAO_IDL/fe/y.tab.h +++ /dev/null @@ -1,85 +0,0 @@ -// $Id$ -#define IDENTIFIER 257 -#define IDL_CONST 258 -#define IDL_MODULE 259 -#define IDL_INTERFACE 260 -#define IDL_TYPEDEF 261 -#define IDL_LONG 262 -#define IDL_SHORT 263 -#define IDL_UNSIGNED 264 -#define IDL_DOUBLE 265 -#define IDL_FLOAT 266 -#define IDL_CHAR 267 -#define IDL_WCHAR 268 -#define IDL_OCTET 269 -#define IDL_BOOLEAN 270 -#define IDL_ANY 271 -#define IDL_STRUCT 272 -#define IDL_UNION 273 -#define IDL_SWITCH 274 -#define IDL_ENUM 275 -#define IDL_SEQUENCE 276 -#define IDL_STRING 277 -#define IDL_WSTRING 278 -#define IDL_EXCEPTION 279 -#define IDL_CASE 280 -#define IDL_DEFAULT 281 -#define IDL_READONLY 282 -#define IDL_ATTRIBUTE 283 -#define IDL_ONEWAY 284 -#define IDL_IDEMPOTENT 285 -#define IDL_VOID 286 -#define IDL_IN 287 -#define IDL_OUT 288 -#define IDL_INOUT 289 -#define IDL_RAISES 290 -#define IDL_CONTEXT 291 -#define IDL_NATIVE 292 -#define IDL_ABSTRACT 293 -#define IDL_CUSTOM 294 -#define IDL_INIT 295 -#define IDL_PRIVATE 296 -#define IDL_PUBLIC 297 -#define IDL_SUPPORTS 298 -#define IDL_TRUNCATABLE 299 -#define IDL_VALUETYPE 300 -#define IDL_INTEGER_LITERAL 301 -#define IDL_UINTEGER_LITERAL 302 -#define IDL_STRING_LITERAL 303 -#define IDL_CHARACTER_LITERAL 304 -#define IDL_FLOATING_PT_LITERAL 305 -#define IDL_TRUETOK 306 -#define IDL_FALSETOK 307 -#define IDL_SCOPE_DELIMITOR 308 -#define IDL_LEFT_SHIFT 309 -#define IDL_RIGHT_SHIFT 310 -typedef union { - AST_Decl *dcval; /* Decl value */ - UTL_StrList *slval; /* String list */ - UTL_NameList *nlval; /* Name list */ - UTL_ExprList *elval; /* Expression list */ - UTL_LabelList *llval; /* Label list */ - UTL_DeclList *dlval; /* Declaration list */ - FE_InterfaceHeader *ihval; /* Interface header */ - FE_obv_header *vhval; /* Valuetype header */ - AST_Expression *exval; /* Expression value */ - AST_UnionLabel *ulval; /* Union label */ - AST_Field *ffval; /* Field value */ - AST_Field::Visibility vival; /* N/A, pub or priv */ - AST_Expression::ExprType etval; /* Expression type */ - AST_Argument::Direction dival; /* Argument direction */ - AST_Operation::Flags ofval; /* Operation flags */ - FE_Declarator *deval; /* Declarator value */ - idl_bool bval; /* Boolean value */ - long ival; /* Long value */ - unsigned long uival; /* Unsigned long value */ - double dval; /* Double value */ - float fval; /* Float value */ - char cval; /* Char value */ - - UTL_String *sval; /* String value */ - char *strval; /* char * value */ - Identifier *idval; /* Identifier */ - UTL_IdList *idlist; /* Identifier list */ -} TAO_YYSTYPE; -extern TAO_YYSTYPE tao_yylval; diff --git a/TAO/TAO_IDL/idl_make_vars b/TAO/TAO_IDL/idl_make_vars deleted file mode 100644 index f061649d004..00000000000 --- a/TAO/TAO_IDL/idl_make_vars +++ /dev/null @@ -1,62 +0,0 @@ -# Makefile include file for IDL compiler -# -# What OS we're compiling on. -# -# As shipped the CFE is preconfigured for SOLARIS 2.x -# =================================================== -# -# Uncomment the next line for SOLARIS 2.x -OSV = SOLARIS2 -# Uncomment the next line for SUNOS 4.x -# OSV = SUNOS4 -# Uncomment the next line for HPUX -# OSV = hpux -# Uncomment the next line for Apollo Domain -# OSV = apollo -# -# IDL_CFE_VERSION Defines what the current IDL CFE version is -IDL_CFE_VERSION = \"1.3.0\" -# -# Define LEXFLAGS to pass to lex -LEXFLAGS = -t -# -# Define YFLAGS to pass to yacc -YFLAGS = -t -d -# -# C++ What C++ compiler to use -# -# Also define CCC which is used instead of C++ in -# some versions of make. Make sure they refer to the -# same executable; if you modify one please also modify -# the other to be identical. -# -# Uncomment these two lines if you're using SunPro Sparcworks C++ compilers -# (Tested for SunPro Sparcworks 2.x with SunOS 4.x and Solaris 2.x, for -# SunPro Sparcworks 3.0 with Solaris 2.x) -C++ = CC -CCC = CC -# Uncomment these two lines if you're using g++ (tested for SunOS 4.x and -# Solaris 2.x only, with g++ 2.5.8) -# C++ = g++ -# CCC = g++ -# -# What flags to pass to the C preprocessor -CPPFLAGS += -I../include -I. -D$(OSV) \ - -DCPP_LOCATION=\"$(C++)\" \ - -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) \ -# -# What flags to pass to the CC phase -CCFLAGS += -g -# -# What ranlib to use -# -# Uncomment the following line for SunOS 4.x and others which have ranlib -# RANLIB = ranlib -# Uncomment the following line for Solaris 2.x and others which don't have it -RANLIB = /bin/true -# -# What ar to use -AR = ar -# -# What flags to give to ar -ARFLAGS = crv diff --git a/TAO/TAO_IDL/idl_specs/array.idl b/TAO/TAO_IDL/idl_specs/array.idl deleted file mode 100644 index 9a35397c1ba..00000000000 --- a/TAO/TAO_IDL/idl_specs/array.idl +++ /dev/null @@ -1,39 +0,0 @@ -// $Id$ - -typedef sequence vec10; -typedef char str22[22][2]; -typedef boolean boolarray[3][40]; - - -struct A { - long a1; - char a2[17]; - char a3[10][2]; -// vec10 a3; -}; - -struct B { - long b1; - A b2; -}; - -struct C { - long c1; - long c2; -}; - -typedef A A_matrix[2][3][4]; -typedef B B_matrix[2][3][4]; -typedef C C_matrix[2][3][4]; - -typedef A_matrix A_rmatrix[2][3][4][5]; - -interface A_i { - A op(in A a1, inout A a2, out A a3); - str22 op2(in str22 a1, inout str22 a2, out str22 a3); - str22 op3(in short a1[3][4], inout short a2[3][4], out short a3[4][4]); - A_matrix op4(in A a1, inout A a2, out A a3); - attribute str22 attribute_array; - void foo(in any x[3], out any y[4], inout any z[3]); -}; - diff --git a/TAO/TAO_IDL/idl_specs/constant.idl b/TAO/TAO_IDL/idl_specs/constant.idl deleted file mode 100644 index 3ccded681e1..00000000000 --- a/TAO/TAO_IDL/idl_specs/constant.idl +++ /dev/null @@ -1,31 +0,0 @@ -// $Id$ - -const short l = 4; - -enum N { zero, un , deux, trois }; - -exception E { - short cause ; - }; - -module M { - const short l = 4; - - enum N { zero, un , deux, trois }; - - exception E { - short cause ; - }; - - interface A { - const short l = 4; - - enum N { zero, un , deux, trois }; - - exception E { - short cause ; - }; - N foo(in N x, out N y, inout N z); - }; -}; - diff --git a/TAO/TAO_IDL/idl_specs/dif2.idl b/TAO/TAO_IDL/idl_specs/dif2.idl deleted file mode 100644 index b21c65d6d58..00000000000 --- a/TAO/TAO_IDL/idl_specs/dif2.idl +++ /dev/null @@ -1,50 +0,0 @@ -// $Id$ - -/* A test interface for DIF1 */ - -interface ex1 -{ - void op0(); - float op1(in float f, out double d, inout long l); - double op2(in double d, out long l, inout short s); - long op3(in long l, out short s, inout unsigned long ul); - short op4(in short s, out unsigned long ul, inout unsigned short us); - unsigned long op5(inout unsigned long ul, in unsigned short us, out char c, in boolean b); - unsigned short op6(out unsigned short us, inout char c); -}; - -//interface ex3; - -interface ex2 : ex1 -{ - // operations continued from ex1 - char op7(in char c, out boolean b, inout octet o); - boolean op8(out boolean b, in octet o); - octet op9(inout octet o, out string s, in string <10> ls, inout long l); - string op10(in string s, out string <10> ls); - string <10> op11(inout string <10> ls, out long l); - long op12(in long l); -// ex3 op13(Environment *ev); -}; - -interface ex3 : ex1 -{ - // attributes - readonly attribute float float_attribute; - attribute double double_attribute; - readonly attribute long long_attribute; - attribute short short_attribute; - readonly attribute unsigned long unsigned_long_attribute; - -}; - -interface ex4 : ex2, ex3 -{ - attribute unsigned short unsigned_short_attribute; - readonly attribute char char_attribute; - attribute boolean boolean_attribute; - readonly attribute octet octet_attribute; - attribute string string_attribute; - readonly attribute string <10> limited_string_attribute; - readonly attribute ex4 an_object_attribute; -}; diff --git a/TAO/TAO_IDL/idl_specs/inherit.idl b/TAO/TAO_IDL/idl_specs/inherit.idl deleted file mode 100644 index 390f8d7e98e..00000000000 --- a/TAO/TAO_IDL/idl_specs/inherit.idl +++ /dev/null @@ -1,19 +0,0 @@ -// $Id$ - -interface one { - void op_one(); -}; -interface two : one { - void op_two(); -}; -interface three : one { - void op_three(); -}; -interface four : two, three { - void op_four(); -}; - -interface five : four, three, two { - void op_five(); -}; - diff --git a/TAO/TAO_IDL/idl_specs/module.idl b/TAO/TAO_IDL/idl_specs/module.idl deleted file mode 100644 index d40f45963a1..00000000000 --- a/TAO/TAO_IDL/idl_specs/module.idl +++ /dev/null @@ -1,22 +0,0 @@ -// $Id$ - -module mod1 -{ - module mod2 - { - interface ex1 - { - attribute long l1; - readonly attribute long l2; - - long m1(in long a); - }; - - interface ex2 : ex1 - { - attribute long l3; - - long m2(in long a, out long b); - }; - }; -}; diff --git a/TAO/TAO_IDL/idl_specs/primtypes.idl b/TAO/TAO_IDL/idl_specs/primtypes.idl deleted file mode 100644 index 63c6a27d809..00000000000 --- a/TAO/TAO_IDL/idl_specs/primtypes.idl +++ /dev/null @@ -1,25 +0,0 @@ -// $Id$ - -interface ex1 -{ - attribute long l1; - long m1(in long a); - ex1 mtypes( - in long a1, inout long a2, out long a3, - in unsigned long b1, inout unsigned long b2, out unsigned long b3, - in short c1,inout short c2, out short c3, - in unsigned short d1, inout unsigned short d2, out unsigned short d3, - in float e1, inout float e2, out float e3, - in double f1, inout double f2, out double f3, - in char g1, inout char g2, out char g3 - ); - -}; - -interface ex2 : ex1 -{ - readonly attribute long l2; - - long m2(in long a, out long b); - void mv(); -}; diff --git a/TAO/TAO_IDL/idl_specs/sequence.idl b/TAO/TAO_IDL/idl_specs/sequence.idl deleted file mode 100644 index 7a86a2cf481..00000000000 --- a/TAO/TAO_IDL/idl_specs/sequence.idl +++ /dev/null @@ -1,27 +0,0 @@ -// $Id$ - -typedef sequence vec10; -typedef sequence c20; -typedef sequence cc23; -typedef sequence c24; -typedef sequence< sequence, 10> c30; -struct TProgram { - string path; - sequence argv; - sequence envp; -}; - -struct foo { - long f1; - char f2; -}; - -typedef foo foo_ar[20]; -typedef sequence f_unbounded; -typedef sequence f_ar_unbounded; - -interface TestSeq { - attribute f_unbounded fattr; - typedef sequence also_vec10; - vec10 op(in also_vec10 a, out vec10 b, inout sequence c); -}; diff --git a/TAO/TAO_IDL/idl_specs/simple.idl b/TAO/TAO_IDL/idl_specs/simple.idl deleted file mode 100644 index b10cdd73668..00000000000 --- a/TAO/TAO_IDL/idl_specs/simple.idl +++ /dev/null @@ -1,18 +0,0 @@ -// $Id$ - -typedef sequence vec10; - -exception simple_error { - long reason; -}; - -interface simple { - long op(in long a, out simple b, inout long c) raises (simple_error); -}; - -interface simple2 : simple { - exception simple2_error { - long reason2; - }; - long op2(in long a, in simple b, out simple2 c) raises (simple2_error); -}; diff --git a/TAO/TAO_IDL/idl_specs/simple2.idl b/TAO/TAO_IDL/idl_specs/simple2.idl deleted file mode 100644 index 8f9202f9485..00000000000 --- a/TAO/TAO_IDL/idl_specs/simple2.idl +++ /dev/null @@ -1,28 +0,0 @@ -// $Id$ - -#include "simple.idl" - - -interface simple3 : simple2 { - exception OVERFLOW { - long a; - string msg; - }; - exception UNDERFLOW { - long b; - string msg; - }; - exception BADNUM { - vec10 c; - }; - exception USERERROR { - any reason; - }; - long op3(in long a, out simple3 b, out simple2 c, out simple d) - raises (OVERFLOW, UNDERFLOW, BADNUM); - any op4(in any x, inout any y, out any z) - raises(UNDERFLOW); - - oneway void op5() - raises(USERERROR); -}; diff --git a/TAO/TAO_IDL/idl_specs/struct.idl b/TAO/TAO_IDL/idl_specs/struct.idl deleted file mode 100644 index a098efd9b12..00000000000 --- a/TAO/TAO_IDL/idl_specs/struct.idl +++ /dev/null @@ -1,54 +0,0 @@ -// $Id$ - -struct bar { - long b1; - long b2; - string<20> b3; -}; - -struct bar2 { - long b3; - bar b4; -}; - -struct bar3 { - long b1; - long b2; - long b3; -}; - -struct bar4 { - long b1; - bar2 b2; - long b3; - bar3 b4; - long b5; -}; - - -interface foo { - long op(in bar a, out bar2 b); -}; -interface foo2 : foo { - bar op2(in bar2 a); - long op3(in long a, out char b); -}; - - -typedef unsigned short Coord; - -struct CellPos { - Coord row; - Coord col; -}; - -struct CellPos2 { - unsigned short row; - unsigned short col; -}; - -struct CellPos3 { - Coord row; - Coord col; - unsigned short col2; -}; diff --git a/TAO/TAO_IDL/idl_specs/union.idl b/TAO/TAO_IDL/idl_specs/union.idl deleted file mode 100644 index 587dae3a9c9..00000000000 --- a/TAO/TAO_IDL/idl_specs/union.idl +++ /dev/null @@ -1,28 +0,0 @@ -// $Id$ - -struct Bar { - long b1; - char b2; -}; - -union Foo switch (long) { -case 1: long x; -case 2: Bar y; -default: char z; -}; - - -union Foo2 switch (char) { - case 'a': long x; - case 'b': Foo y; -}; - -interface a { - struct astruct { - Foo2 a1; - Foo a2; - Bar a3; - }; - Foo2 opA(in astruct b); -}; - diff --git a/TAO/TAO_IDL/idl_specs/union2.idl b/TAO/TAO_IDL/idl_specs/union2.idl deleted file mode 100644 index 843980ac048..00000000000 --- a/TAO/TAO_IDL/idl_specs/union2.idl +++ /dev/null @@ -1,23 +0,0 @@ -// $Id$ - -enum FooDisc { - FOO1, - FOO2 -}; -union Foo switch (FooDisc) { -case FOO1: long x; -case FOO2: string y; -default: char z; -}; - - -struct Bar { - enum BarDisc { - BAR1, - BAR2 - } kind; - union Foo switch (BarDisc) { - case BAR1: long x; - case BAR2: long y; - } addr; -}; diff --git a/TAO/TAO_IDL/include/Makefile.am b/TAO/TAO_IDL/include/Makefile.am deleted file mode 100644 index d589b7b2e95..00000000000 --- a/TAO/TAO_IDL/include/Makefile.am +++ /dev/null @@ -1,87 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Makefile.am for the TAO IDL compiler --- 'include' sub-directory -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -## SUBDIRS = utl_tmpl - -noinst_HEADERS = \ - ast.h \ - ast_argument.h \ - ast_array.h \ - ast_attribute.h \ - ast_concrete_type.h \ - ast_constant.h \ - ast_decl.h \ - ast_enum.h \ - ast_enum_val.h \ - ast_exception.h \ - ast_expression.h \ - ast_extern.h \ - ast_field.h \ - ast_generator.h \ - ast_interface.h \ - ast_interface_fwd.h \ - ast_module.h \ - ast_native.h \ - ast_operation.h \ - ast_predefined_type.h \ - ast_root.h \ - ast_sequence.h \ - ast_string.h \ - ast_structure.h \ - ast_type.h \ - ast_typedef.h \ - ast_union.h \ - ast_union_branch.h \ - ast_union_label.h \ - be_extern.h \ - drv_extern.h \ - drv_link.h \ - drv_private.h \ - fe_declarator.h \ - fe_extern.h \ - fe_interface_header.h \ - fe_private.h \ - global_extern.h \ - idl.h \ - idl_bool.h \ - idl_defines.h \ - idl_extern.h \ - idl_fwd.h \ - idl_global.h \ - idl_narrow.h \ - intlmacros.h \ - nr_extern.h \ - util.h \ - utl_decllist.h \ - utl_error.h \ - utl_exceptlist.h \ - utl_exprlist.h \ - utl_identifier.h \ - utl_idlist.h \ - utl_indenter.h \ - utl_labellist.h \ - utl_list.h \ - utl_namelist.h \ - utl_scope.h \ - utl_scoped_name.h \ - utl_stack.h \ - utl_string.h \ - utl_strlist.h - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/TAO_IDL/include/ast.h b/TAO/TAO_IDL/include/ast.h deleted file mode 100644 index 0f95cb271d0..00000000000 --- a/TAO/TAO_IDL/include/ast.h +++ /dev/null @@ -1,120 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_AST_HH -#define _AST_AST_HH - -// ast.h -// -// Defines the classes which constitute the agreement between the CFE -// and BEs. - -/* -** DEPENDENCIES: NONE -** -** USE: Included from idl.hh -*/ - -#include "utl_scoped_name.h" // Define UTL_ScopedName - -#include "ast_decl.h" // class AST_Decl - -#include "ast_expression.h" // class AST_Expression - -#include "utl_scope.h" // class UTL_Scope - -#include "ast_type.h" // class AST_Type -#include "ast_concrete_type.h" // class AST_ConcreteType -#include "ast_predefined_type.h"// class AST_PredefinedType -#include "ast_module.h" // class AST_Module -#include "ast_root.h" // class AST_Root -#include "ast_interface.h" // class AST_Interface -#include "ast_interface_fwd.h" // class AST_InterfaceFwd -#include "ast_structure.h" // class AST_Structure -#include "ast_exception.h" // class AST_Exception -#include "ast_enum.h" // class AST_Enum -#include "ast_operation.h" // class AST_Operation -#include "ast_field.h" // class AST_Field -#include "ast_argument.h" // class AST_Argument -#include "ast_attribute.h" // class AST_Attribute -#include "ast_union.h" // class AST_Union -#include "ast_union_branch.h" // class AST_UnionBranch -#include "ast_union_label.h" // class AST_UnionLabel -#include "ast_constant.h" // class AST_Constant -#include "ast_enum_val.h" // class AST_EnumVal -#include "ast_array.h" // class AST_Array -#include "ast_sequence.h" // class AST_Sequence -#include "ast_string.h" // class AST_String -#include "ast_typedef.h" // class AST_Typedef -#include "ast_native.h" // class AST_Native - -#include "utl_list.h" // class UTL_List -#include "utl_strlist.h" // class UTL_StrList -#include "utl_exprlist.h" // class UTL_ExprList - -#include "ast_generator.h" // class AST_Generator - -#endif // _AST_AST_HH diff --git a/TAO/TAO_IDL/include/ast_argument.h b/TAO/TAO_IDL/include/ast_argument.h deleted file mode 100644 index e2d2663362d..00000000000 --- a/TAO/TAO_IDL/include/ast_argument.h +++ /dev/null @@ -1,115 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ARGUMENT_AST_ARGUMENT_HH -#define _AST_ARGUMENT_AST_ARGUMENT_HH - -// Representation of argument to operation: -// -// An argument is a field with a direction attached - -/* -** DEPENDENCIES: ast_field.hh, utl_scoped_name.hh, ast_type.hh -** utl_strlist.hh, ast_decl.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "ast_field.h" - - -class AST_Argument : public virtual AST_Field -{ -public: - // Define enum with values denoting argument passing directions - enum Direction {dir_IN, dir_OUT, dir_INOUT}; - - // Operations - - // Constructor(s) - AST_Argument(); - AST_Argument(Direction direction, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p); - virtual ~AST_Argument() {} - - // Data Accessors - Direction direction(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Argument, AST_Field); - DEF_NARROW_FROM_DECL(AST_Argument); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - const Direction pd_direction; // Argument direction -}; - -#endif // _AST_ARGUMENT_AST_ARGUMENT_HH diff --git a/TAO/TAO_IDL/include/ast_array.h b/TAO/TAO_IDL/include/ast_array.h deleted file mode 100644 index a8f0b7a5002..00000000000 --- a/TAO/TAO_IDL/include/ast_array.h +++ /dev/null @@ -1,117 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ARRAY_AST_ARRAY_HH -#define _AST_ARRAY_AST_ARRAY_HH - -// Representation of array declaration: -// -// An array is a combination of a list of dimensions and a base type - -/* -** DEPENDENCIES: ast_concrete_type.hh, utl_exprlist.hh, ast_type.hh, -** ast_decl.hh -** -** USE: Included from ast.hh -*/ - -class AST_Array : public virtual AST_ConcreteType { -public: - // Operations - - // Constructor(s) - AST_Array(); - AST_Array(UTL_ScopedName *n, unsigned long ndims, UTL_ExprList *dims); - virtual ~AST_Array() {} - - // Data Accessors - unsigned long n_dims(); - AST_Expression **dims(); - void set_dims(AST_Expression **, unsigned long); - AST_Type *base_type(); - void set_base_type(AST_Type *nbt); - - // Narrowing - DEF_NARROW_METHODS1(AST_Array, AST_ConcreteType); - DEF_NARROW_FROM_DECL(AST_Array); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - unsigned long pd_n_dims; // How many dimensions? - AST_Expression **pd_dims; // Their expressions - AST_Type *pd_base_type; // Base type of array - - // Operations - - // Compute how many dimensions - AST_Expression **compute_dims(UTL_ExprList *dims, - unsigned long ndims); -}; - -#endif // _AST_ARRAY_AST_ARRAY_HH diff --git a/TAO/TAO_IDL/include/ast_attribute.h b/TAO/TAO_IDL/include/ast_attribute.h deleted file mode 100644 index f9f5dd3f7cf..00000000000 --- a/TAO/TAO_IDL/include/ast_attribute.h +++ /dev/null @@ -1,109 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ATTRIBUTE_AST_ATTRIBUTE_HH -#define _AST_ATTRIBUTE_AST_ATTRIBUTE_HH - -// Representation of attribute declaration: -// -// An attribute is a field with a readonly property - -/* -** DEPENDENCIES: ast_field.hh, ast_type.hh, utl_scoped_name.hh, -** utl_strlist.hh, ast_decl.hh -** -** USE: Included from ast.h -*/ - -class AST_Attribute : public virtual AST_Field -{ -public: - // Operations - - // Constructor(s) - AST_Attribute(); - AST_Attribute(idl_bool readonly, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual ~AST_Attribute() {} - - // Data Accessors - idl_bool readonly(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Attribute, AST_Field); - DEF_NARROW_FROM_DECL(AST_Attribute); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - const idl_bool pd_readonly; // Is attribute read-only? -}; - -#endif // _AST_ATTRIBUTE_AST_ATTRIBUTE_HH diff --git a/TAO/TAO_IDL/include/ast_concrete_type.h b/TAO/TAO_IDL/include/ast_concrete_type.h deleted file mode 100644 index 660994ee572..00000000000 --- a/TAO/TAO_IDL/include/ast_concrete_type.h +++ /dev/null @@ -1,95 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_CONCRETE_TYPE_AST_CONCRETE_TYPE_HH -#define _AST_CONCRETE_TYPE_AST_CONCRETE_TYPE_HH - -// Class for all concrete types -// -// This is useful to group together IDL types other than objects - -/* -** DEPENDENCIES: ast_type.hh, ast_decl.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_ConcreteType : public virtual AST_Type -{ -public: - // Operations - - // Constructor(s) - AST_ConcreteType(); - AST_ConcreteType(AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_ConcreteType() {} - - // Narrowing - DEF_NARROW_METHODS1(AST_ConcreteType, AST_Type); - DEF_NARROW_FROM_DECL(AST_ConcreteType); -}; - -#endif // _AST_CONCRETE_TYPE_AST_CONCRETE_TYPE_HH diff --git a/TAO/TAO_IDL/include/ast_constant.h b/TAO/TAO_IDL/include/ast_constant.h deleted file mode 100644 index afb73edeb58..00000000000 --- a/TAO/TAO_IDL/include/ast_constant.h +++ /dev/null @@ -1,117 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_CONSTANT_AST_CONSTANT_HH -#define _AST_CONSTANT_AST_CONSTANT_HH - -// Representation of constant declaration: -// -// NOTE: Part of the job of the constructor is to convert -// the AST_Constant_val it received to the type denoted by -// the ConstantType it received. -// -// NOTE: There are two constructors here, one that gets a NodeType -// parameter. This constructor is used from AST_EnumVal, which is -// just a glorified AST_Constant - -/* -** DEPENDENCIES: ast_decl.hh, ast_expression.hh, utl_scoped_name.hh, -** utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Constant : public virtual AST_Decl -{ -public: - // Operations - - // Constructor(s) - AST_Constant(); - AST_Constant(AST_Expression::ExprType et, AST_Decl::NodeType nt, - AST_Expression *ev, UTL_ScopedName *n, UTL_StrList *p); - AST_Constant(AST_Expression::ExprType et, AST_Expression *ev, - UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Constant() {} - - // Data Accessors - AST_Expression *constant_value(); - AST_Expression::ExprType et(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Constant, AST_Decl); - DEF_NARROW_FROM_DECL(AST_Constant); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Expression *pd_constant_value; // The value - AST_Expression::ExprType pd_et; // Its expr type -}; - -#endif // _AST_CONSTANT_AST_CONSTANT_HH diff --git a/TAO/TAO_IDL/include/ast_decl.h b/TAO/TAO_IDL/include/ast_decl.h deleted file mode 100644 index ef14aa5a441..00000000000 --- a/TAO/TAO_IDL/include/ast_decl.h +++ /dev/null @@ -1,219 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_DECL_AST_DECL_HH -#define _AST_DECL_AST_DECL_HH - -// Rock bottom of AST class hierarchy -// -// This class is inherited by all classes which represent named entities -// in IDL. It implements the line and file recording mechanism and also -// records the type of the node. This may be useful for BEs to be able -// to distinguish the real type of a node given only a superclass. - -/* -** DEPENDENCIES: utl_scope.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "idl_bool.h" -#include "utl_scoped_name.h" -#include "utl_string.h" - -// This is for AIX w/IBM C++ -class Identifier; - -// This class is needed (only for g++) to get around a bug in g++ which -// causes virtual operations to not be looked up correctly if an operation -// is defined in more than one virtual public base class. This class makes -// the hierarchy rooted in a single class, thereby eliminating the situation -// that causes the bug to appear - -class COMMON_Base -{ - public: - // Narrowing - DEF_NARROW_METHODS0(COMMON_Base); -}; - -class AST_Decl : public virtual COMMON_Base -{ -public: - // Enum defining the different kinds of AST nodes - enum NodeType { - NT_module // Denotes a module - , NT_root // Denotes the root of AST - , NT_interface // Denotes an interface - , NT_interface_fwd // Fwd declared interface - , NT_const // Denotes a constant - , NT_except // Denotes an exception - , NT_attr // Denotes an attribute - , NT_op // Denotes an operation - , NT_argument // Denotes an op. argument - , NT_union // Denotes a union - , NT_union_branch // Denotes a union branch - , NT_struct // Denotes a structure - , NT_field // Denotes a field in structure - , NT_enum // Denotes an enumeration - , NT_enum_val // Denotes an enum. value - , NT_string // Denotes an IDL string - , NT_array // Denotes an IDL array - , NT_sequence // Denotes an IDL sequence - , NT_typedef // Denotes a typedef - , NT_pre_defined // Denotes a predefined type - , NT_native // Denotes a native type - // dependent on the programming - // language - }; - - // Operations - - // Constructor(s) - AST_Decl(); - AST_Decl(NodeType type, UTL_ScopedName *n, UTL_StrList *pragmas); - virtual ~AST_Decl() {} - - // Data Accessors - idl_bool imported(); - void set_imported(idl_bool is_it); - idl_bool in_main_file(); - void set_in_main_file(idl_bool is_it); - UTL_Scope *defined_in(); - void set_defined_in(UTL_Scope *); - NodeType node_type(); - long line(); - void set_line(long l); - UTL_String *file_name(); - void set_file_name(UTL_String *s); - - UTL_ScopedName *name(); - - UTL_ScopedName *compute_name (const char *prefix, const char *suffix); - // Variation of the . Computes scoped name string, applying - // prefix and suffix to the local name component. - - void set_name(UTL_ScopedName *n); - - Identifier *local_name (); - - Identifier *compute_local_name (const char *prefix, const char *sufix); - // Apply prefix and suffix to the local name and return. - - // - // If there is _cxx_ in the beginning, we will remove that and keep - // a copy of the original name. TAO IDL's front end adds _cxx_ - // prefix to the all the reserved keywords. But when we invoke the - // operation remotely, we should be sending only the name with out - // "_cxx_" prefix. - // - - Identifier *original_local_name (void); - // Get. - - void original_local_name (Identifier *); - // Set. - - void add_pragmas(UTL_StrList *p); - UTL_StrList *pragmas(); - idl_bool added(); - void set_added(idl_bool is_it); - - // Narrowing - DEF_NARROW_METHODS0(AST_Decl); - DEF_NARROW_FROM_DECL(AST_Decl); - - // AST Dumping - virtual void dump(ostream &o); - - // Other operations - - // Return TRUE if "this" has "s" as an ancestor - idl_bool has_ancestor(AST_Decl *s); - -private: - // Data - idl_bool pd_imported; // Imported? - idl_bool pd_in_main_file; // Defined in main file? - UTL_Scope *pd_defined_in; // Scope - NodeType pd_node_type; // What kind of node - long pd_line; // Line defined in - UTL_String *pd_file_name; // What file defined in - UTL_ScopedName *pd_name; // As given - Identifier *pd_local_name; // Name in scope - Identifier *pd_original_local_name; // _cxx_ removed if any. - UTL_StrList *pd_pragmas; // Pragmas - idl_bool pd_added; // already added - - // Operations - - // Compute the full name of an AST node - void compute_full_name(UTL_ScopedName *n); -}; - -#endif // _AST_DECL_AST_DECL_HH diff --git a/TAO/TAO_IDL/include/ast_enum.h b/TAO/TAO_IDL/include/ast_enum.h deleted file mode 100644 index 550146537b7..00000000000 --- a/TAO/TAO_IDL/include/ast_enum.h +++ /dev/null @@ -1,115 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ENUM_AST_ENUM_HH -#define _AST_ENUM_AST_ENUM_HH - -// Representation of enum: - -/* -** DEPENDENCIES: ast_concrete_type.hh, utl_scope.hh, ast_enum_val.hh, -** utl_scoped_name.hh, utl_strlist.hh, ast_expression.hh, -** -** USE: Included from ast.hh -*/ - -class AST_Enum : public virtual AST_ConcreteType, public virtual UTL_Scope -{ -public: - // Operations - - // Constructor(s) - AST_Enum(); - AST_Enum(UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Enum() {} - - // Narrowing - DEF_NARROW_METHODS2(AST_Enum, AST_ConcreteType, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Enum); - DEF_NARROW_FROM_SCOPE(AST_Enum); - - // AST Dumping - virtual void dump(ostream &); - - // Other operations - - // Look up an AST_EnumVal by value - virtual AST_EnumVal *lookup_by_value(const AST_Expression *v); - - // Get value to be assigned to next enumerator - virtual unsigned long next_enum_val(); - -private: - // Data - unsigned long pd_enum_counter; // Value for next - // enumerator - // Scope management - friend int tao_yyparse(); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - -}; - -#endif // _AST_ENUM_AST_ENUM_HH diff --git a/TAO/TAO_IDL/include/ast_enum_val.h b/TAO/TAO_IDL/include/ast_enum_val.h deleted file mode 100644 index 83b5033fcf6..00000000000 --- a/TAO/TAO_IDL/include/ast_enum_val.h +++ /dev/null @@ -1,99 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ENUM_VAL_AST_ENUM_VAL_HH -#define _AST_ENUM_VAL_AST_ENUM_VAL_HH - -// Representation of enumerator in enum: -// -// An enumerator is a constant of type unsigned long - -/* -** DEPENDENCIES: ast_constant.hh, utl_scoped_name.hh, utl_strlist.hh, -** ast_decl.hh -** -** USE: Included from ast.hh -*/ - -class AST_EnumVal : public virtual AST_Constant -{ -public: - // Operations - - // Constructor(s) - AST_EnumVal(); - AST_EnumVal(unsigned long v, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_EnumVal() {} - - // Narrowing - DEF_NARROW_METHODS1(AST_EnumVal, AST_Constant); - DEF_NARROW_FROM_DECL(AST_EnumVal); - - // AST Dumping - virtual void dump(ostream &); -}; - -#endif // _AST_ENUM_VAL_AST_ENUM_VAL_HH diff --git a/TAO/TAO_IDL/include/ast_exception.h b/TAO/TAO_IDL/include/ast_exception.h deleted file mode 100644 index e7821e6d405..00000000000 --- a/TAO/TAO_IDL/include/ast_exception.h +++ /dev/null @@ -1,118 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_EXCEPTION_AST_EXCEPTION_HH -#define _AST_EXCEPTION_AST_EXCEPTION_HH - -// Representation of exception -// -// NOTE: An exception is not a type according to the CORBAS 1.1 -// -// NOTE: add(AST_ConcreteType *) is defined here because an exception -// can contain locally defined types in addition to fields. -// -// NOTE: add(AST_EnumValue *) is defined here because enums can -// be defined manifest locally; the constants defined in these -// enums are inserted in the enclosing scope. It is unlikely that -// a BE writer will need to overload this function in AST_Exception. - -/* -** DEPENDENCIES: ast_decl.hh, ast_structure.hh, utl_scope.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Exception : public virtual AST_Structure -{ -public: - // Operations - - // Constructor(s) - AST_Exception(); - AST_Exception(UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Exception() {} - - // Narrowing - DEF_NARROW_METHODS1(AST_Exception, AST_Structure); - DEF_NARROW_FROM_DECL(AST_Exception); - DEF_NARROW_FROM_SCOPE(AST_Exception); - - // AST Dumping - virtual void dump(ostream &o); - -private: - friend int tao_yyparse(); - // Scope Management Protocol - - virtual AST_Field *fe_add_field(AST_Field *f); - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - -}; - -#endif // _AST_EXCEPTION_AST_EXCEPTION_HH diff --git a/TAO/TAO_IDL/include/ast_expression.h b/TAO/TAO_IDL/include/ast_expression.h deleted file mode 100644 index 9fdd466e06c..00000000000 --- a/TAO/TAO_IDL/include/ast_expression.h +++ /dev/null @@ -1,237 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_EXPRESSION_AST_EXPRESSION_HH -#define _AST_EXPRESSION_AST_EXPRESSION_HH - -#include "ace/CDR_Stream.h" - -// Representation of expression values - -/* -** DEPENDENCIES: NONE -** -** USE: Included from ast.hh -*/ - -// An expression (and maybe its value, if computed) -class AST_Expression { -public: - // Enum to define all the different operators to combine expressions - enum ExprComb { - EC_add // '+' - , EC_minus // '-' - , EC_mul // '*' - , EC_div // '/' - , EC_mod // '%' - , EC_or // '|' - , EC_xor // '^' - , EC_and // '&' - , EC_left // '<<' - , EC_right // '>>' - , EC_u_plus // unary '+' - , EC_u_minus // unary '-' - , EC_bit_neg // '~' - , EC_none // No operator (missing) - , EC_symbol // a symbol (function or constant name) - }; - - // Enum to define the different kinds of evaluation possible - // Extend this for more kinds of evaluation as required - enum EvalKind { - EK_const // Must evaluate to constant - , EK_positive_int // Must evaluate to positive integer - }; - - // Enum to define expression type - enum ExprType { - EV_short // Expression value is short - , EV_ushort // Expression value is unsigned short - , EV_long // Expression value is long - , EV_ulong // Expression value is unsigned long - , EV_longlong // Expression value is long long - , EV_ulonglong // Expression value is unsigned long long - , EV_float // Expression value is 32-bit float - , EV_double // Expression value is 64-bit float - , EV_longdouble // Expression value is 128-bit float - , EV_char // Expression value is char - , EV_wchar // Expression value is wide char - , EV_octet // Expression value is unsigned char - , EV_bool // Expression value is boolean - , EV_string // Expression value is char * - , EV_wstring // Expression value is wchar_t * - , EV_any // Expression value is any of above - , EV_void // Expression value is void (absent) - , EV_none // Expression value is missing - }; - - // Structure to describe value of constant expression and its type - struct AST_ExprValue { - union { - short sval; // Contains short expression value - unsigned short usval; // Contains unsigned short expr value - long lval; // Contains long expression value - unsigned long ulval; // Contains unsigned long expr value - unsigned long bval; // Contains boolean expression value -#if ! defined (ACE_LACKS_LONGLONG_T) - ACE_CDR::LongLong llval; // Contains long long expr value - ACE_CDR::ULongLong ullval; // Contains unsigned long long expr value -#endif /* ! defined (ACE_LACKS_LONGLONG_T) */ - float fval; // Contains 32-bit float expr value - double dval; // Contains 64-bit float expr value - char cval; // Contains char expression value - ACE_CDR::WChar wcval; // Contains wchar expression value - unsigned char oval; // Contains unsigned char expr value - UTL_String *strval; // Contains String * expr value - unsigned long eval; // Contains enumeration value - } u; - ExprType et; - }; - - // Operations - - // Constructor(s) - AST_Expression(AST_Expression *v, ExprType t); - - AST_Expression(ExprComb c, AST_Expression *v1, AST_Expression *v2); - - AST_Expression(short s); - AST_Expression(unsigned short us); - AST_Expression(long l); - AST_Expression(long l, ExprType t); - AST_Expression(unsigned long ul); - AST_Expression(float f); - AST_Expression(double d); - AST_Expression(char c); - AST_Expression(ACE_CDR::WChar wc); - AST_Expression(unsigned char uc); - AST_Expression(UTL_String *s); - AST_Expression(UTL_ScopedName *n); - virtual ~AST_Expression () {} - - // Data Accessors - UTL_Scope *defined_in(); - void set_defined_in(UTL_Scope *d); - long line(); - void set_line(long l); - UTL_String *file_name(); - void set_file_name(UTL_String *f); - ExprComb ec(); - void set_ec(ExprComb new_ec); - AST_ExprValue *ev(); - void set_ev(AST_ExprValue *new_ev); - AST_Expression *v1(); - void set_v1(AST_Expression *e); - AST_Expression *v2(); - void set_v2(AST_Expression *e); - UTL_ScopedName *n(); - void set_n(UTL_ScopedName *new_n); - - // AST Dumping - virtual void dump(ostream &o); - - // Other operations - - // Evaluation and value coercion - virtual AST_ExprValue *eval(EvalKind ek); - virtual AST_ExprValue *coerce(ExprType t); - - // Evaluate then store value inside this AST_Expression - virtual void evaluate(EvalKind ek); - - // Compare to AST_Expressions - virtual long operator==(AST_Expression *vc); - virtual long compare(AST_Expression *vc); - -protected: - // Evaluate different sets of operators - virtual AST_ExprValue *eval_bin_op(EvalKind ek); - virtual AST_ExprValue *eval_bit_op(EvalKind ek); - virtual AST_ExprValue *eval_un_op(EvalKind ek); - virtual AST_ExprValue *eval_symbol(EvalKind ek); - -private: - // Data - UTL_Scope *pd_defined_in; // Scope - long pd_line; // Line defined in - UTL_String *pd_file_name; // What file defined in - - ExprComb pd_ec; // What combinator - AST_ExprValue *pd_ev; // computed value - AST_Expression *pd_v1; // 1st sub-expression - AST_Expression *pd_v2; // 2nd sub-expression - UTL_ScopedName *pd_n; // symbolic name (if any) - - // Operations - - // Fill out the lineno, filename and definition scope details - void fill_definition_details(); - - // Internal evaluation - virtual AST_ExprValue *eval_internal(EvalKind ek); -}; - -#endif // _AST_EXPR_VAL_AST_EXPR_VAL_HH diff --git a/TAO/TAO_IDL/include/ast_extern.h b/TAO/TAO_IDL/include/ast_extern.h deleted file mode 100644 index 493a12eaa0b..00000000000 --- a/TAO/TAO_IDL/include/ast_extern.h +++ /dev/null @@ -1,93 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_EXTERN_AST_EXTERN_HH -#define _AST_EXTERN_AST_EXTERN_HH - -// ast_extern.hh -// -// Declares all global functions for the AST - -/* -** DEPENDENCIES: none -** -** USE: Included from idl_extern.hh -*/ - -// Functions: - -// Two functions are provided for storing AST nodes representing fwd -// declared interfaces, and for checking the stored nodes after parsing -// the entire AST. The check ensures that for each fwd declared interface -// the full definition was also seen. - -extern void AST_record_fwd_interface(AST_InterfaceFwd *i); -extern void AST_check_fwd_interface(); - -extern idl_bool AST_illegal_recursive_type(AST_Decl *t); - -#endif // _AST_EXTERN_AST_EXTERN_HH - diff --git a/TAO/TAO_IDL/include/ast_field.h b/TAO/TAO_IDL/include/ast_field.h deleted file mode 100644 index a6583ee3ec0..00000000000 --- a/TAO/TAO_IDL/include/ast_field.h +++ /dev/null @@ -1,121 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_FIELD_AST_FIELD_HH -#define _AST_FIELD_AST_FIELD_HH - -// Representation of a generic field -// -// Used as member in structures, exceptions and unions, and as a base -// type for attributes and arguments to operations -// -// NOTE: There are two constructors here, the first is used when field -// is used directly inside a structure, the second when it is used as -// the base type for attributes and operations. - -/* -** DEPENDENCIES: ast_decl.hh, ast_type.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "ast_decl.h" - - -class AST_Field : public virtual AST_Decl -{ -public: - enum Visibility {vis_NA, vis_PUBLIC, vis_PRIVATE}; - // Operations - - // Constructor(s) - AST_Field(); - AST_Field(AST_Type *field_type, - UTL_ScopedName *n, UTL_StrList *p, Visibility vis = vis_NA); - AST_Field(AST_Decl::NodeType nt, AST_Type *field_type, - UTL_ScopedName *n, UTL_StrList *p, Visibility vis = vis_NA); - virtual ~AST_Field() {} - - // Data Accessors - AST_Type *field_type(); - Visibility visibility(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Field, AST_Decl); - DEF_NARROW_FROM_DECL(AST_Field); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Type *pd_field_type; // Base type for field - Visibility pd_visibility; -}; - -#endif // _AST_FIELD_AST_FIELD_HH diff --git a/TAO/TAO_IDL/include/ast_generator.h b/TAO/TAO_IDL/include/ast_generator.h deleted file mode 100644 index 3e6a50c1f8a..00000000000 --- a/TAO/TAO_IDL/include/ast_generator.h +++ /dev/null @@ -1,230 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_GENERATOR_AST_GENERATOR_HH -#define _AST_GENERATOR_AST_GENERATOR_HH - -// ast_generator.h -// -// Defines base class for generators - -/* -** DEPENDENCIES: ast_predefined_type.hh utl_scoped_name.hh utl_strlist.hh -** ast_module.hh ast_root.hh ast_interface.hh -** ast_interface_fwd.hh ast_exception.hh ast_structure.hh -** ast_enum.hh ast_operation.hh ast_type.hh ast_field.hh -** ast_argument.hh ast_attribute.hh ast_union.hh -** ast_concrete_type.hh ast_union_branch.hh ast_union_label.hh -** ast_expression.hh ast_enum_val.hh ast_array.hh -** ast_sequence.hh ast_string.hh ast_typedef.hh -** -** USE: Included from ast.hh -*/ - -class AST_Generator -{ -public: - // Operations - - // Create a node representing a predefined type - virtual AST_PredefinedType - *create_predefined_type(AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a module - virtual AST_Module *create_module(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a module which is the root of an AST - virtual AST_Root *create_root(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an interface - virtual AST_Interface *create_interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p); - - // Create a node representing a forward declaration of an interface - virtual AST_InterfaceFwd *create_interface_fwd(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an valuetype - virtual AST_Interface *create_valuetype(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p); - - // Create a node representing a forward declaration of an valuetype - virtual AST_InterfaceFwd *create_valuetype_fwd(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an exception - virtual AST_Exception *create_exception(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a structure - virtual AST_Structure *create_structure(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an enum - virtual AST_Enum *create_enum(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an operation on an interface - virtual AST_Operation *create_operation(AST_Type *rt, - AST_Operation::Flags fl, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a field in a structure, exception or - // union - virtual AST_Field *create_field(AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p, - AST_Field::Visibility vis = AST_Field::vis_NA); - - // Create a node representing an argument to an operation - virtual AST_Argument *create_argument(AST_Argument::Direction d, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an attribute - virtual AST_Attribute *create_attribute(idl_bool ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a union - virtual AST_Union *create_union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing one branch in a union - virtual AST_UnionBranch *create_union_branch(UTL_LabelList *ll, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a label on a union branch - virtual AST_UnionLabel *create_union_label(AST_UnionLabel::UnionLabel ul, - AST_Expression *lv); - - // Create a node representing a constant - virtual AST_Constant *create_constant(AST_Expression::ExprType et, - AST_Expression *ev, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create various kinds of nodes representing expressions - virtual AST_Expression *create_expr(UTL_ScopedName *n); - virtual AST_Expression *create_expr(AST_Expression *v, - AST_Expression::ExprType t); - virtual AST_Expression *create_expr(AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2); - virtual AST_Expression *create_expr(long v); - virtual AST_Expression *create_expr(long v, - AST_Expression::ExprType t); - virtual AST_Expression *create_expr(unsigned long v); - virtual AST_Expression *create_expr(UTL_String *s); - virtual AST_Expression *create_expr(char c); - virtual AST_Expression *create_expr(double d); - - // Create a node representing an enumerator - virtual AST_EnumVal *create_enum_val(unsigned long v, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an array type - virtual AST_Array *create_array(UTL_ScopedName *n, - unsigned long ndims, - UTL_ExprList *dims); - - // Create a node representing a sequence type - virtual AST_Sequence *create_sequence(AST_Expression *v, - AST_Type *bt); - - // Create a node representing a string type - virtual AST_String *create_string(AST_Expression *v); - - // Create a node representing a wide string type - virtual AST_String *create_wstring(AST_Expression *v); - - // Create a node representing a type renaming (typedef) - virtual AST_Typedef *create_typedef(AST_Type *bt, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a native - virtual AST_Native *create_native (UTL_ScopedName *n, - UTL_StrList *p); - -}; - -#endif // _AST_GENERATOR_AST_GENERATOR_HH diff --git a/TAO/TAO_IDL/include/ast_interface.h b/TAO/TAO_IDL/include/ast_interface.h deleted file mode 100644 index e49aa173ff2..00000000000 --- a/TAO/TAO_IDL/include/ast_interface.h +++ /dev/null @@ -1,161 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_INTERFACE_AST_INTERFACE_HH -#define _AST_INTERFACE_AST_INTERFACE_HH - -// Representation of interface: -// -// NOTE: add(AST_EnumValue *) is defined here because enums can -// be defined manifest locally; the constants defined in these -// enums are inserted in the enclosing scope. - -/* -** DEPENDENCIES: ast_type.hh, utl_scope.hh, ast_decl.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "ast_type.h" -#include "utl_scope.h" -#include "ast_decl.h" - - -class AST_Interface : public virtual AST_Type, public virtual UTL_Scope -{ -public: - // Operations - - // Constructor(s) - AST_Interface(); - AST_Interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p); - virtual ~AST_Interface() {} - - // Data Accessors - static void fwd_redefinition_helper (AST_Interface *&i, - UTL_Scope *s, UTL_StrList *p); - - virtual void redefine (AST_Interface *from, UTL_StrList *p); - AST_Interface **inherits(); - void set_inherits(AST_Interface **i); - long n_inherits(); - void set_n_inherits(long i); - - // Is this interface defined? This predicate returns FALSE when an - // interface was forward declared but not defined yet, and TRUE in - // all other cases. - idl_bool is_defined() - { - return (pd_n_inherits < 0) ? I_FALSE : I_TRUE; - } - - virtual idl_bool is_abstract_interface (); - virtual idl_bool is_valuetype (); - virtual idl_bool is_abstract_valuetype (); - virtual void set_abstract_valuetype (); - - // Narrowing - DEF_NARROW_METHODS2(AST_Interface, AST_Type, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Interface); - DEF_NARROW_FROM_SCOPE(AST_Interface); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Helper function for fwd_redefinition_helper. - static idl_bool compare_names (AST_Interface *that, - AST_Interface *other); - - // Data - AST_Interface **pd_inherits; // Inherited interfaces - // This is an array of pointers - // to the inherited interfaces - long pd_n_inherits; // How many of them? - - // Scope Management Protocol - friend int tao_yyparse(); - - virtual AST_Constant *fe_add_constant(AST_Constant *c); - virtual AST_Exception *fe_add_exception(AST_Exception *e); - virtual AST_Attribute *fe_add_attribute(AST_Attribute *a); - virtual AST_Field *fe_add_field(AST_Field *o); - virtual AST_Operation *fe_add_operation(AST_Operation *o); - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - virtual AST_Typedef *fe_add_typedef(AST_Typedef *t); - virtual AST_Native *fe_add_native (AST_Native *n); - -}; - -#endif // _AST_INTERFACE_AST_INTERFACE_HH diff --git a/TAO/TAO_IDL/include/ast_interface_fwd.h b/TAO/TAO_IDL/include/ast_interface_fwd.h deleted file mode 100644 index 64a334f4223..00000000000 --- a/TAO/TAO_IDL/include/ast_interface_fwd.h +++ /dev/null @@ -1,111 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_INTERFACE_FWD_AST_INTERFACE_FWD_HH -#define _AST_INTERFACE_FWD_AST_INTERFACE_FWD_HH - -// Representation of a forward interface declaration - -/* -** DEPENDENCIES: ast_decl.hh, ast_interface.hh, utl_scoped_name.hh, -** utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_InterfaceFwd : public virtual AST_Type -{ -public: - // Operations - - // Constructor(s) - AST_InterfaceFwd(); - AST_InterfaceFwd (AST_Interface *dummy, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_InterfaceFwd() {} - - // Data Accessors - AST_Interface *full_definition(); - void set_full_definition(AST_Interface *nfd); - - virtual idl_bool is_abstract_interface (); - virtual idl_bool is_valuetype (); - virtual idl_bool is_abstract_valuetype (); - virtual void set_abstract_valuetype (); - - // Narrowing - DEF_NARROW_METHODS1(AST_InterfaceFwd, AST_Type); - DEF_NARROW_FROM_DECL(AST_InterfaceFwd); - - // AST Dumping - virtual void dump(ostream &); - -private: - // Data - AST_Interface *pd_full_definition; // The interface this is a - // forward declaration of -}; - -#endif // _AST_INTERFACE_FWD_AST_INTERFACE_FWD_HH diff --git a/TAO/TAO_IDL/include/ast_module.h b/TAO/TAO_IDL/include/ast_module.h deleted file mode 100644 index 4cf89f0f27c..00000000000 --- a/TAO/TAO_IDL/include/ast_module.h +++ /dev/null @@ -1,126 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_MODULE_AST_MODULE_HH -#define _AST_MODULE_AST_MODULE_HH - -// Representation of module -// -// NOTE: add(AST_EnumValue *) is defined here because enums can -// be defined manifest locally; the constants defined in these -// enums are inserted in the enclosing scope. - -/* -** DEPENDENCIES: ast_decl.hh, utl_scope.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Module : public virtual AST_Decl, public virtual UTL_Scope -{ -public: - // Operations - - // Constructor(s) - AST_Module(); - AST_Module(UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Module() {} - - // Narrowing - DEF_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Module); - DEF_NARROW_FROM_SCOPE(AST_Module); - - // AST Dumping - virtual void dump(ostream &o); - - // involved in OBV_ namespace generation - void set_has_nested_valuetype (); - idl_bool has_nested_valuetype (); - -private: - friend void fe_populate(AST_Module *m); - friend int tao_yyparse(); - - // Scope Management Protocol - - virtual AST_PredefinedType *fe_add_predefined_type(AST_PredefinedType *t); - virtual AST_Module *fe_add_module(AST_Module *m); - virtual AST_Interface *fe_add_interface(AST_Interface *i); - virtual AST_InterfaceFwd *fe_add_interface_fwd(AST_InterfaceFwd *i); - virtual AST_Constant *fe_add_constant(AST_Constant *c); - virtual AST_Exception *fe_add_exception(AST_Exception *e); - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - virtual AST_Typedef *fe_add_typedef(AST_Typedef *t); - virtual AST_Native *fe_add_native (AST_Native *n); - - idl_bool pd_has_nested_valuetype; -}; - -#endif // _AST_MODULE_AST_MODULE_HH diff --git a/TAO/TAO_IDL/include/ast_native.h b/TAO/TAO_IDL/include/ast_native.h deleted file mode 100644 index 4b3f40fa6b9..00000000000 --- a/TAO/TAO_IDL/include/ast_native.h +++ /dev/null @@ -1,38 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ - -#ifndef _AST_NATIVE_H_ -#define _AST_NATIVE_H_ - -// Representation of "native" IDL type added by the POA spec -// -/* -** DEPENDENCIES: ast_decl.h -** -** USE: Included from ast.h -*/ - -class AST_Native : public virtual AST_Type -{ -public: - // =Operations - - // Constructor(s) - AST_Native (void); - // default constructor - - AST_Native(UTL_ScopedName *n, UTL_StrList *p); - // constructor that initializes its scoped name - - virtual ~AST_Native (void) {} - // destructor - - // Narrowing - DEF_NARROW_METHODS1(AST_Native, AST_Type); - DEF_NARROW_FROM_DECL(AST_Native); - - // AST Dumping - virtual void dump(ostream &o); -}; - -#endif /* AST_NATIVE_H */ diff --git a/TAO/TAO_IDL/include/ast_operation.h b/TAO/TAO_IDL/include/ast_operation.h deleted file mode 100644 index 50ef6b40796..00000000000 --- a/TAO/TAO_IDL/include/ast_operation.h +++ /dev/null @@ -1,139 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_OPERATION_AST_OPERATION_HH -#define _AST_OPERATION_AST_OPERATION_HH - -// Representation of operation declaration: - -/* -** DEPENDENCIES: ast_decl.hh, utl_scope.hh, ast_type.hh, utl_strlist.hh, -** utl_exceptlist.hh, utl_scoped_name.hh -** -** USE: included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "utl_list.h" -#include "ast_decl.h" -#include "utl_scope.h" -#include "utl_scoped_name.h" - - -class AST_Operation : public virtual AST_Decl, public virtual UTL_Scope -{ -public: - // Define enum with flags for operation attributes - enum Flags { - OP_noflags // No flags present - , OP_oneway // Operation is oneway - , OP_idempotent // Operation is idempotent - }; - - // Operations - - // Constructor(s) - AST_Operation(); - AST_Operation(AST_Type *return_type, - Flags flags, - UTL_ScopedName *n, - UTL_StrList *p); - virtual ~AST_Operation() {} - - // Data Accessors - AST_Type *return_type(); - Flags flags(); - UTL_StrList *context(); - UTL_ExceptList *exceptions(); - - // Narrowing - DEF_NARROW_METHODS2(AST_Operation, AST_Decl, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Operation); - DEF_NARROW_FROM_SCOPE(AST_Operation); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Type *pd_return_type; // Return type - Flags pd_flags; // Operation flags - UTL_StrList *pd_context; // Context - UTL_ExceptList *pd_exceptions; // Exceptions raised - - // Scope Management Protocol - friend int tao_yyparse(); - - virtual AST_Argument *fe_add_argument(AST_Argument *a); - virtual UTL_StrList *fe_add_context(UTL_StrList *c); - // Add context - virtual UTL_NameList *fe_add_exceptions(UTL_NameList *e); - // exceptions - -}; - -#endif // _AST_OPERATION_AST_OPERATION_HH diff --git a/TAO/TAO_IDL/include/ast_predefined_type.h b/TAO/TAO_IDL/include/ast_predefined_type.h deleted file mode 100644 index ae4460ac8af..00000000000 --- a/TAO/TAO_IDL/include/ast_predefined_type.h +++ /dev/null @@ -1,127 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_PREDEFINED_TYPE_AST_PREDEFINED_TYPE_HH -#define _AST_PREDEFINED_TYPE_AST_PREDEFINED_TYPE_HH - -// Representation of predefined types: -// -// Instances of this class are inserted into the global context by -// the front end before the start of parsing. - -/* -** DEPENDENCIES: ast_concrete_type.hh, utl_scoped_name.hh, utl_strlist.hh, -** ast_decl.hh -** -** USE: Included from ast.hh -*/ - -class AST_PredefinedType : public virtual AST_ConcreteType -{ -public: - // Enum for all the different predefined types - enum PredefinedType { - PT_long // Predefined type "long" - , PT_ulong // Predefined type "unsigned long" - , PT_longlong // Predefined type "long long" - , PT_ulonglong // Predefined type "unsigned long long" - , PT_short // Predefined type "short" - , PT_ushort // Predefined type "unsigned short" - , PT_float // Predefined type "float" - , PT_double // Predefined type "double" - , PT_longdouble // Predefined type "long double" - , PT_char // Predefined type "char" - , PT_wchar // Predefined type "wchar_t" - , PT_boolean // Predefined type "boolean" - , PT_octet // Predefined type "octet" - , PT_any // Predefined type "any" - , PT_void // Predefined type "void" - , PT_pseudo // Predefined type for pseudo objects - }; - - // Operations - - // Constructor(s) - AST_PredefinedType(); - AST_PredefinedType(PredefinedType t, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_PredefinedType() {} - - // Data Accessors - PredefinedType pt(); - - // Narrowing - DEF_NARROW_METHODS1(AST_PredefinedType, AST_ConcreteType); - DEF_NARROW_FROM_DECL(AST_PredefinedType); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - const PredefinedType pd_pt; // The specific predefined type -}; - -#endif // _AST_PREDEFINED_TYPE_AST_PREDEFINED_TYPE_HH diff --git a/TAO/TAO_IDL/include/ast_root.h b/TAO/TAO_IDL/include/ast_root.h deleted file mode 100644 index f85e5f9cbb3..00000000000 --- a/TAO/TAO_IDL/include/ast_root.h +++ /dev/null @@ -1,107 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ROOT_AST_ROOT_HH -#define _AST_ROOT_AST_ROOT_HH - -// Representation of root of AST - -/* -** DEPENDENCIES: ast_module.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Root : public virtual AST_Module -{ -public: - // Operations - - // Constructor(s) - AST_Root(); - AST_Root(UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Root() {} - - // Narrowing - DEF_NARROW_METHODS1(AST_Root, AST_Module); - DEF_NARROW_FROM_DECL(AST_Root); - DEF_NARROW_FROM_SCOPE(AST_Root); - - // AST Dumping - virtual void dump(ostream &o); - -private: - friend class FE_Declarator; - friend int tao_yyparse(); - // Add protocol - - virtual AST_Sequence *fe_add_sequence(AST_Sequence *s); - virtual AST_String *fe_add_string(AST_String *s); - virtual AST_Array *fe_add_array(AST_Array *a); - -}; - -#endif // _AST_ROOT_AST_ROOT_HH diff --git a/TAO/TAO_IDL/include/ast_sequence.h b/TAO/TAO_IDL/include/ast_sequence.h deleted file mode 100644 index 38c869792af..00000000000 --- a/TAO/TAO_IDL/include/ast_sequence.h +++ /dev/null @@ -1,108 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_SEQUENCE_AST_SEQUENCE_HH -#define _AST_SEQUENCE_AST_SEQUENCE_HH - -// Representation of sequence declaration: -// -// A sequence is a combination of a maximum size and a base type - -/* -** DEPENDENCIES: ast_concrete_type.hh, ast_type.hh, ast_decl.hh, -** ast_expression.hh -** -** USE: Included from ast.hh -*/ - -class AST_Sequence : public virtual AST_ConcreteType -{ -public: - // Operations - - // Constructor(s) - AST_Sequence(); - AST_Sequence(AST_Expression *max_size, AST_Type *bt); - virtual ~AST_Sequence() {} - - // Data Accessors - AST_Expression *max_size(); - AST_Type *base_type(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Sequence, AST_ConcreteType); - DEF_NARROW_FROM_DECL(AST_Sequence); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Expression *pd_max_size; // Maximum sequence size - AST_Type *pd_base_type; // Sequence base type -}; - -#endif // _AST_SEQUENCE_AST_SEQUENCE_HH diff --git a/TAO/TAO_IDL/include/ast_string.h b/TAO/TAO_IDL/include/ast_string.h deleted file mode 100644 index b44577b975d..00000000000 --- a/TAO/TAO_IDL/include/ast_string.h +++ /dev/null @@ -1,108 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_STRING_AST_STRING_HH -#define _AST_STRING_AST_STRING_HH - -// Representation of string declaration -// -// A string type is represented by a maximum size - -/* -** DEPENDENCIES: ast_concrete_type.hh, ast_decl.hh, ast_expression.hh -** -** USE: Included from ast.hh -*/ - -class AST_String : public virtual AST_ConcreteType -{ -public: - // Operations - - // Constructor(s) - AST_String(); - AST_String(AST_Expression *max_size); - AST_String(AST_Expression *max_size, long wide); - virtual ~AST_String() {} - - // Data Accessors - AST_Expression *max_size(); - long width(); - - // Narrowing - DEF_NARROW_METHODS1(AST_String, AST_ConcreteType); - DEF_NARROW_FROM_DECL(AST_String); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Expression *pd_max_size; // String maximum size - long pd_width; // Width of string -}; - -#endif // _AST_STRING_AST_STRING_HH diff --git a/TAO/TAO_IDL/include/ast_structure.h b/TAO/TAO_IDL/include/ast_structure.h deleted file mode 100644 index b0f14cc45fe..00000000000 --- a/TAO/TAO_IDL/include/ast_structure.h +++ /dev/null @@ -1,118 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_STRUCTURE_AST_STRUCTURE_HH -#define _AST_STRUCTURE_AST_STRUCTURE_HH - -// Representation of structure: -// -// NOTE: add(AST_ConcreteType *) is defined here because a structure -// can contain locally defined types in addition to fields. -// -// NOTE: add(AST_EnumValue *) is defined here because enums can -// be defined manifest locally; the constants defined in these -// enums are inserted in the enclosing scope. It is unlikely that -// a BE writer will need to overload this function in AST_Structure. - -/* -** DEPENDENCIES: ast_concrete_type.hh, utl_scope.hh, utl_scoped_name.hh, -** utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Structure : public virtual AST_ConcreteType, - public virtual UTL_Scope -{ -public: - // Operations - - // Constructor(s) - AST_Structure(); - AST_Structure(UTL_ScopedName *n, UTL_StrList *p); - AST_Structure(AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Structure() {} - - // Narrowing - DEF_NARROW_METHODS2(AST_Structure, AST_ConcreteType, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Structure); - DEF_NARROW_FROM_SCOPE(AST_Structure); - - // AST Dumping - virtual void dump(ostream &o); - -private: - friend int tao_yyparse(); - // Scope Management Protocol - - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Field *fe_add_field(AST_Field *f); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); -}; - -#endif // _AST_STRUCTURE_AST_STRUCTURE_HH diff --git a/TAO/TAO_IDL/include/ast_type.h b/TAO/TAO_IDL/include/ast_type.h deleted file mode 100644 index 1b22dc98da5..00000000000 --- a/TAO/TAO_IDL/include/ast_type.h +++ /dev/null @@ -1,101 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_TYPE_AST_TYPE_HH -#define _AST_TYPE_AST_TYPE_HH - -// Class for all IDL types -// -// This is useful wherever any IDL type defining construct can appear -// such as the base type for a typedef or array - -/* -** DEPENDENCIES: ast_decl.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "ast_decl.h" - - -class AST_Type : public virtual AST_Decl -{ -public: - // Operations - - // Constructor(s) - AST_Type(); - AST_Type(AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Type() {} - - // Narrowing - DEF_NARROW_METHODS1(AST_Type, AST_Decl); - DEF_NARROW_FROM_DECL(AST_Type); -}; - -#endif // _AST_TYPE_AST_TYPE_HH diff --git a/TAO/TAO_IDL/include/ast_typedef.h b/TAO/TAO_IDL/include/ast_typedef.h deleted file mode 100644 index 623c023b84a..00000000000 --- a/TAO/TAO_IDL/include/ast_typedef.h +++ /dev/null @@ -1,105 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_TYPEDEF_AST_TYPEDEF_HH -#define _AST_TYPEDEF_AST_TYPEDEF_HH - -// Representation of typedef declaration -// -// A typedef declaration is a renaming of a base type - -/* -** DEPENDENCIES: ast_decl.hh, ast_type.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Typedef : public virtual AST_Type -{ -public: - // Operations - - // Constructor(s) - AST_Typedef(); - AST_Typedef(AST_Type *base_type, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Typedef() {} - - // Data Accessors - AST_Type *base_type(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Typedef, AST_Type); - DEF_NARROW_FROM_DECL(AST_Typedef); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Type *pd_base_type; // typedef base type -}; - -#endif // _AST_TYPEDEF_AST_TYPEDEF_HH diff --git a/TAO/TAO_IDL/include/ast_union.h b/TAO/TAO_IDL/include/ast_union.h deleted file mode 100644 index 84f73d481d5..00000000000 --- a/TAO/TAO_IDL/include/ast_union.h +++ /dev/null @@ -1,143 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_UNION_AST_UNION_HH -#define _AST_UNION_AST_UNION_HH - -// Representation of union declaration: -// -// NOTE: add(AST_ConcreteType *) is defined here because a union -// can contain locally defined types in addition to fields. -// -// NOTE: add(AST_EnumValue *) is defined here because enums can -// be defined manifest locally; the constants defined in these -// enums are inserted in the enclosing scope. It is unlikely that -// a BE writer will need to overload this function in AST_Union. - -/* -** DEPENDENCIES: ast_concrete_type.hh, utl_scope.hh, ast_union_branch.hh, -** ast_union_label.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Union : public virtual AST_Structure -{ -public: - // Operations - - // Constructor(s) - AST_Union(); - AST_Union(AST_ConcreteType *disc_type, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Union() {} - - // Data Accessors - AST_ConcreteType *disc_type(); - AST_Expression::ExprType udisc_type(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Union, AST_Structure); - DEF_NARROW_FROM_DECL(AST_Union); - DEF_NARROW_FROM_SCOPE(AST_Union); - - // AST Dumping - virtual void dump(ostream &); - -private: - // Data - AST_ConcreteType *pd_disc_type; // Discriminator type - AST_Expression::ExprType pd_udisc_type; // Its expression type - /* Convention: udisc_type == EV_any denotes an enum value */ - - // Operations - - // Look up a branch by node pointer - AST_UnionBranch *lookup_branch(AST_UnionBranch *branch); - - // Look up the branch with the "default" label - AST_UnionBranch *lookup_default(); - - // Look up a branch given a branch with a label. This is used to - // check for duplicate labels - AST_UnionBranch *lookup_label(AST_UnionBranch *b); - - // Look up a union branch given an enumerator. This is used to - // check for duplicate enum labels - AST_UnionBranch *lookup_enum(AST_UnionBranch *b); - -private: - friend int tao_yyparse(); - // Scope Management Protocol - - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_UnionBranch *fe_add_union_branch(AST_UnionBranch *b); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - -}; - -#endif // _AST_UNION_AST_UNION_HH diff --git a/TAO/TAO_IDL/include/ast_union_branch.h b/TAO/TAO_IDL/include/ast_union_branch.h deleted file mode 100644 index 23fc82edc00..00000000000 --- a/TAO/TAO_IDL/include/ast_union_branch.h +++ /dev/null @@ -1,112 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_UNION_BRANCH_AST_UNION_BRAN_HH -#define _AST_UNION_BRANCH_AST_UNION_BRAN_HH - -// Representation of union branch declaration: -// -// A branch of a union is a field with a label - -/* -** DEPEndencies: ast_field.hh, ast_union_label.hh, ast_type.hh, -** utl_scoped_name.hh, utl_strlist.h, ast_decl.h -** -** USE: Included from ast.hh -*/ - -class AST_UnionBranch : public virtual AST_Field -{ -public: - // Operations - - // Constructor(s) - AST_UnionBranch(); - AST_UnionBranch(UTL_LabelList *ll, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual ~AST_UnionBranch() {} - - // Data Accessors - AST_UnionLabel *label (unsigned long index = 0); - - unsigned long label_list_length (void); - - // Narrowing - DEF_NARROW_METHODS1(AST_UnionBranch, AST_Field); - DEF_NARROW_FROM_DECL(AST_UnionBranch); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - UTL_LabelList *pd_ll; // list of labels - -}; - -#endif // _AST_UNION_BRANCH_AST_UNION_BRAN_HH diff --git a/TAO/TAO_IDL/include/ast_union_label.h b/TAO/TAO_IDL/include/ast_union_label.h deleted file mode 100644 index 2a50603fcbf..00000000000 --- a/TAO/TAO_IDL/include/ast_union_label.h +++ /dev/null @@ -1,110 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_UNION_LABEL_AST_UNION_LABEL_HH -#define _AST_UNION_LABEL_AST_UNION_LABEL_HH - -// AST_UnionLabel.h -// -// Defines labels for unions - -/* -** DEPENDENCIES: ast_expression.hh -** -** USE: included from ast.hh -*/ - -class AST_UnionLabel -{ -public: - // Define kind of label - enum UnionLabel { - UL_default // Label is "default" - , UL_label // Regular label - }; - - // Operations - - // Constructor(s) - AST_UnionLabel(); - AST_UnionLabel(UnionLabel lk, AST_Expression *lv); - virtual ~AST_UnionLabel() {} - - // Data Accessors - UnionLabel label_kind(); - AST_Expression *label_val(); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - UnionLabel pd_label_kind; // Label kind - AST_Expression *pd_label_val; // Label expression - -}; - -#endif // _AST_UNION_LABEL_AST_UNION_LABEL_HH diff --git a/TAO/TAO_IDL/include/be_extern.h b/TAO/TAO_IDL/include/be_extern.h deleted file mode 100644 index c5cecdd86f7..00000000000 --- a/TAO/TAO_IDL/include/be_extern.h +++ /dev/null @@ -1,82 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _BE_EXTERN_BE_EXTERN_HH -#define _BE_EXTERN_BE_EXTERN_HH - -// be_extern.h - Defines the BE part of the BE<->FE protocol - -// Functions: - -extern AST_Generator *BE_init(); - -extern void BE_produce(); -extern void BE_abort(); -extern void BE_prep_arg(char *, idl_bool); - -extern void BE_version(); - -#endif // _BE_EXTERN_BE_EXTERN_HH diff --git a/TAO/TAO_IDL/include/drv_extern.h b/TAO/TAO_IDL/include/drv_extern.h deleted file mode 100644 index fd2605b5ad6..00000000000 --- a/TAO/TAO_IDL/include/drv_extern.h +++ /dev/null @@ -1,87 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _DRV_EXTERN_DRV_EXTERN_HH -#define _DRV_EXTERN_DRV_EXTERN_HH - -// drv_extern.h - External functions for the IDL compiler driver program - -// Functions - -extern void DRV_init (); -extern void DRV_parse_args (long, char **); -extern void DRV_usage (); - -extern void DRV_pre_proc (const char *myfile); - -extern void DRV_cpp_init (); -extern void DRV_cpp_putarg (const char *str); -extern void DRV_cpp_new_location (const char *new_loc); - -extern void DRV_fork(); -extern int DRV_check_gperf (); -extern void DRV_check_for_include (const char* buf); -#endif // _DRV_EXTERN_DRV_EXTERN_HH diff --git a/TAO/TAO_IDL/include/drv_link.h b/TAO/TAO_IDL/include/drv_link.h deleted file mode 100644 index 0eaec30233c..00000000000 --- a/TAO/TAO_IDL/include/drv_link.h +++ /dev/null @@ -1,124 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _DRV_LINK_DRV_LINK_HH -#define _DRV_LINK_DRV_LINK_HH - -// drv_link.hh - Define data and functions which are used to -// link in the back end functions - -/* - * Front end interface - */ - -class File; -typedef void (* DRV_PF_FE_init_stage1)(); -typedef void (* DRV_PF_FE_init_stage2)(); -typedef int (* DRV_PF_FE_yyparse)(); -typedef void (* DRV_PF_FE_set_yyin)(File *); - -class UTL_Error; -class UTL_Indenter; -class UTL_String; -typedef UTL_Error * (* DRV_PF_FE_new_UTL_Error)(); -typedef UTL_Indenter * (* DRV_PF_FE_new_UTL_Indenter)(); -typedef UTL_String * (* DRV_PF_FE_new_UTL_String)(char *); - -extern DRV_PF_FE_init_stage1 DRV_FE_init_stage1; -extern DRV_PF_FE_init_stage2 DRV_FE_init_stage2; -extern DRV_PF_FE_yyparse DRV_FE_yyparse; -extern DRV_PF_FE_set_yyin DRV_FE_set_yyin; - -extern DRV_PF_FE_new_UTL_Error DRV_FE_new_UTL_Error; -extern DRV_PF_FE_new_UTL_Indenter DRV_FE_new_UTL_Indenter; -extern DRV_PF_FE_new_UTL_String DRV_FE_new_UTL_String; - -/* - * Back end interface - */ - -class AST_Generator; -typedef AST_Generator * (* DRV_PF_BE_init)(); -typedef void (* DRV_PF_BE_produce)(); -typedef void (* DRV_PF_BE_abort)(); -typedef void (* DRV_PF_BE_prep_arg)(char *, idl_bool); -typedef void (* DRV_PF_BE_version)(); - -extern DRV_PF_BE_init DRV_BE_init; -extern DRV_PF_BE_produce DRV_BE_produce; -extern DRV_PF_BE_abort DRV_BE_abort; -extern DRV_PF_BE_prep_arg DRV_BE_prep_arg; -extern DRV_PF_BE_version DRV_BE_version; - -// Functions - -extern void DRV_FE_open(); -extern void DRV_FE_close(); - -extern void DRV_BE_open(); -extern void DRV_BE_close(); - -#endif // _DRV_LINK_DRV_LINK_HH diff --git a/TAO/TAO_IDL/include/drv_private.h b/TAO/TAO_IDL/include/drv_private.h deleted file mode 100644 index 556cfdff5d6..00000000000 --- a/TAO/TAO_IDL/include/drv_private.h +++ /dev/null @@ -1,83 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _DRV_PRIVATE_DRV_PRIVATE_HH -#define _DRV_PRIVATE_DRV_PRIVATE_HH - -// drv_private.hh - Define data and functions which are private to -// the DRV but which must be accessible througout the DRV - -// Data - -extern const char *DRV_files[]; // All files to be processed -extern long DRV_nfiles; // How many are there? -extern long DRV_file_index; // What's the file I am responsible - // for? - -// Functions -extern void DRV_drive(const char *);// Compiler driver for single file - -#endif // _DRV_PRIVATE_DRV_PRIVATE_HH diff --git a/TAO/TAO_IDL/include/fe_declarator.h b/TAO/TAO_IDL/include/fe_declarator.h deleted file mode 100644 index 39ea7e7e985..00000000000 --- a/TAO/TAO_IDL/include/fe_declarator.h +++ /dev/null @@ -1,113 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _FE_DECLARATOR_FE_DECLARATOR_HH -#define _FE_DECLARATOR_FE_DECLARATOR_HH - -// FE_Declarator.h -// -// FE internal class for storing interim declaration statements - -/* -** DEPENDENCIES: utl_scoped_name.hh, ast_decl.hh -** -** USE: Included from fe.hh -*/ - -class FE_Declarator -{ -public: - // Enum to denote types of declarators - enum DeclaratorType { - FD_simple // Simple declarator - , FD_complex // Complex declarator (complex_part field used) - }; - - // Operations - - // Constructor(s) - FE_Declarator(UTL_ScopedName *n, DeclaratorType dt, AST_Decl *cp); - virtual ~FE_Declarator() {} - - // Data Accessors - AST_Decl *complex_part(); - UTL_ScopedName *name(); - DeclaratorType decl_type(); - - // Other Operations - - // Compose an FE_Declarator into an AST_Type once all the needed information - // is available - AST_Type *compose(AST_Decl* tc); - -private: - // Data - AST_Decl *pd_complex_part; // If a complex declarator - UTL_ScopedName *pd_name; // The name if complex - DeclaratorType pd_decl_type; // Whether complex or simple -}; - -#endif // _FE_DECLARATOR_FE_DECLARATOR_HH diff --git a/TAO/TAO_IDL/include/fe_extern.h b/TAO/TAO_IDL/include/fe_extern.h deleted file mode 100644 index 2b473af9b42..00000000000 --- a/TAO/TAO_IDL/include/fe_extern.h +++ /dev/null @@ -1,109 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _FE_EXTERN_FE_EXTERN_HH -#define _FE_EXTERN_FE_EXTERN_HH - -// fe_extern.hh -// -// Declares all global functions for the FE - -/* -** DEPENDENCIES: none -** -** USE: Included from idl_extern.hh -*/ - -// Functions: - -// Initialization: -// -// FE initialization is done in two stages, with the BE initialization -// occurring in between. The first stage is responsible for creating -// the sope stack. The BE initialization creates the generator object -// which is then used in the second stage to create the global scope -// and to populate it with nodes for the predefined types - -void FE_init_stage1(); // Initialize stage 1 -void FE_init_stage2(); // Initialize stage 2 - -// Interface to Yacc parser - -class File; -int FE_yyparse(); // Invode yyparse -void FE_set_yyin(File *); // Set yyin - -// Interface to constructors for objects need by the driver - -class UTL_Error; -class UTL_Indenter; -class UTL_String; - -UTL_Error * FE_new_UTL_Error(); -UTL_Indenter * FE_new_UTL_Indenter(); -UTL_String * FE_new_UTL_String(char *); - -#endif // _FE_EXTERN_FE_EXTERN_HH diff --git a/TAO/TAO_IDL/include/fe_interface_header.h b/TAO/TAO_IDL/include/fe_interface_header.h deleted file mode 100644 index b427dcd2812..00000000000 --- a/TAO/TAO_IDL/include/fe_interface_header.h +++ /dev/null @@ -1,154 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _FE_INTERFACE_HEADER_FE_INTERFACE_HH -#define _FE_INTERFACE_HEADER_FE_INTERFACE_HH - -// FE_InterfaceHeader -// -// Internal class for FE to describe interface headers -// -// FE_obv_header -// Internal class for FE to describe valuetype headers -// - -/* -** DEPENDENCIES: utl_scoped_name.hh, ast_interface.hh, utl_scope.hh, -** ast_decl.hh -** -** USE: Included from fe.hh -*/ - -class FE_InterfaceHeader -{ -public: - // Operations - - // Constructor(s) - FE_InterfaceHeader(UTL_ScopedName *n, UTL_NameList *l, - UTL_NameList *supports = 0, - idl_bool compile_now = 1); - virtual ~FE_InterfaceHeader() {} - - // Data Accessors - UTL_ScopedName *interface_name(); - AST_Interface **inherits(); - long n_inherits(); - - // Data -protected: - UTL_ScopedName *pd_interface_name; // Interface name -private: - AST_Interface **pd_inherits; // Inherited interfaces - long pd_n_inherits; // How many - - // Operations - - // Compile the flattened unique list of interfaces which this - // interface inherits from -protected: - void compile_inheritance(UTL_NameList *l, - UTL_NameList *supports); -private: - void compile_one_inheritance(AST_Interface *i); - - // called from compile_inheritance() - virtual idl_bool check_first (AST_Interface *i); - virtual idl_bool check_further (AST_Interface *i); - virtual idl_bool check_supports (AST_Interface *i); -}; - - -class FE_obv_header; - -// #ifdef IDL_HAS_VALUETYPE - -class FE_obv_header : public FE_InterfaceHeader -{ -public: - - // Constructor(s) - FE_obv_header(UTL_ScopedName *n, UTL_NameList *l, UTL_NameList *supports); - virtual ~FE_obv_header() {} - - // Data Accessors - void valuetype_name (UTL_ScopedName *n); - long n_concrete (); - - private: - - // called from compile_inheritance() - virtual idl_bool check_first (AST_Interface *i); - virtual idl_bool check_further (AST_Interface *i); - virtual idl_bool check_supports (AST_Interface *i); - - idl_bool truncatable_; /* currently 0, ignored */ - long n_concrete_; -}; - -// #endif /* IDL_HAS_VALUETYPE */ - -#endif // _FE_INTERFACE_HEADER_FE_INTERFACE_HH diff --git a/TAO/TAO_IDL/include/fe_private.h b/TAO/TAO_IDL/include/fe_private.h deleted file mode 100644 index 8465fa4ff37..00000000000 --- a/TAO/TAO_IDL/include/fe_private.h +++ /dev/null @@ -1,108 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _FE_FE_HH -#define _FE_FE_HH - -// fe_private.hh - Defines data which is private to the FE but -// which must be accessible throughout the FE - -/* -** DEPENDENCIES: NONE -** -** USE: Included from source files -*/ - -/* - * FE includes - */ - -#include "fe_interface_header.h"// class FE_InterfaceHeader -#include "fe_declarator.h" // class FE_Declarator - -/* - * FE Operations - */ - -// define an entry for the C++ keyword and its mapping -struct TAO_IDL_CPP_Keyword_Entry -{ - const char *keyword_; - const char *mapping_; -}; - -class TAO_IDL_CPP_Keyword_Table -{ - // = TITLE - // Define a table that provides the lookup for the C++ - // keyword. The lookup uses a perfect hash function -private: - unsigned int hash (const char *str, unsigned int len); -public: - const TAO_IDL_CPP_Keyword_Entry *lookup (const char *str, unsigned int len); -}; - -#endif /* _FE_FE_HH */ diff --git a/TAO/TAO_IDL/include/global_extern.h b/TAO/TAO_IDL/include/global_extern.h deleted file mode 100644 index d67cd4be4e0..00000000000 --- a/TAO/TAO_IDL/include/global_extern.h +++ /dev/null @@ -1,80 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _GLOBAL_EXTERN_GLOBAL_EXTERN_HH -#define _GLOBAL_EXTERN_GLOBAL_EXTERN_HH - -// global_extern.hh - Global data for the IDL compiler - -extern IDL_GlobalData *idl_global; // Contains all "global" data - -// Global functions for the IDL compiler - -// Return TRUE when the name of this AST_Decl can be reused in -// a definition in this scope -extern idl_bool can_be_redefined(AST_Decl *); - -#endif // _GLOBAL_EXTERN_GLOBAL_EXTERN_HH diff --git a/TAO/TAO_IDL/include/idl.h b/TAO/TAO_IDL/include/idl.h deleted file mode 100644 index fedbd9d8b53..00000000000 --- a/TAO/TAO_IDL/include/idl.h +++ /dev/null @@ -1,103 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_IDL_HH -#define _IDL_IDL_HH - -// idl.hh -// -// Main include file for IDL compiler. Includes the rest of the -// files defining the different units of the compiler - -#include "ace/ACE.h" // Most important ACE include file -#include "ace/streams.h" // iostreams - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#define IDL_HAS_VALUETYPE - -#include "intlmacros.h" // Define macros for intl'ion - -#include // POSIX standard defns -#include // External functions - -#include // POSIX standard types - -#include "idl_narrow.h" // IDL Narrowing mechanism - -#include "idl_defines.h" // Constants for IDL compiler -#include "idl_fwd.h" // Forward decls of classes - -#include "idl_bool.h" // Defines boolean for IDL - -#include "utl_string.h" // Defines utility string class -#include "utl_identifier.h" // Defines utility identifier class -#include "ast.h" // AST classes -#include "util.h" // Utility classes - -#endif // _IDL_IDL_HH diff --git a/TAO/TAO_IDL/include/idl_bool.h b/TAO/TAO_IDL/include/idl_bool.h deleted file mode 100644 index 838e7dbfcb8..00000000000 --- a/TAO/TAO_IDL/include/idl_bool.h +++ /dev/null @@ -1,94 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_BOOL_IDL_BOOL_HH -#define _IDL_BOOL_IDL_BOOL_HH - -/* - * idl_bool.hh - Boolean definitions for IDL CFE - * - * This is interim. When porting to a new platform, this file will be - * modified to incorporate definitions for the boolean type suitable - * for the new platform. - */ - -/* -** DEPENDENCIES: NONE -** -** USE: Included from idl.hh -*/ - -#ifndef I_TRUE -#define I_TRUE 1 -#endif - -#ifndef I_FALSE -#define I_FALSE 0 -#endif - -typedef long idl_bool; - -#endif // _IDL_BOOL_IDL_BOOL_HH diff --git a/TAO/TAO_IDL/include/idl_defines.h b/TAO/TAO_IDL/include/idl_defines.h deleted file mode 100644 index db7a7c6154d..00000000000 --- a/TAO/TAO_IDL/include/idl_defines.h +++ /dev/null @@ -1,84 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_DEFINES_IDL_DEFINES_HH -#define _IDL_DEFINES_IDL_DEFINES_HH - -/* - * idl_defines.hh - Defines global compiler flags - */ - -// This cannot be an enum since more than one value may be active at -// a given time, hence bitflags are #define'd instead - -#define IDL_CF_VERSION (1 << 0) -#define IDL_CF_DUMP_AST (1 << 1) -#define IDL_CF_ONLY_PREPROC (1 << 2) -#define IDL_CF_ONLY_USAGE (1 << 3) -#define IDL_CF_INFORMATIVE (1 << 4) -#define IDL_CF_NOWARNINGS (1 << 5) - -#endif // _IDL_DEFINES_IDL_DEFINES_HH diff --git a/TAO/TAO_IDL/include/idl_extern.h b/TAO/TAO_IDL/include/idl_extern.h deleted file mode 100644 index 7cf1fb14e02..00000000000 --- a/TAO/TAO_IDL/include/idl_extern.h +++ /dev/null @@ -1,81 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_EXTERN_IDL_EXTERN_HH -#define _IDL_EXTERN_IDL_EXTERN_HH - -// idl_extern.hh -// -// Global variables and functions for IDL compiler - -#include "fe_extern.h" // External API of FE -#include "be_extern.h" // External API of BE -#include "drv_extern.h" // External API of DRV -#include "ast_extern.h" // External API of AST -#include "nr_extern.h" // External API of NR -#include "global_extern.h" // Global data - -#endif // _IDL_EXTERN_IDL_EXTERN_HH diff --git a/TAO/TAO_IDL/include/idl_fwd.h b/TAO/TAO_IDL/include/idl_fwd.h deleted file mode 100644 index 5198f1bcae8..00000000000 --- a/TAO/TAO_IDL/include/idl_fwd.h +++ /dev/null @@ -1,148 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_FWD_IDL_FWD_HH -#define _IDL_FWD_IDL_FWD_HH - -// idl_fwd.hh -// -// Forward declaration of all class names in CFE-BEs contract - -/* -** DEPENDENCIES: NONE -** -** USE: Included from idl.hh -*/ - -// Class for global data representation: - -class IDL_GlobalData; // Global data is stored in an - // instance of this - -// Classes for utility of the IDL compiler: - -class UTL_ScopeStack; // Stack of scopes -class UTL_Scope; // A definition scope (mixin) - -class UTL_LongList; // List of longs -class UTL_StrList; // List of strings -class UTL_StrlistActiveIterator; // Active iterator for list of strings -class UTL_IdList; // List of identifiers -class UTL_IdListActiveIterator; // Active iterator for list of id's -class UTL_ExceptList; // List of exceptions -class UTL_NameList; // List of scoped names -class UTL_ExprList; // List of expressions -class UTL_InterfList; // List of interfaces -class UTL_LabelList; // List of union branch labels -class UTL_DeclList; // List of declarators -class UTL_String; // String class -class UTL_Identifier; // Identifier class - -class UTL_Error; // Error class -class UTL_Indenter; // Indenter class - -// Classes for utility of the FE. These classes are used only -// by the FE but their forward declaration is needed because lists -// of them are constructed by classes in UTL - -class FE_InterfaceHeader; // Interface header -class FE_Declarator; // Declarator - -// Generator class for the AST - -class AST_Generator; // Generate nodes of various types - -// Classes for AST: - -class AST_Decl; // The rock bottom base class - -class AST_PredefinedType; // A predefined type -class AST_Type; // An IDL type -class AST_ConcreteType; // An IDL concrete type -class AST_Module; // A module -class AST_Root; // The root of an AST (a module) -class AST_Interface; // An interface -class AST_InterfaceFwd; // A forward interface decl -class AST_Constant; // A constant declaration -class AST_Expression; // Value of an expression -class AST_Exception; // An exception declaration -class AST_Attribute; // An attribute declaration -class AST_Operation; // An operation declaration -class AST_Argument; // An argument to an operation -class AST_Union; // A union declaration -class AST_UnionBranch; // A branch in a union -class AST_UnionLabel; // A union branch label -class AST_Structure; // A structure declaration -class AST_Field; // A field in a structure or union -class AST_Enum; // An enum declaration -class AST_EnumVal; // An enumerator in an enum -class AST_Sequence; // A sequence declaration -class AST_String; // A string declaration -class AST_Array; // An array declaration -class AST_Typedef; // A typedef declaration -class AST_Native; // A native declaration - -#endif // _IDL_FWD_IDL_FWD_HH diff --git a/TAO/TAO_IDL/include/idl_global.h b/TAO/TAO_IDL/include/idl_global.h deleted file mode 100644 index d852679038f..00000000000 --- a/TAO/TAO_IDL/include/idl_global.h +++ /dev/null @@ -1,740 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_IDL_GLOBAL_HH -#define _IDL_IDL_GLOBAL_HH - -// idl_global.hh -// -// Defines a class containing all global data for the compiler. -// Can be subclassed in BEs to store more data - -class IDL_GlobalData -{ -public: - // Types - - // The ParseState type encodes the state of the Yacc parser so that - // better error messages can be produced, and for use by BEs in situations - // where context sensitive behavior is required - enum ParseState { - PS_NoState // No state - , PS_TypeDeclSeen // Seen complete typedef declaration - , PS_ConstDeclSeen // Seen complete const declaration - , PS_ExceptDeclSeen // Seen complete exception declaration - , PS_InterfaceDeclSeen // Seen complete interface declaration - , PS_ModuleDeclSeen // Seen complete module declaration - , PS_ValuetypeDeclSeen // Seen complete valuetype declaration - , PS_AttrDeclSeen // Seen complete attribute declaration - , PS_OpDeclSeen // Seen complete operation declaration - , PS_ModuleSeen // Seen a MODULE keyword - , PS_ModuleIDSeen // Seen the module ID - , PS_ModuleSqSeen // '{' seen for module - , PS_ModuleQsSeen // '}' seen for module - , PS_ModuleBodySeen // Seen complete module body - , PS_InterfaceSeen // Seen an INTERFACE keyword - , PS_InterfaceIDSeen // Seen the interface ID - , PS_InheritSpecSeen // Seen a complete inheritance spec - , PS_ForwardDeclSeen // Forward interface decl seen - , PS_InterfaceSqSeen // '{' seen for interface - , PS_InterfaceQsSeen // '}' seen for interface - , PS_InterfaceBodySeen // Seen an interface body - , PS_InheritColonSeen // Seen ':' in inheritance list - , PS_ValuetypeSeen // Seen a VALUETYPE keyword - , PS_ValuetypeIDSeen // Seen the valuetype ID - , PS_SNListCommaSeen // Seen ',' in list of scoped names - , PS_ScopedNameSeen // Seen a complete scoped name - , PS_SN_IDSeen // Seen an identifier as part of a scoped name - , PS_ScopeDelimSeen // Seen a scope delim as party of a scoped name - , PS_ConstSeen // Seen a CONST keyword - , PS_ConstTypeSeen // Parsed the type of a constant - , PS_ConstIDSeen // Seen the constant ID - , PS_ConstAssignSeen // Seen the '=' - , PS_ConstExprSeen // Seen the constant value expression - , PS_TypedefSeen // Seen a TYPEDEF keyword - , PS_TypeSpecSeen // Seen a complete type specification - , PS_DeclaratorsSeen // Seen a complete list of declarators - , PS_StructSeen // Seen a STRUCT keyword - , PS_StructIDSeen // Seen the struct ID - , PS_StructSqSeen // '{' seen for struct - , PS_StructQsSeen // '}' seen for struct - , PS_StructBodySeen // Seen complete body of struct decl - , PS_MemberTypeSeen // Seen type of struct or except member - , PS_MemberDeclsSeen // Seen decls of struct or except members - , PS_MemberDeclsCompleted // Completed one struct or except member to ';' - , PS_UnionSeen // Seen a UNION keyword - , PS_UnionIDSeen // Seen the union ID - , PS_SwitchSeen // Seen the SWITCH keyword - , PS_SwitchOpenParSeen // Seen the switch open par. - , PS_SwitchTypeSeen // Seen the switch type spec - , PS_SwitchCloseParSeen // Seen the switch close par. - , PS_UnionSqSeen // '{' seen for union - , PS_UnionQsSeen // '}' seen for union - , PS_DefaultSeen // Seen DEFAULT keyword - , PS_UnionLabelSeen // Seen label of union element - , PS_LabelColonSeen // Seen ':' of union branch label - , PS_LabelExprSeen // Seen expression of union branch label - , PS_UnionElemSeen // Seen a union element - , PS_UnionElemCompleted // Completed one union member up to ';' - , PS_CaseSeen // Seen a CASE keyword - , PS_UnionElemTypeSeen // Seen type spec for union element - , PS_UnionElemDeclSeen // Seen declarator for union element - , PS_UnionBodySeen // Seen completed union body - , PS_EnumSeen // Seen an ENUM keyword - , PS_EnumIDSeen // Seen the enum ID - , PS_EnumSqSeen // Seen '{' for enum - , PS_EnumQsSeen // Seen '}' for enum - , PS_EnumBodySeen // Seen complete enum body - , PS_EnumCommaSeen // Seen ',' in list of enumerators - , PS_SequenceSeen // Seen a SEQUENCE keyword - , PS_SequenceSqSeen // Seen '<' for sequence - , PS_SequenceQsSeen // Seen '>' for sequence - , PS_SequenceTypeSeen // Seen type decl for sequence - , PS_SequenceCommaSeen // Seen comma for sequence - , PS_SequenceExprSeen // Seen size expression for sequence - , PS_StringSeen // Seen a STRING keyword - , PS_StringSqSeen // Seen '<' for string - , PS_StringQsSeen // Seen '>' for string - , PS_StringExprSeen // Seen size expression for string - , PS_StringCompleted // Seen a string decl without size spec - , PS_ArrayIDSeen // Seen array ID - , PS_ArrayCompleted // Seen completed array declaration - , PS_DimSqSeen // Seen '[' for array dimension - , PS_DimQsSeen // Seen ']' for array dimension - , PS_DimExprSeen // Seen size expression for array dimension - , PS_AttrROSeen // Seen READONLY keyword - , PS_AttrSeen // Seen ATTRIBUTE keyword - , PS_AttrTypeSeen // Seen type decl for attribute - , PS_AttrDeclsSeen // Seen declarators for attribute - , PS_AttrCompleted // Seen complete attribute declaration - , PS_ExceptSeen // Seen EXCEPTION keyword - , PS_ExceptIDSeen // Seen exception identifier - , PS_ExceptSqSeen // Seen '{' for exception - , PS_ExceptQsSeen // Seen '}' for exception - , PS_ExceptBodySeen // Seen complete exception body - , PS_OpAttrSeen // Seen operation attribute - , PS_OpTypeSeen // Seen operation return type - , PS_OpIDSeen // Seen operation ID - , PS_OpParsCompleted // Completed operation param list - , PS_OpRaiseCompleted // Completed operation except list - , PS_OpContextCompleted // Completed operation context spec - , PS_OpCompleted // Completed operation statement - , PS_OpSqSeen // Seen '(' for operation - , PS_OpQsSeen // Seen ')' for operation - , PS_OpParCommaSeen // Seen ',' in list of op params - , PS_OpParDirSeen // Seen parameter direction - , PS_OpParTypeSeen // Seen parameter type - , PS_OpParDeclSeen // Seen parameter declaration - , PS_OpRaiseSeen // Seen RAISES keyword - , PS_OpRaiseSqSeen // Seen '(' for RAISES - , PS_OpRaiseQsSeen // Seen ')' for RAISES - , PS_OpContextSeen // Seen CONTEXT keyword - , PS_OpContextSqSeen // Seen '(' for CONTEXT - , PS_OpContextQsSeen // Seen ')' for CONTEXT - , PS_OpContextCommaSeen // Seen ',' for CONTEXT - , PS_DeclsCommaSeen // Seen ',' in declarators list - , PS_DeclsDeclSeen // Seen complete decl in decls list - , PS_NativeSeen // Seen a native declaration - , PS_PragmaPrefixSyntax // Could not parse the #pragma prefix - }; - - // Constructor - IDL_GlobalData(); - virtual ~IDL_GlobalData() {} - - // Operations - virtual UTL_ScopeStack *scopes(); // Scopes stack - virtual void set_scopes(UTL_ScopeStack *); - // Set it - - virtual AST_Root *root(); // Root of AST - virtual void set_root(AST_Root *); // Set it - - virtual AST_Generator *gen(); // Generator - virtual void set_gen(AST_Generator *);// Set it - - virtual UTL_Error *err(); // Error reporter - virtual void set_err(UTL_Error *); // Set it - - virtual long err_count(); // How many errors? - virtual void set_err_count(long); // Set it - - virtual long lineno(); // Where in file? - virtual void set_lineno(long); // Set it - - virtual UTL_String *filename(); // What file? - virtual void set_filename(UTL_String *); // Set it - - virtual UTL_String *main_filename(); // What's the main - // file name? - virtual void set_main_filename(UTL_String *); - // Set it - - virtual UTL_String *real_filename(); // What's the real - // file name? - virtual void set_real_filename(UTL_String *); - // Set it - - virtual UTL_String *stripped_filename(); // Stripped filename - virtual void set_stripped_filename(UTL_String *); // Set it - - virtual idl_bool imported(); // Are we imported? - virtual idl_bool import(); // Is import on? - virtual void set_import(idl_bool); // Set it - - virtual idl_bool in_main_file(); // Are we? - virtual void set_in_main_file(idl_bool); // Set it - - virtual const char *prog_name(void); // Invoked as.. - virtual void set_prog_name(const char *); // Set it - - virtual const char *cpp_location(void); // Where's CPP? - virtual void set_cpp_location(const char *);// Set it - - virtual long compile_flags(void); // What flags are on? - virtual void set_compile_flags(long);// Turn some on or off - - virtual const char *be(void); // Get BE to use - virtual void set_be(const char *); // Set it - - virtual char *local_escapes(void); // Get local escapes - virtual void set_local_escapes(const char *);// Set it - - virtual UTL_Indenter *indent(); // Get indenter - virtual void set_indent(UTL_Indenter *); - // Set it - - virtual UTL_StrList *pragmas(); // Get pragmas - virtual void set_pragmas(UTL_StrList *);// Set it - - virtual idl_bool read_from_stdin(); // Reading from stdin? - virtual void set_read_from_stdin(idl_bool); // Set it - - virtual void store_include_file_name(UTL_String *); - - virtual UTL_String **include_file_names(); // Array of file names - virtual void set_include_file_names(UTL_String **); // Set it - - virtual unsigned long n_include_file_names(); // How many - virtual void set_n_include_file_names(unsigned long n); - - // = Access methods to deal with other IDL files included in the main - // IDL file. These IDL files are exactly the same strings that are - // "#include"d in the main IDL file, not the ones after CC - // preprocessor parsed the file. - - // Just storing the pointer. No memory will be allocated. - virtual void add_to_included_idl_files (char* file_name); - - // Get all the files. - virtual char** included_idl_files (void); - - // The number of currently availabe include files. - virtual size_t n_included_idl_files (void); - - // Set the number of included_idl_files. Use this carefully. This - // method is used when we validate all the #included idl files, - // against the ones that we get after preprocessing. - virtual void n_included_idl_files (size_t n); - - // Validate the included idl files, somefiles might have been - // ignored by the preprocessor. - virtual void validate_included_idl_files (void); - - virtual ParseState parse_state(); // What state we're in - virtual void set_parse_state(ParseState s); // Set it - - // Convert from a predefined type to an expression type - virtual AST_Expression::ExprType - PredefinedTypeToExprType (AST_PredefinedType::PredefinedType); - - /**************** Added to serve the back end *************/ - virtual UTL_String *idl_src_file(); - // Returns the IDL source file being compiled. - - virtual void idl_src_file(UTL_String *); - // Set the source IDL file that is being parsed. - - virtual void changing_standard_include_files (size_t changing); - virtual size_t changing_standard_include_files (void); - // To switch between changing or non-changing standard include - // files (e.g. tao/corba.h) so that #include statements can be - // generated with ""s or <>s respectively. - - - // Helper functions that generate the file names for the C++ mapping - // generated code. - // The parameter set to 0 (no base name, but full - // name with output dir path, is useful, when I just want just the - // base name to use in #include's etc. - static const char *be_get_client_hdr_fname (int base_name_only = 0); - static const char *be_get_client_stub_fname (); - static const char *be_get_client_inline_fname (int base_name_only = 0); - static const char *be_get_server_hdr_fname (int base_name_only = 0); - static const char *be_get_implementation_hdr_fname (int base_name_only = 0); - static const char *be_get_implementation_skel_fname (int base_name_only = 0); - static const char *be_get_server_template_hdr_fname (int base_name_only = 0); - static const char *be_get_server_skeleton_fname (); - static const char *be_get_implementation_skeleton_fname (); - // static const char *be_get_implementation_hdr_fname (); - static const char *be_get_server_template_skeleton_fname (int base_name_only = 0); - static const char *be_get_server_inline_fname (int base_name_only = 0); - static const char *be_get_server_template_inline_fname (int base_name_only = 0); - - // Helper functions: obtain the names of each generated file given - // the IDL file name. - // The parameter set to 0 (no base name, but full - // name with output dir path, is useful, when I just want just the - // base name to use in #include's etc. - static const char *be_get_client_hdr (UTL_String *idl_file_name, - int base_name_only = 0); - static const char *be_get_client_stub (UTL_String *idl_file_name); - static const char *be_get_client_inline (UTL_String *idl_file_name, - int base_name_only = 0); - static const char *be_get_server_hdr (UTL_String *idl_file_name, - int base_name_only = 0); - static const char *be_get_implementation_hdr (UTL_String *idl_file_name, - int base_name_only = 0); - static const char *be_get_implementation_skel (UTL_String *idl_file_name, - int base_name_only = 0); - static const char *be_get_server_template_hdr (UTL_String *idl_file_name, - int base_name_only = 0); - static const char *be_get_server_skeleton (UTL_String *idl_file_name); - static const char *be_get_server_template_skeleton (UTL_String *idl_file_name, - int base_name_only = 0); - static const char *be_get_server_inline (UTL_String *idl_file_name, - int base_name_only = 0); - static const char *be_get_server_template_inline (UTL_String *idl_file_name, - int base_name_only = 0); - - virtual const char* export_macro (void) const; - // returns the macro name for exporting classes in Win32 DLL. - - virtual void export_macro (const char* s); - // set the macro name for export classes in Win32 DLL. - - virtual const char* export_include (void) const; - // returns the name of the include file that contains the export - // macro definition. - - virtual void export_include (const char* s); - // set the name of the include file that contains the export - // macro definition. - - virtual const char* pch_include (void) const; - // returns the name of the include file to be used for precompiled - // header support. - - virtual void pch_include (const char* s); - // set the name of the include file to be used for precompiled - // header support. - - // = Set and get methods for different file name endings. - - virtual void client_hdr_ending (const char* s); - // Set the client_hdr_ending. - - virtual const char* client_hdr_ending (void) const; - // Get the client_hdr_ending. - - virtual void client_inline_ending (const char* s); - // Set the client_inline_ending. - - virtual const char* client_inline_ending (void) const; - // Get the client_inline_ending. - - virtual void client_stub_ending (const char* s); - // Set the client_stub_ending. - - virtual const char* client_stub_ending (void) const; - // Get the client_stub_ending. - - virtual void server_hdr_ending (const char* s); - // Set the server_hdr_ending. - - virtual const char* server_hdr_ending (void) const; - // Get the server_hdr_ending. - - virtual void implementation_hdr_ending (const char* s); - // Set the implementation_hdr_ending. - - virtual void impl_class_prefix (const char* s); - // Set the implementation class prefix. - - virtual void impl_class_suffix (const char* s); - // Set the implementation class suffix. - - virtual void implementation_skel_ending (const char* s); - // Set the implementation_skel_ending. - - virtual const char* implementation_hdr_ending (void) const; - // Get the implementation_hdr_ending. - - virtual const char* impl_class_prefix (void) const; - //Get implementation class prefix - - virtual const char* impl_class_suffix (void) const; - //Get implementation class suffix - - virtual const char* implementation_skel_ending (void) const; - // Get the implementation_skel_ending. - - virtual void server_template_hdr_ending (const char* s); - // Set the server_template_hdr_ending. - - virtual const char* server_template_hdr_ending (void) const; - // Get the server_template_hdr_ending. - - virtual void server_skeleton_ending (const char* s); - // Set the server_skeleton_ending. - - virtual const char* server_skeleton_ending (void) const; - // Get the server_skeleton_ending. - - virtual void server_template_skeleton_ending (const char* s); - // Set the server_template_skeleton_ending. - - virtual const char* server_template_skeleton_ending (void) const; - // Get the server_template_skeleton_ending. - - virtual void server_inline_ending (const char* s); - // Set the server_inline_ending. - - virtual const char* server_inline_ending (void) const; - // Get the server_inline_ending. - - virtual void server_template_inline_ending (const char* s); - // Set the server_template_inline_ending. - - virtual const char* server_template_inline_ending (void) const; - // Get the server_template_inline_ending. - - virtual void output_dir (const char* s); - // Set the directory where all the IDL-Compiler-Generated files are - // to be kept. Default is current directory from which the - // is called. - - virtual const char* output_dir (void) const; - // Get the directory where all the IDL-Compiler-Generated files are - // to be kept. Default is current directory from which the - // is called. - - virtual void temp_dir (const char* s); - // Set the directory where the IDL compiler can keep all its temp - // files. By default, IDL compiler looks for TEMP env variable and - // if it is not set, "/tmp/" is assigned. - - virtual const char* temp_dir (void) const; - // Get the directory where the IDL compiler can keep all its temp - // files. By default, IDL compiler looks for TEMP env variable and - // if it is not set, "/tmp/" is assigned. - - virtual void gperf_path (const char* s); - // Set the path for the perfect hashing program (GPERF). - - virtual const char* gperf_path (void) const; - // Get the path for the perfect hashing program (GPERF). - - virtual void any_support (idl_bool); - // enable suppressing any support ?T.Kuepper: suppressed? - - virtual idl_bool any_support (void); - // check if Any support is suppressed ? enabled ? - - virtual void tc_support (idl_bool); - // enable suppressing TypeCode support - - virtual idl_bool tc_support (void); - // check if TypeCode support is suppressed - -#ifdef IDL_HAS_VALUETYPE - virtual void obv_opt_accessor (idl_bool); - virtual idl_bool obv_opt_accessor (void); - - virtual void obv_support (idl_bool); - // set enable/disable OBV (Valuetype) support -#endif /* IDL_HAS_VALUETYPE */ - - virtual idl_bool obv_support (void); - // check if OBV (Valuetype) support is enabled - - virtual void compiled_marshaling (idl_bool); - // enable compiled marshaling support - - virtual idl_bool compiled_marshaling (void); - // check if we use compiled marshaling - - virtual void gen_impl_files (idl_bool); - //enable generation of implementation files - - virtual idl_bool gen_impl_files (void); - // check if we want to generate implementation files - - virtual void gen_copy_ctor (idl_bool); - //enable generation of copy constructor - - virtual idl_bool gen_copy_ctor (void); - //check if we want to generate the copy constructor - - virtual void gen_assign_op (idl_bool); - //enable the generation of the assignment operator - - virtual idl_bool gen_assign_op (void); - //check if we want to generate the assignment operator - - virtual void gen_thru_poa_collocation (idl_bool); - // set whether we want to generate Thru_POA collocation stubs. - - virtual idl_bool gen_thru_poa_collocation (void); - // check if we want to generate Thru_POA collocation stubs. - - virtual void gen_direct_collocation (idl_bool); - // set whether we want to generate Direct collocation stubs. - - virtual idl_bool gen_direct_collocation (void); - // check if we want to generate Direct collocation stubs. - - virtual void exception_support (idl_bool); - // enable real C++ exceptions - - virtual idl_bool exception_support (void); - // check if real C++ exception support is to be enabled - - virtual void opt_tc (idl_bool); - // enable optimized typecodes - - virtual idl_bool opt_tc (void); - // check if TypeCodes need be optimized - - virtual void case_diff_error (idl_bool); - // report an error (1) for indentifiers in the same scope - // that differ only by case, or report a warning (0). - - virtual idl_bool case_diff_error (void); - // are we strict about case-only differences or not? - - virtual void ami_call_back (idl_bool value); - // To enable or disable AMI call back feature of the Messaging - // specification in the generated code. - - virtual idl_bool ami_call_back (void); - // Return the flag. - -private: - // Data - UTL_ScopeStack *pd_scopes; // Store scopes stack - AST_Root *pd_root; // Store AST root - AST_Generator *pd_gen; // Store generator - UTL_Error *pd_err; // Error object - long pd_err_count; // Count of errors - long pd_lineno; // What line # - UTL_String *pd_filename; // What file - UTL_String *pd_main_filename; // What main filename - UTL_String *pd_real_filename; // What real filename - UTL_String *pd_stripped_filename; // Stripped filename - idl_bool pd_import; // Is import on? - idl_bool pd_in_main_file; // Are we in it? - const char *pd_prog_name; // Argv[0] - const char *pd_cpp_location; // Where to find CPP - long pd_compile_flags; // Compile flags - const char *pd_be; // BE name to use - char *pd_local_escapes; // Trapdoor argument - UTL_Indenter *pd_indent; // Indent object - UTL_StrList *pd_pragmas; // List of pragmas - // as its being built - idl_bool pd_read_from_stdin; // Reading from stdin? - UTL_String **pd_include_file_names;// Array of file names. - unsigned long pd_n_include_file_names;// How many. - unsigned long pd_n_alloced_file_names;// How many alloced. - - char** included_idl_files_; - // IDL files that are "#include'd. - - size_t n_included_idl_files_; - // The number of such idl files that are currently stored. - - size_t n_allocated_idl_files_; - // For char*'s have been allocated for this. - - ParseState pd_parse_state; // Parse state we're in. - - // Operations - long seen_include_file_before(UTL_String *); - // Seen this include - // before? - - UTL_String *pd_idl_src_file; // IDL source file. - - size_t changing_standard_include_files_; - // To switch between changing or non-changing standard include - // files (e.g. tao/corba.h) so that #include statements can be - // generated with ""s or <>s respectively. - - char* export_macro_; - char* export_include_; - char* pch_include_; - - // Client's header file name ending. Default is "C.h". - char* client_hdr_ending_; - - // Client's stub's file name ending. Default is "C.cpp". - char* client_stub_ending_; - - // Client's inline file name ending. Default is "C.i". - char* client_inline_ending_; - - // Server's hdr file name ending. Default is "S.h". - char* server_hdr_ending_; - - // Implementation's hdr file name ending. Default is "I.h". - char* implementation_hdr_ending_; - - // Implementation's skeleton file name ending. Default is "I.cpp". - char* implementation_skel_ending_; - - //Implementaion class prefix - char* impl_class_prefix_; - - //Implementation class suffix - char* impl_class_suffix_; - - // Server's template hdr file name ending. Default is "S_T.h". - char* server_template_hdr_ending_; - - // Server's skeleton file name ending. Default is "S.cpp". - char* server_skeleton_ending_; - - // Server's template skeleton file name ending. Default is - // "S_T.cpp". - char* server_template_skeleton_ending_; - - // Server's inline file name ending. Default is "S.i". - char* server_inline_ending_; - - // Server's template inline file name ending. Default is "S_T.i". - char* server_template_inline_ending_; - - // Path for the perfect hash generator(gperf) program. Default - // is $ACE_ROOT/bin/gperf. - char* gperf_path_; - - - char* output_dir_; - // Directory where all the IDL-Compiler-Generated files are to be - // kept. Default value is 0 for this string which means the current - // directory from which the is called. - - char* temp_dir_; - // Temp directory where which we can rewsolve in drv_preproc.cpp by - // checking for TEMP env variable otherwise we assign to /tmp/. - - idl_bool any_support_; - // do we support Any operators? - - idl_bool tc_support_; - // do we support typecodes? - - idl_bool obv_support_; - // do we support OBV (Valuetype)? - - idl_bool obv_opt_accessor_; - // do we optimize valuetype accessors? - - idl_bool compiled_marshaling_; - // do we support compiled marshaling? - - idl_bool gen_impl_files_; - // are we generating implementation files? - - idl_bool gen_copy_ctor_; - // are we generating the copy constructor? - - idl_bool gen_assign_op_; - // are we generating the assignment operator? - - idl_bool gen_thru_poa_collocation_; - // are we generating Thru_POA collocated stubs? - - idl_bool gen_direct_collocation_; - // are we generating Direct collocated stubs? - - idl_bool exception_support_; - // do we support real C++ exceptions (strict mapping) for stubs/skeletons? - - idl_bool opt_tc_; - // do we generate optimized typecodes? - - idl_bool case_diff_error_; - // do we report an error for indentifiers in the same scope that differ - // only by case? or just a warning? - - idl_bool ami_call_back_; - // Flag to indicate whether the AMI Call back feature of the - // Messaging specification should be enabled for the generated files - // or not. -}; - -#endif //_IDL_IDL_GLOBAL_HH diff --git a/TAO/TAO_IDL/include/idl_narrow.h b/TAO/TAO_IDL/include/idl_narrow.h deleted file mode 100644 index f861a851277..00000000000 --- a/TAO/TAO_IDL/include/idl_narrow.h +++ /dev/null @@ -1,264 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_NARROW_IDL_NARROW_HH -#define _IDL_NARROW_IDL_NARROW_HH - -// idl_narrow.hh -// -// Implement IDL narrowing mechanism. Not intended to be read by humans.. -// -// Logic: -// -// The DEF_xxx macros are used in class declarations. -// The IMPL_xxx macros are used in class implementations. -// -// The DEF_xxx macros come in two flavors. The first one, DEF_NARROW_METHODSn, -// defines the narrowing mechanism. It declares a static class function whose -// address is used as the class identifier. Then, it declares a narrow op -// with an implementation suitable for narrowing from exactly 'n' superclasses. -// The names of the superclass types are given as arguments. The second flavor -// implements specific narrowing mechanisms from AST_decl and from UTL_scope. -// These macros are named DEF_NARROW_FROM_DECL and DEF_NARROW_FROM_SCOPE -// respectively. -// -// The IMPL_xxx macros also come in two flavors, corresponding to the two -// flavors of DEF_xxx macros. The IMPL_NARROW_METHODSn macros implement the -// narrowing mechanism for classes which must be narrowed from 'n' ancestors. -// The IMPL_NARROW_FROM_DECL and IMPL_NARROW_FROM_SCOPE macros implement -// the narrowing mechanisms for narrowing from instances of AST_decl and -// UTL_scope. -// -// IMPL_NARROW_METHODSn where n is 0,1,2 and 3 are provided. -// DEF_NARROW_METHODSn where n is 0,1,2 and 3 are provided. - -extern char *type_id_to_string(long); - -#define DEF_NARROW_METHODS0(TYPE)\ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS0(TYPE)\ -int \ -TYPE::type_id()\ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) {\ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - return rval; \ -} - -#define DEF_NARROW_METHODS1(TYPE,PARENT) \ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS1(TYPE,PARENT) \ -int \ -TYPE::type_id() \ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) {\ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - if (rval == NULL) \ - rval = PARENT::narrow(type_const);\ - return rval;\ -} - -#define DEF_NARROW_METHODS2(TYPE,PARENT1,PARENT2) \ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS2(TYPE,PARENT1,PARENT2) \ -int \ -TYPE::type_id() \ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) { \ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - if (rval == NULL) \ - rval = PARENT1::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT2::narrow(type_const);\ - return rval;\ -} - -#define DEF_NARROW_METHODS3(TYPE,PARENT1,PARENT2,PARENT3) \ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS3(TYPE,PARENT1,PARENT2,PARENT3) \ -int \ -TYPE::type_id() \ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) {\ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - if (rval == NULL) \ - rval = PARENT1::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT2::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT3::narrow(type_const);\ - return rval;\ -} - -#define DEF_NARROW_METHODS4(TYPE,PARENT1,PARENT2,PARENT3,PARENT4) \ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS4(TYPE,PARENT1,PARENT2,PARENT3,PARENT4) \ -int \ -TYPE::type_id() \ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) {\ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - if (rval == NULL) \ - rval = PARENT1::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT2::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT3::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT4::narrow(type_const);\ - return rval;\ -} - -#define DEF_NARROW_METHODS5(TYPE,PARENT1,PARENT2,PARENT3,PARENT4,PARENT5) \ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS5(TYPE,PARENT1,PARENT2,PARENT3,PARENT4,PARENT5) \ -int \ -TYPE::type_id() \ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) {\ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - if (rval == NULL) \ - rval = PARENT1::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT2::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT3::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT4::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT5::narrow(type_const);\ - return rval;\ -} - -#define DEF_NARROW_FROM_DECL(TYPE)\ -static TYPE *narrow_from_decl(AST_Decl *t) - - -#define IMPL_NARROW_FROM_DECL(TYPE)\ -TYPE * \ -TYPE::narrow_from_decl(AST_Decl *t) { \ - return (TYPE *)t->narrow((long)&TYPE::type_id);\ -} - -#define DEF_NARROW_FROM_SCOPE(TYPE)\ -static TYPE *narrow_from_scope(UTL_Scope *t) - - -#define IMPL_NARROW_FROM_SCOPE(TYPE)\ -TYPE * \ -TYPE::narrow_from_scope(UTL_Scope *t) { \ - return (TYPE *)t->narrow((long)&TYPE::type_id);\ -} - -#endif // _IDL_NARROW_IDL_NARROW_HH diff --git a/TAO/TAO_IDL/include/intlmacros.h b/TAO/TAO_IDL/include/intlmacros.h deleted file mode 100644 index 5b5fddd8723..00000000000 --- a/TAO/TAO_IDL/include/intlmacros.h +++ /dev/null @@ -1,87 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_INTLMACROS_HH -#define _IDL_INTLMACROS_HH - -// intlmacros.hh -// -// Define macros which conditionalize string internationalization - -#ifndef DOMF_TEXT_DEVEL_DOMAIN -#define DOMF_TEXT_DEVEL_DOMAIN "SUNW_DOE_DOMF_DEVEL" -#endif // DOMF_TEXT_DEVEL_DOMAIN - -#define GTDEVEL(s) s - -#if defined(__STDC__) -#define CONV(p) #p -#define MKSTR(p) CONV(p) -#else -#define MKSTR(p) "p" -#endif - -#endif // _IDL_INTLMACROS_HH diff --git a/TAO/TAO_IDL/include/nr_extern.h b/TAO/TAO_IDL/include/nr_extern.h deleted file mode 100644 index 27e01d58edb..00000000000 --- a/TAO/TAO_IDL/include/nr_extern.h +++ /dev/null @@ -1,76 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _NR_EXTERN_NR_EXTERN_HH -#define _NR_EXTERN_NR_EXTERN_HH - -// nr_extern.hh - Defines entry points provided by narrowing - -// Convert between an UTL_Scope and an AST_Decl -extern AST_Decl *ScopeAsDecl(UTL_Scope *s); -extern UTL_Scope *DeclAsScope(AST_Decl *d); - -#endif // _NR_EXTERN_NR_EXTERN_HH diff --git a/TAO/TAO_IDL/include/util.h b/TAO/TAO_IDL/include/util.h deleted file mode 100644 index b16d2e14bff..00000000000 --- a/TAO/TAO_IDL/include/util.h +++ /dev/null @@ -1,87 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTIL_UTIL_HH -#define _UTIL_UTIL_HH - -// util.hh - Includes commonly used things defined in the util directory - -#include "utl_stack.h" // class fe_stack -#include "utl_exprlist.h" // class UTL_ExprList -#include "utl_strlist.h" // class UTL_StrList -#include "utl_idlist.h" // class UTL_IdList -#include "utl_exceptlist.h" // class UTL_ExceptList -#include "utl_namelist.h" // class UTL_NameList -#include "utl_labellist.h" // class UTL_LabelList -#include "utl_decllist.h" // class UTL_DeclList - -#include "idl_global.h" // Class IDL_GlobalData - -#include "utl_error.h" // class UTL_Error - -#include "utl_indenter.h" // class UTL_Indenter - -#endif // _UTIL_UTIL_HH diff --git a/TAO/TAO_IDL/include/utl_decllist.h b/TAO/TAO_IDL/include/utl_decllist.h deleted file mode 100644 index 030cef94568..00000000000 --- a/TAO/TAO_IDL/include/utl_decllist.h +++ /dev/null @@ -1,121 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_DECLLIST_UTL_DECLLIST_HH -#define _UTL_DECLLIST_UTL_DECLLIST_HH - -// utl_decllist.hh -// -// List of FE_Declarator nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, fe_declarator.hh -** -** USE: Included from util.hh -*/ - -class UTL_DeclList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_DeclList(FE_Declarator *s, UTL_DeclList *cdr); - - // Get element - FE_Declarator *head(); - -private: - // Data - FE_Declarator *pd_car_data; // The element this list stores -}; - -// Active iterator fooor UTL_DeclList -class UTL_DecllistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_DecllistActiveIterator(UTL_DeclList *s); - - // Get current item - FE_Declarator *item(); -}; - -#endif // _UTL_DECLLIST_UTL_DECLLIST_HH diff --git a/TAO/TAO_IDL/include/utl_err.h b/TAO/TAO_IDL/include/utl_err.h deleted file mode 100644 index 87c2f8019a2..00000000000 --- a/TAO/TAO_IDL/include/utl_err.h +++ /dev/null @@ -1,189 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_ERROR_UTL_ERROR_HH -#define _UTL_ERROR_UTL_ERROR_HH - -// utl_error.hh -// -// Defines error codes and error handling class for UTL -// This will change as a result of internationalization - -/* -** DEPENDENCIES: ast.hh -** -** USE: Included from util.hh -*/ - -class UTL_Error -{ -public: - enum ErrorCode { - EIDL_SYNTAX_ERROR, // Syntax error in IDL input - // More details will be gleaned from examining - // idl_global->parse_state() - EIDL_REDEF, // Redefinition - EIDL_REDEF_SCOPE, // Redefinition inside defining scope - EIDL_DEF_USE, // Definition after use - EIDL_MULTIPLE_BRANCH, // More than one union branch with this - // label - EIDL_COERCION_FAILURE, // Coercion failure - EIDL_SCOPE_CONFLICT, // Between fwd declare and full declare - EIDL_ONEWAY_CONFLICT, // Between op decl and argument direction - EIDL_DISC_TYPE, // Illegal discriminator type in union - EIDL_LABEL_TYPE, // Mismatch with discriminator type in union - EIDL_ILLEGAL_ADD, // Illegal add action - EIDL_ILLEGAL_USE, // Illegal type used in expression - EIDL_ILLEGAL_RAISES, // Error in "raises" clause - EIDL_ILLEGAL_CONTEXT, // Error in "context" clause - EIDL_CANT_INHERIT, // Cannot inherit from non-interface - EIDL_LOOKUP_ERROR, // Identifier not found - EIDL_INHERIT_FWD_ERROR, // Cannot inherit from fwd decl interface - EIDL_CONSTANT_EXPECTED, // We got something else.. - EIDL_NAME_CASE_ERROR, // Identifier spellings differ only in case - EIDL_NAME_CASE_WARNING, // Same as above, but only a warning - EIDL_ENUM_VAL_EXPECTED, // Expected an enumerator - EIDL_ENUM_VAL_NOT_FOUND, // Didnt find an enumerator with that name - EIDL_EVAL_ERROR, // Error in evaluating expression - EIDL_AMBIGUOUS, // Ambiguous name definition - EIDL_DECL_NOT_DEFINED, // Forward declared but never defined - EIDL_FWD_DECL_LOOKUP, // Tried to lookup in fwd declared intf - EIDL_RECURSIVE_TYPE, // Illegal recursive use of type - EIDL_NONVOID_ONEWAY, // Non-void return type in oneway operation - EIDL_NOT_A_TYPE, // Not a type - EIDL_BACK_END, // Back end error - EIDL_OK // No error - }; - - // Operations - - // Report errors with varying numbers of arguments - void error0(ErrorCode e); - void error1(ErrorCode e, AST_Decl *t); - void error2(ErrorCode e, AST_Decl *t1, AST_Decl *t2); - void error3(ErrorCode e, AST_Decl *t1, AST_Decl *t2, AST_Decl *t3); - - // Report a syntax error in IDL input - void syntax_error(IDL_GlobalData::ParseState ps); - - // Report a name being used with different spellings - void name_case_error(char *n, char *t); - - // Same as above, but don't increment the error count. - void name_case_warning(char *n, char *t); - - // Report an unsuccesful coercion attempt - void coercion_error(AST_Expression *v, AST_Expression::ExprType t); - - // Report a failed name lookup attempt - void lookup_error(UTL_ScopedName *n); - - // Report an attempt to use a forward declared interface which - // hasn't been defined yet in an inheritance spec - void inheritance_fwd_error(UTL_ScopedName *n, AST_Interface *f); - - // Report an attempt to inherit from something other than an interface - void inheritance_error(UTL_ScopedName *n, AST_Decl *d); - - void abstract_inheritance_error (UTL_ScopedName *n); - - // Report an error while evaluating an expression (division by zero, etc.) - void eval_error(AST_Expression *d); - - // Report a situation where a constant was expected but we got - // something else instead. This most likely is a case where a union - // label did not evaluate to a constant - void constant_expected(UTL_ScopedName *n, AST_Decl *d); - - // Report a situation where an enumerator was expected but we got - // something else instead. This occurs when a union with an enum - // discriminator is being parsed and one of the branch labels is - // not an enumerator in that enum - void enum_val_expected(AST_Union *t, AST_UnionLabel *l); - - // Report a failed enumerator lookup in an enum - void enum_val_lookup_failure(AST_Union *t, AST_Enum *e, UTL_ScopedName *n); - - // Report an ambiguous name definition - void ambiguous(UTL_Scope *s, AST_Decl *l, AST_Decl *d); - - // Report a forward declared interface which was never defined - void fwd_decl_not_defined(AST_Interface *d); - - // Report attempt to lookup in forward declared interface - void fwd_decl_lookup(AST_Interface *d, UTL_ScopedName *n); - - // Report a redefinition in scope - void redefinition_in_scope(AST_Decl *t, AST_Decl *s); - - // Report not a type error - void not_a_type(AST_Decl *d); - - // Report back-end error - void back_end(long lineno, UTL_String *s); -}; - -#endif // _UTL_ERROR_UTL_ERROR_HH diff --git a/TAO/TAO_IDL/include/utl_error.h b/TAO/TAO_IDL/include/utl_error.h deleted file mode 100644 index 87c2f8019a2..00000000000 --- a/TAO/TAO_IDL/include/utl_error.h +++ /dev/null @@ -1,189 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_ERROR_UTL_ERROR_HH -#define _UTL_ERROR_UTL_ERROR_HH - -// utl_error.hh -// -// Defines error codes and error handling class for UTL -// This will change as a result of internationalization - -/* -** DEPENDENCIES: ast.hh -** -** USE: Included from util.hh -*/ - -class UTL_Error -{ -public: - enum ErrorCode { - EIDL_SYNTAX_ERROR, // Syntax error in IDL input - // More details will be gleaned from examining - // idl_global->parse_state() - EIDL_REDEF, // Redefinition - EIDL_REDEF_SCOPE, // Redefinition inside defining scope - EIDL_DEF_USE, // Definition after use - EIDL_MULTIPLE_BRANCH, // More than one union branch with this - // label - EIDL_COERCION_FAILURE, // Coercion failure - EIDL_SCOPE_CONFLICT, // Between fwd declare and full declare - EIDL_ONEWAY_CONFLICT, // Between op decl and argument direction - EIDL_DISC_TYPE, // Illegal discriminator type in union - EIDL_LABEL_TYPE, // Mismatch with discriminator type in union - EIDL_ILLEGAL_ADD, // Illegal add action - EIDL_ILLEGAL_USE, // Illegal type used in expression - EIDL_ILLEGAL_RAISES, // Error in "raises" clause - EIDL_ILLEGAL_CONTEXT, // Error in "context" clause - EIDL_CANT_INHERIT, // Cannot inherit from non-interface - EIDL_LOOKUP_ERROR, // Identifier not found - EIDL_INHERIT_FWD_ERROR, // Cannot inherit from fwd decl interface - EIDL_CONSTANT_EXPECTED, // We got something else.. - EIDL_NAME_CASE_ERROR, // Identifier spellings differ only in case - EIDL_NAME_CASE_WARNING, // Same as above, but only a warning - EIDL_ENUM_VAL_EXPECTED, // Expected an enumerator - EIDL_ENUM_VAL_NOT_FOUND, // Didnt find an enumerator with that name - EIDL_EVAL_ERROR, // Error in evaluating expression - EIDL_AMBIGUOUS, // Ambiguous name definition - EIDL_DECL_NOT_DEFINED, // Forward declared but never defined - EIDL_FWD_DECL_LOOKUP, // Tried to lookup in fwd declared intf - EIDL_RECURSIVE_TYPE, // Illegal recursive use of type - EIDL_NONVOID_ONEWAY, // Non-void return type in oneway operation - EIDL_NOT_A_TYPE, // Not a type - EIDL_BACK_END, // Back end error - EIDL_OK // No error - }; - - // Operations - - // Report errors with varying numbers of arguments - void error0(ErrorCode e); - void error1(ErrorCode e, AST_Decl *t); - void error2(ErrorCode e, AST_Decl *t1, AST_Decl *t2); - void error3(ErrorCode e, AST_Decl *t1, AST_Decl *t2, AST_Decl *t3); - - // Report a syntax error in IDL input - void syntax_error(IDL_GlobalData::ParseState ps); - - // Report a name being used with different spellings - void name_case_error(char *n, char *t); - - // Same as above, but don't increment the error count. - void name_case_warning(char *n, char *t); - - // Report an unsuccesful coercion attempt - void coercion_error(AST_Expression *v, AST_Expression::ExprType t); - - // Report a failed name lookup attempt - void lookup_error(UTL_ScopedName *n); - - // Report an attempt to use a forward declared interface which - // hasn't been defined yet in an inheritance spec - void inheritance_fwd_error(UTL_ScopedName *n, AST_Interface *f); - - // Report an attempt to inherit from something other than an interface - void inheritance_error(UTL_ScopedName *n, AST_Decl *d); - - void abstract_inheritance_error (UTL_ScopedName *n); - - // Report an error while evaluating an expression (division by zero, etc.) - void eval_error(AST_Expression *d); - - // Report a situation where a constant was expected but we got - // something else instead. This most likely is a case where a union - // label did not evaluate to a constant - void constant_expected(UTL_ScopedName *n, AST_Decl *d); - - // Report a situation where an enumerator was expected but we got - // something else instead. This occurs when a union with an enum - // discriminator is being parsed and one of the branch labels is - // not an enumerator in that enum - void enum_val_expected(AST_Union *t, AST_UnionLabel *l); - - // Report a failed enumerator lookup in an enum - void enum_val_lookup_failure(AST_Union *t, AST_Enum *e, UTL_ScopedName *n); - - // Report an ambiguous name definition - void ambiguous(UTL_Scope *s, AST_Decl *l, AST_Decl *d); - - // Report a forward declared interface which was never defined - void fwd_decl_not_defined(AST_Interface *d); - - // Report attempt to lookup in forward declared interface - void fwd_decl_lookup(AST_Interface *d, UTL_ScopedName *n); - - // Report a redefinition in scope - void redefinition_in_scope(AST_Decl *t, AST_Decl *s); - - // Report not a type error - void not_a_type(AST_Decl *d); - - // Report back-end error - void back_end(long lineno, UTL_String *s); -}; - -#endif // _UTL_ERROR_UTL_ERROR_HH diff --git a/TAO/TAO_IDL/include/utl_exceptlist.h b/TAO/TAO_IDL/include/utl_exceptlist.h deleted file mode 100644 index 7d726039fb0..00000000000 --- a/TAO/TAO_IDL/include/utl_exceptlist.h +++ /dev/null @@ -1,121 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH -#define _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH - -// utl_exceptlist.hh -// -// List of AST_Exception nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, ast_exception.hh -** -** USE: Included from util.hh -*/ - -class UTL_ExceptList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_ExceptList(AST_Exception *s, UTL_ExceptList *cdr); - - // Get list item - AST_Exception *head(); - -private: - // Data - AST_Exception *pd_car_data; // Item of this list -}; - -// Active iterator for UTL_ExceptList -class UTL_ExceptlistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_ExceptlistActiveIterator(UTL_ExceptList *s); - - // Get current item - AST_Exception *item(); -}; - -#endif // _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH diff --git a/TAO/TAO_IDL/include/utl_exprlist.h b/TAO/TAO_IDL/include/utl_exprlist.h deleted file mode 100644 index 934bdca15e1..00000000000 --- a/TAO/TAO_IDL/include/utl_exprlist.h +++ /dev/null @@ -1,121 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_EXPRLIST_UTL_EXPRLIST_HH -#define _UTL_EXPRLIST_UTL_EXPRLIST_HH - -// utl_exprlist.hh -// -// List of strings - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: ast_expression.hh, utl_list.hh -** -** USE: Included from util.hh -*/ - -class UTL_ExprList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_ExprList(AST_Expression *s, UTL_ExprList *cdr); - - // Get list item - AST_Expression *head(); - -private: - // Data - AST_Expression *pd_car_data; // List item -}; - -// Active iterator for UTL_ExprList -class UTL_ExprlistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_ExprlistActiveIterator(UTL_ExprList *s); - - // Get current item - AST_Expression *item(); -}; - -#endif // _UTL_EXPRLIST_UTL_EXPRLIST_HH diff --git a/TAO/TAO_IDL/include/utl_identifier.h b/TAO/TAO_IDL/include/utl_identifier.h deleted file mode 100644 index d889a643f32..00000000000 --- a/TAO/TAO_IDL/include/utl_identifier.h +++ /dev/null @@ -1,116 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_IDENTIFIER_UTL_IDENTIFIER_HH -#define _UTL_IDENTIFIER_UTL_IDENTIFIER_HH - -// utl_identifier.hh -// -// Identifier - -/* -** DEPENDENCIES: utl_string.hh -** -** USE: Included from util.hh -*/ - -#include "idl_fwd.h" -#include "utl_string.h" - -class Identifier -{ -public: - Identifier (); - // Default Constructor(s) - - Identifier (const char *s, long x=1, long y=0, long z=I_FALSE); - // constructor - - virtual ~Identifier (); - // destructor - - // =Operations - - char *get_string (); - // get the underlying string - - long compare (Identifier *other); - // compare with other Identifier - - long case_compare (Identifier *other); - // also check for case-only difference - - // =Dumping - - virtual void dump (ostream &o); - // dump to an ostream - -private: - // Storage for data - char *pv_string; -}; - -#endif // _UTL_IDENTIFIER_UTL_IDENTIFIER_HH diff --git a/TAO/TAO_IDL/include/utl_idlist.h b/TAO/TAO_IDL/include/utl_idlist.h deleted file mode 100644 index dc0ed8c0c04..00000000000 --- a/TAO/TAO_IDL/include/utl_idlist.h +++ /dev/null @@ -1,147 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_IDLIST_UTL_IDLIST_HH -#define _UTL_IDLIST_UTL_IDLIST_HH - -// utl_idlist.hh -// -// List of Identifiers - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, utl_identifier.hh -** -** USE: Included from util.hh -*/ - -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_identifier.h" -#include "utl_string.h" - -class UTL_IdList : public UTL_List -{ - // =TITLE - // UTL_IdList - // =DESCRIPTION - // Used to maintain a list of identifiers. The primary usage of this class - // is to maintain a scoped name. -public: - UTL_IdList (Identifier *car, UTL_IdList *cdr); - // Constructor(s) - - virtual ~UTL_IdList() {} - // destructor - - // =AST Dumping - - virtual void dump (ostream &o); - // dump to ostream - - // Other operations - - UTL_List *copy (); - // Copy the list - - Identifier *head (); - // get element - - Identifier *last_component (); - // Get last element in this list -private: - Identifier *pd_car_data; -}; - -// Active iterator for UTL_IdList - -class UTL_IdListActiveIterator : - public UTL_ListActiveIterator -{ - // =TITLE - // UTL_IdListActiveIterator - // =DESCRIPTION - // Iterator for the IDList -public: - UTL_IdListActiveIterator (UTL_IdList *s); - // Constructor(s) - - Identifier *item (); - // retrieves the next item -}; - -#endif // _UTL_IDLIST_UTL_IDLIST_HH diff --git a/TAO/TAO_IDL/include/utl_indenter.h b/TAO/TAO_IDL/include/utl_indenter.h deleted file mode 100644 index c72291eaf92..00000000000 --- a/TAO/TAO_IDL/include/utl_indenter.h +++ /dev/null @@ -1,117 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_INDENTER_UTL_INDENTER_HH -#define _UTL_INDENTER_UTL_INDENTER_HH - -// UTL indenter: -// -// Utility class for control of indentation level during dumping -// May also be useful for BEs that want to produce nicely formatted -// output - -/* -** DEPENDENCIES: NONE -** -** USE: in CFE in dumping the AST -*/ - -class UTL_Indenter -{ - // =TITLE - // UTL_Indenter - // =DESCRIPTION - // useful in generating indented output -public: - // Operations - - UTL_Indenter(); // constructor - // Constructor(s) - - virtual ~UTL_Indenter() {} - // destructor - - void reset(); - // Reset indentation level to 0 - - void increase(); - // Increase indentation level - - void decrease(); - // Decrease indentation level - - void skip_to (ostream &o); - // Skip to indentation level stop - - void skip_to (FILE *fp); - // skip to indentation level stop - -private: - // Data - long pd_indent_level; // How far to indent -}; - -#endif // _UTL_INDENTER_UTL_INDENTER_HH diff --git a/TAO/TAO_IDL/include/utl_labellist.h b/TAO/TAO_IDL/include/utl_labellist.h deleted file mode 100644 index 0ad12eef9d6..00000000000 --- a/TAO/TAO_IDL/include/utl_labellist.h +++ /dev/null @@ -1,121 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_LABELLIST_UTL_LABELLIST_HH -#define _UTL_LABELLIST_UTL_LABELLIST_HH - -// utl_labellist.hh -// -// List of AST_UnionBranch nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, ast_union_label.hh -** -** USE: Included from util.hh -*/ - -class UTL_LabelList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_LabelList(AST_UnionLabel *s, UTL_LabelList *cdr); - - // Get list item - AST_UnionLabel *head(); - -private: - // Data - AST_UnionLabel *pd_car_data; // List item -}; - -// Active iterator for UTL_LabelList -class UTL_LabellistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_LabellistActiveIterator(UTL_LabelList *source); - - // Get current item - AST_UnionLabel *item(); -}; - -#endif // _UTL_LABELLIST_UTL_LABELLIST_HH diff --git a/TAO/TAO_IDL/include/utl_list.h b/TAO/TAO_IDL/include/utl_list.h deleted file mode 100644 index fa657f70e77..00000000000 --- a/TAO/TAO_IDL/include/utl_list.h +++ /dev/null @@ -1,150 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_LIST_UTL_LIST_HH -#define _UTL_LIST_UTL_LIST_HH - -// utl_list.hh -// -// General single-linked lists - -/* -** DEPENDENCIES: NONE -** -** USE: Included from util.hh -*/ - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -// Forward declare active iterator for UTL_List -class UTL_ListActiveIterator; - -class UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_List(UTL_List *c); - - // Smash last cdr pointer in "this" with l - void nconc(UTL_List *l); - - // Copy the list starting at "this" - virtual UTL_List *copy(); - - // Get next list - UTL_List *tail(); - - // Set next list - void set_tail(UTL_List *l); - - // How long is this list? - long length(); - -private: - // Data - UTL_List *pd_cdr_data; // The next list - - // Operations - long list_length(long n); // How long is it? - - // Friend class - friend class UTL_ListActiveIterator; // Friend class - -}; - -// Active iterator for lists -class UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_ListActiveIterator(UTL_List *s); - - // Get next list - virtual void next(); - - // Are we at the end of this list? - virtual long is_done(); - -protected: - // Data - UTL_List *source; // On what to iterate? -}; - -#endif // _UTL_LIST_UTL_LIST_HH diff --git a/TAO/TAO_IDL/include/utl_namelist.h b/TAO/TAO_IDL/include/utl_namelist.h deleted file mode 100644 index f962882425f..00000000000 --- a/TAO/TAO_IDL/include/utl_namelist.h +++ /dev/null @@ -1,121 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_NAMELIST_UTL_NAMELIST_HH -#define _UTL_NAMELIST_UTL_NAMELIST_HH - -// utl_namelist.hh -// -// List of UTL_ScopedName nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, utl_scoped_name.hh -** -** USE: Included from util.hh -*/ - -class UTL_NameList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_NameList(UTL_ScopedName *s, UTL_NameList *cdr); - - // Get list item - UTL_ScopedName *head(); - -private: - // Data - UTL_ScopedName *pd_car_data; // List item -}; - -// Active iterator for UTL_NameList -class UTL_NamelistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_NamelistActiveIterator(UTL_NameList *source); - - // Get current item - UTL_ScopedName *item(); -}; - -#endif // _UTL_NAMELIST_UTL_NAMELIST_HH diff --git a/TAO/TAO_IDL/include/utl_scope.h b/TAO/TAO_IDL/include/utl_scope.h deleted file mode 100644 index 4c81734ce0f..00000000000 --- a/TAO/TAO_IDL/include/utl_scope.h +++ /dev/null @@ -1,300 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_SCOPE_UTL_SCOPE_HH -#define _UTL_SCOPE_UTL_SCOPE_HH - -// UTL_Scope - Provide scoping mechanism -// -// This is the base class for name scoping. Each entity which can -// be directly contained in a naming scope has an add() function -// defined for it. The functions defined on the base scoping class -// all return FALSE. Each subclass of UTL_Scope should -// define its own add() functions for those types which are legal -// in that context. Then, for those types for which no local functions -// have been defined the function on the base class will be called to -// return FALSE. -// -// The "AST_" classes may redefine add() functions to implement any -// name binding mechanisms needed for their own functionality. It is -// the responsibility of those functions then to call the add() -// function defined in the parent "AST_" class. - -/* -** DEPENDENCIES: ast_decl.hh, utl_scoped_name.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "ast_decl.h" -#include "ast_expression.h" -#include "utl_scoped_name.h" - -// This is for AIX w/IBM C++ -class Identifier; - -// Forward declaration of active iterator for UTL_Scope -class UTL_ScopeActiveIterator; - -class UTL_Scope : public virtual COMMON_Base -{ -public: - // Enum to denote the kind of iteration desired - enum ScopeIterationKind { - IK_both // Iterate through both decls and local types - , IK_decls // Iterate only through decls - , IK_localtypes // Iterate only through local types - }; - - // Operations - - // Constructor(s) - UTL_Scope(); - UTL_Scope(AST_Decl::NodeType nt); - virtual ~UTL_Scope() {} - - // Scope Management Protocol - virtual AST_PredefinedType *add_predefined_type(AST_PredefinedType *t); - virtual AST_Module *add_module(AST_Module *m); - virtual AST_Interface *add_interface(AST_Interface *i); - virtual AST_InterfaceFwd *add_interface_fwd(AST_InterfaceFwd *i); - virtual AST_Constant *add_constant(AST_Constant *c); - virtual AST_Exception *add_exception(AST_Exception *e); - virtual AST_Attribute *add_attribute(AST_Attribute *a); - virtual AST_Operation *add_operation(AST_Operation *o); - virtual AST_Argument *add_argument(AST_Argument *a); - virtual AST_Union *add_union(AST_Union *u); - virtual AST_UnionBranch *add_union_branch(AST_UnionBranch *b); - virtual AST_Structure *add_structure(AST_Structure *s); - virtual AST_Field *add_field(AST_Field *f); - virtual AST_Enum *add_enum(AST_Enum *e); - virtual AST_EnumVal *add_enum_val(AST_EnumVal *v); - virtual AST_Typedef *add_typedef(AST_Typedef *t); - virtual UTL_StrList *add_context(UTL_StrList *c); - virtual UTL_NameList *add_exceptions(UTL_NameList *e); - virtual AST_Sequence *add_sequence(AST_Sequence *s); - virtual AST_String *add_string(AST_String *s); - virtual AST_Array *add_array(AST_Array *a); - virtual AST_Native *add_native (AST_Native *n); - - // Call back end add_XXX functions for this scope - virtual AST_Decl *call_add(); - - // Data Accessors - AST_Decl::NodeType scope_node_type() - { - return pd_scope_node_type; - } - - // Narrowing - DEF_NARROW_METHODS0(UTL_Scope); - DEF_NARROW_FROM_SCOPE(UTL_Scope); - - // AST Dumping - virtual void dump(ostream &o); - - // Other Operations - - // Name Lookup Mechanism - virtual AST_Decl *lookup_by_name(UTL_ScopedName *, - idl_bool treat_as_ref, - idl_bool in_parent = 1, - long start_index = 0, - long scope_offset = 0); - - // Look up the Identifier * specified only in the local scope - virtual AST_Decl *lookup_by_name_local(Identifier *, - idl_bool treat_as_ref, - long index = 0, - long scope_offset = 0); - - // Look up a predefined type by its ExprType - virtual AST_Decl - *lookup_primitive_type(AST_Expression::ExprType); - - // How many entries are used? - virtual unsigned long nmembers(); - -protected: - // UTL_Scope protected addition protocol. This protocol is - // used from sub-classes of UTL_Scope to insert nodes directly - // into the specified node table (either decls or local_types) - // Additionally, UTL_Scope also maintains a record of what nodes - // defined elsewhere were referenced in this scope - - // Add to decls. Node represents a local declaration - void add_to_scope(AST_Decl *e); - - // Add to local types. Node represents a local manifest type - void add_to_local_types(AST_Decl *e); - - // Add to referenced nodes set. - void add_to_referenced(AST_Decl *e, - idl_bool recursive); - - // Has this node been referenced here already? - idl_bool referenced(AST_Decl *e); - - // Look up a scoped name in the inherited interfaces of an - // interface - virtual AST_Decl *look_in_inherited(UTL_ScopedName *, - idl_bool treat_as_ref); -protected: - // Operations - - // Lookup based on the local name - virtual AST_Decl *lookup_for_add(AST_Decl *d, - idl_bool treat_as_ref); - -private: - // Data - - // What type is this node? This is a cache of the information - // in AST_Decl - const AST_Decl::NodeType pd_scope_node_type; - - // Storage for declarations in this scope: - AST_Decl **pd_decls; // Store declarations - long pd_decls_allocated; // How many allocated? - long pd_decls_used; // How many used? - - // Storage for local manifest types in this scope: - AST_Decl **pd_local_types; // Store types - long pd_locals_allocated; // How many allocated? - long pd_locals_used; // How many used? - - // Storage for referenced nodes in this scope: - AST_Decl **pd_referenced; // Store references - long pd_referenced_allocated;// How many allocated? - long pd_referenced_used; // How many used? - - // Friend class UTL_ScopeActiveIterator defines active iterator for - // UTL_Scope. Definition follows below. - friend class UTL_ScopeActiveIterator; - -private: - friend int tao_yyparse(); - friend class AST_Enum; - - // Scope Management Protocol - virtual AST_PredefinedType *fe_add_predefined_type(AST_PredefinedType *t); - virtual AST_Module *fe_add_module(AST_Module *m); - virtual AST_Interface *fe_add_interface(AST_Interface *i); - virtual AST_InterfaceFwd *fe_add_interface_fwd(AST_InterfaceFwd *i); - virtual AST_Constant *fe_add_constant(AST_Constant *c); - virtual AST_Exception *fe_add_exception(AST_Exception *e); - virtual AST_Attribute *fe_add_attribute(AST_Attribute *a); - virtual AST_Operation *fe_add_operation(AST_Operation *o); - virtual AST_Argument *fe_add_argument(AST_Argument *a); - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_UnionBranch *fe_add_union_branch(AST_UnionBranch *b); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Field *fe_add_field(AST_Field *f); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - virtual AST_Typedef *fe_add_typedef(AST_Typedef *t); - virtual UTL_StrList *fe_add_context(UTL_StrList *c); - virtual UTL_NameList *fe_add_exceptions(UTL_NameList *e); - virtual AST_Sequence *fe_add_sequence(AST_Sequence *s); - virtual AST_String *fe_add_string(AST_String *s); - virtual AST_Array *fe_add_array(AST_Array *a); - virtual AST_Native *fe_add_native (AST_Native *n); -}; - -// Active iterator for a UTL_Scope node -class UTL_ScopeActiveIterator { -public: - // Operations - - // Constructor(s) - UTL_ScopeActiveIterator(UTL_Scope *s, UTL_Scope::ScopeIterationKind ik); - - // Advance to next item - virtual void next(); - - // Get current item - virtual AST_Decl *item(); - - // Have we iterated over entire scope? - virtual idl_bool is_done(); - - // What kind of iterator is this? - virtual UTL_Scope::ScopeIterationKind iteration_kind(); - - // What stage are we in with this iterator? - virtual UTL_Scope::ScopeIterationKind iteration_stage(); - -private: - // Data - UTL_Scope *iter_source; // Scope to iterate over - UTL_Scope::ScopeIterationKind ik; // What kind of iteration - UTL_Scope::ScopeIterationKind stage; // What stage - long il; // What location in stage -}; - -#endif // _UTL_SCOPE_UTL_SCOPE_HH diff --git a/TAO/TAO_IDL/include/utl_scoped_name.h b/TAO/TAO_IDL/include/utl_scoped_name.h deleted file mode 100644 index 2cdc381bf2f..00000000000 --- a/TAO/TAO_IDL/include/utl_scoped_name.h +++ /dev/null @@ -1,82 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_SCOPED_NAME_AST_SCOPED_NAME_HH -#define _AST_SCOPED_NAME_AST_SCOPED_NAME_HH - -// Define UTL_ScopedName as a list of strings - -/* -** DEPENDENCIES: utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -typedef UTL_IdList UTL_ScopedName; - -typedef UTL_IdListActiveIterator UTL_ScopedNameActiveIterator; - -#endif // _AST_SCOPED_NAME_AST_SCOPED_NAME_HH diff --git a/TAO/TAO_IDL/include/utl_stack.h b/TAO/TAO_IDL/include/utl_stack.h deleted file mode 100644 index eb8b2cf8b46..00000000000 --- a/TAO/TAO_IDL/include/utl_stack.h +++ /dev/null @@ -1,150 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_STACK_UTL_STACK_HH -#define _UTL_STACK_UTL_STACK_HH - -// utl_stack.hh - Defines the UTL_ScopeStack class - a stack of scopes -// -// UTL_ScopeStack implements scope nesting - -/* -** DEPENDENCIES: utl_scope.hh -** -** USE: Included from util.hh -*/ - -// Forward declaration of active iterator for UTL_ScopeStack -class UTL_ScopeStackActiveIterator; - -class UTL_ScopeStack -{ -public: - // Operations - - // Constructor and destructor - UTL_ScopeStack(); - virtual ~UTL_ScopeStack(); - - // Return top element - virtual UTL_Scope *top(); - - // Pop top element - virtual void pop(); - - // Clear entire stack - virtual void clear(); - - // Push an element on the stack and return stack - virtual UTL_ScopeStack *push(UTL_Scope *el); - - // How deep is the stack now? - virtual unsigned long depth(); - - // Return bottom element - virtual UTL_Scope *bottom(); - - // Return (top - 1) element - virtual UTL_Scope *next_to_top(); - - // return topmost non-NULL element - virtual UTL_Scope *top_non_null(); - -private: - // Data - UTL_Scope **pd_stack_data; // Store scopes stack - unsigned long pd_stack_data_nalloced; // How many allocated? - unsigned long pd_stack_top; // How many used? - - // Friend active iterator class for UTL_ScopeStack - friend class UTL_ScopeStackActiveIterator; -}; - -// Active iterator for UTL_ScopeStack -class UTL_ScopeStackActiveIterator -{ -public: - // Operations - - // Constructor - UTL_ScopeStackActiveIterator(UTL_ScopeStack *s); - - // Advance to next element - virtual void next(); - - // Get current item - virtual UTL_Scope *item(); - - // Is the iteration finished? - virtual long is_done(); - -private: - // Data - UTL_ScopeStack *source; // On what to iterate? - long il; // Where are we in iteration? -}; - -#endif // _UTL_STACK_UTL_STACK_HH diff --git a/TAO/TAO_IDL/include/utl_string.h b/TAO/TAO_IDL/include/utl_string.h deleted file mode 100644 index 568c79f8515..00000000000 --- a/TAO/TAO_IDL/include/utl_string.h +++ /dev/null @@ -1,139 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _STRING_STRING_HH -#define _STRING_STRING_HH - -// utl_string.hh - contains a quick and dirty TEMPORARY string implementation - -/* -** DEPENDENCIES: NONE -** -** USE: Included from util.hh -*/ - -class UTL_String -{ - // =TITLE - // UTL_String - // =DESCRIPTION - // string class to store identifiers -public: - // =Operations - - UTL_String (void); - // default constructor - - UTL_String (const char *str); - // construct from a const char * - - UTL_String (unsigned long maxlen); - // constructor with an initial string length - - UTL_String (UTL_String *s); - // construct using a pointer to UTL_String - - virtual ~UTL_String (void) {} - // destructor - - // =AST Dumping - - virtual void dump (ostream &o); - // dump to the ostream - - // =Other Operations - - char *get_string (void); - // Get contents of utl_string - - char *get_canonical_rep (void); - // Get canonical representation. This is (implemented as) the all upper - // case corresponding string - - virtual long compare (UTL_String *s); - // Compare two String * - -private: - // Data - char *p_str; - // Storage for characters - - char *c_str; - // Canonicalized string - - unsigned long len; - // How long is string - - unsigned long alloced; - // How much allocated - - // =Private helper operations - - void canonicalize (void); - // Compute canonical representation -}; - -#endif // _STRING_STRING_HH diff --git a/TAO/TAO_IDL/include/utl_strlist.h b/TAO/TAO_IDL/include/utl_strlist.h deleted file mode 100644 index ad722ec135a..00000000000 --- a/TAO/TAO_IDL/include/utl_strlist.h +++ /dev/null @@ -1,135 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_STRLIST_UTL_STRLIST_HH -#define _UTL_STRLIST_UTL_STRLIST_HH - -// utl_strlist.hh -// -// List of String nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, utl_string.hh -** -** USE: Included from util.hh -*/ - -class UTL_StrList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_StrList(UTL_String *s, UTL_StrList *cdr); - - // AST Dumping - virtual void dump(ostream &o); - - // Other Operations - - // Copy a list of strings - virtual UTL_List *copy(); - - // Get list element - UTL_String *head(); - - // Set the list element - void set_head(UTL_String *); - - // Get last element in this list - UTL_String *last_component(); - -private: - // Data - UTL_String *pd_car_data; // The list item -}; - -// Active iterator for UTL_StrList -class UTL_StrlistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_StrlistActiveIterator(UTL_StrList *s); - - // Get current item - UTL_String *item(); -}; - -#endif // _UTL_STRLIST_UTL_STRLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h deleted file mode 100644 index 8de08c85725..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h +++ /dev/null @@ -1,105 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_DECLLIST_UTL_DECLLIST_HH -#define _UTL_DECLLIST_UTL_DECLLIST_HH - -// utl_decllist.hh -// -// List of FE_Declarator nodes - -/* -** DEPENDENCIES: utl_list.hh, fe_declarator.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_idlist.h" -#include "utl_scoped_name.h" -#include "utl_identifier.h" -#include "utl_string.h" -#include "fe_declarator.h" - - -class UTL_DeclList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_DeclList(FE_Declarator *s, UTL_DeclList *cdr); - virtual ~UTL_DeclList() {} -}; - -// Active iterator for UTL_DeclList -class UTL_DecllistActiveIterator : - public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_DecllistActiveIterator(UTL_DeclList *s); - virtual ~UTL_DecllistActiveIterator() {} -}; - -#endif // _UTL_DECLLIST_UTL_DECLLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h deleted file mode 100644 index 8fee4504360..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h +++ /dev/null @@ -1,113 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH -#define _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH - -// utl_exceptlist.hh -// -// List of AST_Exception nodes - -/* -** DEPENDENCIES: utl_list.hh, ast_exception.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_strlist.h" -#include "utl_idlist.h" -#include "utl_scoped_name.h" -#include "utl_identifier.h" -#include "utl_string.h" -#include "ast_expression.h" -#include "idl_bool.h" -#include "utl_scope.h" -#include "ast_decl.h" -#include "ast_type.h" -#include "ast_concrete_type.h" -#include "ast_structure.h" -#include "ast_exception.h" - - -class UTL_ExceptList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_ExceptList(AST_Exception *s, UTL_ExceptList *cdr); - virtual ~UTL_ExceptList() {} -}; - -// Active iterator for UTL_ExceptList -class UTL_ExceptlistActiveIterator : - public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_ExceptlistActiveIterator(UTL_ExceptList *s); - virtual ~UTL_ExceptlistActiveIterator() {} -}; - -#endif // _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h deleted file mode 100644 index 84fbcd3957c..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h +++ /dev/null @@ -1,106 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_EXPRLIST_UTL_EXPRLIST_HH -#define _UTL_EXPRLIST_UTL_EXPRLIST_HH - -// utl_exprlist.hh -// -// List of strings - -/* -** DEPENDENCIES: ast_expression.hh, utl_list.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_strlist.h" -#include "utl_idlist.h" -#include "utl_scoped_name.h" -#include "utl_identifier.h" -#include "utl_string.h" -#include "ast_expression.h" - - -class UTL_ExprList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_ExprList(AST_Expression *s, UTL_ExprList *cdr); - virtual ~UTL_ExprList() {} -}; - -// Active iterator for UTL_ExprList -class UTL_ExprlistActiveIterator : - public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_ExprlistActiveIterator(UTL_ExprList *s); - virtual ~UTL_ExprlistActiveIterator() {} -}; - -#endif // _UTL_EXPRLIST_UTL_EXPRLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h deleted file mode 100644 index a9a1b77c26d..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h +++ /dev/null @@ -1,105 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_IDLIST_UTL_IDLIST_HH -#define _UTL_IDLIST_UTL_IDLIST_HH - -// utl_idlist.hh -// -// List of Identifiers - -/* -** DEPENDENCIES: utl_list.hh, utl_identifier.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_identifier.h" -#include "utl_string.h" - -class UTL_IdList : public UTL_List -{ - public: - // Constructor(s) - UTL_IdList(Identifier *car, UTL_IdList *cdr); - virtual ~UTL_IdList() {} - - // AST Dumping - virtual void dump(ostream &o); - - // Other operations - - // Get last element in this list - Identifier *last_component(); -}; - -// Active iterator for UTL_IdList - -class UTL_IdListActiveIterator : - public UTL_ListActiveIterator -{ - public: - // Constructor(s) - UTL_IdListActiveIterator(UTL_IdList *s); -}; - -#endif // _UTL_IDLIST_UTL_IDLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h deleted file mode 100644 index b7ca1d38e43..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h +++ /dev/null @@ -1,101 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_LABELLIST_UTL_LABELLIST_HH -#define _UTL_LABELLIST_UTL_LABELLIST_HH - -// utl_labellist.hh -// -// List of AST_UnionBranch nodes - -/* -** DEPENDENCIES: utl_list.hh, ast_union_label.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "idl_fwd.h" -#include "utl_list.h" -#include "ast_union_label.h" - - -class UTL_LabelList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_LabelList(AST_UnionLabel *s, UTL_LabelList *cdr); - virtual ~UTL_LabelList() {} -}; - -// Active iterator for UTL_LabelList -class UTL_LabellistActiveIterator : - public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_LabellistActiveIterator(UTL_LabelList *source); - virtual ~UTL_LabellistActiveIterator() {} -}; - -#endif // _UTL_LABELLIST_UTL_LABELLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_list.h b/TAO/TAO_IDL/include/utl_tmpl/utl_list.h deleted file mode 100644 index b300298b93d..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_list.h +++ /dev/null @@ -1,140 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_LIST_UTL_LIST_HH -#define _UTL_LIST_UTL_LIST_HH - -// utl_list.hh -// -// General single-linked lists - -/* -** DEPENDENCIES: NONE -** -** USE: Included from util.hh -*/ - -// Forward declare active iterator for UTL_List -template class UTL_ListActiveIterator; - -template -class UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_List(T *c, L *l); - virtual ~UTL_List() {} - - // Smash last cdr pointer in "this" with l - void nconc(L *l); - - // Copy the list starting at "this" - L *copy(); - - // Get list element - T *head(); - - // Get next list - L *tail(); - - // Set the list element - void set_head(T *t); - - // Set next list - void set_tail(L *l); - - // How long is this list? - long length(); - -private: - // Data - T *pd_car_data; // The next list - L *pd_cdr_data; // The next list - - // Operations - long list_length(long n); // How long is it? - - // Friend class - friend class UTL_ListActiveIterator; // Friend class - -}; - -// Active iterator for lists -template -class UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_ListActiveIterator(UTL_List *s); - virtual ~UTL_ListActiveIterator() {} - - // Get current item - T *item(); - - // Get next list - virtual void next(); - - // Are we at the end of this list? - virtual long is_done(); - -protected: - // Data - UTL_List *source; // On what to iterate? -}; - -#endif // _UTL_LIST_UTL_LIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h deleted file mode 100644 index bd79687f222..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h +++ /dev/null @@ -1,103 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_NAMELIST_UTL_NAMELIST_HH -#define _UTL_NAMELIST_UTL_NAMELIST_HH - -// utl_namelist.hh -// -// List of UTL_ScopedName nodes - -/* -** DEPENDENCIES: utl_list.hh, utl_scoped_name.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_idlist.h" -#include "utl_scoped_name.h" -#include "utl_identifier.h" -#include "utl_string.h" - -class UTL_NameList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_NameList(UTL_ScopedName *s, UTL_NameList *cdr); - virtual ~UTL_NameList() {} -}; - -// Active iterator for UTL_NameList -class UTL_NamelistActiveIterator : - public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_NamelistActiveIterator(UTL_NameList *source); - virtual ~UTL_NamelistActiveIterator() {} -}; - -#endif // _UTL_NAMELIST_UTL_NAMELIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h deleted file mode 100644 index 2bdfe06b847..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h +++ /dev/null @@ -1,109 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_STRLIST_UTL_STRLIST_HH -#define _UTL_STRLIST_UTL_STRLIST_HH - -// utl_strlist.hh -// -// List of String nodes - -/* -** DEPENDENCIES: utl_list.hh, utl_string.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_string.h" - - -class UTL_StrList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_StrList(String *s, UTL_StrList *cdr); - virtual ~UTL_StrList() {} - - // AST Dumping - virtual void dump(ostream &o); - - // Other Operations - - // Get last element in this list - String *last_component(); -}; - -// Active iterator for UTL_StrList -class UTL_StrlistActiveIterator : - public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_StrlistActiveIterator(UTL_StrList *s); - virtual ~UTL_StrlistActiveIterator() {} -}; - -#endif // _UTL_STRLIST_UTL_STRLIST_HH diff --git a/TAO/TAO_IDL/narrow/Makefile.am b/TAO/TAO_IDL/narrow/Makefile.am deleted file mode 100644 index 160565df988..00000000000 --- a/TAO/TAO_IDL/narrow/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Makefile.am for the TAO IDL compiler --- 'narrow' sub-directory -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) \ - -I$(top_srcdir)/TAO_IDL/include - -noinst_LIBRARIES = libnarrow.a - -libnarrow_a_SOURCES = \ - narrow.cpp - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/TAO_IDL/narrow/narrow.cpp b/TAO/TAO_IDL/narrow/narrow.cpp deleted file mode 100644 index cbcdb978305..00000000000 --- a/TAO/TAO_IDL/narrow/narrow.cpp +++ /dev/null @@ -1,141 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(narrow, narrow, "$Id$") - -// Narrowing functions for AST - -/* - * Convert a UTL_Scope node into an AST_Decl node if possible - */ -AST_Decl * -ScopeAsDecl(UTL_Scope *s) -{ - if (s == NULL) return NULL; - - switch (s->scope_node_type()) { - case AST_Decl::NT_module: - return AST_Module::narrow_from_scope(s); - case AST_Decl::NT_root: - return AST_Root::narrow_from_scope(s); - case AST_Decl::NT_interface: - return AST_Interface::narrow_from_scope(s); - case AST_Decl::NT_op: - return AST_Operation::narrow_from_scope(s); - case AST_Decl::NT_except: - return AST_Exception::narrow_from_scope(s); - case AST_Decl::NT_union: - return AST_Union::narrow_from_scope(s); - case AST_Decl::NT_struct: - return AST_Structure::narrow_from_scope(s); - case AST_Decl::NT_enum: - return AST_Enum::narrow_from_scope(s); - default: - return NULL; - } -} - -/* - * Convert an AST_Decl to a UTL_Scope if possible - */ -UTL_Scope * -DeclAsScope(AST_Decl *d) -{ - if (d == NULL) return NULL; - - switch (d->node_type()) { - case AST_Decl::NT_interface_fwd: - /* - * Resolve forward declared interface by looking at full_definition() - * field and iterating - */ - d = (AST_InterfaceFwd::narrow_from_decl(d))->full_definition(); - /* - * Fall through - */ - case AST_Decl::NT_interface: - return AST_Interface::narrow_from_decl(d); - case AST_Decl::NT_module: - return AST_Module::narrow_from_decl(d); - case AST_Decl::NT_root: - return AST_Root::narrow_from_decl(d); - case AST_Decl::NT_except: - return AST_Exception::narrow_from_decl(d); - case AST_Decl::NT_union: - return AST_Union::narrow_from_decl(d); - case AST_Decl::NT_struct: - return AST_Structure::narrow_from_decl(d); - case AST_Decl::NT_enum: - return AST_Enum::narrow_from_decl(d); - case AST_Decl::NT_op: - return AST_Operation::narrow_from_decl(d); - default: - return NULL; - } -} diff --git a/TAO/TAO_IDL/tao_idl.cpp b/TAO/TAO_IDL/tao_idl.cpp deleted file mode 100644 index 2a5cf46cada..00000000000 --- a/TAO/TAO_IDL/tao_idl.cpp +++ /dev/null @@ -1,258 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* -** drv_main.cc - Main program for IDL compiler driver -** -** LOGIC: -** -** 1. Initialize compiler driver -** 2. Parse command line args -** 3. If more than one file to parse, fork -** 4. Otherwise, for the single file, invoke DRV_drive -*/ - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -ACE_RCSID(TAO_IDL, tao_idl, "$Id$") - -#define IDL_CFE_VERSION "1.3.0" - -static void -DRV_version() -{ - cerr << idl_global->prog_name() << endl - << GTDEVEL("FE: Based on Sun IDL CFE version ") - << IDL_CFE_VERSION - << "\n"; - (*DRV_BE_version)(); -} - -/* -** Drive the compilation -** -** LOGIC: -** -** 1. Initialize the CFE, stage 1. This builds the scope stack -** 2. Initialize the BE. This builds an instance of the generator -** 3. Initialize the CFE, stage 2. This builds the global scope -** and populates it with the predefined types -** 4. Invoke FE_yyparse -** 5. Check for errors from FE_yyparse. If any, exit now -** 6. Check for undefined forward declared interfaces. If any, exit now -** 7. Check if asked to dump AST. If so, do. -** 8. Invoke BE. -*/ -void -DRV_drive(const char *s) -{ - // set the name of the IDL file we are parsing. This is useful to - // the backend when it generates C++ headers and files - idl_global->idl_src_file(new UTL_String(s)); - /* - * Pass through CPP - */ - if (idl_global->compile_flags() & IDL_CF_INFORMATIVE) - cerr << idl_global->prog_name() - << GTDEVEL(": preprocessing ") - << s - << "\n"; - DRV_pre_proc(s); - /* - * Initialize FE stage 1 - */ - (*DRV_FE_init_stage1)(); - /* - * Initialize BE - */ - idl_global->set_gen((*DRV_BE_init)()); - /* - * Initialize FE stage 2 - */ - (*DRV_FE_init_stage2)(); - /* - * Parse - */ - if (idl_global->compile_flags() & IDL_CF_INFORMATIVE) - cerr << idl_global->prog_name() - << GTDEVEL(": parsing ") - << s - << "\n"; - (*DRV_FE_yyparse)(); - /* - * If there were any errors, stop - */ - if (idl_global->err_count() > 0) { - cerr << idl_global->prog_name() - << ": " - << s - << GTDEVEL(": found "); - cerr << idl_global->err_count() - << GTDEVEL(" error"); - cerr << (idl_global->err_count() > 1 - ? GTDEVEL("s") : "") - << "\n"; - /* - * Call BE_abort to allow a BE to clean up after itself - */ - (*DRV_BE_abort)(); - ACE_OS::exit (ACE_static_cast (int, idl_global->err_count())); - } - /* - * Dump the code - */ - if ((idl_global->compile_flags() & IDL_CF_INFORMATIVE) - && (idl_global->compile_flags() & IDL_CF_DUMP_AST)) - cerr << idl_global->prog_name() - << GTDEVEL(": dump ") - << s - << "\n"; - if (idl_global->compile_flags() & IDL_CF_DUMP_AST) { - cerr << GTDEVEL("Dump of AST:\n"); - idl_global->root()->dump(cerr); - } - /* - * Call the main entry point for the BE - */ - if (idl_global->compile_flags() & IDL_CF_INFORMATIVE) - cerr << idl_global->prog_name() - << GTDEVEL(": BE processing on ") - << s - << "\n"; - (*DRV_BE_produce)(); - /* - * Exit cleanly - */ - ACE_OS::exit (0); -} - -/* - * IDL compiler main program. Logic as explained in comment at head - * of file. - */ -int -main(int argc, char **argv) -{ - /* - * Open front-end library - */ - DRV_FE_open(); - /* - * Initialize driver and global variables - */ - DRV_init(); - /* - * Open back-end library - */ - DRV_BE_open(); - /* - * Parse arguments - */ - DRV_parse_args(argc, argv); - /* - * If a version message is requested, print it and exit - */ - if (idl_global->compile_flags() & IDL_CF_VERSION) { - DRV_version(); - ACE_OS::exit (0); - } - /* - * If a usage message is requested, give it and exit - */ - if (idl_global->compile_flags() & IDL_CF_ONLY_USAGE) { - DRV_usage(); - ACE_OS::exit (0); - } - /* - * Fork off a process for each file to process. Fork only if - * there is more than one file to process - */ - if (DRV_nfiles > 1) { - /* - * DRV_fork never returns - */ - DRV_fork(); - } else { - /* - * Do the one file we have to parse - * - * Check if stdin and handle file name appropriately - */ - if (DRV_nfiles == 0) - { - DRV_files[0] = "standard input"; - } - DRV_file_index = 0; - DRV_drive(DRV_files[DRV_file_index]); - } - ACE_OS::exit (0); - /* NOTREACHED */ - return 0; -} diff --git a/TAO/TAO_IDL/tao_idl.dsp b/TAO/TAO_IDL/tao_idl.dsp deleted file mode 100644 index ab2a11ca875..00000000000 --- a/TAO/TAO_IDL/tao_idl.dsp +++ /dev/null @@ -1,1147 +0,0 @@ -# Microsoft Developer Studio Project File - Name="TAO_IDL Compiler" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 -# TARGTYPE "Win32 (ALPHA) Console Application" 0x0603 - -CFG=TAO_IDL Compiler - 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 "tao_idl.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 "tao_idl.mak" CFG="TAO_IDL Compiler - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "TAO_IDL Compiler - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "TAO_IDL Compiler - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "TAO_IDL Compiler - Win32 Alpha Debug" (based on "Win32 (ALPHA) Console Application") -!MESSAGE "TAO_IDL Compiler - Win32 Alpha Release" (based on "Win32 (ALPHA) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "TAO_IDL Compiler - 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 "Release" -# PROP Intermediate_Dir "DLL\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "include" /I "be_include" /I "../../" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FD /D CPP_LOCATION="\"C:\\Program Files\\DevStudio\\VC\\bin\\CL.EXE\"" /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib /nologo /subsystem:console /debug /machine:I386 /out:"..\..\bin\Release\tao_idl.exe" /libpath:"../../ace" -# SUBTRACT LINK32 /map - -!ELSEIF "$(CFG)" == "TAO_IDL Compiler - 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 "DLL\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /Gy /I "include" /I "be_include" /I "../../" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FD /D CPP_LOCATION="\"C:\\Program Files\\DevStudio\\VC\\bin\\CL.EXE\"" /c -RSC=rc.exe -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib /nologo /subsystem:console /debug /machine:I386 /out:"..\..\bin\tao_idl.exe" /pdbtype:sept /libpath:"..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "TAO_IDL Compiler - Win32 Alpha Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "TAO_IDL_" -# PROP BASE Intermediate_Dir "TAO_IDL_" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "include" /I "be_include" /I "../../" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D IDL_CFE_VERSION=\"1.3.0\" /YX /FD /D CPP_LOCATION="\"C:\\Program Files\\DevStudio\\VC\\bin\\CL.EXE\"" /c -# ADD CPP /nologo /MDd /Gt0 /W3 /GX /Zi /Od /I "include" /I "be_include" /I "../../" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /D CPP_LOCATION="\"C:\\Program Files\\DevStudio\\VC\\bin\\CL.EXE\"" /c -RSC=rc.exe -# 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 aced.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /pdbtype:sept /libpath:"..\..\ace" -# SUBTRACT BASE LINK32 /pdb:none -# ADD LINK32 aced.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /out:"..\..\bin\tao_idl.exe" /pdbtype:sept /libpath:"..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "TAO_IDL Compiler - Win32 Alpha Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "TAO_IDL0" -# PROP BASE Intermediate_Dir "TAO_IDL0" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /O2 /I "include" /I "be_include" /I "../../" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D IDL_CFE_VERSION=\"1.3.0\" /FD /D CPP_LOCATION="\"C:\\Program Files\\DevStudio\\VC\\bin\\CL.EXE\"" /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MD /Gt0 /W3 /GX /O2 /I "include" /I "be_include" /I "../../" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /D CPP_LOCATION="\"C:\\Program Files\\DevStudio\\VC\\bin\\CL.EXE\"" /c -RSC=rc.exe -# 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 ace.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /libpath:"../../ace" -# SUBTRACT BASE LINK32 /map -# ADD LINK32 ace.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /out:"..\..\bin\Release\tao_idl.exe" /libpath:"../../ace" -# SUBTRACT LINK32 /map - -!ENDIF - -# Begin Target - -# Name "TAO_IDL Compiler - Win32 Release" -# Name "TAO_IDL Compiler - Win32 Debug" -# Name "TAO_IDL Compiler - Win32 Alpha Debug" -# Name "TAO_IDL Compiler - Win32 Alpha Release" -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\ast\ast_argument.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_array.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_attribute.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_check.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_concrete_type.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_constant.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_decl.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_enum.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_enum_val.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_exception.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_expression.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_field.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_generator.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_interface.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_interface_fwd.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_module.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_native.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_operation.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_predefined_type.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_recursive.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_redef.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_root.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_sequence.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_string.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_structure.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_type.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_typedef.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_union.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_union_branch.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_union_label.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_args.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_argument.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_array.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_attribute.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_codegen.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_constant.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_decl.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_enum.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_enum_val.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_exception.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_expression.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_field.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_generator.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_helper.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_init.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_interface.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_interface_fwd.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_module.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_native.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_operation.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_predefined_type.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_produce.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_root.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_scope.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_sequence.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_stream_factory.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_string.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_structure.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_sunsoft.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_type.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_typedef.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_union.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_union_branch.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_union_label.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_valuetype.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_valuetype_fwd.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_argument.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_array.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_attribute.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_constant.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_context.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_decl.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_enum.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_exception.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_factory.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_field.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_interface.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_interface_fwd.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_module.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_operation.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_root.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_scope.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_sequence.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_structure.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_typecode.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_typedef.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_union.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_union_branch.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_valuetype.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_valuetype_fwd.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_args.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_fork.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_init.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_link.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_preproc.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_private.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_declarator.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_extern.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_init.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_interface_header.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_lookup.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_private.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\lex.yy.cpp -# End Source File -# Begin Source File - -SOURCE=.\narrow\narrow.cpp -# End Source File -# Begin Source File - -SOURCE=.\tao_idl.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_decllist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_error.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_exceptlist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_exprlist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_global.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_identifier.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_idlist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_indenter.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_labellist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_list.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_namelist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_scope.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_stack.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_string.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_strlist.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\y.tab.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\include\ast.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_argument.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_array.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_attribute.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_concrete_type.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_constant.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_decl.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_enum.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_enum_val.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_exception.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_expression.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_field.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_generator.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_interface.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_interface_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_module.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_native.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_operation.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_predefined_type.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_root.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_sequence.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_string.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_structure.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_type.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_typedef.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_union.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_union_branch.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_union_label.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_argument.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_array.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_attribute.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_codegen.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_constant.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_decl.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_enum.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_enum_val.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_exception.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_expression.h -# End Source File -# Begin Source File - -SOURCE=.\include\be_extern.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_field.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_generator.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_helper.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_interface.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_interface_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_module.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_native.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_operation.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_predefined_type.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_root.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_scope.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_sequence.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_state.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_stream_factory.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_string.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_structure.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_sunsoft.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_type.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_typedef.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_union.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_union_branch.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_union_label.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_valuetype.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_valuetype_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_argument.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_array.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_attribute.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_constant.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_context.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_decl.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_enum.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_exception.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_factory.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_field.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_interface.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_interface_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_module.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_operation.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_root.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_scope.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_sequence.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_structure.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_typecode.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_typedef.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_union.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_union_branch.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_valuetype.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_valuetype_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\include\drv_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\drv_link.h -# End Source File -# Begin Source File - -SOURCE=.\include\drv_private.h -# End Source File -# Begin Source File - -SOURCE=.\include\fe_declarator.h -# End Source File -# Begin Source File - -SOURCE=.\include\fe_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\fe_interface_header.h -# End Source File -# Begin Source File - -SOURCE=.\include\fe_private.h -# End Source File -# Begin Source File - -SOURCE=.\include\global_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_bool.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_defines.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_global.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_narrow.h -# End Source File -# Begin Source File - -SOURCE=.\include\intlmacros.h -# End Source File -# Begin Source File - -SOURCE=.\include\nr_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\util.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_decllist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_error.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_exceptlist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_exprlist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_identifier.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_idlist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_indenter.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_labellist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_list.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_namelist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_scope.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_scoped_name.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_stack.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_string.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_strlist.h -# End Source File -# Begin Source File - -SOURCE=.\fe\y.tab.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/TAO_IDL/tao_idl.dsw b/TAO/TAO_IDL/tao_idl.dsw deleted file mode 100644 index 5600a5f78c4..00000000000 --- a/TAO/TAO_IDL/tao_idl.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "TAO_IDL Compiler"=.\tao_idl.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TAO_IDL Compiler Static"=.\tao_idl_static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/TAO_IDL/tao_idl_static.dsp b/TAO/TAO_IDL/tao_idl_static.dsp deleted file mode 100644 index 0afcd217a9d..00000000000 --- a/TAO/TAO_IDL/tao_idl_static.dsp +++ /dev/null @@ -1,1081 +0,0 @@ -# Microsoft Developer Studio Project File - Name="TAO_IDL Compiler Static" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=TAO_IDL Compiler Static - 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 "tao_idl_static.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 "tao_idl_static.mak" CFG="TAO_IDL Compiler Static - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "TAO_IDL Compiler Static - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "TAO_IDL Compiler Static - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "TAO_IDL Compiler Static - 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 "Release" -# PROP Intermediate_Dir "LIB\Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "include" /I "be_include" /I "../../" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D ACE_HAS_DLL=0 /D "ACE_NO_INLINE" /FD /D CPP_LOCATION="\"C:\\Program Files\\DevStudio\\VC\\bin\\CL.EXE\"" /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 aces.lib advapi32.lib user32.lib /nologo /subsystem:console /debug /machine:I386 /out:"..\..\bin\Release\tao_idl_static.exe" /libpath:"../../ace" -# SUBTRACT LINK32 /map - -!ELSEIF "$(CFG)" == "TAO_IDL Compiler Static - 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 "LIB\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "include" /I "be_include" /I "../../" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D ACE_HAS_DLL=0 /D "ACE_NO_INLINE" /FD /D CPP_LOCATION="\"C:\\Program Files\\DevStudio\\VC\\bin\\CL.EXE\"" /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 acesd.lib advapi32.lib user32.lib /nologo /subsystem:console /debug /machine:I386 /out:"..\..\bin\tao_idl_static.exe" /pdbtype:sept /libpath:"..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "TAO_IDL Compiler Static - Win32 Release" -# Name "TAO_IDL Compiler Static - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\ast\ast_argument.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_array.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_attribute.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_check.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_concrete_type.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_constant.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_decl.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_enum.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_enum_val.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_exception.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_expression.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_field.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_generator.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_interface.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_interface_fwd.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_module.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_native.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_operation.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_predefined_type.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_recursive.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_redef.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_root.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_sequence.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_string.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_structure.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_type.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_typedef.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_union.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_union_branch.cpp -# End Source File -# Begin Source File - -SOURCE=.\ast\ast_union_label.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_args.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_argument.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_array.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_attribute.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_codegen.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_constant.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_decl.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_enum.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_enum_val.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_exception.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_expression.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_field.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_generator.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_helper.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_init.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_interface.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_interface_fwd.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_module.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_native.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_operation.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_predefined_type.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_produce.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_root.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_scope.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_sequence.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_stream_factory.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_string.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_structure.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_sunsoft.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_type.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_typedef.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_union.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_union_branch.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_union_label.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_valuetype.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_valuetype_fwd.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_argument.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_array.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_attribute.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_constant.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_context.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_decl.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_enum.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_exception.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_factory.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_field.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_interface.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_interface_fwd.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_module.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_operation.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_root.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_scope.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_sequence.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_structure.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_typecode.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_typedef.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_union.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_union_branch.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_valuetype.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_valuetype_fwd.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_args.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_fork.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_init.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_link.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_preproc.cpp -# End Source File -# Begin Source File - -SOURCE=.\driver\drv_private.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_declarator.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_extern.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_init.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_interface_header.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_lookup.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\fe_private.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\lex.yy.cpp -# End Source File -# Begin Source File - -SOURCE=.\narrow\narrow.cpp -# End Source File -# Begin Source File - -SOURCE=.\tao_idl.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_decllist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_error.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_exceptlist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_exprlist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_global.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_identifier.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_idlist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_indenter.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_labellist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_list.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_namelist.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_scope.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_stack.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_string.cpp -# End Source File -# Begin Source File - -SOURCE=.\util\utl_strlist.cpp -# End Source File -# Begin Source File - -SOURCE=.\fe\y.tab.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\include\ast.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_argument.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_array.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_attribute.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_concrete_type.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_constant.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_decl.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_enum.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_enum_val.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_exception.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_expression.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_field.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_generator.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_interface.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_interface_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_module.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_native.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_operation.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_predefined_type.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_root.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_sequence.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_string.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_structure.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_type.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_typedef.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_union.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_union_branch.h -# End Source File -# Begin Source File - -SOURCE=.\include\ast_union_label.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_argument.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_array.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_attribute.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_codegen.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_constant.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_decl.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_enum.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_enum_val.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_exception.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_expression.h -# End Source File -# Begin Source File - -SOURCE=.\include\be_extern.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_field.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_generator.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_helper.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_interface.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_interface_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_module.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_native.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_operation.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_predefined_type.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_root.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_scope.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_sequence.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_state.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_stream_factory.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_string.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_structure.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_sunsoft.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_type.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_typedef.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_union.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_union_branch.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_union_label.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_valuetype.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_valuetype_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_argument.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_array.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_attribute.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_constant.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_context.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_decl.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_enum.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_exception.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_factory.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_field.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_interface.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_interface_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_module.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_operation.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_root.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_scope.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_sequence.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_structure.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_typecode.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_typedef.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_union.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_union_branch.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_valuetype.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_valuetype_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\include\drv_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\drv_link.h -# End Source File -# Begin Source File - -SOURCE=.\include\drv_private.h -# End Source File -# Begin Source File - -SOURCE=.\include\fe_declarator.h -# End Source File -# Begin Source File - -SOURCE=.\include\fe_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\fe_interface_header.h -# End Source File -# Begin Source File - -SOURCE=.\include\fe_private.h -# End Source File -# Begin Source File - -SOURCE=.\include\global_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_bool.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_defines.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_fwd.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_global.h -# End Source File -# Begin Source File - -SOURCE=.\include\idl_narrow.h -# End Source File -# Begin Source File - -SOURCE=.\include\intlmacros.h -# End Source File -# Begin Source File - -SOURCE=.\include\nr_extern.h -# End Source File -# Begin Source File - -SOURCE=.\include\util.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_decllist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_error.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_exceptlist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_exprlist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_identifier.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_idlist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_indenter.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_labellist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_list.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_namelist.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_scope.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_scoped_name.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_stack.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_string.h -# End Source File -# Begin Source File - -SOURCE=.\include\utl_strlist.h -# End Source File -# Begin Source File - -SOURCE=.\fe\y.tab.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/TAO_IDL/util/Makefile.am b/TAO/TAO_IDL/util/Makefile.am deleted file mode 100644 index 94e553b4c06..00000000000 --- a/TAO/TAO_IDL/util/Makefile.am +++ /dev/null @@ -1,44 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Makefile.am for the TAO IDL compiler --- 'util' sub-directory -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -## SUBDIRS = utl_tmpl - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) \ - -I$(top_srcdir)/TAO_IDL/include - -noinst_LIBRARIES = libutil.a - -libutil_a_SOURCES = \ - utl_decllist.cpp \ - utl_error.cpp \ - utl_exceptlist.cpp \ - utl_exprlist.cpp \ - utl_global.cpp \ - utl_identifier.cpp \ - utl_idlist.cpp \ - utl_indenter.cpp \ - utl_labellist.cpp \ - utl_list.cpp \ - utl_namelist.cpp \ - utl_scope.cpp \ - utl_stack.cpp \ - utl_string.cpp \ - utl_strlist.cpp - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/TAO_IDL/util/utl_decllist.cpp b/TAO/TAO_IDL/util/utl_decllist.cpp deleted file mode 100644 index 2a810a6e5f8..00000000000 --- a/TAO/TAO_IDL/util/utl_decllist.cpp +++ /dev/null @@ -1,149 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_decllist.cc -// -// Implementation of a list of declarators - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_decllist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_DeclList::UTL_DeclList(FE_Declarator *s, UTL_DeclList *cdr) - : UTL_List(cdr), - pd_car_data(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -FE_Declarator * -UTL_DeclList::head() -{ - return pd_car_data; -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_DeclList active iterator - -/* - * Constructor - */ - -UTL_DecllistActiveIterator::UTL_DecllistActiveIterator(UTL_DeclList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -FE_Declarator * -UTL_DecllistActiveIterator::item() -{ - if (source == NULL) - return NULL; - - return ((UTL_DeclList *) source)->head(); -} - -/* - * Redefined inherited operations - */ - diff --git a/TAO/TAO_IDL/util/utl_err.cpp b/TAO/TAO_IDL/util/utl_err.cpp deleted file mode 100644 index 1d5b1e6b1d0..00000000000 --- a/TAO/TAO_IDL/util/utl_err.cpp +++ /dev/null @@ -1,729 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_error.cc - Implementation of error reporting object for IDL -// compiler program - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_error, "$Id$") - -/* - * Helper functions to do: - * - * - Convert an error code to an error string - * - Print out an error message header - * - Convert an ExprType to a string - */ - -// Convert an error code into a const char * -static const char * -error_string(UTL_Error::ErrorCode c) -{ - switch (c) { - case UTL_Error::EIDL_OK: - return GTDEVEL("all is fine "); - case UTL_Error::EIDL_SYNTAX_ERROR: - return ""; - case UTL_Error::EIDL_REDEF: - return GTDEVEL("illegal redefinition "); - case UTL_Error::EIDL_DEF_USE: - return GTDEVEL("redefinition after use, "); - case UTL_Error::EIDL_MULTIPLE_BRANCH: - return GTDEVEL("union with duplicate branch label "); - case UTL_Error::EIDL_COERCION_FAILURE: - return GTDEVEL("coercion failure "); - case UTL_Error::EIDL_SCOPE_CONFLICT: - return GTDEVEL("definition scope is different than fwd declare scope, "); - case UTL_Error::EIDL_ONEWAY_CONFLICT: - return GTDEVEL("oneway operation with OUT or INOUT parameters, "); - case UTL_Error::EIDL_DISC_TYPE: - return GTDEVEL("union with illegal discriminator type, "); - case UTL_Error::EIDL_LABEL_TYPE: - return GTDEVEL("label type incompatible with union discriminator type, "); - case UTL_Error::EIDL_ILLEGAL_ADD: - return GTDEVEL("illegal add operation, "); - case UTL_Error::EIDL_ILLEGAL_USE: - return GTDEVEL("illegal type used in expression, "); - case UTL_Error::EIDL_ILLEGAL_RAISES: - return GTDEVEL("error in or illegal use of raises(..) clause, "); - case UTL_Error::EIDL_ILLEGAL_CONTEXT: - return GTDEVEL("error in context(..) clause, "); - case UTL_Error::EIDL_CANT_INHERIT: - return GTDEVEL(""); - case UTL_Error::EIDL_LOOKUP_ERROR: - return GTDEVEL("error in lookup of symbol: "); - case UTL_Error::EIDL_INHERIT_FWD_ERROR: - /* More intelligible message printed by error routine */ - return ""; - case UTL_Error::EIDL_CONSTANT_EXPECTED: - return GTDEVEL("constant expected: "); - case UTL_Error::EIDL_EVAL_ERROR: - return GTDEVEL("expression evaluation error: "); - case UTL_Error::EIDL_NAME_CASE_ERROR: - return GTDEVEL("identifier spellings differ only in case: "); - case UTL_Error::EIDL_NAME_CASE_WARNING: - return GTDEVEL("Warning - identifier spellings differ only in case: "); - case UTL_Error::EIDL_ENUM_VAL_EXPECTED: - return GTDEVEL("enumerator expected: "); - case UTL_Error::EIDL_ENUM_VAL_NOT_FOUND: - return GTDEVEL("enumerator by this name not defined: "); - case UTL_Error::EIDL_AMBIGUOUS: - return GTDEVEL("ambiguous definition: "); - case UTL_Error::EIDL_DECL_NOT_DEFINED: - return GTDEVEL("forward declared but never defined: "); - case UTL_Error::EIDL_FWD_DECL_LOOKUP: - /* More intelligible message printed by error routine */ - return ""; - case UTL_Error::EIDL_RECURSIVE_TYPE: - return GTDEVEL("illegal recursive use of type: "); - case UTL_Error::EIDL_NONVOID_ONEWAY: - return GTDEVEL("non-void return type in oneway operation: "); - case UTL_Error::EIDL_REDEF_SCOPE: - return GTDEVEL("redefinition inside defining scope: "); - case UTL_Error::EIDL_NOT_A_TYPE: - return GTDEVEL("specified symbol is not a type: "); - case UTL_Error::EIDL_BACK_END: - return GTDEVEL("back end: "); - } - return NULL; -} - -// Print out an error message header on cerr -static void -idl_error_header(UTL_Error::ErrorCode c, long lineno, UTL_String *s) -{ - cerr << idl_global->prog_name() - << ": \"" - << (idl_global->read_from_stdin() ? "standard input" : s->get_string()) - << GTDEVEL("\", line ") - << ((lineno == -1) ? idl_global->lineno() : lineno) - << ": " - << error_string(c); -} - -// Convert the type of an AST_Expression to a char * -static const char * -exprtype_to_string(AST_Expression::ExprType t) -{ - switch (t) { - case AST_Expression::EV_short: - return "short"; - case AST_Expression::EV_ushort: - return "unsigned short"; - case AST_Expression::EV_long: - return "long"; - case AST_Expression::EV_ulong: - return "unsigned long"; - case AST_Expression::EV_float: - return "float"; - case AST_Expression::EV_double: - return "double"; - case AST_Expression::EV_char: - return "char"; - case AST_Expression::EV_octet: - return "octet"; - case AST_Expression::EV_bool: - return "boolean"; - case AST_Expression::EV_string: - return "string"; - case AST_Expression::EV_any: - return "any"; - case AST_Expression::EV_void: - return "void"; - case AST_Expression::EV_none: - return "none"; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - return NULL; - } - return NULL; -} - -/* - * Convert a parse state into a possible error message - */ -static const char * -parse_state_to_error_message(IDL_GlobalData::ParseState ps) -{ - switch (ps) { - case IDL_GlobalData::PS_NoState: - return GTDEVEL("Statement can not be parsed"); - case IDL_GlobalData::PS_TypeDeclSeen: - return GTDEVEL("Malformed typedef declaration"); - case IDL_GlobalData::PS_ConstDeclSeen: - return GTDEVEL("Malformed const declaration"); - case IDL_GlobalData::PS_ExceptDeclSeen: - return - GTDEVEL("Malformed exception declaration"); - case IDL_GlobalData::PS_InterfaceDeclSeen: - return - GTDEVEL("Malformed interface declaration"); - case IDL_GlobalData::PS_ModuleDeclSeen: - return GTDEVEL("Malformed module declaration"); - case IDL_GlobalData::PS_AttrDeclSeen: - return - GTDEVEL("Malformed attribute declaration"); - case IDL_GlobalData::PS_OpDeclSeen: - return - GTDEVEL("Malformed operation declaration"); - case IDL_GlobalData::PS_ModuleSeen: - return GTDEVEL("Missing module identifier following MODULE keyword"); - case IDL_GlobalData::PS_ModuleIDSeen: - return GTDEVEL("Missing '{' or illegal syntax following module identifier"); - case IDL_GlobalData::PS_ModuleSqSeen: - return GTDEVEL("Illegal syntax following module '{' opener"); - case IDL_GlobalData::PS_ModuleQsSeen: - return GTDEVEL("Illegal syntax following module '}' closer"); - case IDL_GlobalData::PS_ModuleBodySeen: - return GTDEVEL("Illegal syntax following module body statement(s)"); - case IDL_GlobalData::PS_InterfaceSeen: - return GTDEVEL("Missing interface identifier following INTERFACE keyword"); - case IDL_GlobalData::PS_InterfaceIDSeen: - return GTDEVEL("Illegal syntax following interface identifier"); - case IDL_GlobalData::PS_InheritSpecSeen: - return GTDEVEL("Missing '{' or illegal syntax following inheritance spec"); - case IDL_GlobalData::PS_ForwardDeclSeen: - return GTDEVEL("Missing ';' following forward interface declaration"); - case IDL_GlobalData::PS_InterfaceSqSeen: - return GTDEVEL("Illegal syntax following interface '{' opener"); - case IDL_GlobalData::PS_InterfaceQsSeen: - return GTDEVEL("Illegal syntax following interface '}' closer"); - case IDL_GlobalData::PS_InterfaceBodySeen: - return GTDEVEL("Illegal syntax following interface body statement(s)"); - case IDL_GlobalData::PS_InheritColonSeen: - return GTDEVEL("Illegal syntax following ':' starting inheritance list"); - case IDL_GlobalData::PS_SNListCommaSeen: - return GTDEVEL("Found illegal scoped name in scoped name list"); - case IDL_GlobalData::PS_ScopedNameSeen: - return GTDEVEL("Missing ',' following scoped name in scoped name list"); - case IDL_GlobalData::PS_SN_IDSeen: - return GTDEVEL("Illegal component in scoped name"); - case IDL_GlobalData::PS_ScopeDelimSeen: - return GTDEVEL("Illegal component in scoped name following '::'"); - case IDL_GlobalData::PS_ConstSeen: - return GTDEVEL("Missing type or illegal syntax following CONST keyword"); - case IDL_GlobalData::PS_ConstTypeSeen: - return GTDEVEL("Missing identifier or illegal syntax following const type"); - case IDL_GlobalData::PS_ConstIDSeen: - return GTDEVEL("Missing '=' or illegal syntax after const identifier"); - case IDL_GlobalData::PS_ConstAssignSeen: - return GTDEVEL("Missing value expr or illegal syntax following '='"); - case IDL_GlobalData::PS_ConstExprSeen: - return GTDEVEL("Missing ';' or illegal syntax following value expr in const"); - case IDL_GlobalData::PS_TypedefSeen: - return GTDEVEL("Missing type or illegal syntax following TYPEDEF keyword"); - case IDL_GlobalData::PS_TypeSpecSeen: - return GTDEVEL("Missing declarators or illegal syntax following type spec"); - case IDL_GlobalData::PS_DeclaratorsSeen: - return GTDEVEL("Illegal syntax following declarators in TYPEDEF declaration"); - case IDL_GlobalData::PS_StructSeen: - return GTDEVEL("Missing struct identifier following STRUCT keyword"); - case IDL_GlobalData::PS_StructIDSeen: - return GTDEVEL("Missing '{' or illegal syntax following struct identifier"); - case IDL_GlobalData::PS_StructSqSeen: - return GTDEVEL("Illegal syntax following struct '{' opener"); - case IDL_GlobalData::PS_StructQsSeen: - return GTDEVEL("Illegal syntax following struct '}' closer"); - case IDL_GlobalData::PS_StructBodySeen: - return GTDEVEL("Illegal syntax following struct body statement(s)"); - case IDL_GlobalData::PS_MemberTypeSeen: - return GTDEVEL("Illegal syntax of missing identifier following member type"); - case IDL_GlobalData::PS_MemberDeclsSeen: - return GTDEVEL("Illegal syntax following member declarator(s)"); - case IDL_GlobalData::PS_MemberDeclsCompleted: - return GTDEVEL("Missing ',' between member decls of same type(?)"); - case IDL_GlobalData::PS_UnionSeen: - return GTDEVEL("Missing identifier following UNION keyword"); - case IDL_GlobalData::PS_UnionIDSeen: - return GTDEVEL("Illegal syntax following union identifier"); - case IDL_GlobalData::PS_SwitchSeen: - return GTDEVEL("Illegal syntax following SWITCH keyword"); - case IDL_GlobalData::PS_SwitchOpenParSeen: - return GTDEVEL("Illegal syntax following '(' in switch in union"); - case IDL_GlobalData::PS_SwitchTypeSeen: - return GTDEVEL("Illegal syntax following type decl in switch in union"); - case IDL_GlobalData::PS_SwitchCloseParSeen: - return GTDEVEL("Missing union '{' opener"); - case IDL_GlobalData::PS_UnionSqSeen: - return GTDEVEL("Illegal syntax following union '{' opener"); - case IDL_GlobalData::PS_UnionQsSeen: - return GTDEVEL("Illegal syntax following union '}' closer"); - case IDL_GlobalData::PS_DefaultSeen: - return GTDEVEL("Illegal syntax or missing ':' following DEFAULT keyword"); - case IDL_GlobalData::PS_UnionLabelSeen: - return GTDEVEL("Illegal syntax following branch label in union"); - case IDL_GlobalData::PS_LabelColonSeen: - return GTDEVEL("Illegal syntax following ':' in branch label in union"); - case IDL_GlobalData::PS_LabelExprSeen: - return GTDEVEL("Illegal syntax following label expression in union"); - case IDL_GlobalData::PS_UnionElemSeen: - case IDL_GlobalData::PS_UnionElemCompleted: - return GTDEVEL("Illegal syntax following union element"); - case IDL_GlobalData::PS_CaseSeen: - return GTDEVEL("Illegal syntax following CASE keyword in union"); - case IDL_GlobalData::PS_UnionElemTypeSeen: - return GTDEVEL("Illegal syntax following type decl in union element"); - case IDL_GlobalData::PS_UnionElemDeclSeen: - return GTDEVEL("Illegal syntax following declarator in union element"); - case IDL_GlobalData::PS_UnionBodySeen: - return GTDEVEL("Illegal syntax following union body statement(s)"); - case IDL_GlobalData::PS_EnumSeen: - return GTDEVEL("Illegal syntax or missing identifier following ENUM keyword"); - case IDL_GlobalData::PS_EnumIDSeen: - return GTDEVEL("Illegal syntax or missing '{' following enum identifier"); - case IDL_GlobalData::PS_EnumSqSeen: - return GTDEVEL("Illegal syntax following enum '{' opener"); - case IDL_GlobalData::PS_EnumQsSeen: - return GTDEVEL("Illegal syntax following enum '}' closer"); - case IDL_GlobalData::PS_EnumBodySeen: - return GTDEVEL("Illegal syntax following enum body statement(s)"); - case IDL_GlobalData::PS_EnumCommaSeen: - return GTDEVEL("Illegal syntax or missing identifier following ',' in enum"); - case IDL_GlobalData::PS_SequenceSeen: - return GTDEVEL("Illegal syntax or missing '<' following SEQUENCE keyword"); - case IDL_GlobalData::PS_SequenceSqSeen: - return GTDEVEL("Illegal syntax or missing type following '<' in sequence"); - case IDL_GlobalData::PS_SequenceQsSeen: - return GTDEVEL("Illegal syntax following '>' in sequence"); - case IDL_GlobalData::PS_SequenceTypeSeen: - return GTDEVEL("Illegal syntax following sequence type declaration"); - case IDL_GlobalData::PS_SequenceCommaSeen: - return - GTDEVEL("Illegal syntax of missing size expr following ',' in sequence"); - case IDL_GlobalData::PS_SequenceExprSeen: - return - GTDEVEL("Illegal syntax or missing '>' following size expr in sequence"); - case IDL_GlobalData::PS_StringSeen: - return GTDEVEL("Illegal syntax or missing '<' following STRING keyword"); - case IDL_GlobalData::PS_StringSqSeen: - return GTDEVEL("Illegal syntax or missing size expr following '<' in string"); - case IDL_GlobalData::PS_StringQsSeen: - return GTDEVEL("Illegal syntax following '>' in string"); - case IDL_GlobalData::PS_StringExprSeen: - return GTDEVEL("Illegal syntax or missing '>' after size expr in string"); - case IDL_GlobalData::PS_StringCompleted: - return GTDEVEL("Illegal syntax after string declaration"); - case IDL_GlobalData::PS_ArrayIDSeen: - return GTDEVEL("Illegal syntax or missing dimensions after array identifier"); - case IDL_GlobalData::PS_ArrayCompleted: - return GTDEVEL("Illegal syntax after array declaration"); - case IDL_GlobalData::PS_DimSqSeen: - return - GTDEVEL("Illegal syntax or missing size expr after '[' in array declaration"); - case IDL_GlobalData::PS_DimQsSeen: - return GTDEVEL("Illegal syntax after ']' in array declaration"); - case IDL_GlobalData::PS_DimExprSeen: - return - GTDEVEL("Illegal syntax or missing ']' after size expr in array declaration"); - case IDL_GlobalData::PS_AttrROSeen: - return GTDEVEL("Illegal syntax after READONLY keyword"); - case IDL_GlobalData::PS_AttrSeen: - return GTDEVEL("Illegal syntax after ATTRIBUTE keyword"); - case IDL_GlobalData::PS_AttrTypeSeen: - return GTDEVEL("Illegal syntax after type in attribute declaration"); - case IDL_GlobalData::PS_AttrDeclsSeen: - return GTDEVEL("Illegal syntax after attribute declarators"); - case IDL_GlobalData::PS_AttrCompleted: - return GTDEVEL("Illegal syntax after attribute declaration"); - case IDL_GlobalData::PS_ExceptSeen: - return - GTDEVEL("Illegal syntax or missing identifier after EXCEPTION keyword"); - case IDL_GlobalData::PS_ExceptIDSeen: - return GTDEVEL("Illegal syntax or missing '{' after exception identifier"); - case IDL_GlobalData::PS_ExceptSqSeen: - return GTDEVEL("Illegal syntax after exception '{' opener"); - case IDL_GlobalData::PS_ExceptQsSeen: - return GTDEVEL("Illegal syntax after exception '}' closer"); - case IDL_GlobalData::PS_ExceptBodySeen: - return GTDEVEL("Illegal syntax after exception body statement(s)"); - case IDL_GlobalData::PS_OpAttrSeen: - return GTDEVEL("Illegal syntax or missing type after operation attribute"); - case IDL_GlobalData::PS_OpTypeSeen: - return GTDEVEL("Illegal syntax or missing identifier after operation type"); - case IDL_GlobalData::PS_OpIDSeen: - return GTDEVEL("Illegal syntax or missing '(' after operation identifier"); - case IDL_GlobalData::PS_OpParsCompleted: - return GTDEVEL("Illegal syntax after operation parameter list"); - case IDL_GlobalData::PS_OpRaiseCompleted: - return - GTDEVEL("Illegal syntax after optional RAISES in operation declaration"); - case IDL_GlobalData::PS_OpContextCompleted: - return - GTDEVEL("Illegal syntax after optional CONTEXT in operation declaration"); - case IDL_GlobalData::PS_OpCompleted: - return GTDEVEL("Illegal syntax after operation declaration"); - case IDL_GlobalData::PS_OpSqSeen: - return GTDEVEL("Illegal syntax after operation parameter list '(' opener"); - case IDL_GlobalData::PS_OpQsSeen: - return GTDEVEL("Illegal syntax after operation parameter list ')' closer"); - case IDL_GlobalData::PS_OpParCommaSeen: - return - GTDEVEL("Illegal syntax or missing direction in parameter declaration"); - case IDL_GlobalData::PS_OpParDirSeen: - return GTDEVEL("Illegal syntax or missing type in parameter declaration"); - case IDL_GlobalData::PS_OpParTypeSeen: - return - GTDEVEL("Illegal syntax or missing declarator in parameter declaration"); - case IDL_GlobalData::PS_OpParDeclSeen: - return GTDEVEL("Illegal syntax following parameter declarator"); - case IDL_GlobalData::PS_OpRaiseSeen: - return GTDEVEL("Illegal syntax or missing '(' after RAISES keyword"); - case IDL_GlobalData::PS_OpRaiseSqSeen: - return GTDEVEL("Illegal syntax after RAISES '(' opener"); - case IDL_GlobalData::PS_OpRaiseQsSeen: - return GTDEVEL("Illegal syntax after RAISES ')' closer"); - case IDL_GlobalData::PS_OpContextSeen: - return GTDEVEL("Illegal syntax or missing '(' after CONTEXT keyword"); - case IDL_GlobalData::PS_OpContextSqSeen: - return GTDEVEL("Illegal syntax after CONTEXT '(' opener"); - case IDL_GlobalData::PS_OpContextQsSeen: - return GTDEVEL("Illegal syntax after CONTEXT ')' closer"); - case IDL_GlobalData::PS_OpContextCommaSeen: - return - GTDEVEL("Illegal syntax after ',' in CONTEXT in operation declaration"); - case IDL_GlobalData::PS_DeclsCommaSeen: - return GTDEVEL("Illegal syntax after ',' in declarators list"); - case IDL_GlobalData::PS_DeclsDeclSeen: - return GTDEVEL("Illegal syntax after declarator in declarators list"); - - case IDL_GlobalData::PS_PragmaPrefixSyntax: - return GTDEVEL ("Illegal syntax for #pragma prefix"); - default: - return GTDEVEL("Some syntax error"); - } -} -/* - * Public methods - */ - -// Report error messages with various numbers of arguments - -void -UTL_Error::syntax_error(IDL_GlobalData::ParseState ps) -{ - idl_error_header(EIDL_SYNTAX_ERROR, - idl_global->lineno(), - idl_global->filename()); - cerr << parse_state_to_error_message(ps) << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error0(UTL_Error::ErrorCode c) -{ - idl_error_header(c, idl_global->lineno(), idl_global->filename()); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error1(UTL_Error::ErrorCode c, AST_Decl *d) -{ - idl_error_header(c, d->line(), d->file_name()); - d->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error2(UTL_Error::ErrorCode c, AST_Decl *d1, AST_Decl *d2) -{ - idl_error_header(c, d1->line(), d1->file_name()); - d1->name()->dump(cerr); cerr << ", "; - d2->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error3(UTL_Error::ErrorCode c, - AST_Decl *d1, - AST_Decl *d2, - AST_Decl *d3) -{ - idl_error_header(c, d1->line(), d1->file_name()); - d1->name()->dump(cerr); cerr << ", "; - d2->name()->dump(cerr); cerr << ", "; - d3->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a failed coercion attempt -void -UTL_Error::coercion_error(AST_Expression *v, AST_Expression::ExprType t) -{ - idl_error_header(EIDL_COERCION_FAILURE, v->line(), v->file_name()); - v->dump(cerr); - cerr << GTDEVEL(" to ") << exprtype_to_string(t) << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a failed name lookup attempt -void -UTL_Error::lookup_error(UTL_ScopedName *n) -{ - idl_error_header(EIDL_LOOKUP_ERROR, - idl_global->lineno(), - idl_global->filename()); - n->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an attempt to inherit from an interface which was only -// declared forward but not yet defined -void -UTL_Error::inheritance_fwd_error(UTL_ScopedName *n, AST_Interface *f) -{ - idl_error_header(EIDL_INHERIT_FWD_ERROR, f->line(), f->file_name()); - cerr << "interface "; - n->dump(cerr); - cerr << GTDEVEL(" cannot inherit from forward declared interface "); - f->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an attempt to inherit from something other than an interface -void -UTL_Error::inheritance_error(UTL_ScopedName *n, AST_Decl *d) -{ - idl_error_header(EIDL_CANT_INHERIT, idl_global->lineno(), idl_global->filename()); - /* cerr << " interface "; */ - n->dump(cerr); - cerr << GTDEVEL(" attempts to inherit from "); - d->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report inheritance from non-abstract valuetype -void -UTL_Error::abstract_inheritance_error (UTL_ScopedName *n) -{ - idl_error_header(EIDL_CANT_INHERIT, idl_global->lineno(), idl_global->filename()); - cerr << " abstract valuetype "; - n->dump(cerr); - cerr << GTDEVEL(" attempts to inherit from nonabstract type\n"); - idl_global->set_err_count(idl_global->err_count() + 1); -} - - -// Report an error while evaluating an expression -void -UTL_Error::eval_error(AST_Expression *v) -{ - idl_error_header(EIDL_EVAL_ERROR, v->line(), v->file_name()); - v->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where a constant was expected but we -// got something else. This may occur in a union when a label -// evaluates to a non-constant -void -UTL_Error::constant_expected(UTL_ScopedName *n, AST_Decl *d) -{ - idl_error_header(EIDL_CONSTANT_EXPECTED, d->line(), d->file_name()); - n->dump(cerr); - cerr << GTDEVEL(" bound to "); - d->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where an enumerator was expected but we -// got something else. This may occur in a union with an enum -// discriminator where a label did not evaluate to a constant -// enumerator -void -UTL_Error::enum_val_expected(AST_Union *u, AST_UnionLabel *l) -{ - idl_error_header(EIDL_ENUM_VAL_EXPECTED, u->line(), u->file_name()); - cerr << " union " << u->local_name()->get_string() << ", "; - l->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where an enumerator was received but we -// could not find it (by name) in an enum. This occurs when -// a union with an enum discriminator is being parsed, and a -// label evaluates to an enumerator which is not a member of -// the enum discriminator type -void -UTL_Error::enum_val_lookup_failure(AST_Union *u, - AST_Enum *e, - UTL_ScopedName *n) -{ - idl_error_header(EIDL_ENUM_VAL_NOT_FOUND, u->line(), u->file_name()); - cerr << " union " << u->local_name()->get_string() << ", "; - cerr << " enum " << e->local_name()->get_string() << ", "; - cerr << " enumerator "; - n->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report two or more spellings for an identifier -void -UTL_Error::name_case_error(char *b, char *n) -{ - idl_error_header(EIDL_NAME_CASE_ERROR, - idl_global->lineno(), - idl_global->filename()); - cerr << "\"" << b << GTDEVEL("\" and ") << "\"" << n << "\"\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::name_case_warning(char *b, char *n) -{ - idl_error_header(EIDL_NAME_CASE_WARNING, - idl_global->lineno(), - idl_global->filename()); - cerr << "\"" << b << GTDEVEL("\" and ") << "\"" << n << "\"\n"; -} - -// Report an ambiguous definition of a name -void -UTL_Error::ambiguous(UTL_Scope *s, AST_Decl *l, AST_Decl *d) -{ - idl_error_header(EIDL_AMBIGUOUS, d->line(), d->file_name()); - cerr << GTDEVEL(" scope: ") - << (ScopeAsDecl(s))->local_name()->get_string() - << ", "; - cerr << GTDEVEL(" collision: "); - d->name()->dump(cerr); - cerr << " vs. "; - l->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a forward declared interface which was never defined -void -UTL_Error::fwd_decl_not_defined(AST_Interface *d) -{ - idl_error_header(EIDL_DECL_NOT_DEFINED, d->line(), d->file_name()); - cerr << "interface "; - d->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report lookup in undefined forward declared but undefined interface -void -UTL_Error::fwd_decl_lookup(AST_Interface *d, UTL_ScopedName *n) -{ - idl_error_header(EIDL_FWD_DECL_LOOKUP, - idl_global->lineno(), - idl_global->filename()); - cerr << GTDEVEL("trying to look up "); - n->dump(cerr); - cerr << GTDEVEL(" in undefined forward declared interface "); - d->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a redefinition inside its own scope -void -UTL_Error::redefinition_in_scope(AST_Decl *d, AST_Decl *s) -{ - idl_error_header(EIDL_REDEF_SCOPE, d->line(), d->file_name()); - d->name()->dump(cerr); - cerr << ", "; - s->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report not a type error -void -UTL_Error::not_a_type(AST_Decl *d) -{ - idl_error_header(EIDL_NOT_A_TYPE, - idl_global->lineno(), - idl_global->filename()); - if (d == NULL || d->name() == NULL) - cerr << GTDEVEL("unknown symbol"); - else - d->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::back_end(long lineno, UTL_String *s) -{ - idl_error_header(EIDL_BACK_END, lineno, s); - idl_global->set_err_count(idl_global->err_count() + 1); -} diff --git a/TAO/TAO_IDL/util/utl_error.cpp b/TAO/TAO_IDL/util/utl_error.cpp deleted file mode 100644 index 1d5b1e6b1d0..00000000000 --- a/TAO/TAO_IDL/util/utl_error.cpp +++ /dev/null @@ -1,729 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_error.cc - Implementation of error reporting object for IDL -// compiler program - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_error, "$Id$") - -/* - * Helper functions to do: - * - * - Convert an error code to an error string - * - Print out an error message header - * - Convert an ExprType to a string - */ - -// Convert an error code into a const char * -static const char * -error_string(UTL_Error::ErrorCode c) -{ - switch (c) { - case UTL_Error::EIDL_OK: - return GTDEVEL("all is fine "); - case UTL_Error::EIDL_SYNTAX_ERROR: - return ""; - case UTL_Error::EIDL_REDEF: - return GTDEVEL("illegal redefinition "); - case UTL_Error::EIDL_DEF_USE: - return GTDEVEL("redefinition after use, "); - case UTL_Error::EIDL_MULTIPLE_BRANCH: - return GTDEVEL("union with duplicate branch label "); - case UTL_Error::EIDL_COERCION_FAILURE: - return GTDEVEL("coercion failure "); - case UTL_Error::EIDL_SCOPE_CONFLICT: - return GTDEVEL("definition scope is different than fwd declare scope, "); - case UTL_Error::EIDL_ONEWAY_CONFLICT: - return GTDEVEL("oneway operation with OUT or INOUT parameters, "); - case UTL_Error::EIDL_DISC_TYPE: - return GTDEVEL("union with illegal discriminator type, "); - case UTL_Error::EIDL_LABEL_TYPE: - return GTDEVEL("label type incompatible with union discriminator type, "); - case UTL_Error::EIDL_ILLEGAL_ADD: - return GTDEVEL("illegal add operation, "); - case UTL_Error::EIDL_ILLEGAL_USE: - return GTDEVEL("illegal type used in expression, "); - case UTL_Error::EIDL_ILLEGAL_RAISES: - return GTDEVEL("error in or illegal use of raises(..) clause, "); - case UTL_Error::EIDL_ILLEGAL_CONTEXT: - return GTDEVEL("error in context(..) clause, "); - case UTL_Error::EIDL_CANT_INHERIT: - return GTDEVEL(""); - case UTL_Error::EIDL_LOOKUP_ERROR: - return GTDEVEL("error in lookup of symbol: "); - case UTL_Error::EIDL_INHERIT_FWD_ERROR: - /* More intelligible message printed by error routine */ - return ""; - case UTL_Error::EIDL_CONSTANT_EXPECTED: - return GTDEVEL("constant expected: "); - case UTL_Error::EIDL_EVAL_ERROR: - return GTDEVEL("expression evaluation error: "); - case UTL_Error::EIDL_NAME_CASE_ERROR: - return GTDEVEL("identifier spellings differ only in case: "); - case UTL_Error::EIDL_NAME_CASE_WARNING: - return GTDEVEL("Warning - identifier spellings differ only in case: "); - case UTL_Error::EIDL_ENUM_VAL_EXPECTED: - return GTDEVEL("enumerator expected: "); - case UTL_Error::EIDL_ENUM_VAL_NOT_FOUND: - return GTDEVEL("enumerator by this name not defined: "); - case UTL_Error::EIDL_AMBIGUOUS: - return GTDEVEL("ambiguous definition: "); - case UTL_Error::EIDL_DECL_NOT_DEFINED: - return GTDEVEL("forward declared but never defined: "); - case UTL_Error::EIDL_FWD_DECL_LOOKUP: - /* More intelligible message printed by error routine */ - return ""; - case UTL_Error::EIDL_RECURSIVE_TYPE: - return GTDEVEL("illegal recursive use of type: "); - case UTL_Error::EIDL_NONVOID_ONEWAY: - return GTDEVEL("non-void return type in oneway operation: "); - case UTL_Error::EIDL_REDEF_SCOPE: - return GTDEVEL("redefinition inside defining scope: "); - case UTL_Error::EIDL_NOT_A_TYPE: - return GTDEVEL("specified symbol is not a type: "); - case UTL_Error::EIDL_BACK_END: - return GTDEVEL("back end: "); - } - return NULL; -} - -// Print out an error message header on cerr -static void -idl_error_header(UTL_Error::ErrorCode c, long lineno, UTL_String *s) -{ - cerr << idl_global->prog_name() - << ": \"" - << (idl_global->read_from_stdin() ? "standard input" : s->get_string()) - << GTDEVEL("\", line ") - << ((lineno == -1) ? idl_global->lineno() : lineno) - << ": " - << error_string(c); -} - -// Convert the type of an AST_Expression to a char * -static const char * -exprtype_to_string(AST_Expression::ExprType t) -{ - switch (t) { - case AST_Expression::EV_short: - return "short"; - case AST_Expression::EV_ushort: - return "unsigned short"; - case AST_Expression::EV_long: - return "long"; - case AST_Expression::EV_ulong: - return "unsigned long"; - case AST_Expression::EV_float: - return "float"; - case AST_Expression::EV_double: - return "double"; - case AST_Expression::EV_char: - return "char"; - case AST_Expression::EV_octet: - return "octet"; - case AST_Expression::EV_bool: - return "boolean"; - case AST_Expression::EV_string: - return "string"; - case AST_Expression::EV_any: - return "any"; - case AST_Expression::EV_void: - return "void"; - case AST_Expression::EV_none: - return "none"; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - return NULL; - } - return NULL; -} - -/* - * Convert a parse state into a possible error message - */ -static const char * -parse_state_to_error_message(IDL_GlobalData::ParseState ps) -{ - switch (ps) { - case IDL_GlobalData::PS_NoState: - return GTDEVEL("Statement can not be parsed"); - case IDL_GlobalData::PS_TypeDeclSeen: - return GTDEVEL("Malformed typedef declaration"); - case IDL_GlobalData::PS_ConstDeclSeen: - return GTDEVEL("Malformed const declaration"); - case IDL_GlobalData::PS_ExceptDeclSeen: - return - GTDEVEL("Malformed exception declaration"); - case IDL_GlobalData::PS_InterfaceDeclSeen: - return - GTDEVEL("Malformed interface declaration"); - case IDL_GlobalData::PS_ModuleDeclSeen: - return GTDEVEL("Malformed module declaration"); - case IDL_GlobalData::PS_AttrDeclSeen: - return - GTDEVEL("Malformed attribute declaration"); - case IDL_GlobalData::PS_OpDeclSeen: - return - GTDEVEL("Malformed operation declaration"); - case IDL_GlobalData::PS_ModuleSeen: - return GTDEVEL("Missing module identifier following MODULE keyword"); - case IDL_GlobalData::PS_ModuleIDSeen: - return GTDEVEL("Missing '{' or illegal syntax following module identifier"); - case IDL_GlobalData::PS_ModuleSqSeen: - return GTDEVEL("Illegal syntax following module '{' opener"); - case IDL_GlobalData::PS_ModuleQsSeen: - return GTDEVEL("Illegal syntax following module '}' closer"); - case IDL_GlobalData::PS_ModuleBodySeen: - return GTDEVEL("Illegal syntax following module body statement(s)"); - case IDL_GlobalData::PS_InterfaceSeen: - return GTDEVEL("Missing interface identifier following INTERFACE keyword"); - case IDL_GlobalData::PS_InterfaceIDSeen: - return GTDEVEL("Illegal syntax following interface identifier"); - case IDL_GlobalData::PS_InheritSpecSeen: - return GTDEVEL("Missing '{' or illegal syntax following inheritance spec"); - case IDL_GlobalData::PS_ForwardDeclSeen: - return GTDEVEL("Missing ';' following forward interface declaration"); - case IDL_GlobalData::PS_InterfaceSqSeen: - return GTDEVEL("Illegal syntax following interface '{' opener"); - case IDL_GlobalData::PS_InterfaceQsSeen: - return GTDEVEL("Illegal syntax following interface '}' closer"); - case IDL_GlobalData::PS_InterfaceBodySeen: - return GTDEVEL("Illegal syntax following interface body statement(s)"); - case IDL_GlobalData::PS_InheritColonSeen: - return GTDEVEL("Illegal syntax following ':' starting inheritance list"); - case IDL_GlobalData::PS_SNListCommaSeen: - return GTDEVEL("Found illegal scoped name in scoped name list"); - case IDL_GlobalData::PS_ScopedNameSeen: - return GTDEVEL("Missing ',' following scoped name in scoped name list"); - case IDL_GlobalData::PS_SN_IDSeen: - return GTDEVEL("Illegal component in scoped name"); - case IDL_GlobalData::PS_ScopeDelimSeen: - return GTDEVEL("Illegal component in scoped name following '::'"); - case IDL_GlobalData::PS_ConstSeen: - return GTDEVEL("Missing type or illegal syntax following CONST keyword"); - case IDL_GlobalData::PS_ConstTypeSeen: - return GTDEVEL("Missing identifier or illegal syntax following const type"); - case IDL_GlobalData::PS_ConstIDSeen: - return GTDEVEL("Missing '=' or illegal syntax after const identifier"); - case IDL_GlobalData::PS_ConstAssignSeen: - return GTDEVEL("Missing value expr or illegal syntax following '='"); - case IDL_GlobalData::PS_ConstExprSeen: - return GTDEVEL("Missing ';' or illegal syntax following value expr in const"); - case IDL_GlobalData::PS_TypedefSeen: - return GTDEVEL("Missing type or illegal syntax following TYPEDEF keyword"); - case IDL_GlobalData::PS_TypeSpecSeen: - return GTDEVEL("Missing declarators or illegal syntax following type spec"); - case IDL_GlobalData::PS_DeclaratorsSeen: - return GTDEVEL("Illegal syntax following declarators in TYPEDEF declaration"); - case IDL_GlobalData::PS_StructSeen: - return GTDEVEL("Missing struct identifier following STRUCT keyword"); - case IDL_GlobalData::PS_StructIDSeen: - return GTDEVEL("Missing '{' or illegal syntax following struct identifier"); - case IDL_GlobalData::PS_StructSqSeen: - return GTDEVEL("Illegal syntax following struct '{' opener"); - case IDL_GlobalData::PS_StructQsSeen: - return GTDEVEL("Illegal syntax following struct '}' closer"); - case IDL_GlobalData::PS_StructBodySeen: - return GTDEVEL("Illegal syntax following struct body statement(s)"); - case IDL_GlobalData::PS_MemberTypeSeen: - return GTDEVEL("Illegal syntax of missing identifier following member type"); - case IDL_GlobalData::PS_MemberDeclsSeen: - return GTDEVEL("Illegal syntax following member declarator(s)"); - case IDL_GlobalData::PS_MemberDeclsCompleted: - return GTDEVEL("Missing ',' between member decls of same type(?)"); - case IDL_GlobalData::PS_UnionSeen: - return GTDEVEL("Missing identifier following UNION keyword"); - case IDL_GlobalData::PS_UnionIDSeen: - return GTDEVEL("Illegal syntax following union identifier"); - case IDL_GlobalData::PS_SwitchSeen: - return GTDEVEL("Illegal syntax following SWITCH keyword"); - case IDL_GlobalData::PS_SwitchOpenParSeen: - return GTDEVEL("Illegal syntax following '(' in switch in union"); - case IDL_GlobalData::PS_SwitchTypeSeen: - return GTDEVEL("Illegal syntax following type decl in switch in union"); - case IDL_GlobalData::PS_SwitchCloseParSeen: - return GTDEVEL("Missing union '{' opener"); - case IDL_GlobalData::PS_UnionSqSeen: - return GTDEVEL("Illegal syntax following union '{' opener"); - case IDL_GlobalData::PS_UnionQsSeen: - return GTDEVEL("Illegal syntax following union '}' closer"); - case IDL_GlobalData::PS_DefaultSeen: - return GTDEVEL("Illegal syntax or missing ':' following DEFAULT keyword"); - case IDL_GlobalData::PS_UnionLabelSeen: - return GTDEVEL("Illegal syntax following branch label in union"); - case IDL_GlobalData::PS_LabelColonSeen: - return GTDEVEL("Illegal syntax following ':' in branch label in union"); - case IDL_GlobalData::PS_LabelExprSeen: - return GTDEVEL("Illegal syntax following label expression in union"); - case IDL_GlobalData::PS_UnionElemSeen: - case IDL_GlobalData::PS_UnionElemCompleted: - return GTDEVEL("Illegal syntax following union element"); - case IDL_GlobalData::PS_CaseSeen: - return GTDEVEL("Illegal syntax following CASE keyword in union"); - case IDL_GlobalData::PS_UnionElemTypeSeen: - return GTDEVEL("Illegal syntax following type decl in union element"); - case IDL_GlobalData::PS_UnionElemDeclSeen: - return GTDEVEL("Illegal syntax following declarator in union element"); - case IDL_GlobalData::PS_UnionBodySeen: - return GTDEVEL("Illegal syntax following union body statement(s)"); - case IDL_GlobalData::PS_EnumSeen: - return GTDEVEL("Illegal syntax or missing identifier following ENUM keyword"); - case IDL_GlobalData::PS_EnumIDSeen: - return GTDEVEL("Illegal syntax or missing '{' following enum identifier"); - case IDL_GlobalData::PS_EnumSqSeen: - return GTDEVEL("Illegal syntax following enum '{' opener"); - case IDL_GlobalData::PS_EnumQsSeen: - return GTDEVEL("Illegal syntax following enum '}' closer"); - case IDL_GlobalData::PS_EnumBodySeen: - return GTDEVEL("Illegal syntax following enum body statement(s)"); - case IDL_GlobalData::PS_EnumCommaSeen: - return GTDEVEL("Illegal syntax or missing identifier following ',' in enum"); - case IDL_GlobalData::PS_SequenceSeen: - return GTDEVEL("Illegal syntax or missing '<' following SEQUENCE keyword"); - case IDL_GlobalData::PS_SequenceSqSeen: - return GTDEVEL("Illegal syntax or missing type following '<' in sequence"); - case IDL_GlobalData::PS_SequenceQsSeen: - return GTDEVEL("Illegal syntax following '>' in sequence"); - case IDL_GlobalData::PS_SequenceTypeSeen: - return GTDEVEL("Illegal syntax following sequence type declaration"); - case IDL_GlobalData::PS_SequenceCommaSeen: - return - GTDEVEL("Illegal syntax of missing size expr following ',' in sequence"); - case IDL_GlobalData::PS_SequenceExprSeen: - return - GTDEVEL("Illegal syntax or missing '>' following size expr in sequence"); - case IDL_GlobalData::PS_StringSeen: - return GTDEVEL("Illegal syntax or missing '<' following STRING keyword"); - case IDL_GlobalData::PS_StringSqSeen: - return GTDEVEL("Illegal syntax or missing size expr following '<' in string"); - case IDL_GlobalData::PS_StringQsSeen: - return GTDEVEL("Illegal syntax following '>' in string"); - case IDL_GlobalData::PS_StringExprSeen: - return GTDEVEL("Illegal syntax or missing '>' after size expr in string"); - case IDL_GlobalData::PS_StringCompleted: - return GTDEVEL("Illegal syntax after string declaration"); - case IDL_GlobalData::PS_ArrayIDSeen: - return GTDEVEL("Illegal syntax or missing dimensions after array identifier"); - case IDL_GlobalData::PS_ArrayCompleted: - return GTDEVEL("Illegal syntax after array declaration"); - case IDL_GlobalData::PS_DimSqSeen: - return - GTDEVEL("Illegal syntax or missing size expr after '[' in array declaration"); - case IDL_GlobalData::PS_DimQsSeen: - return GTDEVEL("Illegal syntax after ']' in array declaration"); - case IDL_GlobalData::PS_DimExprSeen: - return - GTDEVEL("Illegal syntax or missing ']' after size expr in array declaration"); - case IDL_GlobalData::PS_AttrROSeen: - return GTDEVEL("Illegal syntax after READONLY keyword"); - case IDL_GlobalData::PS_AttrSeen: - return GTDEVEL("Illegal syntax after ATTRIBUTE keyword"); - case IDL_GlobalData::PS_AttrTypeSeen: - return GTDEVEL("Illegal syntax after type in attribute declaration"); - case IDL_GlobalData::PS_AttrDeclsSeen: - return GTDEVEL("Illegal syntax after attribute declarators"); - case IDL_GlobalData::PS_AttrCompleted: - return GTDEVEL("Illegal syntax after attribute declaration"); - case IDL_GlobalData::PS_ExceptSeen: - return - GTDEVEL("Illegal syntax or missing identifier after EXCEPTION keyword"); - case IDL_GlobalData::PS_ExceptIDSeen: - return GTDEVEL("Illegal syntax or missing '{' after exception identifier"); - case IDL_GlobalData::PS_ExceptSqSeen: - return GTDEVEL("Illegal syntax after exception '{' opener"); - case IDL_GlobalData::PS_ExceptQsSeen: - return GTDEVEL("Illegal syntax after exception '}' closer"); - case IDL_GlobalData::PS_ExceptBodySeen: - return GTDEVEL("Illegal syntax after exception body statement(s)"); - case IDL_GlobalData::PS_OpAttrSeen: - return GTDEVEL("Illegal syntax or missing type after operation attribute"); - case IDL_GlobalData::PS_OpTypeSeen: - return GTDEVEL("Illegal syntax or missing identifier after operation type"); - case IDL_GlobalData::PS_OpIDSeen: - return GTDEVEL("Illegal syntax or missing '(' after operation identifier"); - case IDL_GlobalData::PS_OpParsCompleted: - return GTDEVEL("Illegal syntax after operation parameter list"); - case IDL_GlobalData::PS_OpRaiseCompleted: - return - GTDEVEL("Illegal syntax after optional RAISES in operation declaration"); - case IDL_GlobalData::PS_OpContextCompleted: - return - GTDEVEL("Illegal syntax after optional CONTEXT in operation declaration"); - case IDL_GlobalData::PS_OpCompleted: - return GTDEVEL("Illegal syntax after operation declaration"); - case IDL_GlobalData::PS_OpSqSeen: - return GTDEVEL("Illegal syntax after operation parameter list '(' opener"); - case IDL_GlobalData::PS_OpQsSeen: - return GTDEVEL("Illegal syntax after operation parameter list ')' closer"); - case IDL_GlobalData::PS_OpParCommaSeen: - return - GTDEVEL("Illegal syntax or missing direction in parameter declaration"); - case IDL_GlobalData::PS_OpParDirSeen: - return GTDEVEL("Illegal syntax or missing type in parameter declaration"); - case IDL_GlobalData::PS_OpParTypeSeen: - return - GTDEVEL("Illegal syntax or missing declarator in parameter declaration"); - case IDL_GlobalData::PS_OpParDeclSeen: - return GTDEVEL("Illegal syntax following parameter declarator"); - case IDL_GlobalData::PS_OpRaiseSeen: - return GTDEVEL("Illegal syntax or missing '(' after RAISES keyword"); - case IDL_GlobalData::PS_OpRaiseSqSeen: - return GTDEVEL("Illegal syntax after RAISES '(' opener"); - case IDL_GlobalData::PS_OpRaiseQsSeen: - return GTDEVEL("Illegal syntax after RAISES ')' closer"); - case IDL_GlobalData::PS_OpContextSeen: - return GTDEVEL("Illegal syntax or missing '(' after CONTEXT keyword"); - case IDL_GlobalData::PS_OpContextSqSeen: - return GTDEVEL("Illegal syntax after CONTEXT '(' opener"); - case IDL_GlobalData::PS_OpContextQsSeen: - return GTDEVEL("Illegal syntax after CONTEXT ')' closer"); - case IDL_GlobalData::PS_OpContextCommaSeen: - return - GTDEVEL("Illegal syntax after ',' in CONTEXT in operation declaration"); - case IDL_GlobalData::PS_DeclsCommaSeen: - return GTDEVEL("Illegal syntax after ',' in declarators list"); - case IDL_GlobalData::PS_DeclsDeclSeen: - return GTDEVEL("Illegal syntax after declarator in declarators list"); - - case IDL_GlobalData::PS_PragmaPrefixSyntax: - return GTDEVEL ("Illegal syntax for #pragma prefix"); - default: - return GTDEVEL("Some syntax error"); - } -} -/* - * Public methods - */ - -// Report error messages with various numbers of arguments - -void -UTL_Error::syntax_error(IDL_GlobalData::ParseState ps) -{ - idl_error_header(EIDL_SYNTAX_ERROR, - idl_global->lineno(), - idl_global->filename()); - cerr << parse_state_to_error_message(ps) << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error0(UTL_Error::ErrorCode c) -{ - idl_error_header(c, idl_global->lineno(), idl_global->filename()); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error1(UTL_Error::ErrorCode c, AST_Decl *d) -{ - idl_error_header(c, d->line(), d->file_name()); - d->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error2(UTL_Error::ErrorCode c, AST_Decl *d1, AST_Decl *d2) -{ - idl_error_header(c, d1->line(), d1->file_name()); - d1->name()->dump(cerr); cerr << ", "; - d2->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error3(UTL_Error::ErrorCode c, - AST_Decl *d1, - AST_Decl *d2, - AST_Decl *d3) -{ - idl_error_header(c, d1->line(), d1->file_name()); - d1->name()->dump(cerr); cerr << ", "; - d2->name()->dump(cerr); cerr << ", "; - d3->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a failed coercion attempt -void -UTL_Error::coercion_error(AST_Expression *v, AST_Expression::ExprType t) -{ - idl_error_header(EIDL_COERCION_FAILURE, v->line(), v->file_name()); - v->dump(cerr); - cerr << GTDEVEL(" to ") << exprtype_to_string(t) << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a failed name lookup attempt -void -UTL_Error::lookup_error(UTL_ScopedName *n) -{ - idl_error_header(EIDL_LOOKUP_ERROR, - idl_global->lineno(), - idl_global->filename()); - n->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an attempt to inherit from an interface which was only -// declared forward but not yet defined -void -UTL_Error::inheritance_fwd_error(UTL_ScopedName *n, AST_Interface *f) -{ - idl_error_header(EIDL_INHERIT_FWD_ERROR, f->line(), f->file_name()); - cerr << "interface "; - n->dump(cerr); - cerr << GTDEVEL(" cannot inherit from forward declared interface "); - f->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an attempt to inherit from something other than an interface -void -UTL_Error::inheritance_error(UTL_ScopedName *n, AST_Decl *d) -{ - idl_error_header(EIDL_CANT_INHERIT, idl_global->lineno(), idl_global->filename()); - /* cerr << " interface "; */ - n->dump(cerr); - cerr << GTDEVEL(" attempts to inherit from "); - d->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report inheritance from non-abstract valuetype -void -UTL_Error::abstract_inheritance_error (UTL_ScopedName *n) -{ - idl_error_header(EIDL_CANT_INHERIT, idl_global->lineno(), idl_global->filename()); - cerr << " abstract valuetype "; - n->dump(cerr); - cerr << GTDEVEL(" attempts to inherit from nonabstract type\n"); - idl_global->set_err_count(idl_global->err_count() + 1); -} - - -// Report an error while evaluating an expression -void -UTL_Error::eval_error(AST_Expression *v) -{ - idl_error_header(EIDL_EVAL_ERROR, v->line(), v->file_name()); - v->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where a constant was expected but we -// got something else. This may occur in a union when a label -// evaluates to a non-constant -void -UTL_Error::constant_expected(UTL_ScopedName *n, AST_Decl *d) -{ - idl_error_header(EIDL_CONSTANT_EXPECTED, d->line(), d->file_name()); - n->dump(cerr); - cerr << GTDEVEL(" bound to "); - d->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where an enumerator was expected but we -// got something else. This may occur in a union with an enum -// discriminator where a label did not evaluate to a constant -// enumerator -void -UTL_Error::enum_val_expected(AST_Union *u, AST_UnionLabel *l) -{ - idl_error_header(EIDL_ENUM_VAL_EXPECTED, u->line(), u->file_name()); - cerr << " union " << u->local_name()->get_string() << ", "; - l->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where an enumerator was received but we -// could not find it (by name) in an enum. This occurs when -// a union with an enum discriminator is being parsed, and a -// label evaluates to an enumerator which is not a member of -// the enum discriminator type -void -UTL_Error::enum_val_lookup_failure(AST_Union *u, - AST_Enum *e, - UTL_ScopedName *n) -{ - idl_error_header(EIDL_ENUM_VAL_NOT_FOUND, u->line(), u->file_name()); - cerr << " union " << u->local_name()->get_string() << ", "; - cerr << " enum " << e->local_name()->get_string() << ", "; - cerr << " enumerator "; - n->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report two or more spellings for an identifier -void -UTL_Error::name_case_error(char *b, char *n) -{ - idl_error_header(EIDL_NAME_CASE_ERROR, - idl_global->lineno(), - idl_global->filename()); - cerr << "\"" << b << GTDEVEL("\" and ") << "\"" << n << "\"\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::name_case_warning(char *b, char *n) -{ - idl_error_header(EIDL_NAME_CASE_WARNING, - idl_global->lineno(), - idl_global->filename()); - cerr << "\"" << b << GTDEVEL("\" and ") << "\"" << n << "\"\n"; -} - -// Report an ambiguous definition of a name -void -UTL_Error::ambiguous(UTL_Scope *s, AST_Decl *l, AST_Decl *d) -{ - idl_error_header(EIDL_AMBIGUOUS, d->line(), d->file_name()); - cerr << GTDEVEL(" scope: ") - << (ScopeAsDecl(s))->local_name()->get_string() - << ", "; - cerr << GTDEVEL(" collision: "); - d->name()->dump(cerr); - cerr << " vs. "; - l->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a forward declared interface which was never defined -void -UTL_Error::fwd_decl_not_defined(AST_Interface *d) -{ - idl_error_header(EIDL_DECL_NOT_DEFINED, d->line(), d->file_name()); - cerr << "interface "; - d->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report lookup in undefined forward declared but undefined interface -void -UTL_Error::fwd_decl_lookup(AST_Interface *d, UTL_ScopedName *n) -{ - idl_error_header(EIDL_FWD_DECL_LOOKUP, - idl_global->lineno(), - idl_global->filename()); - cerr << GTDEVEL("trying to look up "); - n->dump(cerr); - cerr << GTDEVEL(" in undefined forward declared interface "); - d->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a redefinition inside its own scope -void -UTL_Error::redefinition_in_scope(AST_Decl *d, AST_Decl *s) -{ - idl_error_header(EIDL_REDEF_SCOPE, d->line(), d->file_name()); - d->name()->dump(cerr); - cerr << ", "; - s->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report not a type error -void -UTL_Error::not_a_type(AST_Decl *d) -{ - idl_error_header(EIDL_NOT_A_TYPE, - idl_global->lineno(), - idl_global->filename()); - if (d == NULL || d->name() == NULL) - cerr << GTDEVEL("unknown symbol"); - else - d->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::back_end(long lineno, UTL_String *s) -{ - idl_error_header(EIDL_BACK_END, lineno, s); - idl_global->set_err_count(idl_global->err_count() + 1); -} diff --git a/TAO/TAO_IDL/util/utl_exceptlist.cpp b/TAO/TAO_IDL/util/utl_exceptlist.cpp deleted file mode 100644 index e291f95a82e..00000000000 --- a/TAO/TAO_IDL/util/utl_exceptlist.cpp +++ /dev/null @@ -1,147 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_exceptlist.cc -// -// Implementation of a list of exceptions - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_exceptlist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_ExceptList::UTL_ExceptList(AST_Exception *s, UTL_ExceptList *cdr) - : UTL_List(cdr), - pd_car_data(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -AST_Exception * -UTL_ExceptList::head() -{ - return pd_car_data; -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_ExceptList active iterator - -/* - * Constructor - */ - -UTL_ExceptlistActiveIterator::UTL_ExceptlistActiveIterator(UTL_ExceptList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -AST_Exception * -UTL_ExceptlistActiveIterator::item() -{ - if (source == NULL) - return NULL; - return ((UTL_ExceptList *) source)->head(); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_exprlist.cpp b/TAO/TAO_IDL/util/utl_exprlist.cpp deleted file mode 100644 index ad710e53ae2..00000000000 --- a/TAO/TAO_IDL/util/utl_exprlist.cpp +++ /dev/null @@ -1,147 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_exprlist.cc -// -// Implementation of a list of strings - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_exprlist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_ExprList::UTL_ExprList(AST_Expression *s, UTL_ExprList *cdr) - : UTL_List(cdr), - pd_car_data(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -AST_Expression * -UTL_ExprList::head() -{ - return pd_car_data; -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_ExprList active iterator - -/* - * Constructor - */ - -UTL_ExprlistActiveIterator::UTL_ExprlistActiveIterator(UTL_ExprList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -AST_Expression * -UTL_ExprlistActiveIterator::item() -{ - if (source == NULL) - return NULL; - return ((UTL_ExprList *) source)->head(); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_global.cpp b/TAO/TAO_IDL/util/utl_global.cpp deleted file mode 100644 index b8783829f18..00000000000 --- a/TAO/TAO_IDL/util/utl_global.cpp +++ /dev/null @@ -1,1445 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_global.cc - Implementation of class IDL_GlobalData -// - -#include "idl.h" -#include "idl_extern.h" -#include "ace/OS.h" - -ACE_RCSID(util, utl_global, "$Id$") - -// Define an increment for the size of the array used to store names of -// included files -#undef INCREMENT -#define INCREMENT 64 - -IDL_GlobalData::IDL_GlobalData (void) - : pd_scopes (0), - pd_root (0), - pd_gen (0), - pd_err (0), - pd_err_count (0), - pd_lineno (0), - pd_filename (0), - pd_main_filename (0), - pd_real_filename (0), - pd_stripped_filename (0), - pd_import (I_FALSE), - pd_in_main_file (I_FALSE), - pd_prog_name (0), - pd_cpp_location (0), - pd_compile_flags (0), - pd_be (0), - pd_local_escapes (0), - pd_indent (0), - pd_pragmas (0), - pd_read_from_stdin (I_FALSE), - pd_include_file_names (0), - pd_n_include_file_names (0), - pd_n_alloced_file_names (0), - included_idl_files_ (0), - n_included_idl_files_ (0), - n_allocated_idl_files_ (0), - pd_parse_state (PS_NoState), - pd_idl_src_file (0), - changing_standard_include_files_ (1), - export_macro_ (0), - export_include_ (0), - pch_include_ (0), - client_hdr_ending_ (ACE::strnew ("C.h")), - client_stub_ending_ (ACE::strnew ("C.cpp")), - client_inline_ending_ (ACE::strnew ("C.i")), - server_hdr_ending_ (ACE::strnew ("S.h")), - implementation_hdr_ending_ (ACE::strnew ("I.h")), - implementation_skel_ending_ (ACE::strnew ("I.cpp")), - impl_class_prefix_ (ACE::strnew ("")), - impl_class_suffix_ (ACE::strnew ("_i")), - server_template_hdr_ending_ (ACE::strnew ("S_T.h")), - server_skeleton_ending_ (ACE::strnew ("S.cpp")), - server_template_skeleton_ending_ (ACE::strnew ("S_T.cpp")), - server_inline_ending_ (ACE::strnew ("S.i")), - server_template_inline_ending_ (ACE::strnew ("S_T.i")), - gperf_path_ (0), - output_dir_ (0), - temp_dir_ (0), - any_support_ (I_TRUE), - tc_support_ (I_TRUE), -#ifdef IDL_HAS_VALUETYPE - obv_support_ (I_FALSE), // maybe I_TRUE - obv_opt_accessor_ (0), -#else - obv_support_ (I_FALSE), // ever -#endif - compiled_marshaling_ (I_TRUE), - gen_impl_files_ (I_FALSE), - gen_copy_ctor_ (I_FALSE), - gen_assign_op_ (I_FALSE), - gen_thru_poa_collocation_ (I_TRUE), // Default is thru_poa. - gen_direct_collocation_ (I_FALSE), -#ifdef ACE_HAS_EXCEPTIONS - exception_support_ (I_TRUE), -#else - exception_support_ (I_FALSE), -#endif - opt_tc_ (I_FALSE), - case_diff_error_ (I_TRUE), - ami_call_back_ (I_FALSE) -{ - - // Path for the perfect hash generator(gperf) program. - // Default is $ACE_ROOT/bin/gperf unless ACE_GPERF is defined. - // Use ACE_GPERF if $ACE_ROOT hasn't been set or won't be set - // in the environment. - // Form the absolute pathname. - char* ace_root = ACE_OS::getenv ("ACE_ROOT"); - if (ace_root == 0) - // This may not cause any problem if -g option is used to specify - // the correct path for the gperf program. Let us ignore this - // error here. It will be caught when we check the existence of - // the perfect hasher and at that time, we can switch over to some - // other scheme. - { -#if defined (ACE_GPERF) - // The actual gperf program must be included in the definition of - // ACE_GPERF, not just the directory in which it is located. - const char ace_gperf[] = ACE_GPERF; - ACE_NEW (this->gperf_path_, - char [ACE_OS::strlen (ace_gperf) + 1]); - ACE_OS::sprintf (this->gperf_path_, - "%s", - ace_gperf); -#else - this->gperf_path_ = 0; -#endif - } - else - { - // Set it to the default value. - ACE_NEW (this->gperf_path_, - char [ACE_OS::strlen (ace_root) + ACE_OS::strlen ("/bin/gperf") + 1]); -#if defined (ACE_WIN32) - ACE_OS::sprintf (this->gperf_path_, - "%s\\bin\\gperf", - ace_root); -#else /* Not ACE_WIN32 */ - ACE_OS::sprintf (this->gperf_path_, - "%s/bin/gperf", - ace_root); -#endif /* ACE_WIN32 */ - } -} - -// Get or set scopes stack -UTL_ScopeStack * -IDL_GlobalData::scopes (void) -{ - return this->pd_scopes; -} - -void -IDL_GlobalData::set_scopes (UTL_ScopeStack *s) -{ - this->pd_scopes = s; -} - -// Get or set root of AST -AST_Root * -IDL_GlobalData::root (void) -{ - return this->pd_root; -} -void -IDL_GlobalData::set_root (AST_Root *r) -{ - this->pd_root = r; -} - -// Get or set generator object -AST_Generator * -IDL_GlobalData::gen (void) -{ - return this->pd_gen; -} -void -IDL_GlobalData::set_gen (AST_Generator *g) -{ - this->pd_gen = g; -} - -// Get or set error object -UTL_Error * -IDL_GlobalData::err (void) -{ - return this->pd_err; -} -void -IDL_GlobalData::set_err (UTL_Error *e) -{ - this->pd_err = e; -} - -// Get or set error count -long -IDL_GlobalData::err_count (void) -{ - return this->pd_err_count; -} -void -IDL_GlobalData::set_err_count (long c) -{ - this->pd_err_count = c; -} - -// Get or set line number -long -IDL_GlobalData::lineno (void) -{ - return this->pd_lineno; -} -void -IDL_GlobalData::set_lineno (long n) -{ - this->pd_lineno = n; -} - -// Get or set file name being read now -UTL_String * -IDL_GlobalData::filename (void) -{ - return this->pd_filename; -} -void -IDL_GlobalData::set_filename (UTL_String *s) -{ - if (this->pd_filename != 0) - delete this->pd_filename; - this->pd_filename = s; -} - -// Get or set main file name -UTL_String * -IDL_GlobalData::main_filename (void) -{ - return this->pd_main_filename; -} -void -IDL_GlobalData::set_main_filename (UTL_String *n) -{ - if (this->pd_main_filename != 0) - delete this->pd_main_filename; - this->pd_main_filename = n; -} - -// Get or set real file name -UTL_String * -IDL_GlobalData::real_filename (void) -{ - return this->pd_real_filename; -} -void -IDL_GlobalData::set_real_filename (UTL_String *n) -{ - if (this->pd_real_filename != 0) - delete this->pd_real_filename; - this->pd_real_filename = n; -} - -// Get or set indicator whether import is on -idl_bool -IDL_GlobalData::imported (void) -{ - return this->pd_in_main_file ? I_FALSE : pd_import; -} -idl_bool -IDL_GlobalData::import (void) -{ - return this->pd_import; -} -void -IDL_GlobalData::set_import (idl_bool is_in) -{ - this->pd_import = is_in; -} - -// Get or set indicator whether we're reading the main file now -idl_bool -IDL_GlobalData::in_main_file (void) -{ - return this->pd_in_main_file; -} -void -IDL_GlobalData::set_in_main_file (idl_bool is_in) -{ - this->pd_in_main_file = is_in; -} - -// Get or set stripped file name -UTL_String * -IDL_GlobalData::stripped_filename (void) -{ - return this->pd_stripped_filename; -} -void -IDL_GlobalData::set_stripped_filename (UTL_String *nm) -{ - if (this->pd_stripped_filename != 0) - delete this->pd_stripped_filename; - - this->pd_stripped_filename = nm; -} - -// Get or set cache value for argv[0] -const char * -IDL_GlobalData::prog_name (void) -{ - return this->pd_prog_name; -} -void -IDL_GlobalData::set_prog_name (const char *pn) -{ - this->pd_prog_name = pn; -} - -// Get or set location to find C preprocessor -const char * -IDL_GlobalData::cpp_location (void) -{ - return this->pd_cpp_location; -} -void -IDL_GlobalData::set_cpp_location (const char *l) -{ - this->pd_cpp_location = l; -} - -// Get or set IDL compiler flags -long -IDL_GlobalData::compile_flags (void) -{ - return this->pd_compile_flags; -} -void -IDL_GlobalData::set_compile_flags (long cf) -{ - this->pd_compile_flags = cf; -} - -// Get or set BE to be used -const char * -IDL_GlobalData::be (void) -{ - return this->pd_be; -} -void -IDL_GlobalData::set_be (const char *nbe) -{ - this->pd_be = nbe; -} - -// Get or set local escapes string. This provides additional mechanism -// to pass information to a BE. -char * -IDL_GlobalData::local_escapes (void) -{ - return this->pd_local_escapes; -} -void -IDL_GlobalData::set_local_escapes (const char *e) -{ - if (this->pd_local_escapes != 0) - ACE_OS::free (this->pd_local_escapes); - this->pd_local_escapes = ACE_OS::strdup (e); -} - -// Get or set indent object -UTL_Indenter * -IDL_GlobalData::indent (void) -{ - return this->pd_indent; -} -void -IDL_GlobalData::set_indent (UTL_Indenter *i) -{ - this->pd_indent = i; -} - -// Get or set list of pragmas being parsed -UTL_StrList * -IDL_GlobalData::pragmas (void) -{ - UTL_StrList *p = this->pd_pragmas; - - this->pd_pragmas = 0; - return p; -} - -void -IDL_GlobalData::set_pragmas (UTL_StrList *p) -{ - this->pd_pragmas = p; -} - -// Get or set indicator whether we're reading from stdin. -idl_bool -IDL_GlobalData::read_from_stdin (void) -{ - return this->pd_read_from_stdin; -} - -void -IDL_GlobalData::set_read_from_stdin (idl_bool r) -{ - this->pd_read_from_stdin = r; -} - -// Have we seen this include file name before? -long -IDL_GlobalData::seen_include_file_before (UTL_String *n) -{ - unsigned long i; - - for (i = 0; i < this->pd_n_include_file_names; i++) - if (n->compare (this->pd_include_file_names[i])) - return I_TRUE; - return I_FALSE; -} - -// Store a name of an #include file -void -IDL_GlobalData::store_include_file_name (UTL_String *n) -{ - UTL_String **o_include_file_names; - unsigned long o_n_alloced_file_names, i; - - /* - * Check if we need to store it at all or whether we've seen it already - */ - if (seen_include_file_before (n)) - return; - /* - * OK, need to store. Make sure there's space for one more string - */ - if (this->pd_n_include_file_names == this->pd_n_alloced_file_names) - { - // Allocating more space. - - if (this->pd_n_alloced_file_names == 0) - { - this->pd_n_alloced_file_names = INCREMENT; - this->pd_include_file_names = new UTL_String *[this->pd_n_alloced_file_names]; - } - else - { - o_include_file_names = this->pd_include_file_names; - o_n_alloced_file_names = this->pd_n_alloced_file_names; - this->pd_n_alloced_file_names += INCREMENT; - this->pd_include_file_names = new UTL_String *[this->pd_n_alloced_file_names]; - for (i = 0; i < o_n_alloced_file_names; i++) - this->pd_include_file_names[i] = o_include_file_names[i]; - delete [] o_include_file_names; - } - } - - // Store it. - this->pd_include_file_names[this->pd_n_include_file_names++] = n; -} - -void -IDL_GlobalData::set_include_file_names (UTL_String **ns) -{ - this->pd_include_file_names = ns; -} - -UTL_String ** -IDL_GlobalData::include_file_names (void) -{ - return this->pd_include_file_names; -} - -void -IDL_GlobalData::set_n_include_file_names (unsigned long n) -{ - pd_n_include_file_names = n; -} - -unsigned long -IDL_GlobalData::n_include_file_names() -{ - return pd_n_include_file_names; -} - -// Access methods to deal with other IDL files included in the main -// IDL file. - -void -IDL_GlobalData::add_to_included_idl_files (char* file_name) -{ - // Is there enough space there to store one more file. - if (this->n_included_idl_files_ == this->n_allocated_idl_files_) - { - // Allocating more space. - if (this->n_allocated_idl_files_ == 0) - { - // First time creation. - this->n_allocated_idl_files_ = INCREMENT; - ACE_NEW (this->included_idl_files_, - char *[this->n_allocated_idl_files_]); - } - else - { - // Adding more storage. - - char** old_included_idl_files = - this->included_idl_files_; - size_t n_old_allocated_idl_files = - this->n_allocated_idl_files_; - this->n_allocated_idl_files_ += INCREMENT; - ACE_NEW (this->included_idl_files_, - char *[this->n_allocated_idl_files_]); - for (size_t i = 0; i < n_old_allocated_idl_files; i++) - this->included_idl_files_ [i] = old_included_idl_files [i]; - delete [] old_included_idl_files; - } - } - - // Store it. - this->included_idl_files_ [this->n_included_idl_files_++] = file_name; -} - -char** -IDL_GlobalData::included_idl_files (void) -{ - return this->included_idl_files_; -} - -size_t -IDL_GlobalData::n_included_idl_files (void) -{ - return this->n_included_idl_files_; -} - -// Set the number of included_idl_files. Use this carefully. This -// method is used when we validate all the #included idl files, -// against the ones that we get after preprocessing. -void -IDL_GlobalData::n_included_idl_files (size_t n) -{ - this->n_included_idl_files_ = n; -} - -// Validate the included idl files, somefiles might have been -// ignored by the preprocessor. -void -IDL_GlobalData::validate_included_idl_files (void) -{ - // Flag to make sure we dont repeat things. - static int already_done = 0; - - if (already_done == 1) - return; - - already_done = 1; - - // New number of included_idl_files. - size_t newj = 0; - - for (size_t j = 0; - j < idl_global->n_included_idl_files (); - j++) - { - // Get the base part. - char *base_part = ACE_OS::strrchr (idl_global->included_idl_files ()[j], - '/'); - - // If no / then take the whole name. We dont need the / - // anyway. - if (base_part == 0) - base_part = idl_global->included_idl_files ()[j]; - else - base_part++; - - // Check this name with the names list that we got from the - // preprocessor. - size_t valid_file = 0; - for (size_t ni = 0; - ni < idl_global->n_include_file_names (); - ni++) - { - char *file_name = idl_global->include_file_names ()[ni]->get_string (); - - if (ACE_OS::strstr (file_name, base_part) != 0) - { - // This file name is valid. - valid_file = 1; - break; - } - } - - // Remove the file, if it is not valid. - if (valid_file == 0) - { - delete idl_global->included_idl_files ()[j]; - idl_global->included_idl_files ()[j] = 0; - } - else - { - // File is valid. - - // Move it to new index if necessary. - if (j != newj) - { - // Move to the new index position. - idl_global->included_idl_files ()[newj] = - idl_global->included_idl_files ()[j]; - - // Make old position 0. - idl_global->included_idl_files ()[j] = 0; - } - - // Increment the new index. - newj++; - } - } - - // Now adjust the count on the included_idl_files. - idl_global->n_included_idl_files (newj); -} - -void -IDL_GlobalData::set_parse_state(ParseState ps) -{ - pd_parse_state = ps; -} - -IDL_GlobalData::ParseState -IDL_GlobalData::parse_state() -{ - return pd_parse_state; -} - -/* - * Convert a PredefinedType to an ExprType - */ -AST_Expression::ExprType -IDL_GlobalData::PredefinedTypeToExprType(AST_PredefinedType::PredefinedType pt) -{ - switch (pt) { - case AST_PredefinedType::PT_long: - return AST_Expression::EV_long; - case AST_PredefinedType::PT_ulong: - return AST_Expression::EV_ulong; - case AST_PredefinedType::PT_short: - return AST_Expression::EV_short; - case AST_PredefinedType::PT_ushort: - return AST_Expression::EV_ushort; - case AST_PredefinedType::PT_longlong: - return AST_Expression::EV_longlong; - case AST_PredefinedType::PT_ulonglong: - return AST_Expression::EV_ulonglong; - case AST_PredefinedType::PT_float: - return AST_Expression::EV_float; - case AST_PredefinedType::PT_double: - return AST_Expression::EV_double; - case AST_PredefinedType::PT_longdouble: - return AST_Expression::EV_longdouble; - case AST_PredefinedType::PT_char: - return AST_Expression::EV_char; - case AST_PredefinedType::PT_wchar: - return AST_Expression::EV_wchar; - case AST_PredefinedType::PT_octet: - return AST_Expression::EV_octet; - case AST_PredefinedType::PT_boolean: - return AST_Expression::EV_bool; - case AST_PredefinedType::PT_void: - return AST_Expression::EV_void; - default: - return AST_Expression::EV_any; - } -} - -// returns the IDL source file being copiled -UTL_String* IDL_GlobalData::idl_src_file() -{ - return this->pd_idl_src_file; -} - -// set the source IDL file that is being parsed -void IDL_GlobalData::idl_src_file(UTL_String *s) -{ - this->pd_idl_src_file = s; -} - -// To switch between changing or non-changing standard include files -// include files, so that #include statements can be -// generated with ""s or <>s respectively, for the standard include -// files (e.g. tao/corba.h) -void -IDL_GlobalData::changing_standard_include_files (size_t changing) -{ - this->changing_standard_include_files_ = changing; -} - -size_t -IDL_GlobalData::changing_standard_include_files (void) -{ - return this->changing_standard_include_files_; -} - -/************ Helper functions **************/ -static const char* -be_change_idl_file_extension (UTL_String* idl_file, - const char *new_extension, - int base_name_only = 0) -{ - // @@ This shouldn't happen anyway; but a better error handling - // mechanism is needed. - if (idl_file == 0 || new_extension == 0) - return 0; - - static char fname[MAXPATHLEN]; - ACE_OS::memset (fname, 0, MAXPATHLEN); - - // Get the char* from the UTL_String. - const char* string = idl_file->get_string (); - - // Get the base part of the filename, we try several extensions - // before giving up. - const char *base = 0; - - static const char* extensions[] = { - ".idl", - ".pidl", - ".IDL", - ".PIDL" - }; - static int nextensions = sizeof(extensions)/sizeof(extensions[0]); - - for (int k = 0; k < nextensions; ++k) - { - base = ACE_OS::strstr (string, extensions[k]); - if (base != 0) - break; - } - if (base == 0) - return 0; - - if ((!base_name_only) && (idl_global->output_dir () != 0)) - { - // Path info should also be added to fname. - - // Add path and "/". - ACE_OS::sprintf (fname, "%s/", idl_global->output_dir ()); - - // Append the base part to fname. - ACE_OS::strncpy (fname + strlen (fname), string, base - string); - } - else - // Base_name_only or no putput_dir specified by user. JUST put the - // base part to fname. - ACE_OS::strncpy (fname, string, base - string); - - // Turn '\' and '\\' into '/'. - char* i = fname; - for (char* j = fname; *j != 0; ++i, ++j) - { - if (*j == '\\') - { - *i = '/'; - if (*(j+1) == '\\') - ++j; - } - else - *i = *j; - } - *i = 0; - - // Append the newextension. - ACE_OS::strcat (fname, new_extension); - - return fname; -} - -const char * -IDL_GlobalData::be_get_client_hdr (UTL_String *idl_file_name, - int base_name_only) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->client_hdr_ending (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_client_stub (UTL_String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->client_stub_ending ()); -} - -const char * -IDL_GlobalData::be_get_client_inline (UTL_String *idl_file_name, - int base_name_only) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->client_inline_ending (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_server_hdr (UTL_String *idl_file_name, - int base_name_only) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->server_hdr_ending (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_implementation_hdr (UTL_String *idl_file_name, - int base_name_only) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->implementation_hdr_ending (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_implementation_skel (UTL_String *idl_file_name, - int base_name_only) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->implementation_skel_ending (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_server_template_hdr (UTL_String *idl_file_name, - int base_name_only) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->server_template_hdr_ending (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_server_skeleton (UTL_String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->server_skeleton_ending ()); -} - -const char * -IDL_GlobalData::be_get_server_template_skeleton (UTL_String *idl_file_name, - int base_name_only) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->server_template_skeleton_ending (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_server_inline (UTL_String *idl_file_name, - int base_name_only) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->server_inline_ending (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_server_template_inline (UTL_String *idl_file_name, - int base_name_only) -{ - return be_change_idl_file_extension (idl_file_name, - idl_global->server_template_inline_ending (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_client_hdr_fname (int base_name_only) -{ - return be_get_client_hdr (idl_global->stripped_filename (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_client_stub_fname () -{ - return be_get_client_stub (idl_global->stripped_filename ()); -} - -const char * -IDL_GlobalData::be_get_client_inline_fname (int base_name_only) -{ - return be_get_client_inline (idl_global->stripped_filename (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_server_hdr_fname (int base_name_only) -{ - return be_get_server_hdr (idl_global->stripped_filename (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_implementation_hdr_fname (int base_name_only) -{ - return be_get_implementation_hdr (idl_global->stripped_filename (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_implementation_skel_fname (int base_name_only) -{ - return be_get_implementation_skel (idl_global->stripped_filename (), - base_name_only); -} - - -const char * -IDL_GlobalData::be_get_server_template_hdr_fname (int base_name_only) -{ - return be_get_server_template_hdr (idl_global->stripped_filename (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_server_skeleton_fname () -{ - return be_get_server_skeleton (idl_global->stripped_filename ()); -} -/* -const char * -IDL_GlobalData::be_get_implementation_hdr_fname () -{ - return be_get_implementation_hdr (idl_global->stripped_filename ()); -} -*/ - -const char * -IDL_GlobalData::be_get_implementation_skeleton_fname () -{ - return be_get_implementation_skel (idl_global->stripped_filename ()); -} - - -const char * -IDL_GlobalData::be_get_server_template_skeleton_fname (int base_name_only) -{ - return be_get_server_template_skeleton (idl_global->stripped_filename (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_server_inline_fname (int base_name_only) -{ - return be_get_server_inline (idl_global->stripped_filename (), - base_name_only); -} - -const char * -IDL_GlobalData::be_get_server_template_inline_fname (int base_name_only) -{ - return be_get_server_template_inline (idl_global->stripped_filename (), - base_name_only); -} - -const char* -IDL_GlobalData::export_macro (void) const -{ - if (this->export_macro_ == 0) - return ""; - return this->export_macro_; -} - -void -IDL_GlobalData::export_macro (const char *s) -{ - this->export_macro_ = ACE_OS::strdup (s); -} - -const char* -IDL_GlobalData::export_include (void) const -{ - return this->export_include_; -} - -const char* -IDL_GlobalData::pch_include (void) const -{ - return this->pch_include_; -} - -void -IDL_GlobalData::pch_include (const char *s) -{ - this->pch_include_ = ACE_OS::strdup (s); -} - -void -IDL_GlobalData::export_include (const char *s) -{ - this->export_include_ = ACE_OS::strdup (s); -} - -// Set the client_hdr_ending. -void -IDL_GlobalData::client_hdr_ending (const char* s) -{ - delete [] this->client_hdr_ending_; - this->client_hdr_ending_ = ACE::strnew (s); -} - -// Get the client_hdr_ending. -const char* -IDL_GlobalData::client_hdr_ending (void) const -{ - return this->client_hdr_ending_; -} - -void -IDL_GlobalData::client_inline_ending (const char* s) -{ - delete [] this->client_inline_ending_; - this->client_inline_ending_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::client_inline_ending (void) const -{ - return this->client_inline_ending_; -} - -// Set the client_stub_ending. -void -IDL_GlobalData::client_stub_ending (const char* s) -{ - delete [] this->client_stub_ending_; - this->client_stub_ending_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::client_stub_ending (void) const -{ - return this->client_stub_ending_; -} - -void -IDL_GlobalData::server_hdr_ending (const char* s) -{ - delete [] this->server_hdr_ending_; - this->server_hdr_ending_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::server_hdr_ending (void) const -{ - return this->server_hdr_ending_; -} - -void -IDL_GlobalData::implementation_hdr_ending (const char* s) -{ - delete [] this->implementation_hdr_ending_; - this->implementation_hdr_ending_ = ACE::strnew (s); -} - -void -IDL_GlobalData::implementation_skel_ending (const char* s) -{ - delete [] this->implementation_skel_ending_; - this->implementation_skel_ending_ = ACE::strnew (s); -} - - -void -IDL_GlobalData::impl_class_prefix (const char* s) -{ - delete [] this->impl_class_prefix_; - this->impl_class_prefix_ = ACE::strnew (s); -} - -void -IDL_GlobalData::impl_class_suffix (const char* s) -{ - delete [] this->impl_class_suffix_; - this->impl_class_suffix_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::impl_class_prefix (void) const -{ - return this->impl_class_prefix_; -} - -const char* -IDL_GlobalData::implementation_hdr_ending (void) const -{ - return this->implementation_hdr_ending_; -} - - -const char* -IDL_GlobalData::impl_class_suffix (void) const -{ - return this->impl_class_suffix_; -} - -const char* -IDL_GlobalData::implementation_skel_ending (void) const -{ - return this->implementation_skel_ending_; -} - - - -void -IDL_GlobalData::server_template_hdr_ending (const char* s) -{ - delete [] this->server_template_hdr_ending_; - this->server_template_hdr_ending_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::server_template_hdr_ending (void) const -{ - return this->server_template_hdr_ending_; -} - -void -IDL_GlobalData::server_skeleton_ending (const char* s) -{ - delete [] this->server_skeleton_ending_; - this->server_skeleton_ending_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::server_skeleton_ending (void) const -{ - return this->server_skeleton_ending_; -} - -void -IDL_GlobalData::server_template_skeleton_ending (const char* s) -{ - delete [] this->server_template_skeleton_ending_; - this->server_template_skeleton_ending_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::server_template_skeleton_ending (void) const -{ - return this->server_template_skeleton_ending_; -} - -void -IDL_GlobalData::server_inline_ending (const char* s) -{ - delete [] this->server_inline_ending_; - this->server_inline_ending_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::server_inline_ending (void) const -{ - return this->server_inline_ending_; -} - -void -IDL_GlobalData::server_template_inline_ending (const char* s) -{ - delete [] this->server_template_inline_ending_; - this->server_template_inline_ending_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::server_template_inline_ending (void) const -{ - return this->server_template_inline_ending_; -} - -void -IDL_GlobalData::output_dir (const char* s) -{ - delete [] this->output_dir_; - this->output_dir_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::output_dir (void) const -{ - return this->output_dir_; -} - -void -IDL_GlobalData::temp_dir (const char* s) -{ - // Delete the old pointer. - delete [] this->temp_dir_; - - // Allocate memory, 1 for the end of string. - ACE_NEW (this->temp_dir_, - char [ACE_OS::strlen (s) + - ACE_OS::strlen (ACE_DIRECTORY_SEPARATOR_STR_A) + - 1]); - - // Copy the strings. - ACE_OS::sprintf (this->temp_dir_, - "%s%s", - s, - ACE_DIRECTORY_SEPARATOR_STR_A); -} - -const char* -IDL_GlobalData::temp_dir (void) const -{ - return this->temp_dir_; -} - -void -IDL_GlobalData::gperf_path (const char* s) -{ - delete [] this->gperf_path_; - this->gperf_path_ = ACE::strnew (s); -} - -const char* -IDL_GlobalData::gperf_path (void) const -{ - return this->gperf_path_; -} - -void -IDL_GlobalData::any_support (idl_bool val) -{ - this->any_support_ = val; -} - -idl_bool -IDL_GlobalData::any_support (void) -{ - return this->any_support_; -} - -void -IDL_GlobalData::tc_support (idl_bool val) -{ - this->tc_support_ = val; -} - -idl_bool -IDL_GlobalData::tc_support (void) -{ - return this->tc_support_; -} - -#ifdef IDL_HAS_VALUETYPE -void -IDL_GlobalData::obv_opt_accessor (idl_bool val) -{ - this->obv_opt_accessor_ = val; -} - -idl_bool -IDL_GlobalData::obv_opt_accessor (void) -{ - return this->obv_opt_accessor_; -} - -void -IDL_GlobalData::obv_support (idl_bool val) -{ - this->obv_support_ = val; -} -#endif /* IDL_HAS_VALUETYPE */ - -idl_bool -IDL_GlobalData::obv_support (void) -{ - return this->obv_support_; -} - -void -IDL_GlobalData::compiled_marshaling (idl_bool val) -{ - this->compiled_marshaling_ = val; -} - -idl_bool -IDL_GlobalData::compiled_marshaling (void) -{ - return this->compiled_marshaling_; -} - -void -IDL_GlobalData::gen_impl_files (idl_bool val) -{ - this->gen_impl_files_ = val; -} - -idl_bool -IDL_GlobalData::gen_impl_files (void) -{ - return this->gen_impl_files_; -} - -void -IDL_GlobalData::gen_copy_ctor (idl_bool val) -{ - this->gen_copy_ctor_ = val; -} - -idl_bool -IDL_GlobalData::gen_copy_ctor (void) -{ - return this->gen_copy_ctor_; -} - -void -IDL_GlobalData::gen_assign_op (idl_bool val) -{ - this->gen_assign_op_ = val; -} - -idl_bool -IDL_GlobalData::gen_assign_op (void) -{ - return this->gen_assign_op_; -} - -void -IDL_GlobalData::gen_thru_poa_collocation (idl_bool val) -{ - this->gen_thru_poa_collocation_ = val; -} - -idl_bool -IDL_GlobalData::gen_thru_poa_collocation (void) -{ - return this->gen_thru_poa_collocation_; -} - -void -IDL_GlobalData::gen_direct_collocation (idl_bool val) -{ - this->gen_direct_collocation_ = val; -} - -idl_bool -IDL_GlobalData::gen_direct_collocation (void) -{ - return this->gen_direct_collocation_; -} - -void -IDL_GlobalData::exception_support (idl_bool val) -{ - this->exception_support_ = val; -} - -idl_bool -IDL_GlobalData::exception_support (void) -{ - return this->exception_support_; -} - -void -IDL_GlobalData::opt_tc (idl_bool val) -{ - this->opt_tc_ = val; -} - -idl_bool -IDL_GlobalData::opt_tc (void) -{ - return this->opt_tc_; -} - -void -IDL_GlobalData::case_diff_error (idl_bool val) -{ - this->case_diff_error_ = val; -} - -idl_bool -IDL_GlobalData::case_diff_error (void) -{ - return this->case_diff_error_; -} - -void -IDL_GlobalData::ami_call_back (idl_bool val) -{ - this->ami_call_back_ = val; -} - -idl_bool -IDL_GlobalData::ami_call_back (void) -{ - return this->ami_call_back_; -} diff --git a/TAO/TAO_IDL/util/utl_identifier.cpp b/TAO/TAO_IDL/util/utl_identifier.cpp deleted file mode 100644 index f5a9172ae06..00000000000 --- a/TAO/TAO_IDL/util/utl_identifier.cpp +++ /dev/null @@ -1,134 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_identifier - Implementation of identifiers - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_identifier, "$Id$") - -/* - * Constructors - */ - -Identifier::Identifier () - : pv_string (NULL) -{ -} - -Identifier::Identifier (const char *s, long, long, long) - : pv_string (ACE_OS::strdup (s)) -{ -} - -Identifier::~Identifier () -{ - if (this->pv_string != 0) - { - // The string was allocated using strdup, which uses malloc. - ACE_OS::free (this->pv_string); - } -} - -// Operations - -char * -Identifier::get_string () -{ - return pv_string; -} - -// Compare two Identifier * -long -Identifier::compare (Identifier *o) -{ - if (o == NULL) return I_FALSE; - if (pv_string == NULL || o->get_string() == NULL) - return I_FALSE; - return (ACE_OS::strcmp (pv_string, o->get_string ()) == 0) ? I_TRUE : I_FALSE; -} - -// Report the appropriate error if the two identifiers differ only in case. -long -Identifier::case_compare (Identifier *o) -{ - UTL_String member (this->pv_string); - UTL_String other (o->get_string ()); - - return member.compare (&other); -} - -// Dumping - -void -Identifier::dump (ostream &o) -{ - if (pv_string == NULL) return; - - o << get_string(); -} - diff --git a/TAO/TAO_IDL/util/utl_idlist.cpp b/TAO/TAO_IDL/util/utl_idlist.cpp deleted file mode 100644 index 93fd57bd468..00000000000 --- a/TAO/TAO_IDL/util/utl_idlist.cpp +++ /dev/null @@ -1,191 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_idlist.cc -// -// Implementation of a list of utl_string nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_idlist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_IdList::UTL_IdList (Identifier *s, UTL_IdList *cdr) - : UTL_List ((UTL_List *) cdr), - pd_car_data (s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Copy a list -UTL_List * -UTL_IdList::copy () -{ - if (tail () == NULL) - return (UTL_List *) new UTL_IdList (head (), NULL); - return (UTL_List *) new UTL_IdList (head (), (UTL_IdList *) tail ()->copy ()); -} - -// Get list item -Identifier * -UTL_IdList::head () -{ - return pd_car_data; -} - -// Get last item of this list -Identifier * -UTL_IdList::last_component () -{ - if (tail()== NULL) - return head (); - return ((UTL_IdList *) tail ())->last_component (); -} - -// AST Dumping -void -UTL_IdList::dump (ostream &o) -{ - UTL_IdListActiveIterator *i = new UTL_IdListActiveIterator (this); - long first = I_TRUE; - long second = I_FALSE; - - while (!(i->is_done ())) - { - if (!first) - o << "::"; - else if (second) - first = second = I_FALSE; - i->item ()->dump (o); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "::") != 0) - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_IdList active iterator - -/* - * Constructor - */ - -UTL_IdListActiveIterator::UTL_IdListActiveIterator (UTL_IdList *s) - : UTL_ListActiveIterator (s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -Identifier * -UTL_IdListActiveIterator::item () -{ - if (source == NULL) - return NULL; - return ((UTL_IdList *) source)->head (); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_indenter.cpp b/TAO/TAO_IDL/util/utl_indenter.cpp deleted file mode 100644 index 852e5c203f6..00000000000 --- a/TAO/TAO_IDL/util/utl_indenter.cpp +++ /dev/null @@ -1,135 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_indenter.cc - Implementation of indenter for dumping IDL AST -// - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_indenter, "$Id$") - -/* - * Constructors - */ -UTL_Indenter::UTL_Indenter () - : pd_indent_level (0) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Reset indentation level -void -UTL_Indenter::reset () -{ - pd_indent_level = 0; -} - -// Increase indentation level -void -UTL_Indenter::increase () -{ - pd_indent_level++; -} - -// Decrease indentation level -void -UTL_Indenter::decrease () -{ - if (pd_indent_level > 0) - pd_indent_level--; -} - -// Produce white space to indent to current indentation level on ostream o -void -UTL_Indenter::skip_to (ostream &o) -{ - long i; - - for (i = 0; i < pd_indent_level; i++) - o << " "; -} - -// Produce white space to indent to current indentation level on ostream o -void -UTL_Indenter::skip_to (FILE *fp) -{ - long i; - - for (i = 0; i < pd_indent_level; i++) - ACE_OS::fprintf (fp, " "); -} - -/* - * Redefined virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_labellist.cpp b/TAO/TAO_IDL/util/utl_labellist.cpp deleted file mode 100644 index 8dfa1b4907f..00000000000 --- a/TAO/TAO_IDL/util/utl_labellist.cpp +++ /dev/null @@ -1,147 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_labellist.cc -// -// Implementation of a list of scoped names - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_labellist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_LabelList::UTL_LabelList(AST_UnionLabel *s, UTL_LabelList *cdr) - : UTL_List(cdr), - pd_car_data(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -AST_UnionLabel * -UTL_LabelList::head() -{ - return pd_car_data; -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_LabelList active iterator - -/* - * Constructor - */ - -UTL_LabellistActiveIterator::UTL_LabellistActiveIterator(UTL_LabelList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -AST_UnionLabel * -UTL_LabellistActiveIterator::item() -{ - if (source == NULL) - return NULL; - return ((UTL_LabelList *) source)->head(); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_list.cpp b/TAO/TAO_IDL/util/utl_list.cpp deleted file mode 100644 index ffbbe4e52f4..00000000000 --- a/TAO/TAO_IDL/util/utl_list.cpp +++ /dev/null @@ -1,199 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_list.cc -// -// Implementation of generic single-linked lists - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_list, "$Id$") - -/* - * Constructor(s) - */ - -UTL_List::UTL_List(UTL_List *c) - : pd_cdr_data(c) -{ -} - -/* - * Private operations - */ - -// Compute list length -long -UTL_List::list_length(long n) -{ - if (pd_cdr_data == NULL) - return n; - else - return pd_cdr_data->list_length(n+1); -} - -/* - * Public operations - */ - -// Smash last cdr with l -void -UTL_List::nconc(UTL_List *l) -{ - if (pd_cdr_data == NULL) - pd_cdr_data = l; - else - pd_cdr_data->nconc(l); -} - -/* - * Override this operation to copy lists of other types - */ -// Copy a list -UTL_List * -UTL_List::copy() -{ - if (pd_cdr_data == NULL) - return new UTL_List(NULL); - return new UTL_List(pd_cdr_data->copy()); -} - -// Get next list -UTL_List * -UTL_List::tail() -{ - return pd_cdr_data; -} - -// Set next list -void -UTL_List::set_tail(UTL_List *l) -{ - pd_cdr_data = l; -} - -// Compute list length -long -UTL_List::length() -{ - return list_length(1); -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_List active iterator - -/* - * Constructor - */ - -UTL_ListActiveIterator::UTL_ListActiveIterator(UTL_List *s) - : source(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Is iterator done? -long -UTL_ListActiveIterator::is_done() -{ - return (source == NULL) ? I_TRUE : I_FALSE; -} - -// Advance to next item -void -UTL_ListActiveIterator::next() -{ - if (source != NULL) - source = source->tail(); -} - -/* - * Redefinition of inherited operations - */ - diff --git a/TAO/TAO_IDL/util/utl_namelist.cpp b/TAO/TAO_IDL/util/utl_namelist.cpp deleted file mode 100644 index d0f34fbf3f7..00000000000 --- a/TAO/TAO_IDL/util/utl_namelist.cpp +++ /dev/null @@ -1,147 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_namelist.cc -// -// Implementation of a list of scoped names - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_namelist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_NameList::UTL_NameList(UTL_ScopedName *s, UTL_NameList *cdr) - : UTL_List(cdr), - pd_car_data(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -UTL_ScopedName * -UTL_NameList::head() -{ - return pd_car_data; -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_NameList active iterator - -/* - * Constructor - */ - -UTL_NamelistActiveIterator::UTL_NamelistActiveIterator(UTL_NameList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -UTL_ScopedName * -UTL_NamelistActiveIterator::item() -{ - if (source == NULL) - return NULL; - return ((UTL_NameList *) source)->head(); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_scope.cpp b/TAO/TAO_IDL/util/utl_scope.cpp deleted file mode 100644 index bd5c9e081aa..00000000000 --- a/TAO/TAO_IDL/util/utl_scope.cpp +++ /dev/null @@ -1,1394 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * utl_scope.cc - Implementation of class UTL_Scope - */ - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_scope, "$Id$") - -#undef INCREMENT -#define INCREMENT 64 - -/* - * Static functions - */ -static Identifier *_global_scope_name = NULL; -static Identifier *_global_scope_root_name = NULL; - -/* - * Determines if a name is global - */ -static long -is_global_name(Identifier *i) -{ - long comp_result = 0; - - if (i == NULL) return comp_result; - - if (_global_scope_name == NULL) - _global_scope_name = new Identifier("::", 1, 0, I_FALSE); - - if (_global_scope_root_name == NULL) - _global_scope_root_name = new Identifier("", 1, 0, I_FALSE); - - comp_result = i->compare(_global_scope_name); - if (!comp_result) - comp_result = i->compare(_global_scope_root_name); - - return comp_result; -} - -// Helper function for lookup_by_name. Iterates doing local lookups of -// subsequent components of a scoped name. -static AST_Decl * -iter_lookup_by_name_local (AST_Decl *d, - UTL_ScopedName *e, - idl_bool treat_as_ref, - long scope_offset) -{ - Identifier *s; - AST_Typedef *td; - UTL_IdListActiveIterator *i; - UTL_Scope *sc; - UTL_Scope *t = NULL; - - i = new UTL_IdListActiveIterator (e); - - for (i->next(); !(i->is_done ()); ) - { - s = i->item (); - - // Update iterator before loop. This is needed for the check for - // typedef, since we only want to look at the base type if there - //actually are more components of the name to resolve. - i->next (); - scope_offset--; - - // Next component in name was not found - if (d == NULL) - { - delete i; - return NULL; - } - - // If this is a typedef and we're not done, we should get the - // base type to get the scope it defines (if any) - if (!i->is_done ()) - { - while (d != NULL && d->node_type () == AST_Decl::NT_typedef) - { - td = AST_Typedef::narrow_from_decl (d); - - if (td == NULL) - { - delete i; - return NULL; - } - - d = td->base_type (); - } - - if (d == NULL) - { - delete i; - return NULL; - } - } - - // Try to convert the AST_Decl to a UTL_Scope - sc = DeclAsScope (d); - if (sc == NULL) - { - delete i; - return NULL; - } - - // Look up the next element - t = d->defined_in (); - - d = sc->lookup_by_name_local (s, - treat_as_ref, - 0, - scope_offset); - - // If there is a reopened module in a scope somewhat - // removed from where we are, we may need to backtrack - // to find the subsequent declaration(s) of that - // module's scope. - while (d == NULL && t != NULL) - { - d = t->lookup_by_name ((UTL_ScopedName *) e->tail (), - treat_as_ref, - 1, - 1, - ++scope_offset); - - AST_Decl *tmp = ScopeAsDecl (t); - - t = tmp->defined_in (); - } - } - - // OK, done with the loop - delete i; - return d; -} - -/* - * Constructor(s) - */ -UTL_Scope::UTL_Scope() - : pd_scope_node_type(AST_Decl::NT_module), - pd_decls(NULL), - pd_decls_allocated(0), - pd_decls_used(0), - pd_local_types(NULL), - pd_locals_allocated(0), - pd_locals_used(0), - pd_referenced(NULL), - pd_referenced_allocated(0), - pd_referenced_used(0) -{ -} - -UTL_Scope::UTL_Scope(AST_Decl::NodeType nt) - : pd_scope_node_type(nt), - pd_decls(NULL), - pd_decls_allocated(0), - pd_decls_used(0), - pd_local_types(NULL), - pd_locals_allocated(0), - pd_locals_used(0), - pd_referenced(NULL), - pd_referenced_allocated(0), - pd_referenced_used(0) -{ -} - -/* - * Private operations - */ - -static -AST_Decl * add_type(AST_Type *type) -{ - AST_Decl * result = 0; - UTL_Scope * scope = 0; - - switch (type->node_type()) { - case AST_Decl::NT_array: - result = - idl_global->root()->add_array(AST_Array::narrow_from_decl(type)); - break; - case AST_Decl::NT_enum: - result = type->defined_in()->add_enum(AST_Enum::narrow_from_decl(type)); - scope = AST_Enum::narrow_from_decl(type); - break; - case AST_Decl::NT_sequence: - result = - idl_global->root()->add_sequence(AST_Sequence::narrow_from_decl(type)); - break; - case AST_Decl::NT_string: - result = - idl_global->root()->add_string(AST_String::narrow_from_decl(type)); - break; - case AST_Decl::NT_struct: - result = - type->defined_in()-> - add_structure(AST_Structure::narrow_from_decl(type)); - scope = AST_Structure::narrow_from_decl(type); - break; - case AST_Decl::NT_union: - result = - type->defined_in()->add_union(AST_Union::narrow_from_decl(type)); - scope = AST_Union::narrow_from_decl(type); - break; - default: - // for non-complex types, like predefined types - // no additional add needed, assume everything is ok - result = (AST_Decl *) 1; - break; - } - if (scope) - result = scope->call_add(); - return result; -} - -/* - * Protected operations - */ - -/* - * Special version of lookup which only looks at the local name instead of - * the fully scoped name, when doing lookups. This version is intended to - * be used only by the CFE add_xxx functions - */ -AST_Decl * -UTL_Scope::lookup_for_add(AST_Decl *d, idl_bool treat_as_ref) -{ - if (d == NULL) - return NULL; - return lookup_by_name_local(d->local_name(), treat_as_ref); -} - -/* - * Public operations - */ - -// Narrowing -IMPL_NARROW_METHODS0(UTL_Scope) -IMPL_NARROW_FROM_SCOPE(UTL_Scope) - -// Scope Management Protocol -// -// All members of the protocol defined in UTL_Scope simply return the node -// and don't do a thing. These members are simply dummies to retain -// compatibility with pre-two-pass compiler back-ends. - -AST_PredefinedType *UTL_Scope::add_predefined_type(AST_PredefinedType *p) -{ - if (p == NULL) return NULL; - p->set_added(I_TRUE); - return p; -} - -AST_Module *UTL_Scope::add_module(AST_Module *m) -{ - if (m == NULL) return NULL; - m->set_added(I_TRUE); - return m; -} - -AST_Interface *UTL_Scope::add_interface(AST_Interface *i) -{ - if (i == NULL) return NULL; - i->set_added(I_TRUE); - return i; -} - -AST_InterfaceFwd *UTL_Scope::add_interface_fwd(AST_InterfaceFwd *i) -{ - if (i == NULL) return NULL; - i->set_added(I_TRUE); - return i; -} - -AST_Exception *UTL_Scope::add_exception(AST_Exception *e) -{ - if (e == NULL) return NULL; - e->set_added(I_TRUE); - return e; -} - -AST_Constant *UTL_Scope::add_constant(AST_Constant *c) -{ - if (c == NULL) return NULL; - c->set_added(I_TRUE); - return c; -} - -UTL_StrList *UTL_Scope::add_context(UTL_StrList *c) -{ - return c; -} - -UTL_NameList *UTL_Scope::add_exceptions(UTL_NameList *e) -{ - return e; -} - -AST_Attribute *UTL_Scope::add_attribute(AST_Attribute *a) -{ - if (a == NULL) return NULL; - a->set_added(I_TRUE); - if (!a->field_type()->added()) { - return add_type(a->field_type()) ? a : 0 ; - } else - return a; -} - -AST_Operation *UTL_Scope::add_operation(AST_Operation *o) -{ - if (o == NULL) return NULL; - o->set_added(I_TRUE); - if (!o->return_type()->added()) { - return add_type(o->return_type()) ? o : 0 ; - } else - return o; -} - -AST_Argument *UTL_Scope::add_argument(AST_Argument *a) -{ - if (a == NULL) return NULL; - a->set_added(I_TRUE); - if (!a->field_type()->added()) { - return add_type(a->field_type()) ? a : 0 ; - } else - return a; -} - -AST_Union *UTL_Scope::add_union(AST_Union *u) -{ - if (u == NULL) return NULL; - u->set_added(I_TRUE); - return u; -} - -AST_UnionBranch *UTL_Scope::add_union_branch(AST_UnionBranch *u) -{ - if (u == NULL) return NULL; - u->set_added(I_TRUE); - if (!u->field_type()->added()) { - return add_type(u->field_type()) ? u : 0 ; - } else - return u; -} - -AST_Structure *UTL_Scope::add_structure(AST_Structure *s) -{ - if (s == NULL) return NULL; - s->set_added(I_TRUE); - return s; -} - -AST_Field *UTL_Scope::add_field(AST_Field *f) -{ - if (f == NULL) return NULL; - f->set_added(I_TRUE); - if (!f->field_type()->added()) { - return add_type(f->field_type()) ? f : 0 ; - } else - return f; -} - -AST_Enum *UTL_Scope::add_enum(AST_Enum *e) -{ - if (e == NULL) return NULL; - e->set_added(I_TRUE); - return e; -} - -AST_EnumVal *UTL_Scope::add_enum_val(AST_EnumVal *e) -{ - if (e == NULL) return NULL; - e->set_added(I_TRUE); - return e; -} - -AST_Typedef *UTL_Scope::add_typedef(AST_Typedef *t) -{ - if (t == NULL) return NULL; - t->set_added(I_TRUE); - if (!t->base_type()->added()) { - return add_type(t->base_type()) ? t : 0 ; - } else - return t; -} - -AST_Sequence *UTL_Scope::add_sequence(AST_Sequence *s) -{ - if (s == NULL) return NULL; - s->set_added(I_TRUE); - if (!s->base_type()->added()) { - return add_type(s->base_type()) ? s : 0 ; - } else - return s; -} - -AST_String *UTL_Scope::add_string(AST_String *s) -{ - if (s == NULL) return NULL; - s->set_added(I_TRUE); - return s; -} - -AST_Array *UTL_Scope::add_array(AST_Array *a) -{ - if (a == NULL) return NULL; - a->set_added(I_TRUE); - if (!a->base_type()->added()) { - return add_type(a->base_type()) ? a : 0 ; - } else - return a; -} - -AST_Native *UTL_Scope::add_native (AST_Native *n) -{ - if (n == NULL) return NULL; - n->set_added (I_TRUE); - return n; -} - -// Protected Front End Scope Management Protocol -// -// All members of the protocol defined in UTL_Scope simply return NULL -// and don't do a thing. This ensures that runtime errors will discover -// operations which should have been redefined to allow certain kinds of -// AST nodes to appear in a given context - -AST_PredefinedType *UTL_Scope::fe_add_predefined_type(AST_PredefinedType *) -{ - return NULL; -} - -AST_Module *UTL_Scope::fe_add_module(AST_Module *) -{ - return NULL; -} - -AST_Interface *UTL_Scope::fe_add_interface(AST_Interface *) -{ - return NULL; -} - -AST_InterfaceFwd *UTL_Scope::fe_add_interface_fwd(AST_InterfaceFwd *) -{ - return NULL; -} - -AST_Exception *UTL_Scope::fe_add_exception(AST_Exception *) -{ - return NULL; -} - -AST_Constant *UTL_Scope::fe_add_constant(AST_Constant *) -{ - return NULL; -} - -UTL_StrList *UTL_Scope::fe_add_context(UTL_StrList *) -{ - return NULL; -} - -UTL_NameList *UTL_Scope::fe_add_exceptions(UTL_NameList *) -{ - return NULL; -} - -AST_Attribute *UTL_Scope::fe_add_attribute(AST_Attribute *) -{ - return NULL; -} - -AST_Operation *UTL_Scope::fe_add_operation(AST_Operation *) -{ - return NULL; -} - -AST_Argument *UTL_Scope::fe_add_argument(AST_Argument *) -{ - return NULL; -} - -AST_Union *UTL_Scope::fe_add_union(AST_Union *) -{ - return NULL; -} - -AST_UnionBranch *UTL_Scope::fe_add_union_branch(AST_UnionBranch *) -{ - return NULL; -} - -AST_Structure *UTL_Scope::fe_add_structure(AST_Structure *) -{ - return NULL; -} - -AST_Field *UTL_Scope::fe_add_field(AST_Field *) -{ - return NULL; -} - -AST_Enum *UTL_Scope::fe_add_enum(AST_Enum *) -{ - return NULL; -} - -AST_EnumVal *UTL_Scope::fe_add_enum_val(AST_EnumVal *) -{ - return NULL; -} - -AST_Typedef *UTL_Scope::fe_add_typedef(AST_Typedef *) -{ - return NULL; -} - -AST_Sequence *UTL_Scope::fe_add_sequence(AST_Sequence *) -{ - return NULL; -} - -AST_String *UTL_Scope::fe_add_string(AST_String *) -{ - return NULL; -} - -AST_Array *UTL_Scope::fe_add_array(AST_Array *) -{ - return NULL; -} - -AST_Native *UTL_Scope::fe_add_native (AST_Native *) -{ - return NULL; -} - -// This is the second pass of the front end -// It calls the public add protocol on everything in scope. -// It calls the add_xx functions of the most derived AST_Node. - -AST_Decl *UTL_Scope::call_add() -{ - AST_Decl *result = NULL; - AST_Decl *decl; - - UTL_ScopeActiveIterator *i; - UTL_Scope *scope; - - i = new UTL_ScopeActiveIterator(this, UTL_Scope::IK_decls); - while(!(i->is_done())) { - decl = i->item(); - scope = 0; - switch (decl->node_type()) { - case AST_Decl::NT_argument: - result = add_argument(AST_Argument::narrow_from_decl(decl)); - break; - case AST_Decl::NT_array: - result = add_array(AST_Array::narrow_from_decl(decl)); - break; - case AST_Decl::NT_attr: - result = add_attribute(AST_Attribute::narrow_from_decl(decl)); - break; - case AST_Decl::NT_const: - result = add_constant(AST_Constant::narrow_from_decl(decl)); - break; - case AST_Decl::NT_enum: - scope = AST_Enum::narrow_from_decl(decl); - result = add_enum(AST_Enum::narrow_from_decl(decl)); - break; - case AST_Decl::NT_enum_val: - result = add_enum_val(AST_EnumVal::narrow_from_decl(decl)); - break; - case AST_Decl::NT_except: - scope = AST_Exception::narrow_from_decl(decl); - result = add_exception(AST_Exception::narrow_from_decl(decl)); - break; - case AST_Decl::NT_field: - result = add_field(AST_Field::narrow_from_decl(decl)); - break; - case AST_Decl::NT_interface: - scope = AST_Interface::narrow_from_decl(decl); - result = add_interface(AST_Interface::narrow_from_decl(decl)); - break; - case AST_Decl::NT_interface_fwd: - result = add_interface_fwd(AST_InterfaceFwd::narrow_from_decl(decl)); - break; - case AST_Decl::NT_module: - scope = AST_Module::narrow_from_decl(decl); - result = add_module(AST_Module::narrow_from_decl(decl)); - break; - case AST_Decl::NT_native: - result = add_native (AST_Native::narrow_from_decl(decl)); - break; - case AST_Decl::NT_op: - result = add_operation(AST_Operation::narrow_from_decl(decl)); - scope = AST_Operation::narrow_from_decl(decl); - break; - case AST_Decl::NT_pre_defined: - result = - add_predefined_type(AST_PredefinedType::narrow_from_decl(decl)); - break; - case AST_Decl::NT_sequence: - result = add_sequence(AST_Sequence::narrow_from_decl(decl)); - break; - case AST_Decl::NT_string: - result = add_string(AST_String::narrow_from_decl(decl)); - break; - case AST_Decl::NT_struct: - result = add_structure(AST_Structure::narrow_from_decl(decl)); - scope = AST_Structure::narrow_from_decl(decl); - break; - case AST_Decl::NT_typedef: - result = add_typedef(AST_Typedef::narrow_from_decl(decl)); - break; - case AST_Decl::NT_union: - result = add_union(AST_Union::narrow_from_decl(decl)); - scope = AST_Union::narrow_from_decl(decl); - break; - case AST_Decl::NT_union_branch: - result = add_union_branch(AST_UnionBranch::narrow_from_decl(decl)); - break; - default: - return NULL; - } - if (scope) - scope->call_add(); - i->next(); - } - return result; -} - -// Private lookup mechanism - -/* - * Lookup the node for a primitive (built in) type - */ -AST_Decl * -UTL_Scope::lookup_primitive_type(AST_Expression::ExprType et) -{ - AST_Decl *as_decl; - UTL_Scope *ancestor; - AST_PredefinedType *t; - UTL_ScopeActiveIterator *i; - AST_PredefinedType::PredefinedType pdt; - - as_decl = ScopeAsDecl(this); - if (as_decl == NULL) - return NULL; - ancestor = as_decl->defined_in(); - if (ancestor != NULL) - return ancestor->lookup_primitive_type(et); - - switch (et) { - case AST_Expression::EV_short: - pdt = AST_PredefinedType::PT_short; - break; - case AST_Expression::EV_ushort: - pdt = AST_PredefinedType::PT_ushort; - break; - case AST_Expression::EV_long: - pdt = AST_PredefinedType::PT_long; - break; - case AST_Expression::EV_ulong: - pdt = AST_PredefinedType::PT_ulong; - break; - case AST_Expression::EV_longlong: - pdt = AST_PredefinedType::PT_longlong; - break; - case AST_Expression::EV_ulonglong: - pdt = AST_PredefinedType::PT_ulonglong; - break; - case AST_Expression::EV_float: - pdt = AST_PredefinedType::PT_float; - break; - case AST_Expression::EV_double: - pdt = AST_PredefinedType::PT_double; - break; - case AST_Expression::EV_longdouble: - pdt = AST_PredefinedType::PT_longdouble; - break; - case AST_Expression::EV_char: - pdt = AST_PredefinedType::PT_char; - break; - case AST_Expression::EV_wchar: - pdt = AST_PredefinedType::PT_wchar; - break; - case AST_Expression::EV_octet: - pdt = AST_PredefinedType::PT_octet; - break; - case AST_Expression::EV_bool: - pdt = AST_PredefinedType::PT_boolean; - break; - case AST_Expression::EV_any: - pdt = AST_PredefinedType::PT_any; - break; - case AST_Expression::EV_void: - pdt = AST_PredefinedType::PT_void; - break; - case AST_Expression::EV_string: - case AST_Expression::EV_wstring: - case AST_Expression::EV_none: - default: - return NULL; - } - i = new UTL_ScopeActiveIterator(this, UTL_Scope::IK_decls); - while (!(i->is_done())) { - as_decl = i->item(); - if (as_decl->node_type() == AST_Decl::NT_pre_defined) { - t = AST_PredefinedType::narrow_from_decl(as_decl); - if (t == NULL) { - i->next(); - continue; - } - if (t->pt() == pdt) { - delete i; - return t; - } - } - i->next(); - } - delete i; - return NULL; -} - -// Look through inherited interfaces -AST_Decl * -UTL_Scope::look_in_inherited (UTL_ScopedName *e, - idl_bool treat_as_ref) -{ - AST_Decl *d = NULL; - AST_Decl *d_before = NULL; - AST_Interface *i = AST_Interface::narrow_from_scope (this); - AST_Interface **is; - long nis; - - // This scope is not an interface.. - if (i == NULL) - { - return NULL; - } - - // Can't look in an interface which was not yet defined - if (!i->is_defined ()) - { - idl_global->err ()->fwd_decl_lookup (i, - e); - return NULL; - } - - //OK, loop through inherited interfaces. - - // (Don't leave the inheritance hierarchy, no module or global ...) - // Find all and report ambiguous results as error. - - for (nis = i->n_inherits (), is = i->inherits (); nis > 0; nis--, is++) - { - d = (*is)->lookup_by_name (e, - treat_as_ref, - 0 /* not in_parent */); - if (d != NULL) - { - if (d_before == NULL) - { // first result found - d_before = d; - } - else - { // conflict against further results ? - if (d != d_before) - { - cerr << "warning in " << idl_global->filename ()->get_string () - << " line " << idl_global->lineno () << ": " ; - e->dump (cerr); - cerr << " is ambiguous in scope.\nFound "; - d->name ()->dump (cerr); - cerr << " and "; - d_before->name ()->dump (cerr); - cerr << ".\n"; - } - } - } - } - - return d_before; -} - -// Look up a String * in local scope only -AST_Decl * -UTL_Scope::lookup_by_name_local (Identifier *e, - idl_bool, - long index, - long scope_offset) -{ - UTL_ScopeActiveIterator *i = - new UTL_ScopeActiveIterator (this, - UTL_Scope::IK_both); - AST_Decl *d; - AST_InterfaceFwd *fwd; - - // Iterate over this scope - while (!(i->is_done ())) - { - d = i->item (); - - Identifier *item_name = d->local_name (); - - if (item_name == NULL) - { - i->next (); - continue; - } - - long equal = 0; - - if (scope_offset == 0) - { - equal = item_name->case_compare (e); - } - else - { - // If d is an argument in some other scope, - // whether or not it matches e is irrelevant, - // and can only cause problems if it does. - if (d->node_type () != AST_Decl::NT_argument) - { - equal = item_name->compare (e); - } - } - - if (equal) - { - if (index == 0) - { - delete i; - - // Special case for forward declared interfaces. - // Look through the forward declaration and retrieve - // the full definition. - if (d->node_type () == AST_Decl::NT_interface_fwd) - { - fwd = AST_InterfaceFwd::narrow_from_decl (d); - - if (fwd == NULL) - { - d = NULL; - } - else - { - d = fwd->full_definition (); - } - } - - return d; - } - else - { - index--; - } - } - i->next (); - } - delete i; - - // OK, not found, return NULL - return NULL; -} - -/* - * Implements lookup by name for scoped names - */ -AST_Decl * -UTL_Scope::lookup_by_name (UTL_ScopedName *e, - idl_bool treat_as_ref, - idl_bool in_parent, - long start_index, - long scope_offset) -{ - AST_Decl *d; - UTL_Scope *t = NULL; - - // Empty name? error - if (e == NULL) - { - return NULL; - } - - // If name starts with "::" or "" start look up in global scope - if (is_global_name (e->head ())) - { - // Get parent scope - d = ScopeAsDecl (this); - - if (d == NULL) - { - return NULL; - } - - t = d->defined_in(); - - // If this is the global scope.. - if (t == NULL) - { - // Look up tail of name starting here - d = lookup_by_name ((UTL_ScopedName *) e->tail (), - treat_as_ref); - - // Now return whatever we have - return d; - } - - // OK, not global scope yet, so simply iterate with parent scope - d = t->lookup_by_name (e, - treat_as_ref); - - // If treat_as_ref is true and d is not NULL, add d to - // set of nodes referenced here - if (treat_as_ref && d != NULL) - { - add_to_referenced (d, - I_FALSE); - } - - // Now return what we have - return d; - } - - // The name does not start with "::" - // Is name defined here? - long index = start_index; - - while (1) - { - d = lookup_by_name_local (e->head (), - treat_as_ref, - index, - scope_offset); - - // If we have popped up to a parent scope, we - // must check the other children, if we haven't - // had any luck so far. - while (d == NULL && scope_offset > 1) - { - UTL_ScopeActiveIterator *iter = - new UTL_ScopeActiveIterator (this, - UTL_Scope::IK_both); - - scope_offset--; - - while (!iter->is_done ()) - { - d = iter->item (); - UTL_Scope *t = DeclAsScope (d); - if (t == NULL) - { - d = NULL; - } - else - { - AST_Interface *i = - AST_Interface::narrow_from_scope (t); - if (i == NULL || i->is_defined ()) - { - d = t->lookup_by_name (e, - treat_as_ref, - 0, - 0, - scope_offset); - } - else - { - d = NULL; - } - - if (d != NULL) - { - break; - } - } - - iter->next (); - } - - delete iter; - } - - if (d == NULL) - { - - // Special case for scope which is an interface. We have to look - // in the inherited interfaces as well.. - // Look before parent scopes ! - if (pd_scope_node_type == AST_Decl::NT_interface) - { - d = look_in_inherited (e, - treat_as_ref); - } - - if ((d == NULL) && in_parent) - { - - // OK, not found. Go down parent scope chain. - d = ScopeAsDecl (this); - - if (d != NULL) - { - t = d->defined_in(); - - if (t == NULL) - { - d = NULL; - } - else - { - d = t->lookup_by_name (e, - treat_as_ref, - in_parent, - 0, - ++scope_offset); - } - } - } - - // If treat_as_ref is true and d is not NULL, add d to - // set of nodes referenced here - if (treat_as_ref && d != NULL) - { - add_to_referenced (d, - I_FALSE); - } - - // OK, now return whatever we found - return d; - } - - // OK, start of name is defined. Now loop doing local lookups - // of subsequent elements of the name - d = iter_lookup_by_name_local (d, - e, - treat_as_ref, - scope_offset); - - // If treat_as_ref is true and d is not NULL, add d to - // set of nodes referenced here - if (treat_as_ref && d != NULL) - { - add_to_referenced (d, - I_FALSE); - } - - // All OK, name fully resolved - if ( d != NULL ) - { - return d; - } - - else index++ ; - } -} - -// Add a node to set of nodes referenced in this scope -void -UTL_Scope::add_to_referenced(AST_Decl *e, idl_bool recursive) -{ - UTL_Scope *s; - AST_Decl **tmp; - AST_Interface *itf; - long oreferenced_allocated; - long i; - - if (e == NULL) return; - - // Special case for forward declared interfaces in the - // scope in which they're defined. Cannot add before full - // definition is seen - if (e->node_type() == AST_Decl::NT_interface) { - itf = AST_Interface::narrow_from_decl(e); - if (itf != NULL && itf->defined_in() == this && !itf->is_defined()) - return; - } - // Only insert if it is not there already - if (referenced(e)) - return; - - // Make sure there's space for one more - if (pd_referenced_allocated == pd_referenced_used) { - - oreferenced_allocated = pd_referenced_allocated; - pd_referenced_allocated += INCREMENT; - tmp = new AST_Decl *[pd_referenced_allocated]; - - for (i = 0; i < oreferenced_allocated; i++) - tmp[i] = pd_referenced[i]; - - delete []pd_referenced; - - pd_referenced = tmp; - } - - // Insert new reference - pd_referenced[pd_referenced_used++] = e; - - // Now, if recursive is specified and "this" is not a common ancestor - // of the referencing scope and the scope of definition of "e" then - // add "e" to the set of referenced nodes in the parent of "this" - if (recursive && !(e->has_ancestor(ScopeAsDecl(this)))) { - s = e->defined_in(); - if (s != NULL) - s->add_to_referenced(e, recursive); - } -} - -// Add a node to set of nodes declared in this scope -void -UTL_Scope::add_to_scope(AST_Decl *e) -{ - AST_Decl **tmp; - long odecls_allocated; - long i; - - if (e == NULL) return; - - // Make sure there's space for one more - if (pd_decls_allocated == pd_decls_used) { - - odecls_allocated = pd_decls_allocated; - pd_decls_allocated += INCREMENT; - tmp = new AST_Decl *[pd_decls_allocated]; - - for (i = 0; i < odecls_allocated; i++) - tmp[i] = pd_decls[i]; - - delete []pd_decls; - - pd_decls = tmp; - } - - // Insert new decl - pd_decls[pd_decls_used++] = e; -} - -// Add a node to set of nodes representing manifest types defined in this scope -void -UTL_Scope::add_to_local_types(AST_Decl *e) -{ - AST_Decl **tmp; - long olocals_allocated; - long i; - - if (e == NULL) return; - - // Make sure there's space for one more - if (pd_locals_allocated == pd_locals_used) { - - olocals_allocated = pd_locals_allocated; - pd_locals_allocated += INCREMENT; - tmp = new AST_Decl *[pd_locals_allocated]; - - for (i = 0; i < olocals_allocated; i++) - tmp[i] = pd_local_types[i]; - - delete []pd_local_types; - - pd_local_types = tmp; - } - - // Insert new decl - pd_local_types[pd_locals_used++] = e; -} - -// Has this node been referenced here before? -idl_bool -UTL_Scope::referenced(AST_Decl *e) -{ - long i = pd_referenced_used; - AST_Decl **tmp = pd_referenced; - - for (; i > 0; i--, tmp++) - if (*tmp == e) // Same node? - return I_TRUE; - - return I_FALSE; // Not found -} - -/* - * Redefinition of inherited virtual operations - */ - -// AST Dumping -void -UTL_Scope::dump(ostream &o) -{ - UTL_ScopeActiveIterator *i; - AST_Decl *d; - - if (idl_global->indent() == NULL) - idl_global->set_indent(new UTL_Indenter()); - - idl_global->indent()->increase(); - - if (pd_locals_used > 0) { - i = new UTL_ScopeActiveIterator(this, UTL_Scope::IK_localtypes); - - o << GTDEVEL("\n/* Locally defined types: */\n"); - while (!(i->is_done())) { - d = i->item(); - if (!d->imported()) { - idl_global->indent()->skip_to(o); - d->dump(o); - o << "\n"; - } - i->next(); - } - delete i; - } - - if (pd_decls_used > 0) { - i = new UTL_ScopeActiveIterator(this, UTL_Scope::IK_decls); - - o << GTDEVEL("\n/* Declarations: */\n"); - while (!(i->is_done())) { - d = i->item(); - if (!d->imported()) { - idl_global->indent()->skip_to(o); - d->dump(o); - o << ";\n"; - } - i->next(); - } - delete i; - } - - idl_global->indent()->decrease(); -} - -// How many entries are defined? -unsigned long -UTL_Scope::nmembers() -{ - return pd_decls_used; -} - -// UTL_SCOPE_ACTIVE_ITERATOR - -/* - * Constructor - */ - -UTL_ScopeActiveIterator::UTL_ScopeActiveIterator( - UTL_Scope *s, - UTL_Scope::ScopeIterationKind i) - : iter_source(s), - ik(i), - stage(i == UTL_Scope::IK_both - ? UTL_Scope::IK_decls - : i), - il(0) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Advance to next iterm -void -UTL_ScopeActiveIterator::next() -{ - il++; -} - -// Get current item -AST_Decl * -UTL_ScopeActiveIterator::item() -{ - if (is_done()) - return NULL; - if (stage == UTL_Scope::IK_decls) - return iter_source->pd_decls[il]; - if (stage == UTL_Scope::IK_localtypes) - return iter_source->pd_local_types[il]; - - return NULL; -} - -// Is this iteration done? -idl_bool -UTL_ScopeActiveIterator::is_done() -{ - long limit; - - limit = (stage == UTL_Scope::IK_decls) - ? iter_source->pd_decls_used - : iter_source->pd_locals_used; - - for (;;) { - if (il < limit) // Last element? - return I_FALSE; - if (stage == UTL_Scope::IK_localtypes) // Already done local types? - return I_TRUE; - if (ik == UTL_Scope::IK_decls) // Only want decls? - return I_TRUE; - - // Switch to next stage - stage = UTL_Scope::IK_localtypes; - il = 0; - limit = iter_source->pd_locals_used; - } -} - -// What kind of iterator is this? -UTL_Scope::ScopeIterationKind -UTL_ScopeActiveIterator::iteration_kind() -{ - return ik; -} - -// And where are we in the iteration? -UTL_Scope::ScopeIterationKind -UTL_ScopeActiveIterator::iteration_stage() -{ - return stage; -} diff --git a/TAO/TAO_IDL/util/utl_stack.cpp b/TAO/TAO_IDL/util/utl_stack.cpp deleted file mode 100644 index 21db27b87cd..00000000000 --- a/TAO/TAO_IDL/util/utl_stack.cpp +++ /dev/null @@ -1,258 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * utl_stack.cc - Implementation of class UTL_ScopeStack - */ - -#include "idl.h" -#include "ast_decl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_stack, "$Id$") - -// Class UTL_ScopeStack - -#undef INCREMENT -#define INCREMENT 64 - -/* - * Constructor(s) and destructor - */ - -UTL_ScopeStack::UTL_ScopeStack() - : pd_stack_data(new UTL_Scope *[INCREMENT]), - pd_stack_data_nalloced(INCREMENT), - pd_stack_top(0) -{ -} - -UTL_ScopeStack::~UTL_ScopeStack() -{ - if (pd_stack_data != NULL) - delete pd_stack_data; -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Push an element on the stack -UTL_ScopeStack * -UTL_ScopeStack::push(UTL_Scope *el) -{ - UTL_Scope **tmp; - AST_Decl *d = ScopeAsDecl(el); - long ostack_data_nalloced; - long i; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (d); - - // Make sure there's space for one more - if (pd_stack_data_nalloced == pd_stack_top) { - ostack_data_nalloced = pd_stack_data_nalloced; - pd_stack_data_nalloced += INCREMENT; - tmp = new UTL_Scope *[pd_stack_data_nalloced]; - - for (i = 0; i < ostack_data_nalloced; i++) - tmp[i] = pd_stack_data[i]; - - delete []pd_stack_data; - pd_stack_data = tmp; - } - - // Insert new scope - pd_stack_data[pd_stack_top++] = el; - - return this; -} - -// Pop an element from the stack -void -UTL_ScopeStack::pop() -{ - if (pd_stack_top <= 0) - return; - --pd_stack_top; -} - -// Return top element on stack -UTL_Scope * -UTL_ScopeStack::top() -{ - if (pd_stack_top <= 0) - return NULL; - return pd_stack_data[pd_stack_top - 1]; -} - -// Return bottom element on stack -UTL_Scope * -UTL_ScopeStack::bottom() -{ - if (pd_stack_top == 0) - return NULL; - return pd_stack_data[0]; -} - -// Clear entire stack -void -UTL_ScopeStack::clear() -{ - pd_stack_top = 0; -} - -// How deep is the stack? -unsigned long -UTL_ScopeStack::depth() -{ - return pd_stack_top; -} - -// Return (top - 1) element on stack -UTL_Scope * -UTL_ScopeStack::next_to_top() -{ - UTL_Scope *tmp, *retval; - - if (depth() < 2) - return NULL; - - tmp = top(); // Save top - (void) pop(); // Pop it - retval = top(); // Get next one down - (void) push(tmp); // Push top back - return retval; // Return next one down -} - -// Return topmost non-NULL element -UTL_Scope * -UTL_ScopeStack::top_non_null() -{ - long i; - - for (i = pd_stack_top - 1; i >= 0; i--) - if (pd_stack_data[i] != NULL) - return pd_stack_data[i]; - return NULL; -} - -/* - * Redefinition of inherited virtual operations - */ - -// Class UTL_ScopeStackActiveIterator - -/* - * Constructor(s) - */ - -UTL_ScopeStackActiveIterator::UTL_ScopeStackActiveIterator(UTL_ScopeStack *s) - : source(s), - il(s->pd_stack_top - 1) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Advance to next item -void -UTL_ScopeStackActiveIterator::next() -{ - il--; -} - -// Get current item -UTL_Scope * -UTL_ScopeStackActiveIterator::item() -{ - if (il >= 0) - return source->pd_stack_data[il]; - return NULL; -} - -// Is this iteration done? -long -UTL_ScopeStackActiveIterator::is_done() -{ - if (il >= 0) - return I_FALSE; - return I_TRUE; -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_string.cpp b/TAO/TAO_IDL/util/utl_string.cpp deleted file mode 100644 index 52b76a2ebf7..00000000000 --- a/TAO/TAO_IDL/util/utl_string.cpp +++ /dev/null @@ -1,225 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_string.cc - Implementation of quick and dirty TEMPORARY String -// for IDL compiler - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_string, "$Id$") - -/* - * Constructors - */ - -UTL_String::UTL_String (void) - : p_str (NULL), - len (0), - alloced (0) -{ -} - -UTL_String::UTL_String (const char *str) -{ - if (str == NULL) - { - len = alloced = 0; - p_str = c_str = NULL; - } - else - { - len = ACE_OS::strlen (str); - alloced = len + 1; - p_str = new char [alloced]; - c_str = new char [alloced]; - ACE_OS::strcpy (p_str, str); - canonicalize (); - } -} - -UTL_String::UTL_String (unsigned long maxlen) -{ - len = maxlen; - alloced = maxlen + 1; - p_str = new char [alloced]; - c_str = new char [alloced]; - p_str[0] = '\0'; - c_str[0] = '\0'; -} - -UTL_String::UTL_String (UTL_String *s) -{ - char *b; - - if (s == NULL) - { - p_str = c_str = NULL; - alloced = len = 0; - } - else - { - b = s->get_string (); - if (b == NULL) - { - p_str = c_str = NULL; - alloced = len = 0; - } - else - { - len = ACE_OS::strlen (b); - alloced = len + 1; - p_str = new char [alloced]; - c_str = new char [alloced]; - ACE_OS::strcpy (p_str, b); - canonicalize (); - } - } -} - -/* - * Private operations - */ - -// Compute a canonical form for this string. This is (implemented as) -// a corresponding string with all upper case characters where the -// original has lower case characters, identical characters otherwise. -void -UTL_String::canonicalize (void) -{ - unsigned long i; - - for (i = 0; i < len; i++) - c_str[i] = isalpha (p_str[i]) ? toupper (p_str[i]) : p_str[i]; - - c_str[i] = '\0'; -} - -/* - * Public operations - */ - -// Compare two String * -long -UTL_String::compare (UTL_String *s) -{ - char *s_c_str; - long result; - - if (c_str == NULL || s == NULL || (s_c_str = s->get_canonical_rep ()) == NULL) - result = I_FALSE; - else - result = (ACE_OS::strcmp (c_str, s_c_str) == 0) ? I_TRUE : I_FALSE; - - /* - * Check that the names are typed consistently - */ - if (result == I_TRUE && ACE_OS::strcmp (p_str, s->get_string ()) != 0) - { - // Prevents redundant error reporting if we're in this branch. - result = I_FALSE; - - if (idl_global->case_diff_error ()) - { - idl_global->err ()->name_case_error (p_str, s->get_string ()); - } - else - { - idl_global->err ()->name_case_warning (p_str, s->get_string ()); - } - } - return result; -} - -// Get the char * from a String -char * -UTL_String::get_string (void) -{ - return p_str; -} - -// Get the canonical representation from a String -char * -UTL_String::get_canonical_rep (void) -{ - if (c_str == NULL) - { - c_str = new char [alloced]; - canonicalize (); - } - return c_str; -} - -/* - * Redefined virtual operations - */ - -// AST Dumping -void -UTL_String::dump (ostream &o) -{ - o << p_str; -} diff --git a/TAO/TAO_IDL/util/utl_strlist.cpp b/TAO/TAO_IDL/util/utl_strlist.cpp deleted file mode 100644 index 87458ca18ba..00000000000 --- a/TAO/TAO_IDL/util/utl_strlist.cpp +++ /dev/null @@ -1,198 +0,0 @@ -// $Id$ - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_strlist.cc -// -// Implementation of a list of utl_string nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -ACE_RCSID(util, utl_strlist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_StrList::UTL_StrList(UTL_String *s, UTL_StrList *cdr) - : UTL_List(cdr), - pd_car_data(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -UTL_String * -UTL_StrList::head() -{ - return pd_car_data; -} - -// Set list item -void -UTL_StrList::set_head(UTL_String *s) -{ - pd_car_data = s; -} - -// Get last item of this list -UTL_String * -UTL_StrList::last_component() -{ - if (tail() == NULL) - return pd_car_data; - return ((UTL_StrList *) tail())->last_component(); -} - -// Copy a list -UTL_List * -UTL_StrList::copy() -{ - if (tail() == NULL) - return new UTL_StrList(head(), NULL); - return new UTL_StrList(head(), (UTL_StrList *) tail()->copy()); -} - -// AST Dumping -void -UTL_StrList::dump(ostream &o) -{ - char *s; - UTL_StrlistActiveIterator *i = new UTL_StrlistActiveIterator(this); - idl_bool first = I_TRUE; - idl_bool second = I_FALSE; - - while (!(i->is_done())) { - if (!first) - o << "::"; - else if (second) - first = second = I_FALSE; - s = i->item()->get_string(); - o << s; - if (first) { - if (strcmp(s, "::") != 0) - first = I_FALSE; - else - second = I_TRUE; - } - i->next(); - } -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_StrList active iterator - -/* - * Constructor - */ - -UTL_StrlistActiveIterator::UTL_StrlistActiveIterator(UTL_StrList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -UTL_String * -UTL_StrlistActiveIterator::item() -{ - if (source == NULL) - return NULL; - return ((UTL_StrList *) source)->head(); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_decllist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_decllist.cpp deleted file mode 100644 index 8d15d072d72..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_decllist.cpp +++ /dev/null @@ -1,107 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_decllist.cc -// -// Implementation of a list of declarators - -#include -#include - -ACE_RCSID(utl_tmpl, utl_decllist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_DeclList::UTL_DeclList(FE_Declarator *s, UTL_DeclList *cdr) - : UTL_List(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_DeclList active iterator - -/* - * Constructor - */ - -UTL_DecllistActiveIterator::UTL_DecllistActiveIterator(UTL_DeclList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefined inherited operations - */ - diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp deleted file mode 100644 index f9752591fae..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_exceptlist.cc -// -// Implementation of a list of exceptions - -#include -#include - -ACE_RCSID(utl_tmpl, utl_exceptlist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_ExceptList::UTL_ExceptList(AST_Exception *s, UTL_ExceptList *cdr) - : UTL_List(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_ExceptList active iterator - -/* - * Constructor - */ - -UTL_ExceptlistActiveIterator::UTL_ExceptlistActiveIterator(UTL_ExceptList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_exprlist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_exprlist.cpp deleted file mode 100644 index 5fb0bfc514c..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_exprlist.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_exprlist.cc -// -// Implementation of a list of strings - -#include -#include - -ACE_RCSID(utl_tmpl, utl_exprlist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_ExprList::UTL_ExprList(AST_Expression *s, UTL_ExprList *cdr) - : UTL_List(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_ExprList active iterator - -/* - * Constructor - */ - -UTL_ExprlistActiveIterator::UTL_ExprlistActiveIterator(UTL_ExprList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_idlist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_idlist.cpp deleted file mode 100644 index 2ed64484720..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_idlist.cpp +++ /dev/null @@ -1,139 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_idlist.cc -// -// Implementation of a list of utl_string nodes - -#include -#include - -ACE_RCSID(utl_tmpl, utl_idlist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_IdList::UTL_IdList(Identifier *s, UTL_IdList *cdr) - : UTL_List(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get last item of this list -Identifier * -UTL_IdList::last_component() -{ - if (tail() == NULL) - return head(); - return tail()->last_component(); -} - -// AST Dumping -void -UTL_IdList::dump(ostream &o) -{ - UTL_IdListActiveIterator *i = new UTL_IdListActiveIterator(this); - long first = I_TRUE; - long second = I_FALSE; - - while (!(i->is_done())) { - if (!first) - o << "::"; - else if (second) - first = second = I_FALSE; - i->item()->dump(o); - if (first) { - if (strcmp(i->item()->get_string(), "::") != 0) - first = I_FALSE; - else - second = I_TRUE; - } - i->next(); - } -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_IdList active iterator - -/* - * Constructor - */ - -UTL_IdListActiveIterator::UTL_IdListActiveIterator(UTL_IdList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_labellist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_labellist.cpp deleted file mode 100644 index 9b71db9b83d..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_labellist.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_labellist.cc -// -// Implementation of a list of scoped names - -#include -#include - -ACE_RCSID(utl_tmpl, utl_labellist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_LabelList::UTL_LabelList(AST_UnionLabel *s, UTL_LabelList *cdr) - : UTL_List(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_LabelList active iterator - -/* - * Constructor - */ - -UTL_LabellistActiveIterator::UTL_LabellistActiveIterator(UTL_LabelList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_list.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_list.cpp deleted file mode 100644 index 997b1301d41..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_list.cpp +++ /dev/null @@ -1,213 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_list.cc -// -// Implementation of generic single-linked lists - -#include -#include -#include - -ACE_RCSID(utl_tmpl, utl_list, "$Id$") - -/* - * Constructor(s) - */ - -template -UTL_List::UTL_List(T *c, L *l) - : pd_car_data(c), - pd_cdr_data(l) -{ -} - -/* - * Private operations - */ - -// Compute list length -template -long -UTL_List::list_length(long n) -{ - if (pd_cdr_data == NULL) - return n; - else - return pd_cdr_data->list_length(n+1); -} - -/* - * Public operations - */ - -// Smash last cdr with l -template -void -UTL_List::nconc(L *l) -{ - if (pd_cdr_data == NULL) - pd_cdr_data = l; - else - pd_cdr_data->nconc(l); -} - -/* - * Override this operation to copy lists of other types - */ -// Copy a list -template -L * -UTL_List::copy() -{ - if (pd_cdr_data == NULL) - return new L(head(), NULL); - return new L(head(), pd_cdr_data->copy()); -} - -// Get list item -template -T * -UTL_List::head() -{ - return pd_car_data; -} - -// Get next list -template -L * -UTL_List::tail() -{ - return pd_cdr_data; -} - -// Set list item -template -void -UTL_List::set_head(T *s) -{ - pd_car_data = s; -} - -// Set next list -template -void -UTL_List::set_tail(L *l) -{ - pd_cdr_data = l; -} - -// Compute list length -template -long -UTL_List::length() -{ - return list_length(1); -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_List active iterator - -/* - * Constructor - */ - -template -UTL_ListActiveIterator::UTL_ListActiveIterator(UTL_List *s) - : source(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Is iterator done? -template -long -UTL_ListActiveIterator::is_done() -{ - return (source == NULL) ? I_TRUE : I_FALSE; -} - -// Get current item -template -T * -UTL_ListActiveIterator::item() -{ - if (source == NULL) - return NULL; - return source->head(); -} - -// Advance to next item -template -void -UTL_ListActiveIterator::next() -{ - if (source != NULL) - source = source->tail(); -} - -/* - * Redefinition of inherited operations - */ - diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_namelist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_namelist.cpp deleted file mode 100644 index f181d60648a..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_namelist.cpp +++ /dev/null @@ -1,108 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_namelist.cc -// -// Implementation of a list of scoped names - -#include -#include - -ACE_RCSID(utl_tmpl, utl_namelist, "$Id$") - -typedef UTL_List _dummy_; - -/* - * Constructor(s) - */ - -UTL_NameList::UTL_NameList(UTL_ScopedName *s, UTL_NameList *cdr) - : UTL_List(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_NameList active iterator - -/* - * Constructor - */ - -UTL_NamelistActiveIterator::UTL_NamelistActiveIterator(UTL_NameList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_strlist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_strlist.cpp deleted file mode 100644 index 2d79f76a3b1..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_strlist.cpp +++ /dev/null @@ -1,141 +0,0 @@ -// $Id$ - -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_strlist.cc -// -// Implementation of a list of utl_string nodes - -#include -#include - -ACE_RCSID(utl_tmpl, utl_strlist, "$Id$") - -/* - * Constructor(s) - */ - -UTL_StrList::UTL_StrList(String *s, UTL_StrList *cdr) - : UTL_List(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get last item of this list -String * -UTL_StrList::last_component() -{ - if (tail() == NULL) - return head(); - return tail()->last_component(); -} - -// AST Dumping -void -UTL_StrList::dump(ostream &o) -{ - char *s; - UTL_StrlistActiveIterator *i = new UTL_StrlistActiveIterator(this); - long first = I_TRUE; - long second = I_FALSE; - - while (!(i->is_done())) { - if (!first) - o << "::"; - else if (second) - first = second = I_FALSE; - s = i->item()->get_string(); - o << s; - if (first) { - if (strcmp(s, "::") != 0) - first = I_FALSE; - else - second = I_TRUE; - } - i->next(); - } -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_StrList active iterator - -/* - * Constructor - */ - -UTL_StrlistActiveIterator::UTL_StrlistActiveIterator(UTL_StrList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/VERSION b/TAO/VERSION deleted file mode 100644 index fbca42938a2..00000000000 --- a/TAO/VERSION +++ /dev/null @@ -1,11 +0,0 @@ -This is TAO version 0.4.1, released Mon Jul 12 00:05:33 1999. - -If you have any problems with or questions about TAO, please send -email to the ACE mailing list (ace-users@cs.wustl.edu), using the form -found in the file TAO/PROBLEM-REPORT-FORM. To ensure that you see responses, -please do one of the following: - - 1) Subscribe to the ace-users mail list, by sending email with - contents "subscribe ace-users" to majordomo@cs.wustl.edu. - - 2) Or, monitor the comp.soft-sys.ace newsgroup for responses. diff --git a/TAO/announcement b/TAO/announcement deleted file mode 100755 index f9d33c28e9e..00000000000 --- a/TAO/announcement +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh - -VERSION=`cat VERSION` -URL="http://www.cs.wustl.edu/~schmidt/ACE_wrappers/TAO.tar.gz" - - -cat <<@EOM - -The first official beta release of The ACE ORB (TAO) has been released -by the Distributed Object Computing (DOC) Group at Washington -University in St. Louis. TAO is a freely available CORBA -2.x-compliant ORB with real-time extensions that can be downloaded -from the Internet at - -http://www.cs.wustl.edu/~schmidt/ACE_wrappers/TAO.tar.gz - -$VERSION - -TAO uses IIOP 1.0 as its inter-ORB communication protocol and provides -the first implementation of the OMG's Portable Object Adapter (POA) -specification and latest IDL->C++ mappings. For more information -about the POA, please see - -http://www.cs.wustl.edu/~schmidt/C++-report-col11.ps.gz -http://www.cs.wustl.edu/~schmidt/C++-report-col12.ps.gz - -For more information on TAO, please see - -http://www.cs.wustl.edu/~schmidt/TAO.html - -TAO has been ported to a range of OS platforms including Windows NT -4.x using MSVC++ 4.x and 5.x, several versions of UNIX (e.g., Solaris -2.x, SGI IRIX 6.x, Linux, SCO, NetBSD, and FreeBSD), and Real-Time -OS's (RTOSs) (e.g., VxWorks and Chorus). Ultimately, TAO will be -ported to all OS platforms on which ACE runs. We have used TAO to -interwork with other ORBs (e.g., Orbix, COOL, CORBAPlus, and -VisiBroker), so we're confident that its IIOP implementation is robust -and interoperable. - -For information on installation and system requirements, please see -http://www.cs.wustl.edu/~schmidt/TAO-INSTALL.html (or INSTALL) in the -root directory of the unpacked tar file. - -Note that ACE is required to build TAO. Typically the most recent -beta release is required, which you can obtain at - -http://www.cs.wustl.edu/~schmidt/ACE.html - -Please see the installation notes for more details. - -Other HTML documentation is available in the '$TAO_ROOT/docs/' -directory. - -We welcome suggestions for improvement, bug fixes, portability -enhancements, etc. If you have any questions or problems with TAO, -please post them to the ACE mailing list (ace-users@cs.wustl.edu) or -send email to Douglas C. Schmidt (schmidt@cs.wustl.edu) and Chris -Cleeland (cleeland@cs.wustl.edu). - -The TAO Team -@EOM diff --git a/TAO/configure.in b/TAO/configure.in deleted file mode 100644 index f0e3b36c626..00000000000 --- a/TAO/configure.in +++ /dev/null @@ -1,608 +0,0 @@ -dnl -dnl $Id$ - -AC_REVISION($Revision 0.5 $)dnl - -dnl -dnl An autoconf script to automatically configure TAO. -dnl Process this file with autoconf to produce a configure script. -dnl - -dnl -dnl The autoconf documentation states that this is the recommended -dnl sequence for this file: -dnl -dnl `AC_INIT(FILE)' -dnl checks for programs -dnl checks for libraries -dnl checks for header files -dnl checks for typedefs -dnl checks for structures -dnl checks for variables -dnl checks for compiler characteristics -dnl checks for library functions -dnl checks for system services -dnl `AC_OUTPUT([FILE...])' -dnl -dnl I followed this convention, and added a few sections. -dnl -- Gonzo - - -dnl -dnl SECTION 1: `AC_INIT(FILE)' -dnl -dnl This macro must be the very first invoked. -dnl Its argument names a file that must exist in the directory where -dnl autoconf will run, just to check things. -dnl AC_INIT(ace_unique.m4) -dnl -AC_INIT(tao/TAO.cpp) - -dnl Require GNU Autoconf 2.13 or better. -AC_PREREQ(2.13) - -dnl Check what platform we are running on. -AC_CANONICAL_SYSTEM - -dnl Allow the standard program name transformations. -dnl We probably don't need AC_ARG_PROGRAM any longer since AM_INIT_AUTOMAKE -dnl handles this functionality. -- Ossama -dnl AC_ARG_PROGRAM - -dnl Cause GNU Automake to initialize the state of things and run -dnl some sanity checks -TAO_PACKAGE="tao" -dnl Temporarily change M4 quotes to prevent "regex []" from being eaten -changequote(, )dnl -TAO_VERSION=`head -1 ${srcdir}/VERSION | sed 's/.*version \([0-9.]*\).*/\1/'` -changequote([, ])dnl - -AM_INIT_AUTOMAKE("$TAO_PACKAGE", "$TAO_VERSION", ) - -dnl Generate a header file with all settings. -dnl AM_CONFIG_HEADER(tao/config.h) - -dnl Move before the AC_ARG_ENABLE stuff to prevent autoconf complaints. -dnl This is a bit messy but it makes life easier for me. -dnl -Ossama -dnl -dnl SECTION: checks for programs -dnl - -dnl Check if system supports "#! /bin/sh" line in scripts -AC_SYS_INTERPRETER - -dnl Check the C compiler and preprocessor. -AC_PROG_CC -AC_PROG_CPP -AC_PROG_CC_C_O - -dnl Check the C++ compiler and preprocessor. -AC_PROG_CXX -AC_PROG_CXXCPP - -dnl This checks for a binary called gm4, gnum4 or m4, and assigns -dnl whatever was found (or "gonzo") to the M4 macro. -dnl AC_CHECK_PROGS(M4, gm4 gnum4 m4, gonzo) - -dnl Look for the best awk-style program available. -AC_PROG_AWK - -dnl Set some version information -TAO_CURRENT="0" -TAO_AGE="0" -TAO_REVISION="0" - -if test -n "$AWK"; then - TAO_MAJOR=`echo "$TAO_VERSION" | sed 's/\./ /g' | $AWK '{ print \[$]1 }'` - TAO_MINOR=`echo "$TAO_VERSION" | sed 's/\./ /g' | $AWK '{ print \[$]2 }'` - TAO_BETA=`echo "$TAO_VERSION" | sed 's/\./ /g' | $AWK '{ print \[$]3 }'` - -dnl This is a terrible kludge to fool libtool into making it produce a shared -dnl library with the "right" version information. -dnl We really should switch to a version scheme that is compatible with -dnl libtool. -dnl -Ossama -TAO_CURRENT=`expr $TAO_MAJOR + $TAO_MINOR` -TAO_AGE=$TAO_MINOR -TAO_REVISION=$TAO_BETA - -fi - -AC_SUBST(TAO_CURRENT) -AC_SUBST(TAO_AGE) -AC_SUBST(TAO_REVISION) - -dnl Do the usual install settings; don't forget to include a -dnl install-sh script, in case the is no BDS compatible install -dnl installed (no pun intended) in your machine. -dnl -dnl We don't need this anymore since AM_INIT_AUTOMAKE calls AM_PROG_INSTALL -dnl yes "AM_PROG_INSTALL," not "AC_PROG_INSTALL." -- Ossama -dnl AC_PROG_INSTALL - -dnl Special handling for some UNIX variants and Cygwin32 -AC_AIX -AC_ISC_POSIX -AC_MINIX -AC_CYGWIN - -dnl The user's/default C++ flags are stored in "CXXFLAGS." We use -dnl the variable "TAO_CXXFLAGS" to set the C++ flags we want. At the end -dnl of the configuration process we combine TAO_CXXFLAGS and CXXFLAGS -dnl into CXXFLAGS (e.g., CXXFLAGS="$TAO_CXXFLAGS $CXXFLAGS"). CXXFLAGS -dnl goes after TAO_CXXFLAGS so that the user's C++ flag command line -dnl choices always override the configure script's choices. -TAO_CXXFLAGS="" -TAO_CFLAGS="" - -dnl Set the test language as C++ -AC_LANG_CPLUSPLUS - -dnl Check if we support symlinks -AC_PROG_LN_S - -dnl Check if a lexical analyzer exists (lex, flex, etc.) -AM_PROG_LEX - -dnl Check if some implementation of YACC exists (yacc, byacc, bison, etc.) -AC_PROG_YACC -dnl if test -z "$YACC"; then -dnl ./missing yacc -dnl fi - -dnl Check for ace-config script -AC_CHECK_PROG(ACE_CONFIG, ace-config, ace-config,) dnl -if test -z "$ACE_CONFIG"; then - AC_MSG_WARN(ace-config script not found) - AC_MSG_WARN(TAO may not find all of the necessary ACE related libraries) -fi - -dnl We actually check for this in the user AC_ARG_WITH(--with-gperf) -dnl block since it is more convenient to put it there. -dnl Check for gperf program -dnl AC_CHECK_PROGS(GPERF, gperf-ace gperf,) dnl - -dnl Check for profiling progam -AC_CHECK_PROGS(PROF, gprof prof,) dnl - -dnl Since we are linking TAO with the C++ compiler, and since -dnl libtool checks linker characteristics using the C compiler, -dnl temporarily state that the C compiler is the C++ compiler. -TEMP_CC="$CC" -CC="$CXX" - -dnl Disable building of static libraries by default -AM_DISABLE_STATIC - -dnl Check for libtool and turn on Automake processing for Libtool -AM_PROG_LIBTOOL - - -dnl Restore the C compiler variable -CC="$TEMP_CC" - -dnl -dnl SECTION 2: Configure script command line options -dnl -AC_ARG_ENABLE(fast, - [ --enable-fast enable -fast flag, e.g. Sun C++ [default=no]], - [ - case "${enableval}" in - yes) - TAO_CXXFLAGS="$TAO_CXXFLAGS -fast" - TAO_CFLAGS="$TAO_CFLAGS -fast" - ;; - no) - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-fast) - ;; - esac - ],) - -AC_ARG_ENABLE(optimize, - [ --enable-optimize enable additional optimizations [default=no]], - [ - case "${enableval}" in - yes) - AC_MSG_WARN(Optimization configure support not implemented yet.) - ;; - no) - AC_MSG_WARN(Optimization configure support not implemented yet.) - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-optimize) - ;; - esac - ],) - -AC_ARG_ENABLE(profile, - [ --enable-profile enable profiling [default=no]], - [ - case "${enableval}" in - yes) - if test -z "$PROF"; then - AC_MSG_WARN(No profiling program found. Assuming 'prof' exists) - TAO_CXXFLAGS="$TAO_CXXFLAGS -p" - TAO_CFLAGS="$TAO_CFLAGS -p" - else - case "$PROF" in - gprof) - echo "Building with 'gprof' support" - TAO_CXXFLAGS="$TAO_CXXFLAGS -pg" - TAO_CFLAGS="$TAO_CFLAGS -pg" - ;; - prof) - echo "Building with 'prof' support" - TAO_CXXFLAGS="$TAO_CXXFLAGS -p" - TAO_CFLAGS="$TAO_CFLAGS -p" - ;; - *) - dnl We shouldn't get here. - AC_MSG_WARN(Assuming 'prof' exists) - TAO_CXXFLAGS="$TAO_CXXFLAGS -p" - TAO_CFLAGS="$TAO_CFLAGS -p" - ;; - esac - fi - ;; - no) - dnl Do nothing - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-profile) - ;; - esac - ],) - -AC_ARG_ENABLE(purify, - [ --enable-purify Purify all executables [default=no]], - [ - case "${enableval}" in - yes) - AC_CHECK_PROG(PURIFY, purify, purify,) - if test -n "$PURIFY"; then - PURE_CACHE_BASE_DIR="/tmp/purifycache" - PURE_CACHE_DIR=${PURE_CACHE_BASE_DIR}-${LOGNAME}-${notdir ${CXX} } - PURELINK="$PURIFY -best-effort -chain-length=20 \ - -cache-dir=$PURE_CACHE_DIR \ - -fds-inuse-at-exit=no -ignore-signals=SIGINT -inuse-at-exit \ - -max_threads=100" - TAO_CXXFLAGS="$TAO_CXXFLAGS -DTAO_HAS_PURIFY" - TAO_CFLAGS="$TAO_CFLAGS -DTAO_HAS_PURIFY" - else - AC_MSG_WARN(Purify program was not found.) - AC_MSG_WARN(Disabling purify support.) - fi - ;; - no) - PURELINK="" - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-purify) - ;; - esac - ], PURELINK="") - -AC_ARG_ENABLE(quantify, - [ --enable-quantify Quantify all executables [default=no]], - [ - case "${enableval}" in - yes) - AC_CHECK_PROG(QUANTIFY, quantify, quantify,) - if test -n "$QUANTIFY"; then - PURE_CACHE_BASE_DIR="/tmp/purifycache" - PURE_CACHE_DIR=${PURE_CACHE_BASE_DIR}-${LOGNAME}-${notdir ${CXX} } - PRELINK="$QUANTIFY -best-effort -max_threads=100 \ - -cache-dir=$PURE_CACHE_DIR" - TAO_CXXFLAGS="$TAO_CXXFLAGS -DTAO_HAS_QUANTIFY" - TAO_CFLAGS="$TAO_CFLAGS -DTAO_HAS_QUANTIFY" - else - AC_MSG_WARN(Quantify program was not found.) - AC_MSG_WARN(Disabling quantify support.) - fi - ;; - no) - PRELINK="" - ;; - *) - AC_MSG_ERROR(bad value ${enableval} for --enable-quantify) - ;; - esac - ], PRELINK="") - -AC_ARG_WITH(ace-includes, - [ --with-ace-includes=DIR ACE include files are in DIR], - [ - case "${withval}" in - yes) - AC_MSG_ERROR(specify a directory where the 'ace' include directory exists.) - ;; - no) - AC_MSG_ERROR(specify a directory where the 'ace' include directory exists.) - ;; - *) - if test -d "${withval}"; then - ACE_INCLUDEDIR="${withval}" - CXXFLAGS="${CXXFLAGS} -I${ACE_INCLUDEDIR}" - else - AC_MSG_ERROR(header directory '${withval}' does not exist.) - fi - ;; - esac - ],) - -AC_ARG_WITH(ace-libs, - [ --with-ace-libs=DIR ACE library files are in DIR], - [ - case "${withval}" in - yes) - AC_MSG_ERROR(specify a directory where the ACE libraries exist.) - ;; - no) - AC_MSG_ERROR(specify a directory where the ACE libraries exist.) - ;; - *) - if test -d "${withval}"; then - ACE_LIBDIR="${withval}" - LDFLAGS="${LDFLAGS} -L${ACE_LIBDIR}" - else - AC_MSG_ERROR(library directory '${withval}' does not exist.) - fi - ;; - esac - ],) - -AC_ARG_WITH(gperf, - [ --with-gperf=PROG gperf program [default=gperf]], - [ - case "${withval}" in - yes) - AC_MSG_ERROR(Specify the gperf program.) - ;; - no) - AC_MSG_ERROR(Specify the gperf program.) - ;; - *) - AC_CHECK_PROGS(GPERF, ${withval} gperf-ace gperf,) dnl - if test -n "$GPERF"; then - AC_DEFINE_UNQUOTED(ACE_GPERF, "${withval}") - else - AC_MSG_ERROR(gperf program ${withval} does not exist.) - fi - ;; - esac - ], - [ - if test -z "$GPERF"; then - AC_MSG_WARN(No gperf program found. TAO will not use perfect hashing.) - else - AC_DEFINE_UNQUOTED(ACE_GPERF, "${GPERF}") - fi - ]) - -dnl Check for a working ACE installation -ac_save_CXXFLAGS="$CXXFLAGS" -ac_save_LDFLAGS="$LDFLAGS" -ac_save_LIBS="$LIBS" -if test -n "$ACE_CONFIG"; then - CXXFLAGS=`$ACE_CONFIG --cxxflags ace` - LDFLAGS=`$ACE_CONFIG --libs-only-L ace` - LIBS=`$ACE_CONFIG --libs-only-l ace` -fi -CXXFLAGS="$ac_save_CXXFLAGS $CXXFLAGS" -LDFLAGS="$ac_save_LDFLAGS $LDFLAGS" -LIBS="$ac_save_LIBS -lACE $LIBS" -AC_MSG_CHECKING(for a working ACE installation) -AC_CACHE_VAL(ac_cv_lib_ace_ace_os_exit, -[ - cat > conftest.$ac_ext < -changequote(, )dnl -int main(int argc, char *argv[]) -changequote([, ])dnl -{ - ACE_OS::exit(0); -} -EOF - - if (eval "$CXX -o conftest conftest.$ac_ext $CXXFLAGS $LDFLAGS $LIBS") 2>&5; then - ac_cv_lib_ace_ace_os_exit="yes" - rm -f conftest* - else - ac_cv_lib_ace_ace_os_exit="no" - dnl rm -f conftest* - fi -]) -if test "$ac_cv_lib_ace_ace_os_exit" = "yes"; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) - AC_MSG_WARN(no functional ACE library found) - AC_MSG_ERROR(specify needed compiler flags using CXXFLAGS variable first) -fi - -dnl We only set the following if the ace-config script doesn't exist! -if test -z "$ACE_CONFIG"; then - - dnl Check if platform supports exceptions using ACE headers - AC_MSG_CHECKING(if ACE supports exceptions) - AC_EGREP_CPP(TAO_EXCEPTIONS, - [ -#include - -#if defined (ACE_HAS_EXCEPTIONS) - TAO_EXCEPTIONS -#endif - ], - [ - AC_MSG_RESULT(yes) - ] , - [ - AC_MSG_RESULT(no) - if test -n "$GXX"; then -dnl Temporarily change M4 quotes to prevent "regex []" from being eaten -changequote(, )dnl - if g++ --version | egrep -v '^2\.[0-7]' > /dev/null; then -changequote([, ])dnl - if test -z "$ACE_CONFIG"; then - TAO_CXXFLAGS="$TAO_CXXFLAGS -fno-exceptions" - fi - fi - fi - if test -n "$GCC"; then -dnl Temporarily change M4 quotes to prevent "regex []" from being eaten -changequote(, )dnl - if gcc --version | egrep -v '^2\.[0-7]' > /dev/null; then -changequote([, ])dnl - if test -z "$ACE_CONFIG"; then - TAO_CFLAGS="$TAO_CFLAGS -fno-exceptions" - fi - fi - fi - ]) - - dnl Check if platform supports run-time type identification using ACE headers - AC_MSG_CHECKING(if ACE supports GNU C++ repositories) - AC_EGREP_CPP(TAO_GNU_REPO, - [ -#include - -#if defined (ACE_HAS_GNU_REPO) - TAO_GNU_REPO -#endif - ], - [ - AC_MSG_RESULT(yes) - if test -n "$GXX" && test -z "$ACE_CONFIG"; then - TAO_CXXFLAGS="$TAO_CXXFLAGS -frepo" - fi - ] , - [ - AC_MSG_RESULT(no) - if test -n "$GXX" && test -z "$ACE_CONFIG"; then - TAO_CXXFLAGS="$TAO_CXXFLAGS -fno-implicit-templates" - fi - ]) - - dnl Check if platform supports run-time type identification using ACE headers - AC_MSG_CHECKING(if ACE supports run-time type identification) - AC_EGREP_CPP(TAO_RTTI, - [ -#include - -#if !defined (ACE_LACKS_RTTI) - TAO_RTTI -#endif - ], - [ - AC_MSG_RESULT(yes) - if test -z "$GXX" && test -z "$ACE_CONFIG"; then - case "$target" in - *solaris*) - TAO_CXXFLAGS="$TAO_CXXFLAGS -features=rtti" - ;; - *) - ;; - esac - fi - ], - [ - AC_MSG_RESULT(no) - ]) - -fi dnl test -z "$ACE_CONFIG" - -dnl Check if templates require source on platform using ACE headers -AC_MSG_CHECKING(if ACE and TAO require template source) -AC_EGREP_CPP(TAO_TEMPLATES_SOURCE, - [ -#include - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) - TAO_TEMPLATES_SOURCE -#endif - ], - [ - tao_cv_feature_templates_require_source="yes" - AC_MSG_RESULT(yes) - ], - [ - tao_cv_feature_templates_require_source="no" - AC_MSG_RESULT(no) - ]) -AM_CONDITIONAL(TEMPLATES_REQUIRE_SOURCE, - test X$tao_cv_feature_templates_require_source = Xyes) - - -dnl Additional flags to set by the configure script - -if test -n "$GXX" && test -z "$ACE_CONFIG"; then - TAO_CXXFLAGS="$TAO_CXXFLAGS -Wall -Wpointer-arith -Wno-switch" -else - TAO_CXXFLAGS="$TAO_CXXFLAGS -Wno-switch" -fi - -if test -n "$GCC" && test -z "$ACE_CONFIG"; then - TAO_CFLAGS="$TAO_CFLAGS -Wall -Wpointer-arith -Wno-switch" -fi - -dnl Combine package set flags with user's flags. -dnl User's flags go after package flags to allow user to override -dnl package defaults. -dnl X_CFLAGS comes from AC_PATH_XTRA. It may include, for example, -dnl additional include file paths or macros that need to be defined -dnl in order for X11 related files to be compiled properly. -CXXFLAGS="$TAO_CXXFLAGS $CXXFLAGS" -CXXCPPFLAGS="$TAO_CXXCPPFLAGS $CXXCPPFLAGS" -CFLAGS="$TAO_CFLAGS $CFLAGS" -CPPFLAGS="$TAO_CPPFLAGS $CPPFLAGS" -LDFLAGS="$TAO_LDFLAGS $LDFLAGS" - -dnl Prepend purify and quantify command lines if purify and quantify are -dnl enabled. Otherwise, PURELINK and PRELINK will just be "blank." -LD="$PURELINK $PRELINK $LD" -dnl LDFLAGS="$ACE_LDFLAGS $LDFLAGS" - -dnl AC_SUBST(LDFLAGS) -dnl AC_SUBST(LIBOBJS) - -dnl These definitions are expanded in the makefile and ace-config -TAO_LIBDIR='-L${libdir}' -TAO_LIBS="${LIBS}" -TAO_INCLUDEDIR='-I${includedir}' - -AC_SUBST(TAO_LIBDIR) -AC_SUBST(TAO_LIBS) -AC_SUBST(TAO_INCLUDEDIR) - -dnl Force CXXFLAGS to be substituted in Makefiles that don't "need" them. -AC_SUBST(CXXFLAGS) - -dnl -dnl SECTION 16: `AC_OUTPUT([FILE...])' -dnl -dnl -dnl We can finally create all the files listed here; Makefile is -dnl created from Makefile.in, etc. Top-level Makefiles should be -dnl created first. -AC_OUTPUT([ - Makefile - TAO_IDL/Makefile - TAO_IDL/ast/Makefile - TAO_IDL/be/Makefile - TAO_IDL/be_include/Makefile - TAO_IDL/driver/Makefile - TAO_IDL/fe/Makefile - TAO_IDL/include/Makefile - TAO_IDL/narrow/Makefile - TAO_IDL/util/Makefile - tao/Makefile - tao-config - ]) - -echo "" -echo "Configuration of TAO is now complete." -echo "" diff --git a/TAO/docs/DIFFERENCES b/TAO/docs/DIFFERENCES deleted file mode 100644 index 0a8dd343d4d..00000000000 --- a/TAO/docs/DIFFERENCES +++ /dev/null @@ -1,360 +0,0 @@ -@(#)DIFFERENCES 1.1 95/09/13 - -[ NOTE that the CORBA 2.0 specifications have now been published, but are -not yet sufficiently available that this document can usefully just list -any differences between that specification and this software. As a rule, -there are no differences between this software and CORBA 2.0 in areas -where CORBA 2.0 has specified an interface. ] - - -This document summarizes known differences between what is implemented in -this software and currently available OMG specifications. As a rule, these -establish compatibility with revised specifications that are currently being -prepared for publication. However, in some cases the differences resolve -problems that are currently being addressed by ORB taskforces. When those -revised CORBA specifications are published, this document will be updated to -reflect any remaining differences from them. - -The reason for those changes is that different specifications were adopted -at the same time and there were in some cases subtle differences which need -to be resolved. Minor errata have also been fixed. None of these changes -are substantial, with the exception of the TypeCode interpreter API which -was added to the C++ mapping. - -Also, note that the goal of this software is fidelity to the IIOP, so that -issues relating (in particular) to the C++ language mapping or other OMG -specifications were judged to be of less importance at this time. - - -DIFFERENCES from IIOP in UNO Spec (95-3-10) -------------------------------------------- -Some changes to the original specification (94-9-32) for the IIOP protocol -were found to be necessary; most related to the subsequently adopted Interface -Repository (IFR) specification (94-11-7). Others resulted from correction -of minor editorial errors, and experience gained as multiple teams implement -to that specification. - -The bulk of those changes have been incorporated into the 95-3-10 document, -but these few have not. - - -CDR TYPECODE INDIRECTION - -An additional constraint on the use of typecode indirection has been -identified. Specifically, the typecode to which an indirection points -be "self-sufficient", and may not point "outside of itself" for any -further indirections. For example, always indirections occur within -encapsulations, so it's OK for the indirection to point anywhere in -that encapsulation, or at the encoded TCKind enum value immediately -before the encapsulation's length. For typecode encapsulations nested -inside other typecode encapsulations, the indirection may point no -further than the outermost encapsulation. - -Also, when an indirection points to another typecode, the byte order -of that other typecode must be deduced from the encoded value found -there. This is straightforward for encoded TCKind values, all of which -fit into a single byte: if the first byte of the word is zero, then -the encoding is big-endian, else it's little-endian. - -Indirecting to another indirection is not allowed, since the byte order -of the encoded offset can't consistently be deduced. - - -MISCELLANY - -The type GIOP::Version is assumed to be identical to IIOP::Version. -As part of the editorial separation of GIOP from its Internet version -IIOP, this typedef was accidentally omitted. - -This implementation of IIOP supports the OMG-IDL Primitive Data Types as -defined in Appendix A of 94-9-32, but with TCKind numbers following the new -tk_exception and tk_alias codes. (That is, rather than using range 21-25, -these TCKind values are in the range 23-27.) - -These data types are currently the topic of an RFP in process in the OMG, -and are not currently defined as part of a current OMG specification. -Clients and servers using these extended data types are relying on CORBA -extensions that are not yet standardized; and should be prepared to change. - - -CORBA 2.0/CORE Differences --------------------------- -As of this writing, the new CORBA 2.0/CORE document has not yet been made -available. This is a modification of the CORBA 1.2 document, with the -addition of (mandatory) extensions from the UNO (94-9-32) specification: -notably DSI and some new object reference operations. This summarizes -differences between the as-yet-unpublished CORBA 2.0/CORE document and -the original text in the UNO specification. - - -DYNAMIC SKELETON INTERFACE - -Since the new "tk_except" typecodes now include the exception ID (this is -the repository ID describing the exception's type) the "exception" operation -used to report an exception through a ServerRequest no longer includes the -exception ID. - -Since the OperationDef entries for attributes are no longer found in the -interface repositories, the ServerRequest convenience operation to return -this has been removed. Application programs (such as bridges) must compare -the operation name string with the prefixes "_get_" and "_set_" to see if -any given operation applies to an attribute. If an operation is one of the -two for which an OMG-IDL "attribute" declaration is shorthand, then the -application must search the interface repository for that attribute. - -(There are in fact three categories of operations on which an object adapter -and implementation collaborate to handle: user defined operations, user -defined attributes, and operations defined by CORBA such as "is_a" and -"get_implementation". Some object adapters, like the BOA, handle this last -category directly, rather than exposing it to applications.) - -The "non_existent" objref operation accidentally used attribute syntax; this -has been corrected. All operations on CORBA::Object references now use -normal operation syntax in their (pseudo) IDL definitions, and are uniformly -prefixed with underscores as part of their C++ mapping. - - -DIFFERENCES from IDL C++ Mapping (94-9-14) ------------------------------------------- -There are four basic ways in which the IIOP framework does not comply -with the OMG's IDL C++ mapping specification, beyond the use of the CORBA2 -module/namespace rather than the CORBA module/namespace. (CORBA2 is used -so that this software can be linked with existing ORBs, which should be -using the CORBA module/namespace already.) - -These ways are beyond the portability-derived use of the "class" construct -(instead of the C++ namespace construct), and the use of CORBA2::Environment -(rather than C++ exceptions), both of which are accomodated by the mapping: - - (1) This framework does not attempt to be complete. - - Completeness is not required to implement the Internet IOP, - so time was not spent in providing a complete mapping. - - (2) In some cases the API provided is not the one in the mapping. - For example CORBA2::Environment is not always passed in all - operations. This was done to promote ease of implementation - and coding. - - (3) Implementation details are generally exposed. - - This isn't so much a noncompliance issue (it's not specified - that such details must be hidden) as an issue of allowing - noncompliant applications. The effort required to actively - prevent use of implementation details by higher level code - would be nontrivial, and could slow down IIOP code, so no - time was applied to hiding such details. - - (However, note that when the software was modified to use COM, - standard C++ techniques were used to hide most such details.) - - (4) The C++ mapping needs completion in some areas. - - Notably, 94-9-14 does not satisfy requirements to provide - support for for all data types in an "Any" or exception without - needing any precompiled data type support routines. The - TypeCode interpreter addresses this issue. - - Some additional operations were not adopted at the time 94-9-14 - was defined; both 94-9-32 and 94-11-7 added new ORB interfaces - which are not found in the initial C++ mapping document. - -With respect to this fourth issue, descriptions of the API extensions -used is provided later in this file. The additional CORBA operations -are not described since their mapping is straightforward if it isn't given -in those documents. - - -ACCESS TO ALL DATA IN "ANY" AND EXCEPTIONS - -The "void *" value in an "Any", and any "CORBA2::Exception *" value, may -always be passed to the TypeCode interpreter (see next). This allows access -to all data held within an "Any" and an Exception. The "void *" value in an -Any with an exception TypeCode is of type CORBA2::Exception *". Due to -the way CORBA is specified, it is not possible to tell whether an "Any" -holding an exception denotes a user or standard (system-defined) exception -except by exhaustive comparison against exception IDs. - -Also, _all_ legal OMG-IDL data types may be held in an "Any", and may be -manipulated using the TypeCode interpreter. This satisfies a language -mapping requirement that DII (and DSI) be able to manipulate all OMG-IDL -data types without requiring compiler generated support for them. - - -TYPECODE INTERPRETER - -In any given C/C++ execution environment there is a binary standard for how -data is represented. While that standard will differ between execution -environments, there are a very limited number of ways in which those -representations differ. Those differences are encapsulated only in the -TypeCode interpreter, so that portable applications using the dynamic -typing infrastructure in the ORB can completely ignore how it's done in -any particular environment. - -The APIs in this software distribution have been suggested for adoption as -part of the OMG specification suite. The two APIs are nonstatic member -functions in the C++ mapping's TypeCode pseudo-object, and are augmented -by a single new enumeration type. - - unsigned long size() - - This returns the size of an instance of the type that is - described by the TypeCode. - - For example, when invoked on the typecode constant CORBA::_tc_Short, - the value returned is sizeof(CORBA::Short); and when invoked on the - typecode for a structure, it is the size of that structure (including - any internal and tail padding needed). When invoked on a sequence - typecode, it returns a value that does not include the size for - any embedded buffer. - - enum traverse_status {TRAVERSE_STOP, TRAVERSE_CONTINUE }; - - This is a data type used in the traverse() member function. - It allows data type traversal to be terminated early for - non-exceptional conditions, and eliminates the confusion - that some similar APIs have created when they use a single - boolean value (does TRUE mean to stop, or to continue?). - - traverse_status traverse ( - const void *value1; - const void *value2 - traverse_status visit ( - TypeCode_ptr tc, - const void *visit_value1, - const void *visit_value2, - void *visit_context - ), - void *context - ); - - (In the current language mapping, CORBA2::Environment references - are passed as the final parameter to the 'traverse' and 'visit' - routines for use when reporting exceptions.) - - The pointers "value1" and "value2" point to instances of the - data type described by the typecode (or are null pointers). - - For each constituent of that data type (e.g. structure member) - the visit() routine is called once. The constituent's type - is described by "tc"; "visit_value1" points to the constituent - of that type in "value1" (assuming the traverse routine was - not passed a null pointer) and similarly for "visit_value2". - The "visit_context" parameter is the context parameter passed - to the traverse() routine, and can point to whatever data is - needed by the visit() routine. - - Members are traversed in first-to-last order, as defined in the - IDL specification for the data type. So for example, the - visit routine for a structure could print out each element - on a IO stream passed through the context parameter, perhaps in - a neatly formatted form intended for human consumption. - - The visit() function may choose to recursively traverse() each - element. So for example if "tc->kind()" in a visit routine - returned CORBA::tk_struct, the contents of that struct would - be ignored unless the visit routine invoked traverse() using - the typecode and values passed to it. - - If the visit() routine returns TRAVERSE_CONTINUE, succeeding - constituents of the data type are visited in turn; if it - returns TRAVERSE_STOP, the traverse() routine returns that - value to its caller. Of course, if a visit() routine calls - traverse() itself, it may choose to ignore TRAVERSE_STOP. - -The traverse() routine is a powerful tool. It is used in the IIOP code -itself in several ways; look at such use for tutorial details. You could -implement data value comparison and "debug" data dumping as simple exercises -in the use of these APIs. - -The "marshaling interpreter" (marshal.cc) uses it to encode and decode -values according to the IIOP protocol specification. The "Any" code -(any.cc) uses traverse() both to free embedded pointers, and to make "deep" -copies of any data structure given its TypeCode. - -Only that "deep copy" visit routine uses "value2" as anything other than a -null pointer; it allows efficient construction of "deep copies" without -needing extra space for temporary values or coroutine stacks. (A general -purpose two-value comparison could also use "value2".) Most uses of the API -only manipulate a single data value at a time; no realistic need has yet -been seen for manipulating more than two data values at once. - -With respect to the OMG C and C++ mappings, it is clear that this style API -must be provided for the C mapping, but some people have noted that a -"purer" object oriented style API could also be provided in C++. That style -would use another internal visit routine, performing the requisite "switch" -over the fixed number of TCKind values, and then make a virtual function -call to an instance of a C++ class whose private state was the "context" and -whose member functions matched the arms of the switch. - - -MEMORY ALLOCATION - -In order to dynamically manipulate instances of arbitrary data types, -applications need to be able to allocate and free memory. The OMG C++ -mapping only says how to do this for data types which have static C++ -interfaces defined, which is clearly inadequate for using constructed -types with the DII/DSI/Any family of interfaces. - -This infrastructure requires the standard "malloc" and "free" primitives to -be used, and cast to the appropriate type. Data allocated using malloc -will normally be sized according to TypeCode::size(), and then be stored -inside an Any. When the Any is deleted, if the ORB deallocates the memory -it always uses "free" (including for any nested pointers, and correctly -handling cases such as arrays and sequences). - -Note that to support implementations where C and C++ language bindings -share the same ORB infrastructure, this solution is inadequate. This is -because the C binding's CORBA_free() interface would have no way to -determine the type of the data being freed. Instead, typed allocation -APIs will need to be used even when using the dynamically typed CORBA -subsystem ... a TypeCode::malloc() routine would suffice, if it returned -memory that was internally tagged with that TypeCode. In such a case, -the CORBA_free() routine could use that TypeCode to "deep free" data as -required, and C++ "new" and "delete" operators would need to know about -the internal tagging for all those data types. Such tagged allocation -would need to be used for all data that was to be freed by the ORB. - -(Having the C mapping require use of "typed free" routines, instead of the -CORBA_free interface, is sufficient to eliminate this problem.) - - -PASSING EXCEPTIONS THROUGH THE DII - -The C++ mapping's Dynamic Invocation Interface (DII) has key omissions -in that it doesn't say how to access to user-defined exception values, -and implicitly requires ORBs either to pass "excess" data on the wire -or else to consult an interface repository to deal with exceptions or -(deprecated) "context" strings. - -This software changes the DII specification in two ways to support the -requirement for DII users to be able to see user-defined exceptions, yet -not to violate the OMG-IDL type model by reporting illegal exceptions: - - * The Object::_create_request() member function, through which DII - users provide all the information included in an IDL operation's - signature, has an additional parameter. - - That parameter is a sequence of exception typecodes, describing - the user-defined exceptions that the operation can return. (The - standard exceptions defined in CORBA may always be returned.) - When any other exception is returned, the client's ORB reports that - the object's type definition has been violated by the server's ORB. - - * The TypeCode interpreter (see above) may be used to examine all - exception values reported through a CORBA::Environment. A new - Exception::id() operation may be used to determine which typecode - should be used. - -Note that a number of portability and specification problems have been -identified in the current C++ mapping for DII, e.g. for details of memory -management. Later versions of this code may attempt to closely comply -with an improved mapping for DII, to the extent that the interpretation -used here differs from that more unambiguous specification. - -Since there is no efficient way to distinguish typecodes for user defined -exceptions from ones for system-defined ("standard") exceptions (comparing -the exception ID against all the system defined ones is inefficient :-) -a new enum type "ExceptionType" is defined. (An analogous type is already -defined for the C language mapping.) This is used to report exceptions -through DII and DSI. diff --git a/TAO/docs/HISTORY b/TAO/docs/HISTORY deleted file mode 100644 index d97a8e35b2e..00000000000 --- a/TAO/docs/HISTORY +++ /dev/null @@ -1,44 +0,0 @@ -@(#)HISTORY 1.1 95/09/13 - -Mmmmmmmm DD, 1995 -- RELEASE 1.3: ---------------------------------- -Release 1.3 includes bugfixes, and support for the COM binary interface -model, both on UNIX and on MS-Windows platforms. The source tree has -been considerably restructured, with the goal of enabling addition of -other components at both the binary and source levels. - - -September 1, 1995 -- RELEASE 1.2: ---------------------------------- -Release 1.2 includes fixes for problems noted in the recent multivendor -interoperability testing at Object World, and as reported by other users on -the Internet. The most notable of these is that in some cases, when using -multiple connections to IIOP servers and clients, the connection management -code previously would get confused about which connection was which. (One -consequence of fixing this is that an old test has been removed.) Also, -there was no simple way to use Solaris 2.4 threads; see the Makefile for -details. A few other minor features were added to facilitate use of this -code for more than just protocol testing. - - -June 28, 1995 -- RELEASE 1.1: ------------------------------ -Release 1.1 includes support for several new platforms. Particular thanks -go to the team at APM, which contributed the bulk of the new "autoconf" -support (substantially enhancing portability), support for DEC Alpha and -HP 9000 platforms, runtime initialization of the size and alignment table -used to drive the typecode interpreter, and more; see README.apm for details. - -Release 1.1 includes POSIX.1c threading support; on platforms which provide -POSIX.1c threads, applications will be able to take advantage of them. - -Union and indirection support has been added to the TypeCode interpreter, -and more typecode utility APIs have been implemented. Various bugfixes and -cleanup have also been provided. Unfinished stubs for the COS Naming service -are included; these rely on C++ exception support. - - -March 21, 1995 -- RELEASE 1.0: ------------------------------- -The original release ran on a set of UNIX platforms (including Solaris, -SunOS, Linux, and NEXTSTEP) as well as with 16-bit and 32-bit MS-Windows. diff --git a/TAO/docs/INS.html b/TAO/docs/INS.html deleted file mode 100644 index b08247c97ec..00000000000 --- a/TAO/docs/INS.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - -TAO Interoperable Naming Service - - - -


-

TAO Interoperable Naming Service

- -The CORBA Interoperable -Naming Service (INS) service allows the ORB to be configured -administratively to return object references from -CORBA::ORB::resolve_initial_references for non-locality -constrained objects. The service also introduces the -iioploc and iiopname IOR formats, which can -be used to bootstrap services not available at ORB installation time. -

- -This document presents an overview of TAO's INS implementation and -addresses common questions.

- -


-

How does resolve_initial_references work ?

- -The following is the order that resolve_initial_references -locates a service:

- -

    -
  1. ORBInitRef
    -
  2. ORBDefaultInitRef
    -
  3. ORB Default Settings
    -
  4. Multicast to Service

    -

- -TAO uses the ACE_Hash_Map_Manager -to keep track of the ObjectID:IOR mappings specified on the -command-line. The IOR could be in IOR, iiop, -or iioploc format. If the ORB fails to resolve the IOR -using the command-line parameters or the default settings, it uses UDP -multicast to resolve the service.

- -The Naming Service process acts as an IIOP Agent to respond with the -IOR for the given service name. If the service being resolved is the -Naming Service or the Trading Service, TAO checks the appropriate environment variables prior to using -multicast to obtain the appropriate port number or IOR.

- -The following diagram illustrates the order in which these various -components interact.

- -

- -


- -

ORB Parameters Used for Configuration

- -
-
o --ORBInitRef : -The ORB initial reference argument allows specification of an - arbitrary object reference for an initial service. The format is : -

- -ORBInitRef [ObjectID]=[ObjectURL]

- Examples of use are:

- -ORBInitRef NameService=IOR:0002342344AB345 ...
- -ORBInitRef MyServiceID=iioploc://tango.cs.wustl.edu:87777/myService

- - This mechanism allows an ORB to be configured with new initial - service Object IDs that were not defined when the ORB was - installed. The ObjectURL can be any of the URL schemes supported - by CORBA::ORB::string_to_object.

- - -

o --ORBDefaultInitRef : -The ORB default initial reference argument assists in resolution of - initial references not explicitly specified with - -ORBInitRef. -ORBDefaultInitRef requires a URL that, after - appending a slash '/' and a stringified object key, forms a new - URL to identify an initial object reference.

- For example:

- -ORBDefaultInitRef - iioploc://tango.cs.wustl.edu:89899,merengue.cs.wustl.edu:99990

- - A call to resolve_initial_references ("NameService") with this - argument results in a new multiple profile URL equivalent to the following:

- iioploc://tango.cs.wustl.edu:89899/NameService
- iioploc://merengue.cs.wustl.edu:99990/NameService

- - The URL is passed to CORBA::ORB::string_to_object to obtain the - initial reference for the service. -

- -

- -

iioploc:// IOR format

-The CORBA::ORB::string_to_object now understands the iioploc:// -format IORs. These are user-friendly multiple end-point IORs. For -example -

- iioploc:1.0//tango.cs.wustl.edu:99999/SimpleKey, -merengue.cs.wustl.edu:99990/SimpleKey

- -Each of the end-points is converted into an IIOP Profile. These -profiles are used to construct the Multiple Profile Object. This -object is then used to construct the Object Reference.

- -The object references constructed using this format have a -'SimpleKey' in the Object Key field of the IOR. The server side ORB -intercepts the incoming IIOP request, recognizes the Simple Key and -looks up a table to get the complete IOR. It then raises a -LOCATION_FORWARD or an OBJECT_NOT_EXIST exception to forward/fail the -request depending on if a mapping for the given simple key exists.

- -All default TAO Object keys are preceded by a special sequence of -octets ^t^a^o/0. This is taken care of by the POA when it generates -the Object key for the IOR. The sequence is useful for the ORB to -distinguish a simple key from the usual TAO object key.

- -


- - - Last modified Tue Apr 20 14:47:21 CDT 1999 - - - - diff --git a/TAO/docs/Options.html b/TAO/docs/Options.html deleted file mode 100644 index 365b31ab914..00000000000 --- a/TAO/docs/Options.html +++ /dev/null @@ -1,702 +0,0 @@ - - - - -Options for TAO Components - - - - -


-

Options for TAO Components

- -

Overview

-
- -

Certain components in TAO such as the ORB Core or Object Adapter -can be tuned by users by providing value for options or environment -variables to them. These options are commonly specified as (1) -environment variables or (2) strings passed on the command-line. They -are generally passed to component initialization methods for -consumption.

- -

Both command-line options and environment variables are used to -control the global ORB features like the IOR format or ORB's -bootstraping methods. Options in svc.conf file on the -other hand provides a mechanism to fine-tune the internal components -in TAO and they are specific to individual components. -svc.conf files are not required to run TAO programs. -However, if you know the behavior of your programs, you can tune-up -your programs and use various optimization provided by TAO thru the -use of svc.conf files.

- -

Programmer's Note: the internal structure for options is -the traditional argc/argv vector of strings -style popularized by C and Unix. By convention, an initialization -method will consume, i.e., remove from the vector, any -options that it recognizes.

- -

-

Environment Variables

- -The following environment variables are supported by TAO: - -
-

- - - - - - - - - - - - - - - - - - - - -
Environment VariableDescription
NameServiceIOR which - Specifies which IOR the Naming Service is listening on. -
NameServicePort which - Specifies which port the Naming Service is listening on for multicast - requests. -
TradingServiceIOR which - Specifies which IOR the Trading Service is listening on. -
TradingServicePort which - Specifies which port the Trading Service is listening on for multicast - requests. -
-

-
- -

- -

Types of Options

- -
-

The following components can be tuned via options:

- - - -Typically, CORBA::ORB options are set via command line parameters, -while the rest of the options are set via the service configurator -(svc.conf) file. - -
- -
-

CORBA::ORB

- -

Note: -ORBGlobalCollocation flag has been -merged with -ORBCollocation. - -

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDescription
-ORBSvcConf config file nameSpecifies the name of the file from which it will read dynamic service configuration - directives ala ACE's Service Configurator. By - default, a service configurator-based application will look - for a file named "svc.conf" in the current directory.
-ORBSvcConfDirective directivestringSpecifies a service configuration - directive, which is passed to ACE's Service Configurator.
-ORBDaemonSpecifies that the ORB should daemonize itself.
-ORBDebugTurns on the output of debugging messages within ACE's Service Configurator - componentry.
-ORBDebugLevel levelControl the level of debugging in the ORB. Higher number produce - more output (try 10). -
-ORBEndpoint endpointTells the ORB to listen for requests on the - interface specified by endpoint. Endpoints are - specified using a URL style format. An endpoint has the form: -
- protocol://V.v@addr1,...,W.w@addrN -
- where V.v and W.w are optional protcol versions for - each address. An example of an IIOP endpoint is: -
- iiop://hostname:port -
- Sets of endpoints may be specified using multiple -ORBEndpoint - options or by delimiting endpoints with a semi-colon (;). For example, -
- -ORBEndpoint iiop://localhost:9999 -ORBEndpoint uiop:///tmp/mylocalsock -
- is equivalent to: -
- -ORBEndpoint 'iiop://localhost:9999;uiop:///tmp/mylocalsock' -
- Notice the single quotes (') in the latter option specification. Single - quotes are needed to prevent the shell from interpreting text after the - semi-colon as another command to run.

- If an endpoint is specified without an addr such as the following: -

- -ORBEndpoint uiop:// -
- then a default endpoint will be created for the specified protocol. -
-ORBHost hostnameTells the ORB to listen for requests on the - interface associated with the host named - hostname. This option is valid only for IIOP endpoints.
- NOTE: This option has been superceded by the - -ORBEndpoint option. It will not be supported in the - future.
-ORBPort portspecTells the ORB to - listen for requests on the port specified by - portspec. If not specified, the OS gets to choose a - random empty port. This option is valid only for IIOP endpoints.
- NOTE: This option has been superceded by the - -ORBEndpoint option. It will not be supported in the - future.
-ORBObjRefStyle whichSpecifies the user-visible style of object references. The range of values - is IOR (default), which is the traditional nonsensical object reference, - or URL, which looks more like a URL.
-ORBRcvSock receive buffer sizeSpecify the size of the socket receive buffer as a positive, non-zero integer. - If not specified, the ACE_DEFAULT_MAX_SOCKET_BUFSIZ default is used.
-ORBSndSock send buffer sizeSpecify the size of the socket send buffer as a positive, non-zero integer. - If not specified, the ACE_DEFAULT_MAX_SOCKET_BUFSIZ default is used.
-ORBNameServicePort portspecSpecifies which port the Naming Service is listening on for - multicast requests. By default, - TAO_DEFAULT_NAME_SERVICE_REQUEST_PORT, which is 10013 is used.
-ORBNameServiceIOR iorSpecifies the IOR for the Naming Service.
-ORBTradingServiceIOR iorSpecifies the IOR for the Trading Service.
-ORBTradingServicePort portspecSpecifies to which port the Trading Service is listening on for - multicast requests. By default, - TAO_DEFAULT_TRADING_SERVICE_REQUEST_PORT which is 10016 is used.
-ORBImplRepoIOR iorSpecifies the IOR for the Implementation Repository.
-ORBImplRepoPort portspecSpecifies to which port the Implementation Repository is listening on for - multicast requests. By default, - TAO_DEFAULT_IMPLREPO_SERVER_REQUEST_PORT which is 10018 is to - be used.
-ORBCollocation yes/global/per-orb/noSpecifies the use of collocation - object optimization. If global or yes is - specified, objects in the same process will be treated as collocated. - If per-orb is specified, only objects in the same ORB are - treated as collocated. When no is specified, no objects are - treated as collocated. Default is global.
- -ORBCollocationStrategy thru_poa/direct - - Specifies what kind of collocated object to use. If the - thru_poa strategy is used, TAO uses the collocation - object implementation that respects POA's current state and - policies. When using the direct strategy, method - invocations on collocated objects become direct calls to servant - without checking POA's status. Default is thru_poa. -
-ORBPreconnect endpointPre-establishes a blocking connection to - each listed endpoint. If a connection cannot be established the - failed preconnection will be ignored and the next preconnection in the list - will be processed. Successful and unsuccessful preconnections will be - displayed if a debugging level greater than or equal to one is specified by - using the -ORBDebugLevel option. Listing the same combination - multiple times will properly establish multiple connections to that endpoint. - The -ORBPreconnect option uses the same endpoint format as the - -ORBEndpoint option. Specifying IIOP endpoints using a comma - delimited list of host:port pairs is deprecated - and will not be supported in the future.
-ORBCDRTradeoff maxsizeControl the strategy to tradeoff - between copy vs no copy marshalling of octet sequences. - If an octet sequence is smaller than maxsize and the current - message block contains enough space for it the octet sequence is - copied instead of appended to the CDR stream. By default, - ACE_DEFAULT_CDR_MEMORY_TRADEOFF is used. -
-ORBSkipServiceConfigOpenDo not call the ACE_Service_Config::open - method, which is necessary if the ORB is being linked dynamically via the ACE Service Configurator - which is not reentrant. Default is
-ORBGIOPliteEnable a lightweight version of the - GIOP protocol. This protocol removes some of the fields in - the GIOP and the Request header. It only works on - homogenous environments..
-ORBDottedDecimalAddresses boolean (0 / 1) Use the dotted decimal - notation for addresses. By default domain names are used in IORs.
-ORBInitRef ObjectId=IOR Allows specification of an arbitrary - object reference for an initial service. The IOR could be in any - one of the following formats : OMG IOR, URL, iioploc or - file. iioploc is a multiple end-point IOR understood by the - string_to_object () and used as a boot-strapping mechanism by the - resolve_initial_references (). The mappings specified through this - argument override the orb-install-time defaults. The - file://pathname interprets the contents of the pathname file - as an object reference in any of the above formats.
-ORBDefaultInitRef IOR prefix This argument allows resolution of initial references not explicitly specified with -ORBInitRef. It requires a URL prefix that, after appending a slash '/' and a simple object key, forms a new URL to identify an initial object reference. The URL prefix format currently supported is iioploc.
-ORBStdProfileComponents boolean (0 / 1) If 0 then the ORB - does not generate the OMG standarized profile - components, such as the ORB type and codesets. - Notice that the presence of this components is optional - in GIOP 1.1 - The default value is controlled by a compile-time flag - (check orbconf.h).
-ORBResources whichControl the use of thread specific resources - in the ORB. - If (which = global) then the - same set of resources are shared by all the threads - that use that ORB. - If (which = tss) then each that - uses that ORB gets its own set of resources. - Currently the resources are limited to the reactor. -
-

-
- -

TAO_Resource_Factory

- -

Note: -ORBReactorLock flag has been superceded by -ORBReactorType. - -

-

- - - - - - - - - - - - - - - - - - - - -
OptionDescription
-ORBResources whichSpecify whether each thread uses a global - (which = global) or a thread-specific - (which = tss) instance for the resources it - returns. The default is global . - NOTE: This option controls the default value for - the ORB option of the same name.. -
-ORBReactorType whichSpecify what kind of reactor does the - ORB use, the options are: - - - - - - - - - - - - - - - - - -
whichReactor
select_mtUse the - ACE_Select_Reactor with the usual - locking mechanism for this platform
select_stUse the - ACE_Select_Reactor with null locks -
flUse the - ACE_FlReactor only available if ACE - was compiled with support for the FL toolkit -
wfmoUse the - ACE_WFMO_Reactor only available on - Win32 platforms. -
msg_wfmoUse the - ACE_Msg_WFMO_Reactor only available on - Win32 platforms. -
tpUse the - ACE_TP_Reactor, a select based - thread-pool reactor. -
-The default is select_mt
-ORBProtocolFactory factory - Specify which pluggable protocol factory to load. By default, - the factories for the IIOP and UIOP protocols (IIOP_Factory - and UIOP_Factory, respectively) are loaded. -

- For example, if some protocol called Foo whose - factory was called Foo_Factory was available, - then it could be loaded into TAO by specifying - -ORBProtocolFactory Foo_Factory in the service - configurator file. The - Foo pluggable protocol would then be available - for use. -

-ORBInputCDRAllocator which - Specify whether the ORB uses locked - (which = thread) - or lock-free (which = null) - allocators for the incoming CDR buffers. - Though null should give the - optimal performance; - we made the default thread. - TAO optimizations for octet sequences will not work in all cases when - if the allocator does not have locks (for example if the - octet sequences are part of a return value. - Using locked allocators also allows the users to - take advantage of the TAO octet sequence - extensions to preserve the buffer after the upcall. -
-

-
- -

TAO_Default_Server_Strategy_Factory

- -

Note: -ORBDemuxStrategy flag has been changed to -ORBSystemidPolicyDemuxStrategy and -ORBUseridPolicyDemuxStrategy. -

Note: -ORBTableSize flag has been changed to -ORBActiveObjectMapSize. - -

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDescription
-ORBConcurrency - whichSpecify which - concurrency strategy to use. Range of values is reactive - for a purely Reactor-driven concurrency strategy or - thread-per-connection for creating a new thread to - service each connection. The default is reactive.
-ORBActiveObjectMapSize active object map - sizeSpecify the size of the active object map. If not - specified, the default value is 64.
-ORBUseridPolicyDemuxStrategy user id policy - based demultiplexing strategySpecify the demultiplexing - lookup strategy to be used with the user id policy. The - demultiplexing strategy can be one of dynamic or - linear. This option defaults to use the - dynamic strategy.
-ORBSystemidPolicyDemuxStrategy system id policy - based demultiplexing strategySpecify the demultiplexing - lookup strategy to be used with the system id policy. The - demultiplexing strategy can be one of dynamic, - linear, or active. This option defaults to - use the active strategy.
-ORBUniqueidPolicyReverseDemuxStrategy unique id - policy based reverse demultiplexing strategySpecify the - reverse demultiplexing lookup strategy to be used with the unique id - policy. The reverse demultiplexing strategy can be one of - dynamic or linear. This option defaults to - use the dynamic strategy.
-ORBAllowReactivationOfSystemids allows - reactivation of system idsSpecify whether system ids - can be reactivated, i.e., once an id that was generated by the system - has be deactivated, will the user reactivate a new servant using the - old id. If the user is not going to use this feature, the IORs can be - shortened, an extra comparison in the critical upcall path removed, - and some memory on the server side can be saved. The - ORBallowreactivationofsystemids can be 0 or - 1. This option defaults to 1.
-ORBActiveHintInIds adds an active hint in - idsSpecify whether an active hint should be added to - ids. With active hints, ids can be found quickly. However, they lead - to larger IORs. Note that this option is disregarded - -ORBAllowReactivationOfSystemids is set to - 0. The -ORBActiveHintInIds can be 0 - or 1. This option defaults to 1.
-ORBPoaMapSize poa map sizeSpecify - the size of the poa map. If not specified, the default value is - 24.
-ORBPersiententidPolicyDemuxStrategy persistent - id policy based demultiplexing strategySpecify the - demultiplexing lookup strategy to be used with the persistent id - policy. The demultiplexing strategy can be one of - dynamic or linear. This option defaults to - use the dynamic strategy.
-ORBTransientidPolicyDemuxStrategy transient id - policy based demultiplexing strategySpecify the - demultiplexing lookup strategy to be used with the transient id - policy. The demultiplexing strategy can be one of - dynamic, linear, or - active. This option defaults to use the - active strategy.
-ORBActiveHintInPOANames adds an active hint in - poa namesSpecify whether an active hint should be added - to poa names. With active hints, poa names can be found quickly. - However, they lead to larger IORs. The - -ORBActiveHintInPOANames can be 0 or - 1. This option defaults to 1.
-ORBThreadFlags thread flagsSpecify the flags used for thread creation. Flags can be any - logical-OR combination of THR_DETACHED, - THR_BOUND, THR_NEW_LWP, - THE_SUSPENDED. The default is THR_BOUND .
-ORBPOALock lock typeSpecify the type of lock to be used for POA - accesses. Possible values for lock type are - thread, which specifies that an inter-thread mutex is - used to guarantee exclusive acccess, and null, which - specifies that no locking be performed. The default is - thread.
-ORBConnectorLock lock typeThis option has been moved to the - client strategy factory.
-

-
- -

TAO_Default_Client_Strategy_Factory

- -
-

- - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDescription
-ORBProfileLock which - Specify the kind of synchronization primitive for the - Profiles. - Default is thread, which means that a regular thread - mutex is used. The - second option is null, which means a null lock is used. - This makes sense in case of optimizations and is allowed when - no forwarding is used or only a single threaded client. -
-ORBClientConnectionHandler MT / ST / RW - - ST means use the single-threaded client connection handler, i.e., the - leader follower model will not be used. However, ST does support - nested upcalls and handling of new requests while waiting for the - reply from a server.

- - MT means use the multi-threaded client connection handler which uses - the leader follower model. This model allows the use of multiple - threads with a single Reactor.

- - RW selects a strategy that simply blocks in recv() when waiting for a - response from the server instead of waiting in the Reactor. The RW - strategy only works when the application does not have to worry about - new request showing up when waiting for a response. Therefore, this - strategy is appropriate only for "pure" clients. Note that - applications with nested upcalls are not "pure" clients. Also note - that this strategy will only effect two way calls, since there is no - waiting for one way calls. This strategy can also be used in an - application that is both a client and a server if the server side is - handled by a separate thread and the client threads are "pure" - clients.

- - Default for this option is MT. - -

-ORBTransportMuxStrategy EXCLUSIVE / MUXED - - EXCLUSIVE means that the Transport does not multiplex requests on a - connection. At a time, there can be only one request pending on a - connection.

- - MUXED means that Transport multiplexes more than one request at the - same time on a connection. This is very important for getting the - Asynchronous Method Invocation model to work. This is not - implemented yet.

- - Default for this option is EXCLUSIVE. - -

-ORBConnectorLock lock typeSpecify the type of lock to be used by - the connector. Possible values for lock type are - thread, which specifies that an inter-thread mutex is - used to guarantee exclusive acccess, and null, which - specifies that no locking be performed. The default is - thread. -
-

-
-
- -


-Back to the TAO components documentation. - - - diff --git a/TAO/docs/REFERENCES b/TAO/docs/REFERENCES deleted file mode 100644 index a44ef31c16e..00000000000 --- a/TAO/docs/REFERENCES +++ /dev/null @@ -1,91 +0,0 @@ -@(#)REFERENCES 1.2 95/11/08 - -REFERENCES -========== -Most of the relevant references here are to OMG documents, however there -are a few external references of some note: - - * http://www.uci.agh.edu.pl/research/cs/TOCOOS/COPERNICUS.html - - -OMG REFERENCES --------------- -As of this writing, OMG is in the process of publishing new versions of the -base CORBA specifications, merging specifications as needed into single -documents and splitting out the C mapping from the CORBA/CORE specification. - -This software has made every effort to track both the base documents and the -agreed corrections and revisions. Since those documents have not yet been -published, there will inevitably be areas in which it does not reflect the -versions yet to be published. See the "DIFFERENCES" file for information -about where this software differs from these current base documents: - -* CORBA 2.0/Interoperability: Universal Networked Objects (UNO), OMG - TC Document 95-3-10. This includes the mandatory IIOP and bridging - support, as well as the optional DCE-CIOP protocol. - -* CORBA 1.2 specification, OMG TC Document 93-12-43. This is the - base document on which the CORBA 2.0 CORE specifications build. - -* Universal Networked Objects (UNO), OMG TC Document 94-9-32. Until - the CORBA 2.0/CORE document is published, replacing the CORBA 1.2, - initialisation, and IFR specifications, you must use this earlier - version of UNO to see (only!) the specification for DSI and several - other CORBA CORE extensions (for bridging) adopted by the OMG. - [ NOTE: use the IIOP specification in 95-3-10, not the one here; - 95-3-10 has changes required by the IFR specification, 95-11-7. ] - -* Initialisation, OMG TC Document 94-10-24. This defines the portable - APIs for initialising ORBs. - -* Interface Repository, OMG TC Document 94-11-7. This updates the - CORBA specifications above and is referenced by the UNO document. - -* IDL C++ Language Mapping Specification, OMG TC Document 94-9-14. - This defines the mapping of CORBA 1.2, including OMG-IDL, onto C++. - -There are a few inconsistencies between these documents, which are in the -process of being resolved. The inconsistencies arose because different -groups worked on different parts of the system, at different times and -with some different goals. Contact the various revision committees to -find out how these differences are being resolved: - - - interop@omg.org ... the interop revision task force (RTF) - - cxx_revision@omg.org ... the C++ RTF - - orb_revision@omg.org ... the general ORB RTF - -Also, note that these ORB specifications correspond to only the lowest levels -of OMG's Object Management Architecture. In particular, the "Object Services" -define object interfaces for naming, events, persistence, relationships, -lifecycle, externalization, transactions, and concurrency control. Also, -"Common Facilities" objects will address such things as compound document -architecture. If you intend to develop software based on ORBs, these -specifications are likely to be of interest. The OMA is available in -technical bookstores: - - Richard Soley (ed.), Object Management Architecture Guide, - Second Edition, John Wiley & Sons, New York, 1992. - - -ACQUIRING REFERENCE DOCUMENTS ------------------------------ -To acquire those reference documents, use the OMG document server through -Internet email. Send a message to "server@omg.org", with content lines -such as - - send help - -to get directions about how to use the server, or - - send docs/95-3-10.ps - -to get a PostScript copy of any particular document. (OMG specifications -are available only in PostScript.) - -The OMG document server is maintained for use by OMG members, but is also -available for general Internet access. Only members will be supported in -the case of problems. - -To find out more about the OMG, send email to "omg@omg.org", or look -at the Web page at "http://www.omg.org". - diff --git a/TAO/docs/Tags.html b/TAO/docs/Tags.html deleted file mode 100644 index 4ff3f3160f1..00000000000 --- a/TAO/docs/Tags.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - Tags used in TAO - - - - -


Tags used in TAO

- -

Overview

- -

The CORBA - specification defines several tags, a.k.a. magic numbers, - to distinguish between several otherwise opaque entities. - For example, - all profiles are transmitted as a CDR encapsulation (a sequence - of octets), - using a tag the type of the profile can be determined and the - encapsulation can be properly interpreted. -

-

To ensure that the tags uniquely indentify the entities in each - namespace the OMG acts as an - allocation authority, - keeps a registry of the tags allocated so far and assigning the - new tag values on demand. - The process to request a tag is very simple, - interested readers can consult - this - link - for more details -

- -

We have reserved several tags for TAO, this page documents - those tags and how they are used, some details are subject to - change. We recommend that interested readers check the - release notes -

- -

List of TAGS

- -

ORB Type ID

- -

- - - - - -
Hex ValueASCII RepresentationDescription
0x54414f00"TAO\0x00"IIOP profiles - contain a component list. One of the elements of this - list (the IOP::TAG_ORB_TYPE) contains a - identifier for the ORB that created the profile. -

- -

IOR Profile IDs

- -

- - - - - -
Hex ValueASCII RepresentationDescription
0x54414f00"TAO\0x00"A TAO local IPC (aka - Unix domain) profile. -

- -

The range 0x54414f01-0x54414f0f - ("TAO\0x01"-"TAO\0x0f") is reserved for future use. - Only for informational purposes we include the following list - of potential uses: -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hex ValueASCII RepresentationDescription
0x54414f01"TAO\0x01"GIOP over ATM/AAL5
0x54414f02"TAO\0x02"Shared memory transport
0x54414f03"TAO\0x03"Message queue
0x54414f04"TAO\0x04"UDP
0x54414f05"TAO\0x05"IP multicast
0x54414f06"TAO\0x06"Compact PCI bus
0x54414f07"TAO\0x07"VME bus
0x54414f08"TAO\0x08"NT named pipes
0x54414f09"TAO\0x08"HTTP-NG
0x54414f0A"TAO\0x08"Pipes (for collocated calls)

- -

Service Context ID

- -

The range 0x54414f00-0x54414f0f - ("TAO\0x00"-"TAO\0x0f") is reserved for future - use. -

- -

Component IDs

- -

- - - - - - -
Hex ValueASCII RepresentationDescription
0x54414f00"TAO\0x00"Server side priority for the endpoint in this profile. - The component is encoded a two shorts, the minimum and - maximum priorities (in that order). - The values correspond to the CORBA priorities defined in the - real-time CORBA spec. - The client will select the endpoint that matches its - priorities and policies. -

- -

The range 0x54414f01-0x54414f0f - ("TAO\0x00"-"TAO\0x0f") is reserved for future - use. -

- -

Vendor Minor Code ID (VMCID)

- -

- - - - - - -
Hex ValueASCII RepresentationDescription
0x54410000"TA\x00x00"System exceptions thrown by TAO have their higher 20 bits - set to 0x54410, - the other 12 bits are used to describe more precisely the - cause of the exception. - The lower 4 bits encode the errno that caused the exception, - the 8 intermediate bits encode the location where the - exception was raised. -

- -

The following list describes the current use of errno and - location encodings:

- - -

- - - - - - - - - - - - - - -
Errno ValueDescription
0x00The error was not caused by a failed system - call
0x01ETIMEDTOUT
0x02ENFILE
0x03EMFILE
0x04EPIPE
0x05ECONNREFUSED
0x06ENOENT
0x07EBADF
0x08ENOSYS
0x09EPERM
0x0AEAFNOSUPPORT

- -

Please consult the documentation for your OS for more details - about the errno meanings

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Location encodingDescription
0x01Connect failed
0x02Location forward failed
0x03Send request failed
0x04POA in discarding state
0x05POA in holding state
0x06Unhandled C++ exception in server side
0x07Failure while reading the reply
0x08All protocols failed to parse the IOR
0x09Attempt to use null pointer
0x0AError during MProfile creation
0x0BTimeout while trying to establish the connection
0x0CTimeout while sending the request
0x0DTimeout while waiting for the reply

- -


- - Back to the TAO documentation. - - - - diff --git a/TAO/docs/compiler.html b/TAO/docs/compiler.html deleted file mode 100644 index 8b9b7fdf1fb..00000000000 --- a/TAO/docs/compiler.html +++ /dev/null @@ -1,545 +0,0 @@ - - - - - -TAO IDL compiler User's Guide - - - - -
-

-TAO IDL compiler User's Guide

- -

Scope

This document describes the options and features of -TAO IDL compiler. It is not a reference manual or tutorial on OMG -IDL. For more information on OMG IDL see the online CORBA -specification and the Advanced CORBA -Programming with C++ book.

- -


-

Generated Files

- -The IDL compiler generates 9 files from each .idl file. The -file names are obtained by taking the IDL basename and -appending the following suffixes (see the list of TAO's IDL compiler -options on how to get different suffixes for -these files:)

- -

    -
  • Client stubs -- *C.h, *C.i, and *C.cpp -
  • Server skeletons -- *S.h, *S.i, and - *S.cpp -
  • Server skeleton templates -- *S_T.h, S_T.i, - and *S_T.cpp -
- -TAO's IDL compiler creates separate *.i and *S_T.* -files to improve the performance of the generated code. Fortunately, -you only need to #include the client stubs declared in -the *C.h file and the skeletons in the *S.h file in -your code.

- -


-

Environment Variables

-TAO_IDL looks for two environment variables CPP_LOCATION -and TAO_IDL_DEFAULT_CPP_FLAGS. TAO_IDL doesn't -implements its own preprocessor and it borrows the preprocessor of -the compiler of your choice to perform the preprocessing work. -On most platform TAO's makefiles can locate the compiler -automatically. However, on NT and some other situation (like cross -compiling,) you need to instruct which specific compiler to use. -CPP_LOCATION allows you to achieve this. It holds the -program name of the compiler that TAO_IDL uses. This should be a full -pathname if the compiler is not within your $PATH. - -TAO_IDL also defines a set of default command line options passed to -the preprocessor depending on which platform TAO_IDL is compiled. The -environment variable TAO_IDL_DEFAULT_CPP_FLAGS allows you -to alter the command line optiona passed to the preprocessor. You can -use it to alter the default options for the preprocessor and specify -things like include directories and how the preprocessor is invoked. -Two flags that won't get overwritten by the environment variable are --DIDL and -I.. They are always passed to -the preprocessor. - -If your IDLs need to include <orb.idl>, then you need to -define either/both ACE_ROOT or/and TAO_ROOT. If you -already have ACE_ROOT defined, TAO_IDL can figure -TAO_ROOT out if your ACE/TAO was installed using default directory -structure, otherwise, you'll need to define TAO_ROOT. - -

-

Operation Demuxing Strategies

- -The server skeleton can use different demuxing strategies to match the -incoming operation with the correct operation at the servant. TAO's -IDL compiler supports perfect hashing, binary search, and dynamic -hashing demuxing strategies. By default, TAO's IDL compiler tries to -generate perfect hash functions, which is generally the most efficient and -predictable operation demuxing technique. To generate perfect -hash functions, TAO's IDL compiler uses gperf , which -is a general-purpose perfect hash function generator.

- -To configure TAO's IDL compiler to support perfect hashing please do -the following: - -

    -
  • Enable ACE_HAS_GPERF when building ACE and TAO. - This macro has been defined for the platforms where gperf - has been tested, which includes most platforms - that ACE runs on.

    - -

  • Build the gperf in $ACE_ROOT/apps/gperf. This build - also leaves a copy/link of the gperf program at the $ACE_ROOT/bin - directory.

    - -

  • Set the environment variable $ACE_ROOT appropriately or add - $ACE_ROOT/bin to your search path.

    - -

  • Use the -g option for the TAO IDL compiler or set - your search path accordingly to install gperf in a - directory other than $ACE_ROOT/bin. -
- -Note that if you can't use perfect hashing for some reason the next -best operation demuxing strategy is binary search, which can be -configured using TAO's IDL compiler options.

- -


-

Collocation Strategies

- -TAO_IDL can generate collocated stubs using two different collocation -strategies. It also allows you to supress/enable the generation of -the stubs of a particular strategy. To gain great flexibility at -run-time, you can gereate stubs for both collocation strategies -(using both '-Gp' and '-Gd' flags at the same time) and defer the -determination of collocation strategy until run-time. On the other -hand, if you want to minimize the footprint of your program, you might -want to pre-determine the collocation strategy you want and only -generate the right collocated stubs (or not generating any at all using -both '-Sp' and '-Sd' flags at the same time if -it's a pure client.) See our collocation -paper for a detail discussion on the collocation support in -TAO.

- - -


-

TAO's IDL Compiler Options

- -TAO's IDL compiler invokes your C (or C++) -preprocessor to resolve included IDL files. It receives the common -options for preprocessors (such as -D or -I). It -also receives other options that are specific to it.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDescriptionRemark
-uThe compiler prints out the options that are given below and exits - clean  
-VThe compiler printouts its version and exits 
-Wb,option_listPass options to the TAO IDL compiler backend. 
export_macro=macro_nameThe compiler will emit macro_name right after each class - or extern keyword, this is needed for Windows/NT that requires - special directives to export symbols from DLLs, usually the definition - is just a space on unix platforms. 
export_include=include_pathThe compiler will generate code to include include_path at the - top of the client header, this is usually a good place to define the export - macro.
pch_include=include_pathThe compiler will generate code to include include_path at the - top of all TAO IDL compiler generated files. This can be used with a - precompiled header mechanism, such as those provided by Borland - C++Builder or MSVC++.
-EOnly invoke the preprocessor 
-Wp,option_listPass options to the preprocessor. 
-Dmacro_definitionIt is passed to the preprocessor 
-Umacro_nameIt is passed to the preprocessor 
-Iinclude_pathIt is passed to the preprocessor 
-AassertionIt is passed to the preprocessor 
-YIt is passed to the preprocessor 
-H perfect_hashTo specify the IDL compiler to generate skelton code that uses perfect - hashed operation demuxing strategy, which is the default strategy. Perfect - hashing uses gperf - program, - to generate demuxing methods.  
-H dynamic_hashTo specify the IDL compiler to generate skelton code that uses dynamic - hashed operation demuxing strategy.  
-H binary_searchTo specify the IDL compiler to generate skelton code that uses binary - search based operation demuxing strategy.  
-H linear_searchTo specify the IDL compiler to generate skelton code that uses linear - search based operation demuxing strategy. Note that this option is for testing purposes only and should not be used for production code since it's inefficient. 
-in To generate #include statements with <>'s for the standard - include files (e.g. tao/corba.h) indicating them as non-changing - files 
-ic To generate #include statements with ""s for changing - standard include files (e.g. tao/corba.h).  
-gTo specify the path for the perfect hasing program (GPERF). Default - is $ACE_ROOT/bin/gperf.  
-oTo specify the output directory to IDL compiler as to where all the - IDL-compiler-generated files are to be put. By default, all the files are - put in the current directory from where is called.  
-hcClient's header file name ending. Default is "C.h". 
-hsServer's header file name ending. Default is "S.h". 
-hTServer's template header file name ending. Default is "S_T.h". 
-csClient stub's file name ending. Default is "C.cpp". 
-ciClient inline file name ending. Default is "C.i". 
-ssServer skeleton file name ending. Default is "S.cpp". 
-sTServer template skeleton file name ending. Default is "S_T.cpp". 
-siServer inline skeleton file name ending. Default is "S.i". 
-stServer's template inline file name ending. Default is "S_T.i". 
-tTemporary directory to be used by the IDL compiler. Default : - Resolve ACE_DEFAULT_TEMP_DIR_ENV. If it is not defined, choose - /tmp/. -  
-CwOutput a warning if two identifiers in the same scope differ in - spelling only by case (default for now). 
-CeOutput an error if two indentifiers in the same scope differ in - spelling only by case. Default output is warning (for now).Since there is at least one OMG IDL file (sfp.idl, part of the - AVStreams specification) that is inconsistent with its own spelling - rule, we have made a warning the default output until the issue - is resolved.
-GcGenerate stubs and skeletons using compiled marshaling  
-GiGenerate stubs and skeletons using interpretive marshaling (default - for now)  
-Ge flagIf the value of the flag is 0, tao_idl will generate code that - will use native C++ exceptions. If the value of the flag is 1, - tao_idl will generate code that will use environment variable for - passing exceptions  
-Gp Generated collocated stubs that use Thru_POA collocation strategy (default) 
-Gd Generated collocated stubs that use Direct collocation strategy 
-GtGenerate optimized TypeCodes (unimplemented as yet) 
-GvGenerate code that suppports Object-By-Value 
-GIGenerate templates files for the servant implementation  
-GIh argServant implemenation header file name ending 
-GIs argServant implemenation skeleton file name ending 
-GIb argPrefix to the implementation class names 
-GIe argSuffix to the implementation class names 
-GIc argGenerate copy constructors in the servant implementation template files 
-SaSuppress generation of the Any operators 
-SaSuppress generation of collocated stubs that use Thru_POA collocation strategy 
-SdSuppress generation of collocated stubs that use Direct collocation strategy (default) 
-StSuppress generation of the TypeCodes 

- -


-Back to the TAO documentation. - - - - - diff --git a/TAO/docs/components.html b/TAO/docs/components.html deleted file mode 100644 index 5a1d34631d0..00000000000 --- a/TAO/docs/components.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - TAO Component Documentation - - - - -


-

Component Documentation

- -

The following documentation is available on certain TAO components:

- -
    -
  • Options ­ describes the - options available to customize various components within TAO. - These customizations can be done by an end-user and do not - require C++ programming.

    - -

  • Configuration ­ - describes how to mix and match component options to customize - how TAO processes requests. For example, this - document explains how to configure TAO to process - all request in one thread, each request in a separate thread, or each connection - in a separate thread, etc.

    - -

  • Mapping of all TAO files - into a manageable set of inheritance -hierarchies.

    -

- - -


-Back to the TAO documentation index. - - - - diff --git a/TAO/docs/configurations.html b/TAO/docs/configurations.html deleted file mode 100644 index a4466563beb..00000000000 --- a/TAO/docs/configurations.html +++ /dev/null @@ -1,770 +0,0 @@ - - - - - - - -Configuring TAO's Components - - - - -


-

-Configuring TAO's Components

- -

Overview

- -

As described in the options -documentation, various components in TAO can be customized by -specifying options for those components. This document illustrates -how to combine these options in order to affect ORB behavior and -performance, particularly its concurrency -model.

- -

TAO configures itself using the ACE -Service Configurator framework. Thus, options are specified in the -familiar svc.conf file (if you want to use a different file -name, use the -ORBsvcconf -option). You can also setup default configurations for your programs. -Please see the Programming Considerations -for more detailed discussion on this.

- -
-

-Roadmap

- -
Details for the following configurations are provided. - -
- -
-

-Configuring Key ORB Components

- -
    -
  • Number of ORBs --
  • - TAO can assign multiple endpoints to an ORB. Therefore, - it is not necessary to create multiple ORBs to accept - requests from multiple endpoints. However, multiple ORBs can be - used to support different policies within the same process, - e.g., handling requests in different thread - priorities. Multiple ORBs are most commonly used in the "ORB - per-priority" pattern to avoid priority inversion in real-time - system.

    - -

  • Server concurrency strategy -- - The default server strategy factory provided by down support two - different concurrency strategy. It can be specified by adding - the "-ORBconcurrency" flag in the Server_Strategy_Factory - entry of the svc.conf file. This - specifies the concurrency strategy an ORB uses. This strategy - is orthogonal the the number of ORBs or threads that are - configured in a server process.
  • - -

      -
    • reactive: The ORB handles requests reactively, - i.e., the ORB runs in one thread and service multiple - requests/connections simultaneously using the - - ACE_Reactor, which uses select or a similar - event demultiplexing mechanism supported by the - platform.
    • - -

    • thread-per-connection: The ORB handles new - connections by spawning a new thread whose job is to - service requests coming from the connection.
    • -

    - -

  • Thread Pools
  • -- - TAO supports several types of thread pools.

    - -

      -
    • reactive: In this approach, each thread - in the thread pool has an ORB that accepts and processes - requests reactively.

      - -

    • leader/follower: In this model, the user must - create several threads, all of which invoke - ORB::run, the ORB will select one of the threads - to wait for incoming requests. - This thread is called the leader thread and will process the - first request that arrives to the ORB, but before - doing so the ORB will selects another thread in the pool to - become the leader. - In other words the threads in the pool take turns to - process the events. -

      -

      - Notice that this configuration requires the - ACE_TP_Reactor, i.e. - you must use the -ORBReactorType tp in the - configuration file. -

      -
    • - -

    - - - -

  • Collocation Table -- An ORB can have - several listening endpoints. If there are several ORBs in a - process and a global collocation table is used, then all objects - in the same process are considered collocated. If not, only - objects reside in the same ORB are considered - collocated. You can control the usage of global collocation - table by passing the - -ORBCollocation flag as an argument of - ORB_init (most often thru the command line flags.)

    - -

  • Forwarding Profile -- - When multiple threads using the same - CORBA::Object and using forwarding, it is necessary to - protect the forwarding Profile, which is part of the - CORBA::Object, against multiple access. Therefore a mutex lock - is used by default to ensure proper access.

    - - Using the switch - -ORBprofilelock this policy can be deactivated - specifying -ORBprofilelock null. - The primary reason for doing this is to improve performance - when no forwarding is used or no multithreading with access to - shared CORBA::Object's. Using a null mutex reduces - the overhead compared with using a regular mutex - lock.

  • - -

  • orbsvcs Library -- By default, the - TAO orbsvcs library contains all of the services that TAO - currently supports. To reduce build time and library size, you - can exclude unused services. To do that, define a - TAO_ORBSVCS variable using one of these - approaches:
  • - -

      -
    1. In your - $(ACE_ROOT)/include/makeinclude/platform_macros.GNU - file, - -
    2. On the make command line, e.g., make - TAO_ORBSVCS=Event, or - -
    3. Set (and export) a TAO_ORBSVCS environment variable. -

    - - Please see the ORBSVCS - Makefile for the default setting of - TAO_ORBSVCS.

    - - Please note that the Naming Service will always be built, even - if Naming is not specified in TAO_ORBSVCS. That's - because many examples, tests, and presumably applications use it.

    -

- -
-

-Configuration Examples

- -The following are common ORB configurations used by TAO applications.

- -

    -
  • - Single-threaded, reactive model.
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TAO_Client_Strategy_Factory: - -ORBConnectorLock null - - -
    Typical UseThis is the default configuration of TAO, where one - thread handles requests from multiple clients via a - single Reactor. It is appropriate when the requests (1) - take a fixed, relatively uniform amount of time and (2) - are largely compute bound. 
    Number of Threads1
    Thread CreatorOS or whoever creates the main ORB thread in a process.
    Thread taskThe single thread processes all connection requests and - CORBA messages.
    OptionsThe default settings should work just fine. However, - you can apply the following options to improve performance:
    - TAO_Resource_Factory: -ORBReactorType - select_st, -ORBInputCDRAllocator null -
    TAO_Server_Strategy_Factory: - -ORBconcurrency reactive (default), - -ORBPOALock null
    - -

    Check out the Grid - for an example of this configuration.

    - -

  • Single ORB, multiple threads, thread-per-connection - model.
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Typical Use - This configuration spawns a new thread to serve requests - from a new connection. This approach works well when - there are multiple connections active simultaneously and - each request-per-connection may take a fair amount of - time to execute. -
    Number of Threads1 thread for the ORB, plus 1 thread for each connection.
    Thread CreatorProgrammer must set up the main thread which the ORB - lives. The ORB is responsible to create new threads upon - new connections.
    Thread taskThe main thread handles new connections and spawns new - threads for them. Other threads handle requests for - established connections.
    OptionsTAO_Resource_Factory: -ORBReactorType - select_mt (default) or other thread-safe platform specific - reactors.
    -
    TAO_Server_Strategy_Factory: - -ORBconcurrency thread-per-connection
    -

    - IDL_Cubit - is a good example on using multiple threads, thread-per-connection - configuration.

    -

  • -

    Multiple threads, multiple ORB, reactive model.

  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Typical UseIn this configuration, there are multiple ORBs in a - process with multiple threads. Each thread handles requests - reactively. It's good for hard real-time applications that - require different thread priorities for the various - ORBs.
    Number of ThreadsOne thread for each ORB.
    Thread CreatorThe main process (thread).
    Thread taskService the requests from associating ORB.
    OptionsTAO_Resource_Factory: -ORBReactorType - select_mt (default) or other thread-safe platform specific - reactors.
    -
    TAO_Server_Strategy_Factory: - -ORBconcurrency reactive
    -

    - -

  • Multiple threads, multiple ORBs, thread-per-connection model.
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Typical Use - This approach provides a range of thread priorities plus connections - that don't interfere with each others.
    Number of ThreadsOne thread for each ORB, plus one thread for each connection.
    Thread CreatorMain threads creates threads running ORBs. They, in turns, - create connection handling threads.
    Thread taskThere are threads running ORB's event loops which handle - connection requests and handler threads which service - requests form establiched connections.
    OptionsTAO_Resource_Factory: -ORBReactorType - select_mt (default) or other thread-safe platform specific - reactors.
    -
    TAO_Server_Strategy_Factory: - -ORBconcurrency thread-per-connection
    - -

    -MT_Cubit - is a good example on using multiple threads, -multiple ORBs, and thread-per-connection configuration.

    -

  • - Multiple threads, single ORB, thread-pool model.
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Typical UseThis model implements a highly optimized thread pool that leverages - context switching, and thread creation costs. In this - model, the programmer is responsible of spawning a group - of threads, start up the ORB and then instruct all the threads - to run the ORB event loop. When a request comes in, one - of these waiting threads in the pool will handle the - request.
    Number of ThreadsThread for the ORB, plus the number of threads used by the thread pool.
    Thread CreatorPre-spawned by the main thread.
    Thread taskBlocking on the reactor to wait for its turn to handle a request.
    OptionsTAO_Resource_Factory: -ORBReactorType - tp.
    -
    TAO_Server_Strategy_Factory: - -ORBconcurrency reactive
    - -

  • - Multiple threads, multiple ORBs, thread-pool model. -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Typical UseThis model incorporates the advantage of using thread-pool - while allowing hard real-time system to handle requests in - different priority.
    Number of ThreadsOne thread for each ORB, plus the total number of threads in all thread pools
    Thread CreatorPre-spawned by the main thread.
    Thread taskHandle incoming request for the ORB event loop it is - waiting on.
    OptionsTAO_Resource_Factory: -ORBReactorType - tp.
    -
    TAO_Server_Strategy_Factory: - -ORBconcurrency reactive
    -

- -
-

-Programming Considerations

- -There are several ways to pass option flags into TAO's -components.

- -

    - -
  • The plain vanilla approach is do nothing. All TAO components - use their default settings.

    - -
  • The most common use case is to use a file called - svc.conf. On most platforms, TAO programs - automatically search and read in the file. The disadvantage of - this approach is you always need a svc.conf file if - you want to do use non-default configuration.

    - -
  • You can use -ORBsvcconf filename to use - a config file that is not called svc.conf. - Specifying -ORBsvcconf exclude the reading of - default svc.conf file.

    - -
  • If you don't want the application users to worry about - setting up or knowing about svc.conf files, you can - call TAO_Internal::default_svc_conf_entries() - before calling the first ORB_init() in your program - to set up the default svc.conf entries. In this case, if a TAO - application cannot find a svc.conf file, it will configure TAO's - components using the default settings. You can still use a - svc.conf file or use -ORBsvcconf - option to tune the program.

    - -

  • TAO programs evaluate the configuration settings in the following - order,

    - -
      -
    1. File specified in -ORBsvcconf command-line - option, if one exist. Otherwise, the - svc.conf in the start-up directory will be - evaluated, if one exist. -
    2. Default entries set by - TAO_Internal::default_svc_conf_entries(), if - ones exist. -
    3. Default configuration as specified in this document. -
    - -

    Notice that the first encountered component settings are - always the ones take effect. For example, if you set the entries - for Resource_Factory and - Server_Strategy_Factory using - TAO_Internal::default_svc_conf_entries() in a - program and you also have a file called svc.conf - which has an entry for Resource_Factory. This - program will use the entry for Resource_Factory in - the svc.conf file, the entry for - Server_Strategy_Factory set in the program, and the - in-stock Client_Strategy_Factory that TAO defines.

    - -

  • Some platforms do not support reading of svc.conf - files or you would rather not to use the feature. In this case, - you must define TAO_PLATFORM_SVC_CONF_FILE_NOTSUP - in your ACE config.h file and recompile TAO - library. In this case, a TAO program will not try to search for - the default svc.conf file. However, if platform - support, you can still use -ORBsvcconf to change - the program behavior temporarily.

    - -

    On these platform, you can alter the default settings for - TAO components by defining the following macros in your - config.h file:

    - -
      -
    • TAO_DEFAULT_RESOURCE_FACTORY_ARGS -
    • TAO_DEFAULT_SERVER_STRATEGY_FACTORY_ARGS -
    • TAO_DEFAULT_CLIENT_STRATEGY_FACTORY_ARGS -
    - -

    The ACE Makefiles fakesvcconf flag can be - used to define TAO_PLATFORM_SVC_CONF_FILE_NOTSUP. - To define that macro, just add fakesvcconf=1 to - your make invocation. - -

    See orbconf.h for - an example. -

- -
-

-Configuration for homogenous systems

- -
    -
  • Compile-time options -

    Many real-time applications run on homogenous environments, TAO (and - ACE) can take advantage of this fact by simplifying the server side demarshaling; - to enable this feature you have to edit the $ACE_ROOT/ace/OS.h - file and enable the macro ACE_DISABLE_SWAP_ON_READ. -

    In this systems it is also common that server and the client startup - and shutdown simultaneously, in those circumstances there is no need to - check the timestamps in the POA, another macro (POA_NO_TIMESTAMP) - can be used for this purpose. -

    Users running in embebbed systems may also need to modify the default - options for TAO, the macros TAO_DEFAULT_RESOURCE_FACTORY_ARGS, - TAO_DEFAULT_CLIENT_STRATEGY_FACTORY_ARGS and TAO_DEFAULT_SERVER_STRATEGY_FACTORY_ARGS - can be used for those purposes. If the footprint size is an issue users - may consider writing custom strategy factories that only create the right - strategies, this eliminates the parsing code for the different options. - -

    -

  • Run-time options -

    If the only ORB running is TAO and there is no need to be IIOP interoperable - the option -ORBgioplite can be used to reduce the message size - and the processing time. -

    Some embedded systems run without the benefit of a DNS server, in that - case they can use the -ORBdotteddecimaladdresses option; the ORB - will avoid the use of hostnames in the profiles it generates, thus clients - don't need to do any name resolution. The compile-time define TAO_USES_DOTTED_DECIMAL_ADDRESSES - in $TAO_ROOT/tao/orbconf.h to make this the default behavior. -

- -
-

Configuration Suggestions

- -Choosing the right configuration is hard and, of course, depends on your -application. In the following section we will attempt to describe some -motivations for features in TAO, hopefully that can guide you through the -choice of your configuration options. -
    - -
  • ORB-per-thread -- The main motivation behind this options is to - minimize priority invertion, since threads share no ORB resources no locking - is required and thus, priority is preserved in most cases (assuming proper - support from the OS). If you are not too concerned about priority inversion - try to use a single ORB, using ORB-per-thread has some tradeoffs (like - calling ORB_init on each thread, activation of a servant is more complicated, - etc.) Some of the problems, can be minimized, but they require even more - careful analysis. -

    As the reader will note this is a delicate configuration option, the - rule of thumb should be not to use ORB-per-thread unless it is really - required.

    - -

  • - - Collocation tables -- Why would an application not want to - use the global collocation table? Because a collocated method - invocation is run in the client's thread-of-control. If objects - are to serve requests only at a well - known priority the application can be configured with the - ORB-per-thread option, and the object is activated only in the thread - (ORB) corresponding to the desired priority. But using a global table - would subert the priority assignment (because calls would run at the - priority of the client).
  • - -

  • Single-threaded vs. Multi-threaded Connection Handlers - -- The - Client_Connection_Handler is the component in TAO that writes - the requests to the underlying transport socket; this is also the - component that reads the response back from the server.
  • - -

    - - While waiting for this response new requests to the local ORB can - arrive, this is the so-called nested upcall support. TAO supports two - mechanisms for handling nested upcalls, the default uses the - leader-follower model to allow multiple threads to wait on a single - reactor for several concurrent requests; sometimes this configuration - can be an overkill, if only one thread is using a reactor at the same - time a lighter weight implementation can be used.

    This - configuration is controled by the -ORBclientconnectionhandler - option, good opportunities to use this option are:

    - -

      -
    • Single threaded servers
    • - -
    • Servers running in ORB-per-thread mode (pseudo single - threaded.)
    • - -
    • Pure clients that will never receive a request
    • -

    - -

  • - Allocator for input CDR streams -- Normally the application has no - access to this buffer, and it is only used on the demarshaling of arguments - (or results). It is almost always better to use the "-ORBinputcdrallocator - null" option since it will allocate memory from a thread specific allocator - and it will not need locks to manage that memory.
  • - -

    In some cases the user may gain access to the CDR stream - buffer: TAO makes no copies when demarshaling octet sequences, instead - the octet sequence simply points to the CDR buffer, since the octet - sequence does not own this buffer a copy must be made if the user - wants to keep the buffer after the upcall. - -

    The user can, however, increase the reference count on the CDR - stream buffer, thus allowing her to extend the lifetime of this - buffer. Still passing this buffer to another thread and attempting to - release it in that thread will result in some memory leak or - corruption. Users willing to use this feature of TAO can still do so, - if they use a global allocator for their input CDR stream, but - that will introduce extra locking on the critical path.

    As the - reader can see this is an option that has limited applicability and - requires careful consideration of the tradeoffs involved. -

- -
-

Back to the TAO components documentation. - - diff --git a/TAO/docs/ec_options.html b/TAO/docs/ec_options.html deleted file mode 100644 index 06c8c54d8ed..00000000000 --- a/TAO/docs/ec_options.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - Real-time Event Channel Configuration - - - - -

-

Real-time Event Channel Configuration

-
- -

Overview

- -

The new implementation of the real-time event channel uses a - factory to build all the objects and strategies it requires. - The factory can be dynamically loaded using ACE Service - Configurator, this is extremely convenient because the factory - can also parse options in the Service Configurator script file. -

- -

The current implementation provides a default implementation - for this Factory, this document describes the options used by - this default implementation. -

- -

The configuration file

- -

The real-time event channel uses the same service configurator - file that the ORB uses, the default name for this file is - svc.conf, but the ORB option - -ORBSvcConf can be used to override this. - The format of the file is described in detail in - the service configurator documentation, but the relevant section - for the event channel looks like this: -

- -
-# Comments go here...
-# More comments if you want to...
-static EC_Factory "-ECFiltering basic ....."
-
- -

All the event service factory options start with - -EC

- - -

The options

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDescription
-ECDispatching - dispatching_strategy - Select the dispatching strategy used by the real-time - event service. A reactive strategy will use the - same thread that received the event from the supplier to - push the event to all the consumers, - the priority strategy will use a prioritized pool - of threads and will query the scheduling service to select - the thread that will dispatch each event; - the mt strategy will also use a pool of threads, - but the thread to dispatch is randomly selected. -
-ECDispatchingThreads - number_of_threads - Select the number of threads used bythe mt - dispatching strategy. -
-ECFiltering - consumer_filtering_strategy - Select the filtering strategy used by the consumers. - The null filtering strategy will build trivial - filters for all consumers. - The basic filtering strategy supports - disjunction, conjunctions and timeouts based on the - subscriptions passed by the consumer during the connect - call. - The priority filtering strategy supports the same - features, but it also collaborates with the scheduling - service to build the dependency graph. -
-ECSupplierFiltering - supplier_filtering_strategy - The event channel can also perform some filtering close - to the suppliers by minimizing the number of consumers - that are tested for given event. - If the strategy is null then a global collection - of consumers is maintained and each event is filtered by - each consumer. - If the strategy is per-supplier then the EC uses - the supplier publications and the consumer subscriptions - to determine which consumers could potentially be - interested in events for each supplier. - This set of consumers is usually smaller than the complete - set and it is thus faster to traverse it, but keeping more - collections of consumers increases the connection and - disconnection time as well as the memory requirements. -
-ECTimeout - timeout_strategy - A consumer can request that the event channel generate - periodic or oneshot timeout events. - This option controls the strategy to generate the - timeouts, - using reactive the same reactor used for the ORB - is used by the event service. - The priority strategy uses a prioritized group of - threads, timeouts with higher rate are generated by - threads of higher priority. -
NOTE: The priority strategy is not - implemented -
-ECObserver - observer - The event channel uses the Observer pattern to report - changes in the subscriptions and publications of its - suppliers and consumers; this is specially useful in the - implementation of event channel gateways. - The user can disable this feature by selecting the - null strategy; - whereas the basic strategy provides a simple, yet - efficient implementation. -
-ECScheduling - scheduling_strategy - The event channel can collaborate with the scheduling - service to build the dependency list between the consumers - and the suppliers. - If the null scheduling strategy is selected this - feature is disabled, - the priority strategy enables this feature. -
NOTE: The default is to have the feature disabled. -
-ECPushSupplierSet - strategy -

Consumers can connect and disconnect from the event - channel as part of push to one consumer; - changing the set of consumers as a result of such an - operation would invalidate the iterators used by the event - channel to dispatch to the relevant consumers. - There are several ways to handle this problem, for example - a copy of the set could be made before initiating - the dispatch, or only if there is a change on the set - during the dispatch. - If the dispatching strategy is not reactive then it is - possible to lock the set of consumers during the duration - of the dispatch operation, the change in the subscriptions - will be held until the event is completely processed. - Finally the subscription change could be delayed until the - event is fully processed and there is no risk of - invalidating an iterator. -

-

All this strategies have merits under different - circumstances, the user can select the right one for his - application using this option. - The immediate strategy will perform any changes - on the consumer set immediately, simply using a lock to - synchronize access. The delayed operation will - wait until there are no threads iterating over the set - to perform any modifications on it. - The immediate_st simply performs the - modications without taking any locks, it is useful for - single threaded applications that do not receive changes - are part of an upcall (for example: if there are no - collocated consumers). -

-
-ECProxyConsumerLock - lock_type - Select the lock type (null, thread or - recursive) to synchronize access to the - ProxyPushConsumer state. -
-ECProxySupplierLock - lock_type - Select the lock type (null, thread or - recursive) to synchronize access to the - ProxyPushSupplier state. -
-ECConsumerAdminLock - lock_type - Select the lock type (null, thread or - recursive) to synchronize access to the - ConsumerAdmin state. -
-ECSupplierAdminLock - lock_type - Select the lock type (null, thread or - recursive) to synchronize access to the - SupplierAdmin state. -
-

- -

The constructor

- -

The TAO_EC_Event_Channel class implements the - RtecEventChannelAdmin::EventChannel interface; - this class takes one mandatory and two optional parameters in - its constructor: -

- -
-  TAO_EC_Event_Channel (const TAO_EC_Event_Channel_Attributes& attributes,
-                        TAO_EC_Factory* factory = 0,
-                        int own_factory = 0);
-
- -

The factory is an optional parameter to override - the default strategy factory used by the event channel, - the event channel will destroy the factory if the - own_factory argument is true. -

- -

The attributes parameter can be used to fine tune - some of the algorithms and strategies used by the event channel, - the default values are probably OK for most applications. - Notice that the attributes include the POA used to activate the - ConsumerAdmin, SupplierAdmin, ProxyPushConsumer and - ProxyPushSupplier objects; - this POAs must have the IMPLICIT_ACTIVATION and the - SYSTEM_ID policies (as the RootPOA does). -

- -

- - - - - - - - - - - - - - - - - - - - - -
AttributeDescription
consumer_reconnectoIf the attribute is not zero then the same consumer can - call connect_push_consumer on its - ProxyPushSupplier multiple times to change its - subscriptions; - this is usually more efficient that disconnecting and - connecting again. -
supplier_reconnectoIf the attribute is not zero then the same supplier can - call connect_push_supplier on its - ProxyPushConsumer multiple times to change its - publications; - this is usually more efficient that disconnecting and - connecting again. -
busy_hwmWhen using the delayed strategy to update - ProxyPushSupplier sets this flag controls the maximum - number of thread that can simultaneously iterate over the - set before blocking. - It can be used to avoid starvation in delayed updates on - the set. -
max_write_delayWhen using the delayed strategy to update - ProxyPushSupplier sets this flag controls the maximum - number of threads that will initiate dispatching - after a change has been posted. - Any thread after that is blocked until the operations are - performed. - It can be used to completely stop starvation of delayed - updates on the set. -
schedulerMost configurations of the real-time event channel do - not require an scheduler. - If any of the strategies that require an scheduling - service is selected then this attribute should be set - appropiately. -
-

- -


- - Back to the TAO components documentation. - - - -

Carlos O'Ryan
- - -Last modified: Fri Jul 2 11:24:48 CDT 1999 - - - diff --git a/TAO/docs/events_tutorial.html b/TAO/docs/events_tutorial.html deleted file mode 100644 index c07ae139d88..00000000000 --- a/TAO/docs/events_tutorial.html +++ /dev/null @@ -1,1819 +0,0 @@ - - -Using the Real-Time Event Service - - - - -
-
- -
-

Using the Real-Time Event Service

- -Chris Gill, -Tim Harrison, and -Carlos O'Ryan

- -cdgill@cs.wustl.edu, -harrison@cs.wustl.edu, and -coryan@cs.wustl.edu
-

- -
-
- -


- - -

- -
-

Overview

-
-
-
-

Contents

-
-
    -
  1. Overview -
  2. The COS Event Model -
  3. Real-Time Event Service Enhancements -
  4. The Real-Time Event Service -
  5. Developing Consumers -
  6. Developing Suppliers -
  7. Caring For Your Event Channel -
  8. Sample Applications -
  9. Reference Materials -
- -


-

-

Introduction

-
-This material is intended to provide an introduction to the COS Event Model, -the Real-Time extensions to that model in TAO, and a set of examples that -illustrate the techniques used to build systems using these models. The CORBA -Event Service provides a flexible model for asynchronous communication among -objects. However, the standard CORBAEvent Service specification lacks -important features required by real-time applications. These features include -event filtering, event correlation, and periodic event processing.

- -The standard CORBA operation invocation model supports twoway, oneway, -and deferred synchronous interactions between clients and servers. -The primary strength of the twoway model is its intuitive mapping onto -the object->operation() paradigm supported by OO languages. -In principle, twoway invocations simplify the development of -distributed applications by supporting an implicit request/response -protocol that makes remote operation invocations transparent to the -client.

- -In practice, however, the standard CORBA operation invocation models -are too restrictive for real-time applications. In particular, these -models lack asynchronous message delivery, do not support timed -invocations or group communication, and can lead to excessive polling -by clients. Moreover, standard oneway invocations might not implement -reliable delivery and deferred synchronous invocations require the use -of the CORBA Dynamic Invocation Interface (DII), which yields -excessive -overhead for most real-time applications.

- -The Event Service is a CORBA Object Service (COS) that is designed to -alleviate some of the restrictions with standard CORBA invocation -models. In particular, the COS Event Service supports asynchronous -message delivery and allows one or more suppliers to send messages to -one or more consumers. Event data can be delivered from suppliers to -consumers without requiring these participants to know about each -other explicitly.

- -There are two models (i.e., push vs. pull) -of participant collaborations in the COS Event Service architecture. -This material focuses on real-time enhancements to the push model, which -allows suppliers of events to initiate the transfer of event data to -consumers. Suppliers push events to the Event Channel, which in turn -pushes the events to consumers.

- -Suppliers use Event Channels to push data to consumers. Likewise, -consumers can explicitly pull data from suppliers. The push and pull -semantics of event propagation help to free consumers and suppliers -from the overly restrictive synchronous semantics of the standard -CORBA twoway communication model. In addition, Event Channels can -implement group communication by serving as a replicator, broadcaster, -or multicaster that forward events from one or more suppliers to -multiple consumers.

- -

-
- -

- - -

-
-

The COS Event Model

-
- - -

Relationships Between Modules

- -The role of each component in the COS Event Model is outlined -below:

- -

    -
  • EventChannel -- The EventChannel interface provides - two factory methods, which allow applications to obtain consumer and - supplier administration objects, respectively, and use them to create - the other objects described below, to connect to the event channel.

    - -

  • SupplierAdmin -- The SupplierAdmin interface provides - factory methods which create the appropriate supplier proxy objects.

    - -

  • ConsumerAdmin -- The ConsumerAdmin interface provides - factory methods which create the appropriate consumer proxy objects.

    - -

  • ProxyPullSupplier -- The ProxyPullSupplier - interface is used by consumers in the pull model to connect and - disconnect from the channel. This interface inherits from the - PullSupplier interface, and acts as a proxy for the suppliers - from which the channel will pull events.

    - -

  • ProxyPushSupplier -- The ProxyPushSupplier - interface is used by consumers in the push model to connect and - disconnect from the channel. This interface inherits from the - PushSupplier interface, and acts as a proxy for the suppliers - which will push events to the channel.

    - -

  • ProxyPullConsumer -- The ProxyPullConsumer - interface is used by suppliers in the pull model to connect and - disconnect from the channel. This interface inherits from the - PullConsumer interface, and acts as a proxy for the consumers - on whose behalf the channel will pull events.

    - -

  • ProxyPushConsumer -- The ProxyPushConsumer - interface is used by suppliers in the push model to connect and - disconnect from the channel. This interface inherits from the - PushConsumer interface, and acts as a proxy for the consumers - to which the channel will push events.

    - -

  • PullSupplier -- The PullSupplier interface provides - the necessary methods of a supplier of events in the pull model.

    - -

  • PushSupplier -- The PushSupplier interface provides - the necessary methods of a supplier of events in the push model.

    - -

  • PullConsumer -- The PullConsumer interface provides - the necessary methods of a consumer of events in the pull model.

    - -

  • PushConsumer -- The PushConsumer interface provides - the necessary methods of a consumer of events in the push model.

    -

- -
-
-
-
-
-
-
-
- -


- -

-

The Push Model

-
-
- -
-
    -
  • Consumers - Ultimate targets of events -
  • Suppliers - Generate events -
  • Event Channel - Decouple consumers and suppliers by propagating - events to consumers on behalf of suppliers -
-
- -


- - -

-
- -

Real-Time Event Service Enhancements

- -
-
    -
  • Prioritized dispatching within preemption - classes -- The current implementation can dispatch - events in the same queue by their order of importance, which is - necessary to support priorities within a rate group.

    - -

  • Suspend/resume -- If a consumer's event - dependencies change at run-time, it can utilize the - suspend/resume functionality through the new - ProxyPushSupplier::suspend and - ProxyPushSupplier::resume methods. When a - consumer invokes ProxyPushSupplier::suspend, the - dependencies registered with that proxy will be disabled until - the resume methods is called. These enhancements - allow run-time flexibility of event dependencies, but maintains - the determinism required by the system scheduling policy (i.e., - consumers can not add and remove dependencies at run-time - - just suspend and resume them).

    - -

  • Event data model -- The data model may use - unions, untyped buffers, or type anys.

    - -

  • Event filtering -- Consumers may register for -events based on event type, or supplier id. The event channel filters events -based on these registrations, to ensure efficient event delivery.

    - -

  • Event correlation -- Consumers may register -for event delivery based on conjunctive or disjunctive sets of events. Conjunctive -registrations cause the event channel to notify the consumer when all -events in the set have arrived. Disjunctive registrations cause the event channel -to notify the consumer when any event in the set has arrived.

    - -

  • Periodic event processing -- Consumers -may register for suppliers based on timed events. Periodic suppliers push events -into the channel at well defined intervals.

    - -

  • Active consumers and suppliers -- See - The Real-Time Event Service

    . - -

-
-
- -


- - -

-
-

The Real-Time Event Service

-
- -
-

Real-Time ORB and Services

-
-
- -
-
-
    -
  • Real-time event dispatching

    -

      -
    • Priority-based queueing and preemption mechanisms

      -

    -
  • Centralized event filtering and correlation

    -

      -
    • Source/type-based filtering

      -

    • Conjunction/Disjunction (AND/OR) correlations

      -

    - -
  • Periodic and Aperiodic processing

    -

      -
    • Canonical timeouts

      -

    • Dependency timeouts -
    -
- -
-
- -


- -

-
-

Real-Time Event Service Internals

-
-
-
-
-
- -


- -

-

Characteristics of Real-Time Push Event Service Participants

- -
-Two major roles are played by the participants in a real-time push event -service.

- -

-The first role is that of an event consumer, which receives events from the -event channel. A consumer specifies the type and/or source id for each event -it is interested in receiving.

- -In hard real-time applications, a consumer must also specify RT_Info data for -each event it is interested in receiving, and any other events on which that -event depends. The RT_Info structure resides in the Scheduler, and is -accessed through the scheduler interface. A unique handle is returned to the -consumer when an RT_Info is created, which can then be used to set the -information in the RT_Info. An RT_Info handle may also be obtained via the -Scheduler's lookup method.

- -

-The second role is that of an event supplier, which generates events and -passes them into the event channel. A supplier must specify its source id, -and the type of each event it will generate. - -
-In hard real-time applications, a supplier must also specify RT_Info data for -the events it will generate. In particular, it must specify the maximum rate -at which it will generate each event. This information is used by a real-time -scheduler to assign appropriate dispatch priorities.

- -

-Note that the event channel may also be configured to use a null scheduling service. This will -cause all operations to be dispatched at the same priority, and will not require the application -to specify worst case execution times, periods, etc. - -
-The consumer and supplier roles may be combined, as illustrated in the tables below. There are -two main cases in which the roles are combined: a passive one termed Consumer/Supplier which -borrows a thread of execution to produce events, and an active one termed Supplier/Consumer -which produces events in its own thread. Both consume events and produce events.

-

- -
-
-
-

EC Roles and Specified RT_Info Contents

- - - - - - - - - - - - - - - - -
EC Roles -RT_Info Contents -Domain Examples -
Consumer - dependencies (and optionally, importance) - Display, Exception & Maintenance Logs -
Consumer/Supplier - dependencies (and optionally, importance) - Navigation Component (NAV) -
Supplier/Consumer - rate, dependencies (and optionally, importance) - Kalman Filter -
Supplier - rate - Operator Control Panel, EC Reactor Threads -
-
-
- - -
-

EC Roles and Scheduler Dependency Chain

- - - - - - - - - - - - - - - - -
EC Roles - Scheduler Dependency Chain -
Pure Consumer - root node -
Consumer/Supplier - internal node -
Supplier/Consumer - internal node -
Pure Supplier - leaf node -
-
-
- -
-

EC Roles, Threading, and CORBA Roles

- - - - - - - - - - - - - - - -
EC Roles - Activity - Thread Behavior - CORBA Roles -
Pure Consumer - Passive - Threads optional, "internal", wait for an event to occur - Servant -
Consumer/Supplier - Passive - Threads optional, "internal", wait for an event to occur - Client and/or Servant -
Supplier/Consumer - Active - Threads required and visible to EC: consume events and actively produce other events - Client and/or Servant -
Pure Supplier - Active - Threads required and visible to EC: actively produce events - Client -
- -


- -

-
-
-
- -


- -

-
-
-
- -


- -

-
-
-
- -


- -

-
-
-
- -


- -

-
-
-
- -


- - -

-
-

Developing Consumers

-
- -
- -


-

-

Providing QoS Information

- -

-The following steps are only necessary for applications that make use of the -Event Service's hard real-time features. Applications that do not need these -features and are configured with a null scheduler may skip the following -operations on the scheduling server. - -
-For each operation, a Consumer should provide the worst case, expected, and -cached execution time for that operation. It must also specify criticality and -importance values for each operation. A real-time scheduler uses this information -to order dispatches within a set of operations whose dependencies have been met. - -
-If it is a Consumer/Supplier (one which consumes an event and passively generates -one or more events from the thread in which it was called, as illustrated in the -tables above), it must provide dependencies on one or more other events to the -scheduler. - -
-If it is a Supplier/Consumer (one which consumes an event and actively generates -one or more events from its own thread, as illustrated in the tables above), it -must also specify the rate at which it will generate the new events by passing a -positive value in the period argument to the scheduler set method. It may also -indicate a positive number of threads in which the dispatch will be made. If the -number of threads given is zero, but a period is specified, the number of threads -defaults to 1. - -
-
- - -
- -
-
-
-  // Obtain a reference to the scheduler server.
-  RtecScheduler::Scheduler_ptr server =
-    ACE_Scheduler_Factory::server ();
-
-  // Create new RT_Info descriptors for three events.
-
-  RtecScheduler::handle_t handle1 = 
-    server->create ("event_1",              // Name of entry point
-                    TAO_TRY_ENV             // Environment
-                   );
-      
-  RtecScheduler::handle_t handle2 = 
-    server->create ("event_2",              // Name of entry point
-                    TAO_TRY_ENV             // Environment
-                   );
-
-  RtecScheduler::handle_t handle3 = 
-    server->create ("event_3",              // Name of entry point
-                    TAO_TRY_ENV             // Environment
-                   );
-
-
-  // Register as a consumer/supplier: act as a supplier of event_1 but with
-  // a consumer dependency on event_3.  Therefore, the actual period and 
-  // number of threads for event_1 depends on the characteristics of event_3.
-  server->set (handle1,                     // RT_Info handle
-               RtecScheduler::HIGH_CRITICALITY,   // Criticality
-               500,                         // Worst case time (in 100 nanosecs)
-               500,                         // Typical time (in 100 nanosecs)
-               500,                         // Cached time (in 100 nanosecs)
-               0,                           // Period - will depend on event_3
-               RtecScheduler::LOW_IMPORTANCE,     // Importance
-               0,                           // Quantum (unused)
-               0,                           // Threads - will depend on event_3
-               RtecScheduler::OPERATION,          // Info type
-               TAO_TRY_ENV);
-
-  // Register as a producer of event_2.
-  server->set (handle2,                     // RT_Info handle
-               RtecScheduler::HIGH_CRITICALITY,   // Criticality
-               500,                         // Worst case time (in 100 nanosecs)
-               500,                         // Typical time (in 100 nanosecs)
-               500,                         // Cached time (in 100 nanosecs)
-               50000 * 10,                  // Period in 100 nsec (= 20 Hz)
-               RtecScheduler::LOW_IMPORTANCE,     // Importance
-               0,                           // Quantum (unused)
-               1,                           // Threads
-               RtecScheduler::OPERATION,          // Info type
-               TAO_TRY_ENV);
-
-  // Register as a consumer of event_3.
-  server->set (handle3,                     // RT_Info handle
-               RtecScheduler::HIGH_CRITICALITY,   // Criticality
-               500,                         // Worst case time (in 100 nanosecs)
-               500,                         // Typical time (in 100 nanosecs)
-               500,                         // Cached time (in 100 nanosecs)
-               0,                           // Period - will depend on supplier
-               RtecScheduler::LOW_IMPORTANCE,     // Importance
-               0,                           // Quantum (unused)
-               0,                           // Threads - will depend on supplier
-               RtecScheduler::OPERATION,          // Info type
-               TAO_TRY_ENV);
-
-
-  // Establish a dependency of event_1 on event_3.
-  server->add_dependency (handle1,          // handle that depends
-                          handle3,          // handle that is depended on
-                          1,                // number of calls per event occurance
-                          TAO_TRY_ENV       // environment
-                         );
-
-
-
-
-
- -


- -

-

-Connecting Consumers to the Event Channel -

- -
-The following code is derived from the EC_Throughput consumer code, which can be -found in TAO in the file: - -$TAO_ROOT/orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp - -
-
-
-void
-Test_Consumer::connect (const char* name,
-                        int event_a, int event_b,
-                        RtecEventChannelAdmin::EventChannel_ptr ec,
-                        CORBA::Environment& _env)
-{
-
-  // Register operations with the scheduling service.  The following steps are
-  // only necessary for applications that make use of the Event Service's hard
-  // real-time features.  Applications that do not need these features and are
-  // configured with a null scheduler may skip the following operations on the
-  // scheduling server.
-
-  // Obtain a reference to the scheduler from the ACE_Scheduler_Factory. 
-  RtecScheduler::Scheduler_ptr server =
-    ACE_Scheduler_Factory::server ();
-
-  // Create a new RT_Info entry for the function identifier
-  // we were passed, and hang onto the handle to the RT_Info.
-  RtecScheduler::handle_t rt_info =
-    server->create (name, _env);
-  TAO_CHECK_ENV_RETURN_VOID(_env);
-
-  // Set the attributes for the RT_Info.  
-  ACE_Time_Value tv (0, 2000);
-  TimeBase::TimeT time;
-  ORBSVCS_Time::Time_Value_to_TimeT (time, tv);
-  server->set (rt_info,
-               RtecScheduler::VERY_HIGH_CRITICALITY,
-               time, time, time,
-               0,
-               RtecScheduler::VERY_LOW_IMPORTANCE,
-               time,
-               0,
-               RtecScheduler::OPERATION,
-               _env);
-  TAO_CHECK_ENV_RETURN_VOID(_env);
-
-  // Specify a disjunctive dependency on the arrival of event_a, the arrival
-  // of event b, OR the arrival of an event service shutdown event.  Note that 
-  // the same RT_Info is used for each event.  This can be used to simplify
-  // code in applications using a null scheduler, or to consolidate events
-  // with identical characteristics in hard real-time applications.
-  ACE_ConsumerQOS_Factory qos;
-  qos.start_disjunction_group ();
-  qos.insert_type (ACE_ES_EVENT_SHUTDOWN, rt_info);
-  qos.insert_type (event_a, rt_info);
-  qos.insert_type (event_b, rt_info);
-
-  // = Connect as a consumer.
-
-  // Obtain a reference to the consumer administration object.
-  RtecEventChannelAdmin::ConsumerAdmin_var consumer_admin =
-    ec->for_consumers (_env);
-  TAO_CHECK_ENV_RETURN_VOID(_env);
-
-  // Obtain a reference to the push supplier proxy.
-  this->supplier_proxy_ =
-    consumer_admin->obtain_push_supplier (_env);
-  TAO_CHECK_ENV_RETURN_VOID(_env);
-
-  // Obtain a reference to this object.
-  RtecEventComm::PushConsumer_var objref = this->_this (_env);
-  TAO_CHECK_ENV_RETURN_VOID(_env);
-
-  // Connect as a consumer.
-  this->supplier_proxy_->connect_push_consumer (objref.in (),
-                                                qos.get_ConsumerQOS (),
-                                                _env);
-  TAO_CHECK_ENV_RETURN_VOID(_env);
-}
-
-
- -
-The following code is derived from the EC_Throughput consumer driver code, which -can be found in TAO in the file: - -$TAO_ROOT/orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp - -
-
-
-int
-ECT_Consumer_Driver::run (int argc, char* argv[])
-{
-  // argc/argv are used to initialize the ORB and the options
-  // for this particular test. Other applications may hard-code
-  // the ORB options, obtain them from another source, etc.
-
-  TAO_TRY
-    {
-      // The use of TAO_TRY macros isolate us from the differences
-      // between platforms with and without native C++ exceptions.
-      // This is work in progress and may change in the future!
-
-      // Below is some boiler plate code to initialize the ORB and
-      // the POA. Notice that applications that connect to the Event
-      // Channel play the server role in some instances, because
-      // they receive push() requests (as Consumers) or
-      // disconnect_push_supplier() requests (as Suppliers).
-
-      // Initialize the ORB reference.
-      this->orb_ =
-        CORBA::ORB_init (argc, argv, "", TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Initialize the root POA reference.
-      CORBA::Object_var poa_object =
-        this->orb_->resolve_initial_references("RootPOA");
-      if (CORBA::is_nil (poa_object.in ()))
-        ACE_ERROR_RETURN ((LM_ERROR,
-                           " (%P|%t) Unable to initialize the POA.\n"),
-                          1);
-
-      // Obtain the narrowed root POA reference.
-      PortableServer::POA_var root_poa =
-        PortableServer::POA::_narrow (poa_object.in (), TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Obtain a reference to the POA manager.
-      PortableServer::POAManager_var poa_manager =
-        root_poa->the_POAManager (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-       // Now some boiler plate code to obtain a reference to the
-       // naming service.....
-
-      // Resolve a reference to the naming service.
-      CORBA::Object_var naming_obj =
-        this->orb_->resolve_initial_references ("NameService");
-      if (CORBA::is_nil (naming_obj.in ()))
-        ACE_ERROR_RETURN ((LM_ERROR,
-                           " (%P|%t) Unable to get the Naming Service.\n"),
-                          1);
-
-      // Narrow the naming service reference.
-      CosNaming::NamingContext_var naming_context =
-        CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Use the Naming Service to locate the Scheduling Service and
-      // use the Scheduler_Factory to keep a global pointer to the
-      // latter. 
-
-      // Initialize the scheduler factory to operate in configuration mode.
-      if (ACE_Scheduler_Factory::use_config (naming_context.in ()) == -1)
-        return -1;
-
-      // Use the Naming Service to locate the Event Service....
-
-      // Set up the event service lookup name.
-      CosNaming::Name name (1);
-      name.length (1);
-      name[0].id = CORBA::string_dup ("EventService");
-
-      // Resolve a reference to the event service.
-      CORBA::Object_var ec_obj =
-        naming_context->resolve (name, TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Narrow the reference to the event service.
-      RtecEventChannelAdmin::EventChannel_var channel;
-      if (CORBA::is_nil (ec_obj.in ()))
-        channel = RtecEventChannelAdmin::EventChannel::_nil ();
-      else
-        channel = RtecEventChannelAdmin::EventChannel::_narrow (ec_obj.in (),
-                                                                TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Activate the POA so we can start receiving requests...
-
-      // Activate the POA manager.
-      poa_manager->activate (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Connect consumers to the event service.
-      this->connect_consumers (channel.in (), TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      ACE_DEBUG ((LM_DEBUG, "connected consumer(s)\n"));
-      ACE_DEBUG ((LM_DEBUG, "running the test\n"));
-
-      // Run the event loop.
-      if (this->orb_->run () == -1)
-        ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "orb->run"), -1);
-      ACE_DEBUG ((LM_DEBUG, "event loop finished\n"));
-
-      this->dump_results ();
-
-      // Disconnect consumers from the event service.
-      this->disconnect_consumers (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Destroy the event service.
-      channel->destroy (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-    }
-  TAO_CATCH (CORBA::SystemException, sys_ex)
-    {
-      TAO_TRY_ENV.print_exception ("SYS_EX");
-    }
-  TAO_CATCHANY
-    {
-      TAO_TRY_ENV.print_exception ("NON SYS EX");
-    }
-  TAO_ENDTRY;
-  return 0;
-}
-
-
-
-
- -


- - - -

-

Receiving Events

- -

-The following code is derived from the EC_Throughput consumer code, which -can be found in TAO in the file: - -$TAO_ROOT/orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp - -
-
-
-void
-Test_Consumer::push (const RtecEventComm::EventSet& events,
-                     CORBA::Environment &_env)
-{
-  // Make sure at least one event was pushed.
-  if (events.length () == 0)
-    {
-      // ACE_DEBUG ((LM_DEBUG, "no events\n"));
-      return;
-    }
-
-  // Make sure only one thread has access.
-  ACE_GUARD (ACE_SYNCH_MUTEX, ace_mon, this->lock_);
-
-  // We start the timer as soon as we receive the first event.
-  if (this->recv_count_ == 0)
-    this->timer_.start ();
-
-  // Update the count of received events.
-  this->recv_count_ += events.length ();
-
-  if (TAO_debug_level > 0
-      && this->recv_count_ % 1000 == 0)
-    {
-      ACE_DEBUG ((LM_DEBUG,
-                  "ECT_Consumer (%P|%t): %d events received\n",
-		  this->recv_count_));
-    }
-
-  // Loop through the events, looking for shutdown events.
-  for (u_int i = 0; i < events.length (); ++i)
-    {
-      if (events[i].header.type == ACE_ES_EVENT_SHUTDOWN)
-        {
-          this->shutdown_count_++;
-          if (this->shutdown_count_ >= this->n_suppliers_)
-            {
-              // We stop the timer as soon as we realize it is time to
-              // do so.
-              this->timer_.stop ();
-              this->driver_->shutdown_consumer (this->cookie_, _env);
-            }
-        }
-    }
-}
-
-
-
-
- -


- -

-

-Disconnecting Consumers from the Event Channel -

- -
-The following code is derived from the EC_Throughput consumer code, which can be -found in TAO in the file: - -$TAO_ROOT/orbsvcs/tests/EC_Throughput/ECT_Consumer.cpp - -
-
-
-void
-Test_Consumer::disconnect (CORBA::Environment &_env)
-{
-  // Make sure the supplier proxy reference is valid.
-  if (CORBA::is_nil (this->supplier_proxy_.in ()))
-    return;
-
-  // Disconnect from further communication with the push
-  // supplier(s).  Each consumer is represented by a unique
-  // ACE_ES_ConsumerModule instance. Which connection to
-  // disconnect is determined by the instance for the consumer.
-  this->supplier_proxy_->disconnect_push_supplier (_env);
-  TAO_CHECK_ENV_RETURN_VOID(_env);
-
-  // Mark the supplier proxy reference invalid.
-  this->supplier_proxy_ =
-    RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
-
-  // We want to stop processing events for this consumer. Above,
-  // we disconnected the consumer from the Event Channel, so no
-  // more events will be sent, but we could have some events in
-  // transit.
-
-  // Without a flushing protocol we need to deactivate the
-  // servant to stop accepting push () requests for any 
-  // incoming events.
-
-  // Deactivate the servant
-  PortableServer::POA_var poa = 
-    this->_default_POA (_env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-  PortableServer::ObjectId_var id =
-    poa->servant_to_id (this, _env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-  poa->deactivate_object (id.in (), _env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-}
-
-
-
-
- - -


- - -

-
-

Developing Suppliers

- - -
-
- - -
-

Providing QoS Information

-

-In applications that use hard real-time scheduling, a Supplier should provide -the worst case, expected, and cached execution time for each operation on the -supplier side. Even if these values are small and highly deterministic, it is -generally better to specify them in the supplier's RT_Info rather than folding -them into the RT_Info of each consumer. - -
-Such a supplier must also specify criticality and importance values, a period, -and the number of threads for each operation. A real-time scheduler propagates -this information to consumer RT_Infos along the graph of dependencies. The -scheduler then uses the propagated information to order dispatches within a -set of operations whose dependencies have been met. - -
-The Event Service matches supplier publications with consumer subscriptions to -provide efficient event filtering. Providing incorrect publications or -subscriptions will result in missed events. The Event Service also uses the -subscription information to create additional dependencies between registered -RT_Infos. Thus, providing correct supplier publication and consumer -subscription information is also critical for correct scheduling in hard -real-time applications. - - -
-As noted before in the discussion of consumers, the following steps are only -necessary for applications that make use of the Event Service's hard real-time -features. Applications that do not need these features and are configured -with a null scheduler may skip the following operations on the scheduling -server. - -
-
- -
- -
-
-
-  // Obtain a reference to the scheduler server.
-  RtecScheduler::Scheduler_ptr server =
-    ACE_Scheduler_Factory::server ();
-
-  // Create new RT_Info descriptors for two events.
-
-  RtecScheduler::handle_t handle0 = 
-    server->create ("event_0",              // Name of entry point
-                    TAO_TRY_ENV             // Environment
-                   );
-
-  RtecScheduler::handle_t handle1 = 
-    server->create ("event_1",              // Name of entry point
-                    TAO_TRY_ENV             // Environment
-                   );
-
-  // Register as a producer of event_0.
-  server->set (handle0,                     // RT_Info handle
-               RtecScheduler::HIGH_CRITICALITY,   // Criticality
-               10,                          // Worst case time (in 100 nanosecs)
-               10,                          // Typical time (in 100 nanosecs)
-               10,                          // Cached time (in 100 nanosecs)
-               50000 * 10,                  // Period in 100 nanosecs (= 20 Hz)
-               RtecScheduler::LOW_IMPORTANCE,     // Importance
-               0,                           // Quantum (unused)
-               1,                           // Threads
-               RtecScheduler::OPERATION,          // Info type
-               TAO_TRY_ENV);
-
-  // Register as a producer of event_1.
-  server->set (handle1,                     // RT_Info handle
-               RtecScheduler::HIGH_CRITICALITY,   // Criticality
-               10,                          // Worst case time (in 100 nanosecs)
-               10,                          // Typical time (in 100 nanosecs)
-               10,                          // Cached time (in 100 nanosecs)
-               50000 * 10,                  // Period in 100 nanosecs (= 20 Hz)
-               RtecScheduler::LOW_IMPORTANCE,     // Importance
-               0,                           // Quantum (unused)
-               1,                           // Threads
-               RtecScheduler::OPERATION,          // Info type
-               TAO_TRY_ENV);
-
-
-
-
- -


- -

-
-

Connecting Suppliers to Event Channel

-

- -

-The following code is derived from the EC_Throughput supplier code, which -can be found in TAO in the file: - -$TAO_ROOT/orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp - - -
-
-
-void
-Test_Supplier::connect (const char* name,
-                        int burst_count,
-                        int burst_size,
-                        int event_size,
-                        int burst_pause,
-                        int event_a,
-                        int event_b,
-                        RtecEventChannelAdmin::EventChannel_ptr ec,
-                        CORBA::Environment &_env)
-{
-  // Some application-specific setup code.
-
-  // Store the passed parameters in the object.
-  this->burst_count_ = burst_count;
-  this->burst_size_ = burst_size;
-  this->event_size_ = event_size;
-  this->burst_pause_ = burst_pause;
-  this->event_a_ = event_a;
-  this->event_b_ = event_b;
-   
-  // Register operations with the scheduling service.  The following steps are
-  // only necessary for applications that make use of the Event Service's hard
-  // real-time features.  Applications that do not need these features and are
-  // configured with a null scheduler may skip the following operations on the
-  // scheduling server.
-
-  // Obtain a reference to the scheduling service. 
-  RtecScheduler::Scheduler_ptr server =
-    ACE_Scheduler_Factory::server ();
-
-  // Create an RT_Info descriptor for the passed operation name. 
-  RtecScheduler::handle_t rt_info =
-    server->create (name, _env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-
-  // Calculate the period at which to supply events.
-  ACE_Time_Value tv (0, burst_pause);
-  RtecScheduler::Period_t rate = tv.usec () * 10;
-
-  // Set the information in the RT_Info descriptor.
-  tv.set (0, 2000);
-  TimeBase::TimeT time;
-  ORBSVCS_Time::Time_Value_to_TimeT (time, tv);
-  server->set (rt_info,
-               RtecScheduler::VERY_HIGH_CRITICALITY,
-               time, time, time,
-               rate,
-               RtecScheduler::VERY_LOW_IMPORTANCE,
-               time,
-               1,
-               RtecScheduler::OPERATION,
-               _env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-
-  // Now, create a supplier id, and publish the events 
-  // that will be supplied under this id.
-
-  // Create a supplier id from the passed name
-  this->supplier_id_ = ACE::crc32 (name);
-  ACE_DEBUG ((LM_DEBUG, "ID for <%s> is %04.4x\n", name,
-              this->supplier_id_));
-
-  // Publish the events the supplier provides.
-  ACE_SupplierQOS_Factory qos;
-  qos.insert (this->supplier_id_,
-              event_a,
-              rt_info, 1);
-  qos.insert (this->supplier_id_,
-              event_b,
-              rt_info, 1);
-  qos.insert (this->supplier_id_,
-              ACE_ES_EVENT_SHUTDOWN,
-              rt_info, 1);
-
-  // And finally, some boiler plate code to connect a supplier 
-  // to the Event Service.  This is where the connection is
-  // actually made.
-
-  // Obtain a reference to the supplier administration object.
-  RtecEventChannelAdmin::SupplierAdmin_var supplier_admin =
-    ec->for_suppliers (_env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-
-  // Obtain a reference to the consumer proxy object.
-  this->consumer_proxy_ =
-    supplier_admin->obtain_push_consumer (_env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-
-  // Obtain a reference to this supplier object.
-  RtecEventComm::PushSupplier_var objref =
-    this->supplier_._this (_env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-
-  // Connect as a supplier of the published events.
-  this->consumer_proxy_->connect_push_supplier (objref.in (),
-                                                qos.get_SupplierQOS (),
-                                                _env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-}
-
-
- - -
-The following code is derived from the EC_Throughput supplier driver code, which -can be found in TAO in the file: - -$TAO_ROOT/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp - -
-
-
-int
-ECT_Supplier_Driver::run (int argc, char* argv[])
-{
-  // argc/argv are used to initialize the ORB and the options
-  // for this particular test. Other applications may hard-code
-  // the ORB options, obtain them from another source, etc.
-
-  TAO_TRY
-    {
-      // The use of TAO_TRY macros isolate us from the differences
-      // between platforms with and without native C++ exceptions.
-      // This is work in progress and may change in the future!
-
-      // Below is some boiler plate code to initialize the ORB and
-      // the POA. Notice that applications that connect to the Event
-      // Channel play the server role in some instances, because
-      // they receive push() requests (as Consumers) or
-      // disconnect_push_supplier() requests (as Suppliers).
-
-      // Initialize the ORB reference.
-      CORBA::ORB_var orb =
-        CORBA::ORB_init (argc, argv, "", TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Initialize the root POA reference.
-      CORBA::Object_var poa_object =
-        orb->resolve_initial_references("RootPOA");
-      if (CORBA::is_nil (poa_object.in ()))
-        ACE_ERROR_RETURN ((LM_ERROR,
-                           " (%P|%t) Unable to initialize the POA.\n"),
-                          1);
-
-      // Obtain the narrowed root POA reference.
-      PortableServer::POA_var root_poa =
-        PortableServer::POA::_narrow (poa_object.in (), TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Obtain a reference to the POA manager.
-      PortableServer::POAManager_var poa_manager =
-        root_poa->the_POAManager (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-
-       // Now some boiler plate code to obtain a reference to the
-       // naming service.....
-
-      // Resolve a reference to the naming service.
-      CORBA::Object_var naming_obj =
-        orb->resolve_initial_references ("NameService");
-      if (CORBA::is_nil (naming_obj.in ()))
-        ACE_ERROR_RETURN ((LM_ERROR,
-                           " (%P|%t) Unable to get the Naming Service.\n"),
-                          1);
-
-      // Narrow the naming service reference.
-      CosNaming::NamingContext_var naming_context =
-        CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Use the Naming Service to locate the Scheduling Service and
-      // use the Scheduler_Factory to keep a global pointer to the
-      // latter. 
-
-      // Initialize the scheduler factory to operate in configuration mode.
-      if (ACE_Scheduler_Factory::use_config (naming_context.in ()) == -1)
-        return -1;
-
-      // Use the Naming Service to locate the Event Service....
-
-      // Set up the event service lookup name.
-      CosNaming::Name name (1);
-      name.length (1);
-      name[0].id = CORBA::string_dup ("EventService");
-
-      // Resolve a reference to the event service.
-      CORBA::Object_var ec_obj =
-        naming_context->resolve (name, TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Narrow the reference to the event service.
-      RtecEventChannelAdmin::EventChannel_var channel;
-      if (CORBA::is_nil (ec_obj.in ()))
-        channel = RtecEventChannelAdmin::EventChannel::_nil ();
-      else
-        channel = RtecEventChannelAdmin::EventChannel::_narrow (ec_obj.in (),
-                                                                TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Activate the POA so we can start receiving requests...
-
-      // Activate the POA manager.
-      poa_manager->activate (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Connect suppliers to the event service.
-      this->connect_suppliers (channel.in (), TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      ACE_DEBUG ((LM_DEBUG, "connected supplier(s)\n"));
-
-      // Activate the supplier objects
-      this->activate_suppliers (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      ACE_DEBUG ((LM_DEBUG, "suppliers are active\n"));
-
-      // Wait for the supplier threads.
-      if (ACE_Thread_Manager::instance ()->wait () == -1)
-        {
-          ACE_ERROR ((LM_ERROR, "Thread_Manager wait failed\n"));
-          return 1;
-        }
-
-      ACE_DEBUG ((LM_DEBUG, "suppliers finished\n"));
-
-      this->dump_results ();
-
-      // Disconnect suppliers from the event service.
-      this->disconnect_suppliers (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-    }
-  TAO_CATCH (CORBA::SystemException, sys_ex)
-    {
-      TAO_TRY_ENV.print_exception ("SYS_EX");
-    }
-  TAO_CATCHANY
-    {
-      TAO_TRY_ENV.print_exception ("NON SYS EX");
-    }
-  TAO_ENDTRY;
-  return 0;
-}
-
-
-
-
- -


- -

-

Generating Events

- -

-The following code is derived from the EC_Throughput supplier code, which -can be found in TAO in the file: - -$TAO_ROOT/orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp - -
-
-
-int
-Test_Supplier::svc ()
-{
-  TAO_TRY
-    {
-      // First, a bunch of code that is specific to this test.
-
-      // Set pause (sleep) value between message bursts.
-      ACE_Time_Value tv (0, this->burst_pause_);
-
-      // Set up message block for event data.
-      ACE_Message_Block mb (this->event_size_);
-      mb.wr_ptr (this->event_size_);
-
-      // Create an event set for one event, initialize event header.
-      RtecEventComm::EventSet event (1);
-      event.length (1);
-      event[0].header.source = this->supplier_id ();
-      event[0].header.ttl = 1;
-
-      // Set up time stamps in event header.  This is for performance
-      // measurements, so this step can be omitted at will.
-      ACE_hrtime_t t = ACE_OS::gethrtime ();
-      ORBSVCS_Time::hrtime_to_TimeT (event[0].header.creation_time, t);
-      event[0].header.ec_recv_time = ORBSVCS_Time::zero;
-      event[0].header.ec_send_time = ORBSVCS_Time::zero;
-
-      // Initialize data fields in event.
-      event[0].data.x = 0;
-      event[0].data.y = 0;
-
-      // We use replace to minimize the copies. This should result
-      // in just one memory allocation;
-      event[0].data.payload.replace (this->event_size_,
-                                     &mb);
-
-      // This is where the events are actually pushed into
-      // the event channel.  The test pushes bursts of events,
-      // pausing a specified interval between bursts.
-
-      // Start the timer, and begin pushing events.
-      this->timer_.start ();
-      for (int i = 0; i < this->burst_count_; ++i)
-        {
-          // Send a burst of events.
-          for (int j = 0; j < this->burst_size_; ++j)
-            {
-              if (j % 2 == 0)
-                event[0].header.type = this->event_a_;
-              else
-                event[0].header.type = this->event_b_;
-
-              // ACE_DEBUG ((LM_DEBUG, "(%t) supplier push event\n"));
-              this->consumer_proxy ()->push (event, TAO_TRY_ENV);
-
-              TAO_CHECK_ENV;
-            }
- 
-          // Sleep until it's time to send the next burst.
-          ACE_OS::sleep (tv);
-        }
-
-      // Send a "magic" type of event to inform the consumer that we are 
-      // not sending anything else...
-
-      // Send one event shutdown from each supplier
-      event[0].header.type = ACE_ES_EVENT_SHUTDOWN;
-      this->consumer_proxy ()->push(event, TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-      this->timer_.stop ();
-      
-    }
-  TAO_CATCH (CORBA::SystemException, sys_ex)
-    {
-      TAO_TRY_ENV.print_exception ("SYS_EX");
-    }
-  TAO_CATCHANY
-    {
-      TAO_TRY_ENV.print_exception ("NON SYS EX");
-    }
-  TAO_ENDTRY;
-  return 0;
-}
-
-
-
-
- -


- -

-
-

Disconnecting Suppliers from the Event Channel

-

- -

-The following code is derived from the EC_Throughput supplier code, which -can be found in TAO in the file: - -$TAO_ROOT/orbsvcs/tests/EC_Throughput/ECT_Supplier.cpp - - -
-
-
-void
-Test_Supplier::disconnect (CORBA::Environment &_env)
-{
-  // Make sure the consumer proxy reference is valid.
-  if (CORBA::is_nil (this->consumer_proxy_.in ()))
-    return;
-
-  // Disconnect communication with the push consumer(s).
-  this->consumer_proxy_->disconnect_push_consumer (_env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-
-  // Mark the consumer proxy reference invalid.
-  this->consumer_proxy_ =
-    RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
-
-  // We need to stop accepting disconnect_push_supplier () requests 
-  // for this supplier, before it is safe to destroy the supplier.
-  // As required by the CORBA spec, you must explicitly deactivate
-  // a servant before destroying it.
-
-  // Deactivate the servant
-  PortableServer::POA_var poa = 
-    this->supplier_._default_POA (_env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-  PortableServer::ObjectId_var id =
-    poa->servant_to_id (&this->supplier_, _env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-  poa->deactivate_object (id.in (), _env);
-  TAO_CHECK_ENV_RETURN_VOID (_env);
-    RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
-}
-
-
- -
-
- -


- - -

-
-

Caring for your Event Channel

- - -
- - -
-
- -
-

Creation and Name Service Registration

- -

-The following code is derived from the Event_Service executable, which can be -found in TAO in the file: - -$TAO_ROOT/orbsvcs/Event_Service/Event_Service.cpp - -
-
-
-int main (int argc, char *argv[])
-{
-  TAO_TRY
-    {
-      // argc/argv are used to initialize the ORB and the options
-      // for the Event Service executable. Other applications may
-      // hard code the ORB options, obtain them from another source, etc.
-
-      // Again the boiler plate code for ORB and POA initialization.
-
-      // Initialize ORB.
-      CORBA::ORB_var orb =
-        CORBA::ORB_init (argc, argv, "internet", TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      if (parse_args (argc, argv) == -1)
-        return 1;
-
-      CORBA::Object_var poa_object =
-        orb->resolve_initial_references("RootPOA");
-      if (CORBA::is_nil (poa_object.in ()))
-        ACE_ERROR_RETURN ((LM_ERROR,
-                           " (%P|%t) Unable to initialize the POA.\n"),
-                          1);
-
-      PortableServer::POA_var root_poa =
-        PortableServer::POA::_narrow (poa_object.in (), TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      PortableServer::POAManager_var poa_manager =
-        root_poa->the_POAManager (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      CORBA::Object_var naming_obj =
-        orb->resolve_initial_references ("NameService");
-      if (CORBA::is_nil (naming_obj.in ()))
-        ACE_ERROR_RETURN ((LM_ERROR,
-                           " (%P|%t) Unable to initialize the Naming Service.\n"),
-                          1);
-
-      CosNaming::NamingContext_var naming_context =
-        CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Notice the use of auto_ptr<> to automagically manage the
-      // destruction of the servant.  When the auto_ptr goes out
-      // of scope, its destructor is called, which in turn destroys
-      // the servant.
-
-      auto_ptr scheduler_impl;
-      RtecScheduler::Scheduler_var scheduler;
-
-
-      // Create a new servant to implement the Scheduling Service, 
-      // register it with the Naming Service, and use the 
-      // Scheduler_Factory to keep a global pointer to the new
-      // Scheduling Service.
-
-      // This is the name we (potentially) use to register the Scheduling
-      // Service in the Naming Service.
-      CosNaming::Name schedule_name (1);
-      schedule_name.length (1);
-      schedule_name[0].id = CORBA::string_dup ("ScheduleService");
-
-      if (global_scheduler == 0)
-        {
-          scheduler_impl =
-            auto_ptr(new ACE_Config_Scheduler);
-          if (scheduler_impl.get () == 0)
-	    return 1;
-          scheduler = scheduler_impl->_this (TAO_TRY_ENV);
-          TAO_CHECK_ENV;
-
-	  CORBA::String_var str =
-	    orb->object_to_string (scheduler.in (), TAO_TRY_ENV);
-	  TAO_CHECK_ENV;
-	  ACE_DEBUG ((LM_DEBUG, "The (local) scheduler IOR is <%s>\n",
-		      str.in ()));
-
-	  // Register the servant with the Naming Context....
-	  naming_context->bind (schedule_name, scheduler.in (), TAO_TRY_ENV);
-	  TAO_CHECK_ENV;
-        }
-
-      ACE_Scheduler_Factory::use_config (naming_context.in ());
-
-      // The Event Service can be configured to support priority based
-      // dispatching (the "default_Module_Factory") or best effort (the
-      // "Reactive_Module_Factory"). We pick the right module factory
-      // according to the command line options processed above.
-
-      TAO_Default_Module_Factory default_module_factory;
-      TAO_Reactive_Module_Factory reactive_module_factory;
-
-      TAO_Module_Factory* module_factory = &default_module_factory;
-      if (reactive)
-        module_factory = &reactive_module_factory;
-
-      // Now, create a new event channel servant to implement the
-      // Event Service, and register it with Naming Service.
-
-      // Construct the event channel using the given module factory.
-      ACE_EventChannel ec_impl (1,
-                                ACE_DEFAULT_EVENT_CHANNEL_TYPE,
-                                module_factory);
-
-      // Obtain an object reference to the new channel.
-      RtecEventChannelAdmin::EventChannel_var ec =
-        ec_impl._this (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Convert the EC object reference to a string.
-      CORBA::String_var str =
-        orb->object_to_string (ec.in (), TAO_TRY_ENV);
-
-      // Output the EC object reference string (debug only).
-      ACE_DEBUG ((LM_DEBUG,
-		  "The EC IOR is <%s>\n", str.in ()));
-
-      // Register the EC with the Naming Service.
-      CosNaming::Name channel_name (1);
-      channel_name.length (1);
-      channel_name[0].id = CORBA::string_dup (service_name);
-      naming_context->bind (channel_name, ec.in (), TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Activate the POA so we can start receiving requests...
-
-      // Activate the POA manager.
-      poa_manager->activate (TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      // Run the ORB event loop
-      ACE_DEBUG ((LM_DEBUG, "%s; running event service\n", __FILE__));
-      if (orb->run () == -1)
-        ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), 1);
-
-      // Now the Event Service is finished.  We could deactivate the 
-      // EC and SS here, but we don't need to, as the server is 
-      // going down anyway.
-
-
-      // Remove the event service and the scheduling service from
-      // the Naming Service.
-
-      naming_context->unbind (channel_name, TAO_TRY_ENV);
-      TAO_CHECK_ENV;
-
-      if (global_scheduler == 0)
-	{
-	  naming_context->unbind (schedule_name, TAO_TRY_ENV);
-	  TAO_CHECK_ENV;
-	}
-
-    }
-  TAO_CATCHANY
-    {
-      TAO_TRY_ENV.print_exception ("EC");
-    }
-  TAO_ENDTRY;
-
-
-  return 0;
-}
-
-
-
-
- -


- -

-

Register Suppliers before Consumers

-
-
-

-
- -
-
- -


- - -

-
-

Sample Applications

- -
-A number of sample applications are available in the directories under - -TAO's ORB Services tests. - -
-In particular, much of the code shown in this tutorial was drawn from the - -EC_Throughput test. This test exercises the Event Service and measures its -throughput capabilities. - -
-A similar test, - -Event_Latency, measures the latency of events through the Event Service. - -
-The - -EC_Basic test demonstrates the basic use the Event Service. - -
-The - -EC_Multiple test shows a number of ways to connect multiple Event Channels. - - -
-For the IDL source for the various interfaces, please see -RtecScheduler.idl, -CosEventChannelAdmin.idl, -CosEventComm.idl -and -CosNaming.idl. - - -
-
- -


- - -

-
-

Reference Materials

- -
-The following materials were used in developing this tutorial: please refer to them for further information. - -
-
-
-

Books

- -
-Mowbray, T. and Zahavi, R. The Essential CORBA, Systems Integration Using Distributed Objects. Wiley, 1995. -ISBN 0-471-10611-9 - -
-
- -
-Baker, S. CORBA Distributed Objects Using Orbix. Addison-Wesley, 1997. ISBN 0-201-92475-7 - -
-
-
-

Papers

- -
- - - -
- -
-
- -


- - - -

-
-Last modified 10:50:30 CST 22 December 1998 by Chris Gill -
- - - diff --git a/TAO/docs/exceptions.html b/TAO/docs/exceptions.html deleted file mode 100644 index 8999b2f4aba..00000000000 --- a/TAO/docs/exceptions.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -Exception handling - - - -

Exception Handling

- -Since the exception handling macros in TAO can be used with any ORB, -it has been generalized and moved to ACE. - -

Notice that ACE's try macros are now prefered over the original -TAO try macros. You should avoid using them in your applications. -They might be removed completely one day.

- -The new document about exception handling has been moved to -here. - - - diff --git a/TAO/docs/forwarding.html b/TAO/docs/forwarding.html deleted file mode 100644 index 16b3406a733..00000000000 --- a/TAO/docs/forwarding.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - Implementation of location forwarding - - - - - -
-

Location forwarding

-
-

Context

- The motivation to support location forwarding for objects is - to allow objects to move or forward certain requests to other objects. - Moving of objects is very important for the Common Object Services - LifeCycle Service. An objet complying to the LifeCycleObject interface, - defined by the LifeCycle Service should support the move operation. The move - operation allows the client to keep its object reference to the object, - but the object is going to be relocated on the same or a different server. - Making location forwarding transparent to the client is the most important - issue. - -

Communication between server and client

- GIOP defines a message named "LOCATION_FORWARD", which should be used to - inform the client stub, that the object has been moved. The message body - has to contain an object reference to the new location of the forwarded - object. - - -

Server side implementation

- Two approaches are possible, one is that the POA replaces the object with - a forwarding servant, which knows the new location. This servant will then - raise an exception each it time it is called, as supposed to be the - actual object. The exception will be a user exception and will be caught - in the marshalling code of the server request "IIOP_ServerRequest". The involved - methods are "set_exception", "marshall" and "init_reply". "set_exception" will - check the user exceptions for the special one, only raised by the forwarding - servant and will extract the new location. "init_reply" will then create - the proper GIOP Reply message with the message type set to LOCATION_FORWARD. - The message is encoded into a CDR (Common Data Representation) stream. - - The second approach is to use a POA servant locator for the child POA, where - the object resides on. The servant locator will be used each time the object - will be accessed. Basically two methods, named "preinvoke" and "postinvoke" - are called each time before and after the actual upcall to the object. - Forwarding using the servant locator works in the following way. The object - tells its servant locator that it has moved and supports the servant locator - with the new object reference. The object locator then raises a special system - exception "forward_request" in "preinvoke" each time the object is called from now on. - The exception is then caught by the lowest possible level, when the - system exceptions are going to be marshalled. Which is in "TAO_Server_Connection_Handler", - the involved methods are "handle_input" and "send_error". "handle_input" - checks for errors (involving exceptions) and calls "send_error" to create - the proper GIOP Reply containing either the system exception or - the location forwarding in case the system exception was the - "forward_request" exception. - -

Client side implementation

- The client has to expect the location forwarding GIOP message and should - respond to it in setting the IIOP_Profile of its IIOP_Object right. - The IIOP_Object is a low level object, to which CORBA::Object has a - pointer to. The reply type is determined by "TAO_GIOP_Invocation::invoke" - which then calls "TAO_GIOP_Invocation::location_forward". "location_forward" - sets the changes the IIOP_Profile of the object. The call is then - reissued by "TAO_IIOP_Object::do_static_call". - - -

Conclusion

- Changing the IIOP_Profile is transparent to the client. So the - client gets no idea, that the object now resides somewhere else. - - The result of the above mentioned solution is that - if an object moves the client will notice it with the next call to the - object. If the object moves again, the original location is not - bothered at all again. Say if the original location was A, then - it moved to B and finally to C. First location A responeded with - a GIOP Location Forward to the client, then B gets used and finally - after moving the object to C, B will send a GIOP Location - Forward and location C gets used. - - There is "no" concept of a home location. If the object moves - very often and old servers die it might be a problem, because - clients, which did not call on the object lately will not know - where to search. Though in the situation of a home location, there - is also the risk that this server might die and the object - is not reachable any more. - -

Optimization

- In the case, when the object moves several times, a chain - of forwarding servers is created. But this chain might be - easily disturbed by just one server failing. A good idea - is to give the servant locator more intelligence to - tell all the oter/previous servers where the object is now. - This will of course increase the communication overhead - in the case of a move, but we get a high reliability - against dying hosts. - -
- For more details and questions, -

- -

Michael Kircher
-

-

Irfan Pyarali
- - - diff --git a/TAO/docs/implrepo.html b/TAO/docs/implrepo.html deleted file mode 100644 index 8263bff6d4c..00000000000 --- a/TAO/docs/implrepo.html +++ /dev/null @@ -1,12 +0,0 @@ - - - -IR docs have moved - - - -

The IR docs have moved to here.

-

This page should automatically redirect you there, if not, click on -the link above.

- - \ No newline at end of file diff --git a/TAO/docs/implrepo/index.html b/TAO/docs/implrepo/index.html deleted file mode 100644 index 5ce150eeaf7..00000000000 --- a/TAO/docs/implrepo/index.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -Implementation Repository - - - - - -
- -

Implementation Repository in TAO

-

The purpose of the Implementation Repository in TAO is for the automatic -activation of a TAO server when a method is invoked but the server is not -running. It does this by working with the server to keep track of when it is -activated and stores information on how to reactivate it. Method -invocations on the server will actually be sent to the Implementation -Repository, which will then be able to start the server process if it is not -already running and forward the invocation to the real server.

- -

In the pages here (and in most of the documentation written for it), -Implementation Repository will often be shortened to ImplRepo or IR.

- -
- -

Resources

-

The IR in TAO was first based on a paper on the subject by Michi -Henning called Binding, -Migration, and Scalability in CORBA. Mr. Henning later went on to -coauthor the book Advanced -CORBA Programming in C++ and included a chapter on the Implementation -Repository. The description of the IR in this chapter is used as the -specification for TAO's IR.

- -

Users Guide - Overall documentation on -how to use the IR in your programs.

- -

The Paper - A paper that has a general -description of the IR. This is also where to look to find information on the -inner working of the IR.

- -

Discussion -Page - Notes that I've made while working on the IR.

- -
- -

The Future

-

A large part of the IR has been implemented, but there are several areas that -are not finished or complete yet.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureStatus
PersistenceIt was removed because of ACE subsetting issues, and a new strategy is - in the works.
Environment VariablesIn the IDL interface, but not used on the server side or implemented in - tao_ir
Logical Server namesIn the IDL interface, but not used on the server side or fully - implemented in tao_ir
Server ShutdownOnly cooperative shutdown implemented.
POA/ORB IntegrationOnly some options have been added, ORBImplRepoIOR, etc.
Multicast location of IRsThe client part is in the ORB, but the server doesn't listen for it yet.
Client-side OptimizationsNothing planned yet
Server SecurityNothing planned yet
FederationsNothing planned yet
DLL serversNothing planned yet
- -
- -

Who wrote it?

-

The guy currently in charge of the IR is Darrell Brunsch <brunsch@cs.wustl.edu>. -You can reach me by either email (which is better), or through the ACE -mailing list <ace-users@cs.wustl.edu>, -or through the comp.soft-sys.ace newsgroup. -The newsgroup mirrors the mailing list, but not the other way. Also, if you use -the mailing list, it is best if you join it before sending a question since -responses are usually just replied back to the group.

- -
- -

Back to the TAO Documentation.

- - - - diff --git a/TAO/docs/implrepo/paper.html b/TAO/docs/implrepo/paper.html deleted file mode 100644 index 22f8e233512..00000000000 --- a/TAO/docs/implrepo/paper.html +++ /dev/null @@ -1,820 +0,0 @@ - - - - - -TAO Implementation Repository - - - - - -
- -

TAO Implementation Repository

- -

Revision 3.05

- -
- -

Table of Contents

- - - -
- -

Recent Changes

- -

Since 3.04

- -
    -
  • Moved it to the same directory as all the new
  • -
  • After a long delay (too long, if you ask me) addressed - the comments that John Mulhern <9107@mn3.lawson.lawson.com> - sent me.
  • -
- -

Since 3.03

- -
    -
  • Added information on the new POA policy where the format - of the persistent IOR can be changed from that of both - the last-known-server-IOR and Implementation Repository - to that just of the Implementation Repository
  • -
  • TAO is now fork-safe, with the introduction of the - CLOEXEC flag through ACE_CLOEXEC.
  • -
- -

Since 3.02

- -
    -
  • Added a section to give more detailed information on how - Ping Objects work.
  • -
  • Rewrote the Virtual Server section
  • -
- -
- -

Overview

- -

This document describes the proposed design of the TAO -Implementation Repository, which was originally known as the -reactivator/activation service. If you have any questions or -comments on our design, please post them to the ACE -mailing list <ace-users@cs.wustl.edu> -or send email to Darrell Brunsch <brunsch@cs.wustl.edu>.

- -

Persistent and Transient -IORs

- -

CORBA defines two types of object references: persistent -and transient. The difference between the two stems from the -lifetime of the reference in relation to the lifetime of the -server process that created it. The lifetime of a transient -object reference is limited to the lifetime of its server -process. Once the server process exits the transient object -reference no longer exists. All references to this object should -now be invalid, even if the server is restarted. In contrast, -persistent object references can outlive their originating server -process. Therefore, the server can exit and be restarted without -invalidating its persistent object references. This enables the -implementation of features like automatic server activation and -object migration.

- -

Note that both persistent and transient object references can -refer to objects that reside in manually activated -servers, i.e., the so-called ``persistent servers.'' A -persistent server is a server that is launched manually, i.e., -it is always running. A persistent server can generate transient -references and/or persistent references.

- -

Developers should be aware that persistence of the object -reference does not imply any persistence on the object -implementation state. It is certainly possible to provide -persistent object references for objects whose state is not -persistent. Therefore, servant implementors are responsible for -preserving the state of their servants, e.g., using a -database or file.

- -

The Implementation -Repository

- -

According to the CORBA specification, "The Implementation -Repository contains information that allows the ORB to locate and -activate implementations of objects" [CORBA Spec Rev. 2.2: -2.1.14] In earlier revisions of the specification, there was a -method get_implementation in the CORBA Object -interface. This has been deprecated as of the CORBA 2.2 -specification, leaving both the interface and implementation of -the Implementation Repository to the ORB vendor.

- -

A good paper describing the functionality of the CORBA -Implementation Repository is "Binding, -Migration, and Scalability in CORBA" [Michi Henning]. -This paper describes the following three functions of the -Implementation Repository:

- -
    -
  1. Maintain a registry of known servers.
  2. -
  3. Record which server is currently running, and which port - and host it uses.
  4. -
  5. Starts servers on demand if they are registered with the - Implementation Repository.
  6. -
- -

The TAO Implementation Repository is based on the design in -this paper. He also wrote an earlier email -that may be useful to see the issues involved. The next section -details our goals and plans for the implementation.

- -
- -

TAO's Implementation -Repository

- -

The following is an brief outline of TAO'S Implementation -Repository.

- -
    -
  • Use of TAO's Implementation Repository will be optional. - Real-time applications can choose not to use the - Implementation Repository according to their - performance/predictability/footprint requirements.
  • -
  • Use of TAO's Implementation Repository will be invisible - to clients and servers for common use-case. For more - complicated behavior, programs can use Implementation - Repository extensions of the POA.
  • -
  • TAO's Implementation Repository will work with any CORBA - client that supports LOCATION_FORWARD IIOP - messages and multiple profiles in IORs, even if the - client is not implemented using TAO.
  • -
  • TAO's Implementation Repository will know if one of the - servers registered with it is running by the use of a - "ping"-like service in the server. This service - allows the Implementation Repository to know when it - should restart the server.
  • -
  • TAO will be fork-safe. Since there will be an open - connection to the client while the server is restarted - (via fork or CreateProcess) then care will be needed to - make sure that the open sockets will be closed in the - client process. The addition of CLOEXEC feature to TAO - will cover this problem.
  • -
  • TAO will exploit features of IIOP 1.1 to safely and - efficiently verify if an IOR was generated by TAO itself - on the client side. The server will still determine this - through the object key, since that is all that is passed - in a request.
  • -
  • TAO will support multiple profiles in IORs. A profile - contains the host/port and object key of a CORBA Object. - An optimization that will be possible is to have a last - known profile of the object as the first profile and an - Implementation Repository as the second profile in an - IOR. The client will first try the object to see if it - still active at the host/port before it contacts the - Implementation Repository. This strategy will reduce - latency.
  • -
- -

Virtual Servers

- -

TAO's Implementation Repository must keep track of whether an -object's implementation is currently running or is stopped. To -have a record for every object would require too much overhead, -but having a record for every executable server would be -inflexible and prevent the migration of objects. In the Henning -paper, he mentions the use of a server name as the index -for the table maintained by the Implementation Repository.

- -

A virtual server does not refer to the executable but instead -to a group of objects. An executable may have one or more virtual -servers within it. This allows one virtual server to be moved off -the executable to another executable (for instance, onto another -machine) without affecting the objects in other virtual servers -on the original executable.

- -

Each virtual server will be indexed in the Implementation -Repository by a name that is given to it by the user. It is the -users responsibility to make sure that each virtual server name -is unique. By default, this name is the name of the executable -(since by default there is only one virtual server per -executable). However, this default behavior can be overridden.

- -

Ping Object

- -

Ping objects are simple objects that reside in the server, one -for every virtual server. It is contacted by the Implementation -Repository to determine if the virtual server is still running -and responding. At certain intervals the Implementation -Repository will invoke a one-way method on the ping object, and -then will expect a "pong" message to be sent back. -Different strategies for pinging (which will depend on a TAO -option) will be used by the implementation repository. If a -server is expected to be responsive, the Implementation -Repository will not wait long for a response before considering -the server to be gone. Other servers may be -computationally-intensive and need to be held under less -stringent expectations.

- -

We chose the ping method to be a one-way (instead of two-way) -because if the server became unresponsive, it would not return -from the method invocation. The Implementation Repository needs -some form of a timeout with the ping to be able to determine if -the server is unresponsive or not.

- -

New IORs

- -

Standard CORBA IORs contain the following two sections:

- - - - - - -
Type IDSequence of Tagged Profiles
- -

The Type ID is an indicator for the most derived type known at -the time of the reference creation. It is used as a hint for the -client in determining what interfaces the object can support. The -Sequence of Tagged Profiles consist of one or more profiles that -encapsulate information used by the associated protocol in order -to communicate with the object (host, port, object id, etc.).

- -

Currently, TAO uses only one IIOP 1.0 Tagged Profile, which is -defined as follows:

- - - - - - - - -
VersionHostPortObject Key
- - - - - - -
Object Key: - - - - - - -
Transient/Persistent FlagTimeStampPOA IDOBJ ID
-
- -

To accomodate the Implementation Repository and IIOP 1.1, the -Profile was changed according to the CORBA specification as -follows:

- - - - - - - - - -
VersionHostPortObject KeyComponents
- - - - - - -
Object Key: - - - - - - - -
TAOTAO versionTimeStamp/Server NamePOA IDOBJ ID
-
- -

The two main changes is the addition of the Components field -(which is a IIOP 1.1 thing) and the addition of TAO with its -version. Transient object references will still have a TimeStamp -to ensure uniqueness, but persistent object references will have -a server name to identify themselves to the Implementation -Repository. 

- -

For servers that move around or need to be restarted often, -the IOR will contain a reference to the Implementation Repository -with the object key of the server and the server name imbedded. -  Once the client contacts the Implementation Repository, it -will be forwarded to the correct object. This IOR will look like -the following:

- - - - - - - - - -
VersionHostPortObject KeyComponents
- - - - - - -
Object Key: - - - - - - - -
TAOTAO versionServer NamePOA IDOBJ ID (actually the OBJ Key of the Server)
-
- -

For servers that expect to remain in the same host/port for a -long time, the above IOR can be optimized by placing the server -profile in the IOR before the Implementation Repository -profile.  TAO clients will first try the server, and if that -fails, then try the Implementation Repository.  Clients from -other ORBs may behave the same way, but this isn't guaranteed -since the handling of multiple profiles is not yet in the CORBA -spec. There will be an option to only generate the IR-only IORs -for ORBs that do not support multiple profiles in the needed -manner.

- -

There will be a POA policy to determine which type of -Persistent IOR to use.  By default, the Implementation -Repository alone version will be used.

- -

What was wrong with the -old IOR?

- -

We need a place to put a TAO marker in the IOR so TAO servers -can differentiate TAO IORs from IORs of other vendors. In the -original scheme used in TAO, Persistent IORs had a null -timestamp. To support virtual servers, we will use that slot to -store the server name so the Implementation Repository knows -which server to launch.

- -

Why does the -Implementation Repository profile contain an Object Key?

- -

It needs to know what the object key of the object when -forwarding is used. A server may contain more than one object, so -the object key is needed to forward to the correct object on the -server.

- -

POA Extensions

- -

TAO's POA will contain a new TAO-specific method called create_reference_with_virtual_server[_and_id] -(...). This method takes additional arguments for a -virtual server name and a sequence of Implementation Repository -IORs. The POA will register the virtual server name with each of -the Implementation Repositories in the sequence passed in. -Several Implementation Repositories can be specified to enhance -availability through redundancy.

- -

TAO's POA will also contain a policy for the type of IOR -created with create_reference.   It can either -produce the standard type, with just a reference to the -Implementation Repository, or it can produce one also containing -a reference to the current server.

- -

Possible Future Goals

- -

The following are features that may be added to support TAO's -Implementation Repository:

- -
    -
  • Optimization on TAO clients to recognize when a server is - restarted, and change all other IORs that contain the - server instead of going through the Implementation - Repository
  • -
  • Some sort of server security that checks the executable - to make sure it is the correct executable (checksum, - signatures, etc).
  • -
  • Add the ability to put servers into DLLs or Shared Object - files so the Implementation Repository can load it via - those methods.
  • -
  • GUI interface for such things as the helper application.
  • -
  • Federations of Implementation Repositories.
  • -
  • The ability to start a remote server (possibly with rsh, - ssh, rexec, etc)
  • -
- -

Server Restrictions

- -

Most often servers that have Persistent IORs will save their -state to secondary storage. Databases are a good example of this, -where the server can be stopped and restarted with all the -information remaining on disk.

- -

The server must also make sure it creates the POA and Object -in a way that does not change the POA ID and Object ID. The -Implementation Repository forwards requests based on the -information in the IOR; if the POA ID or Object ID changes, then -the Implementation Repository will be unable to sucessfully -forward requests. If the server implements dynamic servants and -dynamic POA activations, then this is not an issue since the -necessary POAs and servants will be created on demand.

- -

Preliminary Interface

- -

The following is a proposed IDL interface for the TAO -Implementation Repository:

- -
module TAO
-{
-  // ....
-
-  exception Already_Registered {};
-  // Object already bound in the Implementation Repository
-
-  exception Cannot_Activate
-  {
-    string reason_;
-  };
-
-  exception Not_Found {};
-  // Object not found in the Implementation Repository  
-  
-  struct Environment_Variable
-  {
-    string name_;
-    string value_;
-  };
-  // One environment variable
-  
-  struct INET_Addr
-  {
-    unsigned short port_;
-    unsigned long host_;
-  };      
-  // The location of a server
-
-  typedef sequence<Environment_Variable> Environment;
-  // Complete environment
-
-  typedef sequence<string> Command_Line_Options;
-  // Command line options
-
-  struct Process_Options
-  {
-    string executable_name_;
-    // Executable name
-
-    Command_Line_Options command_line_options_; 
-    // Command line options
-
-    Environment environment_; 
-    // Environment
-
-    string working_directory_;  
-    // Working directory
-
-    unsigned long creation_flags_;
-    // Creation flags
-  };
-
-  interface Ping_Object
-  {
-    oneway void ping ();
-    // Used for checking for liveness of a server.  When the server receives
-    // this, it should send back a response indicating it is sill alive.  
-    // Depending on the policy specified, a timeout can be reached where the
-    // Implementation Repository will restart the server.
-  };
-
-  interface Implementation_Repository
-  {
-    Object activate_object (in Object obj)
-      raises (Not_Found,
-              Cannot_Activate);
-      // Restart server that will contain this persistent object and return the
-      // new Object reference.
-      //
-      // The <Not_Found> exception is raised when <obj> is not found
-      // in the Implementation Repository.  The <Cannot_Activate> exception
-      // is raised when <obj> is found in the Repository but could not be
-      // activated.
-
-    INET_Addr activate_server (in string server)
-      raises (Not_Found,
-              Cannot_Activate);
-      // Restart server that is named <server> and return the host/port
-      // 
-      //
-      // The <Not_Found> exception is raised when <server> is not found
-      // in the Implementation Repository.  The <Cannot_Activate> exception
-      // is raised when <server> is found in the Repository but could not be
-      // activated.
-
-    void register_server (in string server,
-                          in Process_Options options)
-      raises (Already_Registered);
-      // Restart server process when client is looking for <server>.
-      //
-      // The <Already_Registered> exception is raised when <server> has
-      // already been registered with the Implementation Repository.
-      // 
-      // The <Object_Not_Persistent> exception is raised when <server> is
-      // not a Persistent Object Reference.
-
-    void reregister_server (in string server,
-                            in Process_Options options)
-      raises (Already_Registered);
-      // Restart server process when client is looking for <server>.
-      //
-      // The <Already_Registered> exception is raised when <server> has
-      // already been registered with the Implementation Repository.
-      // 
-      // The <Object_Not_Persistent> exception is raised when <server> is
-      // not a Persistent Object Reference.
-
-    void remove_server (in string server)
-      raises (Not_Found);
-      // Remove <server> from the Implementation Repository.
-      //
-      // The <Not_Found> exception is raised when <server> is not found
-      // in the Implementation Repository.
-
-    Profile server_is_running (in string server,
-                               in INET_Addr addr, 
-                               in Ping_Object ping);
-      // Used to notify the Implementation Repository that <server> is alive and
-      // well at <addr>.
-
-    void server_is_shutting_down (in string server);
-      // Used to tell the Implementation Repository that <server> is shutting
-      // down.
-    };
-};
- -
- -

Alternate Implementations

- -

Other ORB vendors use alternative techniques for their -Implementation Repositories. These techniques usually require new -naming techniques to access persistent object references and new -client-side APIs to bind to persistent object references. TAO's -Implementation Repository will not require such extensions.

- -

A possible design alternative for the IR might use an Object -Reference that points to the Implementation Repository instead of -pointing directly to the persistent object. This extra level of -indirection would be used by the Implementation Repository to -start the server, if needed. The Location Forwarding mechanism -would then be used to forward the client request to the server. -The difference between this design and TAO's design is that the -persistent IOR in TAO will contain a profile pointing to a -location of the server (where it still might be running) to try -first, and then only if that fails does the client contact the -Implementation Repository. This is an optimization for case where -the server does not shut down often, and most requests do not -need to be forwarded to a new address.

- -

In cases where most requests will require a forward, TAO can -support a policy that is just like this alternative, where the -Implmentation Repository will be contacted first.

- -
- -

Accessing the -Implementation Repository

- -

The Implementation Repository will be transparent to the -clients and the servers. Clients will only deal with IIOP 1.1 -IORs, and in the default case all the Implementation Repository -logic on the server side will be handled internally by the ORB -and the POA.

- -

Helper Application

- -

A helper application will be included with the Implementation -Repository. It will be a command-line utility that will assist -users with adding and removing server records (containing virtual -server names and executable name/options) from the Implementation -Repository.

- -

Locating an Instance -of the Implementation Repository

- -

Server-side

- -

In the default case, the Implementation Repository will be -found via the command-line, environment variables, and multicast -(in that order). This location strategy is consistent with that -used by TAO to local its default Naming Service instance. Using -the POA extensions, other Implementation Repositories can be -specified in the call to POA::create_reference_with_virtual_server. -The default port of the Implementation Repository can be -overridden through command-line options or environment variables. -

- -

Client-side

- -

One or more Implementation Repositories will be stored in -additional profiles in the IOR. Other Implementation Repositories -can also be located by multicasting (on a default multicast -group) the server name of the Persistent Object the client is -interested in. The default multicast group and default port of -the Implementation Repository can be overridden through command -line options or environment variables.

- -

In most cases, one Implementation Repository will be enough. -For redundancy, several Implementation Repositories can be -specified.

- -
- -

How It Works

- -

How a server -produces a Persistent IOR (in the default case)

- -

Before a server starts, it must be registered (via a -command-line utility) with an implementation repository. On -platforms that don't support multicast, the Implementation -Repository must be specified on the command line or in an -environment variable.

- -
    -
  1. When the server starts up it calls ORB_init. - ORB_init, if not passed a server name, will - take argv[0] and use that as a default server name (TAO - expects this to be the executable name).
  2. -
  3. ORB_init will create a ping object.
  4. -
  5. ORB_init will look for Implementation - Repositories on the command-line, environmental - variables, and then through multicast (in that order). - Once it finds one it registers itself and passes the ping - object to the implementation repository with server_is_running - operation.
  6. -
  7. The profile returned by registration will be stored for - later use.
  8. -
  9. Client later can call the POA::create_reference - operation.
  10. -
  11. The create_reference operation will create - the local profile.
  12. -
  13. The stored Implementation Repository profile will have - its object id changed to be the object key just created.
  14. -
  15. Both profiles will be joined together if the multiple - profile IOR policy is set, and then returned.
  16. -
- -

How a server -produces a Persistent IOR (in complex cases)

- -

As with the default case, the server must be registered with -an Implementation Repository, although it does not need to be -multicast aware since the IORs will be passed to the POA by the -program.

- -
    -
  1. ORB_init is called and does the default work - (if it has Implementation Repositories to contact).
  2. -
  3. POA::create_reference_with_virtual_server[_and_id] - will be called with a server name and list of - Implementation Repositories.
  4. -
  5. The profile for the object is created.
  6. -
  7. The ping object created in ORB_init and the - object key is passed to the Implementation Repositories, - and their profiles are returned.
  8. -
  9. Both profiles will be joined together if the multiple - profile IOR policy is set, and then returned.
  10. -
- -

How a client uses a -Persistent IOR

- -

For all Clients:

- -
    -
  • Client obtains a Persistent Object Reference, which - contains multiple profiles to both regular objects and - Implementation Repositories.
  • -
  • It will now make a request on the first profile.
  • -
  • If the first profile if the server profile, and the - server is still there, then it will be successful.  - If the server has moved (or shut down), then the next - profile will be tried.
  • -
  • If the first profile is the Implementation Repository, or - if the server profile failed, then it will be - contacted.  The Implemenation Repository will then - return NOT_FOUND or will start up the server and return a - Location Forward message.
  • -
- -

If everything fails, then most clients will return failure for -the request. TAO clients will attempt to contact other -Implementation Repositories that are specified on the -command-line, in environment variables, or found through -multicast.

- -
    -
  • If all of the profiles fail, then contact the other - Implementation Repositories. First get those specified on - the command line or in environment variables.
  • -
  • Then, if multicast is available:
      -
    • Multicast the Object Reference to a group of - Implementation Repositories
    • -
    • Wait until response or a timeout. The response - will contain the Object Reference of a - Implementation Repository that knows about the - Object Reference
    • -
    -
  • -
  • Connect to the Implementation Repository that responds - first.
  • -
  • Call activate passing the Persistent Object - Reference.
  • -
  • If a new Object Reference was sent back then retry the - request using the it. If this request fails, then fail - (no more retries).
  • -
  • If a null reference was sent back, then fail.
  • -
- -

TAO clients will have an optimization where if there are -several IORs that have the same server name, and one of them gets -forwarded, then the client will be able to change its other IORs -without going through the overhead of contacting Implementation -Repository.

- -
- -

Last update to this document: $Date$

- -

Back to TAO Release Notes

- -

Back to Implementation Repository

- - diff --git a/TAO/docs/implrepo/tao_ir.html b/TAO/docs/implrepo/tao_ir.html deleted file mode 100644 index 823957facf1..00000000000 --- a/TAO/docs/implrepo/tao_ir.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - -Implementation Repository User's Guide - - - - -
- -

tao_ir Usage

- -

The usage of tao_ir is as follows:

- -

tao_ir [ORB options] command -[command-arguments]

- -

ORB_options is the ORB options to be given. This is where -options like "-ORBImplRepoIOR" would be placed. command is -one of the supported commands like add, remove, etc. command-arguments -are dependent on the command used. For example, add will need a -server name for registration, but list does not necessarily need any arguments.

- -
- -

Examples

-

There is a file in the current directory name implrepo.ior that -contains the IOR of the Implementation Repository. The server executable -is called airplane.exe and the POA name used by the object is plane. -The server needs the -i option to use the IR and the IOR of the IR. So the -command would be:

- -

tao_ir -ORBImplRepoIOR file://implrepo.ior add plane -c "airplane.exe --i file://implrepo.ior"

- -

And if you want to later remove that server from the IR:

- -

tao_ir -ORBImplRepoIOR file://implrepo.ior remove plane

- -

Or if you wanted to update the entry to have a working directory of -C:\airplane\.

- -

tao_ir -ORBImplRepoIOR file://implrepo.ior update plane -w -"C:\airplane\"

- -
- -

Commands

- -

tao_ir currently supports these commands:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CommandDescription
activateActivates a server through the IR
addAdds a server to the server database in the IR
listLists the details of one server or lists all the servers registered in - the IR
removeRemoves a server from the server database in the IR
shutdownShuts down a server through the IR
updateUpdates information for a server in the server database in the IR
- -
- -

activate

-

tao_ir [ORB options] activate name [-h]

- -

Activate a server through the Implementation Repository. The name is -the server (POA) name that is used to identify the server.

- - - - - - - - - - -
OptionDescription
-hDisplays help for this command
- -
- -

add

-

tao_ir [ORB options] add name [-h] -[-c command] [-w working_dir]

- -

Creates a new server entry in the Implementation Repository. The name -must be be the name of the POA that the object resides in.

- - - - - - - - - - - - - - - - - - -
OptionDescription
-hDisplays help for this command
-c commandAdds the command line string used to restart this server
-w working_dirAdds the working directory that is used for the server
- -
- -

list

-

tao_ir [ORB options] list [name] -[-h] [-v]

- -

Lists all or one of the server entries in the Implementation Repository. If a -name is used, it will display verbose information about the server -identified by its server (POA) name.

- - - - - - - - - - - - - - -
OptionDescription
-hDisplays help for this command
-vWhen listing the list of servers (no name specified), display - verbose information for all servers.
- -
- -

remove

-

tao_ir [ORB options] add name [-h]

- -

Removes a server entry from the Implementation Repository. The name is -the server (POA) name that is used to identify the server.

- - - - - - - - - - -
OptionDescription
-hDisplays help for this command
- -
- -

shutdown

-

tao_ir [ORB options] shutdown name [-h]

- -

Shuts down a server through the Implementation Repository. The name is -the server (POA) name that is used to identify the server.

- - - - - - - - - - -
OptionDescription
-hDisplays help for this command
- -
- -

update

-

tao_ir [ORB options] add name [-h] -[-c command] [-w working_dir]

- -

Update a server entry in the Implementation Repository. The name -is the server (POA) name that is used to identify the server.

- - - - - - - - - - - - - - - - - - -
OptionDescription
-hDisplays help for this command
-c commandChanges the command line string used to restart this server
-w working_dirChanges the working directory that is used for the server
- -
- -

Back to Implementation Repository

- - diff --git a/TAO/docs/implrepo/usersguide.html b/TAO/docs/implrepo/usersguide.html deleted file mode 100644 index 7c34c93c5d3..00000000000 --- a/TAO/docs/implrepo/usersguide.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - -Implementation Repository User's Guide - - - - -
- -

Warning, this document is out of date and is currently -being updated.

- -

Implementation Repository User's Guide

- -

Since the POA/ORB integration is not yet completed, the functionality still -exists in separately in IR_Helper, which is included in orbsvcs. When the -integration is done, this dependency to orbsvcs will be removed.

- -
- -

What does the server need to do.

- -

The IR needs information about the server to be able to direct -to the right place. The current scheme uses a regular persistent -IOR and replaces the host and port with that of the IR. Then when -the call comes into the IR, it sends back a LOCATION_FORWARD to -the client and directs it to the correct server (after starting -it if necessary).

- -

So the server needs to know the IOR of the IR in order to -change the host and port in it to that of the IR. The information -the IR needs to receive from the server is its POA name (which it -uses as an identifier) and commands used to restart the server.

- -
- -

The IR_Helper class

- -

Most of the work on the server is done in the IR_Helper class. -The first thing it expects is to have the implrepo.ior file in -the current directory. This file contains the IOR of the IR. -IR_Helper then uses this to register itself.

- -

Here is the small checklist I went through when I used the -IR_Helper class in Airplane Test. The Cubit-style references are -just refering to any server that has used the structure of the -IDL_Cubit test (a lot of TAO's examples are like this).

- - -
  • Make yourself an IR_Helper object. (If you follow - the Cubit-style architecture, this will be a pointer in - the Server_i class).
  • -
  • After you create the POA, construct the IR_Helper and - pass it the relevant information. (Cubit-style: assign a - new object within Server_i::init)
  • -
  • If you need to register, call register_server () - (Cubit-style: add another option "-r" and have - it set a flag. Within Server_i::init call - register_server ())
  • -
  • After you create and register your objects, call - change_object to redo the references. Then you can - output the new IOR. (Cubit-style: still within - Server_i::init)
  • -
  • Right before ORB::run call notify_startup and afterwards, - call notify shutdown (Cubit-style: within Server_i::run)
  • -
    - -
    - -

    To use, or not to use the IR

    - -

    If you look at the tests, they use -r and -i flags to -determine how to use the IR. The -i flag turns on the use of the -Implementation Repository (so the server can be tested without -the IR). The -r flag is used to register the entry in the IR for -the server. Note that -r will not work in the example without -i. -This does require some more work on the server side, so if you -choose you can just use the IR all the time and only worry about --r.

    - -
    - -

    Last update to this document: $Date$

    - -

    Back to Implementation Repository

    - - diff --git a/TAO/docs/index.html b/TAO/docs/index.html deleted file mode 100644 index 739f2556d16..00000000000 --- a/TAO/docs/index.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - -TAO Documentation - - - - -
    - -

    TAO Documentation

    - - -


    - -

    Back to the TAO home page.

    - - diff --git a/TAO/docs/leader_follower.html b/TAO/docs/leader_follower.html deleted file mode 100644 index beb09eb92b3..00000000000 --- a/TAO/docs/leader_follower.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - Implementation of leader follower model for global resources - - - - - -
    -

    Leader follower model for global resources

    -
    -

    Context

    - Global resources in TAO mean one ORB and using the reactive strategy - one Reactor. TAO uses the ACE Select Reactor for this purpose. - One main problem with multithreading and only one Reactor is that - only one thread can wait in handle_events at a time. - Handle_events is called, when a thread expects input, meaning - it is blocking to wait for it. - -

    Idea

    - One solution to this problem is to use a leader-follower model, - which partitions the set of threads wanting to wait for input - into one leader and followers. Every thread is eligible to become - a leader. A thread wanting to wait while nobody else is waiting - becomes the leader. If the leader gets its input, which is in - this case its response, it will select a new leader out of the - set of followers. The followers wait on a condition variable they - own and register it with the ORB core. The ORB core is thereby - responsible for making this access thread-save by providing - a lock for the list of followers with some flags, like - leader_available. - -

    Implementation

    - The above mentioned condition variables are owned by the - connection handlers, because reponses are expected per connection, - not necessarily, thinking about other resource models, per thread. -

    - The involved classes are TAO_ORB_Core, TAO_Client_Connection_Handler - and TAO_ORB. In the TAO_ORB_Core class the list of followers, a lock, - a leader reference counter and a leader thread ID were added. - The handle_input and send_request methods on the TAO_Client_Connection_Handler - contain 95% of the code used for implementing the leader-follower - model. Care has to be taken, that the connection handlers are - suspended and resumed, properly. A special concern is that - no deadlocking occurs. - -


    - For more details and questions, -

    - -

    Michael Kircher
    -

    -

    Irfan Pyarali
    - - - diff --git a/TAO/docs/locate_request.html b/TAO/docs/locate_request.html deleted file mode 100644 index 1978b2f3336..00000000000 --- a/TAO/docs/locate_request.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - Implementation of locate requests - - - - - -
    -

    Locate requests

    -
    -

    Context

    - The CORBA specification describes locate requests as a way to - find out if an object is available at the other end of the wire - or not without invoking an actual method on it. - This way expensive marshalling and demarshalling can be prohibited. - Locate requests are part of GIOP. - -

    Implementation

    - The main classes involved in locate requests are the Server_Connection_Handler - to do check for the object. This is done by invoking the non standard - "non_existent" method on it. If it fails an exception will be thrown, - if the exception is not the Forward_Request exception of the POA, - the object is not there. If it is this specific exception, the new - forwarded location can be extracted and returned in the locate reply. - If the call on "non_existent" succeeds, we know the object is there and - return that. - - The client part of the locate request is handled int Locate_Request_Invocation. - The response is checked on the answer. If there, we go on and invoke the - actual method on the distant object. If not there, we fail and throw the proper - exception and if we get forwarded we replace our IIOP profile acordingly. - -

    API

    - To activate the locate requests, please invoke the non standard method - "_use_locate_requests (CORBA::B_TRUE)" on your CORBA::Object or any - object which inherits form this object. This will activate the locate - request on the first call to the object. The second time and on all - following calls "no" locate request will be used any more. To switch - it on again use "_use_locate_requests (CORBA::B_TRUE)" again. - You can also switch it of by "_use_locate_requests (CORBA::B_FALSE)". - -
    - For more details and questions, -

    -

    Irfan Pyarali
    -

    -

    Michael Kircher
    -

    - - - diff --git a/TAO/docs/minimumTAO.html b/TAO/docs/minimumTAO.html deleted file mode 100644 index c7e1429a2d2..00000000000 --- a/TAO/docs/minimumTAO.html +++ /dev/null @@ -1,248 +0,0 @@ - - - Minimum TAO - - - - -


    -

    - - Minimum TAO -

    - -We have added support for the new minimumCORBA - specification to TAO. The -minimumCORBA specification removes the following features from -the CORBA 2.2 -specification. - -

      - -
    • Dynamic Skeleton Interface
      -
    • Dynamic Invocation Interface
      -
    • Dynamic Any
      -
    • Interceptors
      -
    • Interface Repository
      -
    • Advanced POA features
      -
    • CORBA/COM interworking
      - -
    -

    - -To minimize the footprint of TAO, we first -configure ACE to support only those -components that are required by TAO. Secondly, we configure - TAO to only support the components specified by the -minimumCORBA specification. The following two tables show the -footprint reduction achieved. Note that the IDL Compiler column -refers to the code required to collaborate between the IDL compiler -and the ORB, and not to the code for the IDL compiler itself. - -

    -


    -

    - - Note: All measurement are for ACE 4.6.29 and TAO 0.3.13 using -egcs-2.91.60 on SunOS5.7
    - -Make options used were: - - debug=0 optimize=1 static_libs_only=1 DEFFLAGS=-DACE_USE_RCSID=0
    - -The above make options translate into: - -(a) No debugging, -(b) Optimization is set to -O2, -(c) Static ACE and TAO libraries, and -(d) Use of RCS Ids is turned off.
    - -

    - -

    -


    -

    - -

    - - - - - - -
    Configuration - Component - Total - OS - Utils - Logging - Threads - Demux - Connection - Sockets - IPC - Svcconf - Streams - Memory - Token - Other -
    ACE (all components) - Size, Kbytes - 577.6 - 11.5 - 116.2 - 14.0 - 60.0 - 40.0 - 0.7 - 13.7 - 40.2 - 101.5 - 19.4 - 20.9 - 75.5 - 64.5 -
    Percentage of
    total size -
    100 - 2 - 20 - 2 - 10 - 7 - 0 - 2 - 7 - 18 - 3 - 4 - 13 - 11 -
    ACE (TAO components) - Size, Kbytes - 437.4 - 11.5 - 116.2 - 14.0 - 60.0 - 40.0 - 0.7 - 13.7 - 40.2 - 101.5 - 19.4 - 20.9 - 0.0 - 0.0 -
    Percentage of
    total size -
    100 - 3 - 27 - 3 - 14 - 9 - 0 - 3 - 9 - 23 - 4 - 5 - 0 - 0 -
    Reduction - % - 24.3 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 100 - 100 -

    - -


    - -

    - -

    - - - - - - -
    Configuration - Component - Total - POA - Pluggable Protocols - Default Resources - Interpretive Marshaling - IDL Compiler - ORB Core - Dynamic Any -
    Complete TAO - Size, Kbytes - 862.0 - 281.9 - 14.6 - 7.9 - 68.7 - 10.5 - 347.1 - 131.3 -
    Percentage of
    total size -
    100 - 33 - 2 - 1 - 8 - 1 - 40 - 15 -
    Minimum TAO - Size, Kbytes - 639.5 - 207.2 - 14.6 - 7.9 - 68.7 - 10.5 - 330.3 - 0.0 -
    Percentage of
    total size -
    100 - 32 - 2 - 1 - 11 - 2 - 52 - 0 -
    Reduction - % - 25.8 - 26.5 - 0 - 0 - 0 - 0 - 48 - 100 -

    - -

    diff --git a/TAO/docs/orbsvcs.html b/TAO/docs/orbsvcs.html deleted file mode 100644 index d8a02aac033..00000000000 --- a/TAO/docs/orbsvcs.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - TAO's CORBA Object Services Documentation - - - - - -


    -

    TAO's CORBA Object Services Directory Hierarchy

    - -

    The file and directory organization for TAO services can be - confusing at first glance (and even on subsequent ones to be - honest), - so we felt like some rationale and explanation of the directory - hierarchy was needed.

    - -

    For general sanity all TAO services files are located under - $TAO_ROOT/orbsvcs.

    - -

    It is expected that clients use more - than one service at the same time - (in fact some of the services already do, for instance the - Event Service uses the Naming Service and the - Scheduling Service). - For this reason all the services stubs are grouped in one - library. - This library is located in - $TAO_ROOT/orbsvcs/orbsvcs. - Usually the include path is only $TAO_ROOT/orbsvcs, - so files are included like this:

    - -

    -#include "orbsvcs/CosNamingC.h" -

    - -

    To simplify the IDL generation the skeletons are also on the - library, - this is not a problem for client programs and most services need - to link the library anyway - (since they use other services.) - Further, - the current support for collocation requires that clients link - the skeleton files anyway. -

    - -

    In the future we intend to use ACE Service Configurator to give - the users control over collocation of the services implementation. - As a first cut all the service implementations are included in the - orbsvcs library $TAO_ROOT/orbsvcs/orbsvcs. - Since there are serveral services and each one is implemented - using several files we have given a different directory to each - service. - This structure could also simplify a future split into several - libraries (if it proves necessary). -

    - -

    The complete list of directories is:

    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ServiceImplementation Sub-directory
    A/V Streams Serviceorbsvcs/AV
    Concurrency Serviceorbsvcs/Concurrency
    Event Serviceorbsvcs/CosEvent
    Real-time Event Serviceorbsvcs/Event
    LifeCycle Serviceorbsvcs/LifeCycle
    Logging Serviceorbsvcs/Log
    Naming Serviceorbsvcs/Naming
    Property Serviceorbsvcs/Property
    Scheduling Serviceorbsvcs/Sched
    Trading Serviceorbsvcs/Trader
    Time Serviceorbsvcs/Time
    -

    - -

    Note that in the current version of TAO we still have standalone - binaries for some of the services. However, some applications - may want to control what process implements a particular service. - Therefore, it has proved useful for - debugging purposes to keep the most used services separated. - The binaries in question are located in - $TAO_ROOT/orbsvcs, and the list includes: -

    - -
      -
    • Concurrenty_Service
    • -
    • Dump_Schedule
    • -
    • LifeCycle_Service
    • -
    • CosEvent_Service
    • -
    • Event_Service
    • -
    • Naming_Service
    • -
    • Scheduling_Service
    • -
    • Trading_Service
    • -
    • Time_Service
    • -
    • ImplRepo_Service *(see below)*
    • -
    - -

    In the future we plan to use a single binary and ACE Service - Configurator and keep a single binary.

    - -

    The Implementation Repository is a unique service in that it - starts server executables, and it doesn't make sense to collocate - it in another server. Because of this, only the IDL files are - located in $TAO_ROOT/orbsvcs/orbsvcs. The other - files are all located in - $TAO_ROOT/orbsvcs/ImplRepo_Service.

    - -

    Finally the tests and example programs are located in - $TAO_ROOT/orbsvcs/tests; - once more each may involves more than a single binary, - so each one is kept in its own directory; - the following list describes the contents of each one: -

    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Test directoryPurpose
    AVStreamsA complete A/V server and client.
    ConcurrencyTest the Concurrency Service.
    CosEC_BasicTest the basic functionality of the standard Event - Service. -
    CosEC_MultipleSimple example that connects multiple consumers and/or - suppliers to the standard event service. It can be used to - show how composing a standard event-service and the - real-time event service provides filtering capabilities. -
    EC_BasicTest the basic functionality of the real-time Event - Service. -
    EC_Custom_MarshalShow how the Real-time event service can send user - defined data using custom marshaling. -
    EC_McastMultiple real-time event channels can communicate using - multicast, this example shows how to do it. -
    EC_MultipleConnect two Real-time Event Channels using the - EC_Gateway, - measure latency, utilization and minimum spacing. -
    EC_ThroughputMeasure throughput and latency for collocated and remote - real-time event services. -
    Event_LatencyTest the Real-time Event Service and measure end-to-end latency, - it also uses the Scheduling and Naming services.
    ImplRepoTests used to test the functionality of the - Implementation Repository Service.
    LoggerAn example logging service using the Naming Service to - locate a factory.
    NamingThis is an obsolete directory.
    PropertyTesting for the Property Service.
    SchedA test of the Scheduling Service.
    Simple_NamingA number of Naming Service tests: from very simple to more fancy.
    SimulatorPrototype implementation of DOVE (DOVE Agent, DOVE - Browser, DOVE MIB, DOVE Application). The DOVE Agent - consists of the Event Channel, which is then connected to - a DOVE Browser implemented in Java.
    TradingTests for the Trading Service.
    Time A test for the Time Service.
    -

    - -

    SEE ALSO

    - -

    You may you to check TAO - release notes - for up to date information on status, changes, future work, etc.

    - -
    - -
    Carlos O'Ryan
    - - diff --git a/TAO/docs/poa_migration.html b/TAO/docs/poa_migration.html deleted file mode 100644 index bcb446b1d4d..00000000000 --- a/TAO/docs/poa_migration.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - Migrating from the BOA to the POA - - - - - -

    -

    Migrating CORBA Applications from BOA to POA

    - -Starting with the CORBA 2.2, the Basic Object Adapter (BOA) has been -deprecated in favor of the Portable Object -Adapter (POA). This document explains the changes required to -migrate CORBA applications based on the BOA to use TAO's POA -implementation, which is the only Object Adapter supported by TAO. -For more information on the benefits of the POA please see the Object -Interconnection columns written by Doug Schmidt and Steve Vinoski. - -

    Contents

    - - -

    Client-side Changes

    - -
      -
    • Very little has changed. Thus, many applications require no changes.
    • -

    - -

    Server-side Changes

    - -
      -
    • POA_init is replaced with resolve_initial_references("RootPOA") followed -by a _narrow operation.
    • - -

    • The implementation no longer inherits from the client-side stub. -Instead, they inherit from PortableServer::ServantBase. -The implications of this are (a) if you want a object reference for -that, you must use the _this method.
    • - -

    • Object ID's are assigned by the POA unless you activate the -servant with a specific ID. IDL_Cubit -has examples on how to do this.
    • - -

    • Unlike the BOA, the POA explicitly addresses the temporal nature -of servants and declares that a POA can service either transient or -persistent servants (not both). The root POA's (mandated, -unchangeable) policy is "transient". The implications of this are -that in order for a client to be able to manufacture an object -reference on its own and use that to access an object, the servant for -that object must be registered with a POA whose policy is -"persistent". Thus, you must create a child POA with that policy and -register the servant with that POA. NOTE: when the POA declares -something as "persistent", it is only stating that the key is valid -between different runs of the server; it makes no claims that state or -anything else is persistent.
    • - -

        -
      • Servants are not automatically activated, hence you must register - them by calling some of the activate_object* methods on a POA or - calling _this on the servant; with the latest you have no control on - the ObjectId (which sometimes is good), and the POA must support the - right policies (the RootPOA does).
      • - -

      • Servant constructors use to take a const -char* parameter to set - they object id, this is not needed now, in fact in many cases they use - to pass this argument to the skeleton class: this will fail -now.
      This list is not intended to be exhaustive, but -should give you a good starting point. If you find things along the -way that change your applications and I didn't note them, please send -them to me. Perhaps we can work together on the ultimate migration -document.

    - -

    Reference counting Servants

    - -The new POA/servant reference -counting rules of the CORBA 2.3 spec are somewhat tricky. Here are -two main reasons why:

    - -

      - -
    • If a servant is deleted without deactivating from the POA, the -application will crash because the POA will try to access the still -registered (but now non-existent) servant when the POA is destroyed.

      - -The solution to this is to make sure that the servant is deleted after -the POA is deleted or make sure that the servant is deactivated from -the POA before the servant is deleted.

    • - -

    • You cannot delete a servant which is the target of the current -upcall/request. A good example of this is the typical destroy() -method, usually written like this: - -
      -
      -class TAO_Export TAO_Thread_Policy : public POA_PortableServer::ThreadPolicy
      -{
      -  void destroy (CORBA_Environment &ACE_TRY_ENV);
      -};
      -
      -void
      -TAO_Thread_Policy::destroy (CORBA::Environment &ACE_TRY_ENV)
      -{
      -  PortableServer::POA_var poa = this->_default_POA (ACE_TRY_ENV);
      -  ACE_CHECK;
      -
      -  PortableServer::ObjectId_var id = poa->servant_to_id (this,
      -                                                        ACE_TRY_ENV);
      -  ACE_CHECK;
      -
      -  poa->deactivate_object (id.in (),
      -                          ACE_TRY_ENV);
      -  ACE_CHECK;
      -
      -  // Commit suicide: must have been dynamically allocated.
      -  delete this;
      -}
      -
      -
      - -The correct implementation is: - -
      -
      -class TAO_Export TAO_Thread_Policy : public virtual PortableServer::RefCountServantBase,
      -                                     public virtual POA_PortableServer::ThreadPolicy
      -{
      -  void destroy (CORBA_Environment &ACE_TRY_ENV);
      -};
      -
      -void
      -TAO_Thread_Policy::destroy (CORBA::Environment &ACE_TRY_ENV)
      -{
      -  //
      -  // Remove self from POA.  Because of reference counting, the POA
      -  // will automatically delete the servant when all pending requests
      -  // on this servant are complete.
      -  //
      -
      -  PortableServer::POA_var poa = this->_default_POA (ACE_TRY_ENV);
      -  ACE_CHECK;
      -
      -  PortableServer::ObjectId_var id = poa->servant_to_id (this,
      -                                                        ACE_TRY_ENV);
      -  ACE_CHECK;
      -
      -  poa->deactivate_object (id.in (),
      -                          ACE_TRY_ENV);
      -  ACE_CHECK;
      -}
      -
      -
      - -One additional step required is to make the POA responsible for the -servant after it has been registered with the POA: - -
      -
      -  // Register with the POA.
      -  PortableServer::ThreadPolicy_var result = new_thread_policy->_this (ACE_TRY_ENV);
      -
      -  // Give ownership of this servant to the POA.
      -  new_thread_policy->_remove_ref (ACE_TRY_ENV);
      -
      -
      - -If you use the above approach of multiple inheritance, you must add -the following to your header file: - -
      -
      -// This is to remove "inherits via dominance" warnings from MSVC.
      -// MSVC is being a little too paranoid.
      -#if defined (_MSC_VER)
      -# pragma warning (disable : 4250)
      -#endif /* _MSC_VER */
      -
      -
      - -To see the above example in detail, checkout TAO/examples/POA/Reference_Counted_Servant -and/or POA.cpp and POA.h.
    • - -

    - -

    - -Back to the TAO -documentation page. - - - - diff --git a/TAO/docs/reactivator.html b/TAO/docs/reactivator.html deleted file mode 100644 index e4abd9788ae..00000000000 --- a/TAO/docs/reactivator.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - TAO Reactivation Service - - - - - -


    - -

    TAO Reactivator

    - -

    Has moved to here as the Implementation Repository

    - -
    - -

    Back to the TAO -documentation page.

    - - diff --git a/TAO/docs/releasenotes.html b/TAO/docs/releasenotes.html deleted file mode 100644 index 21854918af1..00000000000 --- a/TAO/docs/releasenotes.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - TAO Release Information and TODO List - - - -
    -

    -Release Information for The ACE ORB (TAO)

    - -
    -

    -Version 0.0.12

    - -
    -

    -17-October-1997

    - -
    - -This document has moved here. - - diff --git a/TAO/docs/releasenotes/OBV.html b/TAO/docs/releasenotes/OBV.html deleted file mode 100644 index b0d729c4179..00000000000 --- a/TAO/docs/releasenotes/OBV.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - Object-by-Value status - - - - -
    -

    Objects-by-Value

    - Point of contact: Carlos O'Ryan - -

    Last Update: $Date$

    -
    - -

    Objects-by-Value (OBV) describes the new type, valuetype. - It is introduced in CORBA 2.3 -
    (Core: - ptc/98-12-04.pdf - Mapping to C++: - ptc/98-09-03.pdf). - This first implementation was contributed from - Torsten Kuepper. - Valuetype
    s are similar to IDL structs extended with - these features: -

      -
    • Encapsulate state and operations with local implementation.

      -
    • - -
    • Single inheritance from a valuetype and - multiple inheritance from abstract - valuetypes. Eventually support of an - interface.

      -
    • -
    • References to other valuetypes, with the - possibility of NULL references or shared (aliased) references.

      -
    • -
    - -

    Valuetypes will likely be used to implement - abstract datatypes (ADT)s that can be copied to another process. - All processes that use the valuetype must have an - implementation for it since CORBA does not support code - migration, a la Java RMI.

    - -

    Current status:

    - -
      -
    • The IDL compiler understands valuetype, if - it was compiled with IDL_HAS_VALUETYPE - defined. New options of TAO's IDL are:

      -

        -
      • -Gv Enable OBV support -
      • -Sv Disable OBV support (default) -
      • -Wb,obv_opt_accessor Make accessor and modifier functions inline. - Overriding them is not allowed in this mode. -
      -

      libTAO must be compiled with TAO_HAS_VALUETYPE.

      -
    • -
    • Valuetypes can be used as arguments in CORBA invocations. - There is an example in - $TAO_ROOT/TAO/examples/OBV/Typed_Events. - Valuetypes could even reference other - valuetype objects (but without sharing). -

      -
    • -
    - -

    Known issues:

    - -
      -
    • No support for TypeCodes of - valuetype objects -

      -
    • - -
    • Valuetypes work only in conjunction with - compiled marshalling (-Gc, currently default for - tao_idl). -

      -
    • - -
    • No support for TypeCodes of - valuetype objects. Hence moving it into an - any is not possible yet. -

      -
    • - -
    • Valuetypes can not be contained in other types like - struct, union, - sequence or array. -

      -
    • - -
    • No support for sharing (aliasing). -

      -
    • - -
    • Forward and typedef'd declaration does not work.

      -
    • - -
    • Inheritance (support) from an ordinary interface - not implemented.

      -
    • - -
    • No support for abstract interfaces. -

      -
    • - -
    • No support for valueboxes -

      -
    • - -
    • No support for fragmentation (chunking) of the marshalled - valuetype object. Hence no support for truncation or - custom marshalling.

      -
    • - -
    • The marshal engine accesses the state members directly and - does not utilize the accessor/modifier functions. This not - like in the CORBA specs and needs a change. But the - optimized mode (-Wb,obv_opt_accessor) should be - unaffected of that. -

      -
    • - -
    • Obtaining a repository id of a valuetype - is currently non-standard. Hashed repository ids are not - implemented. -

      -
    • - -
    • The map of valuetype factories needs some - revision to provide proper locking. Currently the - registration of factories is best completed before - unmarshalling valuetypes. - There is one map of factories for the whole process. This - will once be changed to conform to the specs, which - suggests one per ORB. -

      -
    • -
    - -


    - Back to TOC - - diff --git a/TAO/docs/releasenotes/TODO.html b/TAO/docs/releasenotes/TODO.html deleted file mode 100644 index dfa7657dea7..00000000000 --- a/TAO/docs/releasenotes/TODO.html +++ /dev/null @@ -1,1923 +0,0 @@ - - - TAO TO-DO List - - - -


    - -
    -

    General TO-DO list for TAO

    -
    - -

    - This document presents our TO-DO list for TAO. - Currently, the list is not very well organized or prioritized. - It started as a personal TODO list for Carlos, so it is biased - towards the Event Service and related components. - As more people get involved it will become more - organized. -

    -

    - Last Updated: $Date$ $Revision$ -

    - -
    -

    -

    Work in progress

    -

    - -
      -
    1. The ORB should support server side and client side - interceptors -
      [ASSIGNED TO:] Nanbor -

      -
    2. - -
    3. Implement an Implementation Repository for TAO. -
      [ASSIGNED TO:] Darrell. -

      -
    4. - -
    5. Implement a nice example of the COS Event Channel, - showing how it can provide filtering when combined with the - real-time Event Channel. -
      [ASSIGNED TO:] Pradeep -

      -
    6. - -
    7. EC: Complete the implementation of the new EC, - specially generate the strategies and changes required to - support hard real-time behavior. -

      -

      The new EC does not update the dependencies in - the scheduling service. We should be able to strategize this - by the appropiate use of a Filter_Builder and - decorators for the regular filters. -
      [ASSIGNED TO:] Carlos -
      [STATUS] All the pieces are in place, but I have to - continue debugging it. -

      -
    8. - -
    9. Implement the Interoperable Naming Service spec, - specially the new standard features to bootstrap the initial - object references in the ORB. -
      [ASSIGNED TO:] Vishal -
      [STATUS] He is making good progress, near completion by - now. -

      -
    10. - -
    11. Improve the connection recycling strategies, for - instance, - several strategies are possible: limit the maximum number of - open sockets, probably with both HWM and LWM bounds, - with different policies to choose the socket to close (LFU, - MRU?); - or maybe be more aggresive and recycle a socket once - all the object references pointing to a server are closed. - The later approach could be easily implemented if each - IIOP_Object held a reference to the set of sockets opened to - a certain TCP/IP address. -
      [ASSIGNED TO:] Kirthika -

      -
    12. - -
    13. If the connection to the server cannot be established the - right exception is TRANSIENT, not - COMM_FAILURE; this and other exception - inconsistencies have to be checked -
      [STATUS] Most of this work has been completed, there are - a few i's to dot and t's to cross, for example: - what is the right exception to raise when a - write() fails? The answer is - none, we must transparently retry the current profile, not - the next one. -
      [ASSIGNED TO:] Carlos -
      [STATUS] The path on the client side seems clean - now. The server side is still under revision. -

      -
    14. - -
    15. Add support for timeouts and protocol attributes to the - ORB. -
      [ASSIGNED TO:] Carlos -
      [STATUS] Support for the Policy objects is present, but - we haven't implemented any of the Policy objects and, of - course, we don't use them. -

      -
    16. - -
    - -
    - -

    -

    Pending Tasks

    -

    - -

    Performance optimizations

    - -
      -
    1. Location forwarding should be strategized since some - applications don't need this feature. -

      -
    2. - -
    3. Further optimize the outgoing memory allocation by adding - support for message blocks allocated from a pool (the - Message_Block class itself not the Data_Block or the buffer it - contains). -

    4. - -
    5. Optimize twoways by delaying memory allocation for the - incoming data buffer, thus improving interleaving between the - client and server (the client does something useful before - starting to wait for the server). - The client could also deallocate the outgoing buffers before - waiting for the reply. -

    6. - -
    7. The data blocks and their buffers could be allocated in a - single operation, using the beginning of a buffer to contain - the data block and the rest of it to contain the actual buffer -

    8. - -
    9. For extremely low latency applications we could remove - some fields from the IIOP protocol, for instance: -

        -
      • The first four bytes are always 'GIOP' -
      • -
      • In homogeneous environments sending the byte order is a - waste -
      • -
      • Fields like the Principal, the services - context list, the versions can also be removed -
      • -
      -
      [STATUS] Most of this optimizations were implemented, - and can be enabled using the -ORBgioplite command - line option. -

      -
    10. - -
    11. Once the memory for incoming data is taken from an - allocator we can implement different approaches to manage - that memory: -

        -
      • The allocator is global, allowing applications to keep - the incoming buffer even after the upcall has finished. -
      • -
      • The allocator is TSS, giving maximum performance for - applications that do not wish to preserve the buffer - after the upcall. -
      • -
      • The allocator is a TSS cache for a global memory pool, - this tries to strike a balance, by practically eliminating - the locking on each allocator/deallocation. Some strategy - is required to return the memory to the global pool, - consider, for example, - an application that will always allocate memory from one - thread and deallocate it in another thread. -
      • -
      -

      -
    12. - -
    13. Optimize marshaling for TypeCode, by not - including the optional fields on the wire; - this fields are useful (in some cases), so they should be - present for the "on memory" representation. -

      -
    14. - -
    15. In some cases it is possible to marshal a complete - structure in a single operation to allow this the structure - must have fixed size (in the CDR spec sense) and its memory - layout must match the CDR layout. -

      -
    16. - -
    17. If all the arguments to an operation are fixed size then - the header can be sent before the rest of the data, if the - data is big enoug this can represent a performance - improvement (because we increase overlapping between client - and server); further if the arguments also have the proper - layout they can be sent without copying to a temporary - buffer. -

      -

      If the arguments are not fixed size the header could be - sent before, but two passes over the data will be required. -

      -
    18. - -
    19. Use GIOP 1.1 fragments to minimize the buffer allocations: - the buffer could be fixed size and we simply send fragments - for each buffer. -

      -
    20. - -
    21. Demarshaling and managment of Anys could be optimized, - they esentially keep a copy of the CDR stream, - but they could just keep a reference (and increase the - reference count). -

      -
    22. - -
    23. Some uses of DSI can optimized also, - for instance, - if the application is simply going to forward the request to - another object there is no need to parse the arguments in - the CDR stream and decompose them in the arguments, - a single *big* CDR stream can be kept. -

      -
    24. - -
    25. The CDR streaming classes compute the alignment on each - operation, but they could remember the alingment from the - previous insertion or extraction operation; saving a few - cycles but spending a little more memory. -

      -
    26. - -
    27. Some applications cannot afford compiled marshaling for - all the stubs and skeletons, - the generated code size would be too big. - Yet some operations could be critical and require code as - efficient as possible; - a #pragma can be added to give users - fine-grained control over code generation. -

      -
    28. - -
    29. A new spec for Dynamic Any has been published and will - probably be part of CORBA 2.4. There are a great many - changes, leaving almost no area of the current implementation - untouched. - -

    - -

    New features and Bug fixes

    -
      -
    1. EC:The Priority_Dispatching strategy - is incomplete. -
      [STATUS] The latest round of changes completed the - implementation, but more testing is required before dropping - this task -

      -
    2. -
    3. EC:Implement a dispatching strategy that uses the - current thread priority or ID to dispatch the event. This - will let us use multiple queues at different priorities but - without any scheduling service. -

      -
    4. -
    5. EC:Implement a null filter for consumers that - correctly matches the events, this can be used to do all the - filtering on the suppliers for applications that do not - require correlation. -

      -
    6. -
    7. EC:Several tests must be added to the event - channel testsuite, for example: -

        -
      • A throughput test (move from - EC_Throughtput). -
      • -
      • A latency test (move from - Event_Latency) -
      • -
      • A connection time test -
        [DONE] -
      • -
      • A test to verify filtering and correlation -
      • -
      • A test to timeouts -
      • -
      • A priority inversion test -
      • -
      • A test to measure CPU scalability -
      • -
      • A stress test for gateways and observers -
        [DONE] -
      • -
      -

      -
    8. -
    9. EC:Should we provide strategies to enforce the QoS - publications and subscriptions? This could require - collaborations with the scheduling service and possibly it - is only useful for debugging real-time applications, but it - certainly seems interesting. -

      -
    10. - -
    11. EC: Optimize the updates to the SupplierFiltering - module, specially when it is a singleton: currently it - receives a connected call for each supplier, - event though one would be enough. -

      -
    12. - -
    13. EC: We need some strategy in the EC to periodically - flush out misbehaving suppliers and consumers. Examples of - misbehavior include: suppliers flooding the EC; - consumers or suppliers that are destroyed, but were not - disconnected; - consumers that are not accepting events (risking a - dead-lock); - etc. -

      -
    14. - -
    15. IDL Compiler: Support for the version - pragma, this also requires some changes in the - _is_a() implementation. -

      -
    16. - -
    17. ORB: Stress test the ORB in the presence of - exceptions, verifying that no resources are leaked, all - locks are released, etc. -

      -

      Note: small experiments indicate that everything is OK, and - several tests raise exceptions without problems, but we need - an intensive test of this features. -

      -
    18. - -
    19. EC: Automate EC multicast group usage. This probably - requires some kind of server that mantains the relation - between event type/source and the mcast groups. -
      [STATUS] The multicast map server was defined, an - example implementation that hardcodes the port, and casts - the event type into the mcast address was implemented. -
      [STATUS] An advanced example that uses multiple mcast - groups per process was developed; this example would be used - To test the required features for general mcast support. -
      [STATUS] The example is able to automatically join and - leave multicast groups, as the consumer set on a local EC - changes. - The test has been constructed to minimize resources, it only - uses one socket for outgoing multicast messages; - currently it uses only one socket for each local group of - multicast UDP addresses sharing the same port; - eventually more sockets may be needed, - as sockets have limits on the number of multicast groups - they can join. -

      -
    20. - -
    21. EC: The TAO_EC_Gateway_IIOP can be - required to subscribe for events by source, but the source - can be local instead of remote. - This is not a problem since the Event Channel supports - multiple supplier IDs, - but we could check the local publications and remove those - events from the Gateway publication and subscription list. -
      [STATUS] The task is a second order optimization and has - very low priority. -

      -
    22. - -
    23. ORB: Use the IIOP 1.1 profile info to pass QoS - info and use it to preserve end-to-end QoS. -
      [STATUS] The tagged component for encoding QoS - information was created, but the server does not create it, - neither does the client use that information. -

      -
    24. - -
    25. The size of pre-allocated buffer for the outgoing CDR - streams is defined at compilation time; but if we use an - efficient enough allocator we could make its size configurable - via the svc.conf file. In any case the *second* (and - subsequent) buffers come out of the allocator, so their sizes - could be configured in the already mentioned file. -
      [NOTE] We have to be able to do this while minimizing the - number of calls to ORB_Core_instance() -

    26. - -
    27. IDL Compiler: The operation tables do not need to be - statics, they could be created on creation of the first - servant of that type. -

    28. - -
    29. It seems that some memory is leaked from the ORB cached - connector; but Purify gets confused by the fact that TAO - dynamically loads libTAO, so it could be just a bogus report. -

      -
    30. - -
    31. IDL Compiler:Support for the fixed data - type in the IDL compiler -

    32. - -
    33. CDR stream support for wchar is flaky or at - least untested. -
      [STATUS] This is slowly beign implemented, and so are - codeset translators inside the CDR streams. -

      -
    34. - -
    35. Add << and >> operators to the - CORBA::Request class, to simplify DII invocations - (this is an Orbix-sism). - The IDL compiler has to generate them for the user defined - types. -

    36. - -
    37. ORB: - Add a -ORBlogfile flag so we can set the ACE_ERROR and - ACE_DEBUG output destination in all TAO applications -

      -
    38. - -
    39. EC: Call ORB_init() in the EC threads? - [The dispatching threads for Boeing] -

    40. - -
    41. EC: Build an EC example that uses all the cool features - (multiple endpoints on each process, collocated EC and - Scheduling Service, Naming, etc.) -

    42. - -
    43. EC: Extend the Concurrency Service (or create a new - one) that allow us to have global "barriers" to synchronize EC - startup/shutdown. -

    44. - -
    45. IDL Compiler: The IDL compiler could generate a static - method to access the interface repository ID of a class. -

    46. - -
    47. The current scheme for the orbsvcs leaves the user without - control over collocation of servants, we need to move to a scheme - similar to the one in $ACE_ROOT/netsvcs. -
      [STATUS] The user can control collocation, but we need a - dynamic way to do it (or an example) that exploits the Service - Configurator. We also may need to split the library. -
      [STATUS] David added a mechanism to compile only the - services that we want. -

    48. - -
    49. EC: Cleanup the IDL structures for subscriptions, - publications, etc. (in the EC). -
      [STATUS] Part of this was completed. The Header and - Payload of the events are clearly distinguished, now we need - to use only the Header in the Publication and Subscription - definitions. -

    50. - -
    51. Resolve the Typecode::equal dilemma: is it - structural or type equivalence? Or a mixin? -
      [STATUS] The correct interpretation seems to be: -
        -
      • If the interface repository ID is not present and/or the - optional field name is not present then TypeCode::equal - should just test for structural equivalence. -

      • -
      • If the interface repository ID is present then type - structural equivalence is not enough -

      • -
      • The spec (2.2 or 2.3?) will add a - equivalent method to check for structural - equivalence modulo aliases -

      • -
      -

    52. - -
    53. According to Vinoski and Henning the - CORBA::Policy objects are also locality - constrained. - I could not find a references in the spec.

      -
    54. - -
    55. Exercise the insertion and extraction operators for - Any in the Param_Test, - for example, provide a new -i dii_any_op - testing mode. -

      -
    56. - -
    57. Test Any with variable sized types, such as - structures that contain a string inside. - Jeff reports that there is a - problem when destroying Anys initialized with this types, - even if the IDL compiler generated <<= operator is - used. -
      [STATUS] Many of the services do this kind of thing, for - example the Trading service passes all kinds of data in - Anys. The current version seems to be working , so this is - not a high priority task. -

      -
    58. - -
    59. IDL Compiler: Include a regression test to verify - that octet is not a valid discriminator - for unions -

      -
    60. - -
    61. IDL Compiler: CORBA 2.2 does not allow - octets as - constants, yet the IDL compiler does not complain about it. -

      -
    62. - -
    63. IDL Compiler: Verify that the typecode for - unions use a octet with value 0 - for the default discriminator. -

      -
    64. - -
    65. ORB: - Is the client side in TAO handling a - CloseConnection GIOP message properly? -
      [STATUS] The code has been inspected and seems correct -

      -
    66. - -
    67. IDL Compiler: In some platforms it may be - necessary to add an extra value to an enum to force it to be - 32-bits wide. -

      -
    68. - -
    69. $TAO_ROOT/orbsvcs/tests may require the same - hierarchy changes that were done in - $TAO_ROOT/tests. -

      -
    70. - -
    71. Can _duplicate() raise an exception? - If so the mapping that we generate is not correct for - platforms without native C++ exceptions. -

      -
    72. - -
    73. ORB: - By default TAO disables Nagle's algorithm, this should be - an optional feature, otherwise TAO will perform poorly over - WANs. -
      [STATUS] An alternative: this could be fixed as part of - the real-time spec that introduces transport specific - policies. -

      -
    74. - -
    75. Check that system calls like recv() and - send() are restarted if a signal is received by - the process while they are executing. -
      [STATUS] In general this is done by ACE, but there have - been bug reports related to this. -

      -
    76. - -
    77. IDL Compiler: The CORBA 2.3 spec clarifies the - scope of a - #pragma prefix: - the prefix is supposed to get cleared after each - #include, - also the statement -

      -#pragma prefix ""
      -
      - should clear the prefix. -

      -
    78. - -
    79. IDL Compiler: GPERF is generating a function for - each binary search table; - a generic function could be used, or at least we should add - an option to gperf to it receives that generic function as - an argument. -

      -
    80. - -
    81. IDL Compiler: We must also check that oneways do - not contain any out or inout - parameters. -

      -
    82. - -
    83. Currently we use blocking writes for the request, we need - to change this so we use the Reactor to send the data - instead of blocking directly on the writev call. -

      -
    84. - -
    85. ORB: - When handling a forward request we may get forwarded to a - collocated object. - The typical scenario is a server that register with the - Implementation Repository: - if it creates an object reference to a local object the - object reference will be pointing to the ImplRepo and - potentially none of its profiles will match the local ones. - Trying to contact the ImplRepo will result in a - LOCATION_FORWARD exceptions (and/or a LocateReply) pointing - to the local endpoints, but now we should use collocation. -

      -
    86. - -
    87. ImplRepo: - How do the ImplRepo and pluggable protocols interact? What - if the ImplRepo is using a protocol that is not implemented - in the server? Or vice-versa? -

      -
    88. - -
    89. ORB: - Decouple the ORB from interpretive marshaling. This style of - marshaling will not be required for many applications, and - it increases the footprint significantly (around 10%). - The tasks required are: -

        -
      • Write one class per marshaling operation (encode, - decode, skip, etc), instead of one class per type. - This way we can extract out the operations we don't use. -
      • -
      • The IDL compiler could generate a - _tao_destroy method, that would delete an - object through a void*. - Such an operation will allow us to implement - Any without the deep_free - operation. -
      • -
      • Optimize append to stop the recursion once - the source and destination CDR streams have the same - alignment. -
      • -
      • It seems like the skip operation is only - used in the Any support. - It may be possible to agressively reduce the footprint by - removing both skip and Any. -
      • -
      • Exceptions are marshaled using the interpretive engine, - there is no reason why the skeletons couldn't do that job. -
      • -
      -

      -
    90. - -
    91. Need to support CORBA::Bounds to be compliant with 2.3 - spec. -

      -
    92. - -
      - - - - -
    93. ORB: Support IIOP 1.2 in the ORB

      -
    94. - -
    95. Provide mechanisms to marshal arguments into a CDR - stream, Jon Biggar contributed his proposal to the CORBA 2.3 - RTF: -

      -Issue 991: Operations to add to CORBA::ORB pseudo-object
      -
      -Proposal:
      -
      -[Note I have expanded the SerializedEncoding IDL type to include version
      -information, since we now have 3 versions of CDR!]
      -
      -The following operations should be added to the CORBA::ORB
      -pseudo-object:
      -
      -module CORBA {
      -        interface ORB {
      -                ...
      -                typedef sequence SerializedData;
      -                typedef unsigned long   SerializedFormat;
      -
      -                const SerializedFormat ENCODING_CDR = 0;
      -
      -                struct SerializedEncoding {
      -                    SerializedFormat    format;
      -                    octet               major_version;
      -                    octet               minor_version;
      -                };
      -
      -                SerializedData serialize(in Any data,
      -                    in SerializedEncoding how);
      -                Any unserialize(in SerializedData data,
      -                    in SerializedEncoding how);
      -                SerializedData serialize_value(in Any data,
      -                    in SerializedEncoding how);
      -                Any unserialize_value(in SerializedData data,
      -                    in SerializedEncoding how,
      -                    in TypeCode tc);
      -                ...
      -        };
      -};
      -
      -These operations provide a standard mechanism for serializing and
      -unserializing the data in an any, along with hooks to support new
      -encoding formats as they are needed.  The type SerializedEncoding
      -indicates the encoding mechanism to use to serialize and unserialize the
      -data.  The format field specifies what encoding rules to use when
      -serializing the data, and the major_version and minor_version indicate
      -what version of the encoding rules to use.
      -
      -The serialize and unserialize encode the TypeCode along with the value
      -so that the serialized data is self contained.  The serialize_value and
      -unserialize_value version encodes the value without the TypeCode to save
      -space, but a TypeCode must be supplied to unserialize the data.
      -
      -Since the serialized data may contain no indication of machine dependent
      -issues such as byte order, the serialized data can only be guaranteed to
      -correctly be unserialized on the same ORB.  The IDL any type should be
      -used to exchange information between ORBs.
      -
      -Data encoded using the ENCODING_CDR format will be encoded using CDR
      -encapsulation format.
      -
      - -

      -
    96. - -
    97. Add support for Smart Proxies to the ORB -
      [STATUS] The new implementation of collocation has the - roots for this. -

      -
    98. - -
    99. The ORB does not have an interface repository

      -
    100. - -
    101. Once the interface repository is in place we could add - support for CORBA script -

      -
    102. - -
    103. The current scheme for Typecode (keeping a CDR buffer with - their representation) is broken; we should use classes for - each variant of a TypeCode; but initialization would be - complicated then. -

    104. - -
    105. Consider decompositions of the ORB that would allow - dynamically linked plug-ins, for example it should be easy to - dynamically load a pluggable protocol. - Other decompositions are harder, but still worthwhile looking - at: -

        -
      • Dynamically load the support for costly features, as the - ImplRepo or Location Forwarding. -

        -

      • -
      • Dynamically configure POA with or without support for - holding state. -

        -

      • -
      -

      -
    106. - -
    107. IDL Compiler: Currently the IDL compiler creates an - operation table that - includes all the base classes operations; this permits the - generation of efficient code that does not rely in - dynamic_cast or the _downcast() method for Servants (which - compare strings, hence it is slow). - It could be interesting to implement the alternative approach - were the class only looks its own operations and then tries - the parent. This will reduce code size, but will probably - decrease performance. -

    108. - -
    109. Server_Request objects in TAO are magical, the _duplicate() - method returns 0 and release() does nothing. - The problem starts because Server_Request is allocated from the - stack (to speed up things), hence reference counting would be - useless. Adding a clone() method will work better, but the - Server_Request holds pointers to several positions in the CDR - stream, we could clone the CDR stream, but a normal - Server_Request does not own it.... In our opinion (Carlos and - Irfan) we need not worry about this until we find a use case for - it. -

    110. - -
    - -

    -

    Completed Tasks

    - -
      -
    1. The current implementation of collocation is optimal for - hard-real-time - applications, but in some cases it may be desirable to follow - the normal execution path yet minize costs for collocated - calls. - An example would include an application that activates the - objects on demand. - It would be interesting to have a half-collocated stub - implementation, that will marshall the request and then - invokes the normal path on the "server" side, but without - crossing the kernel boundary. Ideally even the serialization - could be minimized or avoided. -
      [DONE] The ORB supports collocation through the POA. -

      -
    2. - -
    3. The CORBAlite RFP is very interesting IMHO we just need to - remove features from TAO to make it a CORBAlite - implementation. The problem is how to keep the full blown - CORBA implementation also, this is an idea: - Write the TAOlite version of a class (example TypeCode):

      - -
      -	class TAO_CORBAlite_TypeCode {
      -	// Just the CORBAlite methods are implemented.
      -	};
      -	
      - -

      Derive the full blown implementation:

      - -
      -	  class TAO_CORBA_TypeCode : public TAO_CORBAlite_TypeCode {
      -          // Declare all the other methods.
      -	  };
      -	
      - -

      create two namespaces:

      - -
      -	  // in tao/CORBAlite.h
      -	  class CORBA {
      -	    tyedef TAO_CORBAlite_TypeCode TypeCode;
      -	  };
      -	
      -	  // in tao/CORBAfull.h
      -	  class CORBA {
      -	    typedef TAO_CORBAfull_TypeCode TypeCode;
      -	  };
      -	
      - -

      then (at compile time) the users chooses between the CORBAlite - or CORBAfull implementations:

      - -
      -	// In $TAO_ROOT/tao/corba.h
      -	#if USERS_WANTS_FAT_FREE_CORBA
      -	#include "tao/CORBAlite.h"
      -	#else
      -	#include "tao/CORBAfull.h"
      -	#endif
      -	
      - -

      We need to consider how to support even smaller profiles that - the CORBAlite RFP, like removing Any or - fixed<> support. - We also need to come out with a scheme to support - interpretive marshalling in the CORBAlite framework (where - TypeCodes don't have enough methods as to traverse them). -

      -

      [STATUS] The ORB can be compiled with support for CORBAlite - (aka Minimum CORBA). -

      -
    4. - -
    5. Support the thread pool reactor in the ORB. -
      [ASSIGNED TO:] Nanbor. -
      [DONE] -

      -
    6. - -
    7. IDL Compiler: The TAO_IDL compiler does not handle - the following code sequence properly: -

      -    // IDL
      -    interface Foo;
      -    typedef sequence FooSeq;
      -
      -    interface Foo {
      -      // anything here
      -    }; 
      -
      - It may be necessary to have a multi-pass code generator to - solve this problem. -
      [DONE] Andy has completed the implementation of recursive - types. -

      -
    8. - -
    9. ORB: - Support multiple endpoints in the ORB. - Some interesting concurrency models (such as - thread-per-endpoint or thread-pool-per-endpoint) require - that we give an explicit name to each endpoint, and use - policies to match the thread with the endpoints it will - serve (and share). -
      [DONE] The ORB supports multiple-endpoints, mapping - threads to endpoints is in another entry. -

      -
    10. - -
    11. EC:The observer in the TAO_EC_Gateway - class is not properly deactivated. -
      [DONE] -

      -
    12. - -
    13. EC: Sometimes the Event Channel dead-locks during - shutdown. According to Ulf Jährig - <jaehrig@desys.com>, an easy way to reproduce the - problem is to run the EC_Throughput test under windows NT. -
      [STATUS] The test in question works perfectly on NT; it - looks like a race condition. Apparently this is only a - problem with the old EC. -

      -
    14. - -
    15. The TAO_Object_Manager class needs an - assigment operator from T_var. - Either change the class to have two arguments or - use the T::_var_type trait. - We also have to change the class generated by the IDL - compiler. - Similar changes maybe required for the - TAO_String_Manager and the - TAO_Object_Field classes. -
      [DONE] Bala implemented this feature. -

      -
    16. - -
    17. ORB: - The implementation for the leader-follower - model on the client side has bug: - it will add the current thread to the follower list every - time it returns from waiting in the condition variable, - assuming that it was signaled and removed every time. -
      [STATUS] This is not a big problem because only a - warning is printed out. -
      [DONE] -

      -
    18. - -
    19. POA: The SINGLE_THREAD_MODEL for the - POA requires that at most one concurrent call is invoked on - each servant in that POA. -
      [STATUS] Irfan is working on it as part of the POA - concurrency fixes. -
      [DONE] -

      -
    20. - -
    21. IDL Compiler: The methods on the server side - must have a throw spec, check CORBA 2.2, 20.35 -
      [DONE] Andy implemented this as part of the support for - native C++ exceptions. -

      -
    22. - -
    23. IDL Compiler: The IDL compiler should support - #include "orb.idl" properly. - IMHO it should not - add any #include to the generated code and the - orb.idl file should contain all the declarations, - except for the pseudo objects that are should be hardcoded - into the compiler. -
      [DONE] Jeff (and others?) implemented this feature, the - contents of the <orb.idl> file may need some work, but that - is easy to fix. -

      -
    24. - -
    25. EC: Debug interval computation in Linux (and NT?) -
      [DONE] There was a problem with the ACE_High_Res_Timer - initialization. -

      -
    26. - -
    27. ORB: - Support multiple calls to ORB_init(). - This requires several changes: -

        -
      • Object references must keep an explicit reference to the - ORB that created them. In turn this requires that CDR - streams carry the ORB pointer for object reference - decoding. -
        [DONE] -
      • -
      • We must keep a table of ORB pointers based on the - -ORBid option. -
        [DONE] -
      • -
      • The hint on the cached connector has to be revised if - support for zero locks in the cached connector is going to - work. -
        [POSTPONED] The new cached connector implementation - will change this anyway. -
      • -
      -

      -
    28. - -
    29. IDL Compiler:Support for unions with default cases - (implicit or explicit) - in the IDL compiler is incomplete. -
      [DONE] Andy implemented this features. -

      -
    30. - -
    31. IDL Compiler: The IDL compiler front-end should be - case insensitive, - more precisely it should flag identifiers that only differ by - case as a conflict and verify that all uses of an identifier - have the same case. -
      [DONE] Jeff implemented this feature, there is an option - to disable it for backwards compatibility. -

      -
    32. - -
    33. Support GIOP 1.1 in the ORB (fragments) -
      [DONE] The ORB should be able to receive GIOP -

      -

    34. - -
    35. Support IIOP 1.1 in the ORB -

    36. - -
    37. Support native C++ exceptions. - This entails the following subtasks:

      -

        -
      1. Create exceptions with the right dynamic type on the - client side. - For SII this should be simple: - the stub give us a list of the - possible user exceptions together with the factory methods - to allocate an exception of each type; - if the exception is not on that list we throw a - CORBA::UNKNOWN. - For DII we have to throw a - CORBA::UnknownUserException; - the user will receive the real exception inside an - Any then and she will have to extract it - either using the >>= operator or using the - forthcoming DynAny. - System exceptions are even easier, we always know how - to create them. -
        [STATUS] SII is working OK, we still need to complete - the support for DII. -
        [STATUS] The DII support was completed, but remains - untested. -

      2. - -
      3. Add the _raise() method to the exceptions. -
        [DONE] -

      4. - -
      5. On the server side: catch any CORBA exceptions thrown by - the upcall, and then transform that into the - proper Reply to the client side. - In the case of another C++ exception should we do - something? -
        [DONE] -

      6. - -
      7. On the client side, after creating the exception with - the right dynamic type we must invoke - _raise() on it. -
        [DONE] -

      8. - -
      9. Provide a TSS default value for the CORBA_Environment, - all the methods in the ORB library should use this - default. -
        [DONE] -

      10. - -
      11. IDL Compiler: The IDL compiler should be able to - generate the - alternative mapping, but with the TSS default for the env - argument. -
        [DONE] -

      12. - -
      13. IDL Compiler: The IDL compiler should generate the - standard mapping, without the environment argument. -
        [DONE] -

      14. - -
      15. In general we will need to complete and debug the - TAO_TRY macros; - they have limitations when dealing with the - alternative mapping, but are very useful. -
        [STATUS] This seems to be OK now, the code seems to - compile and work correctly now. -
        [STATUS] We need a new macro (TAO_TRY_THROW) to use - inside the TAO_TRY blocks, because TAO_THROW will not go - into the TAO_CATCH blocks, even if the exceptions match. -
        [STATUS] Nanbor implemented a much better set of - macros, that can be used with other ORBs, it is - implemented in $ACE_ROOT/ace/CORBA_macros.h -

        -
      16. - -
      17. We need to test the ORB for resource leaking in the - presence of exceptions. -

      18. - -
      19. We could write portable server side code with - any of the mappings above if we use a macro for the env - argument, but the results are ugly: -
        -// IDL
        -interface Foo {
        -  void bar (in long x);
        -};
        -
        -// C++ 
        -class Foo {
        -  void bar (CORBA::Long x TAO_ENV_ARG)
        -               TAO_THROW_SPEC ((CORBA::SystemException));
        -};
        -	    
        - note the missing comma before the TAO_ENV_ARG parameter. -

        -

        A different alternative is to generate both - functions, and make the default implementation just invoke - the other: -
        -// IDL
        -interface Foo {
        -  void bar (in long x);
        -};
        -
        -// C++ 
        -class POA_Foo {
        -  void bar (CORBA::Long x, CORBA::Environment& env)
        -               TAO_THROW_SPEC ((CORBA::SystemException))
        -  {
        -    this->bar (x);
        -  }
        -  void bar (CORBA::Long x)
        -               TAO_THROW_SPEC ((CORBA::SystemException)) = 0;
        -};
        -	    
        - The problem is: which alternative should be the pure - virtual function? Which one is overriden by the user? -

      20. - -
      -
      [STATUS] The main task ahead is to generate the conforming - mapping for the server side, i.e. remove the - CORBA::Environment argument and generate the - throw specs. - We need to wait for the compiled marshaling support to - implement this feature, otherwise the number of conflicts, - visitors and factories will grow without limit. -

      -
    38. - -
    39. EC:The new implementation of the EC does not send - disconnect messages on shutdown, this has to be - implemented. -
      [DONE] -

      -
    40. -
    41. EC: Use the Service_Configurator to dynamically load - the EC Module_Factory thus making it really configurable. - The same feature is needed for the new - EC_Factory class. -
      [STATUS] Notice that this is fairly easy to implement, - there doesn't seem to be much demand for it. -
      [DONE] In the new EC it is possible to load the - strategy factory. -

      -
    42. - -
    43. EC: The supplier filters could depend on the QoS - data, as consumer filters do. We should provide a factory - for them too. -
      [DONE] -

      -
    44. - -
    45. EC: We need to provide simple operations to update - the subscriptions of a consumer, as well as the publications - of a supplier, the current scheme (disconnecting and - connecting again) is inefficient. -
      [ASSIGNED TO:] Carlos -
      [DONE] -

      -
    46. - -
    47. IDL Compiler: Tom Ziomek - <tomz@cc.comm.mot.com> reports that the IDL - compiler does not verify that oneway operations - cannot include a raise expression. -
      [DONE] Andy fixed this. -

      -
    48. - -
    49. The _duplicate() and _narrow() - functions can throw exceptions, yet our mapping does not - contain an CORBA::Environment argument. - A similar problem ocurs with - ORB::resolve_initial_references, the ORB can - throw the InvalidName exception. -
      [DONE] But the status of _duplicate() - remains, I added an entry for it. -

      -
    50. - -
    51. The spec requires that strings as fields of structures be - initialized to the empty (not the null) string. -
      [DONE] Andy this this is the String_Manager - class. -

      -
    52. - -
    53. The spec (CORBA 2.2, 20.17) defines accesor methods for the - fields of a SystemException. -
      [DONE] -

      -
    54. - -
    55. Remove the unneeded methods from CORBA::Object -
      [STATUS] This task seems to be complete -
      [DONE] -

      -
    56. - -
    57. Support the Sun bootstrapping mechanism for the Naming - Service -
      [STATUS] Replaced by the interoperable naming service - bootstraping. -

      -
    58. - -
    59. Integrate the compiled marshalling approach. -
      [STATUS] Andy has made great progress on this. -
      [DONE] -

      -
    60. -
    61. Verify the GPERF is working in all the relevant - platforms. -
      [STATUS] As far as we know it is working correctly. -
      [DONE] -

      -
    62. -
    63. Integrate active demux of operations? -
      [STATUS] We use perfect hashing instead. -

      -

    64. - -
    65. Several helper structs for Any have to be - added, mainly: to_object, to_wchar, - to_wstring and their from_ -
      [DONE] Jeff added them to the Any class, later they were - moved to the CDR streaming classes because they are needed - there too. -

      -
    66. - -
    67. Add a corbafwd.h header file to eliminate - the deep (and recursive) header dependencies in TAO. -
      [DONE] -

      -
    68. - -
    69. In the collocated case the generated - _narrow() method calls the - _create_stub() method that allocates several - temporary objects. -
      [DONE] -

      -
    70. - -
    71. For various projects, we need to produce a - minimal-footprint TAO ORB. One thing we could probably do - very easily would be to provide an #ifdef that will - conditionally omit the servant manager, POA manager, and - adapter activator features from TAO, along with all the - demuxing features that aren't active demuxing or perfect - hashing. -
      [DONE] Irfan implemented exactly this. We still have - room for more footprint size optimizations, but they are - second order things. -

      -
    72. - -
    73. Add support for multiple Profiles in the ORB (completing - the IIOP 1.0 support) -
      [ASSIGNED TO:] Fred -
      [DONE] Fred added support for multiple profiles as part - of the pluggable protocols effort. -

      -
    74. - -
    75. EC: The current architecture of the real-time - Event Channel does not support some features, such as: -

        -
      • EC: Some applications are both suppliers and - consumers of events, - they may be interested in all the - events of type T unless the event is generated - by them. -

      • -
      • EC: Can we factor out the scheduling service from - the EC? -

        -
      • - -
      • EC: The reactive event channel can eliminate - data copies because the data does not need to survive - after the push() call. -

        -
      • - -
      • EC: Many applications require to intercept - the EC event processing, for example to keep track of - the number of events received and sent. - This requires strategized factories for many (if not - all) of the Event Channel internal servants. -

        -
      • - -
      • EC: Some applications require ad-hoc - filters, such as "this events must arrive in - sequence", or "wait for all this events and then send - this other event". -

        -
      • - - -
      • EC: For some applications it is insteresting - to activate the EC servants (such as the - ConsumerProxys) in different POAs -

        -
      • - -
      - We have completed a new design for the real-time event - channel that will let us implement all this features (and - others). -
      [DONE] The new implementation is working, we have to add - several strategies and stress test it, but the architecture - seems sound. -
      [ASSIGNED TO:] Carlos -

      -
    76. - -
    77. IDL Compiler:The IDL compiler could generate files - with empty - implementation classes, just to make the life of implementors - a bit easier. -
      [DONE] -
      [ASSIGNED TO:] Yamuna -

      -
    78. - -
    79. EC: Build a COS Event Channel on top of the RTEC - Event Service. -
      [DONE] -
      [ASSIGNED TO:] Pradeep -

      -
    80. - -
    81. EC:Implement fragmentation and reassembly of UDP - messages. This is important for an effective implementation - of the multicast version of the EC. The classes affected - include UDP_Receiver and UDP_Sender. -
      [DONE] -

      -
    82. - -
    83. EC: The Event Channel must be profiled, - quantified, etc. - Now that we have a single threaded event channel this task - is much easier, the points to investigate are: -

      -

      -

        -
      • How many data copies does the EC make? Can we reduce it - to zero? -
      • -
      • How many memory allocations? -
        [RESULT: 8] -
        Can they be replaced by memory pools? -
      • -
      • How many locks? -
        [RESULT: 29 (single threaded), 31 MT] -
        Can we strategize locks? -
        Can we share a single lock for the whole dispatch? -
      • -
      -
      [ASSIGNED TO:] Carlos -

      -
    84. - -
    85. The TypeCode internal (private) state needs locking, double - checked locking is needed to avoid excessive overhead, there - is potential for memory leaks if this locking is not used. -
      [DONE] -

      -
    86. - -
    87. EC:The UDP_Receiver class has some - problems on Win32 platforms because a - recvfrom() call fails if the buffer is to small - for the datagram, even if the MSG_PEEK flag is - used. We may need to modify the - ACE_OS::recvfrom() call to match the unix - semantics. -

      -
      [DONE] Irfan fixed the ACE_OS::recvfrom() - function. -
    88. - -
    89. EC: When shuting down a reactive Event Channel the - timeouts for the EC have to be cancelled. - It would seem like the proper way to do that is to do it in - the shutdown() method of the - Timer_Module. -
      [DONE] -

      -
    90. - -
    91. EC: Improve configuration support in the EC, give an - example of a single threaded EC, support different dispatching - strategies, etc. -
      [DONE] But there are a few bugs to remove. -

    92. - -
    93. EC: Correlation in the EC has a bug [?] -
      [DONE] Added a correlation test into the EC_Basic test, - this does not mean that all bugs have been removed, but we - don't know of any remaining bugs. -

    94. - -
    95. The methods in CORBA::TypeCode should be - const. -

      -
      [DONE] -
    96. - -
    97. Add the CORBA::TypeCode::_tc_Bounds and the - CORBA::TypeCode::_tc_BadKind type codes. - Currently they are in the wrong namespace (just - CORBA::_tc_Bounds). -

      -
      [DONE] -
    98. - - -
    99. Add compiled marshalling -
      [STATUS] Andy is working on this. -
      [DONE] The compiled marshaling code works, we still have - to fine tune it a bit. -

      -
    100. - -
    101. Implement the new DynAny types. -
      [STATUS] Jeff is working on this. -
      [DONE] More testing is needed, but the basics are - there. -

      -
    102. - -
    103. EC:The TAO_EC_Gateway_IIOP class - receives events from a "remote" EC and pushes them on the - local EC. - The subscription and publication list for the Gateway are - the disjunction of the local EC consumer subscriptions. - Unfortunately this can result in multiple supplier_IDs for - the Gateway, the current implementation is not prepared to - handle this. - The Gateway must keep a list of suppliers, each one with a - different supplier id, - when it receives a remote event it should push the event - only to the right supplier. - It must also keep another supplier used for the events that - are of interest by their event type, regardless of their - supplier ID. -
      [DONE] -

      -
    104. - -
    105. EC:The Event Channel must be able to accept more - than one supplier with a given supplier ID, or at least we - should be able to configure the EC to work in such a mode. - This is required for some applications that treat the - supplier ID as a "supplier type". -
      [DONE] -

      -
    106. - -
    107. EC:If a Supplier disconnects while it has - consumers registered for it's Supplier_ID, - the consumers are not connected again even if the supplier - reconnects. -
      [DONE] -

      -
    108. - -
    109. Further optimize memory allocation by using a memory pool - for the incoming CDR stream. -
      [DONE] The pool is configurable for the users that may - want to steal the CDR buffer. -

      -
    110. - -
    111. The nested upcall support must be strategized, - some applications don't need this feature, - other applications are single threaded or use an - ORB-per-thread concurrency policy, - so using a full-blown leader follower in all cases can - result in a significant slow down. - It seems like the right way to - strategize this by changing the Client_Connection_Handlers. -
      [DONE] Irfan and Carlos are finished this task. -

      -
    112. - -
    113. Use active demuxing in the POA to locate servants in - constant time, as well as active demuxing - in the skeletons to locate operations in constant time. -
      [DONE] Irfan finished this task. -

      -
    114. - -
    115. Sometimes the ORB picks up the wrong name on multi-homed - hosts, - the ACE_INET_Addr class uses - gethostbyaddr_r to convert from the address into - a hostname, but it only uses the first alias. -
      [DONE] The current implementation tries to use the - alias that more closely matches the address of the given - host. -

      -
    116. - -
    117. Many of the test programs in the - $TAO_ROOT/tests hierarchy are actually sample - programs or performance tests. -

      -

      We need to re-organize this hierarchy, following the ACE - scheme: -

        -
      • tests for programs that do regression testing. -
      • -
      • examples for programs that illustrate how to use - TAO, a service or a component -
      • -
      • performace-tests for programs that are used in - performance measurements -
      • -
      - the same hierarchy may be needed in - $TAO_ROOT/orbsvcs. -
      [DONE] Doug did this changes already, minor revisions - many be necessary, and orbsvcs is still pending. -

      -
    118. - -
    119. Cleanup memory managment in some of the servers, for - instance: Naming still believes that controlling the memory - for a stub will control the servants, this is not true - anymore. -
      [DONE] Marina fixed the Naming Service, the other services - are working OK also. -

    120. - -
    121. The mapping for the CORBA boolean type does - not require the CORBA::TRUE constant, - but it never mentions the CORBA::B_TRUE constant - either; in fact it recommends the usage of the literals - 0 and 1. - We should move to use the CORBA::TRUE style, - because other ORBs offer the same feature, - but only use the literals, - to show the "Right Way"[tm] of doing CORBA things. -

      -
      [DONE] Irfan removed the CORBA::B_TRUE and - CORBA::B_FALSE constants and replaced them with - the compliant 0 and 1 -
    122. - -
    123. Add an option to the IDL-compiler (e.g. -rp) meaning - "generate relative include paths". -
      [STATUS] Alex is working on this. -
      [DONE] -

      -
    124. - -
    125. Add the <<= and >>= operators for - CORBA::TypeCode -
      [DONE] Jeff added the operators

      -
    126. - -
    127. The IDL compiler should generate the code locally (not in - the directory where the .idl resides) or at least give an - option to do so -
      [DONE] Alex completed this, he even added an option to - select the output directory. -

    128. - -
    129. Are nested upcalls in different concurrency models, like - thread-per-connection working? -
      [STATUS] Irfan reports that this works correctly with - thread-per-connection -
      [DONE] The NestedUpcall/Reactor test is - giving the same results with either - thread-per-connection or reactive - strategies. -

    130. - -
    131. Normalize the compiled marshalling interface: the IDL - compiler is going to generate a different interface than the - code I showed in the EC_Custom_Marshal example; we need to - make all the code consistent so users have easy access to it. -
      [DONE] -

    132. - -
    133. Object references inside structures or sequences are not - decoded properly, the problem starts because the interpreter - expects a CORBA::Object_ptr, but the real type is a T_var; - virtual inheritance adds the last ingredient to the poison. -
      [STATUS] A possible solution is to use a T_manager_var that - has two fields a Object_ptr and a T_ptr.... -
      [DONE] The solution was to use - TAO_Object_Field_T<T>, that - behaves like the _var classes, but extends them to provide - virtual methods to _upcast() and - _downcast() to and from - CORBA_Object_ptr. - Similar methods were added to sequences of objects. -

    134. - -
    135. Add options to the IDL compiler to set the suffixes. -
      [DONE] Alex finished this. -

    136. - -
    137. Support for 64bit longs in the IDL compiler -
      [DONE] They were supported already, but we had to test - them, I added a test to Param_Test. -

    138. - -
    139. The do_static_call() and do_dynamic_call() methods should - use an array of void* - (in the first case static and generated by the IDL compiler); - this will remove the problems with g++ and probably work - faster. -
      [DONE] -

    140. - -
    141. The IDL compiler gets confused with paths in NT, this may be - due to my changes to report errors correctly (coryan). -
      [STATUS] Creating a Win32 workspace to try it. -
      [DONE] -

    142. - -
    143. The current implementation of octet sequences based on - message blocks has a few problems, it cannot marshall - chains of message blocks properly. - Notice that complete support for chains of message blocks will - complicate the sequence of octets implementation (like - operator[]) and will make others either hard or expensive - (like get_buffer ()). -
      [STATUS] It seems like the best tradeoff would be to - support the chain during marshalling, but disable or give no - warranties for operator[] and get_buffer(). -
      [DONE] -

    144. - -
    145. Debug Memory Pools in the EC there seem to be a problem when - sending multiple events in a row (a memory leak, limit or - corruption). -
      [DONE] -

    146. - -
    147. Add suspend and resume operations to the PushConsumerProxy - and PushSupplierProxy interfaces, following the Notification - Service spec. -
      [DONE] -

    148. - -
    149. Optimize connection lookup in the client side, using "hints" - from the previous lookup, or keeping smaller sets on each IIOP - profile or a combination of both. -
      [STATUS] Irfan is working on - this. -
      [DONE] -

    150. - -
    151. Optimize the outgoing CDR streams by using TSS memory pools - for both the data blocks and the buffers. -
      [DONE] But we may consider strategizing the kind of allocator - we use (like using a free list instead of a generic - ACE_Malloc). -

    152. - -
    153. Optimize Octet Sequences. -
      [DONE] -

    154. - -
    155. Obtain results for the EC_Multiple test. -
        -
      • Latency seems OK. -

      • -
      • Overhead: need lower priority for scavenger thread. -

      • -
      -

    156. - -
    157. Debug EC_Multiple. -

    158. - -
    159. Your next assignment: Regenerate all methods in - _tao_collocated to avoid "inherit via dominance" warnings. -
      [STATUS] The IDL compiler was modified to generate a - suitable - #pragma that removes the warning, it reenables - the warning when leaving the file -

    160. - -
    161. Remove the SOLARIS2 macro from the TAO_IDL compilation. -
      [DONE] -

    162. - -
    163. Remove the preemption_prio message from Scheduling_Service. -

    164. - -
    165. The ORB core should be able to choose the right port for us - (in other words -ORBport 0) should work. -
      [DONE] -

    166. - -
    167. Client side optimization for Octet Sequences. -
      [DONE] -

    168. - -
    169. Minimize memory allocation in TAO -
      [STATUS] Down to 3 on the client side and 4 on the server - side. -
      [STATUS] For oneways it is down to 0 (for the common case) - on the client side and 2 on the server side. For twoways it is - 2 on both sides. -

    170. - -
    171. Automate subscription and publication list generation in the - EC_Gateway. - [VERY important for Boeing] -
      [STATUS] Completed and debugged, but the EC is still - buggy. -

    172. - -
    173. Debug EC shutdown and startup.... - [Specially startup for Boeign, but shutdown is important for - Purify and Quantify] -
      [STATUS] Shutdown is clean and startup of threads can be - controlled by the user. -

    174. - -
    175. Support a chain of Message Blocks in Output CDRs and use - writev() to write them. -
      [DONE] -

    176. - -
    177. Memory managment in the demarshalling engine, it is not - clear that the current scheme works in all cases (like - sequences of unions of anys). - We also need to fix sequences of object references: how does - the demarshalling engine learn about the dynamic type of the - objects? - Closely related to this is the problem of memory alignment for - different architectures, we need to develop strategies for each - one (they should only be a few) and choose the right one. -
      [STATUS] This seems to be working for most of the cases, the - main idea is to delay demarshalling until enough information - is available, for instance, when decoding an Any just a - reference to the CDR stream is stored, decoding actually - happens when the user invokes >>= on the any (at that point - all the info is there). -

    178. - -
    179. Add a new Profile type that includes the QoS info and using - for end-to-end QoS preservation. - [DEPRECATED] The IIOP 1.1 Profiles can handle that. -

    180. - -
    181. Show an example of the - sequence<octet> and CDR streams. -
      [DONE] But the example could also include the marshalling of - plain C++ types. -
      [DONE too] -

    182. - -
    183. Test anys in the EC. -
      [DONE] Michael reported that they work OK on NT. -

    184. - -
    185. UDP for event channel and Multicast support in the EC. -
      [STATUS] Manual configuration using Suppliers and Consumers is - possible, automation is under research. -

    186. - -
    187. Unbind the EC and scheduling service from the Naming - Service. -
      [DONE] For the Event_Service and the examples. -

    188. - -
    189. Optimize oneways by not allocating the memory for the return - buffers. -
      [DONE] Added different Invocation classes for each case. -

    190. - -
    191. Fix the _non_existent call. -
      [DONE] The client side semantics match the new clarifications - of the C++ RTF, the server side is implemented by the IDL - compiler, though t could be a good idea to put that in the - POA. -

    192. - -
    193. Simplify EC configuration, a Factory class must provide the - Dispatching, Supplier, Correlation and any other Modules that - are required. - This is the right spot to add trivial Dispatching or - Correlation Modules and to dynamically load and configure the - EC. -
      [DONE] A Factory class is used to create the modules, only the - default factory is implemented so far. -

    194. - -
    195. Fix the ACE_Thread_Condition madness. -
      [DONE] We changed ACE so ACE_SYNCH_CONDITION expands to - ACE_Condition_Thread_Mutex -

    196. - -
    197. Reference counting should have locks, but we should remove - all the QueryInterface madness to make that work. The policy - for references in multiple threads is: the reference count - must be >2 if that happens. -
      [STATUS] The QueryInterface method (all the COM stuff for that - matter) was removed... -
      [DONE] -

    198. - -
    199. Reference counting for Typecodes is completely broken. -
      [DONE] -

    200. - -
    201. Under g++(2.7.2) the use of multiple inheritance in IDL - triggers some compiler bug, if the IDL explictly generated the - copy constructor for the skeletons (the POA_ classes) the - problem would go away. -
      [DONE] Fixed, Seth is testing the fixes and will commit them - soon (Tue Jul 21 14:24:56 CDT 1998) -

    202. - -
    203. The octet sequence optimization causes problems when Anys - get into the game. -
      [DONE] Seth reported that the problem was not real. -

    204. - -
    205. The DEEP_FREE method is also broken, sometimes we need to - release the top-level memory, sometimes not. -
      [DONE] We always release the memory in the Any, it was failing - due to weird interactions between the Environment containing - an exception and the Any that also did. -

    206. - -
    207. Improve error messages in the IDL compiler. -
      [DONE] At least the filename is correct now. -

    208. - -
    209. Support for arrays in the IDL compiler is incomplete, - specially anonymous arrays. -
      [DONE] According to Andy this is properly supported by the IDL - compiler now. -

    210. - - -
    211. Prepare the 0.2 release:

      -

        -
      1. Execute all the tests in $TAO_ROOT/tests -
      2. -
      3. Run Param_Test (SII) and record what fails and what works. -
      4. -
      5. Run Param_test (DII) and record what fails and what works. -
      6. -
      7. Run Param_Test across Endian Borders. -
      8. -
      -
      [DONE] At last! -

    212. - -
    213. Move this list to the release notes. -

    214. -
    - -
    - -

    Back to the TAO documentation index - - diff --git a/TAO/docs/releasenotes/ec.html b/TAO/docs/releasenotes/ec.html deleted file mode 100644 index 00a0b54f316..00000000000 --- a/TAO/docs/releasenotes/ec.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - Event Service Status - - - - -

    TAO's Real-time Event Service

    - Point of contact: Carlos O'Ryan -

    Last Updated: $Date$

    - -

    New on this release

    - -
      -
    • It has been available for several releases now, but not - well documented. A complete re-implementation of the EC is - available, this implementation provides: -

      -
    • -
    • The new EC allows the suppliers and consumers to update - their publications and subscriptions, they can simply call - the corresponding connect operation. - The default EC configuration disallows this, but it is very - easy to change it. -

      -
    • -
    • The new EC uses an asbtract factory to build its - strategies, this factory can be dynamically loaded using the - service configurator. -

      -
    • -
    • The new EC can use trivial filters for both consumers and - suppliers, resulting in optimal performance for broadcasters. -

      -
    • -
    • Most of the locks on the new EC are strategized. -

      -
    • -
    • The duration of all locks in the EC can be bounded, - resulting in very predictable behavior. -

      -
    • -
    • More details can be found on the README file - in the $TAO_ROOT/orbsvcs/orbsvcs/Event - directory. -

      -
    • -
    - -

    Known issues:

    - -
    -
    The new EC does not use the scheduling service -
    -
    -

    The new implementation has been designed to simplify its use - in applications that do not require an scheduling service and - to minimize the code footprint when the scheduling service is - only required for dispatching -

    -

    To achieve this goals the EC will able to run without any - scheduling service or only consulting the schedule, but not - updating the dependencies. -

    -

    Using strategies and factories we will be able to - configure the EC to update the schedule only in the - configurations that required. - Unfortunately this features have not been implemented yet. -

    -
    - -
    Further details:
    - -

    Many lower level issues and tasks can be found in the - TODO list. -

    -
    -
    - -

    Examples

    - - -For general documentation on the Event Service please read The -Design and Performance of a Real-time CORBA Event Service. -

    The simplest test for the Event Channel is Event_Latency, below -are the basic instructions to run it: -

      -
    1. -Compile everything under $TAO_ROOT/orbsvcs, this needs, obviously, -$TAO_ROOT/tao -and the IDL compiler in $TAO_ROOT/TAO_IDL.
    2. - -

      Run the naming service, the scheduling service, the event service and -the test in $TAO_ROOT/TAO/orbsvcs/tests/Event_Latency. -As in: -

      $ cd $TAO_ROOT/orbsvcs -

      $ cd Naming_Service ; ./Naming_Service & -

      $ cd Event_Service ; ./Event_Service & -

      $ cd tests/Event_Latency ; ./Event_Latency -m 20 -j & -

      You may want to run each program in a separate window. Try using a fixed -port number for the Naming Service so you can use the NameService -environment variable. -

      The script start_services in $TAO_ROOT/orbsvcs/tests -can help with this. -

    3. -If you want real-time behavior on Solaris you may need to run these programs -as root; on the other hand, this particular example really has no priority -inversion, since only one thread runs at a time.
    4. -
    -Another example is EC_Multiple, numerous examples on how to run -this test can be found in the scripts located in $TAO_ROOT/orbsvcs/tests/EC_Multiple. - -

    -Features in previous releases

    - -
      - -
    • Added fragmentation and reassembly support for the multicast - gateways

      -
    • - -
    • Continued work on the multicast support for the EC, we added a new -server that maps the event types (and supplier ids) into the right mcast -group. Usually this server is collocated with the helper classes that send -the events through multicast, so using a CORBA interface for this mapping -is not expensive, further it adds the flexibility of using a global service -with complete knowledge of the traffic in the system, that could try to -optimize multicast group usage. -

      The subscriptions and publications on a particular EC can be remotely -observed by instances of the RtecChannelAdmin::Observer class. -Once more using CORBA for this interface cost us little or nothing because -it is usually used by objects collocated with the EC. -

      TAO_EC_UDP_Receiver is a helper class that receives events -from multicast groups and dispatches them as a supplier to some event channel. -This class has to join the right multicast groups, using the Observer -described above and the RtecUDPAdmin to map the subscriptions -into multicast groups it can do this dynamically, as consumers join or -leave its Event Channel. -

      When sending Events through multicast all the TAO_EC_UDP_Sender -objects can shared the same socket. -

      -
    • - -
    • Added a prototype Consumer and Supplier that can send events though -multicast groups (or regular UDP sockets). -

      The Event Channel can be configured using a Factory that constructs -the right modules (like changing the dispatching module), in the current -release only the default Factory is implemented. -

      When several suppliers are consumers are distributed over the network -it could be nice to exploit locality and have a separate Event Channel -on each process (or host). Only when an event is required by some remote -consumer we need to send it through the network. -

      The basic architecture to achieve this seems very simple, each Event -Channel has a proxy that connects to the EC peers, providing a "merge" -of its (local) consumer subscriptions as its own subscription list. -

      Locally the proxy connects as a supplier, publishing all the events -it has register for. -

      To avoid event looping the events carry a time-to-live field that is -decremented each time the event goes through a proxy, when the TTL gets -to zero the event is not propagated by the proxy. -

      In the current release an experimental implementation is provided, it -basically hardcodes all the subscriptions and publications, we are researching -on how to automatically build the publication list. -

      We use the COS Time Service types (not the services) to specify time -for the Event Service and Scheduling Service. -

      -
    • - -
    • -

      The Gateway to connect two event channels was moved from a test -to the library. The corresponding test (EC_Multiple) has been -expanded and improved. -

      -
    • - -
    • -

      The user can register a set of EC_Gateways with the EventChannel -implementation, the event channel will automatically update the subscription -list as consumers subscribe to the EC. -

      -
    • - -
    • -

      The code for consumer and supplier disconnection was improved and seems -to work without problems now -

      -
    • - -
    • -

      The Event_Service program creates a collocated Scheduling -Service this works around a problem in the ORB when running on -multiprocessor. -

      -
    • - -
    • -

      Startup and shutdown were revised, the event channel shutdown -cleanly now. -

      -
    • - -
    • -

      Added yet another example -($TAO_ROOT/orbsvcs/tests/EC_Throughput), -this one ilustrate how to use the TAO extensions to create octet sequences -based on CDR streams, without incurring in extra copies. This is useful -to implement custom marshalling or late dermashalling of the event payload. -Future versions of the test will help measuring the EC throughput, hence -the name.

      -
    • -
    - - - diff --git a/TAO/docs/releasenotes/index.html b/TAO/docs/releasenotes/index.html deleted file mode 100644 index 992c629cd54..00000000000 --- a/TAO/docs/releasenotes/index.html +++ /dev/null @@ -1,1333 +0,0 @@ - - - - - TAO Release Information and TODO List - - - -
    -
    - -
    -

    -Release Information for The ACE ORB (TAO)

    -Information is available on the following topics related to the current -release of TAO: - -A complete list of all modifications to TAO is available in the ChangeLog. -

    -


    -

    -IDL Compiler

    -Point of contact: Aniruddha -Gokhale -

    Current status: (As of June 12, 1999.) -

      -
    • -Generated code closely follows the C++ Mapping specified in the latest -C++ mapping for CORBA 2.3 (Document ptc/98-09-03).
    • - -
    • -IDL compiler is now able to generate code that support native C++ -exceptions on the stubs and skeletons. With this strict mapping, the -CORBA::Environment parameter is no longer generated. Use the -Ge flag -to get this functionality. -
    • - -
    • -We are now able to handle shared case labels and default label in -unions. In addition, whenever appropriate, we are also able to -generate the "default ()" operation. -
    • - -
    • -We are now able to handle recursive types. We are also able to -generate optimized typecodes. -
    • - -
    • -Struct members of type strings and arrays of strings now use the managed -type instead of the _var type. This change was necessary to conform to -the IDL->C++ mapping.
    • - -
    • -Fixed a large number of problems with anonymous arrays and sequences inside -structs and unions. The name of anonymous sequence needs to be fixed as -per latest C++ mapping spec.
    • - -
    • -Compile problems with sequence of forward declared interfaces is fixed. -In addition, problems with sequence of CORBA::Objects is fixed. In this -specific case, we were not generating the _downcast and _upcast methods.
    • - -
    • -Some more problems with the front-end have been fixed. In particular, oneway -operations with a "raises" clause or having an "inout", "out", or "return" -mode is flagged as an error.
    • - -
    • -For platforms that support namespaces, we now allow reopening modules.
    • - -
    • -Support for generating compiled marshaling code is added. Use the -Gc option. -However, this needs thorough testing before we can claim success. Unions -are still a problme with compiled marshaling.
    • - -
    • -The problem of "#include"ing the relative path of the header files rather -than the paths of their corresponding IDL files has been fixed. tao_idl -now generates #include path names that are derived from the IDL files that -are #include'd in the main idl file.
    • - -
    • -Added options to IDL compiler to specify file name endings for the IDL-generated -stubs, skeletons and the various header files. Please refer to the IDL -compiler options for details.
    • - -
    • -Added partial native C++ exception support:
    • - -
        -
      • -The ORB can be configured to catch native C++ exceptions thrown on the -server side and transmit them to the client side. On the client side exceptions -received from the wire are thrown using native C++ exceptions also.
      • - -
      • -To facilitate portability between the standard and alternative C++ mapping -the CORBA::Environment has a default value. The IDL compiler generates -code using that default value and the TAO library methods also have the -default.
      • - -
      • -Some macros are provided to facilitate portability between platforms with -and without macros.
      • -
      -There is still some work to do, mainly provide complete support for the -standard mapping, i.e. remove the CORBA::Environment argument -completely. -
    • -Verified support for the "long long" and "unsigned long long" datatypes. -On platforms that do not support 64 bit longs we provided partial -emulation through ACE_U_LongLong.
    • - -
    • Perfect Hashed Operation Lookup Strategy has been added to the -IDL Compiler. -P flag to tao_idl enables the perfect -hased lookup strategy. This strategy uses GPERF, the -GNU's Perfect Hash Function Generator written by Dr.Douglas -C. Schmidt. Right now, GPERF works only on Solaris. Any work on -porting GPERF to other platforms will be highly -appreciated.
    • - -
    • -Significantly improved the support for unions. The default case is yet -to be handled.
    • - -
    • -Added support for TIE classes. If the interfaces are defined inside modules, -then the TIE class and its code gets generated inside a conditional macro. -For platforms that support namespaces, this macro will allow these TIE -classes else they get commented out. The reason to do this is because nested -templates have problems on most compilers.
    • - -
    • -The <<= and >>= operators for user-defined types are now generated.
    • - -
    • Completely redesigned the IDL compiler using the Visitor -patterns. Many incomplete issues have been resolved. These include -support for "sequence of typecodes", passing object references as in, -inout, and out parameters. Code generation for sequences is also -properly handled i.e., for a named sequence such as typedef -sequence<char>CharSeq;, we now generate a new class (and -hence a type) called "class CharSeq". Arrays are still being worked -out and will be done soon. An important difference in the generated -code is that the skeletons now use a table driven approach very -similar to the stubs.
    • - -
    • -Support for the "native" keyword added.
    • - -
    • -The problem of incorrect code generation for typedefs defined in an imported -file is resolved.
    • - -
    • -Problems when interfaces use single or multiple inheritance solved. The -problem was with the demultiplexing code, the generated operation tables, -and the dispatching mechanism. We are currently testing this with the Event -Channel code.
    • - -
    • -The problems arising due to public virtual inheritance when casting from -an interface class to CORBA::Object_ptr has been solved. We do this casting -inside the stubs/skeletons rather than first converting an interface class -pointer to a void*, storing it in an Any, and casting it to CORBA::Object_ptr -in the encode/decode methods. The casting inside the stubs/skeletons work -because the compiler has knowledge of both types.
    • - -
    • -Include files are handled properly. So are the definitions used inside -the include files that are used in the currently parsed files.
    • - -
    • -Generates C++ stubs and skeletons that use TAO's interpretive -IIOP protocol engine.
    • - -
    • -Support dynamic libraries on NT, i.e., marking classes for DLL export was -added. Two backend options control the name of the export macro, and the -name of an extra include file were the macro is defined; the options are --Wp,export_macro=MACRO_NAME-Wp,export_include=INCLUDE_NAME.
    • - -
    • -The IDL compiler generates now source code for sequences. The user has -now the option to use these generated sequence classes or to use, as up -to now, the template instatiation. If TAO_LACKS_TEMPLATE_SPECIALIZATION -is defined, then template instantiation will be used, else not. The reason -for this was, that some C++ compilers did not support template instantiation -properly and sequences were based on templates. The generated source code -is mainly contained in the generated header file directly in the class -declaration.
    • - -
    • -The IDL Compiler generates templates for servant implementations. The options -are -GI [ h | s | b | e | c ]
    • -
    - -


    Known bugs/unimplemented constructs: -

      -
    • -Generation of Managed types must somehow be moved to the ORB Core
    • - -
    • -We need support for ``TIEs'' (i.e., the object form of the Adapter pattern).
    • - -
    • -IDL is case-insensitive. However, it looks like our front-end is case-sensitive. -Thanks to Anil Gopinath (anil@ittc.ukans.edu) for pointing this out.
    • -
    -Future work: -
      -
    • -Need to relocate the various libraries used by the IDL compiler out of -the ACE directory. Having them here can cause problems when working with -multiple versions of TAO and a single version of ACE.
    • - -
    • -Fix bugs in the SunSoft IDL front-end we've uncovered. These primarily -include support for Unions.
    • - -
    • -Use Flick (from -the University of Utah) to generate compiled stubs.
    • - -

      Goal is to measure the code size of the interpretive stubs generated -by TAO IDL compiler vs code size of compiled stubs. Then compare -the performance of each. We want to prove the thesis that TAO IDL compiler -generated interpretive stubs have a small code size, yet are comparable -in performance (or slightly less) than compiled stubs. Hence, it will be -useful for small distributed equipment such as handsets, PDAs, etc. -

      In doing the above, improvements to the IIOP protocol engine in terms -of size/performance/determinism will be made. -

    • -Tweak the IDL compiler to generate code that's more easily integrated back -into the ORB Core, e.g., POA, etc. This will depend largely on our ability -to generalize the changes necessary to generated code.
    • - -
    • -The generated sequence classes should not be generated per sequence, but -per type and parent scope. Which means, that the overhead of having the -source code generated serveral times should be reduced. To do this, an -extra pass over the internal representation of the IDL file has to be done.

      -

    - - -
    - -
    -
    -

    -Pluggable Protocols

    -Point of contact: Fred Kuhns -

    The goal of the pluggable protocol effort is to (1) identify logical -communication layers in the ORB, (2) abstract out common features, (3) -define general interfaces, and (4) provide necessary mechanisms for -implementing different concrete ORB and transport protocols. TAO's pluggable -protocol framework will allow disparate communication mechanisms to be -supported transparently, each with its own set of requirements and strategies. -

    For example, if the ORB is communicating over a system bus, such as -PCI or VME, and not all the features of GIOP/IIOP are necessary and a simpler, -optimized ORB and transport protocol can be defined and implemented. Similarly, -it should be straightforward to add support for new transport protocols -that use native ATM or shared memory as the underlying communication mechanism. -In all cases the ORB's interface to the application will remain compliant -with the OMG CORBA standard. -

    There will be several stages of the development proccess: (1) basic -pluggable transport protocols framework, (2) support for multiple profiles, -(4) add example transport protocols, such as ATM and VME, and refine/optimize -the transport protocols framework, and (4) add support for pluggable ORB -protocols, e.g., replacements for GIOP. Each of these steps is outlined -below: -

      -
    • -Basic pluggable transport protocols framework: We have added -several Bridge classes that decouple the transport-specific details from -the rest of TAO's ORB Core. This allows us to isolate the details of how -messages are communicated at the transport layer in a few classes. This -design resulted in the restructuring of the ORB Core and how requests are -handled. For instance, there is now the concept of communication layers: -Objects (e.g., references, method invocations, etc.), ORB Messaging, Transport, -and Network. The Object layer is just the usual stubs and skeletons.
    • - -

      The common interfaces have been defined in the new abstract classes -that form the core of TAO's pluggable protocol framework, e.g., -TAO_Connector, -TAO_Acceptor, -TAO_Profile -and TAO_Transport. Two new mechanisms for keeping track of supported -transport protocols are the -TAO_Connector_Registry and -TAO_Acceptor_Registry, -which are essentially Abstract Factories that produce the right types of -connector, acceptors, and transports.

      -

    • -Multiple Profile - Support for more than one profile per object. -This is important since there may be several different ways to access an -object. Each profile for an object may encode information pertaining to -QoS, network and transport protocols, addresses or routes.

      - -

    • -Example Transport protocols- The first example, aside from IIOP, that -has been implemented, UIOP, uses local IPC. Other interesting transport -protocols would be for ATM, Buses (VME or PCI), shared memory, TP4, GSMP, and -UDP/IP.
    • - -

    • -Pluggable ORB protocols - This step will add support for ORB protocols -besides GIOP. In particular, we will explore lightweight protocols using -shared memory and system buses like PCI or VME.
    • -
    -Current Status: -
      -
    • - -The initial prototype of the basic framework to support pluggable transport -protocols has been compiled, linked and, tested against a recent version -of TAO. The standard TAO regression tests -MT_Cubit, Multiple_Inheritance, -CDR -and EC_Throughput were run successfully.
    • - -

    • - Multiple endpoint support in the ORB has been added. A - list of TAO_Acceptors is kept in the Acceptor - Registry. When the ORB needs to create an IOR it iterates - over all the acceptors to do so. Using either multiple - -ORBEndpoint options or several endpoints - separated by semi-colons ';', the user can specify what - addresses the ORB should use. Each endpoint is specified - in URL format (ex: iiop://foo.bar.com:0), - this format can be extended to support different - protocols. -
    • - -

    • - If the user does not specify a list of endpoints then the - ORB creates a default endpoint for each protocol - configured. -
    • - -

    • - Added support for multiple Connectors in the ORB, the ORB - finds the correct connector based on the tag for the - profile. -
    • - -

    • - Added support for multiple profiles in the IORs, when the - ORB demarshals an IOR it queries the Connector Registry to - create the right kind of profile for the known protocols. - If one of the protocols is unknown we create a special - profile class that can only be used for marshaling and - demarshaling, not communication. -
    • - -

    • - Enabled the UIOP protocol, this protocol uses local IPC - (aka UNIX domain sockets) as the transport mechanism. The - protocol is loaded by default. If no explicit - -ORBEndpoint option is used (ex: - -ORBEndpoint uiop:///tmp/my_rendezvous). - -
    • - -

    • - Protocols can be dynamically loaded into the ORB: The - default resource factory reads the protocol "names" from - its list of arguments. These protocol names are used to - load an abstract factory via the service configurator. - This factory can create acceptors or connectors on demand. - By default only IIOP and UIOP (if supported by the - platform) are loaded. -
    • - -

    • - -The service configurator is now used to load protocol factories. - -
    • - -

    • - The -ORBHost and -ORBPort - options are deprecated. The new -ORBEndpoint - option supercedes them. If the deprecated options are - used, the ORB issues a warning. The user should not - depend on the existence of these options in the future. -
    • - -

    • - The -ORBPreconnect option supports multiple - protocols using the same URL formats that - -ORBEndpoint does. Note that the old - host:port format is supported for - backwards compatibility, but the user should not depend on - the existence of this old format since it is now deprecated. -
    • - -

    • - The URL style object reference format has been updated to - conform with the format that iioploc - uses. The BNF specification for iioploc is: - -
      -<iioploc> = "iioploc://"[<addr_list>]["/"<key_string>]
      -<addr_list>= [<address> ","]* <address>
      -<address> = [<version> <host> [":" <port>]]
      -<host> = DNS-style Host Name | ip_address
      -<version> = <major> "." <minor> "@" | empty_string
      -<port> = number
      -<major> = number
      -<minor> = number
      -<key_string> = <string> | empty_string
      -
      - - In TAO, iiop URL style object references are - equivalent to iioploc URL style object - references. uiop URL style object references - have a similar syntax: - -
      -<uiop> = "uiop://"[<addr_list>]["|"<key_string>]
      -<addr_list>= [<address> ","]* <address>
      -<address> = [<version> <rendezvous point>]
      -<rendezvous point> = Valid Filesystem Path
      -<version> = <major> "." <minor> "@" | - empty_string
      -<major> = number
      -<minor> = number
      -<key_string> = <string> | empty_string
      -
      - - Note that the key string delimiter for uiop - is a vertical bar `|' (the command line - "pipe" symbol) not a forward slash - `/'. A delimiter other than a - forward slash is needed to prevent ambiguities of - where the rendezvous point ends and where the key - string begins since both may contain forward - slashes in them. - - The rendezvous point for uiop is - any valid path and filename that the ORB has permission to - read and write to. However, UIOP rendezvous points have - the same restrictions that local IPC has. The following - are some guidelines that will help ensure successful use - TAO's UIOP pluggable transport protocol: -
    • - To guarantee portability, local IPC rendezvous - points (including the path and filename) should not - be longer than 99 characters long. Some platforms - may support longer rendezvous points, usually 108 - characters including the null terminator, but - Posix.1g only requires that local IPC rendezvous - point arrays contain a maximum of at least - 100 characters, including the null terminator.

      - - If an endpoint is longer than what the platform - supports then it will be truncated so that it fits, - and a warning will be issued.

      -

    • -
    • - Avoid using relative paths in your UIOP endpoints. - If possible, use absolute paths - instead. Imagine that the server is given an - endpoint to create using -ORBEndpoint - uiop://foobar. A local IPC rendezvous - point called foobar will be created - in the current working directory. If the client - is not started in the directory where the - foobar rendezvous point exists then - the client will not be able to communicate with - the server since its point of communication, the - rendezvous point, was not found. On the other - hand, if an absolute path was used, the client - would know exactly where to find the rendezvous - point.

      - - It is up to the user to make sure that a given UIOP - endpoint is accessible by both the server and - the client.

      -

    • -
    • - It is important to be consistent in the use of - absolute paths and relative paths for rendezvous - points. The two types of paths should not be used - for the same endpoint. For example, if - uiop:///tmp/foo is specified as the - server endpoint and uiop://foo as a - preconnect for a client in /tmp, then - the preconnection may be established but it is - likely it won't be used since the endpoint and - preconnect are interpreted as different strings, - i.e. /tmp/foo and foo are - not the same, lexicographically. On the other - hand, if both the endpoint and the preconnect are - the same string then a preconnection will be - established and used successfully.

      -

    • - - The -ORBEndpoint option uses a syntax similar - to that of the URL style object reference shown above. - The only difference is that the object key delimiter and - the object key string are not specified.

      -

    • - -

      -

    - -Known Issues: - -
      -
    • -
    -Critical Work: - -
      -
    • -Complete support for multiple profiles.
    • - -

      -

    -Future Work: -
      -
    • -Verify all of TAO's regression tests still work. This will be followed -by performing a suite of tests to compare performance of with the unmodified -TAO distribution. Also, we'll extensively retest TAO using Purify and -Quantify. -
    • - -

    • -In parallel, we will add support for multiple profiles.
    • - -

    • -Long term work will include adding support for pluggable ORB protocols, -as well as transport protocols. This way we can develop optimal messaging -and transport protocols for a given platform.
    • - -

      -

    - -
    -

    -Portable Object Adapter (POA)

    -Point of contact: Irfan Pyarali - -The POA associates servants with the ORB and demultiplexes incoming -requests to servants.

    - -

    Current Status: -

      -
    • -TAO supports the POA spec. This section will carry updates as available.
    • -
    -Known issues: - -
      - -
    - -Future work: -
      - -
    • Determine the degree to which we will support the full semantics -of remote objects on a collocated object. The spec mandates that -collocated object should behave exactly like remote objects, -but that means that request will have to be queued rather than calling -a method directly, and this could be hazardous to our quest for -real-time ORB status.
    • - -

    - -Recently completed work:

    - -

      - -
    • ORB::shutdown now properly deactives all the POA -Managers.
    • - -

    • - -POA Managers in TAO were previously ignored in the request processing -path on the server. This is now fixed such that their state is checked -before dispatching the client request to the servant. Only if the -state is ACTIVE, is the request dispatched to the -servant. Otherwise, the request is rejected. Since POA Managers start -off in HOLDING state, make sure to -activate() them before falling into the event loop. - -
    • - -

    • TAO's POA now properly supports both the threading policies: -SINGLE_THREAD_MODEL and ORB_CTRL_MODEL.
    • - -

    • The synchronization in the POA is now very optimal. For example, -the locks are not held across the invocation on the servant. The locks -are also not held across the invocation on the AdapterActivator and -ServantManagers. This allows us to use regular locks instead of -recursive locks inside the POA. This also allows multiple threads to -dispatch requests on the same POA simultaneous.
    • - -

    • TAO now supports reference counting between POA and servants, -including the new RefCountServantBase and ServantBase_var -classes. RefCountServantBase is a reference counted base class that -was added to the CORBA specification to avoid race conditions for -servant deletion in threaded servers. ftp://ftp.omg.org/pub/docs/orbos/98-07-12.pdf -contains the relevant text. Check here on -some hints to avoid trouble.
    • - -

    • The POA now supports active demultiplexing of servants in the -SYSTEM_ID and the USER_ID policy. This should make the POA faster and -more predictable since there is no hashing involved and the index of -the slot where the servant is registered is in the Object Key.
    • -

      - -

    • Previously, the complete POA name was used as the POA -identity. This scheme was inefficient in many ways including: (a) the -complete POA name can be significantly large in size, and therefore, -ineffient to pass with every method call from the client to the -server; (b) it is varible in size, and therefore, does not lend itself -to smart and effective parsing; (c) the searching based on the -complete POA name is very ineffient.
    • - -

      The new solution is to use an active demux table, and flatten the -POA hierarchy. This will help in the searching since active demuxing -is fast and predictable. This will also help in the parsing since the -demux key will be fixed size. - -

      Note that for persistent ids, we have to pass the complete POA -name in addition to the demux key in order to handle POA creation on -demand.

      - -

    • There were some POA objects in a typical server that are not -freed up properly, resulting in a memory leak. This has now been -fixed.
    • - -

    • Timestamps in persistent IORs were not required and have been -removed.
    • - -

    • POA exceptions are not not system exceptions and have been -removed from the list of system exceptions.
    • - -

    • Vastly improved the ability of the POA to deal with user -exceptions, memory allocation failures, and constructor failures.
    • -

      - -

    • We now support a minimal POA for the minimal CORBA -specification.
    • - -

    • We have decided not to support active demuxing for method name -lookup. The benefit of this optimization was questionable since the -current perfect hashing scheme provide very good and predictable -behavior.
    • - -Also, note that this optimization will require many changes. We would -have to use the help of the IDL compiler to modify the object key that -is passed for every method call differently. Note that this scheme -doesn't work in the case of multiple inheritance or when the client -stubs are not TAO.

      - -

    • Improved the parsing of object keys belonging to the -RootPOA. Since this is the default POA and is commonly used, we have -given it a reserved byte in the object key in order to quickly -identify it. With the reserved bit, the active demux key for the -RootPOA is not used, and no map lookups are required.
    • - -

    • POA name separator was changed from '/' to '\0'. Since POA names -are strings, this makes a better choice since there is no chance of a -conflict with the string specified by the user.
    • - -

    • We have support for reactivating servants with system generated -ids.
    • - -

    • The TAO specific synchronization POA policy has been -removed.
    • - -

    • New examples have been added to show how servants can be -dynamically loaded from DLLs on demand.
    • - -

    • Support for collocation should be much better now because the POA -can tell if we created the object reference.
    • - -

    -
    -

    -Interface Repository

    -Point of contact: Jeff Parsons

    - -The Interface Repository provides run-time information about IDL -interfaces. Using this information, it is possible for a program to -encounter an object whose interface was not known when the program was -compiled, yet, be able to determine what operations are valid on the -object and make invocations on it using the DII. - -

    Current Status: TDB -

    Known Issues: TDB -

    Recent Work: TDB -

    Future Work: TDB -

    - -


    - -
    -
    - -

    -CORBA Naming Service and Interoperable Naming Service

    -Points of contact: Marina -Spivak and Vishal Kachroo -

    - -The CORBA -Naming Service supports a hierarchical mapping between sequences -of strings and object references. The CORBA Interoperable -Naming Service defines a standard way for clients and servers to -locate the Naming Service. It allows the ORB to be administratively -configured for bootstrapping to services not set up with the orb at -install time.

    - -

    Current status (as of 7th Apr 1999): -

      -
    • -Implementation of the CORBA Naming Service spec is complete. TAO's -Naming Service provides an optional persistence capability.
    • -
    • -Implementation of the CORBA InterOperable Naming Service is in -progress.
    • -
    -Recently completed work: -
      -
    • -Added support for Persistence (using memory-mapped files). Persistence -feature is optional, and is controlled by the command line argument.
    • - -
    • -Updated the implementation of the Naming Service to use new ACE -exception macros.
    • -
    • -Added support for the InterOperable Naming Service, which enables the -ORB to support IORs in user-friendly iioploc format. -These features allow the ORB to be configured to return arbitrary object -references from CORBA::ORB::resolve_initial_references -for non-locality-constrained objects. Two options -ORBInitRef and --ORBDefaultInitRef have been added to the orb for bootstrapping to -arbitrary services. -
    • - -
    • Added support for the Naming service to act like an agent: to understand IIOP -request messages from clients and respond with reply messages with a -LOCATION_FORWARD/OBJECT_NOT_EXIST status. The Naming Service can be -configured through ORB options to register arbitrary services given -the URL-format IOR for the service. The resolve_initial_references () -resolves a service in the following order : -
      1. -ORBInitRef -
      2. -ORBDefaultInitRef -
      3. Multicast to service. -
    • - -
    • -Added a test for the InterOperable Naming Service that works in -conjunction with the current TAO examples. -
    • - -
    - -Work in progress: -
      - -
    • Support for the iiopname format and conversions -to and from URL-style IORs. -
    • - -
    • -A detailed InterOperable Naming Service test. -
    • - -
    -Future work: -
      -
    • -Support for a load balancing feature similar to the one present in ORBIX. -It will be possible to bind a group of objects under a single name, and when a client attempts to resolve the name in question, a preset policy (e.g., random, round robin, etc.) will determine which one of the object references from the group will be returned. -
    • -
    • -Support for the Naming Service to handle the IIOP -LocateRequest messages and respond with LocateReply messages with a -LOCATION_FORWARD/OBJECT_NOT_EXIST status. -
    - -

    -


    -

    -CORBA Trading Service

    -Point of contact: Seth Widoff - -

    The Trading -Service is an implementation of the COS Trading Service -speficiation that meets the Linked Trader conformance criteria --- it -implements the Lookup, Register, Admin, and -Link interfaces, but not the Proxy -interface. Notably, the TAO trader supports the following features:

    -

    • Multithreaded operation;
    • - -
    • -Trader federations and distributed queries;
    • - -
    • -Dynamic properties;
    • - -
    • -Modifiable properties;
    • - -
    • -All policies described in the specification;
    • - -
    • -Preference sorting;
    • - -
    • -Service type inheritance hierarchies and subtype searching.
    • -
    -Trading Service documentation is also available. -

    Future Work: -

      -
    • -The Proxy Interface.
    • - -
    • -Persistent storage of service types and offers.
    • -
    -

    -


    -

    -CORBA Property Service

    -Point of contact: Alexander Babu -Arulanthu - -

    Current status (as of Mar 9th, 1999): All the interfaces of this -service have been implemented. Please -go through the test examples at $TAO/orbsvcs/tests/CosPropertyService. -Property Service is has been used by the TAO's Audio Video Streaming -Servicedeveloped for TAO. For general documentation of the -Property Service, please read The Property Service -Specification. - -

    Recent Work: -

      -
    • - Changed the PropertyException from Exception to struct, according - to the OMG's changes. -
    • -
    • - Changed the implementation to allocate storage for the Sequence - out parameters, eventhough their length is 0. This is according - to the CORBA specification. -
    • -
    - -

    -


    -

    -CORBA Concurrency Service

    -Point of contact: Torben Worm -

    Current status (as of May 3rd): - -The -Concurrency Service provides a mechanism that allows clients to -acquire and release various types of locks in a distributed system.

    - -

      -
    • -A simple version of the Concurrency Service has been implemented, i.e. -a version without transactions. It is currently being tested.
    • -
    -Future Work: -
      -
    • -Implementation of the Concurrency Service with transactions
    • -

    -


    -

    CORBA Audio/Video Streaming Service

    -Point of contact: Nagarajan -Surendran and Yamuna Krishnamurthy -

    This is an implementation of the OMG spec addressing the Control -and Management of Audio/Video Streams.For more documentation on -TAO's A/V Service please have a look here. - -

    Current Status:

    -

    -

      -
    • - The audio/video streaming service has been implemented in the full - profile. The current implementation support all the flow related - components like flowEndpoint,FDev,FlowConnection,..,etc. -
    • -
    • - An MPEG-1 application which streams mpeg-1 video and mpeg-1 audio - separately has been developed using the service. The client side - of the mpeg player requires X windows support.Its available in - the release at $TAO_ROOT/orbsvcs/tests/AVStreams/mpeg/source. -
    • -
    • - An Integrated Video-on-demand application has been developed - using the Trading Service and the A/V Service. The demo uses a - Java FrontEnd and JNI to talk to the TAO C++ trader client. The - demo is available in the release at - $TAO_ROOT/orbsvcs/tests/AVStreams/server_discovery. -
    • -
    -

    Work in progress: -

      -
    • -Implementing the SFP protocol. -
    • -
    • - Adding Multipoint streams support. -
    • -
    • - Developing a Video-conferencing application using the A/V Service. -
    • -
    - -
    -

    CORBA Time Service -

    Point of contact: Vishal Kachroo - -

    The Time Service - allows clients to connect to Time Service Clerks and obtain globally -synchronized time. This time is calculated from the time obtained from -one or more Time Servers running on multiple machines in the -network. The service uses the TAO Implementation Repository to -activate the time servers on demand. - -

    Current status (as of 10th Jan 1999): -

      -
    • -Implementation of a Distributed CORBA Time Service is complete.
    • -
    -Future work: -
      -
    • -Currently the average of the time obtained from the various servers is -considered the global notion of time. A better distributed time synchronization -algorithm can be used in the future.
    • - -
    • -Implementation of the Timer Event Service.
    • -
    -

    - -


    -

    -CORBA Event Service

    - -

    -Last updated: Fri Mar 5 20:38:26 CST 1999

    -Point of contact: Pradeep Gore -

    The COS compliant Event Service implements the Event Service Specification: -(.pdf), -(.ps) -
    This implementation is based on the Real Time Event service. -

    -Features in this release:

    - -
      -
    • -The Event Channel ($TAO_ROOT/orbsvcs/orbsvcs/CosEvent) supports -the push style event communication.
    • - -
    • -A simple test ($TAO_ROOT/orbsvcs/tests/CosEC_Basic) demonstrates -how to create and use the event channel.
    • - -
    • -Event Service ($TAO_ROOT/orbsvcs/CosEvent_Service)The Event Service -creates a COS compliant event channel and registers it with the naming -service with the default name "CosEventChannel".
    • - -
      Please read the associated README for more details. - -
    • -CosEC_Multiple: ($TAO_ROOT/orbsvcs/tests/CosEC_Multiple): -This test demonstrates how multiple CosEC's connect to one RtEC and how -multiple consumers and producers exchange events in this configuration.
    • -
    -

    -Known bugs:

    -
      -
    • -CosEC_Multiple: ($TAO_ROOT/orbsvcs/tests/CosEC_Multiple): -Once the tests are done, the control doesn't return to the shell, -you have to say CTRL-C to get back to the prompt. -
    • -
    - -
    - -

    -


    -

    -TAO's Scheduling Service

    -Point of contact: Chris Gill -and David Levine -

    Currently Implemented Features: -

      -
    • -The scheduling service can be built to use either a null implementation -or a strategized implementation of the configuration scheduler.
    • - -
    • -The null scheduler implementation, which is built by default, allows the -configuration scheduler to be used with applications that require a scheduling -service interface, but do not (at least in the current stage of their development, -in certain configurations, etc.) make use of the real-time scheduling features -it provides.
    • - -
    • -The strategized scheduler implementation can be built by #defining TAO_USES_STRATEGY_SCHEDULER, -and the appropriate scheduling strategy macro (TAO_USES_RMS_SCHEDULING, -TAO_USES_EDF_SCHEDULING, TAO_USES_MUF_SCHEDULING, or TAO_USES_MUF_SCHEDULING) -in $ACE_ROOT/ace/config.h. This allows the configuration scheduler to be -used with applications that require a specific scheduling strategy. Each -scheduling strategy will produce a set of static scheduling priorities, -which it will assign to operations based on their RT_Infos. For each static -priority, a strategy will also determine the run-time (dynamic) scheduling -strategy to use for that priority level.
    • -
    -Future work: -
      -
    • -Implement heap-based dispatching queues.
    • - -
    • -Add support for additional configurability, especially in the type -of dispatching strategy (list vs. heap) that will be used to dispatch operations -at a given static priority level.
    • - -
    • -Benchmark the various alternative strategies to obtain performance -profiles across different operation loads and OS platforms.
    • - -
    • -Add increased functionality. Requests and suggestions are welcome.
    • -
    - -
    -

    -TAO's Logging Service

    -Point of contact: Matt Braun -

    Current status (as of August 4'th): -

      -
    • -The basic logging service has been implemented. It can log basic messages -from multiple clients. It is currently in the testing stage.
    • -
    -Future work: -
      -
    • -Add increased functionality. Requests and suggestions are welcome.
    • -
    - -
    -

    -Test & Performance Tests

    -Point of contact: Nagarajan Surendran -

    Current Status: -

    The TAO IDL_Cubit test application makes use of the Naming Service and -the server holds a TAO_Naming_Server component.Just running server and -client is enough to test the application. -

    The various tests in the tests/POA test the different features of the -Portable Object Adapter interface like Explicit Activation, On Demand Activation,etc.. -

    MT_Cubit: -

    Current status: -

    The TAO MT_Cubit test application is meant to serve as a starting point -for real-time tests on the TAO system. It comprises the following parts: -

      -
    • -Server. The server creates multiple CORBA objects (servants), each -with different real-time priorities. This priority is implemented by using -real-time thread support provided by the operating system. Thus, requests -sent to a high-priority servant are handled by a high-priority real-time -thread, and those sent to a lower priority servant are handled by correspondingly -lower priority threads.
    • - -
    • -Client. The client component binds to the servants, and sends a -stream of CORBA requests to the servants. It measures the response time, -i.e. the time taken for the request to complete successfully. In particular, -it measures the time taken for requests sent to the high priority servant -to complete. The volume of lower priority requests is configurable. The -client is thus able to measure the performance of the high-priority servant -in the presence of competition from several lower-priority servants.
    • -
    -Clearly, if the ORB endsystem handles the priorities of the various requests -correctly, increasing the volume of lower priority requests should not -affect the performance seen by the higher priority requests. The application -thus serves as a tool to measure and confirm this behavior. -

    Future work: -

      -
    • -Study the impacts of scheduling & concurrency strategies on performance.
    • - -
    • -Evolve into a testbed for discovering sources of performance non-determinism -& priority inversion.
    • -
    - -

    Pluggable: -

    Current status: -

    The TAO Pluggable test utilizes ACE Timeprobes to time the latency at -various points in the ORB, especially that incurred by the Pluggable Protocols -implementation. Comparisons can be made not only between different layers of the -ORB, but also between different protocols as they become available. -

    Future work: -

      -
    • -Add options to redirect the output to a file.
    • -
    • -Script or otherwise automate the piping of the output to a spreadsheet.
    • -
    - -
    -

    -ORB-related ACE Changes

    -Points of contact: Nanbor Wang -and Irfan Pyrarli -

    Recently Completed Work: -

      -
    • -Added special declaration to OS.h for inet_ntoa and other functions -because VxWorks doesn't provide full argument prototypes for these library -functions.
    • - -
    • -The current caching connector behaves properly in the face of a non-blocking -connect request. The "fix" is simply to not support non-blocking connects -through the cache. When the connect() fails with EWOULDBLOCK, -morph the error to -1 and clean up the request.
    • - -
    • -Service handlers obtained from the caching connector are now cleaned up. -The application needs to be able to signal that it's not using it any longer, -and, when the application encounters an error, needs to effectively close -down that connection for good so that a new connection can be initiated.
    • - -
      Added the ability for a Svc_Handler to recycle itself. idle() can be -called when the Svc_Handler is done serving a particular connection and -can how be recycled. The Svc_Handler now also has a pointer to a recycler -that is responsible for managing the connections. The recycler is usually -a Cached_Connector. -
      Added new class ACE_Recycling_Strategy. It defines the interface (and -default implementation) for specifying a recycling strategy for a Svc_Handler. -This strategy acts as a consular to the Svc_Handler, preparing it for the -tough times ahead when the Svc_Handler will be recycled. -
      Added new class ACE_NOOP_Concurrency_Strategy. It implements a no-op -activation strategy in order to avoid calling open on a recycled svc_handler -multiple times. -
      ACE_Cached_Connect_Strategy now implements the ACE_Connection_Recycling_Strategy -interface. This allows Svc_Handlers to cache themselves with ACE_Cached_Connect_Strategy -when they become idle. It also allows them to purge themselves from the -connection cache when the Svc_Handlers close down. -
      Also added ~ACE_Cached_Connect_Strategy that will cleanup up the connection -cache.
    -Future work: -
    None currently scheduled.
    - -
    -

    -The DOVE Demo

    -Points of contact: Michael Kircher -and Chris Gill. -

    DOVE is documented -in detail online. -This discussion focuses on the following goals: -

      -
    • -Have a DOVE Browser running using Java Beans as vizualization components.
    • - -
    • -Have the Event Channel as DOVE Agent running with an Event Consumer in -the DOVE Browser.
    • - -
    • -Having a DOVE Management Information Base (MIB), which dumps all events -transfered on the Event Channel into a file on persistent storage for later -reuse.
    • -
    -The DOVE Browser uses independent visualization components (Java Beans) -and the Event Channel as DOVE Agent. Connections can be established between -monitored metrics and the visualization components. -

    We have three major components: Observables (monitored metrics), Observers -(a Java Bean for displaying the metric) and a DataHandler (for demultiplexing -the monitored metrics to the appropriate Observables). Each component inherits -from a base class, so that a certain behavior of the components can be -assured for each component. Relationships between components are based -on these base classes. -

    The used Java Beans are required to conform to some standards, as they -have to support a function called "getProperty" which allows the DOVE Browser -to determine if the vizualization capabilities of a specific Java Bean -are sufficient to display the metric. A JavaBean is for example a Java -Panel which shows a Graph of the delivered doubles. So all metrics can -be displayed by this visualization component which can be expressed by -a single double. -

    The DataHandler is connected to the Event Push Consumer (PUSH, because -we use the push concept of the Event Service). The Event Push Consumer -does not know what kind of data is transported. The only component knowing -all the details about the dependencies of the metrics is the DataHandler. -This separation allows easy extension and change of the demo. -

    Object Diagrams -are available about this new concept. -

    Event Service events are used as communication between DOVE Applications -and the DOVE Browser. The DOVE MIB analyses the event data field of all -events and stores this information into a file. The event data filed is -of type CORBA::Any and the DOVE MIB has no notion of what is conveyed in -this field. So the DOVE MIB has to discover the content via the embedded -type code information. Future work includes: -

      -
    • -Enhancing MIB functionality
    • - -
    • -Monitoring the AV Streaming Service
    • -
    -For more information on the DOVE demo, please refer to: $TAO_ROOT/orbsvcs/tests/Simulator/README.

    -


    -

    -Location Forwarding

    -Point of contact: Irfan Pyarali, -Michael -Kircher. -

    For more information see Location forwarding -

    -


    -

    -Global Resources and Leader-Follower Model

    -Point of contact: Irfan Pyarali, -Michael -Kircher. -

    For more information see Leader-follower -model -

    -


    -

    -Implementation of locate request

    -Point of contact: Irfan Pyarali, -Michael -Kircher. -

    For more information see Locate request -

    -


    -

    Back to the TAO documentation index. - - diff --git a/TAO/docs/releasenotes/orbcore.html b/TAO/docs/releasenotes/orbcore.html deleted file mode 100644 index b1256a8ddc3..00000000000 --- a/TAO/docs/releasenotes/orbcore.html +++ /dev/null @@ -1,434 +0,0 @@ - - - -ORB Core Status - - - - - -

    Table of Contents

    - - - -
    -
    -

    ORB & ORB Core

    - -Point of contact: Irfan Pyarali - -

    Last Update: $Date$

    -
    - - -

    Current status:

    - -
      -
    • Trying to figure out a better resource management - scheme. Resouces here include ORB, POA, connections, - profiles.... that provide services for CORBA invocations. -

      -

      [STATUS]: The current version keeps very few objects - managed by the resource factory. Most are ORB specific. It - seems like the correct implementation is to make the few - remaining resources (such as the Reactor) a - per-ORB-per-thread entity. -

      -
    • -
    - - -Back to TOC - - - -

    Known issues:

    - -
      -
    • When using the thread-per-connection concurrency model, if - some client leave the socket connection open without sending any - request, the server will crash on NT. This is because we are - doing a blocking recv when a server connection handler acts as - an active object, and the recv won't break out until the process - gets kill by the OS. This is especially a problem on NT because - on shutdown, NT close down the socket service, which cause the - blocking recv to unblock at which point, these threads try to - access the already destroyed ORB resources. A temporary - workaround is to close the sockets when the ORB is shutting - down. But this is not portable and only works on NT.

      -
    • - -
    • Object references for objects dynamically created within a - server may not have proper host. When an object is dynamically - created and its object reference returned, it simply has to - "guess" at the host information that is returned in the IIOP - Profile. Currently, it guesses using the host name, which is a - reasonable guess in most cases. However, if there are multiple - interfaces on a machine and they have different host - names, it is possible that the desired effect will not be - realized, i.e., the connection to that new object may use a - different interface from the original object. Currently the only - way to change this is to use the -ORBendpoint option to - manually specify that dynamically-created objects bind to a - specific interface so that their IIOP Profile has the desired - hostname. A more desirable fix is being investigated.

      -
    • -
    - -Back to TOC - - - -

    Ongoing Work:

    - -
      -
    • ORB Core overhaul.

      -
    • - -
    • Support new concurrency models, e.g., Thread-per-Request, - thread pool, etc..

      -
    • -
    - -Back to TOC - - - -

    Future work:

    - -
      -
    • Performance optimizations, such as:
    • -
        -
      1. Replace all uses of new and delete - with allocators that can be put into TSS. The main - motivation for this is to eliminate lock contention when - multiple threads need to allocate/deallocate memory, - however it might also be possible to substitute an - allocator better-tuned to an application's specific - usage.

        -
      2. -
      - -
    • Robustness improvements:
    • -
        -
      1. Improve connection cache so that it won't crash when - there are no more slots or sockets. -

      2. -
      - -
    • New features:
    • -
        -
      1. Implement RT-CORBA spec. once it passes - OMG member vote.

        -
      2. - -
      3. Added support for CORBA Messaging Spec.

        -
      4. - -
      5. According to tentative CORBA 2.3a spec, once - ORB::shutdown has been called, operation invocations on - object references obtained from this ORB must throw an - BAD_INV_ORDER exception.

        -
      6. -
      - -
    • Internal restructuring:
    • -
        -
      1. Create some sort of internal "request" object which - carries enough context to suport deferred method - invocation such as one might find in the thread-pool - approach or wherever queuing might occur.

        -
      2. -
      - -
    • Documentation:
    • -
    • Writing up ORB restructuring notes.

      -
    • - - -
    • Potential Optimizations:
    • - -
        -
      1. There is a certain amount of overhead introduced by the - use of TSS Singletons. TSS singletons are very convenient - as the variable does not have to be passed from function - to function. Even though sort of access is generally - acceptable, the overhead of this approach maybe too high - when used in code which is executed frequently (e.g., - during an upcall). This critical code may have to be - restructured not to use TSS Singletons because of the high - overhead associated with it.

        -
      2. -
      -
    - -Back to TOC - - - -

    Completed Work:

    - - - - -
      -
    • TAO_ORB_Core_instance() returns the orb core - of the default orb (the first orb created by the user). This - may not be the orb that the user is interested in. The better - approach is myorb->orb_core().

      -
    • - -
    • Added an optional argument to resolve_initial_references() - that allows the user to specify a timeout (an upper bound - on the time-to-wait for a response from the ORB's multicast - "search" for a running server). If no timeout value is - specified by the user, - TAO_DEFAULT_SERVICE_RESOLUTION_TIMEOUT is - used.

      -
    • - -
    • ORB::perform_work and - ORB::work_pending are now implemented. - ORB::work_pending may need some additional work - in the future (since it currently always returns true).

      -
    • - -
    • Provides dynamically linked wholesale assignment of ORB - strategies for communication, concurrency, demultiplexing, - scheduling, and dispatching using the ACE Service Configurator - framework.

      -
    • - -
    • Supports several concurrency models out of the box: Reactive, - Thread-per-Connection, and ORB-per-thread. The ORB-per-thread - design is optimized for real-time I/O subsystems. (See: Configuration Guide.)

      -
    • - -
    • Supports resolve_initial_references("<CORBA - Service>") using ACE support for multicast. (TAO - proprietary.)

      -
    • - -
    • Support both native C++ exceptions and - CORBA::Environment based exceptions handling.

      - -
    • Support for TAO proprietary -ORBgioplite - command-line option. When this option is enabled the ORB - removes a few fields of the GIOP messages that are normally not - used, such as the version numbers, the magic 'GIOP' string, the - service context, the Principal object, etc. This option give us - a slight performance improvement but it is important for - extremely low-latency systems (such as avionics), that - fortunately have tightly controlled environments so this kind of - optimization is safe to use.

      -
    • - -
    • The buffers for outgoing CDR streams are allocated from TSS - memory pools, reducing locking on the critical path.

      -
    • - -
    • Several optimizations on the critical path have been - implemented, carefully removing excesive locking, memory - allocations and data copying. In some cases special demarshaling - and marshaling functions where written for the request - headers.

      -
    • - -
    • Adding a new option into TAO_Resource_Factory to control the - internal lock used by ORB's reacotr. With "-ORBreactorlock - null" added into svc.conf, you can eliminate - the token inside the Select_Reactor inside the ORB even on - multi-threaded platforms. This eliminate some overheads caused - by synchronizing access to the Select_Reactor. Usually, if you - have TSS ORB and are using reactive concurrency startegy, the - ORB are not accessed by multiple threads, then, you can safely - turn the lock off.

      -
    • - -
    • Strategized the connection management scheme so that we don't - always have to pay the price of a look up in the connection - cache. Basically, we "hold" a service handler for a string of - requests.

      -
    • - -
    • There is no need to call ORB::open if the port is 0. It will - automagically be called when the first stub is created.

      -
    • - -
    • The ORB now handles nested upcalls correctly. See this for details on the - design of the solution.

      -
    • - -
    • Added optimization for collocated objects. This optimization - enables TAO to bypass communication layers and talks to - collocated objects directly.

      -
    • - -
    • Making the collocation table configurable. We can either use - a global collocation table to share objects among ORBs, or use - the per-ORB collocation table.

      -
    • - -
    • Implement the inheritance mechanism in - Default_Server_Connection_Handler to access the parent's - POA. This is necessary when we are using thread-per-connection - concurrency model.

      -
    • - -
    • It is often desireable for a server to start up and not have - to specify the TCP port number on which the ORB will listen, - i.e., let the OS decide. While this works properly (by - providing an argument such as - `-ORBendpoint iiop://localhost:0'), the actual port - number used by the server won't be available after the server - starts listening. TAO now tries to bind the address when a port - set to zero is issued so it can get the actual address to publish - the IOR for clients' use.

      -
    • - -
    • Broke the tight coupling between CORBA_Object - and IIOP_Object so that multiple - CORBA_Objects can share a single - IIOP_Object. This has a big win in - _narrow operations.

      -
    • - -
    • The ORBs manipulation of object keys and object ids is now - consistent. Canonically, everything is managed as an opaque - sequence of octets. Conversion to/from strings is permitted, - with non-printables turning into a trigraph \hl where - h is the high nibble digit in hex, and l is the - low nibble in hex.

      -
    • - -
    • CORBA_ORB::run() should be able to be called - multiply in the same execution path now.

      -
    • - -
    • Fixed the LOCATION_FORWARD capabilities to work as - described in the CORBA 2.1 and the POA specification.

      -
    • - -
    • Support for -ORBsndsock and -ORBrcvsock ORB - options. See options documentation - for details.

      -
    • - -
    • Support for connections pre-establishment using the -ORBpreconnect - option. This allows connections to be esablished before any - CORBA requests are made. See options - documentation for details.

      -
    • - -
    • Placed an optimization in IIOP::Profile that should speed up - invocations on the client side rather substantially. This was - done by caching an instance of ACE_INET_Addr in the - private portion of Profile because the cost of - constructing one for every invocation (in - TAO_GIOP_Invocation::start) was simply - enormous--the construction was something like 100 cycles on - Solaris. This is all because deep down this ends up calling - gethostbyname(), which can be very costly. Of - course, this is platform-dependent, so the improvements may not - be as great on a different platform.

      -
    • - -
    • Eliminated need for CORBA::Object to keep a - pointer to its orb sitting around anywhere.

      -
    • - -
    • Tested CORBA_ORB::shutdown() as a manner in - which a thread of control can request that - CORBA_ORB::run() should return and no longer - service requests. It only honors a wait_for_completion - argument of FALSE right now because we haven't fully - explored the issues which surround doing all the completion.

      -
    • - -
    • Implemented CORBA_ORB::shutdown() as a manner in - which a thread of control can request that - CORBA_ORB::run() should return and no longer - service requests.

      -
    • - -
    • Support for the -ORBInitRef option. This allows run-time - specification of an ObjectId:IOR mapping. It is used by - resolve_initial_references () and overrides the orb-install-time - defaults.

      -
    • - -
    • minimal support for CORBA Contexts. This is an inherently - un-typesafe feature, and many believe it will disappear from - CORBA eventually, but in order to make _create_request() - compliant, we have added a CORBA_Context class. The only - permissible value for a Context pointer passed as an argument to - _create_request is 0. If a non-zero pointer is passed, a - NO_IMPLEMENT exception is raised.

      -
    • - -
    • Support configuring TAO's component as both static and - dynamic services. Improve robustness of setting default - svc.conf entries. See Configuration - Document for details.

      -
    • - -
    • TAO now understands Interoperable Naming Service's - iioploc:// and iiopname:// - formats.

      -
    • - -
    • Added Vendor ID and TAO-specific information to - the CORBA_SystemException minor status component. - The TAO-specific information currently consists of location - (in the TAO source code) and errno indications. See - tao/corbafwd.h - for values. CORBA_SystemException::print_exception_tao_ () - should be used to print system exceptions. If a known (expected) - errno had been received, then it is printed. Otherwise, the low - 7 bits of the errno are printed (in decimal). They can be a bit - tricky to interpret, for example, because it might have been generated - on the server. We only maintain the low 7 bits because of size - restrictions on the minor status component.

      -
    • - -
    • The CORBA::ORB_init() function returns the same - ORB if it is called twice with the same ORBid parameter or - if the "-ORBid value" option is present in the argv-list. - Please consult the CORBA specification for more details. -

      -
    • - -
    • We implemented GIOP 1.1, including the support - for tagged components in IIOP profiles. -

      -
    • - -
    • Added CORBA compliant collocated stubs implementation. The new - implementation now query POA for permission to proceed thus fixed - many potentially subtle problems. The original collocation implementation - is still supported using by specifying the -ORBCollocationStrategy direct - command option (because the original scheme has slightly less method - invocation overhead.) -

    • - -
    - -Back to TOC - - - - diff --git a/TAO/docs/releasenotes/trader.html b/TAO/docs/releasenotes/trader.html deleted file mode 100644 index a8995ab1d81..00000000000 --- a/TAO/docs/releasenotes/trader.html +++ /dev/null @@ -1,1064 +0,0 @@ - - - - -TAO Trading Service Documentation - - - - -
    - -

    TAO Trading Service Documentation

    - -
    - -

    The TAO transient Trading Service implements the COS TradingObject Service -specification, and  conforms to the Linked Trader conformance criteria. This document -details how to use the TAO Trading Service from the following perspectives: - -

      -
    • as an importer bootstrapping to the Trading Service;
    • -
    • as a service offer exporter;
    • -
    • as an administrator;
    • -
    • as an out-of-the-box server process;
    • -
    • as a collocated object.
    • -
    - -

    In addition, it covers running the Trading Service tests and discusses known bugs and -workarounds.

    - -

    This document assumes you are familiar with Trading Service concepts, such as -"importer," "exporter", "service type", "service -offer," and "dynamic property", as well as the roles of each of the Trading -Service's interfaces --- Lookup, Register, Admin, and Link -(the TAO implementation doesn't currently support Proxy). I recommend reading the -first two sections of the Trading -Service specification. This document has the following layout: - -

      -
    1. The Client Role -
    2. -
    3. The Server Role -
    4. -
    5. Running the Trading Service Tests
    6. -
    7. Known Bugs and Workarounds
    8. -
    9. Future Work
    10. -
    - -
    - -

    The Client Role

    - -

    There are three categories of operations that a client can perform on a -Trading Service instance: exporting a service offer to the Trading Service, importing a -list of Service Offers whose properties satisfy a constraint expression, and attending to -administrative duties --- tweaking policies or adjusting links. The first order of -business, of course, is obtaining a reference to a Trading Service instance, assuming that -instance is not colocated with the client.

    - -

    Bootstrapping to the Trading -Service

    - -

    Like with the Naming Service, the ORB will obtain a reference to a Trading -Service instance's Lookup interface when a client invokes the CORBA::ORB::resolve_initial_references -method and passes to it the ObjectID "TradingService". The -following TAO code bootstraps to the Trading Service:

    - - - - - -
    TAO_TRY
    -{
    -  TAO_ORB_Manager orb_manager;
    -  orb_manager.init (argc, argv, TAO_TRY_ENV);
    -  TAO_CHECK_ENV;
    -  CORBA::ORB_var orb = orb_manager.orb ();
    -  CORBA::Object_var trading_obj =
    -    orb->resolve_initial_references ("TradingService");
    -  CosTrading::Lookup_var lookup_if =
    -    CosTrading::Lookup::_narrow (trading_obj.in (), TAO_TRY_ENV);
    -  TAO_CHECK_ENV;
    -}
    -TAO_CATCHANY
    -{
    -  TAO_TRY_ENV.print_exception ("Failed to bootstrap to a trader");
    -}
    -TAO_ENDTRY;
    -
    - -

    The first time resolve_initial_references is called, the ORB uses a multicast -protocol to locate an existing trader. The ORB emits a multicast packet containing a field -identifying the desired service --- Naming or Trading --- and the port number that the -client is listening on for the response (the IP address can be inferred from the packet). -When the trader receives the packet and finds that the id contained within matches its -own, it opens a socket to the client on the designated port, and sends its IOR, which the -ORB converts to an object reference that it caches.

    - -

    If the trader IOR is known ahead of time, the string can be passed to the client in the -environment variable TradingService, or by the command line option -ORBtradingserviceior -<IOR>. Likewise, if the multicast port is known ahead of time and differs from -the default port, the port number can be passed to the client in the environment variable TradingServicePort, -or by the command line option -ORBtradingserviceport <PORTNUM>.  

    - -

    The Importer Role --- Performing a Query

    - -

    Once the importer has obtained a reference to a trader's Lookup interface, it -next needs to fire up a query. The query method takes nine parameters (aside from the CORBA::Environment):

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    const CosTrading::ServiceTypeNameThe Trading Service will search Offers belonging to this subtype. If the exact_type_match - policy wasn't explicitly set to false, then offers belonging to subtypes of this type will - also be searched.
    const CosTrading::ConstraintAn expression in the OMG standard constraint language, where each property - name is a property defined in the Service Type description of the type being searched.
    const CosTrading::Lookup::PreferenceAn expression in the OMG standard constraint language dictating how offers - in the returned_offers sequence should be ordered.
    const CosTrading::PolicySeqPolicies governing the breadth of search and the type of permissible - offers. A policy is a name/value pair --- a string and an Any --- that affect the - search algorithm.
    const CosTrading::Lookup::SpecifiedPropsA union specifying which properties should be returned in each offer. If - the descriminator is CosTrading::Lookup::some, the union  contains the list - of designated property names. Other options are allor none.
    CORBA::ULong how_manyThe number of offers that should be placed in the returned sequence.
    CosTrading::OfferSeq_outA list of ordered offers whose properties meet the constraints.
    CosTrading::OfferIterator_outIterator over returned offers in excess of how_many --- unordered.
    CosTrading::PolicyNameSeq_outA sequence of policy names for policies that limited the search.
    - -

    Constraints

    - -

    A constraint is a string in the OMG standard constraint language (the BNF can be found -at the end of the specification). The trader iterates over applicable offers, and for each -offer determines if its properties meet the constraints, replacing property names in the -string with their values and computing the result. If the constraint evaluates to true, -the offer is placed in the pool of matched offers. If the constraint string is -syntactically invalid, contains property names not found in the service type description -for the listed service type, or has operators with mismatched operand types, the query -method will throw an InvalidConstraint exception.

    - -

    Operands can be of two types: property names or literals. A property name is an -unquoted string of alphanumeric characters and underscores that begins with a letter. The -service type describes the type of a property. A literal is an signed or unsigned integer, -floating point number --- scientific notation acceptable ---, single-quoted string, or -boolean --- written TRUE or FALSE.

    - -

    The constraint language supports the following operations:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Arithmetic (+, -, *, /)Disk_Space*1000 - Amount_Used/10Accepts two numeric operands.
    Inequality (<,>,<=,>=)Amount_Used < Disk_SpaceAccepts two numeric or two string operands.
    Equality (==, !=)Amount_Used == Disk_SpaceAccepts two numeric, two string, or two boolean operands.
    Substring (~)'.wustl.edu' ~ Domain_NameAccept two string operands. Returns true if the right string contains the - left.
    Sequence inclusion (in)'sbw1' in User_QueueAccepts an operand of a primitive CORBA type on the left, and a sequence - of the same type on the right. Returns true when the sequence contains the value in the - left operand, false otherwise.
    Property existence (exist)exist User_QueueAccepts a property name. Returns true if the property is defined in the - offer.
    - -

    Preferences

    - -

    A preference is a constraint language string that determines the order of offers in the -returned offer sequence. There are five types of preferences:

    - - - - - - - - - - - - - - - - - - - - - - -
    min <expression>Offers are ordered by ascending expression value. The expression must - return a number.
    max <expression> Offers are ordered by descending expression value. The expression must - return a number.
    with <expression>Offers are partitioned into two parts: those offers for which the - expression returns true are placed in the front, the rest in the back. The expression must - return a boolean value.
    randomOffers in the sequence are shuffled.
    firstOffers are placed in the sequence in the order they're evaluated.
    - -

    Policies

    - -

    The following import policies are descibed in the specification and supported by the -TAO Trading Service:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    exact_type_matchCORBA::BooleanTrue --- Search only considers offers belonging to  the given type.
    - False --- Search considers offers belonging to the given type or any of its subtypes.
    search_cardCORBA::ULongSearch ceases after search_card number of offers have been - evaluated.
    match_cardCORBA::ULongSearch ceases after search_card number of offers have been - matched.
    return_cardCORBA::ULongQuery returns at most return_card number of offers.
    support_dynamic_propertiesCORBA::BooleanSearch considers offers with dynamic properties.
    support_modifiable_propertiesCORBA::BooleanSearch considers offers with not readonly properties.
    starting_traderCosTrading::TraderNameQuery is forwarded across all links in the policy, and search begins at - the final trader.
    hop_countCORBA::ULongMaximum depth a query should be propagated in the trader federation.
    link_follow_ruleCosTrading::FollowOptionQuery propagates to other traders if the link_follow_rule permits - it.
    - -

    The TAO Trading Service comes with a handy utility --- TAO_Policy_Manager --- -for creating a policy sequence to pass to the query method that won't incur any -exceptions.   Use the TAO_Policy_Manager in the following way:

    - - - - - -
    TAO_Policy_Manager policies;
    -policies.exact_type_match (CORBA::B_FALSE);
    -policies.search_card (16*NUM_OFFERS);
    -policies.match_card (16*NUM_OFFERS);
    -policies.return_card (16*NUM_OFFERS);
    -policies.link_follow_rule (CosTrading::local_only);
    -const CosTrading::PolicySeq& policy_seq = policies.policy_seq ();
    -
    - -

    Filtering Properties

    - -

    If the client wants only a subset of the properties defined for a service type returned -in matching offers, it can specify those property names in the desired_properties -parameter of the query method. Pass the prop_names method of CosTrading::Lookup::SpecifiedProperties -a CosTrading::PropNameSeq:

    - - - - - -
    char* props[] = {"Name", "Description", "Location", "Host_Name" };
    -CosTrading::Lookup::SpecifiedProps desired_props;      
    -CosTrading::PropertyNameSeq prop_name_seq (4, 4, props, CORBA::B_FALSE);
    -desired_props.prop_names (prop_name_seq);
    -
    - -

    Offer Iterators

    - -

    Those offers returned from the query in excess of how_many are placed in an -offer iterator for deferred retrieval. The CosTrading::OfferIterator::next_n -method will allocate a sequence and fill it with either n offers, or if it has fewer than n -offers, the remaining offers. The next_n method returns true if the iterator -contains more offers, and false if it's been depleted. After finishing with the iterator, -invoke its destroy method to release any server-side resources.

    - -

    The following code is an example of obtaining offers from a CosTrading::OfferIterator:

    - - - - - -
    CORBA::Boolean any_left = CORBA::B_FALSE;
    -CORBA::Environment _env;
    -
    do
    -  {
    -    CosTrading::OfferSeq_ptr iter_offers_ptr;
    -    CosTrading::OfferSeq_out iter_offers_out (iter_offers_ptr);
    -
    -    any_left = offer_iterator->next_n (length,
    -                        	       iter_offers_out,
    -                                       _env);
    -    TAO_CHECK_ENV_RETURN (_env, 0);
    -
    -    CosTrading::OfferSeq_var iter_offers (iter_offers_ptr);
    -    // Process offers...
    -
    -  } while (any_left);
    -
    - -

    Property Evaluation

    - -

    After the client completes a query that used dynamic properties, to review the property -values of the returned offers, it has to distinguish between Anys containing -static properties and Anys containing dynamic property structures. The TAO_Property_Evaluator -class is a handy utility to obtain property values that hides how it evalutes properties -for the client --- by simple Any value extraction for static properties, or by -calling back to a dynamic property interface. The TAO_Property_Evaluator caches -the value of a dynamic property, and frees the allocated Anys during its -destruction.

    - -

    The following code demonstrates how to use the TAO_Property_Evaluator to dump -the properties of an offer to the screen.

    - - - - - -
    TAO_Property_Evaluator prop_eval (prop_seq);
    -for (int length = prop_seq.length (), k = 0; k < length; k++)
    -  {
    -    ACE_DEBUG ((LM_DEBUG, "%-15s: ", prop_seq[k].name.in ()));
    -    TAO_TRY
    -      {
    -        CORBA::Boolean is_dynamic = prop_eval.is_dynamic_property (k);
    -        TAO_CHECK_ENV;
    -
    -	value = prop_eval.property_value(k, env);
    -    	TAO_CHECK_ENV;
    -	
    -	if (value != 0)
    -	  CORBA::Any::dump (*value);
    -      }
    -    TAO_CATCHANY
    -      {
    -        ACE_DEBUG ((LM_DEBUG, "Error retrieving property value.\n"));
    -      }
    -    TAO_ENDTRY;
    -  }
    -
    - -

    The Exporter Role --- Registering a Service Type and Offer

    - -

    Before an exporting client can register a new service offer with the Trading Service, -it needs to ensure first that its service type is present in the service type repository -of the target trader. The most efficient way to do this is to first invoke the export -method on the Register interface, and if it raises an UnknownServiceType -exception, obtain a reference to the Repository, add the Service Type, and attempt the export -a second time. Here's the boilerplate code:

    - - - - - -
    CORBA::Object_var trading_obj = 
    -  orb_ptr->resolve_initial_references ("TradingService");
    -CosTrading::Lookup_var lookup_if = 
    -  CosTrading::Lookup::_narrow (trading_obj.in (), _env);
    -TAO_CHECK_ENV_RETURN (_env, -1);
    -CosTrading::Register_var register_if = lookup_if->register_if (_env);
    -TAO_CHECK_ENV_RETURN (_env, -1);
    -CosTrading::TypeRepository_ptr obj = this->trader_->type_repos (_env);
    -CosTradingRepos::ServiceTypeRepository_var str =
    -  CosTradingRepos::ServiceTypeRepository::_narrow (obj, _env);
    -TAO_CHECK_ENV_RETURN (_env, -1);
    -
    -TAO_TRY
    -  {
    -    // Attempt to export the offer.
    -    offer_id = 
    -      register_id->export (object_ref, type, props, TAO_TRY_ENV);
    -    TAO_CHECK_ENV;
    -  }
    -TAO_CATCH (CosTrading::UnknownServiceType, excp)    
    -  {      
    -    // If the ServiceTypeName wasn't found, we'll have to add the
    -    // type to the Service Type repository ourselves.
    -    str->add_type (type,
    -		   object_ref->_interface_repository_id (),
    -		   prop_struct_seq,
    -		   super_type_name_seq,
    -		   _env);
    -    TAO_CHECK_ENV_RETURN (_env, 0);
    -
    -    // Now we'll try again to register the offer.
    -    offer_id = reg->export (object_ref, type, this->tprops_, _env);
    -    TAO_CHECK_ENV_RETURN (_env, 0);
    -
    -    TAO_TRY_ENV.clear ();
    -  }
    -TAO_CATCHANY
    -  {
    -    // Sigh, all our efforts were for naught.
    -    TAO_RETHROW_RETURN (0);
    -  }  
    -TAO_ENDTRY;
    -
    - -

    The Service Type Repository

    - -

    Creating a service type description is simply a matter of filling in two sequences: a CosTradingRepos::ServiceTypeRepository::PropStructSeq -and a CosTradingRepos::ServiceTypeRepository::ServiceTypeNameSeq. When filling in -the value_type field, remember to up the reference count of the TypeCode, -since otherwise the TypeCode_var will sieze control of the memory and free it. -Here's a code excerpt taken from export_test showing how to build the first -couple elements of such sequences:

    - - - - - -
    this->type_structs_[TT_Info::PLOTTER].props.length (2);
    -this->type_structs_[TT_Info::PLOTTER].super_types.length (1);
    -this->type_structs_[TT_Info::PLOTTER].super_types[0] =
    -TT_Info::INTERFACE_NAMES[TT_Info::REMOTE_IO]; 
    -this->type_structs_[TT_Info::PLOTTER].props[0].name =
    -TT_Info::PLOTTER_PROPERTY_NAMES[TT_Info::PLOTTER_NUM_COLORS];
    -this->type_structs_[TT_Info::PLOTTER].props[0].value_type =
    -CORBA::TypeCode::_duplicate (CORBA::_tc_long);
    -this->type_structs_[TT_Info::PLOTTER].props[0].mode =
    -CosTradingRepos::ServiceTypeRepository::PROP_NORMAL;
    -this->type_structs_[TT_Info::PLOTTER].props[1].name =
    -TT_Info::PLOTTER_PROPERTY_NAMES[TT_Info::PLOTTER_AUTO_LOADING];
    -this->type_structs_[TT_Info::PLOTTER].props[1].value_type =
    -CORBA::TypeCode::_duplicate (CORBA::_tc_boolean);
    -this->type_structs_[TT_Info::PLOTTER].props[1].mode =
    -CosTradingRepos::ServiceTypeRepository::PROP_READONLY;
    -
    - -

    Exporting, Withdrawing, and Modifying -Service Offers

    - -

    Like with adding a Service Type, exporting an offer is just filling in the sequences. -For offers, of course, property values are passed, so this involves employing the Any -insertion operators. Here's a code exerpt from export_test:

    - - - - - -
    CosTrading::PropertySeq prop_seq (2);
    -prop_seq[0].name = 
    -  TT_Info::PLOTTER_PROPERTY_NAMES[TT_Info::PLOTTER_NUM_COLORS];
    -prop_seq[0].value <<= ACE_static_cast (CORBA::Long, 256);
    -prop_seq[1].name = 
    -  TT_Info::PLOTTER_PROPERTY_NAMES[TT_Info::PLOTTER_AUTO_LOADING];
    -prop_seq[1].value <<= CORBA::Any::from_boolean (CORBA::B_TRUE);
    -
    - -

    The export_test returns a CosTrading::OfferId string, which is -required to perform the withdraw and modify operations on the exported -offer. withdraw requires that you simply pass the OfferId of the offer -to be withdrawn, while modify takes two additional sequences: a CosTrading::PropertyNameSeq -of property names to be removed from the offer, and a CosTrading::PropertySeq of -offers to be added or changed in the offer.

    - -

    Implementing Dynamic Properties

    - -

    To export an offer with a dynamic property: - -

      -
    • inherit from the TAO_Dynamic_Property class and implement its DP_Eval - method;
    • -
    • create a CosTradingDynamic::DynamicProperty structure using the TAO_Dynamic_Property::construct_dynamic_prop - method;
    • -
    • insert the CosTradingDynamic::DynamicProperty in the value field of the - property.
    • -
    - -

    The following code, taken from the export_test example, illustrates this:

    - - - - - -
    // Step 1: Write the Dynamic Property callback handler.
    -class Simple_DP : public TAO_Dynamic_Property
    -{
    -public: 
    -
    -  virtual CORBA::Any* evalDP (const char* name,
    -                              CORBA::TypeCode_ptr returned_type,
    -                              const CORBA::Any& extra_info,	      
    -			      CORBA::Environment& _env)
    -    TAO_THROW_SPEC ((CosTradingDynamic::DPEvalFailure));
    -};
    -
    -CORBA::Any*
    -Simple_DP::evalDP (const char* name,
    -                   CORBA::TypeCode_ptr returned_type,
    -                   const CORBA::Any& extra_info,
    -                   CORBA::Environment& _env)
    -  TAO_THROW_SPEC ((CosTradingDynamic::DPEvalFailure))
    -{
    -  CORBA::Any* return_value = 0;
    -  ACE_NEW_RETURN (return_value, CORBA::Any, 0);
    -
    -  (*return_value) <<= ACE_static_cast (CORBA::ULong, ACE_OS::rand ());
    -  return return_value;
    -}
    -
    // Step 2: Create the Dynamic Property
    -Simple_DP dp;
    -CORBA::Any extra_info;
    -CosTrading::PropertySeq prop_seq (1);
    -CosTrading::DynamicProp* dp_struct = 
    -  dp.construct_dynamic_prop ("prop_name",
    -                             CORBA::_tc_ulong, 
    -			     extra_info);
    -
    // Step 3: Turn over the dynamic property to the propery value Any.
    -CORBA::Environment env;
    -prop_seq[0].name = "prop_name";
    -prop_seq[0].value.replace (CosTrading::_tc_DynamicProp, 
    -                           dp_struct, 
    -                           CORBA::B_TRUE, 
    -                           env);
    -TAO_CHECK_ENV_RETURN (env, -1);
    -
    - -

    The Administrator Role --- Tweaking Policies and -Adjusting Links

    - -

    The trader can be configured remotely through two interfaces: the Admin -interface, for tweaking global policies, enabling and disabling interfaces, and dumping -the trader contents; and the Link interface, for attaching to and detaching from -other traders.

    - -

    Adjusting policies is straightforward. Here's an example of setting the max_search_card -policy:

    - - - - - -
    // lookup_if returned from resolve_initial_references.
    -CosTrading::Admin_var admin_if = 
    -  lookup_if->admin_if (TAO_TRY_ENV);
    -TAO_CHECK_ENV;
    -
    admin_if->set_max_match_card (200);
    -
    - -

    Here's an example of using the list_offers method on the Admin interface to remove all -offers from the Trader:

    - - - - - -
    TAO_TRY
    -{
    -CosTrading::OfferIdIterator_ptr offer_id_iter;
    -CosTrading::OfferIdSeq_ptr offer_id_seq;
    -
    -// lookup_if returned from resolve_initial_references.
    -CosTrading::Admin_var admin_if = 
    -  lookup_if->admin_if (TAO_TRY_ENV);
    -TAO_CHECK_ENV;
    -
    -CosTrading::Register_var register_if = 
    -  lookup_if->register_if (TAO_TRY_ENV);
    -TAO_CHECK_ENV;
    -
    -admin_if->list_offers (10,
    -                       CosTrading::OfferIdSeq_out (offer_id_seq),
    -                       CosTrading::OfferIdIterator_out (offer_id_iter),
    -                       TAO_TRY_ENV);
    -TAO_CHECK_ENV;
    -
    -if (offer_id_seq != 0)
    - {
    -   CosTrading::OfferIdSeq_var offer_id_seq_var (offer_id_seq);
    -   for (CORBA::ULong i = 0; i < offer_id_seq_var.length (); i++)
    -     {
    -       register_if->withdraw (offer_id_seq_var[i], TAO_TRY_ENV);
    -       TAO_CHECK_ENV;
    -     }
    - }
    -
    -if (offer_id_iter != CosTrading::OfferIdIterator::_nil ())
    - {
    -   CORBA::Boolean any_left = CORBA::B_FALSE;
    -   CosTrading::OfferIdSeq_ptr id_seq = 0;
    -   CosTrading::OfferIdIterator_var offer_id_iter_var (offer_id_iter); 
    -    
    -   do
    -     {
    -       any_left = 
    -         offer_id_iter->next_n (length,
    -                                CosTrading::OfferIdSeq_out (id_seq),
    -                                TAO_TRY_ENV);
    -       TAO_CHECK_ENV;
    -
    -       CORBA::ULong offers = id_seq->length ();
    -       for (CORBA::ULong i = 0; i < offers; i++)
    -        {
    -          register_if->withdraw (id_seq[i], TAO_TRY_ENV);
    -          TAO_CHECK_ENV;
    -        }
    -
    -       delete id_seq;
    -     }
    -   while (any_left);
    -
    -   offer_id_iter->destroy (TAO_TRY_ENV);
    -   TAO_CHECK_ENV;
    - }
    -}
    -TAO_CATCHANY
    -{
    -  // Handle Errors.
    -}
    -TAO_ENDTRY;
    -
    - -

    Here's an example a trader linking itself to another trader (this->trader_ -is a colocated trader --- see the next section for more information):

    - - - - - -
    TAO_TRY
    - {
    -   CosTrading::Link_var link_if =  lookup_if->link_if (TAO_TRY_ENV);
    -   TAO_CHECK_ENV;
    -
    -   TAO_Trading_Components_Impl& trd_comp =
    -     this->trader_->trading_components ();
    -   CosTrading::Lookup_ptr our_lookup = trd_comp.lookup_if ();
    -   CosTrading::Link_ptr our_link = trd_comp.link_if ();
    -
    -   link_if->add_link (this->name_.in (),
    -                      our_lookup,
    -                      CosTrading::always,
    -                      CosTrading::always,
    -                      TAO_TRY_ENV);
    -   TAO_CHECK_ENV;
    -
    -   our_link->add_link ("Bootstrap_Trader",
    -                       lookup_if.in (),
    -                       CosTrading::always,
    -                       CosTrading::always,
    -                       TAO_TRY_ENV);
    - }
    -TAO_CATCHANY
    -{
    -  // Handle Errors.
    -}
    -TAO_ENDTRY;
    -
    - -
    - -

    The Server Role

    - -

    The TAO Trading Service comes with an out-of-the-box executable suitable for common -use. However, it can also easily be colocated with any other TAO server to add Trading -Service functionality to that server.

    - -

    The TAO Trading Service Application

    - -

    This out-of-the-box server takes a number of command line arguments:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -TSthreadsafeThe Trader will use reader/writer locks to protect the offer database and - link collection, and normal thread mutexes for the rest of the shared state --- global - policies, support attributes, and interface accessors. (default is not thread safe; Null - Mutexes are used)
    -TSconformanceDetermines which conformance category the Trading Service will meet:
    - - - - - - - - - - - - - - - - - -
      -
    • query
    • -
    -
    Instantiates the Lookup interface only
      -
    • simple
    • -
    -
    Instantiates the Lookup and Register - interfaces
      -
    • standalone
    • -
    -
    Instantiates the Lookup, Register, - and Admin interfaces
      -
    • linked
    • -
    -
    Instantiates the Lookup, Register, - Admin, and Link interfaces (default)
    -
    -TSsupports_dynamic_properties - - - - - - - - -
      -
    • true
    • -
    -
    Will consider offers with dynamic properties in - queries unless explicitly disabled by a policy passed to the query method. (default)
      -
    • false
    • -
    -
    Will not consider offers with dynamic properties - in queries, unless explicitly enabled by a policy passed to the query method.
    -
    -TSsupports_modifiable_properties - - - - - - - - -
      -
    • true
    • -
    -
    Will consider offers with not explicitly - modifable properties in queries unless explicitly disabled by a policy passed to the query - method. Enables the modify method on the Register interface. (default)
      -
    • false
    • -
    -
    Will not consider dynamic properties in queries, - unless explicitly overridden by a query policy. Diables modify method on the Register - interface.
    -
    -TSdef_search_cardSearch cardinality if none is specified as a query policy. (default is - 200)
    -TSmax_search_cardUpper limit on the search cardinality for a query. (default is 500)
    -TSdef_match_cardMatch cardinality if none is specified as a query policy. (default is 200)
    -TSmax_match_cardUpper limit on the match cardinality for a query. (default is 500)
    -TSdef_return_cardReturn cardinality if none is specified as a query policy. (default is - 200)
    -TSmax_return_cardUpper limit on the return cardinality for a query. (default is 500)
    -TSdef_hop_countThe depths a federated query may go if no query policy is specified. - (default 5)
    -TSmax_hop_countThe maximum number of links a federated query can travel after it passes - through this trader. (default is 10)
    -TSdef_follow_policy - - - - - - - - - - - - -
      -
    • always
    • -
    -
    The trader will always pass a query onto the - next available linked trader.
      -
    • if_no_local
    • -
    -
    The trader will pass a query onto the next - trader only if the local search produced no results. (default)
      -
    • local_only
    • -
    -
    The trader will never pass on a query.
    -
    -TSmax_follow_policy - - - - - - - - - - - - -
      -
    • always
    • -
    -
    The trader doesn't limit the importer to the - local offer space. (default)
      -
    • if_no_local
    • -
    -
    The trader refuses to pass on queries of the - local search matched offers.
      -
    • local_only
    • -
    -
    The trader will never allow federated queries.
    -
    -ORBtradingserviceportPort on which to listen for multicast bootstrap requests.
    -ORBtradingserviceportPort on which to listen for multicast bootstrap requests.
    -TSdumpiorDumps the trader's IOR to a file (default is stdout).
    - -

    By default the trader will listen for multicast resolve_initial_references -requests, and respond with the IOR of its Lookup inteface. For the purposes of -testing federated queries, when passed the -TSfederate method, instead of -becoming a bootstrappable server, the Trading_Service application will bootstrap -itself to a multicast trader, link itself to that trader and every other trader accessible -through that trader. This protocol will have all traders on the multicast network form a -complete graph.

    - -

    Colocating the Trading Service -in a TAO Application

    - -

    Colocating the Trading Service in a TAO application amounts to constructing a TAO_TRADER -object using the TAO_Trader_Factory::construct_trader call. The argc and -argv parameters to construct_trader contain the configuration parameters -described in the previous section. The trader is also configurable programatically through -its attribute classes. The follow code exerpt demonstrates this.

    - -

    In addition the application will need to create a service type repository -implementation --- TAO's being the TAO_Service_Type_Repository --- and configure -the trader with it. The service type repository is separate from the trader in this way to -allow, for example, multiple traders to share the same service type repository. The -following code exerpt also demontrates configuring the repository:

    - - - - - -
    TAO_TRADER* trader = TAO_Trader_Factory::create_trader (argc, argv);
    -TAO_Support_Attributes_Impl& sup_attr = trader->support_attributes ();
    -TAO_Import_Attributes_Impl& imp_attr = trader->trading_components ();
    -
    -// Configure the trader with a service type repository.
    -CORBA::Environment _env;
    -TAO_Service_Type_Repository type_repos* type_repos = 0;
    -ACE_NEW (type_repos, TAO_Service_Type_Repository); 
    -sup_attr.type_repos (type_repos->_this (_env));
    -TAO_CHECK_ENV_RETURN (_env, -1);
    -
    // Configure other policies, overriding the command line arguments.
    -imp_attr.search_card (20);
    -sup_attr.supports_dynamic_properties (CORBA::B_FALSE);
    -
    - -

    The trader interfaces register themselves with the default POA during the Trading -Service's construction. All that remains is to activate the POA and enter the ORB event -loop.

    - -
    - -

    Running the Trading Service Tests

    - -

    There are two executables that test the Trading Service funtionality --- one to test -the exporter role, and the other, the importer role. To run the tests simply launch the Trading_Service -application, then run the export_test executable found in the orbsvcs/tests/Trading -directory. When the export_test ceases to output data and enters the event loop, -run the import_test found in the same directory.

    - -

    Also of importance: the -TSdumpior filename argument to the trader dumps -its IOR to the file. You can then paste the contents on the command line to -the tests with -ORBtradingserviceior IOR, or into the environment variable -TradingServiceIOR.

    - -

    The expected output of the tests can be found in the README file in the -tests directory.

    - -

    To test federated queries, run at least three copies of the Trading_Service -application, each using the -TSfederate flag. The traders will form a complete -graph, with each link follow policy set to CosTrading::always. When run with the -f -flag, the export_test will add the service types and export offers to each of the -traders in the federation. When run with the -f flag, the import_test will -perform a directed query to a trader two links distant from the trader boostrapped to, in -addition to performing federated queries.  

    - -

    By default the tests dump the contents of service types and offers to the screen so the -tester can validate the results. To run the tests in quiet mode, where the results of the -describe and query methods are concealed, use the -q flag.

    - -
    - -

    Known Bugs and Workarounds

    - -

    At this point there are no known problems with TAO that affect the - Trading service.

    - -
    - -

    Future Work

    - -
      -
    • Persistence --- Have the Trading Service offer database and service - type repository survive the lifetime of a single Trading Service process. This would be - accomplished by either taking advantage of the ability to serialize IDL types --- using - CDR streams --- or through memory-mapped files, a la the ACE Naming Service.
    • -
    - -
      -
    • The Proxy Interface --- Should we ever feel so motivated, we - might implement the Proxy interface. 
    • -
    - -
    - -
    - Seth Benjamin Widoff -
    - - - - diff --git a/TAO/examples/Borland/Broadcaster.idl b/TAO/examples/Borland/Broadcaster.idl deleted file mode 100644 index fe1d52325e3..00000000000 --- a/TAO/examples/Borland/Broadcaster.idl +++ /dev/null @@ -1,34 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "Receiver.idl" - -interface Broadcaster -{ - // = TITLE - // This interface is to be implemented by the simple chat server. - // It broadcasts messages received from one registered client to - // all its registered clients. - - exception CannotAdd - { - string reason_; - }; - - exception CannotRemove - { - string reason_; - }; - - void add (in Receiver receiver, in string nickname) - raises (CannotAdd); - // Registers a Receiver with the chat server. A registered client - // must call un_register before it goes away. - - void remove (in Receiver receiver) - raises (CannotRemove); - // Unregisters a Receiver. - - void say (in Receiver receiver, in string text); - // Say something to all registered clients. -}; diff --git a/TAO/examples/Borland/Chat.bpg b/TAO/examples/Borland/Chat.bpg deleted file mode 100644 index c15bb672ae1..00000000000 --- a/TAO/examples/Borland/Chat.bpg +++ /dev/null @@ -1,23 +0,0 @@ -#------------------------------------------------------------------------------ -VERSION = BWS.01 -#------------------------------------------------------------------------------ -!ifndef ROOT -ROOT = $(MAKEDIR)\.. -!endif -#------------------------------------------------------------------------------ -MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$** -DCC = $(ROOT)\bin\dcc32.exe $** -BRCC = $(ROOT)\bin\brcc32.exe $** -#------------------------------------------------------------------------------ -PROJECTS = build_idl ChatClient.exe -#------------------------------------------------------------------------------ -default: $(PROJECTS) -#------------------------------------------------------------------------------ - -ChatClient.exe: ChatClient.bpr - $(MAKE) - -build_idl: build_idl.bat - call $** - - diff --git a/TAO/examples/Borland/ChatClient.bpr b/TAO/examples/Borland/ChatClient.bpr deleted file mode 100644 index 4016f65fa3b..00000000000 --- a/TAO/examples/Borland/ChatClient.bpr +++ /dev/null @@ -1,224 +0,0 @@ -# --------------------------------------------------------------------------- -!if !$d(BCB) -BCB = $(MAKEDIR)\.. -!endif - -# --------------------------------------------------------------------------- -# IDE SECTION -# --------------------------------------------------------------------------- -# The following section of the project makefile is managed by the BCB IDE. -# It is recommended to use the IDE to change any of the values in this -# section. -# --------------------------------------------------------------------------- - -VERSION = BCB.04.04 -# --------------------------------------------------------------------------- -PROJECT = ChatClient.exe -OBJFILES = obj\ChatClient.obj obj\ChatClientWnd.obj obj\BroadcasterC.obj \ - obj\BroadcasterS.obj obj\ReceiverC.obj obj\ReceiverS.obj obj\ReceiverImpl.obj -RESFILES = ChatClient.res -RESDEPEN = $(RESFILES) ChatClientWnd.dfm -LIBFILES = -LIBRARIES = ace_bp.lib tao_bp.lib orbsvcs_bp.lib -SPARELIBS = Vcl40.lib orbsvcs_bp.lib tao_bp.lib ace_bp.lib -PACKAGES = Vcl40.bpi Vclx40.bpi vcljpg40.bpi bcbsmp40.bpi Qrpt40.bpi Vcldb40.bpi \ - ibsmp40.bpi vcldbx40.bpi TeeUI40.bpi teedb40.bpi tee40.bpi nmfast40.bpi \ - dclocx40.bpi -DEFFILE = -# --------------------------------------------------------------------------- -PATHCPP = .; -PATHPAS = .; -PATHASM = .; -PATHRC = .; -DEBUGLIBPATH = $(BCB)\lib\debug -RELEASELIBPATH = $(BCB)\lib\release -USERDEFINES = WIN32;ACE_HAS_DLL=1;TAO_HAS_DLL=1;TAO_ORBSVCS_HAS_DLL=1;_DLL;ACE_USE_RCSID=0 -SYSDEFINES = _RTLDLL;NO_STRICT;USEPACKAGES -# --------------------------------------------------------------------------- -CFLAG1 = -I$(BCB)\include;$(BCB)\include\vcl;..\..\..;..\.. -O2 -Hc \ - -H=obj\ChatClient.csm -Hh=pch.h -w-rvl -w-rch -w-par -w-obs -w-inl -Ve -a8 -k- \ - -vi -c -b- -Vx -tW -tWM -D$(SYSDEFINES);$(USERDEFINES) -PFLAGS = -U$(BCB)\lib\obj;$(BCB)\lib;..\..\..\bin\Dynamic\Release\Pascal;$(RELEASELIBPATH) \ - -I$(BCB)\include;$(BCB)\include\vcl;..\..\..;..\.. -N2obj -N0obj \ - -DWIN32;ACE_HAS_DLL=1;TAO_HAS_DLL=1;TAO_ORBSVCS_HAS_DLL=1;_DLL;ACE_USE_RCSID=0 \ - -$Y- -$L- -$D- -v -JPHNE -M -RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl;..\..\..;..\.. \ - -DWIN32;ACE_HAS_DLL=1;TAO_HAS_DLL=1;TAO_ORBSVCS_HAS_DLL=1;_DLL;ACE_USE_RCSID=0 -AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /i..\..\.. /i..\.. /dWIN32 \ - /dACE_HAS_DLL=1 /dTAO_HAS_DLL=1 /dTAO_ORBSVCS_HAS_DLL=1 /d_DLL /dACE_USE_RCSID=0 \ - /mx /w2 /zn -LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib;..\..\..\bin\Dynamic\Release\Pascal;$(RELEASELIBPATH) -aa \ - -Tpe -x -Gn -# --------------------------------------------------------------------------- -ALLOBJ = c0w32.obj Memmgr.Lib $(PACKAGES) sysinit.obj $(OBJFILES) -ALLRES = $(RESFILES) -ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib -# --------------------------------------------------------------------------- -!ifdef IDEOPTIONS - -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=1033 -CodePage=1252 - -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= - -[HistoryLists\hlIncludePath] -Count=2 -Item0=$(BCB)\include;$(BCB)\include\vcl;..\..\..;..\.. -Item1=$(BCB)\include;$(BCB)\include\vcl;..\..\..\..;..\..\.. - -[HistoryLists\hlLibraryPath] -Count=2 -Item0=$(BCB)\lib\obj;$(BCB)\lib;..\..\..\bin\Dynamic\Release -Item1=$(BCB)\lib\obj;$(BCB)\lib;..\..\..\..\bin - -[HistoryLists\hlDebugSourcePath] -Count=1 -Item0=$(BCB)\source\vcl;.. - -[HistoryLists\hlConditionals] -Count=1 -Item0=WIN32;ACE_HAS_DLL=1;TAO_HAS_DLL=1;TAO_ORBSVCS_HAS_DLL=1;_DLL;ACE_USE_RCSID=0 - -[HistoryLists\hlIntOutputDir] -Count=1 -Item0=obj - -[HistoryLists\hlHostApplication] -Count=1 -Item0=D:\projects\ACE_wrappers\borland\bin\Naming_Service_bd.exe - -[HistoryLists\hlRunParameters] -Count=2 -Item0=-f..\..\..\bin\chat.ior -nChris -Item1=-f..\..\..\bin\chat.ior - -[HistoryLists\hlFinalOutputDir] -Count=1 -Item0=..\..\..\..\bin - -[Debugging] -DebugSourceDirs= - -[Parameters] -RunParams= -HostApplication= -RemoteHost= -RemotePath= -RemoteDebug=0 - -[Compiler] -InMemoryExe=0 -ShowInfoMsgs=0 - -!endif - -# --------------------------------------------------------------------------- -# MAKE SECTION -# --------------------------------------------------------------------------- -# This section of the project file is not used by the BCB IDE. It is for -# the benefit of building from the command-line using the MAKE utility. -# --------------------------------------------------------------------------- - -.autodepend -# --------------------------------------------------------------------------- -!if !$d(BCC32) -BCC32 = bcc32 -!endif - -!if !$d(CPP32) -CPP32 = cpp32 -!endif - -!if !$d(DCC32) -DCC32 = dcc32 -!endif - -!if !$d(TASM32) -TASM32 = tasm32 -!endif - -!if !$d(LINKER) -LINKER = ilink32 -!endif - -!if !$d(BRCC32) -BRCC32 = brcc32 -!endif - -# --------------------------------------------------------------------------- -!if $d(PATHCPP) -.PATH.CPP = $(PATHCPP) -.PATH.C = $(PATHCPP) -!endif - -!if $d(PATHPAS) -.PATH.PAS = $(PATHPAS) -!endif - -!if $d(PATHASM) -.PATH.ASM = $(PATHASM) -!endif - -!if $d(PATHRC) -.PATH.RC = $(PATHRC) -!endif -# --------------------------------------------------------------------------- -$(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE) - $(BCB)\BIN\$(LINKER) @&&! - $(LFLAGS) + - $(ALLOBJ), + - $(PROJECT),, + - $(ALLLIB), + - $(DEFFILE), + - $(ALLRES) -! -# --------------------------------------------------------------------------- -.pas.hpp: - $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< } - -.pas.obj: - $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< } - -.cpp.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< } - -.c.obj: - $(BCB)\BIN\$(BCC32) $(CFLAG1) -n$(@D) {$< } - -.c.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) -n. {$< } - -.cpp.i: - $(BCB)\BIN\$(CPP32) $(CFLAG1) -n. {$< } - -.asm.obj: - $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@ - -.rc.res: - $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $< -# --------------------------------------------------------------------------- - - - diff --git a/TAO/examples/Borland/ChatClient.cpp b/TAO/examples/Borland/ChatClient.cpp deleted file mode 100644 index 95d9f4e8e8e..00000000000 --- a/TAO/examples/Borland/ChatClient.cpp +++ /dev/null @@ -1,48 +0,0 @@ -// $Id$ -//--------------------------------------------------------------------------- -#include "pch.h" -#pragma hdrstop -#include -#include -#include "ChatClientWnd.h" -USERES("ChatClient.res"); -USEFORM("ChatClientWnd.cpp", ChatClientWindow); -USEUNIT("BroadcasterC.cpp"); -USEUNIT("BroadcasterS.cpp"); -USEUNIT("ReceiverC.cpp"); -USEUNIT("ReceiverS.cpp"); -USEUNIT("ReceiverImpl.cpp"); -//--------------------------------------------------------------------------- -WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) -{ - ACE::init (); - - try - { - Application->Initialize (); - Application->Title = "CORBA Chat Client"; - Application->CreateForm (__classid (TChatClientWindow), &ChatClientWindow); - Application->Run (); - } - catch (Exception &exception) - { - Application->ShowException (&exception); - } - catch (CORBA::Exception &exception) - { - ShowMessage (String ("CORBA exception: ") + exception._id ()); - } - catch (...) - { - ShowMessage ("Unknown exception"); - } - - // Must explicitly free the window to ensure the orb is shut down - // before ACE::fini is called. - delete ChatClientWindow; - - ACE::fini (); - - return 0; -} -//--------------------------------------------------------------------------- diff --git a/TAO/examples/Borland/ChatClient.res b/TAO/examples/Borland/ChatClient.res deleted file mode 100644 index eb29262eebf..00000000000 Binary files a/TAO/examples/Borland/ChatClient.res and /dev/null differ diff --git a/TAO/examples/Borland/ChatClientWnd.cpp b/TAO/examples/Borland/ChatClientWnd.cpp deleted file mode 100644 index 5a841a5407f..00000000000 --- a/TAO/examples/Borland/ChatClientWnd.cpp +++ /dev/null @@ -1,127 +0,0 @@ -// $Id$ -//--------------------------------------------------------------------------- -#include "pch.h" -#pragma hdrstop -#include -#include -#include - -#include "ChatClientWnd.h" -//--------------------------------------------------------------------------- -#pragma package(smart_init) -#pragma resource "*.dfm" -TChatClientWindow *ChatClientWindow; -//--------------------------------------------------------------------------- -__fastcall TChatClientWindow::TChatClientWindow(TComponent* Owner) - : TForm(Owner) -{ - nickname_ = InputBox ("Enter Nickname", - "Enter the nickname you would like to use:", - "noname"); - - if (!OpenDialog->Execute ()) - throw Exception ("IOR file not selected - unable to continue"); - ior_file_name_ = OpenDialog->FileName; - - // Retrieve the ORB. - orb_ = CORBA::ORB_init (_argc, _argv, 0); - - // Get reference to the Root POA - CORBA::Object_var obj = - orb_->resolve_initial_references ("RootPOA"); - PortableServer::POA_var poa = PortableServer::POA::_narrow (obj); - - // Activate the POA manager - PortableServer::POAManager_var mgr = poa->the_POAManager (); - mgr->activate (); - - // set the orb in the receiver_i_ object. - receiver_i_.orb (orb_); - - // read the ior from file - ReadIOR (ior_file_name_); - - CORBA::Object_var server_object = - orb_->string_to_object (ior_.c_str ()); - - if (CORBA::is_nil (server_object.in ())) - throw Exception ("Invalid IOR " + ior_); - - server_ = Broadcaster::_narrow (server_object); - - receiver_var_ = receiver_i_._this (); - - // Register ourselves with the server. - server_->add (receiver_var_, nickname_.c_str ()); - - Application->OnMessage = ApplicationMessage; -} -//--------------------------------------------------------------------------- -void __fastcall TChatClientWindow::ReadIOR (String filename) -{ - std::auto_ptr ior (new TStringList); - ior->LoadFromFile (filename); - ior_ = ior->Text; -} -//--------------------------------------------------------------------------- -void __fastcall TChatClientWindow::WMMessageReceived (TMessage& Message) -{ - String* str = (String*)Message.WParam; - for (int i = 1; i <= str->Length (); i++) - if (std::isspace ( (*str)[i])) - (*str)[i] = ' '; - OutputMemo->Lines->Append (str->Trim ()); - delete str; -} -//--------------------------------------------------------------------------- -void __fastcall TChatClientWindow::FormClose (TObject *Sender, - TCloseAction &Action) -{ - try - { - // Remove ourselves from the server. - server_->remove (receiver_var_); - receiver_i_.shutdown (); - } - catch (CORBA::Exception&) - { - ShowMessage ("Exception in TChatClientWindow::FormClose"); - } -} -//--------------------------------------------------------------------------- -void __fastcall TChatClientWindow::ApplicationMessage (MSG& msg, bool& Handled) -{ - if (orb_->work_pending ()) - orb_->perform_work (); -} -//--------------------------------------------------------------------------- -void __fastcall TChatClientWindow::InputMemoKeyPress (TObject *Sender, char &Key) -{ - if (Key == '\n' || Key == '\r') - { - try - { - // Call the server function to pass the string typed by - // the server. - server_->say (receiver_var_, InputMemo->Text.c_str ()); - } - catch (CORBA::Exception&) - { - ShowMessage ("Exception in TChatClientWindow::InputMemoKeyPress"); - } - - Key = 0; - InputMemo->Lines->Clear (); - } -} -//--------------------------------------------------------------------------- -void __fastcall TChatClientWindow::TimerToEnsureRegularMessagesTimer (TObject *Sender) -{ - // We do nothing in this timer event handler. The purpose of the timer is - // to ensure that messages are sent regularly to the application, even if - // the system is otherwise idle. We need regular messages since we use the - // Application->OnMessage event to allow the ORB to perform pending work. -} -//--------------------------------------------------------------------------- - - diff --git a/TAO/examples/Borland/ChatClientWnd.h b/TAO/examples/Borland/ChatClientWnd.h deleted file mode 100644 index 1cc5a8c7365..00000000000 --- a/TAO/examples/Borland/ChatClientWnd.h +++ /dev/null @@ -1,71 +0,0 @@ -// $Id$ -//--------------------------------------------------------------------------- -#ifndef ChatClientWndH -#define ChatClientWndH -//--------------------------------------------------------------------------- -#include -#include -#include -#include -#include "ReceiverImpl.h" -#include "BroadcasterC.h" -#include -#include -//--------------------------------------------------------------------------- -// Message used to notify window of incoming data -#define WM_MESSAGE_RECEIVED (WM_APP + 0x123) -//--------------------------------------------------------------------------- -class TChatClientWindow : public TForm -{ - __published: // IDE-managed Components - TMemo *OutputMemo; - TMemo *InputMemo; - TOpenDialog *OpenDialog; - TTimer *TimerToEnsureRegularMessages; - void __fastcall FormClose (TObject *Sender, TCloseAction &Action); - void __fastcall InputMemoKeyPress (TObject *Sender, char &Key); - void __fastcall TimerToEnsureRegularMessagesTimer (TObject *Sender); - -private: - void __fastcall ReadIOR (String filename); - // Function to read the server ior from a file. - - String ior_; - // IOR of the obj ref of the server. - - String ior_file_name_; - // The filename that stores the ior of the server - - String nickname_; - // Nickname of the user chatting. - - CORBA::ORB_var orb_; - // Our orb. Order is important! The orb must have a longer lifetime than - // any of the servants or stub vars/ptrs. Therefore we declare the orb var - // first. There is probably a better way to do this, maybe by using a - // singleton. - - Broadcaster_var server_; - // Server object ptr. - - TReceiverImplementation receiver_i_; - // The receiver object. - - Receiver_var receiver_var_; - // Pointer to the receiver object registered with the ORB. - -public: // User declarations - __fastcall TChatClientWindow (TComponent* Owner); - void __fastcall ApplicationMessage (MSG& msg, bool& Handled); - -protected: // Message handlers - void __fastcall WMMessageReceived (TMessage& Message); - BEGIN_MESSAGE_MAP - VCL_MESSAGE_HANDLER (WM_MESSAGE_RECEIVED, TMessage, WMMessageReceived) - END_MESSAGE_MAP (TForm) - }; -//--------------------------------------------------------------------------- -extern PACKAGE TChatClientWindow *ChatClientWindow; -//--------------------------------------------------------------------------- -#endif - diff --git a/TAO/examples/Borland/README b/TAO/examples/Borland/README deleted file mode 100644 index 603ebd2b070..00000000000 --- a/TAO/examples/Borland/README +++ /dev/null @@ -1,6 +0,0 @@ -$Id$ - -This directory illustrates how to write a Borland C++ Builder -application using ACE+TAO. Please contact Jody Hagins - if you have any questions. - diff --git a/TAO/examples/Borland/Receiver.idl b/TAO/examples/Borland/Receiver.idl deleted file mode 100644 index 90ea6570071..00000000000 --- a/TAO/examples/Borland/Receiver.idl +++ /dev/null @@ -1,15 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -interface Receiver -{ - // = TITLE - // The Receiver interface is implemented by the simple chat - // clients.The interface functions are called by the chat server. - - void message (in string msg); - // Displays the message in the client application. - - oneway void shutdown (); - // Called by the chat server before it goes away. -}; diff --git a/TAO/examples/Borland/ReceiverImpl.cpp b/TAO/examples/Borland/ReceiverImpl.cpp deleted file mode 100644 index 77d2db41f71..00000000000 --- a/TAO/examples/Borland/ReceiverImpl.cpp +++ /dev/null @@ -1,36 +0,0 @@ -// $Id$ -//--------------------------------------------------------------------------- -#include "pch.h" -#pragma hdrstop - -#include "ReceiverImpl.h" -#include "ChatClientWnd.h" -//--------------------------------------------------------------------------- -TReceiverImplementation::TReceiverImplementation () - : orb_ (0) -{ -} -//--------------------------------------------------------------------------- -TReceiverImplementation::~TReceiverImplementation () -{ -} -//--------------------------------------------------------------------------- -void TReceiverImplementation::message (const char* msg) throw (CORBA::SystemException) -{ - ::PostMessage (ChatClientWindow->Handle, - WM_MESSAGE_RECEIVED, - (WPARAM) new String (msg), - (LPARAM) 0); -} -//--------------------------------------------------------------------------- -void TReceiverImplementation::shutdown () throw (CORBA::SystemException) -{ - // Instruct the ORB to shutdown. - orb_->shutdown (); -} -//--------------------------------------------------------------------------- -void TReceiverImplementation::orb (CORBA::ORB_ptr o) -{ - orb_ = CORBA::ORB::_duplicate (o); -} -//--------------------------------------------------------------------------- diff --git a/TAO/examples/Borland/ReceiverImpl.h b/TAO/examples/Borland/ReceiverImpl.h deleted file mode 100644 index bba6bf31db6..00000000000 --- a/TAO/examples/Borland/ReceiverImpl.h +++ /dev/null @@ -1,33 +0,0 @@ -// $Id$ -//--------------------------------------------------------------------------- -#ifndef ReceiverImplH -#define ReceiverImplH -//--------------------------------------------------------------------------- -#include "ReceiverS.h" -//--------------------------------------------------------------------------- -class TReceiverImplementation : public POA_Receiver -{ -public: - // = Initialization and termination methods. - TReceiverImplementation (void); - // Constructor. - - ~TReceiverImplementation (void); - // Destructor. - - virtual void message (const char* msg) throw (CORBA::SystemException); - - virtual void shutdown (void) throw (CORBA::SystemException); - // Called when the chat server is going away. The client - // implementation should shutdown the chat client in response to - // this. - - void orb (CORBA::ORB_ptr o); - // Set the ORB pointer. - -private: - CORBA::ORB_var orb_; - // ORB pointer. -}; -//--------------------------------------------------------------------------- -#endif diff --git a/TAO/examples/Borland/build_idl.bat b/TAO/examples/Borland/build_idl.bat deleted file mode 100644 index 66dbd454411..00000000000 --- a/TAO/examples/Borland/build_idl.bat +++ /dev/null @@ -1,2 +0,0 @@ -..\..\..\bin\Dynamic\Release\tao_idl -g %ACE_ROOT%\bin\Dynamic\Release\gperf.exe -Wb,pch_include=pch.h Broadcaster.idl -..\..\..\bin\Dynamic\Release\tao_idl -g %ACE_ROOT%\bin\Dynamic\Release\gperf.exe -Wb,pch_include=pch.h Receiver.idl diff --git a/TAO/examples/Borland/pch.h b/TAO/examples/Borland/pch.h deleted file mode 100644 index b990b334ca8..00000000000 --- a/TAO/examples/Borland/pch.h +++ /dev/null @@ -1,11 +0,0 @@ -// $Id$ -#ifndef INCLUDE_PCH_H -#define INCLUDE_PCH_H - -#include -#include -#include -#include -#include - -#endif diff --git a/TAO/examples/Callback_Quoter/Callback_Quoter.dsw b/TAO/examples/Callback_Quoter/Callback_Quoter.dsw deleted file mode 100644 index c237c5e736b..00000000000 --- a/TAO/examples/Callback_Quoter/Callback_Quoter.dsw +++ /dev/null @@ -1,53 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Consumer"=.\Consumer.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Notifier"=.\Notifier.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Supplier"=.\Supplier.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Callback_Quoter/Callback_Quoter_Consumer.bor b/TAO/examples/Callback_Quoter/Callback_Quoter_Consumer.bor deleted file mode 100644 index e7bea862d07..00000000000 --- a/TAO/examples/Callback_Quoter/Callback_Quoter_Consumer.bor +++ /dev/null @@ -1,33 +0,0 @@ -# -# Makefile for building the Callback_Quoter example -# - -NAME = Callback_Quoter_Consumer - -OBJFILES = \ - $(OBJDIR)\ConsumerC.obj \ - $(OBJDIR)\ConsumerS.obj \ - $(OBJDIR)\NotifierC.obj \ - $(OBJDIR)\NotifierS.obj \ - $(OBJDIR)\consumer.obj \ - $(OBJDIR)\Consumer_Input_Handler.obj \ - $(OBJDIR)\Consumer_Signal_Handler.obj \ - $(OBJDIR)\Consumer_Handler.obj \ - $(OBJDIR)\Consumer_i.obj - -CPPDIR = . - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\ConsumerC.cpp $(IDLDIR)\ConsumerS.cpp: $(IDLDIR)\Consumer.idl - $(TAO_IDL) $** - -$(IDLDIR)\NotifierC.cpp $(IDLDIR)\NotifierS.cpp: $(IDLDIR)\Notifier.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Callback_Quoter/Callback_Quoter_Notifier.bor b/TAO/examples/Callback_Quoter/Callback_Quoter_Notifier.bor deleted file mode 100644 index d798685200e..00000000000 --- a/TAO/examples/Callback_Quoter/Callback_Quoter_Notifier.bor +++ /dev/null @@ -1,32 +0,0 @@ - -# -# Makefile for building the Callback_Quoter example -# - -NAME = Callback_Quoter_Notifier - -OBJFILES = \ - $(OBJDIR)\ConsumerC.obj \ - $(OBJDIR)\ConsumerS.obj \ - $(OBJDIR)\NotifierC.obj \ - $(OBJDIR)\NotifierS.obj \ - $(OBJDIR)\notifier.obj \ - $(OBJDIR)\Notifier_i.obj \ - $(OBJDIR)\Notifier_Input_Handler.obj - -CPPDIR = . - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\ConsumerC.cpp $(IDLDIR)\ConsumerS.cpp: $(IDLDIR)\Consumer.idl - $(TAO_IDL) $** - -$(IDLDIR)\NotifierC.cpp $(IDLDIR)\NotifierS.cpp: $(IDLDIR)\Notifier.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Callback_Quoter/Callback_Quoter_Supplier.bor b/TAO/examples/Callback_Quoter/Callback_Quoter_Supplier.bor deleted file mode 100644 index 19d160d2c8b..00000000000 --- a/TAO/examples/Callback_Quoter/Callback_Quoter_Supplier.bor +++ /dev/null @@ -1,32 +0,0 @@ -# -# Makefile for building the Callback_Quoter example -# - -NAME = Callback_Quoter_Supplier - -OBJFILES = \ - $(OBJDIR)\ConsumerC.obj \ - $(OBJDIR)\ConsumerS.obj \ - $(OBJDIR)\NotifierC.obj \ - $(OBJDIR)\NotifierS.obj \ - $(OBJDIR)\supplier.obj \ - $(OBJDIR)\Supplier_i.obj \ - $(OBJDIR)\Supplier_Timer_Handler.obj \ - $(OBJDIR)\Consumer_i.obj - -CPPDIR = . - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\ConsumerC.cpp $(IDLDIR)\ConsumerS.cpp: $(IDLDIR)\Consumer.idl - $(TAO_IDL) $** - -$(IDLDIR)\NotifierC.cpp $(IDLDIR)\NotifierS.cpp: $(IDLDIR)\Notifier.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Callback_Quoter/Consumer.dsp b/TAO/examples/Callback_Quoter/Consumer.dsp deleted file mode 100644 index 77a3f2b6f83..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer.dsp +++ /dev/null @@ -1,335 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Callback Quoter Consumer" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Callback Quoter Consumer - 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 "Consumer.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 "Consumer.mak" CFG="Callback Quoter Consumer - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Callback Quoter Consumer - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Callback Quoter Consumer - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Callback Quoter Consumer - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Callback Quoter Consumer - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /I "..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Callback Quoter Consumer - Win32 Release" -# Name "Callback Quoter Consumer - Win32 Debug" -# Begin Group "Source files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Consumer.cpp -# End Source File -# Begin Source File - -SOURCE=.\Consumer_Handler.cpp -# End Source File -# Begin Source File - -SOURCE=.\Consumer_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Consumer_Input_Handler.cpp -# End Source File -# Begin Source File - -SOURCE=.\Consumer_Signal_Handler.cpp -# End Source File -# Begin Source File - -SOURCE=.\consumerC.cpp -# End Source File -# Begin Source File - -SOURCE=.\consumerS.cpp -# End Source File -# Begin Source File - -SOURCE=.\NotifierC.cpp -# End Source File -# Begin Source File - -SOURCE=.\NotifierS.cpp -# End Source File -# End Group -# Begin Group "Header files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Consumer_Handler.h -# End Source File -# Begin Source File - -SOURCE=.\Consumer_i.h -# End Source File -# Begin Source File - -SOURCE=.\Consumer_Input_Handler.h -# End Source File -# Begin Source File - -SOURCE=.\Consumer_Signal_Handler.h -# End Source File -# Begin Source File - -SOURCE=.\consumerC.h -# End Source File -# Begin Source File - -SOURCE=.\consumerS.h -# End Source File -# Begin Source File - -SOURCE=.\NotifierC.h -# End Source File -# Begin Source File - -SOURCE=.\NotifierC.i -# End Source File -# Begin Source File - -SOURCE=.\NotifierS.h -# End Source File -# Begin Source File - -SOURCE=.\NotifierS.i -# End Source File -# End Group -# Begin Group "IDL files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Consumer.idl - -!IF "$(CFG)" == "Callback Quoter Consumer - Win32 Release" - -USERDEP__CONSU="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Consumer.idl -InputName=Consumer - -BuildCmds= \ - ..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Callback Quoter Consumer - Win32 Debug" - -USERDEP__CONSU="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Consumer.idl -InputName=Consumer - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Notifier.idl - -!IF "$(CFG)" == "Callback Quoter Consumer - Win32 Release" - -USERDEP__NOTIF="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Notifier.idl -InputName=Notifier - -BuildCmds= \ - ..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Callback Quoter Consumer - Win32 Debug" - -USERDEP__NOTIF="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Notifier.idl -InputName=Notifier - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Callback_Quoter/Consumer.idl b/TAO/examples/Callback_Quoter/Consumer.idl deleted file mode 100644 index 4e6020992e6..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer.idl +++ /dev/null @@ -1,60 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#if !defined (_CONSUMER_IDL) -#define _CONSUMER_IDL - -module Callback_Quoter -{ - // = TITLE - // This module contains the data structure defined to store - // information and the consumer interface. - - exception Invalid_Stock - { - // = TITLE - // Requested stock does not exist. - - string reason; - // The message which declares the reason for this execption. - - }; - - exception Invalid_Handle - { - // = TITLE - // Requested object does not exist. - - string reason; - // The actual reason which caused the exception. - - }; - - struct Info - { - // = TITLE - // The information passed by the Notifier to the consumer. - - string stock_name; - // This is the name of the stock about whom the consumer - // is seeking information. - - long value; - // This is the market price of the stock. - }; - - interface Consumer - { - // = TITLE - // The Consumer interface which is utilized by the Notifier - // to pass information to the consumer. - - void push (in Callback_Quoter::Info data); - // Notifier sends data to the consumer. - - void shutdown (); - // the process shuts down. - }; -}; - -#endif /* _CONSUMER_IDL */ diff --git a/TAO/examples/Callback_Quoter/Consumer_Handler.cpp b/TAO/examples/Callback_Quoter/Consumer_Handler.cpp deleted file mode 100644 index 5d8d9ed57b8..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer_Handler.cpp +++ /dev/null @@ -1,376 +0,0 @@ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Consumer_Input_Handler.cpp -// -// = DESCRIPTION -// Implementation of the Consumer_Handler class. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#include "Consumer_Handler.h" -#include "ace/Read_Buffer.h" -#include "tao/ORB.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" -#include "ace/OS.h" -#include "ace/Reactor.h" -#include "ace/Event_Handler.h" - -Consumer_Handler::Consumer_Handler (void) - : stock_name_ ("Unknown"), - threshold_value_ (0), - server_ (), - registered_ (0), - unregistered_ (0), - ior_ (0), - shutdown_ (0), - use_naming_service_ (1), - interactive_ (1) -{ - -} - -Consumer_Handler::~Consumer_Handler (void) -{ - // Make sure to cleanup the STDIN handler. - - if (this->interactive_ == 1) - { - if (ACE_Event_Handler::remove_stdin_handler - (this->orb_->orb_core ()->reactor (), - this->orb_->orb_core ()->thr_mgr ()) == -1) - ACE_ERROR ((LM_ERROR, - "%p\n", - "remove_stdin_handler")); - } -} - -// Reads the Server factory IOR from a file. - -int -Consumer_Handler::read_ior (char *filename) -{ - // Open the file for reading. - ACE_HANDLE f_handle = ACE_OS::open (filename, 0); - - if (f_handle == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for reading: %p\n", - filename), - -1); - - ACE_Read_Buffer ior_buffer (f_handle); - char *data = ior_buffer.read (); - - if (data == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior: %p\n"), - -1); - - this->ior_ = ACE_OS::strdup (data); - ior_buffer.alloc ()->free (data); - - ACE_OS::close (f_handle); - - return 0; -} - -// Parses the command line arguments and returns an error status. - -int -Consumer_Handler::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "a:t:d:f:xk:xs"); - int c; - int result; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag - TAO_debug_level++; //**** - break; - - case 'k': // ior provide on command line - this->ior_ = ACE_OS::strdup (get_opts.optarg); - break; - - case 'f': // read the IOR from the file. - result = this->read_ior (get_opts.optarg); - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior from %s : %p\n", - get_opts.optarg), - -1); - break; - - case 's': // don't use the naming service - this->use_naming_service_ = 0; - break; - - case 'a': // to be given only on using run_test.pl - this->stock_name_ = get_opts.optarg; - this->interactive_ = 0; - break; - - case 't': - this->threshold_value_ = ACE_OS::atoi (get_opts.optarg); - break; - - - case 'x': - this->shutdown_ = 1; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-f ior-file]" - " [-k ior]" - " [-x]" - " [-s]" - " [-a stock_name]" - " [-t threshold]" - "\n", - this->argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// this method uses the naming service to obtain the server object refernce. - -int -Consumer_Handler::via_naming_service (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Initialization of the naming service. - if (naming_services_client_.init (orb_.in ()) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize " - "the TAO_Naming_Client. \n"), - -1); - - CosNaming::Name notifier_ref_name (1); - notifier_ref_name.length (1); - notifier_ref_name[0].id = CORBA::string_dup ("Notifier"); - - CORBA::Object_var notifier_obj = - this->naming_services_client_->resolve (notifier_ref_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // The CORBA::Object_var object is downcast to Notifier_var using - // the <_narrow> method. - this->server_ = - Notifier::_narrow (notifier_obj.in (), - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Consumer_Handler::via_naming_service\n"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -// Init function. -int -Consumer_Handler::init (int argc, char **argv) -{ - - this->argc_ = argc; - this->argv_ = argv; - - // Register our to handle STDIN events, which will - // trigger the method to process these events. - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (this->argc_, - this->argv_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "parse_args failed\n"), - -1); - - if (this->interactive_ == 1) - { - ACE_DEBUG ((LM_DEBUG, - " Services provided:\n " - " * Registration \n " - " * Unregistration \n " - " * Quit \n ")); - - ACE_NEW_RETURN (consumer_input_handler_, - Consumer_Input_Handler (this), - -1); - - if (ACE_Event_Handler::register_stdin_handler - (consumer_input_handler_, - this->orb_->orb_core ()->reactor (), - this->orb_->orb_core ()->thr_mgr ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "register_stdin_handler"), - -1); - - // Register the signal event handler for ^C - ACE_NEW_RETURN (consumer_signal_handler_, - Consumer_Signal_Handler (this), - -1); - - if (this->reactor_used ()->register_handler - (SIGINT, - consumer_signal_handler_) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "register_handler for SIGINT"), - -1); - } - // use the naming service. - if (this->use_naming_service_) - { - if (via_naming_service () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "via_naming_service failed\n"), - -1); - } - else - { - - if (this->ior_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: no ior specified\n", - this->argv_[0]), - -1); - - CORBA::Object_var server_object = - this->orb_->string_to_object (this->ior_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (server_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "invalid ior <%s>\n", - this->ior_), - -1); - // The downcasting from CORBA::Object_var to Notifier_var is - // done using the <_narrow> method. - this->server_ = Notifier::_narrow (server_object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION(ACE_ANY_EXCEPTION, "Consumer_Handler::init"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -int -Consumer_Handler::run (void) -{ - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Obtain and activate the RootPOA. - CORBA::Object_var obj = - this->orb_->resolve_initial_references ("RootPOA"); - - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POAManager_var poa_manager= - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_NEW_RETURN (this->consumer_servant_, - Consumer_i (), - -1); - // Set the orb in the consumer_ object. - this->consumer_servant_->orb (this->orb_.in ()); - - // Get the consumer stub (i.e consumer object) pointer. - this->consumer_var_ = - this->consumer_servant_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (this->interactive_ == 0) - { - - // Register with the server. - this->server_->register_callback (this->stock_name_, - this->threshold_value_, - this->consumer_var_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Note the registration. - this->registered_ = 1; - this->unregistered_ = 0; - - ACE_DEBUG ((LM_DEBUG, - "registeration done!\n")); - } - - // Run the ORB. - this->orb_->run (); - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Consumer_Handler::init"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -ACE_Reactor * -Consumer_Handler::reactor_used (void) const -{ - return this->orb_->orb_core ()->reactor (); -} diff --git a/TAO/examples/Callback_Quoter/Consumer_Handler.h b/TAO/examples/Callback_Quoter/Consumer_Handler.h deleted file mode 100644 index 809312e9e14..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer_Handler.h +++ /dev/null @@ -1,142 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Consumer_Handler.h -// -// = DESCRIPTION -// Definition of the Callback_Qouter Consumer Client class, Consumer_Handler. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#ifndef CONSUMER_HANDLER_H -#define CONSUMER_HANDLER_H - -#include "ConsumerC.h" -#include "NotifierC.h" -#include "Consumer_i.h" -#include "ace/Read_Buffer.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/TAO.h" -#include "orbsvcs/Naming/Naming_Utils.h" -#include "orbsvcs/CosNamingC.h" - -#include "Consumer_Input_Handler.h" -#include "Consumer_Signal_Handler.h" - -class Consumer_Input_Handler; -class Consumer_Signal_Handler; - -class Consumer_Handler -{ - // = TITLE - // Callback Quoter Consumer Client class. - // - // = DESCRIPTION - // Connects to the Callback Quoter server and - // registers the Consumer object with the it - // and receives the stock status from the Notifier. - -public: - // = Initialization and termination methods. - Consumer_Handler (void); - // Constructor. - - ~Consumer_Handler (void); - // Destructor. - - int init (int argc, char *argv[]); - // Initialize the client communication with the server. - - int run (void); - // Start the ORB object. - - const char *stock_name_; - // the name of the stock the consumer is interested in. - - int threshold_value_; - // the desired price of the stock. - - Notifier_var server_; - // Server object ptr. - - Consumer_i *consumer_servant_; - // The consumer object. - - Callback_Quoter::Consumer_var consumer_var_; - // Pointer to the consumer object registered with the ORB. - - ACE_Reactor* reactor_used (void) const; - // This method gives the reactor pointer. - - int registered_; - // Flag which notes whether the consumer has got registered with the - // Notifier-server. - - int unregistered_; - // Flag which notes whether the consumer has got unregistered from - // the Notifier-server. - -private: - - CORBA::ORB_var orb_; - // Our orb. - - int read_ior (char *filename); - // Function to read the server IOR from a file. - - int parse_args (void); - // Parse the command line arguments. Returns 0 on success, -1 on - // error. - - int via_naming_service (void); - // This method initialises the naming service and registers the - // object with the POA. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - char *ior_; - // IOR of the obj ref of the server. - - int shutdown_; - // Flag for server shutdown. - - CORBA::Environment env_; - // Environment variable. - - TAO_Naming_Client naming_services_client_; - // An instance of the name client used for resolving the factory - // objects. - - int use_naming_service_; - // This variable denotes whether the naming service - // is used or not. - - Consumer_Input_Handler *consumer_input_handler_; - // Reference to the input_event_handler. - - Consumer_Signal_Handler *consumer_signal_handler_; - // Reference to the signal_event_handler. - - int interactive_; - // Is the example interactive? -}; - -#endif /* CONSUMER_HANDLER_H */ diff --git a/TAO/examples/Callback_Quoter/Consumer_Input_Handler.cpp b/TAO/examples/Callback_Quoter/Consumer_Input_Handler.cpp deleted file mode 100644 index 770fbfb89b1..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer_Input_Handler.cpp +++ /dev/null @@ -1,209 +0,0 @@ -// $Id$ -// =========================================================== -// -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Consumer_Input_Handler.cpp -// -// = DESCRIPTION -// Implementation of the Consumer_Input_Handler class. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#include "Consumer_Input_Handler.h" -#include "ace/Read_Buffer.h" -#include "ace/OS.h" - -Consumer_Input_Handler::Consumer_Input_Handler (Consumer_Handler *consumer_handler) - { - consumer_handler_ = consumer_handler; - - } - -int -Consumer_Input_Handler::handle_input (ACE_HANDLE) -{ - char buf[BUFSIZ]; - - // The string could read contains \n\0 hence using ACE_OS::read - // which returns the no of bytes read and hence i can manipulate - // and remove the devil from the picture i.e '\n' ! ;) - - ssize_t strlen = ACE_OS::read (ACE_STDIN, - buf, - sizeof buf); - if (buf[strlen -1] == '\n') - buf[strlen -1] = '\0'; - - switch (tolower (buf[0])) - { - case Consumer_Input_Handler::REGISTER: - { - this->register_consumer (); - break; - } - case Consumer_Input_Handler::UNREGISTER: - { - this->unregister_consumer (); - break; - } - case Consumer_Input_Handler::EXIT: - { - this->quit_consumer_process (); - break; - } - } - return 0; -} - - -int -Consumer_Input_Handler::register_consumer () -{ - - // Get the stockname the consumer is interested in. - static char stockname[BUFSIZ]; - - ACE_DEBUG ((LM_DEBUG, - "Stockname?")); - - ssize_t strlen = ACE_OS::read (ACE_STDIN, - stockname, - sizeof stockname - 1); - - // Taking care of platforms where an carriage return is padded with newline. - if (stockname[strlen -2] == '\n' || stockname[strlen -2] == '\r') - stockname[strlen -2] = '\0'; - else - if (stockname[strlen -1] == '\n' || stockname[strlen -1] == '\r') - stockname[strlen -1] = '\0'; - - - this->consumer_handler_->stock_name_ = stockname; - - // Get the threshold value. - char needed_stock_value[BUFSIZ]; - ACE_DEBUG ((LM_DEBUG, - "Threshold Stock value?")); - - strlen = ACE_OS::read (ACE_STDIN, - needed_stock_value, - sizeof needed_stock_value); - - if (needed_stock_value[strlen -1] == '\n') - needed_stock_value[strlen -1] = '\0'; - - this->consumer_handler_->threshold_value_ = - ACE_OS::atoi (needed_stock_value); - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - - // Register with the server. - this->consumer_handler_->server_->register_callback (this->consumer_handler_->stock_name_, - this->consumer_handler_->threshold_value_, - this->consumer_handler_->consumer_var_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Note the registration. - consumer_handler_->registered_ = 1; - consumer_handler_->unregistered_ = 0; - - // @@ Up to this point.. - - ACE_DEBUG ((LM_DEBUG, - "registeration done!\n")); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"Consumer_Input_Handler::register_consumer()\n"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - -return 0; -} - - - -int -Consumer_Input_Handler::unregister_consumer () -{ - // Only if the consumer is registered can the - // unregistration take place. - - if (consumer_handler_->registered_ == 1) - { - this->consumer_handler_->server_->unregister_callback (this->consumer_handler_->consumer_var_.in()); - - ACE_DEBUG ((LM_DEBUG, - " Consumer Unregistered \n ")); - consumer_handler_->unregistered_ = 1; - consumer_handler_->registered_ = 0; - } - else - ACE_DEBUG ((LM_DEBUG, - " Invalid Operation: Consumer not Registered\n")); - - - return 0; -} - -int -Consumer_Input_Handler::quit_consumer_process () -{ - // Only if the consumer is registered and wants to shut - // down, its necessary to unregister and then shutdown. - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - if (consumer_handler_->unregistered_ != 1 && consumer_handler_->registered_ == 1) - { - // If the notifier has exited and the consumer tries to call - // the unregister_callback method tehn an execption will be - // raised. Hence check for this case using ACE_TRY_ENV. - this->consumer_handler_->server_->unregister_callback (this->consumer_handler_->consumer_var_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - " Consumer Unregistered \n ")); - consumer_handler_->unregistered_ = 0; - consumer_handler_->registered_ = 0; - } - this->consumer_handler_->consumer_servant_->shutdown (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - this->consumer_handler_->consumer_servant_->shutdown (ACE_TRY_ENV); - - // There would be an exception only if there is a communication - // failure between the notifier and consumer. On catching the - // exception proclaim the problem and do a graceful exit. - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Communication failed!\n"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - -return 0; -} - -Consumer_Input_Handler::~Consumer_Input_Handler (void) -{ - // No-op -} diff --git a/TAO/examples/Callback_Quoter/Consumer_Input_Handler.h b/TAO/examples/Callback_Quoter/Consumer_Input_Handler.h deleted file mode 100644 index 8ce5d33aebc..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer_Input_Handler.h +++ /dev/null @@ -1,102 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Consumer_Input_Handler.h -// -// = DESCRIPTION -// Definition of the Callback_Qouter Consumer Client class, Consumer_Input_Handler. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#ifndef CONSUMER_INPUT_HANDLER_H -#define CONSUMER_INPUT_HANDLER_H - -#include "ace/OS.h" -#include "ace/Reactor.h" -#include "ace/Event_Handler.h" -#include "Consumer_Handler.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -// Creating a class to handle input events. -// Since only inputs need to be handled, only the handle_input -// method is overlaoded. - -class Consumer_Handler; - -class Consumer_Input_Handler : public ACE_Event_Handler -{ - // = TITLE - // Callback Quoter Consumer Client class. - // - // = DESCRIPTION - // Connects to the Callback Quoter server and - // registers the Consumer object with the it - // and receives the stock status from the Notifier. - -public: - Consumer_Input_Handler (Consumer_Handler *consumer_handler); - // Constructor. - - int handle_input (ACE_HANDLE); - // Handle the user input. - - int register_consumer (void); - // Registration with the notifier. - - int unregister_consumer (void); - // Cancelling the registration with the notifier. - - int quit_consumer_process (void); - // Ends the consumer process. - - friend class ACE_Shutup_GPlusPlus; - // Turn off g++ warning - - enum - { - // = TITLE - // A set of values for the execution of the consumer. - // - // = DESCRIPTION - // Used so that the process of registering, unregistering - // and exitting neednt be dependent on 'r' 'u' and 'q'. - // Also, #define clutters up the global namespace. - - REGISTER = 'r', - // The character that the user must type to register the consumer with - // the Notifier_server. - - UNREGISTER = 'u', - // The character that the user must type to unregister the consumer with - // the Notifier_server. - - EXIT = 'q' - // The character the user must type to quit the consumer client - // application. - }; - -private: - ~Consumer_Input_Handler (void); - // the destructor. - - Consumer_Handler *consumer_handler_; - // The Consumer_Handler object. - - - -}; - -#endif /* CONSUMER_INPUT_HANDLER_H */ diff --git a/TAO/examples/Callback_Quoter/Consumer_Signal_Handler.cpp b/TAO/examples/Callback_Quoter/Consumer_Signal_Handler.cpp deleted file mode 100644 index ad6d9ae5f6c..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer_Signal_Handler.cpp +++ /dev/null @@ -1,87 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Consumer_Input_Handler.cpp -// -// = DESCRIPTION -// Implementation of the Consumer_Signal_Handler class. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#include "Consumer_Signal_Handler.h" - -Consumer_Signal_Handler::Consumer_Signal_Handler (Consumer_Handler *consumer_handler) - : consumer_handler_ (consumer_handler) -{ -} - -Consumer_Signal_Handler:: ~Consumer_Signal_Handler (void) -{ -} - -// Method to handle the ^C signal. -int -Consumer_Signal_Handler::handle_signal (int /* signum */, - siginfo_t*, - ucontext_t*) -{ - ACE_DEBUG ((LM_DEBUG, - " Exiting on receiving ^C\n")); - - quit_on_signal (); - - return 0; -} - -// Method called before the Event_Handler dies. -int -Consumer_Signal_Handler::handle_close (ACE_HANDLE, - ACE_Reactor_Mask) -{ - // End of the signal handler. - delete this; - - return 0; -} - -int -Consumer_Signal_Handler::quit_on_signal (void) -{ - // Only if the consumer is registered and wants to shut down, its - // necessary to unregister and then shutdown. - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - if (consumer_handler_->unregistered_ != 1 - && consumer_handler_->registered_ == 1) - { - this->consumer_handler_->server_->unregister_callback - (this->consumer_handler_->consumer_var_.in ()); - ACE_DEBUG ((LM_DEBUG, - "Consumer Unregistered\n")); - } - this->consumer_handler_->consumer_servant_->shutdown (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"Consumer_Input_Handler::quit_consumer_process()"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/Callback_Quoter/Consumer_Signal_Handler.h b/TAO/examples/Callback_Quoter/Consumer_Signal_Handler.h deleted file mode 100644 index 0e37fa58af3..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer_Signal_Handler.h +++ /dev/null @@ -1,71 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Consumer_Input_Handler.h -// -// = DESCRIPTION -// Definition of the Consumer_Signal_Handler class. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#ifndef CONSUMER_SIGNAL_HANDLER_H -#define CONSUMER_SIGNAL_HANDLER_H - -#include "ace/OS.h" -#include "ace/Reactor.h" -#include "ace/Event_Handler.h" -#include "Consumer_Handler.h" - -class Consumer_Handler; - -class Consumer_Signal_Handler : public ACE_Event_Handler -{ - // = TITLE - // Creating a class to handle signal events. - // - // = DESCRIPTION - // Since only signals need to be handled, only the method - // is overlaoded. -public: - - Consumer_Signal_Handler (Consumer_Handler *consumer_handler); - // The consumer_handler refernce will be used to access the servant - // methods. - - int handle_signal (int signum, - siginfo_t*, - ucontext_t*); - // This method takes action on an signal event. - - int handle_close (ACE_HANDLE handle, - ACE_Reactor_Mask close_mask); - // For removal of the signal handler from the dispatch tables. When - // the handle_signal () returns < 0 this method will be executed - // automatically. - -private: - friend class ACE_Shutup_GPlusPlus; - // Turn off g++ warning - - ~Consumer_Signal_Handler (void); - // Private destructor so that the signal handler is always created - // dynamically and hence the heap doesnt get corrupted. - - int quit_on_signal (void); - // Exit gracefully on a signal. - - Consumer_Handler *consumer_handler_; - // Reference to the Consumer_Handler which is used in accessing the - // servant methods. -}; - -#endif /* CONSUMER_SIGNAL_HANDLER_H */ diff --git a/TAO/examples/Callback_Quoter/Consumer_i.cpp b/TAO/examples/Callback_Quoter/Consumer_i.cpp deleted file mode 100644 index 8464a357f11..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer_i.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Consumer_i.cpp -// -// = DESCRIPTION -// Implements the Consumer_i class, which is used by the -// callback quoter client. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#include "Consumer_i.h" - -Consumer_i::Consumer_i (void) -{ -} - -Consumer_i::~Consumer_i (void) -{ -} - -void -Consumer_i::push (const Callback_Quoter::Info &data, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // On getting the needed information you now proceed to the next - // step, which could be obtaining the shares. - - ACE_DEBUG ((LM_DEBUG, - "Selling 10,000 %s shares at %d!!\n", - data.stock_name.in (), - data.value)); -} - -void -Consumer_i::shutdown (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - - // Instruct the ORB to shutdown. - - ACE_DEBUG ((LM_DEBUG, - " consumer shutting down \n ")); - - this->orb_->shutdown (); -} - -void -Consumer_i::orb (CORBA::ORB_ptr o) -{ - // Makes a copy of the ORB pointer. - - this->orb_ = CORBA::ORB::_duplicate (o); -} diff --git a/TAO/examples/Callback_Quoter/Consumer_i.h b/TAO/examples/Callback_Quoter/Consumer_i.h deleted file mode 100644 index 319214fb627..00000000000 --- a/TAO/examples/Callback_Quoter/Consumer_i.h +++ /dev/null @@ -1,66 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Consumer_i.h -// -// = DESCRIPTION -// Defines the implementation header for the Consumer interface. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#ifndef CONSUMER_I_H -#define CONSUMER_I_H -#include "ConsumerS.h" -#include "ConsumerC.h" -#include "NotifierS.h" - -class Consumer_i : public POA_Callback_Quoter::Consumer -{ - // = TITLE - // Consumer object implementation. - // - // = DESCRIPTION - // This class has methods that are called by the callback quoter - // server. -public: - // = Initialization and termination methods. - Consumer_i (void); - // Constructor. - - ~Consumer_i (void); - // Destructor. - - void push (const Callback_Quoter::Info & data, - CORBA_Environment& TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Gets the stock information from the Notifier. - - virtual void shutdown (CORBA::Environment &TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Used to get the consumer to shut down. - - void orb (CORBA::ORB_ptr o); - // Set the ORB pointer. - -private: - CORBA::ORB_var orb_; - // ORB pointer. - - int quit_; - // If 1 denotes that the consumer is dead else alive. - - // @@ Please rename to Notifier. - Notifier_var server_; - // Smart pointer to the Notifier object. -}; - -#endif /* CONSUMER_I_H */ diff --git a/TAO/examples/Callback_Quoter/Makefile b/TAO/examples/Callback_Quoter/Makefile deleted file mode 100644 index 19535e14030..00000000000 --- a/TAO/examples/Callback_Quoter/Makefile +++ /dev/null @@ -1,4266 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -LDLIBS = -lTAO -lorbsvcs - -IDL_SRC = NotifierC.cpp NotifierS.cpp ConsumerC.cpp ConsumerS.cpp - -PROG_SRCS = \ - consumer.cpp \ - supplier.cpp \ - Supplier_i.cpp \ - Supplier_Timer_Handler.cpp\ - notifier.cpp \ - Notifier_Input_Handler.cpp \ - Notifier_i.cpp \ - Consumer_i.cpp \ - Consumer_Input_Handler.cpp \ - Consumer_Signal_Handler.cpp \ - Consumer_Handler.cpp - - -SRC = $(IDL_SRC) $(PROG_SRCS) - -CONSUMER_CLT_OBJS = \ - NotifierC.o \ - NotifierS.o \ - Consumer_Input_Handler.o \ - Consumer_Signal_Handler.o \ - Consumer_Handler.o \ - consumer.o\ - ConsumerC.o\ - ConsumerS.o \ - Consumer_i.o -MARKET_CLT_OBJS = \ - NotifierC.o \ - NotifierS.o \ - Supplier_i.o \ - Supplier_Timer_Handler.o \ - supplier.o \ - ConsumerC.o\ - ConsumerS.o \ - Consumer_i.o - -SIMPLE_SVR_OBJS = \ - NotifierC.o \ - NotifierS.o \ - Notifier_i.o \ - Notifier_Input_Handler.o \ - ConsumerC.o\ - ConsumerS.o\ - notifier.o - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = notifier \ - consumer\ - supplier - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Naming - -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -LDFLAGS += -L$(TAO_ROOT)/tao -L$(ACE_ROOT)/ace -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -.PRECIOUS: NotifierC.cpp NotifierC.i NotifierC.h -.PRECIOUS: NotifierS.cpp NotifierS.i NotifierS.h -.PRECIOUS: NotifierS_T.cpp NotifierS_T.i NotifierS_T.h -.PRECIOUS: ConsumerC.cpp ConsumerC.i ConsumerC.h -.PRECIOUS: ConsumerS.cpp ConsumerS.i ConsumerS.h -.PRECIOUS: ConsumerS_T.cpp ConsumerS_T.i ConsumerS_T.h - -notifier:$(addprefix $(VDIR),$(SIMPLE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -supplier:$(addprefix $(VDIR),$(MARKET_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -consumer:$(addprefix $(VDIR),$(CONSUMER_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) -realclean: clean - -$(RM) NotifierC.* NotifierS.* NotifierS_T.* \ - ConsumerC.* ConsumerS.* ConsumerS_T.* - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/NotifierC.o .obj/NotifierC.so .shobj/NotifierC.o .shobj/NotifierC.so: NotifierC.cpp NotifierC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.h ConsumerC.i NotifierC.i -.obj/NotifierS.o .obj/NotifierS.so .shobj/NotifierS.o .shobj/NotifierS.so: NotifierS.cpp NotifierS.h ConsumerS.h ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i ConsumerS_T.h ConsumerS_T.i ConsumerS_T.cpp ConsumerS.i \ - NotifierC.h NotifierC.i NotifierS_T.h NotifierS_T.i NotifierS_T.cpp \ - NotifierS.i -.obj/ConsumerC.o .obj/ConsumerC.so .shobj/ConsumerC.o .shobj/ConsumerC.so: ConsumerC.cpp ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i -.obj/ConsumerS.o .obj/ConsumerS.so .shobj/ConsumerS.o .shobj/ConsumerS.so: ConsumerS.cpp ConsumerS.h ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i ConsumerS_T.h ConsumerS_T.i ConsumerS_T.cpp ConsumerS.i -.obj/consumer.o .obj/consumer.so .shobj/consumer.o .shobj/consumer.so: consumer.cpp Consumer_Handler.h ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i NotifierC.h NotifierC.i Consumer_i.h ConsumerS.h \ - ConsumerS_T.h ConsumerS_T.i ConsumerS_T.cpp ConsumerS.i NotifierS.h \ - NotifierS_T.h NotifierS_T.i NotifierS_T.cpp NotifierS.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - Consumer_Input_Handler.h Consumer_Signal_Handler.h -.obj/supplier.o .obj/supplier.so .shobj/supplier.o .shobj/supplier.so: supplier.cpp Supplier_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - NotifierC.h ConsumerC.h ConsumerC.i NotifierC.i \ - Supplier_Timer_Handler.h -.obj/Supplier_i.o .obj/Supplier_i.so .shobj/Supplier_i.o .shobj/Supplier_i.so: Supplier_i.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - Supplier_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - NotifierC.h ConsumerC.h ConsumerC.i NotifierC.i \ - Supplier_Timer_Handler.h -.obj/Supplier_Timer_Handler.o .obj/Supplier_Timer_Handler.so .shobj/Supplier_Timer_Handler.o .shobj/Supplier_Timer_Handler.so: Supplier_Timer_Handler.cpp \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - Supplier_Timer_Handler.h \ - $(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/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - Supplier_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - NotifierC.h ConsumerC.h ConsumerC.i NotifierC.i -.obj/notifier.o .obj/notifier.so .shobj/notifier.o .shobj/notifier.so: notifier.cpp Notifier_Input_Handler.h Notifier_i.h \ - NotifierS.h ConsumerS.h ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i ConsumerS_T.h ConsumerS_T.i ConsumerS_T.cpp ConsumerS.i \ - NotifierC.h NotifierC.i NotifierS_T.h NotifierS_T.i NotifierS_T.cpp \ - NotifierS.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h -.obj/Notifier_Input_Handler.o .obj/Notifier_Input_Handler.so .shobj/Notifier_Input_Handler.o .shobj/Notifier_Input_Handler.so: Notifier_Input_Handler.cpp \ - Notifier_Input_Handler.h Notifier_i.h NotifierS.h ConsumerS.h \ - ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i ConsumerS_T.h ConsumerS_T.i ConsumerS_T.cpp ConsumerS.i \ - NotifierC.h NotifierC.i NotifierS_T.h NotifierS_T.i NotifierS_T.cpp \ - NotifierS.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i -.obj/Notifier_i.o .obj/Notifier_i.so .shobj/Notifier_i.o .shobj/Notifier_i.so: Notifier_i.cpp Notifier_i.h NotifierS.h ConsumerS.h \ - ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i ConsumerS_T.h ConsumerS_T.i ConsumerS_T.cpp ConsumerS.i \ - NotifierC.h NotifierC.i NotifierS_T.h NotifierS_T.i NotifierS_T.cpp \ - NotifierS.i \ - $(TAO_ROOT)/tao/TAO.h -.obj/Consumer_i.o .obj/Consumer_i.so .shobj/Consumer_i.o .shobj/Consumer_i.so: Consumer_i.cpp Consumer_i.h ConsumerS.h ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i ConsumerS_T.h ConsumerS_T.i ConsumerS_T.cpp ConsumerS.i \ - NotifierS.h NotifierC.h NotifierC.i NotifierS_T.h NotifierS_T.i \ - NotifierS_T.cpp NotifierS.i -.obj/Consumer_Input_Handler.o .obj/Consumer_Input_Handler.so .shobj/Consumer_Input_Handler.o .shobj/Consumer_Input_Handler.so: Consumer_Input_Handler.cpp \ - Consumer_Input_Handler.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.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/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - Consumer_Handler.h ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i NotifierC.h NotifierC.i Consumer_i.h ConsumerS.h \ - ConsumerS_T.h ConsumerS_T.i ConsumerS_T.cpp ConsumerS.i NotifierS.h \ - NotifierS_T.h NotifierS_T.i NotifierS_T.cpp NotifierS.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - Consumer_Signal_Handler.h -.obj/Consumer_Signal_Handler.o .obj/Consumer_Signal_Handler.so .shobj/Consumer_Signal_Handler.o .shobj/Consumer_Signal_Handler.so: Consumer_Signal_Handler.cpp \ - Consumer_Signal_Handler.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.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/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - Consumer_Handler.h ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i NotifierC.h NotifierC.i Consumer_i.h ConsumerS.h \ - ConsumerS_T.h ConsumerS_T.i ConsumerS_T.cpp ConsumerS.i NotifierS.h \ - NotifierS_T.h NotifierS_T.i NotifierS_T.cpp NotifierS.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - Consumer_Input_Handler.h -.obj/Consumer_Handler.o .obj/Consumer_Handler.so .shobj/Consumer_Handler.o .shobj/Consumer_Handler.so: Consumer_Handler.cpp Consumer_Handler.h \ - ConsumerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ConsumerC.i NotifierC.h NotifierC.i Consumer_i.h ConsumerS.h \ - ConsumerS_T.h ConsumerS_T.i ConsumerS_T.cpp ConsumerS.i NotifierS.h \ - NotifierS_T.h NotifierS_T.i NotifierS_T.cpp NotifierS.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - Consumer_Input_Handler.h Consumer_Signal_Handler.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Callback_Quoter/Makefile.bor b/TAO/examples/Callback_Quoter/Makefile.bor deleted file mode 100644 index b8a062276e4..00000000000 --- a/TAO/examples/Callback_Quoter/Makefile.bor +++ /dev/null @@ -1,11 +0,0 @@ -# -# Makefile for building the Callback Quoter example -# - -!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor> - -all: - $(MAKE) -f Callback_Quoter_Notifier.bor $(MAKE_FLAGS) - $(MAKE) -f Callback_Quoter_Consumer.bor $(MAKE_FLAGS) - $(MAKE) -f Callback_Quoter_Supplier.bor $(MAKE_FLAGS) - diff --git a/TAO/examples/Callback_Quoter/Notifier.dsp b/TAO/examples/Callback_Quoter/Notifier.dsp deleted file mode 100644 index b2aebb46553..00000000000 --- a/TAO/examples/Callback_Quoter/Notifier.dsp +++ /dev/null @@ -1,323 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Callback Quoter Notifier" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Callback Quoter Notifier - 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 "Notifier.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 "Notifier.mak" CFG="Callback Quoter Notifier - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Callback Quoter Notifier - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Callback Quoter Notifier - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Callback Quoter Notifier - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Callback Quoter Notifier - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /I "..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Callback Quoter Notifier - Win32 Release" -# Name "Callback Quoter Notifier - Win32 Debug" -# Begin Group "Source files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\consumerC.cpp -# End Source File -# Begin Source File - -SOURCE=.\consumerS.cpp -# End Source File -# Begin Source File - -SOURCE=.\notifier.cpp -# End Source File -# Begin Source File - -SOURCE=.\Notifier_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Notifier_Input_Handler.cpp -# End Source File -# Begin Source File - -SOURCE=.\NotifierC.cpp -# End Source File -# Begin Source File - -SOURCE=.\NotifierS.cpp -# End Source File -# End Group -# Begin Group "Header files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\consumerC.i -# End Source File -# Begin Source File - -SOURCE=.\consumerS.h -# End Source File -# Begin Source File - -SOURCE=.\consumerS.i -# End Source File -# Begin Source File - -SOURCE=.\Notifier_i.h -# End Source File -# Begin Source File - -SOURCE=.\Notifier_Input_Handler.h -# End Source File -# Begin Source File - -SOURCE=.\NotifierC.h -# End Source File -# Begin Source File - -SOURCE=.\NotifierC.i -# End Source File -# Begin Source File - -SOURCE=.\NotifierS.h -# End Source File -# Begin Source File - -SOURCE=.\NotifierS.i -# End Source File -# End Group -# Begin Group "IDL files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Consumer.idl - -!IF "$(CFG)" == "Callback Quoter Notifier - Win32 Release" - -USERDEP__CONSU="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Consumer.idl -InputName=Consumer - -BuildCmds= \ - ..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Callback Quoter Notifier - Win32 Debug" - -USERDEP__CONSU="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Consumer.idl -InputName=Consumer - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Notifier.idl - -!IF "$(CFG)" == "Callback Quoter Notifier - Win32 Release" - -USERDEP__NOTIF="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Notifier.idl -InputName=Notifier - -BuildCmds= \ - ..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Callback Quoter Notifier - Win32 Debug" - -USERDEP__NOTIF="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Notifier.idl -InputName=Notifier - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Callback_Quoter/Notifier.idl b/TAO/examples/Callback_Quoter/Notifier.idl deleted file mode 100644 index 1c86ed60537..00000000000 --- a/TAO/examples/Callback_Quoter/Notifier.idl +++ /dev/null @@ -1,35 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#if !defined (_NOTIFIER_IDL) -#define _NOTTIFIER_IDL - -#include "Consumer.idl" - -interface Notifier -{ - // = TITLE - // The Notifier interface in the Callback_Quoter example which - // contains the methods by which the consumer can register, - // unregister from the Notifier. - - void register_callback (in string stock_name, - in long threshold_value, - in Callback_Quoter::Consumer consumer_handler) - raises (Callback_Quoter::Invalid_Stock); - // Register a distributed callback handler that is invoked when the - // given stock reaches the desired threshold value. - - void unregister_callback (in Callback_Quoter::Consumer consumer_handler) - raises (Callback_Quoter::Invalid_Handle); - // Remove the handler. - - void market_status (in string stock_name, - in long stock_value); - // Get market status. - - void shutdown (); - // Shuts the server down. -}; - -#endif /* _NOTIFIER_IDL */ diff --git a/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp b/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp deleted file mode 100644 index a040da0ac6f..00000000000 --- a/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp +++ /dev/null @@ -1,269 +0,0 @@ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Notifier_Input_Handler.cpp -// -// = DESCRIPTION -// Implementation of the callback quoter Notifier_Input_Handler class. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#include "Notifier_Input_Handler.h" -#include "ace/Get_Opt.h" - -// Constructor. - -Notifier_Input_Handler::Notifier_Input_Handler (void) - : ior_output_file_ (0), - argc_ (0), - argv_ (0), - using_naming_service_ (1) -{ - // no-op. -} - -// Destructor. - -Notifier_Input_Handler::~Notifier_Input_Handler (void) -{ - // Make sure to cleanup the STDIN handler. - - if (ACE_Event_Handler::remove_stdin_handler - (this->notifier_i_.orb_->orb_core ()->reactor (), - this->notifier_i_.orb_->orb_core ()->thr_mgr ()) == -1) - ACE_ERROR ((LM_ERROR, - "%p\n", - "remove_stdin_handler")); - -} - -// The naming service is initialized and the naming context as well as -// the object name is bound to the naming server. - -int -Notifier_Input_Handler::init_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - - CORBA::ORB_var orb = this->orb_manager_.orb (); - PortableServer::POA_var child_poa = this->orb_manager_.child_poa (); - - this->naming_server_.init (orb.in (), - child_poa.in ()); - // create the name for the naming service - - CosNaming::Name notifier_obj_name (1); - notifier_obj_name.length (1); - notifier_obj_name[0].id = CORBA::string_dup ("Notifier"); - - // (re)Bind the object. - ACE_TRY - { - Notifier_var notifier_obj = notifier_i_._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->orb_manager_.activate_poa_manager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - naming_server_->rebind (notifier_obj_name, - notifier_obj.in(), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - ACE_CATCH (CosNaming::NamingContext::AlreadyBound, ex) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to bind %s \n", - "Notifier"), - -1); - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -// Parse the command-line arguments and set options. -int -Notifier_Input_Handler::parse_args (void) -{ - ACE_Get_Opt get_opts (this->argc_, this->argv_, "df:s "); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; ///***** - break; - - case 'f': // output the IOR toi a file. - this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w"); - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - get_opts.optarg), - -1); - break; - - case 's': // don't use the naming service - this->using_naming_service_ = 0; - break; - - case '?': // display help for use of the server. - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-f] " - " [-s]" - "\n", - argv_ [0]), - 1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Initialize the server. - -int -Notifier_Input_Handler::init (int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - - // Call the init of to initialize the ORB and - // create the child poa under the root POA. - - this->argc_ = argc; - this->argv_ = argv; - - if (this->orb_manager_.init_child_poa (this->argc_, - this->argv_, - "child_poa", - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init_child_poa"), - -1); - ACE_CHECK_RETURN (-1); - - int retval = this->parse_args (); - - if (retval != 0) - return retval; - - // Register our to handle STDIN events, which will - // trigger the method to process these events. - - CORBA::ORB_var orb = this->orb_manager_.orb (); - - if (ACE_Event_Handler::register_stdin_handler - (this, - orb->orb_core ()->reactor (), - orb->orb_core ()->thr_mgr ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "register_stdin_handler"), - -1); - - // Stash our ORB pointer for later reference. - this->notifier_i_.orb (orb.in ()); - - // Activate the servant in the POA. - CORBA::String_var str = - this->orb_manager_.activate_under_child_poa ("Notifier", - &this->notifier_i_, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", - str.in ())); - - if (this->ior_output_file_) - { - ACE_OS::fprintf (this->ior_output_file_, - "%s", - str.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - - if (this->using_naming_service_) - { - this->init_naming_service (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - } - return 0; -} - -int -Notifier_Input_Handler::run (CORBA::Environment &ACE_TRY_ENV) -{ - // Run the main event loop for the ORB. - - - ACE_DEBUG ((LM_DEBUG, - " Type \"q\" to quit \n ")); - - if (this->orb_manager_.run (ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Notifier_Input_Handler::run"), - -1); - ACE_CHECK_RETURN (-1); - - return 0; -} - -int -Notifier_Input_Handler::handle_input (ACE_HANDLE) -{ - char buf[BUFSIZ]; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // The string could read contains \n\0 hence using ACE_OS::read - // which returns the no of bytes read and hence i can manipulate - // and remove the devil from the picture i.e '\n' ! ;) - - ssize_t strlen = ACE_OS::read (ACE_STDIN, - buf, - sizeof buf); - if (buf[strlen -1] == '\n') - buf[strlen -1] = '\0'; - - ACE_DEBUG ((LM_DEBUG, - "%s", - buf)); - - if (tolower(buf[0]) == 'q') - { - // @@ Please remove this call if it's not used. - // (this->notifier_i_.consumer_map_).close(); - this->notifier_i_.shutdown (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Input_Handler::init"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/Callback_Quoter/Notifier_Input_Handler.h b/TAO/examples/Callback_Quoter/Notifier_Input_Handler.h deleted file mode 100644 index c57fb296c60..00000000000 --- a/TAO/examples/Callback_Quoter/Notifier_Input_Handler.h +++ /dev/null @@ -1,92 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// =========================================================== -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Notifier_Input_Handler.h -// -// = DESCRIPTION -// Definition of the Callback_Quoter Notifier_Input_Handler class. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#ifndef SUPPLIER_INPUT_HANDLER_H -#define SUPPLIER_INPUT_HANDLER_H - -#include "Notifier_i.h" -#include "NotifierS.h" -#include "tao/TAO.h" -#include "orbsvcs/CosNamingS.h" -#include "orbsvcs/Naming/Naming_Utils.h" - -class Notifier_Input_Handler : public ACE_Event_Handler -{ - // = TITLE - // The class defines the callback quoter Notifier initialization - // and run methods. - // - // = DESCRIPTION - // This class handles initialization tasks, as well, such as - // setting up the Orb manager and registers the Notifier servant - // object. -public: - // = Initialization and termination methods. - Notifier_Input_Handler (void); - // Constructor. - - ~Notifier_Input_Handler (void); - // Destructor. - - int init (int argc, - char *argv[], - CORBA::Environment &env); - // Initialize the Notifier who plays the role of the server here. - - int run (CORBA::Environment &env); - // Run the ORB. - - virtual int handle_input (ACE_HANDLE); - // Handle the user input. - -private: - - TAO_ORB_Manager orb_manager_; - // The tao orb manager object. - - int parse_args (void); - // Parses the command line arguments. - - int init_naming_service (CORBA::Environment &env); - // Initialises the name server and registers the Notifier object - // name with the name server. - - FILE *ior_output_file_; - // File where the IOR of the Notifier object is stored. - - int argc_; - // Number of command line arguments. - - char **argv_; - // The command line arguments. - - CosNaming::NamingContext_var naming_context_; - // Naming context for the naming service. - - TAO_Naming_Server naming_server_; - // An instance of the name server, wherein the naming context - // containg the factory of objects will be registered. - - Notifier_i notifier_i_; - // The servant object registered with the orb. - - int using_naming_service_; - // This specifies whether the naming service is to be used. -}; - -#endif /* NOTIFIER_INPUT_HANDLER_H */ diff --git a/TAO/examples/Callback_Quoter/Notifier_i.cpp b/TAO/examples/Callback_Quoter/Notifier_i.cpp deleted file mode 100644 index d3bcc01538d..00000000000 --- a/TAO/examples/Callback_Quoter/Notifier_i.cpp +++ /dev/null @@ -1,271 +0,0 @@ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Notifier_i.cpp -// -// = DESCRIPTION -// Implementation of the Notifier_i class. This class is the servant -// object for the callback quoter server. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#include "Notifier_i.h" -#include "ace/OS.h" -#include "tao/Exception.h" -#include "tao/try_macros.h" - - -Notifier_i::Notifier_i (void) - : notifier_exited_(0) -{ - // No-op -} - -Notifier_i::~Notifier_i (void) -{ - // No-op -} - -// Register a distributed callback handler that is invoked when the -// given stock reaches the desired threshold value. - -void -Notifier_i::register_callback (const char *stock_name, - CORBA::Long threshold_value, - Callback_Quoter::Consumer_ptr consumer_handler, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Callback_Quoter::Invalid_Stock)) -{ - // Store the client information. - Consumer_Data consumer_data; - - // Necessary to make another copy of the consumer_handler using - // <_duplicate> so that we dont lose the consumer object reference - // after the method invocation is done. - consumer_data.consumer_ = - Callback_Quoter::Consumer::_duplicate (consumer_handler); - - consumer_data.desired_value_= threshold_value; - - CONSUMERS *consumers = 0; - - // The consumer_map consists of the stockname and various consumers - // with their threshold values. To register a consumer into this - // map, first the stockname is matched with an existing one (if any) - // and the consumer and the threshold value is attached. Else, a new - // entry is created for the stockname. - - if (this->consumer_map_.find (stock_name, consumers) == 0) - { - if ( consumers->insert (consumer_data) == -1) - ACE_THROW ( Callback_Quoter::Invalid_Stock ("Insertion failed! Invalid Stock!\n")); - else - ACE_DEBUG ((LM_DEBUG, - "Inserted map entry: stockname %s threshold %d", - stock_name, - threshold_value)); - } - else - { - // the unbounded set entry is created. - // NOTE:: its pathetic, but to make this macro call its necessary to name - // your environment variable ACE_TRY_ENV - ACE_NEW_THROW_EX (consumers, CONSUMERS, CORBA::NO_MEMORY ()); - ACE_CHECK; - - // When a new entry is tried to be inserted into the unbounded set and it - // fails an exception is raised. - if (consumers->insert (consumer_data) == -1) - ACE_THROW ( Callback_Quoter::Invalid_Stock ("Insertion failed! Invalid Stock!\n")); - - // The bond between the stockname and the consumers - // is fused. - if (this->consumer_map_.bind (stock_name, consumers) == -1) - ACE_ERROR ((LM_ERROR, - "register_callback: Bind failed!/n")); - else - ACE_DEBUG ((LM_DEBUG, - "new map entry: stockname %s threshold %d\n", - stock_name, - threshold_value)); - } -} - -// Obtain a pointer to the orb. - -void -Notifier_i::orb (CORBA::ORB_ptr orb) -{ - this->orb_ = orb; -} - -// Remove the client handler. - -void -Notifier_i::unregister_callback (Callback_Quoter::Consumer_ptr consumer, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Callback_Quoter::Invalid_Handle)) -{ - // The consumer_map consists of a map of stocknames with consumers - // and their threshold values attached to it. To unregister a - // consumer it is necessary to remove that entry from the - // map. Hence, the map is iterated till the consumer entry to be - // removed is found and then removed from the map. - - // Check to see whether the hash_map still exists. Chances are there - // that the notifier has exited closing the hash map. - if (notifier_exited_ == 1) - return; - - for (CONSUMER_MAP::ITERATOR iter = this->consumer_map_.begin (); - iter != this->consumer_map_.end (); - ++iter) - { - // The *iter is nothing but the stockname + unbounded set of - // consumers+threshold values, i.e a ACE_Hash_Map_Entry. - - Consumer_Data consumer_to_remove; - - consumer_to_remove.consumer_ = - Callback_Quoter::Consumer::_duplicate (consumer); - - // int_id is a member of the ACE_Hash_Map_Entry. The remove - // method will do a find internally using operator == which - // will check only the consumer pointers. If match found it - // will be removed from the set. If the consumer cannot be - // removed an exception is raised. - - if ((*iter).int_id_->remove (consumer_to_remove) == -1) - ACE_THROW (Callback_Quoter::Invalid_Handle ( "Unregistration failed! Invalid Consumer Handle!\n")); - else - ACE_DEBUG ((LM_DEBUG, - "unregister_callback:consumer removed\n")); - } -} - -// Gets the market status and sends the information to the consumer -// who is interested in it. - -void -Notifier_i::market_status (const char *stock_name, - CORBA::Long stock_value, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "Notifier_i:: The stockname is %s with price %d\n", - stock_name, - stock_value)); - - CONSUMERS *consumers; - - if (this->consumer_map_.find (stock_name, consumers) == 0) - { - // Go through the list of to find which - // registered client wants to be notified. - - for (CONSUMERS::ITERATOR iter = consumers->begin (); - iter != consumers->end (); - ++iter) - { - // Check whether the stockname is equal before proceeding - // further. - if (stock_value >= (*iter).desired_value_) - { - Callback_Quoter::Info interested_consumer_data; - - interested_consumer_data.stock_name = - CORBA::string_dup (stock_name); - interested_consumer_data.value = - stock_value; - - ACE_DEBUG ((LM_DEBUG, - "pushing information to consumer\n")); - - // The status desired by the consumer is then passed to - // it. - (*iter).consumer_->push (interested_consumer_data); - } - } - } - else - ACE_DEBUG ((LM_DEBUG, - " Stock Not Present!\n")); - // Raising an exception caused problems as they were caught by the Market daemon - // who exited prematurely. - -} - -void -Notifier_i::shutdown (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - if ( this->consumer_map_.close () > 0) - ACE_ERROR ((LM_ERROR, - "Consumer_map_close error!\n")); - else - // This marks the exit of the notifier. This should be taken care of - // before the consumer tries to unregister after the notifier quits. - notifier_exited_ = 1; - - ACE_DEBUG ((LM_DEBUG, - "The Callback Quoter server is shutting down...\n")); - - - // Instruct the ORB to shutdown. - this->orb_->shutdown (); - -} - -int -Notifier_i::Consumer_Data::operator== (const Consumer_Data &rhs) -{ - // The <_is_equivalent> function checks if the _var and _ptr objects - // are the same. NOTE: this call might not behave well on other - // ORBs since <_is_equivalent> isn't guaranteed to differentiate - // object references. - - return this->consumer_->_is_equivalent (rhs.consumer_.in ()); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class ACE_Node; -template class ACE_Unbounded_Set; -template class ACE_Unbounded_Set_Iterator; - -template class ACE_Hash_Map_Entry*>; -template class ACE_Hash_Map_Manager*,ACE_Null_Mutex>; -template class ACE_Hash_Map_Manager_Ex*, ACE_Hash, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator_Base_Ex*, ACE_Hash, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator*,ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator_Ex*, ACE_Hash, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Reverse_Iterator*,ACE_Null_Mutex>; -template class ACE_Hash_Map_Reverse_Iterator_Ex*, ACE_Hash, ACE_Equal_To, ACE_Null_Mutex>; - -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate ACE_Node -#pragma instantiate ACE_Unbounded_Set -#pragma instantiate ACE_Unbounded_Set_Iterator - -#pragma instantiate ACE_Hash_Map_Entry*> -#pragma instantiate ACE_Hash_Map_Manager*,ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Manager_Ex*, ACE_Hash, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex*, ACE_Hash, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator*,ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Ex*, ACE_Hash, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Reverse_Iterator*,ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex*, ACE_Hash, ACE_Equal_To, ACE_Null_Mutex> - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Callback_Quoter/Notifier_i.h b/TAO/examples/Callback_Quoter/Notifier_i.h deleted file mode 100644 index e6e225b33e7..00000000000 --- a/TAO/examples/Callback_Quoter/Notifier_i.h +++ /dev/null @@ -1,119 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Notifier.h -// -// = DESCRIPTION -// Defines the implementation header for the Supplier interface. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#ifndef NOTIFIER_I_H -#define NOTIFIER_I_H - -#include "NotifierS.h" -#include "ConsumerC.h" -#include "tao/TAO.h" -#include "ace/Containers.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/SString.h" - -class Notifier_i : public POA_Notifier -{ - // = TITLE - // Notifier servant class. - // - // = DESCRIPTION - // The implementation of the Notifier class, which is the servant - // object for the callback quoter server. - // -public: - // = Initialization and termination methods. - Notifier_i (void); - // Constructor. - - ~Notifier_i (void); - // Destructor. - - virtual void register_callback (const char *stock_name, - CORBA::Long threshold_value, - Callback_Quoter::Consumer_ptr consumer_handler, - CORBA::Environment &TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Callback_Quoter::Invalid_Stock)); - // Register a distributed callback handler that is invoked when the - // given stock reaches the desired threshold value. - - virtual void unregister_callback (Callback_Quoter::Consumer_ptr consumer_handler, - CORBA::Environment &TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Callback_Quoter::Invalid_Handle)); - // Remove the consumer object. - - virtual void market_status (const char *stock_name, - CORBA::Long stock_value, - CORBA::Environment &TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Get the market status. - - void orb (CORBA::ORB_ptr orb); - // Get the orb pointer. - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Shutdown the Notifier. - - // CONSUMER_MAP* get_consumer_map_ptr (); - // Returns the consumer map ptr. - - //private: -public: - CORBA::ORB_ptr orb_; - // The ORB manager. - - class Consumer_Data - { - // = TITLE - // Saves the Consumer_var and the threshold stock value. - public: - int operator== (const Consumer_Data &rhs); - // Comparison operator. - - Callback_Quoter::Consumer_var consumer_; - // Stores the consumer object reference. - - CORBA::Long desired_value_; - // Stores the stock threshold value. - }; - - typedef ACE_Unbounded_Set - CONSUMERS; - - typedef ACE_Hash_Map_Manager - CONSUMER_MAP; - - CONSUMER_MAP consumer_map_; - // This is the hash map with each hash_entry consisting of the stockname - // and an unbounded set of consumer object pointer and the desired stockvalue. - - int notifier_exited_; - //This marks the exit of the notifier. This should be taken care of - // before the consumer tries to unregister after the notifier quits. - - -}; - -#endif /* NOTIFIER_I_H */ diff --git a/TAO/examples/Callback_Quoter/README b/TAO/examples/Callback_Quoter/README deleted file mode 100644 index 783e23b87cd..00000000000 --- a/TAO/examples/Callback_Quoter/README +++ /dev/null @@ -1,128 +0,0 @@ -****************************************************************************** - -CALLBACK QUOTER TEST EXAMPLE -- Kirthika Parameswaran - -****************************************************************************** - -This is an distributed application which highlights the importance -of the callback feature in helping meet the demands of various clients -without them having to poll continously for input from the server. - -There are three parts to the Callback Quoter Example. - -1) Supplier -2) Notifier -3) Consumer - - -In detail: -_________ - -1) Supplier ---is the market feed daemon who keeps feeding the current stock -information to the Notifier periodically. -The timer handler has been used in the implementation of the daemon -process. It reads the current stock value from a file and sends it to -the Notifier. - -2) Notifier --- On getting information form the supplier, it checks whether there are -any consumers ineterested in the information and accordingly sends it to -them. The consumer object is registered with the notifier and the data -is pushed to the consumer usoing this refernce. - -3) Consumer --- He is the stock broker interested in the stock values in the market. -He will make decisions of selling only if the stock he is interested in -has a price greater than the threshold value he has set for that stock. -He just registers himself with the Notifier. This saves the time he wastes in -simply polling for information from the Notifier. -This is the callback feature in this example. - - -Running the application: -________________________ - -CASE I: USing the Naming Service -================================ - -a) Non-interactive - - SImply execute the ./run_test.pl, ofcourse after you start off the Naming Service. - -b) Interactive - -There are 3 parts to it: - -1) shell 1: type at the command prompt: - -./notifier - - - -2) shell 2: type at the command prompt: - -./consumer - -register yourself with 'r' -Enter the stockname and value. -Now wait for information to arrive. - -You can unregister by typing 'u' and quit by typing 'q'. - - - -3) shell 3: type at the command prompt: - -./supplier -ifilename - -The -i option simply tells the daemon where to pick information from. -TIP:: the contents of the input file per line should be: stockname and its price. - Sample: ./example.stocks - -The other option includes setting the period for the stock feed. - ----------------------------------------------------------------------------- - -CASE II: Without using the Naming Service. -========================================= - -There are 3 parts to it: - -1) shell 1: type at the command prompt: - -./notifier -fior_file -s - - - -2) shell 2: type at the command prompt: - -./consumer -fior_file -s - -register yourself with 'r' -Enter the stockname and value. -Now wait for information to arrive. - -You can unregister by typing 'u' and quit by typing 'q'. - - - -3) shell 3: type at the command prompt: - -./supplier -ifilename -fior_file -s - -The -i option simply tells the daemon where to pick information from. -TIP:: the contents of the input file per line should be: stockname and its price. - Sample: ./example.stocks - -The other option includes setting the period for the stock feed. - ------------------------------------------------------------------------------ - -Happy troubleshooting!!! - - - - - - diff --git a/TAO/examples/Callback_Quoter/Supplier.dsp b/TAO/examples/Callback_Quoter/Supplier.dsp deleted file mode 100644 index 36fec3c8a1e..00000000000 --- a/TAO/examples/Callback_Quoter/Supplier.dsp +++ /dev/null @@ -1,326 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Callback Quoter Supplier" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Callback Quoter Supplier - 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 "Supplier.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 "Supplier.mak" CFG="Callback Quoter Supplier - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Callback Quoter Supplier - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Callback Quoter Supplier - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Callback Quoter Supplier - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\..\..\\" /I "..\..\orbsvcs\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Callback Quoter Supplier - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /I "..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Callback Quoter Supplier - Win32 Release" -# Name "Callback Quoter Supplier - Win32 Debug" -# Begin Group "Source files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\consumerC.cpp -# End Source File -# Begin Source File - -SOURCE=.\consumerS.cpp -# End Source File -# Begin Source File - -SOURCE=.\NotifierC.cpp -# End Source File -# Begin Source File - -SOURCE=.\NotifierS.cpp -# End Source File -# Begin Source File - -SOURCE=.\supplier.cpp -# End Source File -# Begin Source File - -SOURCE=.\Supplier_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Supplier_Timer_Handler.cpp -# End Source File -# End Group -# Begin Group "Header files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\consumerC.h -# End Source File -# Begin Source File - -SOURCE=.\consumerC.i -# End Source File -# Begin Source File - -SOURCE=.\consumerS.h -# End Source File -# Begin Source File - -SOURCE=.\consumerS.i -# End Source File -# Begin Source File - -SOURCE=.\NotifierC.h -# End Source File -# Begin Source File - -SOURCE=.\NotifierC.i -# End Source File -# Begin Source File - -SOURCE=.\NotifierS.h -# End Source File -# Begin Source File - -SOURCE=.\NotifierS.i -# End Source File -# Begin Source File - -SOURCE=.\Supplier_i.h -# End Source File -# Begin Source File - -SOURCE=.\Supplier_Timer_Handler.h -# End Source File -# End Group -# Begin Group "IDL files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Consumer.idl - -!IF "$(CFG)" == "Callback Quoter Supplier - Win32 Release" - -USERDEP__CONSU="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Consumer.idl -InputName=Consumer - -BuildCmds= \ - ..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Callback Quoter Supplier - Win32 Debug" - -USERDEP__CONSU="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Consumer.idl -InputName=Consumer - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Notifier.idl - -!IF "$(CFG)" == "Callback Quoter Supplier - Win32 Release" - -USERDEP__NOTIF="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Notifier.idl -InputName=Notifier - -BuildCmds= \ - ..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Callback Quoter Supplier - Win32 Debug" - -USERDEP__NOTIF="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Notifier.idl -InputName=Notifier - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Callback_Quoter/Supplier_Timer_Handler.cpp b/TAO/examples/Callback_Quoter/Supplier_Timer_Handler.cpp deleted file mode 100644 index bd4df9d7029..00000000000 --- a/TAO/examples/Callback_Quoter/Supplier_Timer_Handler.cpp +++ /dev/null @@ -1,101 +0,0 @@ -// $Id$ -// =========================================================== -// -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Supplier_Time _Handler.cpp -// -// = DESCRIPTION -// Implementation of the Supplier_Time_Handler class. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#include "ace/OS.h" -#include "ace/ACE.h" - -#include "Supplier_Timer_Handler.h" - - -ACE_RCSID(Callback_Quoter, Supplier, "$Id$") - -// The supplier refernce is got so that the mathods in the supplier -// can be accessed. - -Supplier_Timer_Handler:: Supplier_Timer_Handler (Supplier *supplier, - ACE_Reactor *reactor, - FILE *file_ptr) - :supplier_obj_ (supplier), - reactor_ (reactor), - file_ptr_ (file_ptr) -{ - // No-op. -} - -// Destructor. - - Supplier_Timer_Handler::~Supplier_Timer_Handler (void) -{ - // No-op. -} - -// Method which will be called by the reactor on timeout. - -int -Supplier_Timer_Handler:: handle_timeout (const ACE_Time_Value & /* tv */, - const void * /* arg */) -{ - - ACE_DEBUG ((LM_DEBUG, - "Sending Stock Market Information to Notifier... \n")); - - // The next current stock rates are obtained from a file. - if (this->get_stock_information () == -1) - return 0; - - - // Send the stock information to the notifier. Graceful exit when - // the notifier doesnt accept the information. - if (this->supplier_obj_->send_market_status (stockname_, - value_) < 0) - { - this->reactor_->end_event_loop (); - ACE_ERROR_RETURN ((LM_ERROR, - "handle_timeout: send_market_status failed! %p\n", - "send_market_status"), - -1); - } - - return 0; -} - -// Get the stock information from a file. - -int -Supplier_Timer_Handler::get_stock_information (void) -{ - // Scan the file and obtain the stock information. - if (fscanf (file_ptr_, - "%s %ld\n", - stockname_, - &value_) != EOF) - { - ACE_DEBUG ((LM_DEBUG, - "Stockname: %s, Stockvalue: %d\n", - stockname_, - value_)); - return 0; - } - else - { - // Close down the Reactor. - this->reactor_->end_event_loop (); - return -1; - } -} - diff --git a/TAO/examples/Callback_Quoter/Supplier_Timer_Handler.h b/TAO/examples/Callback_Quoter/Supplier_Timer_Handler.h deleted file mode 100644 index b359a59e40c..00000000000 --- a/TAO/examples/Callback_Quoter/Supplier_Timer_Handler.h +++ /dev/null @@ -1,77 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Consumer_Input_Handler.h -// -// = DESCRIPTION -// Definition of the Supplier_Timer_Handler class. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#ifndef SUPPLIER_TIMER_HANDLER_H -#define SUPPLIER_TIMER_HANDLER_H -#include "ace/Reactor.h" -#include "ace/Timer_Queue.h" -#include "ace/Event_Handler.h" -#include "Supplier_i.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class Supplier; - -class Supplier_Timer_Handler : public ACE_Event_Handler -{ - // = TITLE - // Feeds stock information to the Callback Quoter notifier - // periodically. - // - // = Description - // Create a class to handle timer events. Since only timer events - // need to be handled, only the handle_timeout method is overlaoded. -public: - Supplier_Timer_Handler (Supplier *supplier, - ACE_Reactor *reactor, - FILE *file_ptr); - // Initilization. - - ~Supplier_Timer_Handler (void); - // Destructor. - - virtual int handle_timeout (const ACE_Time_Value &tv, - const void *arg = 0); - // Method which will be called by the Reactor when timeout occurs. - -private: - - int get_stock_information (void); - // The values of the stock and its rate are got from the file. - - Supplier *supplier_obj_; - // The supplier instance. - - ACE_Reactor *reactor_; - // Reactor used by the supplier. - - FILE* file_ptr_; - // The file handle of the file from where the stock input is obtained. - - char stockname_[BUFSIZ]; - // The name of the stock. - - long value_; - // The market value of the stock.It will be typecasted to long later. -}; - -#endif /* SUPPLIER_TIMER_HANDLER_H */ diff --git a/TAO/examples/Callback_Quoter/Supplier_i.cpp b/TAO/examples/Callback_Quoter/Supplier_i.cpp deleted file mode 100644 index 9c405c80786..00000000000 --- a/TAO/examples/Callback_Quoter/Supplier_i.cpp +++ /dev/null @@ -1,348 +0,0 @@ -// $Id$ -// =========================================================== -// -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// Supplier_i.cpp -// -// = DESCRIPTION -// Implementation of the Supplier class. -// -// = AUTHOR -// Kirthika Parameswaran -// -// =========================================================== - -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" -#include "ace/OS.h" -#include "Supplier_i.h" -#include "ace/Reactor.h" - -// Constructor. - -Supplier::Supplier (void) - : ior_ (0), - use_naming_service_ (1), - notifier_ (), - f_ptr_ (0), - loop_count_ (10), - period_value_ (1) -{ - // No-op. -} - -Supplier::~Supplier (void) -{ - // Release the memory allocated for ior_. - ACE_OS::free (this->ior_); - - // Close the stream. - ACE_OS::fclose (f_ptr_); - - ACE_DEBUG ((LM_DEBUG, - "Market Status Supplier daemon exiting!\n")); -} - -// Reads the Server factory IOR from a file. - -int -Supplier::read_ior (char *filename) -{ - // Open the file for reading. - ACE_HANDLE f_handle = ACE_OS::open (filename, 0); - - if (f_handle == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for reading\n", - filename), - -1); - - ACE_Read_Buffer ior_buffer (f_handle); - char *data = ior_buffer.read (); - - if (data == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior\n"), - -1); - - this->ior_ = ACE_OS::strdup (data); - ior_buffer.alloc ()->free (data); - - ACE_OS::close (f_handle); - - return 0; -} - -// Parses the command line arguments and returns an error status. - -int -Supplier::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "dn:f:i:xk:xs"); - - int c; - int result; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // Debug flag - TAO_debug_level++; //**** - break; - - case 'n': // Period_value: time between two successive stockfeeds. - this->period_value_ = ACE_OS::atoi (get_opts.optarg); - break; - - case 'i': // Stock market information is got from a file. - result = this->read_file (get_opts.optarg); - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read stock information from %s : %p\n", - get_opts.optarg, - "get_args"), - -1); - break; - - case 'k': // Ior provide on command line - this->ior_ = ACE_OS::strdup (get_opts.optarg); - break; - - case 'f': // Read the IOR from the file. - result = this->read_ior (get_opts.optarg); - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior from %s : %p\n", - get_opts.optarg, - "get_args"), - -1); - break; - - case 's': // Don't use the naming service - this->use_naming_service_ = 0; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-n period]" - " [-f ior-file]" - " [-i input_filename]" - " [-k ior]" - " [-x]" - " [-s]" - "\n", - this->argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Give the stock status information to the Notifier. - -int -Supplier::send_market_status (const char *stock_name, - long value) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - - // Make the RMI. - this->notifier_->market_status (stock_name, - value, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception : Supplier::send_market_status"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception : Supplier::send_market_status"); - return -1; - } - ACE_ENDTRY; - return 0; -} - -// Execute client example code. - -int -Supplier::run (void) -{ - - long timer_id = 0; - - ACE_DEBUG ((LM_DEBUG, - "Market Status Supplier Daemon is running...\n ")); - - // This sets the period for the stock-feed. - ACE_Time_Value period (period_value_); - - // "Your time starts now!" ;) the timer is scheduled to begin work. - timer_id = reactor_used ()->schedule_timer (supplier_timer_handler_, - "Periodic stockfeed", - period, - period); - if ( timer_id== -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "schedule_timer"), - -1); - - // The reactor starts executing in a loop. - this->reactor_used ()->run_event_loop (); - - return 0; -} - - -int -Supplier::via_naming_service (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initialization of the naming service. - if (naming_services_client_.init (orb_.in ()) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize " - "the TAO_Naming_Client. \n"), - -1); - CosNaming::Name notifier_ref_name (1); - notifier_ref_name.length (1); - notifier_ref_name[0].id = CORBA::string_dup ("Notifier"); - - CORBA::Object_var notifier_obj = - this->naming_services_client_->resolve (notifier_ref_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // The CORBA::Object_var object is downcast to Notifier_var - // using the <_narrow> method. - this->notifier_ = - Notifier::_narrow (notifier_obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception : Supplier::via_naming_service\n"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception : Supplier::via_naming_service\n"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -// Init function. - -int -Supplier::init (int argc, char **argv) -{ - this->argc_ = argc; - this->argv_ = argv; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (this->argc_, - this->argv_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - return -1; - - // Create the Timer_Handler. - ACE_NEW_RETURN (supplier_timer_handler_, - Supplier_Timer_Handler (this, - this->reactor_used (), - this->f_ptr_), - -1); - - if (this->use_naming_service_) - return via_naming_service (); - - if (this->ior_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: no ior specified\n", - this->argv_[0]), - -1); - CORBA::Object_var notifier_object = - this->orb_->string_to_object (this->ior_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (notifier_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "invalid ior <%s>\n", - this->ior_), - -1); - // The downcasting from CORBA::Object_var to Notifier_var is - // done using the <_narrow> method. - this->notifier_ = Notifier::_narrow (notifier_object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception : Supplier::init"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception : Supplier::init"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -ACE_Reactor* -Supplier::reactor_used (void) const -{ - return ACE_Reactor::instance (); -} - -// The stock market information is read from a file. - -int -Supplier::read_file (char *filename) -{ - f_ptr_ = ACE_OS::fopen (filename, "r"); - - ACE_DEBUG ((LM_DEBUG, - "filename = %s\n",filename)); - - // the stock values are to be read from a file. - if (f_ptr_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - filename), - -1); - return 0; -} diff --git a/TAO/examples/Callback_Quoter/Supplier_i.h b/TAO/examples/Callback_Quoter/Supplier_i.h deleted file mode 100644 index c547ae74ddb..00000000000 --- a/TAO/examples/Callback_Quoter/Supplier_i.h +++ /dev/null @@ -1,118 +0,0 @@ -// -*- C++ -*- -// $Id$ -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Callback_Quoter -// -// = FILENAME -// MarketFeed.h -// -// = DESCRIPTION -// This class implements a simple CORBA server that keeps -// on sending stock values to the Notifier. -// -// = AUTHORS -// Kirthika Parameswaran -// -// ============================================================================ -#ifndef SUPPLIER_I_H -#define SUPPLIER_I_H - -#include "orbsvcs/Naming/Naming_Utils.h" -#include "orbsvcs/CosNamingC.h" -#include "ace/Reactor.h" -#include "ace/Read_Buffer.h" -#include "ace/OS.h" -#include "NotifierC.h" -#include "Supplier_Timer_Handler.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class Supplier_Timer_Handler; -class Supplier -{ - // = TITLE - // Market feed daemon implementation. - // - // = DESCRIPTION - // This class feeds stock information to the Callback Quoter - // notifier. -public: - // = Initialization and termination methods. - Supplier (void); - // Constructor. - - ~Supplier (void); - // Destructor. - - int run (void); - // Execute the daemon. - - int init (int argc, char *argv[]); - // Initialize the client communication endpoint with Notifier. - - int send_market_status (const char *stock_name, - long value); - // Sends the stock name and its value. - - Supplier_Timer_Handler *supplier_timer_handler_; - // The timer handler used to send the market status to the notifier - // periodically. - -private: - CORBA::ORB_var orb_; - // Remember our orb. - - int read_ior (char *filename); - // Function to read the Notifier IOR from a file. - - int parse_args (void); - // Parses the arguments passed on the command line. - - int via_naming_service(void); - // This method initialises the naming service and registers the - // object with the POA. - - ACE_Reactor *reactor_used (void) const; - // returns the TAO instance of the singleton Reactor. - - int read_file (char *filename); - // This method used for getting stock information from a file. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - char *ior_; - // IOR of the obj ref of the Notifier. - - CORBA::Environment env_; - // Environment variable. - - TAO_Naming_Client naming_services_client_; - // An instance of the name client used for resolving the factory - // objects. - - int use_naming_service_; - // This variable denotes whether the naming service - // is used or not. - - Notifier_var notifier_; - // Notifier object reference. - - FILE *f_ptr_; - // The pointer for accessing the input stream. - - int loop_count_; - // Iteration count. - - long period_value_; - // Time period between two succesive market feeds to the Notifier. -}; - -#endif /*SUPPLIER_I_H */ diff --git a/TAO/examples/Callback_Quoter/consumer.cpp b/TAO/examples/Callback_Quoter/consumer.cpp deleted file mode 100644 index 9060eb9ec1d..00000000000 --- a/TAO/examples/Callback_Quoter/consumer.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// $Id$ - -#include "Consumer_Handler.h" - -// This function runs the Callback Quoter Consumer application. - -int -main (int argc, char **argv) -{ - Consumer_Handler consumer; - - ACE_DEBUG ((LM_DEBUG, - "\n\t***Consumer***\n\n")); - - if (consumer.init (argc, argv) == -1) - return -1; - else - return consumer.run (); -} diff --git a/TAO/examples/Callback_Quoter/example.stocks b/TAO/examples/Callback_Quoter/example.stocks deleted file mode 100644 index 3c01518ff86..00000000000 --- a/TAO/examples/Callback_Quoter/example.stocks +++ /dev/null @@ -1,56 +0,0 @@ -TAO 1 -ACE 1 -TAO 2 -ACE 2 -TAO 3 -ACE 3 -TAO 4 -ACE 4 -TAO 5 -ACE 5 -TAO 6 -ACE 6 -TAO 7 -ACE 7 -TAO 8 -ACE 8 -TAO 9 -ACE 9 -TAO 10 -ACE 10 -TAO 11 -ACE 11 -TAO 12 -ACE 12 -TAO 13 -ACE 13 -TAO 14 -ACE 14 -TAO 1 -ACE 1 -TAO 2 -ACE 2 -TAO 3 -ACE 3 -TAO 4 -ACE 4 -TAO 5 -ACE 5 -TAO 6 -ACE 6 -TAO 7 -ACE 7 -TAO 8 -ACE 8 -TAO 9 -ACE 9 -TAO 10 -ACE 10 -TAO 11 -ACE 11 -TAO 12 -ACE 12 -TAO 13 -ACE 13 -TAO 14 -ACE 14 diff --git a/TAO/examples/Callback_Quoter/notifier.cpp b/TAO/examples/Callback_Quoter/notifier.cpp deleted file mode 100644 index 67cb49cd316..00000000000 --- a/TAO/examples/Callback_Quoter/notifier.cpp +++ /dev/null @@ -1,41 +0,0 @@ -// $Id$ - -#include "Notifier_Input_Handler.h" - -ACE_RCSID(notifier, Callback_Quoter, "$Id$") - -// This is the main driver program for the Callback Quoter Notifier. - -int -main (int argc, char *argv[]) -{ - Notifier_Input_Handler notifier; - - ACE_DEBUG ((LM_DEBUG, - "\n\tNotifier\n\n")); - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - if (notifier.init (argc, argv, ACE_TRY_ENV) == -1) - return 1; - else - { - notifier.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/examples/Callback_Quoter/run_test.pl b/TAO/examples/Callback_Quoter/run_test.pl deleted file mode 100755 index 3e4ac9098be..00000000000 --- a/TAO/examples/Callback_Quoter/run_test.pl +++ /dev/null @@ -1,80 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../bin'; -require Process; -require ACEutils; - -print STDERR "================ Remote test\n"; - -$ns_ior = "NameService.ior"; - -unlink $ns_ior; -$NS = Process::Create ("..".$DIR_SEPARATOR. - "..".$DIR_SEPARATOR. - "orbsvcs".$DIR_SEPARATOR. - "Naming_Service".$DIR_SEPARATOR. - "Naming_Service".$EXE_EXT, - " -o $ns_ior "); - -if (ACE::waitforfile_timed ($ns_ior, 5) == -1) { - print STDERR "ERROR: cannot find file <$ns_ior>\n"; - $NS->Kill (); $NS->TimedWait (1); - exit 1; -} - -$N = Process::Create (".".$DIR_SEPARATOR. - "notifier".$EXE_EXT, - " -ORBNameServiceIOR file://$ns_ior "); - -sleep 5; - -$C = Process::Create (".".$DIR_SEPARATOR. - "consumer".$EXE_EXT, - " -ORBNameServiceIOR file://$ns_ior " - . " -t 12 -a TAO"); - -sleep 5; - -$S = Process::Create (".".$DIR_SEPARATOR. - "supplier".$EXE_EXT, - " -ORBNameServiceIOR file://$ns_ior " - . " -iexample.stocks"); - -if ($S->TimedWait (60) == -1) { - print STDERR "ERROR: supplier timedout\n"; - $S->Kill (); $S->TimedWait (1); - $C->Kill (); $C->TimedWait (1); - $N->Kill (); $N->TimedWait (1); - $NS->Kill (); $NS->TimedWait (1); - exit 1; -} - -$C->Terminate (); if ($C->TimedWait (5) == -1) { - print STDERR "ERROR: consumer timedout\n"; - $C->Kill (); $C->TimedWait (1); - $N->Kill (); $N->TimedWait (1); - $NS->Kill (); $NS->TimedWait (1); - exit 1; -} - -$N->Terminate (); if ($N->TimedWait (5) == -1) { - print STDERR "ERROR: cannot terminate notifier\n"; - $N->Kill (); $N->TimedWait (1); - $NS->Kill (); $NS->TimedWait (1); - exit 1; -} - -$NS->Terminate (); if ($NS->TimedWait (5) == -1) { - print STDERR "ERROR: cannot terminate naming service\n"; - $NS->Kill (); $NS->TimedWait (1); - exit 1; -} - -unlink $ns_ior; - -exit 0; diff --git a/TAO/examples/Callback_Quoter/supplier.cpp b/TAO/examples/Callback_Quoter/supplier.cpp deleted file mode 100644 index 5d746eb0bc9..00000000000 --- a/TAO/examples/Callback_Quoter/supplier.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// $Id$ - -#include "Supplier_i.h" - -// This function runs the Callback Quoter Supplier daemon. - -int -main (int argc, char **argv) -{ - Supplier supplier; - - ACE_DEBUG ((LM_DEBUG, - "\n\tMarket Status Supplier Daemon\n\n")); - - if (supplier.init (argc, argv) == -1) - return -1; - else - return supplier.run (); -} diff --git a/TAO/examples/Event_Comm/Consumer.dsp b/TAO/examples/Event_Comm/Consumer.dsp deleted file mode 100644 index 0d7ae8ede86..00000000000 --- a/TAO/examples/Event_Comm/Consumer.dsp +++ /dev/null @@ -1,229 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Event_Comm Consumer" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Event_Comm Consumer - 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 "Consumer.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 "Consumer.mak" CFG="Event_Comm Consumer - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Event_Comm Consumer - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Event_Comm Consumer - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Event_Comm Consumer - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Consumer" -# PROP BASE Intermediate_Dir "Consumer" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\..\..\\" /I "..\..\orbsvcs" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /pdb:"Release/client.pdb" /machine:I386 /out:"Release/Consumer.exe" /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "Event_Comm Consumer - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Consume0" -# PROP BASE Intermediate_Dir "Consume0" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /I "..\..\orbsvcs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /pdb:"client.pdb" /debug /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "Event_Comm Consumer - Win32 Release" -# Name "Event_Comm Consumer - Win32 Debug" -# Begin Group "Source" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\consumer.cpp -# End Source File -# Begin Source File - -SOURCE=.\Consumer_Handler.cpp -# End Source File -# Begin Source File - -SOURCE=.\Consumer_Input_Handler.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_Comm_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_CommC.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_CommS.cpp -# End Source File -# End Group -# Begin Group "Header" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Consumer_Handler.h -# End Source File -# Begin Source File - -SOURCE=.\Consumer_Input_Handler.h -# End Source File -# Begin Source File - -SOURCE=.\Event_Comm_i.h -# End Source File -# Begin Source File - -SOURCE=.\Event_CommC.h -# End Source File -# Begin Source File - -SOURCE=.\Event_CommS.h -# End Source File -# End Group -# Begin Group "IDL" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Event_Comm.idl - -!IF "$(CFG)" == "Event_Comm Consumer - Win32 Release" - -USERDEP__EVENT="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Event_Comm.idl -InputName=Event_Comm - -BuildCmds= \ - ..\..\..\bin\Relese\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Event_Comm Consumer - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__EVENT="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Event_Comm.idl -InputName=Event_Comm - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Event_Comm/Consumer_Handler.cpp b/TAO/examples/Event_Comm/Consumer_Handler.cpp deleted file mode 100644 index 27ee3dc1e89..00000000000 --- a/TAO/examples/Event_Comm/Consumer_Handler.cpp +++ /dev/null @@ -1,158 +0,0 @@ -// $Id$ - -#include "Consumer_Handler.h" - -ACE_RCSID(Consumer, Consumer_Handler, "$Id$") - -Consumer_Handler::Consumer_Handler (void) - : receiver_ (0), - notifier_ (0), - shutdowncallback (0) -{ - // No-Op. -} - -Consumer_Handler::~Consumer_Handler (void) -{ - // No-Op. -} - -int -Consumer_Handler::init (int argc, - char *argv[], - ShutdownCallback *_shutdowncallback) -{ - const char *filtering_criteria = ""; - - // First see if we have any environment variables. - filtering_criteria = - ACE_OS::getenv ("FILTERING_CRITERIA"); - - // Then override these variables with command-line arguments if - // necessary. - filtering_criteria = argc > 1 ? argv[1] : ""; - - ACE_TRY_NEW_ENV - { - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (argc, - argv, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Save the Shutdown callback. - this->shutdowncallback = _shutdowncallback; - // Set the ShutdownCallback callback object - // in the Consumer object implementation. - this->receiver_i_.set (_shutdowncallback); - - // Start the servant. - this->receiver_ = - this->receiver_i_._this (ACE_TRY_ENV); - - ACE_TRY_CHECK; - - if (this->get_notifier () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to get the notifier " - "the TAO_Naming_Client. \n"), - -1); - - // Subscribe ourselves with the notifier's broker. - this->notifier_->subscribe (this->receiver_, - filtering_criteria, - ACE_TRY_ENV); - return 0; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Consumer_Handler::init\n"); - return -1; - } - ACE_ENDTRY; - - ACE_NOTREACHED (return 0;) -} - -int -Consumer_Handler::get_notifier (void) -{ - ACE_TRY_NEW_ENV - { - // Initialization of the naming service. - if (naming_services_client_.init (orb_.in ()) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize " - "the TAO_Naming_Client. \n"), - -1); - - CosNaming::Name notifier_ref_name (1); - notifier_ref_name.length (1); - notifier_ref_name[0].id = CORBA::string_dup (NOTIFIER_BIND_NAME); - - CORBA::Object_var notifier_obj = - this->naming_services_client_->resolve (notifier_ref_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // The CORBA::Object_var object is downcast to Notifier_var - // using the <_narrow> method. - this->notifier_ = - Event_Comm::Notifier::_narrow (notifier_obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Consumer_Handler::get_notifier\n"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -void -Consumer_Handler::close (void) -{ - this->orb_->shutdown (); -} - -void -Consumer_Handler::shutdown (void) -{ - ACE_ASSERT (this->shutdowncallback != 0); - - this->shutdowncallback->close (); -} - -int -Consumer_Handler::run (void) -{ - // Run the ORB. - this->orb_->run (); - return 0; -} - -ACE_Reactor* -Consumer_Handler::reactor(void) -{ - // @@ Please see if there's a way to get to the Reactor without - // using the TAO_ORB_Core_instance(). - return TAO_ORB_Core_instance ()->reactor (); -} - -Event_Comm::Consumer * -Consumer_Handler::receiver (void) -{ - return this->receiver_; -} - -Event_Comm::Notifier * -Consumer_Handler::notifier (void) -{ - return this->notifier_; -} diff --git a/TAO/examples/Event_Comm/Consumer_Handler.h b/TAO/examples/Event_Comm/Consumer_Handler.h deleted file mode 100644 index f4b031644d5..00000000000 --- a/TAO/examples/Event_Comm/Consumer_Handler.h +++ /dev/null @@ -1,93 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// EventComm -// -// = FILENAME -// Consumer_Handler.h -// -// = DESCRIPTION -// Subclass of Corba_Handler that sets up the Consumer handler -// for use with the ACE ACE_Reactor. -// -// = AUTHOR -// Douglas C. Schmidt (schmidt@cs.wustl.edu) and Pradeep Gore -// (pradeep@cs.wustl.edu) -// -// ============================================================================ - -#ifndef _CONSUMER_HANDLER_H -#define _CONSUMER_HANDLER_H - -#include "Event_Comm_i.h" -#include "orbsvcs/Naming/Naming_Utils.h" -#include "orbsvcs/CosNamingC.h" - -class Consumer_Handler -{ - // = TITLE - // The Consumer_Handler class. - // - // = DESCRIPTION - // Starts up the ORB, registers the - // servant with the orb and gets a reference to a - // from the Naming Service. -public: - // = Initialization and termination methods. - Consumer_Handler (void); - // Constructor. - - virtual ~Consumer_Handler (void); - // Destructor. - - int init (int argc, char *argv[], ShutdownCallback *_shutdowncallback); - // Initializes the ORB, gets the Notifier reference from the Naming - // Service, and starts the servant for the Consumer object. - - int run (void); - // runs the ORB. - - void close (void); - // shutdown the orb. - - void shutdown (void); - // called to shutdown the consumer application. - - // = Accessors - Event_Comm::Consumer *receiver (void); - Event_Comm::Notifier *notifier (void); - - ACE_Reactor *reactor (void); - // returns the ORB's reactor. - -private: - int get_notifier (void); - // gets the notifier reference from the naming service. - // returns 0 on success, -1 on error. - - CORBA::ORB_var orb_; - // Remember our orb. - - Consumer_i receiver_i_; - // The implementation. - - Event_Comm::Consumer_var receiver_; - // Pointer to an IDL proxy object. - - Event_Comm::Notifier_var notifier_; - // Pointer to an IDL proxy object. - - TAO_Naming_Client naming_services_client_; - // An instance of the name client used for resolving the factory - // objects. - - ShutdownCallback* shutdowncallback; - // The Shutdown callback used to shutdown the consumer application. -}; - -#define NOTIFIER_BIND_NAME "Notifier" - -#endif /* _CONSUMER_HANDLER_H */ diff --git a/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp b/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp deleted file mode 100644 index 919726162e0..00000000000 --- a/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp +++ /dev/null @@ -1,151 +0,0 @@ -// $Id$ - -#include "Consumer_Input_Handler.h" -#include "Consumer_Handler.h" - -ACE_RCSID(Consumer, Consumer_Input_Handler, "$Id$") - -Consumer_Input_Handler::Consumer_Input_Handler (void) - : receiver_handler_ (0), - consumer_initiated_shutdown_ (0) -{ - // No-Op. -} - -Consumer_Input_Handler::~Consumer_Input_Handler (void) -{ - // No-Op. -} - -int -Consumer_Input_Handler::consumer_initiated_shutdown (void) -{ - return this->consumer_initiated_shutdown_; -} - -void -Consumer_Input_Handler::consumer_initiated_shutdown (int c) -{ - this->consumer_initiated_shutdown_ = c; -} - -int -Consumer_Input_Handler::close (void) -{ - ACE_DEBUG ((LM_DEBUG, - "closing down Consumer::Input_Handler\n")); - - Event_Comm::Consumer *receiver = - this->receiver_handler_->receiver (); - Event_Comm::Notifier *notifier = - this->receiver_handler_->notifier (); - - if (this->consumer_initiated_shutdown ()) - { - // Only try to unsubscribe if the Consumer initiated the - // shutdown. Otherwise, the Notifier initiated it and it has - // probably gone away by now! - ACE_TRY_NEW_ENV - { - // Gracefully shutdown the Receiver by removing it from the - // Notifier's internal map. - - if (notifier != 0) - notifier->unsubscribe (receiver, - "", - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Consumer_Input_Handler::handle_close\n"); - } - ACE_ENDTRY; - } - - // Make sure to cleanup the STDIN handler. - if (ACE_Event_Handler::remove_stdin_handler - (TAO_ORB_Core_instance ()->reactor (), - TAO_ORB_Core_instance ()->thr_mgr ()) == -1) - ACE_ERROR ((LM_ERROR, - "%p\n", - "remove_stdin_handler")); - - return 0; -} - -int Consumer_Input_Handler::initialize (Consumer_Handler *ch) -{ - receiver_handler_ = ch; - - if (ACE_Event_Handler::register_stdin_handler - (this, - TAO_ORB_Core_instance ()->reactor (), - TAO_ORB_Core_instance ()->thr_mgr ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "register_stdin_handler"), - -1); - return 0; -} - -int -Consumer_Input_Handler::handle_input (ACE_HANDLE h) -{ - char buf[BUFSIZ]; - - // Read up to BUFSIZ worth of data from ACE_HANDLE h. - ssize_t n = ACE_OS::read (h, buf, sizeof buf - 1); - - if (n > 0) - { - // Null terminate the buffer, replacing the '\n' with '\0'. - if (buf[n - 1] == '\n') - buf[n - 1] = '\0'; - else - buf[n] = '\0'; - ACE_DEBUG ((LM_DEBUG, - "notifying for event %s\n", - buf)); - } - else - { - // If nothing is read, do nothing. - return 0; - } - - Event_Comm::Notifier *notifier = - this->receiver_handler_->notifier (); - - ACE_ASSERT (notifier != 0); - - if (ACE_OS::strncmp (buf, "quit", 4) == 0) - { - // Consumer wants to shutdown. - this->consumer_initiated_shutdown (1); - - // Tell the main event loop to shutdown. - this->receiver_handler_->shutdown (); - } - else - { - ACE_TRY_NEW_ENV - { - Event_Comm::Event event; - - event.tag_ = ACE_OS::strdup (buf); - - notifier->push (event, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected exception\n"); - } - ACE_ENDTRY; - } - - /* NOTREACHED */ - return 0; -} diff --git a/TAO/examples/Event_Comm/Consumer_Input_Handler.h b/TAO/examples/Event_Comm/Consumer_Input_Handler.h deleted file mode 100644 index c4325081fbb..00000000000 --- a/TAO/examples/Event_Comm/Consumer_Input_Handler.h +++ /dev/null @@ -1,71 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// EventComm -// -// = FILENAME -// Consumer_Input_Handler.h -// -// = AUTHOR -// Douglas C. Schmidt (schmidt@cs.wustl.edu) -// -// ============================================================================ - -#ifndef CONSUMER_INPUT_HANDLER_H -#define CONSUMER_INPUT_HANDLER_ - -#include "ace/Service_Config.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -// Forward declaration. -class Consumer_Handler; - -class Consumer_Input_Handler : public ACE_Event_Handler -{ - // = TITLE - // Handles input events generated from a keyboard. - // - // = DESCRIPTION - // This class holds a object. It accepts input - // from the user and passes events to the . It also - // initiates shutdown. -public: - // Initialization and termination methods. - Consumer_Input_Handler(void); - // Constructor. - - ~Consumer_Input_Handler (void); - // Destructor. - - int initialize (Consumer_Handler *); - // registers the input event handler. - // returns 0 on success, -1 on error. - - virtual int handle_input (ACE_HANDLE); - // Dispatch the callback when events occur. - - int close (void); - // Close down the handler. - - int consumer_initiated_shutdown (void); - // Report whether the Consumer initiated the shutdown. - - void consumer_initiated_shutdown (int); - // Indicate that the Consumer initiated the shutdown. - -private: - Consumer_Handler *receiver_handler_; - // Pointer to the that receives notifications - // from the . - - int consumer_initiated_shutdown_; - // Keep track of whether the Consumer initiated the shutdown. -}; - -#endif /* CONSUMER_INPUT_HANDLER_H */ diff --git a/TAO/examples/Event_Comm/Event_Comm.dsw b/TAO/examples/Event_Comm/Event_Comm.dsw deleted file mode 100644 index ac067eb5744..00000000000 --- a/TAO/examples/Event_Comm/Event_Comm.dsw +++ /dev/null @@ -1,53 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Event_Comm Consumer"=.\Consumer.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Notifier"=.\Notifier.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Supplier"=.\Supplier.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Event_Comm/Event_Comm.idl b/TAO/examples/Event_Comm/Event_Comm.idl deleted file mode 100644 index 5c04344ea9a..00000000000 --- a/TAO/examples/Event_Comm/Event_Comm.idl +++ /dev/null @@ -1,110 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// EventComm -// -// = FILENAME -// Event_Comm.idl -// -// = DESCRIPTION -// The CORBA IDL module for distributed event notification. -// -// = AUTHOR -// Douglas C. Schmidt (schmidt@cs.wustl.edu) and -// Pradeep Gore (pradeep@cs.wustl.edu) -// -// ============================================================================ - -#if !defined (_EVENT_COMM_IDL) -#define _EVENT_COMM_IDL - -module Event_Comm -{ - // = TITLE - // The CORBA IDL module for distributed event notification. - - struct Event - { - // = TITLE - // Defines the interface for an event . - // - // = DESCRIPTION - // This is the type passed by the Notifier to the Consumer. - // Since it contains an , it can hold any type. Naturally, - // the consumer must understand how to interpret this! - - string tag_; - // Tag for the event. This is used by the to compare - // with the s' filtering criteria. - - any value_; - // An event can contain anything. - - Object object_ref_; - // Object reference for callbacks. - }; - - interface Consumer - { - // = TITLE - // Defines the interface for a of events. - - void push (in Event event); - // Inform the that has occurred. - - void disconnect (in string reason); - // Disconnect the from the , - // giving it the . - }; - - interface Notifier - { - // = TITLE - // Defines the interface for a of events. - - exception CannotSubscribe - { - // = TITLE - // This exception in thrown when a fails. - - string reason_; - }; - - exception CannotUnsubscribe - { - // = TITLE - // This exception in thrown when a fails. - - string reason_; - }; - - // = The following operations are intended for Suppliers. - - void disconnect (in string reason); - // Disconnect all the receivers, giving them the . - - void push (in Event event); - // Send the to all the consumers who have subscribed and - // who match the filtering criteria. - - // = The following operations are intended for Consumers. - - void subscribe (in Consumer Consumer, - in string filtering_criteria); - // Subscribe the to receive events that match the - // regular expresssion applied by the - // . If is "" then all events are - // matched. - - void unsubscribe (in Consumer Consumer, - in string filtering_criteria); - // Unsubscribe the that matches the filtering criteria. - // If is "" then all with the - // matching object reference are removed. - }; -}; - -#endif /* _EVENT_COMM_IDL */ diff --git a/TAO/examples/Event_Comm/Event_Comm_i.cpp b/TAO/examples/Event_Comm/Event_Comm_i.cpp deleted file mode 100644 index e9cda34c173..00000000000 --- a/TAO/examples/Event_Comm/Event_Comm_i.cpp +++ /dev/null @@ -1,453 +0,0 @@ -// $Id$ - -#include "Event_Comm_i.h" - -ACE_RCSID(Event_Comm, Event_Comm_i, "$Id$") - -class Consumer_Entry -{ - // = TITLE - // Keeps track of context information associated with - // a entry. -public: - // = Initialization and termination methods. - Consumer_Entry (Event_Comm::Consumer *consumer, - const char *filtering_criteria); - // Constructor. - - ~Consumer_Entry (void); - // Descriptor. - - // = Set/get filtering criteria. - void criteria (const char *criteria); - const char *criteria (void); - - // = Set/get Event_Comm::Consumer object reference. - Event_Comm::Consumer *consumer (void); - void consumer (Event_Comm::Consumer *); - - // = Set/get the compiled regular expression buffer. - const char *regexp (void); - void regexp (char *); - -private: - const char *filtering_criteria_; - // String containing the filtering criteria. - - char *compiled_regexp_; - // Compiled representation of the regular expression (see - // regexpr(3g)). - - Event_Comm::Consumer_ptr consumer_; - // Object reference for the . -}; - -// = Set/get filtering criteria. - -void -Consumer_Entry::criteria (const char *criteria) -{ - ACE_OS::free ((void *) this->filtering_criteria_); - ACE_ALLOCATOR (this->filtering_criteria_, - ACE_OS::strdup (criteria)); -} - -const char * -Consumer_Entry::criteria (void) -{ - return this->filtering_criteria_; -} - -// = Set/get Event_Comm::Consumer object reference. - -Event_Comm::Consumer * -Consumer_Entry::consumer (void) -{ - return this->consumer_; -} - -void -Consumer_Entry::consumer (Event_Comm::Consumer *consumer) -{ - this->consumer_ = consumer; -} - -const char * -Consumer_Entry::regexp (void) -{ - return this->compiled_regexp_; -} - -void -Consumer_Entry::regexp (char *regexp) -{ - ACE_OS::free ((void *) this->compiled_regexp_); - this->compiled_regexp_ = regexp; -} - -Consumer_Entry::Consumer_Entry (Event_Comm::Consumer *consumer, - const char *filtering_criteria) - : filtering_criteria_ (0), - compiled_regexp_ (0), - consumer_ (consumer) -{ - char *compile_buffer = 0; - - this->criteria (filtering_criteria); - ACE_ASSERT (this->criteria ()); - - // Check for wildcard case first. - if (ACE_OS::strcmp (filtering_criteria, "") == 0) - ACE_ALLOCATOR (compile_buffer, - ACE_OS::strdup ("")); - else - { -#if defined (ACE_HAS_REGEX) - // Compile the regular expression (the 0's cause ACE_OS::compile - // to allocate space). - compile_buffer = ACE_OS::compile (filtering_criteria, 0, 0); -#else - // Win32 does not support regular expression functions such as compile. - ACE_ALLOCATOR (compile_buffer, - ACE_OS::strdup ("")); -#endif // #if defined (ACE_HAS_REGEX) - } - - // Should throw an exception here! - ACE_ASSERT (compile_buffer != 0); - - this->regexp (compile_buffer); - ACE_ASSERT (this->regexp () != 0); - - // Increment the reference count since we are keeping a copy of - // this... - this->consumer_ = Event_Comm::Consumer::_duplicate (this->consumer_); -} - -Consumer_Entry::~Consumer_Entry (void) -{ - ACE_OS::free ((void *) this->filtering_criteria_); - ACE_OS::free ((void *) this->compiled_regexp_); - // Decrement the object reference count. - CORBA::release (this->consumer_); -} - -Notifier_i::Notifier_i (size_t size) - : map_ (size) -{ -// if platforms (such as win32) do not support the REGEXP functions -// such as and then warn the user that the regular -// expression feature is not available. -#ifndef ACE_HAS_REGEX - ACE_DEBUG ((LM_DEBUG, "\n WARNING: This platform does not support \ -the functions for regular expressions.\n\ -The filtering criteria will not work.\n")); -#endif //#ifndef ACE_HAS_REGEX -} - -// Add a new consumer to the table, being careful to check for -// duplicate entries. A consumer is considered a duplicate under the -// following circumstances: -// -// 1. It has the same object reference and the same filtering -// criteria. -// 2. It has the same object reference and its filtering criteria is -// "" (the wild card). - -void -Notifier_i::subscribe (Event_Comm::Consumer_ptr consumer_ref, - const char *filtering_criteria, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "in Notifier_i::subscribe for %x with filtering criteria \"%s\"\n", - consumer_ref, - filtering_criteria)); - - MAP_ITERATOR mi (this->map_); - - // Try to locate an entry checking if the object references are - // equivalent. If we don't find the entry, or if the filtering - // criteria is different that is good news since we currently don't - // allow duplicates... @@ Should duplicates be allowed? - - for (MAP_ENTRY *me = 0; mi.next (me) != 0; mi.advance ()) - { - Consumer_Entry *nr_entry = me->int_id_; - - // The <_is_equivalent> function checks if objects are the same. - // NOTE: this call might not behave well on other ORBs since - // <_is_equivalent> isn't guaranteed to differentiate object - // references. - - // Check for a duplicate entry. - if (consumer_ref->_is_equivalent (me->ext_id_) - && (ACE_OS::strcmp (filtering_criteria, - "") == 0 - || ACE_OS::strcmp (filtering_criteria, - nr_entry->criteria ()) == 0)) - { - // Inform the caller that the * is - // already being used. - - ACE_THROW (Event_Comm::Notifier::CannotSubscribe ("Duplicate consumer and filtering criteria found.\n")); - } - } - - // If we get this far then we didn't find a duplicate, so add the - // new entry! - Consumer_Entry *nr_entry; - ACE_NEW (nr_entry, - Consumer_Entry (consumer_ref, - filtering_criteria)); - - // Try to add new to the map. - if (this->map_.bind (nr_entry->consumer(), nr_entry) == -1) - { - // Prevent memory leaks. - delete nr_entry; - ACE_THROW (Event_Comm::Notifier::CannotSubscribe ("Failed to add Consumer to internal map\n")); - } -} - -// Remove a consumer from the table. - -void -Notifier_i::unsubscribe (Event_Comm::Consumer_ptr consumer_ref, - const char *filtering_criteria, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "in Notifier_i::unsubscribe for %x\n", - consumer_ref)); - - Consumer_Entry *nr_entry = 0; - MAP_ITERATOR mi (this->map_); - int found = 0; - - // Locate and free up resources. @@ Note, we don't - // properly handle deallocation of KEYS! - - for (MAP_ENTRY *me = 0; - mi.next (me) != 0; - mi.advance ()) - { - nr_entry = me->int_id_; - - // The <_is_equivalent> function checks if objects are the same. - // NOTE: this call might not behave well on other ORBs since - // <_is_equivalent> isn't guaranteed to differentiate object - // references. - - // Look for a match .. - if (consumer_ref->_is_equivalent (me->ext_id_) - && (ACE_OS::strcmp (filtering_criteria, "") == 0 - || ACE_OS::strcmp (filtering_criteria, - nr_entry->criteria ()) == 0)) - { - ACE_DEBUG ((LM_DEBUG, - "removed entry %x with criteria \"%s\"\n", - consumer_ref, - filtering_criteria)); - found = 1; - // @@ This is a hack, we need a better approach! - if (this->map_.unbind (me->ext_id_, - nr_entry) == -1) - ACE_THROW (Event_Comm::Notifier::CannotUnsubscribe ("Internal map unbind failed.")); - else - delete nr_entry; - } - } - - if (found == 0) - ACE_THROW (Event_Comm::Notifier::CannotUnsubscribe ("The Consumer and filtering criteria were not found.")); -} - -// Disconnect all the consumers, giving them the . - -void -Notifier_i::disconnect (const char *reason, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "in Notifier_i::send_disconnect = %s\n", - reason)); - - MAP_ITERATOR mi (this->map_); - int count = 0; - - // Notify all the consumers, taking into account the filtering - // criteria. - - for (MAP_ENTRY *me = 0; - mi.next (me) != 0; - mi.advance ()) - { - Event_Comm::Consumer_ptr consumer_ref = - me->ext_id_; - - ACE_ASSERT (consumer_ref != 0); - ACE_DEBUG ((LM_DEBUG, - "disconnecting client %x\n", - consumer_ref)); - ACE_TRY - { - consumer_ref->disconnect (reason, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected exception\n"); - } - ACE_ENDTRY; - - delete me->int_id_; - count++; - } - - this->map_.close (); - - if (count == 1) - ACE_DEBUG ((LM_DEBUG, - "there was 1 consumer\n")); - else - ACE_DEBUG ((LM_DEBUG, - "there were %d consumers\n", - count)); -} - -// Notify all consumers whose filtering criteria match the event. - -void -Notifier_i::push (const Event_Comm::Event &event, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "in Notifier_i::send_notification = %s\n", - (const char *) event.tag_)); - MAP_ITERATOR mi (this->map_); - int count = 0; - - // Notify all the consumers. - - for (MAP_ENTRY *me = 0; mi.next (me) != 0; mi.advance ()) - { - Event_Comm::Consumer_ptr consumer_ref = me->int_id_->consumer (); - ACE_ASSERT (consumer_ref != 0); - char *regexp = ACE_const_cast (char *, me->int_id_->regexp ()); - ACE_ASSERT (regexp); - const char *criteria = me->int_id_->criteria (); - ACE_ASSERT (criteria); - -#if defined (ACE_HAS_REGEX) - // Do a regular expression comparison to determine matching. - if (ACE_OS::strcmp ("", criteria) == 0 // Everything matches the wildcard. - || ACE_OS::step (event.tag_, regexp) != 0) -#endif // #if defined (ACE_HAS_REGEX) - // if ACE_HAS_REGEX has not been defined, - // let everything through. - { - ACE_DEBUG ((LM_DEBUG, - "string %s matched regexp \"%s\" for client %x\n", - (const char *) event.tag_, - me->int_id_->criteria (), - consumer_ref)); - ACE_TRY - { - consumer_ref->push (event, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Unexpected exception\n"); - continue; - } - ACE_ENDTRY; - count++; - } - } - - if (count == 1) - ACE_DEBUG ((LM_DEBUG, - "there was 1 consumer\n")); - else - ACE_DEBUG ((LM_DEBUG, - "there were %d consumers\n", - count)); -} - -Consumer_i::Consumer_i (void) - : shutdown (0) -{ -} - -Consumer_i::~Consumer_i (void) -{ -} - -// Inform the that has -// occurred. - -void -Consumer_i::push (const Event_Comm::Event &event, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - const char *tmpstr = event.tag_; - - ACE_DEBUG ((LM_DEBUG, - "**** got notification = %s\n", - tmpstr)); -} - -// Disconnect the from the -// . - -void -Consumer_i::disconnect (const char *reason, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "**** got disconnected due to %s\n", - reason)); - - ACE_ASSERT (shutdown != 0); - - shutdown->close (); -} - -void -Consumer_i::set (ShutdownCallback *_shutdown) -{ - shutdown = _shutdown; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class ACE_Map_Manager; -template class ACE_Map_Iterator; -template class ACE_Map_Entry; -template class ACE_Map_Reverse_Iterator; -template class ACE_Map_Iterator_Base; - -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate ACE_Map_Manager -#pragma instantiate ACE_Map_Iterator -#pragma instantiate ACE_Map_Entry -#pragma instantiate ACE_Map_Reverse_Iterator -#pragma instantiate ACE_Map_Iterator_Base - -#endif /* ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA */ diff --git a/TAO/examples/Event_Comm/Event_Comm_i.h b/TAO/examples/Event_Comm/Event_Comm_i.h deleted file mode 100644 index b5d469f630a..00000000000 --- a/TAO/examples/Event_Comm/Event_Comm_i.h +++ /dev/null @@ -1,132 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// EventComm -// -// = FILENAME -// Event_Comm_i.h -// -// = DESCRIPTION -// Class interface for the implementation of the distributed -// event notification mechanism. -// -// = AUTHOR -// Douglas C. Schmidt (schmidt@cs.wustl.edu) and Pradeep Gore -// -// -// ============================================================================ - -#ifndef _EVENT_COMM_I_H -#define _EVENT_COMM_I_H - -#include "ace/Map_Manager.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Synch.h" -#include "ace/SString.h" -#include "Event_CommS.h" - -class ShutdownCallback -{ - // = TITLE - // Helper callback class to shutdown the application. -public: - virtual void close (void) = 0; - // This method is to be called to shutdown the application. -}; - -class Consumer_i : public POA_Event_Comm::Consumer -{ - // = TITLE - // Defines the implementation class for event . -public: - // = Initialization and termination methods. - Consumer_i (void); - // Constructor. - - ~Consumer_i (void); - // Destructor. - - void set_reactor (ACE_Reactor *reactor); - // set the to use when quitting. - - virtual void push (const Event_Comm::Event & event, - CORBA::Environment &TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Pass the to the . - - virtual void disconnect (const char * reason, - CORBA::Environment &TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Disconnect the from the , giving it the - // . - - void set (ShutdownCallback *_shutdown); - // Set the Shutdown callback. - -private: - ShutdownCallback *shutdown; - // The callback to shutdown the consumer application. -}; - -// Forward reference. -class Consumer_Entry; - -class Notifier_i : public POA_Event_Comm::Notifier -{ - // = TITLE - // Defines the implementation class for event . -public: - enum - { - DEFAULT_SIZE = 1024 - // Default max number of Event_Comm::Consumers. - }; - - Notifier_i (size_t size_hint = Notifier_i::DEFAULT_SIZE); - // Initialize a Notifier_i object with the specified size hint. - - virtual void disconnect (const char *reason, - CORBA::Environment &TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Disconnect all the receivers, giving them the . - - virtual void push (const Event_Comm::Event &event, - CORBA::Environment &TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Send the to all the consumers who have subscribed and who - // match the filtering criteria. - - virtual void subscribe (Event_Comm::Consumer_ptr Consumer, - const char * filtering_criteria, - CORBA::Environment &TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Subscribe the to receive events that match - // applied by the . - - void unsubscribe (Event_Comm::Consumer *consumer, - const char *filtering_criteria, - CORBA::Environment &TAO_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Unsubscribe the . - -private: - typedef ACE_Map_Manager - MAP_MANAGER; - typedef ACE_Map_Iterator - MAP_ITERATOR; - typedef ACE_Map_Entry - MAP_ENTRY; - - MAP_MANAGER map_; - // Table that maps a to a . -}; - -#endif /* _EVENT_COMM_I_H */ diff --git a/TAO/examples/Event_Comm/Makefile b/TAO/examples/Event_Comm/Makefile deleted file mode 100644 index 9b1b165201e..00000000000 --- a/TAO/examples/Event_Comm/Makefile +++ /dev/null @@ -1,3179 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -LDLIBS = -lorbsvcs -lTAO -PROG_SRCS = Consumer_Handler.cpp \ - Consumer_Input_Handler.cpp \ - Event_Comm_i.cpp \ - Notifier_Handler.cpp \ - Supplier_Input_Handler.cpp \ - consumer.cpp \ - notifier.cpp \ - supplier.cpp \ - Notifier_Server.cpp - -IDL_SRC = Event_CommS.cpp Event_CommC.cpp - -LSRC = $(IDL_SRC) $(PROG_SRCS) - -CONSUMER_OBJS = Event_CommC.o \ - Event_CommS.o \ - Consumer_Handler.o \ - Consumer_Input_Handler.o \ - Event_Comm_i.o \ - consumer.o - -SUPPLIER_OBJS = Event_CommC.o \ - Event_CommS.o \ - Supplier_Input_Handler.o \ - Event_Comm_i.o \ - Notifier_Handler.o \ - supplier.o - -NOTIFIER_OBJS = Event_CommC.o \ - Event_CommS.o \ - Notifier_Server.o \ - Event_Comm_i.o \ - notifier.o - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = supplier \ - notifier \ - consumer - -TAO_IDLFLAGS += -Ge 1 -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Naming - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - -ifeq ($(ACE_HAS_GNUG_PRE_2_8),1) - - # Since older g++ cannot handle nested classes properly, this sample - # will not build on g++ prior to 2.8.0. - all clean realclean: - @echo Event_Comm is not built with older versions of g++ - -else # ! ACE_HAS_GNUG_PRE_2_8 - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(TAO_ROOT)/rules.tao.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/Naming_Service -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -.PRECIOUS: Event_CommC.cpp Event_CommS.cpp Event_CommC.h Event_CommS.h - -supplier: $(addprefix $(VDIR),$(SUPPLIER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -consumer: $(addprefix $(VDIR),$(CONSUMER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -notifier: $(addprefix $(VDIR),$(NOTIFIER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) Event_CommS.* Event_CommC.* Event_CommS_T.* - -endif # ! ACE_HAS_GNUG_PRE_2_8 - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Event_CommS.o .obj/Event_CommS.so .shobj/Event_CommS.o .shobj/Event_CommS.so: Event_CommS.cpp Event_CommS.h Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i Event_CommS_T.h Event_CommS_T.i Event_CommS_T.cpp \ - Event_CommS.i -.obj/Event_CommC.o .obj/Event_CommC.so .shobj/Event_CommC.o .shobj/Event_CommC.so: Event_CommC.cpp Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i -.obj/Consumer_Handler.o .obj/Consumer_Handler.so .shobj/Consumer_Handler.o .shobj/Consumer_Handler.so: Consumer_Handler.cpp Consumer_Handler.h \ - Event_Comm_i.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - Event_CommS.h Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i Event_CommS_T.h Event_CommS_T.i Event_CommS_T.cpp \ - Event_CommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i -.obj/Consumer_Input_Handler.o .obj/Consumer_Input_Handler.so .shobj/Consumer_Input_Handler.o .shobj/Consumer_Input_Handler.so: Consumer_Input_Handler.cpp \ - Consumer_Input_Handler.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - Consumer_Handler.h Event_Comm_i.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - Event_CommS.h Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i Event_CommS_T.h Event_CommS_T.i Event_CommS_T.cpp \ - Event_CommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i -.obj/Event_Comm_i.o .obj/Event_Comm_i.so .shobj/Event_Comm_i.o .shobj/Event_Comm_i.so: Event_Comm_i.cpp Event_Comm_i.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - Event_CommS.h Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i Event_CommS_T.h Event_CommS_T.i Event_CommS_T.cpp \ - Event_CommS.i -.obj/Notifier_Handler.o .obj/Notifier_Handler.so .shobj/Notifier_Handler.o .shobj/Notifier_Handler.so: Notifier_Handler.cpp Notifier_Handler.h \ - $(ACE_ROOT)/ace/CORBA_Handler.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.i \ - Event_Comm_i.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - Event_CommS.h Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i Event_CommS_T.h Event_CommS_T.i Event_CommS_T.cpp \ - Event_CommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i -.obj/Supplier_Input_Handler.o .obj/Supplier_Input_Handler.so .shobj/Supplier_Input_Handler.o .shobj/Supplier_Input_Handler.so: Supplier_Input_Handler.cpp Event_Comm_i.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - Event_CommS.h Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i Event_CommS_T.h Event_CommS_T.i Event_CommS_T.cpp \ - Event_CommS.i Notifier_Handler.h \ - $(ACE_ROOT)/ace/CORBA_Handler.h \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - Supplier_Input_Handler.h -.obj/consumer.o .obj/consumer.so .shobj/consumer.o .shobj/consumer.so: consumer.cpp Consumer_Handler.h Event_Comm_i.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - Event_CommS.h Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i Event_CommS_T.h Event_CommS_T.i Event_CommS_T.cpp \ - Event_CommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - Consumer_Input_Handler.h -.obj/notifier.o .obj/notifier.so .shobj/notifier.o .shobj/notifier.so: notifier.cpp Notifier_Server.h Event_Comm_i.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - Event_CommS.h Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i Event_CommS_T.h Event_CommS_T.i Event_CommS_T.cpp \ - Event_CommS.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - notifier.h -.obj/supplier.o .obj/supplier.so .shobj/supplier.o .shobj/supplier.so: supplier.cpp Notifier_Handler.h \ - $(ACE_ROOT)/ace/CORBA_Handler.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.i \ - Event_Comm_i.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - Event_CommS.h Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i Event_CommS_T.h Event_CommS_T.i Event_CommS_T.cpp \ - Event_CommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - Supplier_Input_Handler.h supplier.h -.obj/Notifier_Server.o .obj/Notifier_Server.so .shobj/Notifier_Server.o .shobj/Notifier_Server.so: Notifier_Server.cpp Notifier_Server.h \ - Event_Comm_i.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - Event_CommS.h Event_CommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_CommC.i Event_CommS_T.h Event_CommS_T.i Event_CommS_T.cpp \ - Event_CommS.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Event_Comm/Notifier.dsp b/TAO/examples/Event_Comm/Notifier.dsp deleted file mode 100644 index 780903b2ebf..00000000000 --- a/TAO/examples/Event_Comm/Notifier.dsp +++ /dev/null @@ -1,213 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Event_Comm Notifier" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Event_Comm Notifier - 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 "Notifier.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 "Notifier.mak" CFG="Event_Comm Notifier - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Event_Comm Notifier - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Event_Comm Notifier - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Event_Comm Notifier - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\..\..\\" /I "..\..\orbsvcs" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /pdb:"Release/client.pdb" /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "Event_Comm Notifier - 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 ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /I "..\..\orbsvcs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /pdb:"client.pdb" /debug /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "Event_Comm Notifier - Win32 Release" -# Name "Event_Comm Notifier - Win32 Debug" -# Begin Group "Source" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Event_Comm_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_CommC.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_CommS.cpp -# End Source File -# Begin Source File - -SOURCE=.\notifier.cpp -# End Source File -# Begin Source File - -SOURCE=.\Notifier_Server.cpp -# End Source File -# End Group -# Begin Group "Header" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Event_Comm_i.h -# End Source File -# Begin Source File - -SOURCE=.\Notifier_Server.h -# End Source File -# End Group -# Begin Group "IDL" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Event_Comm.idl - -!IF "$(CFG)" == "Event_Comm Notifier - Win32 Release" - -USERDEP__EVENT="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Event_Comm.idl -InputName=Event_Comm - -BuildCmds= \ - ..\..\..\bin\Relese\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Event_Comm Notifier - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__EVENT="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler -InputPath=.\Event_Comm.idl -InputName=Event_Comm - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Event_Comm/Notifier_Handler.cpp b/TAO/examples/Event_Comm/Notifier_Handler.cpp deleted file mode 100644 index f39c84037a6..00000000000 --- a/TAO/examples/Event_Comm/Notifier_Handler.cpp +++ /dev/null @@ -1,131 +0,0 @@ -// $Id$ - -#include "Notifier_Handler.h" - -ACE_RCSID(Supplier, Notifier_Handler, "$Id$") - -Notifier_Handler::Notifier_Handler (void) -{ - // No-Op. -} - -// Destroy a Notifier target object. - -Notifier_Handler::~Notifier_Handler (void) -{ - // No-Op. -} - -int -Notifier_Handler::close (void) -{ - if (this->notifier_ != 0) - { - ACE_DEBUG ((LM_DEBUG, - "closing down Notifier_Handler\n")); - CORBA::release (this->notifier_); - this->notifier_ = 0; - } - - // shutdown the ORB. - this->orb_->shutdown (); - return 0; -} - -void -Notifier_Handler::shutdown (void) -{ - ACE_ASSERT (this->shutdowncallback != 0); - - this->shutdowncallback->close (); -} - -int -Notifier_Handler::run (void) -{ - // Run the ORB. - this->orb_->run (); - return 0; -} - -ACE_Reactor* -Notifier_Handler::reactor(void) -{ - // @@ Please see if there's a way to get to the Reactor without - // using the TAO_ORB_Core_instance(). - return TAO_ORB_Core_instance ()->reactor (); -} - -Event_Comm::Notifier * -Notifier_Handler::notifier (void) -{ - return this->notifier_; -} - -void -Notifier_Handler::notifier (Event_Comm::Notifier *notifier) -{ - if (this->notifier_ != notifier) - { - CORBA::release (this->notifier_); - this->notifier_ = notifier; - } -} - -// Init function. - -int -Notifier_Handler::init (int argc, - char *argv[], - ShutdownCallback* _shutdowncallback) -{ - // set the callback - shutdowncallback = _shutdowncallback; - - ACE_TRY_NEW_ENV - { - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (argc, - argv, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Initialization of the naming service. - if (this->naming_client_.init (orb_.in ()) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Unable to initialize " - "the TAO_Naming_Client. \n"), - -1); - - CosNaming::Name notifier_ref_name (1); - notifier_ref_name.length (1); - notifier_ref_name[0].id = - CORBA::string_dup (NOTIFIER_BIND_NAME); - - CORBA::Object_var notifier_obj = - this->naming_client_->resolve (notifier_ref_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - - // The CORBA::Object_var object is downcast to Notifier_var - // using the <_narrow> method. - this->notifier_ = - Event_Comm::Notifier::_narrow (notifier_obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - return 0; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Notifier_Handler::init\n"); - return -1; - } - ACE_ENDTRY; - - ACE_NOTREACHED (return 0;) -} diff --git a/TAO/examples/Event_Comm/Notifier_Handler.h b/TAO/examples/Event_Comm/Notifier_Handler.h deleted file mode 100644 index b1bf0dce4a3..00000000000 --- a/TAO/examples/Event_Comm/Notifier_Handler.h +++ /dev/null @@ -1,81 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// EventComm -// -// = FILENAME -// Notifier_Handler.h -// -// = AUTHOR -// Douglas C. Schmidt (schmidt@cs.wustl.edu) and -// Pradeep Gore (pradeep@cs.wustl.edu) -// -// ============================================================================ - -#ifndef _NOTIFIER_HANDLER_H -#define _NOTIFIER_HANDLER_H - -#include "ace/CORBA_Handler.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "Event_Comm_i.h" -#include "orbsvcs/Naming/Naming_Utils.h" -#include "orbsvcs/CosNamingC.h" - -class Notifier_Handler -{ - // = TITLE - // Holds the object which is obtained from - // the naming service. -public: - // = Initialization and termination methods. - Notifier_Handler (void); - // This constructor gets the notifier object from the Naming - // Service. - - virtual ~Notifier_Handler (void); - // Destructor. - - int init (int argc, char *argv[], ShutdownCallback* _shutdowncallback); - // Initialize the client communication endpoint with server. - - // = Accessors. - Event_Comm::Notifier *notifier (void); - void notifier (Event_Comm::Notifier *); - - int run (void); - // runs the ORB. - - int close (void); - // Close down the handler. - - void shutdown (void); - // called to request application shutdown. - - ACE_Reactor *reactor (void); - // returns the ORB's reactor. - -private: - CORBA::ORB_var orb_; - // Remember our orb. - - Event_Comm::Notifier *notifier_; - // Pointer to an object. - - TAO_Naming_Client naming_client_; - // An instance of the name client used for resolving the factory - // objects. - - ShutdownCallback *shutdowncallback; - // The handler to shutdown the app. -}; - -#define NOTIFIER_BIND_NAME "Notifier" - -#endif /* _NOTIFIER_HANDLER_H */ diff --git a/TAO/examples/Event_Comm/Notifier_Server.cpp b/TAO/examples/Event_Comm/Notifier_Server.cpp deleted file mode 100644 index c75e66c8e9f..00000000000 --- a/TAO/examples/Event_Comm/Notifier_Server.cpp +++ /dev/null @@ -1,147 +0,0 @@ -#include "Notifier_Server.h" -#include "Event_CommC.h" - -ACE_RCSID(Echo, Server_i, "$Id$") - -// Constructor. - -Notifier_Server::Notifier_Server (void) -{ - // no-op. -} - -// Destructor. - -Notifier_Server::~Notifier_Server (void) -{ - // no-op. -} - -int -Notifier_Server::close (void) -{ - ACE_TRY_NEW_ENV - { - // disconnect all the consumers. - this->servant_.disconnect ("notifier shutdown.", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Name the object. - CosNaming::Name notifier_obj_name (1); - notifier_obj_name.length (1); - notifier_obj_name[0].id = - CORBA::string_dup (NOTIFIER_BIND_NAME); - - this->naming_server_->unbind (notifier_obj_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Instruct the ORB to shutdown. - this->orb_manager_.orb ()->shutdown (); - } - ACE_CATCHANY - { - return -1; - } - ACE_ENDTRY; - - return 0; -} - -// The naming service is initialized and the naming context as well as -// the object name is bound to the naming server. - -int -Notifier_Server::init_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - CORBA::ORB_var orb = this->orb_manager_.orb (); - - PortableServer::POA_var child_poa - = this->orb_manager_.child_poa (); - - TAO_debug_level = 1; - - if (this->naming_server_.init (orb.in (), - child_poa.in ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Failed to initialize TAO_Naming_Server\n"), - -1); - - // Register the object implementation with the POA. - Event_Comm::Notifier_var notifier_obj = - this->servant_._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Name the object. - CosNaming::Name notifier_obj_name (1); - notifier_obj_name.length (1); - notifier_obj_name[0].id = - CORBA::string_dup (NOTIFIER_BIND_NAME); - ACE_TRY_CHECK; - - // Now, attach the object name to the context. - this->naming_server_->bind (notifier_obj_name, - notifier_obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Notifier_Server::init_naming_service\n"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - - -// Initialize the server. -int -Notifier_Server::init (int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - // Call the init of to initialize the ORB and - // create the child poa under the root POA. - - if (this->orb_manager_.init_child_poa (argc, - argv, - "child_poa", - ACE_TRY_ENV) == -1) - - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init_child_poa"), - -1); - ACE_CHECK_RETURN (-1); - - // Activate the servant in the POA. - CORBA::String_var str = - this->orb_manager_.activate_under_child_poa (NOTIFIER_BIND_NAME, - &this->servant_, - ACE_TRY_ENV); - - return this->init_naming_service (ACE_TRY_ENV); -} - -int -Notifier_Server::run (CORBA::Environment &ACE_TRY_ENV) -{ - // Run the main event loop for the ORB. - if (this->orb_manager_.run (ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Notifier_Server::run"), - -1); - return 0; -} - -ACE_Reactor * -Notifier_Server::reactor (void) -{ - return TAO_ORB_Core_instance ()->reactor (); -} diff --git a/TAO/examples/Event_Comm/Notifier_Server.h b/TAO/examples/Event_Comm/Notifier_Server.h deleted file mode 100644 index 2439dfe53d9..00000000000 --- a/TAO/examples/Event_Comm/Notifier_Server.h +++ /dev/null @@ -1,71 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// EventComm -// -// = FILENAME -// Notifier_Server.h -// -// = AUTHOR -// Pradeep Gore -// -// ============================================================================ - -#ifndef _NOTIFIER_SERVER_H -#define _NOTIFIER_SERVER_H - -#include "Event_Comm_i.h" -#include "tao/TAO.h" -#include "orbsvcs/CosNamingS.h" -#include "orbsvcs/Naming/Naming_Utils.h" - -class Notifier_Server -{ - // = TITLE - // The Notifier Server that handles CORBA operations from - // Consumers and Suppliers. -public: - // = Initialization and termination methods. - Notifier_Server (void); - // Constructor. - - ~Notifier_Server (void); - // Destructor. - - int init (int argc, char *argv[], CORBA::Environment &env); - // Initialize the Server state. - - int run (CORBA::Environment &env); - // Run the orb. - - int close (void); - // Close the naming service. - - ACE_Reactor *reactor(void); - // Reactor accessor. - -private: - int init_naming_service (CORBA::Environment &env); - // Initialises the name server and registers the Notifier server - // object name with the name server. - - TAO_ORB_Manager orb_manager_; - // The ORB manager. - - Notifier_i servant_; - // Servant for the Notifier interface. - - CosNaming::NamingContext_var naming_context_; - // Naming context for the naming service. - - TAO_Naming_Server naming_server_; - // An instance of the name server, wherein the naming context - // containing the factory of objects will be registered. -}; - -#define NOTIFIER_BIND_NAME "Notifier" - -#endif /* _NOTIFIER_SERVER_H */ diff --git a/TAO/examples/Event_Comm/README b/TAO/examples/Event_Comm/README deleted file mode 100644 index fbb34bdf132..00000000000 --- a/TAO/examples/Event_Comm/README +++ /dev/null @@ -1,98 +0,0 @@ -OVERVIEW - -This directory contains source code for a prototype CORBA-based -distributed notification mechanism. This mechanism implements a -"publish/subscribe" communication protocol. It allows Suppliers to -pass messages containing object references to a dynamically managed -group of Consumers. This is similar to the OMG COS Events Service, -though not as sophisticated. For more examples on the COS Events -Service check out $TAO_ROOT/orbsvcs/orbsvcs/. - -DIRECTORY STRUCTURE - -There are 3 executables: - -Notifier - - -- The Notifier supplies events from Suppliers to Consumers - It which must be started first. - It has an instance of an IDL Notifier - object. This object accepts subscriptions from Consumers - and forwards events sent to it either via Consumers or - Suppliers. - The Notifier object is registered with a naming service - so that it can be located by other objects. - To run the Notifier, type: - notifier - - To exit the Notifier press CTRL-C. - All consumers registered with the Notifier will shutdown. - Suppliers should however, be shutdown beforehand. -Supplier: - On startup the Supplier gets hold of the Notifier object from - the naming service and registers itself with it. - The Supplier accepts strings from the user and sends them to - the Notifier. - To run the supplier type: - supplier - - To exit the supplier type CTRL-C or type "quit". - To send strings to the Consumers, type the string on the prompt - and press ENTER. - -Consumer: - It has an instance of an IDL Consumer object. - This object is used to receive notifications from the - Notifier object. - When the Consumer starts up, it gets an object reference to - the Notifier. - It then subscribes its Consumer object with - the Notifier by passing an object reference. - - In addition to passing an object reference to a - Notifier, the Consumer also may specify a - filtering criteria, which is a regular expression. If - the filtering criteria is the string "" then the Notifier - will send all Notifications to the Consumer (i.e., "" is - treated as a "wildcard"). Otherwise, the filtering - criteria is considered to be a regular expression, - and only those Notification tags that match the regular - expression will be forwarded to the Consumer. The regular - expressions are those used by ed(1) (see the regexp(5) - manual page for more info). - - To run the Consumer, type: - consumer - - e.g. consumer a*b - will accept the following strings: ab , b, aaaab. - - To send strings to other Consumers, type the string on the prompt - and press ENTER. - -RUNNING THE SAMPLE: - -To run the tests do the following: - -1. Compile everything. - -2. Start the Notifier as described above. - -3. Start the Supplier executable. - -4. Start up as many copies of the Consumer as you'd like. - Typically, I run each one in its own window. - -5. Once the Consumers have subscribed you can send them info by typing - commands in the Supplier window. These will be sent to all the - Consumers who have subscribed. Likewise, you can send messages - from a Consumer to all other Consumers by typing messages in a - Consumer window. - - Note that if you type "quit" or ^C in a Consumer window the - Consumer will unsubscribe and shutdown its handlers and exit. - Likewise, if you type ^C in the Notifier window - the Notifier will disconnect all of its Consumers and exit. - -6. When you want to terminate a Consumer or a Supplier, just type ^C - or "quit" and the process will shut down gracefully. diff --git a/TAO/examples/Event_Comm/Supplier.dsp b/TAO/examples/Event_Comm/Supplier.dsp deleted file mode 100644 index b114c1e5afc..00000000000 --- a/TAO/examples/Event_Comm/Supplier.dsp +++ /dev/null @@ -1,229 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Event_Comm Supplier" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Event_Comm Supplier - 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 "Supplier.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 "Supplier.mak" CFG="Event_Comm Supplier - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Event_Comm Supplier - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Event_Comm Supplier - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Event_Comm Supplier - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Supplier" -# PROP BASE Intermediate_Dir "Supplier" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Supplier" -# PROP Intermediate_Dir "Supplier" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\..\..\\" /I "..\..\orbsvcs" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /Fo"Release/" /Fd"Release/" /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /pdb:"Release/client.pdb" /machine:I386 /out:"Release/Supplier.exe" /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "Event_Comm Supplier - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Supplie0" -# PROP BASE Intermediate_Dir "Supplie0" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /I "..\..\orbsvcs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /pdb:"client.pdb" /debug /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "Event_Comm Supplier - Win32 Release" -# Name "Event_Comm Supplier - Win32 Debug" -# Begin Group "Source" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Event_Comm_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_CommC.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_CommS.cpp -# End Source File -# Begin Source File - -SOURCE=.\Notifier_Handler.cpp -# End Source File -# Begin Source File - -SOURCE=.\supplier.cpp -# End Source File -# Begin Source File - -SOURCE=.\Supplier_Input_Handler.cpp -# End Source File -# End Group -# Begin Group "Header" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Event_Comm_i.h -# End Source File -# Begin Source File - -SOURCE=.\Event_CommC.h -# End Source File -# Begin Source File - -SOURCE=.\Event_CommS.h -# End Source File -# Begin Source File - -SOURCE=.\Notifier_Handler.h -# End Source File -# Begin Source File - -SOURCE=.\Supplier_Input_Handler.h -# End Source File -# End Group -# Begin Group "IDL" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Event_Comm.idl - -!IF "$(CFG)" == "Event_Comm Supplier - Win32 Release" - -USERDEP__EVENT="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Event_Comm.idl -InputName=Event_Comm - -BuildCmds= \ - ..\..\..\bin\Relese\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Event_Comm Supplier - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__EVENT="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler -InputPath=.\Event_Comm.idl -InputName=Event_Comm - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp b/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp deleted file mode 100644 index b6322eccd73..00000000000 --- a/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp +++ /dev/null @@ -1,121 +0,0 @@ -// $Id$ - -#include "Event_Comm_i.h" -#include "Notifier_Handler.h" -#include "Supplier_Input_Handler.h" - -ACE_RCSID(Supplier, Supplier_Input_Handler, "$Id$") - -Supplier_Input_Handler::Supplier_Input_Handler () - : notifier_ (0) -{ - // No-Op. -} - -Supplier_Input_Handler::~Supplier_Input_Handler (void) -{ - ACE_DEBUG ((LM_DEBUG, - "closing down Supplier_Input_Handler::~Supplier_Input_Handler\n")); -} - -int -Supplier_Input_Handler::close (void) -{ - ACE_DEBUG ((LM_DEBUG, - "closing down Supplier::Supplier_Input_Handler\n")); - - // Make sure to cleanup the STDIN handler. - if (ACE_Event_Handler::remove_stdin_handler - ( - TAO_ORB_Core_instance ()->reactor (), - TAO_ORB_Core_instance ()->thr_mgr ()) == -1) - ACE_ERROR ((LM_ERROR, - "%p\n", - "remove_stdin_handler")); - return 0; -} - -int -Supplier_Input_Handler::initialize (Notifier_Handler *notifier) -{ - notifier_ = notifier; - // Register our to handle STDIN events, which will - // trigger the method to process these events. - - if (ACE_Event_Handler::register_stdin_handler - (this, - TAO_ORB_Core_instance ()->reactor (), - TAO_ORB_Core_instance ()->thr_mgr ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "register_stdin_handler"), - -1); - - - return 0; -} - -// Frame input events and notify . - -int -Supplier_Input_Handler::handle_input (ACE_HANDLE) -{ - char buf[BUFSIZ]; - - // Read up to BUFSIZ worth of data from ACE_HANDLE h. - - if (ACE_OS::fgets (buf, - sizeof buf - 1, - stdin) == 0) - { - ACE_DEBUG ((LM_DEBUG, - "shutting down Supplier_Input_Handler\n")); - return 0; - } - else - { - size_t n = ACE_OS::strlen (buf); - - // Null terminate the buffer, replacing the '\n' with '\0'. - if (buf[n - 1] == '\n') - buf[n - 1] = '\0'; - else - buf[n] = '\0'; - ACE_DEBUG ((LM_DEBUG, - "notifying for event %s\n", - buf)); - } - - - - if (ACE_OS::strncmp (buf, "quit", 4) == 0) - // Tell the main event loop to shutdown. - this->notifier_->shutdown (); - else - { - Event_Comm::Notifier *notifier = this->notifier_->notifier (); - ACE_ASSERT (notifier != 0); - - // Use the notifier to notify Consumers. - ACE_TRY_NEW_ENV - { - Event_Comm::Event event; - - // Pass the buf over in the tag field. - event.tag_ = ACE_OS::strdup (buf); - - // This is where the "any" value goes or the object - // reference... event.value_ = ... - - // Forward to all . - notifier->push (event, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected Error\n"); - } - ACE_ENDTRY; - } - return 0; -} diff --git a/TAO/examples/Event_Comm/Supplier_Input_Handler.h b/TAO/examples/Event_Comm/Supplier_Input_Handler.h deleted file mode 100644 index 706e4bc77b7..00000000000 --- a/TAO/examples/Event_Comm/Supplier_Input_Handler.h +++ /dev/null @@ -1,65 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// EventComm -// -// = FILENAME -// Supplier_Input_Handler.h -// -// = DESCRIPTION -// Handle input from the keyboard. -// -// = AUTHOR -// Douglas C. Schmidt (schmidt@cs.wustl.edu) and -// Pradeep Gore (pradeep@cs.wustl.edu) -// -// ============================================================================ - -#ifndef SUPPLIER_INPUT_HANDLER_H -#define SUPPLIER_INPUT_HANDLER_H - -#include "ace/Service_Config.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -// Forward declaration. -class Notifier_Handler; - -class Supplier_Input_Handler : public ACE_Event_Handler -{ - // = TITLE - // Handles input events generated from a keyboard. - // - // = DESCRIPTION - // The events are currently framed and forwarded to all Consumers. - // In the future, we will need to be more selective and only send - // to those Consumers whose filtering criteria matches! -public: - // = Initialization and termination methods. - Supplier_Input_Handler (void); - // Constructor. - - ~Supplier_Input_Handler (void); - // Destructor. - - int initialize (Notifier_Handler *); - // Initialization. - - virtual int handle_input (ACE_HANDLE); - // Frame input events and notify . - - int close (void); - // Close down the handler. - -protected: - Notifier_Handler *notifier_; - // Pointer to a that's used to inform Consumers - // that events of interest have occurred. -}; - -#endif /* SUPPLIER_INPUT_HANDLER_H */ diff --git a/TAO/examples/Event_Comm/consumer.cpp b/TAO/examples/Event_Comm/consumer.cpp deleted file mode 100644 index 55b157feaf0..00000000000 --- a/TAO/examples/Event_Comm/consumer.cpp +++ /dev/null @@ -1,132 +0,0 @@ -// $Id$ - -#include "Consumer_Handler.h" -#include "Consumer_Input_Handler.h" - -ACE_RCSID(Consumer, consumer, "$Id$") - -class Consumer : public ACE_Event_Handler, public ShutdownCallback -{ - // = TITLE - // Consumer driver for the Publish/Subscribe example. - // - // = DESCRIPTION - // The Consumer holds the and - // objects. -public: - // = Initialization and termination methods. - Consumer (void); - // Constructor. - - ~Consumer (void); - // Destructor. - - int initialize (int argc, char *argv[]); - // Initialization method. - - int run (void); - // Execute the consumer; - - virtual void close (void); - // Shutdown the consumer. - -private: - virtual int handle_signal (int signum, siginfo_t *, ucontext_t *); - // Signal handler method. - - Consumer_Input_Handler ih_; - // Handler for keyboard input. - - Consumer_Handler ch_; - // Handler for CORBA Consumer. -}; - -Consumer::Consumer (void) -{ - // No-Op. -} - -Consumer::~Consumer (void) -{ - // No-Op. -} - -int -Consumer::handle_signal (int signum, - siginfo_t *, - ucontext_t *) -{ - ACE_DEBUG ((LM_DEBUG, - "%S\n", - signum)); - - // Indicate that the consumer initiated the shutdown. - this->ih_.consumer_initiated_shutdown (1); - - this->close (); - - return 0; -} - -void -Consumer::close (void) -{ - // clean up the input handler. - ih_.close (); - // Shut down the ORB - ch_.close (); -} - -int -Consumer::run (void) -{ - // Run the 's ORB. - return ch_.run (); -} - -int -Consumer::initialize (int argc, char *argv[]) -{ - // Initialize the . - if (this->ch_.init (argc, argv, this) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "Consumer_Handler failed to initialize\n"), - -1); - // Initialize the . - else if (this->ih_.initialize (&this->ch_) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "Consumer_Input_Handler failed to initialize\n"), - -1); - else if (this->ch_.reactor ()->register_handler (SIGINT, - this) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "register_handler"), - -1); - else - return 0; -} - -int -main (int argc, char *argv[]) -{ - // Initialize the supplier and consumer object references. - Consumer consumer; - - if (consumer.initialize (argc, argv) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "Consumer init failed\n"), - 1); - - // Loop forever handling events. - if (consumer.run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "Consumer run failed\n"), - 1); - - return 0; -} diff --git a/TAO/examples/Event_Comm/notifier.cpp b/TAO/examples/Event_Comm/notifier.cpp deleted file mode 100644 index f8cbc83c9bb..00000000000 --- a/TAO/examples/Event_Comm/notifier.cpp +++ /dev/null @@ -1,73 +0,0 @@ -// $Id$ - -#include "Notifier_Server.h" -#include "notifier.h" -ACE_RCSID(Notifier, notifier, "$Id$") - - -int -Notifier::handle_signal (int signum, siginfo_t *, ucontext_t *) -{ - ACE_DEBUG ((LM_DEBUG, - "got signal in handle_signal %S\n", - signum)); - - // Tell the to shut down the ORB. - ns_.close (); - return 0; -} - -void -Notifier::run (void) -{ - ACE_TRY_NEW_ENV - { - ns_.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return; - } - ACE_ENDTRY; -} - -Notifier::Notifier (int argc, char *argv[]) -{ - ACE_TRY_NEW_ENV - { - ns_.init (argc, argv, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Notifier_Server.init failed\n "); - } - ACE_ENDTRY; - - // Register with the ORB's Reactor to receive a signal to shut us - // down. - if (ns_.reactor ()->register_handler (SIGINT, this) == -1) - ACE_ERROR ((LM_ERROR, - "%p\n", - "register_handler")); -} - -Notifier::~Notifier (void) -{ - // Cleanup. - this->ns_.close (); -} - -int -main (int argc, char *argv[]) -{ - // Initialize server daemon. - Notifier notifier (argc, argv); - - // Loop forever handling events. - notifier.run (); - - return 0; -} diff --git a/TAO/examples/Event_Comm/notifier.h b/TAO/examples/Event_Comm/notifier.h deleted file mode 100644 index be45a848ebf..00000000000 --- a/TAO/examples/Event_Comm/notifier.h +++ /dev/null @@ -1,46 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/example/Event_Comm -// -// = FILENAME -// notifier.h -// -// = DESCRIPTION -// This class implements notifier driver for the Publish/Subscribe example -// -// = AUTHOR -// -// ============================================================================ - - - -class Notifier : public ACE_Event_Handler -{ - // = TITLE - // Notifier driver for the TAO Publish/Subscribe example. - // - // = DESCRIPTION - // The driver class for the object. - public: - // = Initialization and termination methods. - Notifier (int argc, char *argv[]); - // Constructor. - - ~Notifier (void); - // Destructor. - - void run (void); - // Execute the notifier. - - private: - virtual int handle_signal (int signum, - siginfo_t *, - ucontext_t *); - // Handle signals that shut us down. - - Notifier_Server ns_; - // The notifier server. -}; diff --git a/TAO/examples/Event_Comm/supplier.cpp b/TAO/examples/Event_Comm/supplier.cpp deleted file mode 100644 index c44b6123b8d..00000000000 --- a/TAO/examples/Event_Comm/supplier.cpp +++ /dev/null @@ -1,85 +0,0 @@ -// $Id$ - -#include "Notifier_Handler.h" -#include "Supplier_Input_Handler.h" -#include "supplier.h" - -ACE_RCSID(Supplier, supplier, "$Id$") -Supplier::Supplier (void) -{ - // No-Op. -} - -Supplier::~Supplier (void) -{ - // No-Op. -} - -int -Supplier::handle_signal (int signum, siginfo_t *, ucontext_t *) -{ - ACE_DEBUG ((LM_DEBUG, - "%S\n", - signum)); - - this->close (); - return 0; -} - -void -Supplier::run (void) -{ - if (nh_.run () == -1) - ACE_ERROR ((LM_ERROR, - "%p\n", - "Notifier_Handler::run")); -} - -void -Supplier::close (void) -{ - ih_.close (); - nh_.close (); -} - -int -Supplier::init (int argc, char *argv[]) -{ - if (this->nh_.init (argc, argv, this) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "Notifier_Handler did not init\n"), - -1); - else if (this->ih_.initialize (&nh_) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "Supplier Input handler did not init\n"), - -1); - else if (nh_.reactor ()->register_handler (SIGINT, - this) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "register_handler"), - -1); - ACE_DEBUG ((LM_DEBUG, - "Supplier initialized.. \n")); - return 0; -} - -int -main (int argc, char *argv[]) -{ - // Initialize server daemon. - Supplier supplier; - - if (supplier.init (argc, argv) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "supplier init failed"), - 1); - - // Loop forever handling events. - supplier.run (); - - return 0; -} diff --git a/TAO/examples/Event_Comm/supplier.h b/TAO/examples/Event_Comm/supplier.h deleted file mode 100644 index ee09719b593..00000000000 --- a/TAO/examples/Event_Comm/supplier.h +++ /dev/null @@ -1,56 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/example/Event_Comm -// -// = FILENAME -// supplier.h -// -// = DESCRIPTION -// This class implements driver for the Publish/Subscribe example -// -// = AUTHOR -// -// ============================================================================ - - -class Supplier : public ACE_Event_Handler, public ShutdownCallback -{ - // = TITLE - // Supplier driver for the TAO Publish/Subscribe example. - // - // = DESCRIPTION - // This class starts up the and - // objects. -public: - // Initialization and Termination methods. - Supplier (void); - // Constructor. - - ~Supplier (void); - // Destructor. - - int init (int argc, char *argv[]); - // Initialization method. returns 0 on success, -1 on error. - - void run (void); - // Execute the supplier. - - virtual void close (void); - // Shutdown the application. - -private: - virtual int handle_signal (int signum, - siginfo_t *, - ucontext_t *); - // Handle shutdown signals. - - Supplier_Input_Handler ih_; - // Handler for keyboard input. - - Notifier_Handler nh_; - // The notifier handler. -}; diff --git a/TAO/examples/Logging/Logger.idl b/TAO/examples/Logging/Logger.idl deleted file mode 100644 index 7feaeafcfb6..00000000000 --- a/TAO/examples/Logging/Logger.idl +++ /dev/null @@ -1,119 +0,0 @@ -// $Id$ - -#ifndef TAO_LOGGER_IDL -#define TAO_LOGGER_IDL - -// TAO_MAXLOGMSGLEN must be the same size as ACE_MAXLOGMSGLEN. -#if !defined TAO_MAXLOGMSGLEN -#define TAO_MAXLOGMSGLEN 4 * 1024 -#endif /* TAO_MAXLOGMSGLEN */ - -interface Logger -{ - // = TITLE - // Used to log messages to a logging server. - // - // = DESCRIPTION - // This implementation provides a CORBA wrapper around the - // mechanism. - - enum Log_Priority - { - - LM_SHUTDOWN, - // Shutdown the logger - - LM_TRACE, - // Messages indicating function-calling sequence - - LM_DEBUG, - // Messages that contain information normally of use only when - // debugging a program - - LM_INFO, - // Informational messages - - LM_NOTICE, - // Conditions that are not error conditions, but that may require - // special handling - - LM_WARNING, - // Warning messages - - LM_STARTUP, - // Initialize the logger - - LM_ERROR, - // Error messages - - LM_CRITICAL, - // Critical conditions, such as hard device errors - - LM_ALERT, - // A condition that should be corrected immediately, such as a - // corrupted system database - - LM_EMERGENCY, - // A panic condition. This is normally broadcast to all users - - LM_MAX - // In , LM_MAX is aliased to LM_EMERGENCY rather than - // being a distinct tag, but that is invalid IDL syntax. We - // adjust for this internally. - }; - - enum Verbosity_Level - { - VERBOSE, - // Display messages in a verbose manner. - - VERBOSE_LITE, - // Display messages in a less verbose manner (i.e., only print - // information that can change between calls). - - SILENT - // Do not print messages at all (just leave in thread-specific - // storage for later inspection). - }; - - struct Log_Record - { - Log_Priority type; // Type of logging message. - long time; // Timestamp of the sender. - long app_id; // Process id of the sender. - long host_addr; // IP address of the sender. - string msg_data; // The logging message. - }; - - oneway void log (in Log_Record log_rec); - // Transmit a Log_Record to the logging server. - - oneway void logv (in Log_Record log_rec, - in Verbosity_Level level); - // Log a message with a specific Verbosity level which may be - // differeny from the - - void log2 (in Log_Record log_rec); - // Like log (), but twoway such that applications will block until - // log messages are recieved by the logger - - void logv2 (in Log_Record log_rec, - in Verbosity_Level level); - // Like logv (), but twoway for the same reason as log2 () - - oneway void verbosity (in Verbosity_Level level); - // Change the state of the . This controls how - // much logging information is displayed by the server. -}; - -interface Logger_Factory -{ - // = TITLE - // Create a of type . - - Logger make_logger (in string name); - // Returns a new instance if is unique, or retuns a - // previously created instance of that name -}; - -#endif /* TAO_LOGGER_IDL */ diff --git a/TAO/examples/Logging/Logger_i.cpp b/TAO/examples/Logging/Logger_i.cpp deleted file mode 100644 index a61897aec58..00000000000 --- a/TAO/examples/Logging/Logger_i.cpp +++ /dev/null @@ -1,218 +0,0 @@ -// $Id$ - -#include "LoggerC.h" -#include "Logger_i.h" -#include "ace/ACE.h" -#include "ace/INET_Addr.h" -#include "ace/Log_Record.h" - -ACE_RCSID(Log, Logger_i, "$Id$") - -Logger_Factory_i::Logger_Factory_i (void) -{ -} - -Logger_Factory_i::~Logger_Factory_i (void) -{ -} - -Logger_ptr -Logger_Factory_i::make_logger (const char *name, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - Logger_i *result; - // If name is already in the map, will assign to the - // appropriate value - - if (hash_map_.find (name, result) != 0) - { - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "\nMaking a new logger")); - - // This attempts to create a new Logger_i and throws an - // exception and returns a null value if it fails - ACE_NEW_THROW_EX (result, - Logger_i (name), - CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (Logger::_nil ()); - } - - // Enter the new logger into the hash map. Check if the - // fails and if so, throw an UNKNOWN exception. may be - // valid, but since it would not be properly bound, its behavior my - // be off, so delete it to be safe. - if (hash_map_.bind (name, result) == -1) - { - delete result; - ACE_THROW_RETURN (CORBA::UNKNOWN (), - Logger::_nil ()); - } - else - // Logger of name already bound. is set - // appropriately by . So do nothing. - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "\nLogger name already bound")); - - // <_this> is an performance hit here, but apparently if the object - // is already registered with the POA, it will ignore the second - // registration attempt. - // @@ Matt, this code doesn't seem right. Can you please check with - // Irfan and Carlos about whether this is the right thing to do? - return result->_this (ACE_TRY_ENV); -} - -Logger_i::Logger_i (const char *name) - : name_ (ACE_OS::strdup (name)), - verbosity_level_ (Logger::VERBOSE) -{ - // Do nothing -} - -Logger_i::~Logger_i (void) -{ - ACE_OS::free (this->name_); -} - -ACE_Log_Priority -Logger_i::priority_conversion (Logger::Log_Priority priority) -{ - if (priority == Logger::LM_MAX) - return LM_MAX; - else - { - int pval = ACE_static_cast (int, priority); - - return ACE_static_cast (ACE_Log_Priority, - 1 << pval); - // (1 << pval) == 2^pval. are powers of 2. - } -} - -u_long -Logger_i::verbosity_conversion (Logger::Verbosity_Level verbosity_level) -{ - // This isn't very elegant, but it's because there's no simple - // mapping from 's to the verbosity flags - // specified in - switch (verbosity_level) - { - case Logger::SILENT: - return 64; - case Logger::VERBOSE_LITE: - return 32; - default: - case Logger::VERBOSE: - return 16; - } -} - -void -Logger_i::log (const Logger::Log_Record &log_rec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->logv (log_rec, verbosity_level_, ACE_TRY_ENV); -} - -void -Logger_i::log2 (const Logger::Log_Record &log_rec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->logv (log_rec, verbosity_level_, ACE_TRY_ENV); -} - -void -Logger_i::logv2 (const Logger::Log_Record &log_rec, - Logger::Verbosity_Level verbosity, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->logv (log_rec, verbosity, ACE_TRY_ENV); -} - -void -Logger_i::logv (const Logger::Log_Record &log_rec, - Logger::Verbosity_Level verbosity, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Create an to leverage existing logging - // code. Since Logger::Log_Priority enum tags don't cleanly map to - // ACE_Log_Priority tags, is used to coerce - // the mapping. - ACE_Log_Record rec (this->priority_conversion (log_rec.type), - ACE_Time_Value (log_rec.time), - log_rec.app_id); - - // Create a temporary buffer for manipulating the logging message, - // adding additional space for formatting characters.. - ASYS_TCHAR msgbuf [ACE_MAXLOGMSGLEN + 4]; - - // Format the message for proper display. - ACE_OS::strcpy (msgbuf, "::"); - - // Copy the message data into the temporary buffer - ACE_OS::strncat (msgbuf, - log_rec.msg_data, - ACE_MAXLOGMSGLEN); - - // Set to the value stored in . - rec.msg_data (msgbuf); - - CORBA::Long addr = log_rec.host_addr; - - // The constructor for requires a port number, which - // is not relevant in this context, so we give it 0. - ACE_INET_Addr addy (ACE_static_cast (u_short, 0), - ACE_static_cast (ACE_UINT32, - addr)); - - // Create a buffer and fill it with the host name of the logger - ASYS_TCHAR namebuf[MAXHOSTNAMELEN + 1]; - - ACE_OS::strncpy (namebuf, addy.get_host_addr (), MAXHOSTNAMELEN); - - u_long verb_level = this->verbosity_conversion (verbosity); - - rec.print (namebuf, - verb_level, - stderr); - // Print out the logging message to stderr with the given level of - // verbosity -} - -void -Logger_i::verbosity (Logger::Verbosity_Level level, - CORBA::Environment &) - ACE_THROW_SPEC (()) -{ - this->verbosity_level_ = level; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class ACE_Hash_Map_Entry; -template class ACE_Hash_Map_Manager; -template class ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator; -template class ACE_Hash_Map_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Reverse_Iterator; -template class ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex>; - -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate ACE_Hash_Map_Entry -#pragma instantiate ACE_Hash_Map_Manager -#pragma instantiate ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator -#pragma instantiate ACE_Hash_Map_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Reverse_Iterator -#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex> - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Logging/Logger_i.h b/TAO/examples/Logging/Logger_i.h deleted file mode 100644 index c23a0659134..00000000000 --- a/TAO/examples/Logging/Logger_i.h +++ /dev/null @@ -1,115 +0,0 @@ -/* -*- C++ -*- */ - -// ============================================================================ -// -// $Id$ -// -// = LIBRARY -// TAO services -// -// = FILENAME -// Logger_i.h -// -// = AUTHOR -// Marina Spivak , -// Sergio Flores-Gaitan , and -// Matthew Braun -// -// ============================================================================ - -#ifndef TAO_ORBSVCS_LOGGER_I_H -#define TAO_ORBSVCS_LOGGER_I_H - -#include "LoggerS.h" - -class Logger_i : public virtual POA_Logger -{ - // = TITLE - // Used to log messages to a logging server. -public: - Logger_i (const char* name); - // constructor - - virtual ~Logger_i (void); - // destructor - - virtual void log (const Logger::Log_Record &log_rec, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Writes the to the standard output. - - virtual void logv (const Logger::Log_Record &log_rec, - Logger::Verbosity_Level verbosity, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Writes the to the standard output with the given - // verbosity level - - virtual void log2 (const Logger::Log_Record &log_rec, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Writes the to the standard output. - - virtual void logv2 (const Logger::Log_Record &log_rec, - Logger::Verbosity_Level verbosity, - CORBA::Environment & ACE_TRY_ENV= - TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Writes the to the standard output with the given - // verbosity level - - void verbosity (Logger::Verbosity_Level level, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) - ACE_THROW_SPEC (()); - // Sets the verbosity level. Valid values are {VERBOSE, VERBOSE_LITE - // and SILENT}. Defaults to VERBOSE - -private: - ACE_Log_Priority priority_conversion (Logger::Log_Priority priority); - // Converts the IDL defined enum type to the - // enum type. - - u_long verbosity_conversion (Logger::Verbosity_Level verbosity_level); - // Converts the IDL defined enum type to a u_long, - // which is used by the to distinguish the - // level of verbosity. - - char *name_; - // Logger identification. - - Logger::Verbosity_Level verbosity_level_; - // Keeps track of what our current verbosity level is. This can be - // reset by the client to a new value at any point. -}; - -class Logger_Factory_i : public virtual POA_Logger_Factory -{ - // = TITLE - // Create a of type . -public: - Logger_Factory_i (void); - // Constructor. - - ~Logger_Factory_i (void); - // Destructor. - - virtual Logger_ptr make_logger (const char *name, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // This function returns a logger with name . If is - // unique, a new logger is created; else, a previously created - // logger of name is returned - -private: - ACE_Hash_Map_Manager hash_map_; - // Calls to will create a new instance of and - // bind into the hash map manager if is unique, else it will - // return a previously bound entry. -}; - -#endif /* TAO_ORBSVCS_LOGGER_I_H */ diff --git a/TAO/examples/Logging/Logging_Service.cpp b/TAO/examples/Logging/Logging_Service.cpp deleted file mode 100644 index 31e512ea1b2..00000000000 --- a/TAO/examples/Logging/Logging_Service.cpp +++ /dev/null @@ -1,40 +0,0 @@ -// $Id$ - -#include "Logging_Service_i.h" - -ACE_RCSID(Logging_Service, Logging_Service, "$Id$") - -int -main (int argc, char *argv[]) -{ - // Set TAO_debug_level to 0 to ensure silent running unless - // debugging is explicitly invoked - TAO_debug_level = 0; - - Logger_Server log_server; - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - if (log_server.init (argc, argv, ACE_TRY_ENV) == -1) - return 1; - else - { - log_server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/examples/Logging/Logging_Service_i.cpp b/TAO/examples/Logging/Logging_Service_i.cpp deleted file mode 100644 index de5610eb901..00000000000 --- a/TAO/examples/Logging/Logging_Service_i.cpp +++ /dev/null @@ -1,139 +0,0 @@ -// $Id$ - -#include "Logging_Service_i.h" - -ACE_RCSID(Logging_Service, Logging_Service_i, "$Id$") - -Logger_Server::Logger_Server (void) - :service_name_ (ACE_const_cast (char *,"LoggingService")) -{ - // Do nothing -} - -int -Logger_Server::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "dn:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; - break; - case 'n': // Set factory name to cmnd line arg - service_name_ = get_opts.optarg; - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-n service-name]" - "\n", - argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -int -Logger_Server::init (int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - this->argc_ = argc; - this->argv_ = argv; - - // Call the init of to initialize the ORB and - // create a child POA under the root POA. - if (this->orb_manager_.init_child_poa (argc, - argv, - "child_poa", - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init_child_poa"), - -1); - - ACE_CHECK_RETURN (-1); - - this->orb_manager_.activate_poa_manager (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - // Parse the command line arguments. - if (this->parse_args () != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "parse_args"), - -1); - - // Activate the logger_factory. - CORBA::String_var str = - this->orb_manager_.activate_under_child_poa ("logger_factory", - &this->factory_impl_, - ACE_TRY_ENV); - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", - str.in ())); - - // Initialize the naming service - if (this->init_naming_service (ACE_TRY_ENV) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init_naming_service"), - -1); - else - return 0; -} - - -// Initialisation of Naming Service and register IDL_Logger Context -// and logger_factory object. - -int -Logger_Server::init_naming_service (CORBA::Environment& ACE_TRY_ENV) -{ - // Get pointers to the ORB and child POA - CORBA::ORB_var orb = this->orb_manager_.orb (); - PortableServer::POA_var child_poa = this->orb_manager_.child_poa (); - - // Initialize the naming service - if (this->my_name_server_.init (orb.in (), - child_poa.in ()) == -1) - return -1; - - // Create an instance of the Logger_Factory - Logger_Factory_var factory = this->factory_impl_._this (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - //Register the logger_factory - CosNaming::Name factory_name (1); - factory_name.length (1); - factory_name[0].id = CORBA::string_dup ("Logger_Factory"); - this->my_name_server_->bind (factory_name, - factory.in (), - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - return 0; -} - -int -Logger_Server::run (CORBA::Environment &ACE_TRY_ENV) -{ - if (this->orb_manager_.run (ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Logger_Server::run"), - -1); - return 0; -} - -Logger_Server::~Logger_Server (void) -{ - // Do nothing -} diff --git a/TAO/examples/Logging/Logging_Service_i.h b/TAO/examples/Logging/Logging_Service_i.h deleted file mode 100644 index 7db0c6cf9cd..00000000000 --- a/TAO/examples/Logging/Logging_Service_i.h +++ /dev/null @@ -1,105 +0,0 @@ -// -*- c++ -*- -// $Id$ - - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/Logging_Service/ -// -// = FILENAME -// Logging_Service_i.h -// -// = DESCRIPTION -// This class implements a simple "logger" CORBA server for the Logging -// service using skeletons generated by the TAO ORB IDL compiler. -// -// = AUTHORS -// Nagarajan Surendran -// Matthew Braun -// -// ============================================================================ - -#ifndef _LOG_SERVER_H -#define _LOG_SERVER_H - -#include "ace/Get_Opt.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Log_Msg.h" -#include "ace/OS.h" -#include "tao/TAO.h" -#include "tao/POAManager.h" -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/Naming/Naming_Utils.h" -#include "Logger_i.h" -#include "LoggerS.h" -#include "LoggerC.h" - -class Logger_Server -{ - // = TITLE - // Defines a Logger_Server class that implements the functionality - // of a server process as an object. - // - // = DESCRIPTION - // The interface is quite simple. A server program has to call - // init to initialize the logger_server's state and then call run - // to run the orb. -public: - // = Initialization and termination methods. - Logger_Server (void); - // Constructor. - - ~Logger_Server (void); - // Destructor. - - int init (int argc, - char **argv, - CORBA::Environment &ACE_TRY_ENV); - // Initialize the Logger_Server state - parsing arguments and ... - - int run (CORBA::Environment &ACE_TRY_ENV); - // Run the ORB. - - Logger_ptr make_logger (const char *name, - CORBA::Environment &ACE_TRY_ENV); - // This function creates and returns a logger with the given . - // Currently, is unused. - -private: - int parse_args (void); - // Parses the commandline arguments. - - int init_naming_service (CORBA::Environment &ACE_TRY_ENV); - // Initialises the name server and registers logger_factory with the - // name server. - - TAO_ORB_Manager orb_manager_; - // The ORB manager. - - TAO_Naming_Server my_name_server_; - // An instance of the name server used for registering the factory - // objects. - - Logger_Factory_i factory_impl_; - // Implementation object of the Logger_Factory. - - Logger_Factory_var factory_; - // Factory_var to register with NamingService. - - int argc_; - // Number of commandline arguments. - - char **argv_; - // commandline arguments. - - char* service_name_; - // The id to give the Logger_Factory instance (defaults to - // "LoggingService") -}; - -#endif /* _LOG_SERVER_H */ diff --git a/TAO/examples/Logging/Logging_Test.cpp b/TAO/examples/Logging/Logging_Test.cpp deleted file mode 100644 index f309e54d9e6..00000000000 --- a/TAO/examples/Logging/Logging_Test.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// $Id$ - -#include "Logging_Test_i.h" - -ACE_RCSID(Logger, Logging_Test, "$Id$") - -// This function runs the Logging service test. - -int -main (int argc, char **argv) -{ - Logger_Client logger_client; - - ACE_DEBUG ((LM_DEBUG, - "\n \t IDL_Logger: client \n\n")); - - if (logger_client.init (argc, argv) == -1) - return 1; - - return logger_client.run (); - -} diff --git a/TAO/examples/Logging/Logging_Test_i.cpp b/TAO/examples/Logging/Logging_Test_i.cpp deleted file mode 100644 index fecc05cbd9a..00000000000 --- a/TAO/examples/Logging/Logging_Test_i.cpp +++ /dev/null @@ -1,358 +0,0 @@ -// $Id$ - -#include "ace/INET_Addr.h" -#include "ace/SOCK_Dgram_Mcast.h" -#include "ace/OS.h" -#include "orbsvcs/CosNamingC.h" -#include "LoggerC.h" -#include "Logging_Test_i.h" - -ACE_RCSID(Logger, Logging_Test_i, "$Id$") - - // Constructor - Logger_Client::Logger_Client (void) -{ - // Do nothing -} - -// Destructor -Logger_Client::~Logger_Client (void) -{ - // Do nothing -} - -int -Logger_Client::init (int argc, char *argv[]) -{ - this->argc_ = argc; - this->argv_ = argv; - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Initialize the ORB - orb_ = CORBA::ORB_init (argc, - argv, - "internet", - ACE_TRY_ENV); - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "\nTrying to initialize orb\n")); - - ACE_TRY_CHECK; - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "\nOrb initialized successfully\n")); - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - return -1; - - // Initialize the naming service - if (this->init_naming_service (ACE_TRY_ENV) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize naming" - "services.\n"), - -1); - // Create the logger instances - if (this->init_loggers (ACE_TRY_ENV) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize logger" - "instances.\n"), - -1); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "init"); - return -1; - } - ACE_ENDTRY; - - return 0; - -} - -int -Logger_Client::init_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - // Initialize the naming services - if (my_name_client_.init (orb_.in ()) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize " - "the TAO_Naming_Client. \n"), - -1); - - // Resolve an instance of the Logger_Factory - CosNaming::Name factory_name (1); - factory_name.length (1); - factory_name[0].id = CORBA::string_dup ("Logger_Factory"); - - CORBA::Object_var factory_ref = - my_name_client_->resolve (factory_name, - ACE_TRY_ENV); - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "\nFactory_ref resolved\n")); - - if (CORBA::is_nil (factory_ref.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "resolved to nil object"), - -1); - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "\nLogger_Factory resolved\n")); - - // Narrow the factory and check the success - factory_ = - Logger_Factory::_narrow (factory_ref.in (), - ACE_TRY_ENV); - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "\nFactory narrowed\n")); - if (CORBA::is_nil (factory_.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "narrow returned nil"), - -1); - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "\nLogger_Factory narrowed\n")); - - // If debugging, get the factory's IOR - CORBA::String_var str = - orb_->object_to_string (factory_.in (), - ACE_TRY_ENV); - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "The factory IOR is <%s>\n", - str.in ())); - return 0; -} - -int -Logger_Client::init_loggers (CORBA::Environment &ACE_TRY_ENV) -{ - // Retrieve the Logger obj ref corresponding to key1 and - // key2. - ACE_TRY - { - this->logger_1_ = factory_->make_logger ("key1", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->logger_2_ = factory_->make_logger ("key2", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (this->logger_1_.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "nil logger1"), - -1); - - if (CORBA::is_nil (this->logger_2_.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "nil logger2"), - -1); - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "Created two loggers\n")); - - if (TAO_debug_level > 0) - { - ACE_DEBUG ((LM_DEBUG, - "\nTrying to resolve already created logger...")); - Logger_var logger_3 = factory_->make_logger ("key1", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (logger_3.in ())) - ACE_DEBUG ((LM_DEBUG, - "\nResolution failed.")); - else - ACE_DEBUG ((LM_DEBUG, - "\nResolution succeeded.")); - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "init_loggers"); - return -1; - } - ACE_ENDTRY; - return 0; -} - - -// Execute client example code. - -int -Logger_Client::run (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Create 3 Log_Records for the test - Logger::Log_Record rec1; - Logger::Log_Record rec2; - Logger::Log_Record rec3; - Logger::Log_Record rec4; - ; - // Setup the first log record - this->init_record (rec1, - Logger::LM_DEBUG, - "log() test (1) \n"); - - // Setup the second log record - this->init_record (rec2, - Logger::LM_MAX, - "log() test (2) \n"); - - // Setup the third log record - this->init_record (rec3, - Logger::LM_INFO, - "logv() test (3) \n"); - - // Setup the fourth log record - this->init_record (rec4, - Logger::LM_EMERGENCY, - "log2() test (4) \n"); - - // If debugging, output the new log records - if (TAO_debug_level > 0) - { - ACE_DEBUG ((LM_DEBUG, - "\nFirst Log_Record created. Contents:\n")); - this->show_record (rec1); - - ACE_DEBUG ((LM_DEBUG, - "\nSecond Log_Record created. Contents:\n")); - this->show_record (rec2); - - ACE_DEBUG ((LM_DEBUG, - "\nThird log record created. Contents:\n")); - this->show_record (rec3); - - ACE_DEBUG ((LM_DEBUG, - "\nFourth log record created. Contents:\n")); - this->show_record (rec4); - } - - // Change the verbosity. - this->logger_1_->verbosity (Logger::VERBOSE_LITE, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Log the first Log_Record (VERBOSE_LITE) - this->logger_1_->log (rec1, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Change the verbosity again. - this->logger_2_->verbosity (Logger::VERBOSE, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Log the second Log_Record (VERBOSE) - this->logger_2_->log (rec2, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Change the verbosity again - this->logger_2_->verbosity (Logger::SILENT, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Log the third log record using logv() (this shows if the - // verbosity level overrides the logger's verbosity level) - this->logger_2_->logv (rec3, Logger::VERBOSE, ACE_TRY_ENV); - - // Change the verbosity again (so that regular log msgs can be - // seen again) - this->logger_2_->verbosity (Logger::VERBOSE, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Log the fourth record using log2() - this->logger_2_->log2 (rec4, ACE_TRY_ENV); - } - - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "run"); - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// Parses the command line arguments and returns an error status. - -int -Logger_Client::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "d"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag - TAO_debug_level++; - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - "\n" - " -d: increase debug level\n", - this->argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - - -void -Logger_Client::init_record (Logger::Log_Record &newrec, - Logger::Log_Priority lp, - const char *msg) -{ - // Copy the message data into newrec. - newrec.msg_data = CORBA::string_dup (msg); - - // Assign the log priority. - newrec.type = lp; - - // Create and assign the timestamp. - ACE_Time_Value time (ACE_OS::gettimeofday ()); - newrec.time = time.sec (); - - // Get and store the PID of the calling process. - pid_t pid = ACE_OS::getpid (); - newrec.app_id = pid; - - // Get and store the IP of the local host . - char name[MAXHOSTNAMELEN]; - ACE_OS::hostname (name, MAXHOSTNAMELEN); - hostent *he = ACE_OS::gethostbyname (name); - newrec.host_addr = - (ACE_reinterpret_cast (in_addr *, - he->h_addr_list[0])->s_addr); -} - -void -Logger_Client::show_record (Logger::Log_Record &newrec) -{ - in_addr address; - address.s_addr = newrec.host_addr; - - ACE_DEBUG ((LM_DEBUG, - " Log Priority: %d\n" - " Time: %d\n" - " PID: %d\n" - " Host Address: %s\n" - " Message: %s\n", - newrec.type, - newrec.time, - newrec.app_id, - inet_ntoa (address), - newrec.msg_data.in ())); -} diff --git a/TAO/examples/Logging/Logging_Test_i.h b/TAO/examples/Logging/Logging_Test_i.h deleted file mode 100644 index aac66ba4c31..00000000000 --- a/TAO/examples/Logging/Logging_Test_i.h +++ /dev/null @@ -1,104 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/tests/Logger -// -// = FILENAME -// client_i.h -// -// = DESCRIPTION -// This class implements a simple logger CORBA client for the Logger -// example using stubs generated by the TAO ORB IDL compiler -// -// = AUTHORS -// Sergio Flores-Gaitan -// Matt Braun -// -// ============================================================================ - -#ifndef _LOG_CLIENT_H -#define _LOG_CLIENT_H - -#include "ace/Get_Opt.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/corba.h" -#include "orbsvcs/CosNamingC.h" -#include "LoggerC.h" -#include "orbsvcs/Naming/Naming_Utils.h" - -class Logger_Client -{ - // = TITLE - // Defines a class that encapsulates behaviour of the Logger - // client example. Provides a better understanding of the logic - // in an object oriented way. - // - // = DESCRIPTION - // This class declares an interface to run the example client for - // Logger CORBA server. All the complexity for initializing the - // server is hidden in the class. Just the interface is - // needed. -public: - // = Initialization and termination methods. - - Logger_Client (void); - // Constructor. - - ~Logger_Client (void); - // Destructor. - - int init (int argc, char **argv); - // Initialize the client communication endpoint with server. - - int run (void); - // Execute client example code. - -private: - int parse_args (void); - // Parses the arguments passed on the command line. - - void init_record (Logger::Log_Record &newrec, - Logger::Log_Priority lp, - const char *msg); - // Prepares the for logging. - - int init_naming_service (CORBA::Environment &ACE_TRY_ENV); - // Initialises the name server and resolves the logger_factory - - int init_loggers (CORBA::Environment &ACE_TRY_ENV); - // Instantiates the 2 logger member variables - - void show_record (Logger::Log_Record &newrec); - // Shows contents of the record (for debugging purposes). - - CORBA::ORB_var orb_; - // Keep a pointer to the ORB for easy access - - TAO_Naming_Client my_name_client_; - // An instance of the name client used for resolving the factory - // objects. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - Logger_Factory_var factory_; - // A pointer to the Logger_Factory; used in init_loggers - - Logger_var logger_1_; - // Logger obj ref. - - Logger_var logger_2_; - // Logger obj ref. -}; - -#endif /* _LOG_CLIENT_H */ diff --git a/TAO/examples/Logging/Makefile b/TAO/examples/Logging/Makefile deleted file mode 100644 index 1a378c90bce..00000000000 --- a/TAO/examples/Logging/Makefile +++ /dev/null @@ -1,1999 +0,0 @@ -# $Id$ -# -# needed for the Logging service stuff - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # TAO_ROOT - -override TAO_IDLFLAGS += -I$(TAO_ROOT)/orbsvcs/orbsvcs -Ge 1 - -# The following lines tell the souce code that the trading -# service is available. - -LDLIBS = -lorbsvcs -lTAO - -IDL_SRC = \ - LoggerC.cpp LoggerS.cpp - -SERVICE_SRCS = \ - Logger_i.cpp Logging_Service.cpp Logging_Service_i.cpp - -TEST_SRCS = \ - Logging_Test.cpp Logging_Test_i.cpp - -LSRC= \ - $(IDL_SRC) $(SERVICE_SRCS) $(TEST_SRCS) - -COMMON_OBJS = LoggerC.o LoggerS.o -SERVICE_OBJS = $(COMMON_OBJS) Logger_i.o Logging_Service.o Logging_Service_i.o -TEST_OBJS = $(COMMON_OBJS) Logging_Test.o Logging_Test_i.o - -BIN2 = Logging_Service Logging_Test - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - ifeq (LifeCycle,$(findstring LifeCycle,$(TAO_ORBSVCS))) - BIN = $(BIN2) - endif # LifeCycle -endif # Naming - -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#### Local rules and variables... - -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT)/orbsvcs/orbsvcs \ - -I$(TAO_ROOT) $(TSS_ORB_FLAG) -TAO_IDLFLAGS += -I$(TAO_ROOT)/orbsvcs/orbsvcs - -all: Logging_Service Logging_Test - -realclean: clean - -$(RM) *C.* *S.* *S_T.* - -.PRECIOUS: $(IDL_SRC) - -Logging_Service: $(addprefix $(VDIR),$(SERVICE_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -Logging_Test: $(addprefix $(VDIR),$(TEST_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/LoggerC.o .obj/LoggerC.so .shobj/LoggerC.o .shobj/LoggerC.so: LoggerC.cpp LoggerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - LoggerC.i -.obj/LoggerS.o .obj/LoggerS.so .shobj/LoggerS.o .shobj/LoggerS.so: LoggerS.cpp LoggerS.h LoggerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - LoggerC.i LoggerS_T.h LoggerS_T.i LoggerS_T.cpp LoggerS.i -.obj/Logger_i.o .obj/Logger_i.so .shobj/Logger_i.o .shobj/Logger_i.so: Logger_i.cpp LoggerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - LoggerC.i Logger_i.h LoggerS.h LoggerS_T.h LoggerS_T.i LoggerS_T.cpp \ - LoggerS.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i -.obj/Logging_Service.o .obj/Logging_Service.so .shobj/Logging_Service.o .shobj/Logging_Service.so: Logging_Service.cpp Logging_Service_i.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - Logger_i.h LoggerS.h LoggerC.h LoggerC.i LoggerS_T.h LoggerS_T.i \ - LoggerS_T.cpp LoggerS.i -.obj/Logging_Service_i.o .obj/Logging_Service_i.so .shobj/Logging_Service_i.o .shobj/Logging_Service_i.so: Logging_Service_i.cpp Logging_Service_i.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - Logger_i.h LoggerS.h LoggerC.h LoggerC.i LoggerS_T.h LoggerS_T.i \ - LoggerS_T.cpp LoggerS.i -.obj/Logging_Test.o .obj/Logging_Test.so .shobj/Logging_Test.o .shobj/Logging_Test.so: Logging_Test.cpp Logging_Test_i.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - LoggerC.h LoggerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i -.obj/Logging_Test_i.o .obj/Logging_Test_i.so .shobj/Logging_Test_i.o .shobj/Logging_Test_i.so: Logging_Test_i.cpp \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - LoggerC.h LoggerC.i Logging_Test_i.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Logging/README b/TAO/examples/Logging/README deleted file mode 100644 index 685d2d9d7ae..00000000000 --- a/TAO/examples/Logging/README +++ /dev/null @@ -1,47 +0,0 @@ -$ID$ - -This example implements and tests runs a simple logging service using -TAO. You can either run the client and server as seperate processes -in the same, or different windows (or machines), or you may run the -"runtests.pl" script which will start both executables. - -By default, the client and server use the Naming Service. The -Logging_Service has its own NamingServer implementation, so it doesn't -require you to start the NamingService before starting the client and -server. - -Ignore the multicast timeout error. It is a result of probing for the -nameservice and not finding it (and thus being forced to create its -own). - -If you encounter problems with the test, try increasing the sleeptime -in the run_test.pl script. - -The client program will generate 4 logging messages which will be -logged to the screen. The first message will be in the "verbose_lite" -format. The rest will be fully verbose messages. Successful output is: -LM_DEBUG@::log() test (1) -Mar 8 16:31:06.000 1999@128.252.165.142@822@LM_EMERGENCY@::log() test (2) -Mar 8 16:31:06.000 1999@128.252.165.142@822@LM_INFO@::logv() test (3) -Mar 8 16:31:06.000 1999@128.252.165.142@822@LM_EMERGENCY@::log2() test (4) - -server: ------ - -% server [-d] - -client: ------- - -% client [-d] - -Options: ------- - --d Debug flag. It is an additive flag, so more -d's will increase - the debugging level. Only one flag is necessary to enable the - debugging output from the executables, but the debug level - affects how the utilized TAO methods act (including mysterious - debugging messages). - -That's all there is to it. If you desire, feel free to change the -logging priorities, verbosity levels and messages in the client -program but note that the maximum length of the message is 1023 -characters. diff --git a/TAO/examples/Logging/run_test.pl b/TAO/examples/Logging/run_test.pl deleted file mode 100755 index 891abc3421f..00000000000 --- a/TAO/examples/Logging/run_test.pl +++ /dev/null @@ -1,47 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -# This is a Perl script that runs the Logger client and server - -unshift @INC, '../../../bin'; -require Process; - -# amount of delay between running the servers -$sleeptime = 7; - -# Starts the Logging Service -sub service -{ - my $args = ""; - my $prog = $EXEPREFIX."Logging_Service" - .$EXE_EXT; - $SV = Process::Create ($prog, $args); -} - -# Starts the test client -sub test -{ - my $args = ""; - my $prog = $EXEPREFIX."Logging_Test".$EXE_EXT; - - system ("$prog $args"); -} - -# Start the service -service (); - -# Give the service time to settle -sleep $sleeptime; - -# Start the client (which exits automatically) -test (); - -# Give the client time to log and exit -sleep 3; - -# Kill the service -$SV->Kill (); diff --git a/TAO/examples/Makefile b/TAO/examples/Makefile deleted file mode 100644 index 73f9ead9771..00000000000 --- a/TAO/examples/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -# Makefile for the TAO examples -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = Callback_Quoter \ - POA \ - Logging \ - Quoter \ - Simple \ - Event_Comm \ - OBV - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU diff --git a/TAO/examples/OBV/Makefile b/TAO/examples/OBV/Makefile deleted file mode 100644 index 524e8067824..00000000000 --- a/TAO/examples/OBV/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -# Makefile for the TAO/OBV examples -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = Typed_Events - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU diff --git a/TAO/examples/OBV/Simple_util.cpp b/TAO/examples/OBV/Simple_util.cpp deleted file mode 100644 index 8cfe5ca47e4..00000000000 --- a/TAO/examples/OBV/Simple_util.cpp +++ /dev/null @@ -1,353 +0,0 @@ -//$Id$ - -// This version of Simple_Util doesn't need to link against orbsvcs -// On the other hand it has no naming service. - -#ifndef SIMPLE_UTIL_C -#define SIMPLE_UTIL_C -# include "Simple_util.h" -# include "tao/debug.h" - -// Constructor. - -template -Server::Server (void) - : ior_output_file_ (0), - naming_ (0), - ins_ (0) -{ - // no-op. -} - -// Destructor. - -template -Server::~Server (void) -{ -} - -// Parse the command-line arguments and set options. - -template int -Server::parse_args (void) -{ - ACE_Get_Opt get_opts (this->argc_, this->argv_, "do:ni:"); - int c = 0; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; - break; - case 'o': // output the IOR to a file. - this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w"); - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - get_opts.optarg), -1); - break; - - case 'i': // For Testing the InterOperable Naming Service. - this->ins_ = CORBA::string_dup (get_opts.optarg); - break; - case '?': // display help for use of the server. - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-o] " - "\n", - argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Add the ObjectID:IOR mapping to the IOR table of -// the ORB. Ignore this method if you are not testing for -// the InterOperable Naming Service. - -template int -Server::test_for_ins (CORBA::String_var ior) -{ - - CORBA::Object_ptr bank_servant = - this->orb_manager_.orb ()->string_to_object (ior.in()); - - // Add a KEY:IOR mapping to the ORB table. - ACE_CString object_id (this->ins_); - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "Adding (KEY:IOR) %s:%s\n", - object_id.c_str (), - ior.in ())); - - if (this->orb_manager_.orb ()->_tao_add_to_IOR_table (object_id, - bank_servant) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Simple_Util : Unable to add IOR to table\n"), - -1); - - return 0; -} - -// Initialize the server. -template int -Server::init (const char *servant_name, - int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - // Call the init of to initialize the ORB and - // create a child POA under the root POA. - if (this->orb_manager_.init_child_poa (argc, - argv, - "child_poa", - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init_child_poa"), - -1); - - ACE_CHECK_RETURN (-1); - - this->argc_ = argc; - this->argv_ = argv; - - int retval = this->parse_args (); - - if (retval != 0) - return retval; - - CORBA::ORB_var orb = this->orb_manager_.orb (); - - // Stash our ORB pointer for later reference. - this->servant_.orb (orb.in ()); - - // Activate the servant in its own child POA. - - // Make sure that you check for failures here via the ACE_TRY - // macros?! - ACE_TRY - { - CORBA::String_var str = - this->orb_manager_.activate_under_child_poa (servant_name, - &this->servant_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", - str.in ())); - - if (this->ins_) - if (this->test_for_ins (str) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "test_for_ins (): failed\n"), - -1); - - if (this->ior_output_file_) - { - ACE_OS::fprintf (this->ior_output_file_, - "%s", - str.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Exception in activation of POA"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -template int -Server::run (CORBA::Environment &env) -{ - // Run the main event loop for the ORB. - if (this->orb_manager_.run (env) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Server_i::run"), - -1); - - return 0; -} - -template int -Server::register_name (void) -{ - return -1; -} - -// Constructor. - -template -Client::Client (void) - : ior_ (0) -{ - //no-op -} - -// Reads the Server ior from a file - -template int -Client::read_ior (char *filename) -{ - // Open the file for reading. - ACE_HANDLE f_handle = ACE_OS::open (filename, 0); - - if (f_handle == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - filename), - -1); - - ACE_Read_Buffer ior_buffer (f_handle); - char *data = ior_buffer.read (); - - if (data == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior: %p\n"), - -1); - - this->ior_ = ACE_OS::strdup (data); - ior_buffer.alloc ()->free (data); - - ACE_OS::close (f_handle); - - return 0; -} - -// Parses the command line arguments and returns an error status. - -template int -Client::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "df:nk:x"); - int c = 0; - int result = 0; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag - TAO_debug_level++; - break; - case 'k': // ior provide on command line - this->ior_ = ACE_OS::strdup (get_opts.optarg); - break; - case 'f': // read the IOR from the file. - result = this->read_ior (get_opts.optarg); - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior from %s : %p\n", - get_opts.optarg), - -1); - break; - case 'x': // read the flag for shutting down - this->shutdown_ = 1; - break; - } - - // Indicates successful parsing of command line. - return 0; -} - -template -Client::~Client (void) -{ - ACE_OS::free (this->ior_); -} - -template int -Client::init (const char *name, - int argc, - char **argv) -{ - this->argc_ = argc; - this->argv_ = argv; - - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (this->argc_, - this->argv_, - name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - return -1; - - - - if(this->ior_ != 0) - { - CORBA::Object_var server_object = - this->orb_->string_to_object (this->ior_, ACE_TRY_ENV); - ACE_TRY_CHECK; - - - if (CORBA::is_nil (server_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "invalid ior <%s>\n", - this->ior_), - -1); - this->server_ = InterfaceObj::_narrow (server_object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "no ior or naming options specified\n"), - -1); - - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Client_i::init"); - return -1; - } - ACE_ENDTRY; - - - return 0; -} - - -template int -Client::obtain_initial_references (CORBA::Environment &) -{ - - return 0; -} - -template int -Client::shutdown (void ) -{ - // Returns the shutdwon flag - return shutdown_; -} - -template void -Client::shutdown (int flag) -{ - // Fills the flag - shutdown_ = flag; -} - -#endif diff --git a/TAO/examples/OBV/Simple_util.h b/TAO/examples/OBV/Simple_util.h deleted file mode 100644 index 27b0db0b61e..00000000000 --- a/TAO/examples/OBV/Simple_util.h +++ /dev/null @@ -1,183 +0,0 @@ -//$Id$ - -// This version of Simple_Util doesn't need to link against orbsvcs -// On the other hand it has no naming service. - -// ============================================================================ -// -// = LIBRARY -// -// taken from TAO/tests/Simple -// -// = FILENAME -// Simple_Util.h -// -// = DESCRIPTION -// The classe define the templates for the client and server. -// -// = AUTHOR -// Balachandran Natarajan -// -// ============================================================================ - -#ifndef TAO_UTIL_H -#define TAO_UTIL_H - -#include "tao/TAO.h" -//#include "orbsvcs/Naming/Naming_Utils.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" - -template -class Server -{ - // = TITLE - // A set of useful class Templates for using the TAO CORBA - // implementation. - // - // = DESCRIPTION - // A template server definition. This template can be used by - // single server/client projects for defintion of their - // server/clients. See the directories time, bank, echo for - // further details of implemenatation. -public: - // = Initialization and termination methods. - - Server (void); - // Constructor. - - ~Server (void); - // Destructor. - - int init (const char *servant_name, - int argc, - char *argv[], - CORBA::Environment &env); - // Initialize the Server state - parsing arguments and waiting. - // interface_name is the name used to register the Servant. - - int register_name (void); - // After calling , this method will register the server with - // the TAO Naming Service using the servant_name passed to . - - int run (CORBA::Environment &env); - // Run the orb. - - int test_for_ins (CORBA::String_var ior); - // Ignore this method if you are not testing the InterOperable - // Naming Service. - -protected: - Servant servant_; - // Servant class - - const char *name; - // name of the servant to be used for TAO Naming Service - - int parse_args (void); - // Parses the commandline arguments. - - TAO_ORB_Manager orb_manager_; - // The ORB manager - a helper class for accessing the POA and - // registering objects. - - // TAO_Naming_Server namingServer; - // helper class for getting access to Naming Service. - - FILE *ior_output_file_; - // File where the IOR of the server object is stored. - - int naming_; - // Flag to indicate whether naming service could be used - - char * ins_; - // Used test the INS. - - int argc_; - // Number of command line arguments. - - char **argv_; - // The command line arguments. -}; - -template -class Client -{ - // = TITLE - // Template Client class - // - // = DESCRIPTION - // A template client implementation for a single server/client - // model. The example usage of these usage can be found in the - // sub-directories below -public: - - // = Initialization and termination methods. - Client (void); - // Constructor. - - ~Client (void); - // Destructor. - - int init (const char *name,int argc, char *argv[]); - // Initialize the client communication endpoint with server. - - InterfaceObj *operator-> () { return server_.in ();}; - // Return the interface object pointer. - - int shutdown (void ); - // Returns the shutdown flag. - - void shutdown (int); - // Fills in the shutdwon flag. - - int obtain_initial_references (CORBA::Environment &); - // Initialize naming service - -protected: - int read_ior (char *filename); - // Function to read the server IOR from a file. - - int parse_args (void); - // Parses the arguments passed on the command line. - -// TAO_Naming_Client namingClient; - // helper class for getting access to Naming Service. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - char *ior_; - // IOR of the obj ref of the server. - - char *name_; - // Name to be usred for the naming service - - CORBA::Environment env_; - // Environment variable. - - CORBA::ORB_var orb_; - // Remember our orb. - - Var server_; - // Server object - - int naming_; - // Flag to use the naming service - - int shutdown_; - // Flag for shutting down the server - -}; - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "Simple_util.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation "Simple_util.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* TAO_UTIL_H */ diff --git a/TAO/examples/OBV/Typed_Events/Client_i.cpp b/TAO/examples/OBV/Typed_Events/Client_i.cpp deleted file mode 100644 index 010267768a2..00000000000 --- a/TAO/examples/OBV/Typed_Events/Client_i.cpp +++ /dev/null @@ -1,124 +0,0 @@ -//$Id$ - -#include "Client_i.h" -#include "Event_Types_impl.h" -#include "ace/Get_Opt.h" - - -int -Checkpoint_Client_i::run (const char *name, - int argc, - char *argv[]) -{ - // Initialize the client (read ior...). - if (checkpoint.init (name,argc, argv) == -1) - return -1; - - // Set random seed - ACE_Time_Value now (ACE_OS::gettimeofday ()); - ACE_OS::srand ((unsigned int) now.sec () ); - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Make factories to unmarshal OBV, when getting back a list - // of events which raised an alarm condition. - - // TAO_OBV_REGISTER_FACTORY (Event_factory); - // This one not (see header file) - - TAO_OBV_REGISTER_FACTORY (Temperature_factory); - TAO_OBV_REGISTER_FACTORY (Position_factory); - TAO_OBV_REGISTER_FACTORY (Log_Msg_factory); - TAO_OBV_REGISTER_FACTORY (Event_List_factory); - TAO_OBV_REGISTER_FACTORY (Event_List_Link_factory); - - ACE_DEBUG ((LM_DEBUG, "Send some random events:\n")); - - double temperature = random_number (29,34); - Temperature_var t_e (new Temperature_impl (temperature)); - t_e->origin_id_ (KITCHEN); - t_e->do_print (); - checkpoint->put_event (t_e, ACE_TRY_ENV); - ACE_TRY_CHECK; - - temperature = random_number (25,30); - t_e = new Temperature_impl (temperature); - t_e->origin_id_ (BATHROOM); - t_e->do_print (); - checkpoint->put_event (t_e, ACE_TRY_ENV); - ACE_TRY_CHECK; - - Point point = { random_number (0,4), - random_number (0,4), - random_number (0,4) }; - Position_var p_e (new Position_impl (point)); - p_e->origin_id_ (JONAS); - p_e->do_print (); - checkpoint->put_event (p_e, ACE_TRY_ENV); - ACE_TRY_CHECK; - - - int urgent = (random_number (0,2) > 1) ? 1 : 0; - const char *a_text = (random_number (0,2) > 1) ? "Coffee is cold." - : "I want pasta."; - Log_Msg_var l_e (new Log_Msg_impl (urgent, a_text)); - l_e->origin_id_ (JONAS); - l_e->do_print (); - checkpoint->put_event (l_e, ACE_TRY_ENV); - ACE_TRY_CHECK; - - - ACE_DEBUG ((LM_DEBUG, "\nNow getting the alarms:\n")); - - Event_List_var list (checkpoint->get_critical_events (ACE_TRY_ENV)); - ACE_TRY_CHECK; - - for (Event_List_Iterator i (list); i.next (); i.advance ()) - { - i.next ()-> do_print (); - } - - if (checkpoint.shutdown () == 1) - checkpoint->shutdown (ACE_TRY_ENV); - - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"\n Exception in RMI"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -// Constructor. -Checkpoint_Client_i::Checkpoint_Client_i (void) -{ - //no-op -} - -//Destructor. -Checkpoint_Client_i::~Checkpoint_Client_i (void) -{ - //no-op -} - - -// A random number in the range of min to max. -double random_number (double min, double max) -{ - double range = max - min; - return (min + (range * ACE_OS::rand () / (RAND_MAX + 1.0))); -} - - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Client; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Client -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/OBV/Typed_Events/Client_i.h b/TAO/examples/OBV/Typed_Events/Client_i.h deleted file mode 100644 index 8a5d59a2c27..00000000000 --- a/TAO/examples/OBV/Typed_Events/Client_i.h +++ /dev/null @@ -1,58 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/OBV/Typed_Events -// -// = FILENAME -// Client_i.h -// -// = DESCRIPTION -// This class is a template for a CORBA client. -// run () sends some valuetypes to a server and -// gets back a list of valuetypes. -// -// = AUTHOR -// -// Torsten Kuepper -// based on the echo example -// from code from Balachandran Natarajan -// -// ============================================================================ - -#ifndef ECHO_CLIENT_I_H -#define ECHO_CLIENT_I_H - -#include "../Simple_util.h" -#include "Event_TypesC.h" - -double random_number (double min, double max); - -class Checkpoint_Client_i -{ - // = TITLE - // Checkpoint_Client interface subclass. - // - // = DESCRIPTION - // This class implements the interface between the interface - // objects and the client . -public: - // = Initialization and termination methods. - Checkpoint_Client_i (void); - // Constructor - - virtual ~Checkpoint_Client_i (void); - // Destructor - - virtual int run (const char *,int, char** ); - // Execute the methods - -private: - Client checkpoint; - // Instantiate the checkpoint object. -}; - - -#endif /* TIME_CLIENT_I_H */ diff --git a/TAO/examples/OBV/Typed_Events/Event_Types.idl b/TAO/examples/OBV/Typed_Events/Event_Types.idl deleted file mode 100644 index 40c167d1250..00000000000 --- a/TAO/examples/OBV/Typed_Events/Event_Types.idl +++ /dev/null @@ -1,245 +0,0 @@ -// Event_Types.idl -// Simple demonstration of typed events in a distributed system. -// -// Author: -// Torsten Kuepper -// - -// $Id$ - -// Event inheritance hierarchy =========================== - -// Base class -------------------------------------------- - -valuetype Event -{ - void do_print (); - - // An operation. In some implementations (e.g. operator terminal) - // the event should visualize itself. That is of no use at the - // event producing sensor. So, the declaration of do_print () - // could be deferred to the implementation classes, but then you need - // to downcast from the pointer to the event valuetype to your - // implementation. Another solution is perhaps to inherit do_print () - // through an additional abstract valuetype base only in that - // IDL that a visualizing implementation sees. But this would change - // the type and this is a bad thing. The cleanest thing to do may be - // to apply the visitor pattern. Event::accept (visitor) would be - // implemented as null-op in the measurement device, if you take this - // example. - - - public long time_; - - // A state member. Don't confuse with attributes, which are - // ok here too, but they do only map to a pair of local operations, - // in opposite to (public/private) state members they haven't got no - // implementation for the state data and finally they are not transmitted - // over the wire. - - - public unsigned long origin_id_; - - // This id should identify the origin (e.g. sensor) in the system. - // This makes an id-space beside the object references which has to be - // maintained. It would be useful to implement some consistency check - // protocol (as CORBA interfaces) to verify that the suppliers and - // consumers are connected (through some event channel) in the - // right way. - -}; - - -// Derived Events ---------------------------------------- - - -valuetype Temperature : Event -{ - // do_print () is overridden in the implementation. We can't - // tell this in IDL, because operations can't be declared again. - // They are implicit assumed to be polymorph. - - public float temperature_; - // Extends Event with the state member for the temperature. -}; - - -typedef float Point[3]; -// (anonymous arrays are not yet working in this OBV ...%!) -// (( BTW %! <- no emoticon, this is my to do mark)) - -valuetype Position : Event -{ - attribute float x, y, z; - // The Position can be accessed both through the coordinates ... - - public Point xyz; - // ... or as a whole array, which is a state member. -}; - - -valuetype Log_Msg : Event -{ - public short urgency; - public string message; -}; - -// (Valuetypes which hold other types as shown are not yet tested %!) - -// You may extend the system with aggregated events, such the status -// message of a boiler, which has temperature and a pressure valuetype -// as state member (recall: unshared valuetypes are well at this time. -// But a shared valuetype splits at the receiving end of an invocation -// in two or more instances, dependend on the number of references on it -// (in the argument list plus in the members of compound types). This -// misbehaviour will go away once valuetype sharing is implemented %! -// But to do this in an efficient and thread safe manner seems a little tricky) - - -// Passing back the critical events in a list ---------------------------- - -// This is the link, that is used internally ----- -// (should come after Event_List, but forward decl. is not yet complete %!) - -valuetype Event_List_Link -{ - Event get_event (); - // get the event - - Event_List_Link get_next_link (); - // get the event - - void attach_next_link (in Event_List_Link chain); - // Link a chain at the end. - - private Event my_event; - // event which is held - - private Event_List_Link next; - // link to the next event container -}; - -// 'private' state member are mapped to 'protected' in C++, so -// they can be accessed from the implementation class, which should -// be derived from OBV_Event_chain. - - -// The event list uses links as declared above. But its implementation -// could be changed 'under the hood' to use e.g. a CORBA sequence. -// (This doesn't go yet, because valuetype is only allowed -// as an operation argument for now. Just impl. the visitors in tao_idl %!) - -valuetype Event_List -{ - void store_event (in Event e); - // Attach an event at the lists's end. - - public Event_List_Link first_link; - // Should better be private, but then the iterator can't access it. -}; - - -// Interface to access the "event server" ------------------ - -// A client (e.g. sensor) delivers the events via put_event (). -// The server checks against alarm conditions and memorizes -// critical events, which can be passed back -// to a client (e.g. operator terminal) with get_critical_events (). - -interface Checkpoint -{ - void put_event (in Event e); - // Put event in the server. If it exceeds an alarm criterion - // it will be stored. - - Event_List get_critical_events (); - // Ask for a list of critical events. - - oneway void shutdown (); - // This operation will shutdown the server. -}; - - -// Checkpoint server side -------------------------------------------- -// The Checkpoint should compare the incoming event against a -// criterion for the specific event type. My approach is the following -// (to facilitate separation of application logic and event specific -// code): An abstract valuetype Criterion provides is_critical () to check -// against a boundary. Concrete alarm boundaries for any existing -// event derive from this class and perform the check. Thats's it for -// the event type maintainer --- the customs that use this 'framework'. - -// The concrete criterions inherit from Event too. I wanted to reuse -// the list which works on events. The wrapper Criterion_List makes it safe -// that only criterions are accepted to this list. Templates would be fine, -// but currently I have no idea how to apply them to a valuetype. Perhaps -// there is no way to get around custom marshalling [n.y.avail.%!] in the -// area of containers. -// Finally the concrete criterions must have a suitable implementation for -// is_critical (). - -// Now the internals of the server which shouldn't need to be touched by -// the final implementer: The above mentioned wrapper Criterion_List -// uses an Event_List to compare an incoming event against the -// boundaries. In this simple example it will just apply the event to -// is_critical () of any criterion, which origin id matches. -// The criterion checks with -// valuetype's _downcast () if the event matches its event type and then -// performs the alarm check. A real world approach with many event types -// and criterions could better use a hash map for the criterions. The -// external map index would be the repository id of the event. - -abstract valuetype Criterion -{ - boolean is_critical (in Event e); - // Check against alarm boundaries. -}; - - -// The specialized criterions. Note: A valuetype can only inherit -// from one non-abstract other valuetype (which then must be the first -// one listed). Further Criterions may only be abstract valuetypes -// without the ability to contain state members. (The support of -// a CORBA interface is not yet supported.) -// P.S. Please don't bother about the class hierarchy -// (Criterion inherits from Event _and_ has some Events as boundary values -// aggregated). I just wanted to reuse the code for the list of events. -// Certainly not an example of good OO design. - - -valuetype Temperature_Criterion : Event, Criterion -{ - private Temperature meltingpoint; - // The boundary is stored in a state member. -}; - - -valuetype Position_Criterion : Event, Criterion -{ - private Position leftbottom, topright; - // Any position should be contained in a box. -}; - - -valuetype Log_Msg_Criterion : Event, Criterion -{ - // No state member. All Log_Msg which have urgency - // greater zero meet the criterion. -}; - - - -// The Criterion_List =========================================== - -valuetype Criterion_List -{ - void store_criterion (in Criterion c); - // Attach an criterion at the lists's end. - - boolean is_critical (in Event e); - // Check with the listmembers if e should raise an alarm. - - public Event_List my_list; - // Used in the implementation. Is public for allowing - // access to the iterator. -}; diff --git a/TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp b/TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp deleted file mode 100644 index 08306339676..00000000000 --- a/TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp +++ /dev/null @@ -1,595 +0,0 @@ -// $Id$ - -#include "Event_Types_impl.h" - -// Implementation of the valuetype member functions. - -Event_impl::Event_impl () - // initializers (': foo ()') don't work for OBV state members - // since we should only access the state through modifier functions -{ - // Put a timestamp on event's birth. - ACE_Time_Value now (ACE_OS::gettimeofday ()); - this->time_ (now.sec ()); -} - -Event_impl::~Event_impl () -{ -} - -void -Event_impl::do_print (void) -{ - ACE_DEBUG((LM_DEBUG, "(time %d origin %d) ", - (CORBA::ULong) this->time_(), (CORBA::ULong) this->origin_id_() )); -} - - -/* Not defined, see header -Event_factory::~Event_factory () -{ -} - -TAO_OBV_CREATE_RETURN_TYPE (Event) -Event_factory::create_for_unmarshal () -{ - return new Event_impl; -} -*/ - -// Temperature implementation =================================== - -Temperature_impl::Temperature_impl () -{ -} - -Temperature_impl::Temperature_impl (CORBA::Float temp) -{ - this->temperature_ (temp); -} - -Temperature_impl::~Temperature_impl () -{ -} - -void -Temperature_impl::do_print (void) -{ - Event_impl::do_print (); - // The timestamp - - ACE_DEBUG((LM_DEBUG, "Temperature is %f\n", this->temperature_() )); -} - -Temperature_factory::~Temperature_factory () -{ -} - -TAO_OBV_CREATE_RETURN_TYPE (Temperature) -Temperature_factory::create_for_unmarshal () -{ - return new Temperature_impl; -} - - -// Position implementation ====================================== - -Position_impl::Position_impl () -{ -} - -Position_impl::Position_impl (Point &p) -{ - this->xyz (p); - // Does a copy of the p array -} - -Position_impl::~Position_impl () -{ -} - -void -Position_impl::do_print (void) -{ - Event_impl::do_print (); - // The timestamp - - ACE_DEBUG((LM_DEBUG, "Position is (%f, %f, %f)\n", - this->x(), this->y(), this->z() )); -} - -CORBA::Float Position_impl::x () { return this->xyz()[0]; } -void Position_impl::x (CORBA::Float x) { this->xyz()[0] = x; } -CORBA::Float Position_impl::y () { return this->xyz()[1]; } -void Position_impl::y (CORBA::Float y) { this->xyz()[1] = y; } -CORBA::Float Position_impl::z () { return this->xyz()[2]; } -void Position_impl::z (CORBA::Float z) { this->xyz()[2] = z; } - - -Position_factory::~Position_factory () -{ -} - -TAO_OBV_CREATE_RETURN_TYPE (Position) -Position_factory::create_for_unmarshal () -{ - return new Position_impl; -} - - -// Log_Msg implementation =================================== - -Log_Msg_impl::Log_Msg_impl () -{ -} - -Log_Msg_impl::Log_Msg_impl (CORBA::Short u, const char *m) -{ - this->urgency (u); - this->message (CORBA::string_dup (m)); -} - -Log_Msg_impl::~Log_Msg_impl () -{ -} - -void -Log_Msg_impl::do_print (void) -{ - Event_impl::do_print (); - // The timestamp - - if (this->urgency () > 0) - { - ACE_DEBUG((LM_DEBUG, "**** %s ****\n", this->message () )); - } - else - { - ACE_DEBUG((LM_DEBUG, "%s\n", this->message () )); - } -} - -Log_Msg_factory::~Log_Msg_factory () -{ -} - -TAO_OBV_CREATE_RETURN_TYPE (Log_Msg) -Log_Msg_factory::create_for_unmarshal () -{ - return new Log_Msg_impl; -} - - - -// Event_List_Link implementation =================================== - -Event_List_Link_impl::Event_List_Link_impl () -{ - this->my_event (0); - this->next (0); -} - -Event_List_Link_impl::Event_List_Link_impl (Event* e) -{ - this->my_event (e); - // Note that the modifier increases the reference counter of e. - - this->next (0); -} - -Event_List_Link_impl::~Event_List_Link_impl () -{ - // Destructor does nothing explicit, because my_event and next are - // _var types, which destroy (decrement the reference counter of) - // the held event resp. the next links. -} - -Event* -Event_List_Link_impl::get_event (void) -{ - return this->my_event (); -} - -Event_List_Link* -Event_List_Link_impl::get_next_link (void) -{ - return this->next (); -} - -void -Event_List_Link_impl::attach_next_link (Event_List_Link *n) -{ - this->next (n); -} - -Event_List_Link_factory::~Event_List_Link_factory () -{ -} - -TAO_OBV_CREATE_RETURN_TYPE (Event_List_Link) -Event_List_Link_factory::create_for_unmarshal () -{ - return new Event_List_Link_impl; -} - - -// Event_List implementation =================================== - -Event_List_impl::Event_List_impl () -{ - this->first_link (0); - last_link_cache_ = 0; -} - -Event_List_impl::~Event_List_impl () -{ - // Destructor does nothing explicit, because the _var types do care. -} - -void -Event_List_impl::store_event (Event* e) -{ - // This operation should perform atomically and should - // guard against the access to the list from another thread. - // But this is omitted in this example. - - Event_List_Link_var new_link (new Event_List_Link_impl (e)); - - // We need a new link to store the reference to the event e. - // But if we'd had assigned the newly created instance directly through - // a modifier function to a valuetype member, it would never be released. - // From pointer to _var the reference count of the pointed to never - // increased, but the modifier does. - - - if (last_link_cache_ == 0) - { - // Search the end. - for (Event_List_Link *i = this->first_link (); - i != 0; - i = i->get_next_link ()) - { - last_link_cache_ = i; - } - } - - - // If still null then the list is empty. - if (last_link_cache_ == 0) - { - this->first_link (new_link); - } - else - { - last_link_cache_->attach_next_link (new_link); - last_link_cache_ = new_link; - } -} - -Event_List_factory::~Event_List_factory () -{ -} - -TAO_OBV_CREATE_RETURN_TYPE (Event_List) -Event_List_factory::create_for_unmarshal () -{ - return new Event_List_impl; -} - - -Event_List_Iterator::Event_List_Iterator (Event_List *list) -{ - this->init (list); -} - -Event_List_Iterator::Event_List_Iterator () -{ - // current_ is a _var and set itself to null. -} - -Event_List_Iterator::~Event_List_Iterator () -{ - // nothing -} - - -void -Event_List_Iterator::init (Event_List *list) -{ - Event_List_Link *tmp = list->first_link (); - CORBA::add_ref (tmp); - current_ = tmp; -} - - -CORBA::Boolean -Event_List_Iterator::next (Event_var &next) -{ - if (current_) - { - Event *e = current_->get_event (); - CORBA::add_ref (e); - next = e; - return 1; - } - else - { - return 0; - } -} - -Event * -Event_List_Iterator::next () -{ - if (current_) - { - return current_->get_event (); - } - return 0; -} - -void -Event_List_Iterator::advance () -{ - if (current_) - { - Event_List_Link *tmp = current_->get_next_link (); - CORBA::add_ref (tmp); - current_ = tmp; - } -} - - - -// Checkpoint server side -------------------------------------------- - - -// Criterion classes implementation ---------------------------------- - - - -Temperature_Criterion_impl::Temperature_Criterion_impl () -{ -} - -Temperature_Criterion_impl:: -Temperature_Criterion_impl (CORBA::ULong origin_id, CORBA::Float temp) -{ - this->origin_id_ (origin_id); - Temperature_var tmp (new Temperature_impl (temp)); - this->meltingpoint (tmp.in ()); -} - -Temperature_Criterion_impl::~Temperature_Criterion_impl () -{ -} - - -CORBA::Boolean -Temperature_Criterion_impl::is_critical (Event* e) -{ - // Downcast to a temperature. - Temperature* t = Temperature::_downcast (e); - // Is Event really a Temperature ? - if (t) - { - // Now return the comparison with the meltingpoint. - return - (t->temperature_ () > this->meltingpoint ()->temperature_ ()) ? - 1 : 0; - } - return 0; -} - - -void -Temperature_Criterion_impl::do_print (void) -{ - ACE_DEBUG((LM_DEBUG, "Alarm boundary for events with origin id %d is\n", - this->origin_id_ () )); - this->meltingpoint ()->do_print(); -} - - -Temperature_Criterion_factory::~Temperature_Criterion_factory () -{ -} - -TAO_OBV_CREATE_RETURN_TYPE (Temperature_Criterion) -Temperature_Criterion_factory::create_for_unmarshal () -{ - return new Temperature_Criterion_impl; -} - - - -Position_Criterion_impl::Position_Criterion_impl () -{ -} - -Position_Criterion_impl::Position_Criterion_impl (CORBA::ULong origin_id, - Position *lb, - Position *tr) -{ - this->origin_id_ (origin_id); - this->leftbottom(lb); - this->topright(tr); -} - -Position_Criterion_impl::~Position_Criterion_impl () -{ -} - - -CORBA::Boolean -Position_Criterion_impl::is_critical (Event* e) -{ - Position* p = Position::_downcast (e); - // Is Event really a Position ? - if (p) - { - // If the position of p is out of the box return true. - return ( - (p->x () > this->leftbottom ()->x ()) && - (p->y () > this->leftbottom ()->y ()) && - (p->z () > this->leftbottom ()->z ()) && - (p->x () < this->topright ()->x ()) && - (p->y () < this->topright ()->y ()) && - (p->z () < this->topright ()->z ()) - ) ? 0 : 1; - } - return 0; -} - - -void -Position_Criterion_impl::do_print (void) -{ - ACE_DEBUG((LM_DEBUG, - "Alarm boundary for events with origin id %d is the box\n", - this->origin_id_ () )); - this->leftbottom ()->do_print(); - this->topright ()->do_print(); -} - -Position_Criterion_factory::~Position_Criterion_factory () -{ -} - -TAO_OBV_CREATE_RETURN_TYPE (Position_Criterion) -Position_Criterion_factory::create_for_unmarshal () -{ - return new Position_Criterion_impl; -} - - - -Log_Msg_Criterion_impl::Log_Msg_Criterion_impl () -{ -} - - -Log_Msg_Criterion_impl::~Log_Msg_Criterion_impl () -{ -} - - -CORBA::Boolean -Log_Msg_Criterion_impl::is_critical (Event* e) -{ - Log_Msg* lm = Log_Msg::_downcast (e); - - // Is Event really a Log_Msg ? - if (lm) - { - return (lm->urgency () ? 1 : 0); - } - return 0; -} - - -void -Log_Msg_Criterion_impl::do_print (void) -{ - ACE_DEBUG((LM_DEBUG, - "All log messages with urgency greater zero are registered.\n" )); -} - -Log_Msg_Criterion_factory::~Log_Msg_Criterion_factory () -{ -} - -TAO_OBV_CREATE_RETURN_TYPE (Log_Msg_Criterion) -Log_Msg_Criterion_factory::create_for_unmarshal () -{ - return new Log_Msg_Criterion_impl; -} - - - -Criterion_List_impl::Criterion_List_impl () -{ - this->my_list (0); - // We don't want create our list member here, because this constructor - // is called before unmarshalling too. We cant't distinguish that. - // If we transmit this type eventually. This is not done in this example. - // (That is no weakness of OBV since the instance should be created and - // initialized through the factory create (), - // which is not yet implemented %!) -} - -Criterion_List_impl::~Criterion_List_impl () -{ -} - -void -Criterion_List_impl::store_criterion (Criterion *c) -{ - if (!my_list ()) - { - Event_List_var ev(new Event_List_impl); - my_list (ev); - } - - Event *e = Event::_downcast (c); - my_list ()->store_event (e); -} - -CORBA::Boolean -Criterion_List_impl::is_critical (Event *e) -{ - // Try all criterions. Walking the list is efficient enough for - // demonstration. - - for (Criterion_List_Iterator i (this); i.next (); i.advance ()) - { - Criterion *c = i.next (); - - // Let e_c point to the Event part of the Criterion. - // We know that c has an Event part. - Event *e_c = Event::_downcast (c); - - - // A criterion is applied if the origin id is matching the event. - // A null id flags that it should be applied to all events. - - if (e->origin_id_() == e_c->origin_id_ () || - e_c->origin_id_ () == 0) - { - if (c->is_critical (e)) - return 1; - } - } - return 0; -} - - -Criterion_List_Iterator::Criterion_List_Iterator (Criterion_List *list) -{ - this->init (list); -} - -Criterion_List_Iterator::~Criterion_List_Iterator () -{ - // nothing -} - - -void -Criterion_List_Iterator::init (Criterion_List *list) -{ - iterator_.init (list->my_list()); -} - - -Criterion * -Criterion_List_Iterator::next () -{ - return (Criterion::_downcast (iterator_.next ())); -} - -void -Criterion_List_Iterator::advance () -{ - (void) iterator_.advance (); -} diff --git a/TAO/examples/OBV/Typed_Events/Event_Types_impl.h b/TAO/examples/OBV/Typed_Events/Event_Types_impl.h deleted file mode 100644 index 2114e479bbd..00000000000 --- a/TAO/examples/OBV/Typed_Events/Event_Types_impl.h +++ /dev/null @@ -1,426 +0,0 @@ -// -*- C++ -*- -// $Id$ - -#if !defined (EVENT_TYPES_IMPL_H) -#define EVENT_TYPES_IMPL_H -#include "Event_TypesC.h" - -// Event hierarchy implementation classes ====================== - -// The implementation of a valuetype in C++ needs to derive from -// the IDL generated OBV_Event, which provides the data members -// and their accessor/modifier. -// In TAO it is possible to have inline instead the standard virtual -// accessor/modifier functions. But then they can't be overridden for -// marshalling. (doesn't yet work anyway but will come soon %!). -// -// The 'client' of a valuetype (client means here the parts -// of an application which locally access the valuetype through its interface) -// uses pointer to the 'Event' class, or better the Event_var type -// which is similar an object reference _var. -// -// Specs say that the instances of Event_impl should be created by means -// of Event_init::create (), which are equivalents to the init () operations -// in the IDL of the valuetype --- its not yet impl. and will come later on %! -// Today you have to declare your own create () member. -// -// One more step to make (far way from Event to Event_impl, isn't it?): -// We must mix in a class to have a reference counter implementation -// (: Sit down and type twenty times CORBA::DefaultValueRefCountBase :) -// A plus is its on your hand to choose possibly a reference counter -// with (like the standard supplied one) or without lock. But I hate -// the fact that reference counting is based on virtual _add_ref ()/ -// _remove_ref () functions, which may cause substantial overhead. -// I'm thinking of a TAO option to let tao_idl mix in the reference counter -// previous and generate _var classes which access inline functions. -// ... And I wonder how the OMG want to manage cyclic graphs with -// reference counting. - -#if defined(_MSC_VER) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -class Event_impl : public virtual OBV_Event, - public virtual CORBA::DefaultValueRefCountBase -{ - public: - Event_impl (); - virtual ~Event_impl (); - - virtual void do_print (void); - // Implementation of the do_print () operation the valuetype should have. - // All operations in valuetypes are virtual. - - // The state member for the event time is yet implemented in OBV_Event - // (or in the Event class, if -Wb,obv_opt_accessor is given to tao_idl). -}; - -// An instance of the Event_factory class has to be registered -// in the ORB with ORB::register_value_factory (). - -// Then the unmarshal engine can obtain a fresh instance of Event_impl -// from the (user implemented) Event_factory::create_for_unmarshal () -// function. These should return a pointer to Event, but as long as -// covariant return types are not commonly supported one has to -// return a pointer to CORBA::ValueBase. This option handles the macro -// in front of the create_for_unmarshal () declaration. Now the code -// is compiler portable, but not ORB vendor portable ... - -// ... but stop a moment. We don't want an instance of Event. -// It is only the base class for Temperature, Position and Log_Msg. -// We didn't declared Event as abstract valuetype, cause we want to -// store the timestamp in it. So we express that no instance can -// exists while we don't make a factory for it (and don't register one). - -#ifdef is_certainly_not_defined -class Event_factory : public Event_init -{ - public: - - // create (...) would go here -private: - virtual ~Event_factory (); - TAO_OBV_CREATE_RETURN_TYPE (Event) create_for_unmarshal (); -}; -#endif /* is not defined */ - - -// The procedure to register your instance is currently not much like -// OBV specs says. This implementation has currently one -// process-wide map for the registered factories. The specs want one -// per ORB. To run first OBV tests, and that is what we do yet, it is -// more practicable to have simply just one map. (%!) -// Further on it is non-standard how the repository id of the valuetype -// is obtained. Look at the macro TAO_OBV_REGISTER_FACTORY(your_factory_type) -// in tao/ValueFactory.h (explained there) how it is done or just use it -// for first experiments. -// Exceptions are not yet implemented in this area. - - -// Temperature implementation classes =================================== - -// The Temperature_impl should inherit its own OBV_Temperature and -// the implementation of Event. (so-called ladder style implementation -// inheritance, I guess.) Its yet there, but purists -// can additionally inherit public virtual from the CORBA::DefaultVal... - - -class Temperature_impl : public virtual OBV_Temperature, - public virtual Event_impl -{ -public: - Temperature_impl (); - // Constructor for the factory - - Temperature_impl (CORBA::Float temp); - // Constructor, should regularly be a factory create () method. - // But it is more simple to do so here. - - virtual ~Temperature_impl (); - - virtual void do_print (void); - // Overrides Event_impl::do_print (). Note that a new declaration - // in IDL in a derived class is not allowed. -}; - -class Temperature_factory : public Temperature_init -{ - friend class Temperature; - public: - // create (...) would go here -private: - virtual ~Temperature_factory (); - TAO_OBV_CREATE_RETURN_TYPE (Temperature) create_for_unmarshal (); -}; - - -// Position implementation classes ===================================== - -class Position_impl : public virtual OBV_Position, - public virtual Event_impl -{ -public: - Position_impl (); - Position_impl (Point &p); - virtual ~Position_impl (); - - virtual CORBA::Float x (); - virtual void x (CORBA::Float); - virtual CORBA::Float y (); - virtual void y (CORBA::Float); - virtual CORBA::Float z (); - virtual void z (CORBA::Float); - //These are the attributes - - virtual void do_print (void); -}; - -class Position_factory : public Position_init -{ - friend class Position; - public: - - // create (...) would go here -private: - virtual ~Position_factory (); - TAO_OBV_CREATE_RETURN_TYPE (Position) create_for_unmarshal (); -}; - - -// Log_Msg implementation classes ===================================== - -class Log_Msg_impl : public virtual OBV_Log_Msg, - public virtual Event_impl -{ -public: - Log_Msg_impl (); - Log_Msg_impl (CORBA::Short urgency_p, const char *message_p); - virtual ~Log_Msg_impl (); - - virtual void do_print (void); -}; - -class Log_Msg_factory : public Log_Msg_init -{ - friend class Log_Msg; - public: - - // create (...) would go here -private: - virtual ~Log_Msg_factory (); - TAO_OBV_CREATE_RETURN_TYPE (Log_Msg) create_for_unmarshal (); -}; - - -// Event_List_Link implementation classes ===================================== - -class Event_List_Link_factory; -class Event_List_Iterator; - -class Event_List_Link_impl : public virtual OBV_Event_List_Link, - public virtual CORBA::DefaultValueRefCountBase -{ - friend class Event_List_Link_factory; - friend class Event_List; - friend class Event_List_Iterator; - - public: - Event_List_Link_impl (); - Event_List_Link_impl (Event *e); - virtual ~Event_List_Link_impl (); - - Event *get_event (void); - - private: - Event_List_Link *get_next_link (void); - - void attach_next_link (Event_List_Link * chain); - // Attach a chain at the end. -}; - - -class Event_List_Link_factory : public Event_List_Link_init -{ - friend class Event_List_Link; - private: - virtual ~Event_List_Link_factory (); - TAO_OBV_CREATE_RETURN_TYPE (Event_List_Link) create_for_unmarshal (); -}; - - -// The event list itself. ---------------------------------- - -class Event_List_impl : public virtual OBV_Event_List, - public virtual CORBA::DefaultValueRefCountBase -{ - friend class Event_List_Iterator; - public: - Event_List_impl (); - virtual ~Event_List_impl (); - - void store_event (Event* e); - - Event_List_Link *get_first_link(); - // The iterator needs it. - - private: - Event_List_Link *last_link_cache_; - // For fast attachment. Need not to be a _var cause we hold at least one - // reference through my_first_event_list_link which is a state member and - // is mapped to a _var. - - // And it isn't a state member of valuetype. - // Currently we can't yet do this, because sharing of valuetypes is not - // yet impl ...%!. - // Without the availability to share we would get two different instances - // of the last list link at the receiving end of an invocation. -}; - - -class Event_List_factory : public Event_List_init -{ - friend class Event_List; - private: - virtual ~Event_List_factory (); - TAO_OBV_CREATE_RETURN_TYPE (Event_List) create_for_unmarshal (); -}; - - -class Event_List_Iterator -{ - public: - Event_List_Iterator (void); - Event_List_Iterator (Event_List *list); - // Construct it to point to the first list link. - - virtual ~Event_List_Iterator (); - - void init (Event_List *list); - - Event *next (); - // Get pointer to the current event. - - CORBA::Boolean next (Event_var &event); - // Sets the Event_var argument to the current event. - // This forces proper memory management in the user code, as the Event_var - // could be stored beyond the life time of the iterator. - - void advance (); - // Walks one event ahead. - - private: - Event_List_Link_var current_; -}; - - -// Checkpoint server side -------------------------------------------- - - -// Criterion classes ------------------------------------------------- - - -// Criterion itself has no implementation since it is abstract. - -// It is necessary to inherit from OBV_Event (or an Event implementation) -// for implementing the state members of Event. - - -class Temperature_Criterion_impl : - public virtual OBV_Temperature_Criterion, - public virtual OBV_Event, - public virtual CORBA::DefaultValueRefCountBase -{ -public: - Temperature_Criterion_impl (); - Temperature_Criterion_impl (CORBA::ULong origin_id, CORBA::Float temp); - - virtual ~Temperature_Criterion_impl (); - - CORBA::Boolean is_critical (Event* e); - virtual void do_print (void); -}; - -class Temperature_Criterion_factory : public Temperature_Criterion_init -{ - friend class Temperature; -private: - virtual ~Temperature_Criterion_factory (); - TAO_OBV_CREATE_RETURN_TYPE (Temperature_Criterion) create_for_unmarshal (); -}; - - - -class Position_Criterion_impl : - public virtual OBV_Position_Criterion, - public virtual OBV_Event, - public virtual CORBA::DefaultValueRefCountBase -{ -public: - Position_Criterion_impl (); - Position_Criterion_impl (CORBA::ULong origin_id, - Position *lb, - Position *tr); - virtual ~Position_Criterion_impl (); - - CORBA::Boolean is_critical (Event* e); - virtual void do_print (void); -}; - -class Position_Criterion_factory : public Position_Criterion_init -{ - friend class Position; -private: - virtual ~Position_Criterion_factory (); - TAO_OBV_CREATE_RETURN_TYPE (Position_Criterion) create_for_unmarshal (); -}; - - - -class Log_Msg_Criterion_impl : public virtual OBV_Log_Msg_Criterion, - public virtual OBV_Event, - public virtual CORBA::DefaultValueRefCountBase -{ -public: - Log_Msg_Criterion_impl (); - virtual ~Log_Msg_Criterion_impl (); - - CORBA::Boolean is_critical (Event* e); - virtual void do_print (void); -}; - -class Log_Msg_Criterion_factory : public Log_Msg_Criterion_init -{ - friend class Log_Msg; -private: - virtual ~Log_Msg_Criterion_factory (); - TAO_OBV_CREATE_RETURN_TYPE (Log_Msg_Criterion) create_for_unmarshal (); -}; - - -class Criterion_List_impl : public virtual OBV_Criterion_List, - public virtual CORBA::DefaultValueRefCountBase -{ - public: - Criterion_List_impl (); - virtual ~Criterion_List_impl (); - - void store_criterion (Criterion *c); - CORBA::Boolean is_critical (Event *e); -}; - - -// This is just a wrapper and it uses the Event_List_Iterator on -// the underlaying Event_List. Better would be a template for all the -// iterators. - -class Criterion_List_Iterator -{ - public: - Criterion_List_Iterator (Criterion_List *list); - // Construct it to point to the first list link. - - virtual ~Criterion_List_Iterator (); - - void init (Criterion_List *list); - - Criterion *next (); - // Get pointer to the current Criterion. - - void advance (); - // Walks one Criterion ahead. - - private: - Event_List_Iterator iterator_; -}; - - -// Some origin_id's - -#define KITCHEN 1001 -#define BATHROOM 1002 -#define JONAS 1 - -#if defined(_MSC_VER) -#pragma warning(default:4250) -#endif /* _MSC_VER */ -#endif /* EVENT_TYPES_IMPL_H */ diff --git a/TAO/examples/OBV/Typed_Events/Makefile b/TAO/examples/OBV/Typed_Events/Makefile deleted file mode 100644 index 1d9829bc856..00000000000 --- a/TAO/examples/OBV/Typed_Events/Makefile +++ /dev/null @@ -1,2062 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -LDLIBS = -lTAO - -IDL_SRC = Event_TypesC.cpp Event_TypesS.cpp - -PROG_SRCS = \ - client.cpp \ - server.cpp \ - Server_i.cpp \ - Client_i.cpp \ - Event_Types_impl.cpp \ - ../Simple_util.cpp - -SRC = $(IDL_SRC) $(PROG_SRCS) - -SIMPLE_CLT_OBJS = \ - Event_TypesC.o \ - Event_TypesS.o \ - Client_i.o \ - Event_Types_impl.o \ - ../Simple_util.o \ - client.o -SIMPLE_SVR_OBJS = \ - Event_TypesC.o \ - Event_TypesS.o \ - Server_i.o \ - Event_Types_impl.o \ - ../Simple_util.o \ - server.o - -BIN = server \ - client - -VLDLIBS = $(LDLIBS:%=%$(VAR)) -VBIN = $(BIN:%=%$(VAR)) - -TAO_IDLFLAGS += -Ge 1 - -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -LDFLAGS += -L$(TAO_ROOT)/tao -L$(ACE_ROOT)/ace -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -override TAO_IDLFLAGS += -Gc -Gv - -.PRECIOUS: Event_TypesC.cpp Event_TypesC.i Event_TypesC.h -.PRECIOUS: Event_TypesS.cpp Event_TypesS.i Event_TypesS.h -.PRECIOUS: Event_TypesS_T.cpp Event_TypesS_T.i Event_TypesS_T.h - -server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) -r Event_TypesC.* Event_TypesS.* Event_TypesS_T.* - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Event_TypesC.o .obj/Event_TypesC.so .shobj/Event_TypesC.o .shobj/Event_TypesC.so: Event_TypesC.cpp Event_TypesC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_TypesC.i -.obj/Event_TypesS.o .obj/Event_TypesS.so .shobj/Event_TypesS.o .shobj/Event_TypesS.so: Event_TypesS.cpp Event_TypesS.h Event_TypesC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_TypesC.i Event_TypesS_T.h Event_TypesS_T.i Event_TypesS_T.cpp \ - Event_TypesS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp \ - $(TAO_ROOT)/tao/debug.h \ - Event_TypesC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_TypesC.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp \ - $(TAO_ROOT)/tao/debug.h \ - Server_i.h Event_TypesS.h Event_TypesC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_TypesC.i Event_TypesS_T.h Event_TypesS_T.i Event_TypesS_T.cpp \ - Event_TypesS.i -.obj/Server_i.o .obj/Server_i.so .shobj/Server_i.o .shobj/Server_i.so: Server_i.cpp Server_i.h Event_TypesS.h Event_TypesC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_TypesC.i Event_TypesS_T.h Event_TypesS_T.i Event_TypesS_T.cpp \ - Event_TypesS.i Event_Types_impl.h -.obj/Client_i.o .obj/Client_i.so .shobj/Client_i.o .shobj/Client_i.so: Client_i.cpp Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp \ - $(TAO_ROOT)/tao/debug.h \ - Event_TypesC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_TypesC.i Event_Types_impl.h -.obj/Event_Types_impl.o .obj/Event_Types_impl.so .shobj/Event_Types_impl.o .shobj/Event_Types_impl.so: Event_Types_impl.cpp Event_Types_impl.h \ - Event_TypesC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Event_TypesC.i -.obj/Simple_util.o .obj/Simple_util.so .shobj/Simple_util.o .shobj/Simple_util.so: ../Simple_util.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp \ - $(TAO_ROOT)/tao/debug.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/OBV/Typed_Events/README b/TAO/examples/OBV/Typed_Events/README deleted file mode 100644 index 77b3950e13f..00000000000 --- a/TAO/examples/OBV/Typed_Events/README +++ /dev/null @@ -1,31 +0,0 @@ -// $Id$ - -Typed Events -============ - -This is a demonstration of the CORBA 2.3 valuetype feature. -Event_Types.idl defines a hierarchy of event classes. The common -attributes (indeed not CORBA attributes, they're state members) -like creation time and id of the origin are in a base class. -Concrete events like Temperature, Position and Log Message are derived -from this class. - -The client sends a few random events to the server. The server has -suitable implementations of the event classes. So it is able to -show the incoming events by invoking the do_print () operation, which is -declared in the Event baseclass. -After that the server does an "alarm" check on the event. -For each possible origin id (KITCHEN, BATHROOM) a criterion has been -registered. The criterion which equals the origin id of the event is -searched and then asked with is_critical (event). - -Finally a list with all the events which causes an alarm is -requested by the client. - - -Start with: - -% ./server -o ior -% ./client -f ior [-x] - - diff --git a/TAO/examples/OBV/Typed_Events/Server_i.cpp b/TAO/examples/OBV/Typed_Events/Server_i.cpp deleted file mode 100644 index 70f2dad443f..00000000000 --- a/TAO/examples/OBV/Typed_Events/Server_i.cpp +++ /dev/null @@ -1,176 +0,0 @@ -// $Id$ - -#include "Server_i.h" -#include "Event_Types_impl.h" - - -Event_List_var alarms; -// The list of events which caused an alarm. ('Singleton') - -Criterion_List_var criterions; -// Arriving events are tested against the list members. - - - -// Set the ORB pointer, register OBV factories and init the -// lists declared above. - -void -Checkpoint_i::orb (CORBA::ORB_ptr o) -{ - this->orb_ = CORBA::ORB::_duplicate (o); - - // Make factories to unmarshal OBV. The macro TAO_OBV_REGISTER_FACTORY is defined - // in tao/ValueFactory.h to prevent from getting wound fingertips. - // Notice that the way we currently do register_factory is not OMG conform. - - // TAO_OBV_REGISTER_FACTORY (Event_factory); - // This one not. Event behaves as an abstract base, - // so we should't receive it (see header file) - - TAO_OBV_REGISTER_FACTORY (Temperature_factory); - TAO_OBV_REGISTER_FACTORY (Position_factory); - TAO_OBV_REGISTER_FACTORY (Log_Msg_factory); - TAO_OBV_REGISTER_FACTORY (Event_List_factory); - TAO_OBV_REGISTER_FACTORY (Event_List_Link_factory); - - // This list is returned by get_critical_events (). - alarms = new Event_List_impl; - - // Now we build the list against which the events are tested. - criterions = new Criterion_List_impl; - - // The conditions which will raise an alarm follow. - - // The first parameter is the origin_id and the second the temperature. - Temperature_Criterion_var tc (new Temperature_Criterion_impl (KITCHEN, 32)); - criterions->store_criterion (tc.in ()); - - tc = new Temperature_Criterion_impl (BATHROOM, 27); - criterions->store_criterion (tc.in ()); - - - // Alarm if little Jonas is not in the child's room - - Point leftbottom = {1, 2, 3}; - Position_var leftbottom_v (new Position_impl (leftbottom)); - Point topright = {2, 3, 4}; - Position_var topright_v (new Position_impl (topright)); - Position_Criterion_var pc (new Position_Criterion_impl (JONAS, - leftbottom_v, - topright_v)); - criterions->store_criterion (pc.in ()); - - // Generic criterion matches every urgent massage - Log_Msg_Criterion_var lc (new Log_Msg_Criterion_impl); - // Null id flags to handle every Log_Msg - lc->origin_id_ (0); - criterions->store_criterion (lc.in ()); - - ACE_DEBUG ((LM_DEBUG, "This criterions are stored:\n")); - for (Criterion_List_Iterator i (criterions); i.next (); i.advance ()) - { - Event *e = Event::_downcast (i.next ()); - e->do_print (); - } - ACE_DEBUG ((LM_DEBUG, "\nNow waiting for events...\n")); -} - - -// Sidebar on assignment from pointer to _var type. -// -// Event_var e_var (event); -// This is fatal because the reference counter in *event is not increased -// when a pointer is assigned to a _var. (This happens only -// in assignments from another Event_var; -// But Assignment from new is fine, the referencecount is yet one.) -// -// ok is -// CORBA::add_ref (event); -// Event_var e_var (event); -// -// but possibly easier to read it a macro -#define DUP_REF(vt_ptr) (CORBA::add_ref (vt_ptr), vt_ptr) -// then it reads: Event_var e_var (DUP_REF (event)); -// (But it may cause desaster if vt_ptr is a function call.) -// -// Be careful with assignments from T1_var to T2_var, if T1 and T2 are -// related through inheritance. Because there are many implicit casts -// between pointer and _var types possible, the reference counter of -// the duplicated reference is not increased. -// -// Is there any general solution with faulty reference counting ? - - -void -Checkpoint_i::put_event (Event *event, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // In general this function would be a dispatcher which looks at the - // origin id and finds an event handler object for the event. The - // event handler then would (type-safe) downcast the event to the - // concrete type it can handle. Here we only apply the list of - // criterions to the event. - - - // Let us see what event has arrived - event->do_print (); - - // Does it match any criterion for alarm ? - if (criterions->is_critical (event)) - { - alarms->store_event (event); - } - - - - // If we want to return the event (e.g. return type is Event *) - // return (DUP_REF (event)); - // should be right. - - return; -} - - -Event_List * -Checkpoint_i::get_critical_events (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // The skeleton should not steal our list by decrementing - // the reference counter. - - CORBA::add_ref (alarms.ptr ()); - - // alarms._retn () would reset and destroy our alarms. - - return alarms.in (); -} - - -// Shutdown the server application. - -void -Checkpoint_i::shutdown (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "\n%s\n", - "The Checkpoint server is shutting down")); - - // Instruct the ORB to shutdown. - this->orb_->shutdown (); -} - - -// Constructor. - -Checkpoint_i::Checkpoint_i (void) -{ -} - -// Destructor. - -Checkpoint_i::~Checkpoint_i (void) -{ -} diff --git a/TAO/examples/OBV/Typed_Events/Server_i.h b/TAO/examples/OBV/Typed_Events/Server_i.h deleted file mode 100644 index 00e14a571b2..00000000000 --- a/TAO/examples/OBV/Typed_Events/Server_i.h +++ /dev/null @@ -1,62 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/OBV/Typed_Events -// -// = FILENAME -// Server_i.h -// -// = DESCRIPTION -// This class implements the Event_Types IDL interface. -// -// = AUTHOR -// Torsten Kuepper -// derived from the Echo example TAO/example/Simple/echo -// of Kirthika Parameswaran -// -// ============================================================================ - -#ifndef ECHO_I_H -#define ECHO_I_H - -#include "Event_TypesS.h" - - -class Checkpoint_i : public POA_Checkpoint -{ -public: - // = Initialization and termination methods. - Checkpoint_i (void); - // Constructor. - - ~Checkpoint_i (void); - // Destructor. - - virtual void put_event ( - Event * e, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual Event_List * get_critical_events ( - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Shutdown the server. - - void orb (CORBA::ORB_ptr o); - // Set the ORB pointer. - -private: - CORBA::ORB_var orb_; - // ORB pointer. -}; - -#endif /* ECHO_I_H */ - diff --git a/TAO/examples/OBV/Typed_Events/Typed_Events.dsw b/TAO/examples/OBV/Typed_Events/Typed_Events.dsw deleted file mode 100644 index d17cf7c9604..00000000000 --- a/TAO/examples/OBV/Typed_Events/Typed_Events.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/OBV/Typed_Events/client.cpp b/TAO/examples/OBV/Typed_Events/client.cpp deleted file mode 100644 index d4e502a26bd..00000000000 --- a/TAO/examples/OBV/Typed_Events/client.cpp +++ /dev/null @@ -1,23 +0,0 @@ -//$Id$ - -# include "Client_i.h" - -// The client program for the application. - -int -main (int argc, char **argv) -{ - Checkpoint_Client_i client; - - - ACE_DEBUG ((LM_DEBUG, - "\nEvent_Types client\n\n")); - - if (client.run ("Event_Types_Checkpoint", - argc, - argv) == -1) - return -1; - else - return 0; - -} diff --git a/TAO/examples/OBV/Typed_Events/client.dsp b/TAO/examples/OBV/Typed_Events/client.dsp deleted file mode 100644 index 32dc8b8ac58..00000000000 --- a/TAO/examples/OBV/Typed_Events/client.dsp +++ /dev/null @@ -1,229 +0,0 @@ -# Microsoft Developer Studio Project File - Name="OBV Typed Events Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=OBV Typed Events Client - 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 "client.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 "client.mak" CFG="OBV Typed Events Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "OBV Typed Events Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "OBV Typed Events Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "Desktop" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "OBV Typed Events Client - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 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 TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "OBV Typed Events Client - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "client___Win32_Debug" -# PROP BASE Intermediate_Dir "client___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 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 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "OBV Typed Events Client - Win32 Release" -# Name "OBV Typed Events Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\Client_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_Types_impl.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_TypesC.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_TypesS.cpp -# End Source File -# Begin Source File - -SOURCE=..\Simple_util.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\Client_i.h -# End Source File -# Begin Source File - -SOURCE=.\Event_Types_impl.h -# End Source File -# Begin Source File - -SOURCE=.\Event_TypesC.h -# End Source File -# Begin Source File - -SOURCE=.\Event_TypesS.h -# End Source File -# Begin Source File - -SOURCE=..\Simple_util.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "idl" -# Begin Source File - -SOURCE=.\Event_Types.idl - -!IF "$(CFG)" == "OBV Typed Events Client - Win32 Release" - -USERDEP__EVENT="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputName) -InputPath=.\Event_Types.idl -InputName=Event_Types - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 -Gc -Gv $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "OBV Typed Events Client - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__EVENT="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputName) -InputPath=.\Event_Types.idl -InputName=Event_Types - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 -Gc -Gv $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/OBV/Typed_Events/run_test.pl b/TAO/examples/OBV/Typed_Events/run_test.pl deleted file mode 100755 index 6d9847d5a80..00000000000 --- a/TAO/examples/OBV/Typed_Events/run_test.pl +++ /dev/null @@ -1,40 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -use lib "../../../../bin"; -require ACEutils; -require Process; -$status = 0; - -$iorfile = "obv.ior"; - -unlink $iorfile; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", "-o $iorfile "); - -if (ACE::waitforfile_timed ($iorfile, 15) == -1) { - print STDERR "ERROR: timedout waiting for file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$client = Process::Create($EXEPREFIX."client$EXE_EXT","-f $iorfile"); -if ($client->TimedWait (60) == -1) { - print STDERR "ERROR: the client timedout\n"; - $status = 1; - $client->Kill (); $client->TimedWait (1); -} - -$SV->Terminate (); if ($SV->TimedWait (5) == -1) { - print STDERR "ERROR: cannot terminate the server\n"; - $SV->Kill (); $SV->TimedWait (1); - $status = 1; -} - -unlink $iorfile; - -exit $status; diff --git a/TAO/examples/OBV/Typed_Events/server.cpp b/TAO/examples/OBV/Typed_Events/server.cpp deleted file mode 100644 index 80ca0fc570c..00000000000 --- a/TAO/examples/OBV/Typed_Events/server.cpp +++ /dev/null @@ -1,49 +0,0 @@ -// $Id$ -#include "../Simple_util.h" -#include "Server_i.h" - -// This is the main driver program for the time and date server. - -int -main (int argc, char *argv[]) -{ - Server server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tCheckpoint Event_Types server\n\n")); - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - if (server.init ("Event_Types_Checkpoint", - argc, - argv, - ACE_TRY_ENV) == -1) - return 1; - else - { - server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Server; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Server -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/OBV/Typed_Events/server.dsp b/TAO/examples/OBV/Typed_Events/server.dsp deleted file mode 100644 index 66e24822c95..00000000000 --- a/TAO/examples/OBV/Typed_Events/server.dsp +++ /dev/null @@ -1,229 +0,0 @@ -# Microsoft Developer Studio Project File - Name="OBV Typed Events Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=OBV Typed Events Server - 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 "server.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 "server.mak" CFG="OBV Typed Events Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "OBV Typed Events Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "OBV Typed Events Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "Desktop" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "OBV Typed Events Server - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 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 TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "OBV Typed Events Server - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "server___Win32_Debug" -# PROP BASE Intermediate_Dir "server___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 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 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "OBV Typed Events Server - Win32 Release" -# Name "OBV Typed Events Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\Event_Types_impl.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_TypesC.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_TypesS.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# Begin Source File - -SOURCE=.\Server_i.cpp -# End Source File -# Begin Source File - -SOURCE=..\Simple_util.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\Event_Types_impl.h -# End Source File -# Begin Source File - -SOURCE=.\Event_TypesC.h -# End Source File -# Begin Source File - -SOURCE=.\Event_TypesS.h -# End Source File -# Begin Source File - -SOURCE=.\Server_i.h -# End Source File -# Begin Source File - -SOURCE=..\Simple_util.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Event_Types.idl - -!IF "$(CFG)" == "OBV Typed Events Server - Win32 Release" - -USERDEP__EVENT="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputName) -InputPath=.\Event_Types.idl -InputName=Event_Types - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 -Gc -Gv $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "OBV Typed Events Server - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__EVENT="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputName) -InputPath=.\Event_Types.idl -InputName=Event_Types - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 -Gc -Gv $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/Adapter_Activator/Adaptor_Activator.dsw b/TAO/examples/POA/Adapter_Activator/Adaptor_Activator.dsw deleted file mode 100644 index f121fae15c3..00000000000 --- a/TAO/examples/POA/Adapter_Activator/Adaptor_Activator.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/Adapter_Activator/Makefile b/TAO/examples/POA/Adapter_Activator/Makefile deleted file mode 100644 index 60444945ed6..00000000000 --- a/TAO/examples/POA/Adapter_Activator/Makefile +++ /dev/null @@ -1,308 +0,0 @@ -# -# $Id$ -# - -BIN = server - -LSRC = $(addsuffix .cpp,$(BIN)) - -CPPFLAGS += -I$(TAO_ROOT) -I../Generic_Servant - -LDLIBS = -lGeneric_Servant -lTAO -LDFLAGS += -L$(TAO_ROOT)/tao -L../Generic_Servant - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -INSTALL = - -#TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - ../Generic_Servant/MyFooServant.h ../Generic_Servant/FooS.h \ - ../Generic_Servant/FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ../Generic_Servant/generic_servant_export.h ../Generic_Servant/FooC.i \ - ../Generic_Servant/FooS_T.h ../Generic_Servant/FooS_T.i \ - ../Generic_Servant/FooS_T.cpp ../Generic_Servant/FooS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/Adapter_Activator/README b/TAO/examples/POA/Adapter_Activator/README deleted file mode 100644 index 6f7a41e48b3..00000000000 --- a/TAO/examples/POA/Adapter_Activator/README +++ /dev/null @@ -1,49 +0,0 @@ -// $Id$ - -This example is very similar to the Explicit_Activation example except -that the POAs are deleted once the object references have been -created. After this, an adapter activator is install in the RootPOA to -reactivate the POAs on demand. - -The server program is available here. Use the Generic_Servant/client -program to test this. - -________________________________________ - -To test this example, type run_test.pl -________________________________________ - -Or -________________________________________ - -Run the server as follows: - -% ./server -f output - -This will produce three output files: output_1, output_2, and output_3 - -Run the client as follows: - -% cd $TAO_ROOT/examples/POA/Generic_Servant -% ./client -f ../Explicit_Activation/output_1 -% ./client -f ../Explicit_Activation/output_2 -% ./client -f ../Explicit_Activation/output_3 -________________________________________ - -Or -________________________________________ - -Run the server as follows: - -% ./server -ORBobjrefstyle URL & - -Run the client as follows: - -% cd $TAO_ROOT/examples/POA/Generic_Servant -% ./client -k - -Comments : -========= - - As soon as, the server prints out the IOR, cut it and use it for -running the client. -________________________________________ diff --git a/TAO/examples/POA/Adapter_Activator/run_test.pl b/TAO/examples/POA/Adapter_Activator/run_test.pl deleted file mode 100755 index f733ce5e7e2..00000000000 --- a/TAO/examples/POA/Adapter_Activator/run_test.pl +++ /dev/null @@ -1,126 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$iorfile = "ior"; - -$oneway = ""; -$iterations = 100; - -$extra_args = ""; - -# Parse the arguments -for ($i = 0; $i <= $#ARGV; $i++) -{ - SWITCH: - { - if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?") - { - print "run_test [-h] [-i iterations] [-o] [-f ior file]\n"; - print "\n"; - print "-h -- prints this information\n"; - print "-f -- ior file\n"; - print "-i iterations -- specifies iterations\n"; - print "-o -- call issued are oneways\n"; - exit; - } - if ($ARGV[$i] eq "-o") - { - $oneway = "-o"; - last SWITCH; - } - if ($ARGV[$i] eq "-i") - { - $iterations = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - if ($ARGV[$i] eq "-f") - { - $iorfile = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - $extra_args .= " " . $ARGV[$i]; - } -} - -$iorfile_1 = $iorfile."_1"; -$iorfile_2 = $iorfile."_2"; -$iorfile_3 = $iorfile."_3"; - -unlink $iorfile_1; -unlink $iorfile_2; -unlink $iorfile_3; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", "-f $iorfile $extra_args"); -if (ACE::waitforfile_timed ($iorfile_1, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_1>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -if (ACE::waitforfile_timed ($iorfile_2, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_2>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -if (ACE::waitforfile_timed ($iorfile_3, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_3>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$CL_1 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile_1"); - -$client_1 = $CL_1->TimedWait (60); -if ($client_1 == -1) { - print STDERR "ERROR: client 1 timedout\n"; - $CL_1->Kill (); $CL_1->TimedWait (1); -} - -$CL_2 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile_2"); - -$client_2 = $CL_2->TimedWait (60); -if ($client_2 == -1) { - print STDERR "ERROR: client 2 timedout\n"; - $CL_2->Kill (); $CL_2->TimedWait (1); -} - -$CL_3 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile_3 -x"); - -$client_3 = $CL_3->TimedWait (60); -if ($client_3 == -1) { - print STDERR "ERROR: client 3 timedout\n"; - $CL_3->Kill (); $CL_3->TimedWait (1); -} - -$server = $SV->TimedWait (5); -if ($server == -1) { - print STDERR "ERROR: server timedout\n"; - $SV->Kill (); $SV->TimedWait (1); -} - -unlink $iorfile_1; -unlink $iorfile_2; -unlink $iorfile_3; - -if ($server != 0 || - $client_1 != 0 || - $client_2 != 0 || - $client_3 != 0 ) -{ - exit 1; -} - -exit 0; diff --git a/TAO/examples/POA/Adapter_Activator/server.cpp b/TAO/examples/POA/Adapter_Activator/server.cpp deleted file mode 100644 index 6e8445b6811..00000000000 --- a/TAO/examples/POA/Adapter_Activator/server.cpp +++ /dev/null @@ -1,455 +0,0 @@ -// $Id$ - -// ================================================================ -// -// = LIBRARY -// TAO/tests/POA/Adapter_Activator -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// This example is very similar to the Explicit_Activation example -// except that the POAs are deleted once the object references have -// been created. After this, an adapter activator is install in the -// RootPOA to reactivate the POAs on demand. -// -// Similar to the Explicit_Activation, the client for this example -// is Generic_Servant. -// -// = AUTHOR -// Irfan Pyarali -// -// ================================================================ - -#include "ace/Get_Opt.h" -#include "MyFooServant.h" - -ACE_RCSID(Adapter_Activator, server, "$Id$") - -// This is to remove "inherits via dominance" warnings from MSVC. -// MSVC is being a little too paranoid. -#if defined (_MSC_VER) -# pragma warning (disable : 4250) -#endif /* _MSC_VER */ - -class Reference_Counted_Foo : public virtual PortableServer::RefCountServantBase, - public virtual MyFooServant -{ -public: - Reference_Counted_Foo (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Long value); - // Constructor - takes a POA and a value parameter -}; - -Reference_Counted_Foo::Reference_Counted_Foo (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Long value) - : MyFooServant (orb, - poa, - value) -{ -} - -class Adapter_Activator : public POA_PortableServer::AdapterActivator -{ -public: - - Adapter_Activator (PortableServer::POAManager_ptr poa_manager, - CORBA::ORB_ptr orb); - - CORBA::Boolean unknown_adapter (PortableServer::POA_ptr parent, - const char *name, - CORBA_Environment &ACE_TRY_ENV); - - CORBA::PolicyList first_poa_policies_; - CORBA::PolicyList second_poa_policies_; - -private: - - PortableServer::POAManager_var poa_manager_; - CORBA::ORB_var orb_; -}; - -Adapter_Activator::Adapter_Activator (PortableServer::POAManager_ptr poa_manager, - CORBA::ORB_ptr orb) - : poa_manager_ (PortableServer::POAManager::_duplicate (poa_manager)), - orb_ (CORBA::ORB::_duplicate (orb)) -{ -} - -CORBA::Boolean -Adapter_Activator::unknown_adapter (PortableServer::POA_ptr parent, - const char *name, - CORBA::Environment &ACE_TRY_ENV) -{ - if (ACE_OS::strcmp (name, "firstPOA") == 0) - { - PortableServer::POA_var child = parent->create_POA (name, - this->poa_manager_.in (), - this->first_poa_policies_, - ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - // Creation of firstPOA is over. Destroy the Policy objects. - for (CORBA::ULong i = 0; - i < this->first_poa_policies_.length (); - ++i) - { - this->first_poa_policies_[i]->destroy (ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - } - - PortableServer::AdapterActivator_var activator = this->_this (ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - child->the_activator (activator.in (), - ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - Reference_Counted_Foo *foo_impl = new Reference_Counted_Foo (this->orb_.in (), - child.in (), - 28); - - child->set_servant (foo_impl, - ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - // This means that the ownership of now belongs to - // the POA. - foo_impl->_remove_ref (ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - // Finally everything is fine - return 1; - } - else if (ACE_OS::strcmp (name, "secondPOA") == 0) - { - PortableServer::POA_var child = parent->create_POA (name, - this->poa_manager_.in (), - this->second_poa_policies_, - ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - // Creation of secondPOA is over. Destroy the Policy objects. - for (CORBA::ULong i = 0; - i < this->second_poa_policies_.length (); - ++i) - { - this->second_poa_policies_[i]->destroy (ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - } - - Reference_Counted_Foo *foo_impl = new Reference_Counted_Foo (this->orb_.in (), - child.in (), - 29); - - PortableServer::ObjectId_var oid = - PortableServer::string_to_ObjectId ("third Foo"); - - child->activate_object_with_id (oid.in (), - foo_impl, - ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - // This means that the ownership of now belongs to - // the POA. - foo_impl->_remove_ref (ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - // Finally everything is fine - return 1; - } - else - { - // Unknown POA. - return 0; - } -} - -static char *ior_output_file = 0; - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "f:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'f': - ior_output_file = get_opts.optarg; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "[-f ior_output_file]" - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -static int -write_iors_to_file (const char *first_ior, - const char *second_ior, - const char *third_ior) -{ - if (ior_output_file == 0) - // No filename was specified; simply return - return 0; - - char ior_output_file_1[BUFSIZ]; - char ior_output_file_2[BUFSIZ]; - char ior_output_file_3[BUFSIZ]; - - ACE_OS::sprintf (ior_output_file_1, "%s_1", ior_output_file); - ACE_OS::sprintf (ior_output_file_2, "%s_2", ior_output_file); - ACE_OS::sprintf (ior_output_file_3, "%s_3", ior_output_file); - - FILE *output_file_1 = ACE_OS::fopen (ior_output_file_1, "w"); - FILE *output_file_2 = ACE_OS::fopen (ior_output_file_2, "w"); - FILE *output_file_3 = ACE_OS::fopen (ior_output_file_3, "w"); - - if (output_file_1 == 0 || - output_file_2 == 0 || - output_file_3 == 0) - ACE_ERROR_RETURN ((LM_ERROR, "Cannot open output files for writing IORs: %s, %s %s\n", - ior_output_file_1, - ior_output_file_2, - ior_output_file_3), - -1); - - u_int result = 0; - - result = ACE_OS::fprintf (output_file_1, - "%s", - first_ior); - if (result != ACE_OS::strlen (first_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - first_ior, - ior_output_file_1), - -1); - - result = ACE_OS::fprintf (output_file_2, - "%s", - second_ior); - if (result != ACE_OS::strlen (second_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - second_ior, - ior_output_file_2), - -1); - - result = ACE_OS::fprintf (output_file_3, - "%s", - third_ior); - if (result != ACE_OS::strlen (third_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - third_ior, - ior_output_file_3), - -1); - - ACE_OS::fclose (output_file_1); - ACE_OS::fclose (output_file_2); - ACE_OS::fclose (output_file_3); - - return 0; -} - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initialize the ORB first. - CORBA::ORB_var orb = CORBA::ORB_init (argc, - argv, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - int result = parse_args (argc, argv); - if (result != 0) - return result; - - // Obtain the RootPOA. - CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA"); - - // Get the POA_var object from Object_var. - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the POAManager of the RootPOA. - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - Adapter_Activator adapter_activator (poa_manager.in (), - orb.in ()); - - PortableServer::AdapterActivator_var activator = adapter_activator._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - root_poa->the_activator (activator.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POA_var first_poa; - PortableServer::POA_var second_poa; - - { - // Policies for the firstPOA to be created. - CORBA::PolicyList &policies = adapter_activator.first_poa_policies_; - policies.length (4); - - // Id Assignment Policy - policies[0] = - root_poa->create_id_assignment_policy (PortableServer::SYSTEM_ID, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Lifespan policy - policies[1] = - root_poa->create_lifespan_policy (PortableServer::PERSISTENT, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Request Processing policy - policies[2] = - root_poa->create_request_processing_policy (PortableServer::USE_DEFAULT_SERVANT, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Id Uniqueness - policies[3] = - root_poa->create_id_uniqueness_policy (PortableServer::MULTIPLE_ID, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Create the firstPOA under the RootPOA. - first_poa = root_poa->create_POA ("firstPOA", - poa_manager.in (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - { - // Policies for the secondPOA to be created. - CORBA::PolicyList &policies = adapter_activator.second_poa_policies_; - policies.length (2); - - // Id Assignment Policy - policies[0] = - root_poa->create_id_assignment_policy (PortableServer::USER_ID, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Lifespan policy - policies[1] = - root_poa->create_lifespan_policy (PortableServer::PERSISTENT, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Create the secondPOA under the firstPOA. - second_poa = first_poa->create_POA ("secondPOA", - poa_manager.in (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - // Create a servant. - Reference_Counted_Foo first_foo_impl (orb.in (), - root_poa.in (), - 27); - - PortableServer::ObjectId_var first_oid = - root_poa->activate_object (&first_foo_impl, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get Object Reference for the first_foo_impl object. - Foo_var first_foo = first_foo_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::Object_var second_foo = - first_poa->create_reference ("IDL:Foo:1.0", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::ObjectId_var third_oid = - PortableServer::string_to_ObjectId ("third Foo"); - - CORBA::Object_var third_foo = - second_poa->create_reference_with_id (third_oid.in (), - "IDL:Foo:1.0", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Stringyfy all the object references and print them out. - CORBA::String_var first_ior = - orb->object_to_string (first_foo.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var second_ior = - orb->object_to_string (second_foo.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var third_ior = - orb->object_to_string (third_foo.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "%s\n%s\n%s\n", - first_ior.in (), - second_ior.in (), - third_ior.in ())); - - int write_result = write_iors_to_file (first_ior.in (), - second_ior.in (), - third_ior.in ()); - if (write_result != 0) - return write_result; - - first_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1); - - // Destroy RootPOA (also destroys all child POAs). - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception caught"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/Adapter_Activator/server.dsp b/TAO/examples/POA/Adapter_Activator/server.dsp deleted file mode 100644 index 3fdab5e5a91..00000000000 --- a/TAO/examples/POA/Adapter_Activator/server.dsp +++ /dev/null @@ -1,100 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA Adapter Activator Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA Adapter Activator Server - 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 "server.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 "server.mak"\ - CFG="POA Adapter Activator Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA Adapter Activator Server - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "POA Adapter Activator Server - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA Adapter Activator Server - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 tao.lib ace.lib ..\Generic_Servant\Generic_Servant.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA Adapter Activator Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 ..\Generic_Servant\Generic_Servantd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA Adapter Activator Server - Win32 Release" -# Name "POA Adapter Activator Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/DSI/DSI.DSW b/TAO/examples/POA/DSI/DSI.DSW deleted file mode 100644 index 81ea7e514fa..00000000000 --- a/TAO/examples/POA/DSI/DSI.DSW +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/DSI/Database.idl b/TAO/examples/POA/DSI/Database.idl deleted file mode 100644 index 3fd2aaf97df..00000000000 --- a/TAO/examples/POA/DSI/Database.idl +++ /dev/null @@ -1,75 +0,0 @@ -// $Id$ - -module Database -{ - typedef unsigned long Flags; - - typedef string Identifier; - - exception Unknown_Type - { - string type; - }; - - exception Unknown_Key - { - string key; - }; - - exception Duplicate_Key - { - string key; - }; - - exception Not_Found - { - string key; - }; - - interface Entry - { - readonly attribute string name; - }; - - interface Employee : Entry - { - attribute long id; - }; - - /* - interface Machine : Entry - { - attribute string make; - }; - */ - - struct NamedValue - { - Identifier name; - any value; - Flags flags; - }; - - typedef sequence NVPairSequence; - - interface Agent - { - Entry create_entry (in string key, - in Identifier entry_type, - in NVPairSequence initial_attributes) - raises (Unknown_Type, - Duplicate_Key); - - Entry find_entry (in string key, - in Identifier entry_type) - raises (Unknown_Type, - Not_Found); - - void destroy_entry (in string key, - in Identifier entry_type) - raises (Unknown_Type, - Unknown_Key); - - void shutdown (); - }; -}; diff --git a/TAO/examples/POA/DSI/Database_i.cpp b/TAO/examples/POA/DSI/Database_i.cpp deleted file mode 100644 index abe914f82e4..00000000000 --- a/TAO/examples/POA/DSI/Database_i.cpp +++ /dev/null @@ -1,414 +0,0 @@ -// $Id$ - -#include "Database_i.h" - -ACE_RCSID(DSI, Database_i, "$Id$") - -DatabaseImpl::Simpler_Malloc::Simpler_Malloc (void) - : MALLOC (ACE_DEFAULT_BACKING_STORE) -{ -} - -DatabaseImpl::Simpler_Malloc::~Simpler_Malloc (void) -{ - this->remove (); -} - -DatabaseImpl::Entry::Entry (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Environment &ACE_TRY_ENV) - : orb_ (CORBA::ORB::_duplicate (orb)), - poa_ (PortableServer::POA::_duplicate (poa)) -{ - // Get the POA Current object reference - CORBA::Object_var obj = - this->orb_->resolve_initial_references ("POACurrent", - ACE_TRY_ENV); - ACE_CHECK; - - // Narrow the object reference to a POA Current reference - this->poa_current_ = - PortableServer::Current::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -DatabaseImpl::Entry::~Entry (void) -{ -} - -void -DatabaseImpl::Entry::invoke (CORBA::ServerRequest_ptr request, - CORBA::Environment &ACE_TRY_ENV) -{ - // The servant determines the key associated with thex database - // entry represented by self. - PortableServer::ObjectId_var oid = - this->poa_current_->get_object_id (ACE_TRY_ENV); - ACE_CHECK; - - // Now convert the id into a string - CORBA::String_var key = - PortableServer::ObjectId_to_string (oid.in ()); - - // Get the operation name for this request - const char *operation = - request->operation (); - - if (ACE_OS::strcmp (operation, - "_is_a") == 0) - { - this->is_a (request, ACE_TRY_ENV); - ACE_CHECK; - } - else - ACE_THROW (CORBA::NO_IMPLEMENT ()); -} - -void -DatabaseImpl::Entry::is_a (CORBA::ServerRequest_ptr request, - CORBA::Environment &ACE_TRY_ENV) -{ - CORBA::NVList_ptr list; - this->orb_->create_list (0, list); - - CORBA::Any any_1 (CORBA::_tc_string); - - list->add_value ("value", - any_1, - CORBA::ARG_IN, - ACE_TRY_ENV); - ACE_CHECK; - - request->arguments (list, - ACE_TRY_ENV); - ACE_CHECK; - - CORBA_NamedValue_ptr nv = list->item (0, - ACE_TRY_ENV); - ACE_CHECK; - - CORBA::Any_ptr ap = nv->value (); - char *value; - *ap >>= value; - - const char *object_id = - CORBA::_tc_Object->id (ACE_TRY_ENV); - ACE_CHECK; - - CORBA::Boolean result; - if (ACE_OS::strcmp (value, "IDL:Database/Employee:1.0") == 0 - || ACE_OS::strcmp (value, "IDL:Database/Entry:1.0") == 0 - || ACE_OS::strcmp (value, object_id) == 0) - result = 1; - else - result = 0; - - CORBA::Any result_any; - CORBA::Any::from_boolean from_boolean (result); - result_any <<= from_boolean; - - request->set_result (result_any, ACE_TRY_ENV); - ACE_CHECK; -} - -CORBA::RepositoryId -DatabaseImpl::Entry::_primary_interface (const PortableServer::ObjectId &/*oid*/, - PortableServer::POA_ptr, - CORBA::Environment &) -{ - return 0; -} - -PortableServer::POA_ptr -DatabaseImpl::Entry::_default_POA (CORBA::Environment &) -{ - return PortableServer::POA::_duplicate (this->poa_.in ()); -} - -DatabaseImpl::Agent::Agent (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Environment &ACE_TRY_ENV) - : orb_ (CORBA::ORB::_duplicate (orb)), - poa_ (PortableServer::POA::_duplicate (poa)), - common_servant_ (orb, - poa, - ACE_TRY_ENV) -{ - ACE_CHECK; - - this->poa_->set_servant (&this->common_servant_, - ACE_TRY_ENV); - ACE_CHECK; -} - -DatabaseImpl::Agent::~Agent (void) -{ -} - -Database::Entry_ptr -DatabaseImpl::Agent::create_entry (const char *key, - const char *entry_type, - const Database::NVPairSequence &initial_attributes, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Duplicate_Key)) -{ - // Create a new entry in the database: - if (ACE_OS::strcmp (entry_type, "Employee") != 0 - || initial_attributes.length () != 2) - ACE_THROW_RETURN (Database::Unknown_Type (), - Database::Entry::_nil ()); - - char *name = 0; - CORBA::Long id = 0; - - const Database::NamedValue &first = - initial_attributes[0]; - const Database::NamedValue &second = - initial_attributes[1]; - - if (ACE_OS::strcmp (first.name.in (), "name") != 0 - || ACE_OS::strcmp (second.name.in (), "id") != 0) - ACE_THROW_RETURN (Database::Unknown_Type (), - Database::Entry::_nil ()); - - first.value >>= name; - second.value >>= id; - - Employee *new_employee; - // This attempts to create a new Employee and throws an exception - // and returns a null value if it fails - ACE_NEW_THROW_EX (new_employee, - Employee (name, id), - CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (Database::Entry::_nil ()); - - // @@ Should check the return value here and throw an exception if - // it fails. - DATABASE::instance ()->bind (key, - new_employee); - - ACE_DEBUG ((LM_DEBUG, - "New employee created with name = %s and id = %d\n", - name, - id)); - - // Creates a reference to the CORBA object used to encapsulate - // access to the new entry in the database. There is an interface - // for each entry type: - PortableServer::ObjectId_var obj_id = - PortableServer::string_to_ObjectId (key); - CORBA::String_var repository_id = - DatabaseImpl::entry_type_to_repository_id ("Entry"); - - CORBA::Object_var obj = - this->poa_->create_reference_with_id (obj_id.in (), - repository_id.in (), - ACE_TRY_ENV); - ACE_CHECK_RETURN (Database::Entry::_nil ()); - - Database::Entry_var entry = Database::Entry::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_CHECK_RETURN (Database::Entry::_nil ()); - - return entry._retn (); -} - -Database::Entry_ptr -DatabaseImpl::Agent::find_entry (const char *key, - const char *entry_type, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Not_Found)) -{ - if (ACE_OS::strcmp (entry_type, - "Employee") != 0) - ACE_THROW_RETURN (Database::Unknown_Type (), - Database::Entry::_nil ()); - - void *temp; - Database::Entry_var entry; - if (DATABASE::instance ()->find (key, temp) == 0) - { - Employee *employee = - ACE_reinterpret_cast (Employee *, - temp); - ACE_DEBUG ((LM_DEBUG, - "Employee with key = %s found: name = %s and id = %d\n", - key, - employee->name (), - employee->id ())); - - // Creates a reference to the CORBA object used to encapsulate - // access to the new entry in the database. There is an - // interface for each entry type: - PortableServer::ObjectId_var obj_id = - PortableServer::string_to_ObjectId (key); - CORBA::String_var repository_id = - DatabaseImpl::entry_type_to_repository_id ("Entry"); - CORBA::Object_var obj = - this->poa_->create_reference_with_id (obj_id.in (), - repository_id.in (), - ACE_TRY_ENV); - ACE_CHECK_RETURN (Database::Entry::_nil ()); - - entry = Database::Entry::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_CHECK_RETURN (Database::Entry::_nil ()); - } - else - { - ACE_DEBUG ((LM_DEBUG, - "Employee with key = %s not found\n", - key)); - - ACE_THROW_RETURN (Database::Not_Found (), - Database::Entry::_nil ()); - } - - return entry._retn (); -} - -void -DatabaseImpl::Agent::destroy_entry (const char *key, - const char *entry_type, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Unknown_Key)) -{ - if (ACE_OS::strcmp (entry_type, "Employee") != 0) - ACE_THROW (Database::Unknown_Type ()); - - void *temp; - if (DATABASE::instance ()->unbind (key, temp) == 0) - { - Employee *employee = - ACE_reinterpret_cast (Employee *, - temp); - ACE_DEBUG ((LM_DEBUG, - "Employee with key = %s will be removed from the database: " - "name = %s and id = %d \n", - key, - employee->name (), - employee->id ())); - - delete employee; - } - else - { - ACE_DEBUG ((LM_DEBUG, - "Employee with key = %s not found\n", - key)); - - ACE_THROW (Database::Unknown_Key ()); - } -} - -void -DatabaseImpl::Agent::shutdown (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->orb_->shutdown (); -} - -PortableServer::POA_ptr -DatabaseImpl::Agent::_default_POA (CORBA::Environment &) -{ - return PortableServer::POA::_duplicate (this->poa_.in ()); -} - -char * -DatabaseImpl::entry_type_to_repository_id (const char *entry_type) -{ - static const char *prefix = "IDL:Database/"; - static int prefix_length = ACE_OS::strlen (prefix); - static const char *suffix = ":1.0"; - static int suffix_length = ACE_OS::strlen (prefix); - - int len = - prefix_length + - ACE_OS::strlen (entry_type) + - suffix_length + - 1; - - char *result = CORBA::string_alloc (len); - ACE_OS::sprintf (result, - "%s%s%s", - prefix, - entry_type, - suffix); - return result; -} - -DatabaseImpl::Employee::Employee (const char* name, - CORBA::Long id) - : id_ (id), - name_ (0) -{ - this->name (name); -} - -DatabaseImpl::Employee::~Employee (void) -{ - DATABASE::instance ()->free (this->name_); -} - -const char * -DatabaseImpl::Employee::name (void) const - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->name_; -} - -void -DatabaseImpl::Employee::name (const char* name) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - DATABASE::instance ()->free (this->name_); - - this->name_ = - (char *) DATABASE::instance ()->malloc (ACE_OS::strlen (name) + 1); - - ACE_OS::strcpy (this->name_, - name); -} - -CORBA::Long -DatabaseImpl::Employee::id (void) const - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->id_; -} - -void -DatabaseImpl::Employee::id (CORBA::Long id) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->id_ = id; -} - -void * -DatabaseImpl::Employee::operator new (size_t size) -{ - return DATABASE::instance ()->malloc (size); -} - -void -DatabaseImpl::Employee::operator delete (void *pointer) -{ - DATABASE::instance ()->free (pointer); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Malloc; -template class ACE_Malloc_Iterator; -template class ACE_Singleton; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Malloc -#pragma instantiate ACE_Malloc_Iterator -#pragma instantiate ACE_Singleton -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/POA/DSI/Database_i.h b/TAO/examples/POA/DSI/Database_i.h deleted file mode 100644 index 3824d71f23b..00000000000 --- a/TAO/examples/POA/DSI/Database_i.h +++ /dev/null @@ -1,143 +0,0 @@ -// $Id$ - -#include "DatabaseS.h" -#include "ace/Malloc.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class DatabaseImpl -{ -public: - - //typedef ACE_Malloc MALLOC; - typedef ACE_Malloc MALLOC; - - class Simpler_Malloc : public MALLOC - { - public: - Simpler_Malloc (void); - ~Simpler_Malloc (void); - }; - - typedef ACE_Singleton DATABASE; - //typedef ACE_Malloc_Iterator DATABASE_ITERATOR; - typedef ACE_Malloc_Iterator DATABASE_ITERATOR; - - class Entry : public PortableServer::DynamicImplementation - { - public: - Entry (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Environment &); - ~Entry (void); - - virtual void invoke (CORBA::ServerRequest_ptr request, - CORBA::Environment &env); - // The invoke() method receives requests issued to any CORBA - // object incarnated by the DSI servant and performs the - // processing necessary to execute the request. - - virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::Environment &env); - // The _primary_interface() method receives an ObjectId value and - // a POA_ptr as input parameters and returns a valid RepositoryId - // representing the most-derived interface for that oid. - - virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); - // Returns the default POA for this servant. - - virtual void is_a (CORBA::ServerRequest_ptr request, - CORBA::Environment &env); - // Handles the _is_a call - - protected: - CORBA::ORB_var orb_; - // ORB (auto) pointer - - PortableServer::POA_var poa_; - // Default POA - - PortableServer::Current_var poa_current_; - // POA Current. - }; - - class Agent : public POA_Database::Agent - { - public: - Agent (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Environment &); - ~Agent (void); - - virtual Database::Entry_ptr create_entry (const char *key, - const char *entry_type, - const Database::NVPairSequence &initial_attributes, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Duplicate_Key)); - - virtual Database::Entry_ptr find_entry (const char *key, - const char *entry_type, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Not_Found)); - - virtual void destroy_entry (const char *key, - const char *entry_type, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Unknown_Key)); - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); - // Returns the default POA for this servant. - - protected: - CORBA::ORB_var orb_; - // ORB (auto) pointer - - PortableServer::POA_var poa_; - // Default POA - - Entry common_servant_; - }; - - static char *entry_type_to_repository_id (const char *entry_type); - - class Employee - { - public: - Employee (const char* name, - CORBA::Long id); - - ~Employee (void); - - const char *name (void) const - ACE_THROW_SPEC ((CORBA::SystemException)); - void name (const char* name) - ACE_THROW_SPEC ((CORBA::SystemException)); - - CORBA::Long id (void) const - ACE_THROW_SPEC ((CORBA::SystemException)); - void id (CORBA::Long id) - ACE_THROW_SPEC ((CORBA::SystemException)); - - void *operator new (size_t); - void operator delete (void *pointer); - - private: - CORBA::Long id_; - // Employee ID. - - char *name_; - // Employee name. - }; -}; diff --git a/TAO/examples/POA/DSI/Makefile b/TAO/examples/POA/DSI/Makefile deleted file mode 100644 index 3f788cfc943..00000000000 --- a/TAO/examples/POA/DSI/Makefile +++ /dev/null @@ -1,1357 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -LDLIBS = -lTAO - -IDL_SRC = DatabaseC.cpp DatabaseS.cpp -PROG_SRCS = $(IDL_SRC) server.cpp client.cpp Database_i.cpp - -LSRC = $(PROG_SRCS) - -FILE_SVR_OBJS = DatabaseC.o DatabaseS.o server.o Database_i.o -FILE_CLT_OBJS = DatabaseC.o DatabaseS.o client.o - -BIN = server client -BUILD = $(BIN) -VLDLIBS = $(LDLIBS:%=%$(VAR)) -VBIN = $(BIN:%=%$(VAR)) - -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - - -.PRECIOUS: DatabaseC.h DatabaseC.i DatabaseC.cpp DatabaseS.h DatabaseS.i DatabaseS.cpp DatabaseS_T.h DatabaseS_T.i DatabaseS_T.cpp - -server: $(addprefix $(VDIR),$(FILE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(FILE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) DatabaseC.* DatabaseS.* DatabaseS_T.* - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/DatabaseC.o .obj/DatabaseC.so .shobj/DatabaseC.o .shobj/DatabaseC.so: DatabaseC.cpp DatabaseC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - DatabaseC.i -.obj/DatabaseS.o .obj/DatabaseS.so .shobj/DatabaseS.o .shobj/DatabaseS.so: DatabaseS.cpp DatabaseS.h DatabaseC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - DatabaseC.i DatabaseS_T.h DatabaseS_T.i DatabaseS_T.cpp DatabaseS.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp Database_i.h DatabaseS.h DatabaseC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - DatabaseC.i DatabaseS_T.h DatabaseS_T.i DatabaseS_T.cpp DatabaseS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - DatabaseC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - DatabaseC.i -.obj/Database_i.o .obj/Database_i.so .shobj/Database_i.o .shobj/Database_i.so: Database_i.cpp Database_i.h DatabaseS.h DatabaseC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - DatabaseC.i DatabaseS_T.h DatabaseS_T.i DatabaseS_T.cpp DatabaseS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/DSI/README b/TAO/examples/POA/DSI/README deleted file mode 100644 index f2da382e968..00000000000 --- a/TAO/examples/POA/DSI/README +++ /dev/null @@ -1,4 +0,0 @@ -$Id$ -Note: If you run the test, and nothing happens, that's a good thing. This -is more of an example than a test, and therefore is not very -verbose. diff --git a/TAO/examples/POA/DSI/client.cpp b/TAO/examples/POA/DSI/client.cpp deleted file mode 100644 index 66cd569662c..00000000000 --- a/TAO/examples/POA/DSI/client.cpp +++ /dev/null @@ -1,228 +0,0 @@ -// $Id$ - -//=================================================================== -// = LIBRARY -// TAO/tests/POA/DSI/client -// -// = FILENAME -// client.cpp -// -// = DESCRIPTION -// A client program for the Database IDL module -// -// = AUTHOR -// Irfan Pyarali -// -//==================================================================== - -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" -#include "DatabaseC.h" - -ACE_RCSID(DSI, client, "$Id$") - -static char *IOR = 0; -static const char *IOR_file = 0; -static int shutdown_server = 0; - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "xk:f:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'k': - IOR = ACE_OS::strdup (get_opts.optarg); - break; - - case 'f': - IOR_file = get_opts.optarg; - break; - - case 'x': - shutdown_server = 1; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - "-k IOR " - "-f IOR file " - "-x [for shutting down the server] " - "\n", - argv [0]), - -1); - } - - if (IOR == 0 && IOR_file == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Please specify the IOR or IOR_file for the servant\n"), - -1); - - // Indicates successful parsing of command line. - return 0; -} - -int -read_IOR_from_file (void) -{ - // Open the file for reading. - ACE_HANDLE f_handle = - ACE_OS::open (IOR_file, 0); - - if (f_handle == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for reading\n", - IOR_file), - -1); - - ACE_Read_Buffer ior_buffer (f_handle); - char *data = ior_buffer.read (); - - if (data == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior\n"), - -1); - - IOR = ACE_OS::strdup (data); - ior_buffer.alloc ()->free (data); - - ACE_OS::close (f_handle); - - return 0; -} - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - char str [255]; - // Initialize the ORB - ACE_TRY - { - ACE_OS::strcpy (str, - "CORBA::ORB_init"); - CORBA::ORB_var orb = CORBA::ORB_init (argc, - argv, - - 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Parse the command-line arguments to get the location of the - // IOR - if (parse_args (argc, argv) == -1) - return -1; - - if (IOR == 0) - { - int result = read_IOR_from_file (); - if (result != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Cannot read IOR from %s\n", - IOR_file), - -1); - } - - ACE_OS::strcpy (str, - "CORBA::ORB::string_to_object"); - - // Get the object reference with the IOR - CORBA::Object_var object = orb->string_to_object (IOR, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, - "Database::Agent::_narrow"); - - // Narrow the object reference to a Database::Agent - Database::Agent_var database_agent = - Database::Agent::_narrow (object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - Database::NVPairSequence employee_attributes (2); - employee_attributes.length (2); - - Database::NamedValue &first = - employee_attributes[0]; - Database::NamedValue &second = - employee_attributes[1]; - - const char *name = "irfan"; - CORBA::Long id = 555; - - first.name = CORBA::string_dup ("name"); - first.value <<= name; - second.name = CORBA::string_dup ("id"); - second.value <<= id; - - ACE_OS::strcpy (str, - "Database::Agent::create_entry"); - - // Create an employee - Database::Entry_var entry = - database_agent->create_entry ("irfan", - "Employee", - employee_attributes, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "Database::Employee::_narrow"); - - Database::Employee_var employee = - Database::Employee::_narrow (entry.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - /* - * - * NOT IMPLEMENTED YET - * - * - */ - -#if 0 - // Reset the id - ACE_OS::strcpy (str, "Database::Employee::id"); - employee->id (666, ACE_TRY_ENV); - ACE_TRY_CHECK; -#endif /* 0 */ - - ACE_OS::strcpy (str, "Database::Entry::find"); - // Find the employee - entry = database_agent->find_entry ("irfan", - "Employee", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "Database::Entry::destroy"); - // Destroy the employee - database_agent->destroy_entry ("irfan", - "Employee", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (shutdown_server) - { - database_agent->shutdown (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - ACE_OS::free (IOR); - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, str); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/DSI/client.dsp b/TAO/examples/POA/DSI/client.dsp deleted file mode 100644 index 7900b5ca0b5..00000000000 --- a/TAO/examples/POA/DSI/client.dsp +++ /dev/null @@ -1,209 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA DSI Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA DSI Client - 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 "client.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 "client.mak" CFG="POA DSI Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA DSI Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "POA DSI Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA DSI Client - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /out:"Release/client.exe" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA DSI Client - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA DSI Client - Win32 Release" -# Name "POA DSI Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\DatabaseC.cpp -# End Source File -# Begin Source File - -SOURCE=.\DatabaseS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\DatabaseC.h -# End Source File -# Begin Source File - -SOURCE=.\DatabaseS.h -# End Source File -# Begin Source File - -SOURCE=.\DatabaseS_T.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Database.idl - -!IF "$(CFG)" == "POA DSI Client - Win32 Release" - -USERDEP__DATAB="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Database.idl -InputName=Database - -BuildCmds= \ - ..\..\..\..\bin\release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "POA DSI Client - Win32 Debug" - -USERDEP__DATAB="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Database.idl -InputName=Database - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/DSI/run_test.pl b/TAO/examples/POA/DSI/run_test.pl deleted file mode 100755 index e0fae9a8394..00000000000 --- a/TAO/examples/POA/DSI/run_test.pl +++ /dev/null @@ -1,44 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$iorfile = "server.ior"; - -unlink $iorfile; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", " -f $iorfile"); - -if (ACE::waitforfile_timed ($iorfile, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$CL = Process::Create ($EXEPREFIX."client$EXE_EXT ", - " -f $iorfile -x"); - -$client = $CL->TimedWait (60); -if ($client == -1) { - print STDERR "ERROR: client timedout\n"; - $CL->Kill (); $CL->TimedWait (1); -} - -$server = $SV->TimedWait (5); -if ($server == -1) { - print STDERR "ERROR: server timedout\n"; - $SV->Kill (); $SV->TimedWait (1); -} - -unlink $iorfile; - -if ($server != 0 || $client != 0) { - exit 1; -} - -exit 0; diff --git a/TAO/examples/POA/DSI/server.cpp b/TAO/examples/POA/DSI/server.cpp deleted file mode 100644 index 523fadfc071..00000000000 --- a/TAO/examples/POA/DSI/server.cpp +++ /dev/null @@ -1,226 +0,0 @@ -// $Id$ - -//=================================================================== -// = LIBRARY -// TAO/tests/POA/Default_Servant/server -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// A server program for the File IDL module -// -// = AUTHOR -// Irfan Pyarali -// -//==================================================================== - -#include "Database_i.h" -#include "ace/Get_Opt.h" - -ACE_RCSID(DSI, server, "$Id$") - -static char *ior_output_file = 0; - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "f:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'f': - ior_output_file = get_opts.optarg; - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "[-f ior_output_file] " - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -static int -write_iors_to_file (const char *first_ior) -{ - if (ior_output_file == 0) - // No filename was specified; simply return - return 0; - - FILE *output_file = ACE_OS::fopen (ior_output_file, "w"); - - if (output_file == 0) - ACE_ERROR_RETURN ((LM_ERROR, "Cannot open output files for writing IOR: %s\n", - ior_output_file), - -1); - - int result = 0; - - result = ACE_OS::fprintf (output_file, - "%s", - first_ior); - if (result < 0 || - ACE_static_cast (size_t, result) != ACE_OS::strlen (first_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - first_ior, - ior_output_file), - -1); - - ACE_OS::fclose (output_file); - - return 0; -} - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - char str[256]; - ACE_TRY - { - ACE_OS::strcpy (str,"CORBA::ORB_init"); - // Initialize the ORB - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - - int result = parse_args (argc, argv); - if (result != 0) - return result; - - // Get the Root POA object reference - CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA"); - - ACE_OS::strcpy (str,"PortableServer::POA::_narrow"); - // Narrow the object reference to a POA reference - PortableServer::POA_var root_poa = PortableServer::POA::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "PortableServer::POA::the_POAManager"); - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::PolicyList policies (5); - policies.length (5); - - ACE_OS::strcpy (str, "PortableServer::POA::create_id_assignment_policy"); - // ID Assignment Policy - policies[0] = - root_poa->create_id_assignment_policy (PortableServer::USER_ID, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str,"PortableServer::POA::create_lifespan_policy"); - // Lifespan Policy - policies[1] = - root_poa->create_lifespan_policy (PortableServer::PERSISTENT, - ACE_TRY_ENV); - - ACE_OS::strcpy (str,"PortableServer::POA::create_request_processing_policy"); - // Request Processing Policy - policies[2] = - root_poa->create_request_processing_policy (PortableServer::USE_DEFAULT_SERVANT, - ACE_TRY_ENV); - - ACE_OS::strcpy (str,"PortableServer::POA::create_servant_retention_policy"); - // Servant Retention Policy - policies[3] = - root_poa->create_servant_retention_policy (PortableServer::RETAIN, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str,"PortableServer::POA::create_id_uniqueness_policy"); - // Id Uniqueness Policy - policies[4] = - root_poa->create_id_uniqueness_policy (PortableServer::MULTIPLE_ID, ACE_TRY_ENV); - - ACE_TRY_CHECK; - - ACE_OS::strcpy (str,"PortableServer::POA::create_POA"); - ACE_CString name = "firstPOA"; - PortableServer::POA_var first_poa = root_poa->create_POA (name.c_str (), - poa_manager.in (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "PortableServer::POA::create_POA"); - for (CORBA::ULong i = 0; - i < policies.length (); - ++i) - { - CORBA::Policy_ptr policy = policies[i]; - policy->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - // Create a Database Agent Implementation object in first_poa - DatabaseImpl::Agent database_agent_impl (orb.in (), - first_poa.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::ObjectId_var database_agent_oid = - PortableServer::string_to_ObjectId ("DatabaseAgent"); - - ACE_OS::strcpy (str, "PortableServer::POA::activate_object_with_id"); - first_poa->activate_object_with_id (database_agent_oid.in (), - &database_agent_impl, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "PortableServer::POA::id_to_reference"); - CORBA::Object_var database_agent = - first_poa->id_to_reference (database_agent_oid.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "CORBA::ORB::object_to_string"); - - // Get the IOR for the "DatabaseAgent" object - CORBA::String_var database_agent_ior = - orb->object_to_string (database_agent.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG,"%s\n", - database_agent_ior.in ())); - - int write_result = write_iors_to_file (database_agent_ior.in ()); - if (write_result != 0) - return write_result; - - ACE_OS::strcpy (str, "PortableServer::POAManager::activate"); - // set the state of the poa_manager to active i.e ready to process requests - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Run the ORB - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1); - - ACE_OS::strcpy (str,"PortableServer::POA::destroy"); - // Destroy the rootPOA and its children - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, str); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/DSI/server.dsp b/TAO/examples/POA/DSI/server.dsp deleted file mode 100644 index 4604ebf788e..00000000000 --- a/TAO/examples/POA/DSI/server.dsp +++ /dev/null @@ -1,205 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA DSI Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA DSI Server - 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 "server.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 "server.mak" CFG="POA DSI Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA DSI Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "POA DSI Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA DSI Server - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA DSI Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA DSI Server - Win32 Release" -# Name "POA DSI Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\Database_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\DatabaseC.cpp -# End Source File -# Begin Source File - -SOURCE=.\DatabaseS.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\Database_i.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter ".idl" -# Begin Source File - -SOURCE=.\Database.idl - -!IF "$(CFG)" == "POA DSI Server - Win32 Release" - -USERDEP__DATAB="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Database.idl -InputName=Database - -BuildCmds= \ - ..\..\..\..\bin\release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "POA DSI Server - Win32 Debug" - -USERDEP__DATAB="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Database.idl -InputName=Database - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/Default_Servant/Default_Servant.dsw b/TAO/examples/POA/Default_Servant/Default_Servant.dsw deleted file mode 100644 index e53c22c509c..00000000000 --- a/TAO/examples/POA/Default_Servant/Default_Servant.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "POA Default Servant Client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA Default Servant Server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/Default_Servant/File.idl b/TAO/examples/POA/Default_Servant/File.idl deleted file mode 100644 index eeaa55e1d7e..00000000000 --- a/TAO/examples/POA/Default_Servant/File.idl +++ /dev/null @@ -1,53 +0,0 @@ -// $Id$ - -//================================================================= -// -// = FILENAME -// File.idl -// -// = DESCRIPTION -// A simple File Descriptor and File System IDL interface. -// -// = AUTHOR -// Irfan Pyarali -// -//================================================================== - -// IDL - -module File -{ - exception IOError - { - long error; - }; - - interface Descriptor - { - typedef sequence DataBuffer; - - long write (in DataBuffer buffer) - raises (IOError); - // write buffer to File - - DataBuffer read (in long num_bytes) - raises (IOError); - // read num_bytes to DataBuffer - - unsigned long lseek (in unsigned long offset, - in long whence) - raises (IOError); - // seek to offset in File from whence - - void destroy (); - // destroy the descriptor - }; - - interface System - { - Descriptor open (in string file_name, - in long flags) - raises (IOError); - // File open operation - }; -}; diff --git a/TAO/examples/POA/Default_Servant/File_i.cpp b/TAO/examples/POA/Default_Servant/File_i.cpp deleted file mode 100644 index 5db5f5a5e07..00000000000 --- a/TAO/examples/POA/Default_Servant/File_i.cpp +++ /dev/null @@ -1,204 +0,0 @@ -// $Id$ - -//=================================================================== -// -// = FILENAME -// File_i.cpp -// -// = DESCRIPTION -// Implementation of the File IDL module and the interfaces -// Descriptor and System in it. -// -// = AUTHOR -// Irfan Pyarali -// -//==================================================================== - -#include "File_i.h" - -ACE_RCSID(Default_Servant, File_i, "$Id$") - -// IDL File::System constructor -FileImpl::System::System (PortableServer::POA_ptr poa) - : poa_ (PortableServer::POA::_duplicate (poa)), - // Create the Default Descriptor Servant - fd_servant_ (poa) -{ - ACE_DECLARE_NEW_CORBA_ENV; - // set the default servant of the POA - poa->set_servant (&this->fd_servant_, ACE_TRY_ENV); - ACE_CHECK; -} - -FileImpl::System::~System (void) -{ -} - -PortableServer::POA_ptr -FileImpl::System::_default_POA (CORBA::Environment &) -{ - return PortableServer::POA::_duplicate (this->poa_.in ()); -} - -File::Descriptor_ptr -FileImpl::System::open (const char *file_name, - CORBA::Long flags, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - File::IOError)) -{ - // Do an ACE_OS::open - ACE_HANDLE file_descriptor = ACE_OS::open (file_name, - flags, - 0644); - - if (file_descriptor == ACE_INVALID_HANDLE) - { - //CORBA::Exception exception = File::IOError (errno); - ACE_THROW_RETURN (File::IOError (), 0); - - /* ACE_NEW_THROW_EX (exception, - File::IOError (errno), - exception); - ACE_CHECK_RETURN (0);*/ - } - - char file_descriptor_buffer[BUFSIZ]; - - // convert ACE_HANDLE to a string - ACE_OS::sprintf (file_descriptor_buffer, - "%ld", - (CORBA::Long) file_descriptor); - - //Create an objectID from the ACE_HANDLE string - PortableServer::ObjectId_var oid = - PortableServer::string_to_ObjectId (file_descriptor_buffer); - - // create an object reference with the specified ObjectID got - // from ACE_HANDLE string - CORBA::Object_var obj = - this->poa_->create_reference_with_id (oid.in (), - "IDL:File/Descriptor:1.0", - ACE_TRY_ENV); - ACE_CHECK_RETURN (File::Descriptor::_nil ()); - - // Narrow the object reference to a File Descriptor - File::Descriptor_var fd = - File::Descriptor::_narrow (obj.in (), ACE_TRY_ENV); - - ACE_CHECK_RETURN (File::Descriptor::_nil ()); - - return fd._retn (); -} - -// IDL File::Descriptor constructor -FileImpl::Descriptor::Descriptor (PortableServer::POA_ptr poa) - : poa_ (PortableServer::POA::_duplicate (poa)) -{ -} - -FileImpl::Descriptor::~Descriptor (void) -{ -} - -PortableServer::POA_ptr -FileImpl::Descriptor::_default_POA (CORBA::Environment &) -{ - return PortableServer::POA::_duplicate (this->poa_.in ()); -} - -//Extracts the ACE_HANDLE from the passed object reference -ACE_HANDLE -FileImpl::Descriptor::fd (CORBA::Environment &ACE_TRY_ENV) -{ - // Get a reference to myself - File::Descriptor_var me = this->_this (ACE_TRY_ENV); - - ACE_CHECK_RETURN (ACE_INVALID_HANDLE); - - // Get the ObjectId from the reference - PortableServer::ObjectId_var oid = - this->poa_->reference_to_id (me.in (), ACE_TRY_ENV); - - ACE_CHECK_RETURN (ACE_INVALID_HANDLE); - - // Convert the ObjectId to a string - CORBA::String_var s = - PortableServer::ObjectId_to_string (oid.in ()); - - // Get the ACE_HANDLE from the string - return (ACE_HANDLE) ::atol (s.in ()); -} - -CORBA::Long -FileImpl::Descriptor::write (const File::Descriptor::DataBuffer &buffer, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - File::IOError)) -{ - ACE_HANDLE file_descriptor = this->fd (ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - const CORBA::Octet *data = &buffer[0]; - - ssize_t len = ACE_OS::write (file_descriptor, - data, - buffer.length ()); - if (len > 0) - return len; - - ACE_THROW_RETURN (File::IOError (), 0); -} - -File::Descriptor::DataBuffer * -FileImpl::Descriptor::read (CORBA::Long num_bytes, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - File::IOError)) -{ - ACE_HANDLE file_descriptor = this->fd (ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - CORBA::Octet *buffer = File::Descriptor::DataBuffer::allocbuf (num_bytes); - int length = ACE_OS::read (file_descriptor, buffer, num_bytes); - - if (length > 0) - return new File::Descriptor::DataBuffer (length, - length, - buffer, - 1); - - File::Descriptor::DataBuffer::freebuf (buffer); - ACE_THROW_RETURN (File::IOError (), 0); -} - -CORBA::ULong -FileImpl::Descriptor::lseek (CORBA::ULong offset, - CORBA::Long whence, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - File::IOError)) -{ - ACE_HANDLE file_descriptor = this->fd (ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - CORBA::Long result = (CORBA::Long) ACE_OS::lseek (file_descriptor, - offset, - whence); - if (result == -1) - ACE_THROW_RETURN (File::IOError (), 0); - - return (CORBA::ULong) result; -} - -void -FileImpl::Descriptor::destroy (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Get the ACE_HANDLE for this object reference - ACE_HANDLE file_descriptor = this->fd (ACE_TRY_ENV); - ACE_CHECK; - - // Close the file corresponding to this object reference. - ACE_OS::close (file_descriptor); -} diff --git a/TAO/examples/POA/Default_Servant/File_i.h b/TAO/examples/POA/Default_Servant/File_i.h deleted file mode 100644 index cee4e41d63e..00000000000 --- a/TAO/examples/POA/Default_Servant/File_i.h +++ /dev/null @@ -1,101 +0,0 @@ -// $Id$ - -//=================================================================== -// -// = FILENAME -// File_i.h -// -// = DESCRIPTION -// Defines the implementation classes for the File IDL -// module -// -// = AUTHOR -// Irfan Pyarali -// -//==================================================================== - -#include "FileS.h" - -class FileImpl -{ - // = TITLE - // FileImpl class provides the namespace for the File IDL module . -public: - class Descriptor : public POA_File::Descriptor - { - // = TITLE - // Descriptor implements the Descriptor interface in the File - // Module A single Descriptor servant can serve multiple object - // references - public: - Descriptor (PortableServer::POA_ptr poa); - // Constructor - - ~Descriptor (void); - // Destructor - - PortableServer::POA_ptr _default_POA (CORBA::Environment &env); - // Returns the default POA of this object - - virtual CORBA::Long write (const File::Descriptor::DataBuffer &buffer, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - File::IOError)); - // write buffer to File corresponding to this Descriptor - - virtual File::Descriptor::DataBuffer *read (CORBA::Long num_bytes, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - // Reads num_bytes from the file and returns it - File::IOError)); - - virtual CORBA::ULong lseek (CORBA::ULong offset, - CORBA::Long whence, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - File::IOError)); - // seek to the offset in file from whence - - virtual void destroy (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // closes the file corresponding to the requested ObjectID - - private: - - ACE_HANDLE fd (CORBA::Environment &env); - // Extracts the ACE_HANDLE from the objectID - - PortableServer::POA_var poa_; - }; - - class System : public POA_File::System - { - // = TITLE - // File System implementation class. - public: - System (PortableServer::POA_ptr poa); - // Constructor, Creates a single File Descriptor Servant and - // registers it with the POA as the Default Servant - - ~System (void); - //Destructor - - PortableServer::POA_ptr _default_POA (CORBA::Environment &env); - //Returns the default POA of this object - - File::Descriptor_ptr open (const char *file_name, - CORBA::Long flags, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - File::IOError)); - // Opens a file ,creates a Descriptor reference with the - // ACE_HANDLE and returns that reference - - private: - PortableServer::POA_var poa_; - - Descriptor fd_servant_; - // The single File Descriptor servant which serves requests for - // any Descriptor object under poa_. - }; -}; diff --git a/TAO/examples/POA/Default_Servant/Makefile b/TAO/examples/POA/Default_Servant/Makefile deleted file mode 100644 index 21ae6bbb59d..00000000000 --- a/TAO/examples/POA/Default_Servant/Makefile +++ /dev/null @@ -1,1357 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -LDLIBS = -lTAO - -IDL_SRC = FileC.cpp FileS.cpp -PROG_SRCS = $(IDL_SRC) server.cpp client.cpp File_i.cpp - -LSRC = $(PROG_SRCS) - -FILE_SVR_OBJS = FileC.o FileS.o server.o File_i.o -FILE_CLT_OBJS = FileC.o FileS.o client.o - -BIN = server client -BUILD = $(BIN) -VLDLIBS = $(LDLIBS:%=%$(VAR)) -VBIN = $(BIN:%=%$(VAR)) -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - - -.PRECIOUS: FileC.h FileC.i FileC.cpp FileS.h FileS.i FileS.cpp - -server: $(addprefix $(VDIR),$(FILE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(FILE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) FileC.* FileS.* FileS_T.* - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/FileC.o .obj/FileC.so .shobj/FileC.o .shobj/FileC.so: FileC.cpp FileC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FileC.i -.obj/FileS.o .obj/FileS.so .shobj/FileS.o .shobj/FileS.so: FileS.cpp FileS.h FileC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FileC.i FileS_T.h FileS_T.i FileS_T.cpp FileS.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - File_i.h FileS.h FileC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FileC.i FileS_T.h FileS_T.i FileS_T.cpp FileS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - FileC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FileC.i -.obj/File_i.o .obj/File_i.so .shobj/File_i.o .shobj/File_i.so: File_i.cpp File_i.h FileS.h FileC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FileC.i FileS_T.h FileS_T.i FileS_T.cpp FileS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/Default_Servant/README b/TAO/examples/POA/Default_Servant/README deleted file mode 100644 index e4fe4e37088..00000000000 --- a/TAO/examples/POA/Default_Servant/README +++ /dev/null @@ -1,45 +0,0 @@ -// $Id$ - - -Default_Servants -================ - - By using the USE_DEFAULT_SERVANT policy, the developer can create - a POA that will use a single servant to implement all of its objects. - This approach is useful when there is very little data associated - with each object, so little that the data can be encoded in the - Object Id. - -Example: -======= - In the example implementation a Single Servant is enough to - serve requests for a File Descriptor interface. The Object Id of the - Descriptor objects are formed from the file handle returned by the - System call. The servant can get the file handle from the object - reference to process the request. Thus a single Descriptor servant - can serve multiple objects. - -SERVER: -====== - - 1. To run the server, type - - % server [-ORBobjrefstyle URL] - -CLIENT: -====== - The client tries to create a file "test" and writes a message to - the file and reads it back and prints it. - - 1. To run the client, type - - % client -k IOR - - where the IOR is got from the server output. - - - - - - - diff --git a/TAO/examples/POA/Default_Servant/client.cpp b/TAO/examples/POA/Default_Servant/client.cpp deleted file mode 100644 index 5332f16d54c..00000000000 --- a/TAO/examples/POA/Default_Servant/client.cpp +++ /dev/null @@ -1,159 +0,0 @@ -// $Id$ - -//=================================================================== -// = LIBRARY -// TAO/tests/POA/Default_Servant/client -// -// = FILENAME -// client.cpp -// -// = DESCRIPTION -// A client program for the File IDL module -// -// = AUTHOR -// Irfan Pyarali -// -//==================================================================== - -#include "ace/streams.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" -#include "ace/OS.h" -#include "FileC.h" - -ACE_RCSID(Default_Servant, client, "$Id$") - -static const char *iorfile = 0; -static const char *filename = "test"; -static const char *message = "POA rules!!"; - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "dk:f:m:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': - TAO_debug_level++; - break; - case 'k': - iorfile = get_opts.optarg; - break; - case 'f': - filename = get_opts.optarg; - break; - case 'm': - message = get_opts.optarg; - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - "[-k ]" - "[-f ]" - "[-m ]" - "\n", - argv [0]), - -1); - } - - if (iorfile == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Please specify the IOR for the servant"), -1); - - // Indicates successful parsing of command line. - return 0; -} - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initialize the ORB - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Parse the command-line arguments to get the IOR - parse_args (argc, argv); - - // parse args should catch this, but just in case... - if (iorfile == 0) - return 0; - - // Read the file, and get the IOR - ACE_HANDLE input_file = ACE_OS::open (iorfile, 0); - if (input_file == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Cannot open input file for reading IOR: %s\n", - iorfile), - -1); - ACE_Read_Buffer ior_buffer (input_file); - char *data = ior_buffer.read (); - if (data == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior\n"), - -1); - - ACE_CString ior = data; - ior_buffer.alloc ()-> free (data); - ACE_OS::close (input_file); - - CORBA::Object_var object = orb->string_to_object (ior.c_str (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Narrow the object reference to a File::System - File::System_var file_system = File::System::_narrow (object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Creat the file filename i.e "test" - File::Descriptor_var fd = file_system->open (filename, - O_CREAT | O_RDWR, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - int message_length = ACE_OS::strlen (message) + 1; - CORBA::Octet *buffer = File::Descriptor::DataBuffer::allocbuf (message_length); - ACE_OS::strcpy ((char *) buffer, message); - File::Descriptor::DataBuffer data_sent (message_length, message_length, buffer, 1); - - // write the message to the file - fd->write (data_sent, ACE_TRY_ENV); - ACE_TRY_CHECK; - - //seek to the beginning of the file - fd->lseek (0, SEEK_SET, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Read back the written message - File::Descriptor::DataBuffer_var data_received = fd->read (message_length, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - char *result = (char *) &data_received[0]; - - // print the read message - ACE_DEBUG((LM_DEBUG,"%s\n", - result)); - - // close the file - fd->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception caught in main"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/Default_Servant/client.dsp b/TAO/examples/POA/Default_Servant/client.dsp deleted file mode 100644 index 5b18fdbbde6..00000000000 --- a/TAO/examples/POA/Default_Servant/client.dsp +++ /dev/null @@ -1,209 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA Default Servant Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA Default Servant Client - 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 "client.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 "client.mak" CFG="POA Default Servant Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA Default Servant Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "POA Default Servant Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA Default Servant Client - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA Default Servant Client - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "client__" -# PROP BASE Intermediate_Dir "client__" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA Default Servant Client - Win32 Release" -# Name "POA Default Servant Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\FileC.cpp -# End Source File -# Begin Source File - -SOURCE=.\FileS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\FileC.h -# End Source File -# Begin Source File - -SOURCE=.\FileS.h -# End Source File -# Begin Source File - -SOURCE=.\FileS_T.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter ".idl" -# Begin Source File - -SOURCE=.\File.idl - -!IF "$(CFG)" == "POA Default Servant Client - Win32 Release" - -USERDEP__FILE_="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\File.idl -InputName=File - -BuildCmds= \ - ..\..\..\..\bin\release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "POA Default Servant Client - Win32 Debug" - -USERDEP__FILE_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\File.idl -InputName=File - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/Default_Servant/run_test.pl b/TAO/examples/POA/Default_Servant/run_test.pl deleted file mode 100755 index c303370d131..00000000000 --- a/TAO/examples/POA/Default_Servant/run_test.pl +++ /dev/null @@ -1,42 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$iorfile = "server.ior"; - -unlink $iorfile; - -$SV = Process::Create ($EXEPREFIX."server".$EXE_EXT, - " -o $iorfile"); - -if (ACE::waitforfile_timed ($iorfile, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$CL = Process::Create ($EXEPREFIX."client$EXE_EXT ", - " -k $iorfile"); - -$client = $CL->TimedWait (60); -if ($client == -1) { - print STDERR "ERROR: client timedout\n"; - $CL->Kill (); $CL->TimedWait (1); -} - -$SV->Kill (); $SV->TimedWait (1); - -unlink $iorfile; -unlink "test"; # created by the program - -if ($client != 0) { - exit 1; -} - -exit 0; diff --git a/TAO/examples/POA/Default_Servant/server.cpp b/TAO/examples/POA/Default_Servant/server.cpp deleted file mode 100644 index 2f2d91ec750..00000000000 --- a/TAO/examples/POA/Default_Servant/server.cpp +++ /dev/null @@ -1,188 +0,0 @@ -// $Id$ - -//=================================================================== -// = LIBRARY -// TAO/tests/POA/Default_Servant/server -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// A server program for the File IDL module -// -// = AUTHOR -// Irfan Pyarali -// -//==================================================================== - - -#include "ace/streams.h" -#include "ace/Get_Opt.h" -#include "File_i.h" - -ACE_RCSID(Default_Servant, server, "$Id$") - -static char *ior_output_file = 0; - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "o:d"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'o': - ior_output_file = get_opts.optarg; - break; - case 'd': - TAO_debug_level++; - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "[-oior_output_file]" - "[-d]" - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initialize the ORB - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - int result = parse_args (argc, argv); - if (result != 0) - return result; - - // Get the Root POA object reference - CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA"); - - // Narrow the object reference to a POA reference - PortableServer::POA_var root_poa = PortableServer::POA::_narrow (obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POAManager_var poa_manager = root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::PolicyList policies (5); - policies.length (5); - - // ID Assignment Policy - policies[0] = - root_poa->create_id_assignment_policy (PortableServer::USER_ID, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Lifespan Policy - policies[1] = - root_poa->create_lifespan_policy (PortableServer::PERSISTENT, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Request Processing Policy - policies[2] = - root_poa->create_request_processing_policy (PortableServer::USE_DEFAULT_SERVANT, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Servant Retention Policy - policies[3] = - root_poa->create_servant_retention_policy (PortableServer::RETAIN, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Id Uniqueness Policy - policies[4] = - root_poa->create_id_uniqueness_policy (PortableServer::MULTIPLE_ID, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_CString name = "firstPOA"; - PortableServer::POA_var first_poa = root_poa->create_POA (name.c_str (), - poa_manager.in (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - for (CORBA::ULong i = 0; - i < policies.length (); - ++i) - { - CORBA::Policy_ptr policy = policies[i]; - policy->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - // Create a File System Implementation object in first_poa - FileImpl::System file_system_impl (first_poa.in ()); - - PortableServer::ObjectId_var file_system_oid = - PortableServer::string_to_ObjectId ("FileSystem"); - - first_poa->activate_object_with_id (file_system_oid.in (), - &file_system_impl, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::Object_var file_system = - first_poa->id_to_reference (file_system_oid.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the IOR for the "FileSystem" object - CORBA::String_var file_system_ior = - orb->object_to_string (file_system.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG,"%s\n", - file_system_ior.in ())); - - // If the ior_output_file exists, output the ior to it - if (ior_output_file != 0) - { - FILE *output_file= ACE_OS::fopen (ior_output_file, "w"); - if (output_file == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Cannot open output file for writing IOR: %s", - ior_output_file), - -1); - ACE_OS::fprintf (output_file, "%s", file_system_ior.in ()); - ACE_OS::fclose (output_file); - } - - // set the state of the poa_manager to active i.e ready to process requests - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Run the ORB - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1); - - // Destroy the rootPOA and its children - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "EXCEPTION CAUGHT"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/Default_Servant/server.dsp b/TAO/examples/POA/Default_Servant/server.dsp deleted file mode 100644 index 92863524cea..00000000000 --- a/TAO/examples/POA/Default_Servant/server.dsp +++ /dev/null @@ -1,217 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA Default Servant Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA Default Servant Server - 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 "server.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 "server.mak" CFG="POA Default Servant Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA Default Servant Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "POA Default Servant Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA Default Servant Server - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 tao.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA Default Servant Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA Default Servant Server - Win32 Release" -# Name "POA Default Servant Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\File_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\FileC.cpp -# End Source File -# Begin Source File - -SOURCE=.\FileS.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\File_i.h -# End Source File -# Begin Source File - -SOURCE=.\FileC.h -# End Source File -# Begin Source File - -SOURCE=.\FileS.h -# End Source File -# Begin Source File - -SOURCE=.\FileS_T.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\File.idl - -!IF "$(CFG)" == "POA Default Servant Server - Win32 Release" - -USERDEP__FILE_="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\File.idl -InputName=File - -BuildCmds= \ - ..\..\..\..\bin\release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "POA Default Servant Server - Win32 Debug" - -USERDEP__FILE_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\File.idl -InputName=File - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsp b/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsp deleted file mode 100644 index 23b09a5d323..00000000000 --- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsp +++ /dev/null @@ -1,63 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Alt_Resource_Factory" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=Alt_Resource_Factory - 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 "Alt_Resource_Factory.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 "Alt_Resource_Factory.mak"\ - CFG="Alt_Resource_Factory - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Alt_Resource_Factory - Win32 Debug" (based on\ - "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe -# 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D Alt_Resource_Factory_HAS_DLL=1 /D "Alt_Resource_Factory_BUILD_DLL" /YX /FD /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /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 /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"Alt_Resource_Factoryd.dll" /pdbtype:sept /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none -# Begin Target - -# Name "Alt_Resource_Factory - Win32 Debug" -# Begin Source File - -SOURCE=.\Resource_Factory.cpp -# End Source File -# End Target -# End Project diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsw b/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsw deleted file mode 100644 index 28c9298ddab..00000000000 --- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Alt_Resource_Factory"=.\Alt_Resource_Factory.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.h b/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.h deleted file mode 100644 index f0a316eee8e..00000000000 --- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.h +++ /dev/null @@ -1,36 +0,0 @@ -// $Id$ - -// Definition for Win32 Export directives. -// This file is generated automatically by -// ${ACE_ROOT}/GenExportH.BAT -// ------------------------------ -#ifndef Alt_Resource_Factory_EXPORT_H -#define Alt_Resource_Factory_EXPORT_H - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#if defined (Alt_Resource_Factory_HAS_DLL) -# if (Alt_Resource_Factory_HAS_DLL == 1) -# if defined (Alt_Resource_Factory_BUILD_DLL) -# define Alt_Resource_Factory_Export ACE_Proper_Export_Flag -# define Alt_Resource_Factory_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# else -# define Alt_Resource_Factory_Export ACE_Proper_Import_Flag -# define Alt_Resource_Factory_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# endif /* Alt_Resource_Factory_BUILD_DLL */ -# else -# define Alt_Resource_Factory_Export -# define Alt_Resource_Factory_SINGLETON_DECLARATION(T) -# endif /* ! Alt_Resource_Factory_HAS_DLL == 1 */ -#else -# define Alt_Resource_Factory_Export -# define Alt_Resource_Factory_SINGLETON_DECLARATION(T) -#endif /* Alt_Resource_Factory_HAS_DLL */ - -#endif /* Alt_Resource_Factory_EXPORT_H */ - -// End of auto generated file. diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/README b/TAO/examples/POA/Explicit_Activation/Alt_Resources/README deleted file mode 100644 index ec8d77de73f..00000000000 --- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/README +++ /dev/null @@ -1,15 +0,0 @@ -This module shows how to modify the default TAO Resource Factory to do -something user specific. In this example, the reactor() accessor is -modified to provide the ORB with an instance of the ACE_WFMO_Reactor -instead of the regular ACE_Select_Reactor. You could also configure -the ACE_XtReactor here, as well. - -To use this altered resource factory in the Explicit_Activation -example, please specify the -ORBsvcconf alternate.conf as a additional -parameter to the server at start up. - -Note: Use of WFMO_Reactor is only for demonstration. In general, -WFMO_Reactor will not work for TAO as it cannot handle nested call -correctly. Also, since WFMO_Reactor is limited to Win32, this example -is limited to Win32. - diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.cpp b/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.cpp deleted file mode 100644 index 227639a60d4..00000000000 --- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// $Id$ - -#include "Resource_Factory.h" - -My_Resource_Factory::My_Reactors::My_Reactors (void) - : wfmo_reactor_ (), - reactor_ (&wfmo_reactor_) -{ -} - -ACE_Reactor * -My_Resource_Factory::get_reactor (void) -{ - ACE_DEBUG ((LM_DEBUG, "Using alternate reactor\n")); - - switch (this->resource_source_) - { - case TAO_GLOBAL: - return &GLOBAL_REACTORS::instance ()->reactor_; - case TAO_TSS: - return &TSS_REACTORS::instance ()->reactor_; - } - return 0; -} - -ACE_FACTORY_DEFINE (Alt_Resource_Factory, My_Resource_Factory) diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.h b/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.h deleted file mode 100644 index b8ecc8ebf7f..00000000000 --- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.h +++ /dev/null @@ -1,25 +0,0 @@ -// $Id$ - -#include "tao/corba.h" -#include "Alt_Resource_Factory.h" - -class Alt_Resource_Factory_Export My_Resource_Factory : public TAO_Resource_Factory -{ -public: - virtual ACE_Reactor *get_reactor (void); - // Return an to be utilized. - -private: - struct My_Reactors - { - My_Reactors (void); - ACE_WFMO_Reactor wfmo_reactor_; - ACE_Reactor reactor_; - }; - - typedef ACE_Singleton GLOBAL_REACTORS; - typedef ACE_TSS_Singleton TSS_REACTORS; -}; - -ACE_FACTORY_DECLARE (Alt_Resource_Factory, My_Resource_Factory) - diff --git a/TAO/examples/POA/Explicit_Activation/Explicit_Activation.dsw b/TAO/examples/POA/Explicit_Activation/Explicit_Activation.dsw deleted file mode 100644 index f121fae15c3..00000000000 --- a/TAO/examples/POA/Explicit_Activation/Explicit_Activation.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/Explicit_Activation/Makefile b/TAO/examples/POA/Explicit_Activation/Makefile deleted file mode 100644 index a63b245298c..00000000000 --- a/TAO/examples/POA/Explicit_Activation/Makefile +++ /dev/null @@ -1,309 +0,0 @@ -# -# $Id$ -# - -BIN = server - -LSRC = $(addsuffix .cpp,$(BIN)) - -CPPFLAGS += -I$(TAO_ROOT) -I../Generic_Servant - -LDLIBS = -lGeneric_Servant -lTAO -LDFLAGS += -L$(TAO_ROOT)/tao -L../Generic_Servant - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -INSTALL = -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/Timeprobe.h \ - $(ACE_ROOT)/ace/Timeprobe.h \ - ../Generic_Servant/MyFooServant.h ../Generic_Servant/FooS.h \ - ../Generic_Servant/FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ../Generic_Servant/generic_servant_export.h ../Generic_Servant/FooC.i \ - ../Generic_Servant/FooS_T.h ../Generic_Servant/FooS_T.i \ - ../Generic_Servant/FooS_T.cpp ../Generic_Servant/FooS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/Explicit_Activation/README b/TAO/examples/POA/Explicit_Activation/README deleted file mode 100644 index fd31291356c..00000000000 --- a/TAO/examples/POA/Explicit_Activation/README +++ /dev/null @@ -1,46 +0,0 @@ -// $Id$ - -This application demostrates explicit activation of Servant objects. - -The server program is available here. Use the Generic_Servant/client -program to test this. - -________________________________________ - -To test this example, type run_test.pl -________________________________________ - -Or -________________________________________ - -Run the server as follows: - -% ./server -f output - -This will produce three output files: output_1, output_2, and output_3 - -Run the client as follows: - -% cd $TAO_ROOT/examples/POA/Generic_Servant -% ./client -f ../Explicit_Activation/output_1 -% ./client -f ../Explicit_Activation/output_2 -% ./client -f ../Explicit_Activation/output_3 -________________________________________ - -Or -________________________________________ - -Run the server as follows: - -% ./server -ORBobjrefstyle URL & - -Run the client as follows: - -% cd $TAO_ROOT/examples/POA/Generic_Servant -% ./client -k - -Comments : -========= - - As soon as, the server prints out the IOR, cut it and use it for -running the client. -________________________________________ diff --git a/TAO/examples/POA/Explicit_Activation/alternate.conf b/TAO/examples/POA/Explicit_Activation/alternate.conf deleted file mode 100644 index 3871b912452..00000000000 --- a/TAO/examples/POA/Explicit_Activation/alternate.conf +++ /dev/null @@ -1,5 +0,0 @@ -# -# Refer to Alternate_Resource_Factory/README for details -# -dynamic Resource_Factory Service_Object * Alt_Resources/Alt_Resource_Factory:_make_My_Resource_Factory() "-ORBresources global" - diff --git a/TAO/examples/POA/Explicit_Activation/run_test.pl b/TAO/examples/POA/Explicit_Activation/run_test.pl deleted file mode 100755 index 08eefc438a7..00000000000 --- a/TAO/examples/POA/Explicit_Activation/run_test.pl +++ /dev/null @@ -1,128 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$iorfile = "ior"; - -$oneway = ""; -$iterations = 100; - -$extra_args = ""; - -# Parse the arguments -for ($i = 0; $i <= $#ARGV; $i++) -{ - SWITCH: - { - if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?") - { - print "run_test [-h] [-i iterations] [-o] [-f ior file]\n"; - print "\n"; - print "-h -- prints this information\n"; - print "-f -- ior file\n"; - print "-i iterations -- specifies iterations\n"; - print "-o -- call issued are oneways\n"; - exit; - } - if ($ARGV[$i] eq "-o") - { - $oneway = "-o"; - last SWITCH; - } - if ($ARGV[$i] eq "-i") - { - $iterations = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - if ($ARGV[$i] eq "-f") - { - $iorfile = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - $extra_args .= " " . $ARGV[$i]; - } -} - -$iorfile_1 = $iorfile."_1"; -$iorfile_2 = $iorfile."_2"; -$iorfile_3 = $iorfile."_3"; - -unlink $iorfile_1; -unlink $iorfile_2; -unlink $iorfile_3; - - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", "-f $iorfile $extra_args"); - -if (ACE::waitforfile_timed ($iorfile_1, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_1>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -if (ACE::waitforfile_timed ($iorfile_2, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_2>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -if (ACE::waitforfile_timed ($iorfile_3, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_3>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$CL_1 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile_1"); - -$client_1 = $CL_1->TimedWait (60); -if ($client_1 == -1) { - print STDERR "ERROR: client 1 timedout\n"; - $CL_1->Kill (); $CL_1->TimedWait (1); -} - -$CL_2 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile_2"); - -$client_2 = $CL_2->TimedWait (60); -if ($client_2 == -1) { - print STDERR "ERROR: client 2 timedout\n"; - $CL_2->Kill (); $CL_2->TimedWait (1); -} - -$CL_3 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile_3 -x"); - -$client_3 = $CL_3->TimedWait (60); -if ($client_3 == -1) { - print STDERR "ERROR: client 3 timedout\n"; - $CL_3->Kill (); $CL_3->TimedWait (1); -} - -$server = $SV->TimedWait (5); -if ($server == -1) { - print STDERR "ERROR: server timedout\n"; - $SV->Kill (); $SV->TimedWait (1); -} - -unlink $iorfile_1; -unlink $iorfile_2; -unlink $iorfile_3; - -if ($server != 0 || - $client_1 != 0 || - $client_2 != 0 || - $client_3 != 0) -{ - exit 1; -} - -exit 0; diff --git a/TAO/examples/POA/Explicit_Activation/server.cpp b/TAO/examples/POA/Explicit_Activation/server.cpp deleted file mode 100644 index 854f32710dd..00000000000 --- a/TAO/examples/POA/Explicit_Activation/server.cpp +++ /dev/null @@ -1,336 +0,0 @@ -// $Id$ - -// ================================================================ -// -// = LIBRARY -// TAO/tests/POA/Explicit_Activation -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// In this example, -// - A new POA (firstPOA) is created, and the different functions -// for the explicit activation of objects are demonstrated. -// - The Foo application class objects (defined in -// ./../Generic_Servant/MyFooServant) are used as sample objects. -// -// = AUTHOR -// Irfan Pyarali -// -// ================================================================ - -#include "ace/streams.h" -#include "ace/Get_Opt.h" -#include "tao/Timeprobe.h" -#include "MyFooServant.h" - -ACE_RCSID(Explicit_Activation, server, "$Id$") - -static char *ior_output_file = 0; - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "f:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'f': - ior_output_file = get_opts.optarg; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "[-f ior_output_file]" - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -static int -write_iors_to_file (const char *first_ior, - const char *second_ior, - const char *third_ior) -{ - if (ior_output_file == 0) - // No filename was specified; simply return - return 0; - - char ior_output_file_1[BUFSIZ]; - char ior_output_file_2[BUFSIZ]; - char ior_output_file_3[BUFSIZ]; - - ACE_OS::sprintf (ior_output_file_1, "%s_1", ior_output_file); - ACE_OS::sprintf (ior_output_file_2, "%s_2", ior_output_file); - ACE_OS::sprintf (ior_output_file_3, "%s_3", ior_output_file); - - FILE *output_file_1 = ACE_OS::fopen (ior_output_file_1, "w"); - FILE *output_file_2 = ACE_OS::fopen (ior_output_file_2, "w"); - FILE *output_file_3 = ACE_OS::fopen (ior_output_file_3, "w"); - - if (output_file_1 == 0 || - output_file_2 == 0 || - output_file_3 == 0) - ACE_ERROR_RETURN ((LM_ERROR, "Cannot open output files for writing IORs: %s, %s %s\n", - ior_output_file_1, - ior_output_file_2, - ior_output_file_3), - -1); - - u_int result = 0; - - result = ACE_OS::fprintf (output_file_1, - "%s", - first_ior); - if (result != ACE_OS::strlen (first_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - first_ior, - ior_output_file_1), - -1); - - result = ACE_OS::fprintf (output_file_2, - "%s", - second_ior); - if (result != ACE_OS::strlen (second_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - second_ior, - ior_output_file_2), - -1); - - result = ACE_OS::fprintf (output_file_3, - "%s", - third_ior); - if (result != ACE_OS::strlen (third_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - third_ior, - ior_output_file_3), - -1); - - ACE_OS::fclose (output_file_1); - ACE_OS::fclose (output_file_2); - ACE_OS::fclose (output_file_3); - - return 0; -} - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initialize the ORB first. - CORBA::ORB_var orb = CORBA::ORB_init (argc, - argv, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - int result = parse_args (argc, argv); - if (result != 0) - return result; - - // Obtain the RootPOA. - CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA", - ACE_TRY_ENV); - - // Get the POA_var object from Object_var. - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the POAManager of the RootPOA. - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Policies for the firstPOA to be created. - CORBA::PolicyList policies (3); - policies.length (3); - - // Id Assignment Policy - policies[0] = - root_poa->create_id_assignment_policy (PortableServer::USER_ID, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Lifespan policy - policies[1] = - root_poa->create_lifespan_policy (PortableServer::PERSISTENT, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Threading policy - policies[2] = - root_poa->create_thread_policy (PortableServer::ORB_CTRL_MODEL, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Create the firstPOA under the RootPOA. - ACE_CString name = "firstPOA"; - PortableServer::POA_var first_poa = - root_poa->create_POA (name.c_str (), - poa_manager.in (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - policies[2]->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Threading policy - policies[2] = - root_poa->create_thread_policy (PortableServer::SINGLE_THREAD_MODEL, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Create the secondPOA under the firstPOA. - name = "secondPOA"; - PortableServer::POA_var second_poa = - first_poa->create_POA (name.c_str (), - poa_manager.in (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Creation of POAs is over. Destroy the Policy objects. - for (CORBA::ULong i = 0; - i < policies.length (); - ++i) - { - policies[i]->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - // Create two Objects of Class MyFooServant (defined in - // ./../GenericServant/MyFooServant.h) Create one object at RootPOA - // and the other at firstPOA. - MyFooServant first_foo_impl (orb.in (), - root_poa.in (), - 27); - MyFooServant second_foo_impl (orb.in (), - first_poa.in (), - 28); - - // Do "activate_object" to activate the first_foo_impl object. It - // returns ObjectId for that object. Operation Used : - // ObjectId activate_object(in Servant p_servant) - // raises (ServantAlreadyActive, WrongPolicy); - PortableServer::ObjectId_var first_oid = - root_poa->activate_object (&first_foo_impl, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get Object Reference for the first_foo_impl object. - Foo_var first_foo = first_foo_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get ObjectId for object secondFoo and use that ObjectId to - // activate the second_foo_impl object. - // Operation Used : - // void activate_object_with_id(in ObjectId oid, in Servant p_servant) - // raises (ObjectAlreadyActive, ServantAlreadyActive, WrongPolicy); - PortableServer::ObjectId_var second_oid = - PortableServer::string_to_ObjectId ("secondFoo"); - - first_poa->activate_object_with_id (second_oid.in (), - &second_foo_impl, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get Object reference for second_foo_impl object. - Foo_var second_foo = second_foo_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get ObjectId for the string thirdPOA Create the object reference - // for thirdPOA using that ObjectId. Operation Used : - // Object create_reference_with_id (in ObjectId oid, in CORBA::RepositoryId intf ); - // This operation creates an object reference that encapsulates the - // specified Object Id and interface repository Id values. - /* - PortableServer::ObjectId_var third_oid = - PortableServer::string_to_ObjectId ("thirdFoo"); - */ - - // This will test how the POA handles a user given ID - PortableServer::ObjectId_var third_oid = - PortableServer::string_to_ObjectId ("third Foo"); - - third_oid[5] = (CORBA::Octet) '\0'; - - CORBA::Object_var third_foo = - second_poa->create_reference_with_id (third_oid.in (), - "IDL:Foo:1.0", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Stringyfy all the object references and print them out. - CORBA::String_var first_ior = - orb->object_to_string (first_foo.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var second_ior = - orb->object_to_string (second_foo.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var third_ior = - orb->object_to_string (third_foo.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "%s\n%s\n%s\n", - first_ior.in (), - second_ior.in (), - third_ior.in ())); - - int write_result = write_iors_to_file (first_ior.in (), - second_ior.in (), - third_ior.in ()); - if (write_result != 0) - return write_result; - - // Activate third servant using its ObjectID. - MyFooServant third_foo_impl (orb.in (), second_poa.in (), 29); - second_poa->activate_object_with_id (third_oid.in (), - &third_foo_impl, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1); - - // Destroy RootPOA (also destroys all child POAs). - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_TIMEPROBE_PRINT; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception caught"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/Explicit_Activation/server.dsp b/TAO/examples/POA/Explicit_Activation/server.dsp deleted file mode 100644 index 2991d34e701..00000000000 --- a/TAO/examples/POA/Explicit_Activation/server.dsp +++ /dev/null @@ -1,100 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA Explicit Activation Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA Explicit Activation Server - 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 "server.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 "server.mak"\ - CFG="POA Explicit Activation Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA Explicit Activation Server - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "POA Explicit Activation Server - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA Explicit Activation Server - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 tao.lib ace.lib ..\Generic_Servant\Generic_Servant.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA Explicit Activation Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 ..\Generic_Servant\Generic_Servantd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA Explicit Activation Server - Win32 Release" -# Name "POA Explicit Activation Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/FindPOA/FindPOA.cpp b/TAO/examples/POA/FindPOA/FindPOA.cpp deleted file mode 100644 index 91021c1b9a9..00000000000 --- a/TAO/examples/POA/FindPOA/FindPOA.cpp +++ /dev/null @@ -1,124 +0,0 @@ -// $Id$ - -//=========================================================================== -// -// = LIBRARY -// TAO/tests/POA/FindPOA -// -// = FILENAME -// FindPOA.cpp -// -// = DESCRIPTION -// This Program tests the find_POA method of a POA. -// -// = AUTHOR -// Irfan Pyarali -// -//=========================================================================== - -#include "tao/corba.h" - -ACE_RCSID(FindPOA, FindPOA, "$Id$") - -int -main (int argc, char **argv) -{ - // CORBA::Environment env; - ACE_DECLARE_NEW_CORBA_ENV; - - // Initialize the ORB - char str[256]; // Exception message - ACE_TRY - { - ACE_OS::strcpy (str, "CORBA::ORB_init"); - - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get Object reference to RootPOA. - CORBA::Object_var obj = - orb->resolve_initial_references ("RootPOA"); - - ACE_OS::strcpy (str, "PortableServer::POA::_narrow"); - // Narrow Object reference to RootPOA to a POA reference. - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (obj.in(), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the POAManager of the RootPOA. - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get a TAO_Adapter_Activator reference - TAO_Adapter_Activator activator_impl (poa_manager.in ()); - - ACE_OS::strcpy (str, "TAO_Adapter_Activator::_this"); - PortableServer::AdapterActivator_var activator = - activator_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Register the TAO_Adapter_Activator reference to be the RootPOA's - // Adapter Activator. - ACE_OS::strcpy (str,"PortableServer::POA::the_activator"); - root_poa->the_activator (activator.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Try to find a childPOA of RootPOA named firstPOA - ACE_CString name = "firstPOA"; - ACE_OS::strcpy (str,"PortableServer::POA::find_POA"); - PortableServer::POA_var first_poa = - root_poa->find_POA (name.c_str (), - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - name = "secondPOA"; - PortableServer::POA_var second_poa = - first_poa->find_POA (name.c_str (), - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the names of all the POAs - ACE_OS::strcpy (str, "PortableServer::POA::_narrow"); - - CORBA::String_var root_poa_name = - root_poa->the_name (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var first_poa_name = - first_poa->the_name (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var second_poa_name = - second_poa->the_name (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "%s\n%s\n%s\n", - root_poa_name.in (), - first_poa_name.in (), - second_poa_name.in ())); - - // This should destroy all its children - ACE_OS::strcpy (str, "PortableServer::POA::destroy"); - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, str); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/FindPOA/FindPOA.dsp b/TAO/examples/POA/FindPOA/FindPOA.dsp deleted file mode 100644 index b7acb911923..00000000000 --- a/TAO/examples/POA/FindPOA/FindPOA.dsp +++ /dev/null @@ -1,99 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA FindPOA" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA FindPOA - 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 "FindPOA.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 "FindPOA.mak" CFG="POA FindPOA - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA FindPOA - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "POA FindPOA - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA FindPOA - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 tao.lib aced.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA FindPOA - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA FindPOA - Win32 Release" -# Name "POA FindPOA - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\FindPOA.cpp -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/FindPOA/FindPOA.dsw b/TAO/examples/POA/FindPOA/FindPOA.dsw deleted file mode 100644 index be061581a49..00000000000 --- a/TAO/examples/POA/FindPOA/FindPOA.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "FindPOA"=.\FindPOA.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/FindPOA/Makefile b/TAO/examples/POA/FindPOA/Makefile deleted file mode 100644 index 4aa0505ee2a..00000000000 --- a/TAO/examples/POA/FindPOA/Makefile +++ /dev/null @@ -1,302 +0,0 @@ -# -# $Id$ -# - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -BIN = FindPOA - -LSRC = $(addsuffix .cpp,$(BIN)) - -CPPFLAGS += -I$(TAO_ROOT) - -LDLIBS = -lTAO -LDFLAGS += -L$(TAO_ROOT)/tao - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -INSTALL = - -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/FindPOA.o .obj/FindPOA.so .shobj/FindPOA.o .shobj/FindPOA.so: FindPOA.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/FindPOA/README b/TAO/examples/POA/FindPOA/README deleted file mode 100644 index 9ac212956d3..00000000000 --- a/TAO/examples/POA/FindPOA/README +++ /dev/null @@ -1,42 +0,0 @@ - -FindPOA test: -============ - -Executable: FindPOA - - -Description: -=========== - -This is a program to test the find_POA() method of the POA. It makes -use of TAO_Adapter_Activator. - -Adapter activators are associated with POAs. An adapter activator -supplies a POA with the ability to create child POAs on demand, as a -side-effect of receiving a request that names the child POA (or one of -its children), or when find_POA() is called with an activate parameter -value of TRUE. An application server that creates all its needed POAs -at the beginning of execution does not need to use or provide an -adapter activator; it is necessary only for the case in which POAs -need to be created during request processing. - -The test program tests the "find_POA" method in RootPOA with a single -POA named "firstPOA" and then with a POA namestring "secondPOA". In -the second case the secondPOA is non-existent and is created. - -To check the findPOA method the names of the POA are queried and -printed on the screen. POAs hold only the name relative to its -parent. For eg. the name of secondPOA is just "secondPOA" and NOT -"/firstPOA/secondPOA". - -To Test: -======== - 1. Just run the FindPOA program. - - 2. You should see the following as the output: - - - firstPOA - secondPOA - - 3. There might be other diagnostic messages. diff --git a/TAO/examples/POA/FindPOA/run_test.pl b/TAO/examples/POA/FindPOA/run_test.pl deleted file mode 100755 index 431a4597054..00000000000 --- a/TAO/examples/POA/FindPOA/run_test.pl +++ /dev/null @@ -1,19 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$TEST = Process::Create ($EXEPREFIX."FindPOA$EXE_EXT",""); - -if ($TEST->TimedWait (60) == -1){ - print STDERR "ERROR: test timedout\n"; - $TEST->Kill (); $TEST->TimedWait(1); - exit 1; -} - -exit 0; diff --git a/TAO/examples/POA/Forwarding/Foo.idl b/TAO/examples/POA/Forwarding/Foo.idl deleted file mode 100644 index 533c3e164ee..00000000000 --- a/TAO/examples/POA/Forwarding/Foo.idl +++ /dev/null @@ -1,19 +0,0 @@ -// $Id$ - -interface Foo -{ - // = TITLE - // Dummy object, doit just reports number, - // do not expect any sense. They are constantly increasing - - long doit (); - - // Raised if it cannot be forwarded - exception Cannot_Forward {}; - - void forward () - raises (Cannot_Forward); - - void shutdown (); -}; - diff --git a/TAO/examples/POA/Forwarding/Forwarding.dsw b/TAO/examples/POA/Forwarding/Forwarding.dsw deleted file mode 100644 index d17cf7c9604..00000000000 --- a/TAO/examples/POA/Forwarding/Forwarding.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/Forwarding/Makefile b/TAO/examples/POA/Forwarding/Makefile deleted file mode 100644 index 28dd8b5b783..00000000000 --- a/TAO/examples/POA/Forwarding/Makefile +++ /dev/null @@ -1,1618 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -LDLIBS = -lTAO - -IDL_SRC = FooC.cpp FooS.cpp -PROG_SRCS = $(IDL_SRC) server.cpp client.cpp \ - MyFooServant.cpp Servant_Locator.cpp - -LSRC = $(PROG_SRCS) - -SVR_OBJS = FooC.o FooS.o server.o MyFooServant.o Servant_Locator.o -CLT_OBJS = FooC.o FooS.o client.o - -BIN = server client -BUILD = $(BIN) -VLDLIBS = $(LDLIBS:%=%$(VAR)) -VBIN = $(BIN:%=%$(VAR)) -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -.PRECIOUS: FooC.h FooC.i FooC.cpp FooS.h FooS.i FooS.cpp - -server: $(addprefix $(VDIR),$(SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) FooC.* FooS.* FooS_T.* - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/FooC.o .obj/FooC.so .shobj/FooC.o .shobj/FooC.so: FooC.cpp FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FooC.i -.obj/FooS.o .obj/FooS.so .shobj/FooS.o .shobj/FooS.so: FooS.cpp FooS.h FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FooC.i FooS_T.h FooS_T.i FooS_T.cpp FooS.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - MyFooServant.h FooS.h FooC.h FooC.i FooS_T.h FooS_T.i FooS_T.cpp \ - FooS.i Servant_Locator.h -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - FooC.h FooC.i -.obj/MyFooServant.o .obj/MyFooServant.so .shobj/MyFooServant.o .shobj/MyFooServant.so: MyFooServant.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - MyFooServant.h FooS.h FooC.h FooC.i FooS_T.h FooS_T.i FooS_T.cpp \ - FooS.i Servant_Locator.h -.obj/Servant_Locator.o .obj/Servant_Locator.so .shobj/Servant_Locator.o .shobj/Servant_Locator.so: Servant_Locator.cpp Servant_Locator.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - MyFooServant.h FooS.h FooC.h FooC.i FooS_T.h FooS_T.i FooS_T.cpp \ - FooS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/Forwarding/MyFooServant.cpp b/TAO/examples/POA/Forwarding/MyFooServant.cpp deleted file mode 100644 index 2a64431cba6..00000000000 --- a/TAO/examples/POA/Forwarding/MyFooServant.cpp +++ /dev/null @@ -1,192 +0,0 @@ -// $Id$ - -//========================================================================== -// -// -// = FILENAME -// MyFooServant.cpp -// -// = DESCRIPTION -// This is a simple foo servant implementation -// -// = AUTHOR -// Irfan Pyarali -// -//========================================================================== - -#include "tao/corba.h" -#include "MyFooServant.h" - -ACE_RCSID(Forwarding, MyFooServant, "$Id$") - -// Constructor -MyFirstFooServant::MyFirstFooServant (CORBA::ORB_ptr orb_ptr, - PortableServer::POA_ptr poa_ptr, - CORBA::Long value, - CORBA::Object_ptr forward_to_ptr) - : orb_ (CORBA::ORB::_duplicate (orb_ptr)), - poa_ (PortableServer::POA::_duplicate (poa_ptr)), - value_ (value), - forward_to_var_ (CORBA::Object::_duplicate (forward_to_ptr)) -{ - if (CORBA::is_nil (this->forward_to_var_.in ())) - ACE_DEBUG ((LM_DEBUG, - "POA approach: Forward_to is nil!\n")); - - // Assign this object a dummy I/O descriptor. Note that even though - // we open this file "Write Only" we still need to use the - // ACE_Event_Handler::NULL_MASK when registering this with the - // ACE_Reactor (see below). - this->handle_ = ACE_OS::open (ACE_DEV_NULL, O_WRONLY); - ACE_ASSERT (this->handle_ != ACE_INVALID_HANDLE); - - // Register handle. Note that NULL_MASK is used to keep the - // ACE_Reactor from calling us back on the ACE_DEV_NULL descriptor. - ACE_Reactor_Mask mask = ACE_Event_Handler::NULL_MASK; - int result = this->orb_->orb_core ()->reactor ()-> - register_handler (this->handle_, this, mask); - ACE_ASSERT (result == 0); - ACE_UNUSED_ARG (result); -} - -// Destructor -MyFirstFooServant::~MyFirstFooServant (void) -{ - ACE_Reactor_Mask mask = ACE_Event_Handler::NULL_MASK; - int result = this->orb_->orb_core ()->reactor ()-> - remove_handler (this->handle_, mask); - ACE_ASSERT (result == 0); - ACE_UNUSED_ARG (result); -} - -// Return the Default POA of this Servant -PortableServer::POA_ptr -MyFirstFooServant::_default_POA (CORBA::Environment &/*env*/) -{ - return PortableServer::POA::_duplicate (this->poa_.in ()); -} - -// Return this->value -CORBA::Long -MyFirstFooServant::doit (CORBA::Environment &/*env*/) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->value_++; -} - -void -MyFirstFooServant::shutdown (CORBA::Environment &/*env*/) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->orb_->shutdown(); -} - - -void -MyFirstFooServant::forward (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Foo::Cannot_Forward)) -{ - ACE_DEBUG ((LM_DEBUG, - "MyFirstFooServant::forward: being called\n")); - if (!CORBA::is_nil (this->forward_to_var_.in ())) - { - // - // This is a *hack*! We cannot ask the POA to replace us while - // the upcall is still in progress. So we ask the Reactor to - // wake us up as soon as this upcall completes. At that time - // (in handle_input), we ask the POA to replace us. - // - - int result = this->orb_->orb_core ()->reactor ()->ready_ops - (this->handle_, - ACE_Event_Handler::READ_MASK, - ACE_Reactor::ADD_MASK); - ACE_ASSERT (result != -1); - ACE_UNUSED_ARG (result); - } - else - { - ACE_DEBUG ((LM_DEBUG, - "POA approach: Forward_to refenence is nil.\n")); - ACE_THROW (Foo::Cannot_Forward ()); - } -} - -int -MyFirstFooServant::handle_input (ACE_HANDLE) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - PortableServer::ObjectId_var oid = - this->poa_->servant_to_id (this, ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::Servant servant = this->poa_->_servant (); - ACE_ASSERT (servant != 0); - - void *ptr = servant->_downcast ("IDL:omg.org/PortableServer/POA:1.0"); - POA_PortableServer::POA *poa = (POA_PortableServer::POA *) ptr; - TAO_POA *tao_poa = ACE_dynamic_cast (TAO_POA *, poa); - - tao_poa->forward_object (oid.in (), - this->forward_to_var_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_ASSERT (1 == 0); - } - ACE_ENDTRY; - - return 0; -} - -// Second Foo - -// Constructor -MySecondFooServant::MySecondFooServant (CORBA::ORB_ptr orb_ptr, - MyFooServantLocator *locator_ptr, - CORBA::Long value) - : orb_ (CORBA::ORB::_duplicate (orb_ptr)), - locator_ptr_ (locator_ptr), - value_ (value) -{ -} - -// Destructor -MySecondFooServant::~MySecondFooServant (void) -{ -} - - -// Return this->value -CORBA::Long -MySecondFooServant::doit (CORBA::Environment &/*env*/) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->value_++; -} - -void -MySecondFooServant::forward (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Foo::Cannot_Forward)) -{ - // forward the forwarding request to the Servant Locator :-) This is - // kind of a loop back, but it is correct only the IDL interface can - // be assumed !! - this->locator_ptr_->forward (ACE_TRY_ENV); - ACE_CHECK; -} - - -void -MySecondFooServant::shutdown (CORBA::Environment &/*env*/) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->orb_->shutdown(); -} diff --git a/TAO/examples/POA/Forwarding/MyFooServant.h b/TAO/examples/POA/Forwarding/MyFooServant.h deleted file mode 100644 index ed92d5d4dc3..00000000000 --- a/TAO/examples/POA/Forwarding/MyFooServant.h +++ /dev/null @@ -1,96 +0,0 @@ -// $Id$ -//============================================================================= -// -// -// = FILENAME -// MyFooServant.h -// -// = DESCRIPTION -// Defines MyFooServant class for the Foo interface -// -// = AUTHOR -// Irfan Pyarali and Michael Kircher -// -//============================================================================= - -#ifndef MYFOOSERVANT_H -#define MYFOOSERVANT_H - -#include "FooS.h" -#include "Servant_Locator.h" - -class MyFirstFooServant : public POA_Foo, public ACE_Event_Handler -{ - // = TITLE - // @@ Michael, please comment me. -public: - // constructor - takes a POA and a value parameter - MyFirstFooServant (CORBA::ORB_ptr orb_ptr, - PortableServer::POA_ptr poa_ptr, - CORBA::Long value, - CORBA::Object_ptr forward_to_ptr); - - // Destructor - virtual ~MyFirstFooServant (void); - - //Returns the Default POA of this Servant object - virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); - - // Simple doit method - virtual CORBA::Long doit (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Setup forwarding - virtual void forward (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - Foo::Cannot_Forward)); - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - -protected: - int handle_input (ACE_HANDLE); - - // Default poa associated with this servant - CORBA::ORB_var orb_; - PortableServer::POA_var poa_; - CORBA::Long value_; - CORBA::Object_var forward_to_var_; - - ACE_HANDLE handle_; - // Handle to dev null. -}; - -class MySecondFooServant : public POA_Foo -{ - // = TITLE - // @@ Michael, please comment me. -public: - // constructor - takes a POA and a value parameter - MySecondFooServant (CORBA::ORB_ptr orb_ptr, - MyFooServantLocator *locator, - CORBA::Long value); - - // Destructor - virtual ~MySecondFooServant (void); - - // Simple doit method - virtual CORBA::Long doit (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Setup forwarding - virtual void forward (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - Foo::Cannot_Forward)); - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - -protected: - // Default poa associated with this servant - CORBA::ORB_var orb_; - MyFooServantLocator *locator_ptr_; - CORBA::Long value_; -}; - -#endif /* MYFOOSERVANT_H */ diff --git a/TAO/examples/POA/Forwarding/README b/TAO/examples/POA/Forwarding/README deleted file mode 100644 index 938f2a974f5..00000000000 --- a/TAO/examples/POA/Forwarding/README +++ /dev/null @@ -1,52 +0,0 @@ -$Id$ - -This document describes the location forwarding example. For detailed -explanation on TAO's location forwarding feature, see - -$TAO_ROOT/docs/forwarding.html - -The test sets up two servers, the first writes its servant's object -reference (OR) to a file. The second server reads the OR, recognizes -it as forwarding location, and writes its own to a file too. This OR -is then read by the client, which then issues a number of requests. -Where every third request is a forwarding request to the object. - -Here's an example for 5 requests: - -first call (request no 1) -second call (request no 2) -forwarding call (request no 3) -thrid call (request no 4) -fourth call (request no 5) -(no six would be a forwarding call again) - -Two types of location forwardings are implemented: (1) the POA -approach and (2) the servant locator approach. Both are mentioned in -the above documentation about location forwarding. - -To run the test for the POA approach do the following: - -% server -o server2 -ORBobjrefstyle url -% server -f server2 -o server1 -ORBobjrefstyle url -% client -f server1 -i 5 - -A similar invocation for the servant locator approach can be done as -follows (basically just the switches are different): - -% server -p server2 -ORBobjrefstyle url -% server -g server2 -p server1 -ORBobjrefstyle url -% client -f server1 -i 5 - -For additional features try using the first server with the POA -apporach and the second with the servant locator approach: - -% server -o server3 -ORBobjrefstyle url -% server -g server3 -p server2 -ORBobjrefstyle url -% server -f server2 -o server1 -ORBobjrefstyle url -% client -f server1 -i 8 - -The first two calls will be called on server1, then the location -forwarding is called on this one and the next two calls are going to -be called on the second one. Location forwarding is then called on -the second one and the last two calls are then done on the thrid -server. diff --git a/TAO/examples/POA/Forwarding/Servant_Locator.cpp b/TAO/examples/POA/Forwarding/Servant_Locator.cpp deleted file mode 100644 index d5533779dc3..00000000000 --- a/TAO/examples/POA/Forwarding/Servant_Locator.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/POA/Forwarding/Servant_Locator -// -// = FILENAME -// Servant_Locator.cpp -// -// = DESCRIPTION -// Implementation of MyFooServantLocator class , used with a POA -// having a NON_RETAIN policy. -// -// = AUTHOR -// Irfan Pyarali -// Michael Kircher -// -// ============================================================================ - -#include "Servant_Locator.h" -#include "MyFooServant.h" - -ACE_RCSID(Forwarding, Servant_Locator, "$Id$") - -MyFooServantLocator::MyFooServantLocator (CORBA::ORB_ptr orb_ptr, - CORBA::Object_ptr forward_to_ptr) - : orb_var_ (CORBA::ORB::_duplicate (orb_ptr)), - counter_ (0), - servant_ptr_ (0), - forward_to_var_ (CORBA::Object::_duplicate (forward_to_ptr)), - forwarding_ (0) // by default do not forward -{ -} - -MyFooServantLocator::~MyFooServantLocator () -{ - delete servant_ptr_; -} - - -PortableServer::Servant -MyFooServantLocator::preinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr /* poa_ptr */, - const char * /*operation*/, - PortableServer::ServantLocator::Cookie & /* cookie */, - CORBA::Environment &ACE_TRY_ENV) -{ - // ACE_UNUSED_ARG (operation); - - if (this->forwarding_ == 0) // do not forward - { - // Convert ObjectID to String. - - CORBA::String_var s = PortableServer::ObjectId_to_string (oid); - - // If ObjectID string has a Foo Substring create and return a - // MyFooServant. - - this->counter_++; - - if (ACE_OS::strstr (s.in (), "Foo") != 0) - { - if (this->servant_ptr_ == 0) - { - this->servant_ptr_ = new MySecondFooServant (orb_var_.in(), - this, - 127); - - // Return the servant as the cookie , used as a check when - // postinvoke is called on this MyFooServantLocator. - // cookie = servant; - } - // reuse the old servant - - return this->servant_ptr_; - } - else - { - ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (), 0); - } - } - else // now forward, in throwing the ForwardRequest Exception - { - // Throw forward exception - ACE_THROW_RETURN (PortableServer::ForwardRequest ( - CORBA::Object::_duplicate (this->forward_to_var_.in ())), - 0); - } -} - -void -MyFooServantLocator::postinvoke (const PortableServer::ObjectId &, - PortableServer::POA_ptr , - const char *, - PortableServer::ServantLocator::Cookie , - PortableServer::Servant , - CORBA::Environment &) -{ -} - -void -MyFooServantLocator::forward (CORBA::Environment &) -{ - this->forwarding_ = 1; -} diff --git a/TAO/examples/POA/Forwarding/Servant_Locator.h b/TAO/examples/POA/Forwarding/Servant_Locator.h deleted file mode 100644 index 888b6805d33..00000000000 --- a/TAO/examples/POA/Forwarding/Servant_Locator.h +++ /dev/null @@ -1,74 +0,0 @@ -// $Id$ - -//================================================================================ -// -// = LIBRARY -// TAO/tests/POA/Forwarding/Servant_Locator -// -// = FILENAME -// Servant_Locator.h -// -// = DESCRIPTION -// Defines a MyFooServantLocator class , used with a POA having -// a NON_RETAIN policy -// -// = AUTHOR -// Irfan Pyarali -// -//================================================================================== - -#ifndef MYFOOSERVANTLOCATOR_H -#define MYFOOSERVANTLOCATOR_H - -#include "tao/corba.h" - -class MyFooServantLocator : public POA_PortableServer::ServantLocator -{ - // = TITLE - // This class is used by a POA with USE_SERVANT_MANAGER and - // NON_RETAIN policy. -public: - MyFooServantLocator (CORBA::ORB_ptr orb_ptr, - CORBA::Object_ptr forward_to_ptr); - // constructor - - ~MyFooServantLocator (); - - virtual PortableServer::Servant preinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - const char *operation, - PortableServer::ServantLocator::Cookie &the_cookie, - CORBA::Environment &env); - // This method is invoked by a POA whenever it receives a request - // for MyFoo object that is not currently active. - - virtual void postinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - const char *operation, - PortableServer::ServantLocator::Cookie the_cookie, - PortableServer::Servant the_servant, - CORBA::Environment &env); - // This method is invoked whenever a MyFooServant completes a - // request. - - void forward (CORBA::Environment &env); - -private: - CORBA::ORB_var orb_var_; - - int counter_; - // Counter for number of invocations of this. - - PortableServer::Servant servant_ptr_; - // There really exists only one servant, which is returned all the - // time. - - CORBA::Object_var forward_to_var_; - // location to forward to - - u_int forwarding_; - // flag to tell if to forward or not. -}; - -#endif /* MYFOOSERVANTLOCATOR_H */ - diff --git a/TAO/examples/POA/Forwarding/client.cpp b/TAO/examples/POA/Forwarding/client.cpp deleted file mode 100644 index b77c7f2b645..00000000000 --- a/TAO/examples/POA/Forwarding/client.cpp +++ /dev/null @@ -1,165 +0,0 @@ -// $Id$ - -//========================================================================== -// -// -// = FILENAME -// client.cpp -// -// = DESCRIPTION -// -// This is a simple foo client implementation. Also looks out for -// forwarding exceptions -// -// = AUTHOR -// Irfan Pyarali -// -//========================================================================== - -#include "tao/corba.h" -#include "ace/streams.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" -#include "FooC.h" - -ACE_RCSID(Forwarding, client, "$Id$") - -static char *server_IOR_ = 0; - -static int iterations = 6; - -static int -read_ior (char *filename) -{ - // Open the file for reading. - ACE_HANDLE f_handle_ = ACE_OS::open (filename,0); - - if (f_handle_ == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for reading: %p\n", - filename, - "ACE_OS::open"), - -1); - ACE_Read_Buffer ior_buffer (f_handle_); - server_IOR_ = ior_buffer.read (); - - if (server_IOR_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to allocate memory to read ior: %p\n", - "ACE_Read_Buffer::read"), - -1); - return 0; -} - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "f:i:k:O:"); - int c; - int result; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'f': // read the IOR from the file. - result = read_ior (get_opts.optarg); - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior from %s : %p\n", - get_opts.optarg, - "read_ior"), - -1); - break; - case 'k': - server_IOR_ = get_opts.optarg; - break; - case 'i': - iterations = ::atoi (get_opts.optarg); - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - "-f server_IOR_file" - "\n", - argv [0]), - -1); - } - - if (server_IOR_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Please specify the IOR for the servant\n"), -1); - - // Indicates successful parsing of command line. - return 0; -} - -void -do_calls (Foo_ptr foo_ptr, - CORBA::Environment &ACE_TRY_ENV) -{ - for (int i = 1; i <= iterations; i++) - { - // About half way through - if (i % 3 == 0) - { - foo_ptr->forward (ACE_TRY_ENV); - ACE_CHECK; - } - else - { - // Invoke the doit() method of the foo reference. - CORBA::Long result = foo_ptr->doit (ACE_TRY_ENV); - ACE_CHECK; - - // Print the result of doit () method of the foo reference. - ACE_DEBUG ((LM_DEBUG, - "doit() returned %d \n", - result)); - } - } -} - - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initialize the ORB - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Initialize options based on command-line arguments. - int parse_args_result = parse_args (argc, argv); - if (parse_args_result != 0) - return parse_args_result; - - // Get an object reference from the argument string. - CORBA::Object_var object = orb->string_to_object (server_IOR_, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Try to narrow the object reference to a Foo reference. - Foo_var foo_var = Foo::_narrow (object.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var original_location = - orb->object_to_string (foo_var.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - do_calls (foo_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception caught"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/Forwarding/client.dsp b/TAO/examples/POA/Forwarding/client.dsp deleted file mode 100644 index aeba1c1cade..00000000000 --- a/TAO/examples/POA/Forwarding/client.dsp +++ /dev/null @@ -1,210 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA Forwarding Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA Forwarding Client - 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 "client.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 "client.mak" CFG="POA Forwarding Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA Forwarding Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "POA Forwarding Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA Forwarding Client - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA Forwarding Client - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "client__" -# PROP BASE Intermediate_Dir "client__" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA Forwarding Client - Win32 Release" -# Name "POA Forwarding Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\FooC.cpp -# End Source File -# Begin Source File - -SOURCE=.\FooS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\FooC.h -# End Source File -# Begin Source File - -SOURCE=.\FooS.h -# End Source File -# Begin Source File - -SOURCE=.\FooS_T.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Foo.idl - -!IF "$(CFG)" == "POA Forwarding Client - Win32 Release" - -USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "POA Forwarding Client - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/Forwarding/run_test.pl b/TAO/examples/POA/Forwarding/run_test.pl deleted file mode 100755 index 80d41c48e9a..00000000000 --- a/TAO/examples/POA/Forwarding/run_test.pl +++ /dev/null @@ -1,163 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -use lib "../../../../bin"; -require ACEutils; - -$brace="\#\#\#\#\#"; - -# There are three ways to run the test with different results, requiring -# different numbers of servers and with variable arguments, hence the -# arrays - -# Servers 1 and 2 are used in all tests -@server1arglist = ("-o server1", - "-p server1", - "-o server1"); -@server2arglist = ("-f server1 -o server2", - "-g server1 -p server2", - "-g server1 -p server2"); - -# The third server is only needed for the last test, but I'm making it -# a list in case anyone wants to run it in multiple tests, rather than -# just one -@server3arglist = ("", - "", - "-f server2 -o server3"); - -# The client is run for all tests -@clientarglist = ("-f server2 -i 5", - "-f server2 -i 5", - "-f server3 -i 8"); - -# Descriptions of the tests -@testlist = ("POA approach", - "servant locator approach", - "dual POA and servant locator approaches"); - -$testtype = ""; - -# The strings to hold the arguments for the client and servers -$server1args = ""; -$server2args = ""; -$server3args = ""; -$clientargs = ""; - -# Set STDERR to autoflush (weird unbufferd output stuff) -$| = 1; - -# Make pretty look thing -print STDERR "\n"; - -# There's a cleaner way to do this, but I don't know what it is -sub argshift -{ - $server1args = shift (@server1arglist); - $server2args = shift (@server2arglist); - $server3args = shift (@server3arglist); - $clientargs = shift (@clientarglist); - $testtype = shift (@testlist); -} - -# IOR files must be cleaned up before next run -sub cleanup_ior -{ - unlink "server1", "server2", "server3"; -} - -# Run the test in it's three forms -sub run_test -{ - print STDERR "\n$brace Test of $testtype BEGUN\n"; - - # Remove stale IOR files... - cleanup_ior (); - - # Run the servers - $SRV1 = Process::Create (".".$DIR_SEPARATOR."server".$EXE_EXT, - "$server1args"); - print STDERR ("server $server1args\n"); - - if (ACE::waitforfile_timed ("server1", 5) == -1) { - print STDERR "ERROR: cannot find file or \n"; - $SRV1->Kill (); $SRV1->TimedWait (1); - exit 1; - } - - $SRV2 = Process::Create (".".$DIR_SEPARATOR."server".$EXE_EXT, - "$server2args"); - print STDERR ("server $server2args\n"); - - if (ACE::waitforfile_timed ("server2", 5) == -1) { - print STDERR "ERROR: cannot find file or \n"; - $SRV1->Kill (); $SRV1->TimedWait (1); - $SRV2->Kill (); $SRV2->TimedWait (1); - exit 1; - } - - if ($server3args ne "") { - $SRV3 = Process::Create (".".$DIR_SEPARATOR."server".$EXE_EXT, - "$server3args"); - - if (ACE::waitforfile_timed ("server3", 5) == -1) { - print STDERR "ERROR: cannot find file \n"; - $SRV1->Kill (); $SRV1->TimedWait (1); - $SRV2->Kill (); $SRV2->TimedWait (1); - $SRV3->Kill (); $SRV3->TimedWait (1); - exit 1; - } - } - - # Run the client and block until completion - $CL = Process::Create ($EXEPREFIX."client".$EXE_EXT, - " $clientargs"); - print STDERR ("client $clientargs\n"); - - $client = $CL->TimedWait (60); - if ($client == -1) { - print STDERR "ERROR: client timedout\n"; - $CL->Kill (); $CL->TimedWait (1); - } - - # Now that the client has finished, kill off the servers - $SRV1->Terminate (); - $SRV2->Terminate (); - if ($SRV1->TimedWait (5) == -1 || - $SRV2->TimedWait (5) == -1) { - print STDERR "ERROR: couldn't terminate the servers nicely\n"; - $SRV1->Kill (); $SRV1->TimedWait (1); - $SRV2->Kill (); $SRV2->TimedWait (1); - $status = 1; - } - - if ($server3args ne "") - { - $SRV3->Kill (); $SRV3->TimedWait (1); - } - - if ($client != 0) { - print STDERR ("\n$brace Test of $testtype FAILED\n"); - $status = -1; - } else { - print STDERR ("\n$brace Test of $testtype SUCCEEDED\n"); - } - return $status; -} - - -for ($q = 0; $q < 3; $q++) -{ - argshift (); - run_test (); - if ($q < 2) - { - print STDERR ("\n\t\t Waiting for things to stabilize...\n"); - sleep ($ACE::sleeptime); - } -} - -cleanup_ior (); diff --git a/TAO/examples/POA/Forwarding/server.cpp b/TAO/examples/POA/Forwarding/server.cpp deleted file mode 100644 index a41632a6d13..00000000000 --- a/TAO/examples/POA/Forwarding/server.cpp +++ /dev/null @@ -1,557 +0,0 @@ -// $Id$ - -// ======================================================================== -// = LIBRARY -// TAO/tests/POA/Forwarding -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// -// = AUTHOR -// Irfan Pyarali and Michael Kircher -// ======================================================================== - -#include "tao/corba.h" -#include "ace/Read_Buffer.h" -#include "ace/Get_Opt.h" -#include "MyFooServant.h" - -ACE_RCSID(Forwarding, server, "$Id$") - -static char *first_foo_forward_to_IOR_ = 0; - -static char *second_foo_forward_to_IOR_ = 0; - -static FILE *first_foo_ior_output_file_; - -static FILE *second_foo_ior_output_file_; - -static MyFirstFooServant *myFirstFooServant_ptr; -static MyFooServantLocator *myFooServantLocator_ptr; - - -static int -read_ior (char *filename, - const u_int foo_number) -{ - // Open the file for reading. - ACE_HANDLE f_handle_ = ACE_OS::open (filename,0); - - if (f_handle_ == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - filename, - "ACE_OS::open"), - -1); - - ACE_Read_Buffer ior_buffer (f_handle_); - - if (foo_number == 1) - { - first_foo_forward_to_IOR_ = ior_buffer.read (); - - if (first_foo_forward_to_IOR_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to allocate memory to read ior: %p\n", - "ACE_Read_Buffer::read"), - -1); - } - else if (foo_number == 2) - { - second_foo_forward_to_IOR_ = ior_buffer.read (); - - if (second_foo_forward_to_IOR_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to allocate memory to read ior: %p\n", - "ACE_Read_Buffer::read"), - -1); - } - - if (foo_number == 1) - ACE_DEBUG ((LM_DEBUG, - "POA approach: Read ior: %s\n", - first_foo_forward_to_IOR_)); - else if (foo_number == 2) - ACE_DEBUG ((LM_DEBUG, - "Locator approach: Read ior: %s\n", - second_foo_forward_to_IOR_)); - return 0; -} - - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "f:g:k:l:o:O:p:"); - int c; - int result; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'f': // read the IOR from the file. - result = read_ior (get_opts.optarg,1); - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior from %s : %p\n", - get_opts.optarg, - "read_ior"), - -1); - break; - case 'g': // read the IOR from the file. - result = read_ior (get_opts.optarg,2); - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior from %s : %p\n", - get_opts.optarg, - "read_ior"), - -1); - break; - case 'k': - first_foo_forward_to_IOR_ = get_opts.optarg; - break; - case 'l': - second_foo_forward_to_IOR_ = get_opts.optarg; - break; - case 'o': // output the IOR to a file. - first_foo_ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w"); - if (first_foo_ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - get_opts.optarg, - "ACE_OS::fopen"), - -1); - break; - case 'p': // output the IOR to a file. - second_foo_ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w"); - if (second_foo_ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - get_opts.optarg, - "ACE_OS::fopen"), - -1); - break; - case 'O': - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "\nusage: %s \n" - "-f forward_to_IOR_file (first foo)\n" - "-g forward_to_IOR_file (second foo)\n" - "-k forward_to_IOR (first foo)\n" - "-l forward_to_IOR (second foo)\n" - "-o file_for_IOR (first foo)\n" - "-p file_for_IOR (second foo)\n" - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -static void -get_forward_reference (char *IOR, - CORBA::Object_var &forward_location_var, - CORBA::ORB_ptr orb_ptr, - CORBA::Environment &ACE_TRY_ENV) -{ - if (IOR != 0) - { - forward_location_var = orb_ptr->string_to_object (IOR, ACE_TRY_ENV); - ACE_CHECK; - - if (CORBA::is_nil (forward_location_var.in ())) - ACE_DEBUG ((LM_DEBUG, - "Error: Forward_to location is wrong\n")); - } -} - - -// Documentation !!!! first_POA will contain an object which will -// use the POA directly to do forwarding - -int setup_first_poa (PortableServer::POA_ptr root_poa_ptr, - PortableServer::POAManager_ptr poa_manager_ptr, - PortableServer::POA_var &first_poa_var) -{ - //CORBA::Environment env; - - - - // Policies for the childPOA to be created. - CORBA::PolicyList policies (2); - policies.length (2); - - char str[256]; - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // The next two policies are common to both - - ACE_OS::strcpy (str, "PortableServer::POA::create_id_assignment_policy"); - // Id Assignment Policy - policies[0] = root_poa_ptr->create_id_assignment_policy (PortableServer::USER_ID, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "PortableServer::POA::create_lifespan_policy"); - // Lifespan policy - policies[1] = root_poa_ptr->create_lifespan_policy (PortableServer::PERSISTENT, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_CString name = "firstPOA"; - - ACE_OS::strcpy (str, "PortableServer::POA::create_POA"); - - // Create firstPOA as the child of RootPOA with the above policies - // firstPOA will use SERVANT_ACTIVATOR because of RETAIN policy. - first_poa_var = root_poa_ptr->create_POA (name.c_str (), - poa_manager_ptr, - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, str); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - - -// second_POA will contain an object which will use the -// Servant_Locator to do forwarding - -int setup_second_poa (PortableServer::POA_ptr root_poa, - PortableServer::POAManager_ptr poa_manager_ptr, - PortableServer::POA_var &second_poa_var) -{ - //CORBA::Environment env; - // Policies for the childPOA to be created. - CORBA::PolicyList policies (4); - policies.length (4); - char str[256]; - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - - ACE_OS::strcpy (str, "PortableServer::POA::create_id_assignment_policy"); - - // The next two policies are common to both - // Id Assignment Policy - policies[0] = root_poa->create_id_assignment_policy (PortableServer::USER_ID, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "PortableServer::POA::create_lifespan_policy"); - // Lifespan policy - policies[1] = root_poa->create_lifespan_policy (PortableServer::PERSISTENT, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "PortableServer::POA::create_request_processing_policy"); - // Tell the POA to use a servant manager - policies[2] = - root_poa->create_request_processing_policy (PortableServer::USE_SERVANT_MANAGER, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str,"PortableServer::POA::create_servant_retention_policy"); - - // Servant Retention Policy -> Use a locator - policies[3] = - root_poa->create_servant_retention_policy (PortableServer::NON_RETAIN, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_CString name = "secondPOA"; - - ACE_OS::strcpy (str,"PortableServer::POA::create_POA"); - // Create secondPOA as child of RootPOA with the above policies - // secondPOA will use a SERVANT_LOCATOR because of NON_RETAIN - // policy. - second_poa_var = root_poa->create_POA (name.c_str (), - poa_manager_ptr, - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str,"PortableServer::POA::destroy"); - - // Creation of childPOAs is over. Destroy the Policy objects. - for (CORBA::ULong i = 0; - i < policies.length (); - ++i) - { - CORBA::Policy_ptr policy = policies[i]; - policy->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, str); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -int create_first_servant (PortableServer::POA_ptr first_poa_ptr, - CORBA::ORB_ptr orb_ptr) -{ - //CORBA::Environment env; - ACE_DECLARE_NEW_CORBA_ENV; - - char str[256]; - - ACE_TRY - { - ACE_OS::strcpy (str, "get_forward_reference"); - // Get the forward_to reference to feed it into object - // implementations - CORBA::Object_var first_foo_forward_to_var; - - get_forward_reference (first_foo_forward_to_IOR_, - first_foo_forward_to_var, - orb_ptr, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - - ACE_NEW_RETURN (myFirstFooServant_ptr, - MyFirstFooServant (orb_ptr, - first_poa_ptr, - 27, - first_foo_forward_to_var.in ()), - -1); - - // Create ObjectId and use that ObjectId to activate the - // first_foo_impl object. - PortableServer::ObjectId_var first_foo_oid_var = - PortableServer::string_to_ObjectId ("firstFoo"); - - ACE_OS::strcpy (str,"PortableServer::POA::activate_object_with_id"); - - first_poa_ptr->activate_object_with_id (first_foo_oid_var.in (), - myFirstFooServant_ptr, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str,"POA_Foo::_this"); - - // Get Object reference for first_foo_impl object. - Foo_var first_foo_var = myFirstFooServant_ptr->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "CORBA::ORB::object_to_string"); - // Stringyfy the object reference and print it out. - CORBA::String_var first_foo_ior_var = - orb_ptr->object_to_string (first_foo_var.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - - ACE_DEBUG ((LM_DEBUG, - "POA approach: Own IOR: %s\n", - first_foo_ior_var.in ())); - - if (first_foo_ior_output_file_) - { - ACE_OS::fprintf (first_foo_ior_output_file_, - "%s", - first_foo_ior_var.in ()); - ACE_OS::fclose (first_foo_ior_output_file_); - - ACE_DEBUG ((LM_DEBUG, "POA approach: Wrote IOR to a file.\n")); - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, str); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - - -int -create_second_servant (PortableServer::POA_ptr second_poa_ptr, - CORBA::ORB_ptr orb_ptr) -{ - // CORBA::Environment env; - - ACE_DECLARE_NEW_CORBA_ENV; - char str[256]; - ACE_TRY - { - CORBA::Object_var second_foo_forward_to_var; - - ACE_OS::strcpy (str, "get_forward_reference"); - - get_forward_reference (second_foo_forward_to_IOR_, - second_foo_forward_to_var, - orb_ptr, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // instantiate the servant locator and set it for the second child - // POA The locator gets to know where to forward to - - ACE_NEW_RETURN (myFooServantLocator_ptr, - MyFooServantLocator (orb_ptr, - second_foo_forward_to_var.in ()), - -1); - - ACE_OS::strcpy (str, "PortableServer::POAManager::_this"); - PortableServer::ServantLocator_var servant_locator_var = - myFooServantLocator_ptr->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "PortableServer::POAManager::set_servant_manager"); - // Set MyFooServantLocator object as the servant Manager of - // secondPOA. - second_poa_ptr->set_servant_manager (servant_locator_var.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - - // Create the second MyFooServant - // ====== - - // Try to create a reference with user created ID in second_poa - // which uses MyFooServantLocator. - - PortableServer::ObjectId_var second_foo_oid_var = - PortableServer::string_to_ObjectId ("secondFoo"); - - ACE_OS::strcpy (str,"PortableServer::POA::create_reference_with_id"); - CORBA::Object_var second_foo_var = - second_poa_ptr->create_reference_with_id (second_foo_oid_var.in (), - "IDL:Foo:1.0", ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str,"CORBA::ORB::object_to_string"); - // Invoke object_to_string on the references created in firstPOA and - // secondPOA. - CORBA::String_var second_foo_ior_var = - orb_ptr->object_to_string (second_foo_var.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Locator approach: Own IOR: %s\n", - second_foo_ior_var.in ())); - - - if (second_foo_ior_output_file_) - { - ACE_OS::fprintf (second_foo_ior_output_file_, - "%s", - second_foo_ior_var.in ()); - ACE_OS::fclose (second_foo_ior_output_file_); - - ACE_DEBUG ((LM_DEBUG, "Locator approach: Wrote IOR to a file.\n")); - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, str); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -int -main (int argc, char **argv) -{ - int result = parse_args (argc, argv); - - if (result == -1) - return -1; - - ACE_DECLARE_NEW_CORBA_ENV; - char str[256]; - ACE_TRY - { - ACE_OS::strcpy (str, "CORBA::ORB_init"); - // Initialize the ORB first. - CORBA::ORB_var orb_var = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Obtain the RootPOA. - CORBA::Object_var obj_var = orb_var->resolve_initial_references ("RootPOA"); - - ACE_OS::strcpy (str,"PortableServer::POA::_narrow"); - // Get the POA_var object from Object_var. - PortableServer::POA_var root_poa_var = - PortableServer::POA::_narrow (obj_var.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - - // Get the POAManager of the RootPOA. - PortableServer::POAManager_var poa_manager_var = - root_poa_var->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - - PortableServer::POA_var first_poa_var; - PortableServer::POA_var second_poa_var; - - if (setup_first_poa (root_poa_var.in(), poa_manager_var.in(), first_poa_var) == -1) - return -1; - if (setup_second_poa (root_poa_var.in(), poa_manager_var.in(), second_poa_var) == -1) - return -1; - - // Create the first MyFooServant - // ===== - if (create_first_servant (first_poa_var.in(), orb_var.in()) == -1) - return -1; - - if (create_second_servant (second_poa_var.in(), orb_var.in()) == -1) - return -1; - - ACE_OS::strcpy (str, "PortableServer::POAManager::activate"); - - poa_manager_var->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (orb_var->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "CORBA::ORB::run"), - -1); - - ACE_OS::strcpy (str, "PortableServer::POA::destroy"); - - // Destroy RootPOA. (Also destroys childPOA) - root_poa_var->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - delete myFirstFooServant_ptr; - delete myFooServantLocator_ptr; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, str); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/Forwarding/server.dsp b/TAO/examples/POA/Forwarding/server.dsp deleted file mode 100644 index 6b577da0b0a..00000000000 --- a/TAO/examples/POA/Forwarding/server.dsp +++ /dev/null @@ -1,226 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA Forwarding Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA Forwarding Server - 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 "server.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 "server.mak" CFG="POA Forwarding Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA Forwarding Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "POA Forwarding Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA Forwarding Server - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 tao.lib ace.lib ..\Generic_Servant\Generic_Servant.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA Forwarding Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 ..\Generic_Servant\Generic_Servantd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA Forwarding Server - Win32 Release" -# Name "POA Forwarding Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\FooC.cpp -# End Source File -# Begin Source File - -SOURCE=.\FooS.cpp -# End Source File -# Begin Source File - -SOURCE=.\MyFooServant.cpp -# End Source File -# Begin Source File - -SOURCE=.\Servant_Locator.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\FooC.h -# End Source File -# Begin Source File - -SOURCE=.\FooS.h -# End Source File -# Begin Source File - -SOURCE=.\FooS_T.h -# End Source File -# Begin Source File - -SOURCE=.\MyFooServant.h -# End Source File -# Begin Source File - -SOURCE=.\Servant_Locator.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Foo.idl - -!IF "$(CFG)" == "POA Forwarding Server - Win32 Release" - -USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "POA Forwarding Server - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/Generic_Servant/Foo.idl b/TAO/examples/POA/Generic_Servant/Foo.idl deleted file mode 100644 index 31e27f46e5f..00000000000 --- a/TAO/examples/POA/Generic_Servant/Foo.idl +++ /dev/null @@ -1,26 +0,0 @@ -// $Id$ -// ================================================================ -// -// = FILENAME -// Foo.idl -// -// ================================================================ - -// IDL - -interface Foo -{ - long doit (); - // A simple twoway operation, the idea is to verify that the server - // can be located. - - oneway void simply_doit (); - // A simple oneway operation, the idea is to measure any differences - // to the previous one. - - void timed_operation (in unsigned long timeout); - // A timed operation. - - void shutdown (); - // Shutdown the server. -}; diff --git a/TAO/examples/POA/Generic_Servant/Generic_Servant.dsw b/TAO/examples/POA/Generic_Servant/Generic_Servant.dsw deleted file mode 100644 index 1a172dc6d07..00000000000 --- a/TAO/examples/POA/Generic_Servant/Generic_Servant.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/Generic_Servant/Makefile b/TAO/examples/POA/Generic_Servant/Makefile deleted file mode 100644 index 70a00d29b70..00000000000 --- a/TAO/examples/POA/Generic_Servant/Makefile +++ /dev/null @@ -1,1118 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -# On non-Windows environment, we should at least define -# the export_include IDL flag. -override TAO_IDLFLAGS += -Wb,export_macro=GENERIC_SERVANT_Export \ - -Wb,export_include=generic_servant_export.h -Ge 1 - -LDLIBS = -lTAO - -SHLIB = libGeneric_Servant.$(SOEXT) -LIB = libGeneric_Servant.a - -IDL_SRC = FooC FooS - -BINFILES = $(IDL_SRC) client - -SHLIB_SRC = $(IDL_SRC) MyFooServant - -POA_CLT_SRCS = $(addsuffix .cpp,$(BINFILES)) -POA_CLT_OBJS = $(addprefix $(VDIR),$(addsuffix .o,$(BINFILES))) - -BIN = client - -BUILD = $(VOBJS) $(VLIB) $(BIN) - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -VBIN = $(BIN:%=%$(VAR)) - -LIBS = -lTAO -LSRC = $(addsuffix .cpp,$(SHLIB_SRC)) -LOBJ = $(addsuffix .o,$(SHLIB_SRC)) -PSRC = $(addsuffix .cpp,$(BIN)) - -#---------------------------------------------------------------------------- -# 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 $(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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - - -.PRECIOUS: FooC.h FooC.i FooC.cpp FooS.h FooS.i FooS.cpp - -client: $(POA_CLT_OBJS) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) FooC.* FooS.* FooS_T.* - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/FooC.o .obj/FooC.so .shobj/FooC.o .shobj/FooC.so: FooC.cpp FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - generic_servant_export.h FooC.i -.obj/FooS.o .obj/FooS.so .shobj/FooS.o .shobj/FooS.so: FooS.cpp FooS.h FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - generic_servant_export.h FooC.i FooS_T.h FooS_T.i FooS_T.cpp FooS.i -.obj/MyFooServant.o .obj/MyFooServant.so .shobj/MyFooServant.o .shobj/MyFooServant.so: MyFooServant.cpp MyFooServant.h FooS.h FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - generic_servant_export.h FooC.i FooS_T.h FooS_T.i FooS_T.cpp FooS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Profile_Timer.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/High_Res_Timer.h \ - $(ACE_ROOT)/ace/High_Res_Timer.i \ - $(ACE_ROOT)/ace/Profile_Timer.i \ - $(TAO_ROOT)/tao/Timeprobe.h \ - $(ACE_ROOT)/ace/Timeprobe.h \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - generic_servant_export.h FooC.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/Generic_Servant/MyFooServant.cpp b/TAO/examples/POA/Generic_Servant/MyFooServant.cpp deleted file mode 100644 index aa975e40338..00000000000 --- a/TAO/examples/POA/Generic_Servant/MyFooServant.cpp +++ /dev/null @@ -1,143 +0,0 @@ -// $Id$ - -// ================================================================ -// -// -// = FILENAME -// MyFooServant.cpp -// -// = DESCRIPTION -// This is a simple foo servant implementation -// -// = AUTHOR -// Irfan Pyarali -// -// ================================================================ - -#include "MyFooServant.h" - -ACE_RCSID(Generic_Servant, MyFooServant, "$Id$") - -// Constructor -MyFooServant::MyFooServant (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Long value) - : orb_ (CORBA::ORB::_duplicate (orb)), - poa_ (PortableServer::POA::_duplicate (poa)), - value_ (value) -{ -} - -// Destructor -MyFooServant::~MyFooServant (void) -{ -} - -// Return the Default POA of this Servant -PortableServer::POA_ptr -MyFooServant::_default_POA (CORBA::Environment &/*env*/) -{ - return PortableServer::POA::_duplicate (this->poa_.in ()); -} - -CORBA::Long -MyFooServant::doit (CORBA::Environment &/*env*/) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->value_; -} - -void -MyFooServant::simply_doit (CORBA::Environment &/*env*/) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ -} - -void -MyFooServant::timed_operation (CORBA::ULong timeout, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "Thread %t starting MyFooServant::timed_operation with timeout %d\n", - timeout)); - - ACE_OS::sleep (timeout); - - ACE_DEBUG ((LM_DEBUG, - "Thread %t completes MyFooServant::timed_operation\n")); -} - -void -MyFooServant::shutdown (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->orb_->shutdown (0, ACE_TRY_ENV); - ACE_CHECK; -} - - -// This is the point of entry into this library. - -extern "C" GENERIC_SERVANT_Export PortableServer::Servant create_MyFoo (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Long value); - -// The servant pointer is returned which will be of Base class -// type. The binding to the MyFoo servant will happen at run-time. - -PortableServer::Servant -create_MyFoo (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Long value) -{ - PortableServer::Servant servant; - - ACE_NEW_RETURN (servant, - MyFooServant (orb, - poa, - value), - 0); - return servant; -} - - -extern "C" GENERIC_SERVANT_Export PortableServer::Servant supply_servant (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::ORB_ptr orb); - -// The servant pointer is returned which will be of Base class -// type. The binding to the servant will happen at run-time. - -PortableServer::Servant -supply_servant (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::ORB_ptr orb) -{ - PortableServer::Servant servant = 0; - - // Convert ObjectId to String. - CORBA::String_var s = PortableServer::ObjectId_to_string (oid); - - if (ACE_OS::strstr (s.in (), "Foo") != 0) - ACE_NEW_RETURN (servant, - MyFooServant (orb, - poa, - 0), - 0); - return servant; -} - -extern "C" GENERIC_SERVANT_Export void destroy_servant (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - PortableServer::Servant servant); - -// This function will take care of the destruction of the servant. - -void -destroy_servant (const PortableServer::ObjectId & /* oid */, - PortableServer::POA_ptr /* poa */, - PortableServer::Servant servant) -{ - delete servant; -} diff --git a/TAO/examples/POA/Generic_Servant/MyFooServant.h b/TAO/examples/POA/Generic_Servant/MyFooServant.h deleted file mode 100644 index 7f92aa0c7e8..00000000000 --- a/TAO/examples/POA/Generic_Servant/MyFooServant.h +++ /dev/null @@ -1,63 +0,0 @@ -// $Id$ -//============================================================================= -// -// -// = FILENAME -// MyFooServant.h -// -// = DESCRIPTION -// Defines MyFooServant class for the Foo interface -// -// = AUTHOR -// Irfan Pyarali -// -//============================================================================= - -#ifndef MYFOOSERVANT_H -#define MYFOOSERVANT_H - -#include "FooS.h" - -class GENERIC_SERVANT_Export MyFooServant : public POA_Foo -{ -public: - MyFooServant (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Long value); - // Constructor - takes a POA and a value parameter - - virtual ~MyFooServant (void); - // Destructor - - virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); - // Returns the Default POA of this Servant object - - virtual CORBA::Long doit (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Simple doit method - - virtual void simply_doit (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Even simpler doit method - - virtual void timed_operation (CORBA::ULong timeout, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Timed operation. - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Shutdown the ORB - -protected: - CORBA::ORB_var orb_; - // Keep a pointer to the ORB so we can shut it down. - - PortableServer::POA_var poa_; - // Implement a different _default_POA() - - CORBA::Long value_; - // The current value. -}; - -#endif /* MYFOOSERVANT_H */ diff --git a/TAO/examples/POA/Generic_Servant/README b/TAO/examples/POA/Generic_Servant/README deleted file mode 100644 index b7dcab67d42..00000000000 --- a/TAO/examples/POA/Generic_Servant/README +++ /dev/null @@ -1,24 +0,0 @@ -// $Id$ - -Generic Servant: -=============== - -File Name ---------- - -Foo.idl Simple Foo idl interface -MyFooServant.h Servant definition for the Foo interface -MyFooServant.cpp Servant implementation for the FOO interface -client.cpp A simple Foo client - -Typing - -% Make - - creates an executable client and server library libserver.a. - -To run the client, type - -% client -k IOR - -where IOR can be got from the server output. diff --git a/TAO/examples/POA/Generic_Servant/client.cpp b/TAO/examples/POA/Generic_Servant/client.cpp deleted file mode 100644 index a464b503dea..00000000000 --- a/TAO/examples/POA/Generic_Servant/client.cpp +++ /dev/null @@ -1,260 +0,0 @@ -// $Id$ - -// ================================================================ -// -// -// = FILENAME -// client.cpp -// -// = DESCRIPTION -// This is a simple foo client implementation. -// -// = AUTHOR -// Irfan Pyarali -// -// ================================================================ - -#include "ace/Get_Opt.h" -#include "ace/Profile_Timer.h" -#include "tao/Timeprobe.h" -#include "ace/Read_Buffer.h" -#include "FooC.h" - -ACE_RCSID(Generic_Servant, client, "$Id$") - -static char *IOR = 0; -static char *IOR_file = 0; -static int iterations = 1; -static int oneway = 0; -static int shutdown_server = 0; -static CORBA::ULong timeout = 5; -static int timed_operations = 0; - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "f:k:i:T:otx"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'k': - IOR = ACE_OS::strdup (get_opts.optarg); - break; - - case 'f': - IOR_file = get_opts.optarg; - break; - - case 'o': - oneway = 1; - break; - - case 't': - timed_operations = 1; - break; - - case 'i': - iterations = ::atoi (get_opts.optarg); - break; - - case 'T': - timeout = ACE_static_cast (CORBA::ULong, ::atoi (get_opts.optarg)); - break; - - case 'x': - shutdown_server = 1; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "-k IOR " - "-f IOR file " - "-o oneway " - "-t timed operations " - "-T timeout for timed operations " - "\n", - argv [0]), - -1); - } - - if (IOR == 0 && IOR_file == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Please specify the IOR or IOR_file for the servant\n"), -1); - - // Indicates successful parsing of command line. - return 0; -} - -void -print_stats (ACE_Profile_Timer::ACE_Elapsed_Time &elapsed_time, - int iterations) -{ - if (iterations > 0) - { - elapsed_time.real_time *= ACE_ONE_SECOND_IN_MSECS; - elapsed_time.user_time *= ACE_ONE_SECOND_IN_MSECS; - elapsed_time.system_time *= ACE_ONE_SECOND_IN_MSECS; - - elapsed_time.real_time /= iterations; - elapsed_time.user_time /= iterations; - elapsed_time.system_time /= iterations; - - double tmp = 1000 / elapsed_time.real_time; - - ACE_DEBUG ((LM_DEBUG, - "\titerations\t = %d, \n" - "\treal_time\t = %0.06f ms, \n" - "\tuser_time\t = %0.06f ms, \n" - "\tsystem_time\t = %0.06f ms, \n" - "\t%0.00f calls/second\n", - iterations, - elapsed_time.real_time < 0.0 ? 0.0 : elapsed_time.real_time, - elapsed_time.user_time < 0.0 ? 0.0 : elapsed_time.user_time, - elapsed_time.system_time < 0.0 ? 0.0 : elapsed_time.system_time, - tmp < 0.0 ? 0.0 : tmp)); - } - else - ACE_ERROR ((LM_ERROR, - "\tNo time stats printed. Zero iterations or error ocurred.\n")); -} - -int -read_IOR_from_file (void) -{ - // Open the file for reading. - ACE_HANDLE f_handle = ACE_OS::open (IOR_file, 0); - - if (f_handle == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for reading\n", - IOR_file), - -1); - - ACE_Read_Buffer ior_buffer (f_handle); - char *data = ior_buffer.read (); - - if (data == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior\n"), - -1); - - IOR = ACE_OS::strdup (data); - ior_buffer.alloc ()->free (data); - - ACE_OS::close (f_handle); - - return 0; -} - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initialize the ORB - CORBA::ORB_var orb = CORBA::ORB_init (argc, - argv, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Initialize options based on command-line arguments. - int parse_args_result = parse_args (argc, argv); - if (parse_args_result != 0) - return parse_args_result; - - if (IOR == 0) - { - int result = read_IOR_from_file (); - if (result != 0) - ACE_ERROR_RETURN ((LM_ERROR, "Cannot read IOR from %s\n", IOR_file), -1); - } - - // Get an object reference from the argument string. - CORBA::Object_var object = orb->string_to_object (IOR, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Try to narrow the object reference to a Foo reference. - Foo_var foo = Foo::_narrow (object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var ior = - orb->object_to_string (foo.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - - ACE_DEBUG ((LM_DEBUG, - "\nConnecting to: %s\n\n", - ior.in ())); - - ACE_Profile_Timer timer; - ACE_Profile_Timer::ACE_Elapsed_Time elapsed_time; - - // We start an ACE_Profile_Timer here... - timer.start (); - - CORBA::Long result = 0; - int i = 0; - - for (i = 0; i < iterations; i++) - { - if (oneway) - { - // Invoke the simply_doit() method of the foo reference. - foo->simply_doit (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - else if (timed_operations) - { - // Invoke the timed_operation() method of the foo reference. - foo->timed_operation (timeout, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - else - { - // Invoke the doit() method of the foo reference. - result = foo->doit (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - - // stop the timer. - timer.stop (); - timer.elapsed_time (elapsed_time); - - // compute average time. - print_stats (elapsed_time, i); - - if (shutdown_server) - { - foo->shutdown (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - // Print the result of doit () method of the foo reference. - ACE_DEBUG ((LM_DEBUG, "The result of doit is %d\n", result)); - - ACE_TIMEPROBE_PRINT; - - ACE_OS::free (IOR); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"Error!"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/Generic_Servant/client.dsp b/TAO/examples/POA/Generic_Servant/client.dsp deleted file mode 100644 index f90e0a92e31..00000000000 --- a/TAO/examples/POA/Generic_Servant/client.dsp +++ /dev/null @@ -1,201 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA Generic Servant Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA Generic Servant Client - 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 "client.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 "client.mak" CFG="POA Generic Servant Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA Generic Servant Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "POA Generic Servant Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA Generic Servant Client - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA Generic Servant Client - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "client__" -# PROP BASE Intermediate_Dir "client__" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D GENERIC_SERVANT_HAS_DLL=1 /D "GENERIC_SERVANT_BUILD_DLL" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA Generic Servant Client - Win32 Release" -# Name "POA Generic Servant Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\FooC.cpp -# End Source File -# Begin Source File - -SOURCE=.\FooS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\FooC.h -# End Source File -# Begin Source File - -SOURCE=.\FooS.h -# End Source File -# Begin Source File - -SOURCE=.\FooS_T.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Foo.idl - -!IF "$(CFG)" == "POA Generic Servant Client - Win32 Release" - -# PROP Ignore_Default_Tool 1 -USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 -Wb,export_macro=GENERIC_SERVANT_Export -Wb,export_include=generic_servant_export.h $(InputName).idl - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "POA Generic Servant Client - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 -Wb,export_macro=GENERIC_SERVANT_Export -Wb,export_include=generic_servant_export.h $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/Generic_Servant/generic_servant_export.h b/TAO/examples/POA/Generic_Servant/generic_servant_export.h deleted file mode 100644 index cabb41f48f7..00000000000 --- a/TAO/examples/POA/Generic_Servant/generic_servant_export.h +++ /dev/null @@ -1,35 +0,0 @@ -// $Id$ - -// Definition for Win32 Export directives. -// This file is generated automatically by -// ${TAO_ROOT}/TAO_IDL/GenExportH.BAT -// ------------------------------ -#ifndef GENERIC_SERVANT_EXPORT_H -#define GENERIC_SERVANT_EXPORT_H - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#if defined (GENERIC_SERVANT_HAS_DLL) -# if (GENERIC_SERVANT_HAS_DLL == 1) -# if defined (GENERIC_SERVANT_BUILD_DLL) -# define GENERIC_SERVANT_Export ACE_Proper_Export_Flag -# define GENERIC_SERVANT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# else -# define GENERIC_SERVANT_Export ACE_Proper_Import_Flag -# define GENERIC_SERVANT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# endif /* GENERIC_SERVANT_BUILD_DLL */ -# else -# define GENERIC_SERVANT_Export -# define GENERIC_SERVANT_SINGLETON_DECLARATION(T) -# endif /* ! GENERIC_SERVANT_HAS_DLL == 1 */ -#else -# define GENERIC_SERVANT_Export -# define GENERIC_SERVANT_SINGLETON_DECLARATION(T) -#endif /* GENERIC_SERVANT_HAS_DLL */ - -#endif /* GENERIC_SERVANT_EXPORT_H */ - // End of auto generated file. diff --git a/TAO/examples/POA/Generic_Servant/server.dsp b/TAO/examples/POA/Generic_Servant/server.dsp deleted file mode 100644 index a6c356925bc..00000000000 --- a/TAO/examples/POA/Generic_Servant/server.dsp +++ /dev/null @@ -1,210 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA Generic Servant 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=POA Generic Servant 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 "server.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 "server.mak" CFG="POA Generic Servant DLL - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA Generic Servant DLL - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "POA Generic Servant 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)" == "POA Generic Servant DLL - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "server__" -# PROP BASE Intermediate_Dir "server__" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D GENERIC_SERVANT_HAS_DLL=1 /D "GENERIC_SERVANT_BUILD_DLL" /YX /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL" -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL" -# 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 /subsystem:windows /dll /machine:I386 -# ADD LINK32 ace.lib tao.lib /nologo /subsystem:windows /dll /machine:I386 /out:"..\..\..\..\bin\Generic_Servant.dll" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA Generic Servant DLL - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "server_0" -# PROP BASE Intermediate_Dir "server_0" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D GENERIC_SERVANT_HAS_DLL=1 /D "GENERIC_SERVANT_BUILD_DLL" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL" -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL" -# 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 /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"..\..\..\..\bin\Generic_Servantd.dll" /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /profile /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA Generic Servant DLL - Win32 Release" -# Name "POA Generic Servant DLL - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\FooC.cpp -# End Source File -# Begin Source File - -SOURCE=.\FooS.cpp -# End Source File -# Begin Source File - -SOURCE=.\MyFooServant.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\FooC.h -# End Source File -# Begin Source File - -SOURCE=.\FooS.h -# End Source File -# Begin Source File - -SOURCE=.\FooS_T.h -# End Source File -# Begin Source File - -SOURCE=.\MyFooServant.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Foo.idl - -!IF "$(CFG)" == "POA Generic Servant DLL - Win32 Release" - -# PROP Ignore_Default_Tool 1 -USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 -Wb,export_macro=GENERIC_SERVANT_Export -Wb,export_include=generic_servant_export.h $(InputName).idl - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "POA Generic Servant DLL - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 -Wb,export_macro=GENERIC_SERVANT_Export -Wb,export_include=generic_servant_export.h $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/Loader/Loader.dsw b/TAO/examples/POA/Loader/Loader.dsw deleted file mode 100644 index a6cb35f3e3c..00000000000 --- a/TAO/examples/POA/Loader/Loader.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "POA Loader Server"=".\server.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/Loader/Makefile b/TAO/examples/POA/Loader/Makefile deleted file mode 100644 index bb802913130..00000000000 --- a/TAO/examples/POA/Loader/Makefile +++ /dev/null @@ -1,1085 +0,0 @@ -# -# $Id$ -# - -BIN = server - -MYFILES = Server_Manager Servant_Activator Servant_Locator - -SRC = $(addsuffix .cpp,$(MYFILES)) $(addsuffix .cpp, $(BIN)) -OBJ = $(addsuffix .o,$(MYFILES)) - -CPPFLAGS += -I$(TAO_ROOT) - -LDLIBS = -lTAO -LDFLAGS += -L$(TAO_ROOT)/tao - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -INSTALL = - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Server_Manager.o .obj/Server_Manager.so .shobj/Server_Manager.o .shobj/Server_Manager.so: Server_Manager.cpp Server_Manager.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - Servant_Activator.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(ACE_ROOT)/ace/DLL.h \ - Servant_Locator.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i -.obj/Servant_Activator.o .obj/Servant_Activator.so .shobj/Servant_Activator.o .shobj/Servant_Activator.so: Servant_Activator.cpp Servant_Activator.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(ACE_ROOT)/ace/DLL.h -.obj/Servant_Locator.o .obj/Servant_Locator.so .shobj/Servant_Locator.o .shobj/Servant_Locator.so: Servant_Locator.cpp Servant_Locator.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(ACE_ROOT)/ace/DLL.h -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp Server_Manager.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - Servant_Activator.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(ACE_ROOT)/ace/DLL.h \ - Servant_Locator.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/Loader/README b/TAO/examples/POA/Loader/README deleted file mode 100644 index db78c9c5df6..00000000000 --- a/TAO/examples/POA/Loader/README +++ /dev/null @@ -1,60 +0,0 @@ -$Id$ - -Loader Example --------------- - -This example illustrates how to dynamically link and load servants -into a POA in a platform-independent manner using the ACE_DLL feature -and standard CORBA Servant Manager features. In the example, the POA -is configured with the USE_SERVANT_MANAGER policy value, which relies -on an application supplied Servant Manager object to supply -object/server associations. - -If the POA has the RETAIN value for the servant retention, the POA -expects the Servant Manager to implement the Servant Activator -interface. Conversely, when the POA is created with the NON_RETAIN -value for servant retention, the Servant Manager must implement the -Servant_Locator interface. - -This example illustrates both Servant Activator and Servant_Locator -interfaces. The servant object is created by a factory function that -resides in a DLL that is linked and loaded into the server's address -space on-demand when client requests arrive. The ObjectID in each -client request indicates which DLL name and which factory function to -use to create the servant. - -For the Servant_Activator example, once the servant is loaded, the -Object-to-Servant association is added to the Active Object Map -maintained by the POA. This association becomes invalid when the POA -is destroyed or/and the Object is deactivated. In contrast, for the -Servant_Locator example operation request from the client causes the -servant to be linked, processed, destroyed, and unlinked. - -For all examples, the dynamic configuration granularity is at the POA -level,i.e., a Servant Activator or Servant Locator is associated with -a DLL that is linked and loaded into memory and servant objects -obtained on-demand. The factory function within the DLL decides the -servant to be supplied based on the ObjectId and supplies the -appropriate servant to the Servant Manager interface. Theres also an -providence made for an garbage_collection function which can be used -to destroy the servant. Both the factory function as well as the -garbage collection function can be implemented by the application -developer in the preferred manner. - -Note that the server need not be statically linked with the DLL. The -DLL name and the factory function used to obtain the servant can be -provided to the server at run-time. This gives us the flexibility of -modifying and linking the servant without having to statically link -the server along with the DLL. - -Execution: ---------- - - Run the run_test_pl perl script. - -example: - run_test_pl -f ior_file - -The output will demonstrate the different actions performed by the -Servant_Manager via the Servant_Activator and the Servant_Locator -interfaces. diff --git a/TAO/examples/POA/Loader/Servant_Activator.cpp b/TAO/examples/POA/Loader/Servant_Activator.cpp deleted file mode 100644 index aced224e8de..00000000000 --- a/TAO/examples/POA/Loader/Servant_Activator.cpp +++ /dev/null @@ -1,99 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/POA/Loader -// -// = FILENAME -// Servant_Activator.cpp -// -// = DESCRIPTION -// Implementation of , which is used by a POA -// with a RETAIN policy. -// -// = AUTHOR -// Kirthika Parameswaran -// -// ============================================================================ - -#include "Servant_Activator.h" - -ACE_RCSID(Loader, Servant_Activator, "$Id$") - -// Initialization.The dllname is used by the Loactor to load it into -// memory. The factory function is the point of entry into the dll and -// is used for obtaining the servant. The garbage_collection_function -// is used to kill the servant. - -ServantActivator_i::ServantActivator_i (CORBA::ORB_ptr orb, - const char *dllname, - const char *factory_function, - const char *garbage_collection_function) - : orb_ (CORBA::ORB::_duplicate (orb)) -{ - // The dll is opened using the dllname passed. - if (this->dll_.open (dllname) == -1) - ACE_ERROR ((LM_ERROR, - "%p\n", - this->dll_.error ())); - - // Obtain the symbol for the function that will get the servant - // object. - - // Cannot go from void* to function pointer directly. Cast the void* - // to long first. - void *symbol = this->dll_.symbol (factory_function); - long function = ACE_reinterpret_cast (long, symbol); - - servant_supplier_ = - ACE_reinterpret_cast (SERVANT_FACTORY, function); - - // Obtain tne symbol for the function which will destroy the - // servant. - symbol = this->dll_.symbol (garbage_collection_function); - function = ACE_reinterpret_cast (long, symbol); - servant_garbage_collector_ = - ACE_reinterpret_cast (SERVANT_GARBAGE_COLLECTOR, function); -} - -// This method associates an servant with the ObjectID. - -PortableServer::Servant -ServantActivator_i::incarnate (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::Environment &ACE_TRY_ENV) -{ - // Obtain the servant else exception. - PortableServer::Servant servant = - (*servant_supplier_) (oid, - poa, - this->orb_.in ()); - if (servant != 0) - return servant; - else - ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (), - 0); -} - -// This is the method invoked when the object is deactivated or the -// entire POA is is deactivated or destroyed. - -void -ServantActivator_i::etherealize (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - PortableServer::Servant servant, - CORBA::Boolean, - CORBA::Boolean remaining_activations, - CORBA::Environment &) -{ - // If there are no remaining activations i.e ObjectIds associated - // with MyFooServant object, deactivate it by calling the garbage_collection_function. - // Etheralization happens on POA::destroy() and/or Object::deactivate(). - - if (remaining_activations == 0) - (*servant_garbage_collector_) (oid, - poa, - servant); - -} diff --git a/TAO/examples/POA/Loader/Servant_Activator.h b/TAO/examples/POA/Loader/Servant_Activator.h deleted file mode 100644 index 84de271ec87..00000000000 --- a/TAO/examples/POA/Loader/Servant_Activator.h +++ /dev/null @@ -1,101 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ - -//================================================================================= -// -// = LIBRARY -// TAO/examples/POA/On_Demand_Loading -// -// = FILENAME -// Servant_Activator.h -// -// = DESCRIPTION -// Defines a class, which activates a servant by -// obtaining it and associates it with an object on-demand. -// -// = AUTHOR -// Kirthika Parameswaran -// -//================================================================================== - -#include "ace/OS.h" - -#ifndef SERVANT_ACTIVATOR_H -#define SERVANT_ACTIVATOR_H - -#include "tao/corba.h" -#include "ace/DLL.h" - -class ServantActivator_i : public POA_PortableServer::ServantActivator -{ - //= TITLE - // Servant Activator for the MyFoo servant. - // - //= DESCRIPTION - // This class associates an unassociated servant with an object in - // the POA Active Object Map. -public: - typedef PortableServer::Servant - (*SERVANT_FACTORY) (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::ORB_ptr orb); - // This typedef is used to typecast the void* obtained when finding - // a symbol in the dll. Invoking the function pointer obtained would - // get a servant. - - typedef void - (*SERVANT_GARBAGE_COLLECTOR) (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr, - PortableServer::Servant servant); - // This typedef is used to obtain the garbage_collection_function symbol - // in the dll. Invoking the function pointer obtained would then destroy - // the servant. - - ServantActivator_i (CORBA::ORB_ptr orb, - const char *dllname, - const char *factory_function, - const char *garbage_collection_function); - // Initialization. - - virtual PortableServer::Servant incarnate (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::Environment &ACE_TRY_ENV); - // This method is invoked by a POA with USE_SERVANT_MANAGER and - // RETAIN policies, whenever it receives a request for a - // MyFooServant object that is not currently active. When an servant - // pointer corresponding to objectId is not found in the Active - // Object Map, the POA hands over the job of obtaining the servant - // to the Servant Manager. Depending upon whether the POA is created - // with RETAIN or NON_RETAIN as the servant_retention policy, the - // Servant Activator or the Servant Locator interface is invoked - // respectively. - - virtual void etherealize (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - PortableServer::Servant servant, - CORBA::Boolean cleanup_in_progress, - CORBA::Boolean remaining_activations, - CORBA::Environment &ACE_TRY_ENV); - // This method is invoked whenever a MyFooServant for a MyFoo object - // is deactivated. This occurs when the POA is destroyed or the - // Object is deactivated. When the POA is getting destroyed, it - // needs to deactivate every object in the Active Object Map and on - // that call the ServantActivator invokes this method which will - // destroy the servant associated with the object. - -private: - ACE_DLL dll_; - // The ACE_DLL object which performs the task of loading the dll - // and accessing it. - - SERVANT_FACTORY servant_supplier_; - // The function pointer of factory_function type. - - SERVANT_GARBAGE_COLLECTOR servant_garbage_collector_; - // The function pointer of garbage_collection_function type. - - CORBA::ORB_var orb_; - // A reference to the ORB. -}; - -#endif /* SERVANT_ACTIVATOR_H */ diff --git a/TAO/examples/POA/Loader/Servant_Locator.cpp b/TAO/examples/POA/Loader/Servant_Locator.cpp deleted file mode 100644 index d7cef6ebcc2..00000000000 --- a/TAO/examples/POA/Loader/Servant_Locator.cpp +++ /dev/null @@ -1,115 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/POA/Loader -// -// = FILENAME -// Servant_Locator.cpp -// -// = DESCRIPTION -// Implementation of ServantLocator_i class, used with a POA -// having a NON_RETAIN policy. -// -// = AUTHOR -// Kirthika Parameswaran -// -// ============================================================================ - -#include "Servant_Locator.h" - -ACE_RCSID(Loader, Servant_Locator, "$Id$") - -// Initialization.The dllname is used by the Loactor to load it into -// memory. The factory function is the point of entry into the dll and -// is used for obtaining the servant. The garbage_collection_function -// is used to kill the servant. - -ServantLocator_i::ServantLocator_i (CORBA::ORB_ptr orb, - const char *dllname, - const char *factory_function, - const char *garbage_collection_function) - : orb_ (CORBA::ORB::_duplicate (orb)) -{ - // The dll is opened using the dllname passed. - if (this->dll_.open (dllname) == -1) - ACE_ERROR ((LM_ERROR, - "%p", - this->dll_.error ())); - - // Obtain the symbol for the function that will get the servant - // object. - - // - // Cannot go from void* to function pointer directly. Cast the void* - // to long first. - // - void *symbol = this->dll_.symbol (factory_function); - long function = ACE_reinterpret_cast (long, symbol); - - servant_supplier_ = - ACE_reinterpret_cast (SERVANT_FACTORY, function); - - // Obtain the symbol for the function which will destroy the - // servant. - symbol = this->dll_.symbol (garbage_collection_function); - function = ACE_reinterpret_cast (long, symbol); - - servant_garbage_collector_ = - ACE_reinterpret_cast (SERVANT_GARBAGE_COLLECTOR, function); -} - -// This method associates an servant with the ObjectID. - -PortableServer::Servant -ServantLocator_i::preinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - const char * /* operation */, - PortableServer::ServantLocator::Cookie &cookie, - CORBA::Environment &ACE_TRY_ENV) -{ - PortableServer::Servant servant = - (*servant_supplier_) (oid, - poa, - this->orb_.in ()); - if (servant != 0) - { - // Return the servant as the cookie , used as a check when - // postinvoke is called on this ServantLocator_i. - - cookie = servant; - return servant; - } - else - ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (), - 0); -} - -// Since the servant gets invoked per operation, the servant has to be -// destroyed per operation too. This is accomplished in the -// postinvoke method. - -void -ServantLocator_i::postinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa , - const char * /* operation */, - PortableServer::ServantLocator::Cookie cookie, - PortableServer::Servant servant, - CORBA::Environment &/* env */) -{ - // Check the passed servant with the cookie. - PortableServer::Servant my_servant = - ACE_reinterpret_cast (PortableServer::Servant, - cookie); - - ACE_ASSERT (servant == my_servant); - - // Invoke the garbage_collection_function. - (*servant_garbage_collector_) (oid, - poa, - servant); - - // To avoid warning about unused variable with ACE_NDEBUG. - ACE_UNUSED_ARG (my_servant); -} diff --git a/TAO/examples/POA/Loader/Servant_Locator.h b/TAO/examples/POA/Loader/Servant_Locator.h deleted file mode 100644 index 5e099a7938b..00000000000 --- a/TAO/examples/POA/Loader/Servant_Locator.h +++ /dev/null @@ -1,112 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ - -//================================================================================ -// -// = LIBRARY -// TAO/examples/POA/Loader -// -// = FILENAME -// Servant_Locator.h -// -// = DESCRIPTION -// Defines a ServantLocator_i class , used with a POA having -// a NON_RETAIN policy. -// -// = AUTHOR -// Kirthika Parameswaran -// -//================================================================================== - -#include "ace/OS.h" - -#ifndef SERVANT_LOCATOR_H -#define SERVANT_LOCATOR_H - -#include "tao/corba.h" -#include "ace/DLL.h" - -class ServantLocator_i : public POA_PortableServer::ServantLocator -{ - // = TITLE - // This class is used by a POA with USE_SERVANT_MANAGER and - // NON_RETAIN policy. - // - // = DESCRIPTION - // This class defines the Servant Locator interface of the Servant - // Manager. It is invoked when the POA has an USE_SERVANT_MANAGER - // policy and a servant_retention policy of NON_RETAIN type. -public: - typedef PortableServer::Servant - (*SERVANT_FACTORY) (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::ORB_ptr orb); - // This typedef is used to typecast the void* obtained when finding - // a symbol in the dll. Invoking the function pointer obtained would - // get a servant. - - typedef void - (*SERVANT_GARBAGE_COLLECTOR) (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr, - PortableServer::Servant servant); - // This typedef is used to obtain the garbage_collection_function symbol - // in the dll. Invoking the function pointer obtained would then destroy - // the servant. - - ServantLocator_i (CORBA::ORB_ptr orb, - const char *dllname, - const char *factory_function, - const char *garbage_collection_function); - // Constructor. - - virtual PortableServer::Servant preinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - const char *operation, - PortableServer::ServantLocator::Cookie &the_cookie, - CORBA::Environment &ACE_TRY_ENV); - // This method is invoked by a POA whenever it receives a request - // for MyFoo object that is not currently active. When the POA is - // created using the NON_RETAIN policy the Active Object Map is not - // maintained, in other words, an association between the ObjectId - // and the servant is not maintained. Hence every client request the - // servant has to be loaded. Note the operation argument. This - // argument specifies the operation to be invoked on the - // servant. The cookie helps in marking the servant. This marking is - // useful while destroying the servant. - - virtual void postinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - const char *operation, - PortableServer::ServantLocator::Cookie the_cookie, - PortableServer::Servant the_servant, - CORBA::Environment &ACE_TRY_ENV); - // This method is invoked whenever a MyFooServant completes a - // request. As the Servant Loactor interface is used when the POA - // doesnt maintain the Active Object Map, its necessary to get rid - // of the servant after the client request has been processed. The - // appropriate servant is destroyed by verifying the cookie.Again - // this method is invoked per client request. - -private: - ACE_CString dllname_; - // The name of the dll containing the servant. - - ACE_CString create_symbol_; - // The symbol which on getting invoked will give us the servant - // pointer. - - ACE_DLL dll_; - // The ACE_DLL object which performs the task of loading the dll - // and accessing it. - - SERVANT_FACTORY servant_supplier_; - // The function pointer of factory_function type. - - SERVANT_GARBAGE_COLLECTOR servant_garbage_collector_; - // The function pointer of garbage_collection_function type. - - CORBA::ORB_var orb_; - // A reference to the ORB. -}; - -#endif /* SERVANT_LOCATOR_H */ diff --git a/TAO/examples/POA/Loader/Server_Manager.cpp b/TAO/examples/POA/Loader/Server_Manager.cpp deleted file mode 100644 index c4df5e5ea24..00000000000 --- a/TAO/examples/POA/Loader/Server_Manager.cpp +++ /dev/null @@ -1,398 +0,0 @@ -// $Id$ - -#include "Server_Manager.h" -#include "ace/Get_Opt.h" - -ACE_RCSID(Loader, Server_Manager, "$Id$") - -Server_i::Server_i(void) - : ior_output_file_ (0), - policies_ (4) -{ -} - -Server_i::~Server_i(void) -{ -} - -// This method parses the input. - -int -Server_i::parse_args (int argc, - char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "f:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'f': - ior_output_file_ = get_opts.optarg; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "[-f ior_output_file] " - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// The IORs obtained are written into files for further use. - -int -Server_i::write_iors_to_file (const char *first_ior, - const char *second_ior) -{ - if (ior_output_file_ == 0) - // No filename was specified; simply return - return 0; - - char ior_output_file_1[BUFSIZ]; - char ior_output_file_2[BUFSIZ]; - - ACE_OS::sprintf (ior_output_file_1, - "%s_1", - ior_output_file_); - ACE_OS::sprintf (ior_output_file_2, - "%s_2", - ior_output_file_); - - FILE *output_file_1 = ACE_OS::fopen (ior_output_file_1, - "w"); - FILE *output_file_2 = ACE_OS::fopen (ior_output_file_2, - "w"); - if (output_file_1 == 0 - || output_file_2 == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Cannot open output files for writing IORs: %s, %s\n", - ior_output_file_1, - ior_output_file_2), - -1); - - int result = ACE_OS::fprintf (output_file_1, - "%s", - first_ior); - if (result <= 0 - || ACE_static_cast (size_t,result) != ACE_OS::strlen (first_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - first_ior, - ior_output_file_1), - -1); - - result = ACE_OS::fprintf (output_file_2, - "%s", - second_ior); - if (result <= 0 - || ACE_static_cast (size_t,result) != ACE_OS::strlen (second_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - second_ior, - ior_output_file_2), - -1); - ACE_OS::fclose (output_file_1); - ACE_OS::fclose (output_file_2); - return 0; -} - -// Initialisation of the ORB and POA. - -int -Server_i::init (int argc, char **argv) -{ - //CORBA::Environment TAO_TRY_ENV; - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Initialize the ORB. - orb_ = CORBA::ORB_init (argc, - argv, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - int result = parse_args (argc, argv); - if (result != 0) - return result; - - // Get an Object reference to RootPOA. - CORBA::Object_var obj = - orb_->resolve_initial_references ("RootPOA"); - - // Narrow the Object reference to a POA reference - root_poa_ = PortableServer::POA::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the POAManager of RootPOA - poa_manager_ = root_poa_->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Server_i:init_poa ()"); - return 1; - } - ACE_ENDTRY; - - return 0; -} - -// This method creates an poa with 4 policies of which the servent -// retention policy decides whether the Servant Activator or the -// Servant Locator would be used by the Servant Manager. - -PortableServer::POA_ptr -Server_i::create_poa (const char *name, - int servant_retention_policy) -{ - // CORBA::Environment TAO_TRY_ENV; - PortableServer::POA_ptr my_poa = 0; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - policies_.length (4); - - // ID Assignment Policy. - policies_[0] = - root_poa_->create_id_assignment_policy - (PortableServer::USER_ID, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Lifespan Policy. - policies_[1] = - root_poa_->create_lifespan_policy - (PortableServer::PERSISTENT, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Request Processing Policy. - policies_[2] = - root_poa_->create_request_processing_policy - (PortableServer::USE_SERVANT_MANAGER, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Servant Retention Policy. - if (servant_retention_policy == 1) - policies_[3] = - root_poa_->create_servant_retention_policy - (PortableServer::RETAIN, - ACE_TRY_ENV); - - if (servant_retention_policy == 0) - policies_[3] = - root_poa_->create_servant_retention_policy - (PortableServer::NON_RETAIN, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Create myPOA as the child of RootPOA with the above - // policies_. myPOA will use SERVANT_ACTIVATOR or - // SERVANT_LOCATOR depending upon the servant retention policy - // being RETAIN or NONRETAIN respectively. - my_poa = root_poa_->create_POA (name, - poa_manager_.in (), - policies_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Destroy the policy objects as they have been passed to - // create_POA and no longer needed. - for (CORBA::ULong i = 0; - i < policies_.length (); - ++i) - { - CORBA::Policy_ptr policy = policies_[i]; - policy->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"Server_i:create_poa ()"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - - return my_poa; -} - -// The Servant Activator object is created and initialised. - -int -Server_i::create_activator (PortableServer::POA_var first_poa) -{ - // CORBA::Environment TAO_TRY_ENV; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // An Servant Activator object is created which will activate - // the servant on demand. - ACE_NEW_RETURN (servant_activator_impl_, - ServantActivator_i (orb_.in (), - "Generic_Servant", - "supply_servant", - "destroy_servant"), - 0); - - PortableServer::ServantActivator_var servant_activator = - servant_activator_impl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Set ServantActivator_i object as the servant_manager of - // firstPOA. - first_poa->set_servant_manager (servant_activator.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Create a reference with user created ID in firstPOA which - // uses the MyFooServantActivator. - PortableServer::ObjectId_var first_foo_oid = - PortableServer::string_to_ObjectId ("firstFoo"); - - first_foo_ = first_poa->create_reference_with_id (first_foo_oid.in (), - "IDL:Foo:1.0", - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"Server_i:create_activator ()"); - return 1; - } - ACE_ENDTRY; - - return 0; -} - -// The Servant Locator object is created and initialised. - -int -Server_i::create_locator (PortableServer::POA_var second_poa) -{ - // CORBA::Environment TAO_TRY_ENV; - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // An Servant Locator object is created which will activate - // the servant on demand. - ACE_NEW_RETURN (servant_locator_impl_, - ServantLocator_i (orb_.in (), - "Generic_Servant", - "supply_servant", - "destroy_servant"), - 0); - - PortableServer::ServantLocator_var servant_locator = - servant_locator_impl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Set ServantLocator_i object as the servant Manager of - // secondPOA. - - second_poa->set_servant_manager (servant_locator.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Try to create a reference with user created ID in second_poa - // which uses MyFooServantLocator. - PortableServer::ObjectId_var second_foo_oid = - PortableServer::string_to_ObjectId ("secondFoo"); - - second_foo_ = - second_poa->create_reference_with_id (second_foo_oid.in (), - "IDL:Foo:1.0", - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"Server_i:create_locator ()"); - return 1; - } - ACE_ENDTRY; - - return 0; -} - -// The execution process of the server. - -int -Server_i::run (void) -{ - // CORBA::Environment TAO_TRY_ENV; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Invoke object_to_string on the references created in firstPOA - // and secondPOA. - - CORBA::String_var first_foo_ior = - orb_->object_to_string (first_foo_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var second_foo_ior = - orb_->object_to_string (second_foo_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Print the ior's of first_foo and second_foo. - - ACE_DEBUG ((LM_DEBUG,"%s\n%s\n", - first_foo_ior.in (), - second_foo_ior.in ())); - - int write_result = - this->write_iors_to_file (first_foo_ior.in (), - second_foo_ior.in ()); - if (write_result != 0) - return write_result; - - // Set the poa_manager state to active, ready to process - // requests. - poa_manager_->activate (ACE_TRY_ENV); - - ACE_TRY_CHECK; - - // Run the ORB. - if (orb_->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "CORBA::ORB::run"), - -1); - - // Destroy the root_poa_ and also first_poa and second_poa. - root_poa_->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"Server_i:run ()"); - return 1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/examples/POA/Loader/Server_Manager.h b/TAO/examples/POA/Loader/Server_Manager.h deleted file mode 100644 index 575b60be0ac..00000000000 --- a/TAO/examples/POA/Loader/Server_Manager.h +++ /dev/null @@ -1,106 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ - -//================================================================================= -// -// = LIBRARY -// TAO/examples/POA/Loader -// -// = FILENAME -// Server_Manager.h -// -// = DESCRIPTION -// Helper class for the server application. -// -// = AUTHOR -// Kirthika Parameswaran -// -//================================================================================== - -#ifndef SERVER_MANAGER_H -#define SERVER_MANAGER_H - -#include "ace/streams.h" -#include "Servant_Activator.h" -#include "Servant_Locator.h" - -class Server_i -{ - // = TITLE - // This class provides the server application with helper methods - // - // = DESCRIPTION - // The various methods required by the server application for - // utilizing the ServantActivator and ServantLocator interfaces of - // the Servant Manager are implemented by this class. These - // include initialisation procedures of the ServantActivator and - // ServantLocator, and creation of POAs with emphasis on the - // servant retention policy. -public: - // = Initialization and termination methods. - Server_i (void); - // Initialisation. - - ~Server_i (void); - // Destruction. - - int init (int argc, char **argv); - // Initialisation of the ORB and poa. - - PortableServer::POA_ptr create_poa (const char* name, - int servant_retention_policy); - // This method creates a POA from the root_poa with emphasis being - // on the servant_retention_policy which decides the use of the - // ServantActivator or ServantLocator interfaces. The - // servent_retention_policy value is 1 for the RETAIN policy and 0 - // for the NONRETAIN policy. - - int create_activator (PortableServer::POA_var first_poa); - // A ServantActivator object is created and initialised. - - int create_locator (PortableServer::POA_var second_poa); - // A ServantActivator object is created and initialised. - - int run (void); - // The server is executed. - -private: - int parse_args (int argc, char **argv); - // Parses the input arguments. - - int write_iors_to_file (const char *first_ior, - const char *second_ior); - // The IORs are written to a file for future use. - - char *ior_output_file_; - // Default ior file. - - CORBA::ORB_var orb_; - // The orb pointer. - - CORBA::PolicyList policies_; - // The poa policicies. - - PortableServer::POA_var root_poa_; - // The root_poa which is used for cretaing different child poas. - - PortableServer::POAManager_var poa_manager_; - // The poa_manager object. - - CORBA::Object_var first_foo_; - // The object pointer used by the ServantActivator. - - CORBA::Object_var second_foo_; - // The object pointer used by the Servant Locator. - - ServantActivator_i *servant_activator_impl_; - // The servant activator object. - - ServantLocator_i *servant_locator_impl_; - // The servant locator object. -}; - -#endif /* SERVER_MANAGER_H */ - - - diff --git a/TAO/examples/POA/Loader/run_test.pl b/TAO/examples/POA/Loader/run_test.pl deleted file mode 100755 index a849b92bac7..00000000000 --- a/TAO/examples/POA/Loader/run_test.pl +++ /dev/null @@ -1,106 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$iorfile = "ior"; - -$oneway = ""; -$iterations = 100; - -$extra_args = ""; - -# Parse the arguments -for ($i = 0; $i <= $#ARGV; $i++) -{ - SWITCH: - { - if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?") - { - print "run_test [-h] [-i iterations] [-o] [-f ior file]\n"; - print "\n"; - print "-h -- prints this information\n"; - print "-f -- ior file\n"; - print "-i iterations -- specifies iterations\n"; - print "-o -- call issued are oneways\n"; - exit; - } - if ($ARGV[$i] eq "-o") - { - $oneway = "-o"; - last SWITCH; - } - if ($ARGV[$i] eq "-i") - { - $iterations = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - if ($ARGV[$i] eq "-f") - { - $iorfile = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - $extra_args .= " " . $ARGV[$i]; - } -} - -$iorfile_1 = $iorfile."_1"; -$iorfile_2 = $iorfile."_2"; - -unlink $iorfile_1; -unlink $iorfile_2; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", "-f $iorfile $extra_args"); - -if (ACE::waitforfile_timed ($iorfile_1, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_1>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -if (ACE::waitforfile_timed ($iorfile_2, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_2>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - - -$CL_1 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile_1"); - -$client_1 = $CL_1->TimedWait (60); -if ($client_1 == -1) { - print STDERR "ERROR: client 1 timedout\n"; - $CL_1->Kill (); $CL_1->TimedWait (1); -} - -$CL_2 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile_2 -x"); - -$client_2 = $CL_2->TimedWait (60); -if ($client_2 == -1){ - print STDERR "ERROR: client 2 timedout\n"; - $CL_2->Kill (); $CL_2->TimedWait (1); -} - -$server = $SV->TimedWait (5); -if ($server == -1) { - print STDERR "ERROR: server timedout\n"; - $SV->Kill (); $SV->TimedWait (1); -} - -unlink $iorfile_1; -unlink $iorfile_2; - -if ($server !=0 || $client_1 != 0 || $client_2 != 0) { - exit 1; -} - -exit 0; diff --git a/TAO/examples/POA/Loader/server.cpp b/TAO/examples/POA/Loader/server.cpp deleted file mode 100644 index a48a28c96d1..00000000000 --- a/TAO/examples/POA/Loader/server.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// $Id$ - -//============================================================================ -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// Server application to test the Servant Activator and Servant Locator. -// -// = AUTHOR -// Kirthika Parameswaran -// -//============================================================================= - -#include "Server_Manager.h" - -ACE_RCSID(Loader, server, "$Id$") - -int -main (int argc, char **argv) -{ - Server_i server; - - if (server.init (argc, argv) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during Initialisation: init ()\n"), - -1); - - // This POA is used to test the Servant Activator interface and - // hence has an RETAIN policy. - PortableServer::POA_var first_poa = - server.create_poa ("firstPOA", 1); - - if (first_poa.in () == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during first POA creation: create_poa ()\n"), - -1); - - // This poa is used to test the Servant Activator interface and - // hence has an NONRETAIN policy. - PortableServer::POA_var second_poa = - server.create_poa ("secondPOA", 0); - - if (second_poa.in () == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during second POA creation: create_poa ()\n"), - -1); - - // The Servant Activator interface is created and initialised. - if (server.create_activator (first_poa) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during first Servant Activator creation: create_activator()\n"), - -1); - - // The Servant Locator interface is created and initialised. - if (server.create_locator (second_poa) !=0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during first Servant Locator creation: create_activator()\n"), - -1); - - // The server begins processing requests. - if (server.run () != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during request processing: run ()\n"), - -1); - return 0; -} diff --git a/TAO/examples/POA/Loader/server.dsp b/TAO/examples/POA/Loader/server.dsp deleted file mode 100644 index ab444c08630..00000000000 --- a/TAO/examples/POA/Loader/server.dsp +++ /dev/null @@ -1,124 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA Loader Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA Loader Server - 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 "POA Loader Server.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 "POA Loader Server.mak" CFG="POA Loader Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA Loader Server - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "POA Loader Server - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA Loader Server - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /out:"Release/server.exe" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "POA Loader Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /out:"server.exe" /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "POA Loader Server - Win32 Release" -# Name "POA Loader Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Servant_Activator.cpp -# End Source File -# Begin Source File - -SOURCE=.\Servant_Locator.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# Begin Source File - -SOURCE=.\Server_Manager.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Servant_Activator.h -# End Source File -# Begin Source File - -SOURCE=.\Servant_Locator.h -# End Source File -# Begin Source File - -SOURCE=.\Server_Manager.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/Makefile b/TAO/examples/POA/Makefile deleted file mode 100644 index 5baca8405f4..00000000000 --- a/TAO/examples/POA/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -# Makefile for the POA tests -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = Generic_Servant \ - Adapter_Activator \ - DSI \ - Default_Servant \ - Explicit_Activation \ - FindPOA \ - Forwarding \ - Loader \ - NewPOA \ - On_Demand_Activation \ - On_Demand_Loading \ - RootPOA \ - Reference_Counted_Servant \ - TIE - -# The following test hasn't been updated yet -# Demux_Test - -#### Does not compile on UNIX: Forwarding \ - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU diff --git a/TAO/examples/POA/NewPOA/Makefile b/TAO/examples/POA/NewPOA/Makefile deleted file mode 100644 index ceda2634492..00000000000 --- a/TAO/examples/POA/NewPOA/Makefile +++ /dev/null @@ -1,301 +0,0 @@ -# -# $Id$ -# - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -BIN = NewPOA - -LSRC = $(addsuffix .cpp,$(BIN)) - -CPPFLAGS += -I$(TAO_ROOT) - -LDLIBS = -lTAO -LDFLAGS += -L$(TAO_ROOT)/tao - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -INSTALL = - -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/NewPOA.o .obj/NewPOA.so .shobj/NewPOA.o .shobj/NewPOA.so: NewPOA.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/NewPOA/NewPOA.cpp b/TAO/examples/POA/NewPOA/NewPOA.cpp deleted file mode 100644 index ee3f514e41f..00000000000 --- a/TAO/examples/POA/NewPOA/NewPOA.cpp +++ /dev/null @@ -1,145 +0,0 @@ -// $Id$ - -// ========================================================================== -// = LIBRARY -// TAO/tests/POA/NewPOA -// -// = FILENAME -// NewPOA.cpp -// -// = DESCRIPTION -// This program demonstrates creation of new POAs, as children of the root POA or the -// existing POA. -// There are three new POA created in this example. -// The hierarchy of POAs looks like this. -// -// /-->first_poa-->first_poa/second_poa -// RootPOA-- -// \-->third_poa -// -// = AUTHOR -// Irfan Pyarali -// ======================================================================== - -#include "tao/corba.h" - -ACE_RCSID(NewPOA, NewPOA, "$Id$") - -int -main (int argc, char **argv) -{ - // CORBA::Environment env; - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // The first step Initialize the ORB - CORBA::ORB_var orb = CORBA::ORB_init (argc, - argv, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Obtain the object reference to the RootPOA. - CORBA::Object_var obj = - orb->resolve_initial_references ("RootPOA"); - - // _narrow() the Object to get the POA object, i.e., the root_poa. - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Policies for the new POAs - CORBA::PolicyList policies (2); - policies.length (2); - - // Threading policy - policies[0] = - root_poa->create_thread_policy (PortableServer::ORB_CTRL_MODEL, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Lifespan policy - policies[1] = - root_poa->create_lifespan_policy (PortableServer::TRANSIENT, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Creation of the firstPOA - ACE_CString name = "firstPOA"; - PortableServer::POA_var first_poa = - root_poa->create_POA (name.c_str (), - PortableServer::POAManager::_nil (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Creation of the new POA, i.e. firstPOA/secondPOA - name = "secondPOA"; - PortableServer::POA_var second_poa = - first_poa->create_POA (name.c_str (), - PortableServer::POAManager::_nil (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Creating thirdPOA. - name = "thirdPOA"; - - PortableServer::POA_var third_poa = - root_poa->create_POA (name.c_str (), - PortableServer::POAManager::_nil (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Creation of the new POAs over, so destroy the Policy_ptr's. - for (CORBA::ULong i = 0; - i < policies.length (); - ++i) - { - CORBA::Policy_ptr policy = policies[i]; - policy->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - // Get the names of all the POAs and print them out. - - CORBA::String_var root_poa_name = - root_poa->the_name (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var first_poa_name = - first_poa->the_name (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var second_poa_name = - second_poa->the_name (ACE_TRY_ENV); - ACE_TRY_CHECK; - - - CORBA::String_var third_poa_name = - third_poa->the_name (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "%s\n%s\n%s\n%s\n", - root_poa_name.in (), - first_poa_name.in (), - second_poa_name.in (), - third_poa_name.in ())); - - // This should destroy all its children - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception caught in main "); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/NewPOA/NewPOA.dsp b/TAO/examples/POA/NewPOA/NewPOA.dsp deleted file mode 100644 index cf52605aa51..00000000000 --- a/TAO/examples/POA/NewPOA/NewPOA.dsp +++ /dev/null @@ -1,99 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA NewPOA" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA NewPOA - 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 "NewPOA.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 "NewPOA.mak" CFG="POA NewPOA - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA NewPOA - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "POA NewPOA - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA NewPOA - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA NewPOA - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA NewPOA - Win32 Release" -# Name "POA NewPOA - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\NewPOA.cpp -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/NewPOA/NewPOA.dsw b/TAO/examples/POA/NewPOA/NewPOA.dsw deleted file mode 100644 index 479df568d1c..00000000000 --- a/TAO/examples/POA/NewPOA/NewPOA.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "NewPOA"=.\NewPOA.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/NewPOA/README b/TAO/examples/POA/NewPOA/README deleted file mode 100644 index 347c22c8df2..00000000000 --- a/TAO/examples/POA/NewPOA/README +++ /dev/null @@ -1,15 +0,0 @@ -This application explains the usage scenario, where new POAs will have -to be created. - -Run this example as follows. - -% NewPOA - -Comments : -========= - - - Creates the POA hierarchy as given in the header of the NewPOA.cpp - file. - - - Prints out names of all the POAs. - diff --git a/TAO/examples/POA/NewPOA/run_test.pl b/TAO/examples/POA/NewPOA/run_test.pl deleted file mode 100755 index ab550847c8d..00000000000 --- a/TAO/examples/POA/NewPOA/run_test.pl +++ /dev/null @@ -1,17 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$TEST = Process::Create ($EXEPREFIX."NewPOA$EXE_EXT", ""); -if ($TEST->TimedWait (60) == -1) { - print STDERR "ERROR: test timedout\n"; - $TEST->Kill (); $TEST->TimedWait (1); - exit 1; -} -exit 0; diff --git a/TAO/examples/POA/On_Demand_Activation/Makefile b/TAO/examples/POA/On_Demand_Activation/Makefile deleted file mode 100644 index 1bd3f3d4540..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/Makefile +++ /dev/null @@ -1,832 +0,0 @@ -# -# $Id$ -# - -BIN = server - -MYFILES = Servant_Activator Servant_Locator - -SRC = $(addsuffix .cpp,$(MYFILES)) $(addsuffix .cpp, $(BIN)) -OBJ = $(addsuffix .o,$(MYFILES)) - -CPPFLAGS += -I$(TAO_ROOT) -I../Generic_Servant - -LDLIBS = -lGeneric_Servant -lTAO -LDFLAGS += -L$(TAO_ROOT)/tao -L../Generic_Servant - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -INSTALL = - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Servant_Activator.o .obj/Servant_Activator.so .shobj/Servant_Activator.o .shobj/Servant_Activator.so: Servant_Activator.cpp Servant_Activator.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ../Generic_Servant/MyFooServant.h ../Generic_Servant/FooS.h \ - ../Generic_Servant/FooC.h ../Generic_Servant/generic_servant_export.h \ - ../Generic_Servant/FooC.i ../Generic_Servant/FooS_T.h \ - ../Generic_Servant/FooS_T.i ../Generic_Servant/FooS_T.cpp \ - ../Generic_Servant/FooS.i -.obj/Servant_Locator.o .obj/Servant_Locator.so .shobj/Servant_Locator.o .shobj/Servant_Locator.so: Servant_Locator.cpp Servant_Locator.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ../Generic_Servant/MyFooServant.h ../Generic_Servant/FooS.h \ - ../Generic_Servant/FooC.h ../Generic_Servant/generic_servant_export.h \ - ../Generic_Servant/FooC.i ../Generic_Servant/FooS_T.h \ - ../Generic_Servant/FooS_T.i ../Generic_Servant/FooS_T.cpp \ - ../Generic_Servant/FooS.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - Servant_Activator.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Servant_Locator.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/On_Demand_Activation/On_Demand_Activation.dsw b/TAO/examples/POA/On_Demand_Activation/On_Demand_Activation.dsw deleted file mode 100644 index c1f27728048..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/On_Demand_Activation.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "POA On Demand Activation"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/On_Demand_Activation/README b/TAO/examples/POA/On_Demand_Activation/README deleted file mode 100644 index 392210c8131..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/README +++ /dev/null @@ -1,99 +0,0 @@ -// $Id$ - -On_Demand_Activation Tests: -========================== - -Description: -=========== - -ServantManagers: -=============== - -Servant managers are associated with POAs. A servant manager supplies -a POA with the ability to objects on demand when the POA receives a -request targeted at an inactive object. A servant manager is -registered with a POA as a callback object, to be invoked by the POA -when necessary.An application server that activates all its needed -objects at the beginning of execution does not need to use a servant -manager; it is used only for the case in which an object must be -activated during request processing. - -When the POA has the RETAIN policy it uses servant managers that are -ServantActivators. When the POA has the NON_RETAIN policy it uses -servant managers that are ServantLocators. - -server: -====== - - The test program server creates 2 POAs firstPOA and secondPOA. -firstPOA is created with a RETAIN,USER_ID,USE_SERVANT_MANAGER policy -and MyFooServantActivator is registered as its servant Manager. -secondPOA is created with a NON_RETAIN,USER_ID,USE_SERVANT_MANAGER -policy and MyFooServantLocator is registered as it servant Manager. - - It then creates an object reference from the string "firstFoo" -in firstPOA and prints its IOR.Similarly it creates an object -reference from the string "secondFoo" in secondPOA and prints its -IOR. Finally it changes the state of the POA_Manager to 'active' and -runs the ORB. - -USAGE: -====== - -You can use the run_test.pl perl script or follow these directions: - -%server [-ORBobjrefstyle URL] [-f IOR file] - -client: -====== - The Foo client program is in the path - - TAO/tests/POA/Generic_Servant/client - i.e ../Generic_Servant/client - -% client [-k IOR] [-f IOR file] - -where IOR is got from the server output to the screen or to the IOR file. - -To Test: -======= - -1. Run the server - -Servant Activator: -=================== - -2. Get the IOR for "firstFOO" from the server output . - -3. Run client -k IOR - -4. You should get an output - - 27 - -along with some diagnostic messages. - -Servant Locator: -================= - -2. Get the IOR for "secondFoo" from the server output - -3. Run client -k IOR - -4. The first time a client is run you should get an output - - 2 (or 1) - -along with some diagnostic messages. - -5. Subsequent runs of the client program results in the output - incremented by 2 (or 1). - -6. Thus, the second run of client should give you an output 4 (or 2). - - - - - - - diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp b/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp deleted file mode 100644 index da07b2643ae..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/POA/On_Demand_Activation/Servant_Activator -// -// = FILENAME -// Servant_Activator.cpp -// -// = DESCRIPTION -// Implementation of MyFooServantActivator , which is used by a -// POA with a RETAIN policy. -// -// = AUTHOR -// Irfan Pyarali -// -// ============================================================================ - -#include "Servant_Activator.h" -#include "MyFooServant.h" - -ACE_RCSID(On_Demand_Activation, Servant_Activator, "$Id$") - -MyFooServantActivator::MyFooServantActivator (CORBA::ORB_ptr orb) - : orb_ (CORBA::ORB::_duplicate (orb)) -{ -} - -PortableServer::Servant -MyFooServantActivator::incarnate (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::Environment &ACE_TRY_ENV) -{ - // Convert ObjectId to String. - - CORBA::String_var s = PortableServer::ObjectId_to_string (oid); - - // If ObjectId string has a Foo Substring, create and return a - // MyFooServant. - - if (ACE_OS::strstr (s.in (), "Foo") != 0) - return new MyFooServant (this->orb_.in (), poa, 27); - else - { - ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (), 0); - //CORBA::Exception *exception = new CORBA::OBJECT_NOT_EXIST (); - //env.exception (exception); - //return 0; - } -} - - -void -MyFooServantActivator::etherealize (const PortableServer::ObjectId &, - PortableServer::POA_ptr , - PortableServer::Servant servant, - CORBA::Boolean , - CORBA::Boolean remaining_activations, - CORBA::Environment &) -{ - - // If there are no remaining activations i.e ObjectIds associated - // with MyFooServant delete it. - - if (remaining_activations == 0) - delete servant; -} diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h b/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h deleted file mode 100644 index bdf0fdda78a..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h +++ /dev/null @@ -1,45 +0,0 @@ -// $Id$ - -//================================================================================= -// -// = LIBRARY -// TAO/tests/POA/On_Demand_Activation/Servant_Activator -// -// = FILENAME -// Servant_Activator.h -// -// = DESCRIPTION -// Defines a MyFooServantActivator class. -// -// = AUTHOR -// Irfan Pyarali -// -//================================================================================== - -#include "tao/corba.h" - -class MyFooServantActivator : public POA_PortableServer::ServantActivator -{ -public: - MyFooServantActivator (CORBA::ORB_ptr orb); - - virtual PortableServer::Servant incarnate (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::Environment &env); - // This method is invoked by a POA with USE_SERVANT_MANAGER and - // RETAIN policies , whenever it receives a request for a MyFoo - // object that is not currently active. - - virtual void etherealize (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - PortableServer::Servant servant, - CORBA::Boolean cleanup_in_progress, - CORBA::Boolean remaining_activations, - CORBA::Environment &env); - // This method is invoked whenever a MyFooServant for a MyFoo object - // is deactivated. - -private: - CORBA::ORB_var orb_; - // A reference to the ORB. -}; diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp b/TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp deleted file mode 100644 index 3ee40ec6b0b..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp +++ /dev/null @@ -1,83 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/POA/On_Demand_Activation/Servant_Locator -// -// = FILENAME -// Servant_Locator.cpp -// -// = DESCRIPTION -// Implementation of MyFooServantLocator class , used with a POA -// having a NON_RETAIN policy. -// -// = AUTHOR -// Irfan Pyarali -// -// ============================================================================ - -#include "Servant_Locator.h" -#include "MyFooServant.h" - -ACE_RCSID(On_Demand_Activation, Servant_Locator, "$Id$") - -MyFooServantLocator::MyFooServantLocator (CORBA::ORB_ptr orb) - : counter_ (0), - orb_ (CORBA::ORB::_duplicate (orb)) -{ -} - - -PortableServer::Servant -MyFooServantLocator::preinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - const char * /* operation */, - PortableServer::ServantLocator::Cookie &cookie, - CORBA::Environment &ACE_TRY_ENV) -{ - // Convert ObjectID to String. - - CORBA::String_var s = PortableServer::ObjectId_to_string (oid); - // If ObjectID string has a Foo Substring create and return a - // MyFooServant. - - if (ACE_OS::strstr (s.in (), "Foo") != 0) - { - PortableServer::Servant servant = - new MyFooServant (this->orb_.in (), poa, ++this->counter_); - - // Return the servant as the cookie , used as a check when - // postinvoke is called on this MyFooServantLocator. - - cookie = servant; - return servant; - } - else - { - ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (), 0); - // - //CORBA::Exception *exception = - // new CORBA::OBJECT_NOT_EXIST (); - //env.exception (exception); - //return 0; - } -} - -void -MyFooServantLocator::postinvoke (const PortableServer::ObjectId & /* oid */, - PortableServer::POA_ptr /* poa */, - const char * /* operation */, - PortableServer::ServantLocator::Cookie cookie, - PortableServer::Servant servant, - CORBA::Environment &/* env */) -{ - // Check the passed servant with the cookie. - - PortableServer::Servant my_servant = (PortableServer::Servant) cookie; - ACE_ASSERT (servant == my_servant); - delete servant; - - // To avoid warning about unused variable with ACE_NDEBUG. - ACE_UNUSED_ARG (my_servant); -} diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.h b/TAO/examples/POA/On_Demand_Activation/Servant_Locator.h deleted file mode 100644 index b65c72e5886..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.h +++ /dev/null @@ -1,53 +0,0 @@ -// $Id$ - -//================================================================================ -// -// = LIBRARY -// TAO/tests/POA/On_Demand_Activation/Servant_Locator -// -// = FILENAME -// Servant_Locator.h -// -// = DESCRIPTION -// Defines a MyFooServantLocator class , used with a POA having -// a NON_RETAIN policy -// -// = AUTHOR -// Irfan Pyarali -// -//================================================================================== - -#include "tao/corba.h" - -class MyFooServantLocator : public POA_PortableServer::ServantLocator -{ - // = TITLE - // This class is used by a POA with USE_SERVANT_MANAGER and - // NON_RETAIN policy. -public: - MyFooServantLocator (CORBA::ORB_ptr orb); - // constructor - - virtual PortableServer::Servant preinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - const char *operation, - PortableServer::ServantLocator::Cookie &the_cookie, - CORBA::Environment &env); - // This method is invoked by a POA whenever it receives a request - // for MyFoo object that is not currently active. - - virtual void postinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - const char *operation, - PortableServer::ServantLocator::Cookie the_cookie, - PortableServer::Servant the_servant, - CORBA::Environment &env); - // This method is invoked whenever a MyFooServant completes a - // request. - -private: - int counter_; - // Counter for number of invocations of this. - - CORBA::ORB_var orb_; -}; diff --git a/TAO/examples/POA/On_Demand_Activation/run_test.pl b/TAO/examples/POA/On_Demand_Activation/run_test.pl deleted file mode 100755 index 4ecc0919225..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/run_test.pl +++ /dev/null @@ -1,105 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$iorfile = "ior"; - -$oneway = ""; -$iterations = 100; - -$extra_args = ""; - -# Parse the arguments -for ($i = 0; $i <= $#ARGV; $i++) -{ - SWITCH: - { - if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?") - { - print "run_test [-h] [-i iterations] [-o] [-f ior file]\n"; - print "\n"; - print "-h -- prints this information\n"; - print "-f -- ior file\n"; - print "-i iterations -- specifies iterations\n"; - print "-o -- call issued are oneways\n"; - exit; - } - if ($ARGV[$i] eq "-o") - { - $oneway = "-o"; - last SWITCH; - } - if ($ARGV[$i] eq "-i") - { - $iterations = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - if ($ARGV[$i] eq "-f") - { - $iorfile = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - $extra_args .= " " . $ARGV[$i]; - } -} - -$iorfile_1 = $iorfile."_1"; -$iorfile_2 = $iorfile."_2"; - -unlink $iorfile_1; -unlink $iorfile_2; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", "-f $iorfile $extra_args"); - -if (ACE::waitforfile_timed ($iorfile_1, 15) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_1>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -if (ACE::waitforfile_timed ($iorfile_2, 15) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_2>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$CL_1 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - "$extra_args $oneway -i $iterations -f $iorfile_1"); - -$client_1 = $CL_1->TimedWait (60); -if ($client_1 == -1) { - print STDERR "ERROR: client 1 timedout\n"; - $CL_1->Kill (); $CL_1->TimedWait (1); -} - -$CL_2 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - "$extra_args $oneway -i $iterations -f $iorfile_2 -x"); - -$client_2 = $CL_2->TimedWait (60); -if ($client_2 == -1) { - print STDERR "ERROR: client 2 timedout\n"; - $CL_2->Kill (); $CL_2->TimedWait (1); -} - -$server = $SV->TimedWait (5); -if ($server == -1) { - print STDERR "ERROR: server timedout\n"; - $SV->Kill (); $SV->TimedWait (1); -} - -unlink $iorfile_1; -unlink $iorfile_2; - -if ($server != 0 || $client_1 != 0 || $client_2 != 0){ - exit 1; -} - -exit 0; diff --git a/TAO/examples/POA/On_Demand_Activation/server.cpp b/TAO/examples/POA/On_Demand_Activation/server.cpp deleted file mode 100644 index bbeaa488575..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/server.cpp +++ /dev/null @@ -1,294 +0,0 @@ -// $Id$ - -//============================================================================ -// -// =FILENAME -// server.cpp -// -// =DESCRIPTION -// Server to test the Servant Activator and Servant Locator for a POA. -// -// =AUTHOR -// Irfan Pyarali -// -//============================================================================= - -#include "ace/streams.h" -#include "ace/Get_Opt.h" -#include "Servant_Activator.h" -#include "Servant_Locator.h" - -ACE_RCSID(On_Demand_Activation, server, "$Id$") - -static char *ior_output_file = 0; - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "f:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'f': - ior_output_file = get_opts.optarg; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "[-f ior_output_file] " - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -static int -write_iors_to_file (const char *first_ior, - const char *second_ior) -{ - if (ior_output_file == 0) - // No filename was specified; simply return - return 0; - - char ior_output_file_1[BUFSIZ]; - char ior_output_file_2[BUFSIZ]; - - ACE_OS::sprintf (ior_output_file_1, "%s_1", ior_output_file); - ACE_OS::sprintf (ior_output_file_2, "%s_2", ior_output_file); - - FILE *output_file_1 = ACE_OS::fopen (ior_output_file_1, "w"); - FILE *output_file_2 = ACE_OS::fopen (ior_output_file_2, "w"); - - if (output_file_1 == 0 || - output_file_2 == 0) - ACE_ERROR_RETURN ((LM_ERROR, "Cannot open output files for writing IORs: %s, %s\n", - ior_output_file_1, - ior_output_file_2), - -1); - - int result = ACE_OS::fprintf (output_file_1, - "%s", - first_ior); - if (result <= 0 - || ACE_static_cast(size_t,result) != ACE_OS::strlen (first_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - first_ior, - ior_output_file_1), - -1); - - result = ACE_OS::fprintf (output_file_2, - "%s", - second_ior); - if (result <= 0 - || ACE_static_cast(size_t,result) != ACE_OS::strlen (second_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - second_ior, - ior_output_file_2), - -1); - - ACE_OS::fclose (output_file_1); - ACE_OS::fclose (output_file_2); - - return 0; -} - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initialize the ORB. - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - int result = parse_args (argc, argv); - if (result != 0) - return result; - - // Get an Object reference to RootPOA. - CORBA::Object_var obj = - orb->resolve_initial_references ("RootPOA"); - - // Narrow the Object reference to a POA reference - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the POAManager of RootPOA - - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - - ACE_TRY_CHECK; - - CORBA::PolicyList policies (4); - policies.length (4); - - // ID Assignment Policy - policies[0] = - root_poa->create_id_assignment_policy (PortableServer::USER_ID, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Lifespan Policy - policies[1] = - root_poa->create_lifespan_policy (PortableServer::PERSISTENT, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Request Processing Policy - policies[2] = - root_poa->create_request_processing_policy (PortableServer::USE_SERVANT_MANAGER, ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POA_var first_poa; - { - // Servant Retention Policy - policies[3] = - root_poa->create_servant_retention_policy (PortableServer::RETAIN, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_CString name = "firstPOA"; - - // Create firstPOA as the child of RootPOA with the above policies - // firstPOA will use SERVANT_ACTIVATOR because of RETAIN policy. - first_poa = root_poa->create_POA (name.c_str (), - poa_manager.in (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - - PortableServer::POA_var second_poa; - { - // Servant Retention Policy - policies[3] = - root_poa->create_servant_retention_policy (PortableServer::NON_RETAIN, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_CString name = "secondPOA"; - - // Create secondPOA as child of RootPOA with the above policies - // secondPOA will use a SERVANT_LOCATOR because of NON_RETAIN - // policy. - second_poa = root_poa->create_POA (name.c_str (), - poa_manager.in (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - - // Destroy the policy objects as they have been passed to - // create_POA and no longer needed. - for (CORBA::ULong i = 0; - i < policies.length (); - ++i) - { - CORBA::Policy_ptr policy = policies[i]; - policy->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - MyFooServantActivator servant_activator_impl (orb.in ()); - PortableServer::ServantActivator_var servant_activator = - servant_activator_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Set MyFooServantActivator object as the servant_manager of - // firstPOA. - - first_poa->set_servant_manager (servant_activator.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Create a reference with user created ID in firstPOA which uses - // the MyFooServantActivator. - - PortableServer::ObjectId_var first_foo_oid = - PortableServer::string_to_ObjectId ("firstFoo"); - - CORBA::Object_var first_foo = - first_poa->create_reference_with_id (first_foo_oid.in (), "IDL:Foo:1.0", ACE_TRY_ENV); - ACE_TRY_CHECK; - - - MyFooServantLocator servant_locator_impl (orb.in ()); - PortableServer::ServantLocator_var servant_locator = - servant_locator_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - - // Set MyFooServantLocator object as the servant Manager of - // secondPOA. - second_poa->set_servant_manager (servant_locator.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Try to create a reference with user created ID in second_poa - // which uses MyFooServantLocator. - - PortableServer::ObjectId_var second_foo_oid = - PortableServer::string_to_ObjectId ("secondFoo"); - - CORBA::Object_var second_foo = - second_poa->create_reference_with_id (second_foo_oid.in (), - "IDL:Foo:1.0", ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Invoke object_to_string on the references created in firstPOA and - // secondPOA. - - CORBA::String_var first_foo_ior = - orb->object_to_string (first_foo.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - - CORBA::String_var second_foo_ior = - orb->object_to_string (second_foo.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Print the ior's of first_foo and second_foo. - - ACE_DEBUG((LM_DEBUG,"%s\n%s\n", - first_foo_ior.in (), - second_foo_ior.in ())); - - int write_result = write_iors_to_file (first_foo_ior.in (), - second_foo_ior.in ()); - if (write_result != 0) - return write_result; - - // Set the poa_manager state to active, ready to process requests. - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Run the ORB. - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1); - - // Destroy the root_poa and also first_poa and second_poa - - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception caught in main"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/On_Demand_Activation/server.dsp b/TAO/examples/POA/On_Demand_Activation/server.dsp deleted file mode 100644 index bda559e7e0b..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/server.dsp +++ /dev/null @@ -1,119 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA On Demand Activation Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA On Demand Activation Server - 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 "server.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 "server.mak" CFG="POA On Demand Activation Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA On Demand Activation Server - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "POA On Demand Activation Server - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA On Demand Activation Server - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 tao.lib ace.lib ..\Generic_Servant\Generic_Servant.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA On Demand Activation Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 ..\Generic_Servant\Generic_Servantd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA On Demand Activation Server - Win32 Release" -# Name "POA On Demand Activation Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Servant_Activator.cpp -# End Source File -# Begin Source File - -SOURCE=.\Servant_Locator.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Servant_Activator.h -# End Source File -# Begin Source File - -SOURCE=.\Servant_Locator.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/On_Demand_Loading/Makefile b/TAO/examples/POA/On_Demand_Loading/Makefile deleted file mode 100644 index 91c487ad3f0..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/Makefile +++ /dev/null @@ -1,1348 +0,0 @@ -# -# $Id$ -# - -BIN = server - -MYFILES = Server_Manager \ - Servant_Manager \ - Servant_Activator \ - Servant_Locator - -SRC = $(addsuffix .cpp,$(MYFILES)) $(addsuffix .cpp, $(BIN)) -OBJ = $(addsuffix .o,$(MYFILES)) - -CPPFLAGS += -I$(TAO_ROOT) - -LDLIBS = -lTAO -LDFLAGS += -L$(TAO_ROOT)/tao - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -INSTALL = - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Server_Manager.o .obj/Server_Manager.so .shobj/Server_Manager.o .shobj/Server_Manager.so: Server_Manager.cpp Server_Manager.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - Servant_Activator.h Servant_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/DLL.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/Signal.h \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Servant_Locator.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i -.obj/Servant_Manager.o .obj/Servant_Manager.so .shobj/Servant_Manager.o .shobj/Servant_Manager.so: Servant_Manager.cpp Servant_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/DLL.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/Signal.h \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h -.obj/Servant_Activator.o .obj/Servant_Activator.so .shobj/Servant_Activator.o .shobj/Servant_Activator.so: Servant_Activator.cpp Servant_Activator.h \ - Servant_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/DLL.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/Signal.h \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h -.obj/Servant_Locator.o .obj/Servant_Locator.so .shobj/Servant_Locator.o .shobj/Servant_Locator.so: Servant_Locator.cpp Servant_Locator.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(ACE_ROOT)/ace/DLL.h \ - Servant_Manager.h -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp Server_Manager.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - Servant_Activator.h Servant_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/DLL.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/Signal.h \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Servant_Locator.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/On_Demand_Loading/On_Demand_Loading.dsw b/TAO/examples/POA/On_Demand_Loading/On_Demand_Loading.dsw deleted file mode 100644 index 0024cc02e62..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/On_Demand_Loading.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "POA On Demand Loading Server"=".\server.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/On_Demand_Loading/README b/TAO/examples/POA/On_Demand_Loading/README deleted file mode 100644 index 1e54111f6f9..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/README +++ /dev/null @@ -1,57 +0,0 @@ -$Id$ - -On_Demand_Loading Example -------------------------- - -This example illustrates how to dynamically link and load servants -into a POA in a platform-independent manner using the ACE_DLL feature -and standard CORBA Servant Manager features. In the example, the POA -is configured with the USE_SERVANT_MANAGER policy value, which relies -on an application supplied Servant Manager object to supply -object/server associations. - -If the POA has the RETAIN value for the servant retention, the POA -expects the Servant Manager to implement the Servant Activator -interface. Conversely, when the POA is created with the NON_RETAIN -value for servant retention, the Servant Manager must implement the -Servant_Locator interface. - -This example illustrates both Servant Activator and Servant_Locator -interfaces. The servant object is created by a factory function that -resides in a DLL that is linked and loaded into the server's address -space on-demand when client requests arrive. The ObjectID in each -client request indicates which DLL name and which factory function to -use to create the servant. - -For the Servant_Activator example, once the servant is loaded, the -Object-to-Servant association is added to the Active Object Map -maintained by the POA. This association becomes invalid when the POA -is destroyed or/and the Object is deactivated. In contrast, for the -Servant_Locator example operation request from the client causes the -servant to be linked, processed, destroyed, and unlinked. For all -examples, the dynamic configuration granularity is at the object -level, i.e., every object is associated with a DLL that is linked and -loaded into memory on-demand. - -Note that the server need not be statically linked with the DLL. The -DLL name and the factory function used to obtain the servant can be -provided to the server at run-time. This gives us the flexibility of -modifying and linking the servant without having to statically link -the server along with the DLL. - -Execution: ---------- - - Run the run_test_pl perl script. - -example: - run_test_pl -f ior_file - -The output will demonstrate the different actions performed by the -Servant_Manager via the Servant_Activator and the Servant_Locator -interfaces. - -NOTE: If directly running run_test.pl srcipt then by default the example -uses Generic_Servant as the servant. Hence its necessary to build -$TAO_ROOT/examples/POA/Generic_Servant before you build and run this -example. diff --git a/TAO/examples/POA/On_Demand_Loading/Servant_Activator.cpp b/TAO/examples/POA/On_Demand_Loading/Servant_Activator.cpp deleted file mode 100644 index 90351b5df31..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/Servant_Activator.cpp +++ /dev/null @@ -1,84 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/POA/On_Demand_Loading -// -// = FILENAME -// Servant_Activator.cpp -// -// = DESCRIPTION -// Implementation of , which is used by a POA -// with a RETAIN policy. -// -// = AUTHOR -// Kirthika Parameswaran -// -// ============================================================================ - -#include "Servant_Activator.h" - -ACE_RCSID(On_Demand_Loading, Servant_Activator, "$Id$") - -// Initialization. - -ServantActivator_i::ServantActivator_i (CORBA::ORB_ptr orb) - : servant_manager_ (orb) -{ -} - -// This method associates an servant with the ObjectID. - -PortableServer::Servant -ServantActivator_i::incarnate (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::Environment &ACE_TRY_ENV) -{ - // Convert ObjectId to String. - CORBA::String_var s = - PortableServer::ObjectId_to_string (oid); - - // Activate and return the servant else exception. - PortableServer::Servant servant = - this->servant_manager_.obtain_servant (s.in (), - poa, - 27); - if (servant != 0) - return servant; - else - ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (), - 0); -} - -// This is the method invoked when the object is deactivated or the -// entire POA is is deactivated or destroyed. - -void -ServantActivator_i::etherealize (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr, - PortableServer::Servant servant, - CORBA::Boolean, - CORBA::Boolean remaining_activations, - CORBA::Environment &) -{ - // If there are no remaining activations i.e ObjectIds associated - // with MyFooServant object, deactivate it. Etheralization happens - // on POA::destroy() and/or Object::deactivate(). - - if (remaining_activations == 0) - this->servant_manager_.destroy_servant (servant, oid); -} - -// This method returns an ObjectId when given an dll name and the -// factory function to be invoked in the dll. The format of the -// ObjectId is . - -PortableServer::ObjectId_var -ServantActivator_i::create_dll_object_id (const char *dllname, - const char *factory_function) -{ - return this->servant_manager_.create_dll_object_id (dllname, - factory_function); -} - diff --git a/TAO/examples/POA/On_Demand_Loading/Servant_Activator.h b/TAO/examples/POA/On_Demand_Loading/Servant_Activator.h deleted file mode 100644 index c7b838d0c0a..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/Servant_Activator.h +++ /dev/null @@ -1,78 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ - -//================================================================================= -// -// = LIBRARY -// TAO/examples/POA/On_Demand_Loading -// -// = FILENAME -// Servant_Activator.h -// -// = DESCRIPTION -// Defines a class, which uses a -// Servant_Manager to activate a servant by loading it and -// associates it with an object on-demand. -// -// = AUTHOR -// Kirthika Parameswaran -// -//================================================================================== - -#ifndef SERVANT_ACTIVATOR_H -#define SERVANT_ACTIVATOR_H - -#include "Servant_Manager.h" - -class ServantActivator_i : public POA_PortableServer::ServantActivator -{ - //= TITLE - // Servant Activator for the MyFoo servant. - // - //= DESCRIPTION - // This class associates an unassociated servant with an object in - // the POA Active Object Map. -public: - ServantActivator_i (CORBA::ORB_ptr orb); - // Initialization. - - virtual PortableServer::Servant incarnate (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::Environment &ACE_TRY_ENV); - // This method is invoked by a POA with USE_SERVANT_MANAGER and - // RETAIN policies, whenever it receives a request for a - // MyFooServant object that is not currently active. When an servant - // pointer corresponding to objectId is not found in the Active - // Object Map, the POA hands over the job of obtaining the servant - // to the Servant Manager. Depending upon whether the POA is created - // with RETAIN or NON_RETAIN as the servant_retention policy, the - // Servant Activator or the Servant Locator interface is invoked - // respectively. - - virtual void etherealize (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - PortableServer::Servant servant, - CORBA::Boolean cleanup_in_progress, - CORBA::Boolean remaining_activations, - CORBA::Environment &ACE_TRY_ENV); - // This method is invoked whenever a MyFooServant for a MyFoo object - // is deactivated. This occurs when the POA is destroyed or the - // Object is deactivated. When the POA is getting destroyed, it - // needs to deactivate every object in the Active Object Map and on - // that call the ServantActivator invokes this method which will - // destroy the servant associated with the object. - - PortableServer::ObjectId_var create_dll_object_id (const char *dllname, - const char *factory_function); - // Returns an ObjectId when given a DLL name and the factory - // function in the DLL that will create an appropriate Servant. - -private: - ServantManager_i servant_manager_; - // An ServantManager object that provides utility methods. The - // methods include obtaining the servant using an ACE_DLL object, - // destroying the servant and extracting the dllname and factory - // function from the ObjectId. -}; - -#endif /* SERVANT_ACTIVATOR_H */ diff --git a/TAO/examples/POA/On_Demand_Loading/Servant_Locator.cpp b/TAO/examples/POA/On_Demand_Loading/Servant_Locator.cpp deleted file mode 100644 index ce56ddbd2f8..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/Servant_Locator.cpp +++ /dev/null @@ -1,101 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/POA/On_Demand_Loading -// -// = FILENAME -// Servant_Locator.cpp -// -// = DESCRIPTION -// Implementation of ServantLocator_i class, used with a POA -// having a NON_RETAIN policy. -// -// = AUTHOR -// Kirthika Parameswaran -// -// ============================================================================ - -#include "Servant_Locator.h" - -ACE_RCSID(On_Demand_Activation, Servant_Locator, "$Id$") - -// Initialization. - -ServantLocator_i::ServantLocator_i (CORBA::ORB_ptr orb) - : servant_manager_ (orb) -{ -} - -// This method associates an servant with the ObjectID. - -PortableServer::Servant -ServantLocator_i::preinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - const char * /* operation */, - PortableServer::ServantLocator::Cookie &cookie, - CORBA::Environment &ACE_TRY_ENV) -{ - // Convert ObjectID to String. - - CORBA::String_var s = - PortableServer::ObjectId_to_string (oid); - - // If ObjectID string has a Foo Substring create and return a - // MyFooServant. - - PortableServer::Servant servant = - this->servant_manager_.obtain_servant (s.in (), - poa, - 27); - if (servant != 0) - { - // Return the servant as the cookie , used as a check when - // postinvoke is called on this ServantLocator_i. - - cookie = servant; - return servant; - } - else - ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (), - 0); -} - -// Since the servant gets invoked per operation, the servant has to be -// destroyed per operation too. This is accomplished in the -// postinvoke method. - -void -ServantLocator_i::postinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr /* poa */, - const char * /* operation */, - PortableServer::ServantLocator::Cookie cookie, - PortableServer::Servant servant, - CORBA::Environment &/* ACE_TRY_ENV */) -{ - // Check the passed servant with the cookie. - - PortableServer::Servant my_servant = - ACE_reinterpret_cast (PortableServer::Servant, - cookie); - - ACE_ASSERT (servant == my_servant); - - this->servant_manager_.destroy_servant (servant, - oid); - // To avoid warning about unused variable with ACE_NDEBUG. - ACE_UNUSED_ARG (my_servant); -} - -// This method returns an ObjectId when given an dll name and the -// factory function to be invoked in the dll. The format of the -// ObjectId is libname:factory_function. - -PortableServer::ObjectId_var -ServantLocator_i::create_dll_object_id (const char *dllname, - const char *factory_function) -{ - return this->servant_manager_.create_dll_object_id (dllname, - factory_function); -} diff --git a/TAO/examples/POA/On_Demand_Loading/Servant_Locator.h b/TAO/examples/POA/On_Demand_Loading/Servant_Locator.h deleted file mode 100644 index 46428ea86b9..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/Servant_Locator.h +++ /dev/null @@ -1,82 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ - -//================================================================================ -// -// = LIBRARY -// TAO/examples/POA/On_Demand_Loading -// -// = FILENAME -// Servant_Locator.h -// -// = DESCRIPTION -// Defines a ServantLocator_i class , used with a POA having -// a NON_RETAIN policy. -// -// = AUTHOR -// Kirthika Parameswaran -// -//================================================================================== - -#ifndef SERVANT_LOCATOR_H -#define SERVANT_LOCATOR_H - -#include "tao/corba.h" -#include "ace/DLL.h" -#include "Servant_Manager.h" - -class ServantLocator_i : public POA_PortableServer::ServantLocator -{ - // = TITLE - // This class is used by a POA with USE_SERVANT_MANAGER and - // NON_RETAIN policy. - // - // = DESCRIPTION - // This class defines the Servant Locator interface of the Servant - // Manager. It is invoked when the POA has an USE_SERVANT_MANAGER - // policy and a servant_retention policy of NON_RETAIN type. -public: - ServantLocator_i (CORBA::ORB_ptr orb); - // Constructor. - - virtual PortableServer::Servant preinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - const char *operation, - PortableServer::ServantLocator::Cookie &the_cookie, - CORBA::Environment &ACE_TRY_ENV); - // This method is invoked by a POA whenever it receives a request - // for MyFoo object that is not currently active. When the POA is - // created using the NON_RETAIN policy the Active Object Map is not - // maintained, in other words, an association between the ObjectId - // and the servant is not maintained. Hence every client request the - // servant has to be loaded. Note the operation argument. This - // argument specifies the operation to be invoked on the - // servant. The cookie helps in marking the servant. This marking is - // useful while destroying the servant. - - virtual void postinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - const char *operation, - PortableServer::ServantLocator::Cookie the_cookie, - PortableServer::Servant the_servant, - CORBA::Environment &ACE_TRY_ENV); - // This method is invoked whenever a MyFooServant completes a - // request. As the Servant Loactor interface is used when the POA - // doesnt maintain the Active Object Map, its necessary to get rid - // of the servant after the client request has been processed. The - // appropriate servant is destroyed by verifying the cookie.Again - // this method is invoked per client request. - - PortableServer::ObjectId_var create_dll_object_id (const char *dllname, - const char *factory_function); - // Returns an ObjectId when given an dll name and the factory method - // to be invoked in the dll. -private: - ServantManager_i servant_manager_; - // The object that provides utility methods. The - // methods include obtaining the servant using an ACE_DLL object, - // destroying the servant and extracting the dllname and factory - // function from the ObjectId. -}; - -#endif /* SERVANT_LOCATOR_H */ diff --git a/TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp b/TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp deleted file mode 100644 index 85876ce40eb..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp +++ /dev/null @@ -1,192 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/POA/On_Demand_Loading -// -// = FILENAME -// Servant_Manager.cpp -// -// = DESCRIPTION -// Implementation of the helper class for the ServantActivator_i -// and the ServantLocator_i. -// -// = AUTHOR -// Kirthika Parameswaran -// -// ============================================================================ - -#include "Servant_Manager.h" - -ACE_RCSID(On_Demand_Activation, Servant_Manager, "$Id$") - - // Initialization. - ServantManager_i::ServantManager_i (CORBA::ORB_ptr orb) - : orb_ (CORBA::ORB::_duplicate (orb)) -{ -} - -// Destruction. -ServantManager_i::~ServantManager_i (void) -{ -} - -// This method loads the dynamically linked DLL which is the servant -// and returns the servant object which is then used for other -// operations in the DLL. - -PortableServer::Servant -ServantManager_i::obtain_servant (const char *str, - PortableServer::POA_ptr poa, - long value) -{ - // The string format is that must be - // parsed. - this->parse_string (str); - - // Create the DLL object. - ACE_DLL *dll; - - ACE_NEW_RETURN (dll, - ACE_DLL, - 0); - - // Obtain the ObjectId from the string argument. - - PortableServer::ObjectId_var oid = - PortableServer::string_to_ObjectId (str); - - ACE_DEBUG ((LM_DEBUG, - "before bind\n")); - // Make an HASH_MAP entry by binding the object_id and the DLL - // object associated with it together. - if (this->servant_map_.bind (oid.in (), - dll) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "Bind failed"), - 0); - // Now that the dll name is available we open the dll. - if (dll->open (dllname_.c_str ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p", - dll->error ()), - 0); - - // The next step is to obtain the symbol for the function that will - // create the servant object and return it. - - // Cannot go from void* to function pointer directly. Cast the void* - // to long first. - void *symbol = dll->symbol (create_symbol_.c_str ()); - long function = ACE_reinterpret_cast (long, symbol); - - SERVANT_FACTORY servant_creator = - ACE_reinterpret_cast (SERVANT_FACTORY, function); - - // Checking whether it is possible to create the servant. - if (servant_creator == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "%p", - dll->error ()), - 0); - - // Now create and return the servant using the - // factory function. - return (*servant_creator) (this->orb_.in (), - poa, - value); -} - -// The objectID is in a format of dllname:factory_function which has -// to be parsed and separated into tokens to be used. - -void -ServantManager_i::parse_string (const char *s) -{ - // The format of the objectid is . This - // string is parsed to obtain the dll name and the function name - // which will create trhe servant and return it to us. - - ACE_CString str (s); - - int index = str.find (':'); - // On error, npos is returned. - if (index == ACE_CString::npos) - ACE_ERROR ((LM_ERROR, - "Required character absent!\n")); - - // The index gives us the location which is equivalent to the size - // of the dllname_ string. - this->dllname_ = str.substr (0, index); - - // Obtain the substring from the offset which is one greater than - // the location of ':'. - this->create_symbol_ = str.substr (index + 1); - - ACE_DEBUG ((LM_DEBUG, - "the servant dll:%s\n the factory_function:%s\n ", - this->dllname_.c_str (), - this->create_symbol_.c_str ())); -} - -// This method returns an ObjectId when given a DLL name and the -// factory function to be invoked in the DLL. The format of the -// ObjectId is libname:factory_function. - -PortableServer::ObjectId_var -ServantManager_i::create_dll_object_id (const char *libname, - const char *factory_function) -{ - ACE_CString format_string = libname; - format_string += ":"; - format_string += factory_function; - - ACE_DEBUG ((LM_DEBUG, - "format-string is %s\n", - format_string.c_str ())); - // The object ID is created. - PortableServer::ObjectId_var oid = - PortableServer::string_to_ObjectId (format_string.c_str ()); - return oid; -} - -// This method destroys the servant and its caretaking DLL object. - -void -ServantManager_i::destroy_servant (PortableServer::Servant servant, - const PortableServer::ObjectId &oid) -{ - // The servant is destroyed. - delete servant; - - // Since the servant is no more the DLL object associated with it - // has to be destroyed too. - - ACE_DLL *dll = 0; - - // Since the servant is no more the DLL object associated with it - // has to be destroyed too. - - if (this->servant_map_.unbind (oid, - dll) == -1) - ACE_ERROR ((LM_ERROR, - "%p\n", - "Unbind failed!\n")); - delete dll; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Hash_Map_Entry; -template class ACE_Hash_Map_Manager_Ex, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator_Base_Ex, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator_Ex, ACE_Null_Mutex>; -template class ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Null_Mutex>; -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Hash_Map_Entry -#pragma instantiate ACE_Hash_Map_Manager_Ex, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Ex, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Null_Mutex> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/POA/On_Demand_Loading/Servant_Manager.h b/TAO/examples/POA/On_Demand_Loading/Servant_Manager.h deleted file mode 100644 index 0a8bb61d0e2..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/Servant_Manager.h +++ /dev/null @@ -1,112 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ - -//================================================================================ -// -// = LIBRARY -// TAO/examples/POA/On_Demand_Loading -// -// = FILENAME -// Servant_Manager.h -// -// = DESCRIPTION -// Helper class for and . -// -// = AUTHOR -// Kirthika Parameswaran -// -//================================================================================== - -#include "ace/OS.h" - -#ifndef SERVANT_MANAGER_H -#define SERVANT_MANAGER_H - -#include "ace/DLL.h" -#include "ace/Containers.h" -#include "tao/corba.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class ServantManager_i -{ - // = TITLE - // This class is the helper class for the ServantActivator_i and - // ServantLocator_i classes. - // - // = DESCRIPTION - // The methods provided by this class are used by the ServantActivator_i - // and ServantLocator_i classes. This class contains the common methods - // needed by them. - // -public: - typedef PortableServer::Servant - (*SERVANT_FACTORY) (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Long value); - // This typedef is used to typecast the void* obtained when finding - // a symbol in the DLL. - - ServantManager_i (CORBA::ORB_ptr orb); - // Initialization. - - ~ServantManager_i (void); - // Destruction. - - PortableServer::ObjectId_var create_dll_object_id (const char *libname, - const char *factory_function); - // Returns an ObjectId when given an DLL name and the factory method - // to be invoked in the DLL. The application developer can initialise the - // ServantActivator object by providing the dllname and the factory function. - - // @@ *done*Kirthika, please explain what this function is USED for, i.e., - // who calls it and why? - - PortableServer::Servant obtain_servant (const char *str, - PortableServer::POA_ptr poa, - long value); - // Obtains a servant on activation by linking and loading the - // appropriate DLL and creating the servant object. The - // argument is the ObjectId that contains the servant DLL name and - // the factory function name. The argument is an - // servant-specific argument needed to create the servant for this - // particular use-case. - - void destroy_servant (PortableServer::Servant servant, - const PortableServer::ObjectId &oid); - // The servant is destroyed and the DLL that was dynamically linked - // is closed. - - private: - void parse_string (const char *s); - // Parse the string to obtain the DLL name and the factory function - // symbol that we will used to dynamically obtain the servant - // pointer. - - CORBA::ORB_var orb_; - // A reference to the ORB. - - ACE_CString dllname_; - // The name of the dll containing the servant. - - ACE_CString create_symbol_; - // The symbol which on getting invoked will give us the servant - // pointer. - - typedef ACE_Hash_Map_Manager_Ex, - ACE_Null_Mutex> - SERVANT_MAP; - - SERVANT_MAP servant_map_; - // This is the hash map object. The hash map is used to provide - // an quick access to the dll object associated with every servant - // using the unique ObjectId as key. - -}; -#endif /* SERVANT_MANAGER_H */ - diff --git a/TAO/examples/POA/On_Demand_Loading/Server_Manager.cpp b/TAO/examples/POA/On_Demand_Loading/Server_Manager.cpp deleted file mode 100644 index 93c7af2a4b3..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/Server_Manager.cpp +++ /dev/null @@ -1,389 +0,0 @@ -// $Id$ - -#include "Server_Manager.h" -#include "ace/Get_Opt.h" -ACE_RCSID(On_Demand_Loading, Server_Manager, "$Id$") - -Server_i::Server_i(void) - : ior_output_file_ (0), - policies_ (4) -{ -} - -Server_i::~Server_i(void) -{ -} - -// This method parses the input. - -int -Server_i::parse_args (int argc, - char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "f:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'f': - ior_output_file_ = get_opts.optarg; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "[-f ior_output_file] " - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// The IORs obtained are written into files for further use. - -int -Server_i::write_iors_to_file (const char *first_ior, - const char *second_ior) -{ - if (ior_output_file_ == 0) - // No filename was specified; simply return - return 0; - - char ior_output_file_1[BUFSIZ]; - char ior_output_file_2[BUFSIZ]; - - ACE_OS::sprintf (ior_output_file_1, - "%s_1", - ior_output_file_); - ACE_OS::sprintf (ior_output_file_2, - "%s_2", - ior_output_file_); - - FILE *output_file_1 = ACE_OS::fopen (ior_output_file_1, - "w"); - FILE *output_file_2 = ACE_OS::fopen (ior_output_file_2, - "w"); - if (output_file_1 == 0 - || output_file_2 == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Cannot open output files for writing IORs: %s, %s\n", - ior_output_file_1, - ior_output_file_2), - -1); - - int result = ACE_OS::fprintf (output_file_1, - "%s", - first_ior); - if (result <= 0 - || ACE_static_cast (size_t,result) != ACE_OS::strlen (first_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - first_ior, - ior_output_file_1), - -1); - - result = ACE_OS::fprintf (output_file_2, - "%s", - second_ior); - if (result <= 0 - || ACE_static_cast (size_t,result) != ACE_OS::strlen (second_ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - second_ior, - ior_output_file_2), - -1); - ACE_OS::fclose (output_file_1); - ACE_OS::fclose (output_file_2); - return 0; -} - -// Initialisation of the ORB and POA. - -int -Server_i::init (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initialize the ORB. - orb_ = CORBA::ORB_init (argc, - argv, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - int result = parse_args (argc, argv); - if (result != 0) - return result; - - // Get an Object reference to RootPOA. - CORBA::Object_var obj = - orb_->resolve_initial_references ("RootPOA"); - - // Narrow the Object reference to a POA reference - root_poa_ = PortableServer::POA::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the POAManager of RootPOA - poa_manager_ = root_poa_->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Server_i:init_poa ()"); - return 1; - } - ACE_ENDTRY; - - return 0; -} - -// This method creates an poa with 4 policies of which the servent -// retention policy decides whether the Servant Activator or the -// Servant Locator would be used by the Servant Manager. - -PortableServer::POA_ptr -Server_i::create_poa (const char *name, - int servant_retention_policy) -{ - PortableServer::POA_ptr my_poa = 0; - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - policies_.length (4); - - // ID Assignment Policy. - policies_[0] = - root_poa_->create_id_assignment_policy - (PortableServer::USER_ID, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Lifespan Policy. - policies_[1] = - root_poa_->create_lifespan_policy - (PortableServer::PERSISTENT, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Request Processing Policy. - policies_[2] = - root_poa_->create_request_processing_policy - (PortableServer::USE_SERVANT_MANAGER, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Servant Retention Policy. - if (servant_retention_policy == 1) - policies_[3] = - root_poa_->create_servant_retention_policy - (PortableServer::RETAIN, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (servant_retention_policy == 0) - policies_[3] = - root_poa_->create_servant_retention_policy - (PortableServer::NON_RETAIN, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Create myPOA as the child of RootPOA with the above - // policies_. myPOA will use SERVANT_ACTIVATOR or - // SERVANT_LOCATOR depending upon the servant retention policy - // being RETAIN or NONRETAIN respectively. - my_poa = root_poa_->create_POA (name, - poa_manager_.in (), - policies_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Destroy the policy objects as they have been passed to - // create_POA and no longer needed. - for (CORBA::ULong i = 0; - i < policies_.length (); - ++i) - { - CORBA::Policy_ptr policy = policies_[i]; - policy->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Server_i:create_poa ()"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (PortableServer::POA::_nil ()); - - return my_poa; -} - -// The Servant Activator object is created and initialised. - -int -Server_i::create_activator (PortableServer::POA_var first_poa) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // An Servant Activator object is created which will activate - // the servant on demand. - ACE_NEW_RETURN (servant_activator_impl_, - ServantActivator_i (orb_.in ()), - 0); - - PortableServer::ServantActivator_var servant_activator = - servant_activator_impl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Set ServantActivator_i object as the servant_manager of - // firstPOA. - first_poa->set_servant_manager (servant_activator.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Create a reference with user created ID in firstPOA which - // uses the MyFooServantActivator. The servant dll name as well - // as the factory function in the dll are used in creating the - // objectId. - - PortableServer::ObjectId_var first_foo_oid = - servant_activator_impl_->create_dll_object_id ("Generic_Servant", - "create_MyFoo"); - - first_foo_ = first_poa->create_reference_with_id (first_foo_oid.in (), - "IDL:Foo:1.0", - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Server_i:create_activator ()"); - return 1; - } - ACE_ENDTRY; - - return 0; -} - -// The Servant Locator object is created and initialised. - -int -Server_i::create_locator (PortableServer::POA_var second_poa) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // An Servant Locator object is created which will activate - // the servant on demand. - ACE_NEW_RETURN (servant_locator_impl_, - ServantLocator_i (orb_.in ()), - 0); - - PortableServer::ServantLocator_var servant_locator = - servant_locator_impl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Set ServantLocator_i object as the servant Manager of - // secondPOA. - - second_poa->set_servant_manager (servant_locator.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Try to create a reference with user created ID in second_poa - // which uses MyFooServantLocator. The servant dll name as well - // as the factory function in the dll are used in creating the - // objectId. - PortableServer::ObjectId_var second_foo_oid = - servant_locator_impl_->create_dll_object_id - ("Generic_Servant", - "create_MyFoo"); - second_foo_ = second_poa->create_reference_with_id - (second_foo_oid.in (), - "IDL:Foo:1.0", - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Server_i:create_locator ()"); - return 1; - } - ACE_ENDTRY; - - return 0; -} - -// The execution process of the server. - -int -Server_i::run (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Invoke object_to_string on the references created in firstPOA - // and secondPOA. - - CORBA::String_var first_foo_ior = - orb_->object_to_string (first_foo_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var second_foo_ior = - orb_->object_to_string (second_foo_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Print the ior's of first_foo and second_foo. - - ACE_DEBUG ((LM_DEBUG,"%s\n%s\n", - first_foo_ior.in (), - second_foo_ior.in ())); - - int write_result = - this->write_iors_to_file (first_foo_ior.in (), - second_foo_ior.in ()); - if (write_result != 0) - return write_result; - - // Set the poa_manager state to active, ready to process - // requests. - poa_manager_->activate (ACE_TRY_ENV); - - ACE_TRY_CHECK; - - // Run the ORB. - if (orb_->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "CORBA::ORB::run"), - -1); - - // Destroy the root_poa_ and also first_poa and second_poa. - root_poa_->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Server_i:run ()"); - return 1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} diff --git a/TAO/examples/POA/On_Demand_Loading/Server_Manager.h b/TAO/examples/POA/On_Demand_Loading/Server_Manager.h deleted file mode 100644 index f5c24dd0dfb..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/Server_Manager.h +++ /dev/null @@ -1,106 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- -// $Id$ - -//================================================================================= -// -// = LIBRARY -// TAO/examples/POA/On_Demand_Loading -// -// = FILENAME -// Server_Manager.h -// -// = DESCRIPTION -// Helper class for the server application. -// -// = AUTHOR -// Kirthika Parameswaran -// -//================================================================================== - -#ifndef SERVER_MANAGER_H -#define SERVER_MANAGER_H - -#include "ace/streams.h" -#include "Servant_Activator.h" -#include "Servant_Locator.h" - -class Server_i -{ - // = TITLE - // This class provides the server application with helper methods - // - // = DESCRIPTION - // The various methods required by the server application for - // utilizing the ServantActivator and ServantLocator interfaces of - // the Servant Manager are implemented by this class. These - // include initialisation procedures of the ServantActivator and - // ServantLocator, and creation of POAs with emphasis on the - // servant retention policy. -public: - // = Initialization and termination methods. - Server_i (void); - // Initialisation. - - ~Server_i (void); - // Destruction. - - int init (int argc, char **argv); - // Initialisation of the ORB and poa. - - PortableServer::POA_ptr create_poa (const char* name, - int servant_retention_policy); - // This method creates a POA from the root_poa with emphasis being - // on the servant_retention_policy which decides the use of the - // ServantActivator or ServantLocator interfaces. The - // servent_retention_policy value is 1 for the RETAIN policy and 0 - // for the NONRETAIN policy. - - int create_activator (PortableServer::POA_var first_poa); - // A ServantActivator object is created and initialised. - - int create_locator (PortableServer::POA_var second_poa); - // A ServantActivator object is created and initialised. - - int run (void); - // The server is executed. - -private: - int parse_args (int argc, char **argv); - // Parses the input arguments. - - int write_iors_to_file (const char *first_ior, - const char *second_ior); - // The IORs are written to a file for future use. - - char *ior_output_file_; - // Default ior file. - - CORBA::ORB_var orb_; - // The orb pointer. - - CORBA::PolicyList policies_; - // The poa policicies. - - PortableServer::POA_var root_poa_; - // The root_poa which is used for cretaing different child poas. - - PortableServer::POAManager_var poa_manager_; - // The poa_manager object. - - CORBA::Object_var first_foo_; - // The object pointer used by the ServantActivator. - - CORBA::Object_var second_foo_; - // The object pointer used by the Servant Locator. - - ServantActivator_i *servant_activator_impl_; - // The servant activator object. - - ServantLocator_i *servant_locator_impl_; - // The servant locator object. -}; - -#endif /* SERVER_MANAGER_H */ - - - diff --git a/TAO/examples/POA/On_Demand_Loading/run_test.pl b/TAO/examples/POA/On_Demand_Loading/run_test.pl deleted file mode 100755 index b21ee5ad8af..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/run_test.pl +++ /dev/null @@ -1,107 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$iorfile = "ior"; - -$oneway = ""; -$iterations = 100; - -$extra_args = ""; - -# Parse the arguments -for ($i = 0; $i <= $#ARGV; $i++) -{ - SWITCH: - { - if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?") - { - print "run_test [-h] [-i iterations] [-o] [-f ior file]\n"; - print "\n"; - print "-h -- prints this information\n"; - print "-f -- ior file\n"; - print "-i iterations -- specifies iterations\n"; - print "-o -- call issued are oneways\n"; - exit; - } - if ($ARGV[$i] eq "-o") - { - $oneway = "-o"; - last SWITCH; - } - if ($ARGV[$i] eq "-i") - { - $iterations = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - if ($ARGV[$i] eq "-f") - { - $iorfile = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - $extra_args .= " " . $ARGV[$i]; - } -} - -$iorfile_1 = $iorfile."_1"; -$iorfile_2 = $iorfile."_2"; - -unlink $iorfile_1; -unlink $iorfile_2; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", "-f $iorfile $extra_args"); - -if (ACE::waitforfile_timed ($iorfile_1, 15) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_1>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -if (ACE::waitforfile_timed ($iorfile_2, 15) == -1) { - print STDERR "ERROR: cannot find file <$iorfile_2>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - - - -$CL_1 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile_1"); - -$client_1 = $CL_1->TimedWait (60); -if ($client_1 == -1) { - print STDERR "ERROR: client 1 timedout\n"; - $CL_1->Kill (); $CL_1->TimedWait (1); -} - -$CL_2 = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile_2 -x"); - -$client_2 = $CL_2->TimedWait (60); -if ($client_2 == -1) { - print STDERR "ERROR: client 2 timedout\n"; - $CL_2->Kill (); $CL_2->TimedWait (1); -} - -$server = $SV->TimedWait (5); -if ($server == -1) { - print STDERR "ERROR: server timedout\n"; - $SV->Kill (); $SV->TimedWait (1); -} - -unlink $iorfile_1; -unlink $iorfile_2; - -if ($server != 0 || $client_1 != 0 || $client_2 != 0) { - exit 1; -} - -exit 0; diff --git a/TAO/examples/POA/On_Demand_Loading/server.cpp b/TAO/examples/POA/On_Demand_Loading/server.cpp deleted file mode 100644 index f07b26ba52c..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/server.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// $Id$ - -//============================================================================ -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// Server application to test the Servant Activator and Servant Locator. -// -// = AUTHOR -// Kirthika Parameswaran -// -//============================================================================= - -#include "Server_Manager.h" - -ACE_RCSID(On_Demand_Loading, server, "$Id$") - -int -main (int argc, char **argv) -{ - Server_i server; - - if (server.init (argc, argv) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during Initialisation: init ()\n"), - -1); - - // This POA is used to test the Servant Activator interface and - // hence has an RETAIN policy. - PortableServer::POA_var first_poa = - server.create_poa ("firstPOA", 1); - - if (first_poa.in () == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during first POA creation: create_poa ()\n"), - -1); - - // This poa is used to test the Servant Activator interface and - // hence has an NONRETAIN policy. - PortableServer::POA_var second_poa = - server.create_poa ("secondPOA", 0); - - if (second_poa.in () == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during second POA creation: create_poa ()\n"), - -1); - - // The Servant Activator interface is created and initialised. - if (server.create_activator (first_poa) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during first Servant Activator creation: create_activator()\n"), - -1); - - // The Servant Locator interface is created and initialised. - if (server.create_locator (second_poa) !=0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during first Servant Locator creation: create_activator()\n"), - -1); - - // The server begins processing requests. - if (server.run () != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Failure during request processing: run ()\n"), - -1); - return 0; -} diff --git a/TAO/examples/POA/On_Demand_Loading/server.dsp b/TAO/examples/POA/On_Demand_Loading/server.dsp deleted file mode 100644 index 82830a12040..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/server.dsp +++ /dev/null @@ -1,129 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA On Demand Loading Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA On Demand Loading Server - 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 "POA On Demand Loading Server.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 "POA On Demand Loading Server.mak"\ - CFG="POA On Demand Loading Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA On Demand Loading Server - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "POA On Demand Loading Server - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA On Demand Loading Server - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /out:"Release/server.exe" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "POA On Demand Loading Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /out:"server.exe" /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "POA On Demand Loading Server - Win32 Release" -# Name "POA On Demand Loading Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Servant_Activator.cpp -# End Source File -# Begin Source File - -SOURCE=.\Servant_Locator.cpp -# End Source File -# Begin Source File - -SOURCE=.\Servant_Manager.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# Begin Source File - -SOURCE=.\Server_Manager.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Servant_Activator.h -# End Source File -# Begin Source File - -SOURCE=.\Servant_Locator.h -# End Source File -# Begin Source File - -SOURCE=.\Server_Manager.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/On_Demand_Loading/svc.conf b/TAO/examples/POA/On_Demand_Loading/svc.conf deleted file mode 100644 index 640281c0e64..00000000000 --- a/TAO/examples/POA/On_Demand_Loading/svc.conf +++ /dev/null @@ -1,4 +0,0 @@ -# $Id$ -# - -static Server_Strategy_Factory "-ORBsystemidpolicydemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/examples/POA/README b/TAO/examples/POA/README deleted file mode 100644 index ca47b9044c0..00000000000 --- a/TAO/examples/POA/README +++ /dev/null @@ -1,112 +0,0 @@ -// $Id$ - -The following TAO applications illustate various Portable Object -Adapter (POA) interfaces and their usage scenarios. - - Individual README files in the respective directories explain -these applications further. - - . RootPOA - - This example explains how to obtain the name of the - RootPOA. - - . NewPOA - - This example explains the operations involved in - creation of new POAs. - - . FindPOA - - This example explains registering an adapter activator - for a POA and also the find_POA operation. - - . Generic_Servant - - A simple interface (Foo) is defined here and its - implementations, server and client programs are - available, which can be used for testing POA - applications. Several servers for that interface are - implemented using different POA policies; a common - client for all the servers is also provided. - - . On_Demand_Activation - - Contains programs that test the POA's 2 types of - activation of objects on demand, namely , Servant - Activator approach and Servant Locator , which depend - on the RETAIN/NON-RETAIN policy of a POA. - - . Default_Servant - - Contains a File IDL module and its implementation and - a server,client to test the File Module interfaces. - The System interface uses the USE_DEFAULT_MANAGER policy - to create a POA and registers a single File Descriptor - object as the default servant. The default servant serves - requests for many Descriptor objects. - - . Explicit_Activation - - This application explains various operations involved - in the explicit activation of objects; including the - creation of objects without servants (the servant is - created on demand). - - . DSI - - The client/server couple tests the DSI features of the - POA. - - . Forwarding - - The example is used to test the support for forwarding - in TAO. Three ways are shown: (a) Forwarding using - Servant Activators, (b) Forwarding using Servant - Locators, and (c) Forwarding using POA (this feature - is TAO specific). - - . TIE - - Shows off the standard TIE features of the new CORBA - 2.2 specification. - - . On_Demand_Loading - - This example illustrates how to dynamically link and - load servants into a POA in a platform-independent - manner using the ACE_DLL feature and standard CORBA - Servant Manager features. In the example, the POA is - configured with the USE_SERVANT_MANAGER policy value, - which relies on an application supplied Servant - Manager object to supply object/server associations. - - This example illustrates both Servant Activator and - Servant_Locator interfaces. The servant object is - created by a factory function that resides in a DLL - that is linked and loaded into the server's address - space on-demand when client requests arrive. The - ObjectID in each client request indicates which DLL - name and which factory function to use to create the - servant. - - . Loader - - This example is similar to the above except the id is - not hijacked to store the DLL and factory function - name. This information is provided to the Servant - Managers on creation. - - . Explicit_Activation - - This example is very similar to the - Explicit_Activation example except that the POAs are - deleted once the object references have been - created. After this, an adapter activator is install - in the RootPOA to reactivate the POAs on demand. - - . Reference_Counted_Servant - - This example shows how to use reference counted - servants to automatically manage dynamic memory for - servants. diff --git a/TAO/examples/POA/Reference_Counted_Servant/Makefile b/TAO/examples/POA/Reference_Counted_Servant/Makefile deleted file mode 100644 index 990273b45b8..00000000000 --- a/TAO/examples/POA/Reference_Counted_Servant/Makefile +++ /dev/null @@ -1,309 +0,0 @@ -# -# $Id$ -# - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -BIN = server -SERVER_OBJS = server.o - -VLDLIBS = $(LDLIBS:%=%$(VAR)) -VBIN = $(BIN:%=%$(VAR)) -BUILD = $(VBIN) - -CPPFLAGS += -I$(TAO_ROOT) -I../Generic_Servant - -LDLIBS = -lGeneric_Servant -lTAO -LDFLAGS += -L$(TAO_ROOT)/tao -L../Generic_Servant - -#### For make depend -PSRC = $(BIN:%=%.cpp) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -server: $(addprefix $(VDIR),$(SERVER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - ../Generic_Servant/MyFooServant.h ../Generic_Servant/FooS.h \ - ../Generic_Servant/FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ../Generic_Servant/generic_servant_export.h ../Generic_Servant/FooC.i \ - ../Generic_Servant/FooS_T.h ../Generic_Servant/FooS_T.i \ - ../Generic_Servant/FooS_T.cpp ../Generic_Servant/FooS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/Reference_Counted_Servant/README b/TAO/examples/POA/Reference_Counted_Servant/README deleted file mode 100644 index effa3c1cdd2..00000000000 --- a/TAO/examples/POA/Reference_Counted_Servant/README +++ /dev/null @@ -1,44 +0,0 @@ -// $Id$ - -This application demostrates reference counted servants. - -The server program is available here. Use the Generic_Servant/client -program to test this. - -________________________________________ - -To test this example, type run_test.pl -________________________________________ - -Or -________________________________________ - -Run the server as follows: - -% ./server -f output - -This will produce a file named output which will contain the ior. - -Run the client as follows: - -% cd $TAO_ROOT/examples/POA/Generic_Servant -% ./client -f ../Reference_Counted_Servant/output -________________________________________ - -Or -________________________________________ - -Run the server as follows: - -% ./server -ORBobjrefstyle URL & - -Run the client as follows: - -% cd $TAO_ROOT/examples/POA/Generic_Servant -% ./client -k - -Comments : -========= - - As soon as, the server prints out the IOR, cut it and use it for -running the client. -________________________________________ diff --git a/TAO/examples/POA/Reference_Counted_Servant/Reference_Counted_Servant.dsw b/TAO/examples/POA/Reference_Counted_Servant/Reference_Counted_Servant.dsw deleted file mode 100644 index 369f9e2c9dc..00000000000 --- a/TAO/examples/POA/Reference_Counted_Servant/Reference_Counted_Servant.dsw +++ /dev/null @@ -1,28 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### diff --git a/TAO/examples/POA/Reference_Counted_Servant/run_test.pl b/TAO/examples/POA/Reference_Counted_Servant/run_test.pl deleted file mode 100755 index dcdcbfa92ac..00000000000 --- a/TAO/examples/POA/Reference_Counted_Servant/run_test.pl +++ /dev/null @@ -1,85 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$iorfile = "ior"; - -$oneway = ""; -$iterations = 100; - -$extra_args = ""; - -# Parse the arguments -for ($i = 0; $i <= $#ARGV; $i++) -{ - SWITCH: - { - if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?") - { - print "run_test [-h] [-i iterations] [-o] [-f ior file]\n"; - print "\n"; - print "-h -- prints this information\n"; - print "-f -- ior file\n"; - print "-i iterations -- specifies iterations\n"; - print "-o -- call issued are oneways\n"; - exit; - } - if ($ARGV[$i] eq "-o") - { - $oneway = "-o"; - last SWITCH; - } - if ($ARGV[$i] eq "-i") - { - $iterations = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - if ($ARGV[$i] eq "-f") - { - $iorfile = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - $extra_args .= " " . $ARGV[$i]; - } -} - -unlink $iorfile; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", "-f $iorfile $extra_args"); - -if (ACE::waitforfile_timed ($iorfile, 15) == -1) { - print STDERR "ERROR: cannot find file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$CL = Process::Create ("../Generic_Servant/client$EXE_EXT ", - " $extra_args $oneway -i $iterations -f $iorfile -x"); - -$client = $CL->TimedWait (60); -if ($client == -1) { - print STDERR "ERROR: client timedout\n"; - $CL->Kill (); $CL->TimedWait (1); -} - -$server = $SV->TimedWait (5); -if ($server == -1) { - print STDERR "ERROR: server timedout\n"; - $SV->Kill (); $SV->TimedWait (1); -} - -unlink $iorfile; - -if ($server != 0 || $client != 0){ - exit 1; -} - -exit 0; diff --git a/TAO/examples/POA/Reference_Counted_Servant/server.cpp b/TAO/examples/POA/Reference_Counted_Servant/server.cpp deleted file mode 100644 index 3caa80dbf77..00000000000 --- a/TAO/examples/POA/Reference_Counted_Servant/server.cpp +++ /dev/null @@ -1,194 +0,0 @@ -// $Id$ - -// ================================================================ -// -// = LIBRARY -// TAO/tests/POA/Reference_Counted_Servant -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// This example shows how to use reference counted servants to -// automatically manage dynamic memory for servants. -// Stubs/Skeletons and client code is available in -// ../Generic_Servant. -// -// = AUTHOR -// Irfan Pyarali -// -// ================================================================ - -#include "ace/Get_Opt.h" -#include "MyFooServant.h" - -ACE_RCSID(Reference_Counted_Servant, server, "$Id$") - -// This is to remove "inherits via dominance" warnings from MSVC. -// MSVC is being a little too paranoid. -#if defined (_MSC_VER) -# pragma warning (disable : 4250) -#endif /* _MSC_VER */ - -class Reference_Counted_Foo : public virtual PortableServer::RefCountServantBase, - public virtual MyFooServant -{ -public: - Reference_Counted_Foo (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Long value); - // Constructor - takes a POA and a value parameter -}; - -Reference_Counted_Foo::Reference_Counted_Foo (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Long value) - : MyFooServant (orb, - poa, - value) -{ -} - -static char *ior_output_file = 0; - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "f:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'f': - ior_output_file = get_opts.optarg; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "[-f ior_output_file]" - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -static int -write_iors_to_file (const char *ior) -{ - if (ior_output_file == 0) - // No filename was specified; simply return - return 0; - - FILE *output_file = ACE_OS::fopen (ior_output_file, "w"); - - if (output_file == 0) - ACE_ERROR_RETURN ((LM_ERROR, "Cannot open output files for writing IORs: %s, %s %s\n", - ior_output_file), - -1); - - u_int result = 0; - - result = ACE_OS::fprintf (output_file, - "%s", - ior); - if (result != ACE_OS::strlen (ior)) - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_OS::fprintf failed while writing %s to %s\n", - ior, - ior_output_file), - -1); - - ACE_OS::fclose (output_file); - - return 0; -} - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initialize the ORB first. - CORBA::ORB_var orb = CORBA::ORB_init (argc, - argv, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - int result = parse_args (argc, argv); - if (result != 0) - return result; - - // Obtain the RootPOA. - CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA"); - - // Get the POA_var object from Object_var. - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the POAManager of the RootPOA. - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Create a servant. - Reference_Counted_Foo *foo_impl = 0; - ACE_NEW_RETURN (foo_impl, - Reference_Counted_Foo (orb.in (), - root_poa.in (), - 27), - -1); - - // Get Object Reference for the foo_impl object. - Foo_var foo = foo_impl->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // This means that the ownership of now belongs to - // the POA. - foo_impl->_remove_ref (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Stringyfy all the object references and print them out. - CORBA::String_var ior = orb->object_to_string (foo.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "%s\n", - ior.in ())); - - int write_result = write_iors_to_file (ior.in ()); - if (write_result != 0) - return write_result; - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1); - - // Destroy RootPOA (also destroys all child POAs). - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception caught"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} diff --git a/TAO/examples/POA/Reference_Counted_Servant/server.dsp b/TAO/examples/POA/Reference_Counted_Servant/server.dsp deleted file mode 100644 index a8a47476f07..00000000000 --- a/TAO/examples/POA/Reference_Counted_Servant/server.dsp +++ /dev/null @@ -1,98 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA Reference Counted Servant Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA Reference Counted Servant Server - 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 "server.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 "server.mak" CFG="POA Reference Counted Servant Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA Reference Counted Servant Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "POA Reference Counted Servant Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA Reference Counted Servant Server - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 tao.lib ace.lib ..\Generic_Servant\Generic_Servant.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA Reference Counted Servant Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 ..\Generic_Servant\Generic_Servantd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA Reference Counted Servant Server - Win32 Release" -# Name "POA Reference Counted Servant Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/RootPOA/Makefile b/TAO/examples/POA/RootPOA/Makefile deleted file mode 100644 index e73b05f5043..00000000000 --- a/TAO/examples/POA/RootPOA/Makefile +++ /dev/null @@ -1,300 +0,0 @@ -# -# $Id$ -# - -BIN = RootPOA - -LSRC = $(addsuffix .cpp,$(BIN)) - -CPPFLAGS += -I$(TAO_ROOT) - -LDLIBS = -lTAO -LDFLAGS += -L$(TAO_ROOT)/tao - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -INSTALL = - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/RootPOA.o .obj/RootPOA.so .shobj/RootPOA.o .shobj/RootPOA.so: RootPOA.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/RootPOA/README b/TAO/examples/POA/RootPOA/README deleted file mode 100644 index c2f0c5749b4..00000000000 --- a/TAO/examples/POA/RootPOA/README +++ /dev/null @@ -1,11 +0,0 @@ -This program obtains the name of the Root POA. - -Run the application as follows. - -% RootPOA - -Comments: -======== - -- It prints out the name of the Root POA. Currently, the name of the - RootPOA in TAO is an empty string. diff --git a/TAO/examples/POA/RootPOA/RootPOA.cpp b/TAO/examples/POA/RootPOA/RootPOA.cpp deleted file mode 100644 index f2a5382636d..00000000000 --- a/TAO/examples/POA/RootPOA/RootPOA.cpp +++ /dev/null @@ -1,72 +0,0 @@ -// $Id$ - -//======================================================================== -// -// = LIBRARY -// TAO/tests/POA/RootPOA -// -// -// = FILENAME -// RootPOA.cpp -// -// = DESCRIPTION -// This program gets the name of the Root POA and prints it out on -// the standard output. -// -// = AUTHOR -// Irfan Pyarali -// -//========================================================================= - -#include "tao/corba.h" - -ACE_RCSID(RootPOA, RootPOA, "$Id$") - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Initilize the ORB - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Resolve the initial references for the name RootPOA thus getting - // an object of type CORBA::Object. - CORBA::Object_var obj = - orb->resolve_initial_references ("RootPOA", ACE_TRY_ENV); - ACE_TRY_CHECK; - - // apply _narrow on the object of type CORBA::Object, to make it a - // POA class Object. - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the name of the root POA. - CORBA::String_var poa_name = - root_poa->the_name (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "The RootPOA is : %s\n", - poa_name.in ())); - - // Destroy the POA object,also destroys the child POAs if any. - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_DEBUG ((LM_DEBUG, - "Exceptions raised \n")); - ACE_CHECK_RETURN (-1); - } - ACE_ENDTRY; - -return 0; -} diff --git a/TAO/examples/POA/RootPOA/RootPOA.dsp b/TAO/examples/POA/RootPOA/RootPOA.dsp deleted file mode 100644 index ac41e5153e4..00000000000 --- a/TAO/examples/POA/RootPOA/RootPOA.dsp +++ /dev/null @@ -1,99 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA RootPOA" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA RootPOA - 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 "RootPOA.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 "RootPOA.mak" CFG="POA RootPOA - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA RootPOA - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "POA RootPOA - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA RootPOA - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA RootPOA - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA RootPOA - Win32 Release" -# Name "POA RootPOA - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\RootPOA.cpp -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/RootPOA/RootPOA.dsw b/TAO/examples/POA/RootPOA/RootPOA.dsw deleted file mode 100644 index 124f92637d3..00000000000 --- a/TAO/examples/POA/RootPOA/RootPOA.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "RootPOA"=.\RootPOA.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/RootPOA/run_test.pl b/TAO/examples/POA/RootPOA/run_test.pl deleted file mode 100755 index e54f8e731a5..00000000000 --- a/TAO/examples/POA/RootPOA/run_test.pl +++ /dev/null @@ -1,24 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require Process; -require ACEutils; - -$T = Process::Create ($EXEPREFIX."RootPOA".$EXE_EXT); - -$client = $T->TimedWait (60); -if ($client == -1) { - print STDERR "ERROR: test timedout\n"; - $T->Kill (); $T->TimedWait (1); -} - -if ($client == -1) { - exit 1; -} - -exit 0; diff --git a/TAO/examples/POA/TIE/Foo.idl b/TAO/examples/POA/TIE/Foo.idl deleted file mode 100644 index 2ac05a4fcd1..00000000000 --- a/TAO/examples/POA/TIE/Foo.idl +++ /dev/null @@ -1,30 +0,0 @@ -// $Id$ -//=============================================================================== -// -// = FILENAME -// Foo.idl -// -//================================================================================== - -// IDL - -interface A -{ - long doit(); -}; - -module Outer -{ - interface B - { - long doit(); - }; - - module Inner - { - interface C - { - long doit(); - }; - }; -}; diff --git a/TAO/examples/POA/TIE/Foo_i.cpp b/TAO/examples/POA/TIE/Foo_i.cpp deleted file mode 100644 index 5f8b8e67cb1..00000000000 --- a/TAO/examples/POA/TIE/Foo_i.cpp +++ /dev/null @@ -1,102 +0,0 @@ -// $Id$ - -//=========================================================================== -// -// -// = FILENAME -// Foo_i.cpp -// -// = DESCRIPTION -// This is a simple foo servant implementation -// -// = AUTHOR -// Irfan Pyarali -// -//=========================================================================== - -#include "Foo_i.h" - -ACE_RCSID(TIE, Foo_i, "$Id$") - - // Constructor - Tie_i::Tie_i (CORBA::Long value) - : value_ (value) -{ -} - -// Return this->value -CORBA::Long -Tie_i::doit (CORBA::Environment &/*env*/) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->value_; -} - -// Constructor -A_i::A_i (CORBA::Long value, - PortableServer::POA_ptr poa) - : value_ (value), - poa_ (PortableServer::POA::_duplicate (poa)) -{ -} - -// Return this->value -CORBA::Long -A_i::doit (CORBA::Environment &/*env*/) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->value_; -} - -// Return the Default POA of this Servant -PortableServer::POA_ptr -A_i::_default_POA (CORBA::Environment &/*env*/) -{ - return PortableServer::POA::_duplicate (this->poa_.in ()); -} - -// Constructor -Outer_i::B_i::B_i (CORBA::Long value, - PortableServer::POA_ptr poa) - : value_ (value), - poa_ (PortableServer::POA::_duplicate (poa)) -{ -} - -// Return this->value -CORBA::Long -Outer_i::B_i::doit (CORBA::Environment &/*env*/) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->value_; -} - -// Return the Default POA of this Servant -PortableServer::POA_ptr -Outer_i::B_i::_default_POA (CORBA::Environment &/*env*/) -{ - return PortableServer::POA::_duplicate (this->poa_.in ()); -} - -// Constructor -Outer_i::Inner_i::C_i::C_i (CORBA::Long value, - PortableServer::POA_ptr poa) - : value_ (value), - poa_ (PortableServer::POA::_duplicate (poa)) -{ -} - -// Return this->value -CORBA::Long -Outer_i::Inner_i::C_i::doit (CORBA::Environment &/*env*/) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->value_; -} - -// Return the Default POA of this Servant -PortableServer::POA_ptr -Outer_i::Inner_i::C_i::_default_POA (CORBA::Environment &/*env*/) -{ - return PortableServer::POA::_duplicate (this->poa_.in ()); -} diff --git a/TAO/examples/POA/TIE/Foo_i.h b/TAO/examples/POA/TIE/Foo_i.h deleted file mode 100644 index fdf7fce2ab6..00000000000 --- a/TAO/examples/POA/TIE/Foo_i.h +++ /dev/null @@ -1,112 +0,0 @@ -// $Id$ -//============================================================================= -// -// -// = FILENAME -// Foo_i.h -// -// = DESCRIPTION -// Defines implementation classes for the interfaces -// -// = AUTHOR -// Irfan Pyarali -// -//============================================================================= - -#ifndef FOO_I_H -#define FOO_I_H - -#include "FooS.h" - -class Tie_i -{ -public: - // constructor - takes a POA and a value parameter - Tie_i (CORBA::Long value); - - // Simple doit method - virtual CORBA::Long doit (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - -protected: - - CORBA::Long value_; -}; - -class A_i : public POA_A -{ -public: - // constructor - takes a POA and a value parameter - A_i (CORBA::Long value, - PortableServer::POA_ptr poa); - - // Simple doit method - virtual CORBA::Long doit (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Returns the Default POA of this Servant object - virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); - -protected: - - CORBA::Long value_; - - PortableServer::POA_var poa_; - // Default poa associated with this servant -}; - -class Outer_i -{ -public: - - class B_i : public POA_Outer::B - { - public: - // constructor - takes a POA and a value parameter - B_i (CORBA::Long value, - PortableServer::POA_ptr poa); - - // Simple doit method - virtual CORBA::Long doit (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Returns the Default POA of this Servant object - virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); - - protected: - - CORBA::Long value_; - - PortableServer::POA_var poa_; - // Default poa associated with this servant - }; - - class Inner_i - { - public: - - class C_i : public POA_Outer::Inner::C - { - public: - // constructor - takes a POA and a value parameter - C_i (CORBA::Long value, - PortableServer::POA_ptr poa); - - // Simple doit method - virtual CORBA::Long doit (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Returns the Default POA of this Servant object - virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); - - protected: - - CORBA::Long value_; - - PortableServer::POA_var poa_; - // Default poa associated with this servant - }; - }; -}; - -#endif /* FOO_I_H */ diff --git a/TAO/examples/POA/TIE/Makefile b/TAO/examples/POA/TIE/Makefile deleted file mode 100644 index 14e4947db34..00000000000 --- a/TAO/examples/POA/TIE/Makefile +++ /dev/null @@ -1,1370 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -LDLIBS = -lTAO - -IDL_SRC = FooC.cpp FooS.cpp -PROG_SRCS = $(IDL_SRC) server.cpp client.cpp Foo_i.cpp - -LSRC = $(PROG_SRCS) - -FILE_SVR_OBJS = FooC.o FooS.o server.o Foo_i.o -FILE_CLT_OBJS = FooC.o FooS.o client.o - -BIN = server client -BUILD = $(BIN) -VLDLIBS = $(LDLIBS:%=%$(VAR)) -VBIN = $(BIN:%=%$(VAR)) - -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - -ifeq ($(ACE_HAS_GNUG_PRE_2_8),1) - - # Since older g++ cannot handle nested classes properly, this test - # will not build on g++ prior to 2.8.0. - all clean realclean: - @echo POA/TIE is not built with older versions of g++ - -else # ! ACE_HAS_GNUG_PRE_2_8 - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(TAO_ROOT)/rules.tao.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -.PRECIOUS: FooC.h FooC.i FooC.cpp FooS.h FooS.i FooS.cpp - -server: $(addprefix $(VDIR),$(FILE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(FILE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) FooC.* FooS.* FooS_T.* - -endif # ! ACE_HAS_GNUG_PRE_2_8 - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/FooC.o .obj/FooC.so .shobj/FooC.o .shobj/FooC.so: FooC.cpp FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FooC.i -.obj/FooS.o .obj/FooS.so .shobj/FooS.o .shobj/FooS.so: FooS.cpp FooS.h FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FooC.i FooS_T.h FooS_T.i FooS_T.cpp FooS.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - Foo_i.h FooS.h FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FooC.i FooS_T.h FooS_T.i FooS_T.cpp FooS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Profile_Timer.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/High_Res_Timer.h \ - $(ACE_ROOT)/ace/High_Res_Timer.i \ - $(ACE_ROOT)/ace/Profile_Timer.i \ - FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FooC.i -.obj/Foo_i.o .obj/Foo_i.so .shobj/Foo_i.o .shobj/Foo_i.so: Foo_i.cpp Foo_i.h FooS.h FooC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - FooC.i FooS_T.h FooS_T.i FooS_T.cpp FooS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/POA/TIE/TIE.dsw b/TAO/examples/POA/TIE/TIE.dsw deleted file mode 100644 index d17cf7c9604..00000000000 --- a/TAO/examples/POA/TIE/TIE.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/POA/TIE/client.cpp b/TAO/examples/POA/TIE/client.cpp deleted file mode 100644 index 3306844d5d4..00000000000 --- a/TAO/examples/POA/TIE/client.cpp +++ /dev/null @@ -1,245 +0,0 @@ -// $Id$ - -//=========================================================================== -// -// -// = FILENAME -// client.cpp -// -// = DESCRIPTION -// This is a simple client implementation. -// -// = AUTHOR -// Irfan Pyarali -// -//=========================================================================== - -#include "ace/streams.h" -#include "ace/Get_Opt.h" -#include "ace/Profile_Timer.h" -#include "FooC.h" - -ACE_RCSID(TIE, client, "$Id$") - - static char *IOR[7] = { 0, 0, 0, 0, 0, 0, 0 }; -static int iterations = 1; - -static int -parse_args (int argc, char **argv) -{ - ACE_Get_Opt get_opts (argc, argv, "a:b:c:d:e:f:i:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'a': - IOR[1] = ACE_OS::strdup (get_opts.optarg); - break; - case 'b': - IOR[2] = ACE_OS::strdup (get_opts.optarg); - break; - case 'c': - IOR[3] = ACE_OS::strdup (get_opts.optarg); - break; - case 'd': - IOR[4] = ACE_OS::strdup (get_opts.optarg); - break; - case 'e': - IOR[5] = ACE_OS::strdup (get_opts.optarg); - break; - case 'f': - IOR[6] = ACE_OS::strdup (get_opts.optarg); - break; - case 'i': - iterations = ::atoi (get_opts.optarg); - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "-a IOR 1 " - "-b IOR 2 " - "-c IOR 3 " - "-d IOR 4 " - "-e IOR 5 " - "-f IOR 6 " - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -void -print_stats (ACE_Profile_Timer::ACE_Elapsed_Time &elapsed_time, - int iterations) -{ - if (iterations > 0) - { - elapsed_time.real_time *= ACE_ONE_SECOND_IN_MSECS; - elapsed_time.user_time *= ACE_ONE_SECOND_IN_MSECS; - elapsed_time.system_time *= ACE_ONE_SECOND_IN_MSECS; - - elapsed_time.real_time /= iterations; - elapsed_time.user_time /= iterations; - elapsed_time.system_time /= iterations; - - double tmp = 1000 / elapsed_time.real_time; - - ACE_DEBUG ((LM_DEBUG, - "\treal_time\t = %0.06f ms, \n" - "\tuser_time\t = %0.06f ms, \n" - "\tsystem_time\t = %0.06f ms, \n" - "\t%0.00f calls/second\n", - elapsed_time.real_time < 0.0 ? 0.0 : elapsed_time.real_time, - elapsed_time.user_time < 0.0 ? 0.0 : elapsed_time.user_time, - elapsed_time.system_time < 0.0 ? 0.0 : elapsed_time.system_time, - tmp < 0.0 ? 0.0 : tmp)); - } - else - ACE_ERROR ((LM_ERROR, - "\tNo time stats printed. Zero iterations or error ocurred.\n")); -} - -template -class Test -{ -public: - static void run (CORBA::ORB_ptr orb, - char *IOR, - CORBA::Environment &ACE_TRY_ENV) - { - if (IOR != 0) - { - // Get an object reference from the argument string. - CORBA::Object_var object = orb->string_to_object (IOR, ACE_TRY_ENV); - ACE_CHECK; - - /*if (env.exception () != 0) - { - env.print_exception ("CORBA::ORB::string_to_object"); - return; - } - */ - // Try to narrow the object reference to a reference. - T_var foo = T::_narrow (object.in (), ACE_TRY_ENV); - ACE_CHECK; - - /*if (env.exception () != 0) - { - env.print_exception ("_narrow"); - return; - } - */ - ACE_Profile_Timer timer; - ACE_Profile_Timer::ACE_Elapsed_Time elapsed_time; - - // We start an ACE_Profile_Timer here... - timer.start (); - - CORBA::Long result = 0; - int i = 0; - for (i = 0; i < iterations ; i++) - { - // Invoke the doit() method on the reference. - result = foo->doit (ACE_TRY_ENV); - ACE_CHECK; - } - - // stop the timer. - timer.stop (); - timer.elapsed_time (elapsed_time); - - // compute average time. - print_stats (elapsed_time, i); - - /*if (env.exception () != 0) - { - env.print_exception ("doit"); - return; - } - */ - // Print the result of doit () method on the reference. - ACE_DEBUG ((LM_DEBUG, - "%d\n", - result)); - } - } -}; - -int -main (int argc, char **argv) -{ - //CORBA::Environment env; - - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Initialize the ORB - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Initialize options based on command-line arguments. - int parse_args_result = parse_args (argc, argv); - if (parse_args_result != 0) - return parse_args_result; - - int i = 1; - - Test::run (orb.in (), - IOR[i++], - ACE_TRY_ENV); - ACE_TRY_CHECK; - - Test::run (orb.in (), - IOR[i++], - ACE_TRY_ENV); - ACE_TRY_CHECK; - - Test::run (orb.in (), - IOR[i++], - ACE_TRY_ENV); - ACE_TRY_CHECK; - - Test::run (orb.in (), - IOR[i++], - ACE_TRY_ENV); - ACE_TRY_CHECK; - - Test::run (orb.in (), - IOR[i++], - ACE_TRY_ENV); - ACE_TRY_CHECK; - - Test::run (orb.in (), - IOR[i++], - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception Caught in main"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class Test; -template class Test; -template class Test; - -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate Test -#pragma instantiate Test -#pragma instantiate Test - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/POA/TIE/client.dsp b/TAO/examples/POA/TIE/client.dsp deleted file mode 100644 index a46c6f7c7d0..00000000000 --- a/TAO/examples/POA/TIE/client.dsp +++ /dev/null @@ -1,210 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA TIE Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA TIE Client - 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 "client.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 "client.mak" CFG="POA TIE Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA TIE Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "POA TIE Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA TIE Client - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA TIE Client - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "client__" -# PROP BASE Intermediate_Dir "client__" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA TIE Client - Win32 Release" -# Name "POA TIE Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\FooC.cpp -# End Source File -# Begin Source File - -SOURCE=.\FooS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\FooC.h -# End Source File -# Begin Source File - -SOURCE=.\FooS.h -# End Source File -# Begin Source File - -SOURCE=.\FooS_T.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Foo.idl - -!IF "$(CFG)" == "POA TIE Client - Win32 Release" - -USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "POA TIE Client - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/POA/TIE/run_test.pl b/TAO/examples/POA/TIE/run_test.pl deleted file mode 100755 index a29847cd8a2..00000000000 --- a/TAO/examples/POA/TIE/run_test.pl +++ /dev/null @@ -1,72 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; - -$status = 0; - -$iorfile = "ior"; - -$iorfile_1 = $iorfile."_1"; -$iorfile_2 = $iorfile."_2"; -$iorfile_3 = $iorfile."_3"; -$iorfile_4 = $iorfile."_4"; -$iorfile_5 = $iorfile."_5"; -$iorfile_6 = $iorfile."_6"; - -unlink $iorfile_1; -unlink $iorfile_2; -unlink $iorfile_3; -unlink $iorfile_4; -unlink $iorfile_5; -unlink $iorfile_6; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT"); - -# In this example all the files are written out at the same time. So make a -# check only for the first file -if (ACE::waitforfile_timed ($iorfile_1, 5) == -1) { - print STDERR "ERROR: cannot find file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$client = Process::Create ($EXEPREFIX."client$EXE_EXT", - "-a file://$iorfile_1 -b file://$iorfile_2 -c file://$iorfile_3 -d file://$iorfile_4"); - -if ($client->TimedWait (60) == -1) { - print STDERR "ERROR: client timedout\n"; - $status = 1; - $client->Kill (); $client->TimedWait (1); -} - -if (ACE::waitforfile_timed ($iorfile_5,1) == 0) { - $client = Process::Create ($EXEPREFIX."client$EXE_EXT", - " -e file://$iorfile_5 -f file://$iorfile_6"); - - if ($client->TimedWait (60) == -1) { - print STDERR "ERROR: client timedout\n"; - $status = 1; - $client->Kill (); $client->TimedWait (1); - } -} - -unlink $iorfile_1; -unlink $iorfile_2; -unlink $iorfile_3; -unlink $iorfile_4; -unlink $iorfile_5; -unlink $iorfile_6; - -$SV->Terminate (); if ($SV->TimedWait (5) == -1) { - print STDERR "ERROR: couldn't terminate server nicely\n"; - $status = 1; - $SV->Kill (); $SV->TimedWait (1); -} - -exit $status; diff --git a/TAO/examples/POA/TIE/server.cpp b/TAO/examples/POA/TIE/server.cpp deleted file mode 100644 index 8264cb6f8bf..00000000000 --- a/TAO/examples/POA/TIE/server.cpp +++ /dev/null @@ -1,284 +0,0 @@ -// $Id$ - -// ========================================================================= -// = LIBRARY -// TAO/tests/POA/TIE -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// In this example, -// -// = AUTHOR -// Irfan Pyarali -// ========================================================================= - -#include "ace/streams.h" -#include "Foo_i.h" - -ACE_RCSID(TIE, server, "$Id$") - -int -main (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - - char str[256]; - - ACE_TRY - { - ACE_OS::strcpy (str, "CORBA::ORB_init"); - - // Initialize the ORB first. - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Obtain the RootPOA. - CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA"); - - ACE_OS::strcpy (str, "PortableServer::POA::_narrow"); - - // Get the POA_var object from Object_var. - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "PortableServer::POA::the_POAManager"); - // Get the POAManager of the RootPOA. - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - - // Policies for the firstPOA to be created. - CORBA::PolicyList policies (2); - policies.length (2); - - ACE_OS::strcpy (str,"PortableServer::POA::create_lifespan_policy"); - // Lifespan policy - policies[0] = - root_poa->create_lifespan_policy (PortableServer::PERSISTENT, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "PortableServer::POA::create_implicit_activation_policy"); - // Implicit activation policy - policies[1] = - root_poa->create_implicit_activation_policy (PortableServer::IMPLICIT_ACTIVATION, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "PortableServer::POA::create_POA"); - // Create the firstPOA under the RootPOA. - ACE_CString name = "firstPOA"; - PortableServer::POA_var first_poa = - root_poa->create_POA (name.c_str (), - poa_manager.in (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - - ACE_OS::strcpy (str,"PortableServer::POA::create_POA"); - - // Creation of POAs is over. Destroy the Policy objects. - for (CORBA::ULong i = 0; - i < policies.length (); - ++i) - { - CORBA::Policy_ptr policy = policies[i]; - policy->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - // Create A_i - A_i a_impl (27, first_poa.in ()); - - // Create B_i - Outer_i::B_i b_impl (28, first_poa.in ()); - - // Create C_i - Outer_i::Inner_i::C_i c_impl (29, first_poa.in ()); - - // Create A tie - Tie_i a_tie_i (30); - POA_A_tie a_tie_impl (a_tie_i, first_poa.in ()); - -#if defined (ACE_HAS_USING_KEYWORD) - - // Create B tie - Tie_i b_tie_i (31); - POA_Outer::B_tie b_tie_impl (b_tie_i, first_poa.in ()); - - // Create C tie - Tie_i c_tie_i (32); - POA_Outer::Inner::C_tie c_tie_impl (c_tie_i, first_poa.in ()); - -#endif /* ACE_HAS_USING_KEYWORD */ - - ACE_OS::strcpy (str, "POA_A::_this"); - // Get Object Reference for the a_impl object. - A_var a = a_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - - ACE_OS::strcpy (str, "POA_Outer::B::_this"); - // Get Object Reference for the b_impl object. - Outer::B_var b = b_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "POA_Outer::Inner::C::_this"); - // Get Object Reference for the c_impl object. - Outer::Inner::C_var c = c_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_OS::strcpy (str, "POA_A::_this"); - // Get Object Reference for the a_tie_impl object. - A_var a_tie = a_tie_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - -#if defined (ACE_HAS_USING_KEYWORD) - ACE_OS::strcpy (str, "POA_Outer::B::_this"); - // Get Object Reference for the a_tie_impl object. - Outer::B_var b_tie = b_tie_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - - ACE_OS::strcpy (str, "POA_Outer::C::_this"); - // Get Object Reference for the c_tie_impl object. - Outer::Inner::C_var c_tie = c_tie_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - -#endif /* ACE_HAS_USING_KEYWORD */ - - ACE_OS::strcpy (str, "CORBA::ORB::object_to_string"); - // Stringyfy all the object references and print them out. - CORBA::String_var first_ior = - orb->object_to_string (a.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Stringyfy all the object references and print them out. - CORBA::String_var second_ior = - orb->object_to_string (b.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Stringyfy all the object references and print them out. - CORBA::String_var third_ior = - orb->object_to_string (c.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Stringyfy all the object references and print them out. - CORBA::String_var forth_ior = - orb->object_to_string (a_tie.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - FILE *output_file_1 = ACE_OS::fopen ("ior_1", "w"); - FILE *output_file_2 = ACE_OS::fopen ("ior_2", "w"); - FILE *output_file_3 = ACE_OS::fopen ("ior_3", "w"); - FILE *output_file_4 = ACE_OS::fopen ("ior_4", "w"); - - if (output_file_1) - ACE_OS::fprintf (output_file_1, - "%s", - first_ior.in ()); - if (output_file_2) - ACE_OS::fprintf (output_file_2, - "%s", - second_ior.in ()); - if (output_file_3) - ACE_OS::fprintf (output_file_3, - "%s", - third_ior.in ()); - if (output_file_4) - ACE_OS::fprintf (output_file_4, - "%s", - forth_ior.in ()); - - ACE_OS::fclose (output_file_1); - ACE_OS::fclose (output_file_2); - ACE_OS::fclose (output_file_3); - ACE_OS::fclose (output_file_4); - -#if defined (ACE_HAS_USING_KEYWORD) - - // Stringyfy all the object references and print them out. - CORBA::String_var fifth_ior = - orb->object_to_string (b_tie.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - - // Stringyfy all the object references and print them out. - CORBA::String_var sixth_ior = - orb->object_to_string (c_tie.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - FILE *output_file_5 = ACE_OS::fopen ("ior_5", "w"); - FILE *output_file_6 = ACE_OS::fopen ("ior_6", "w"); - - if (output_file_5) - ACE_OS::fprintf (output_file_5, - "%s", - fifth_ior.in ()); - if (output_file_6) - ACE_OS::fprintf (output_file_6, - "%s", - sixth_ior.in ()); - - ACE_OS::fclose (output_file_5); - ACE_OS::fclose (output_file_6); - -#endif /* ACE_HAS_USING_KEYWORD */ - - ACE_DEBUG ((LM_DEBUG, - "%s\n%s\n%s\n%s\n", - first_ior.in (), - second_ior.in (), - third_ior.in (), - forth_ior.in ())); - -#if defined (ACE_HAS_USING_KEYWORD) - - ACE_DEBUG ((LM_DEBUG, - "%s\n%s\n", - fifth_ior.in (), - sixth_ior.in ())); - -#endif /* ACE_HAS_USING_KEYWORD */ - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1); - - ACE_OS::strcpy (str, "PortableServer::POA::destroy"); - // Destroy RootPOA. - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, str); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class POA_A_tie; -#if defined (ACE_HAS_USING_KEYWORD) -template class POA_Outer::B_tie ; -template class POA_Outer::Inner::C_tie ; -#endif /* ACE_HAS_USING_KEYWORD */ -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate POA_A_tie -#if defined (ACE_HAS_USING_KEYWORD) -#pragma instantiate POA_Outer::B_tie -#pragma instantiate POA_Outer::Inner::C_tie -#endif /* ACE_HAS_USING_KEYWORD */ -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/POA/TIE/server.dsp b/TAO/examples/POA/TIE/server.dsp deleted file mode 100644 index 5a323b79b57..00000000000 --- a/TAO/examples/POA/TIE/server.dsp +++ /dev/null @@ -1,218 +0,0 @@ -# Microsoft Developer Studio Project File - Name="POA TIE Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=POA TIE Server - 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 "server.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 "server.mak" CFG="POA TIE Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "POA TIE Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "POA TIE Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "POA TIE Server - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 tao.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "POA TIE Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "POA TIE Server - Win32 Release" -# Name "POA TIE Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Foo_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\FooC.cpp -# End Source File -# Begin Source File - -SOURCE=.\FooS.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Foo_i.h -# End Source File -# Begin Source File - -SOURCE=.\FooC.h -# End Source File -# Begin Source File - -SOURCE=.\FooS.h -# End Source File -# Begin Source File - -SOURCE=.\FooS_T.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Foo.idl - -!IF "$(CFG)" == "POA TIE Server - Win32 Release" - -USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "POA TIE Server - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Foo.idl -InputName=Foo - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Persistent_Grid/Grid.idl b/TAO/examples/Persistent_Grid/Grid.idl deleted file mode 100644 index 1f8b74be7a6..00000000000 --- a/TAO/examples/Persistent_Grid/Grid.idl +++ /dev/null @@ -1,55 +0,0 @@ -// -*- C++ -*- -// $Id$ - -interface Grid -{ - // = TITLE - // Create a of type - - attribute short height; - // Height of the grid. - - attribute short width; - // Width of the grid. - - exception RANGE_ERROR - { - // = TITLE - // The range of parameter values do not fall in the expected - // range. - }; - - // = Constants for LOCATIONS and VALUE. - const short DEFAULT_SIZE = 10; - const short DEFAULT_VALUE = 1; - - void set (in short n, in short m, in long value) - raises (RANGE_ERROR); - // Set the element [n,m] of the grid, to value. - - long get (in short n, in short m) - raises (RANGE_ERROR); - // Return element [n,m] of the grid. - - void destroy (); - // Destroy the grid. -}; - -interface Grid_Factory -{ - // = TITLE - // Factory that creates a - - // = Default height and width for a . - const short DEFAULT_HEIGHT = 10; - const short DEFAULT_WIDTH = 10; - - Grid make_grid (in short height, in short width); - // Returns a new instance. - - void shutdown (); - // Shutdown the application. - - void cleanup (); - // Unbind from persistent memory -}; diff --git a/TAO/examples/Persistent_Grid/Grid_Client_i.cpp b/TAO/examples/Persistent_Grid/Grid_Client_i.cpp deleted file mode 100644 index 1aa4b1d29e6..00000000000 --- a/TAO/examples/Persistent_Grid/Grid_Client_i.cpp +++ /dev/null @@ -1,131 +0,0 @@ -//$Id$ - -#include "Grid_Client_i.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" - -// This is the interface program that accesses the remote object - -// Constructor. -Grid_Client_i::Grid_Client_i (void) - : height_ (0), - width_ (0), - setx_ (0), - sety_ (0), - value_ (0) - -{ - //no-op -} - -//Destructor. -Grid_Client_i::~Grid_Client_i (void) -{ - //no-op -} - -int -Grid_Client_i::parse_args (int argc, - char *argv[]) -{ - // Parses some of the options that are specific to this example - ACE_Get_Opt get_opts (argc, argv, "df:nk:xw:h:v:"); - - int c = 0; - while ((c = get_opts ()) != -1) - switch (c) - { - case 'w': - this->width_ = (u_int) ACE_OS::atoi (get_opts.optarg); - break; - case 'h': - this->height_ = (u_int) ACE_OS::atoi (get_opts.optarg); - break; - case 'v': - this->value_ = (u_int) ACE_OS::atoi (get_opts.optarg); - break; - } - - if (width_ == 0 ) - width_ = Grid::DEFAULT_SIZE; - if (height_ == 0 ) - height_ = Grid::DEFAULT_SIZE; - if (value_ == 0 ) - value_ = Grid::DEFAULT_VALUE; - return 0; -} - -int -Grid_Client_i::run (const char *name, - int argc, - char *argv[]) -{ - // Initialize the client. - if (client.init (name, argc, argv) == -1) - return -1; - - if (this->parse_args (argc, argv) == -1) - return -1; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Make the Grid. - - Grid_ptr grid = client->make_grid (width_, - height_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) Made the grid succesfully\n")); - - for (CORBA::Short index_ = 0; index_ < width_; index_++) - { - for (CORBA::Short ctr = 0; ctr < height_; ctr++) - { - ACE_DEBUG ((LM_DEBUG, - "Grid value [%d][%d] = %d \n",index_, ctr,value_+ctr)); - // Set a value on the grid - grid->set (index_, - ctr, - (value_ + ctr), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - } - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) Setting a value for the grid\n")); - - ACE_TRY_CHECK; - - if (client.shutdown () == 1) - client->shutdown (ACE_TRY_ENV); - // ACE_UNUSED_ARG (ret_val); - } - ACE_CATCH (CORBA::UserException, range_ex) - { - ACE_PRINT_EXCEPTION (range_ex, - "\tFrom get and set grid"); - return -1; - } - ACE_CATCH (CORBA::SystemException, memex) - { - ACE_PRINT_EXCEPTION (memex, - "Cannot make grid as Memory exhausted"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Client; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Client -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Persistent_Grid/Grid_Client_i.h b/TAO/examples/Persistent_Grid/Grid_Client_i.h deleted file mode 100644 index dc09193a324..00000000000 --- a/TAO/examples/Persistent_Grid/Grid_Client_i.h +++ /dev/null @@ -1,71 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Simple/grid -// -// = FILENAME -// Grid_Client_i.h -// -// = DESCRIPTION -// This class implements the interface calls for RMI. -// -// = AUTHOR -// Balachandran Natarajan -// -// ============================================================================ - -#ifndef GRID_CLIENT_I_H -#define GRID_CLIENT_I_H - -#include "Simple_util.h" -#include "GridC.h" - -class Grid_Client_i -{ - // = TITLE - // Grid_Client interface subclass. - // - // = DESCRIPTION - // This class implements the interface between the interface - // objects and the client . -public: - // = Initialization and termination methods. - Grid_Client_i (void); - // Constructor - - virtual ~Grid_Client_i (void); - // Destructor - - virtual int run (const char *, int, char *[]); - // Execute the methods. - - virtual int parse_args (int argc, char *argv[]); - // Parses the command line arguments. - -private: - Client client; - // Instantiate the client object. - - CORBA::Short height_; - // Height of the grid. - - CORBA::Short width_; - // Width of the grid. - - CORBA::Short setx_; - // Cell identifier in which a value meeds to be stored. - - CORBA::Short sety_; - // Cell identifier in which a value meeds to be stored. - - CORBA::Long value_; - // The value that needs to be stored in the cell. - - CORBA::Short repeat_; - // A flag for testing persistence -}; - -#endif /* TIME_CLIENT_I_H */ diff --git a/TAO/examples/Persistent_Grid/Grid_i.cpp b/TAO/examples/Persistent_Grid/Grid_i.cpp deleted file mode 100644 index a192b8a4d8a..00000000000 --- a/TAO/examples/Persistent_Grid/Grid_i.cpp +++ /dev/null @@ -1,258 +0,0 @@ -// -*- C++ -*- -// $Id$ -#include "Grid_i.h" -#include "tao/corba.h" - -// Default constructor. - -Grid_i::Grid_i (void) - : width_ (0), - height_ (0), - array_ (0) -{ - //no-op -} - -// Constructor. - -Grid_i::Grid_i (CORBA::Short x, - CORBA::Short y, - pool_t *mem_pool) - : width_ (x), - height_ (y) -{ - // First try to locate the matrix in the pool. If it is there then - // it has already been created. In such a case we just get that - // memory and assign it to array_ - if (mem_pool->find ("Array", (void *&) array_) == -1) - { - // Allocate memory for the matrix. - ACE_ALLOCATOR (array_, - ACE_static_cast (CORBA::Long **, - mem_pool->malloc (y * sizeof (CORBA::Long *)))); - //array_ = (CORBA::Long **) mem_pool->malloc (y * sizeof (CORBA::Long *)); - - if (array_ != 0) - { - for (int ctr = 0; ctr < y; ctr++) - { - ACE_ALLOCATOR (array_[ctr], - ACE_static_cast (CORBA::Long *, - mem_pool->malloc (x * - sizeof (CORBA::Long )))); - - //array_[ctr] = (CORBA::Long *)mem_pool->malloc (x * - // sizeof (CORBA::Long)); - } - - mem_pool->bind ("Array", array_); - } - } -} - -// Default destructor. - -Grid_i::~Grid_i (void) -{ - // no-op. -} - -// Set a value in the grid. - -void -Grid_i::set (CORBA::Short x, - CORBA::Short y, - CORBA::Long value, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Grid::RANGE_ERROR)) -{ - if (x < 0 - || y < 0 - || x >= width_ - || y >= height_) - ACE_THROW (Grid::RANGE_ERROR ()); - else - array_[x][y] = value; -} - -// Get a value from the grid. - -CORBA::Long -Grid_i::get (CORBA::Short x, - CORBA::Short y, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Grid::RANGE_ERROR)) -{ - if (x < 0 - || y < 0 - || x >= width_ - || y >= height_) - ACE_THROW_RETURN (Grid::RANGE_ERROR (), -1); - else - return array_[x][y]; -} - -// Access methods. - -CORBA::Short -Grid_i::width (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->width_; -} - -CORBA::Short -Grid_i::height (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->height_; -} - -void -Grid_i::width (CORBA::Short x, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->width_ = x; -} - -void -Grid_i::height (CORBA::Short y, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->height_ = y; -} - -// Destroy the grid -void -Grid_i::destroy (CORBA::Environment & ) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Delete the array. - for (int i = 0; i < height_; i++) - this->pool_t_->free (array_[i]); - - // delete [] array_; - this->pool_t_->free (array_); - - ACE_DEBUG ((LM_DEBUG, - " (%P|%t) %s\n", - "Grid has been destroyed")); -} - -void -Grid_i::set_pool (pool_t *pool) -{ - this->pool_t_ = pool; -} -// Constructor - -Grid_Factory_i::Grid_Factory_i (void) - : orb_ (0), - pool_name_ (0), - pool_t_ (0) -{ - // no-op -} - -// Copy Constructor - -Grid_Factory_i::Grid_Factory_i (Grid_Factory_i &) - :pool_t_ (0) -{ - // no-op -} - -// Destructor - -Grid_Factory_i::~Grid_Factory_i (void) -{ - delete this->pool_t_; - // no-op -} - -// Make a . - -Grid_ptr -Grid_Factory_i::make_grid (CORBA::Short width, - CORBA::Short height, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - " (%P|%t) Making a new Grid\n")); - - // Set a default value for width. - if (width <= 0) - width = Grid_Factory::DEFAULT_WIDTH; - - // Set a default value for height. - if (height <= 0) - height = Grid_Factory::DEFAULT_HEIGHT; - - // Get a memory pool - ACE_NEW_THROW_EX (pool_t_, - pool_t (pool_name_), - CORBA::NO_MEMORY ()); - - // pool_t_ = new pool_t (pool_name_); - - // This attempts to create a new Grid_i and throws an exception and - // returns a null value if it fails - int prev_no = errno; - Grid_i *grid_ptr = new Grid_i (width, - height, - pool_t_); - if (errno == ENOMEM) - ACE_THROW_RETURN (CORBA::NO_MEMORY (), 0); - - errno = prev_no; - - grid_ptr->set_pool (pool_t_); - - // Register the Grid pointer. - return grid_ptr->_this (ACE_TRY_ENV); -} - -// Set the ORB pointer. - -void -Grid_Factory_i::orb (CORBA::ORB_ptr o) -{ - this->orb_ = CORBA::ORB::_duplicate (o); -} - -// Shutdown. -void -Grid_Factory_i::shutdown (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - " (%P|%t) %s\n", - "Grid Factory is shutting down")); - - // Instruct the ORB to shutdown. - this->orb_->shutdown (); -} - -void -Grid_Factory_i::cleanup (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - const char *name = "Array"; - - if (this->pool_t_->unbind (name) == -1) - ACE_DEBUG ((LM_DEBUG, - "\n Failed to unbind ")); -} - -void -Grid_Factory_i::pool_name (const char *name) -{ - this->pool_name_ = ACE_OS::strdup (name); -} - - diff --git a/TAO/examples/Persistent_Grid/Grid_i.h b/TAO/examples/Persistent_Grid/Grid_i.h deleted file mode 100644 index a3e2dbb135d..00000000000 --- a/TAO/examples/Persistent_Grid/Grid_i.h +++ /dev/null @@ -1,153 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Simple/grid -// -// = FILENAME -// Grid_i.h -// -// = DESCRIPTION -// This class implements the Grid IDL interface. -// -// = AUTHOR -// -// ============================================================================ - -#ifndef GRID_I_H -#define GRID_I_H - -#include "GridS.h" - -typedef ACE_Malloc pool_t; -// Memory pool for the persistent stuff - -//class Grid_Factory_i; -class Grid_Factory_i : public POA_Grid_Factory -{ - // =TITLE - // Create a . -public: - // = Initialization and termination methods. - Grid_Factory_i (void); - // Constructor. - - Grid_Factory_i (Grid_Factory_i &); - // Copy constructor to fool g++ - - ~Grid_Factory_i (void); - // Destructor. - - - virtual Grid_ptr make_grid (CORBA::Short, - CORBA::Short, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // This function creates and returns a . - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Shutdown the server. - - virtual void cleanup (CORBA::Environment & ) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Do a clean up of the memory map - - void orb (CORBA::ORB_ptr o); - // Set the ORB pointer. - - void pool_name (const char *name); - // Set the pool pointer - -private: - CORBA::ORB_var orb_; - // ORB pointer. - - char *pool_name_; - // Name of the pool - - pool_t *pool_t_; - // Hold the pool of name pool_name_ -}; - - -class Grid_i: public POA_Grid -{ - // = TITLE - // Grid object implementation. - // - // = DESCRIPTION - // Grid object implementation -public: - // = Initialization and termination methods. - - Grid_i (void); - // Constructor - - Grid_i (CORBA::Short, - CORBA::Short, - pool_t *); - - // Constructor. - - ~Grid_i (void); - // Destructor - - virtual CORBA::Short width (CORBA_Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns the width of the grid - - virtual CORBA::Short height (CORBA_Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns the height of the grid - - virtual void width (CORBA::Short, - CORBA_Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Sets the width of the grid. - - virtual void height (CORBA::Short, - CORBA_Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Sets the height of the grid. - - virtual void set (CORBA::Short, - CORBA::Short, - CORBA::Long, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException, - Grid::RANGE_ERROR)); - // Sets the grid value. - - virtual CORBA::Long get (CORBA::Short, - CORBA::Short, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException, - Grid::RANGE_ERROR)); - // Gets the grid value. - - virtual void destroy (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Destroy the grid. - - void set_pool (pool_t *); - // Set a pointer to the pool - -private: - CORBA::Short width_; - // Width of the grid. - - CORBA::Short height_; - // Height of the grid. - - CORBA::Long **array_; - // Pointer to the matrix. This is organized as an "array of arrays." - - pool_t *pool_t_; - //Pointer to the memory pool.. -}; - - -#endif /* GRID_I_H */ diff --git a/TAO/examples/Persistent_Grid/Makefile b/TAO/examples/Persistent_Grid/Makefile deleted file mode 100644 index 76f23c97fdd..00000000000 --- a/TAO/examples/Persistent_Grid/Makefile +++ /dev/null @@ -1,2348 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#LDLIBS = -lorbsvcs -lTAO -LDLIBS = -lTAO - -IDL_SRC = GridC.cpp GridS.cpp - -PROG_SRCS = \ - client.cpp \ - server.cpp \ - Grid_i.cpp \ - Grid_Client_i.cpp \ - Simple_util.cpp \ - Persistent_Client_i.cpp \ - persistent_client.cpp - -SRC = $(IDL_SRC) $(PROG_SRCS) - -TEST_CLT_OBJS = \ - GridC.o \ - persistent_client.o \ - Simple_util.o \ - Persistent_Client_i.o -SIMPLE_CLT_OBJS = \ - GridC.o \ - client.o \ - Simple_util.o \ - Grid_Client_i.o -SIMPLE_SVR_OBJS = \ - GridC.o \ - GridS.o \ - Grid_i.o \ - server.o \ - Simple_util.o - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = server \ - client \ - persistent_client - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Naming - -TAO_IDLFLAGS += -Ge 1 - -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - - -#LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/Naming_Service -LDFLAGS += -L$(TAO_ROOT)/tao -#CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -.PRECIOUS: GridC.cpp GridC.i GridC.h -.PRECIOUS: GridS.cpp GridS.i GridS.h -.PRECIOUS: GridS_T.cpp GridS_T.i GridS_T.h - -#TAO_IDLFLAGS += -server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -persistent_client: $(addprefix $(VDIR),$(TEST_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) GridC.* GridS.* GridS_T.* - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/GridC.o .obj/GridC.so .shobj/GridC.o .shobj/GridC.so: GridC.cpp GridC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/varout.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h GridC.i -.obj/GridS.o .obj/GridS.so .shobj/GridS.o .shobj/GridS.so: GridS.cpp GridS.h GridC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/varout.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h GridC.i \ - GridS_T.h GridS_T.i GridS_T.cpp GridS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp Grid_Client_i.h Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i Simple_util.cpp \ - GridC.h $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h GridC.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i Simple_util.cpp \ - Grid_i.h GridS.h GridC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h GridC.i \ - GridS_T.h GridS_T.i GridS_T.cpp GridS.i -.obj/Grid_i.o .obj/Grid_i.so .shobj/Grid_i.o .shobj/Grid_i.so: Grid_i.cpp Grid_i.h GridS.h GridC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/varout.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h GridC.i \ - GridS_T.h GridS_T.i GridS_T.cpp GridS.i -.obj/Grid_Client_i.o .obj/Grid_Client_i.so .shobj/Grid_Client_i.o .shobj/Grid_Client_i.so: Grid_Client_i.cpp Grid_Client_i.h Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i Simple_util.cpp \ - GridC.h $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h GridC.i -.obj/Simple_util.o .obj/Simple_util.so .shobj/Simple_util.o .shobj/Simple_util.so: Simple_util.cpp Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i Simple_util.cpp -.obj/Persistent_Client_i.o .obj/Persistent_Client_i.so .shobj/Persistent_Client_i.o .shobj/Persistent_Client_i.so: Persistent_Client_i.cpp Persistent_Client.h \ - Simple_util.h $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i Simple_util.cpp \ - GridC.h $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h GridC.i -.obj/persistent_client.o .obj/persistent_client.so .shobj/persistent_client.o .shobj/persistent_client.so: persistent_client.cpp Persistent_Client.h \ - Simple_util.h $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config-sunos5.6.h \ - $(ACE_ROOT)/ace/config-sunos5.5.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i Simple_util.cpp \ - GridC.h $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h GridC.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Persistent_Grid/Persistent_Client.h b/TAO/examples/Persistent_Grid/Persistent_Client.h deleted file mode 100644 index a17c4c38d49..00000000000 --- a/TAO/examples/Persistent_Grid/Persistent_Client.h +++ /dev/null @@ -1,62 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Persistent_Client -// -// = FILENAME -// Persistent_Client_i.h -// -// = DESCRIPTION -// This class implements the interface calls for RMI. -// -// = AUTHOR -// Balachandran Natarajan -// -// ============================================================================ - -#ifndef PERSISTENT_CLIENT_I_H -#define PERSISTENT_CLIENT_I_H - -#include "Simple_util.h" -#include "GridC.h" - -class Persistent_Client_i -{ - // = TITLE - // Grid_Client interface subclass. - // - // = DESCRIPTION - // This class implements the interface between the interface - // objects and the client . -public: - // = Initialization and termination methods. - Persistent_Client_i (void); - // Constructor - - virtual ~Persistent_Client_i (void); - // Destructor - - virtual int run (const char *, int, char *[]); - // Execute the methods. - - virtual int parse_args (int argc, char *argv[]); - // Parses the command line arguments. - -private: - Client client; - // Instantiate the client object. - - CORBA::Short height_; - // Height of the grid - - CORBA::Short width_; - // Width of the grid. - - CORBA::Short remove_; - // Flag for the deletion of memory -}; - -#endif /* PERSISTENT_CLIENT_I_H */ diff --git a/TAO/examples/Persistent_Grid/Persistent_Client_i.cpp b/TAO/examples/Persistent_Grid/Persistent_Client_i.cpp deleted file mode 100644 index 1711dd5ccee..00000000000 --- a/TAO/examples/Persistent_Grid/Persistent_Client_i.cpp +++ /dev/null @@ -1,117 +0,0 @@ -//$Id$ -#include "Persistent_Client.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" - -// This is the interface program that accesses the remote object - -// Constructor. -Persistent_Client_i::Persistent_Client_i (void) - : height_ (0), - width_ (0) -{ - //no-op -} - -//Destructor. -Persistent_Client_i::~Persistent_Client_i (void) -{ - //no-op -} - -int -Persistent_Client_i::parse_args (int argc, - char *argv[]) -{ - // Parses some of the options that are specific to this example - ACE_Get_Opt get_opts (argc, argv, "dk:f:xw:h:r"); - - int c = 0; - while ((c = get_opts ()) != -1) - { - switch (c) - { - case 'w': - this->width_ = (u_int) ACE_OS::atoi (get_opts.optarg); - break; - case 'h': - this->height_ = (u_int) ACE_OS::atoi (get_opts.optarg); - break; - case 'r': - this->remove_ = 1; - break; - } - } - - return 0; -} - -int -Persistent_Client_i::run (const char *name, - int argc, - char *argv[]) -{ - // Initialize the client. - if (client.init (name, argc, argv) == -1) - return -1; - - if (this->parse_args (argc, argv) == -1) - return -1; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Make the Grid. - Grid_ptr grid = client->make_grid (width_, - height_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) Made the grid succesfully\n")); - - - for (CORBA::Short index_ = 0; index_ < height_; index_++) - { - for (CORBA::Short ctr = 0; ctr < width_; ctr++) - { - CORBA::Long ret_val = grid->get (index_, - ctr, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Grid value [%d][%d] = %d \n",index_, ctr,ret_val)); - } - } - - if (client.shutdown () == 1) - client->shutdown (ACE_TRY_ENV); - - if (this->remove_ == 1) - client->cleanup (ACE_TRY_ENV); - } - ACE_CATCH (CORBA::UserException, range_ex) - { - ACE_PRINT_EXCEPTION (range_ex, - "\tFrom get and set grid"); - return -1; - } - ACE_CATCH (CORBA::SystemException, memex) - { - ACE_PRINT_EXCEPTION (memex, - "Cannot make grid as Memory exhausted"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Client; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Client -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Persistent_Grid/Persistent_Grid.dsw b/TAO/examples/Persistent_Grid/Persistent_Grid.dsw deleted file mode 100644 index e050db95363..00000000000 --- a/TAO/examples/Persistent_Grid/Persistent_Grid.dsw +++ /dev/null @@ -1,53 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Persistent Grid Client Files"=.\Persistent_Grid_Client_Files.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Persistent Grid Second Client FIles"=.\Persistent_Grid_Second_Client_Files.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Persistent Grid Server FIles"=.\Persistent_Grid_Server_Files.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Persistent_Grid/Persistent_Grid_Client_Files.dsp b/TAO/examples/Persistent_Grid/Persistent_Grid_Client_Files.dsp deleted file mode 100644 index 8e91b936cc2..00000000000 --- a/TAO/examples/Persistent_Grid/Persistent_Grid_Client_Files.dsp +++ /dev/null @@ -1,178 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Persistent Grid Client Files" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Persistent Grid Client Files - 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 "Persistent Grid Client Files.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 "Persistent Grid Client Files.mak"\ - CFG="Persistent Grid Client Files - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Persistent Grid Client Files - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Persistent Grid Client Files - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Persistent Grid Client Files - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD 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 /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "Persistent Grid Client Files - 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 ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /out:"client.exe" /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Persistent Grid Client Files - Win32 Release" -# Name "Persistent Grid Client Files - Win32 Debug" -# Begin Group "Source FIles" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\Grid_Client_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\GridC.cpp -# End Source File -# Begin Source File - -SOURCE=.\GridS.cpp -# End Source File -# Begin Source File - -SOURCE=.\Simple_util.cpp -# End Source File -# End Group -# Begin Group "Header files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Grid_Client_i.h -# End Source File -# Begin Source File - -SOURCE=.\GridC.h -# End Source File -# Begin Source File - -SOURCE=.\GridS.h -# End Source File -# End Group -# Begin Group "IDL files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Grid.idl - -!IF "$(CFG)" == "Persistent Grid Client Files - Win32 Release" - -!ELSEIF "$(CFG)" == "Persistent Grid Client Files - Win32 Debug" - -# Begin Custom Build -InputPath=.\Grid.idl -InputName=Grid - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Persistent_Grid/Persistent_Grid_Second_Client_Files.dsp b/TAO/examples/Persistent_Grid/Persistent_Grid_Second_Client_Files.dsp deleted file mode 100644 index de38522671f..00000000000 --- a/TAO/examples/Persistent_Grid/Persistent_Grid_Second_Client_Files.dsp +++ /dev/null @@ -1,177 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Persistent Grid Second Client FIles" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Persistent Grid Second Client FIles - 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 "Persistent Grid Second Client FIles.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 "Persistent Grid Second Client FIles.mak"\ - CFG="Persistent Grid Second Client FIles - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Persistent Grid Second Client FIles - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Persistent Grid Second Client FIles - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Persistent Grid Second Client FIles - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD 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 /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "Persistent Grid Second Client FIles - 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 ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Persistent Grid Second Client FIles - Win32 Release" -# Name "Persistent Grid Second Client FIles - Win32 Debug" -# Begin Group "Source FIles" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\GridC.cpp -# End Source File -# Begin Source File - -SOURCE=.\GridS.cpp -# End Source File -# Begin Source File - -SOURCE=.\persistent_client.cpp -# End Source File -# Begin Source File - -SOURCE=.\Persistent_Client_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Simple_util.cpp -# End Source File -# End Group -# Begin Group "Header FIles" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\GridC.h -# End Source File -# Begin Source File - -SOURCE=.\GridS.h -# End Source File -# Begin Source File - -SOURCE=.\Persistent_Client.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Grid.idl - -!IF "$(CFG)" == "Persistent Grid Second Client FIles - Win32 Release" - -!ELSEIF "$(CFG)" == "Persistent Grid Second Client FIles - Win32 Debug" - -# Begin Custom Build -InputPath=.\Grid.idl -InputName=Grid - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Persistent_Grid/Persistent_Grid_Server_Files.dsp b/TAO/examples/Persistent_Grid/Persistent_Grid_Server_Files.dsp deleted file mode 100644 index c13b8083fab..00000000000 --- a/TAO/examples/Persistent_Grid/Persistent_Grid_Server_Files.dsp +++ /dev/null @@ -1,181 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Persistent Grid Server FIles" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Persistent Grid Server FIles - 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 "Persistent Grid Server FIles.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 "Persistent Grid Server FIles.mak"\ - CFG="Persistent Grid Server FIles - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Persistent Grid Server FIles - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Persistent Grid Server FIles - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Persistent Grid Server FIles - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD 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 /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "Persistent Grid Server FIles - 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 ".\Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Persistent Grid Server FIles - Win32 Release" -# Name "Persistent Grid Server FIles - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Grid_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\GridC.cpp -# End Source File -# Begin Source File - -SOURCE=.\GridS.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# Begin Source File - -SOURCE=.\Simple_util.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Grid_i.h -# End Source File -# Begin Source File - -SOURCE=.\GridC.h -# End Source File -# Begin Source File - -SOURCE=.\GridS.h -# End Source File -# Begin Source File - -SOURCE=.\Simple_util.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Grid.idl - -!IF "$(CFG)" == "Persistent Grid Server FIles - Win32 Release" - -!ELSEIF "$(CFG)" == "Persistent Grid Server FIles - Win32 Debug" - -# Begin Custom Build -InputPath=.\Grid.idl -InputName=Grid - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Persistent_Grid/README b/TAO/examples/Persistent_Grid/README deleted file mode 100644 index ea5b1771acf..00000000000 --- a/TAO/examples/Persistent_Grid/README +++ /dev/null @@ -1,76 +0,0 @@ -$Id$ - -This example shows how to store the state of CORBA servants in -persistent memory. The example is a variation of the Grid example in -$TAO_ROOT/examples/Simple/grid. - -The server hosts the Grid servant. A client sets some values in the -grid. These values are written out by the server in to a -memory-mapped file, at which point the server shuts down. A new -server is then started, which reads from the same memory-mapped file. -Another client (named persistent_client) then reads and prints the -values from the locations where the original client stored the values. - -server: -------- - -server [-d debug] -o -m - -Options: -------- --o Outputs the ior to the file - The ior is the reference using which the client can interact with - the target server object. --m Name of the memory pool. - - -When the server is started, you should see as the first line of output -something that looks like - - iiop:1.0//danzon.cs.wustl.edu:10015/P35ad159600081a38/child_poa/server - (-ORBobjrefstyle url) -or - IOR:000000000000001649444c3a43756269745... - (-ORBobjrefstyle ior) - -client: -------- - -client [-d] [-x] [-f ] [-k file://] - [-w] [-h] [-v] - -Options: -------- --d Debug flag --x Tells the server to shutdown at the end of the test. --f Reads the server ior from the file --k IOR or The IOR can also be given in the format like file://[file.ior] - with the full path - --w Width of the grid --h Height of the grid --v Value that needs to be the starting point for storage. The value - that is stored will be this value + location id. - -persistent_client: ------------------ -persistent_client [-d] [-x] [-f ] [-k file://] - [-w] [-h] [-v] - -Options: -------- --d Debug flag --x Tells the server to shutdown at the end of the test. --f Reads the server ior from the file --k IOR or The IOR can also be given in the format like file://[file.ior] - with the full path - --w Width of the grid from where the values are to be read --h Height of the grid from the where the values are to be read - -run_test.pl: ------------- - -This perl script runs the server then the client. It shuts down the -server and restarts the server. It then starts the persistent_client -to read the values from the memory mapped file. diff --git a/TAO/examples/Persistent_Grid/Simple_util.cpp b/TAO/examples/Persistent_Grid/Simple_util.cpp deleted file mode 100644 index 543c4420d39..00000000000 --- a/TAO/examples/Persistent_Grid/Simple_util.cpp +++ /dev/null @@ -1,307 +0,0 @@ -//$Id$ -#ifndef SIMPLE_UTIL_C -#define SIMPLE_UTIL_C -# include "Simple_util.h" - -// Constructor. - - -template -Server::Server (void) - : ior_output_file_ (0), - mem_pool_name_ (0) -{ - // no-op. -} - -// Destructor. - -template -Server::~Server (void) -{ -} - -// Parse the command-line arguments and set options. - -template int -Server::parse_args (void) -{ - ACE_Get_Opt get_opts (this->argc_, this->argv_, "do:m:"); - int c = 0; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; - break; - case 'o': // output the IOR to a file. - this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w"); - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - get_opts.optarg), -1); - break; - - case 'm': - this->mem_pool_name_ = get_opts.optarg; - break; - case '?': // display help for use of the server. - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-o] " - "\n", - argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - - -// Initialize the server. -template int -Server::init (const char *servant_name, - int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - // Call the init of to initialize the ORB and - // create a child POA under the root POA. - if (this->orb_manager_.init_child_poa (argc, - argv, - "child_poa", - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init_child_poa"), - -1); - - ACE_CHECK_RETURN (-1); - - this->argc_ = argc; - this->argv_ = argv; - - int retval = this->parse_args (); - - if (retval != 0) - return retval; - - CORBA::ORB_var orb = this->orb_manager_.orb (); - - // Stash our ORB pointer for later reference. - this->servant_.orb (orb.in ()); - - // Stash the memory pool name for reference - this->servant_.pool_name (mem_pool_name_); - - // Activate the servant in its own child POA. - - // Make sure that you check for failures here via the ACE_TRY - // macros?! - ACE_TRY - { - CORBA::String_var str = - this->orb_manager_.activate_under_child_poa (servant_name, - &this->servant_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", - str.in ())); - - if (this->ior_output_file_) - { - ACE_OS::fprintf (this->ior_output_file_, - "%s", - str.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "\tException in activation of POA"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -template int -Server::run (CORBA::Environment &ACE_TRY_ENV) -{ - // Run the main event loop for the ORB. - if (this->orb_manager_.run (ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Server_i::run"), - -1); - - return 0; -} - - - -///////////////////////////////////////////////////////////////// -// Client code Starts here -//////////////////////////////////////////////////////////////// - -// Constructor. -template -Client::Client (void) - : ior_ (0) -{ - //no-op -} - -// Reads the Server ior from a file - -template int -Client::read_ior (char *filename) -{ - // Open the file for reading. - ACE_HANDLE f_handle = ACE_OS::open (filename, 0); - - if (f_handle == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - filename), - -1); - - ACE_Read_Buffer ior_buffer (f_handle); - char *data = ior_buffer.read (); - - if (data == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior: %p\n"), - -1); - - this->ior_ = ACE_OS::strdup (data); - ior_buffer.alloc ()->free (data); - - ACE_OS::close (f_handle); - - return 0; -} - -// Parses the command line arguments and returns an error status. - -template int -Client::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "df:k:x"); - int c = 0; - int result = 0; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag - TAO_debug_level++; - break; - case 'k': // ior provide on command line - this->ior_ = ACE_OS::strdup (get_opts.optarg); - break; - case 'f': // read the IOR from the file. - result = this->read_ior (get_opts.optarg); - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior from %s : %p\n", - get_opts.optarg), - -1); - break; - case 'x': // read the flag for shutting down - this->shutdown_ = 1; - break; - } - - // Indicates successful parsing of command line. - return 0; -} - -template -Client::~Client (void) -{ - ACE_OS::free (this->ior_); -} - -template int -Client::init (const char *name, - int argc, - char **argv) -{ - this->argc_ = argc; - this->argv_ = argv; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (this->argc_, - this->argv_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - return -1; - - if(this->ior_ != 0) - { - CORBA::Object_var server_object = - this->orb_->string_to_object (this->ior_, ACE_TRY_ENV); - ACE_TRY_CHECK; - - - if (CORBA::is_nil (server_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "invalid ior <%s>\n", - this->ior_), - -1); - this->server_ = InterfaceObj::_narrow (server_object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "no ior or naming options specified\n"), - -1); - - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Client_i::init"); - return -1; - } - ACE_ENDTRY; - - - return 0; -} - - -template int -Client::shutdown (void) -{ - // Returns the shutdwon flag - return shutdown_; -} - -template void -Client::shutdown (int flag) -{ - // Fills the flag - shutdown_ = flag; -} - -#endif diff --git a/TAO/examples/Persistent_Grid/Simple_util.h b/TAO/examples/Persistent_Grid/Simple_util.h deleted file mode 100644 index 35d04464917..00000000000 --- a/TAO/examples/Persistent_Grid/Simple_util.h +++ /dev/null @@ -1,165 +0,0 @@ -//$Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Simple -// -// = FILENAME -// Simple_Util.h -// -// = DESCRIPTION -// The classe define the templates for the client and server. -// -// = AUTHOR -// Balachandran Natarajan -// -// ============================================================================ - -#ifndef TAO_UTIL_H -#define TAO_UTIL_H - -#include "tao/TAO.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" - -template -class Server -{ - // = TITLE - // A set of useful class Templates for using the TAO CORBA - // implementation. - // - // = DESCRIPTION - // A template server definition. This template can be used by - // single server/client projects for defintion of their - // server/clients. See the directories time, bank, echo for - // further details of implemenatation. -public: - // = Initialization and termination methods. - - Server (void); - // Constructor. - - ~Server (void); - // Destructor. - - int init (const char *servant_name, - int argc, - char *argv[], - CORBA::Environment &env); - // Initialize the Server state - parsing arguments and waiting. - // interface_name is the name used to register the Servant. - - // int register_name (void); - // After calling , this method will register the server with - // the TAO Naming Service using the servant_name passed to . - - int run (CORBA::Environment &env); - // Run the orb. - - protected: - Servant servant_; - // Servant class - - const char *name; - // name of the servant to be used for TAO Naming Service - - int parse_args (void); - // Parses the commandline arguments. - - TAO_ORB_Manager orb_manager_; - // The ORB manager - a helper class for accessing the POA and - // registering objects. - - FILE *ior_output_file_; - // File where the IOR of the server object is stored. - - char* mem_pool_name_; - // Memory pool name that stores the state - - int argc_; - // Number of command line arguments. - - char **argv_; - // The command line arguments. - -}; - - -// Client Class starts here - -template -class Client -{ - // = TITLE - // Template Client class - // - // = DESCRIPTION - // A template client implementation for a single server/client - // model. The example usage of these usage can be found in the - // sub-directories below -public: - - // = Initialization and termination methods. - Client (void); - // Constructor. - - ~Client (void); - // Destructor. - - int init (const char *name,int argc, char *argv[]); - // Initialize the client communication endpoint with server. - - InterfaceObj *operator-> () { return server_.in ();}; - // Return the interface object pointer. - - int shutdown (void ); - // Returns the shutdown flag. - - void shutdown (int); - // Fills in the shutdwon flag. - - int obtain_initial_references (CORBA::Environment &); - // Initialize naming service - -protected: - int read_ior (char *filename); - // Function to read the server IOR from a file. - - int parse_args (void); - // Parses the arguments passed on the command line. - - CORBA::ORB_var orb_; - // Remember our orb. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - char *ior_; - // IOR of the obj ref of the server. - - CORBA::Environment env_; - // Environment variable. - - int naming_; - // Flag to use the naming service - - int shutdown_; - // Flag for shutting down the server - - Var server_; - // Server object -}; - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "Simple_util.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation "Simple_util.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* TAO_UTIL_H */ diff --git a/TAO/examples/Persistent_Grid/client.cpp b/TAO/examples/Persistent_Grid/client.cpp deleted file mode 100644 index c67b7b80261..00000000000 --- a/TAO/examples/Persistent_Grid/client.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// $Id$ - -# include "Grid_Client_i.h" - -// The client program for the application. - -int -main (int argc, char *argv[]) -{ - Grid_Client_i client; - - ACE_DEBUG ((LM_DEBUG, - "\nGrid client\n\n")); - - if (client.run ("Grid", argc, argv) == -1) - return -1; - else - return 0; - -} - - diff --git a/TAO/examples/Persistent_Grid/persistent_client.cpp b/TAO/examples/Persistent_Grid/persistent_client.cpp deleted file mode 100644 index 3bd9a3137e6..00000000000 --- a/TAO/examples/Persistent_Grid/persistent_client.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// $Id$ - -# include "Persistent_Client.h" - -// The "persistent client" program for the application. - -int -main (int argc, char *argv[]) -{ - Persistent_Client_i client; - - - ACE_DEBUG ((LM_DEBUG, - "\nGrid client\n\n")); - - if (client.run ("grid", argc, argv) == -1) - return -1; - else - return 0; -} - - diff --git a/TAO/examples/Persistent_Grid/run_test.pl b/TAO/examples/Persistent_Grid/run_test.pl deleted file mode 100755 index 91ac2ec3544..00000000000 --- a/TAO/examples/Persistent_Grid/run_test.pl +++ /dev/null @@ -1,54 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -use lib "../../../bin"; -require ACEutils; -require Process; - -$iorfile = "grid.ior"; -$mem = "foo"; - -$SV = Process::Create ($EXEPREFIX."server$Process::EXE_EXT", "-o $iorfile -m $mem"); - -if (ACE::waitforfile_timed ($iorfile, 10) == -1) { - print STDERR "ERROR: timedout waiting for file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$client = Process::Create ($EXEPREFIX."client$Process::EXE_EXT -k file://$iorfile "); -if ($client->TimedWait (60) == -1) { - print STDERR "ERROR: client timedout\n"; - $status = 1; - $client->Kill (); $client->TimeWait (1); -} - -$SV->Kill (); $SV->TimedWait (1); - -unlink $iorfile; - -$server = Process::Create ($EXEPREFIX."server$Process::EXE_EXT", "-o $iorfile -m $mem"); - -if (ACE::waitforfile_timed ($iorfile, 10) == -1) { - print STDERR "ERROR: timedout waiting for file <$iorfile>\n"; - $server->Kill (); $server->TimedWait (1); - exit 1; -} - -$per_client = Process::Create ($EXEPREFIX."persistent_client$Process::EXE_EXT -k file://$iorfile -w 10 -h 10"); - -if ($per_client->TimedWait (60) == -1) { - print STDERR "ERROR: client timedout\n"; - $status = 1; - $perclient->Kill (); $per_client->TimeWait (1); -} - -$server->Kill (); $server->TimedWait (1); - -unlink $iorfile; -unlink $mem; -exit $status; diff --git a/TAO/examples/Persistent_Grid/server.cpp b/TAO/examples/Persistent_Grid/server.cpp deleted file mode 100644 index 79b7e91b33b..00000000000 --- a/TAO/examples/Persistent_Grid/server.cpp +++ /dev/null @@ -1,51 +0,0 @@ -// $Id$ -#include "Simple_util.h" -#include "Grid_i.h" - -// This is the main driver program for the time and date server. - -int -main (int argc, char *argv[]) -{ - Server server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tGrid server\n\n")); - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - if (server.init ("Grid", - argc, - argv, - ACE_TRY_ENV) == -1) - return 1; - else - { - server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Server; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Server -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - diff --git a/TAO/examples/Quoter/Factory_Finder.cpp b/TAO/examples/Quoter/Factory_Finder.cpp deleted file mode 100644 index 319e558116b..00000000000 --- a/TAO/examples/Quoter/Factory_Finder.cpp +++ /dev/null @@ -1,233 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// FactoryFinder.cpp -// -// = DESCRIPTION -// A Factory Finder for the Quoter example. This example conforms -// to the CosLifeCycle Factory Finder notion. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "tao/corba.h" -#include "Factory_Finder.h" - -ACE_RCSID(Quoter, Factory_Finder, "$Id$") - -static const char usage [] = "[-? |\n[-O[RBport] ORB port number]]"; - -Quoter_Factory_Finder_Server::Quoter_Factory_Finder_Server (void) -{ - // Nothing -} - -Quoter_Factory_Finder_Server::~Quoter_Factory_Finder_Server (void) -{ - ACE_TRY_NEW_ENV - { - // Unbind the Quoter Factory Finder. - CosNaming::Name factory_Finder_Name (2); - factory_Finder_Name.length (2); - factory_Finder_Name[0].id = CORBA::string_dup ("IDL_Quoter"); - factory_Finder_Name[1].id = CORBA::string_dup ("Quoter_Factory_Finder"); - if (this->quoterNamingContext_var_.ptr () != 0) - this->quoterNamingContext_var_->unbind (factory_Finder_Name, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "Could not unbind the Factor Finder from the Name Service\n")); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "~Quoter_Factor_Finder_Server"); - } - ACE_ENDTRY; -} - -int -Quoter_Factory_Finder_Server::init (int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - const char *exception_message = "Null Message"; - - ACE_TRY - { - exception_message = "While ORB_Manager::init"; - if (this->orb_manager_.init (argc, - argv, - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init"), - -1); - ACE_TRY_CHECK; - - // Copy them, because parse_args expects them there. - this->argc_ = argc; - this->argv_ = argv; - - this->parse_args (); - - - ACE_NEW_RETURN (this->quoter_Factory_Finder_i_ptr_, - Quoter_Factory_Finder_i(), - -1); - - // Activate the object. - exception_message = "Failure while activating the Quoter Factory Finder Impl"; - CORBA::String_var str = - this->orb_manager_.activate (this->quoter_Factory_Finder_i_ptr_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", - str.in ())); - - // Register the Quoter Factory Finder with the Naming Service - - ACE_DEBUG ((LM_DEBUG,"Trying to get a reference to the Naming Service.\n")); - - // Get the Naming Service object reference. - exception_message = "While resolving the Name Service"; - CORBA::Object_var namingObj_var = - orb_manager_.orb()->resolve_initial_references ("NameService"); - ACE_TRY_CHECK; - - if (CORBA::is_nil (namingObj_var.in ())) - ACE_ERROR ((LM_ERROR, - " (%P|%t) Unable get the Naming Service.\n")); - - // Narrow the object reference to a Naming Context. - exception_message = "While narrowing the Naming Context"; - CosNaming::NamingContext_var namingContext_var = - CosNaming::NamingContext::_narrow (namingObj_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the IDL_Quoter naming context. - CosNaming::Name quoterContextName (1); // max = 1 - quoterContextName.length (1); - quoterContextName[0].id = CORBA::string_dup ("IDL_Quoter"); - - exception_message = "While resolving the Quoter Naming Context"; - CORBA::Object_var quoterNamingObj_var = - namingContext_var->resolve (quoterContextName, ACE_TRY_ENV); - ACE_TRY_CHECK; - - exception_message = "While narrowing the Quoter Naming Context"; - quoterNamingContext_var_ = - CosNaming::NamingContext::_narrow (quoterNamingObj_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Have a proper reference to the Quoter Naming Context.\n")); - - // Bind the QuoterFactory Finder to the IDL_Quoter naming - // context. - CosNaming::Name quoter_Factory_Finder_Name_ (1); - quoter_Factory_Finder_Name_.length (1); - quoter_Factory_Finder_Name_[0].id = CORBA::string_dup ("Quoter_Factory_Finder"); - - exception_message = "While binding the Factory Finder"; - quoterNamingContext_var_->bind (quoter_Factory_Finder_Name_, - this->quoter_Factory_Finder_i_ptr_->_this(ACE_TRY_ENV), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Bound the Quoter Factory Finder to the Quoter Naming Context.\n")); - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "Quoter_Factor_Finder_Server::init - %s\n", exception_message)); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "SYS_EX"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -int -Quoter_Factory_Finder_Server::run (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - - if (orb_manager_.orb()->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "run"), - -1); - return 0; -} - - -// Function get_options. - -u_int -Quoter_Factory_Finder_Server::parse_args (void) -{ - // We need the 'O' in get_opt () because we also want to have ORB - // parameters, they all start with 'O'. - ACE_Get_Opt get_opt (this->argc_, this->argv_, "O?"); - int opt; - - while ((opt = get_opt ()) != EOF) - switch (opt) - { - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - this->argv_[0], usage)); - ACE_OS::exit (0); - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%s: unknown arg, -%c\n" - "Usage: %s %s\n", - this->argv_[0], char (opt), - this->argv_[0], - usage), - 1); - } - return 0; -} - -// function main - -int -main (int argc, char *argv []) -{ - Quoter_Factory_Finder_Server quoter_Factory_Finder_Server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tIDL_Quoter:Quoter_Factory_Finder \n \n")); - ACE_TRY_NEW_ENV - { - if (quoter_Factory_Finder_Server.init (argc,argv,ACE_TRY_ENV) == -1) - return 1; - else - { - quoter_Factory_Finder_Server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_ENDTRY; - return 0; -} diff --git a/TAO/examples/Quoter/Factory_Finder.dsp b/TAO/examples/Quoter/Factory_Finder.dsp deleted file mode 100644 index 8b839e5c71d..00000000000 --- a/TAO/examples/Quoter/Factory_Finder.dsp +++ /dev/null @@ -1,219 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Quoter Factory Finder" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Quoter Factory Finder - 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 "Factory_Finder.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 "Factory_Finder.mak" CFG="Quoter Factory Finder - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Quoter Factory Finder - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Quoter Factory Finder - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Quoter Factory Finder - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Quoter Factory Finder - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Quoter Factory Finder - Win32 Release" -# Name "Quoter Factory Finder - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp" -# Begin Source File - -SOURCE=.\Factory_Finder.cpp -# End Source File -# Begin Source File - -SOURCE=.\Factory_Finder_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\QuoterC.cpp -# End Source File -# Begin Source File - -SOURCE=.\QuoterS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h" -# Begin Source File - -SOURCE=.\Factory_Finder.h -# End Source File -# Begin Source File - -SOURCE=.\Factory_Finder_i.h -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter "i" -# Begin Source File - -SOURCE=.\QuoterC.i -# End Source File -# Begin Source File - -SOURCE=.\QuoterS.i -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Quoter.idl - -!IF "$(CFG)" == "Quoter Factory Finder - Win32 Release" - -USERDEP__QUOTE="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL compiler on $(InputPath) -InputPath=.\Quoter.idl -InputName=Quoter - -BuildCmds= \ - ..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl -I../../orbsvcs/orbsvcs - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Quoter Factory Finder - Win32 Debug" - -USERDEP__QUOTE="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL compiler on $(InputPath) -InputPath=.\Quoter.idl -InputName=Quoter - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl -I../../orbsvcs/orbsvcs - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Quoter/Factory_Finder.h b/TAO/examples/Quoter/Factory_Finder.h deleted file mode 100644 index b2ec79f92f9..00000000000 --- a/TAO/examples/Quoter/Factory_Finder.h +++ /dev/null @@ -1,66 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// FactoryFinder.h -// -// = DESCRIPTION -// Server for the Quoter Factory Finder -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "ace/Get_Opt.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/TAO.h" -#include "Factory_Finder_i.h" - -#ifndef QUOTER_FACTORY_FINDER_H -#define QUOTER_FACTORY_FINDER_H - -class Quoter_Factory_Finder_Server -{ - // = TILE - // Server object for the Quoter Factory Finder - -public: - Quoter_Factory_Finder_Server (void); - // Default constructor - - ~Quoter_Factory_Finder_Server (void); - // Destructor - - int init (int argc, char *argv[], CORBA::Environment& env); - // Initialize the Quoter_Server state - parsing arguments and ... - - int run (CORBA::Environment& env); - // Run the orb - - u_int parse_args (void); - // parse the passed parameters - -private: - TAO_ORB_Manager orb_manager_; - // instance of the ORB Manager - - Quoter_Factory_Finder_i *quoter_Factory_Finder_i_ptr_; - // instance of the Quoter Factory Finder - - CosNaming::NamingContext_var quoterNamingContext_var_; - // reference to the Quoter naming context - - int argc_; - // Number of commandline arguments. - - char **argv_; - // commandline arguments. -}; - -#endif /* QUOTER_FACTORY_FINDER_H */ diff --git a/TAO/examples/Quoter/Factory_Finder_i.cpp b/TAO/examples/Quoter/Factory_Finder_i.cpp deleted file mode 100644 index bc122b3bb28..00000000000 --- a/TAO/examples/Quoter/Factory_Finder_i.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// FactoryFinder_i.cpp -// -// = DESCRIPTION -// A Factory Finder for the Quoter example. This example conforms -// to the CosLifeCycle Factory Finder notion. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "ace/Get_Opt.h" -#include "tao/corba.h" -#include "Factory_Finder_i.h" -#include "QuoterC.h" - -ACE_RCSID(Quoter, Factory_Finder_i, "$Id$") - -// Constructor -Quoter_Factory_Finder_i::Quoter_Factory_Finder_i (void) -{ - // Nothing -} - -// Destructor. -Quoter_Factory_Finder_i::~Quoter_Factory_Finder_i (void) -{ - // Nothing -} - - -CosLifeCycle::Factories * -Quoter_Factory_Finder_i::find_factories (const CosLifeCycle::Key &factory_key, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NoFactory)) -{ - const char *exception_message = "Null Message"; - - CosLifeCycle::Factories *factories_ptr = 0; - - ACE_TRY - { - // Get a reference to the ORB. - CORBA::ORB_ptr orb_ptr = TAO_ORB_Core_instance ()->orb (); - - // Get the Naming Service object reference. - exception_message = "While resolving the Name Service"; - CORBA::Object_var namingObj_var = - orb_ptr->resolve_initial_references ("NameService", ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (namingObj_var.in ())) - ACE_ERROR ((LM_ERROR, - " (%P|%t) Unable get the Naming Service.\n")); - - // Narrow the object reference to a Naming Context. - exception_message = "While narrowing the Naming Context"; - CosNaming::NamingContext_var namingContext_var = - CosNaming::NamingContext::_narrow (namingObj_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Take the key supplied to search for a Quoter Factory - CosNaming::Name factoryName = (CosNaming::Name) factory_key; - - // Try to get a reference to a Quoter Factory - exception_message = "While resolving the Factory Object"; - CORBA::Object_var quoterFactoryObject_var = - namingContext_var->resolve (factoryName, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Check if it is a valid Quoter Factory reference - if (CORBA::is_nil (quoterFactoryObject_var.in())) - ACE_THROW_RETURN (CosLifeCycle::NoFactory (factory_key), 0); - - // create a sequence of factories object - factories_ptr = new CosLifeCycle::Factories (1); - - // using the Naming Service only one reference is available - factories_ptr->length (1); - - // Check if it is a valid Quoter Factory reference. - if (CORBA::is_nil (quoterFactoryObject_var.in ())) // throw a NoFactory exception. - ACE_THROW_RETURN (CosLifeCycle::NoFactory (factory_key), 0); - - // insert the object reference - (*factories_ptr)[0] = CORBA::Object::_duplicate (quoterFactoryObject_var.ptr()); - - ACE_DEBUG ((LM_DEBUG, - "Have reference to a Quoter Factory.\n")); - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "Quoter_Factory_Finder::find_factories - %s\n", exception_message)); - ACE_THROW_RETURN (CosLifeCycle::NoFactory (factory_key), 0); - } - ACE_ENDTRY; - - return factories_ptr; -} diff --git a/TAO/examples/Quoter/Factory_Finder_i.h b/TAO/examples/Quoter/Factory_Finder_i.h deleted file mode 100644 index 3852336c793..00000000000 --- a/TAO/examples/Quoter/Factory_Finder_i.h +++ /dev/null @@ -1,40 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// FactoryFinder_i.h -// -// = DESCRIPTION -// Factory Finder Implementation for the Quoter example -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "QuoterS.h" - -#ifndef QUOTER_FACTORY_FINDER_IMPL_H -#define QUOTER_FACTORY_FINDER_IMPL_H - -class Quoter_Factory_Finder_i : public POA_Stock::Quoter_Factory_Finder -{ - // = TILE - // A CosLifeCycle conforming Factory Finder for the Quoter - // example. It uses the Naming Service to find a fitting factory. - -public: - Quoter_Factory_Finder_i (void); - ~Quoter_Factory_Finder_i (void); - - virtual CosLifeCycle::Factories * find_factories (const CosLifeCycle::Key &factory_key, - CORBA::Environment &_tao_environment) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NoFactory)); - // Returns a squence of Factories if factories matching the - // factory_key were found. If no factory was found, then the - // NoFactory exception, defined in CosLifeCycle, is raised. -}; - -#endif /* QUOTER_FACTORY_FINDER_IMPL_H */ diff --git a/TAO/examples/Quoter/Generic_Factory.cpp b/TAO/examples/Quoter/Generic_Factory.cpp deleted file mode 100644 index bf9f3a14844..00000000000 --- a/TAO/examples/Quoter/Generic_Factory.cpp +++ /dev/null @@ -1,274 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Generic_Factory.cpp -// -// = DESCRIPTION -// The server for the GenericFactory for the quoter example. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "tao/corba.h" -#include "orbsvcs/LifeCycleServiceC.h" -#include "Generic_Factory.h" - -ACE_RCSID(Quoter, Generic_Factory, "$Id$") - -static const char usage [] = "[-? |\n[-O[RBport] ORB port number]]"; - -Quoter_Generic_Factory_Server::Quoter_Generic_Factory_Server (void) -: use_LifeCycle_Service_ (0) -{ -} - -Quoter_Generic_Factory_Server::~Quoter_Generic_Factory_Server (void) -{ - ACE_TRY_NEW_ENV - { - // Unbind the Quoter Factory Finder. - CosNaming::Name generic_Factory_Name (2); - generic_Factory_Name.length (2); - generic_Factory_Name[0].id = CORBA::string_dup ("IDL_Quoter"); - generic_Factory_Name[1].id = CORBA::string_dup ("Quoter_Generic_Factory"); - if (this->quoterNamingContext_var_.ptr () != 0) - this->quoterNamingContext_var_->unbind (generic_Factory_Name,ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - } - ACE_ENDTRY; -} - -int -Quoter_Generic_Factory_Server::init (int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - if (this->orb_manager_.init (argc, - argv, - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init"), - -1); - - // Copy them, because parse_args expects them there. - this->argc_ = argc; - this->argv_ = argv; - - this->parse_args (); - - - ACE_NEW_RETURN (this->quoter_Generic_Factory_i_ptr_, - Quoter_Generic_Factory_i(), - -1); - - // Activate the object. - CORBA::String_var str = - this->orb_manager_.activate (this->quoter_Generic_Factory_i_ptr_, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - // Failure while activating the Quoter Factory Finder object - - - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", - str.in ())); - - // Register the Quoter GenericFactory with the Naming Service. - ACE_TRY - { - ACE_DEBUG ((LM_DEBUG, - "Trying to get a reference to the Naming Service.\n")); - - // Get the Naming Service object reference. - CORBA::Object_var namingObj_var = - orb_manager_.orb()->resolve_initial_references ("NameService"); - ACE_TRY_CHECK; - - if (CORBA::is_nil (namingObj_var.in ())) - ACE_ERROR ((LM_ERROR, - " (%P|%t) Unable get the Naming Service.\n")); - - // Narrow the object reference to a Naming Context. - CosNaming::NamingContext_var namingContext_var = - CosNaming::NamingContext::_narrow (namingObj_var.in (), - ACE_TRY_ENV); - - if (CORBA::is_nil (namingContext_var.in ())) - ACE_ERROR ((LM_ERROR, - " (%P|%t) Unable get the Naming Service.\n")); - - - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG, - "Have a proper reference to the Naming Service.\n")); - - // Get the IDL_Quoter naming context. - CosNaming::Name quoterContextName (1); // max = 1 - quoterContextName.length (1); - quoterContextName[0].id = CORBA::string_dup ("IDL_Quoter"); - - CORBA::Object_var quoterNamingObj_var = - namingContext_var->resolve (quoterContextName, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - quoterNamingContext_var_ = - CosNaming::NamingContext::_narrow (quoterNamingObj_var.in (), - ACE_TRY_ENV); - - ACE_DEBUG ((LM_DEBUG, - "Have a proper reference to the Quoter Naming Context.\n")); - - // Bind the Quoter GenericFactory to the IDL_Quoter naming - // context. - CosNaming::Name quoter_Generic_Factory_Name (1); - quoter_Generic_Factory_Name.length (1); - quoter_Generic_Factory_Name[0].id = CORBA::string_dup ("Quoter_Generic_Factory"); - - quoterNamingContext_var_->bind (quoter_Generic_Factory_Name, - this->quoter_Generic_Factory_i_ptr_->_this(ACE_TRY_ENV), - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG, - "Bound the Quoter GenericFactory to the Quoter Naming Context.\n")); - - // now the Quoter GenericFactory is bound to the Naming Context - // the Generic Factory should try to register itself to the closest - // Life Cycle Service is order to be called. - - /* for now as long as the trading service is not ported to NT we skip this */ - - if (this->use_LifeCycle_Service_) - { - // get the Quoter_Life_Cycle_Service - CosNaming::Name life_Cycle_Service_Name (1); - life_Cycle_Service_Name.length (1); - life_Cycle_Service_Name[0].id = CORBA::string_dup ("Life_Cycle_Service"); - - CORBA::Object_var life_Cycle_Service_Obj_var = - namingContext_var->resolve (life_Cycle_Service_Name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - LifeCycleService::Life_Cycle_Service_var life_Cycle_Service_var = - LifeCycleService::Life_Cycle_Service::_narrow (life_Cycle_Service_Obj_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Have a proper reference to Life Cycle Service.\n")); - - CORBA::Object_var object_var = this->quoter_Generic_Factory_i_ptr_->_this(ACE_TRY_ENV); - - life_Cycle_Service_var->register_factory ("Quoter_Generic_Factory", // name - "Bryan 503", // location - "Generic Factory", // description - object_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG, - "Registered the Quoter GenericFactory to the Life Cycle Service.\n")); - } - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Quoter_Generic_Factory_Server::init: Exception"); - } - ACE_ENDTRY; - - - return 0; -} - -int -Quoter_Generic_Factory_Server::run (CORBA::Environment& /*env*/) -{ - if (orb_manager_.orb()->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "run"), - -1); - return 0; -} - -// Function get_options. - -u_int -Quoter_Generic_Factory_Server::parse_args (void) -{ - // We need the 'O' in get_opt () because we also want to have ORB - // parameters, they all start with 'O'. - ACE_Get_Opt get_opt (this->argc_, this->argv_, "Ol?"); - int opt; - - while ((opt = get_opt ()) != EOF) - switch (opt) - { - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - this->argv_[0], usage)); - ACE_OS::exit (0); - break; - case 'l': - this->use_LifeCycle_Service_ = 1; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%s: unknown arg, -%c\n" - "Usage: %s %s\n", - this->argv_[0], char (opt), - this->argv_[0], - usage), - 1); - } - return 0; -} - -// function main - -int -main (int argc, char *argv []) -{ - Quoter_Generic_Factory_Server quoter_Generic_Factory_Server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tIDL_Quoter: Quoter_Generic_Factory_Server \n\n")); - ACE_TRY_NEW_ENV - { - if (quoter_Generic_Factory_Server.init (argc, - argv, - ACE_TRY_ENV) == -1) - return 1; - else - { - quoter_Generic_Factory_Server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_ENDTRY; - return 0; -} diff --git a/TAO/examples/Quoter/Generic_Factory.dsp b/TAO/examples/Quoter/Generic_Factory.dsp deleted file mode 100644 index 69015c8d18f..00000000000 --- a/TAO/examples/Quoter/Generic_Factory.dsp +++ /dev/null @@ -1,227 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Quoter Generic Factory" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Quoter Generic Factory - 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 "Generic_Factory.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 "Generic_Factory.mak" CFG="Quoter Generic Factory - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Quoter Generic Factory - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Quoter Generic Factory - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Quoter Generic Factory - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Quoter Generic Factory - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "QuoterGe" -# PROP BASE Intermediate_Dir "QuoterGe" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Quoter Generic Factory - Win32 Release" -# Name "Quoter Generic Factory - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Generic_Factory.cpp -# End Source File -# Begin Source File - -SOURCE=.\Generic_Factory_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\QuoterC.cpp -# End Source File -# Begin Source File - -SOURCE=.\QuoterS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Generic_Factory.h -# End Source File -# Begin Source File - -SOURCE=.\Generic_Factory_i.h -# End Source File -# Begin Source File - -SOURCE=.\QuoterC.h -# End Source File -# Begin Source File - -SOURCE=.\QuoterS.h -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\QuoterC.i -# End Source File -# Begin Source File - -SOURCE=.\QuoterS.i -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Quoter.idl - -!IF "$(CFG)" == "Quoter Generic Factory - Win32 Release" - -USERDEP__QUOTE="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL compiler on $(InputPath) -InputPath=.\Quoter.idl -InputName=Quoter - -BuildCmds= \ - ..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl -I../../orbsvcs/orbsvcs - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Quoter Generic Factory - Win32 Debug" - -USERDEP__QUOTE="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL compiler on $(InputPath) -InputPath=.\Quoter.idl -InputName=Quoter - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl -I../../orbsvcs/orbsvcs - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Quoter/Generic_Factory.h b/TAO/examples/Quoter/Generic_Factory.h deleted file mode 100644 index 0d614088019..00000000000 --- a/TAO/examples/Quoter/Generic_Factory.h +++ /dev/null @@ -1,70 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Generic_Factory.h -// -// = DESCRIPTION -// A generic factory, customized for the use with the Quoter example. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "ace/Get_Opt.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/TAO.h" -#include "Generic_Factory_i.h" - -#ifndef GENERIC_FACTORY_H -#define GENERIC_FACTORY_H - -class Quoter_Generic_Factory_Server -{ - // = TILE - // Server object for the Quoter Generic Factory - -public: - Quoter_Generic_Factory_Server (void); - // Default constructor - - ~Quoter_Generic_Factory_Server (void); - // Destructor - - int init (int argc, - char *argv[], - CORBA::Environment& env); - // Initialize the Quoter_Server state - parsing arguments and ... - - int run (CORBA::Environment& env); - // Run the orb. - - u_int parse_args (void); - // Parse the passed parameters. - -private: - TAO_ORB_Manager orb_manager_; - // instance of the ORB Manager - - Quoter_Generic_Factory_i *quoter_Generic_Factory_i_ptr_; - // Instance of the Quoter Generic Factory. - - CosNaming::NamingContext_var quoterNamingContext_var_; - // Reference to the Quoter naming context. - - int argc_; - // Number of commandline arguments. - - char **argv_; - // commandline arguments. - - unsigned char use_LifeCycle_Service_; -}; - -#endif /* GENERIC_FACTORY_H */ diff --git a/TAO/examples/Quoter/Generic_Factory_i.cpp b/TAO/examples/Quoter/Generic_Factory_i.cpp deleted file mode 100644 index d55c44252ab..00000000000 --- a/TAO/examples/Quoter/Generic_Factory_i.cpp +++ /dev/null @@ -1,172 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Generic_Factory_i.cpp -// -// = DESCRIPTION -// The implementation of a LifeCycle Service GenericFactory for the -// Quoter example. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// ============================================================================ - -#include "ace/Get_Opt.h" -#include "tao/corba.h" -#include "Generic_Factory_i.h" -#include "QuoterC.h" - -ACE_RCSID(Quoter, Generic_Factory_i, "$Id$") - -// Constructor -Quoter_Generic_Factory_i::Quoter_Generic_Factory_i (void) -{ -} - -// Destructor. -Quoter_Generic_Factory_i::~Quoter_Generic_Factory_i (void) -{ -} - -CORBA::Boolean -Quoter_Generic_Factory_i::supports (const CosLifeCycle::Key &, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return 0; -} - - - -CosNaming::NamingContext_ptr -Quoter_Generic_Factory_i::get_naming_context (const CosLifeCycle::Key &factory_key, - CORBA::Environment &ACE_TRY_ENV) -{ - CosNaming::NamingContext_var quoterNamingContext_var; - ACE_TRY - { - // @@ FIXME Get a reference to the ORB. - CORBA::ORB_ptr orb_ptr = - TAO_ORB_Core_instance ()->orb (); - - // Get the Naming Service object reference. - CORBA::Object_var namingObj_var = - orb_ptr->resolve_initial_references ("NameService", ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (namingObj_var.in ())) - ACE_ERROR ((LM_ERROR, - "(%P|%t) Unable get the Naming Service.\n")); - - // Narrow the object reference to a Naming Context. - CosNaming::NamingContext_var namingContext_var = - CosNaming::NamingContext::_narrow (namingObj_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CosNaming::Name quoterContextName (1); // max = 1 - quoterContextName.length (1); - quoterContextName[0].id = CORBA::string_dup ("IDL_Quoter"); - - // Get the IDL_Quoter naming context. - CORBA::Object_var quoterNamingObj_var = - namingContext_var->resolve (quoterContextName, ACE_TRY_ENV); - ACE_TRY_CHECK; - - quoterNamingContext_var = - CosNaming::NamingContext::_narrow (quoterNamingObj_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_THROW_RETURN (CosLifeCycle::NoFactory (factory_key), - CosNaming::NamingContext::_nil ()); - } - ACE_ENDTRY; - return quoterNamingContext_var._retn (); -} - - - -CORBA::Object_ptr -Quoter_Generic_Factory_i::create_object (const CosLifeCycle::Key &factory_key, - const CosLifeCycle::Criteria &, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NoFactory, - CosLifeCycle::InvalidCriteria, - CosLifeCycle::CannotMeetCriteria)) -{ - Stock::Quoter_var quoter_var; - ACE_TRY - { - CosNaming::NamingContext_var quoterNamingContext_var = - this->get_naming_context (factory_key, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // ** now a proper reference to the quoter naming context is - // available - - // Fill in the name of the Quoter Factory. - // Take the key supplied to search for a Quoter Factory - CosNaming::Name factory_Name = (CosNaming::Name) factory_key; - - // Try to get a reference to a Quoter Factory - CORBA::Object_var quoterFactoryObject_var = - quoterNamingContext_var->resolve (factory_Name, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // We were able to get a reference to Quoter Factory. - // Check if it is a valid Quoter Factory reference - if (CORBA::is_nil (quoterFactoryObject_var.in())) - { // throw a NoFactory exception - ACE_TRY_THROW (CosLifeCycle::NoFactory (factory_key)); - } - - Stock::Quoter_Factory_var factory_var = - Stock::Quoter_Factory::_narrow (quoterFactoryObject_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (factory_var.in ())) - { - ACE_ERROR ((LM_ERROR, - "invalid factory.\n")); - return CORBA::Object::_nil (); - } - - ACE_DEBUG ((LM_DEBUG, - "Factory reference OK.\n")); - - // Now retrieve the Quoter obj ref corresponding to the key. - quoter_var = - factory_var->create_quoter ("test", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Quoter Created\n")); - - if (CORBA::is_nil (quoter_var.in ())) - { - ACE_ERROR ((LM_ERROR, - "null quoter objref returned by factory\n")); - return CORBA::Object::_nil (); - } - - ACE_DEBUG ((LM_DEBUG, - "Return a object reference to a new object.\n")); - - } - ACE_CATCHANY - { - ACE_THROW_RETURN (CosLifeCycle::NoFactory (factory_key), - CORBA::Object::_nil ()); - } - ACE_ENDTRY; - return quoter_var._retn (); -} diff --git a/TAO/examples/Quoter/Generic_Factory_i.h b/TAO/examples/Quoter/Generic_Factory_i.h deleted file mode 100644 index 94c153d21fb..00000000000 --- a/TAO/examples/Quoter/Generic_Factory_i.h +++ /dev/null @@ -1,56 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Generic_Factory_i.h -// -// = DESCRIPTION -// A LifeCycle Service Generic Factory for the Quoter example. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "QuoterS.h" - - -#ifndef QUOTER_GENERIC_FACTORY_IMPL_H -#define QUOTER_GENERIC_FACTORY_IMPL_H - -class Quoter_Generic_Factory_i : public POA_Stock::Quoter_Generic_Factory -{ - // = TILE - // A CosLifeCycle conforming Generic Factory for the Quoter - // example. It uses the Naming Service to find a fitting factory. - -public: - Quoter_Generic_Factory_i (void); - ~Quoter_Generic_Factory_i (void); - - CORBA::Boolean supports (const CosLifeCycle::Key &factory_key, - CORBA::Environment &_env_there) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns true if the Generic Factory is able to forward a request - // for creating an object described by the . - - CORBA::Object_ptr create_object (const CosLifeCycle::Key &factory_key, - const CosLifeCycle::Criteria &the_criteria, - CORBA::Environment &_env_there) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NoFactory, - CosLifeCycle::InvalidCriteria, - CosLifeCycle::CannotMeetCriteria)); - // Returns an object reference to a newly created object, though the - // Generic Factory itself cannot create objects, it will forward the - // request to a more concrete Factory. - -private: - CosNaming::NamingContext_ptr get_naming_context (const CosLifeCycle::Key &factory_key, - CORBA::Environment &); - // a helper to get the proper naming context. - -}; - -#endif /* QUOTER_GENERIC_FACTORY_IMPL_H */ diff --git a/TAO/examples/Quoter/Makefile b/TAO/examples/Quoter/Makefile deleted file mode 100644 index bb79df20cea..00000000000 --- a/TAO/examples/Quoter/Makefile +++ /dev/null @@ -1,2605 +0,0 @@ -# $Id$ -# -# needed for the trading service stuff - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # TAO_ROOT - -override TAO_IDLFLAGS += -I$(TAO_ROOT)/orbsvcs/orbsvcs -Ge 1 - -# The following lines tell the souce code that the trading -# service is available. - -ifdef trader - CPPFLAGS += -DTRADER_AVAILABLE -endif # trader - -LDLIBS = -lorbsvcs -lTAO - -IDL_SRC = \ - QuoterC.cpp QuoterS.cpp - -CLIENT_SRCS = \ - client.cpp - -SERVER_SRCS = \ - server.cpp Quoter_i.cpp - -FACTORY_FINDER_SRCS = \ - Factory_Finder.cpp Factory_Finder_i.cpp - -GENERIC_FACTORY_SRCS = \ - Generic_Factory.cpp Generic_Factory_i.cpp - - -LSRC= \ - $(IDL_SRC) $(CLIENT_SRCS) $(SERVER_SRCS) \ - $(FACTORY_FINDER_SRCS) $(GENERIC_FACTORY_SRCS) - -COMMON_OBJS = QuoterC.o QuoterS.o -CLIENT_OBJS = $(COMMON_OBJS) client.o -SERVER_OBJS = $(COMMON_OBJS) server.o Quoter_i.o -FACTORY_FINDER_OBJS = $(COMMON_OBJS) Factory_Finder.o Factory_Finder_i.o -GENERIC_FACTORY_OBJS = $(COMMON_OBJS) Generic_Factory.o Generic_Factory_i.o - -BIN2 = client server Factory_Finder Generic_Factory - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - ifeq (LifeCycle,$(findstring LifeCycle,$(TAO_ORBSVCS))) - BIN = $(BIN2) - endif # LifeCycle -endif # Naming - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - -ifeq ($(ACE_HAS_GNUG_PRE_2_8),1) - - # Since older g++ cannot handle nested classes properly, this test - # will not build on g++ prior to 2.8.0. - all clean realclean: - @echo examples/Quoter is not built with older versions of g++ - -else # ! ACE_HAS_GNUG_PRE_2_8 - -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(TAO_ROOT)/rules.tao.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#### Local rules and variables... - -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT)/orbsvcs/orbsvcs \ - -I$(TAO_ROOT) $(TSS_ORB_FLAG) -TAO_IDLFLAGS += -I$(TAO_ROOT)/orbsvcs/orbsvcs - -realclean: clean - -$(RM) *C.* *S.* *S_T.* - -.PRECIOUS: $(IDL_SRC) - -client: $(addprefix $(VDIR),$(CLIENT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -server: $(addprefix $(VDIR),$(SERVER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -Factory_Finder: $(addprefix $(VDIR),$(FACTORY_FINDER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -Generic_Factory: $(addprefix $(VDIR),$(GENERIC_FACTORY_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -endif # ! ACE_HAS_GNUG_PRE_2_8 - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/QuoterC.o .obj/QuoterC.so .shobj/QuoterC.o .shobj/QuoterC.so: QuoterC.cpp QuoterC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - QuoterC.i -.obj/QuoterS.o .obj/QuoterS.so .shobj/QuoterS.o .shobj/QuoterS.so: QuoterS.cpp QuoterS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.i \ - QuoterC.h QuoterC.i QuoterS_T.h QuoterS_T.i QuoterS_T.cpp QuoterS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - client.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - QuoterC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - QuoterC.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp server.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/tao/TAO.h \ - Quoter_i.h QuoterS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.i \ - QuoterC.h QuoterC.i QuoterS_T.h QuoterS_T.i QuoterS_T.cpp QuoterS.i -.obj/Quoter_i.o .obj/Quoter_i.so .shobj/Quoter_i.o .shobj/Quoter_i.so: Quoter_i.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Quoter_i.h QuoterS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.i \ - QuoterC.h QuoterC.i QuoterS_T.h QuoterS_T.i QuoterS_T.cpp QuoterS.i -.obj/Factory_Finder.o .obj/Factory_Finder.so .shobj/Factory_Finder.o .shobj/Factory_Finder.so: Factory_Finder.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Factory_Finder.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/TAO.h \ - Factory_Finder_i.h QuoterS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.i \ - QuoterC.h QuoterC.i QuoterS_T.h QuoterS_T.i QuoterS_T.cpp QuoterS.i -.obj/Factory_Finder_i.o .obj/Factory_Finder_i.so .shobj/Factory_Finder_i.o .shobj/Factory_Finder_i.so: Factory_Finder_i.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Factory_Finder_i.h QuoterS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.i \ - QuoterC.h QuoterC.i QuoterS_T.h QuoterS_T.i QuoterS_T.cpp QuoterS.i -.obj/Generic_Factory.o .obj/Generic_Factory.so .shobj/Generic_Factory.o .shobj/Generic_Factory.so: Generic_Factory.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceC.i \ - Generic_Factory.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/TAO.h \ - Generic_Factory_i.h QuoterS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.i \ - QuoterC.h QuoterC.i QuoterS_T.h QuoterS_T.i QuoterS_T.cpp QuoterS.i -.obj/Generic_Factory_i.o .obj/Generic_Factory_i.so .shobj/Generic_Factory_i.o .shobj/Generic_Factory_i.so: Generic_Factory_i.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Generic_Factory_i.h QuoterS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.i \ - QuoterC.h QuoterC.i QuoterS_T.h QuoterS_T.i QuoterS_T.cpp QuoterS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Quoter/Quoter.dsw b/TAO/examples/Quoter/Quoter.dsw deleted file mode 100644 index d76f398199f..00000000000 --- a/TAO/examples/Quoter/Quoter.dsw +++ /dev/null @@ -1,65 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Quoter Client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Quoter Factory Finder"=.\Factory_Finder.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Quoter Server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "QuoterGenericFactory"=.\Generic_Factory.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Quoter/Quoter.idl b/TAO/examples/Quoter/Quoter.idl deleted file mode 100644 index dcc1f460e89..00000000000 --- a/TAO/examples/Quoter/Quoter.idl +++ /dev/null @@ -1,133 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// quoter.idl -// -// = DESCRIPTION -// Quoter example that illustrate the use of the global POA and -// the CosLifeCycle service. -// -// = AUTHOR -// Darrell Brunsch (brunsch@cs.wustl.edu) -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "CosLifeCycle.idl" - -module Stock -{ - exception Invalid_Stock {}; - exception Invalid_Quoter {}; - - interface Quoter : CosLifeCycle::LifeCycleObject - { - // = TITLE - // Access Stock information. - - long get_quote (in string stock_name) - raises (Invalid_Stock, Invalid_Quoter); - - // Returns the current stock value or throws and exception. - - // LifeCycleObject copy(in FactoryFinder there, - // in Criteria the_criteria) - // raises(NoFactory, NotCopyable, InvalidCriteria, CannotMeetCriteria); - // copies this object to a location "there" using the "the_criteria" - - // void move(in FactoryFinder there, - // in Criteria the_criteria) - // raises(NoFactory, NotMovable, InvalidCriteria, CannotMeetCriteria); - // moves this object to a location "there" using the "the_criteria" - - // void remove() - // raises(NotRemovable); - // removes/deletes this object - - }; - - interface Quoter_Factory - { - // = TITLE - // Creation of Quoter objects - - Quoter create_quoter (in string name) - raises (Invalid_Quoter); - // Returns a new Quoter selected by name e.g., "Dow Jones," - // "Reuters,", etc - }; - - - interface Quoter_Factory_Finder : CosLifeCycle::FactoryFinder - { - // = TITLE - // Wrapper for the CosLifeCycle FactoryFinder - // - // inherits: - // Factories find_factories(in Key factory_key) raises(NoFactory); - }; - - interface Quoter_Generic_Factory : CosLifeCycle::GenericFactory - { - // = TITLE - // Wrapper for the CosLifeCycle GenericFactory - // - // inherits: - // boolean supports(in Key k); - // Object create_object(in Key k, in Criteria the_criteria) - // raises (NoFactory, InvalidCriteria, CannotMeetCriteria); - }; - - interface Quoter_Life_Cycle_Service : CosLifeCycle::GenericFactory - { - // = TITLE - // Wrapper for the CosLifeCycle GenericFactory - // - // inherits: - // boolean supports(in Key k); - // Object create_object(in Key k, in Criteria the_criteria) - // raises (NoFactory, InvalidCriteria, CannotMeetCriteria); - - void register_factory (in string name, - in string location, - in string description, - in Object object); - // provide an method for registering factories with their properties - }; - - interface Criteria_Evaluator - { - // = TITLE - // Criteria Evaluator - // - // = DESCRIPTION - // Interface description for an evaluator of CosLifeCycle - // Criterias. It is mainly a wrapper, which should make - // access easier - // - typedef sequence SeqNamedValuePair; - - typedef CosLifeCycle::Criteria Criteria; - - exception NotAvailable { string reason; }; - // raised if the questioned configuration is not available - - SeqNamedValuePair getInitialization (); - // get the initialization - - string getFilter (); - // get a filter string - - SeqNamedValuePair getLogicalLocation (); - // get the logical location - - string getPreferences (); - // get the preferences, not implemented - - void setCriteria (in Criteria criteria); - // set the Criteria which is searched for keywords - }; -}; - diff --git a/TAO/examples/Quoter/Quoter_i.cpp b/TAO/examples/Quoter/Quoter_i.cpp deleted file mode 100644 index 548278b9893..00000000000 --- a/TAO/examples/Quoter/Quoter_i.cpp +++ /dev/null @@ -1,374 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Quoter -// -// = FILENAME -// Quoter_i.cpp -// -// = AUTHOR -// Darrell Brunsch -// -// ============================================================================ - -#include "tao/corba.h" -#include "Quoter_i.h" - -ACE_RCSID(Quoter, Quoter_i, "$Id$") - -// Constructor. Create all the quoter factories. - -Quoter_Factory_i::Quoter_Factory_i (size_t num, PortableServer::POA_ptr poa_ptr) - : poa_ptr_ (poa_ptr), - my_quoters_ (0), - quoter_num_ (num), - next_quoter_ (0) -{ - // Nothing -} - - -// Destructor - -Quoter_Factory_i::~Quoter_Factory_i (void) -{ - for (size_t i = 0; i < this->quoter_num_; i++) - delete this->my_quoters_[i]; - delete [] this->my_quoters_; -} - - -// Initialize everything in the factory - -int Quoter_Factory_i::init (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_NEW_RETURN (this->my_quoters_, - Quoter_i *[this->quoter_num_], - -1); - - for (size_t i = 0; i < this->quoter_num_; i++) - { - ACE_NEW_RETURN (this->my_quoters_[i], - Quoter_i("x", // name - 0, // don't use the LifeCycle_Service - this->poa_ptr_), // a reference to the poa - -1); - - const char *location_string = "POA::activate"; - ACE_TRY - { - this->poa_ptr_->activate_object (this->my_quoters_[i], ACE_TRY_ENV); - ACE_TRY_CHECK; - - location_string = "_this"; - Stock::Quoter_var quoter_var = this->my_quoters_[i]->_this(ACE_TRY_ENV); - ACE_TRY_CHECK; - - location_string = "CORBA::ORB::object_to_string"; - // Stringify the object reference and print it out. - CORBA::String_var quoter_ior = - TAO_ORB_Core_instance()->orb()->object_to_string (quoter_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, location_string); - return -1; - } - ACE_ENDTRY; - } - - // Everything is ok - return 0; -} - - -// Return the quoter by the id . - -Stock::Quoter_ptr -Quoter_Factory_i::create_quoter (const char *, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Stock::Invalid_Quoter)) -{ - this->next_quoter_ = (this->next_quoter_ + 1) % this->quoter_num_; - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Quoter %d Created\n", this->next_quoter_)); - - return my_quoters_[this->next_quoter_]->_this (ACE_TRY_ENV); -} - - -// Constructor - -Quoter_i::Quoter_i (const char *name, - const unsigned char use_LifeCycle_Service, - PortableServer::POA_ptr poa_ptr) - : use_LifeCycle_Service_ (use_LifeCycle_Service), - poa_var_ (PortableServer::POA::_duplicate (poa_ptr)) -{ - ACE_UNUSED_ARG (name); -} - - -// Destructor - -Quoter_i::~Quoter_i (void) -{ - // Nothing -} - - -// Returns the current quote for the stock . -// For now, just return 42. It was a good day on Wall Street. - -CORBA::Long -Quoter_i::get_quote (char const *, - class CORBA_Environment &) - ACE_THROW_SPEC ((CORBA::SystemException, - Stock::Invalid_Stock, - Stock::Invalid_Quoter)) -{ - return 42; -} - - -// Make a copy of this object - -CosLifeCycle::LifeCycleObject_ptr -Quoter_i::copy (CosLifeCycle::FactoryFinder_ptr there, - const CosLifeCycle::Criteria &/*the_criteria*/, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NoFactory, - CosLifeCycle::NotCopyable, - CosLifeCycle::InvalidCriteria, - CosLifeCycle::CannotMeetCriteria)) -{ - const char *exception_message = "Null message"; - ACE_TRY - { - // The name of the Generic Factory - CosLifeCycle::Key factoryKey (2); // max = 2 - - if (this->use_LifeCycle_Service_ == 1) - { - // use the LifeCycle Service - factoryKey.length(1); - factoryKey[0].id = CORBA::string_dup ("Life_Cycle_Service"); - } - else - { - // use a Generic Factory - factoryKey.length(2); - factoryKey[0].id = CORBA::string_dup ("IDL_Quoter"); - factoryKey[1].id = CORBA::string_dup ("Quoter_Generic_Factory"); - } - - // Find an appropriate factory over there. - exception_message = "While trying to find a factory.\n"; - CosLifeCycle::Factories_ptr factories_ptr = - there->find_factories (factoryKey, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Now it is known that there is at least one factory. - Stock::Quoter_var quoter_var; - - for (u_int i = 0; i < factories_ptr->length (); i++) - { - // Get the first object reference to a factory. - CORBA::Object_ptr generic_FactoryObj_ptr = (*factories_ptr)[i]; - - // Narrow it to a Quoter Factory. - exception_message = "While narrowing.\n"; - CosLifeCycle::GenericFactory_var generic_Factory_var = - CosLifeCycle::GenericFactory::_narrow (generic_FactoryObj_ptr, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (generic_Factory_var.in ())) - { - ACE_ERROR ((LM_ERROR, - "Quoter::copy: Narrow failed. Generic Factory is not valid.\n")); - return CosLifeCycle::LifeCycleObject::_nil(); - } - - CosLifeCycle::Key genericFactoryName (1); // max = 1 - genericFactoryName.length(1); - genericFactoryName[0].id = CORBA::string_dup ("Quoter_Factory"); - - CosLifeCycle::Criteria criteria(1); - criteria.length (1); - criteria[0].name = CORBA::string_dup ("filter"); - criteria[0].value <<= CORBA::string_dup ("name=='Quoter_Generic_Factory'"); - - exception_message = "While creating an object"; - CORBA::Object_var quoterObject_var = - generic_Factory_var->create_object (genericFactoryName, - criteria, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - exception_message = "While narrowing object"; - quoter_var = Stock::Quoter::_narrow (quoterObject_var.in(), ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (quoter_var.in ())) - { - // If we had already our last chance, then give up. - if (i == factories_ptr->length ()) - { - ACE_ERROR ((LM_ERROR, - "Quoter::copy: Last factory did not work. \n" - "No more factories are available. I give up.\n")); - ACE_THROW_RETURN (CosLifeCycle::NoFactory (factoryKey), - CosLifeCycle::LifeCycleObject::_nil()); - } - else - { - ACE_ERROR ((LM_ERROR, - "Quoter::copy: Factory did not create the Quoter properly.\n")); - // Tell what's wrong and try the next factory. - } - } - else - // if succeeded in creating a new Quoter over there, then stop trying - break; - } - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Quoter copied\n")); - - CosLifeCycle::LifeCycleObject_ptr lifeCycleObject_ptr = - CosLifeCycle::LifeCycleObject::_duplicate ((CosLifeCycle::LifeCycleObject_ptr) quoter_var.in()); - - // Duplicate and return an object reference to the newly created Quoter. - return lifeCycleObject_ptr; - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "Quoter_i::copy - %s\n", exception_message)); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception"); - - // Report a NoFactory exception back to the caller - ACE_TRY_THROW (CosLifeCycle::NoFactory ()); - } - ACE_ENDTRY; - - ACE_CHECK_RETURN (CosLifeCycle::LifeCycleObject::_nil()); - - ACE_NOTREACHED (return 0); -} - - -// Move this object using and - -void -Quoter_i::move (CosLifeCycle::FactoryFinder_ptr there, - const CosLifeCycle::Criteria &the_criteria, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NoFactory, - CosLifeCycle::NotMovable, - CosLifeCycle::InvalidCriteria, - CosLifeCycle::CannotMeetCriteria)) -{ - const char *exception_message = "Null message"; - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG,"Quoter_i::move: being called\n")); - - ACE_TRY - { - // We need to have a Factory Finder - if (CORBA::is_nil (there)) - { - ACE_ERROR ((LM_ERROR, - "Quoter_i::move: No Factory Finder, don't know how to go on.\n")); - - ACE_THROW (CosLifeCycle::NoFactory ()); - } - - // We need to have access to the POA - if (CORBA::is_nil (this->poa_var_.in())) - { - ACE_ERROR ((LM_ERROR, - "Quoter_i::move: No access to the POA. Cannot move.\n")); - ACE_THROW (CosLifeCycle::NotMovable ()); - } - - // Create a new Quoter over there - exception_message = "While creating a new Quoter"; - CosLifeCycle::LifeCycleObject_var lifeCycleObject_var = - this->copy (there, the_criteria, ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (lifeCycleObject_var.in ())) - { - ACE_ERROR ((LM_ERROR, - "Quoter_i::move: Created Quoter is not valid.\n")); - ACE_THROW (CosLifeCycle::NoFactory ()); - } - - // Set the POA, so that the requests will be forwarded to the new location - - // new location - CORBA::Object_var forward_to_var = - CORBA::Object::_duplicate ((CORBA::Object_ptr) lifeCycleObject_var.in()); - - if (!CORBA::is_nil (forward_to_var.in ())) - { - exception_message = "While servant_to_id"; - PortableServer::ObjectId_var oid = this->poa_var_->servant_to_id (this, ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::Servant servant = this->poa_var_->_servant (); - - if (servant == 0) - { - ACE_ERROR ((LM_ERROR,"Quoter_i::move: Could not find servant.\n")); - ACE_THROW (CosLifeCycle::NotMovable()); - } - - void *ptr = servant->_downcast ("IDL:PortableServer/POA:1.0"); - POA_PortableServer::POA *poa = (POA_PortableServer::POA *) ptr; - TAO_POA *tao_poa = ACE_dynamic_cast (TAO_POA *, poa); - - exception_message = "While forwarding object"; - tao_poa->forward_object (oid.in (), - forward_to_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - else - { - ACE_ERROR ((LM_ERROR,"Quoter_i::move: forward_to refenence is nil.\n")); - ACE_THROW (CosLifeCycle::NotMovable()); - } - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR,"Quoter_i::move: %s\n", exception_message)); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception"); - return; - } - ACE_ENDTRY; -} - - -// Removes the object. Once we shut down the ORB we can call it a day. - -void -Quoter_i::remove (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NotRemovable)) -{ - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "I have been asked to shut down.\n")); - - TAO_ORB_Core_instance ()->orb ()->shutdown (); -} diff --git a/TAO/examples/Quoter/Quoter_i.h b/TAO/examples/Quoter/Quoter_i.h deleted file mode 100644 index aea5b5ccd64..00000000000 --- a/TAO/examples/Quoter/Quoter_i.h +++ /dev/null @@ -1,131 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Quoter -// -// = FILENAME -// Quoter_i.h -// -// = AUTHOR -// Darrell Brunsch -// -// ============================================================================ - -#ifndef QUOTER_IMPL_H -#define QUOTER_IMPL_H - -#include "QuoterS.h" - -// Forward declaration. -class Quoter_i; - -// Typedefs. -typedef Quoter_i *Quoter_i_ptr; -typedef Quoter_i_ptr Quoter_i_ref; - -class Quoter_i: public POA_Stock::Quoter -{ - // = TITLE - // Quoter_i - // - // = DESCRIPTION - // Actual Quoter Implementation class. Returns a quoter for a given stock - // and provides an example for the lifecycle functionality. -public: - Quoter_i (const char *obj_name = "", - const unsigned char use_LifeCycle_Service = 0, - PortableServer::POA_ptr poa_ptr = 0); - // Constructor (use_LifeCycle_Service is 1 if the LifeCycle_Service should be used - // instead of the Quoter Generic_Factory - - ~Quoter_i (void); - // Destructor - - virtual CORBA::Long get_quote (const char *stock_name, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Stock::Invalid_Stock, - Stock::Invalid_Quoter)); - // Returns the current quote for the stock - - // = Lifecycle methods - - virtual CosLifeCycle::LifeCycleObject_ptr copy (CosLifeCycle::FactoryFinder_ptr there, - const CosLifeCycle::Criteria &the_criteria, - CORBA::Environment &_tao_environment) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NoFactory, - CosLifeCycle::NotCopyable, - CosLifeCycle::InvalidCriteria, - CosLifeCycle::CannotMeetCriteria)); - // Make a copy of this object - - virtual void move (CosLifeCycle::FactoryFinder_ptr there, - const CosLifeCycle::Criteria &the_criteria, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NoFactory, - CosLifeCycle::NotMovable, - CosLifeCycle::InvalidCriteria, - CosLifeCycle::CannotMeetCriteria)); - // Move this object using - - virtual void remove (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NotRemovable)); - // Removes the object. - -private: - unsigned char use_LifeCycle_Service_; - // This flag defines if a Generic Factory is used (0 by default) or - // the more sophisticated LifeCycle Service (1) - - PortableServer::POA_var poa_var_; - // Keep a reference to the POA for use by the move operation -}; - -// Forward declaration. -class Quoter_Factory_i; - -typedef Quoter_Factory_i *Quoter_Factory_i_ptr; - -class Quoter_Factory_i: public POA_Stock::Quoter_Factory -{ - // = TITLE - // Quoter_Factory_i - // - // = DESCRIPTION - // Factory object returning the quoter_impl objrefs. -public: - Quoter_Factory_i (size_t num, PortableServer::POA_ptr poa_ptr); - // Constructor that takes in the number of quoters in the pool. - - ~Quoter_Factory_i (void); - // Destructor. - - int init (CORBA::Environment &ACE_TRY_ENV); - // Initialize everything in the factory - - virtual Stock::Quoter_ptr create_quoter (const char *name, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Stock::Invalid_Quoter)); - // Return the quoter by the id . - -private: - PortableServer::POA_ptr poa_ptr_; - // Pointer to the poa. - - Quoter_i **my_quoters_; - // Array of quoters. - - size_t quoter_num_; - // Number of quoters. - - size_t next_quoter_; - // Which quoter to return next. -}; - -#endif /* QUOTER_IMPL_H */ diff --git a/TAO/examples/Quoter/README b/TAO/examples/Quoter/README deleted file mode 100644 index c4206b99ec8..00000000000 --- a/TAO/examples/Quoter/README +++ /dev/null @@ -1,122 +0,0 @@ -// $Id$ - -Here is a Stock Quoter example that features the use of the TAO IDL -compiler, the different types of configuration settings (global vs -tss, etc), and the Life Cycle Service. - -For your convenience, the run_test.btm has been provided. It is a -batch file that runs under 4NT. Work is in progress for a regular -batch file that performs the same action. We'll probably get it -working on other platforms as soon as it is completed. - ----------------------------------------- - -DOCUMENTATION FOR THE EXAMPLE -============================= - -Context: The Quoter example serves several tests, the first is the test - of several multithreading policies and the second is showing the - use of the Life Cycle Service as it is defined in the - CORBA Common Object Services specification. - -Life Cycle Service use-case: - -several processes exist: server, - Factory_Finder, - Generic_Factory, - Life_Cycle_Service - client - -several object exist: Quoter, - Quoter_Factory, - Quoter_Factory_Finder, - Quoter_Generic_Factory, - Quoter_Life_Cycle_Service - -server: The server process contains two kind of objects: Quoter and - Quoter_Factory's. A Quoter is a very simple Object supporting - only one method. The focus is not on a sophisticated object - but on showing how policies work. - The object Quoter_Factory serves as a factory for Quoters. - -Factory_Finder: The COS spec. introduces the concept of a Factory Finder - which is capable to find proper factories. The Naming - Service is used as lookup-mechanism. A reference to - the Factory_Finder is passed as parameter of any copy - or move request. - -Generic_Factory: This process supports the object Quoter_Generic_Factory (QGF). - The QGF supports the GenericFactory interface introduced by - the COS specification. It forwards create_object requests to - more concrete factories, e.g. the Quoter_Factory. The - concrete factories are found via the Naming Service. - -Life_Cycle_Service: This process is very similar to the Generic_Factory - proocess. It also supports an Object, which conforms to - the GenericFactory interface. The Quoter_Life_Cycle_Service - conforms to the idea of a life cycle service as it is - introduced by the COS specification. The Quoter_Life_Cycle_Service - is neutral against the Quoter example. It is not dependent - on it. Only interfaces defined by the CosLifeCycle.idl file - are used. The implemenation uses the COS Trading Service - manage registered Generic Factories, as the Quoter_Generic_Factory - for example. A lookup on the Trading Service is performed - when a create_object request is invoked on it. - -client: Creates one Quoter through using the Quoter_Factory_Finder. After that - the copy method of Quoter is invoked to copy the Quoter to an other - location, which is in this example the same location, but that does - not matter so much. The concept is important in this example. - - The objects are invoked in the following order: - client->Quoter->Quoter_Factory_Finder->Quoter_Life_Cycle_Service - ->Quoter_Generic_Factory->Quoter_Factory - - - -!!!!Note: -To make use of the move operation you need to use the -sm switch on -the perl script. This activates in the server multiple objects, which is needed for -moving. - -RUNNING THE EXAMPLE -=================== - -run_test - -Name Server ------------ - -Found under TAO\Orbsvcs, this is run for connections from the -server, client, and factory finder. Plans to move this into the -server are under consideration. - -To run with the default settings, use - -run_tests /ns - -Quoter Server -------------- - -To run with the default settings, use - -run_tests /sv - - -Quoter Client -------------- - -To run with the default settings, use - -run_tests /cl - -Quoter Factory Finder ---------------------- - -To run with the default settings, use - -run_tests /ff - -Quoter example -------------- - diff --git a/TAO/examples/Quoter/client.conf b/TAO/examples/Quoter/client.conf deleted file mode 100644 index 3c0cc0cc469..00000000000 --- a/TAO/examples/Quoter/client.conf +++ /dev/null @@ -1,5 +0,0 @@ -# $Id$ -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_Default_Resource_Factory() "-ORBresources tss" -dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory() -dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBsystemidpolicydemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/examples/Quoter/client.cpp b/TAO/examples/Quoter/client.cpp deleted file mode 100644 index 6fef5b30fb5..00000000000 --- a/TAO/examples/Quoter/client.cpp +++ /dev/null @@ -1,404 +0,0 @@ -// $Id$ - -#include "ace/Read_Buffer.h" -#include "orbsvcs/CosNamingC.h" -#include "client.h" - -ACE_RCSID(Quoter, client, "$Id$") - -Quoter_Task::Quoter_Task (int argc, char **argv) - : argc_ (argc), argv_ (argv) -{ - // Nothing -} - -int -Quoter_Task::svc (void) -{ - if (this->quoter_client.init (this->argc_, this->argv_) == -1) - return 1; - else - return this->quoter_client.run (); -} - -// Constructor. -Quoter_Client::Quoter_Client (void) - : quoter_factory_key_ (0), - quoter_key_ (ACE_OS::strdup ("key0")), - shutdown_ (0), - quoter_var_ (Stock::Quoter::_nil ()), - useLifeCycleService_(0) // use the Generic Factory -{ - // Nothing -} - -// Parses the command line arguments and returns an error status. - -int -Quoter_Client::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "n:dlx"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'n': // multiple threads - // ignore it, it was handled already - break; - case 'd': // debug flag - TAO_debug_level++; - break; - case 'l': - this->useLifeCycleService_ = 1; - break; - case 'x': - this->shutdown_ = 1; - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-m]" - " [-d]" - " [-l] # use the lifecycle service instead of the generic factory" - " [-x]" - " [-s]" - "\n", - this->argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -int -Quoter_Client::run (void) -{ - const char *exception_message = "Null Message"; - ACE_TRY_NEW_ENV - { - exception_message = "While using get_quote ()"; - CORBA::Long q = this->quoter_var_->get_quote ("ACE Hardware", ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "ACE Hardware = %i\n", q)); - - // Copy the Quoter - - CosLifeCycle::Criteria criteria; - exception_message = "While copying the quoter"; - CORBA::Object_var quoterObj_var = - this->quoter_var_->copy (factory_Finder_var_.in (), - criteria, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (quoterObj_var.in())) - ACE_ERROR_RETURN ((LM_ERROR, - "Quoter_Client::run: Copied Object pointer is nil!"), - -1); - - // Narrow it to the actual Quoter interface - exception_message = "While narrowing the quoter"; - Stock::Quoter_var copied_quoter_var = - Stock::Quoter::_narrow (quoterObj_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (copied_quoter_var.in())) - ACE_ERROR_RETURN ((LM_ERROR, - "Quoter_Client::run: Copied Quoter is nil!"), - -1); - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Copied object.\n")); - - exception_message = "While using get_quote () on copied object"; - q = copied_quoter_var->get_quote ("ACE Hardware", ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Copied object: ACE Hardware = %i\n", q)); - - // Move the Quoter - - exception_message = "While moving the quoter"; - this->quoter_var_->move (factory_Finder_var_.in (), - criteria, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Caution, the object reference stays the same - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Moved object\n")); - - exception_message = "While using get_quote () on moved object"; - q = this->quoter_var_->get_quote ("ACE Hardware", ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Moved object: ACE Hardware = %i\n", q)); - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "Quoter_Client::run - %s\n", exception_message)); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Quoter_Client::run"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -Quoter_Client::~Quoter_Client (void) -{ - // Free resources - // Close the ior files - if (this->quoter_factory_key_ != 0) - ACE_OS::free (this->quoter_factory_key_); - if (this->quoter_key_ != 0) - ACE_OS::free (this->quoter_key_); -} - -int -Quoter_Client::init_naming_service (void) -{ - const char *exception_message = "Null Message"; - - ACE_TRY_NEW_ENV - { - // Resolve the Naming Service - CORBA::Object_var naming_obj = - orb_->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (naming_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to resolve the Name Service.\n"), - -1); - - exception_message = "While narrowing the naming context"; - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Have a proper reference to the Naming Service.\n")); - - CosNaming::Name quoterFactoryFinderName (2); - quoterFactoryFinderName.length (2); - quoterFactoryFinderName[0].id = CORBA::string_dup ("IDL_Quoter"); - quoterFactoryFinderName[1].id = CORBA::string_dup ("Quoter_Factory_Finder"); - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Trying to resolve the Quoter Factory Finder!\n")); - - exception_message = "While resolving the factory finder"; - CORBA::Object_var factory_obj = - naming_context->resolve (quoterFactoryFinderName, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Resolved the Quoter Factory Finder!\n")); - - exception_message = "While narrowing the factory finder"; - factory_Finder_var_ = - Stock::Quoter_Factory_Finder::_narrow (factory_obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (factory_Finder_var_.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " could not resolve quoter factory in Naming service <%s>\n"), - -1); - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Have a proper reference to the Quoter Factory Finder.\n")); - - // The name of the Quoter Generic Factory - CosLifeCycle::Key factoryName (2); // max = 2 - - if (this->useLifeCycleService_ == 1) - { - // use the LifeCycle Service - factoryName.length(1); - factoryName[0].id = CORBA::string_dup ("Life_Cycle_Service"); - } - else - { - // use a Generic Factory - factoryName.length(2); - factoryName[0].id = CORBA::string_dup ("IDL_Quoter"); - factoryName[1].id = CORBA::string_dup ("Quoter_Generic_Factory"); - } - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Trying to get a reference of a factory.\n")); - - // Find an appropriate factory over there. - exception_message = "While finding factories"; - CosLifeCycle::Factories_ptr factories_ptr = - factory_Finder_var_->find_factories (factoryName, ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (factories_ptr == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Did not get a Generic Quoter Factory.\n"), - -1); - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Got a proper reference of a factory.\n")); - - - // Get the first object reference to a factory. - CORBA::Object_var quoter_FactoryObj_var; - - if (factories_ptr->length () >= 1) - quoter_FactoryObj_var = (*factories_ptr)[0]; // everything is ok, at least one factory is there - else - ACE_ERROR_RETURN ((LM_ERROR, - "No Factory received.\n"), - -1); - - // Narrow it to a Quoter Generic Factory - exception_message = "While narrowing the factory"; - generic_Factory_var_ = - CosLifeCycle::GenericFactory::_narrow (quoter_FactoryObj_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (this->generic_Factory_var_.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "Factory received is not valid.\n"), - -1); - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Have a proper reference to the Quoter Factory.\n")); - } - ACE_CATCH (CosLifeCycle::NoFactory, excpt) - { - ACE_ERROR ((LM_ERROR, "Quoter_Client::run - %s\n", exception_message)); - ACE_PRINT_EXCEPTION (excpt, "Quoter::init_naming_service: No Factory available!"); - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "Quoter_Client::init_naming_service - %s\n", exception_message)); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Quoter::init_naming_service"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -int -Quoter_Client::init (int argc, char **argv) -{ - this->argc_ = argc; - int i; - - // Make a copy of argv since ORB_init will change it. - this->argv_ = new char *[argc]; - - for (i = 0; i < argc; i++) - this->argv_[i] = argv[i]; - - ACE_TRY_NEW_ENV - { - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (this->argc_, - this->argv_, - "internet", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - return -1; - - int naming_result = this->init_naming_service (); - if (naming_result == -1) - return naming_result; - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Factory received OK\n")); - - // using the Quoter Generic Factory - CosLifeCycle::Key genericFactoryName (1); // max = 1 - genericFactoryName.length(1); - genericFactoryName[0].id = CORBA::string_dup ("Quoter_Factory"); - - // The final factory - - CosLifeCycle::Criteria criteria(1); - criteria.length (1); - criteria[0].name = CORBA::string_dup ("filter"); - criteria[0].value <<= CORBA::string_dup ("name=='Quoter_Generic_Factory'"); - // used to find the last generic factory in the chain - - CORBA::Object_var quoterObject_var = - this->generic_Factory_var_->create_object (genericFactoryName, - criteria, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->quoter_var_ = Stock::Quoter::_narrow (quoterObject_var.in(), ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "Quoter Created\n")); - - if (CORBA::is_nil (this->quoter_var_.in())) - { - ACE_ERROR_RETURN ((LM_ERROR, - "null quoter objref returned by factory\n"), - -1); - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Quoter::init"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - - -// This function runs the test. - -int -main (int argc, char **argv) -{ - ACE_Thread_Manager thr_mgr; - - ACE_DEBUG ((LM_DEBUG,"\n\tQuoter: client\n\n")); - - int i; - int threads = 1; - - for (i = 0; i < argc; i++) - if (ACE_OS::strcmp (argv[i], "-n") == 0) - threads = ACE_OS::atoi(argv[i + 1]); - - Quoter_Task **clients = new Quoter_Task*[threads]; - - for (i = 0; i < threads; i++) - clients[i] = new Quoter_Task (argc, argv); - - - for (i = 0; i < threads; i++) - clients[i]->activate (THR_BOUND | THR_SCHED_FIFO, 1, 0, - ACE_DEFAULT_THREAD_PRIORITY); - - int result = ACE_Thread_Manager::instance ()->wait (); - - for (i = 0; i < threads; i++) - delete clients[i]; - - delete [] clients; - - return result; -} diff --git a/TAO/examples/Quoter/client.dsp b/TAO/examples/Quoter/client.dsp deleted file mode 100644 index d2eac654d7c..00000000000 --- a/TAO/examples/Quoter/client.dsp +++ /dev/null @@ -1,211 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Quoter Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Quoter Client - 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 "client.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 "client.mak" CFG="Quoter Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Quoter Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Quoter Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Quoter Client - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Quoter Client - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Quoter Client - Win32 Release" -# Name "Quoter Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\QuoterC.cpp -# End Source File -# Begin Source File - -SOURCE=.\QuoterS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h" -# Begin Source File - -SOURCE=.\client.h -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter "i" -# Begin Source File - -SOURCE=.\QuoterC.i -# End Source File -# Begin Source File - -SOURCE=.\QuoterS.i -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Quoter.idl - -!IF "$(CFG)" == "Quoter Client - Win32 Release" - -USERDEP__QUOTE="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL compiler on $(InputPath) -InputPath=.\Quoter.idl -InputName=Quoter - -BuildCmds= \ - ..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl -I../../orbsvcs/orbsvcs - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Quoter Client - Win32 Debug" - -USERDEP__QUOTE="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL compiler on $(InputPath) -InputPath=.\Quoter.idl -InputName=Quoter - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl -I../../orbsvcs/orbsvcs - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Quoter/client.h b/TAO/examples/Quoter/client.h deleted file mode 100644 index e59ea061b85..00000000000 --- a/TAO/examples/Quoter/client.h +++ /dev/null @@ -1,114 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Quoter -// -// = FILENAME -// quoter_client.h -// -// = DESCRIPTION -// Contains classes that do the work of the client side of the Quoter Test -// -// = AUTHORS -// Darrell Brunsch -// -// ============================================================================ - -#ifndef QUOTER_CLIENT_H -#define QUOTER_CLIENT_H - -#include "ace/Get_Opt.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Task.h" -#include "ace/Thread_Manager.h" -#include "tao/corba.h" -#include "QuoterC.h" -#include "orbsvcs/CosLifeCycleC.h" - -class Quoter_Client -{ - // = TITLE - // Quoter_Client - // - // = DESCRIPTION - // Does all the work of making the calls on the Quoter server -public: - // = Constructor and destructor. - Quoter_Client (void); - ~Quoter_Client (void); - - int run (void); - // Execute client example code. - - int init (int argc, char **argv); - // Initialize the client communication endpoint with server. - -private: - CORBA::ORB_var orb_; - // Remember our orb. - - int init_naming_service (void); - // Function to initialize the naming service. - - int parse_args (void); - // Parses the arguments passed on the command line. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - char *quoter_factory_key_; - // Key of factory obj ref. - - char *quoter_key_; - // Key of the obj ref to be retrieved via the factory. - - int shutdown_; - // Flag to tell server to shutdown. - - Stock::Quoter_Factory_Finder_var factory_Finder_var_; - // Pointer to a factory finder - - Stock::Quoter_Factory_var factory_var_; - // Pointer to a factory - - CosLifeCycle::GenericFactory_var generic_Factory_var_; - // Pointer to a generic factory - - Stock::Quoter_var quoter_var_; - // Quoter obj ref. - - int useLifeCycleService_; - // Flag to tell if the a Generic Factory is going to be used - // or the LifeCycle Service (0 means Generic Factory, 1 means LCS) -}; - -class Quoter_Task : public ACE_Task -{ - // = TITLE - // Quoter_Task - // - // = DESCRIPTION - // Task that creates a Quoter_Client and uses it -public: - Quoter_Task (int argc, char **argv); - - virtual int svc (void); - -private: - Quoter_Client quoter_client; - int argc_; - char **argv_; - -}; - -#endif /* QUOTER_CLIENT_H */ diff --git a/TAO/examples/Quoter/run_test.pl b/TAO/examples/Quoter/run_test.pl deleted file mode 100755 index 72d6fbc2351..00000000000 --- a/TAO/examples/Quoter/run_test.pl +++ /dev/null @@ -1,268 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -# This is a Perl script that runs the client and all the other servers that -# are needed. - -unshift @INC, '../../../bin'; -require Process; -#require Uniqueid; - -$nsiorfile = "theior"; - -# number of threads to use for multithreaded clients or servers - -$num_threads = 4; - -# amount of delay between running the servers - -$sleeptime = 2; - -# other variables - -$status = 0; -$n = 1; -$leave = 1; -$ior = 0; -$debug = ""; -$cm = ""; -$sm = ""; -$other = ""; -$c_conf = "client.conf"; -$s_conf = "server.conf"; - -sub read_nsior -{ - open (FH, "<$nsiorfile"); - - read (FH, $ior, 255); - - close (FH); -} - -sub name_server -{ - my $args = "$other -o $nsiorfile"; - my $prog = "..$DIR_SEPARATOR..$DIR_SEPARATOR"."orbsvcs$DIR_SEPARATOR". - "Naming_Service$DIR_SEPARATOR". - "Naming_Service$EXE_EXT"; - - $NS = Process::Create ($prog, $args); -} - -sub lifecycle_server -{ - my $args = "$other -ORBnameserviceior ". - "$ior -ORBsvcconf svc.conf"; - my $prog = "..$DIR_SEPARATOR..$DIR_SEPARATOR"."orbsvcs$DIR_SEPARATOR". - "LifeCycle_Service$DIR_SEPARATOR". - "LifeCycle_Service$EXE_EXT"; - - $LC = Process::Create ($prog, $args); -} - -sub server -{ - my $args = "$other $debug $sm ". - "-ORBnameserviceior $ior -ORBsvcconf $s_conf"; - - $SV = Process::Create ("server$EXE_EXT", $args); -} - -sub factory_finder -{ - my $args = "$other -ORBnameserviceior ". - "$ior -ORBsvcconf svc.conf"; - - $FF = Process::Create ("Factory_Finder".$EXE_EXT, $args); -} - -sub generic_factory -{ - my $args = "$other -l -ORBnameserviceior ". - "$ior -ORBsvcconf svc.conf"; - - $GF = Process::Create ("Generic_Factory".$EXE_EXT, $args); -} - -sub client -{ - my $exe = $EXEPREFIX."client$EXE_EXT"; - my $args2 = "$other -l $debug $cm ". - "-ORBnameserviceior $ior -ORBsvcconf $c_conf"; - for ($j = 0; $j < $n; $j++) - { - $client_ = Process::Create($exe, $args2); - if ( $client_->TimedWait (60) ) { - print STDERR "ERROR: a client has timedout\n"; - $status = 1; - $client_->Kill (); $client_->TimedWait (1); - } - } -} - -# Parse the arguments - -for ($i = 0; $i <= $#ARGV; $i++) -{ - SWITCH: - { - if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?") - { - print "run_test [-n num] [-leave] [-onewin]". - "[-twowin] [-d] [-h] [-nt] [-cm] [-sm] [-ns|sv|ff|cl|gf]\n"; - print "\n"; - print "-n num -- runs the client num times\n"; - print "-leave -- leaves the servers running and their windows open\n"; - print "-onewin -- keeps all tests in one window on NT\n"; - print "-twowin -- put each test in a separate window on NT\n"; - print "-d -- runs each in debug mode\n"; - print "-h -- prints this information\n"; - print "-nt num -- number of threads in the client (twice for server)\n"; - print " make sure this is before any -cm or -sm\n"; - print "-cm -- use more than one thread in the client\n"; - print "-sm -- use more than one thread in the server\n"; - print "-ns -sv -ff -gf -cl -- runs only one of the executables\n"; - exit; - } - if ($ARGV[$i] eq "-n") - { - $n = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - if ($ARGV[$i] eq "-nt") - { - $num_threads = $ARGV[$i + 1]; - $i++; - last SWITCH; - } - if ($ARGV[$i] eq "-d") - { - $debug = $debug." -d"; - last SWITCH; - } - if ($ARGV[$i] eq "-cm") - { - $cm = "-n ".$num_threads; - last SWITCH; - } - if ($ARGV[$i] eq "-sm") - { - $sm = "-n ".($num_threads * 3); - last SWITCH; - } - if ($ARGV[$i] eq "-leave") - { - $leave = 0; - last SWITCH; - } - if ($ARGV[$i] eq "-ns") - { - name_server (); - exit; - } - if ($ARGV[$i] eq "-sv") - { - read_nsior (); - server (); - exit; - } - if ($ARGV[$i] eq "-ff") - { - read_nsior (); - factory_finder (); - exit; - } - if ($ARGV[$i] eq "-gf") - { - read_nsior (); - generic_factory (); - exit; - } - if ($ARGV[$i] eq "-cl") - { - read_nsior (); - client (); - exit; - } - if ($ARGV[$i] eq "-customconf") #secret flag from testall.pl - { - #use a different set of *.conf files - $c_conf = "c.conf"; - $s_conf = "s.conf"; - last SWITCH; - } - if ($ARGV[$i] eq "-onewin") - { - if ($^O eq "MSWin32") - { - $Process::newwindow = "no"; - } - last SWITCH; - } - if ($ARGV[$i] eq "-twowin") - { - if ($^O eq "MSWin32") - { - $Process::newwindow = "yes"; - } - last SWITCH; - } - - $other = $other." ".$ARGV[$i]; - } -} - -name_server (); -sleep $sleeptime; -read_nsior (); - -lifecycle_server (); -sleep $sleeptime; - -server (); -sleep $sleeptime; - -factory_finder (); -sleep $sleeptime; - -generic_factory (); -sleep $sleeptime; - -client (); - -if ($leave) -{ - $GF->Terminate (); - $FF->Terminate (); - $SV->Terminate (); - $LC->Terminate (); - $NS->Terminate (); - if ($GF->TimedWait (5) == -1 || - $FF->TimedWait (5) == -1 || - $SV->TimedWait (5) == -1 || - $LC->TimedWait (5) == -1 || - $NS->TimedWait (5) == -1){ - print STDERR "ERROR: couldn't terminate services nicely\n"; - $status = 1; - $GF->Kill (); $GF->TimedWait (1); - $FF->Kill (); $FF->TimedWait (1); - $SV->Kill (); $SV->TimedWait (1); - $LC->Kill (); $LC->TimedWait (1); - $NS->Kill (); $NS->TimedWait (1); - } - - -unlink $nsiorfile; - -if ($status != 0) -{ - exit 1; -} - -exit 0; diff --git a/TAO/examples/Quoter/server.conf b/TAO/examples/Quoter/server.conf deleted file mode 100644 index a785e63f513..00000000000 --- a/TAO/examples/Quoter/server.conf +++ /dev/null @@ -1,5 +0,0 @@ -# $Id$ -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_Default_Resource_Factory() "-ORBresources global" -dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory() -dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBsystemidpolicydemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/examples/Quoter/server.cpp b/TAO/examples/Quoter/server.cpp deleted file mode 100644 index f954ca72f1f..00000000000 --- a/TAO/examples/Quoter/server.cpp +++ /dev/null @@ -1,282 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = FILENAME -// Quoter_Server.cpp -// -// = DESCRIPTION -// The Server for the Quoter Factory -// -// = AUTHOR -// Darrell Brunsch (brunsch@cs.wustl.edu) -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "server.h" - -ACE_RCSID(Quoter, server, "$Id$") - -Quoter_Server::Quoter_Server (void) - : num_of_objs_ (1), - quoter_Factory_i_ptr_ (0) -{ -} - -int -Quoter_Server::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "dn:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; - break; - case 'n': // number of Quoter objects we export - this->num_of_objs_ = ACE_OS::atoi (get_opts.optarg); - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-n] " - "\n", - argv_ [0]), - 1); - } - - - // Indicates successful parsing of command line. - return 0; -} - - -//Initialize the Quoter Server - -int -Quoter_Server::init (int argc, - char* argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - const char *exception_message = "Null Message"; - ACE_TRY - { - exception_message = "While ORB Manager init"; - if (this->orb_manager_.init (argc, argv, ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init"), - -1); - ACE_TRY_CHECK; - - // Copy them, because parse_args expects them there. - this->argc_ = argc; - int i; - - // Make a copy of argv since ORB_init will change it. - this->argv_ = new char *[argc]; - - for (i = 0; i < argc; i++) - this->argv_[i] = argv[i]; - - this->parse_args (); - - // Obtain the RootPOA. - CORBA::Object_var obj = this->orb_manager_.orb()->resolve_initial_references ("RootPOA"); - - // Get the POA_var object from Object_var. - exception_message = "While narrowing the root pos"; - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the POAManager of the RootPOA. - exception_message = "While getting the POA Manager"; - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_NEW_RETURN (quoter_Factory_i_ptr_, - Quoter_Factory_i(this->num_of_objs_, - root_poa.in()), - 0); - - exception_message = "While initing the quoter factory"; - quoter_Factory_i_ptr_->init (ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::ObjectId_var quoter_Factory_oid = - PortableServer::string_to_ObjectId ("Quoter_Factory"); - - exception_message = "While activating quoter factory"; - root_poa->activate_object_with_id (quoter_Factory_oid.in (), - quoter_Factory_i_ptr_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get Object reference for first_foo_impl object. - exception_message = "While quoter_Factor::_this"; - Stock::Quoter_Factory_var quoter_Factory_var = quoter_Factory_i_ptr_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Stringify the object reference and print it out. - exception_message = "While object_to_string"; - CORBA::String_var quoter_Factory_ior = - this->orb_manager_.orb()->object_to_string (quoter_Factory_var.in (), ACE_TRY_ENV); - - exception_message = "While activating the POA Manager"; - poa_manager->activate (ACE_TRY_ENV); - - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", - quoter_Factory_ior.in ())); - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "Quote_Server::init - %s\n", exception_message)); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception"); - ACE_RETHROW; - } - ACE_ENDTRY; - - return this->init_naming_service (ACE_TRY_ENV); -} - - -// Initialization of Naming Service and register IDL_Quoter Context -// and Quoter_factory object. - -int -Quoter_Server::init_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - const char *exception_message = "Null Message"; - ACE_TRY - { - CORBA::ORB_ptr orb_ptr = TAO_ORB_Core_instance()->orb(); - - CORBA::Object_var naming_obj = - orb_ptr->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (naming_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to resolve the Name Service.\n"), - -1); - - exception_message = "While narrowing naming context"; - namingContext_var_ = - CosNaming::NamingContext::_narrow (naming_obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - CosNaming::Name quoterContextName (1); - quoterContextName.length (1); - quoterContextName[0].id = CORBA::string_dup ("IDL_Quoter"); - - exception_message = "While binding a new context"; - CosNaming::NamingContext_var quoterNameContext = - namingContext_var_->bind_new_context (quoterContextName, ACE_TRY_ENV); - ACE_TRY_CHECK; - - //Register the quoter_factory name with the IDL_quoter Naming - //Context... - CosNaming::Name quoterFactoryContextName (1); - quoterFactoryContextName.length (1); - quoterFactoryContextName[0].id = CORBA::string_dup ("Quoter_Factory"); - - exception_message = "While using factory _this"; - Stock::Quoter_Factory_var quoter_factory_var = quoter_Factory_i_ptr_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - exception_message = "While binding factory"; - quoterNameContext->bind (quoterFactoryContextName, - quoter_factory_var, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "Quote_Server::init_naming_service - %s", exception_message)); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -int -Quoter_Server::run (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - - if (orb_manager_.orb()->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "run"), - -1); - return 0; -} - -Quoter_Server::~Quoter_Server (void) -{ - ACE_TRY_NEW_ENV - { - // Unbind quoter factory context and name. - CosNaming::Name factory_name (2); - factory_name.length (2); - factory_name[0].id = CORBA::string_dup ("IDL_Quoter"); - factory_name[1].id = CORBA::string_dup ("Quoter_Factory"); - if (this->namingContext_var_.ptr () != 0) - this->namingContext_var_->unbind (factory_name, ACE_TRY_ENV); - ACE_TRY_CHECK; - - factory_name.length (1); - if (this->namingContext_var_.ptr () != 0) - this->namingContext_var_->unbind (factory_name, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "Could not unbind Quoter Server from the Name Service\n")); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "~Quoter_Server"); - } - ACE_ENDTRY; - - delete [] this->argv_; - delete this->quoter_Factory_i_ptr_; -} - -int -main (int argc, char *argv[]) -{ - Quoter_Server quoter_server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tQuoter:SERVER \n \n")); - - ACE_TRY_NEW_ENV - { - if (quoter_server.init (argc, argv, ACE_TRY_ENV) == -1) - return 1; - ACE_TRY_CHECK; - - quoter_server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_ENDTRY; - return 0; -} diff --git a/TAO/examples/Quoter/server.dsp b/TAO/examples/Quoter/server.dsp deleted file mode 100644 index 3079bb1295d..00000000000 --- a/TAO/examples/Quoter/server.dsp +++ /dev/null @@ -1,220 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Quoter Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Quoter Server - 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 "server.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 "server.mak" CFG="Quoter Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Quoter Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Quoter Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Quoter Server - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib tao.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Quoter Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /nodefaultlib - -!ENDIF - -# Begin Target - -# Name "Quoter Server - Win32 Release" -# Name "Quoter Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp" -# Begin Source File - -SOURCE=.\Quoter_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\QuoterC.cpp -# End Source File -# Begin Source File - -SOURCE=.\QuoterS.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h" -# Begin Source File - -SOURCE=.\Quoter_i.h -# End Source File -# Begin Source File - -SOURCE=.\server.h -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter "i" -# Begin Source File - -SOURCE=.\QuoterC.i -# End Source File -# Begin Source File - -SOURCE=.\QuoterS.i -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Quoter.idl - -!IF "$(CFG)" == "Quoter Server - Win32 Release" - -USERDEP__QUOTE="..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL compiler on $(InputPath) -InputPath=.\Quoter.idl -InputName=Quoter - -BuildCmds= \ - ..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl -I../../orbsvcs/orbsvcs - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Quoter Server - Win32 Debug" - -USERDEP__QUOTE="..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL compiler on $(InputPath) -InputPath=.\Quoter.idl -InputName=Quoter - -BuildCmds= \ - ..\..\..\bin\tao_idl -Ge 1 $(InputName).idl -I../../orbsvcs/orbsvcs - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Quoter/server.h b/TAO/examples/Quoter/server.h deleted file mode 100644 index d8883bacf08..00000000000 --- a/TAO/examples/Quoter/server.h +++ /dev/null @@ -1,88 +0,0 @@ -// $Id$ -// -*- C++ -*- - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Quoter -// -// = FILENAME -// quoter_server.h -// -// = DESCRIPTION -// Implements the Quoter_Server class which handles the initialization of -// the quoter implementations. -// -// = AUTHORS -// Darrell Brunsch (brunsch@cs.wustl.edu) -// -// ============================================================================ - -#ifndef QUOTER_SERVER_H -#define QUOTER_SERVER_H - -#include "ace/Get_Opt.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Log_Msg.h" -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/Naming/Naming_Utils.h" -#include "tao/TAO.h" -#include "Quoter_i.h" -#include "QuoterC.h" - -class Quoter_Server -{ - // =TITLE - // Defines a Quoter Server class that implements the functionality - // of a server process as an object. - // - // =DESCRIPTION - // The interface is quite simple. A server program has to call - // init to initialize the quoter_server's state and then call run - // to run the orb. -public: - - Quoter_Server (void); - // Default constructor - - ~Quoter_Server (void); - // Destructor - - int init (int argc, char *argv[], CORBA::Environment& env); - // Initialize the Quoter_Server state - parsing arguments and ... - - int run (CORBA::Environment &ACE_TRY_ENV); - // Run the server. - -private: - int parse_args (void); - // Parses the commandline arguments. - - int init_naming_service (CORBA::Environment &env); - // Initializes the name server and registers cubit factory with the - // name server. - - int num_of_objs_; - // Number of quoter objects we export. - - CosNaming::NamingContext_var namingContext_var_; - // Naming Service context - - Quoter_Factory_i *quoter_Factory_i_ptr_; - // Instantiate the Quoter Factory - - TAO_ORB_Manager orb_manager_; - // The ORB manager. - - int argc_; - // Number of commandline arguments. - - char **argv_; - // commandline arguments. -}; - -#endif /* QUOTER_SERVER_H */ diff --git a/TAO/examples/Quoter/testall.pl b/TAO/examples/Quoter/testall.pl deleted file mode 100755 index 5f25258cae3..00000000000 --- a/TAO/examples/Quoter/testall.pl +++ /dev/null @@ -1,206 +0,0 @@ -# $Id$ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# This is a Perl script that runs the client and all the other servers that -# are needed - -$n = 1; -$leave = 0; -$ior = 0; -$done = ""; -$debug = ""; -$other = ""; -$runonce = 0; - -# configuration variables - -$resource = "global"; -$poalock = "thread"; -$poa = "global"; -$concurrency = "reactive"; -$mult = "no"; -$c_resource = "global"; -$c_mult = "no"; - -for ($i = 0; $i <= $#ARGV; $i++) -{ - SWITCH: - { - if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?") - { - print "testall\n"; - print " -resource {global, tss}\n"; - print " -poalock {thread, null}\n"; - print " -poa {global, tss}\n"; - print " -concurrency {reactive, thread-per-connection}\n"; - print " -mult {yes, no}\n"; - print " -c_resource {global, tss}\n"; - print " -c_mult {yes, no}\n"; - exit; - } - if ($ARGV[$i] eq "-resource") - { - $runonce = 1; - $resource = $ARGV[$i + 1]; - $i++; - } - if ($ARGV[$i] eq "-poalock") - { - $runonce = 1; - $poalock = $ARGV[$i + 1]; - $i++; - } - if ($ARGV[$i] eq "-poa") - { - $runonce = 1; - $poa = $ARGV[$i + 1]; - $i++; - } - if ($ARGV[$i] eq "-concurrency") - { - $runonce = 1; - $concurrency = $ARGV[$i + 1]; - $i++; - } - if ($ARGV[$i] eq "-mult") - { - $runonce = 1; - $mult = $ARGV[$i + 1]; - $i++; - } - if ($ARGV[$i] eq "-c_resource") - { - $runonce = 1; - $c_resource = $ARGV[$i + 1]; - $i++; - } - if ($ARGV[$i] eq "-c_mult") - { - $runonce = 1; - $c_mult = $ARGV[$i + 1]; - $i++; - } - } -} - -if ($runonce > 0) -{ - do_work (); -} -else -{ - pick_resource (); -} - -sub pick_resource -{ - $resource = "global"; - pick_poalock (); - $resource = "tss"; - pick_poalock (); -} - -sub pick_poalock -{ - $poalock = "thread"; - pick_poa (); - $poalock = "null"; - pick_poa (); -} - -sub pick_poa -{ - $poa = "global"; - pick_concurrency (); - - if ($resource ne "global") - { - $poa = "tss"; - pick_concurrency (); - } -} - -sub pick_concurrency -{ - $concurrency = "reactive"; - pick_mult_orbs (); - $concurrency = "thread-per-connection"; - pick_mult_orbs (); -} - -sub pick_mult_orbs -{ - if ($resource ne "global") - { - $mult = "yes"; - pick_c_resource (); - } - $mult = "no"; - pick_c_resource (); -} - -sub pick_c_resource -{ - $c_resource = "global"; - pick_c_mult_orbs (); - $c_resource = "tss"; - pick_c_mult_orbs (); -} - -sub pick_c_mult_orbs -{ - if ($c_resource ne "global") - { - $c_mult = "yes"; - do_work (); - } - $c_mult = "no"; - do_work (); -} - -sub make_s_conf -{ - open (FH, ">s.conf"); - - select (FH); - - print "dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() \"-ORBresources ".$resource." -ORBpoa $poa\"\n"; - print "dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()\n"; - print "dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() \"-ORBconcurrency $concurrency -ORBpoalock ".$poalock." -ORBdemuxstrategy dynamic -ORBtablesize 128\"\n"; - - select (STDOUT); - close (FH); -} - -sub make_c_conf -{ - open (FH, ">c.conf"); - - select (FH); - - print "dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() \"-ORBresources $c_resource\"\n"; - print "dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()\n"; - print "dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() \"-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128\"\n"; - - select (STDOUT); - close (FH); -} - - -sub do_work -{ - make_s_conf (); - make_c_conf (); - - print "-------------------------------------------\n"; - print "Server: $resource $poalock $poa $concurrency $mult\n"; - print "Client: $c_resource $c_mult\n"; - - if ($mult eq "yes") { $mt = "-sm"; } else { $mt = ""; } - if ($c_mult eq "yes") { $cmt = "-cm"; } else { $cmt = ""; } - - system ("perl run_test.pl $other $mt $cmt -onewin -customconf"); -} - diff --git a/TAO/examples/README b/TAO/examples/README deleted file mode 100644 index f62da7d2f59..00000000000 --- a/TAO/examples/README +++ /dev/null @@ -1,58 +0,0 @@ -This directory contains a number of example applications that -illustrate how to program with standard CORBA using TAO. The -individual directories contain READMEs on how to run the following -examples: - - . Borland - - This directory illustrates how to write a Borland C++ - Builder application using ACE+TAO. - - . Callback_Quoter - - Illustrates how to implement distributed callbacks using - TAO. - - . Event_Comm - - Another illustration of how to implement distributed - callbacks using TAO. - - . Logging - - This example implements a simple logging service using TAO. - - . Persistent_Grid - - This example shows how to store the state of CORBA servants in - persistent memory. - - . POA - - Contains various small examples of POA features based on - the OMG POA specification. - - . OBV - - This is a demonstration of the CORBA 2.3 valuetype feature from - the Object-by-Value specification. - - . Quoter - - Illustrates how to use the Global POA options with multiple - threads. This example also shows how to use the Lifecycle - service. - - . Simple - - Contains a number of simple CORBA examples, which also - illustrate how to write canonical Orbix/VisiBroker/OmniORB - examples in TAO using standard CORBA features rather than - proprietary ORB features. - - . Simulator - - This is a demonstration of the TAO "Distributed Object - Visualization Environment" (DOVE), which shows how the TAO - Real-time Event Service can be used to transport monitoring - events. diff --git a/TAO/examples/Simple/Makefile b/TAO/examples/Simple/Makefile deleted file mode 100644 index cc43697b443..00000000000 --- a/TAO/examples/Simple/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = bank \ - chat \ - echo \ - grid \ - time \ - time-date - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU - diff --git a/TAO/examples/Simple/README b/TAO/examples/Simple/README deleted file mode 100644 index d753ece9ea5..00000000000 --- a/TAO/examples/Simple/README +++ /dev/null @@ -1,28 +0,0 @@ -$Id$ - -This directory contains a number of very simple tests, which also -illustrate how to write canonical Orbix/VisiBroker/OmniORB examples in -TAO using standard CORBA features rather than proprietary ORB -features. The individual directories contain READMEs on how to run -the following tests: - - . bank - - This directory implements the canonical VisiBroker - test. - - . chat - - This directory implements an ORBacus test. - - . echo - - This directory implements the canonical omniORB test. - - . grid - - This directory implements the canonical Orbix test. - - . time - - This directory implements a simple time/date test. diff --git a/TAO/examples/Simple/Simple_util.cpp b/TAO/examples/Simple/Simple_util.cpp deleted file mode 100644 index 92fb6658ca1..00000000000 --- a/TAO/examples/Simple/Simple_util.cpp +++ /dev/null @@ -1,468 +0,0 @@ -//$Id$ - -#ifndef SIMPLE_UTIL_C -#define SIMPLE_UTIL_C -# include "Simple_util.h" - -// Constructor. - -template -Server::Server (void) - : ior_output_file_ (0), - naming_ (0), - ins_ (0) -{ - // no-op. -} - -// Destructor. - -template -Server::~Server (void) -{ -} - -// Parse the command-line arguments and set options. - -template int -Server::parse_args (void) -{ - ACE_Get_Opt get_opts (this->argc_, this->argv_, "do:ni:"); - int c = 0; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; - break; - case 'o': // output the IOR to a file. - this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w"); - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - get_opts.optarg), -1); - break; - - case 'n': //Use naming service - this->naming_ = 1; - break; - case 'i': // For Testing the InterOperable Naming Service. - this->ins_ = CORBA::string_dup (get_opts.optarg); - break; - case 'h': // display help for use of the server. - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d (debug)]" - " [-o] " - " [-n (use naming service)]" - " [-i] " - " [-h (help)]" - "\n", - argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Add the ObjectID:IOR mapping to the IOR table of -// the ORB. Ignore this method if you are not testing for -// the InterOperable Naming Service. - -template int -Server::test_for_ins (CORBA::String_var ior) -{ - CORBA::ORB_var orb = this->orb_manager_.orb (); - - CORBA::Object_ptr object = - orb->string_to_object (ior.in ()); - - // Add a KEY:IOR mapping to the ORB table. - ACE_CString ins (this->ins_); - - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "Adding (KEY:IOR) %s:%s\n", - ins.c_str (), - ior.in ())); - - if (orb->_tao_add_to_IOR_table (ins, - object) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Simple_Util : Unable to add IOR to table\n"), - -1); - - return 0; -} - -// Initialize the server. -template int -Server::init (const char *servant_name, - int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - // Call the init of to initialize the ORB and - // create a child POA under the root POA. - if (this->orb_manager_.init_child_poa (argc, - argv, - "child_poa", - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init_child_poa"), - -1); - - ACE_CHECK_RETURN (-1); - - this->argc_ = argc; - this->argv_ = argv; - - int retval = this->parse_args (); - - if (retval != 0) - return retval; - - CORBA::ORB_var orb = this->orb_manager_.orb (); - - // Stash our ORB pointer for later reference. - this->servant_.orb (orb.in ()); - - if (this->naming_ == 1) - { - - // Save name in case we use TAO Naming Service. - name = servant_name; - - // Call naming service - if (this->register_name () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "\n Naming Service\n"),-1); - - return 0; - } - - // Activate the servant in its own child POA. - - // Make sure that you check for failures here via the ACE_TRY - // macros?! - ACE_TRY - { - CORBA::String_var str = - this->orb_manager_.activate_under_child_poa (servant_name, - &this->servant_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", - str.in ())); - - if (this->ins_) - if (this->test_for_ins (str) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "test_for_ins (): failed\n"), - -1); - - if (this->ior_output_file_) - { - ACE_OS::fprintf (this->ior_output_file_, - "%s", - str.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"\tException in activation of POA"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -template int -Server::run (CORBA::Environment &env) -{ - // Run the main event loop for the ORB. - if (this->orb_manager_.run (env) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Server_i::run"), - -1); - - return 0; -} - -template int -Server::register_name (void) -{ - CORBA::ORB_var orb = this->orb_manager_.orb (); - PortableServer::POA_var child_poa = this->orb_manager_.child_poa (); - - this->naming_server_.init (orb.in (), - child_poa.in ()); - // create the name for the naming service - - CosNaming::Name bindName; - bindName.length (1); - bindName[0].id = CORBA::string_dup (name); - - ACE_DECLARE_NEW_CORBA_ENV; - - // (re)Bind the object. - ACE_TRY - { - CORBA::Object_var object = servant_._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->orb_manager_.activate_poa_manager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - naming_server_->rebind (bindName, - object.in(), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Test for INS. - if (this->ins_) - if (this->test_for_ins (orb->object_to_string (object.in ())) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "test_for_ins (): failed\n"), - -1); - } - ACE_CATCH (CosNaming::NamingContext::AlreadyBound, ex) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to bind %s \n", - name), - -1); - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -// Constructor. - -template -Client::Client (void) - : ior_ (0), - shutdown_ (0) -{ - //no-op -} - -// Reads the Server ior from a file - -template int -Client::read_ior (char *filename) -{ - // Open the file for reading. - ACE_HANDLE f_handle = ACE_OS::open (filename, 0); - - if (f_handle == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - filename), - -1); - - ACE_Read_Buffer ior_buffer (f_handle); - char *data = ior_buffer.read (); - - if (data == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior: %p\n"), - -1); - - this->ior_ = ACE_OS::strdup (data); - ior_buffer.alloc ()->free (data); - - ACE_OS::close (f_handle); - - return 0; -} - -// Parses the command line arguments and returns an error status. - -template int -Client::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "df:nk:x"); - int c = 0; - int result = 0; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag - TAO_debug_level++; - break; - case 'k': // ior provide on command line - this->ior_ = ACE_OS::strdup (get_opts.optarg); - break; - case 'n': // Use naming service - this->naming_ = 1; - break; - case 'f': // read the IOR from the file. - result = this->read_ior (get_opts.optarg); - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior from %s : %p\n", - get_opts.optarg), - -1); - break; - case 'x': // read the flag for shutting down - this->shutdown_ = 1; - break; - case 'h': // display help for use of the client. - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d (debug)]" - " [-k] " - " [-f] " - " [-n (use naming service)]" - " [-x (shutdown server)]" - " [-h (help)]" - "\n", - argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -template -Client::~Client (void) -{ - ACE_OS::free (this->ior_); -} - -template int -Client::init (const char *name, - int argc, - char **argv) -{ - this->argc_ = argc; - this->argv_ = argv; - - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (this->argc_, - this->argv_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - return -1; - - if(this->ior_ != 0) - { - CORBA::Object_var server_object = - this->orb_->string_to_object (this->ior_, ACE_TRY_ENV); - ACE_TRY_CHECK; - - - if (CORBA::is_nil (server_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "invalid ior <%s>\n", - this->ior_), - -1); - this->server_ = INTERFACE_OBJECT::_narrow (server_object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - else if (this->naming_ == 1) - { - // No IOR specified. Use the Naming Service - ACE_DEBUG((LM_DEBUG, - "Using the Naming Service \n")); - this->name_ = ACE_const_cast (char *, name); - int retv = this->obtain_initial_references (ACE_TRY_ENV); - ACE_TRY_CHECK; - if (retv ==-1) - return -1; - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "no ior or naming options specified\n"), - -1); - - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Client_i::init"); - return -1; - } - ACE_ENDTRY; - - - return 0; -} - - -template int -Client::obtain_initial_references (CORBA::Environment &ACE_TRY_ENV) -{ - - ACE_TRY - { - // Initialize the naming services. - if (naming_client_.init (orb_.in ()) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "[CLIENT] Process/Thread Id : (%P/%t) Unable to initialize " - "the TAO_Naming_Client. \n"), - -1); - - - CosNaming::Name server_name (1); - server_name.length (1); - server_name[0].id = - CORBA::string_dup (this->name_); - CORBA::Object_var obj = - naming_client_->resolve (server_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->server_ = INTERFACE_OBJECT::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Client::obtain_initial_references"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -template int -Client::shutdown (void) -{ - // Returns the shutdwon flag - return shutdown_; -} - -template void -Client::shutdown (int flag) -{ - // Fills the flag - shutdown_ = flag; -} - -#endif /* SIMPLE_UTIL_C */ diff --git a/TAO/examples/Simple/Simple_util.h b/TAO/examples/Simple/Simple_util.h deleted file mode 100644 index 552154d67aa..00000000000 --- a/TAO/examples/Simple/Simple_util.h +++ /dev/null @@ -1,178 +0,0 @@ -//$Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Simple -// -// = FILENAME -// Simple_Util.h -// -// = DESCRIPTION -// The classe define the templates for the client and server. -// -// = AUTHOR -// Balachandran Natarajan -// -// ============================================================================ - -#ifndef TAO_UTIL_H -#define TAO_UTIL_H - -#include "tao/TAO.h" -#include "orbsvcs/Naming/Naming_Utils.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" - -template -class Server -{ - // = TITLE - // A set of useful class Templates for using the TAO CORBA - // implementation. - // - // = DESCRIPTION - // A template server definition. This template can be used by - // single server/client projects for defintion of their - // server/clients. See the directories time, bank, echo for - // further details of implemenatation. -public: - // = Initialization and termination methods. - - Server (void); - // Constructor. - - ~Server (void); - // Destructor. - - int init (const char *servant_name, - int argc, - char *argv[], - CORBA::Environment &env); - // Initialize the Server state - parsing arguments and waiting. - // interface_name is the name used to register the Servant. - - int register_name (void); - // After calling , this method will register the server with - // the TAO Naming Service using the servant_name passed to . - - int run (CORBA::Environment &env); - // Run the orb. - - int test_for_ins (CORBA::String_var ior); - // Ignore this method if you are not testing the InterOperable - // Naming Service. - -protected: - Servant servant_; - // Servant class - - const char *name; - // name of the servant to be used for TAO Naming Service - - int parse_args (void); - // Parses the commandline arguments. - - TAO_ORB_Manager orb_manager_; - // The ORB manager - a helper class for accessing the POA and - // registering objects. - - TAO_Naming_Server naming_server_; - // helper class for getting access to Naming Service. - - FILE *ior_output_file_; - // File where the IOR of the server object is stored. - - int naming_; - // Flag to indicate whether naming service could be used - - char *ins_; - // Used test the INS. - - int argc_; - // Number of command line arguments. - - char **argv_; - // The command line arguments. -}; - -template -class Client -{ - // = TITLE - // Template Client class - // - // = DESCRIPTION - // A template client implementation for a single server/client - // model. The example usage of these usage can be found in the - // sub-directories below -public: - - // = Initialization and termination methods. - Client (void); - // Constructor. - - ~Client (void); - // Destructor. - - int init (const char *name,int argc, char *argv[]); - // Initialize the client communication endpoint with server. - - INTERFACE_OBJECT *operator-> () { return server_.in ();}; - // Return the interface object pointer. - - int shutdown (void ); - // Returns the shutdown flag. - - void shutdown (int); - // Fills in the shutdwon flag. - - int obtain_initial_references (CORBA::Environment &); - // Initialize naming service - -protected: - CORBA::ORB_var orb_; - // Remember our orb. - - int read_ior (char *filename); - // Function to read the server IOR from a file. - - int parse_args (void); - // Parses the arguments passed on the command line. - - TAO_Naming_Client naming_client_; - // helper class for getting access to Naming Service. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - char *ior_; - // IOR of the obj ref of the server. - - char *name_; - // Name to be usred for the naming service - - CORBA::Environment env_; - // Environment variable. - - Var server_; - // Server object - - int naming_; - // Flag to use the naming service - - int shutdown_; - // Flag for shutting down the server -}; - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "Simple_util.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation "Simple_util.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* TAO_UTIL_H */ diff --git a/TAO/examples/Simple/bank/AccountManager_i.cpp b/TAO/examples/Simple/bank/AccountManager_i.cpp deleted file mode 100644 index 6de2d000699..00000000000 --- a/TAO/examples/Simple/bank/AccountManager_i.cpp +++ /dev/null @@ -1,161 +0,0 @@ -// $Id$ - -#include "AccountManager_i.h" -#include "Account_i.h" - -ACE_RCSID(AccountManager, AccountManager_i, "$Id$") - -// Constructor - -AccountManager_i::AccountManager_i (void) -{ - // no-op -} - -AccountManager_i::AccountManager_i (AccountManager_i &foo) - : POA_Bank::AccountManager (foo) -{ - // old g++ fooler. -} - -// Destructor - -AccountManager_i::~AccountManager_i (void) -{ - // no-op -} - -// Set the ORB pointer - -void -AccountManager_i::orb (CORBA::ORB_ptr o) -{ - this->orb_ = CORBA::ORB::_duplicate (o); -} - -void -AccountManager_i::poa (PortableServer::POA_ptr poa) -{ - this->poa_ = poa; -} - -void -AccountManager_i::set_orb_manager (TAO_ORB_Manager *orb_manager) -{ - this->orb_manager_ = orb_manager; -} - -// Open an account for the given name. - -Bank::Account_ptr -AccountManager_i::open (const char *name, - CORBA::Float initial_balance, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - Account_i *result = 0; - - // If name is already in the map, will assign to the - // appropriate value. - - if (hash_map_.find (name, result) != 0) - { - ACE_DEBUG ((LM_DEBUG, - "[SERVER] Process/Thread Id : (%P/%t) Opening Account (%s,%8.2f)\n", - name, - initial_balance)); - - ACE_NEW_THROW_EX (result, - Account_i (name, - initial_balance), - CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (Bank::Account::_nil ()); - - // Enter the new Account in the hash map. If the fails - // throw an UNKNOWN exception. may be valid but since - // it is not properly bound, it's behaviour may be off, so - // delete it to be safe. - - if (hash_map_.bind (name, result) == -1) - { - delete result; - ACE_THROW_RETURN (CORBA::UNKNOWN (), - Bank::Account::_nil ()); - } - } - else if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "[SERVER] Process/Thread Id : (%P/%t) Account already exists for %s\n", - name)); - // Generate an IOR for the result object and register it with the - // POA. In case the object already exists then the previously - // generated IOR is returned. - - return result->_this (); -} - -// Shutdown. - -void -AccountManager_i::close (Bank::Account_ptr account, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_TRY - { - CORBA::String_var name = - CORBA::string_dup (account->name (ACE_TRY_ENV)); - - ACE_TRY_CHECK; - - if (hash_map_.unbind ((const char *) name) == -1) - { - if (TAO_debug_level > 0) - ACE_DEBUG((LM_DEBUG, - "Unable to close account\n")); - } - else if (TAO_debug_level > 0) - ACE_DEBUG((LM_DEBUG, - "[SERVER] Process/Thread Id : (%P/%t) Closing Account for %s\n", - (char *) name)); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Unable to close Account\n"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -void -AccountManager_i::shutdown (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "\n[SERVER] Process/Thread Id : (%P/%t) %s\n", - "AccountManager_i is shutting down")); - - // Instruct the ORB to shutdown. - this->orb_->shutdown (); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Hash_Map_Manager; -template class ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator; -template class ACE_Hash_Map_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Entry; -template class ACE_Hash_Map_Reverse_Iterator; -template class ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_Null_Mutex>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Hash_Map_Manager -#pragma instantiate ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator -#pragma instantiate ACE_Hash_Map_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Entry -#pragma instantiate ACE_Hash_Map_Reverse_Iterator -#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_Null_Mutex> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simple/bank/AccountManager_i.h b/TAO/examples/Simple/bank/AccountManager_i.h deleted file mode 100644 index bb40b237ab2..00000000000 --- a/TAO/examples/Simple/bank/AccountManager_i.h +++ /dev/null @@ -1,100 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Simple/Bank -// -// = FILENAME -// AccountManager_i.h -// -// = DESCRIPTION -// This class implements the Bank::AccountManager IDL interface. -// -// = AUTHOR -// Vishal Kachroo -// -// ============================================================================ - -#ifndef ACCOUNTMANAGER_I_H -#define ACCOUNTMANAGER_I_H - -#include "ace/ACE.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/OS.h" -#include "tao/TAO.h" -#include "BankS.h" -#include "Account_i.h" - -class AccountManager_i : public POA_Bank::AccountManager -{ - // = TITLE - // Account Manager object implementation. - // - // = DESCRIPTION - // Implementation of a simple object that has two methods, one - // that returns an Account Interface and the other that shuts - // down the server. -public: - // = Initialization and termination methods. - AccountManager_i (void); - // Constructor. - - AccountManager_i (AccountManager_i&); - // Copy constructor for old g++. - - ~AccountManager_i (void); - // Destructor. - - virtual Bank::Account_ptr open (const char *name, - CORBA::Float initial_balance, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Return the Account interface with the given name from the server. - // Put the initial balance specified in the new account. - - virtual void close (Bank::Account_ptr, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Close the given account. - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Shutdown the server. - - void orb (CORBA::ORB_ptr o); - // Set the ORB pointer. - - void poa (PortableServer::POA_ptr poa); - // Set the POA pointer. - - void set_orb_manager (TAO_ORB_Manager *orb_manager); - // Set the ORB Manager. - - TAO_ORB_Manager *orb_manager_; - // The ORB manager. - -private: - CORBA::ORB_var orb_; - // ORB pointer. - - PortableServer::POA_ptr poa_; - // POA pointer. - - //TAO_ORB_Manager orb_manager_; - // The ORB manager. - - ACE_Hash_Map_Manager hash_map_; - // Calls to will create a new instance of and - // bind into the hash map manager if is unique, else it will - // return a previously bound entry. -}; - -#endif /* ACCOUNTMANAGER_I_H */ diff --git a/TAO/examples/Simple/bank/Account_i.cpp b/TAO/examples/Simple/bank/Account_i.cpp deleted file mode 100644 index 0b0cf0d338f..00000000000 --- a/TAO/examples/Simple/bank/Account_i.cpp +++ /dev/null @@ -1,79 +0,0 @@ -// $Id$ - -#include "Account_i.h" - -ACE_RCSID(Bank, Account_i, "$Id$") - -// Constructor - -Account_i::Account_i (void) -{ - // no-op -} - -Account_i::Account_i (const char *name, - CORBA::Float balance) - - : balance_ (balance), - name_ (CORBA::string_dup (name)) -{ -} - -// Destructor - -Account_i::~Account_i (void) -{ - CORBA::string_free (name_); -} - -// Set the ORB pointer. - -void -Account_i::orb (CORBA::ORB_ptr o) -{ - this->orb_ = CORBA::ORB::_duplicate (o); -} - -// Return the current balance on the server. - -CORBA::Float -Account_i::balance (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return balance_; -} - -void -Account_i::deposit (CORBA::Float deposit, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - balance_ += deposit; -} - -void -Account_i::withdraw (CORBA::Float withdrawl, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Bank::Account::Overdraft)) -{ - if (balance_ >= withdrawl) - balance_ -= withdrawl; - else - ACE_THROW (Bank::Account::Overdraft ("Exception::Overdraft\n")); -} - -char * -Account_i::name (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return CORBA::string_dup (name_); -} - -void -Account_i::name (const char *name, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - name_ = CORBA::string_dup (name); -} diff --git a/TAO/examples/Simple/bank/Account_i.h b/TAO/examples/Simple/bank/Account_i.h deleted file mode 100644 index 915b7312d45..00000000000 --- a/TAO/examples/Simple/bank/Account_i.h +++ /dev/null @@ -1,84 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Simple/Bank -// -// = FILENAME -// Account_i.h -// -// = DESCRIPTION -// This class implements the Bank IDL interface. -// -// = AUTHOR -// Vishal Kachroo -// -// ============================================================================ - -#ifndef ACCOUNT_I_H -#define ACCOUNT_I_H - -#include "BankS.h" - -class Account_i : public POA_Bank::Account -{ - // = TITLE - // Bank object implementation. - // - // = DESCRIPTION - // Implementation of a simple object that has two methods, one - // that return the current balance on the server and the other - // that shuts down the server. -public: - // = Initialization and termination methods. - Account_i (void); - // Constructor. - - Account_i (const char *, CORBA::Float); - // Constructor. - - ~Account_i (void); - // Destructor. - - virtual CORBA::Float balance (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Get the current balance in the account. - - virtual char *name (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Get the name of the holder. - - virtual void name (const char *name, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Set the name of the holder. - - virtual void deposit (CORBA::Float, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Deposit money in the account. - - virtual void withdraw (CORBA::Float, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - Bank::Account::Overdraft)); - // Withdraw money in the account. - - void orb (CORBA::ORB_ptr o); - // Set the ORB pointer. - -private: - CORBA::ORB_var orb_; - // ORB pointer. - - CORBA::Float balance_; - // balance for this account - - CORBA::String_var name_; - // Name of the holder. -}; - -#endif /* ACCOUNT_I_H */ diff --git a/TAO/examples/Simple/bank/Bank.idl b/TAO/examples/Simple/bank/Bank.idl deleted file mode 100644 index 3cac2150a85..00000000000 --- a/TAO/examples/Simple/bank/Bank.idl +++ /dev/null @@ -1,59 +0,0 @@ -// -*- C++ -*- -// $Id$ - -module Bank -{ - // = TITLE - // This module has two interfaces. One represents a bank Account and - // the other is a factory to create the Account Objects. - - interface Account - { - // = TITLE - // This interface represents an account with operations to check - // balance, deposit and withdraw. - - exception Overdraft - { - // = TITLE - // This exception is raised if the client tries to - // withdraw more money than the current balance. - - string reason; - }; - - readonly attribute float balance; - // Attribute to obtain the current . - - void deposit (in float amount); - // Add to this account. - - void withdraw (in float amount) raises (Overdraft); - // Withdraw of this account. - }; - - interface AccountManager - { - // = TITLE - // This interface is a factory for the objects. It has - // operations to create s and to delete them. - - Account open (in string name, - in float initial_balance); - // Returns the associated with . If this is the - // first time has been seen, the server will create the - // account. Otherwise, the server will return back an object - // reference to a previously created account. - - void close (in Account account); - // Close down the account and release its resources if it's the - // last reference to the . Once this call is made it - // is no longer valid to access the . - - void shutdown (); - // This operation shuts down the server. - }; -}; diff --git a/TAO/examples/Simple/bank/Bank_Client.bor b/TAO/examples/Simple/bank/Bank_Client.bor deleted file mode 100644 index 5ac765c1748..00000000000 --- a/TAO/examples/Simple/bank/Bank_Client.bor +++ /dev/null @@ -1,27 +0,0 @@ - -# -# Makefile for building the Bank example -# - -NAME = Bank_Client - -OBJFILES = \ - $(OBJDIR)\BankC.obj \ - $(OBJDIR)\BankS.obj \ - $(OBJDIR)\Bank_Client_i.obj \ - $(OBJDIR)\Simple_util.obj \ - $(OBJDIR)\client.obj - -CPPDIR = .;.. - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\BankC.cpp $(IDLDIR)\BankS.cpp: $(IDLDIR)\Bank.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Simple/bank/Bank_Client_i.cpp b/TAO/examples/Simple/bank/Bank_Client_i.cpp deleted file mode 100644 index 75ebde8c975..00000000000 --- a/TAO/examples/Simple/bank/Bank_Client_i.cpp +++ /dev/null @@ -1,155 +0,0 @@ -//$Id$ - -#include "Bank_Client_i.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" - -// This is the interface program that accesses the remote object - -// Constructor. -Bank_Client_i::Bank_Client_i (void) -{ - //no-op -} - -//Destructor. -Bank_Client_i::~Bank_Client_i (void) -{ - //no-op -} - - -int -Bank_Client_i::run (const char *name, - int argc, - char *argv[]) -{ - // Initialize the client. - if (client.init (name,argc, argv) == -1) - return -1; - - ACE_TRY_NEW_ENV - { - this->check_accounts (); - if (client.shutdown () == 1) - client->shutdown (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_DEBUG ((LM_DEBUG, - "\nException caught in run\n")); - } - ACE_ENDTRY; - - return 0; -} - -int -Bank_Client_i::check_accounts (void ) -{ - ACE_TRY_NEW_ENV - { - ACE_DEBUG ((LM_DEBUG, - "\nTests for account with same name\n")); - this->test_for_same_name (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "\nTests for account with different names\n")); - this->test_for_different_name (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "\nTests for overdrafts\n")); - this->test_for_overdraft (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_DEBUG ((LM_DEBUG, - "From Bank_Client_i::check_accounts()")); - } - ACE_ENDTRY; - return 0; -} - -// This method tests whether an account with a -// a same name can be opened - -void -Bank_Client_i::test_for_same_name (CORBA::Environment &ACE_TRY_ENV) -{ - - const char *name = "Name"; - CORBA::Float initial_bal = 0.00; - - Bank::Account_var acct_id1 = client->open (name, - initial_bal, - ACE_TRY_ENV); - - Bank::Account_var acct_id2 = client->open (name, - initial_bal, - ACE_TRY_ENV); - - ACE_ASSERT (acct_id1->_is_equivalent ((CORBA::Object *) acct_id2.in ()) != 0); - - client->close (acct_id1.in (), - ACE_TRY_ENV); - - client->close (acct_id2.in (), - ACE_TRY_ENV); -} - -// This method tests whether an account with different names can be opened - -void -Bank_Client_i::test_for_different_name (CORBA::Environment &ACE_TRY_ENV) -{ - const char *name1 = "Name1"; - const char *name2 = "Name2"; - - CORBA::Float initial_bal = 0.0; - - Bank::Account_var acct_id1 = client->open (name1, - initial_bal, - ACE_TRY_ENV); - - Bank::Account_var acct_id2 = client->open (name2, - initial_bal, - ACE_TRY_ENV); - ACE_ASSERT (acct_id1->_is_equivalent ((CORBA::Object *)acct_id2.in ()) == 0); - - client->close (acct_id1.in (), - ACE_TRY_ENV); - - client->close (acct_id2.in (), - ACE_TRY_ENV); -} - -// This method tests the Overdraft exception. - -void -Bank_Client_i::test_for_overdraft (CORBA::Environment &ACE_TRY_ENV) -{ - - CORBA::Float initial_bal = 100.0; - const char *name = "Name"; - - Bank::Account_var acct_id = client->open (name, - initial_bal, - ACE_TRY_ENV); - acct_id->deposit (100.00, - ACE_TRY_ENV); - - acct_id->withdraw (acct_id->balance (ACE_TRY_ENV) + 20); - - client->close (acct_id.in (), - ACE_TRY_ENV); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Client; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Client -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simple/bank/Bank_Client_i.h b/TAO/examples/Simple/bank/Bank_Client_i.h deleted file mode 100644 index b8b6526bc27..00000000000 --- a/TAO/examples/Simple/bank/Bank_Client_i.h +++ /dev/null @@ -1,66 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Simple/bank -// -// = FILENAME -// Bank_Client_i.h -// -// = DESCRIPTION -// This class implements the interface calls for RMI. -// -// = AUTHOR -// -// Balachandran Natarajan -// -// ============================================================================ - -#ifndef BANK_CLIENT_I_H -#define BANK_CLIENT_I_H - -#include "../Simple_util.h" -#include "BankC.h" - -class Bank_Client_i -{ - // = TITLE - // Grid_Client interface subclass. - // - // = DESCRIPTION - // This class implements the interface between the interface - // objects and the client . -public: - // = Initialization and termination methods. - Bank_Client_i (void); - // Constructor - - virtual ~Bank_Client_i (void); - // Destructor - - virtual int run (const char *, int, char *[]); - // Execute the methods. - -private: - Client client; - // Instantiate the client object. - - int check_accounts (void); - // Method that calls all the test functions - - void test_for_different_name (CORBA::Environment &env); - // Tests if accounts opened with different names return a different account - // reference. - - void test_for_same_name (CORBA::Environment &env); - // Tests if accounts opened with the same name return the same - // object reference. - - void test_for_overdraft (CORBA::Environment &env); - // Tests for the Overdraft Exception when the client tries to - // withdraw more money than the current balance. -}; - -#endif /* TIME_CLIENT_I_H */ diff --git a/TAO/examples/Simple/bank/Bank_Server.bor b/TAO/examples/Simple/bank/Bank_Server.bor deleted file mode 100644 index cd051fc8ea1..00000000000 --- a/TAO/examples/Simple/bank/Bank_Server.bor +++ /dev/null @@ -1,28 +0,0 @@ - -# -# Makefile for building the Bank example -# - -NAME = Bank_Server - -OBJFILES = \ - $(OBJDIR)\BankC.obj \ - $(OBJDIR)\BankS.obj \ - $(OBJDIR)\Account_i.obj \ - $(OBJDIR)\AccountManager_i.obj \ - $(OBJDIR)\Simple_util.obj \ - $(OBJDIR)\server.obj - -CPPDIR = .;.. - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\BankC.cpp $(IDLDIR)\BankS.cpp: $(IDLDIR)\Bank.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Simple/bank/Makefile b/TAO/examples/Simple/bank/Makefile deleted file mode 100644 index e8fcf27555b..00000000000 --- a/TAO/examples/Simple/bank/Makefile +++ /dev/null @@ -1,2276 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -LDLIBS = -lorbsvcs -lTAO - -IDL_SRC = BankC.cpp BankS.cpp - -PROG_SRCS = \ - client.cpp \ - server.cpp \ - Account_i.cpp \ - AccountManager_i.cpp \ - Bank_Client_i.cpp\ - ../Simple_util.cpp - -SRC = $(IDL_SRC) $(PROG_SRCS) - -SIMPLE_CLT_OBJS = \ - BankC.o \ - BankS.o \ - client.o \ - ../Simple_util.o \ - Bank_Client_i.o -SIMPLE_SVR_OBJS = \ - BankC.o \ - BankS.o \ - Account_i.o \ - AccountManager_i.o \ - ../Simple_util.o \ - server.o - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = server \ - client - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Naming - -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/Naming_Service -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -.PRECIOUS: BankC.cpp BankC.i BankC.h -.PRECIOUS: BankS.cpp BankS.i BankS.h -.PRECIOUS: BankS_T.cpp BankS_T.i BankS_T.h - -server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) BankC.* BankS.* BankS_T.* - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/BankC.o .obj/BankC.so .shobj/BankC.o .shobj/BankC.so: BankC.cpp BankC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - BankC.i -.obj/BankS.o .obj/BankS.so .shobj/BankS.o .shobj/BankS.so: BankS.cpp BankS.h BankC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - BankC.i BankS_T.h BankS_T.i BankS_T.cpp BankS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp Bank_Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp BankC.h BankC.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp AccountManager_i.h BankS.h BankC.h BankC.i \ - BankS_T.h BankS_T.i BankS_T.cpp BankS.i Account_i.h -.obj/Account_i.o .obj/Account_i.so .shobj/Account_i.o .shobj/Account_i.so: Account_i.cpp Account_i.h BankS.h BankC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - BankC.i BankS_T.h BankS_T.i BankS_T.cpp BankS.i -.obj/AccountManager_i.o .obj/AccountManager_i.so .shobj/AccountManager_i.o .shobj/AccountManager_i.so: AccountManager_i.cpp AccountManager_i.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - BankS.h BankC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - BankC.i BankS_T.h BankS_T.i BankS_T.cpp BankS.i Account_i.h -.obj/Bank_Client_i.o .obj/Bank_Client_i.so .shobj/Bank_Client_i.o .shobj/Bank_Client_i.so: Bank_Client_i.cpp Bank_Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp BankC.h BankC.i -.obj/Simple_util.o .obj/Simple_util.so .shobj/Simple_util.o .shobj/Simple_util.so: ../Simple_util.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Simple/bank/Makefile.bor b/TAO/examples/Simple/bank/Makefile.bor deleted file mode 100644 index c1449bea116..00000000000 --- a/TAO/examples/Simple/bank/Makefile.bor +++ /dev/null @@ -1,11 +0,0 @@ - -# -# Makefile for building the Bank example -# - -!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor> - -all: - $(MAKE) -f Bank_Client.bor $(MAKE_FLAGS) - $(MAKE) -f Bank_Server.bor $(MAKE_FLAGS) - diff --git a/TAO/examples/Simple/bank/README b/TAO/examples/Simple/bank/README deleted file mode 100644 index f3d5b938aee..00000000000 --- a/TAO/examples/Simple/bank/README +++ /dev/null @@ -1,88 +0,0 @@ -$Id$ - -This is a simple CORBA example that has a module Bank with two -interfaces Account and AccountManager. - -The Account interface has operations for balance, deposit and withdraw. It has a readonly attribute for the Account Holder's name. It also has a user defined exception which is raised for withdrawing more moneythen the current balance. - -The AccountManager interface has methods to create and close Accounts. -It also has a method to shutdown the server. - -run_test.pl : This is a perl script to run the server and client as : ------------- - server - client -x -b 100 -y Vishal -z Kachroo - - There are other command line options available for the server and client which are explained as below. - -server: -------- - -server [-d] [-o IOR_file_name] - -Options: -------- --d Debug flag (It is additive more -d flags will give debugging). - -When the server is started, you should see as the first line of output -something that looks like - iiop:1.0//danzon.cs.wustl.edu:10015/P35ad159600081a38/child_poa/server - (-ORBobjrefstyle url) -or - IOR:000000000000001649444c3a43756269745... - (-ORBobjrefstyle ior) - -Using -d turns on debugging messages. This option is additive, i.e., -the more -d options provided, the more debugging you can get. At the -moment, only 2 levels of debugging are implemented, and more than 2 -d -options are ignored. - --o This option creates an ior file for the server with the name ior_filename. --n Use naming service - -The file can be used by clients who wish to access the server directly using this ior file. This -obviates the need for the client to use the naming service for getting the server ior. The client can -use the -f option to specify the file which contains the ior of the server (the same file that was -written by the server using the -o option). - - -client: -------- - -client [-d] [-x] [-n iterations] [-b initial_balance] [-o Name_of_account_holder] - [-f IOR_file_name ] [-k IOR] - -Options: -------- --d Debug flag - --x Tells the server to shutdown at the end of the test. - --n Use naming service - --b initial balance - --o Name of the Account Holder - --k Read IOR from the command line. If this option is specified the client does not use - the Naming Service for locating the server. It just uses the ior file supplied with - this option. - --f Read IOR from the specified file. If this option is specified the client does not use - the Naming Service for locating the server. It just uses the ior file supplied with - this option. - -The client executes the following tests : - -1. Creating accounts with the same name to make sure the Account is - created only once and he gets back the same object reference each - time. This is confirmed by the server printing the message for - Creation of an account only once. - -2. Creating accounts with different name to make sure a different - Account is created and a different IOR returned each time. - -3. Creating an Account with some initial balance and then withdrawing - more than the current balance. The server throws an exception which is - passed to the client and the client displays the reason for the - exception. diff --git a/TAO/examples/Simple/bank/bank.dsw b/TAO/examples/Simple/bank/bank.dsw deleted file mode 100644 index 3f8e63ab141..00000000000 --- a/TAO/examples/Simple/bank/bank.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Simple Bank Client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Bank Server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Simple/bank/client.cpp b/TAO/examples/Simple/bank/client.cpp deleted file mode 100644 index 0f426992f06..00000000000 --- a/TAO/examples/Simple/bank/client.cpp +++ /dev/null @@ -1,23 +0,0 @@ -// $Id$ - -# include "Bank_Client_i.h" - -// The client program for the application. - -int -main (int argc, char **argv) -{ - Bank_Client_i client; - - - ACE_DEBUG ((LM_DEBUG, - "\nBank client\n\n")); - - if (client.run ("Bank",argc, argv) == -1) - return -1; - else - return 0; - -} - - diff --git a/TAO/examples/Simple/bank/client.dsp b/TAO/examples/Simple/bank/client.dsp deleted file mode 100644 index 03f4cc4d30f..00000000000 --- a/TAO/examples/Simple/bank/client.dsp +++ /dev/null @@ -1,214 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Bank Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Bank Client - 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 "client.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 "client.mak" CFG="Simple Bank Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Bank Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Bank Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Bank Client - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "Simple Bank Client - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "Simple Bank Client - Win32 Release" -# Name "Simple Bank Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Bank_Client_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\BankC.cpp -# End Source File -# Begin Source File - -SOURCE=.\BankS.cpp -# End Source File -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Bank_Client_i.h -# End Source File -# Begin Source File - -SOURCE=.\BankC.h -# End Source File -# Begin Source File - -SOURCE=.\BankS.h -# End Source File -# Begin Source File - -SOURCE=.\BankS_T.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Bank.idl - -!IF "$(CFG)" == "Simple Bank Client - Win32 Release" - -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Bank.idl -InputName=Bank - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Bank Client - Win32 Debug" - -USERDEP__BANK_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Bank.idl -InputName=Bank - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/bank/run_test.pl b/TAO/examples/Simple/bank/run_test.pl deleted file mode 100755 index 306d5b0a25d..00000000000 --- a/TAO/examples/Simple/bank/run_test.pl +++ /dev/null @@ -1,40 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -use lib "../../../../bin"; -require ACEutils; -require Process; -$status = 0; - -$iorfile = "bank.ior"; - -unlink $iorfile; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", "-o $iorfile "); - -if (ACE::waitforfile_timed ($iorfile, 15) == -1) { - print STDERR "ERROR: timedout waiting for file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$client = Process::Create($EXEPREFIX."client$EXE_EXT","-f $iorfile"); -if ($client->TimedWait (60) == -1) { - print STDERR "ERROR: the client timedout\n"; - $status = 1; - $client->Kill (); $client->TimedWait (1); -} - -$SV->Terminate (); if ($SV->TimedWait (5) == -1) { - print STDERR "ERROR: cannot terminate the server\n"; - $SV->Kill (); $SV->TimedWait (1); - $status = 1; -} - -unlink $iorfile; - -exit $status; diff --git a/TAO/examples/Simple/bank/server.cpp b/TAO/examples/Simple/bank/server.cpp deleted file mode 100644 index cc7cca34f15..00000000000 --- a/TAO/examples/Simple/bank/server.cpp +++ /dev/null @@ -1,49 +0,0 @@ -// $Id$ -#include "../Simple_util.h" -#include "AccountManager_i.h" - -// This is the main driver program for the time and date server. - -int -main (int argc, char *argv[]) -{ - Server server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tBank server\n\n")); - - ACE_TRY_NEW_ENV - { - if (server.init ("Bank", - argc, - argv, - ACE_TRY_ENV) == -1) - return 1; - else - { - server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex,"User Exception"); - return -1; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex,"System Exception"); - return -1; - } - - ACE_ENDTRY; - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Server; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Server -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - diff --git a/TAO/examples/Simple/bank/server.dsp b/TAO/examples/Simple/bank/server.dsp deleted file mode 100644 index acd328f0aba..00000000000 --- a/TAO/examples/Simple/bank/server.dsp +++ /dev/null @@ -1,222 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Bank Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Bank Server - 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 "server.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 "server.mak" CFG="Simple Bank Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Bank Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Bank Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Bank Server - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "Simple Bank Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "Simple Bank Server - Win32 Release" -# Name "Simple Bank Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Account_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\AccountManager_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\BankC.cpp -# End Source File -# Begin Source File - -SOURCE=.\BankS.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Account_i.h -# End Source File -# Begin Source File - -SOURCE=.\AccountManager_i.h -# End Source File -# Begin Source File - -SOURCE=.\BankC.h -# End Source File -# Begin Source File - -SOURCE=.\BankS.h -# End Source File -# Begin Source File - -SOURCE=.\BankS_T.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Bank.idl - -!IF "$(CFG)" == "Simple Bank Server - Win32 Release" - -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Bank.idl -InputName=Bank - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Bank Server - Win32 Debug" - -USERDEP__BANK_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Bank.idl -InputName=Bank - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/chat/Broadcaster.idl b/TAO/examples/Simple/chat/Broadcaster.idl deleted file mode 100644 index fe1d52325e3..00000000000 --- a/TAO/examples/Simple/chat/Broadcaster.idl +++ /dev/null @@ -1,34 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "Receiver.idl" - -interface Broadcaster -{ - // = TITLE - // This interface is to be implemented by the simple chat server. - // It broadcasts messages received from one registered client to - // all its registered clients. - - exception CannotAdd - { - string reason_; - }; - - exception CannotRemove - { - string reason_; - }; - - void add (in Receiver receiver, in string nickname) - raises (CannotAdd); - // Registers a Receiver with the chat server. A registered client - // must call un_register before it goes away. - - void remove (in Receiver receiver) - raises (CannotRemove); - // Unregisters a Receiver. - - void say (in Receiver receiver, in string text); - // Say something to all registered clients. -}; diff --git a/TAO/examples/Simple/chat/Broadcaster_i.cpp b/TAO/examples/Simple/chat/Broadcaster_i.cpp deleted file mode 100644 index 5b36c2067c0..00000000000 --- a/TAO/examples/Simple/chat/Broadcaster_i.cpp +++ /dev/null @@ -1,200 +0,0 @@ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// Broadcaster_i.cpp -// -// = DESCRIPTION -// Implementation of the Broadcaster_i class. This class is the servant -// object for the chat server. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== - -#include "Broadcaster_i.h" - -int -Broadcaster_i::Receiver_Data::operator == (const Broadcaster_i::Receiver_Data &receiver_data) const -{ - // The <_is_equivalent> function checks if the _var and _ptr objects - // are the same. NOTE: this call might not behave well on other - // ORBs since <_is_equivalent> isn't guaranteed to differentiate - // object references. - return this->receiver_->_is_equivalent (receiver_data.receiver_.in ()) - && this->nickname_ == receiver_data.nickname_; -} - -Broadcaster_i::Broadcaster_i (void) -{ - // No-op -} - -Broadcaster_i::~Broadcaster_i (void) -{ - // No-op -} - -void -Broadcaster_i::add (Receiver_ptr receiver, - const char *nickname, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException, - Broadcaster::CannotAdd - )) -{ - Broadcaster_i::Receiver_Data receiver_data; - - // Store the client information. - receiver_data.receiver_ = Receiver::_duplicate (receiver); - receiver_data.nickname_ = nickname; - - // Insert the Receiver reference to the set - if (receiver_set_.insert (receiver_data) == -1) - ACE_THROW (Broadcaster::CannotAdd ("failed to add to the receiver set\n")); - - // Tell everyone which person just joined the chat. - ACE_CString broadcast_string = - ACE_CString ("**** ") - + ACE_CString (nickname) - + ACE_CString (" has joined the chat ****\n"); - - ACE_TRY - { - this->broadcast (broadcast_string.fast_rep (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Broadcaster_i::broadcast failed.\t\n"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -void -Broadcaster_i::remove (Receiver_ptr receiver, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException, - Broadcaster::CannotRemove - )) -{ - Broadcaster_i::Receiver_Data receiver_data_to_remove; - - // Go through the list of to find which registered client - // wants to be removed. - for (RECEIVER_SET_ITERATOR iter = this->receiver_set_.begin (); - iter != this->receiver_set_.end (); - iter++) - { - // The <_is_equivalent> function checks if the _var and _ptr objects - // are the same. NOTE: this call might not behave well on other - // ORBs since <_is_equivalent> isn't guaranteed to differentiate - // object references. - if ((*iter).receiver_.in ()->_is_equivalent (receiver) == 1) - { - receiver_data_to_remove = *iter; - break; - } - } - - // Remove the reference from our list. - if (this->receiver_set_.remove (receiver_data_to_remove) == -1) - ACE_THROW(Broadcaster::CannotRemove ("failed to remove from receiver set\n")); - - // Tell everyone, which person left the chat. - ACE_CString broadcast_string = "**** " - + receiver_data_to_remove.nickname_ - + " left the chat" - + " ****\n"; - - this->broadcast (broadcast_string.fast_rep (), - ACE_TRY_ENV); - ACE_CHECK; -} - -void -Broadcaster_i::say (Receiver_ptr receiver, - const char *text, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - ACE_TRY - { - ACE_CString sender_nickname ("Sender Unknown"); - - // Find the nickname for this receiver. - - for (RECEIVER_SET_ITERATOR iter = this->receiver_set_.begin (); - iter != this->receiver_set_.end (); - iter++) - { - // The <_is_equivalent> function checks if the _var and - // _ptr objects are the same. NOTE: this call might not - // behave well on other ORBs since <_is_equivalent> isn't - // guaranteed to differentiate object references. - if ((*iter).receiver_.in ()->_is_equivalent (receiver) == 1) - sender_nickname = (*iter).nickname_; - } - - // Broadcast the message to all registered clients - ACE_CString broadcast_string ("[" + sender_nickname + "] " + text); - - this->broadcast (broadcast_string.fast_rep (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Broadcaster_i::say\t\n"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -void -Broadcaster_i::broadcast (const char *text, - CORBA::Environment &ACE_TRY_ENV) -{ - // Broadcast the message to all registered clients. - - for (RECEIVER_SET_ITERATOR iter = this->receiver_set_.begin (); - iter != this->receiver_set_.end (); - iter++) - { - ACE_TRY - { - (*iter).receiver_->message (text, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"Failed to send a message\n"); - } - ACE_ENDTRY; - ACE_CHECK; - } -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Unbounded_Set; -template class ACE_Unbounded_Set_Iterator; -template class ACE_Node; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Unbounded_Set -#pragma instantiate ACE_Unbounded_Set_Iterator -#pragma instantiate ACE_Node -#endif /* ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA */ diff --git a/TAO/examples/Simple/chat/Broadcaster_i.h b/TAO/examples/Simple/chat/Broadcaster_i.h deleted file mode 100644 index ceddecdd4eb..00000000000 --- a/TAO/examples/Simple/chat/Broadcaster_i.h +++ /dev/null @@ -1,107 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// Broadcaster_i.h -// -// = DESCRIPTION -// Defines the implementation header for the Broadcaster interface. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== - -#ifndef BROADCASTER_I_H -#define BROADCASTER_I_H - -#include "BroadcasterS.h" -#include "ReceiverC.h" -#include "tao/TAO.h" -#include "ace/Containers.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/SString.h" - -class Broadcaster_i : public POA_Broadcaster -{ - // = TITLE - // The implementation of the Broadcaster class, which is the - // servant object for the chat server. -public: - // = Initialization and termination methods. - Broadcaster_i (void); - // Constructor. - - ~Broadcaster_i (void); - // Destructor. - - virtual void add (Receiver_ptr receiver, - const char *nickname, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException, - Broadcaster::CannotAdd - )); - // Saves receiver references in a list. - - virtual void remove (Receiver_ptr receiver, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException, - Broadcaster::CannotRemove - )); - // Removes receiver references from the list. - - virtual void say (Receiver_ptr receiver, - const char *text, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException - )); - // Called by Broadcaster clients to send messages. - -public: - TAO_ORB_Manager orb_manager_; - // The ORB manager. - - void broadcast (const char* text, - CORBA::Environment &ACE_TRY_ENV); - // Broadcasts the text to all registered clients. - - class Receiver_Data - { - // = TITLE - // Per-client info. - // - // = DESCRIPTION - // Saves the Receiver_var and user nickname. - public: - int operator == (const Receiver_Data &receiver_data) const; - // The == op required by the ACE_Unbounded set. - - Receiver_var receiver_; - // Stores the receiver reference. - - ACE_CString nickname_; - // Stores the client nickname. - }; - - typedef ACE_Unbounded_Set - RECEIVER_SET; - typedef ACE_Unbounded_Set_Iterator - RECEIVER_SET_ITERATOR; - - RECEIVER_SET receiver_set_; - // Set of registered clients. -}; - -#endif /* BROADCASTER_I_H */ diff --git a/TAO/examples/Simple/chat/Chat_Client.bor b/TAO/examples/Simple/chat/Chat_Client.bor deleted file mode 100644 index e368444e5f2..00000000000 --- a/TAO/examples/Simple/chat/Chat_Client.bor +++ /dev/null @@ -1,32 +0,0 @@ - -# -# Makefile for building the Chat example -# - -NAME = Chat_Client - -OBJFILES = \ - $(OBJDIR)\ReceiverC.obj \ - $(OBJDIR)\ReceiverS.obj \ - $(OBJDIR)\BroadcasterC.obj \ - $(OBJDIR)\BroadcasterS.obj \ - $(OBJDIR)\Receiver_i.obj \ - $(OBJDIR)\Client_i.obj \ - $(OBJDIR)\client.obj - -CPPDIR = . - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\BroadcasterC.cpp $(IDLDIR)\BroadcasterS.cpp: $(IDLDIR)\Broadcaster.idl - $(TAO_IDL) $** - -$(IDLDIR)\ReceiverC.cpp $(IDLDIR)\ReceiverS.cpp: $(IDLDIR)\Receiver.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Simple/chat/Chat_Server.bor b/TAO/examples/Simple/chat/Chat_Server.bor deleted file mode 100644 index e903c00d5da..00000000000 --- a/TAO/examples/Simple/chat/Chat_Server.bor +++ /dev/null @@ -1,32 +0,0 @@ - -# -# Makefile for building the Chat example -# - -NAME = Chat_Server - -OBJFILES = \ - $(OBJDIR)\ReceiverC.obj \ - $(OBJDIR)\ReceiverS.obj \ - $(OBJDIR)\BroadcasterC.obj \ - $(OBJDIR)\BroadcasterS.obj \ - $(OBJDIR)\Broadcaster_i.obj \ - $(OBJDIR)\Server_i.obj \ - $(OBJDIR)\server.obj - -CPPDIR = . - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\BroadcasterC.cpp $(IDLDIR)\BroadcasterS.cpp: $(IDLDIR)\Broadcaster.idl - $(TAO_IDL) $** - -$(IDLDIR)\ReceiverC.cpp $(IDLDIR)\ReceiverS.cpp: $(IDLDIR)\Receiver.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Simple/chat/Client_i.cpp b/TAO/examples/Simple/chat/Client_i.cpp deleted file mode 100644 index 5283f6b1b29..00000000000 --- a/TAO/examples/Simple/chat/Client_i.cpp +++ /dev/null @@ -1,254 +0,0 @@ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// Client_i.cpp -// -// = DESCRIPTION -// Implementation of the Client_i class. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== - -#include "Client_i.h" -#include "ace/Read_Buffer.h" -#include "tao/ORB.h" -#include "ace/Get_Opt.h" - -Client_i::Client_i () - : ior_file_name_ ("chat.ior"), - nickname_ ("noname") -{ -} - -Client_i::~Client_i (void) -{ - // Make sure to cleanup the STDIN handler. - if (ACE_Event_Handler::remove_stdin_handler - (TAO_ORB_Core_instance ()->reactor (), - TAO_ORB_Core_instance ()->thr_mgr ()) == -1) - ACE_ERROR ((LM_ERROR, - "%p\n", - "remove_stdin_handler")); -} - -int -Client_i::parse_args (int argc, char *argv[]) -{ - ACE_Get_Opt get_opts (argc, argv, "n:f:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'n': // get the users nickname - this->nickname_ = get_opts.optarg; - break; - - case 'f': // get the file name to write to - this->ior_file_name_ = get_opts.optarg; - break; - - default: // display help for use of the serve - case '?': // display help for use of the server. - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-n ]" - " [-f ]" - "\n", - argv [0]), - -1); - } - - ACE_DEBUG ((LM_DEBUG, - "\nusing nickname = %s, filename = %s\n", - this->nickname_, - this->ior_file_name_)); - return 0; -} - -int -Client_i::init (int argc, char *argv[]) -{ - // Check if the command line arguments are ok. - if (this->parse_args (argc, argv) == -1) - return -1; - - ACE_TRY_NEW_ENV - { - // Retrieve the ORB. - this->orb_manager_.init (argc, - argv, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::ORB_var orb = this->orb_manager_.orb (); - - // set the orb in the receiver_i_ object. - this->receiver_i_.orb (orb.in ()); - - // read the ior from file - if (this->read_ior (this->ior_file_name_) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "could not read the ior from the file: <%s>\n", - this->ior_file_name_), - -1); - - CORBA::Object_var server_object = - orb->string_to_object (this->ior_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (server_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "invalid ior <%s>\n", - this->ior_), - -1); - - this->server_ = Broadcaster::_narrow (server_object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "client_i::init\n"); - return -1; - } - ACE_ENDTRY; - - // Register our to handle STDIN events, which will - // trigger the method to process these events. - - if (ACE_Event_Handler::register_stdin_handler - (this, - TAO_ORB_Core_instance ()->reactor (), - TAO_ORB_Core_instance ()->thr_mgr ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "register_stdin_handler"), - -1); - return 0; -} - -int -Client_i::run (void) -{ - ACE_DEBUG ((LM_DEBUG, - "\n============= Simple Chat =================\n" - "========== type 'quit' to exit ===========\n")); - - ACE_TRY_NEW_ENV - { - PortableServer::POAManager_var poa_manager = - this->orb_manager_.poa_manager (); - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->receiver_var_ = - this->receiver_i_._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Register ourselves with the server. - server_->add (this->receiver_var_.in (), - this->nickname_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Run the ORB. - this->orb_manager_.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Client_i::run ()"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -int -Client_i::handle_input (ACE_HANDLE) -{ - char buf[BUFSIZ]; - - if (ACE_OS::fgets (buf, BUFSIZ, stdin) == 0) - return 0; - - ACE_TRY_NEW_ENV - { - // Check if the user wants to quit. - if (ACE_OS::strncmp (buf, - QUIT_STRING, - ACE_OS::strlen (QUIT_STRING)) == 0) - { - // Remove ourselves from the server. - this->server_->remove (this->receiver_var_.in ()); - this->receiver_i_.shutdown (ACE_TRY_ENV); - - ACE_TRY_CHECK; - return 0; - } - - // Call the server function to pass the string typed by - // the server. - this->server_->say (this->receiver_var_.in (), - buf, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Input_Handler::init"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -int -Client_i::read_ior (const char *filename) -{ - // Open the file for reading. - ACE_HANDLE f_handle = ACE_OS::open (filename, 0); - - if (f_handle == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - filename, - "invalid handle"), - -1); - - ACE_Read_Buffer ior_buffer (f_handle); - char *data = ior_buffer.read (); - - if (data == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to read ior: %p\n"), - -1); - - this->ior_ = ACE_OS::strdup (data); - ior_buffer.alloc ()->free (data); - - ACE_OS::close (f_handle); - - if (this->ior_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "failed to read ior from file\n", - ""), - -1); - return 0; -} diff --git a/TAO/examples/Simple/chat/Client_i.h b/TAO/examples/Simple/chat/Client_i.h deleted file mode 100644 index e1cf006f07a..00000000000 --- a/TAO/examples/Simple/chat/Client_i.h +++ /dev/null @@ -1,93 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// Client_i.h -// -// = DESCRIPTION -// Definition of the Chat Client class, Client_i. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== - -#ifndef CLIENT_I_H -#define CLIENT_I_H - -#include "Receiver_i.h" -#include "BroadcasterC.h" -#include "ace/Read_Buffer.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/TAO.h" - -class Client_i : public ACE_Event_Handler -{ - // = TITLE - // Chat Client class. - // - // = DESCRIPTION - // Connects to the Chat server and registers the Receiver_i - // object with the chat server. It also takes in user chat - // messages and sends them to the server. -public: - // = Initialization and termination methods. - Client_i (void); - // Constructor. - - ~Client_i (void); - // Destructor. - - int init (int argc, char *argv[]); - // Initialize the client communication with the server. - - int run (void); - // Start the ORB object. - - virtual int handle_input (ACE_HANDLE); - // Handle the user input. - - private: - int parse_args (int argc, char *argv[]); - // Parse the command line arguments. - // Returns 0 on success, -1 on error. - - int read_ior (const char *filename); - // Function to read the server ior from a file. - - char *ior_; - // IOR of the obj ref of the server. - - const char* ior_file_name_; - // The filename that stores the ior of the server - - const char* nickname_; - // Nickname of the user chatting. - - TAO_ORB_Manager orb_manager_; - // Our orb. - - Broadcaster_var server_; - // Server object ptr. - - Receiver_i receiver_i_; - // The receiver object. - - Receiver_var receiver_var_; - // Pointer to the receiver object registered with the ORB. -}; - -#define QUIT_STRING "quit" -// The string that the user must type to quit the chat. - -#endif /* CLIENT_I_H */ diff --git a/TAO/examples/Simple/chat/Makefile b/TAO/examples/Simple/chat/Makefile deleted file mode 100644 index 695f9ac3c97..00000000000 --- a/TAO/examples/Simple/chat/Makefile +++ /dev/null @@ -1,2695 +0,0 @@ -# $Id$ -# -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -LDLIBS = -lTAO - -IDL_SRC = ReceiverC.cpp ReceiverS.cpp BroadcasterC.cpp BroadcasterS.cpp - -PROG_SRCS = \ - Receiver_i.cpp \ - Broadcaster_i.cpp \ - Client_i.cpp \ - Server_i.cpp \ - client.cpp \ - server.cpp - - -SRC = $(IDL_SRC) $(PROG_SRCS) - -SIMPLE_CLT_OBJS = \ - ReceiverS.o \ - ReceiverC.o \ - BroadcasterC.o \ - BroadcasterS.o \ - Receiver_i.o \ - Client_i.o \ - client.o - -SIMPLE_SVR_OBJS = \ - ReceiverS.o \ - ReceiverC.o \ - BroadcasterC.o \ - BroadcasterS.o \ - Broadcaster_i.o \ - Server_i.o \ - server.o - -BIN = server \ - client -BUILD = $(BIN) -VLDLIBS = $(LDLIBS:%=%$(VAR)) -VBIN = $(BIN:%=%$(VAR)) - -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -LDFLAGS += -L$(TAO_ROOT)/tao -CPPFLAGS += - -$(foreach ext, $(IDL_EXT), Broadcaster$(ext)): Receiver.idl - -.PRECIOUS: $(foreach file, Broadcaster Receiver, $(foreach ext, $(IDL_EXT), $(file)$(ext)))) - -server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) ReceiverC.* ReceiverS.* ReceiverS_T.* BroadcasterC.* BroadcasterS.* BroadcasterS_T.* - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/ReceiverC.o .obj/ReceiverC.so .shobj/ReceiverC.o .shobj/ReceiverC.so: ReceiverC.cpp ReceiverC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ReceiverC.i -.obj/ReceiverS.o .obj/ReceiverS.so .shobj/ReceiverS.o .shobj/ReceiverS.so: ReceiverS.cpp ReceiverS.h ReceiverC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ReceiverC.i ReceiverS_T.h ReceiverS_T.i ReceiverS_T.cpp ReceiverS.i -.obj/BroadcasterC.o .obj/BroadcasterC.so .shobj/BroadcasterC.o .shobj/BroadcasterC.so: BroadcasterC.cpp BroadcasterC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ReceiverC.h ReceiverC.i BroadcasterC.i -.obj/BroadcasterS.o .obj/BroadcasterS.so .shobj/BroadcasterS.o .shobj/BroadcasterS.so: BroadcasterS.cpp BroadcasterS.h ReceiverS.h \ - ReceiverC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ReceiverC.i ReceiverS_T.h ReceiverS_T.i ReceiverS_T.cpp ReceiverS.i \ - BroadcasterC.h BroadcasterC.i BroadcasterS_T.h BroadcasterS_T.i \ - BroadcasterS_T.cpp BroadcasterS.i -.obj/Receiver_i.o .obj/Receiver_i.so .shobj/Receiver_i.o .shobj/Receiver_i.so: Receiver_i.cpp Receiver_i.h ReceiverS.h ReceiverC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ReceiverC.i ReceiverS_T.h ReceiverS_T.i ReceiverS_T.cpp ReceiverS.i -.obj/Broadcaster_i.o .obj/Broadcaster_i.so .shobj/Broadcaster_i.o .shobj/Broadcaster_i.so: Broadcaster_i.cpp Broadcaster_i.h BroadcasterS.h \ - ReceiverS.h ReceiverC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ReceiverC.i ReceiverS_T.h ReceiverS_T.i ReceiverS_T.cpp ReceiverS.i \ - BroadcasterC.h BroadcasterC.i BroadcasterS_T.h BroadcasterS_T.i \ - BroadcasterS_T.cpp BroadcasterS.i \ - $(TAO_ROOT)/tao/TAO.h -.obj/Client_i.o .obj/Client_i.so .shobj/Client_i.o .shobj/Client_i.so: Client_i.cpp Client_i.h Receiver_i.h ReceiverS.h \ - ReceiverC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ReceiverC.i ReceiverS_T.h ReceiverS_T.i ReceiverS_T.cpp ReceiverS.i \ - BroadcasterC.h BroadcasterC.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i -.obj/Server_i.o .obj/Server_i.so .shobj/Server_i.o .shobj/Server_i.so: Server_i.cpp Server_i.h Broadcaster_i.h BroadcasterS.h \ - ReceiverS.h ReceiverC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ReceiverC.i ReceiverS_T.h ReceiverS_T.i ReceiverS_T.cpp ReceiverS.i \ - BroadcasterC.h BroadcasterC.i BroadcasterS_T.h BroadcasterS_T.i \ - BroadcasterS_T.cpp BroadcasterS.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp Client_i.h Receiver_i.h ReceiverS.h ReceiverC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ReceiverC.i ReceiverS_T.h ReceiverS_T.i ReceiverS_T.cpp ReceiverS.i \ - BroadcasterC.h BroadcasterC.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - $(TAO_ROOT)/tao/TAO.h -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp Server_i.h Broadcaster_i.h BroadcasterS.h \ - ReceiverS.h ReceiverC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - ReceiverC.i ReceiverS_T.h ReceiverS_T.i ReceiverS_T.cpp ReceiverS.i \ - BroadcasterC.h BroadcasterC.i BroadcasterS_T.h BroadcasterS_T.i \ - BroadcasterS_T.cpp BroadcasterS.i \ - $(TAO_ROOT)/tao/TAO.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Simple/chat/Makefile.bor b/TAO/examples/Simple/chat/Makefile.bor deleted file mode 100644 index 828f0dc2c93..00000000000 --- a/TAO/examples/Simple/chat/Makefile.bor +++ /dev/null @@ -1,10 +0,0 @@ -# -# Makefile for building the Chat example -# - -!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor> - -all: - $(MAKE) -f Chat_Client.bor $(MAKE_FLAGS) - $(MAKE) -f Chat_Server.bor $(MAKE_FLAGS) - diff --git a/TAO/examples/Simple/chat/README b/TAO/examples/Simple/chat/README deleted file mode 100644 index 4b7e530706a..00000000000 --- a/TAO/examples/Simple/chat/README +++ /dev/null @@ -1,70 +0,0 @@ -$Id$ - -This is a simple chat application that uses the TAO CORBA ORB. -It consists of a client and server programs. - -The server broadcasts messages from one client to all the clients registered with it. - -The client(s) register with a running server. It has a very simple user interface that accepts strings from the user and sends it across to the server. -The client code also demonstrates the use of the ACE_Event_Handlerclass to accept user input events. - -server: -------- - -server [-o ] - -Options: -------- --o Outputs the server ior to the file specified. - -On successfull initialization, the server displays a message that it is running and waits for clients to register with it. - -if the [-o ] option is not specified on the command line then the the server will write the IOR of the server CORBA object to a default file - "chat.ior". - -client: -------- - -client [-n -f ] - -Options: -------- --n The nickname that the chat user wants to use. --f Reads the server ior from the file - -The nickname specified by the user is displayed by the chat server to all the clients. -To quit the chat, type "quit". - -if the [-f ] option is not specified on the command line then the client will attempt to read the IOR of the server CORBA object from the default file - "chat.ior". - -VxWorks -------- -On VxWorks, it's easiest to run the client without any command -line options. That way, its stdin can be captured: - - -> ld < server - value = 400826292 = 0x17e41fb4 - -> spa main - value = 0 = 0x0 - Running chat server... - -> ld < client - value = 399329360 = 0x17cd4850 - -> main - - using defaults. nickname = noname, filename = chat.ior - - ============= Simple Chat ================= - ========== type 'quit' to exit =========== - : **** noname has joined the chat **** - - hello - : [noname] hello - - goodbye - : [noname] goodbye - - quit - value = 0 = 0x0 - -NOTE: if you built your VxWorks executables with g++, replace "main" -with "ace_main" above. See ACE-INSTALL.html for an explanation of why -ACE renames "main" to "ace_main" with g++ on VxWorks. diff --git a/TAO/examples/Simple/chat/Receiver.idl b/TAO/examples/Simple/chat/Receiver.idl deleted file mode 100644 index 90ea6570071..00000000000 --- a/TAO/examples/Simple/chat/Receiver.idl +++ /dev/null @@ -1,15 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -interface Receiver -{ - // = TITLE - // The Receiver interface is implemented by the simple chat - // clients.The interface functions are called by the chat server. - - void message (in string msg); - // Displays the message in the client application. - - oneway void shutdown (); - // Called by the chat server before it goes away. -}; diff --git a/TAO/examples/Simple/chat/Receiver_i.cpp b/TAO/examples/Simple/chat/Receiver_i.cpp deleted file mode 100644 index 4ceb9e79018..00000000000 --- a/TAO/examples/Simple/chat/Receiver_i.cpp +++ /dev/null @@ -1,56 +0,0 @@ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// Receiver_i.cpp -// -// = DESCRIPTION -// Implements the Receiver_i class, which is used by the chat client. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== - -#include "Receiver_i.h" - -Receiver_i::Receiver_i (void) - : orb_ (0) -{ -} - -Receiver_i::~Receiver_i (void) -{ -} - -void -Receiver_i::message (const char *msg, - CORBA::Environment &) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - ACE_DEBUG ((LM_DEBUG, - ": %s\n", - msg)); -} - -void -Receiver_i::shutdown (CORBA::Environment &) - ACE_THROW_SPEC (( - CORBA::SystemException - )) -{ - // Instruct the ORB to shutdown. - this->orb_->shutdown (); -} - -void -Receiver_i::orb (CORBA::ORB_ptr o) -{ - this->orb_ = CORBA::ORB::_duplicate (o); -} diff --git a/TAO/examples/Simple/chat/Receiver_i.h b/TAO/examples/Simple/chat/Receiver_i.h deleted file mode 100644 index 20498d907a3..00000000000 --- a/TAO/examples/Simple/chat/Receiver_i.h +++ /dev/null @@ -1,63 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// Receiver_i.h -// -// = DESCRIPTION -// Defines the implementation header for the Receiver interface. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== - -#ifndef RECEIVER_I_H -#define RECEIVER_I_H - -#include "ReceiverS.h" - -class Receiver_i : public POA_Receiver -{ - // = TITLE - // Receiver object implementation - // - // = DESCRIPTION - // This class has methods that are called by the chat server. -public: - // = Initialization and termination methods. - Receiver_i (void); - // Constructor. - - ~Receiver_i (void); - // Destructor. - - virtual void message (const char *msg, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException - )); - // Receives a message string. - - virtual void shutdown (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException - )); - // Called when the chat server is going away. The client - // implementation should shutdown the chat client in response to - // this. - - void orb (CORBA::ORB_ptr o); - // Set the ORB pointer. - -private: - CORBA::ORB_var orb_; - // ORB pointer. -}; - -#endif /* RECEIVER_I_H */ diff --git a/TAO/examples/Simple/chat/Server.h b/TAO/examples/Simple/chat/Server.h deleted file mode 100644 index 4d47a8bf73d..00000000000 --- a/TAO/examples/Simple/chat/Server.h +++ /dev/null @@ -1,18 +0,0 @@ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// Server.h -// -// = DESCRIPTION -// Definition of the Server class for the chat. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== diff --git a/TAO/examples/Simple/chat/Server_i.cpp b/TAO/examples/Simple/chat/Server_i.cpp deleted file mode 100644 index 5194253d1d5..00000000000 --- a/TAO/examples/Simple/chat/Server_i.cpp +++ /dev/null @@ -1,120 +0,0 @@ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// Server_i.cpp -// -// = DESCRIPTION -// Implementation of the Chat Server_i class. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== - -#include "Server_i.h" -#include "ace/Get_Opt.h" - -Server_i::Server_i () - : ior_file_name_ ("chat.ior") -{ - // No Op. -} - -Server_i::~Server_i (void) -{ - // NO Op. -} - -int -Server_i::parse_args (int argc, char *argv[]) -{ - ACE_Get_Opt get_opts (argc, argv, "o:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'o': // get the file name to write to - this->ior_file_name_ = get_opts.optarg; - break; - - case '?': // display help for use of the server. - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-o] " - "\n", - argv [0]), - -1); - } - - return 0; -} - -int -Server_i::init (int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - // Parse the command line options. - if (this-> parse_args(argc, argv) == -1) - return -1; - - if (this->orb_manager_.init (argc, - argv, - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "orb manager init failed\n"), - -1); - ACE_CHECK_RETURN (-1); - - CORBA::ORB_var orb = this->orb_manager_.orb (); - - // Activate the servant. - CORBA::String_var str = - this->orb_manager_.activate (&this->broadcaster_i_, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - // Write the IOR to a file. - this->write_IOR (str.in ()); - return 0; -} - -int -Server_i::run (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_DEBUG ((LM_DEBUG, - "Running chat server...\n")); - - // Run the main event loop for the ORB. - if (this->orb_manager_.run (ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Server_i::run"), - -1); - return 0; -} - -int -Server_i::write_IOR(const char* ior) -{ - FILE* ior_output_file_ = - ACE_OS::fopen (this->ior_file_name_, "w"); - - if (ior_output_file_) - { - ACE_OS::fprintf (ior_output_file_, - "%s", - ior); - ACE_OS::fclose (ior_output_file_); - } - - return 0; -} diff --git a/TAO/examples/Simple/chat/Server_i.h b/TAO/examples/Simple/chat/Server_i.h deleted file mode 100644 index e2479811f2e..00000000000 --- a/TAO/examples/Simple/chat/Server_i.h +++ /dev/null @@ -1,67 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// Server_i.h -// -// = DESCRIPTION -// Definition of the Chat Server_i class. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== - -#ifndef SERVER_I_H -#define SERVER_I_H - -#include "Broadcaster_i.h" -#include "tao/TAO.h" - -class Server_i -{ - // = TITLE - // The class defines the server for the chat. It sets up the Orb - // manager and registers the Broadcaster servant object. - -public: - // = Initialization and termination methods. - Server_i (void); - // Constructor. - - ~Server_i (void); - // Destructor. - - int init (int argc, - char *argv[], - CORBA::Environment &env); - // Initialize the server. - - int run (CORBA::Environment &env); - // Run the ORB. - -private: - int parse_args (int argc, char *argv[]); - // Parses the command line arguments. - - int write_IOR (const char *ior); - // Writes the server ior to a file, for the clients to pick up - // later. - - const char *ior_file_name_; - // The file name to save the ior to. - - TAO_ORB_Manager orb_manager_; - // The tao orb manager object. - - Broadcaster_i broadcaster_i_; - // The servant object registered with the orb. -}; - -#endif /* SERVER_I_H */ diff --git a/TAO/examples/Simple/chat/chat.dsw b/TAO/examples/Simple/chat/chat.dsw deleted file mode 100644 index 92aad316600..00000000000 --- a/TAO/examples/Simple/chat/chat.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Simple Chat Client"=".\client.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Chat Server"=".\server.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Simple/chat/client.cpp b/TAO/examples/Simple/chat/client.cpp deleted file mode 100644 index 7caf6e595a0..00000000000 --- a/TAO/examples/Simple/chat/client.cpp +++ /dev/null @@ -1,43 +0,0 @@ -// $Id$ - -// =========================================================== -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// client.cpp -// -// = DESCRIPTION -// The Chat client program entry point. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== - -#include "Client_i.h" - -int -main (int argc, char *argv[]) -{ - ACE_TRY_NEW_ENV - { - Client_i client_i; - - if (client_i.init (argc, argv) == -1 - || client_i.run () == -1) - return -1; - - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "client::main\t\n"); - return -1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/examples/Simple/chat/client.dsp b/TAO/examples/Simple/chat/client.dsp deleted file mode 100644 index 431ed0299b6..00000000000 --- a/TAO/examples/Simple/chat/client.dsp +++ /dev/null @@ -1,316 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Chat Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Chat Client - 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 "client.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 "client.mak" CFG="Simple Chat Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Chat Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Chat Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Chat Client - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "Simple Chat Client - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Simple Chat Client - Win32 Release" -# Name "Simple Chat Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\BroadcasterC.cpp -# End Source File -# Begin Source File - -SOURCE=.\BroadcasterS.cpp -# End Source File -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\Client_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Receiver_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\ReceiverC.cpp -# End Source File -# Begin Source File - -SOURCE=.\ReceiverS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\BroadcasterC.h -# End Source File -# Begin Source File - -SOURCE=.\BroadcasterS.h -# End Source File -# Begin Source File - -SOURCE=.\Client_i.h -# End Source File -# Begin Source File - -SOURCE=.\Receiver_i.h -# End Source File -# Begin Source File - -SOURCE=.\ReceiverC.h -# End Source File -# Begin Source File - -SOURCE=.\ReceiverS.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Broadcaster.idl - -!IF "$(CFG)" == "Simple Chat Client - Win32 Release" - -USERDEP__BROAD="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Broadcaster.idl -InputName=Broadcaster - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Chat Client - Win32 Debug" - -USERDEP__BROAD="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Broadcaster.idl -InputName=Broadcaster - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Receiver.idl - -!IF "$(CFG)" == "Simple Chat Client - Win32 Release" - -USERDEP__RECEI="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Receiver.idl -InputName=Receiver - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Chat Client - Win32 Debug" - -USERDEP__RECEI="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Receiver.idl -InputName=Receiver - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/chat/server.cpp b/TAO/examples/Simple/chat/server.cpp deleted file mode 100644 index fe8731c6af8..00000000000 --- a/TAO/examples/Simple/chat/server.cpp +++ /dev/null @@ -1,55 +0,0 @@ -// $Id$ - -// =========================================================== -// -// -// = LIBRARY -// TAO/tests/Simple/chat -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// Entry point for the chat server. -// -// = AUTHOR -// Pradeep Gore -// -// =========================================================== - -#include "Server_i.h" - -int -main (int argc, char *argv[]) -{ - ACE_TRY_NEW_ENV - { - Server_i server_i; - - if (server_i.init (argc, argv, ACE_TRY_ENV) != 0) - { - ACE_TRY_CHECK; - - ACE_ERROR_RETURN ((LM_ERROR, - "\n error in init.\n"), - 1); - } - if (server_i.run (ACE_TRY_ENV) != 0) - { - ACE_TRY_CHECK; - - ACE_ERROR_RETURN ((LM_ERROR, - "\n error in run.\n"), - 1); - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "server::main\t\n"); - return 1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/examples/Simple/chat/server.dsp b/TAO/examples/Simple/chat/server.dsp deleted file mode 100644 index 095b05bf2c4..00000000000 --- a/TAO/examples/Simple/chat/server.dsp +++ /dev/null @@ -1,320 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Chat Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Chat Server - 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 "server.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 "server.mak" CFG="Simple Chat Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Chat Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Chat Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Chat Server - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "Simple Chat Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Simple Chat Server - Win32 Release" -# Name "Simple Chat Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Broadcaster_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\BroadcasterC.cpp -# End Source File -# Begin Source File - -SOURCE=.\BroadcasterS.cpp -# End Source File -# Begin Source File - -SOURCE=.\ReceiverC.cpp -# End Source File -# Begin Source File - -SOURCE=.\ReceiverS.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# Begin Source File - -SOURCE=.\Server_i.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Broadcaster_i.h -# End Source File -# Begin Source File - -SOURCE=.\BroadcasterC.h -# End Source File -# Begin Source File - -SOURCE=.\BroadcasterS.h -# End Source File -# Begin Source File - -SOURCE=.\ReceiverC.h -# End Source File -# Begin Source File - -SOURCE=.\ReceiverS.h -# End Source File -# Begin Source File - -SOURCE=.\Server.h -# End Source File -# Begin Source File - -SOURCE=.\Server_i.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Broadcaster.idl - -!IF "$(CFG)" == "Simple Chat Server - Win32 Release" - -USERDEP__BROAD="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Broadcaster.idl -InputName=Broadcaster - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Chat Server - Win32 Debug" - -USERDEP__BROAD="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Broadcaster.idl -InputName=Broadcaster - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Receiver.idl - -!IF "$(CFG)" == "Simple Chat Server - Win32 Release" - -USERDEP__RECEI="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Receiver.idl -InputName=Receiver - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Chat Server - Win32 Debug" - -USERDEP__RECEI="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Receiver.idl -InputName=Receiver - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/echo/Echo.dsw b/TAO/examples/Simple/echo/Echo.dsw deleted file mode 100644 index 679e7df5216..00000000000 --- a/TAO/examples/Simple/echo/Echo.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Simple Echo Client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Echo Server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Simple/echo/Echo.idl b/TAO/examples/Simple/echo/Echo.idl deleted file mode 100644 index a396838f0bb..00000000000 --- a/TAO/examples/Simple/echo/Echo.idl +++ /dev/null @@ -1,27 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#if !defined (_ECHO_IDL) -#define _ECHO_IDL - -interface Echo -{ - // = TITLE - // Defines an interface that encapsulates operations that return the - // mesg string to be displayed and shuts down the server. - - typedef sequence List; - - List echo_list (in string message); - // This operation returns the message as a sequence of Objects and - // displays it on the screen as a string. - - string echo_string (in string message); - // This operation returns the message as a string and displays it on - // the screen. - - oneway void shutdown (); - // This operation will shutdown the server. -}; - -#endif /* _ECHO_IDL */ diff --git a/TAO/examples/Simple/echo/Echo_Client.bor b/TAO/examples/Simple/echo/Echo_Client.bor deleted file mode 100644 index 0c713169e12..00000000000 --- a/TAO/examples/Simple/echo/Echo_Client.bor +++ /dev/null @@ -1,26 +0,0 @@ -# -# Makefile for building the Echo example -# - -NAME = Echo_Client - -OBJFILES = \ - $(OBJDIR)\EchoC.obj \ - $(OBJDIR)\EchoS.obj \ - $(OBJDIR)\Echo_Client_i.obj \ - $(OBJDIR)\Simple_util.obj \ - $(OBJDIR)\client.obj - -CPPDIR = .;.. - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\EchoC.cpp $(IDLDIR)\EchoS.cpp: $(IDLDIR)\Echo.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Simple/echo/Echo_Client_i.cpp b/TAO/examples/Simple/echo/Echo_Client_i.cpp deleted file mode 100644 index 53bbad62394..00000000000 --- a/TAO/examples/Simple/echo/Echo_Client_i.cpp +++ /dev/null @@ -1,76 +0,0 @@ -//$Id$ - -#include "Echo_Client_i.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" - -// This is the interface program that accesses the remote object - -// Constructor. -Echo_Client_i::Echo_Client_i (void) -{ - //no-op -} - -//Destructor. -Echo_Client_i::~Echo_Client_i (void) -{ - //no-op -} - -int -Echo_Client_i::run (const char *name, - int argc, - char *argv[]) -{ - // Initialize the client. - if (client.init (name,argc, argv) == -1) - return -1; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - while (1) - { - char buf[BUFSIZ]; - - // Get the input message which has to be displayed. - ACE_DEBUG ((LM_DEBUG, - "ECHO? ")); - - if (ACE_OS::fgets (buf,sizeof buf, stdin) == 0) - break; - - CORBA::String_var s = client->echo_string (buf, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "\nString echoed by client \n%s\n", - s.in ())); - } - - if (client.shutdown () == 1) - client->shutdown (ACE_TRY_ENV); - - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"\n Exception in RMI"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Client; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Client -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simple/echo/Echo_Client_i.h b/TAO/examples/Simple/echo/Echo_Client_i.h deleted file mode 100644 index c26927826a7..00000000000 --- a/TAO/examples/Simple/echo/Echo_Client_i.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Simple/echo -// -// = FILENAME -// Echo_Client_i.h -// -// = DESCRIPTION -// This class implements the interface calls for RMI. -// -// = AUTHOR -// -// Balachandran Natarajan -// -// ============================================================================ - -#ifndef ECHO_CLIENT_I_H -#define ECHO_CLIENT_I_H - -#include "../Simple_util.h" -#include "EchoC.h" - -class Echo_Client_i -{ - // = TITLE - // Echo_Client interface subclass. - // - // = DESCRIPTION - // This class implements the interface between the interface - // objects and the client . -public: - // = Initialization and termination methods. - Echo_Client_i (void); - // Constructor - - virtual ~Echo_Client_i (void); - // Destructor - - virtual int run (const char *, int, char **); - // Execute the methods - -private: - Client client; - // Instantiate the client object. -}; - -#endif /* TIME_CLIENT_I_H */ diff --git a/TAO/examples/Simple/echo/Echo_Server.bor b/TAO/examples/Simple/echo/Echo_Server.bor deleted file mode 100644 index 69cdc42b017..00000000000 --- a/TAO/examples/Simple/echo/Echo_Server.bor +++ /dev/null @@ -1,26 +0,0 @@ -# -# Makefile for building the Echo example -# - -NAME = Echo_Server - -OBJFILES = \ - $(OBJDIR)\EchoC.obj \ - $(OBJDIR)\EchoS.obj \ - $(OBJDIR)\Echo_i.obj \ - $(OBJDIR)\Simple_util.obj \ - $(OBJDIR)\server.obj - -CPPDIR = .;.. - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\EchoC.cpp $(IDLDIR)\EchoS.cpp: $(IDLDIR)\Echo.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Simple/echo/Echo_i.cpp b/TAO/examples/Simple/echo/Echo_i.cpp deleted file mode 100644 index 4ccb450bbfe..00000000000 --- a/TAO/examples/Simple/echo/Echo_i.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// $Id$ - -#include "Echo_i.h" - -ACE_RCSID(Echo, Echo_i, "$Id$") - -// Constructor. - -Echo_i::Echo_i (void) -{ -} - -// Old g++ fooler. -Echo_i::Echo_i (Echo_i &foo) - : POA_Echo (foo) -{ -} - -// Destructor. - -Echo_i::~Echo_i (void) -{ -} - -// Set the ORB pointer. - -void -Echo_i::orb (CORBA::ORB_ptr o) -{ - this->orb_ = CORBA::ORB::_duplicate (o); -} - -// Return a list of object references. - -Echo::List * -Echo_i::echo_list (const char *message, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (message); - - Echo::List *list; - - ACE_NEW_RETURN (list, - Echo::List (3), - 0); - - list->length (3); - - // Just do something to get a list of object references. - (*list)[0] = orb_->resolve_initial_references ("NameService"); - (*list)[1] = orb_->resolve_initial_references ("NameService");; - (*list)[2] = orb_->resolve_initial_references ("NameService");; - - return list; -} - -// Return the mesg string from the server - -char * -Echo_i::echo_string (const char *mesg, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // The pointer mesg was NULL, return. - if (mesg == 0) - return 0; - - CORBA::String_var str = CORBA::string_dup (mesg); - - // if returns a 0 pointer, an exception is - // raised. - - if (str.in () == 0) - ACE_THROW_RETURN (CORBA::NO_MEMORY (), 0); - - // Got thru! now, make a deep copy of the mesg string and send it - // back to the client. - - return str._retn (); - // The _retn is used as it allows the conversion of - // CORBA::String_var to char* without causing any compiler errors. -} - -// Shutdown the server application. - -void -Echo_i::shutdown (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "\n%s\n", - "The echo server is shutting down")); - - // Instruct the ORB to shutdown. - this->orb_->shutdown (); -} diff --git a/TAO/examples/Simple/echo/Echo_i.h b/TAO/examples/Simple/echo/Echo_i.h deleted file mode 100644 index 9966f31f3f8..00000000000 --- a/TAO/examples/Simple/echo/Echo_i.h +++ /dev/null @@ -1,68 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Simple/echo -// -// = FILENAME -// Echo_i.h -// -// = DESCRIPTION -// This class implements the Echo IDL interface. -// -// = AUTHOR -// Kirthika Parameswaran -// -// ============================================================================ - -#ifndef ECHO_I_H -#define ECHO_I_H - -#include "EchoS.h" - -class Echo_i : public POA_Echo -{ - // = TITLE - // Echo Object Implementation - // - // = DESCRIPTION - // The object implementation performs teh following functions: - // -- To return the string which needs to be displayed - // from the server. - // -- shuts down the server -public: - // = Initialization and termination methods. - Echo_i (void); - // Constructor. - - Echo_i (Echo_i &); - // Copy constructor for old gcc. - - ~Echo_i (void); - // Destructor. - - virtual Echo::List *echo_list (const char *mesg, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Return the mesg string back from the server. - - virtual char *echo_string (const char *mesg, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Return the mesg string back from the server. - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Shutdown the server. - - void orb (CORBA::ORB_ptr o); - // Set the ORB pointer. - -private: - CORBA::ORB_var orb_; - // ORB pointer. -}; - -#endif /* ECHO_I_H */ diff --git a/TAO/examples/Simple/echo/Makefile b/TAO/examples/Simple/echo/Makefile deleted file mode 100644 index e6f81721987..00000000000 --- a/TAO/examples/Simple/echo/Makefile +++ /dev/null @@ -1,2013 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -LDLIBS = -lTAO -lorbsvcs - -IDL_SRC = EchoC.cpp EchoS.cpp - -PROG_SRCS = \ - client.cpp \ - server.cpp \ - Echo_i.cpp \ - Echo_Client_i.cpp \ - ../Simple_util.cpp - -SRC = $(IDL_SRC) $(PROG_SRCS) - -SIMPLE_CLT_OBJS = \ - EchoC.o \ - EchoS.o \ - Echo_Client_i.o \ - ../Simple_util.o \ - client.o -SIMPLE_SVR_OBJS = \ - EchoC.o \ - EchoS.o \ - Echo_i.o \ - ../Simple_util.o \ - server.o - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = server \ - client - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Naming - -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -LDFLAGS += -L$(TAO_ROOT)/tao -L$(ACE_ROOT)/ace -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -.PRECIOUS: EchoC.cpp EchoC.i EchoC.h -.PRECIOUS: EchoS.cpp EchoS.i EchoS.h -.PRECIOUS: EchoS_T.cpp EchoS_T.i EchoS_T.h - -server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) -rf EchoC.* EchoS.* EchoS_T.* - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/EchoC.o .obj/EchoC.so .shobj/EchoC.o .shobj/EchoC.so: EchoC.cpp EchoC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - EchoC.i -.obj/EchoS.o .obj/EchoS.so .shobj/EchoS.o .shobj/EchoS.so: EchoS.cpp EchoS.h EchoC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - EchoC.i EchoS_T.h EchoS_T.i EchoS_T.cpp EchoS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp Echo_Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp EchoC.h EchoC.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp Echo_i.h EchoS.h EchoC.h EchoC.i EchoS_T.h \ - EchoS_T.i EchoS_T.cpp EchoS.i -.obj/Echo_i.o .obj/Echo_i.so .shobj/Echo_i.o .shobj/Echo_i.so: Echo_i.cpp Echo_i.h EchoS.h EchoC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - EchoC.i EchoS_T.h EchoS_T.i EchoS_T.cpp EchoS.i -.obj/Echo_Client_i.o .obj/Echo_Client_i.so .shobj/Echo_Client_i.o .shobj/Echo_Client_i.so: Echo_Client_i.cpp Echo_Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp EchoC.h EchoC.i -.obj/Simple_util.o .obj/Simple_util.so .shobj/Simple_util.o .shobj/Simple_util.so: ../Simple_util.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Simple/echo/Makefile.bor b/TAO/examples/Simple/echo/Makefile.bor deleted file mode 100644 index f8514256edc..00000000000 --- a/TAO/examples/Simple/echo/Makefile.bor +++ /dev/null @@ -1,11 +0,0 @@ - -# -# Makefile for building the Echo example -# - -!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor> - -all: - $(MAKE) -f Echo_Client.bor $(MAKE_FLAGS) - $(MAKE) -f Echo_Server.bor $(MAKE_FLAGS) - diff --git a/TAO/examples/Simple/echo/README b/TAO/examples/Simple/echo/README deleted file mode 100644 index 019118524b4..00000000000 --- a/TAO/examples/Simple/echo/README +++ /dev/null @@ -1,58 +0,0 @@ -$Id$ - -This is a simple CORBA example that has an object (Echo) with only two -methods, one that returns the message to be displayed and another that -shuts down the server. - -server: -------- - -server [-d] [-o ] [-n] - -Options: -------- --d Debug flag (It is additive more -d flags will give debugging). --o Outputs the ior to the file - The ior is the reference using which the client can interact with - the target server object. --n Use the naming service - -When the server is started, you should see as the first line of output -something that looks like - - iiop:1.0//danzon.cs.wustl.edu:10015/P35ad159600081a38/child_poa/server - (-ORBobjrefstyle url) -or - IOR:000000000000001649444c3a43756269745... - (-ORBobjrefstyle ior) - -Using -d turns on debugging messages. This option is additive, i.e., -the more -d options provided, the more debugging you can get. At the -moment, only 2 levels of debugging are implemented, and more than 2 -d -options are ignored. - -client: -------- - -client [-d] [-x] [-f ] [-k ior] [-n naming service] - -Options: -------- --d Debug flag --x Tells the server to shutdown at the end of the test. --f Reads the server ior from the file --k IOR or The IOR can also be given in the format like file://[file.ior] - with the full path - --n Use the naming service - -You can either cut and paste the IOR from the server to the client -(with the -k option), have the client read the IOR from a file using -the -f option (this file is produced using the -o option of the -server), or use the naming service (with the -n option). - -run_test.pl: ------------- - -This perl script runs the server and client and shuts down the server -when it is done. diff --git a/TAO/examples/Simple/echo/client.cpp b/TAO/examples/Simple/echo/client.cpp deleted file mode 100644 index f2aa863069b..00000000000 --- a/TAO/examples/Simple/echo/client.cpp +++ /dev/null @@ -1,25 +0,0 @@ -//$Id$ - -# include "Echo_Client_i.h" - -// The client program for the application. - -int -main (int argc, char **argv) -{ - Echo_Client_i client; - - - ACE_DEBUG ((LM_DEBUG, - "\nEcho client\n\n")); - - if (client.run ("Echo", - argc, - argv) == -1) - return -1; - else - return 0; - -} - - diff --git a/TAO/examples/Simple/echo/client.dsp b/TAO/examples/Simple/echo/client.dsp deleted file mode 100644 index 54026d8a2c1..00000000000 --- a/TAO/examples/Simple/echo/client.dsp +++ /dev/null @@ -1,223 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Echo Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Echo Client - 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 "client.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 "client.mak" CFG="Simple Echo Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Echo Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Echo Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Echo Client - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "Simple Echo Client - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "Simple Echo Client - Win32 Release" -# Name "Simple Echo Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\Echo_Client_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\EchoC.cpp -# End Source File -# Begin Source File - -SOURCE=.\EchoS.cpp -# End Source File -# Begin Source File - -SOURCE=..\Simple_util.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Echo_Client_i.h -# End Source File -# Begin Source File - -SOURCE=.\EchoC.h -# End Source File -# Begin Source File - -SOURCE=.\EchoS.h -# End Source File -# Begin Source File - -SOURCE=.\EchoS_T.h -# End Source File -# Begin Source File - -SOURCE=..\Simple_util.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Echo.idl - -!IF "$(CFG)" == "Simple Echo Client - Win32 Release" - -USERDEP__ECHO_="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Echo.idl -InputName=Echo - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Echo Client - Win32 Debug" - -USERDEP__ECHO_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Echo.idl -InputName=Echo - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/echo/run_test.pl b/TAO/examples/Simple/echo/run_test.pl deleted file mode 100755 index d5853ba10b8..00000000000 --- a/TAO/examples/Simple/echo/run_test.pl +++ /dev/null @@ -1,39 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -use lib "../../../../bin"; -require ACEutils; -require Process; - -$status = 0; -$iorfile = "echo.ior"; - -$SV = Process::Create ("server$EXE_EXT", "-o $iorfile "); -if (ACE::waitforfile_timed ($iorfile, 15) == -1) { - print STDERR "ERROR: timedout waiting for file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$client = Process::Create($EXEPREFIX."client$EXE_EXT", "-f $iorfile -x"); - -if ($client->TimedWait (60) == -1) { - print STDERR "ERROR: client timedout\n"; - $status = 1; - $client->Kill (); $client->TimedWait (1); -} - -if ($SV->TimedWait (5) == -1) { - print STDERR "ERROR: cannot terminate the server\n"; - $SV->Kill (); $SV->TimedWait (1); - $status = 1; -} - - -unlink $iorfile; - -exit $status; diff --git a/TAO/examples/Simple/echo/server.cpp b/TAO/examples/Simple/echo/server.cpp deleted file mode 100644 index e6a4b082018..00000000000 --- a/TAO/examples/Simple/echo/server.cpp +++ /dev/null @@ -1,51 +0,0 @@ -// $Id$ -#include "../Simple_util.h" -#include "Echo_i.h" - -// This is the main driver program for the time and date server. - -int -main (int argc, char *argv[]) -{ - Server server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tEcho server\n\n")); - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - if (server.init ("Echo", - argc, - argv, - ACE_TRY_ENV) == -1) - return 1; - else - { - server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex,"User Exception"); - return -1; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - - ACE_ENDTRY; - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Server; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Server -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - diff --git a/TAO/examples/Simple/echo/server.dsp b/TAO/examples/Simple/echo/server.dsp deleted file mode 100644 index ce5dbee6bef..00000000000 --- a/TAO/examples/Simple/echo/server.dsp +++ /dev/null @@ -1,215 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Echo Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Echo Server - 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 "server.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 "server.mak" CFG="Simple Echo Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Echo Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Echo Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Echo Server - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "Simple Echo Server - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "Simple Echo Server - Win32 Release" -# Name "Simple Echo Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Echo_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\EchoC.cpp -# End Source File -# Begin Source File - -SOURCE=.\EchoS.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Echo_i.h -# End Source File -# Begin Source File - -SOURCE=.\EchoC.h -# End Source File -# Begin Source File - -SOURCE=.\EchoS.h -# End Source File -# Begin Source File - -SOURCE=.\EchoS_T.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Echo.idl - -!IF "$(CFG)" == "Simple Echo Server - Win32 Release" - -USERDEP__ECHO_="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Echo.idl -InputName=Echo - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Echo Server - Win32 Debug" - -USERDEP__ECHO_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Echo.idl -InputName=Echo - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/grid/Grid.dsw b/TAO/examples/Simple/grid/Grid.dsw deleted file mode 100644 index 9e4d88b6e73..00000000000 --- a/TAO/examples/Simple/grid/Grid.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Grid Client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Grid Server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Simple/grid/Grid.idl b/TAO/examples/Simple/grid/Grid.idl deleted file mode 100644 index e857b7f9238..00000000000 --- a/TAO/examples/Simple/grid/Grid.idl +++ /dev/null @@ -1,52 +0,0 @@ -// -*- C++ -*- -// $Id$ - -interface Grid -{ - // = TITLE - // Create a of type - - attribute short height; - // Height of the grid. - - attribute short width; - // Width of the grid. - - exception RANGE_ERROR - { - // = TITLE - // The range of parameter values do not fall in the expected - // range. - }; - - // = Constants for LOCATIONS and VALUE. - const short DEFAULT_LOCATION = 1; - const short DEFAULT_VALUE = 100; - - void set (in short n, in short m, in long value) - raises (RANGE_ERROR); - // Set the element [n,m] of the grid, to value. - - long get (in short n, in short m) - raises (RANGE_ERROR); - // Return element [n,m] of the grid. - - void destroy (); - // Destroy the grid. -}; - -interface Grid_Factory -{ - // = TITLE - // Factory that creates a - - // = Default height and width for a . - const short DEFAULT_HEIGHT = 10; - const short DEFAULT_WIDTH = 10; - - Grid make_grid (in short height, in short width); - // Returns a new instance. - - void shutdown (); - // Shutdown the application. -}; diff --git a/TAO/examples/Simple/grid/Grid_Client.bor b/TAO/examples/Simple/grid/Grid_Client.bor deleted file mode 100644 index 069a4fda830..00000000000 --- a/TAO/examples/Simple/grid/Grid_Client.bor +++ /dev/null @@ -1,26 +0,0 @@ -# -# Makefile for building the Grid example -# - -NAME = Grid_Client - -OBJFILES = \ - $(OBJDIR)\GridC.obj \ - $(OBJDIR)\GridS.obj \ - $(OBJDIR)\Grid_Client_i.obj \ - $(OBJDIR)\Simple_util.obj \ - $(OBJDIR)\client.obj - -CPPDIR = .;.. - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\GridC.cpp $(IDLDIR)\GridS.cpp: $(IDLDIR)\Grid.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Simple/grid/Grid_Client_i.cpp b/TAO/examples/Simple/grid/Grid_Client_i.cpp deleted file mode 100644 index a7ff9586c46..00000000000 --- a/TAO/examples/Simple/grid/Grid_Client_i.cpp +++ /dev/null @@ -1,135 +0,0 @@ -//$Id$ - -#include "Grid_Client_i.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" - -// This is the interface program that accesses the remote object - -// Constructor. -Grid_Client_i::Grid_Client_i (void) - : height_ (0), - width_ (0), - setx_ (0), - sety_ (0), - value_ (0) - -{ - //no-op -} - -//Destructor. -Grid_Client_i::~Grid_Client_i (void) -{ - //no-op -} - -int -Grid_Client_i::parse_args (int argc, - char *argv[]) -{ - // Parses some of the options that are specific to this example - ACE_Get_Opt get_opts (argc, argv, "df:nk:xw:h:p:q:v:"); - - int c = 0; - while ((c = get_opts ()) != -1) - switch (c) - { - case 'p': // A horizontal position of the grid where - // the value is stored - setx_ = (u_int) ACE_OS::atoi (get_opts.optarg); - break; - case 'q': // A vertical position of the grid where a - // value is stored - sety_ = (u_int) ACE_OS::atoi (get_opts.optarg); - break; - case 'w': - width_ = (u_int) ACE_OS::atoi (get_opts.optarg); - break; - case 'h': - height_ = (u_int) ACE_OS::atoi (get_opts.optarg); - break; - case 'v': - value_ = (u_int) ACE_OS::atoi (get_opts.optarg); - break; - } - - if (setx_ == 0 ) - setx_ = Grid::DEFAULT_LOCATION; - if (sety_ == 0 ) - sety_ = Grid::DEFAULT_LOCATION; - if (value_ == 0 ) - value_ = Grid::DEFAULT_VALUE; - return 0; -} - -int -Grid_Client_i::run (const char *name, - int argc, - char *argv[]) -{ - // Initialize the client. - if (client.init (name, argc, argv) == -1) - return -1; - - if (this->parse_args (argc, argv) == -1) - return -1; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - // Make the Grid. - - Grid_ptr grid = client->make_grid (width_, - height_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) Made the grid succesfully\n")); - - // Set a value on the grid - grid->set (setx_, - sety_, - value_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) Setting a value for the grid\n")); - - CORBA::Long ret_val = grid->get (setx_, - sety_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_ASSERT (ret_val == value_); - - if (client.shutdown () == 1) - client->shutdown (ACE_TRY_ENV); - ACE_UNUSED_ARG (ret_val); - } - ACE_CATCH (CORBA::UserException, range_ex) - { - ACE_PRINT_EXCEPTION (range_ex, - "\tFrom get and set grid"); - return -1; - } - ACE_CATCH (CORBA::SystemException, memex) - { - ACE_PRINT_EXCEPTION (memex, - "Cannot make grid as Memory exhausted"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Client; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Client -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simple/grid/Grid_Client_i.h b/TAO/examples/Simple/grid/Grid_Client_i.h deleted file mode 100644 index cf4cc4336b3..00000000000 --- a/TAO/examples/Simple/grid/Grid_Client_i.h +++ /dev/null @@ -1,68 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Simple/grid -// -// = FILENAME -// Grid_Client_i.h -// -// = DESCRIPTION -// This class implements the interface calls for RMI. -// -// = AUTHOR -// Balachandran Natarajan -// -// ============================================================================ - -#ifndef GRID_CLIENT_I_H -#define GRID_CLIENT_I_H - -#include "../Simple_util.h" -#include "GridC.h" - -class Grid_Client_i -{ - // = TITLE - // Grid_Client interface subclass. - // - // = DESCRIPTION - // This class implements the interface between the interface - // objects and the client . -public: - // = Initialization and termination methods. - Grid_Client_i (void); - // Constructor - - virtual ~Grid_Client_i (void); - // Destructor - - virtual int run (const char *, int, char *[]); - // Execute the methods. - - virtual int parse_args (int argc, char *argv[]); - // Parses the command line arguments. - -private: - Client client; - // Instantiate the client object. - - CORBA::Short height_; - // Height of the grid. - - CORBA::Short width_; - // Width of the grid. - - CORBA::Short setx_; - // Cell identifier in which a value meeds to be stored. - - CORBA::Short sety_; - // Cell identifier in which a value meeds to be stored. - - CORBA::Long value_; - // The value that needs to be stored in the cell. -}; - -#endif /* TIME_CLIENT_I_H */ diff --git a/TAO/examples/Simple/grid/Grid_Server.bor b/TAO/examples/Simple/grid/Grid_Server.bor deleted file mode 100644 index 2143d8e8338..00000000000 --- a/TAO/examples/Simple/grid/Grid_Server.bor +++ /dev/null @@ -1,26 +0,0 @@ -# -# Makefile for building the Grid example -# - -NAME = Grid_Server - -OBJFILES = \ - $(OBJDIR)\GridC.obj \ - $(OBJDIR)\GridS.obj \ - $(OBJDIR)\Grid_i.obj \ - $(OBJDIR)\Simple_util.obj \ - $(OBJDIR)\server.obj - -CPPDIR = .;.. - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\GridC.cpp $(IDLDIR)\GridS.cpp: $(IDLDIR)\Grid.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Simple/grid/Grid_i.cpp b/TAO/examples/Simple/grid/Grid_i.cpp deleted file mode 100644 index 1a4e4cc157d..00000000000 --- a/TAO/examples/Simple/grid/Grid_i.cpp +++ /dev/null @@ -1,209 +0,0 @@ -// -*- C++ -*- -// $Id$ -#include "Grid_i.h" -#include "tao/corba.h" - -// Default constructor. - -Grid_i::Grid_i (void) - : width_ (0), - height_ (0), - array_ (0) -{ - //no-op -} - -// Constructor. - -Grid_i::Grid_i (CORBA::Short x, - CORBA::Short y, - CORBA::Environment &ACE_TRY_ENV) - : width_ (x), - height_ (y) -{ - ACE_NEW_THROW_EX (array_, - CORBA::Long *[y], - CORBA::NO_MEMORY ()); - ACE_CHECK; - - // Allocate memory for the matrix. - - for (int ctr = 0; ctr < y; ctr++) - { - ACE_NEW_THROW_EX (array_[ctr], - CORBA::Long[x], - CORBA::NO_MEMORY ()); - ACE_CHECK; - } - -} - -// Default destructor. - -Grid_i::~Grid_i (void) -{ - // no-op. -} - -// Set a value in the grid. - -void -Grid_i::set (CORBA::Short x, - CORBA::Short y, - CORBA::Long value, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Grid::RANGE_ERROR)) -{ - if (x < 0 - || y < 0 - || x >= width_ - || y >= height_) - ACE_THROW (Grid::RANGE_ERROR ()); - else - array_[x][y] = value; -} - -// Get a value from the grid. - -CORBA::Long -Grid_i::get (CORBA::Short x, - CORBA::Short y, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - Grid::RANGE_ERROR)) -{ - if (x < 0 - || y < 0 - || x >= width_ - || y >= height_) - ACE_THROW_RETURN (Grid::RANGE_ERROR (), -1); - else - return array_[x][y]; -} - -// Access methods. - -CORBA::Short -Grid_i::width (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->width_; -} - -CORBA::Short -Grid_i::height (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->height_; -} - -void -Grid_i::width (CORBA::Short x, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->width_ = x; -} - -void -Grid_i::height (CORBA::Short y, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->height_ = y; -} - -// Destroy the grid - -void -Grid_i::destroy (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Delete the array. - - for (int i = 0; i < height_; i++) - delete [] array_[i]; - - delete [] array_; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) %s\n", - "Grid has been destroyed")); -} - -// Set the ORB pointer. - -void -Grid_Factory_i::orb (CORBA::ORB_ptr o) -{ - this->orb_ = CORBA::ORB::_duplicate (o); -} - -// Shutdown. - -void -Grid_Factory_i::shutdown (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) %s\n", - "Grid Factory is shutting down")); - - // Instruct the ORB to shutdown. - this->orb_->shutdown (); -} - -// Constructor - -Grid_Factory_i::Grid_Factory_i (void) -{ - // no-op -} - -// Copy Constructor - -Grid_Factory_i::Grid_Factory_i (Grid_Factory_i &grid) - :POA_Grid_Factory (grid) -{ - // no-op -} - -// Destructor - -Grid_Factory_i::~Grid_Factory_i (void) -{ - // no-op -} - -// Make a . - -Grid_ptr -Grid_Factory_i::make_grid (CORBA::Short width, - CORBA::Short height, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - Grid_i *grid_ptr = 0; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) Making a new Grid\n")); - - // Set a default value for width. - if (width <= 0) - width = Grid_Factory::DEFAULT_WIDTH; - - // Set a default value for height. - if (height <= 0) - height = Grid_Factory::DEFAULT_HEIGHT; - - // This attempts to create a new Grid_i and throws an exception and - // returns a null value if it fails - ACE_NEW_THROW_EX (grid_ptr, - Grid_i (width, height, ACE_TRY_ENV), - CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (Grid::_nil ()); - - // Register the Grid pointer. - return grid_ptr->_this (ACE_TRY_ENV); -} diff --git a/TAO/examples/Simple/grid/Grid_i.h b/TAO/examples/Simple/grid/Grid_i.h deleted file mode 100644 index 90ef2640729..00000000000 --- a/TAO/examples/Simple/grid/Grid_i.h +++ /dev/null @@ -1,127 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Simple/grid -// -// = FILENAME -// Grid_i.h -// -// = DESCRIPTION -// This class implements the Grid IDL interface. -// -// = AUTHOR -// -// ============================================================================ - -#ifndef GRID_I_H -#define GRID_I_H - -#include "GridS.h" - -class Grid_i: public POA_Grid -{ - // = TITLE - // Grid object implementation. - // - // = DESCRIPTION - // Grid object implementation -public: - // = Initialization and termination methods. - - Grid_i (void); - // Constructor - - Grid_i (CORBA::Short, - CORBA::Short, - CORBA_Environment &); - // Constructor. - - ~Grid_i (void); - // Destructor - - virtual CORBA::Short width (CORBA_Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns the width of the grid - - virtual CORBA::Short height (CORBA_Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns the height of the grid - - virtual void width (CORBA::Short, - CORBA_Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Sets the width of the grid. - - virtual void height (CORBA::Short, - CORBA_Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Sets the height of the grid. - - virtual void set (CORBA::Short, - CORBA::Short, - CORBA::Long, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException, - Grid::RANGE_ERROR)); - // Sets the grid value. - - virtual CORBA::Long get (CORBA::Short, - CORBA::Short, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException, - Grid::RANGE_ERROR)); - // Gets the grid value. - - virtual void destroy (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Destroy the grid. - -private: - CORBA::Short width_; - // Width of the grid. - - CORBA::Short height_; - // Height of the grid. - - CORBA::Long **array_; - // Pointer to the matrix. This is organized as an "array of arrays." -}; - -class Grid_Factory_i : public POA_Grid_Factory -{ - // =TITLE - // Create a . -public: - // = Initialization and termination methods. - Grid_Factory_i (void); - // Constructor. - - Grid_Factory_i (Grid_Factory_i &); - // Copy constructor to fool g++ - - ~Grid_Factory_i (void); - // Destructor. - - virtual Grid_ptr make_grid (CORBA::Short, - CORBA::Short, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // This function creates and returns a . - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Shutdown the server. - - void orb (CORBA::ORB_ptr o); - // Set the ORB pointer. - -private: - CORBA::ORB_var orb_; - // ORB pointer. -}; - -#endif /* GRID_I_H */ diff --git a/TAO/examples/Simple/grid/Makefile b/TAO/examples/Simple/grid/Makefile deleted file mode 100644 index 1bcd6f88adc..00000000000 --- a/TAO/examples/Simple/grid/Makefile +++ /dev/null @@ -1,2014 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -LDLIBS = -lorbsvcs -lTAO - -IDL_SRC = GridC.cpp GridS.cpp - -PROG_SRCS = \ - client.cpp \ - server.cpp \ - Grid_i.cpp \ - Grid_Client_i.cpp \ - ../Simple_util.cpp - -SRC = $(IDL_SRC) $(PROG_SRCS) - -SIMPLE_CLT_OBJS = \ - GridC.o \ - GridS.o \ - client.o \ - ../Simple_util.o \ - Grid_Client_i.o -SIMPLE_SVR_OBJS = \ - GridC.o \ - GridS.o \ - Grid_i.o \ - server.o \ - ../Simple_util.o - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = server \ - client - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Naming - -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/Naming_Service -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -.PRECIOUS: GridC.cpp GridC.i GridC.h -.PRECIOUS: GridS.cpp GridS.i GridS.h -.PRECIOUS: GridS_T.cpp GridS_T.i GridS_T.h - -server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) GridC.* GridS.* GridS_T.* - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/GridC.o .obj/GridC.so .shobj/GridC.o .shobj/GridC.so: GridC.cpp GridC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - GridC.i -.obj/GridS.o .obj/GridS.so .shobj/GridS.o .shobj/GridS.so: GridS.cpp GridS.h GridC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - GridC.i GridS_T.h GridS_T.i GridS_T.cpp GridS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp Grid_Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp GridC.h GridC.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp Grid_i.h GridS.h GridC.h GridC.i GridS_T.h \ - GridS_T.i GridS_T.cpp GridS.i -.obj/Grid_i.o .obj/Grid_i.so .shobj/Grid_i.o .shobj/Grid_i.so: Grid_i.cpp Grid_i.h GridS.h GridC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - GridC.i GridS_T.h GridS_T.i GridS_T.cpp GridS.i -.obj/Grid_Client_i.o .obj/Grid_Client_i.so .shobj/Grid_Client_i.o .shobj/Grid_Client_i.so: Grid_Client_i.cpp Grid_Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp GridC.h GridC.i -.obj/Simple_util.o .obj/Simple_util.so .shobj/Simple_util.o .shobj/Simple_util.so: ../Simple_util.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Simple/grid/Makefile.bor b/TAO/examples/Simple/grid/Makefile.bor deleted file mode 100644 index 928d64225bc..00000000000 --- a/TAO/examples/Simple/grid/Makefile.bor +++ /dev/null @@ -1,10 +0,0 @@ -# -# Makefile for building the Grid example -# - -!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor> - -all: - $(MAKE) -f Grid_Client.bor $(MAKE_FLAGS) - $(MAKE) -f Grid_Server.bor $(MAKE_FLAGS) - diff --git a/TAO/examples/Simple/grid/README b/TAO/examples/Simple/grid/README deleted file mode 100644 index b27e153aa07..00000000000 --- a/TAO/examples/Simple/grid/README +++ /dev/null @@ -1,74 +0,0 @@ -$Id$ - -This is a simple CORBA example that makes a grid of user defined size. -The grid can be imagined as a matrix with cells that can hold values. - -This example creates a simple grid server with user defined sizes. -If the user does not define the size a default grid is created. The user -can give a value to be held in the grid. - - -server: -------- - -server [-d] [-o ] [-n] - -Options: -------- --d Debug flag (It is additive more -d flags will give debugging). --o Outputs the ior to the file - The ior is the reference using which the client can interact with - the target server object. --n Use the naming service - -When the server is started, you should see as the first line of output -something that looks like - - iiop:1.0//danzon.cs.wustl.edu:10015/P35ad159600081a38/child_poa/server - (-ORBobjrefstyle url) -or - IOR:000000000000001649444c3a43756269745... - (-ORBobjrefstyle ior) - -Using -d turns on debugging messages. This option is additive, i.e., -the more -d options provided, the more debugging you can get. At the -moment, only 2 levels of debugging are implemented, and more than 2 -d -options are ignored. - -client: -------- - -client [-d] [-x] [-f ] [-n iterations] [-k ior] [-n] [-p] - [-q] [-w] [-h] [-v] - -Options: -------- --d Debug flag --x Tells the server to shutdown at the end of the test. --f Reads the server ior from the file --n no. of iterations --k IOR or The IOR can also be given in the format like file://[file.ior] - with the full path - --n Use the naming service - --p A horizontal position of the grid where the value [v] is stored --q A vertical position of the grid where the value [v] is stored --w Width of the grid --h Height of the grid --v Value that needs to be stored in the grid. - -The last four options ie. p,q,w,h,v have default values. So, if the client -is invoked without these options then default values of one or all are -taken. - -You can either cut and paste the IOR from the server to the client -(with the -k option), have the client read the IOR from a file using -the -f option (this file is produced using the -o option of the -server), or use the naming service (with the -s option). - -run_test.pl: ------------- - -This perl script runs the server and client and shuts down the server -when it is done. diff --git a/TAO/examples/Simple/grid/client.cpp b/TAO/examples/Simple/grid/client.cpp deleted file mode 100644 index 4bec0e49dad..00000000000 --- a/TAO/examples/Simple/grid/client.cpp +++ /dev/null @@ -1,23 +0,0 @@ -// $Id$ - -# include "Grid_Client_i.h" - -// The client program for the application. - -int -main (int argc, char *argv[]) -{ - Grid_Client_i client; - - - ACE_DEBUG ((LM_DEBUG, - "\nGrid client\n\n")); - - if (client.run ("Grid", argc, argv) == -1) - return -1; - else - return 0; - -} - - diff --git a/TAO/examples/Simple/grid/client.dsp b/TAO/examples/Simple/grid/client.dsp deleted file mode 100644 index ef7428c6c19..00000000000 --- a/TAO/examples/Simple/grid/client.dsp +++ /dev/null @@ -1,209 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Grid Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Grid Client - Win32 Release -!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 "client.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 "client.mak" CFG="Simple Grid Client - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Grid Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Grid Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Grid Client - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\client\Release" -# PROP BASE Intermediate_Dir ".\client\Release" -# PROP BASE Target_Dir ".\client" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir ".\client" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Grid Client - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\client\Debug" -# PROP BASE Intermediate_Dir ".\client\Debug" -# PROP BASE Target_Dir ".\client" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir ".\client" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Simple Grid Client - Win32 Release" -# Name "Simple Grid Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\Grid_Client_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\GridC.cpp -# End Source File -# Begin Source File - -SOURCE=.\GridS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Client_i.h -# End Source File -# Begin Source File - -SOURCE=.\Grid_Client_i.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter ".idl" -# Begin Source File - -SOURCE=.\Grid.idl - -!IF "$(CFG)" == "Simple Grid Client - Win32 Release" - -# PROP Ignore_Default_Tool 1 -USERDEP__GRID_="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Grid.idl -InputName=Grid - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 -Gd $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Grid Client - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__GRID_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Grid.idl -InputName=Grid - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 -Gd $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/grid/run_test.pl b/TAO/examples/Simple/grid/run_test.pl deleted file mode 100755 index 31d1ba57a89..00000000000 --- a/TAO/examples/Simple/grid/run_test.pl +++ /dev/null @@ -1,39 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -use lib "../../../../bin"; -require ACEutils; -require Process; - -$status = 0; -$iorfile = "grid.ior"; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", "-o $iorfile "); - -if (ACE::waitforfile_timed ($iorfile, 15) == -1) { - print STDERR "ERROR: timedout waiting for file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$client = Process::Create($EXEPREFIX."client$EXE_EXT", "-f $iorfile -x -w 12 -h 12 -p 2 -q 2 -v 2345"); - -if ($client->TimedWait (60) == -1) { - print STDERR "ERROR: client timedout\n"; - $status = 1; - $client->Kill (); $client->TimedWait (1); -} - -if ($SV->TimedWait (5) == -1) { - print STDERR "ERROR: cannot terminate the server\n"; - $SV->Kill (); $SV->TimedWait (1); - $status = 1; -} - -unlink $iorfile; - -exit $status; diff --git a/TAO/examples/Simple/grid/server.cpp b/TAO/examples/Simple/grid/server.cpp deleted file mode 100644 index e721da11e9f..00000000000 --- a/TAO/examples/Simple/grid/server.cpp +++ /dev/null @@ -1,53 +0,0 @@ -// $Id$ -#include "../Simple_util.h" -#include "Grid_i.h" - -// This is the main driver program for the time and date server. - -int -main (int argc, char *argv[]) -{ - Server server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tGrid server\n\n")); - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - if (server.init ("Grid", - argc, - argv, - ACE_TRY_ENV) == -1) - return 1; - else - { - server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::UserException, userex) - { - //ACE_UNUSED_ARG (userex); - ACE_PRINT_EXCEPTION (userex, "User Exception in main"); - return -1; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - //ACE_UNUSED_ARG (sysex); - ACE_PRINT_EXCEPTION (sysex, "System Exception in main "); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Server; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Server -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - diff --git a/TAO/examples/Simple/grid/server.dsp b/TAO/examples/Simple/grid/server.dsp deleted file mode 100644 index 1e0ea7ab05d..00000000000 --- a/TAO/examples/Simple/grid/server.dsp +++ /dev/null @@ -1,209 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Grid Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Grid Server - Win32 Release -!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 "server.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 "server.mak" CFG="Simple Grid Server - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Grid Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Grid Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Grid Server - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\server\Release" -# PROP BASE Intermediate_Dir ".\server\Release" -# PROP BASE Target_Dir ".\server" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir ".\server" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Grid Server - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\server\Debug" -# PROP BASE Intermediate_Dir ".\server\Debug" -# PROP BASE Target_Dir ".\server" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir ".\server" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Simple Grid Server - Win32 Release" -# Name "Simple Grid Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\Grid_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\GridC.cpp -# End Source File -# Begin Source File - -SOURCE=.\GridS.cpp -# End Source File -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Grid_i.h -# End Source File -# Begin Source File - -SOURCE=.\Server_i.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter ".idl" -# Begin Source File - -SOURCE=.\Grid.idl - -!IF "$(CFG)" == "Simple Grid Server - Win32 Release" - -# PROP Ignore_Default_Tool 1 -USERDEP__GRID_="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Grid.idl -InputName=Grid - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 -Gd $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Grid Server - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__GRID_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Grid.idl -InputName=Grid - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 -Gd $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/time-date/Makefile b/TAO/examples/Simple/time-date/Makefile deleted file mode 100644 index 6de0cce40b0..00000000000 --- a/TAO/examples/Simple/time-date/Makefile +++ /dev/null @@ -1,2852 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -LIBNAME = libTime_Date -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) - -FILES = Time_Date Time_Date_i Time_DateS Time_DateC -LSRC = $(addsuffix .cpp,$(FILES)) - -LDLIBS = -lorbsvcs -lTAO -LIBS = $(LDLIBS) - -IDL_SRC = Time_DateC.cpp Time_DateS.cpp - -PROG_SRCS = client.cpp \ - server.cpp \ - Time_Date_i.cpp \ - Time_Date_Client_i.cpp \ - ../Simple_util.cpp - -SRC = $(IDL_SRC) $(PROG_SRCS) - -SIMPLE_CLT_OBJS = Time_DateC.o \ - Time_DateS.o \ - client.o \ - ../Simple_util.o \ - Time_Date_Client_i.o -SIMPLE_SVR_OBJS = server.o \ - ../Simple_util.o -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = server \ - client - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Naming - -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(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 -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/Naming_Service -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -.PRECIOUS: $(foreach ext, $(IDL_EXT), Time_Date$(ext)) - -server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS)) $(SHLIB) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -$(BIN): - -realclean: clean - -$(RM) $(foreach ext, $(IDL_EXT), Time_Date$(ext)) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Time_Date.o .obj/Time_Date.so .shobj/Time_Date.o .shobj/Time_Date.so: Time_Date.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - Time_Date.h Time_Date_i.h Time_DateS.h Time_DateC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Time_DateC.i Time_DateS_T.h Time_DateS_T.i Time_DateS_T.cpp \ - Time_DateS.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp -.obj/Time_Date_i.o .obj/Time_Date_i.so .shobj/Time_Date_i.o .shobj/Time_Date_i.so: Time_Date_i.cpp Time_Date_i.h Time_DateS.h Time_DateC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Time_DateC.i Time_DateS_T.h Time_DateS_T.i Time_DateS_T.cpp \ - Time_DateS.i -.obj/Time_DateS.o .obj/Time_DateS.so .shobj/Time_DateS.o .shobj/Time_DateS.so: Time_DateS.cpp Time_DateS.h Time_DateC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Time_DateC.i Time_DateS_T.h Time_DateS_T.i Time_DateS_T.cpp \ - Time_DateS.i -.obj/Time_DateC.o .obj/Time_DateC.so .shobj/Time_DateC.o .shobj/Time_DateC.so: Time_DateC.cpp Time_DateC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Time_DateC.i -.obj/Time_DateC.o .obj/Time_DateC.so .shobj/Time_DateC.o .shobj/Time_DateC.so: Time_DateC.cpp Time_DateC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Time_DateC.i -.obj/Time_DateS.o .obj/Time_DateS.so .shobj/Time_DateS.o .shobj/Time_DateS.so: Time_DateS.cpp Time_DateS.h Time_DateC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Time_DateC.i Time_DateS_T.h Time_DateS_T.i Time_DateS_T.cpp \ - Time_DateS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp Time_Date_Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp Time_DateC.h Time_DateC.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 -.obj/Time_Date_i.o .obj/Time_Date_i.so .shobj/Time_Date_i.o .shobj/Time_Date_i.so: Time_Date_i.cpp Time_Date_i.h Time_DateS.h Time_DateC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - Time_DateC.i Time_DateS_T.h Time_DateS_T.i Time_DateS_T.cpp \ - Time_DateS.i -.obj/Time_Date_Client_i.o .obj/Time_Date_Client_i.so .shobj/Time_Date_Client_i.o .shobj/Time_Date_Client_i.so: Time_Date_Client_i.cpp Time_Date_Client_i.h \ - ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp Time_DateC.h Time_DateC.i -.obj/Simple_util.o .obj/Simple_util.so .shobj/Simple_util.o .shobj/Simple_util.so: ../Simple_util.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Simple/time-date/README b/TAO/examples/Simple/time-date/README deleted file mode 100644 index 829cd17a504..00000000000 --- a/TAO/examples/Simple/time-date/README +++ /dev/null @@ -1,11 +0,0 @@ -$Id$ - -This example illustrates how to dynamically link an ORB and servants -into an application via the ACE Service Configurator. It also -illustrates a simple Time & Date class. - -run_test.pl: ------------- - -This perl script runs the server and client and shuts down the server -when it is done. diff --git a/TAO/examples/Simple/time-date/Time_Date.cpp b/TAO/examples/Simple/time-date/Time_Date.cpp deleted file mode 100644 index 3f200cbfba2..00000000000 --- a/TAO/examples/Simple/time-date/Time_Date.cpp +++ /dev/null @@ -1,162 +0,0 @@ -// $Id$ - -#define ACE_BUILD_SVC_DLL -#include "ace/Get_Opt.h" -#include "ace/Dynamic_Service.h" -#include "Time_Date.h" - -int -DLL_ORB::svc (void) -{ - ACE_DEBUG ((LM_DEBUG, - "\n\trunning ORB event loop\n\n")); - - ACE_TRY_NEW_ENV - { - // Run the ORB event loop in its own thread. - this->orb_manager_.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_ENDTRY; - return 0; -} - -int -DLL_ORB::init (int argc, char *argv[]) -{ - ACE_TRY_NEW_ENV - { - ACE_DEBUG ((LM_DEBUG, - "\n\tInitialize ORB\n\n")); - - // Initialize the ORB. - this->orb_manager_.init (argc, - argv, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Become an Active Object so that the ORB - // will execute in a separate thread. - return this->activate (); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "DLL_ORB::init"); - } - ACE_ENDTRY; - return -1; -} - -int -DLL_ORB::fini (void) -{ - return 0; -} - -int -Time_Date_Servant::parse_args (int argc, char *argv[]) -{ - ACE_Get_Opt get_opts (argc, argv, "dn:o:"); - int c = 0; - - this->orb_ = "ORB"; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; - break; - case 'o': // output the IOR to a file. - this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w"); - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - get_opts.optarg), -1); - break; - // Find the ORB in the Service Repository. - case 'n': - this->orb_ = get_opts.optarg; - break; - case '?': // display help for use of the server. - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-o] " - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -int -Time_Date_Servant::init (int argc, char *argv[]) -{ - ACE_TRY_NEW_ENV - { - ACE_DEBUG ((LM_DEBUG, - "\n\tTime_Date servant\n\n")); - - this->parse_args (argc, argv); - - DLL_ORB *orb = - ACE_Dynamic_Service::instance (this->orb_); - - if (orb == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "can't find %s in the Service Repository\n", - this->orb_), - -1); - - CORBA::String_var str = orb->orb_manager_.activate (&servant_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (this->ior_output_file_) - { - ACE_OS::fprintf (this->ior_output_file_, - "%s", - str.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "DLL_ORB::init"); - return -1; - } - ACE_ENDTRY; - return 0; -} - -// The following Factory is used by the and -// dll_orb.conf file to dynamically initialize the state of the -// Time_Date service. -ACE_SVC_FACTORY_DEFINE (DLL_ORB) -ACE_SVC_FACTORY_DEFINE (Time_Date_Servant) - - -# if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class ACE_Dynamic_Service; - -# elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate ACE_Dynamic_Service - -# endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simple/time-date/Time_Date.dsp b/TAO/examples/Simple/time-date/Time_Date.dsp deleted file mode 100644 index 2fd73c06a80..00000000000 --- a/TAO/examples/Simple/time-date/Time_Date.dsp +++ /dev/null @@ -1,229 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Time Date Library" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=Simple Time Date Library - 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 "Time_Date.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 "Time_Date.mak" CFG="Simple Time Date Library - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Time Date Library - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "Simple Time Date Library - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "Desktop" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Time Date Library - 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 "Release" -# PROP Intermediate_Dir "Release" -# 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 "TIME_DATE_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\.." /I "..\..\..\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TIME_DATE_EXPORTS" /YX /FD /c -# 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 ace.lib TAO.lib orbsvcs.lib /nologo /dll /machine:I386 /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Time Date Library - 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 "Debug" -# 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 "TIME_DATE_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "_USRDLL" /D "TIME_DATE_EXPORTS" /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 aced.lib TAOd.lib orbsvcsd.lib /nologo /dll /debug /machine:I386 /out:"Time_Dated.dll" /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Simple Time Date Library - Win32 Release" -# Name "Simple Time Date Library - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\Time_Date.cpp -# End Source File -# Begin Source File - -SOURCE=.\Time_Date_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Time_DateC.cpp -# End Source File -# Begin Source File - -SOURCE=.\Time_DateS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\Time_Date_i.h -# End Source File -# Begin Source File - -SOURCE=.\Time_DateC.h -# End Source File -# Begin Source File - -SOURCE=.\Time_DateS.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "*.idl" -# Begin Source File - -SOURCE=.\Time_Date.idl - -!IF "$(CFG)" == "Simple Time Date Library - Win32 Release" - -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL compiler on $(InputPath) -InputPath=.\Time_Date.idl -InputName=Time_Date - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Time Date Library - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL compiler on $(InputPath) -InputPath=.\Time_Date.idl -InputName=Time_Date - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter "*.i" -# Begin Source File - -SOURCE=.\Time_DateC.i -# End Source File -# Begin Source File - -SOURCE=.\Time_DateS.i -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/time-date/Time_Date.dsw b/TAO/examples/Simple/time-date/Time_Date.dsw deleted file mode 100644 index 2cf0c108818..00000000000 --- a/TAO/examples/Simple/time-date/Time_Date.dsw +++ /dev/null @@ -1,59 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Simple Time Date Client"=".\client.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name Simple Time Date Library - End Project Dependency -}}} - -############################################################################### - -Project: "Simple Time Date Library"=".\Time_Date.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Time Date Server"=".\server.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name Simple Time Date Library - End Project Dependency -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Simple/time-date/Time_Date.h b/TAO/examples/Simple/time-date/Time_Date.h deleted file mode 100644 index e10e06c12bf..00000000000 --- a/TAO/examples/Simple/time-date/Time_Date.h +++ /dev/null @@ -1,54 +0,0 @@ -// $Id$ - -#include "Time_Date_i.h" -#include "tao/TAO.h" -#include "ace/Task.h" - -class ACE_Svc_Export DLL_ORB : public ACE_Task_Base -{ - // = TITLE - // Define a class that dynamically links an ORB into a server - // process via the . -public: - virtual int init (int argc, char *argv[]); - // Initialize the . - - virtual int fini (void); - // Shutdown the . - - virtual int svc (void); - // Concurrency hook. - - TAO_ORB_Manager orb_manager_; - // ORB manager. -}; - -class ACE_Svc_Export Time_Date_Servant : public ACE_Service_Object -{ - // = TITLE - // Define a class that dynamically links the Time_Date service - // into a server process via the . Note - // that this assumes the ORB has been linked previously. -public: - virtual int init (int argc, char *argv[]); - // Initialize the servant. - - int parse_args (int argc, char *argv[]); - // Parse the "command-line" arguments. - -private: - Time_Date_i servant_; - // Servant for the object. - - FILE *ior_output_file_; - // File where the IOR of the server object is stored. - - const char *orb_; - // Name of the ORB we're linking dynamically. -}; - -// The following Factory is used by the and -// dll_orb.conf file to dynamically initialize the state of the -// Time_Date service. -ACE_SVC_FACTORY_DECLARE (DLL_ORB) -ACE_SVC_FACTORY_DECLARE (Time_Date_Servant) diff --git a/TAO/examples/Simple/time-date/Time_Date.idl b/TAO/examples/Simple/time-date/Time_Date.idl deleted file mode 100644 index 842d6060752..00000000000 --- a/TAO/examples/Simple/time-date/Time_Date.idl +++ /dev/null @@ -1,14 +0,0 @@ -// -*- C++ -*- -// $Id$ - -interface Time_Date -{ - // = TITLE - // IDL schema definition for Time and Date interface. - - void bin_date (out long time_date); - // Obtain the time and date in binary format. - - void str_date (out string time_date); - // Obtain the time and date in string format. -}; diff --git a/TAO/examples/Simple/time-date/Time_Date_Client_i.cpp b/TAO/examples/Simple/time-date/Time_Date_Client_i.cpp deleted file mode 100644 index d99e82b091f..00000000000 --- a/TAO/examples/Simple/time-date/Time_Date_Client_i.cpp +++ /dev/null @@ -1,89 +0,0 @@ -//$Id$ - -#include "Time_Date_Client_i.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" - -// This is the interface program that accesses the remote object - -// Constructor. -Time_Date_Client_i::Time_Date_Client_i (void) -{ - // no-op -} - -//Destructor. -Time_Date_Client_i::~Time_Date_Client_i (void) -{ - // no-op -} - -int -Time_Date_Client_i::parse_args (int, - char *[]) -{ - return 0; -} - -int -Time_Date_Client_i::run (const char *name, - int argc, - char *argv[]) -{ - // Initialize the client. - if (client_.init (name, argc, argv) == -1) - return -1; - - if (this->parse_args (argc, argv) == -1) - return -1; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - CORBA::Long l; - - // Get the time & date in binary format. - client_->bin_date (l, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) Binary time_date = %d\n", - l)); - - // Get the time & date in string format. - CORBA::String_var str_var; - client_->str_date (str_var.out(), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) String time_date = %s\n", - str_var.in())); - - client_.shutdown (); - } - ACE_CATCH (CORBA::UserException, range_ex) - { - ACE_PRINT_EXCEPTION (range_ex, - "\tFrom get and set time_date"); - return -1; - } - ACE_CATCH (CORBA::SystemException, memex) - { - ACE_PRINT_EXCEPTION (memex, - "Cannot make time_date"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Client; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Client -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simple/time-date/Time_Date_Client_i.h b/TAO/examples/Simple/time-date/Time_Date_Client_i.h deleted file mode 100644 index 98d8858d38a..00000000000 --- a/TAO/examples/Simple/time-date/Time_Date_Client_i.h +++ /dev/null @@ -1,53 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Simple/time-date -// -// = FILENAME -// Time_Date_Client_i.h -// -// = DESCRIPTION -// This class implements the interface calls for RMI. -// -// = AUTHOR -// Douglas C. Schmidt -// -// ============================================================================ - -#ifndef TIME_DATE_CLIENT_I_H -#define TIME_DATE_CLIENT_I_H - -#include "../Simple_util.h" -#include "Time_DateC.h" - -class Time_Date_Client_i -{ - // = TITLE - // Time_Date_Client interface adapter. - // - // = DESCRIPTION - // This class implements the interface between the interface - // objects and the client. -public: - // = Initialization and termination methods. - Time_Date_Client_i (void); - // Constructor - - virtual ~Time_Date_Client_i (void); - // Destructor - - virtual int run (const char *, int, char *[]); - // Execute the methods. - - virtual int parse_args (int argc, char *argv[]); - // Parses the command line arguments. - -private: - Client client_; - // Instantiate the client object. -}; - -#endif /* TIME_CLIENT_I_H */ diff --git a/TAO/examples/Simple/time-date/Time_Date_i.cpp b/TAO/examples/Simple/time-date/Time_Date_i.cpp deleted file mode 100644 index b65fcbf3705..00000000000 --- a/TAO/examples/Simple/time-date/Time_Date_i.cpp +++ /dev/null @@ -1,47 +0,0 @@ -// -*- C++ -*- -// $Id$ - -#include "Time_Date_i.h" -#include "tao/corba.h" - -// Default constructor. - -Time_Date_i::Time_Date_i (void) -{ - //no-op -} - -// Default destructor. - -Time_Date_i::~Time_Date_i (void) -{ - // no-op. -} - -// Obtain the time and date in binary format. - -void -Time_Date_i::bin_date (CORBA::Long_out time_date, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - time_date = ACE_OS::time (0); -} - -// Obtain the time and date in string format. - -void -Time_Date_i::str_date (CORBA::String_out time_date, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - const time_t time = ACE_OS::time (0); - - time_date = CORBA::string_dup (ACE_OS::ctime (&time)); -} - -void -Time_Date_i::orb (CORBA::ORB_ptr orb_ptr) -{ - orb_var_ = CORBA::ORB::_duplicate (orb_ptr); -} diff --git a/TAO/examples/Simple/time-date/Time_Date_i.h b/TAO/examples/Simple/time-date/Time_Date_i.h deleted file mode 100644 index 6c4f1028f9d..00000000000 --- a/TAO/examples/Simple/time-date/Time_Date_i.h +++ /dev/null @@ -1,60 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Simple/time_date -// -// = FILENAME -// Time_Date_i.h -// -// = DESCRIPTION -// This class implements the Time_Date IDL interface. -// -// = AUTHOR -// Douglas C. Schmidt and Michael Kircher. -// -// ============================================================================ - -#ifndef TIME_DATE_I_H -#define TIME_DATE_I_H - -#include "Time_DateS.h" - -class Time_Date_i: public POA_Time_Date -{ - // = TITLE - // Time_Date object implementation. - // - // = DESCRIPTION - // Time_Date object implementation -public: - // = Initialization and termination methods. - - Time_Date_i (void); - // Constructor - - ~Time_Date_i (void); - // Destructor - - virtual void bin_date (CORBA::Long_out time_date, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Obtain the time and date in binary format. - - virtual void str_date (CORBA::String_out time_date, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Obtain the time and date in string format. - - void orb (CORBA::ORB_ptr orb_ptr); - // ORB pointer. - -private: - CORBA::ORB_var orb_var_; - // ORB pointer. -}; - -#endif /* TIME_DATE_I_H */ diff --git a/TAO/examples/Simple/time-date/client.cpp b/TAO/examples/Simple/time-date/client.cpp deleted file mode 100644 index 78abef455e9..00000000000 --- a/TAO/examples/Simple/time-date/client.cpp +++ /dev/null @@ -1,20 +0,0 @@ -// $Id$ - -# include "Time_Date_Client_i.h" - -// The client program for the application. - -int -main (int argc, char *argv[]) -{ - Time_Date_Client_i client; - - - ACE_DEBUG ((LM_DEBUG, - "\nTime_Date client\n\n")); - - if (client.run ("Time_Date", argc, argv) == -1) - return -1; - else - return 0; -} diff --git a/TAO/examples/Simple/time-date/client.dsp b/TAO/examples/Simple/time-date/client.dsp deleted file mode 100644 index 32fb99dbb90..00000000000 --- a/TAO/examples/Simple/time-date/client.dsp +++ /dev/null @@ -1,123 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Time Date Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Time Date Client - 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 "client.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 "client.mak" CFG="Simple Time Date Client - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Time Date Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Time Date Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "Desktop" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Time Date Client - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\orbsvcs" /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 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 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Time Date Client - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "client___Win32_Debug" -# PROP BASE Intermediate_Dir "client___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\.." /I "..\..\..\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 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 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Simple Time Date Client - Win32 Release" -# Name "Simple Time Date Client - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\Time_Date_Client_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Time_DateC.cpp -# End Source File -# Begin Source File - -SOURCE=.\Time_DateS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\Time_Date_Client_i.h -# End Source File -# End Group -# Begin Source File - -SOURCE=.\Time_DateC.i -# End Source File -# Begin Source File - -SOURCE=.\Time_DateS.i -# End Source File -# End Target -# End Project diff --git a/TAO/examples/Simple/time-date/run_test.pl b/TAO/examples/Simple/time-date/run_test.pl deleted file mode 100755 index db51575ab5e..00000000000 --- a/TAO/examples/Simple/time-date/run_test.pl +++ /dev/null @@ -1,40 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -use lib "../../../../bin"; -require ACEutils; -require Process; - -$status = 0; -$iorfile = "./ior"; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", ""); - -if (ACE::waitforfile_timed ($iorfile, 5) == -1) { - print STDERR "ERROR: timedout waiting for file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$CL = Process::Create ($EXEPREFIX."client$EXE_EXT", - "-f $iorfile -ORBSkipServiceConfigOpen"); - -if ($CL->TimedWait (60) == -1) { - print STDERR "ERROR: client timedout\n"; - $status = 1; - $CL->Kill (); $CL->TimedWait (1); -} - -$SV->Terminate (); if ($SV->TimedWait (5) == -1) { - print STDERR "ERROR: cannot terminate the server\n"; - $SV->Kill (); $SV->TimedWait (1); - $status = 1; -} - -unlink $iorfile; - -exit $status; diff --git a/TAO/examples/Simple/time-date/server.cpp b/TAO/examples/Simple/time-date/server.cpp deleted file mode 100644 index 9745d8c64e3..00000000000 --- a/TAO/examples/Simple/time-date/server.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// examples/Simple/time-date -// -// = FILENAME -// server.cpp -// -// = DESCRIPTION -// This directory contains an example that illustrates how the ACE -// Service Configurator can dynamically configure an ORB and its -// servants from a svc.conf file. -// -// = AUTHOR -// Doug Schmidt -// -// ============================================================================ - -#include "ace/Service_Config.h" - -ACE_RCSID(Misc, main, "$Id$") - -int -main (int argc, ASYS_TCHAR *argv[]) -{ - if (ACE_Service_Config::open (argc, argv) == -1 && errno != ENOENT) - ACE_ERROR_RETURN ((LM_ERROR, - ASYS_TEXT ("%p\n"), - ASYS_TEXT ("open")), - 1); - - // Run forever, performing the configured services until we - // shutdown. - ACE_Reactor::run_event_loop (); - return 0; -} diff --git a/TAO/examples/Simple/time-date/server.dsp b/TAO/examples/Simple/time-date/server.dsp deleted file mode 100644 index e4de7943d91..00000000000 --- a/TAO/examples/Simple/time-date/server.dsp +++ /dev/null @@ -1,99 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Time Date Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Time Date Server - 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 "server.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 "server.mak" CFG="Simple Time Date Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Time Date Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Time Date Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "Desktop" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Time Date Server - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\.." /I "..\..\..\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 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 ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Time Date Server - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "server___Win32_Debug" -# PROP BASE Intermediate_Dir "server___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 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 aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Simple Time Date Server - Win32 Release" -# Name "Simple Time Date Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/time-date/svc.conf b/TAO/examples/Simple/time-date/svc.conf deleted file mode 100644 index b91b9520b11..00000000000 --- a/TAO/examples/Simple/time-date/svc.conf +++ /dev/null @@ -1,5 +0,0 @@ -# Dynamically configure the ORB into the application process. -dynamic ORB Service_Object * ./Time_Date:_make_DLL_ORB() "dummy -ORBSkipServiceConfigOpen" - -# Once the ORB is configured, dynamically configure the Time_Date service. -dynamic Time_Date_Servant Service_Object * ./Time_Date:_make_Time_Date_Servant() "dummy -n ORB -o ior" diff --git a/TAO/examples/Simple/time/Makefile b/TAO/examples/Simple/time/Makefile deleted file mode 100644 index 43dd4327d32..00000000000 --- a/TAO/examples/Simple/time/Makefile +++ /dev/null @@ -1,2014 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -LDLIBS = -lorbsvcs -lTAO - -IDL_SRC = TimeC.cpp TimeS.cpp - -PROG_SRCS = \ - client.cpp \ - server.cpp \ - Time_i.cpp \ - Time_Client_i.cpp \ - ../Simple_util.cpp - -SRC = $(IDL_SRC) $(PROG_SRCS) - -SIMPLE_CLT_OBJS = \ - TimeC.o \ - TimeS.o \ - client.o \ - ../Simple_util.o \ - Time_Client_i.o -SIMPLE_SVR_OBJS = \ - TimeC.o \ - TimeS.o \ - Time_i.o \ - server.o \ - ../Simple_util.o - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = server \ - client - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Naming - -TAO_IDLFLAGS += -Ge 1 -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/Naming_Service -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -.PRECIOUS: TimeC.cpp TimeC.i TimeC.h -.PRECIOUS: TimeS.cpp TimeS.i TimeS.h -.PRECIOUS: TimeS_T.cpp TimeS_T.i TimeS_T.h - -server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) -rf TimeC.* TimeS.* TimeS_T.* - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/TimeC.o .obj/TimeC.so .shobj/TimeC.o .shobj/TimeC.so: TimeC.cpp TimeC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - TimeC.i -.obj/TimeS.o .obj/TimeS.so .shobj/TimeS.o .shobj/TimeS.so: TimeS.cpp TimeS.h TimeC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - TimeC.i TimeS_T.h TimeS_T.i TimeS_T.cpp TimeS.i -.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp Time_Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp TimeC.h TimeC.i -.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp Time_i.h TimeS.h TimeC.h TimeC.i TimeS_T.h \ - TimeS_T.i TimeS_T.cpp TimeS.i -.obj/Time_i.o .obj/Time_i.so .shobj/Time_i.o .shobj/Time_i.so: Time_i.cpp Time_i.h TimeS.h TimeC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - TimeC.i TimeS_T.h TimeS_T.i TimeS_T.cpp TimeS.i -.obj/Time_Client_i.o .obj/Time_Client_i.so .shobj/Time_Client_i.o .shobj/Time_Client_i.so: Time_Client_i.cpp Time_Client_i.h ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp TimeC.h TimeC.i -.obj/Simple_util.o .obj/Simple_util.so .shobj/Simple_util.o .shobj/Simple_util.so: ../Simple_util.cpp ../Simple_util.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - ../Simple_util.cpp - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Simple/time/Makefile.bor b/TAO/examples/Simple/time/Makefile.bor deleted file mode 100644 index 270f4ed8322..00000000000 --- a/TAO/examples/Simple/time/Makefile.bor +++ /dev/null @@ -1,10 +0,0 @@ -# -# Makefile for building the Time example -# - -!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor> - -all: - $(MAKE) -f Time_Client.bor $(FLAGS) - $(MAKE) -f Time_Server.bor $(FLAGS) - diff --git a/TAO/examples/Simple/time/README b/TAO/examples/Simple/time/README deleted file mode 100644 index c80a08a651d..00000000000 --- a/TAO/examples/Simple/time/README +++ /dev/null @@ -1,59 +0,0 @@ -$Id$ - -This is a simple CORBA example that has an object (Time) with only two -methods, one that returns the current time of day and another that shuts -down the server. - -server: -------- - -server [-d] [-o ] - -Options: -------- --o Outputs the server ior to the file - -When the server is started, you should see as the first line of output -something that looks like - iiop:1.0//danzon.cs.wustl.edu:10015/P35ad159600081a38/child_poa/server - (-ORBobjrefstyle url) -or - IOR:000000000000001649444c3a43756269745... - (-ORBobjrefstyle ior) - -The -o option makes it easier to run from a script because the ior -passing is done through the . - --d Debug flag --n Use the naming service - -Using -d turns on debugging messages. This option is additive, i.e., -the more -d options provided, the more debugging you can get. At the -moment, only 2 levels of debugging are implemented, and more than 2 -d -options are ignored. - -client: -------- - -client [-d] [-x] [-f ] [-n iterations] [-k ior] - -Options: -------- --d Debug flag --x Tells the server to shutdown at the end of the test. --f Reads the server ior from the file --n Use the naming service --k IOR or The IOR can also be given in the format like file://[file.ior] - with the full path - -You can either cut and paste the IOR from the server to the client -(with the -k option), or have the client read the IOR from a file -using the -f option. (This file is produced using the -o option with the -server.) - -run_test.pl: ------------- - -This is a perl script which runs both the server and client and shuts down -the everything when it is done. - diff --git a/TAO/examples/Simple/time/Time.dsw b/TAO/examples/Simple/time/Time.dsw deleted file mode 100644 index 3e0a0486fc6..00000000000 --- a/TAO/examples/Simple/time/Time.dsw +++ /dev/null @@ -1,65 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Simple Client"=.\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Client Static"=.\client_static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Server"=.\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Server Static"=.\server_static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Simple/time/Time.idl b/TAO/examples/Simple/time/Time.idl deleted file mode 100644 index ffbdc5cc49c..00000000000 --- a/TAO/examples/Simple/time/Time.idl +++ /dev/null @@ -1,15 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -interface Time -{ - // = TITLE - // Defines an interface that encapsulates operations that - // return the current time of day and shuts down the server. - - long time (); - // Returns the current time of day on another machine. - - oneway void shutdown (); - // Shutdown the application. -}; diff --git a/TAO/examples/Simple/time/Time_Client.bor b/TAO/examples/Simple/time/Time_Client.bor deleted file mode 100644 index 02c576ca036..00000000000 --- a/TAO/examples/Simple/time/Time_Client.bor +++ /dev/null @@ -1,26 +0,0 @@ -# -# Makefile for building the Time example -# - -NAME = Time_Client - -OBJFILES = \ - $(OBJDIR)\TimeC.obj \ - $(OBJDIR)\TimeS.obj \ - $(OBJDIR)\Time_Client_i.obj \ - $(OBJDIR)\Simple_util.obj \ - $(OBJDIR)\client.obj - -CPPDIR = .;.. - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\TimeC.cpp $(IDLDIR)\TimeS.cpp: $(IDLDIR)\Time.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Simple/time/Time_Client_i.cpp b/TAO/examples/Simple/time/Time_Client_i.cpp deleted file mode 100644 index 7b355c10be8..00000000000 --- a/TAO/examples/Simple/time/Time_Client_i.cpp +++ /dev/null @@ -1,68 +0,0 @@ -//$Id$ - -#include "Time_Client_i.h" - -// This is the interface program that accesses the remote object - -// Constructor. -Time_Client_i::Time_Client_i (void) -{ - //no-op -} - -//Destructor. -Time_Client_i::~Time_Client_i (void) -{ - //no-op -} - -int -Time_Client_i::run (const char *name, - int argc, - char *argv[]) -{ - // Initialize the client. - if (client.init (name, argc, argv) == -1) - return -1; - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - //Make the RMI. - CORBA::Long timedate = client->time (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Print out value - char *ascii_timedate = - ACE_OS::ctime (ACE_reinterpret_cast (time_t *, - &timedate)); - ACE_DEBUG ((LM_DEBUG, - "string time is %s\n", - ascii_timedate)); - - if (client.shutdown () == 1) - client->shutdown (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "\tException"); - return -1; - } - ACE_ENDTRY; - - - return 0; -} - - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class Client; - -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate Client - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simple/time/Time_Client_i.h b/TAO/examples/Simple/time/Time_Client_i.h deleted file mode 100644 index bcc10974969..00000000000 --- a/TAO/examples/Simple/time/Time_Client_i.h +++ /dev/null @@ -1,52 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Simple/time -// -// = FILENAME -// Time_Client_i.h -// -// = DESCRIPTION -// This class implements the interface calls for RMI. -// -// = AUTHOR -// -// Balachandran Natarajan -// -// ============================================================================ - -#ifndef TIME_CLIENT_I_H -#define TIME_CLIENT_I_H - -#include "../Simple_util.h" -#include "TimeC.h" - -class Time_Client_i -{ - // = TITLE - // Time_Client interface subclass. - // - // = DESCRIPTION - // This class implements the interface between the interface - // objects and the client . -public: - // = Initialization and termination methods. - Time_Client_i (void); - // Constructor - - virtual ~Time_Client_i (void); - // Destructor - - virtual int run (const char *,int, char** ); - // Execute the methods - -private: - Client client; - // Instantiate the client object. -}; - - -#endif /* TIME_CLIENT_I_H */ diff --git a/TAO/examples/Simple/time/Time_Server.bor b/TAO/examples/Simple/time/Time_Server.bor deleted file mode 100644 index 75f37ddc927..00000000000 --- a/TAO/examples/Simple/time/Time_Server.bor +++ /dev/null @@ -1,26 +0,0 @@ -# -# Makefile for building the Time example -# - -NAME = Time_Server - -OBJFILES = \ - $(OBJDIR)\TimeC.obj \ - $(OBJDIR)\TimeS.obj \ - $(OBJDIR)\Time_i.obj \ - $(OBJDIR)\Simple_util.obj \ - $(OBJDIR)\server.obj - -CPPDIR = .;.. - -IDLDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> - -# -# IDL Build rules -# - -$(IDLDIR)\TimeC.cpp $(IDLDIR)\TimeS.cpp: $(IDLDIR)\Time.idl - $(TAO_IDL) $** - diff --git a/TAO/examples/Simple/time/Time_i.cpp b/TAO/examples/Simple/time/Time_i.cpp deleted file mode 100644 index 120cba137c8..00000000000 --- a/TAO/examples/Simple/time/Time_i.cpp +++ /dev/null @@ -1,57 +0,0 @@ -// $Id$ - -#include "Time_i.h" - -ACE_RCSID(Time, Time_i, "$Id$") - -// Constructor -Time_i::Time_i (void) -{ - // no-op -} - -// Copy Constructor -Time_i::Time_i (Time_i &t) - : POA_Time (t) -{ - // no-op -} - -// Destructor - -Time_i::~Time_i (void) -{ - // no-op -} - -// Set the ORB pointer. - -void -Time_i::orb (CORBA::ORB_ptr o) -{ - this->orb_ = CORBA::ORB::_duplicate (o); -} - -// Return the current date/time on the server. - -CORBA::Long -Time_i::time (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return CORBA::Long (ACE_OS::time (0)); -} - -// Shutdown. - -void -Time_i::shutdown (CORBA::Environment & ) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "%s\n", - "Time_i is shutting down")); - - // Instruct the ORB to shutdown. - this->orb_->shutdown (); -} - diff --git a/TAO/examples/Simple/time/Time_i.h b/TAO/examples/Simple/time/Time_i.h deleted file mode 100644 index 0091d2ea09f..00000000000 --- a/TAO/examples/Simple/time/Time_i.h +++ /dev/null @@ -1,65 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/Simple/time -// -// = FILENAME -// Time_i.h -// -// = DESCRIPTION -// This class implements the Time IDL interface. -// -// = AUTHOR -// Darrell Brunsch -// -// ============================================================================ - -#ifndef TIME_I_H -#define TIME_I_H - -#include "TimeS.h" - -class Time_i: public POA_Time -{ - // = TITLE - // Time Object Implementation - // - // = DESCRIPTION - // Implementation of a simple object that has two methods, one that - // return the current time/date on the server and the other that - // shuts down the server. -public: - // = Initialization and termination methods. - Time_i (void); - // Constructor - - Time_i (Time_i &); - // Copy Constructor added because g++ generates a - // bad one if not defined - - ~Time_i (void); - // Destructor - - virtual CORBA::Long time (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Return the current time/date on the server - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Shutdown the server. - - void orb (CORBA::ORB_ptr o); - // Set the ORB pointer. - -private: - CORBA::ORB_var orb_; - // ORB pointer. -}; - -#endif /* TIME_I_H */ - - diff --git a/TAO/examples/Simple/time/client.cpp b/TAO/examples/Simple/time/client.cpp deleted file mode 100644 index 28eab3cb977..00000000000 --- a/TAO/examples/Simple/time/client.cpp +++ /dev/null @@ -1,23 +0,0 @@ -//$Id$ - -# include "Time_Client_i.h" - -// The client program for the application. - -int -main (int argc, char **argv) -{ - Time_Client_i client; - - - ACE_DEBUG ((LM_DEBUG, - "\n\tTime and date client\n\n")); - - if (client.run ("Time",argc, argv) == -1) - return -1; - else - return 0; - -} - - diff --git a/TAO/examples/Simple/time/client.dsp b/TAO/examples/Simple/time/client.dsp deleted file mode 100644 index cd215a8066f..00000000000 --- a/TAO/examples/Simple/time/client.dsp +++ /dev/null @@ -1,1127 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Time Client" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 -# TARGTYPE "Win32 (ALPHA) Console Application" 0x0603 - -CFG=Simple Time Client - Win32 Alpha 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 "client.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 "client.mak" CFG="Simple Time Client - Win32 Alpha Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Time Client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Time Client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Time Client - Win32 Alpha Debug" (based on "Win32 (ALPHA) Console Application") -!MESSAGE "Simple Time Client - Win32 Alpha Release" (based on "Win32 (ALPHA) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "Simple Time Client - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\client\Release" -# PROP BASE Intermediate_Dir ".\client\Release" -# PROP BASE Target_Dir ".\client" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir ".\client" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\client\Debug" -# PROP BASE Intermediate_Dir ".\client\Debug" -# PROP BASE Target_Dir ".\client" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir ".\client" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 /subsystem:console /debug /machine:I386 -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "client\Alpha Debug" -# PROP BASE Intermediate_Dir "client\Alpha Debug" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "client" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "client" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\..\\ /I" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD ..\..\..\..\\ /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\..\\ /I" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /MDd ..\..\..\..\\ /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 aced.lib TAOd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# ADD LINK32 aced.lib TAOd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "client\Alpha Release" -# PROP BASE Intermediate_Dir "client\Alpha Release" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "client" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "client" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /O2 /I "..\..\..\\ /I" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD ..\..\..\..\\ /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MD /Gt0 /W3 /GX /O2 /I "..\..\..\\ /I" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD ..\..\..\..\\ /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 ace.lib TAO.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# ADD LINK32 ace.lib TAO.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Simple Time Client - Win32 Release" -# Name "Simple Time Client - Win32 Debug" -# Name "Simple Time Client - Win32 Alpha Debug" -# Name "Simple Time Client - Win32 Alpha Release" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\client.cpp - -!IF "$(CFG)" == "Simple Time Client - Win32 Release" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug" - -DEP_CPP_CLIEN=\ - "..\..\..\..\ace\Acceptor.cpp"\ - "..\..\..\..\ace\Acceptor.h"\ - "..\..\..\..\ace\Acceptor.i"\ - "..\..\..\..\ace\ACE.h"\ - "..\..\..\..\ace\ACE.i"\ - "..\..\..\..\ace\Addr.h"\ - "..\..\..\..\ace\Addr.i"\ - "..\..\..\..\ace\Atomic_Op.i"\ - "..\..\..\..\ace\Auto_Ptr.cpp"\ - "..\..\..\..\ace\Auto_Ptr.h"\ - "..\..\..\..\ace\Auto_Ptr.i"\ - "..\..\..\..\ace\Basic_Types.h"\ - "..\..\..\..\ace\Basic_Types.i"\ - "..\..\..\..\ace\config-win32-borland.h"\ - "..\..\..\..\ace\config-win32-common.h"\ - "..\..\..\..\ace\config-win32.h"\ - "..\..\..\..\ace\config-WinCE.h"\ - "..\..\..\..\ace\config.h"\ - "..\..\..\..\ace\Connector.cpp"\ - "..\..\..\..\ace\Connector.h"\ - "..\..\..\..\ace\Connector.i"\ - "..\..\..\..\ace\Containers.cpp"\ - "..\..\..\..\ace\Containers.h"\ - "..\..\..\..\ace\Containers.i"\ - "..\..\..\..\ace\Dynamic.h"\ - "..\..\..\..\ace\Dynamic.i"\ - "..\..\..\..\ace\Dynamic_Service.cpp"\ - "..\..\..\..\ace\Dynamic_Service.h"\ - "..\..\..\..\ace\Event_Handler.h"\ - "..\..\..\..\ace\Event_Handler.i"\ - "..\..\..\..\ace\Free_List.cpp"\ - "..\..\..\..\ace\Free_List.h"\ - "..\..\..\..\ace\Free_List.i"\ - "..\..\..\..\ace\Get_Opt.h"\ - "..\..\..\..\ace\Get_Opt.i"\ - "..\..\..\..\ace\Handle_Set.h"\ - "..\..\..\..\ace\Handle_Set.i"\ - "..\..\..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\..\..\ace\Hash_Map_Manager.h"\ - "..\..\..\..\ace\inc_user_config.h"\ - "..\..\..\..\ace\INET_Addr.h"\ - "..\..\..\..\ace\INET_Addr.i"\ - "..\..\..\..\ace\IO_Cntl_Msg.h"\ - "..\..\..\..\ace\iosfwd.h"\ - "..\..\..\..\ace\IPC_SAP.h"\ - "..\..\..\..\ace\IPC_SAP.i"\ - "..\..\..\..\ace\Log_Msg.h"\ - "..\..\..\..\ace\Log_Priority.h"\ - "..\..\..\..\ace\Log_Record.h"\ - "..\..\..\..\ace\Log_Record.i"\ - "..\..\..\..\ace\Malloc.h"\ - "..\..\..\..\ace\Malloc.i"\ - "..\..\..\..\ace\Malloc_Base.h"\ - "..\..\..\..\ace\Malloc_T.cpp"\ - "..\..\..\..\ace\Malloc_T.h"\ - "..\..\..\..\ace\Malloc_T.i"\ - "..\..\..\..\ace\Managed_Object.cpp"\ - "..\..\..\..\ace\Managed_Object.h"\ - "..\..\..\..\ace\Managed_Object.i"\ - "..\..\..\..\ace\Map_Manager.cpp"\ - "..\..\..\..\ace\Map_Manager.h"\ - "..\..\..\..\ace\Map_Manager.i"\ - "..\..\..\..\ace\Mem_Map.h"\ - "..\..\..\..\ace\Mem_Map.i"\ - "..\..\..\..\ace\Memory_Pool.h"\ - "..\..\..\..\ace\Memory_Pool.i"\ - "..\..\..\..\ace\Message_Block.h"\ - "..\..\..\..\ace\Message_Block.i"\ - "..\..\..\..\ace\Message_Queue.h"\ - "..\..\..\..\ace\Message_Queue.i"\ - "..\..\..\..\ace\Message_Queue_T.cpp"\ - "..\..\..\..\ace\Message_Queue_T.h"\ - "..\..\..\..\ace\Message_Queue_T.i"\ - "..\..\..\..\ace\Module.cpp"\ - "..\..\..\..\ace\Module.h"\ - "..\..\..\..\ace\Module.i"\ - "..\..\..\..\ace\Object_Manager.h"\ - "..\..\..\..\ace\Object_Manager.i"\ - "..\..\..\..\ace\OS.h"\ - "..\..\..\..\ace\OS.i"\ - "..\..\..\..\ace\Reactor.h"\ - "..\..\..\..\ace\Reactor.i"\ - "..\..\..\..\ace\Reactor_Impl.h"\ - "..\..\..\..\ace\Service_Config.h"\ - "..\..\..\..\ace\Service_Config.i"\ - "..\..\..\..\ace\Service_Object.h"\ - "..\..\..\..\ace\Service_Object.i"\ - "..\..\..\..\ace\Service_Repository.h"\ - "..\..\..\..\ace\Service_Repository.i"\ - "..\..\..\..\ace\Service_Types.h"\ - "..\..\..\..\ace\Service_Types.i"\ - "..\..\..\..\ace\Shared_Object.h"\ - "..\..\..\..\ace\Shared_Object.i"\ - "..\..\..\..\ace\Signal.h"\ - "..\..\..\..\ace\Signal.i"\ - "..\..\..\..\ace\Singleton.cpp"\ - "..\..\..\..\ace\Singleton.h"\ - "..\..\..\..\ace\Singleton.i"\ - "..\..\..\..\ace\SOCK.h"\ - "..\..\..\..\ace\SOCK.i"\ - "..\..\..\..\ace\SOCK_Acceptor.h"\ - "..\..\..\..\ace\SOCK_Acceptor.i"\ - "..\..\..\..\ace\SOCK_Connector.h"\ - "..\..\..\..\ace\SOCK_Connector.i"\ - "..\..\..\..\ace\SOCK_IO.h"\ - "..\..\..\..\ace\SOCK_IO.i"\ - "..\..\..\..\ace\SOCK_Stream.h"\ - "..\..\..\..\ace\SOCK_Stream.i"\ - "..\..\..\..\ace\SString.h"\ - "..\..\..\..\ace\SString.i"\ - "..\..\..\..\ace\Strategies.h"\ - "..\..\..\..\ace\Strategies.i"\ - "..\..\..\..\ace\Strategies_T.cpp"\ - "..\..\..\..\ace\Strategies_T.h"\ - "..\..\..\..\ace\Strategies_T.i"\ - "..\..\..\..\ace\Stream_Modules.cpp"\ - "..\..\..\..\ace\Stream_Modules.h"\ - "..\..\..\..\ace\Stream_Modules.i"\ - "..\..\..\..\ace\streams.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\..\..\ace\Svc_Handler.cpp"\ - "..\..\..\..\ace\Svc_Handler.h"\ - "..\..\..\..\ace\Svc_Handler.i"\ - "..\..\..\..\ace\Synch.h"\ - "..\..\..\..\ace\Synch.i"\ - "..\..\..\..\ace\Synch_Options.h"\ - "..\..\..\..\ace\Synch_Options.i"\ - "..\..\..\..\ace\Synch_T.cpp"\ - "..\..\..\..\ace\Synch_T.h"\ - "..\..\..\..\ace\Synch_T.i"\ - "..\..\..\..\ace\Task.h"\ - "..\..\..\..\ace\Task.i"\ - "..\..\..\..\ace\Task_T.cpp"\ - "..\..\..\..\ace\Task_T.h"\ - "..\..\..\..\ace\Task_T.i"\ - "..\..\..\..\ace\Thread.h"\ - "..\..\..\..\ace\Thread.i"\ - "..\..\..\..\ace\Thread_Manager.h"\ - "..\..\..\..\ace\Thread_Manager.i"\ - "..\..\..\..\ace\Time_Value.h"\ - "..\..\..\..\ace\Timer_Queue.h"\ - "..\..\..\..\ace\Timer_Queue_T.cpp"\ - "..\..\..\..\ace\Timer_Queue_T.h"\ - "..\..\..\..\ace\Timer_Queue_T.i"\ - "..\..\..\..\ace\Trace.h"\ - "..\..\..\..\ace\WFMO_Reactor.h"\ - "..\..\..\..\ace\WFMO_Reactor.i"\ - "..\..\..\..\ace\ws2tcpip.h"\ - "..\..\..\tao\Any.h"\ - "..\..\..\tao\Any.i"\ - "..\..\..\tao\CDR.h"\ - "..\..\..\tao\CDR.i"\ - "..\..\..\tao\CDR_Interpreter.h"\ - "..\..\..\tao\Client_Strategy_Factory.h"\ - "..\..\..\tao\Connect.h"\ - "..\..\..\tao\Connect.i"\ - "..\..\..\tao\corba.h"\ - "..\..\..\tao\CurrentC.h"\ - "..\..\..\tao\CurrentC.i"\ - "..\..\..\tao\debug.h"\ - "..\..\..\tao\default_client.h"\ - "..\..\..\tao\default_client.i"\ - "..\..\..\tao\default_server.h"\ - "..\..\..\tao\default_server.i"\ - "..\..\..\tao\Environment.h"\ - "..\..\..\tao\Environment.i"\ - "..\..\..\tao\Exception.h"\ - "..\..\..\tao\Exception.i"\ - "..\..\..\tao\GIOP.h"\ - "..\..\..\tao\GIOP.i"\ - "..\..\..\tao\Invocation.h"\ - "..\..\..\tao\Invocation.i"\ - "..\..\..\tao\Marshal.h"\ - "..\..\..\tao\Marshal.i"\ - "..\..\..\tao\NVList.h"\ - "..\..\..\tao\NVList.i"\ - "..\..\..\tao\Object.h"\ - "..\..\..\tao\Object.i"\ - "..\..\..\tao\Object_KeyC.h"\ - "..\..\..\tao\Object_KeyC.i"\ - "..\..\..\tao\Operation_Table.h"\ - "..\..\..\tao\ORB.h"\ - "..\..\..\tao\ORB.i"\ - "..\..\..\tao\ORB_Core.h"\ - "..\..\..\tao\ORB_Core.i"\ - "..\..\..\tao\ORB_Strategies_T.cpp"\ - "..\..\..\tao\ORB_Strategies_T.h"\ - "..\..\..\tao\ORB_Strategies_T.i"\ - "..\..\..\tao\orbconf.h"\ - "..\..\..\tao\params.h"\ - "..\..\..\tao\params.i"\ - "..\..\..\tao\POA.h"\ - "..\..\..\tao\POA.i"\ - "..\..\..\tao\POA_CORBA.h"\ - "..\..\..\tao\poa_macros.h"\ - "..\..\..\tao\POAC.h"\ - "..\..\..\tao\POAC.i"\ - "..\..\..\tao\POAS.h"\ - "..\..\..\tao\POAS.i"\ - "..\..\..\tao\PolicyC.h"\ - "..\..\..\tao\PolicyC.i"\ - "..\..\..\tao\Principal.h"\ - "..\..\..\tao\Principal.i"\ - "..\..\..\tao\Request.h"\ - "..\..\..\tao\Request.i"\ - "..\..\..\tao\Sequence.h"\ - "..\..\..\tao\Sequence.i"\ - "..\..\..\tao\Sequence_T.cpp"\ - "..\..\..\tao\Sequence_T.h"\ - "..\..\..\tao\Sequence_T.i"\ - "..\..\..\tao\Servant_Base.h"\ - "..\..\..\tao\Server_Request.h"\ - "..\..\..\tao\Server_Request.i"\ - "..\..\..\tao\Server_Strategy_Factory.h"\ - "..\..\..\tao\singletons.h"\ - "..\..\..\tao\Stub.h"\ - "..\..\..\tao\Stub.i"\ - "..\..\..\tao\Typecode.h"\ - "..\..\..\tao\Typecode.i"\ - "..\..\..\tao\Union.h"\ - "..\..\..\tao\varout.cpp"\ - "..\..\..\tao\varout.h"\ - "..\..\..\tao\varout.i"\ - -NODEP_CPP_CLIEN=\ - "..\..\..\..\ace\sys_conf.h"\ - "..\..\..\tao\Align.h"\ - "..\..\..\tao\IIOP_Object.h"\ - "..\..\..\tao\IIOP_Object.i"\ - "..\..\..\tao\IIOP_ORB.h"\ - "..\..\..\tao\IIOP_ORB.i"\ - "..\..\..\tao\Object_Table.h"\ - ".\Client_impl.h"\ - ".\TimeC.h"\ - - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Time_Client_i.cpp - -!IF "$(CFG)" == "Simple Time Client - Win32 Release" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\TimeC.cpp - -!IF "$(CFG)" == "Simple Time Client - Win32 Release" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug" - -DEP_CPP_TIMEC=\ - "..\..\..\..\ace\Acceptor.cpp"\ - "..\..\..\..\ace\Acceptor.h"\ - "..\..\..\..\ace\Acceptor.i"\ - "..\..\..\..\ace\ACE.h"\ - "..\..\..\..\ace\ACE.i"\ - "..\..\..\..\ace\Addr.h"\ - "..\..\..\..\ace\Addr.i"\ - "..\..\..\..\ace\Atomic_Op.i"\ - "..\..\..\..\ace\Auto_Ptr.cpp"\ - "..\..\..\..\ace\Auto_Ptr.h"\ - "..\..\..\..\ace\Auto_Ptr.i"\ - "..\..\..\..\ace\Basic_Types.h"\ - "..\..\..\..\ace\Basic_Types.i"\ - "..\..\..\..\ace\config-win32-borland.h"\ - "..\..\..\..\ace\config-win32-common.h"\ - "..\..\..\..\ace\config-win32.h"\ - "..\..\..\..\ace\config-WinCE.h"\ - "..\..\..\..\ace\config.h"\ - "..\..\..\..\ace\Connector.cpp"\ - "..\..\..\..\ace\Connector.h"\ - "..\..\..\..\ace\Connector.i"\ - "..\..\..\..\ace\Containers.cpp"\ - "..\..\..\..\ace\Containers.h"\ - "..\..\..\..\ace\Containers.i"\ - "..\..\..\..\ace\Dynamic.h"\ - "..\..\..\..\ace\Dynamic.i"\ - "..\..\..\..\ace\Dynamic_Service.cpp"\ - "..\..\..\..\ace\Dynamic_Service.h"\ - "..\..\..\..\ace\Event_Handler.h"\ - "..\..\..\..\ace\Event_Handler.i"\ - "..\..\..\..\ace\Free_List.cpp"\ - "..\..\..\..\ace\Free_List.h"\ - "..\..\..\..\ace\Free_List.i"\ - "..\..\..\..\ace\Get_Opt.h"\ - "..\..\..\..\ace\Get_Opt.i"\ - "..\..\..\..\ace\Handle_Set.h"\ - "..\..\..\..\ace\Handle_Set.i"\ - "..\..\..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\..\..\ace\Hash_Map_Manager.h"\ - "..\..\..\..\ace\inc_user_config.h"\ - "..\..\..\..\ace\INET_Addr.h"\ - "..\..\..\..\ace\INET_Addr.i"\ - "..\..\..\..\ace\IO_Cntl_Msg.h"\ - "..\..\..\..\ace\iosfwd.h"\ - "..\..\..\..\ace\IPC_SAP.h"\ - "..\..\..\..\ace\IPC_SAP.i"\ - "..\..\..\..\ace\Log_Msg.h"\ - "..\..\..\..\ace\Log_Priority.h"\ - "..\..\..\..\ace\Log_Record.h"\ - "..\..\..\..\ace\Log_Record.i"\ - "..\..\..\..\ace\Malloc.h"\ - "..\..\..\..\ace\Malloc.i"\ - "..\..\..\..\ace\Malloc_Base.h"\ - "..\..\..\..\ace\Malloc_T.cpp"\ - "..\..\..\..\ace\Malloc_T.h"\ - "..\..\..\..\ace\Malloc_T.i"\ - "..\..\..\..\ace\Managed_Object.cpp"\ - "..\..\..\..\ace\Managed_Object.h"\ - "..\..\..\..\ace\Managed_Object.i"\ - "..\..\..\..\ace\Map_Manager.cpp"\ - "..\..\..\..\ace\Map_Manager.h"\ - "..\..\..\..\ace\Map_Manager.i"\ - "..\..\..\..\ace\Mem_Map.h"\ - "..\..\..\..\ace\Mem_Map.i"\ - "..\..\..\..\ace\Memory_Pool.h"\ - "..\..\..\..\ace\Memory_Pool.i"\ - "..\..\..\..\ace\Message_Block.h"\ - "..\..\..\..\ace\Message_Block.i"\ - "..\..\..\..\ace\Message_Queue.h"\ - "..\..\..\..\ace\Message_Queue.i"\ - "..\..\..\..\ace\Message_Queue_T.cpp"\ - "..\..\..\..\ace\Message_Queue_T.h"\ - "..\..\..\..\ace\Message_Queue_T.i"\ - "..\..\..\..\ace\Module.cpp"\ - "..\..\..\..\ace\Module.h"\ - "..\..\..\..\ace\Module.i"\ - "..\..\..\..\ace\Object_Manager.h"\ - "..\..\..\..\ace\Object_Manager.i"\ - "..\..\..\..\ace\OS.h"\ - "..\..\..\..\ace\OS.i"\ - "..\..\..\..\ace\Reactor.h"\ - "..\..\..\..\ace\Reactor.i"\ - "..\..\..\..\ace\Reactor_Impl.h"\ - "..\..\..\..\ace\Service_Config.h"\ - "..\..\..\..\ace\Service_Config.i"\ - "..\..\..\..\ace\Service_Object.h"\ - "..\..\..\..\ace\Service_Object.i"\ - "..\..\..\..\ace\Service_Repository.h"\ - "..\..\..\..\ace\Service_Repository.i"\ - "..\..\..\..\ace\Service_Types.h"\ - "..\..\..\..\ace\Service_Types.i"\ - "..\..\..\..\ace\Shared_Object.h"\ - "..\..\..\..\ace\Shared_Object.i"\ - "..\..\..\..\ace\Signal.h"\ - "..\..\..\..\ace\Signal.i"\ - "..\..\..\..\ace\Singleton.cpp"\ - "..\..\..\..\ace\Singleton.h"\ - "..\..\..\..\ace\Singleton.i"\ - "..\..\..\..\ace\SOCK.h"\ - "..\..\..\..\ace\SOCK.i"\ - "..\..\..\..\ace\SOCK_Acceptor.h"\ - "..\..\..\..\ace\SOCK_Acceptor.i"\ - "..\..\..\..\ace\SOCK_Connector.h"\ - "..\..\..\..\ace\SOCK_Connector.i"\ - "..\..\..\..\ace\SOCK_IO.h"\ - "..\..\..\..\ace\SOCK_IO.i"\ - "..\..\..\..\ace\SOCK_Stream.h"\ - "..\..\..\..\ace\SOCK_Stream.i"\ - "..\..\..\..\ace\SString.h"\ - "..\..\..\..\ace\SString.i"\ - "..\..\..\..\ace\Strategies.h"\ - "..\..\..\..\ace\Strategies.i"\ - "..\..\..\..\ace\Strategies_T.cpp"\ - "..\..\..\..\ace\Strategies_T.h"\ - "..\..\..\..\ace\Strategies_T.i"\ - "..\..\..\..\ace\Stream_Modules.cpp"\ - "..\..\..\..\ace\Stream_Modules.h"\ - "..\..\..\..\ace\Stream_Modules.i"\ - "..\..\..\..\ace\streams.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\..\..\ace\Svc_Handler.cpp"\ - "..\..\..\..\ace\Svc_Handler.h"\ - "..\..\..\..\ace\Svc_Handler.i"\ - "..\..\..\..\ace\Synch.h"\ - "..\..\..\..\ace\Synch.i"\ - "..\..\..\..\ace\Synch_Options.h"\ - "..\..\..\..\ace\Synch_Options.i"\ - "..\..\..\..\ace\Synch_T.cpp"\ - "..\..\..\..\ace\Synch_T.h"\ - "..\..\..\..\ace\Synch_T.i"\ - "..\..\..\..\ace\Task.h"\ - "..\..\..\..\ace\Task.i"\ - "..\..\..\..\ace\Task_T.cpp"\ - "..\..\..\..\ace\Task_T.h"\ - "..\..\..\..\ace\Task_T.i"\ - "..\..\..\..\ace\Thread.h"\ - "..\..\..\..\ace\Thread.i"\ - "..\..\..\..\ace\Thread_Manager.h"\ - "..\..\..\..\ace\Thread_Manager.i"\ - "..\..\..\..\ace\Time_Value.h"\ - "..\..\..\..\ace\Timer_Queue.h"\ - "..\..\..\..\ace\Timer_Queue_T.cpp"\ - "..\..\..\..\ace\Timer_Queue_T.h"\ - "..\..\..\..\ace\Timer_Queue_T.i"\ - "..\..\..\..\ace\Trace.h"\ - "..\..\..\..\ace\WFMO_Reactor.h"\ - "..\..\..\..\ace\WFMO_Reactor.i"\ - "..\..\..\..\ace\ws2tcpip.h"\ - "..\..\..\tao\Any.h"\ - "..\..\..\tao\Any.i"\ - "..\..\..\tao\CDR.h"\ - "..\..\..\tao\CDR.i"\ - "..\..\..\tao\CDR_Interpreter.h"\ - "..\..\..\tao\Client_Strategy_Factory.h"\ - "..\..\..\tao\Connect.h"\ - "..\..\..\tao\Connect.i"\ - "..\..\..\tao\corba.h"\ - "..\..\..\tao\CurrentC.h"\ - "..\..\..\tao\CurrentC.i"\ - "..\..\..\tao\debug.h"\ - "..\..\..\tao\default_client.h"\ - "..\..\..\tao\default_client.i"\ - "..\..\..\tao\default_server.h"\ - "..\..\..\tao\default_server.i"\ - "..\..\..\tao\Environment.h"\ - "..\..\..\tao\Environment.i"\ - "..\..\..\tao\Exception.h"\ - "..\..\..\tao\Exception.i"\ - "..\..\..\tao\GIOP.h"\ - "..\..\..\tao\GIOP.i"\ - "..\..\..\tao\Invocation.h"\ - "..\..\..\tao\Invocation.i"\ - "..\..\..\tao\Marshal.h"\ - "..\..\..\tao\Marshal.i"\ - "..\..\..\tao\NVList.h"\ - "..\..\..\tao\NVList.i"\ - "..\..\..\tao\Object.h"\ - "..\..\..\tao\Object.i"\ - "..\..\..\tao\Object_KeyC.h"\ - "..\..\..\tao\Object_KeyC.i"\ - "..\..\..\tao\Operation_Table.h"\ - "..\..\..\tao\ORB.h"\ - "..\..\..\tao\ORB.i"\ - "..\..\..\tao\ORB_Core.h"\ - "..\..\..\tao\ORB_Core.i"\ - "..\..\..\tao\ORB_Strategies_T.cpp"\ - "..\..\..\tao\ORB_Strategies_T.h"\ - "..\..\..\tao\ORB_Strategies_T.i"\ - "..\..\..\tao\orbconf.h"\ - "..\..\..\tao\params.h"\ - "..\..\..\tao\params.i"\ - "..\..\..\tao\POA.h"\ - "..\..\..\tao\POA.i"\ - "..\..\..\tao\POA_CORBA.h"\ - "..\..\..\tao\poa_macros.h"\ - "..\..\..\tao\POAC.h"\ - "..\..\..\tao\POAC.i"\ - "..\..\..\tao\POAS.h"\ - "..\..\..\tao\POAS.i"\ - "..\..\..\tao\PolicyC.h"\ - "..\..\..\tao\PolicyC.i"\ - "..\..\..\tao\Principal.h"\ - "..\..\..\tao\Principal.i"\ - "..\..\..\tao\Request.h"\ - "..\..\..\tao\Request.i"\ - "..\..\..\tao\Sequence.h"\ - "..\..\..\tao\Sequence.i"\ - "..\..\..\tao\Sequence_T.cpp"\ - "..\..\..\tao\Sequence_T.h"\ - "..\..\..\tao\Sequence_T.i"\ - "..\..\..\tao\Servant_Base.h"\ - "..\..\..\tao\Server_Request.h"\ - "..\..\..\tao\Server_Request.i"\ - "..\..\..\tao\Server_Strategy_Factory.h"\ - "..\..\..\tao\singletons.h"\ - "..\..\..\tao\Stub.h"\ - "..\..\..\tao\Stub.i"\ - "..\..\..\tao\Typecode.h"\ - "..\..\..\tao\Typecode.i"\ - "..\..\..\tao\Union.h"\ - "..\..\..\tao\varout.cpp"\ - "..\..\..\tao\varout.h"\ - "..\..\..\tao\varout.i"\ - -NODEP_CPP_TIMEC=\ - "..\..\..\..\ace\sys_conf.h"\ - "..\..\..\tao\Align.h"\ - "..\..\..\tao\IIOP_Object.h"\ - "..\..\..\tao\IIOP_Object.i"\ - "..\..\..\tao\IIOP_ORB.h"\ - "..\..\..\tao\IIOP_ORB.i"\ - "..\..\..\tao\Object_Table.h"\ - ".\TimeC.h"\ - ".\TimeC.i"\ - ".\TimeS.h"\ - ".\TimeS.i"\ - ".\TimeS_T.cpp"\ - ".\TimeS_T.h"\ - ".\TimeS_T.i"\ - - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\TimeS.cpp - -!IF "$(CFG)" == "Simple Time Client - Win32 Release" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug" - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug" - -DEP_CPP_TIMES=\ - "..\..\..\..\ace\Acceptor.cpp"\ - "..\..\..\..\ace\Acceptor.h"\ - "..\..\..\..\ace\Acceptor.i"\ - "..\..\..\..\ace\ACE.h"\ - "..\..\..\..\ace\ACE.i"\ - "..\..\..\..\ace\Addr.h"\ - "..\..\..\..\ace\Addr.i"\ - "..\..\..\..\ace\Atomic_Op.i"\ - "..\..\..\..\ace\Auto_Ptr.cpp"\ - "..\..\..\..\ace\Auto_Ptr.h"\ - "..\..\..\..\ace\Auto_Ptr.i"\ - "..\..\..\..\ace\Basic_Types.h"\ - "..\..\..\..\ace\Basic_Types.i"\ - "..\..\..\..\ace\config-win32-borland.h"\ - "..\..\..\..\ace\config-win32-common.h"\ - "..\..\..\..\ace\config-win32.h"\ - "..\..\..\..\ace\config-WinCE.h"\ - "..\..\..\..\ace\config.h"\ - "..\..\..\..\ace\Connector.cpp"\ - "..\..\..\..\ace\Connector.h"\ - "..\..\..\..\ace\Connector.i"\ - "..\..\..\..\ace\Containers.cpp"\ - "..\..\..\..\ace\Containers.h"\ - "..\..\..\..\ace\Containers.i"\ - "..\..\..\..\ace\Dynamic.h"\ - "..\..\..\..\ace\Dynamic.i"\ - "..\..\..\..\ace\Dynamic_Service.cpp"\ - "..\..\..\..\ace\Dynamic_Service.h"\ - "..\..\..\..\ace\Event_Handler.h"\ - "..\..\..\..\ace\Event_Handler.i"\ - "..\..\..\..\ace\Free_List.cpp"\ - "..\..\..\..\ace\Free_List.h"\ - "..\..\..\..\ace\Free_List.i"\ - "..\..\..\..\ace\Get_Opt.h"\ - "..\..\..\..\ace\Get_Opt.i"\ - "..\..\..\..\ace\Handle_Set.h"\ - "..\..\..\..\ace\Handle_Set.i"\ - "..\..\..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\..\..\ace\Hash_Map_Manager.h"\ - "..\..\..\..\ace\inc_user_config.h"\ - "..\..\..\..\ace\INET_Addr.h"\ - "..\..\..\..\ace\INET_Addr.i"\ - "..\..\..\..\ace\IO_Cntl_Msg.h"\ - "..\..\..\..\ace\iosfwd.h"\ - "..\..\..\..\ace\IPC_SAP.h"\ - "..\..\..\..\ace\IPC_SAP.i"\ - "..\..\..\..\ace\Log_Msg.h"\ - "..\..\..\..\ace\Log_Priority.h"\ - "..\..\..\..\ace\Log_Record.h"\ - "..\..\..\..\ace\Log_Record.i"\ - "..\..\..\..\ace\Malloc.h"\ - "..\..\..\..\ace\Malloc.i"\ - "..\..\..\..\ace\Malloc_Base.h"\ - "..\..\..\..\ace\Malloc_T.cpp"\ - "..\..\..\..\ace\Malloc_T.h"\ - "..\..\..\..\ace\Malloc_T.i"\ - "..\..\..\..\ace\Managed_Object.cpp"\ - "..\..\..\..\ace\Managed_Object.h"\ - "..\..\..\..\ace\Managed_Object.i"\ - "..\..\..\..\ace\Map_Manager.cpp"\ - "..\..\..\..\ace\Map_Manager.h"\ - "..\..\..\..\ace\Map_Manager.i"\ - "..\..\..\..\ace\Mem_Map.h"\ - "..\..\..\..\ace\Mem_Map.i"\ - "..\..\..\..\ace\Memory_Pool.h"\ - "..\..\..\..\ace\Memory_Pool.i"\ - "..\..\..\..\ace\Message_Block.h"\ - "..\..\..\..\ace\Message_Block.i"\ - "..\..\..\..\ace\Message_Queue.h"\ - "..\..\..\..\ace\Message_Queue.i"\ - "..\..\..\..\ace\Message_Queue_T.cpp"\ - "..\..\..\..\ace\Message_Queue_T.h"\ - "..\..\..\..\ace\Message_Queue_T.i"\ - "..\..\..\..\ace\Module.cpp"\ - "..\..\..\..\ace\Module.h"\ - "..\..\..\..\ace\Module.i"\ - "..\..\..\..\ace\Object_Manager.h"\ - "..\..\..\..\ace\Object_Manager.i"\ - "..\..\..\..\ace\OS.h"\ - "..\..\..\..\ace\OS.i"\ - "..\..\..\..\ace\Reactor.h"\ - "..\..\..\..\ace\Reactor.i"\ - "..\..\..\..\ace\Reactor_Impl.h"\ - "..\..\..\..\ace\Service_Config.h"\ - "..\..\..\..\ace\Service_Config.i"\ - "..\..\..\..\ace\Service_Object.h"\ - "..\..\..\..\ace\Service_Object.i"\ - "..\..\..\..\ace\Service_Repository.h"\ - "..\..\..\..\ace\Service_Repository.i"\ - "..\..\..\..\ace\Service_Types.h"\ - "..\..\..\..\ace\Service_Types.i"\ - "..\..\..\..\ace\Shared_Object.h"\ - "..\..\..\..\ace\Shared_Object.i"\ - "..\..\..\..\ace\Signal.h"\ - "..\..\..\..\ace\Signal.i"\ - "..\..\..\..\ace\Singleton.cpp"\ - "..\..\..\..\ace\Singleton.h"\ - "..\..\..\..\ace\Singleton.i"\ - "..\..\..\..\ace\SOCK.h"\ - "..\..\..\..\ace\SOCK.i"\ - "..\..\..\..\ace\SOCK_Acceptor.h"\ - "..\..\..\..\ace\SOCK_Acceptor.i"\ - "..\..\..\..\ace\SOCK_Connector.h"\ - "..\..\..\..\ace\SOCK_Connector.i"\ - "..\..\..\..\ace\SOCK_IO.h"\ - "..\..\..\..\ace\SOCK_IO.i"\ - "..\..\..\..\ace\SOCK_Stream.h"\ - "..\..\..\..\ace\SOCK_Stream.i"\ - "..\..\..\..\ace\SString.h"\ - "..\..\..\..\ace\SString.i"\ - "..\..\..\..\ace\Strategies.h"\ - "..\..\..\..\ace\Strategies.i"\ - "..\..\..\..\ace\Strategies_T.cpp"\ - "..\..\..\..\ace\Strategies_T.h"\ - "..\..\..\..\ace\Strategies_T.i"\ - "..\..\..\..\ace\Stream_Modules.cpp"\ - "..\..\..\..\ace\Stream_Modules.h"\ - "..\..\..\..\ace\Stream_Modules.i"\ - "..\..\..\..\ace\streams.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\..\..\ace\Svc_Handler.cpp"\ - "..\..\..\..\ace\Svc_Handler.h"\ - "..\..\..\..\ace\Svc_Handler.i"\ - "..\..\..\..\ace\Synch.h"\ - "..\..\..\..\ace\Synch.i"\ - "..\..\..\..\ace\Synch_Options.h"\ - "..\..\..\..\ace\Synch_Options.i"\ - "..\..\..\..\ace\Synch_T.cpp"\ - "..\..\..\..\ace\Synch_T.h"\ - "..\..\..\..\ace\Synch_T.i"\ - "..\..\..\..\ace\Task.h"\ - "..\..\..\..\ace\Task.i"\ - "..\..\..\..\ace\Task_T.cpp"\ - "..\..\..\..\ace\Task_T.h"\ - "..\..\..\..\ace\Task_T.i"\ - "..\..\..\..\ace\Thread.h"\ - "..\..\..\..\ace\Thread.i"\ - "..\..\..\..\ace\Thread_Manager.h"\ - "..\..\..\..\ace\Thread_Manager.i"\ - "..\..\..\..\ace\Time_Value.h"\ - "..\..\..\..\ace\Timer_Queue.h"\ - "..\..\..\..\ace\Timer_Queue_T.cpp"\ - "..\..\..\..\ace\Timer_Queue_T.h"\ - "..\..\..\..\ace\Timer_Queue_T.i"\ - "..\..\..\..\ace\Trace.h"\ - "..\..\..\..\ace\WFMO_Reactor.h"\ - "..\..\..\..\ace\WFMO_Reactor.i"\ - "..\..\..\..\ace\ws2tcpip.h"\ - "..\..\..\tao\Any.h"\ - "..\..\..\tao\Any.i"\ - "..\..\..\tao\CDR.h"\ - "..\..\..\tao\CDR.i"\ - "..\..\..\tao\CDR_Interpreter.h"\ - "..\..\..\tao\Client_Strategy_Factory.h"\ - "..\..\..\tao\Connect.h"\ - "..\..\..\tao\Connect.i"\ - "..\..\..\tao\corba.h"\ - "..\..\..\tao\CurrentC.h"\ - "..\..\..\tao\CurrentC.i"\ - "..\..\..\tao\debug.h"\ - "..\..\..\tao\default_client.h"\ - "..\..\..\tao\default_client.i"\ - "..\..\..\tao\default_server.h"\ - "..\..\..\tao\default_server.i"\ - "..\..\..\tao\Environment.h"\ - "..\..\..\tao\Environment.i"\ - "..\..\..\tao\Exception.h"\ - "..\..\..\tao\Exception.i"\ - "..\..\..\tao\GIOP.h"\ - "..\..\..\tao\GIOP.i"\ - "..\..\..\tao\Invocation.h"\ - "..\..\..\tao\Invocation.i"\ - "..\..\..\tao\Marshal.h"\ - "..\..\..\tao\Marshal.i"\ - "..\..\..\tao\NVList.h"\ - "..\..\..\tao\NVList.i"\ - "..\..\..\tao\Object.h"\ - "..\..\..\tao\Object.i"\ - "..\..\..\tao\Object_KeyC.h"\ - "..\..\..\tao\Object_KeyC.i"\ - "..\..\..\tao\Operation_Table.h"\ - "..\..\..\tao\ORB.h"\ - "..\..\..\tao\ORB.i"\ - "..\..\..\tao\ORB_Core.h"\ - "..\..\..\tao\ORB_Core.i"\ - "..\..\..\tao\ORB_Strategies_T.cpp"\ - "..\..\..\tao\ORB_Strategies_T.h"\ - "..\..\..\tao\ORB_Strategies_T.i"\ - "..\..\..\tao\orbconf.h"\ - "..\..\..\tao\params.h"\ - "..\..\..\tao\params.i"\ - "..\..\..\tao\POA.h"\ - "..\..\..\tao\POA.i"\ - "..\..\..\tao\POA_CORBA.h"\ - "..\..\..\tao\poa_macros.h"\ - "..\..\..\tao\POAC.h"\ - "..\..\..\tao\POAC.i"\ - "..\..\..\tao\POAS.h"\ - "..\..\..\tao\POAS.i"\ - "..\..\..\tao\PolicyC.h"\ - "..\..\..\tao\PolicyC.i"\ - "..\..\..\tao\Principal.h"\ - "..\..\..\tao\Principal.i"\ - "..\..\..\tao\Request.h"\ - "..\..\..\tao\Request.i"\ - "..\..\..\tao\Sequence.h"\ - "..\..\..\tao\Sequence.i"\ - "..\..\..\tao\Sequence_T.cpp"\ - "..\..\..\tao\Sequence_T.h"\ - "..\..\..\tao\Sequence_T.i"\ - "..\..\..\tao\Servant_Base.h"\ - "..\..\..\tao\Server_Request.h"\ - "..\..\..\tao\Server_Request.i"\ - "..\..\..\tao\Server_Strategy_Factory.h"\ - "..\..\..\tao\singletons.h"\ - "..\..\..\tao\Stub.h"\ - "..\..\..\tao\Stub.i"\ - "..\..\..\tao\Typecode.h"\ - "..\..\..\tao\Typecode.i"\ - "..\..\..\tao\Union.h"\ - "..\..\..\tao\varout.cpp"\ - "..\..\..\tao\varout.h"\ - "..\..\..\tao\varout.i"\ - -NODEP_CPP_TIMES=\ - "..\..\..\..\ace\sys_conf.h"\ - "..\..\..\tao\Align.h"\ - "..\..\..\tao\IIOP_Object.h"\ - "..\..\..\tao\IIOP_Object.i"\ - "..\..\..\tao\IIOP_ORB.h"\ - "..\..\..\tao\IIOP_ORB.i"\ - "..\..\..\tao\Object_Table.h"\ - ".\TimeC.h"\ - ".\TimeC.i"\ - ".\TimeS.h"\ - ".\TimeS.i"\ - ".\TimeS_T.cpp"\ - ".\TimeS_T.h"\ - ".\TimeS_T.i"\ - - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Time_Client_i.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter ".idl" -# Begin Source File - -SOURCE=.\Time.idl - -!IF "$(CFG)" == "Simple Time Client - Win32 Release" - -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug" - -# PROP BASE Ignore_Default_Tool 1 -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\tao_idl\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\tao_idl\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release" - -# PROP BASE Ignore_Default_Tool 1 -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\tao_idl\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\tao_idl\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/time/client_static.dsp b/TAO/examples/Simple/time/client_static.dsp deleted file mode 100644 index 9e385e52fff..00000000000 --- a/TAO/examples/Simple/time/client_static.dsp +++ /dev/null @@ -1,207 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Time Client Static" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Time Client Static - 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 "client_static.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 "client_static.mak"\ - CFG="Simple Time Client Static - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Time Client Static - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Simple Time Client Static - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Time Client Static - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "client\Static Debug" -# PROP BASE Intermediate_Dir "client\Static Debug" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "client" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug\Static" -# PROP Intermediate_Dir "Debug\Static" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "client" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D TAO_HAS_DLL=0 /D ACE_NO_INLINE /D ACE_HAS_DLL=0 /FD /c -# SUBTRACT CPP /YX -# 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 aced.lib TAOd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace" -# ADD LINK32 acesd.lib TAOsd.lib orbsvcssd.lib advapi32.lib user32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Time Client Static - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "client\Static Release" -# PROP BASE Intermediate_Dir "client\Static Release" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "client" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release\Static" -# PROP Intermediate_Dir "Release\Static" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "client" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\..\..\\" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D ACE_HAS_DLL=0 /D TAO_HAS_DLL=0 /D ACE_NO_INLINE /FD /c -# SUBTRACT CPP /YX -# 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 ace.lib TAO.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace" -# ADD LINK32 aces.lib TAOs.lib orbsvcss.lib advapi32.lib user32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Simple Time Client Static - Win32 Debug" -# Name "Simple Time Client Static - Win32 Release" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\client.cpp -# End Source File -# Begin Source File - -SOURCE=.\TimeC.cpp -# End Source File -# Begin Source File - -SOURCE=.\TimeS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Client_i.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter ".idl" -# Begin Source File - -SOURCE=.\Time.idl - -!IF "$(CFG)" == "Simple Time Client Static - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\tao_idl\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Time Client Static - Win32 Release" - -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\tao_idl\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\tao_idl\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/time/run_test.pl b/TAO/examples/Simple/time/run_test.pl deleted file mode 100755 index 1f9a7b4b9f4..00000000000 --- a/TAO/examples/Simple/time/run_test.pl +++ /dev/null @@ -1,38 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../bin'; -require ACEutils; -require Process; - -$status = 0; -$iorfile = "time.ior"; - -$SV = Process::Create ($EXEPREFIX."server$EXE_EXT", "-o $iorfile "); - -if (ACE::waitforfile_timed ($iorfile, 5) == -1) { - print STDERR "ERROR: timedout waiting for file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$client = Process::Create ($EXEPREFIX."client$EXE_EXT", "-f $iorfile -x"); -if ($client->TimedWait (60) == -1) { - print STDERR "ERROR: client timedout\n"; - $status = 1; - $client->Kill (); $client->TimeWait (1); -} - -if ($SV->TimedWait (1) == -1) { - print STDERR "ERROR: cannot terminate the server\n"; - $SV->Kill (); $SV->TimedWait (1); - $status = 1; -} - -unlink $iorfile; - -exit $status; diff --git a/TAO/examples/Simple/time/server.cpp b/TAO/examples/Simple/time/server.cpp deleted file mode 100644 index d30839e572b..00000000000 --- a/TAO/examples/Simple/time/server.cpp +++ /dev/null @@ -1,53 +0,0 @@ -// $Id$ -#include "../Simple_util.h" -#include "Time_i.h" - -// This is the main driver program for the time and date server. - -int -main (int argc, char *argv[]) -{ - Server server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tTime and Date server\n\n")); - - ACE_DECLARE_NEW_CORBA_ENV; - - ACE_TRY - { - if (server.init ("Time", - argc, - argv, - ACE_TRY_ENV) == -1) - return 1; - else - { - server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex,"User Exception in main"); - return -1; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex,"System Exception in main"); - return -1; - } - ACE_ENDTRY; - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class Server; - -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate Server - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - diff --git a/TAO/examples/Simple/time/server.dsp b/TAO/examples/Simple/time/server.dsp deleted file mode 100644 index 9cfa83722ac..00000000000 --- a/TAO/examples/Simple/time/server.dsp +++ /dev/null @@ -1,1132 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Time Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 -# TARGTYPE "Win32 (ALPHA) Console Application" 0x0603 - -CFG=Simple Time Server - Win32 Alpha 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 "server.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 "server.mak" CFG="Simple Time Server - Win32 Alpha Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Time Server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Time Server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "Simple Time Server - Win32 Alpha Debug" (based on "Win32 (ALPHA) Console Application") -!MESSAGE "Simple Time Server - Win32 Alpha Release" (based on "Win32 (ALPHA) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "Simple Time Server - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\server\Release" -# PROP BASE Intermediate_Dir ".\server\Release" -# PROP BASE Target_Dir ".\server" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir ".\server" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\server\Debug" -# PROP BASE Intermediate_Dir ".\server\Debug" -# PROP BASE Target_Dir ".\server" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir ".\Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir ".\server" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 /subsystem:console /debug /machine:I386 -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "server\Alpha Debug" -# PROP BASE Intermediate_Dir "server\Alpha Debug" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "server" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "server" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\..\\ /I" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD ..\..\..\..\\ /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\..\\ /I" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /MDd ..\..\..\..\\ /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 aced.lib TAOd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# ADD LINK32 aced.lib TAOd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "server\Alpha Release" -# PROP BASE Intermediate_Dir "server\Alpha Release" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "server" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "server" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /O2 /I "..\..\..\\ /I" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD ..\..\..\..\\ /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MD /Gt0 /W3 /GX /O2 /I "..\..\..\\ /I" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD ..\..\..\..\\ /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 ace.lib TAO.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" -# ADD LINK32 ace.lib TAO.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Simple Time Server - Win32 Release" -# Name "Simple Time Server - Win32 Debug" -# Name "Simple Time Server - Win32 Alpha Debug" -# Name "Simple Time Server - Win32 Alpha Release" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\server.cpp - -!IF "$(CFG)" == "Simple Time Server - Win32 Release" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug" - -DEP_CPP_SERVE=\ - "..\..\..\..\ace\Acceptor.cpp"\ - "..\..\..\..\ace\Acceptor.h"\ - "..\..\..\..\ace\Acceptor.i"\ - "..\..\..\..\ace\ACE.h"\ - "..\..\..\..\ace\ACE.i"\ - "..\..\..\..\ace\Addr.h"\ - "..\..\..\..\ace\Addr.i"\ - "..\..\..\..\ace\Atomic_Op.i"\ - "..\..\..\..\ace\Auto_Ptr.cpp"\ - "..\..\..\..\ace\Auto_Ptr.h"\ - "..\..\..\..\ace\Auto_Ptr.i"\ - "..\..\..\..\ace\Basic_Types.h"\ - "..\..\..\..\ace\Basic_Types.i"\ - "..\..\..\..\ace\config-win32-borland.h"\ - "..\..\..\..\ace\config-win32-common.h"\ - "..\..\..\..\ace\config-win32.h"\ - "..\..\..\..\ace\config-WinCE.h"\ - "..\..\..\..\ace\config.h"\ - "..\..\..\..\ace\Connector.cpp"\ - "..\..\..\..\ace\Connector.h"\ - "..\..\..\..\ace\Connector.i"\ - "..\..\..\..\ace\Containers.cpp"\ - "..\..\..\..\ace\Containers.h"\ - "..\..\..\..\ace\Containers.i"\ - "..\..\..\..\ace\Dynamic.h"\ - "..\..\..\..\ace\Dynamic.i"\ - "..\..\..\..\ace\Dynamic_Service.cpp"\ - "..\..\..\..\ace\Dynamic_Service.h"\ - "..\..\..\..\ace\Event_Handler.h"\ - "..\..\..\..\ace\Event_Handler.i"\ - "..\..\..\..\ace\Free_List.cpp"\ - "..\..\..\..\ace\Free_List.h"\ - "..\..\..\..\ace\Free_List.i"\ - "..\..\..\..\ace\Get_Opt.h"\ - "..\..\..\..\ace\Get_Opt.i"\ - "..\..\..\..\ace\Handle_Set.h"\ - "..\..\..\..\ace\Handle_Set.i"\ - "..\..\..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\..\..\ace\Hash_Map_Manager.h"\ - "..\..\..\..\ace\inc_user_config.h"\ - "..\..\..\..\ace\INET_Addr.h"\ - "..\..\..\..\ace\INET_Addr.i"\ - "..\..\..\..\ace\IO_Cntl_Msg.h"\ - "..\..\..\..\ace\iosfwd.h"\ - "..\..\..\..\ace\IPC_SAP.h"\ - "..\..\..\..\ace\IPC_SAP.i"\ - "..\..\..\..\ace\Log_Msg.h"\ - "..\..\..\..\ace\Log_Priority.h"\ - "..\..\..\..\ace\Log_Record.h"\ - "..\..\..\..\ace\Log_Record.i"\ - "..\..\..\..\ace\Malloc.h"\ - "..\..\..\..\ace\Malloc.i"\ - "..\..\..\..\ace\Malloc_Base.h"\ - "..\..\..\..\ace\Malloc_T.cpp"\ - "..\..\..\..\ace\Malloc_T.h"\ - "..\..\..\..\ace\Malloc_T.i"\ - "..\..\..\..\ace\Managed_Object.cpp"\ - "..\..\..\..\ace\Managed_Object.h"\ - "..\..\..\..\ace\Managed_Object.i"\ - "..\..\..\..\ace\Map_Manager.cpp"\ - "..\..\..\..\ace\Map_Manager.h"\ - "..\..\..\..\ace\Map_Manager.i"\ - "..\..\..\..\ace\Mem_Map.h"\ - "..\..\..\..\ace\Mem_Map.i"\ - "..\..\..\..\ace\Memory_Pool.h"\ - "..\..\..\..\ace\Memory_Pool.i"\ - "..\..\..\..\ace\Message_Block.h"\ - "..\..\..\..\ace\Message_Block.i"\ - "..\..\..\..\ace\Message_Queue.h"\ - "..\..\..\..\ace\Message_Queue.i"\ - "..\..\..\..\ace\Message_Queue_T.cpp"\ - "..\..\..\..\ace\Message_Queue_T.h"\ - "..\..\..\..\ace\Message_Queue_T.i"\ - "..\..\..\..\ace\Module.cpp"\ - "..\..\..\..\ace\Module.h"\ - "..\..\..\..\ace\Module.i"\ - "..\..\..\..\ace\Object_Manager.h"\ - "..\..\..\..\ace\Object_Manager.i"\ - "..\..\..\..\ace\OS.h"\ - "..\..\..\..\ace\OS.i"\ - "..\..\..\..\ace\Reactor.h"\ - "..\..\..\..\ace\Reactor.i"\ - "..\..\..\..\ace\Reactor_Impl.h"\ - "..\..\..\..\ace\Service_Config.h"\ - "..\..\..\..\ace\Service_Config.i"\ - "..\..\..\..\ace\Service_Object.h"\ - "..\..\..\..\ace\Service_Object.i"\ - "..\..\..\..\ace\Service_Repository.h"\ - "..\..\..\..\ace\Service_Repository.i"\ - "..\..\..\..\ace\Service_Types.h"\ - "..\..\..\..\ace\Service_Types.i"\ - "..\..\..\..\ace\Shared_Object.h"\ - "..\..\..\..\ace\Shared_Object.i"\ - "..\..\..\..\ace\Signal.h"\ - "..\..\..\..\ace\Signal.i"\ - "..\..\..\..\ace\Singleton.cpp"\ - "..\..\..\..\ace\Singleton.h"\ - "..\..\..\..\ace\Singleton.i"\ - "..\..\..\..\ace\SOCK.h"\ - "..\..\..\..\ace\SOCK.i"\ - "..\..\..\..\ace\SOCK_Acceptor.h"\ - "..\..\..\..\ace\SOCK_Acceptor.i"\ - "..\..\..\..\ace\SOCK_Connector.h"\ - "..\..\..\..\ace\SOCK_Connector.i"\ - "..\..\..\..\ace\SOCK_IO.h"\ - "..\..\..\..\ace\SOCK_IO.i"\ - "..\..\..\..\ace\SOCK_Stream.h"\ - "..\..\..\..\ace\SOCK_Stream.i"\ - "..\..\..\..\ace\SString.h"\ - "..\..\..\..\ace\SString.i"\ - "..\..\..\..\ace\Strategies.h"\ - "..\..\..\..\ace\Strategies.i"\ - "..\..\..\..\ace\Strategies_T.cpp"\ - "..\..\..\..\ace\Strategies_T.h"\ - "..\..\..\..\ace\Strategies_T.i"\ - "..\..\..\..\ace\Stream_Modules.cpp"\ - "..\..\..\..\ace\Stream_Modules.h"\ - "..\..\..\..\ace\Stream_Modules.i"\ - "..\..\..\..\ace\streams.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\..\..\ace\Svc_Handler.cpp"\ - "..\..\..\..\ace\Svc_Handler.h"\ - "..\..\..\..\ace\Svc_Handler.i"\ - "..\..\..\..\ace\Synch.h"\ - "..\..\..\..\ace\Synch.i"\ - "..\..\..\..\ace\Synch_Options.h"\ - "..\..\..\..\ace\Synch_Options.i"\ - "..\..\..\..\ace\Synch_T.cpp"\ - "..\..\..\..\ace\Synch_T.h"\ - "..\..\..\..\ace\Synch_T.i"\ - "..\..\..\..\ace\Task.h"\ - "..\..\..\..\ace\Task.i"\ - "..\..\..\..\ace\Task_T.cpp"\ - "..\..\..\..\ace\Task_T.h"\ - "..\..\..\..\ace\Task_T.i"\ - "..\..\..\..\ace\Thread.h"\ - "..\..\..\..\ace\Thread.i"\ - "..\..\..\..\ace\Thread_Manager.h"\ - "..\..\..\..\ace\Thread_Manager.i"\ - "..\..\..\..\ace\Time_Value.h"\ - "..\..\..\..\ace\Timer_Queue.h"\ - "..\..\..\..\ace\Timer_Queue_T.cpp"\ - "..\..\..\..\ace\Timer_Queue_T.h"\ - "..\..\..\..\ace\Timer_Queue_T.i"\ - "..\..\..\..\ace\Trace.h"\ - "..\..\..\..\ace\WFMO_Reactor.h"\ - "..\..\..\..\ace\WFMO_Reactor.i"\ - "..\..\..\..\ace\ws2tcpip.h"\ - "..\..\..\tao\Any.h"\ - "..\..\..\tao\Any.i"\ - "..\..\..\tao\CDR.h"\ - "..\..\..\tao\CDR.i"\ - "..\..\..\tao\Client_Strategy_Factory.h"\ - "..\..\..\tao\Connect.h"\ - "..\..\..\tao\Connect.i"\ - "..\..\..\tao\corba.h"\ - "..\..\..\tao\CurrentC.h"\ - "..\..\..\tao\CurrentC.i"\ - "..\..\..\tao\debug.h"\ - "..\..\..\tao\default_client.h"\ - "..\..\..\tao\default_client.i"\ - "..\..\..\tao\default_server.h"\ - "..\..\..\tao\default_server.i"\ - "..\..\..\tao\Environment.h"\ - "..\..\..\tao\Environment.i"\ - "..\..\..\tao\Exception.h"\ - "..\..\..\tao\Exception.i"\ - "..\..\..\tao\GIOP.h"\ - "..\..\..\tao\GIOP.i"\ - "..\..\..\tao\Invocation.h"\ - "..\..\..\tao\Invocation.i"\ - "..\..\..\tao\Marshal.h"\ - "..\..\..\tao\Marshal.i"\ - "..\..\..\tao\NVList.h"\ - "..\..\..\tao\NVList.i"\ - "..\..\..\tao\Object.h"\ - "..\..\..\tao\Object.i"\ - "..\..\..\tao\Object_KeyC.h"\ - "..\..\..\tao\Object_KeyC.i"\ - "..\..\..\tao\Operation_Table.h"\ - "..\..\..\tao\ORB.h"\ - "..\..\..\tao\ORB.i"\ - "..\..\..\tao\ORB_Core.h"\ - "..\..\..\tao\ORB_Core.i"\ - "..\..\..\tao\ORB_Strategies_T.cpp"\ - "..\..\..\tao\ORB_Strategies_T.h"\ - "..\..\..\tao\ORB_Strategies_T.i"\ - "..\..\..\tao\orbconf.h"\ - "..\..\..\tao\params.h"\ - "..\..\..\tao\params.i"\ - "..\..\..\tao\POA.h"\ - "..\..\..\tao\POA.i"\ - "..\..\..\tao\POA_CORBA.h"\ - "..\..\..\tao\poa_macros.h"\ - "..\..\..\tao\POAC.h"\ - "..\..\..\tao\POAC.i"\ - "..\..\..\tao\POAS.h"\ - "..\..\..\tao\POAS.i"\ - "..\..\..\tao\PolicyC.h"\ - "..\..\..\tao\PolicyC.i"\ - "..\..\..\tao\Principal.h"\ - "..\..\..\tao\Principal.i"\ - "..\..\..\tao\Request.h"\ - "..\..\..\tao\Request.i"\ - "..\..\..\tao\Sequence.h"\ - "..\..\..\tao\Sequence.i"\ - "..\..\..\tao\Sequence_T.cpp"\ - "..\..\..\tao\Sequence_T.h"\ - "..\..\..\tao\Sequence_T.i"\ - "..\..\..\tao\Servant_Base.h"\ - "..\..\..\tao\Server_Request.h"\ - "..\..\..\tao\Server_Request.i"\ - "..\..\..\tao\Server_Strategy_Factory.h"\ - "..\..\..\tao\singletons.h"\ - "..\..\..\tao\Stub.h"\ - "..\..\..\tao\Stub.i"\ - "..\..\..\tao\TAO.h"\ - "..\..\..\tao\Typecode.h"\ - "..\..\..\tao\Typecode.i"\ - "..\..\..\tao\Union.h"\ - "..\..\..\tao\varout.cpp"\ - "..\..\..\tao\varout.h"\ - "..\..\..\tao\varout.i"\ - -NODEP_CPP_SERVE=\ - "..\..\..\..\ace\sys_conf.h"\ - "..\..\..\tao\Align.h"\ - "..\..\..\tao\IIOP_Interpreter.h"\ - "..\..\..\tao\IIOP_Object.h"\ - "..\..\..\tao\IIOP_Object.i"\ - "..\..\..\tao\IIOP_ORB.h"\ - "..\..\..\tao\IIOP_ORB.i"\ - "..\..\..\tao\Object_Table.h"\ - ".\Server_impl.h"\ - ".\Time_impl.h"\ - ".\TimeC.h"\ - ".\TimeC.i"\ - ".\TimeS.h"\ - ".\TimeS.i"\ - ".\TimeS_T.cpp"\ - ".\TimeS_T.h"\ - ".\TimeS_T.i"\ - - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\Time_i.cpp - -!IF "$(CFG)" == "Simple Time Server - Win32 Release" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\TimeC.cpp - -!IF "$(CFG)" == "Simple Time Server - Win32 Release" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug" - -DEP_CPP_TIMEC=\ - "..\..\..\..\ace\Acceptor.cpp"\ - "..\..\..\..\ace\Acceptor.h"\ - "..\..\..\..\ace\Acceptor.i"\ - "..\..\..\..\ace\ACE.h"\ - "..\..\..\..\ace\ACE.i"\ - "..\..\..\..\ace\Addr.h"\ - "..\..\..\..\ace\Addr.i"\ - "..\..\..\..\ace\Atomic_Op.i"\ - "..\..\..\..\ace\Auto_Ptr.cpp"\ - "..\..\..\..\ace\Auto_Ptr.h"\ - "..\..\..\..\ace\Auto_Ptr.i"\ - "..\..\..\..\ace\Basic_Types.h"\ - "..\..\..\..\ace\Basic_Types.i"\ - "..\..\..\..\ace\config-win32-borland.h"\ - "..\..\..\..\ace\config-win32-common.h"\ - "..\..\..\..\ace\config-win32.h"\ - "..\..\..\..\ace\config-WinCE.h"\ - "..\..\..\..\ace\config.h"\ - "..\..\..\..\ace\Connector.cpp"\ - "..\..\..\..\ace\Connector.h"\ - "..\..\..\..\ace\Connector.i"\ - "..\..\..\..\ace\Containers.cpp"\ - "..\..\..\..\ace\Containers.h"\ - "..\..\..\..\ace\Containers.i"\ - "..\..\..\..\ace\Dynamic.h"\ - "..\..\..\..\ace\Dynamic.i"\ - "..\..\..\..\ace\Dynamic_Service.cpp"\ - "..\..\..\..\ace\Dynamic_Service.h"\ - "..\..\..\..\ace\Event_Handler.h"\ - "..\..\..\..\ace\Event_Handler.i"\ - "..\..\..\..\ace\Free_List.cpp"\ - "..\..\..\..\ace\Free_List.h"\ - "..\..\..\..\ace\Free_List.i"\ - "..\..\..\..\ace\Get_Opt.h"\ - "..\..\..\..\ace\Get_Opt.i"\ - "..\..\..\..\ace\Handle_Set.h"\ - "..\..\..\..\ace\Handle_Set.i"\ - "..\..\..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\..\..\ace\Hash_Map_Manager.h"\ - "..\..\..\..\ace\inc_user_config.h"\ - "..\..\..\..\ace\INET_Addr.h"\ - "..\..\..\..\ace\INET_Addr.i"\ - "..\..\..\..\ace\IO_Cntl_Msg.h"\ - "..\..\..\..\ace\iosfwd.h"\ - "..\..\..\..\ace\IPC_SAP.h"\ - "..\..\..\..\ace\IPC_SAP.i"\ - "..\..\..\..\ace\Log_Msg.h"\ - "..\..\..\..\ace\Log_Priority.h"\ - "..\..\..\..\ace\Log_Record.h"\ - "..\..\..\..\ace\Log_Record.i"\ - "..\..\..\..\ace\Malloc.h"\ - "..\..\..\..\ace\Malloc.i"\ - "..\..\..\..\ace\Malloc_Base.h"\ - "..\..\..\..\ace\Malloc_T.cpp"\ - "..\..\..\..\ace\Malloc_T.h"\ - "..\..\..\..\ace\Malloc_T.i"\ - "..\..\..\..\ace\Managed_Object.cpp"\ - "..\..\..\..\ace\Managed_Object.h"\ - "..\..\..\..\ace\Managed_Object.i"\ - "..\..\..\..\ace\Map_Manager.cpp"\ - "..\..\..\..\ace\Map_Manager.h"\ - "..\..\..\..\ace\Map_Manager.i"\ - "..\..\..\..\ace\Mem_Map.h"\ - "..\..\..\..\ace\Mem_Map.i"\ - "..\..\..\..\ace\Memory_Pool.h"\ - "..\..\..\..\ace\Memory_Pool.i"\ - "..\..\..\..\ace\Message_Block.h"\ - "..\..\..\..\ace\Message_Block.i"\ - "..\..\..\..\ace\Message_Queue.h"\ - "..\..\..\..\ace\Message_Queue.i"\ - "..\..\..\..\ace\Message_Queue_T.cpp"\ - "..\..\..\..\ace\Message_Queue_T.h"\ - "..\..\..\..\ace\Message_Queue_T.i"\ - "..\..\..\..\ace\Module.cpp"\ - "..\..\..\..\ace\Module.h"\ - "..\..\..\..\ace\Module.i"\ - "..\..\..\..\ace\Object_Manager.h"\ - "..\..\..\..\ace\Object_Manager.i"\ - "..\..\..\..\ace\OS.h"\ - "..\..\..\..\ace\OS.i"\ - "..\..\..\..\ace\Reactor.h"\ - "..\..\..\..\ace\Reactor.i"\ - "..\..\..\..\ace\Reactor_Impl.h"\ - "..\..\..\..\ace\Service_Config.h"\ - "..\..\..\..\ace\Service_Config.i"\ - "..\..\..\..\ace\Service_Object.h"\ - "..\..\..\..\ace\Service_Object.i"\ - "..\..\..\..\ace\Service_Repository.h"\ - "..\..\..\..\ace\Service_Repository.i"\ - "..\..\..\..\ace\Service_Types.h"\ - "..\..\..\..\ace\Service_Types.i"\ - "..\..\..\..\ace\Shared_Object.h"\ - "..\..\..\..\ace\Shared_Object.i"\ - "..\..\..\..\ace\Signal.h"\ - "..\..\..\..\ace\Signal.i"\ - "..\..\..\..\ace\Singleton.cpp"\ - "..\..\..\..\ace\Singleton.h"\ - "..\..\..\..\ace\Singleton.i"\ - "..\..\..\..\ace\SOCK.h"\ - "..\..\..\..\ace\SOCK.i"\ - "..\..\..\..\ace\SOCK_Acceptor.h"\ - "..\..\..\..\ace\SOCK_Acceptor.i"\ - "..\..\..\..\ace\SOCK_Connector.h"\ - "..\..\..\..\ace\SOCK_Connector.i"\ - "..\..\..\..\ace\SOCK_IO.h"\ - "..\..\..\..\ace\SOCK_IO.i"\ - "..\..\..\..\ace\SOCK_Stream.h"\ - "..\..\..\..\ace\SOCK_Stream.i"\ - "..\..\..\..\ace\SString.h"\ - "..\..\..\..\ace\SString.i"\ - "..\..\..\..\ace\Strategies.h"\ - "..\..\..\..\ace\Strategies.i"\ - "..\..\..\..\ace\Strategies_T.cpp"\ - "..\..\..\..\ace\Strategies_T.h"\ - "..\..\..\..\ace\Strategies_T.i"\ - "..\..\..\..\ace\Stream_Modules.cpp"\ - "..\..\..\..\ace\Stream_Modules.h"\ - "..\..\..\..\ace\Stream_Modules.i"\ - "..\..\..\..\ace\streams.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\..\..\ace\Svc_Handler.cpp"\ - "..\..\..\..\ace\Svc_Handler.h"\ - "..\..\..\..\ace\Svc_Handler.i"\ - "..\..\..\..\ace\Synch.h"\ - "..\..\..\..\ace\Synch.i"\ - "..\..\..\..\ace\Synch_Options.h"\ - "..\..\..\..\ace\Synch_Options.i"\ - "..\..\..\..\ace\Synch_T.cpp"\ - "..\..\..\..\ace\Synch_T.h"\ - "..\..\..\..\ace\Synch_T.i"\ - "..\..\..\..\ace\Task.h"\ - "..\..\..\..\ace\Task.i"\ - "..\..\..\..\ace\Task_T.cpp"\ - "..\..\..\..\ace\Task_T.h"\ - "..\..\..\..\ace\Task_T.i"\ - "..\..\..\..\ace\Thread.h"\ - "..\..\..\..\ace\Thread.i"\ - "..\..\..\..\ace\Thread_Manager.h"\ - "..\..\..\..\ace\Thread_Manager.i"\ - "..\..\..\..\ace\Time_Value.h"\ - "..\..\..\..\ace\Timer_Queue.h"\ - "..\..\..\..\ace\Timer_Queue_T.cpp"\ - "..\..\..\..\ace\Timer_Queue_T.h"\ - "..\..\..\..\ace\Timer_Queue_T.i"\ - "..\..\..\..\ace\Trace.h"\ - "..\..\..\..\ace\WFMO_Reactor.h"\ - "..\..\..\..\ace\WFMO_Reactor.i"\ - "..\..\..\..\ace\ws2tcpip.h"\ - "..\..\..\tao\Any.h"\ - "..\..\..\tao\Any.i"\ - "..\..\..\tao\CDR.h"\ - "..\..\..\tao\CDR.i"\ - "..\..\..\tao\Client_Strategy_Factory.h"\ - "..\..\..\tao\Connect.h"\ - "..\..\..\tao\Connect.i"\ - "..\..\..\tao\corba.h"\ - "..\..\..\tao\CurrentC.h"\ - "..\..\..\tao\CurrentC.i"\ - "..\..\..\tao\debug.h"\ - "..\..\..\tao\default_client.h"\ - "..\..\..\tao\default_client.i"\ - "..\..\..\tao\default_server.h"\ - "..\..\..\tao\default_server.i"\ - "..\..\..\tao\Environment.h"\ - "..\..\..\tao\Environment.i"\ - "..\..\..\tao\Exception.h"\ - "..\..\..\tao\Exception.i"\ - "..\..\..\tao\GIOP.h"\ - "..\..\..\tao\GIOP.i"\ - "..\..\..\tao\Invocation.h"\ - "..\..\..\tao\Invocation.i"\ - "..\..\..\tao\Marshal.h"\ - "..\..\..\tao\Marshal.i"\ - "..\..\..\tao\NVList.h"\ - "..\..\..\tao\NVList.i"\ - "..\..\..\tao\Object.h"\ - "..\..\..\tao\Object.i"\ - "..\..\..\tao\Object_KeyC.h"\ - "..\..\..\tao\Object_KeyC.i"\ - "..\..\..\tao\Operation_Table.h"\ - "..\..\..\tao\ORB.h"\ - "..\..\..\tao\ORB.i"\ - "..\..\..\tao\ORB_Core.h"\ - "..\..\..\tao\ORB_Core.i"\ - "..\..\..\tao\ORB_Strategies_T.cpp"\ - "..\..\..\tao\ORB_Strategies_T.h"\ - "..\..\..\tao\ORB_Strategies_T.i"\ - "..\..\..\tao\orbconf.h"\ - "..\..\..\tao\params.h"\ - "..\..\..\tao\params.i"\ - "..\..\..\tao\POA.h"\ - "..\..\..\tao\POA.i"\ - "..\..\..\tao\POA_CORBA.h"\ - "..\..\..\tao\poa_macros.h"\ - "..\..\..\tao\POAC.h"\ - "..\..\..\tao\POAC.i"\ - "..\..\..\tao\POAS.h"\ - "..\..\..\tao\POAS.i"\ - "..\..\..\tao\PolicyC.h"\ - "..\..\..\tao\PolicyC.i"\ - "..\..\..\tao\Principal.h"\ - "..\..\..\tao\Principal.i"\ - "..\..\..\tao\Request.h"\ - "..\..\..\tao\Request.i"\ - "..\..\..\tao\Sequence.h"\ - "..\..\..\tao\Sequence.i"\ - "..\..\..\tao\Sequence_T.cpp"\ - "..\..\..\tao\Sequence_T.h"\ - "..\..\..\tao\Sequence_T.i"\ - "..\..\..\tao\Servant_Base.h"\ - "..\..\..\tao\Server_Request.h"\ - "..\..\..\tao\Server_Request.i"\ - "..\..\..\tao\Server_Strategy_Factory.h"\ - "..\..\..\tao\singletons.h"\ - "..\..\..\tao\Stub.h"\ - "..\..\..\tao\Stub.i"\ - "..\..\..\tao\Typecode.h"\ - "..\..\..\tao\Typecode.i"\ - "..\..\..\tao\Union.h"\ - "..\..\..\tao\varout.cpp"\ - "..\..\..\tao\varout.h"\ - "..\..\..\tao\varout.i"\ - -NODEP_CPP_TIMEC=\ - "..\..\..\..\ace\sys_conf.h"\ - "..\..\..\tao\Align.h"\ - "..\..\..\tao\IIOP_Interpreter.h"\ - "..\..\..\tao\IIOP_Object.h"\ - "..\..\..\tao\IIOP_Object.i"\ - "..\..\..\tao\IIOP_ORB.h"\ - "..\..\..\tao\IIOP_ORB.i"\ - "..\..\..\tao\Object_Table.h"\ - ".\TimeC.h"\ - ".\TimeC.i"\ - ".\TimeS.h"\ - ".\TimeS.i"\ - ".\TimeS_T.cpp"\ - ".\TimeS_T.h"\ - ".\TimeS_T.i"\ - - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\TimeS.cpp - -!IF "$(CFG)" == "Simple Time Server - Win32 Release" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug" - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug" - -DEP_CPP_TIMES=\ - "..\..\..\..\ace\Acceptor.cpp"\ - "..\..\..\..\ace\Acceptor.h"\ - "..\..\..\..\ace\Acceptor.i"\ - "..\..\..\..\ace\ACE.h"\ - "..\..\..\..\ace\ACE.i"\ - "..\..\..\..\ace\Addr.h"\ - "..\..\..\..\ace\Addr.i"\ - "..\..\..\..\ace\Atomic_Op.i"\ - "..\..\..\..\ace\Auto_Ptr.cpp"\ - "..\..\..\..\ace\Auto_Ptr.h"\ - "..\..\..\..\ace\Auto_Ptr.i"\ - "..\..\..\..\ace\Basic_Types.h"\ - "..\..\..\..\ace\Basic_Types.i"\ - "..\..\..\..\ace\config-win32-borland.h"\ - "..\..\..\..\ace\config-win32-common.h"\ - "..\..\..\..\ace\config-win32.h"\ - "..\..\..\..\ace\config-WinCE.h"\ - "..\..\..\..\ace\config.h"\ - "..\..\..\..\ace\Connector.cpp"\ - "..\..\..\..\ace\Connector.h"\ - "..\..\..\..\ace\Connector.i"\ - "..\..\..\..\ace\Containers.cpp"\ - "..\..\..\..\ace\Containers.h"\ - "..\..\..\..\ace\Containers.i"\ - "..\..\..\..\ace\Dynamic.h"\ - "..\..\..\..\ace\Dynamic.i"\ - "..\..\..\..\ace\Dynamic_Service.cpp"\ - "..\..\..\..\ace\Dynamic_Service.h"\ - "..\..\..\..\ace\Event_Handler.h"\ - "..\..\..\..\ace\Event_Handler.i"\ - "..\..\..\..\ace\Free_List.cpp"\ - "..\..\..\..\ace\Free_List.h"\ - "..\..\..\..\ace\Free_List.i"\ - "..\..\..\..\ace\Get_Opt.h"\ - "..\..\..\..\ace\Get_Opt.i"\ - "..\..\..\..\ace\Handle_Set.h"\ - "..\..\..\..\ace\Handle_Set.i"\ - "..\..\..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\..\..\ace\Hash_Map_Manager.h"\ - "..\..\..\..\ace\inc_user_config.h"\ - "..\..\..\..\ace\INET_Addr.h"\ - "..\..\..\..\ace\INET_Addr.i"\ - "..\..\..\..\ace\IO_Cntl_Msg.h"\ - "..\..\..\..\ace\iosfwd.h"\ - "..\..\..\..\ace\IPC_SAP.h"\ - "..\..\..\..\ace\IPC_SAP.i"\ - "..\..\..\..\ace\Log_Msg.h"\ - "..\..\..\..\ace\Log_Priority.h"\ - "..\..\..\..\ace\Log_Record.h"\ - "..\..\..\..\ace\Log_Record.i"\ - "..\..\..\..\ace\Malloc.h"\ - "..\..\..\..\ace\Malloc.i"\ - "..\..\..\..\ace\Malloc_Base.h"\ - "..\..\..\..\ace\Malloc_T.cpp"\ - "..\..\..\..\ace\Malloc_T.h"\ - "..\..\..\..\ace\Malloc_T.i"\ - "..\..\..\..\ace\Managed_Object.cpp"\ - "..\..\..\..\ace\Managed_Object.h"\ - "..\..\..\..\ace\Managed_Object.i"\ - "..\..\..\..\ace\Map_Manager.cpp"\ - "..\..\..\..\ace\Map_Manager.h"\ - "..\..\..\..\ace\Map_Manager.i"\ - "..\..\..\..\ace\Mem_Map.h"\ - "..\..\..\..\ace\Mem_Map.i"\ - "..\..\..\..\ace\Memory_Pool.h"\ - "..\..\..\..\ace\Memory_Pool.i"\ - "..\..\..\..\ace\Message_Block.h"\ - "..\..\..\..\ace\Message_Block.i"\ - "..\..\..\..\ace\Message_Queue.h"\ - "..\..\..\..\ace\Message_Queue.i"\ - "..\..\..\..\ace\Message_Queue_T.cpp"\ - "..\..\..\..\ace\Message_Queue_T.h"\ - "..\..\..\..\ace\Message_Queue_T.i"\ - "..\..\..\..\ace\Module.cpp"\ - "..\..\..\..\ace\Module.h"\ - "..\..\..\..\ace\Module.i"\ - "..\..\..\..\ace\Object_Manager.h"\ - "..\..\..\..\ace\Object_Manager.i"\ - "..\..\..\..\ace\OS.h"\ - "..\..\..\..\ace\OS.i"\ - "..\..\..\..\ace\Reactor.h"\ - "..\..\..\..\ace\Reactor.i"\ - "..\..\..\..\ace\Reactor_Impl.h"\ - "..\..\..\..\ace\Service_Config.h"\ - "..\..\..\..\ace\Service_Config.i"\ - "..\..\..\..\ace\Service_Object.h"\ - "..\..\..\..\ace\Service_Object.i"\ - "..\..\..\..\ace\Service_Repository.h"\ - "..\..\..\..\ace\Service_Repository.i"\ - "..\..\..\..\ace\Service_Types.h"\ - "..\..\..\..\ace\Service_Types.i"\ - "..\..\..\..\ace\Shared_Object.h"\ - "..\..\..\..\ace\Shared_Object.i"\ - "..\..\..\..\ace\Signal.h"\ - "..\..\..\..\ace\Signal.i"\ - "..\..\..\..\ace\Singleton.cpp"\ - "..\..\..\..\ace\Singleton.h"\ - "..\..\..\..\ace\Singleton.i"\ - "..\..\..\..\ace\SOCK.h"\ - "..\..\..\..\ace\SOCK.i"\ - "..\..\..\..\ace\SOCK_Acceptor.h"\ - "..\..\..\..\ace\SOCK_Acceptor.i"\ - "..\..\..\..\ace\SOCK_Connector.h"\ - "..\..\..\..\ace\SOCK_Connector.i"\ - "..\..\..\..\ace\SOCK_IO.h"\ - "..\..\..\..\ace\SOCK_IO.i"\ - "..\..\..\..\ace\SOCK_Stream.h"\ - "..\..\..\..\ace\SOCK_Stream.i"\ - "..\..\..\..\ace\SString.h"\ - "..\..\..\..\ace\SString.i"\ - "..\..\..\..\ace\Strategies.h"\ - "..\..\..\..\ace\Strategies.i"\ - "..\..\..\..\ace\Strategies_T.cpp"\ - "..\..\..\..\ace\Strategies_T.h"\ - "..\..\..\..\ace\Strategies_T.i"\ - "..\..\..\..\ace\Stream_Modules.cpp"\ - "..\..\..\..\ace\Stream_Modules.h"\ - "..\..\..\..\ace\Stream_Modules.i"\ - "..\..\..\..\ace\streams.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\..\..\ace\Svc_Handler.cpp"\ - "..\..\..\..\ace\Svc_Handler.h"\ - "..\..\..\..\ace\Svc_Handler.i"\ - "..\..\..\..\ace\Synch.h"\ - "..\..\..\..\ace\Synch.i"\ - "..\..\..\..\ace\Synch_Options.h"\ - "..\..\..\..\ace\Synch_Options.i"\ - "..\..\..\..\ace\Synch_T.cpp"\ - "..\..\..\..\ace\Synch_T.h"\ - "..\..\..\..\ace\Synch_T.i"\ - "..\..\..\..\ace\Task.h"\ - "..\..\..\..\ace\Task.i"\ - "..\..\..\..\ace\Task_T.cpp"\ - "..\..\..\..\ace\Task_T.h"\ - "..\..\..\..\ace\Task_T.i"\ - "..\..\..\..\ace\Thread.h"\ - "..\..\..\..\ace\Thread.i"\ - "..\..\..\..\ace\Thread_Manager.h"\ - "..\..\..\..\ace\Thread_Manager.i"\ - "..\..\..\..\ace\Time_Value.h"\ - "..\..\..\..\ace\Timer_Queue.h"\ - "..\..\..\..\ace\Timer_Queue_T.cpp"\ - "..\..\..\..\ace\Timer_Queue_T.h"\ - "..\..\..\..\ace\Timer_Queue_T.i"\ - "..\..\..\..\ace\Trace.h"\ - "..\..\..\..\ace\WFMO_Reactor.h"\ - "..\..\..\..\ace\WFMO_Reactor.i"\ - "..\..\..\..\ace\ws2tcpip.h"\ - "..\..\..\tao\Any.h"\ - "..\..\..\tao\Any.i"\ - "..\..\..\tao\CDR.h"\ - "..\..\..\tao\CDR.i"\ - "..\..\..\tao\Client_Strategy_Factory.h"\ - "..\..\..\tao\Connect.h"\ - "..\..\..\tao\Connect.i"\ - "..\..\..\tao\corba.h"\ - "..\..\..\tao\CurrentC.h"\ - "..\..\..\tao\CurrentC.i"\ - "..\..\..\tao\debug.h"\ - "..\..\..\tao\default_client.h"\ - "..\..\..\tao\default_client.i"\ - "..\..\..\tao\default_server.h"\ - "..\..\..\tao\default_server.i"\ - "..\..\..\tao\Environment.h"\ - "..\..\..\tao\Environment.i"\ - "..\..\..\tao\Exception.h"\ - "..\..\..\tao\Exception.i"\ - "..\..\..\tao\GIOP.h"\ - "..\..\..\tao\GIOP.i"\ - "..\..\..\tao\Invocation.h"\ - "..\..\..\tao\Invocation.i"\ - "..\..\..\tao\Marshal.h"\ - "..\..\..\tao\Marshal.i"\ - "..\..\..\tao\NVList.h"\ - "..\..\..\tao\NVList.i"\ - "..\..\..\tao\Object.h"\ - "..\..\..\tao\Object.i"\ - "..\..\..\tao\Object_KeyC.h"\ - "..\..\..\tao\Object_KeyC.i"\ - "..\..\..\tao\Operation_Table.h"\ - "..\..\..\tao\ORB.h"\ - "..\..\..\tao\ORB.i"\ - "..\..\..\tao\ORB_Core.h"\ - "..\..\..\tao\ORB_Core.i"\ - "..\..\..\tao\ORB_Strategies_T.cpp"\ - "..\..\..\tao\ORB_Strategies_T.h"\ - "..\..\..\tao\ORB_Strategies_T.i"\ - "..\..\..\tao\orbconf.h"\ - "..\..\..\tao\params.h"\ - "..\..\..\tao\params.i"\ - "..\..\..\tao\POA.h"\ - "..\..\..\tao\POA.i"\ - "..\..\..\tao\POA_CORBA.h"\ - "..\..\..\tao\poa_macros.h"\ - "..\..\..\tao\POAC.h"\ - "..\..\..\tao\POAC.i"\ - "..\..\..\tao\POAS.h"\ - "..\..\..\tao\POAS.i"\ - "..\..\..\tao\PolicyC.h"\ - "..\..\..\tao\PolicyC.i"\ - "..\..\..\tao\Principal.h"\ - "..\..\..\tao\Principal.i"\ - "..\..\..\tao\Request.h"\ - "..\..\..\tao\Request.i"\ - "..\..\..\tao\Sequence.h"\ - "..\..\..\tao\Sequence.i"\ - "..\..\..\tao\Sequence_T.cpp"\ - "..\..\..\tao\Sequence_T.h"\ - "..\..\..\tao\Sequence_T.i"\ - "..\..\..\tao\Servant_Base.h"\ - "..\..\..\tao\Server_Request.h"\ - "..\..\..\tao\Server_Request.i"\ - "..\..\..\tao\Server_Strategy_Factory.h"\ - "..\..\..\tao\singletons.h"\ - "..\..\..\tao\Stub.h"\ - "..\..\..\tao\Stub.i"\ - "..\..\..\tao\Typecode.h"\ - "..\..\..\tao\Typecode.i"\ - "..\..\..\tao\Union.h"\ - "..\..\..\tao\varout.cpp"\ - "..\..\..\tao\varout.h"\ - "..\..\..\tao\varout.i"\ - -NODEP_CPP_TIMES=\ - "..\..\..\..\ace\sys_conf.h"\ - "..\..\..\tao\Align.h"\ - "..\..\..\tao\IIOP_Interpreter.h"\ - "..\..\..\tao\IIOP_Object.h"\ - "..\..\..\tao\IIOP_Object.i"\ - "..\..\..\tao\IIOP_ORB.h"\ - "..\..\..\tao\IIOP_ORB.i"\ - "..\..\..\tao\Object_Table.h"\ - ".\TimeC.h"\ - ".\TimeC.i"\ - ".\TimeS.h"\ - ".\TimeS.i"\ - ".\TimeS_T.cpp"\ - ".\TimeS_T.h"\ - ".\TimeS_T.i"\ - - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Time_i.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter ".idl" -# Begin Source File - -SOURCE=.\Time.idl - -!IF "$(CFG)" == "Simple Time Server - Win32 Release" - -USERDEP__TIME_="..\..\..\..\bin\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\..\bin\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\..\bin\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath) -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug" - -# PROP BASE Ignore_Default_Tool 1 -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\tao_idl\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\tao_idl\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release" - -USERDEP__TIME_="..\..\..\tao_idl\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\tao_idl\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simple/time/server_static.dsp b/TAO/examples/Simple/time/server_static.dsp deleted file mode 100644 index 63bfcdde35c..00000000000 --- a/TAO/examples/Simple/time/server_static.dsp +++ /dev/null @@ -1,214 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Simple Time Server Static" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Simple Time Server Static - 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 "server_static.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 "server_static.mak"\ - CFG="Simple Time Server Static - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Simple Time Server Static - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Simple Time Server Static - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Simple Time Server Static - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "server\Static Debug" -# PROP BASE Intermediate_Dir "server\Static Debug" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "server" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug\Static" -# PROP Intermediate_Dir "Debug\Static" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "server" -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D ACE_HAS_DLL=0 /D TAO_HAS_DLL=0 /D ACE_NO_INLINE /FD /c -# SUBTRACT CPP /YX -# 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 aced.lib TAOd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace" -# ADD LINK32 acesd.lib TAOsd.lib orbsvcssd.lib advapi32.lib user32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ELSEIF "$(CFG)" == "Simple Time Server Static - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "server\Static Release" -# PROP BASE Intermediate_Dir "server\Static Release" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "server" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release\Static" -# PROP Intermediate_Dir "Release\Static" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "server" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\..\..\\" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D TAO_HAS_DLL=0 /D ACE_NO_INLINE /D ACE_HAS_DLL=0 /FD /c -# SUBTRACT CPP /YX -# 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 ace.lib TAO.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace" -# ADD LINK32 aces.lib TAOs.lib orbsvcss.lib advapi32.lib user32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Simple Time Server Static - Win32 Debug" -# Name "Simple Time Server Static - Win32 Release" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\server.cpp -# End Source File -# Begin Source File - -SOURCE=.\Time_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\TimeC.cpp -# End Source File -# Begin Source File - -SOURCE=.\TimeS.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\Server_i.h -# End Source File -# Begin Source File - -SOURCE=.\Time_i.h -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter ".idl" -# Begin Source File - -SOURCE=.\Time.idl - -!IF "$(CFG)" == "Simple Time Server Static - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -USERDEP__TIME_="..\..\..\tao_idl\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ELSEIF "$(CFG)" == "Simple Time Server Static - Win32 Release" - -USERDEP__TIME_="..\..\..\tao_idl\Release\tao_idl.exe" -# Begin Custom Build - Invoking TAO_IDL Compiler -InputPath=.\Time.idl -InputName=Time - -BuildCmds= \ - ..\..\..\tao_idl\Release\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simulator/DOVEBrowser/AnswerEvent.java b/TAO/examples/Simulator/DOVEBrowser/AnswerEvent.java deleted file mode 100644 index c10ae7d766a..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/AnswerEvent.java +++ /dev/null @@ -1,23 +0,0 @@ -// $Id$ -// -// = FILENAME -// AnswerEvent.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// Event definition for the Dialog for selecting Observables. -// -// ============================================================================ - -public class AnswerEvent extends java.util.EventObject { - - protected String selected_; - - public AnswerEvent (Object source, String selected) { - super (source); - this.selected_ = selected; - } -} - diff --git a/TAO/examples/Simulator/DOVEBrowser/AnswerListener.java b/TAO/examples/Simulator/DOVEBrowser/AnswerListener.java deleted file mode 100644 index 77d43646729..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/AnswerListener.java +++ /dev/null @@ -1,18 +0,0 @@ -// $Id$ -// -// = FILENAME -// AnswerListener.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// EventListener definition for the Dialog for selecting Observables. -// -// ============================================================================ - - -public class AnswerListener implements java.util.EventListener { - public void ok (AnswerEvent e) {} - public void cancel (AnswerEvent e) {} -} diff --git a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html b/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html deleted file mode 100644 index 5502857d548..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - -Document Title - - - -Note: When used with Visibroker, the gatekeeper must run in the DOVEBrowser directory! -Note: The IORs are different for each machine! So exchange the IORs below. - - -NT Name Service IOR - - -Unix Name ServiceIOR - - -Use this to run it with the appletviewer and Visibroker - - -Use this to run it within Netscape - - - - - - - - diff --git a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java b/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java deleted file mode 100644 index 6c3ef2e71e3..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java +++ /dev/null @@ -1,87 +0,0 @@ -// $Id$ -// -// = FILENAME -// DOVEBrowser.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// Entry point for the demo. -// -// ============================================================================ - - -import java.awt.*; - -public class DOVEBrowser { - - DemoCore demoCore_; - - public DOVEBrowser () { - super (); - } - - public void init (String nameServiceIOR, String nameServicePort, - String[] args, boolean use_queueing) { - - demoCore_ = new DemoCore (nameServiceIOR, - nameServicePort, - args, - use_queueing, - null); - demoCore_.show (); - demoCore_.run (); - } - - public static void main (String[] args) { - String nameServiceIOR = null; - String nameServicePort = null; - boolean use_queueing = false; - int arg_index = 0; - - // Loop through command line arguments, acting on relevant options - while (args.length > arg_index) - { - System.out.println ("args.length [" + args.length + "] arg_index [" + - arg_index + "]"); - // Set the name service IOR - if (args[arg_index].equals ("-queue")) - { - ++arg_index; - use_queueing = true; - } - else if ((args[arg_index].equals ("-ORBnameserviceior")) && - (args.length > arg_index + 1)) - { - System.out.println ("switch [" + args[arg_index] + "]"); - System.out.println ("value [" + args[arg_index + 1] + "]"); - nameServiceIOR = args[arg_index + 1]; - System.out.println ("nameServiceIOR [" + nameServiceIOR + "]"); - arg_index += 2; - } - // Set the name service port - else if ((args[arg_index].equals ("-ORBnameserviceport")) && - (args.length > arg_index + 1)) - { - System.out.println ("switch [" + args[arg_index] + "]"); - System.out.println ("value [" + args[arg_index + 1] + "]"); - nameServicePort = args[arg_index + 1]; - System.out.println ("nameServicePort [" + nameServicePort + "]"); - arg_index += 2; - } - // Skip over anything else - else - { - System.out.println ("Skipping [" + args[arg_index] + "]"); - arg_index ++; - } - } - - DOVEBrowser doveBrowser = new DOVEBrowser(); - doveBrowser.init (nameServiceIOR, nameServicePort, args, use_queueing); - } -} - - - diff --git a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowserApplet.java b/TAO/examples/Simulator/DOVEBrowser/DOVEBrowserApplet.java deleted file mode 100644 index 160eb3a363b..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowserApplet.java +++ /dev/null @@ -1,51 +0,0 @@ -// $Id$ -// -// = FILENAME -// DOVEBrowserApplet.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// Entry point for the demo when started inside an applet. -// -// ============================================================================ - - -import java.awt.*; - -public class DOVEBrowserApplet extends java.applet.Applet { - - DemoCore demoCore_; - static String nameServiceIOR_ = null; - - public DOVEBrowserApplet () { - super (); - } - - public void init () { - // in case of an applet use the following line, else not! - nameServiceIOR_ = this.getParameter ("NSIOR"); - - if (nameServiceIOR_ == null) { - System.out.println ("The DOVE Browser cannot run, because no Naming Service IOR was found!"); - return; - } - - demoCore_ = new DemoCore (nameServiceIOR_, // name service IOR - null, // name service port - null, // args - false, // don't use queueing - this); // pointer to the applet - demoCore_.show (); - demoCore_.run (); - } -} - - - - - - - - diff --git a/TAO/examples/Simulator/DOVEBrowser/DataHandler.java b/TAO/examples/Simulator/DOVEBrowser/DataHandler.java deleted file mode 100644 index 090cccf089d..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/DataHandler.java +++ /dev/null @@ -1,34 +0,0 @@ -// $Id$ -// -// = FILENAME -// DataHandler.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This is the interface for data handling in the simulation demo -// using the Event Channel as transport media. -// -// ============================================================================ - -import org.omg.CORBA.*; - -public interface DataHandler { - - // entry point for an consumer to put data event into the data handler - public void update (RtecEventComm.Event event); - - // get a list of the Observables names to allow selection - public java.util.Enumeration getObservablesList (); - - // get a specific Observable - public DemoObservable getObservable(String name); - - // get the property of an observable - public int getObservableProperty (String name); -} - - - - diff --git a/TAO/examples/Simulator/DOVEBrowser/DemoCore.java b/TAO/examples/Simulator/DOVEBrowser/DemoCore.java deleted file mode 100644 index 9c371342923..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/DemoCore.java +++ /dev/null @@ -1,204 +0,0 @@ -// $Id$ -// -// = FILENAME -// DemoCore.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This class servers as the core class of the simulation demo. -// It connects the push consumer of the event service with -// one or several Java Beans. -// -// ============================================================================ - - -import java.awt.*; -import java.awt.event.*; - -public class DemoCore extends Frame { - - private static final int MAX_VIS_COMPS = 10; - - private PushConsumerFactory pushConsumerFactory_; - private VisCompFactory visCompFactory_; - private DataHandler dataHandler_; - private java.util.Vector vis_comp_list_; - private int countVisComp_ = 0; - private GridBagLayout gridbag_; - private GridBagConstraints constraints_; - private boolean use_queueing_ = false; - private boolean connections_established_ = false; - - DemoCore (String nameServiceIOR, - String nameServicePort, - String[] args, - boolean use_queueing, - java.applet.Applet applet) { - super (); - - use_queueing = use_queueing; - - setSize (600,400); - setBounds (new Rectangle (50,50,800,500)); - setVisible (true); - - gridbag_ = new GridBagLayout(); - constraints_ = new GridBagConstraints(); - constraints_.fill = GridBagConstraints.BOTH; - constraints_.weightx = 1.0; - constraints_.weighty = 1.0; - this.setLayout (gridbag_); - - // Instantiate the DataHandler and the PushConsumer - dataHandler_ = new NavWeapDataHandler (); - pushConsumerFactory_ = new PushConsumerFactory (dataHandler_, - nameServiceIOR, - nameServicePort, - args, - use_queueing_, - applet); - - // List of Visualization Components - vis_comp_list_ = new java.util.Vector(); - - MenuBar menubar_ = new MenuBar (); - Menu menu_ = new Menu ("File"); - MenuItem menu_quit_item_ = new MenuItem ("Quit"); - menu_quit_item_.setEnabled (true); - MenuItem menu_add_item_ = new MenuItem ("Add"); - menu_add_item_.setEnabled (true); - menu_.add (menu_add_item_); - menu_.add (menu_quit_item_); - menubar_.add (menu_); - - setMenuBar (menubar_); - - menu_quit_item_.addActionListener (new ActionListener () - { - public void actionPerformed (ActionEvent e) { - System.exit (0); - } - }); - - menu_add_item_.addActionListener (new ActionListener () - { - public void actionPerformed (ActionEvent e) { - ObservablesDialog obsDialog_ = - new ObservablesDialog (DemoCore.this, - dataHandler_.getObservablesList()); - obsDialog_.addAnswerListener (new AnswerListener () - { - public void ok (AnswerEvent e) - { - DemoCore.this.addConnection (e.selected_); - } - }); - obsDialog_.setVisible (true); - } - }); - - // instantiate the Factory for Visualization Components - visCompFactory_ = new VisCompFactory (); - - // Traverse the args looking for switches that determine connections. - int arg_index = 0; - while (args.length > arg_index) - { - if (args[arg_index].equals ("-dualECdemo") || - args[arg_index].equals ("-dualECdemo1") || - args[arg_index].equals ("-dualECdemo2")) - { - // Use monotonic scales in the double precision data windows - DoubleVisComp.monotonic_scale (true); - - // Establish connections - if (! connections_established_) - { - connections_established_ = true; - addConnection ("Weapons"); - addConnection ("Weapons Latency (100 ns)"); - addConnection ("Weapons Latency Jitter (100 ns)"); - addConnection ("Navigation"); - addConnection ("Navigation Latency (100 ns)"); - addConnection ("Navigation Latency Jitter (100 ns)"); - break; - } - } - // Skip over anything else. - else - { - arg_index ++; - } - } - - - // If connections have not been established, set up defaults - if (! connections_established_) - { - connections_established_ = true; - addConnection ("Weapons"); - addConnection ("Weapons Latency (100 ns)"); - addConnection ("Navigation"); - addConnection ("Navigation Latency (100 ns)"); - } - } - - - public boolean addConnection (String selected) { - // to not fill too many into it - if (countVisComp_ < MAX_VIS_COMPS) { - - // get a reference to the Observable - DemoObservable observable_ = dataHandler_.getObservable (selected); - - if (observable_ != null) { - - VisComp visComp_ = visCompFactory_.getNewVisComp (observable_.getProperty (), selected); - - if (visComp_ != null) { - vis_comp_list_.addElement (visComp_); - - // connect the Observer with the Observable - observable_.addObserver (visComp_); - - countVisComp_++; - - // not more than three in a row - if (countVisComp_ == 3){ - constraints_.gridwidth = GridBagConstraints.REMAINDER; - } - if (countVisComp_ > 3) { - constraints_.gridwidth = 1; - } - - gridbag_.setConstraints ((java.awt.Component) visComp_, constraints_); - - // add the Visualization Component to the Frame - DemoCore.this.add ((java.awt.Component) visComp_); - DemoCore.this.show (); - - return true; - } - } - } - return false; - } - - public void init () - { - } - - public void paint (Graphics g) - { - } - - public void run () - { - // Wait passive until events come in - pushConsumerFactory_.run (); - } -} - - diff --git a/TAO/examples/Simulator/DOVEBrowser/DemoObservable.java b/TAO/examples/Simulator/DOVEBrowser/DemoObservable.java deleted file mode 100644 index 81c85b961f8..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/DemoObservable.java +++ /dev/null @@ -1,19 +0,0 @@ -// $Id$ -// -// = FILENAME -// DemoObservable.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This class servers as the core class of the simulation demo -// -// ============================================================================ - - - -public abstract class DemoObservable extends java.util.Observable { - - public abstract int getProperty (); -} diff --git a/TAO/examples/Simulator/DOVEBrowser/DoubleVisComp.java b/TAO/examples/Simulator/DOVEBrowser/DoubleVisComp.java deleted file mode 100644 index 228d9931fc7..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/DoubleVisComp.java +++ /dev/null @@ -1,275 +0,0 @@ -// $Id$ -// -// = FILENAME -// DoubleVisComp.java -// -// = AUTHOR -// Seth Widoff (core graph functionality) -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This is a Visualization Component for displaying doubles. -// -// ============================================================================ - - - - -import java.awt.*; -import java.util.*; - -public class DoubleVisComp extends Canvas implements VisComp -{ - private static final int MIN_SPACING = 2; - private static final int POINT_HISTORY = 200; - private static final Font FONT = new Font ("Dialog", Font.PLAIN, 10); - - private Queue plot_; - private String title_; - private Graphics offgraphics_; - private Image offscreen_; - private Dimension offscreensize_; - private int max_value_; - private int old_max_value_; - private int spacing_; - private boolean max_increased_ = false; - private static boolean monotonic_scale_ = false; - - private float local_max_ = 0; - private static float local_max_values_ [] = null; - private static int local_max_value_count_ = 0; - private int local_max_value_index_ = 0; - - public DoubleVisComp() - { - super(); - - // Re-initialize the global array of local maxima. - local_max_init (); - - plot_ = new Queue(); - spacing_ = MIN_SPACING; - title_ = ""; - max_value_ = 1; - old_max_value_ = max_value_; - - java.util.Random rand = new java.util.Random (System.currentTimeMillis()); - float hue_ = rand.nextFloat(); - float brightness = rand.nextFloat(); - - hue_ += .075; - - if (hue_ > 1.0) - hue_ -= 1.0; - - if (brightness > 0.75) - brightness -= 0.25; - - Color new_color = Color.getHSBColor(hue_, 1, brightness); - - this.setBackground(new_color); - this.setForeground(Color.white); - } - - public static synchronized void monotonic_scale (boolean b) { - monotonic_scale_ = b; - } - - public static synchronized boolean monotonic_scale () { - return monotonic_scale_; - } - - public void setName (String title) { - title_ = title; - } - - public int getProperty () { - return Properties.DOUBLE; - } - - public Dimension getMinimumSize () { - return new Dimension (75, 75); - } - - public Dimension getPreferredSize () { - return new Dimension (175, 175); - } - - public String getName() { - return title_; - } - - public int getMax() { - return old_max_value_; - } - - public void update(java.util.Observable observable, java.lang.Object obj) - { - Double double_temp_; - try { - double_temp_ = (Double) obj; - } - catch (Exception excp) { - double_temp_ = new Double (0.0); - System.out.println (excp); - System.out.println ("Visualization Component received wrong data type!"); - } - - float new_point = double_temp_.floatValue(); - Float temp = (Float)plot_.dequeue_tail(); - plot_.enqueue_head(new Float(new_point)); - - if (new_point > local_max_) - { - local_max_ = new_point; - local_max_values_ [local_max_value_index_] = local_max_; - } - - if (monotonic_scale_) - { - float global_max = 0; - global_max = global_max_value (); - - while (global_max > max_value_) - max_value_ *= 2; - - while ((global_max < max_value_/2) && (max_value_ > old_max_value_)) - max_value_ /= 2; - } - else - { - while (local_max_ > max_value_) - max_value_ *= 2; - - while ((local_max_ < max_value_/2) && (max_value_ > old_max_value_)) - max_value_ /= 2; - } - - repaint(); - } - - public void update(Graphics g) - { - Dimension d = getSize (); - float tmp, value_1, value_2; - FontMetrics fm = g.getFontMetrics (); - Enumeration queue_iter = plot_.forward_iterator(); - int x1 = d.width - 8, y1, x2, y2, fheight = fm.getHeight (), i; - String value = "Value (of " + max_value_ + "): " + String.valueOf(plot_.head()); - - if ((offscreen_ == null) || - (offscreensize_.width != d.width - 8) || - (offscreensize_.height != d.height - 8)) - { - offscreen_ = createImage(d.width - 8, d.height - 8); - offscreensize_ = new Dimension(d.width - 8, d.height - 8); - offgraphics_ = offscreen_.getGraphics(); - offgraphics_.setFont(FONT); - } - - g.setColor (Color.lightGray); - g.draw3DRect (0, 0, d.width - 1, d.height - 1, true); - g.draw3DRect (1, 1, d.width - 3, d.height - 3, true); - g.draw3DRect (2, 2, d.width - 5, d.height - 5, true); - - local_max_ = 0; - - offgraphics_.setColor (getBackground()); - offgraphics_.fillRect (0, 0, offscreensize_.width, offscreensize_.height); - offgraphics_.setColor (getForeground()); - offgraphics_.drawString(title_, 5, fheight); - offgraphics_.drawString(value, 5, offscreensize_.height - 5); - - value_1 = ((Float)queue_iter.nextElement()).floatValue(); - while (queue_iter.hasMoreElements()) - { - value_2 = ((Float)queue_iter.nextElement()).floatValue(); - - if (value_1 > local_max_) - local_max_ = value_1; - - y1 = normalize(offscreensize_.height - fheight, value_1); - y2 = normalize(offscreensize_.height - fheight, value_2); - - tmp = value_2; - value_2 = value_1; - value_1 = tmp; - - x2 = x1 - spacing_; - offgraphics_.drawLine(x1, y1, x2, y2); - x1 = x2; - if (x1 <= 5) - break; - } - - local_max_values_ [local_max_value_index_] = local_max_; - - g.drawImage(offscreen_, 3, 3, null); - } - - public void paint(Graphics g) - { - Dimension d = getSize (); - int plot_length = plot_.length(); - int num_points = d.width / spacing_; - - if (plot_.length() < num_points) - { - for (int i = 0; i < num_points - plot_length; i++) - plot_.enqueue_tail(new Float(0)); - } - else if (plot_.length() > num_points) - { - for (int i = 0; i < plot_length - num_points; i++) - plot_.dequeue_tail(); - } - - update(g); - } - - private static synchronized float global_max_value () { - float result = 0; - - for (int i = 0; i < local_max_value_count_; ++i) - { - if (result < local_max_values_ [i]) - { - result = local_max_values_ [i]; - } - } - - return result; - } - - private synchronized void local_max_init () { - - // Create a new, larger, array to hold the local maxima - float new_max_values [] = - new float [local_max_value_count_ + 1]; - - // Copy the previously stored maxima (if any) into the new array. - for (int i = 0; i < local_max_value_count_; ++i) - { - new_max_values [i] = local_max_values_ [i]; - } - - // Replace the old array with the new one. - local_max_values_ = new_max_values; - - // Store the local index for this object, bump up the count. - local_max_value_index_ = local_max_value_count_; - local_max_value_count_++; - } - - - private int normalize(int height, float coord) - { - float ratio = (float)coord/max_value_; - float pixels = (float)height*ratio; - float location = (float)height - pixels; - - return Math.round(location); - } -} - - diff --git a/TAO/examples/Simulator/DOVEBrowser/MTDataHandlerAdapter.java b/TAO/examples/Simulator/DOVEBrowser/MTDataHandlerAdapter.java deleted file mode 100644 index 5025c0a8e6d..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/MTDataHandlerAdapter.java +++ /dev/null @@ -1,76 +0,0 @@ -// $Id$ - -// This is an adapter class for a data handler to be used in a separate -// thread. The adapter provides a push method that places an event -// set into its synchronized internal MTQueue. It runs a separate thread -// which blocks until there is an event in the queue, then dequeues the -// event and then unpacks it and updates the underlying data handler. - -public class MTDataHandlerAdapter extends Thread -{ - // Both the queue and the underlying data handler are private - private MTQueue queue_ = null; - private DataHandler dataHandler_ = null; - private boolean use_queueing_ = false; - - // Constructor. - MTDataHandlerAdapter (DataHandler dh, boolean use_queueing) - { - dataHandler_ = dh; - use_queueing_ = use_queueing; - if (use_queueing_) - { - queue_ = new MTQueue (); - } - } - - // Enqueue an event set for the handler thread. - public void push (RtecEventComm.Event[] events) - { - if (use_queueing_) - { - queue_.enqueue_tail (events); - } - else - { - for (int i = 0; i < events.length; ++i) - { - if(events[i].header.type == - PushConsumer.ACE_ES_EVENT_NOTIFICATION) - { - dataHandler_.update (events[i]); - } - } - } - } - - // Process enqueued event sets in a separate thread. - public void run () - { - // Loop forever, handling events. - for (;;) - { - try - { - // Pull an event set from the head of the queue - RtecEventComm.Event[] events = - (RtecEventComm.Event[]) queue_.dequeue_head (); - - for (int i = 0; i < events.length; ++i) - { - if(events[i].header.type == - PushConsumer.ACE_ES_EVENT_NOTIFICATION) - { - dataHandler_.update (events[i]); - } - } - } - catch(org.omg.CORBA.SystemException e) - { - System.err.println(e); - } - } - } -} - - diff --git a/TAO/examples/Simulator/DOVEBrowser/MTQueue.java b/TAO/examples/Simulator/DOVEBrowser/MTQueue.java deleted file mode 100644 index 357c872c4dc..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/MTQueue.java +++ /dev/null @@ -1,200 +0,0 @@ -// $Id$ - -// This is a queue class for use by multiple threads, with at least one -// thread enqueueing objects and another dequeueing them. The dequeue_* -// methods block the thread if there are no more objects in the queue, -// while the try_dequeue_* methods do not block but rather return a -// null reference if there is nothing in the queue. -public class MTQueue -{ - // Initially, the head and tail of the queue are null - MTQueue_Node head_ = null; - MTQueue_Node tail_ = null; - - // Constructor - does nothing. - public MTQueue () - { - } - - // Places a passed Object at the end of the queue. - public synchronized void enqueue_tail (Object new_data) - { - // Create a new node to hold the object. - MTQueue_Node new_node = new MTQueue_Node(new_data); - - // Insert the node into the queue. - if (tail_ == null) - { - tail_ = new_node; - head_ = new_node; - } - else - { - new_node.prev_ = tail_; - tail_.next_ = new_node; - tail_ = new_node; - } - - // Wake up any waiting threads - notifyAll (); - } - - // Places a passed Object at the front of the queue. - public synchronized void enqueue_head(Object new_data) - { - // Create a new node to hold the object. - MTQueue_Node new_node = new MTQueue_Node(new_data); - - // Insert the node into the queue. - if (head_ == null) - { - tail_ = new_node; - head_ = new_node; - } - else - { - new_node.next_ = head_; - head_.prev_ = new_node; - head_ = new_node; - } - - // Wake up any waiting threads - notifyAll (); - } - - // Try to remove an object from the head of the queue - nonblocking. - public synchronized Object try_dequeue_head() - { - // Start with a null reference. - Object return_value = null; - - // If there's anything there, dequeue it. - if (head_ != null) - { - return_value = dequeue_head (); - } - - // Return what we found, if anything. - return return_value; - } - - // Remove an object from the head of the queue - blocking. - public synchronized Object dequeue_head() - { - // Start with a null reference. - Object return_value = null; - - // Wait until there's something to dequeue. - while (head_ == null) - { - try - { - wait (); - } - catch (InterruptedException e) - { - return return_value; - } - } - - // Dequeue the object at the head of the queue. Make sure - // to null out references within dequeued nodes to prevent - // out of memory errors. - if (tail_ == head_) - { - return_value = head_.data_; - head_.next_ = null; - head_.prev_ = null; - head_.data_ = null; - tail_ = null; - head_ = null; - } - else - { - return_value = head_.data_; - head_ = head_.next_; - head_.prev_.next_ = null; - head_.prev_.prev_ = null; - head_.prev_.data_ = null; - head_.prev_ = null; - } - - // Return the object we dequeued. - return return_value; - } - - // Try to remove an object from the tail of the queue - nonblocking. - public synchronized Object try_dequeue_tail () - { - // Start with a null reference. - Object return_value = null; - - // If there's anything there, dequeue it. - if (tail_ != null) - { - return_value = dequeue_tail (); - } - - // Return what we found, if anything. - return return_value; - } - - // Remove an object from the tail of the queue - blocking. - public synchronized Object dequeue_tail () - { - // Start with a null reference. - Object return_value = null; - - // Wait until there's something to dequeue. - while (tail_ == null) - { - try - { - wait (); - } - catch (InterruptedException e) - { - return return_value; - } - } - - // Dequeue the object at the back of the queue. Make sure - // to null out references within dequeued nodes to prevent - // out of memory errors. - if (tail_ == head_) - { - return_value = tail_.data_; - tail_.data_ = null; - tail_.next_ = null; - tail_.prev_ = null; - tail_ = null; - head_ = null; - } - else - { - return_value = tail_.data_; - tail_ = tail_.prev_; - tail_.next_.data_ = null; - tail_.next_.next_ = null; - tail_.next_.prev_ = null; - tail_.next_ = null; - } - - // Return the object we dequeued. - return return_value; - } -} - -class MTQueue_Node -{ - public MTQueue_Node prev_ = null; - public MTQueue_Node next_ = null;; - public Object data_; - - public MTQueue_Node(Object data) - { - data_ = data; - } -} - - diff --git a/TAO/examples/Simulator/DOVEBrowser/Makefile b/TAO/examples/Simulator/DOVEBrowser/Makefile deleted file mode 100644 index e05d9411af7..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/Makefile +++ /dev/null @@ -1,109 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -#### VisiBroker 3.3 -JAVA_DIR = /project/doc/pkg/VisiJava3.4/bin/ -IDL2JAVA = $(JAVA_DIR)idl2java -JAVAC = $(JAVA_DIR)vbjc - -#### JDK 1.2 -#### JAVA_DIR = /pkg/java_1.2b4/bin/ -#### IDL2JAVA = $(JAVA_DIR)idltojava -#### JAVAC = $(JAVA_DIR)javac - -DOVE_BROWSER_JAVA = \ - CosNaming.java \ - CosTimeBase.java \ - RtecEventComm.java \ - RtecScheduler.java \ - RtecEventChannelAdmin.java \ - Navigation.java \ - Weapons.java - -DOVE_BROWSER_CLASS = Navigation.class - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU - -BUILD = $(DOVE_BROWSER_JAVA) $(DOVE_BROWSER_CLASS) - -ifeq ($(CROSS-COMPILE),) - include $(ACE_ROOT)/include/makeinclude/macros.GNU - include $(TAO_ROOT)/rules.tao.GNU - include $(ACE_ROOT)/include/makeinclude/rules.common.GNU - include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU - include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - include $(TAO_ROOT)/taoconfig.mk - - realclean: clean - -$(RM) $(DOVE_BROWSER_JAVA) \ - $(patsubst %.java,%.idl,$(DOVE_BROWSER_JAVA)) NavWeap.idl \ - Navigation.java NavigationH*.java \ - Weapons.java WeaponsH*.java *.class CosNaming \ - RtecEventChannelAdmin RtecEventComm RtecScheduler TimeBase - -else - all default_embedded: - @echo This module is not built on CROSS-COMPILE platforms. - - clean realclean: - @echo Nothing to clean on CROSS-COMPILE platforms. -endif # ! CROSS-COMPILE - -#### No need to create object directories. -OBJDIRS = - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -.SUFFIXES: -.SUFFIXES: .class .idl .java - -#### Don't remove the .idl and .java files after building the .class files. -.PRECIOUS: $(DOVE_BROWSER_JAVA) $(patsubst %.java,%.idl,$(DOVE_BROWSER_JAVA)) - -%.java: %.idl - @$(IDL2JAVA) $< - - -#### VisiBroker 3.2 idl2java creates references to a _long type, -#### but never defines it. Just change it to long if it's present. -files=$(find . -name '*.java' | xargs egrep -l ' _long') -ifneq (,$(files)) - %.class: %.java - perl -pi -e 's/\b_long\b/long/g' $(files) -else # ! vbjc - %.class: %.java -endif # vbjc - @$(JAVAC) *.java - -NavWeap.idl: ../NavWeap.idl - @cp -p $< . - -Navigation.java Weapons.java: NavWeap.idl - @$(IDL2JAVA) $< - -%.idl: $(TAO_ROOT)/orbsvcs/orbsvcs/%.idl - @cp -p $< . - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - - - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Simulator/DOVEBrowser/NS_Resolve.java b/TAO/examples/Simulator/DOVEBrowser/NS_Resolve.java deleted file mode 100644 index 737edeaf5ac..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/NS_Resolve.java +++ /dev/null @@ -1,120 +0,0 @@ -// $Id$ -// ============================================================================ -// -// -// = FILENAME -// NS_Resolve.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// Modified for new protocol by Hans Ridder -// -// = DESCRIPTION -// Resolves the initial reference to the Naming service, -// the orb has to be given as a parameter to the -// resolve_name_service call. -// -// -// ============================================================================ - - - - -import org.omg.CORBA.*; -import java.net.*; -import java.io.*; - - -public class NS_Resolve -{ - private static final String ACE_DEFAULT_MULTICAST_ADDR = "224.9.9.2"; - private static final int TAO_DEFAULT_NAME_SERVER_REQUEST_PORT = 10013; - private static final String TAO_SERVICEID_NAMESERVICE = "NameService"; - - int nameServicePort_; - - public NS_Resolve (String nameServicePort) - { - if (nameServicePort != null) - { - // If a name service port string was given, parse it - nameServicePort_ = Integer.parseInt (nameServicePort); - } - else - { - // Otherwise, just use the default TAO name service port - nameServicePort_ = TAO_DEFAULT_NAME_SERVER_REQUEST_PORT; - } - } - - public org.omg.CORBA.Object resolve_name_service (org.omg.CORBA.ORB orb) - { - try - { - // Create the multicast socket at any port - MulticastSocket sendSocket = new MulticastSocket(0); - - // Create a socket at any port for the Naming Service answer - ServerSocket listenSocket = new ServerSocket(0); - - // Create a message with the port and service name in it, - // length and port number are in network byte order - ByteArrayOutputStream msg = new ByteArrayOutputStream(); - int dataLength = TAO_SERVICEID_NAMESERVICE.length() + 2; - msg.write((dataLength >> 8) & 0xff); - msg.write(dataLength & 0xff); - msg.write((listenSocket.getLocalPort() >> 8) & 0xff); - msg.write(listenSocket.getLocalPort() & 0xff); - msg.write(TAO_SERVICEID_NAMESERVICE.getBytes()); - - // Define the group for the multicast - InetAddress group = InetAddress.getByName(ACE_DEFAULT_MULTICAST_ADDR); - // Create a datagram with the message and send it - sendSocket.send(new DatagramPacket(msg.toByteArray(), - msg.size(), - group, nameServicePort_)); - - // Wait 3 seconds for the Naming Service to connect - listenSocket.setSoTimeout(3000); - Socket replySocket = listenSocket.accept(); - - // @@ The restriction right now is that the length of the IOR cannot be longer than 4096 - byte[] reply = new byte[4096]; - - // Receive the reply (0 terminated string) or time out - replySocket.setSoTimeout(3000); - InputStream in = replySocket.getInputStream(); - int length; - for (length = 0; length < reply.length; length++) { - if ((reply[length] = (byte) in.read()) == 0) { - break; - } - } - - // Close all the sockets - sendSocket.close(); - listenSocket.close(); - replySocket.close(); - - // Convert the String into ?? - return orb.string_to_object(new String(reply, 0, length)); - } - catch (SocketException e) - { - System.err.println (e); - } - catch (java.io.InterruptedIOException e) - { - System.err.println ("NS_Resolve: The receive lasted too long"); - } - catch(org.omg.CORBA.SystemException e) - { - System.err.println(e); - } - catch (java.io.IOException e) - { - System.err.println (e); - } - return null; - } -} diff --git a/TAO/examples/Simulator/DOVEBrowser/NavWeapDataHandler.java b/TAO/examples/Simulator/DOVEBrowser/NavWeapDataHandler.java deleted file mode 100644 index 1ce57c686e4..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/NavWeapDataHandler.java +++ /dev/null @@ -1,305 +0,0 @@ -// $Id$ -// -// = FILENAME -// NavWeapDataHandler.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This is an implementation of the interface Data Handler, -// it handles Navigation and Weapons data, where statistic data is -// part of it. Several Observables are declared, they can be accessed by -// any number of Observers, which could reside in a Java Bean for example. -// -// ============================================================================ - -import org.omg.CORBA.*; - -public class NavWeapDataHandler implements DataHandler { - - java.util.Hashtable ObservablesTable; - int received_events_; - - - // Observable for Navigation data - class NavigationObservable extends DemoObservable { - - // to ask which kind of viewer is needed to display data - public int getProperty () { - return Properties.NAVIGATION; - } - - public void updateNavigation (Navigation navigation) { - setChanged (); - notifyObservers (navigation); - } - - } - - class WeaponsObservable extends DemoObservable { - - // to ask which kind of viewer is needed to display data - public int getProperty () { - return Properties.WEAPONS; - } - - public void updateWeapons (Weapons weapons) { - setChanged (); - notifyObservers (weapons); - } - } - - class Cpu_UsageObservable extends DemoObservable { - - public int getProperty () { - return Properties.DOUBLE; - } - - public void updateCpu_Usage (double utilization) { - setChanged (); - Double temp_ = new Double (utilization); - notifyObservers (temp_); - } - } - class OverheadObservable extends DemoObservable { - - public int getProperty () { - return Properties.DOUBLE; - } - - public void updateOverhead (double overhead) { - setChanged (); - Double temp_ = new Double (overhead); - notifyObservers (temp_); - } - } - class JitterObservable extends DemoObservable { - double latency = 0.0; - double avg_latency = 0.0; - double sample_count = 0.0; - - public int getProperty () { - return Properties.DOUBLE; - } - - public void updateJitter (long completion_time, - long computation_time, - long arrival_time) { - - latency = (double)(completion_time) - - (double)(computation_time) - - (double)(arrival_time); - latency = latency > 0 ? latency : 0; - - sample_count = sample_count + 1.0; - avg_latency = (avg_latency * (sample_count - 1.0) + latency) / - (sample_count); - - double jitter_ = (double)Math.abs(latency - avg_latency); - - setChanged (); - Double temp_ = new Double (jitter_); - notifyObservers (temp_); - } - } - class DeadlinesObservable extends DemoObservable { - - public int getProperty () { - return Properties.DOUBLE; - } - - public void updateDeadlines (long deadline_time, - long completion_time) { - - double missed_ = (deadline_time < completion_time) ? 1.0 : 0.0; - Double temp_ = new Double (missed_); - setChanged (); - notifyObservers (temp_); - } - } - class CriticalDeadlinesObservable extends DeadlinesObservable { - - public int getProperty () { - return Properties.DOUBLE; - } - - public void updateDeadlines (long deadline_time, - long completion_time, - long criticality) { - - double missed_ = ((criticality > 0) && - (deadline_time < completion_time)) ? 1.0 : 0.0; - Double temp_ = new Double (missed_); - setChanged (); - notifyObservers (temp_); - } - } - - class LatencyObservable extends DemoObservable { - double latency = 0.0; - double last_latency = 0.0; - - public int getProperty () { - return Properties.DOUBLE; - } - - public void updateLatency (long completion_time, - long computation_time, - long arrival_time) { - last_latency = latency; - latency = (double)(completion_time) - - (double)(computation_time) - - (double)(arrival_time); - latency = latency > 0 ? latency : 0; - - setChanged (); - Double temp_ = new Double(latency); - notifyObservers (temp_); - } - } - - - public synchronized void update (RtecEventComm.Event event) { - - Any any_value = event.data.any_value; - - if (any_value.type().equal (NavigationHelper.type())) - { - Navigation navigation_ = NavigationHelper.extract (any_value); - - // if the navigation data structure's update data flag is set, - // update its scheduling data with actual values from the EC - if (navigation_.update_data > 0) - { - navigation_.arrival_time = event.header.creation_time; - navigation_.completion_time = event.header.ec_send_time; - navigation_.deadline_time += event.header.creation_time; - } - - NavigationObservable nobs = (NavigationObservable)ObservablesTable.get ("Navigation"); - nobs.updateNavigation (navigation_); - Cpu_UsageObservable cobs = (Cpu_UsageObservable)ObservablesTable.get ("CPU Usage"); - cobs.updateCpu_Usage (navigation_.utilization); - OverheadObservable oobs = (OverheadObservable)ObservablesTable.get ("Overhead"); - oobs.updateOverhead (navigation_.overhead); - JitterObservable jobs = (JitterObservable)ObservablesTable.get ("Latency Jitter (100 ns)"); - jobs.updateJitter (navigation_.completion_time, - navigation_.computation_time, - navigation_.arrival_time); - JitterObservable njobs = (JitterObservable)ObservablesTable.get ("Navigation Latency Jitter (100 ns)"); - njobs.updateJitter (navigation_.completion_time, - navigation_.computation_time, - navigation_.arrival_time); - DeadlinesObservable dobs = (DeadlinesObservable)ObservablesTable.get ("Missed Deadlines"); - dobs.updateDeadlines (navigation_.deadline_time, - navigation_.completion_time); - CriticalDeadlinesObservable cdobs = - (CriticalDeadlinesObservable)ObservablesTable.get ("Missed Critical Deadlines"); - cdobs.updateDeadlines (navigation_.deadline_time, - navigation_.completion_time, - navigation_.criticality); - LatencyObservable lobs = (LatencyObservable)ObservablesTable.get ("Latency (100 ns)"); - lobs.updateLatency (navigation_.completion_time, - navigation_.computation_time, - navigation_.arrival_time); - LatencyObservable nlobs = (LatencyObservable)ObservablesTable.get ("Navigation Latency (100 ns)"); - nlobs.updateLatency (navigation_.completion_time, - navigation_.computation_time, - navigation_.arrival_time); - received_events_++; - } - else if (any_value.type().equal (WeaponsHelper.type())) - { - Weapons weapons_ = WeaponsHelper.extract (any_value); - - // if the weapons structure's update data flag is set, update - // itss scheduling data with actual values from the EC - if (weapons_.update_data > 0) - { - weapons_.arrival_time = event.header.creation_time; - weapons_.completion_time = event.header.ec_send_time; - weapons_.deadline_time += event.header.creation_time; - } - - WeaponsObservable wobs = (WeaponsObservable)ObservablesTable.get ("Weapons");; - wobs.updateWeapons (weapons_); - Cpu_UsageObservable cobs = (Cpu_UsageObservable)ObservablesTable.get ("CPU Usage"); - cobs.updateCpu_Usage (weapons_.utilization); - OverheadObservable oobs = (OverheadObservable)ObservablesTable.get ("Overhead"); - oobs.updateOverhead (weapons_.overhead); - JitterObservable jobs = (JitterObservable)ObservablesTable.get ("Latency Jitter (100 ns)"); - jobs.updateJitter (weapons_.completion_time, - weapons_.computation_time, - weapons_.arrival_time); - JitterObservable wjobs = (JitterObservable)ObservablesTable.get ("Weapons Latency Jitter (100 ns)"); - wjobs.updateJitter (weapons_.completion_time, - weapons_.computation_time, - weapons_.arrival_time); - DeadlinesObservable dobs = (DeadlinesObservable)ObservablesTable.get ("Missed Deadlines"); - dobs.updateDeadlines (weapons_.deadline_time, - weapons_.completion_time); - CriticalDeadlinesObservable cdobs = (CriticalDeadlinesObservable)ObservablesTable.get ("Missed Critical Deadlines"); - cdobs.updateDeadlines (weapons_.deadline_time, - weapons_.completion_time, - weapons_.criticality); - LatencyObservable lobs = (LatencyObservable)ObservablesTable.get ("Latency (100 ns)"); - lobs.updateLatency (weapons_.completion_time, - weapons_.computation_time, - weapons_.arrival_time); - LatencyObservable wlobs = (LatencyObservable)ObservablesTable.get ("Weapons Latency (100 ns)"); - wlobs.updateLatency (weapons_.completion_time, - weapons_.computation_time, - weapons_.arrival_time); - received_events_++; - } - else - { - System.out.println ("Received wrong type information"); - - System.out.println ("Received any_value.type (): [" + - any_value.type() + "]"); - - System.out.println ("Expected NavigationHelper.type (): [" + - NavigationHelper.type() + "]"); - - System.out.println ("OR WeaponsHelper.type (): [" + - WeaponsHelper.type() + "]"); - } - } - - NavWeapDataHandler () { - ObservablesTable = new java.util.Hashtable(); - - ObservablesTable.put ("Navigation", new NavigationObservable()); - ObservablesTable.put ("Weapons", new WeaponsObservable()); - ObservablesTable.put ("CPU Usage", new Cpu_UsageObservable()); - ObservablesTable.put ("Overhead", new OverheadObservable()); - ObservablesTable.put ("Latency Jitter (100 ns)", new JitterObservable()); - ObservablesTable.put ("Navigation Latency Jitter (100 ns)", new JitterObservable()); - ObservablesTable.put ("Weapons Latency Jitter (100 ns)", new JitterObservable()); - ObservablesTable.put ("Missed Deadlines", new DeadlinesObservable()); - ObservablesTable.put ("Missed Critical Deadlines", new CriticalDeadlinesObservable()); - ObservablesTable.put ("Latency (100 ns)", new LatencyObservable()); - ObservablesTable.put ("Weapons Latency (100 ns)", new LatencyObservable()); - ObservablesTable.put ("Navigation Latency (100 ns)", new LatencyObservable()); - } - - public java.util.Enumeration getObservablesList () { - return ObservablesTable.keys (); - } - - public DemoObservable getObservable(String name) { - return (DemoObservable)ObservablesTable.get (name); - } - - public int getObservableProperty (String name) { - DemoObservable obs = (DemoObservable)ObservablesTable.get (name); - return obs.getProperty (); - } -} - - - - - diff --git a/TAO/examples/Simulator/DOVEBrowser/NavigationVisComp.java b/TAO/examples/Simulator/DOVEBrowser/NavigationVisComp.java deleted file mode 100644 index 3d7a217389b..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/NavigationVisComp.java +++ /dev/null @@ -1,350 +0,0 @@ -// $Id$ -// -// = FILENAME -// NavigationVisComp.java -// -// = AUTHOR -// Seth Widoff (core functionality) -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This is a Visualization Component for displaying navigation. -// -// ============================================================================ - - - -import java.awt.*; -import java.io.*; - -public class NavigationVisComp extends Panel implements VisComp -{ - private Alt_Horizon alt_hor_ = new Alt_Horizon (); - private Position pos_ = new Position (); - - public NavigationVisComp () - { - setLayout (new BorderLayout (0, 2)); - add ("Center", alt_hor_); - add ("South", pos_); - } - - public void setName (String title) { - } - - public int getProperty () { - return Properties.NAVIGATION; - } - - public void update (java.util.Observable observable, java.lang.Object obj) { - Navigation navigation_ = null; - try { - navigation_ = (Navigation) obj; - } - catch (Exception excp) { - System.out.println (excp); - System.out.println ("Visualization Component received wrong data type!"); - } - if (navigation_ != null) { - // make sure all the values are in the proper range. - navigation_.roll = (navigation_.roll > 180 || navigation_.roll < -180) ? - 0 : navigation_.roll; - navigation_.pitch = (navigation_.pitch > 90 || navigation_.pitch < -90) ? - 0 : navigation_.pitch; - - // update the artificial horizon - alt_hor_.update_display (navigation_.roll, navigation_.pitch); - - navigation_.pitch = (navigation_.position_latitude > 90 || navigation_.position_latitude < -90) ? - 0 : navigation_.position_latitude; - navigation_.pitch = (navigation_.position_longitude > 100 || navigation_.position_longitude < 00) ? - 0 : navigation_.position_longitude; - navigation_.pitch = (navigation_.altitude > 90 || navigation_.altitude < -90) ? - 0 : navigation_.altitude; - navigation_.pitch = (navigation_.heading > 180 || navigation_.heading < -180) ? - 0 : navigation_.heading; - - // update the position display - pos_.update_display (navigation_.position_latitude, - navigation_.position_longitude, - navigation_.altitude, - navigation_.heading); - } - } -} - -class Alt_Horizon -extends Canvas -{ - private final static Color GREEN = new Color (0, 100, 0), - BLUE = new Color (30, 144, 255); - - private Graphics offgraphics_; - private Image offscreen_; - private Dimension offscreensize_; - - private int roll_ = 0, pitch_ = 0; - - public void update_display (int roll, int pitch) - { - roll_ = roll; - pitch_ = pitch; - - repaint (); - } - - public Dimension getPreferredSize () - { - return new Dimension (180, 180); - } - - public Dimension getMinimumSize () - { - return new Dimension (80, 80); - } - - public void paint (Graphics g) - { - update (g); - } - - public void update (Graphics g) - { - Dimension d = getSize (); - int rad, angles[] = { 180, 0 }; - Point center; - - if ((offscreen_ == null) || (d.width != offscreensize_.width) || - (d.height != offscreensize_.height)) - { - offscreen_ = createImage (d.width, d.height); - offscreensize_ = new Dimension (d.width, d.height); - offgraphics_ = offscreen_.getGraphics (); - offgraphics_.setFont (getFont()); - - // g.setColor (Color.lightGray); - // g.draw3DRect (0, 0, d.width - 1, d.height - 1, true); - // g.draw3DRect (1, 1, d.width - 3, d.height - 3, true); - // g.draw3DRect (2, 2, d.width - 5, d.height - 5, true); - } - - offgraphics_.setColor (getBackground()); - offgraphics_.fillRect (0, 0, d.width, d.height); - offgraphics_.setColor (BLUE); - - // Calculate from the dimensions, the largest square. - center = new Point (d.width / 2, d.height / 2); - rad = ((center.x < center.y) ? center.x : center.y); - - // Draw a circle of blue - offgraphics_.fillOval (center.x - rad, center.y - rad, - 2*rad, 2*rad); - - // Roll the horizon based on the roll angle - if (roll_ != 0) - roll_horizon (rad, angles); - - // Pitch the horizon based on the pitch angle - if (pitch_ != 0) - pitch_horizon (rad, angles); - - // Draw the resulting terrain - draw_horizon (rad, center, angles); - - // Draw the plotted Image. - g.drawImage (offscreen_, 0, 0, null); - } - - private void draw_horizon (int rad, Point center, int[] angles) - { - // Draw an arc - int arc_angle = - ((angles[0] > angles[1]) ? - (360 - angles[0]) + angles[1] : - (angles[1] - angles[0])); - - Polygon remainder = new Polygon (); - - offgraphics_.setColor (GREEN); - offgraphics_.fillArc (center.x - rad, center.y - rad, - 2*rad, 2*rad, - angles[0], arc_angle); - - if (pitch_ != 0) - { - if ((pitch_ > 0 && Math.abs (roll_) < 90) || - (pitch_ < 0 && Math.abs (roll_) >= 90)) - offgraphics_.setColor (BLUE); - - int cover_angle = (angles[0] + arc_angle/2 + ((arc_angle < 180) ? 180 : 0)) % 360; - - // System.out.println (points[0] + " " + points[1]); - - // System.out.println (accepted_point); - - remainder.addPoint (center.x + polar_to_rect_x (rad, cover_angle), - center.y - polar_to_rect_y (rad, cover_angle)); - remainder.addPoint (center.x + polar_to_rect_x (rad, angles[0]), - center.y - polar_to_rect_y (rad, angles[0])); - remainder.addPoint (center.x + polar_to_rect_x (rad, angles[1]), - center.y - polar_to_rect_y (rad, angles[1])); - offgraphics_.fillPolygon (remainder); - //offgraphics_.setColor (getBackground ()); - //offgraphics_.drawPolygon (remainder); - } - } - - private void pitch_horizon (int rad, int[] angles) - { - boolean upside_down = Math.abs (roll_) >= 90; - int angle_shift = (int) Math.round ((double)(90 - (Math.abs (roll_) % 180)) / 90.0 * pitch_); - - // System.out.println ("angle_shift " + angle_shift); - - angles[0] += angle_shift; - angles[1] -= angle_shift; - - - } - - private void roll_horizon (int rad, int[] angles) - { - // Roll the left and right points of the terrain. - angles[0] += roll_; - angles[1] += roll_; - - if (angles[0] < 0) - angles[0] += 360; - - if (angles[1] < 0) - angles[1] += 360; - } - - private int polar_to_rect_x (int rad, int angle) - { - return (int) Math.round (rad * Math.cos ((double)angle * Math.PI/180.0)); - } - - private int polar_to_rect_y (int rad, int angle) - { - return (int) Math.round (rad * Math.sin ((double)angle * Math.PI/180.0)); - } - - private double caclulate_slope (int rad, int[] angles) - { - int x1 = polar_to_rect_x (rad, angles[0]), - x2 = polar_to_rect_x (rad, angles[1]), - y1 = polar_to_rect_y (rad, angles[0]), - y2 = polar_to_rect_y (rad, angles[1]); - - return ((double) (y2 - y1)) / ((double) (x2 - x1)); - } - - private Point[] line_circle_intesect (int rad, double y_intercept, double slope) - { - double r_2 = (double)(rad * rad), - s_2 = slope * slope, - a_x = s_2 + 1, - b_x = 2.0 * slope * y_intercept, - c_x = y_intercept * y_intercept - r_2; - int[] x_roots = quad_eq (a_x, b_x, c_x), - y_roots = { (int) Math.round ((double)((double) x_roots[0])*slope + y_intercept), - (int) Math.round ((double)((double) x_roots[1])*slope + y_intercept) }; - Point[] points = new Point [2]; - - points[0] = new Point (x_roots[0], y_roots[0]); - points[1] = new Point (x_roots[1], y_roots[1]); - - return points; - } - - private int calculate_angle (int rad, int x, int y) - { - /* - double angle = 0, - sin_value = Math.asin ((double)y / (double)rad), - tan_value = Math.atan ((double)y / (double)x); - - if (x >= 0) - angle = (x != 0) ? tan_value : sin_value + - ((y < 0) ? 2*Math.PI : 0); - else - angle = Math.PI + tan_value; - - return (int) Math.round (angle * 180.0 / Math.PI); - */ - - double angle = 0.0, - sin_value = Math.asin ((double)Math.abs (y) / (double)rad); - - if (x >= 0 && y >= 0) - angle = sin_value; - else if (x < 0 && y >= 0) - angle = sin_value + Math.PI/2.0; - else if (x < 0 && y < 0) - angle = sin_value + Math.PI; - else if (x >= 0 && y < 0) - angle = sin_value + 3.0*Math.PI/2.0; - - return (int) Math.round (angle * 180.0 / Math.PI); - } - - private int[] quad_eq (double a, double b, double c) - { - int[] roots = new int [2]; - double body = Math.sqrt (b*b - 4.0*a*c); - - roots[0] = (int) Math.round ((-b + body) / (2.0 * a)); - roots[1] = (int) Math.round ((-b - body) / (2.0 * a)); - - return roots; - } - - private int distance (Point point1, Point point2) - { - double xdiff = point1.x - point2.x, - ydiff = point1.y - point2.y; - - return (int) Math.round (Math.sqrt (xdiff*xdiff + ydiff*ydiff)); - } -} - -class Position extends Panel -{ - private final static Font FONT = new Font ("Dialog", Font.BOLD, 12); - private final static char DEGREE = '\u00B0'; - - private Label lat_ = new Label ("0" + DEGREE + " N", Label.RIGHT), - long_ = new Label ("0" + DEGREE + " S", Label.RIGHT), - alt_ = new Label ("0 Kft", Label.RIGHT), - heading_ = new Label ("0" + DEGREE + " ", Label.RIGHT); - - public Position () - { - Panel grid_panel = new Panel (); - - lat_.setFont (FONT); - long_.setFont (FONT); - alt_.setFont (FONT); - heading_.setFont (FONT); - - setLayout (new GridLayout (1, 4)); - add (lat_); - add (long_); - add (heading_); - add (alt_); - } - - public void update_display (int lat, int lon, int alt, int heading) - { - String lat_str = - Math.abs (lat) + "" + DEGREE + ((lat > 0) ? " N" : " S"); - String long_str = - Math.abs (lon) + "" + DEGREE + ((lon > 0) ? " E" : " W"); - - lat_.setText (lat_str); - long_.setText (long_str); - alt_.setText (alt + " Kft"); - heading_.setText (heading + "" + DEGREE + " "); - } -} diff --git a/TAO/examples/Simulator/DOVEBrowser/ObservablesDialog.java b/TAO/examples/Simulator/DOVEBrowser/ObservablesDialog.java deleted file mode 100644 index 2ea856c24e2..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/ObservablesDialog.java +++ /dev/null @@ -1,90 +0,0 @@ -// $Id$ -// -// = FILENAME -// ObservablesDialog.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// Dialog for selecting Observables. -// -// ============================================================================ - -import java.awt.*; -import java.awt.event.*; - -public class ObservablesDialog extends Dialog { - - List list_; - DemoCore parent_; - AnswerListener listener_; - - ObservablesDialog (DemoCore parent,java.util.Enumeration enumeration) { - - super ((Frame)parent, "Select Observables", true); - parent_ = parent; - this.setSize(400, 300); - setBounds (new Rectangle (50,50,400,300)); - - list_ = new List (); - list_.setFont ( new Font ("Helvetica", Font.PLAIN, 10)); - list_.setSize (200,200); - - for (; enumeration.hasMoreElements();) { - list_.add ((String)enumeration.nextElement()); - } - - - Button ok_button_ = new Button ("OK"); - ok_button_.setFont ( new Font ("DialogHelvetica", Font.PLAIN, 10)); - Button cancel_button_ = new Button ("Cancel"); - cancel_button_.setFont ( new Font ("DialogHelvetica", Font.PLAIN, 10)); - - GridBagLayout gridbag_ = new GridBagLayout (); - GridBagConstraints constraints_ = new GridBagConstraints (); - - constraints_.fill = GridBagConstraints.BOTH; - this.setLayout (gridbag_); - - constraints_.weightx = 1.0; - constraints_.weighty = 1.0; - constraints_.gridwidth = GridBagConstraints.REMAINDER; - gridbag_.setConstraints (list_, constraints_); - this.add (list_); - - constraints_.weightx = 1.0; - constraints_.weighty = 1.0; - constraints_.gridwidth = GridBagConstraints.RELATIVE; - constraints_.fill = GridBagConstraints.NONE; - gridbag_.setConstraints (ok_button_, constraints_); - gridbag_.setConstraints (cancel_button_, constraints_); - this.add (ok_button_); - this.add (cancel_button_); - - ok_button_.addActionListener (new ActionListener () { - public void actionPerformed (ActionEvent e) { - - String selected_ = ObservablesDialog.this.list_.getSelectedItem (); - if (selected_ != null) { - System.out.println (">>>>> " + selected_); - if (listener_ != null) { - AnswerEvent ev = new AnswerEvent (ObservablesDialog.this, selected_); - listener_.ok (ev); - } - ObservablesDialog.this.setVisible (false); - } - } - }); - - cancel_button_.addActionListener (new ActionListener () { - public void actionPerformed (ActionEvent e) { - ObservablesDialog.this.setVisible (false); - } - }); - } - - public void addAnswerListener (AnswerListener al) { - listener_ = al; - } -} diff --git a/TAO/examples/Simulator/DOVEBrowser/Properties.java b/TAO/examples/Simulator/DOVEBrowser/Properties.java deleted file mode 100644 index 3bab887561b..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/Properties.java +++ /dev/null @@ -1,20 +0,0 @@ -// $Id$ -// -// = FILENAME -// Properties.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This class defines the possible data type values carried by events -// -// ============================================================================ - - -public class Properties { - public static final int DOUBLE = 0; - public static final int NAVIGATION = 1; - public static final int WEAPONS = 2; -} - diff --git a/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java b/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java deleted file mode 100644 index 7e17de6fc0e..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java +++ /dev/null @@ -1,185 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// -// = FILENAME -// PushConsumer.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This is a Push Consumer which takes the data field of the -// event and updates with it a Data Handler. -// -// -// ============================================================================ - - - -// The Consumer has to implement the Skeleton Consumer - -public class PushConsumer extends RtecEventComm._PushConsumerImplBase -{ - - public static final int ACE_ES_EVENT_ANY = 0; - public static final int ACE_ES_EVENT_SHUTDOWN = 1; - public static final int ACE_ES_EVENT_ACT = 2; - public static final int ACE_ES_EVENT_NOTIFICATION = 3; - public static final int ACE_ES_EVENT_TIMEOUT = 4; - public static final int ACE_ES_EVENT_INTERVAL_TIMEOUT = 5; - public static final int ACE_ES_EVENT_DEADLINE_TIMEOUT = 6; - public static final int ACE_ES_GLOBAL_DESIGNATOR = 7; - public static final int ACE_ES_CONJUNCTION_DESIGNATOR = 8; - public static final int ACE_ES_DISJUNCTION_DESIGNATOR = 9; - public static final int ACE_ES_EVENT_UNDEFINED = 16; - public static final int TOTAL_MESSAGES = 30; - - // Store the number of received events - private int total_received_ = 0; - private org.omg.CORBA.ORB orb_; - private MTDataHandlerAdapter dataHandlerAdapter_; - // private RtecScheduler.RT_InfoHolder rt_info_; - private RtecScheduler.handle_tHolder rt_info_; - private RtecEventChannelAdmin.EventChannel channel_admin_; - private RtecEventChannelAdmin.ConsumerAdmin consumer_admin_; - private RtecEventChannelAdmin.ProxyPushSupplier suppliers_; - - public PushConsumer (org.omg.CORBA.ORB orb, - DataHandler dataHandler, - boolean use_queueing) - { - orb_ = orb; - dataHandlerAdapter_ = - new MTDataHandlerAdapter (dataHandler, use_queueing); - if (use_queueing) - { - dataHandlerAdapter_.start (); - } - } - - - public void push (RtecEventComm.Event[] events) - { - if (total_received_ < 5) - System.out.println ("Demo Consumer: Received an event set! ->Number: " - + total_received_); - else if (total_received_ == 5) - System.out.println ("Demo Consumer: Everything is fine. " + - "Going to be mute."); - - if (events.length == 0) - { - System.err.println ("No events"); - } - else - { - total_received_++; - dataHandlerAdapter_.push (events); - } - } - - public void disconnect_push_consumer() - { - System.out.println ("Demo Consumer: Have to disconnect!"); - } - - public void open_consumer (RtecEventChannelAdmin.EventChannel event_channel_, - RtecScheduler.Scheduler scheduler_, - String name) - { - try { - - // Define Real-time information - - rt_info_ = new RtecScheduler.handle_tHolder (scheduler_.create (name)); - - scheduler_.set (rt_info_.value, - RtecScheduler.Criticality_t.VERY_LOW_CRITICALITY, - 0L, - 0L, - 0L, - 2500000, // period - RtecScheduler.Importance_t.VERY_LOW_IMPORTANCE, - 0L, - 1, - RtecScheduler.Info_Type_t.OPERATION); - - - // Register for Notification and Shutdown events - - byte payload[] = new byte[1]; - payload[0] = 0; - RtecEventComm.Event notification_event_ = new RtecEventComm.Event (); - notification_event_.header = - new RtecEventComm.EventHeader (ACE_ES_EVENT_NOTIFICATION, - 0, 1, 0, 0, 0); - - notification_event_.data = - new RtecEventComm.EventData (0, 0, 0.0, 0, - payload, orb_.create_any()); - - RtecEventChannelAdmin.Dependency dependencies_[] = new RtecEventChannelAdmin.Dependency[1]; - dependencies_[0] = new RtecEventChannelAdmin.Dependency (notification_event_, rt_info_.value); - - - // @@ Carlos please help me to set the right boolean value - RtecEventChannelAdmin.ConsumerQOS qos = new RtecEventChannelAdmin.ConsumerQOS (dependencies_, false); - - - // The channel administrator is the event channel we got from the invocation - // of this routine - - channel_admin_ = event_channel_; - - // Connect as a consumer - - consumer_admin_ = channel_admin_.for_consumers (); - - // Obtain a reference to the proxy push supplier - - suppliers_ = consumer_admin_.obtain_push_supplier (); - - suppliers_.connect_push_consumer (this, qos); - - System.out.println ("Registered the consumer successfully."); - - - } - catch (RtecEventChannelAdmin.TypeError e) - { - System.err.println ("Demo_Consumer.open_consumer: RtecEventChannelAdmin.TypeError"); - System.err.println (e); - } - catch (RtecEventChannelAdmin.AlreadyConnected e) - { - System.err.println ("Demo_Consumer.open_consumer: RtecEventChannelAdmin.AlreadyConnected"); - System.err.println (e); - } - catch (RtecScheduler.UNKNOWN_TASK e) - { - System.err.println ("Demo_Consumer.open_consumer: Unknown task"); - System.err.println (e); - } - catch (RtecScheduler.DUPLICATE_NAME e) - { - System.err.println ("Demo_Consumer.open_consumer: Duplicate names"); - System.err.println (e); - } - catch(org.omg.CORBA.SystemException e) - { - System.err.println(e); - } - } -} - - - - - - - - - - diff --git a/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2 b/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2 deleted file mode 100644 index 49a665569c3..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2 +++ /dev/null @@ -1,179 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// -// = FILENAME -// PushConsumer.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This is a Push Consumer which takes the data field of the -// event and updates with it a Data Handler. -// -// -// ============================================================================ - - -public class PushConsumer extends RtecEventComm._PushConsumerImplBase -{ - - public static final int ACE_ES_EVENT_ANY = 0; - public static final int ACE_ES_EVENT_SHUTDOWN = 1; - public static final int ACE_ES_EVENT_ACT = 2; - public static final int ACE_ES_EVENT_NOTIFICATION = 3; - public static final int ACE_ES_EVENT_TIMEOUT = 4; - public static final int ACE_ES_EVENT_INTERVAL_TIMEOUT = 5; - public static final int ACE_ES_EVENT_DEADLINE_TIMEOUT = 6; - public static final int ACE_ES_GLOBAL_DESIGNATOR = 7; - public static final int ACE_ES_CONJUNCTION_DESIGNATOR = 8; - public static final int ACE_ES_DISJUNCTION_DESIGNATOR = 9; - public static final int ACE_ES_EVENT_UNDEFINED = 16; - public static final int TOTAL_MESSAGES = 30; - - // Store the number of received events - private int total_received_ = 0; - private org.omg.CORBA.ORB orb_; - private DataHandler dataHandler_; - private int rt_info_; - private RtecEventChannelAdmin.EventChannel channel_admin_; - private RtecEventChannelAdmin.ConsumerAdmin consumer_admin_; - private RtecEventChannelAdmin.ProxyPushSupplier suppliers_; - - public PushConsumer (org.omg.CORBA.ORB orb, DataHandler dataHandler) - { - orb_ = orb; - dataHandler_ = dataHandler; - } - - - public void push (RtecEventComm.Event[] events) - { - if (total_received_ < 5) - System.out.println ("Demo Consumer: Received an event! ->Number: " + total_received_); - else if (total_received_ == 5) - System.out.println ("Demo Consumer: Everything is fine. Going to be mute."); - - - if (events.length == 0) - { - System.err.println ("No events"); - } - else - { - total_received_++; - - for (int i = 0; i < events.length; ++i) - { - if(events[i].type_ == ACE_ES_EVENT_NOTIFICATION) - { - try - { - dataHandler_.update (events[i].data_.any_value); - } - catch(org.omg.CORBA.SystemException e) - { - System.err.println(e); - } - } - } - } - } - - public void disconnect_push_consumer() - { - System.out.println ("Demo Consumer: Have to disconnect!"); - } - - public void open_consumer (RtecEventChannelAdmin.EventChannel event_channel, - RtecScheduler.Scheduler scheduler, - String name) - { - - try - { - - // Define Real-time information - - rt_info_ = scheduler.create (name); - - scheduler.set (rt_info_, - RtecScheduler.Criticality.VERY_LOW_CRITICALITY, - new TimeBase.ulonglong (0,0), - new TimeBase.ulonglong (0,0), - new TimeBase.ulonglong (0,0), - 2500000, // period - RtecScheduler.Importance.VERY_LOW_IMPORTANCE, - new TimeBase.ulonglong (0,0), - 1, - RtecScheduler.Info_Type.OPERATION); - - // Register for Notification and Shutdown events - RtecEventComm.Event notification_event = - new RtecEventComm.Event (ACE_ES_EVENT_NOTIFICATION, 0, - 1, // ttl - new TimeBase.ulonglong (0,0), - new TimeBase.ulonglong (0,0), - new TimeBase.ulonglong (0,0), - new RtecEventComm.EventData (orb_.create_any ())); - - RtecEventChannelAdmin.Dependency dependencies[] = new RtecEventChannelAdmin.Dependency[1]; - dependencies[0] = new RtecEventChannelAdmin.Dependency (notification_event, rt_info_); - - RtecEventChannelAdmin.ConsumerQOS qos = new RtecEventChannelAdmin.ConsumerQOS (dependencies, - false); - - // The channel administrator is the event channel we got from the invocation - // of this routine - channel_admin_ = event_channel; - - // Connect as a consumer - consumer_admin_ = channel_admin_.for_consumers (); - - // Obtain a reference to the proxy push supplier - suppliers_ = consumer_admin_.obtain_push_supplier (); - - suppliers_.connect_push_consumer (this, qos); - - System.out.println ("Registered the consumer successfully."); - - } - catch (RtecEventChannelAdmin.TypeError e) - { - System.err.println ("Demo_Consumer.open_consumer: Type error"); - System.err.println (e); - } - catch (RtecEventChannelAdmin.AlreadyConnected e) - { - System.err.println ("Demo_Consumer.open_consumer: Already connected"); - System.err.println (e); - } - - catch (RtecScheduler.UNKNOWN_TASK e) - { - System.err.println ("Demo_Consumer.open_consumer: Unknown task"); - System.err.println (e); - } - catch (RtecScheduler.DUPLICATE_NAME e) - { - System.err.println ("Demo_Consumer.open_consumer: Duplicate names"); - System.err.println (e); - } - catch(org.omg.CORBA.SystemException e) - { - System.err.println(e); - } - } -} - - - - - - - - - - diff --git a/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java b/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java deleted file mode 100644 index f3632cd43fa..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java +++ /dev/null @@ -1,351 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// = FILENAME -// PushConsumerFactory.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This is the administor/factory for a PushConsumer. -// -// ============================================================================ - - - - -public class PushConsumerFactory { - - private org.omg.CORBA.ORB orb_; - private org.omg.CORBA.BOA boa_; - private org.omg.CORBA.Object naming_service_object_; - - private DataHandler dataHandler_; - private Navigation navigation_; - private Weapons weapons_; - - private String[] ec_names_ = null; - private int ec_names_count_ = 0; - - private String[] ss_names_ = null; - private int ss_names_count_ = 0; - - private boolean use_queueing_ = false; - - public PushConsumerFactory (DataHandler dataHandler, - String nameServiceIOR, - String nameServicePort, - String[] args, - boolean use_queueing, - java.applet.Applet applet) - { - try - { - use_queueing_ = use_queueing; - dataHandler_ = dataHandler; - - // if the DOVE Browser is running as an Applet - if (applet != null) { - orb_ = org.omg.CORBA.ORB.init (applet, null); - } - else { // not running as an Applet, but as an normal Application - orb_ = org.omg.CORBA.ORB.init (); - } - boa_ = orb_.BOA_init (); - - // Get the Naming Service initial reference - - // Name Service Lookup cannot be used when running as an Applet - if (nameServiceIOR == null && applet != null) { - System.out.println (" Name Service Lookup cannot be used when running as an Applet! Quit!"); - System.exit (1); - } - - if (nameServiceIOR == null) { // only used when running via "java" or "vbj" - System.out.println ("Using the lookup protocol!"); - NS_Resolve ns_resolve_ = new NS_Resolve (nameServicePort); - naming_service_object_ = ns_resolve_.resolve_name_service (orb_); - } - else { - System.out.println ("Using the following IOR: " + nameServiceIOR); - naming_service_object_ = orb_.string_to_object (nameServiceIOR); - } - - // Walk through args and count EC and Scheduling Service names. - int arg_index = 0; - while (args.length > arg_index) - { - // Count an event service name - if ((args[arg_index].equals ("-ORBeventservicename")) && - (args.length > arg_index + 1)) - { - System.out.println ("switch [" + args[arg_index] + "]"); - System.out.println ("value [" + args[arg_index + 1] + "]"); - arg_index += 2; - ++ec_names_count_; - } - // Count a scheduling service name - else if ((args[arg_index].equals ("-ORBscheduleservicename")) && - (args.length > arg_index + 1)) - { - System.out.println ("switch [" + args[arg_index] + "]"); - System.out.println ("value [" + args[arg_index + 1] + "]"); - arg_index += 2; - ++ss_names_count_; - } - else if (args[arg_index].equals ("-dualECdemo")) - { - System.out.println ("switch [" + args[arg_index] + "]"); - ++arg_index; - ec_names_count_ += 2; - ss_names_count_ += 2; - } - else if ((args[arg_index].equals ("-dualECdemo1")) || - (args[arg_index].equals ("-dualECdemo2"))) - { - System.out.println ("switch [" + args[arg_index] + "]"); - ++arg_index; - ++ec_names_count_; - ++ss_names_count_; - } - // Skip over anything else - else - { - arg_index ++; - } - } - - // Allocate arrays for the event and schedule service names (if any) - if (ec_names_count_ > 0) - { - ec_names_ = new String [ec_names_count_]; - } - if (ss_names_count_ > 0) - { - ss_names_ = new String [ss_names_count_]; - } - - // Then traverse the args again to allocate and fill in a list - // of EC and Scheduling Service names. - arg_index = 0; - ec_names_count_ = 0; - ss_names_count_ = 0; - while (args.length > arg_index) - { - // Set an event service name. - if ((args[arg_index].equals ("-ORBeventservicename")) && - (args.length > arg_index + 1)) - { - ec_names_[ec_names_count_] = args[arg_index + 1]; - ++ec_names_count_; - arg_index += 2; - } - // Set a schedule service name. - else if ((args[arg_index].equals ("-ORBscheduleservicename")) && - (args.length > arg_index + 1)) - { - ss_names_[ss_names_count_] = args[arg_index + 1]; - ++ss_names_count_; - arg_index += 2; - } - else if (args[arg_index].equals ("-dualECdemo")) - { - ss_names_[ss_names_count_] = "DUAL_SCHED_HI"; - ss_names_[ss_names_count_ + 1] = "DUAL_SCHED_LO"; - ec_names_[ec_names_count_] = "DUAL_EC_HI"; - ec_names_[ec_names_count_ + 1] = "DUAL_EC_LO"; - ++arg_index; - ec_names_count_ += 2; - ss_names_count_ += 2; - } - else if (args[arg_index].equals ("-dualECdemo1")) - { - ss_names_[ss_names_count_] = "DUAL_SCHED_HI"; - ec_names_[ec_names_count_] = "DUAL_EC_HI"; - ++arg_index; - ++ec_names_count_; - ++ss_names_count_; - } - else if (args[arg_index].equals ("-dualECdemo2")) - { - ss_names_[ss_names_count_] = "DUAL_SCHED_LO"; - ec_names_[ec_names_count_] = "DUAL_EC_LO"; - ++arg_index; - ++ec_names_count_; - ++ss_names_count_; - } - // Skip over anything else. - else - { - arg_index ++; - } - } - - // If names for event or scheduling services have not been provided - // already, provide the default names used by the service executables. - if (ec_names_count_ == 0) - { - ec_names_count_ = 1; - ec_names_ = new String [1]; - ec_names_ [0] = "EventService"; - } - if (ss_names_count_ == 0) - { - ss_names_count_ = 1; - ss_names_ = new String [1]; - ss_names_ [0] = "ScheduleService"; - } - } - catch(org.omg.CORBA.SystemException e) { - System.err.println ("PushConsumerFactory constructor: ORB and Name Service initialization"); - System.err.println(e); - } - - } - - public class Object_is_null_exception extends Exception - { - Object_is_null_exception (String s) - { - super (s); - } - } - - public void run () - { - try - { - - // Get the Naming Context to allow resolving the EventService and - // ScheduleService - CosNaming.NamingContext naming_context_ = - CosNaming.NamingContextHelper.narrow (naming_service_object_); - - if (naming_context_ == null) - { - System.err.println ("The Naming Context is null"); - System.exit (1); - } - System.out.println ("Reference to the Naming Service is ok."); - - // Create Consumers connected to the EventService - int ss_number = 0; - RtecScheduler.Scheduler scheduler_ = null; - for (int ec_number = 0; ec_number < ec_names_count_; ++ec_number) - { - // Get a reference for the next Scheduling Service if there is one. - // Invariant: we will always execute this code at least once. - if (ss_number < ss_names_count_) - { - CosNaming.NameComponent[] ss_name_components_ = new CosNaming.NameComponent[1]; - ss_name_components_[0] = new CosNaming.NameComponent (ss_names_[ss_number],""); - org.omg.CORBA.Object scheduler_object_ = naming_context_.resolve (ss_name_components_); - - if (scheduler_object_ == null) - { - throw new Object_is_null_exception(ss_names_[ss_number] + - " Object is null"); - } - - scheduler_ = RtecScheduler.SchedulerHelper.narrow (scheduler_object_); - - if (scheduler_ == null) - { - throw new Object_is_null_exception(ss_names_[ss_number] + - " narrowed ref is null"); - } - - System.out.println ("Reference to " + - ss_names_[ss_number] + " is ok."); - - ++ss_number; - } - - // Get a reference for the next Event Service - - CosNaming.NameComponent[] ec_name_components_ = new CosNaming.NameComponent[1]; - ec_name_components_[0] = new CosNaming.NameComponent (ec_names_[ec_number],""); - org.omg.CORBA.Object event_channel_object_ = naming_context_.resolve (ec_name_components_); - - if (event_channel_object_ == null) - { - throw new Object_is_null_exception(ec_names_[ec_number] + - " Object is null"); - } - - RtecEventChannelAdmin.EventChannel event_channel_ = - RtecEventChannelAdmin.EventChannelHelper.narrow (event_channel_object_); - - if (event_channel_ == null) - { - throw new Object_is_null_exception(ec_names_[ec_number] + - " narrowed ref is null"); - } - - System.out.println ("Reference to " + - ec_names_[ec_number] + " is ok."); - - // Start the consumer - System.out.println ("Instantiating the Push Consumer for " + - ec_names_[ec_number] + ": demo_consumer_" + - ec_number + "."); - - PushConsumer pushConsumer_ = new PushConsumer (orb_, - dataHandler_, - use_queueing_); - System.out.println ("Initializing the Push Consumer for " + - ec_names_[ec_number] + ": demo_consumer_" + - ec_number + "."); - - pushConsumer_.open_consumer (event_channel_, scheduler_, - "demo_consumer_" + ec_number); - - boa_.obj_is_ready (pushConsumer_); - - } - - - // Tell the CORBA environment that we are ready - - System.out.println ("boa.obj_is_ready succeeded"); - - boa_.impl_is_ready (); - } - catch (CosNaming.NamingContextPackage.CannotProceed e) - { - System.err.println ("CosNaming.NamingContextPackage.CannotProceed"); - System.err.println (e); - } - catch (CosNaming.NamingContextPackage.InvalidName e) - { - System.err.println ("CosNaming.NamingContextPackage.InvalidName"); - System.err.println (e); - } - catch (CosNaming.NamingContextPackage.NotFound e) - { - System.err.println ("CosNaming.NamingContextPackage.NotFound"); - System.err.println (e); - - } - catch (Object_is_null_exception e) - { - System.err.println (e); - } - catch(org.omg.CORBA.SystemException e) - { - System.err.println ("PushConsumerFactory.run: Failure"); - System.err.println(e); - } - } - - -} // public class PushConsumerFactory - - - - - - - diff --git a/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java.JDK1.2 b/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java.JDK1.2 deleted file mode 100644 index b6039ee72d9..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java.JDK1.2 +++ /dev/null @@ -1,180 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// = FILENAME -// PushConsumerFactory.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This is the administor/factory for a PushConsumer. -// -// ============================================================================ - - -public class PushConsumerFactory -{ - - private org.omg.CORBA.ORB orb_; - private org.omg.CORBA.Object naming_service_object_; - private DataHandler dataHandler_; - private Navigation navigation_; - private Weapons weapons_; - - - public PushConsumerFactory (DataHandler dataHandler, - String nameServiceIOR, - String[] args, - java.applet.Applet applet) - { - try { - dataHandler_ = dataHandler; - - // if the DOVE Browser is running as an Applet - if (applet != null) { - orb_ = org.omg.CORBA.ORB.init (applet, null); - } - else { // not running as an Applet, but as an normal Application - orb_ = org.omg.CORBA.ORB.init (args, null); - } - - // Get the Naming Service initial reference - - // Name Service Lookup cannot be used when running as an Applet - if (nameServiceIOR == null && applet != null) { - System.out.println (" Name Service Lookup cannot be used when running as an Applet! Quit!"); - System.exit (1); - } - - if (nameServiceIOR == null) { // only used when running via "java" or "vbj" - System.out.println ("Using the lookup protocol!"); - NS_Resolve ns_resolve = new NS_Resolve (); - naming_service_object_ = ns_resolve.resolve_name_service (orb_); - } - else { - System.out.println ("Using the following IOR: " + nameServiceIOR); - naming_service_object_ = orb_.string_to_object (nameServiceIOR); - } - - } - catch(org.omg.CORBA.SystemException e) { - System.err.println ("PushConsumerFactory constructor: ORB and Name Service initialization"); - System.err.println(e); - } - - } - - public class Object_is_null_exception extends Exception - { - Object_is_null_exception (String s) - { - super (s); - } - } - - public void run () - { - try - { - - // Get the Naming Context to allow resolving the EventService and - // ScheduleService - CosNaming.NamingContext naming_context = - CosNaming.NamingContextHelper.narrow (naming_service_object_); - - if (naming_context == null) - { - System.err.println ("The Naming Context is null"); - System.exit (1); - } - System.out.println ("Reference to the Naming Service is ok."); - - // Get a reference for the EventService - - CosNaming.NameComponent[] ec_name_components = new CosNaming.NameComponent[1]; - ec_name_components[0] = new CosNaming.NameComponent ("EventService",""); - org.omg.CORBA.Object event_channel_object = naming_context.resolve (ec_name_components); - - if (event_channel_object == null) - { - throw new Object_is_null_exception("EventService Object is null"); - } - - RtecEventChannelAdmin.EventChannel event_channel = - RtecEventChannelAdmin.EventChannelHelper.narrow (event_channel_object); - - System.out.println ("Reference to the Event Service is ok."); - - // Get a reference for the ScheduleService - - CosNaming.NameComponent[] s_name_components = new CosNaming.NameComponent[1]; - s_name_components[0] = new CosNaming.NameComponent ("ScheduleService",""); - org.omg.CORBA.Object scheduler_object = naming_context.resolve (s_name_components); - - if (scheduler_object == null) - { - throw new Object_is_null_exception("ScheduleService Object is null"); - } - - RtecScheduler.Scheduler scheduler = - RtecScheduler.SchedulerHelper.narrow (scheduler_object); - - System.out.println ("Reference to the Naming Service is ok."); - - - // Start the consumer - System.out.println ("Instantiating the Push Consumer."); - PushConsumer pushConsumer = new PushConsumer (orb_, dataHandler_); - System.out.println ("Initializing the Push Consumer."); - pushConsumer.open_consumer (event_channel, scheduler, "demo_consumer"); - - // Tell the CORBA environment that we are ready - - orb_.connect (pushConsumer); - - System.out.println ("Going into the event dispatching loop."); - - - java.lang.Object sync = new java.lang.Object(); - synchronized (sync) { - sync.wait(); - } - } - catch (java.lang.InterruptedException e) - { - } - catch (CosNaming.NamingContextPackage.CannotProceed e) - { - System.err.println ("CosNaming.NamingContextPackage.CannotProceed"); - System.err.println (e); - } - catch (CosNaming.NamingContextPackage.InvalidName e) - { - System.err.println ("CosNaming.NamingContextPackage.InvalidName"); - System.err.println (e); - } - catch (CosNaming.NamingContextPackage.NotFound e) - { - System.err.println ("CosNaming.NamingContextPackage.NotFound"); - System.err.println (e); - } - catch (Object_is_null_exception e) - { - System.err.println (e); - } - catch(org.omg.CORBA.SystemException e) - { - System.err.println ("PushConsumerFactory.run: Failure"); - System.err.println(e); - } - } -} // public class PushConsumerFactory - - - - - - - diff --git a/TAO/examples/Simulator/DOVEBrowser/Queue.java b/TAO/examples/Simulator/DOVEBrowser/Queue.java deleted file mode 100644 index 7ffaba15c52..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/Queue.java +++ /dev/null @@ -1,190 +0,0 @@ -// $Id$ - - -import java.util.Enumeration; - -public class Queue -{ - // Friendly? - Queue_Node head_ = null; - Queue_Node tail_ = null; - - private int length_ = 0; - - public Queue() - { - } - - public Enumeration forward_iterator() - { - return new Queue_Iterator(this, Queue_Iterator.FORWARD); - } - - public Enumeration reverse_iterator() - { - return new Queue_Iterator(this, Queue_Iterator.REVERSE); - } - - public void enqueue_tail(Object new_data) - { - Queue_Node new_node = new Queue_Node(new_data); - - if (tail_ == null) - { - tail_ = new_node; - head_ = new_node; - } - else - { - new_node.prev_ = tail_; - tail_.next_ = new_node; - tail_ = new_node; - } - - length_++; - } - - public void enqueue_head(Object new_data) - { - Queue_Node new_node = new Queue_Node(new_data); - - if (head_ == null) - { - tail_ = new_node; - head_ = new_node; - } - else - { - new_node.next_ = head_; - head_.prev_ = new_node; - head_ = new_node; - } - - length_++; - } - - public Object dequeue_head() - { - Object return_value = null; - - if (head_ == null) - return_value = null; - else if (tail_ == head_) - { - return_value = head_.data_; - tail_ = null; - head_ = null; - } - else - { - return_value = head_.data_; - head_ = head_.next_; - head_.prev_ = null; - } - - length_--; - - return return_value; - } - - public Object dequeue_tail() - { - Object return_value = null; - - if (tail_ == null) - return_value = null; - else if (tail_ == head_) - { - return_value = tail_.data_; - tail_ = null; - head_ = null; - } - else - { - return_value = tail_.data_; - tail_ = tail_.prev_; - tail_.next_ = null; - } - - length_--; - - return return_value; - } - - public int length() - { - return length_; - } - - public Object head() - { - if (head_ != null) - return head_.data_; - else - return null; - } - - public Object tail() - { - if (tail_ != null) - return tail_.data_; - else - return null; - } -} - -class Queue_Node -{ - public Queue_Node prev_ = null; - public Queue_Node next_ = null;; - public Object data_; - - public Queue_Node(Object data) - { - data_ = data; - } -} - -class Queue_Iterator implements Enumeration -{ - public static final boolean FORWARD = true; - public static final boolean REVERSE = false; - - private Queue queue_; - private Queue_Node queue_ptr_; - private boolean direction_ = FORWARD; - - public Queue_Iterator(Queue queue) - { - queue_ = queue; - queue_ptr_ = queue.head_; - } - - public Queue_Iterator(Queue queue, boolean direction) - { - queue_ = queue; - direction_ = direction; - - if (direction_) - queue_ptr_ = queue_.head_; - else - queue_ptr_ = queue_.tail_; - } - - public Object nextElement() - { - Object data = queue_ptr_.data_; - - if (direction_) - queue_ptr_ = queue_ptr_.next_; - else - queue_ptr_ = queue_ptr_.prev_; - - return data; - } - - public boolean hasMoreElements() - { - return queue_ptr_ != null; - } -} diff --git a/TAO/examples/Simulator/DOVEBrowser/VisComp.java b/TAO/examples/Simulator/DOVEBrowser/VisComp.java deleted file mode 100644 index 53294f33ea2..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/VisComp.java +++ /dev/null @@ -1,19 +0,0 @@ -// $Id$ -// -// = FILENAME -// VisComp.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This is the interface for Java Beans. -// -// ============================================================================ - - -public interface VisComp extends java.util.Observer { - - public void setName (String title); - public int getProperty (); -} diff --git a/TAO/examples/Simulator/DOVEBrowser/VisCompFactory.java b/TAO/examples/Simulator/DOVEBrowser/VisCompFactory.java deleted file mode 100644 index 288fcccceec..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/VisCompFactory.java +++ /dev/null @@ -1,48 +0,0 @@ -// $Id$ -// -// = FILENAME -// VisCompFactory.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This class serves as factory for Visualization Components -// -// ============================================================================ - -import java.beans.*; - -class VisCompFactory { - - VisComp getNewVisComp (int property, String name) { - - ClassLoader classLoader_ = this.getClass().getClassLoader(); - - VisComp visComp_ = null; - String visCompName_ = "VisComp"; - switch (property) { - case Properties.DOUBLE: - visCompName_ = "Double"+visCompName_; - break; - case Properties.NAVIGATION: - visCompName_ = "Navigation"+visCompName_; - break; - case Properties.WEAPONS: - visCompName_ = "Weapons"+visCompName_; - break; - default: return null; - } - try { - System.out.println ("Trying to connect: " + visCompName_+ " .. "); - visComp_ = (VisComp) Beans.instantiate (classLoader_, visCompName_); - visComp_.setName (name); - System.out.println ("Connected: " + visCompName_); - return visComp_; - } - catch (Exception e) { - System.out.println ("Unable to load JavaBean: " + e); - return null; - } - } -} \ No newline at end of file diff --git a/TAO/examples/Simulator/DOVEBrowser/WeaponsVisComp.java b/TAO/examples/Simulator/DOVEBrowser/WeaponsVisComp.java deleted file mode 100644 index 8c81bfc9c11..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/WeaponsVisComp.java +++ /dev/null @@ -1,144 +0,0 @@ -// $Id$ -// -// = FILENAME -// WeaponsVisComp.java -// -// = AUTHOR -// Seth Widoff (core functionality) -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This is a Visualization Component for displaying weapons. -// -// ============================================================================ - - -import java.io.*; -import java.util.*; -import java.awt.*; - - -public class WeaponsVisComp extends Panel implements VisComp -{ - private final static String ONLINE = "Online"; - private final static String OFFLINE = "Offline"; - private final static Font FONT_BIG = new Font ("Dialog", Font.BOLD, 14); - private final static Font FONT_SMALL = new Font ("Dialog", Font.BOLD, 10); - private final static Color BLUE = new Color (30, 144, 255); - - private int count_ = 0; - private Hashtable weapons_table_ = new Hashtable (); - private GridBagLayout gbl_= new GridBagLayout (); - private GridBagConstraints gbc_ = new GridBagConstraints (); - - Label default_label_ = new Label ("No weapons available", Label.CENTER); - - public WeaponsVisComp () - { - default_label_.setFont (FONT_BIG); - default_label_.setForeground (BLUE); - - setLayout (gbl_); - gbc_.gridx = 0; - gbc_.gridy = 0; - gbc_.gridheight = 1; - gbc_.gridwidth = 1; - gbc_.anchor = GridBagConstraints.NORTH; - gbc_.fill = GridBagConstraints.NONE; - setBackground (Color.black); - - gbl_.setConstraints (default_label_, gbc_); - add (default_label_); - } - - public void setName (String title) { - } - - public int getProperty () { - return Properties.WEAPONS; - } - - public Dimension getPreferredSize () { - return new Dimension (250, 200); - } - - public Dimension getMinimumSize () { - return new Dimension (80, 80); - } - - public void update (java.util.Observable observable, java.lang.Object obj) { - Weapons weapons_ = null; - try { - weapons_ = (Weapons) obj; - } - catch (Exception excp) { - System.out.println (excp); - System.out.println ("Visualization Component received wrong data type!"); - } - if (weapons_ != null) - { - for (int i = 0; i < weapons_.number_of_weapons && i < 5; i++) - { - String weapon = ""; - int status = 0; - switch (i) - { - default: - break; - case 0: weapon = weapons_.weapon1_identifier; - status = weapons_.weapon1_status; - break; - case 1: weapon = weapons_.weapon2_identifier; - status = weapons_.weapon2_status; - break; - case 2: weapon = weapons_.weapon3_identifier; - status = weapons_.weapon3_status; - break; - case 3: weapon = weapons_.weapon4_identifier; - status = weapons_.weapon4_status; - break; - case 4: weapon = weapons_.weapon5_identifier; - status = weapons_.weapon5_status; - break; - } - - - Label status_label_ = (Label)weapons_table_.get (weapon); - - if (status_label_ != null) - status_label_.setText ((status == 1) ? ONLINE : OFFLINE); - else - { - if (count_ == 0) - this.removeAll (); - - count_++; - Label weapon_label_ = new Label (count_ + ". " + weapon, Label.LEFT); - status_label_ = new Label ((status == 1) ? ONLINE : OFFLINE, Label.RIGHT); - - status_label_.setFont (FONT_SMALL); - weapon_label_.setFont (FONT_SMALL); - weapon_label_.setForeground (BLUE); - - gbc_.gridx = 0; - gbc_.anchor = GridBagConstraints.WEST; - gbl_.setConstraints (weapon_label_, gbc_); - add (weapon_label_); - gbc_.gridx = 1; - gbc_.anchor = GridBagConstraints.EAST; - gbl_.setConstraints (status_label_, gbc_); - add (status_label_); - - gbc_.gridy++; - weapons_table_.put (weapon, status_label_); - } - - status_label_.setForeground ((status == 1) ? - Color.lightGray : - Color.darkGray); - } - - validate (); - } - } -} diff --git a/TAO/examples/Simulator/DOVEBrowser/make.bat b/TAO/examples/Simulator/DOVEBrowser/make.bat deleted file mode 100755 index 49677db37bb..00000000000 --- a/TAO/examples/Simulator/DOVEBrowser/make.bat +++ /dev/null @@ -1,150 +0,0 @@ -@REM This File generates the necessary classes for Visibroker and JDK1.2 -@REM call it like: -@REM -@REM make VB (makes all VB classes) -@REM make JDK (makes all JDK classes) -@REM make clean (removes classes, IDL generated files) -@REM make realclean (updates IDL files, does make clean) -@REM - -@if %1. == VB. goto VB -@if %1. == vB. goto VB -@if %1. == Vb. goto VB -@if %1. == vb. goto VB -@if %1. == JDK. goto JDK -@if %1. == jDK. goto JDK -@if %1. == JdK. goto JDK -@if %1. == JDk. goto JDK -@if %1. == jdK. goto JDK -@if %1. == jDk. goto JDK -@if %1. == Jdk. goto JDK -@if %1. == jdk. goto JDK -@if %1. == setup. goto setup -@if %1. == realclean. goto realclean -@if %1. == clean. goto clean -@if %1. == vbjava. goto VBJAVA - - -@echo Usage: -@echo make setup (sets up IDL files) -@echo make vb (makes all VB classes) -@echo make jdk (makes all JDK classes) -@echo make clean (removes old classes, IDL generated files) -@echo make realclean (updates IDL files, calls make clean) -@goto end - -REM This part build with JDK -:JDK -@echo JDK1.2 -idltojava NavWeap.idl -idltojava RtecEventComm.idl -idltojava RtecEventChannelAdmin.idl -idltojava RtecScheduler.idl -idltojava CosNaming.idl -idltojava CosTimeBase.idl -javac CosNaming\NamingContextPackage\*.java -javac CosNaming\*.java -javac CosTimeBase\*.java -javac RtecScheduler\*.java -javac RtecEventComm\*.java -javac RtecEventComm\EventChannelPackage\*.java -javac RtecEventChannelAdmin\*.java -javac *.java - -@goto end - -:setup - -@REM This part updates IDL files - -@del *.idl -@xcopy ..\NavWeap.idl -@xcopy ..\..\..\orbsvcs\orbsvcs\CosTimeBase.idl -@xcopy ..\..\..\orbsvcs\orbsvcs\CosNaming.idl -@xcopy ..\..\..\orbsvcs\orbsvcs\RtecEventComm.idl -@xcopy ..\..\..\orbsvcs\orbsvcs\RtecEventChannelAdmin.idl -@xcopy ..\..\..\orbsvcs\orbsvcs\RtecScheduler.idl - -@goto end - -@REM This part cleans up everything, and updates IDL files - -:realclean - -@del *.idl -@xcopy ..\NavWeap.idl -@xcopy ..\..\..\orbsvcs\orbsvcs\CosTimeBase.idl -@xcopy ..\..\..\orbsvcs\orbsvcs\CosNaming.idl -@xcopy ..\..\..\orbsvcs\orbsvcs\RtecEventComm.idl -@xcopy ..\..\..\orbsvcs\orbsvcs\RtecEventChannelAdmin.idl -@xcopy ..\..\..\orbsvcs\orbsvcs\RtecScheduler.idl - -:clean - -@del *.class -@del Weapons.java -@del WeaponsHelper.java -@del WeaponsHolder.java -@del *NavWeapTerminator*.java -@del Navigation.java -@del NavigationHelper.java -@del NavigationHolder.java -@del RtecEventComm\*.java -@del RtecEventComm\*.class -@REM del RtecEventComm\EventChannelPackage\*.java -@REM del RtecEventComm\EventChannelPackage\*.class -@REM rd RtecEventComm\EventChannelPackage -@rd RtecEventComm - -@del RtecEventChannelAdmin\*.java -@del RtecEventChannelAdmin\*.class -@del RtecEventChannelAdmin\EventChannelPackage\*.java -@del RtecEventChannelAdmin\EventChannelPackage\*.class -@rd RtecEventChannelAdmin\EventChannelPackage -@rd RtecEventChannelAdmin - -@del RtecScheduler\*.java -@del RtecScheduler\*.class -@rd RtecScheduler - -@del CosNaming\*.java -@del CosNaming\*.class -@del CosNaming\NamingContextPackage\*.java -@del CosNaming\NamingContextPackage\*.class -@rd CosNaming\NamingContextPackage -@rd CosNaming - -@REM del CosTimeBase\*.java -@REM del CosTimeBase\*.class -@REM rd CosTimeBase - -@del TimeBase\*.java -@del TimeBase\*.class -@rd TimeBase - -@goto end - - -REM This part build with VB -:VB -@echo Visibroker -@echo idl2java NavWeap.idl -@idl2java NavWeap.idl -@echo idl2java RtecEventComm.idl -@idl2java RtecEventComm.idl -@echo idl2java RtecEventChannelAdmin.idl -@idl2java RtecEventChannelAdmin.idl -@echo idl2java RtecScheduler.idl -@idl2java RtecScheduler.idl -@echo idl2java CosNaming.idl -@idl2java CosNaming.idl -@echo idl2java CosTimeBase.idl -@idl2java CosTimeBase.idl - -:VBJAVA - -@echo vbjc *.java -@vbjc *.java - -:end - diff --git a/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.cpp b/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.cpp deleted file mode 100644 index d8413060366..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.cpp +++ /dev/null @@ -1,216 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// AnyAnalyser.cpp -// -// = AUTHOR -// Michael Kircher -// -// = DESCRIPTION -// Accepts an CORBA::Any, traverses it, copies it into a tree structure -// and prints out the tree. -// -// ============================================================================ - -#include "AnyAnalyser.h" - -ACE_RCSID(DOVEMIB, AnyAnalyser, "$Id$") - -AnyAnalyser::AnyAnalyser (const char *file_name) - : printVisitor_ptr_(new PrintVisitor (file_name)) { -} - -AnyAnalyser::~AnyAnalyser () { - delete this->printVisitor_ptr_; -} - -void -AnyAnalyser::close () { - this->printVisitor_ptr_->close(); -} - -void -AnyAnalyser::printTimeStamp (ACE_hrtime_t creation, - ACE_hrtime_t ec_recv, - ACE_hrtime_t ec_send) -{ - this->printVisitor_ptr_->printTimeStamp (creation, - ec_recv, - ec_send); -} - - -void -AnyAnalyser::printAny (CORBA::TypeCode_ptr any_type, const void *any_value) { - - // Analyse the any and store the results in a tree structure - RecurseInfo recurseInfo_ = {PARENT_IS_NO_STRUCT,// identifies parent - 0, // parent typecode - 0, // member count - 0}; // recursion level - - // have a variable with can be incremented by all - // recursive analyse calls - const unsigned char *value_ptr_ = (const unsigned char *)any_value; - - // analyse the any - Node *node_ptr_ = analyse (any_type, // typecode information - value_ptr_, // pointer to the memory - recurseInfo_); // recurse information - - // print the results - node_ptr_->Accept ((NodeVisitor *)printVisitor_ptr_); -} - -Node * -AnyAnalyser::analyse (CORBA::TypeCode_ptr tc_ptr, - const unsigned char *&value_ptr, - RecurseInfo ri) -{ - CORBA::Long alignment, align_offset; - CORBA::TypeCode_ptr param; - const unsigned char *start_addr = value_ptr; - - ACE_TRY_NEW_ENV - { - Node *node_ptr_ = 0; - - if (tc_ptr != 0) { - - switch (tc_ptr->kind(ACE_TRY_ENV)) { - - case CORBA::tk_struct: - { - // to hold a pointer to the start of the struct - start_addr = value_ptr; - - // create a new Node - StructNode *structNode_ptr_ = new StructNode (tc_ptr->name (ACE_TRY_ENV), - ri.recursion_level); - - for (unsigned int i = 0; i < tc_ptr->member_count (ACE_TRY_ENV); i++) { - - // get the TypeCode pointer to the ith parameter - // and analyse it recursively - RecurseInfo recurseInfo_ = {PARENT_IS_STRUCT, // identifies parent - tc_ptr, // parent typecode - i, // member count - ri.recursion_level+1}; - - - // get the type code of the child i - param = tc_ptr->member_type (i, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // get the size - /* size = */ param->size (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // get the alignment - alignment = param->alignment (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // calculate - align_offset = - (ptr_arith_t) ptr_align_binary (value_ptr, alignment) - - (ptr_arith_t) value_ptr - + (ptr_arith_t) ptr_align_binary (start_addr, alignment) - - (ptr_arith_t) start_addr; - ACE_TRY_CHECK; - - // if both the start_addr and data are not aligned as per - // the alignment, we do not add the offset - value_ptr = (unsigned char *) ((ptr_arith_t) value_ptr + - ((align_offset == alignment) ? - 0 : align_offset)); - - structNode_ptr_->addChild (analyse (param, - value_ptr, - recurseInfo_)); - } - node_ptr_ = (Node *)structNode_ptr_; - } - break; - - case CORBA::tk_double: - if (ri.kind == PARENT_IS_STRUCT) { - node_ptr_ = (Node *) new DoubleNode ((CORBA::Double *)value_ptr, - ri.parent_tc_ptr->member_name(ri.member_number, - ACE_TRY_ENV), - ri.recursion_level); - } - else { - node_ptr_ = (Node *) new DoubleNode ((CORBA::Double *)value_ptr, - tc_ptr->name(ACE_TRY_ENV), - ri.recursion_level); - } - value_ptr += 8; - break; - - case CORBA::tk_long: - if (ri.kind == PARENT_IS_STRUCT) { - node_ptr_ = (Node *) new LongNode ((CORBA::Long *)value_ptr, - ri.parent_tc_ptr->member_name(ri.member_number, - ACE_TRY_ENV), - ri.recursion_level); - } - else { - node_ptr_ = (Node *) new LongNode ((CORBA::Long *)value_ptr, - tc_ptr->name(ACE_TRY_ENV), - ri.recursion_level); - } - value_ptr += 4; - break; - - case CORBA::tk_ulong: - if (ri.kind == PARENT_IS_STRUCT) { - node_ptr_ = (Node *) new ULongNode ((CORBA::ULong *)value_ptr, - ri.parent_tc_ptr->member_name(ri.member_number, - ACE_TRY_ENV), - ri.recursion_level); - } - else { - node_ptr_ = (Node *) new ULongNode ((CORBA::ULong *)value_ptr, - tc_ptr->name(ACE_TRY_ENV), - ri.recursion_level); - } - value_ptr += 4; - break; - - case CORBA::tk_string: - if (ri.kind == PARENT_IS_STRUCT) { - node_ptr_ = (Node *) new StringNode (*(CORBA::String_var *)value_ptr, - ri.parent_tc_ptr->member_name(ri.member_number, - ACE_TRY_ENV), - ri.recursion_level); - } - else { - node_ptr_ = (Node *) new StringNode (*(CORBA::String_var *)value_ptr, - tc_ptr->name(ACE_TRY_ENV), - ri.recursion_level); - } - value_ptr += 4; - break; - - default: ACE_ERROR ((LM_ERROR, "AnyAnalyser::analyse: No known kind of type detected!\n")); - exit (1); - break; - } - ACE_TRY_CHECK; - return node_ptr_; - } - else { - ACE_DEBUG ((LM_ERROR, "AnyAnalyser::analyse: TypeCode pointer to member was Null!\n")); - } - } - ACE_CATCHANY { - ACE_ERROR ((LM_ERROR, "(%t)AnyAnalyser::analyse: Error in analysing the any.\n")); - } - ACE_ENDTRY; - return 0; -} - - diff --git a/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.h b/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.h deleted file mode 100644 index d3a9bb3ccf4..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.h +++ /dev/null @@ -1,63 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// AnyAnalyser.h -// -// = AUTHOR -// Michael Kircher -// -// = DESCRIPTION -// Accepts an CORBA::Any, traverses it, copies it into a tree structure -// and prints out the tree. -// -// ============================================================================ - - -#include "PrintVisitor.h" -#include "tao/corba.h" - -#ifndef ANYANALYSER_H -#define ANYANALYSER_H - -typedef enum {PARENT_IS_STRUCT, PARENT_IS_NO_STRUCT} KIND; - -typedef struct { - KIND kind; - CORBA::TypeCode_ptr parent_tc_ptr; - unsigned int member_number; - unsigned int recursion_level; -} RecurseInfo; - - -class AnyAnalyser { - -public: - AnyAnalyser (const char *filename); - - ~AnyAnalyser (); - - // cause the PrintViewer to be deleted to close the file - void close (); - - // main starting point includes analysing and printing - void printAny (CORBA::TypeCode_ptr any_type, const void *any_value); - - void printTimeStamp (ACE_hrtime_t creation, - ACE_hrtime_t ec_recv, - ACE_hrtime_t ec_send); - // Print the time stamp, which means forward this - // call to the PrintVisitor - -private: - Node *analyse (CORBA::TypeCode_ptr tc_ptr, - const unsigned char *&value_ptr, - RecurseInfo recurseInfo); - - PrintVisitor *printVisitor_ptr_; -}; - -#endif - diff --git a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.cpp b/TAO/examples/Simulator/DOVEMIB/DOVEMIB.cpp deleted file mode 100644 index 726228024cc..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.cpp +++ /dev/null @@ -1,422 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// DOVEMIB.cpp -// -// = DESCRIPTION -// The MIB listens to the Event Channel, analyses the CORBA::Any -// and prints the result into a file. -// -// = AUTHOR -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include - -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -#include "ace/Profile_Timer.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "DOVEMIB.h" - -ACE_RCSID(DOVEMIB, DOVEMIB, "$Id$") - -static const char usage [] = -"[-? |\n" -" [-O[RBport] ORB port number]" -" [-m of messages to receive [100]]" -" [-f filename for the repository [event_repository]]]"; - -static int events_received_ = 0; -static char *input_file_name = 0; -static int events_to_receive_ = 100; -RtecEventChannelAdmin::EventChannel_var ec; - -// ************************************************************ - -MIB_Consumer::MIB_Consumer (void) -: anyAnalyser_ (input_file_name) { -} - -int -MIB_Consumer::open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec, - const char *my_name) { - ACE_TRY_NEW_ENV - { - // Get a Scheduler. - - RtecScheduler::Scheduler_ptr server = - ACE_Scheduler_Factory::server (); - - // Define Real-time information. - - rt_info_ = server->create (my_name, ACE_TRY_ENV); - - server->set (rt_info_, - RtecScheduler::VERY_LOW_CRITICALITY, - ORBSVCS_Time::zero (), - ORBSVCS_Time::zero (), - ORBSVCS_Time::zero (), - 2500000, - RtecScheduler::VERY_LOW_IMPORTANCE, - ORBSVCS_Time::zero (), - 1, - RtecScheduler::OPERATION, - ACE_TRY_ENV); - - // Create the event that we're registering for. - - ACE_ConsumerQOS_Factory dependencies; - dependencies.start_disjunction_group (); - dependencies.insert_type (ACE_ES_EVENT_NOTIFICATION, rt_info_); - dependencies.insert_type (ACE_ES_EVENT_SHUTDOWN, rt_info_); - - // The channel administrator is the event channel we got from - // the invocation of this routine. - - this->channel_admin_ = ec; - - // = Connect as a consumer. - - this->consumer_admin_ = channel_admin_->for_consumers (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Obtain a pointer to a push supplier. "suppliers" is - // inherited from a base class. - - this->suppliers_ = consumer_admin_->obtain_push_supplier (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // The _this function returns an object pointer. This is needed - // because a consumer inherits from a Servant class that is no - // CORBA::Object. - - RtecEventComm::PushConsumer_var objref = this->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->suppliers_->connect_push_consumer (objref.in (), - dependencies.get_ConsumerQOS (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR, se) { - ACE_ERROR_RETURN ((LM_ERROR, - "MIB_Consumer::open: subscribe failed.\n"), - -1); - } - ACE_CATCHANY { - ACE_ERROR_RETURN ((LM_ERROR, - "MIB_Consumer::open: unexpected exception.\n"), - -1); - } - ACE_ENDTRY; - - return 0; -} - -void -MIB_Consumer::disconnect_push_consumer (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, - "Consumer received disconnect from channel.\n")); -} - - -// This method is called when the Event Service pushes a new -// event to us - -void -MIB_Consumer::push (const RtecEventComm::EventSet &events, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - - if (events.length () == 0) { - ACE_DEBUG ((LM_DEBUG, "no events\n")); - return; - } - - // count the number of events - events_received_++; - - // if we have enough we quit - if (events_received_ > events_to_receive_) { - this->shutdown (); - } - - // Several events could be sent at once - for (CORBA::ULong i = 0; i < events.length (); ++i) { - - if (events[i].header.type == ACE_ES_EVENT_SHUTDOWN) { - - ACE_DEBUG ((LM_DEBUG, "MIB Consumer: received shutdown event\n")); - this->shutdown (); - } - else { - - if (events_received_ == 1) { - ACE_DEBUG ((LM_DEBUG, "MIB Consumer: received an event, going to be mute.\n")); - } - - ACE_TRY - { - // print the time stamps - ACE_hrtime_t creation; - ORBSVCS_Time::TimeT_to_hrtime (creation, - events[i].header.creation_time); - - ACE_hrtime_t ec_recv; - ORBSVCS_Time::TimeT_to_hrtime (ec_recv, - events[i].header.ec_recv_time); - - ACE_hrtime_t ec_send; - ORBSVCS_Time::TimeT_to_hrtime (ec_send, - events[i].header.ec_send_time); - - anyAnalyser_.printTimeStamp (creation, ec_recv, ec_send); - - if (events[i].data.any_value.any_owns_data ()) - { - void * void_ptr = ACE_OS::malloc (events[i].data.any_value.type()->size(ACE_TRY_ENV)); - - TAO_InputCDR stream ((ACE_Message_Block *)events[i].data.any_value.value ()); - if (stream.decode (events[i].data.any_value.type(), void_ptr, 0, ACE_TRY_ENV) - != CORBA::TypeCode::TRAVERSE_CONTINUE) - { - cout << "MIB_Consumer::push: " - << "Something went wrong when decoding the Message Block (Any value)!" - << endl; - // something went wrong - ACE_OS::free(void_ptr); - return; - } - ACE_TRY_CHECK; - - // invoke the AnyAnalyser - anyAnalyser_.printAny (events[i].data.any_value.type(), void_ptr); - ACE_OS::free(void_ptr); - } - else - { - // invoke the AnyAnalyser - anyAnalyser_.printAny (events[i].data.any_value.type(), events[i].data.any_value.value()); - } - - } - ACE_CATCHANY { - ACE_ERROR ((LM_ERROR, "(%t)Error in extracting the Navigation and Weapons data.\n")); - } - ACE_ENDTRY; - } - } -} - -void -MIB_Consumer::shutdown (void) -{ - ACE_TRY_NEW_ENV - { - // cause the AnyAnalyser to close the file - anyAnalyser_.close(); - - // Disconnect from the push supplier. - this->suppliers_->disconnect_push_supplier (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "@@ we should shutdown here!!!\n")); - ACE_TRY_CHECK; - - ec = 0; - - TAO_ORB_Core_instance ()->orb ()->shutdown (); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "(%t) MIB_Consumer::shutdown: unexpected exception.\n")); - } - ACE_ENDTRY; -} - -// function get_options - -static unsigned int -get_options (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "O?f:m:"); - int opt; - unsigned int temp; - - while ((opt = get_opt ()) != EOF) - { - switch (opt) - { - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - argv[0], usage)); - ACE_OS::exit (0); - break; - - case 'f': - input_file_name = get_opt.optarg; - - if (!input_file_name || ACE_OS::strlen (input_file_name) == 0) { - input_file_name = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "%s: file name must be specified with -f option", - argv[0]), - 1); - } - break; - - case 'm': - temp = (unsigned int) ACE_OS::atoi (get_opt.optarg); - if (temp > 0) { - events_to_receive_ = temp; - ACE_DEBUG ((LM_DEBUG,"Messages to receive: %d\n", events_to_receive_)); - } - else { - ACE_ERROR_RETURN ((LM_ERROR, "%s: count must be > 0", argv[0]), 1); - } - break; - - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%s: unknown arg, -%c\n" - "Usage: %s %s\n", - argv[0], char(opt), - argv[0], usage), 1); - } - } - - if (argc != get_opt.optind) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: too many arguments\n" - "Usage: %s %s\n", - argv[0], - argv[0], - usage), - 1); - return 0; -} - -// function main. - -int -main (int argc, char *argv []) -{ - ACE_TRY_NEW_ENV - { - // Initialize ORB. - - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "internet", ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::Object_var poa_object = - orb->resolve_initial_references("RootPOA"); - - if (CORBA::is_nil (poa_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (poa_object.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::Object_var naming_obj = - orb->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (naming_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_Scheduler_Factory::use_config (naming_context.in ()); - - if (get_options (argc, argv)) - ACE_OS::exit (-1); - - // Get the Event Channel. - - CosNaming::Name channel_name (1); - channel_name.length (1); - channel_name[0].id = CORBA::string_dup ("EventService"); - - CORBA::Object_var ec_obj = - naming_context->resolve (channel_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ec = - RtecEventChannelAdmin::EventChannel::_narrow (ec_obj.in(), ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (ec.ptr() == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Not able to get the Event Service reference.\n"), - -1); - - // Create consumer. - - MIB_Consumer *mIB_Consumer; - ACE_NEW_RETURN (mIB_Consumer, - MIB_Consumer (), - -1); - - if (mIB_Consumer->open_consumer (ec.ptr (), - "MIB_Consumer") == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Someone was feeling introverted.\n"), - -1); - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Run the ORB - - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "CORBA::ORB::run"), - -1); - ACE_TRY_CHECK; - - ec = 0; - - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "SYS_EX"); - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsp b/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsp deleted file mode 100644 index 87e4d81839c..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsp +++ /dev/null @@ -1,103 +0,0 @@ -# Microsoft Developer Studio Project File - Name="DOVEMIB" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=DOVEMIB - 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 "DOVEMIB.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 "DOVEMIB.MAK" CFG="DOVEMIB - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "DOVEMIB - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "DOVEMIB - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "DOVEMIB - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD 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 /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "DOVEMIB - 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 "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\tao" /I "..\..\..\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /FR /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /pdb:"DOVEMIB.pdb" /debug /machine:I386 /out:"DOVEMIB.exe" /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "DOVEMIB - Win32 Release" -# Name "DOVEMIB - Win32 Debug" -# Begin Source File - -SOURCE=.\AnyAnalyser.cpp -# End Source File -# Begin Source File - -SOURCE=.\DOVEMIB.cpp -# End Source File -# Begin Source File - -SOURCE=.\Node.cpp -# End Source File -# Begin Source File - -SOURCE=.\PrintVisitor.cpp -# End Source File -# End Target -# End Project diff --git a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsw b/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsw deleted file mode 100644 index 72065dca75b..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsw +++ /dev/null @@ -1,53 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "DOVEMIB"=.\DOVEMIB.DSP - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "DOVEMIBx"=.\DOVEMIBx.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TestClient"=.\TestClient.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.h b/TAO/examples/Simulator/DOVEMIB/DOVEMIB.h deleted file mode 100644 index f15847160d1..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.h +++ /dev/null @@ -1,64 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = FILENAME -// DOVEMIB.h -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#ifndef DOVE_MIB_H -#define DOVE_MIB_H - -//#include "ace/SString.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/RtecEventCommS.h" -#include "AnyAnalyser.h" - -class MIB_Consumer : public POA_RtecEventComm::PushConsumer -{ - // = TITLE - // Demo Consumer - // - // = DESCRIPTION - // Simple example of a consumer that registers for supplier - // notifications. -public: - MIB_Consumer (void); - - int open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec, - const char *my_name); - // Uses the name server to obtain a reference to the - // and registers with channel to receive notifications from the - // supplier. Also registers to receive shutdown messages from the - // supplier. Stores for printing out messages. Returns 0 - // on success, -1 on failure. - - virtual void disconnect_push_consumer (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // The channel is disconnecting. - - // = (not protected to allow short-circuiting) protected: - virtual void push (const RtecEventComm::EventSet &events, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // If the [0] is a notification, prints out the data from - // the supplier. If its a shutdown message, the consumer - // disconnects from the channel. - -protected: - void shutdown (void); - // Disconnect from the Event Service. - - // = Event channel adminstration references. - RtecEventChannelAdmin::EventChannel_var channel_admin_; - RtecEventChannelAdmin::ConsumerAdmin_var consumer_admin_; - RtecEventChannelAdmin::ProxyPushSupplier_var suppliers_; - AnyAnalyser anyAnalyser_; -private: - RtecScheduler::handle_t rt_info_; -}; - -#endif /* DOVE_MIB_H */ diff --git a/TAO/examples/Simulator/DOVEMIB/DOVEMIBx.dsp b/TAO/examples/Simulator/DOVEMIB/DOVEMIBx.dsp deleted file mode 100644 index 9feb18625d8..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/DOVEMIBx.dsp +++ /dev/null @@ -1,183 +0,0 @@ -# Microsoft Developer Studio Project File - Name="DOVEMIBx" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=DOVEMIBx - 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 "DOVEMIBx.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 "DOVEMIBx.mak" CFG="DOVEMIBx - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "DOVEMIBx - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "DOVEMIBx - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "DOVEMIBx - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD 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 /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "DOVEMIBx - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "DOVEMIB0" -# PROP BASE Intermediate_Dir "DOVEMIB0" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "DOVEMIB0" -# PROP Intermediate_Dir "DOVEMIB0" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\tao" /I "..\..\..\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /pdb:"DOVEMIBx.pdb" /debug /machine:I386 /out:"DOVEMIBx.exe" /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "DOVEMIBx - Win32 Release" -# Name "DOVEMIBx - Win32 Debug" -# Begin Source File - -SOURCE=.\any_test.idl - -!IF "$(CFG)" == "DOVEMIBx - Win32 Release" - -!ELSEIF "$(CFG)" == "DOVEMIBx - Win32 Debug" - -# Begin Custom Build - Invoking TAO_IDL compiler -InputPath=.\any_test.idl -InputName=any_test - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\any_test_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\any_testC.cpp -# End Source File -# Begin Source File - -SOURCE=.\any_testS.cpp -# End Source File -# Begin Source File - -SOURCE=.\AnyAnalyser.cpp -# End Source File -# Begin Source File - -SOURCE=.\NavWeap.idl - -!IF "$(CFG)" == "DOVEMIBx - Win32 Release" - -!ELSEIF "$(CFG)" == "DOVEMIBx - Win32 Debug" - -# Begin Custom Build - Invoking TAO_IDL compiler -InputPath=.\NavWeap.idl -InputName=NavWeap - -BuildCmds= \ - xcopy ..\$(InputName).idl . \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl \ - - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\NavWeapC.cpp -# End Source File -# Begin Source File - -SOURCE=.\NavWeapS.cpp -# End Source File -# Begin Source File - -SOURCE=.\Node.cpp -# End Source File -# Begin Source File - -SOURCE=.\PrintVisitor.cpp -# End Source File -# Begin Source File - -SOURCE=.\svr.cpp -# End Source File -# End Target -# End Project diff --git a/TAO/examples/Simulator/DOVEMIB/Makefile b/TAO/examples/Simulator/DOVEMIB/Makefile deleted file mode 100644 index 92b4fc9299f..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/Makefile +++ /dev/null @@ -1,915 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -TAO_IDLFLAGS += -I$(TAO_ROOT)/orbsvcs/orbsvcs -IDL_SRC= NavWeapC.cpp -PROG_SRCS = $(IDL_SRC) DOVEMIB.cpp Node.cpp PrintVisitor.cpp AnyAnalyser.cpp - -LSRC = $(PROG_SRCS) - -MIB_OBJS = DOVEMIB.o NavWeapC.o Node.o PrintVisitor.o AnyAnalyser.o - -LDLIBS = -lorbsvcs -lTAO -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = DOVEMIB - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Event,$(findstring Event,$(TAO_ORBSVCS))) - ifeq (Sched,$(findstring Sched,$(TAO_ORBSVCS))) - ifeq (Time,$(findstring Time,$(TAO_ORBSVCS))) - ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) - endif # Naming - endif # Time - endif # Sched -endif # Event - -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) \ - -I$(TAO_ROOT)/orbsvcs/orbsvcs $(TSS_ORB_FLAG)#-H - -$(IDL_SRC): NavWeap.idl - $(TAO_IDL) $(TAO_IDLFLAGS) $< - -NavWeap.idl: ../NavWeap.idl - @cp -p $< . - -DOVEMIB: $(addprefix $(VDIR),$(MIB_OBJS)) - -realclean: clean - -$(RM) NavWeap.idl NavWeap[CS].* NavWeap[CS]_T.* - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/DOVEMIB.o .obj/DOVEMIB.so .shobj/DOVEMIB.o .shobj/DOVEMIB.so: DOVEMIB.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(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 \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(ACE_ROOT)/ace/Profile_Timer.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/High_Res_Timer.h \ - $(ACE_ROOT)/ace/High_Res_Timer.i \ - $(ACE_ROOT)/ace/Profile_Timer.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/Policy_Manager.h \ - $(TAO_ROOT)/tao/Resource_Factory.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - DOVEMIB.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - AnyAnalyser.h PrintVisitor.h NodeVisitor.h Node.h -.obj/Node.o .obj/Node.so .shobj/Node.o .shobj/Node.so: Node.cpp Node.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(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 \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/Policy_Manager.h \ - $(TAO_ROOT)/tao/Resource_Factory.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h NodeVisitor.h -.obj/PrintVisitor.o .obj/PrintVisitor.so .shobj/PrintVisitor.o .shobj/PrintVisitor.so: PrintVisitor.cpp PrintVisitor.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(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 \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/Connect.h \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/Policy_Manager.h \ - $(TAO_ROOT)/tao/Resource_Factory.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h NodeVisitor.h \ - Node.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Simulator/DOVEMIB/Node.cpp b/TAO/examples/Simulator/DOVEMIB/Node.cpp deleted file mode 100644 index 20da755adef..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/Node.cpp +++ /dev/null @@ -1,219 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// any_test_i.cpp -// -// = AUTHOR -// Michael Kircher -// -// = DESCRIPTION -// Implementation of the Nodes for the any evaluator. -// -// ============================================================================ - -#include "Node.h" - -ACE_RCSID(DOVEMIB, Node, "$Id$") - -StructNode::StructNode (const char *Name_ptr, - unsigned int recursion_level) { - Name_ptr_ = Name_ptr; - queue_ptr_ = new ACE_Unbounded_Queue; - recursion_level_ = recursion_level; - queue_iterator_ptr_ = 0; -} - - -StructNode::~StructNode () { - for (unsigned int i = 0; i < getChildNumber (); i++) { - delete getChild (i); - } - delete queue_ptr_; - delete queue_iterator_ptr_; -} - - -unsigned int -StructNode::getChildNumber () { - return (unsigned int) queue_ptr_->size (); -} - -Node * -StructNode::getChild (unsigned int n) { - - // create new iterator if some things have changed - if (queue_iterator_ptr_ == 0) { - queue_iterator_ptr_ = new ACE_Unbounded_Queue_Iterator (*queue_ptr_); - queue_position_ = 0; - } - - // check if we have such a Zebra - if (n < queue_ptr_->size ()) { - // if we are already to far in the queue - if (queue_position_ > n) { - queue_position_ = 0; - queue_iterator_ptr_->first (); - } - - Node **node_ptr_ptr_; - for (; - !queue_iterator_ptr_->done() && queue_position_ <= n; - queue_iterator_ptr_->advance (), queue_position_++) { - queue_iterator_ptr_->next (node_ptr_ptr_); - } - return (*node_ptr_ptr_); - } - else { - return 0; - } -} - -int -StructNode::addChild (Node *node) { - delete queue_iterator_ptr_; - queue_iterator_ptr_ = 0; - return queue_ptr_->enqueue_tail (node); -} - -const char * -StructNode::getName () { - return Name_ptr_; -} - -void -StructNode::Accept (NodeVisitor *nodeVisitor) { - nodeVisitor->visitStructNode (this); -} - -unsigned int -StructNode::getRecursionLevel () { - return recursion_level_; -} - -DoubleNode::DoubleNode (CORBA::Double *Double_ptr, - const char *Name_ptr, - unsigned int recursion_level) { - Double_ptr_ = Double_ptr; - Name_ptr_ = Name_ptr; - recursion_level_ = recursion_level; -} - -const char * -DoubleNode::getName () { - return Name_ptr_; -} - - - -CORBA::Double -DoubleNode::getValue () { - return *Double_ptr_; -} - -void -DoubleNode::Accept (NodeVisitor *nodeVisitor) { - nodeVisitor->visitDoubleNode (this); -} - -unsigned int -DoubleNode::getRecursionLevel () { - return recursion_level_; -} - -LongNode::LongNode (CORBA::Long *Long_ptr, - const char *Name_ptr, - unsigned int recursion_level) { - Long_ptr_ = Long_ptr; - Name_ptr_ = Name_ptr; - recursion_level_ = recursion_level; -} - -const char * -LongNode::getName () { - return Name_ptr_; -} - -CORBA::Long -LongNode::getValue () { - return *Long_ptr_; -} - -void -LongNode::Accept (NodeVisitor *nodeVisitor) { - nodeVisitor->visitLongNode (this); -} - -unsigned int -LongNode::getRecursionLevel () { - return recursion_level_; -} - -ULongNode::ULongNode (CORBA::ULong *ULong_ptr, - const char *Name_ptr, - unsigned int recursion_level) { - ULong_ptr_ = ULong_ptr; - Name_ptr_ = Name_ptr; - recursion_level_ = recursion_level; -} - -const char * -ULongNode::getName () { - return Name_ptr_; -} - -CORBA::ULong -ULongNode::getValue () { - return *ULong_ptr_; -} - -void -ULongNode::Accept (NodeVisitor *nodeVisitor) { - nodeVisitor->visitULongNode (this); -} - -unsigned int -ULongNode::getRecursionLevel () { - return recursion_level_; -} - - -StringNode::StringNode (CORBA::String_var String_var, - const char *Name_ptr, - unsigned int recursion_level) { - String_var_ = String_var; - Name_ptr_ = Name_ptr; - recursion_level_ = recursion_level; -} - -const char* -StringNode::getName () { - return Name_ptr_; -} - -CORBA::String_var -StringNode::getValue () { - return String_var_; -} - -void -StringNode::Accept (NodeVisitor *nodeVisitor) { - nodeVisitor->visitStringNode (this); -} - -unsigned int -StringNode::getRecursionLevel () { - return recursion_level_; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Node; -template class ACE_Unbounded_Queue; -template class ACE_Unbounded_Queue_Iterator; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Node -#pragma instantiate ACE_Unbounded_Queue -#pragma instantiate ACE_Unbounded_Queue_Iterator -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simulator/DOVEMIB/Node.h b/TAO/examples/Simulator/DOVEMIB/Node.h deleted file mode 100644 index 90823bb26cc..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/Node.h +++ /dev/null @@ -1,190 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// Node.h -// -// = AUTHOR -// Michael Kircher -// -// = DESCRIPTION -// This file descibes the various node types for analysing -// an CORBA::Any. It is no memory allocated, that means -// The values are not really contained by the nodes, but the -// nodes refer to the values via pointers. -// -// ============================================================================ - -#include "tao/corba.h" -#include "ace/Containers.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "NodeVisitor.h" - -#ifndef NODE_H -#define NODE_H - - -// base class for nodes -class Node { -public: - virtual ~Node () {} - virtual void Accept (NodeVisitor *NodeVisitor) = 0; - virtual unsigned int getRecursionLevel () = 0; - -protected: - Node () {} -}; - - - -// Node to store information about a Struct -class StructNode : public Node { -public: - StructNode (const char *Name_ptr, - unsigned int recursion_level); - ~StructNode (); - - // accpet a visitor - void Accept (NodeVisitor *nodeVisitor); - - // add a new child - int addChild (Node *node); - - // retrieve the nth Child starting at 0 - Node *getChild (unsigned int n); - - // get the number of children - unsigned int getChildNumber (); - - // get the name of the struct - const char *getName (); - - // get recursion level - unsigned int getRecursionLevel (); - - -private: - ACE_Unbounded_Queue *queue_ptr_; - ACE_Unbounded_Queue_Iterator *queue_iterator_ptr_; - unsigned int queue_position_; - const char *Name_ptr_; - unsigned int recursion_level_; -}; - - -// Node to store information about a Double -class DoubleNode : public Node { -public: - DoubleNode (CORBA::Double *Double_ptr, - const char *Name_ptr, - unsigned int recursion_level); - ~DoubleNode () {} - - // accpet a visitor - void Accept (NodeVisitor *nodeVisitor); - - // get the name of the double node - const char *getName (); - - // get the value - CORBA::Double getValue (); - - // get recursion level - unsigned int getRecursionLevel (); - -private: - CORBA::Double *Double_ptr_; - const char *Name_ptr_; - unsigned int recursion_level_; -}; - - -// Node to store information about a Long -class LongNode : public Node { -public: - LongNode (CORBA::Long *Long_ptr, - const char *Name_ptr, - unsigned int recursion_level); - ~LongNode () {} - - // accpet a visitor - void Accept (NodeVisitor *nodeVisitor); - - //get the name of the long node - const char *getName (); - - // get the value - CORBA::Long getValue (); - - // get recursion level - unsigned int getRecursionLevel (); - -private: - CORBA::Long *Long_ptr_; - const char *Name_ptr_; - unsigned int recursion_level_; -}; - - -// Node to store information about a ULong -class ULongNode : public Node { -public: - ULongNode (CORBA::ULong *Long_ptr, - const char *Name_ptr, - unsigned int recursion_level); - ~ULongNode () {} - - // accpet a visitor - void Accept (NodeVisitor *nodeVisitor); - - // get the name of the ulong node - const char *getName (); - - // get the value - CORBA::ULong getValue (); - - // get recursion level - unsigned int getRecursionLevel (); - -private: - CORBA::ULong *ULong_ptr_; - const char *Name_ptr_; - unsigned int recursion_level_; -}; - - -// Node to store information about a String -class StringNode : public Node { -public: - StringNode (CORBA::String_var String_var, - const char *Name_ptr, - unsigned int recursion_level); - ~StringNode () {} - - // accpet a visitor - void Accept (NodeVisitor *nodeVisitor); - - // get the name - const char *getName (); - - // get the value - CORBA::String_var getValue (); - - // get recursion level - unsigned int getRecursionLevel (); - -private: - CORBA::String_var String_var_; - const char *Name_ptr_; - unsigned int recursion_level_; -}; - -#endif // NODE_H - - diff --git a/TAO/examples/Simulator/DOVEMIB/NodeVisitor.h b/TAO/examples/Simulator/DOVEMIB/NodeVisitor.h deleted file mode 100644 index f1a0d5d4050..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/NodeVisitor.h +++ /dev/null @@ -1,39 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// NodeVisitor.h -// -// = AUTHOR -// Michael Kircher -// -// = DESCRIPTION -// This file descibes the Visitor used by the any evaluator. -// -// ============================================================================ - -#ifndef NODE_VISITOR_H -#define NODE_VISITOR_H - -class StructNode; -class DoubleNode; -class LongNode; -class ULongNode; -class StringNode; - -// base class for all the specialized visitors - -class NodeVisitor { -public: - virtual void visitStructNode (StructNode *structNode) = 0; - virtual void visitDoubleNode (DoubleNode *doubleNode) = 0; - virtual void visitLongNode (LongNode *longNode) = 0; - virtual void visitULongNode (ULongNode *uLongNode) = 0; - virtual void visitStringNode (StringNode *stringNode) = 0; -protected: - NodeVisitor () {} -}; - -#endif // NODE_VISITOR_H diff --git a/TAO/examples/Simulator/DOVEMIB/PrintVisitor.cpp b/TAO/examples/Simulator/DOVEMIB/PrintVisitor.cpp deleted file mode 100644 index c350f05783d..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/PrintVisitor.cpp +++ /dev/null @@ -1,159 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// any_test_i.cpp -// -// = AUTHOR -// Michael Kircher -// -// = DESCRIPTION -// Visitor for the Nodes of the any analyser. -// -// ============================================================================ - -#include "PrintVisitor.h" -#include - -ACE_RCSID(DOVEMIB, PrintVisitor, "$Id$") - -PrintVisitor::PrintVisitor (const char *file_name) { - - ACE_TRY { - if (file_name != 0) { - output_ = ACE_OS::fopen(file_name, "w"); - ACE_TRY_CHECK; - - // print it on the screen if file could be opened - if (output_ == 0) { - - output_ = stdout; - - ACE_DEBUG ((LM_DEBUG,"PrintVisitor: Use stdout for output.\n")); - } - - // everything is ok - ACE_DEBUG ((LM_DEBUG,"PrintVisitor: Opened file <%s> successfully.\n", - file_name)); - } - else { - output_ = stdout; - ACE_DEBUG ((LM_DEBUG,"PrintVisitor: Use stdout for output.\n")); - - } - - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "Failing when trying to open the output file.\n")); - } - ACE_ENDTRY; -} - - -PrintVisitor::~PrintVisitor () { - this->close (); -} - -void -PrintVisitor::close () { - if (output_ != stdout && output_ != 0) { - ACE_OS::fclose (output_); - } -} - - -void -PrintVisitor::printSecNanoSec (ACE_hrtime_t total_nanoseconds) -{ - // Separate to seconds and nanoseconds. - u_long total_secs = (u_long) (total_nanoseconds / (ACE_UINT32) ACE_ONE_SECOND_IN_NSECS); - ACE_UINT32 extra_nsecs = (ACE_UINT32) (total_nanoseconds % (ACE_UINT32) ACE_ONE_SECOND_IN_NSECS); - - ACE_OS::fprintf (output_, - "%3lu.%06lu secs\n", - total_secs, - (extra_nsecs +500u) / 1000u); -} - -void -PrintVisitor::printTimeStamp (ACE_hrtime_t creation, - ACE_hrtime_t ec_recv, - ACE_hrtime_t ec_send) -{ - ACE_OS::fprintf (output_, - "\nTimeStamp\ncreation time: "); - this->printSecNanoSec (creation); - ACE_OS::fprintf (output_, - "event channel received time: "); - this->printSecNanoSec (ec_recv); - ACE_OS::fprintf (output_, - "event_channel sent time: "); - this->printSecNanoSec (ec_send); -} - - -// Visit a struct node -void -PrintVisitor::visitStructNode (StructNode *structNode) { - - // print the padding in front of the line - printPadding (structNode->getRecursionLevel()); - ACE_OS::fprintf (output_, "struct %s {\n", structNode->getName ()); - - for (unsigned int i = 0; i < structNode->getChildNumber (); i++) { - printPadding (structNode->getChild (i)->getRecursionLevel()); - structNode->getChild (i)->Accept((NodeVisitor *)this); - ACE_OS::fprintf (output_, "\n"); - } - - printPadding (structNode->getRecursionLevel()); - ACE_OS::fprintf (output_, "}\n"); -} - -void -PrintVisitor::visitDoubleNode (DoubleNode *doubleNode) { - printPadding (doubleNode->getRecursionLevel()); - ACE_OS::fprintf (output_, "CORBA::double %s = %f;", doubleNode->getName(), doubleNode->getValue()); -} - -void -PrintVisitor::visitLongNode (LongNode *longNode) { - printPadding (longNode->getRecursionLevel()); - ACE_OS::fprintf (output_, "CORBA::Long %s = %d;", longNode->getName(), longNode->getValue()); -} - -void -PrintVisitor::visitULongNode (ULongNode *uLongNode) { - printPadding (uLongNode->getRecursionLevel()); - ACE_OS::fprintf (output_, "CORBA::ULong %s = %d;", uLongNode->getName(), uLongNode->getValue()); -} - -void -PrintVisitor::visitStringNode (StringNode *stringNode) { - printPadding (stringNode->getRecursionLevel()); - ACE_OS::fprintf (output_, "CORBA::String %s = \"%s\";", stringNode->getName(), (char *)stringNode->getValue()); -} - -void -PrintVisitor::printPadding (unsigned int recursion_level) { - switch (recursion_level) { - case 0: break; - case 1: ACE_OS::fprintf (output_, " "); - break; - case 2: ACE_OS::fprintf (output_, " "); - break; - case 3: ACE_OS::fprintf (output_, " "); - break; - case 4: ACE_OS::fprintf (output_, " "); - break; - default: for (unsigned int i = 0; i < recursion_level; i++) - { - ACE_OS::fprintf (output_, " "); - } - break; - } -} - diff --git a/TAO/examples/Simulator/DOVEMIB/PrintVisitor.h b/TAO/examples/Simulator/DOVEMIB/PrintVisitor.h deleted file mode 100644 index b2b2a6f28a0..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/PrintVisitor.h +++ /dev/null @@ -1,51 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// PrintVisitor.h -// -// = AUTHOR -// Michael Kircher -// -// = DESCRIPTION -// This file descibes the PrintVisitor used by the any evaluator. -// -// ============================================================================ - -#include "tao/corba.h" -#include "NodeVisitor.h" -#include "Node.h" - -#ifndef PRINT_VISITOR_H -#define PRINT_VISITOR_H - - -// This is a concrete Visitor using the Visitor design pattern -class PrintVisitor : public NodeVisitor { -public: - - PrintVisitor (const char *file_name); - virtual ~PrintVisitor (); - - void printTimeStamp (ACE_hrtime_t creation, - ACE_hrtime_t ec_recv, - ACE_hrtime_t ec_send); - // Print the time stamp - - void close (); - - void visitStructNode (StructNode *structNode); - void visitDoubleNode (DoubleNode *doubleNode); - void visitLongNode (LongNode *longNode); - void visitULongNode (ULongNode *uLongNode); - void visitStringNode (StringNode *stringNode); -private: - void printPadding (unsigned int recursion_level); - void printSecNanoSec (ACE_hrtime_t total_nanoseconds); - - FILE *output_; -}; - -#endif // PRINT_VISITOR_H diff --git a/TAO/examples/Simulator/DOVEMIB/TestClient.dsp b/TAO/examples/Simulator/DOVEMIB/TestClient.dsp deleted file mode 100644 index 6f6162f43d9..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/TestClient.dsp +++ /dev/null @@ -1,172 +0,0 @@ -# Microsoft Developer Studio Project File - Name="TestClient" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=TestClient - 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 "TestClient.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 "TestClient.mak" CFG="TestClient - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "TestClient - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "TestClient - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "TestClient - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD 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 /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "TestClient - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "TestClie" -# PROP BASE Intermediate_Dir "TestClie" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "TestClie" -# PROP Intermediate_Dir "TestClie" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\tao" /I "..\..\..\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /out:"TestClient.exe" /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "TestClient - Win32 Release" -# Name "TestClient - Win32 Debug" -# Begin Source File - -SOURCE=.\any_test.idl - -!IF "$(CFG)" == "TestClient - Win32 Release" - -!ELSEIF "$(CFG)" == "TestClient - Win32 Debug" - -# Begin Custom Build - Invoking TAO_IDL compiler -InputPath=.\any_test.idl -InputName=any_test - -BuildCmds= \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\any_testC.cpp -# End Source File -# Begin Source File - -SOURCE=.\any_testS.cpp -# End Source File -# Begin Source File - -SOURCE=.\clnt.cpp -# End Source File -# Begin Source File - -SOURCE=.\NavWeap.idl - -!IF "$(CFG)" == "TestClient - Win32 Release" - -!ELSEIF "$(CFG)" == "TestClient - Win32 Debug" - -# Begin Custom Build -InputPath=.\NavWeap.idl -InputName=NavWeap - -BuildCmds= \ - xcopy ..\$(InputName).idl . \ - ..\..\..\..\bin\tao_idl -Ge 1 $(InputName).idl \ - - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\NavWeapC.cpp -# End Source File -# Begin Source File - -SOURCE=.\NavWeapS.cpp -# End Source File -# End Target -# End Project diff --git a/TAO/examples/Simulator/DOVEMIB/any_test.idl b/TAO/examples/Simulator/DOVEMIB/any_test.idl deleted file mode 100644 index 80bf048a2d2..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/any_test.idl +++ /dev/null @@ -1,11 +0,0 @@ -// $Id$ - -interface Any_Test - // = TITLE - // - // = DESCRIPTION - -{ - void try_an_any (in any a); -}; - diff --git a/TAO/examples/Simulator/DOVEMIB/any_test_i.cpp b/TAO/examples/Simulator/DOVEMIB/any_test_i.cpp deleted file mode 100644 index d33b6f8c888..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/any_test_i.cpp +++ /dev/null @@ -1,69 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// any_test_i.cpp -// -// = AUTHOR -// Michael Kircher -// -// ============================================================================ - -#include "tao/corba.h" -#include "ace/Containers.h" -#include "any_test_i.h" -#include "NavWeapC.h" -#include "AnyAnalyser.h" - -ACE_RCSID(DOVEMIB, any_test_i, "$Id$") - -// Constructor -Any_Test_i::Any_Test_i (const char *obj_name) -{ -} - -// Destructor -Any_Test_i::~Any_Test_i (void) -{ -} - - -void -Any_Test_i::try_an_any (const CORBA::Any &a, CORBA::Environment &env) -{ - ACE_TRY_NEW_ENV - { - ACE_DEBUG ((LM_DEBUG, "Call to try_an_any succeeded!\n")); - - AnyAnalyser anyAnalyser_ = AnyAnalyser ("stdout"); - ACE_TRY_CHECK; - - Weapons *weapons_ = 0; - if (a.type()->equal(_tc_Weapons, ACE_TRY_ENV)) { - - CORBA::Any b; - b = a; - weapons_ = (Weapons *)b.value(); - - ACE_DEBUG ((LM_DEBUG, - "ID: %d\n" "CompTime: %d\n" - "Adr number of weapons: %d\n" - "Adr CompTime: %d\n", - a.type()->id(ACE_TRY_ENV), - weapons_->computation_time, - (u_long)(void *) &(weapons_->number_of_weapons), - (u_long)(void *) &(weapons_->computation_time))); - } - - anyAnalyser_.printAny (a.type(), a.value()); - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "(%t)Error in extracting the data.\n")); - } - ACE_ENDTRY; -} - - diff --git a/TAO/examples/Simulator/DOVEMIB/any_test_i.h b/TAO/examples/Simulator/DOVEMIB/any_test_i.h deleted file mode 100644 index 673b892fb19..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/any_test_i.h +++ /dev/null @@ -1,42 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// any_test_i.h -// -// = AUTHOR -// Michael Kircher -// -// ============================================================================ - -#ifndef _ANY_TEST_I_HH -#define _ANY_TEST_I_HH - -#include "any_testS.h" - -// Forward declarations -class Any_Test_i; - -// Typedefs. -typedef Any_Test_i *Any_Test_i_ptr; -typedef Any_Test_i_ptr Any_Test_i_ref; - -class Any_Test_i : public POA_Any_Test - // = TITLE - // = DESCRIPTION -{ -public: - Any_Test_i (const char *obj_name = 0); - // Constructor - - ~Any_Test_i (void); - // Destructor - - virtual void try_an_any (const CORBA::Any &a, - CORBA::Environment &env); -}; - -#endif /* _ANY_TEST_I_HH */ diff --git a/TAO/examples/Simulator/DOVEMIB/clnt.cpp b/TAO/examples/Simulator/DOVEMIB/clnt.cpp deleted file mode 100644 index 95fe3d7e5c7..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/clnt.cpp +++ /dev/null @@ -1,183 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// -// -// = FILENAME -// clnt.cpp -// -// = DESCRIPTION -// -// = AUTHORS -// Michael Kircher -// -// ============================================================================ - -#include "tao/corba.h" -#include "clnt.h" -#include "NavWeapC.h" - -ACE_RCSID(DOVEMIB, clnt, "$Id$") - -Any_Test_Client::Any_Test_Client () -{ - -} - -Any_Test_Client::~Any_Test_Client () -{ - CORBA::release(this->any_test_ptr_); -} - -int -Any_Test_Client::init (int argc, char *argv []) -{ - - ACE_TRY_NEW_ENV - { - this->argc_ = argc; - this->argv_ = argv; - - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (this->argc_, - this->argv_, - "internet", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (this->argc_ != 2) - { - ACE_ERROR_RETURN ((LM_ERROR, "Expected an IOR as parameter\n"),-1); - } - - CORBA::Object_var any_test_object_ = this->orb_->string_to_object (argv_[1], ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->any_test_ptr_ = Any_Test::_narrow (any_test_object_.in(), ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (this->any_test_ptr_)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Invalid IOR specified.\n"), - -1); - } - return 0; - } - ACE_CATCHANY { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "SYS_EX"); - return 0; - } - ACE_ENDTRY; - return 0; -} - -int -Any_Test_Client::run () -{ - ACE_TRY_NEW_ENV - { - CORBA::Any data; - - navigation_.position_latitude = 1; - navigation_.position_longitude = 2; - navigation_.altitude = 3; - navigation_.heading = 4; - navigation_.roll = 5; - navigation_.pitch = 6; - - navigation_.utilization = 1; - navigation_.overhead = 2; - navigation_.arrival_time = 3; - navigation_.deadline_time = 4; - navigation_.completion_time = 5; - navigation_.computation_time = 6; - - data.replace (_tc_Navigation, &navigation_, 0, ACE_TRY_ENV); - - ACE_DEBUG ((LM_DEBUG,"Starting test with Any: Navigation\n")); - //any_test_ptr_->try_an_any (data, TAO_TRY_ENV); - ACE_DEBUG ((LM_DEBUG,"Ending test with Any: Navigation\n")); - - -/* CORBA::Short x_ = 8; - data <<= x_; - - ACE_DEBUG ((LM_DEBUG,"Starting test with Any: Navigation\n")); - any_test_ptr_->try_an_any (data, TAO_TRY_ENV); - ACE_DEBUG ((LM_DEBUG,"Ending test with Any: Navigation\n")); -*/ - - weapons_.number_of_weapons = 5; - weapons_.weapon1_identifier = CORBA::string_alloc (20); - strcpy (weapons_.weapon1_identifier.out (), "A"); - weapons_.weapon1_status = 1; - weapons_.weapon2_identifier = CORBA::string_alloc (20); - strcpy (weapons_.weapon2_identifier.out (), "B"); - weapons_.weapon2_status = 2; - weapons_.weapon3_identifier = CORBA::string_alloc (20); - strcpy (weapons_.weapon3_identifier.out (), "C"); - weapons_.weapon3_status = 4; - weapons_.weapon4_identifier = CORBA::string_alloc (20); - strcpy (weapons_.weapon4_identifier.out (), "D"); - weapons_.weapon4_status = 8; - weapons_.weapon5_identifier = CORBA::string_alloc (20); - strcpy (weapons_.weapon5_identifier.out (), "E"); - weapons_.weapon5_status = 16; - - weapons_.utilization = 1; - weapons_.overhead = 2; - weapons_.arrival_time = 3; - weapons_.deadline_time = 4; - weapons_.completion_time = 5; - weapons_.computation_time = 6; - - data.replace (_tc_Weapons, &weapons_, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG,"Starting test with Any: Weapons\n")); - any_test_ptr_->try_an_any (data, ACE_TRY_ENV); - ACE_DEBUG ((LM_DEBUG,"Ending test with Any: Weapons\n")); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Error in Any_Test_Client::run"); - } - ACE_ENDTRY; - - - return 0; -} - - - -// function main - -int -main (int argc, char *argv []) -{ - - ACE_TRY_NEW_ENV - { - Any_Test_Client any_test_client_; - ACE_TRY_CHECK; - - if (any_test_client_.init (argc, argv) == -1) - return 1; - ACE_TRY_CHECK; - - return any_test_client_.run (); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "SYS_EX"); - } - ACE_ENDTRY; - - - return 0; -} - diff --git a/TAO/examples/Simulator/DOVEMIB/clnt.h b/TAO/examples/Simulator/DOVEMIB/clnt.h deleted file mode 100644 index c5582c2dd9b..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/clnt.h +++ /dev/null @@ -1,68 +0,0 @@ -// -*- c++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// clnt.h -// -// = DESCRIPTION -// -// = AUTHORS -// Michael Kircher -// -// ============================================================================ - -#include "ace/Get_Opt.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/corba.h" -#include "any_testC.h" -#include "NavWeapC.h" - -class Any_Test_Client - // = TITLE - // - // = DESCRIPTION -{ -public: - // = Constructor and destructor. - Any_Test_Client (void); - ~Any_Test_Client (void); - - int run (void); - // Execute client example code. - - int init (int argc, char **argv); - // Initialize the client communication endpoint with server. - -private: - - CORBA::ORB_var orb_; - // Remember our orb: this needs to be declared before any member that - // depends on it so it is constructed before and destroyed after them. - - Navigation navigation_; - // Navigation data structure. - - Weapons weapons_; - // Weapons data structure. - - Any_Test_ptr any_test_ptr_; - // Reverse_ptr reverse_ptr_; - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - CORBA::Environment env_; - // Environment variable - -}; diff --git a/TAO/examples/Simulator/DOVEMIB/svc.conf b/TAO/examples/Simulator/DOVEMIB/svc.conf deleted file mode 100644 index e5af6a64d09..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/svc.conf +++ /dev/null @@ -1,4 +0,0 @@ -# $Id$ -# - -static Server_Strategy_Factory "-ORBdemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/examples/Simulator/DOVEMIB/svr.cpp b/TAO/examples/Simulator/DOVEMIB/svr.cpp deleted file mode 100644 index 650b0f12954..00000000000 --- a/TAO/examples/Simulator/DOVEMIB/svr.cpp +++ /dev/null @@ -1,168 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// svr.cpp -// -// = AUTHOR -// Michael Kircher -// -// ============================================================================ - -#include "ace/Get_Opt.h" -#include "tao/corba.h" -#include "any_test_i.h" -//#include "Node.h" - -ACE_RCSID(DOVEMIB, svr, "$Id$") - -// Global Variables -static int num_of_objs = 1; - -// Parses the command line arguments and returns an error status - -static int -parse_args (int argc, char *argv[]) -{ - ACE_Get_Opt get_opts (argc, argv, ""); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-n] " - "\n", argv [0]), 1); - } - - return 0; // Indicates successful parsing of command line -} - -// Standard command line parsing utilities used. - -int -main (int argc, char *argv[]) -{ - /* - CORBA::Long long_ = 4; - CORBA::Double double_ = 5.0; - StructNode *structNode_ptr_ = new StructNode ("ABC"); - - structNode_ptr_->addChild ((Node *)new DoubleNode (&double_, "My_Double")); - structNode_ptr_->addChild ((Node *)new LongNode (&long_, "My_Long")); - - structNode_ptr_->print (); - */ - - ACE_TRY_NEW_ENV - { - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Having the ORB\n")); - - // Initialize the Object Adapter - CORBA::Object_var poa_object = - orb->resolve_initial_references("RootPOA"); - if (CORBA::is_nil(poa_object.in())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (poa_object.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::PolicyList policies (2); - policies.length (2); - policies[0] = - root_poa->create_id_assignment_policy (PortableServer::USER_ID, - ACE_TRY_ENV); - policies[1] = - root_poa->create_lifespan_policy (PortableServer::PERSISTENT, - ACE_TRY_ENV); - - ACE_DEBUG ((LM_DEBUG, "Having the rootPOA\n")); - - // We use a different POA, otherwise the user would have to - // change the object key each time it invokes the server. - PortableServer::POA_var good_poa = - root_poa->create_POA ("child_poa", - poa_manager.in (), - policies, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Parse remaining command line and verify parameters. - parse_args (argc, argv); - - ACE_DEBUG ((LM_DEBUG, "Starting the implementation\n")); - - // create a factory implementation - Any_Test_i_ptr any_test_i_ptr_ = new Any_Test_i (); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Started the implementation\n")); - - PortableServer::ObjectId_var id = - PortableServer::string_to_ObjectId ("Any_Test"); - good_poa->activate_object_with_id (id.in (), - any_test_i_ptr_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Stringify the objref we'll be implementing, and print it to - // stdout. Someone will take that string and give it to a - // client. Then release the object. - CORBA::Object_var obj = - good_poa->id_to_reference (id.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var str = - orb->object_to_string (obj.in (), - ACE_TRY_ENV); - - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", str.in ())); - - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Handle requests for this object until we're killed, or one of - // the methods asks us to exit. - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), -1); - - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_UNUSED_ARG(sysex); - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_UNUSED_ARG(userex); - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp b/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp deleted file mode 100644 index de2ba4e47c2..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp +++ /dev/null @@ -1,522 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// DOVE_Supplier.cpp -// -// = DESCRIPTION -// A wrapper around the event service initialization and -// marshalling -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "DOVE_Supplier.h" - -ACE_RCSID(Event_Supplier, DOVE_Supplier, "$Id$") - -// Static pointer member initialization for Singleton. - -ACE_Scheduler_Factory::POD_RT_Info * -DOVE_Supplier::pod_rt_info_instance_ = 0; - -// Constructor. - -DOVE_Supplier::DOVE_Supplier () - : initialized_ (0), - connected_ (0), - connection_params_list_ (0), - current_connection_params_ (0), - connection_count_ (0), - current_connection_index_ (0), - internal_DOVE_Supplier_ptr_ (0), - MIB_name_ (0) -{ - ACE_NEW (internal_DOVE_Supplier_ptr_, - Internal_DOVE_Supplier (this)); - - if (internal_DOVE_Supplier_ptr_ == 0) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::DOVE_Supplier internal " - "supplier not allocated.")); - } -} - -// Destructor. - -DOVE_Supplier::~DOVE_Supplier () -{ - for (int i = 0; i < this->connection_count_; ++i) - { - delete (this->connection_params_list_ [i]); - } - - delete [] this->connection_params_list_; - - delete internal_DOVE_Supplier_ptr_; - -} - -// Initialize the ORB and the connection to the Name Service - -int -DOVE_Supplier::init (void) -{ - ACE_TRY_NEW_ENV - { - // Connect to the RootPOA. - CORBA::Object_var poaObject_var = - TAO_ORB_Core_instance()->orb()->resolve_initial_references("RootPOA"); - - if (CORBA::is_nil (poaObject_var.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - -1); - - this->root_POA_var_ = - PortableServer::POA::_narrow (poaObject_var.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->poa_manager_ = - root_POA_var_->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the Naming Service object reference. - CORBA::Object_var namingObj_var = - TAO_ORB_Core_instance()->orb()->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (namingObj_var.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to get the Naming Service.\n"), - -1); - - this->namingContext_var_ = - CosNaming::NamingContext::_narrow (namingObj_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "DOVE_Supplier::init"); - return -1; - } - ACE_ENDTRY; - - initialized_ = 1; - return 0; -} - -int -DOVE_Supplier::connect (const char* MIB_name, - const char* es_name, - const char * ss_name, - ACE_Scheduler_Factory::POD_RT_Info * pod_rt_info) -{ - // Initialize the supplier if this has not already been done. - if ((initialized_ == 0) && (this->init () == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the DOVE_Supplier.\n"), - -1); - } - - - // Grab the default RT_Info settings if others were not provided. - if (pod_rt_info == 0) - { - // Get the default singleton if we were not passed the data - pod_rt_info = DOVE_Supplier::pod_rt_info_instance (); - if (pod_rt_info == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to obtain" - " the default RT_Info data.\n"), - -1); - } - } - - // Save the passed MIB name - MIB_name_ = (MIB_name == 0) ? "MIB_unknown" : MIB_name; - - // Create a new connection parameters structure. - Connection_Params * cp_temp = 0; - ACE_NEW_RETURN (cp_temp, Connection_Params, -1); - - // Populate the known fields of the new connection params struct. - cp_temp->pod_rt_info_ = *pod_rt_info; - cp_temp->es_name_ = (es_name == 0) ? "EventService" : es_name; - cp_temp->ss_name_ = (ss_name == 0) ? "ScheduleService" : ss_name; - - // Allocate a new connection parameters pointer array. - // Cannot use ACE_NEW_RETURN here, as we need to clean up - // cp_temp if we fail here, and we need what cp_temp points - // to after the current scope if we succeed here. - Connection_Params ** cp_list_temp; - cp_list_temp = - new Connection_Params * [this->connection_count_ + 1]; - if (cp_list_temp == 0) - { - // Avoid a memory leak if we failed to allocate. - delete cp_temp; - - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) DOVE_Supplier::connect could not " - "reallocate connection params list"), - -1); - } - - // Copy the connection struct pointers from - // the old list (if any) to the new one. - for (int i = 0; i < this->connection_count_; ++i) - { - cp_list_temp [i] = - this->connection_params_list_ [i]; - } - - // Put a pointer to the new connection params structure - // in the new list, increment the connection params count, - // and point to the latest connection parameters. - cp_list_temp [this->connection_count_] = cp_temp; - this->current_connection_params_ = cp_temp; - current_connection_index_ = connection_count_; - ++ (this->connection_count_); - - // Replace the old list of pointers with the new one - delete [] this->connection_params_list_; - this->connection_params_list_ = cp_list_temp; - - // Resolve the event service reference. - if (this->get_EventChannel () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to resolve the event service.\n"), - -1); - } - - // Resolve the scheduling service reference. - if (this->get_Scheduler () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to resolve the scheduler.\n"), - -1); - } - - // Connect to the event service as a supplier. - if (this->connect_Supplier () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to connect to the event service.\n"), - -1); - } - - return 0; - -} - - -// This method is invoked after all connect calls are done. - -void -DOVE_Supplier::connected () -{ - if (! connected_) - { - // Code to do post-connection-establishment - // one-time logic goes here. - - connected_ = 1; - } -} - - -void -DOVE_Supplier::disconnect () -{ -} - - -void -DOVE_Supplier::notify (CORBA::Any &message) -{ - // Finalize connection establishment no later than the first event notification - if (! connected_) - { - this->connected (); - } - - ACE_TRY_NEW_ENV - { - RtecEventComm::Event event; - event.header.source = SOURCE_ID; - event.header.type = ACE_ES_EVENT_NOTIFICATION; - event.header.ttl = 1; - ACE_hrtime_t creation_time = ACE_OS::gethrtime (); - ORBSVCS_Time::hrtime_to_TimeT (event.header.creation_time, creation_time); - event.header.ec_recv_time = ORBSVCS_Time::zero (); - event.header.ec_send_time = ORBSVCS_Time::zero (); - event.data.any_value = message; - - RtecEventComm::EventSet events; - events.length (1); - events[0] = event; - - // Now we invoke a RPC - this->current_connection_params_->proxyPushConsumer_var_->push (events, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::notify: " - "unexpected exception.\n")); - } - ACE_ENDTRY; -} - - -// Use the next connection in the list of established connections. - -void -DOVE_Supplier::use_next_connection () -{ - if (connection_count_ > 0) - { - current_connection_index_ = - (current_connection_index_ == connection_count_ - 1) - ? 0 : current_connection_index_ + 1; - - current_connection_params_ = - connection_params_list_ [current_connection_index_]; - } -} - - -// Use the previous connection in the list of established connections. - -void -DOVE_Supplier::use_prev_connection () -{ - if (connection_count_ > 0) - { - current_connection_index_ = - (current_connection_index_ == 0) - ? connection_count_ - 1 - : current_connection_index_ - 1; - - current_connection_params_ = - connection_params_list_ [current_connection_index_]; - } -} - - - -// -------------------- Internal Demo Supplier ----------------------------- - -DOVE_Supplier::Internal_DOVE_Supplier::Internal_DOVE_Supplier (DOVE_Supplier *impl_ptr) - : impl_ptr_ (impl_ptr) -{ -} - -// ---------------------------------------------------------------------------- - -int -DOVE_Supplier::get_Scheduler () -{ - ACE_TRY_NEW_ENV - { - CosNaming::Name schedule_name (1); - schedule_name.length (1); - schedule_name[0].id = - CORBA::string_dup (this->current_connection_params_->ss_name_); - - CORBA::Object_var objref = - namingContext_var_->resolve (schedule_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->current_connection_params_->scheduler_var_ = - RtecScheduler::Scheduler::_narrow(objref.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - current_connection_params_->scheduler_var_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "DOVE_Supplier::get_Scheduler: " - "error while resolving scheduler %s\n", - this->current_connection_params_->ss_name_), - -1); - } - ACE_ENDTRY; - - return 0; -} - - -int -DOVE_Supplier::get_EventChannel () -{ - ACE_TRY_NEW_ENV - { - // Get a reference to the Event Service - CosNaming::Name channel_name (1); - channel_name.length (1); - channel_name[0].id = - CORBA::string_dup (this->current_connection_params_->es_name_); - - CORBA::Object_var eventServiceObj_var = - this->namingContext_var_->resolve (channel_name, ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->current_connection_params_->eventChannel_var_ = - RtecEventChannelAdmin::EventChannel::_narrow (eventServiceObj_var.in(), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (this->current_connection_params_->eventChannel_var_.in())) - ACE_ERROR_RETURN ((LM_ERROR, - "The reference to the event channel is nil!"), - 1); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "DOVE_Supplier::get_EventChannel"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - - -int -DOVE_Supplier::connect_Supplier () -{ - ACE_TRY_NEW_ENV - { - // Generate the Real-time information descriptor. - this->current_connection_params_->rt_info_ = - this->current_connection_params_-> - scheduler_var_-> - create (this->current_connection_params_->pod_rt_info_.entry_point, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - this->current_connection_params_->scheduler_var_-> - set (this->current_connection_params_->rt_info_, - ACE_static_cast (RtecScheduler::Criticality_t, - this->current_connection_params_->pod_rt_info_.criticality), - this->current_connection_params_->pod_rt_info_.worst_case_execution_time, - this->current_connection_params_->pod_rt_info_.typical_execution_time, - this->current_connection_params_->pod_rt_info_.cached_execution_time, - this->current_connection_params_->pod_rt_info_.period, - ACE_static_cast (RtecScheduler::Importance_t, - this->current_connection_params_->pod_rt_info_.importance), - this->current_connection_params_->pod_rt_info_.quantum, - this->current_connection_params_->pod_rt_info_.threads, - ACE_static_cast (RtecScheduler::Info_Type_t, - this->current_connection_params_->pod_rt_info_.info_type), - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - - // Set the publications to report them to the event channel. - - CORBA::Short x = 0; - RtecEventChannelAdmin::SupplierQOS qos; - qos.publications.length (1); - qos.publications[0].event.header.source = SOURCE_ID; - qos.publications[0].event.header.type = ACE_ES_EVENT_NOTIFICATION; - qos.publications[0].event.header.ttl = 1; - qos.publications[0].event.header.creation_time = ORBSVCS_Time::zero (); - qos.publications[0].event.header.ec_recv_time = ORBSVCS_Time::zero (); - qos.publications[0].event.header.ec_send_time = ORBSVCS_Time::zero (); - qos.publications[0].event.data.any_value.replace (CORBA::_tc_short, - &x, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - qos.publications[0].dependency_info.number_of_calls = 1; - qos.publications[0].dependency_info.rt_info = - this->current_connection_params_->rt_info_; - - // = Connect as a supplier. - this->current_connection_params_->supplierAdmin_var_ = - this->current_connection_params_->eventChannel_var_->for_suppliers (ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->current_connection_params_->proxyPushConsumer_var_ = - this->current_connection_params_->supplierAdmin_var_->obtain_push_consumer (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // In calling _this we get back an object reference and register - // the servant with the POA. - RtecEventComm::PushSupplier_var pushSupplier_var = - this->internal_DOVE_Supplier_ptr_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Connect the supplier to the proxy consumer. - ACE_SupplierQOS_Factory::debug (qos); - this->current_connection_params_-> - proxyPushConsumer_var_->connect_push_supplier (pushSupplier_var.in (), - qos, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "DOVE_Supplier::connect_supplier"); - return -1; - } - ACE_ENDTRY; - - return 0; - -} - - -// Access the default rt_info singleton. - -ACE_Scheduler_Factory::POD_RT_Info * -DOVE_Supplier::pod_rt_info_instance () -{ - if (DOVE_Supplier::pod_rt_info_instance_ == 0) - { - ACE_NEW_RETURN (DOVE_Supplier::pod_rt_info_instance_, - ACE_Scheduler_Factory::POD_RT_Info, - 0); - - // Set up the default data. - DOVE_Supplier::pod_rt_info_instance_->entry_point = "ABC"; - DOVE_Supplier::pod_rt_info_instance_->criticality = - RtecScheduler::VERY_LOW_CRITICALITY; - DOVE_Supplier::pod_rt_info_instance_->worst_case_execution_time = - ORBSVCS_Time::zero (); - DOVE_Supplier::pod_rt_info_instance_->typical_execution_time = - ORBSVCS_Time::zero (); - DOVE_Supplier::pod_rt_info_instance_->cached_execution_time = - ORBSVCS_Time::zero (); - DOVE_Supplier::pod_rt_info_instance_->period = 10000000; - DOVE_Supplier::pod_rt_info_instance_->importance = - RtecScheduler::VERY_LOW_IMPORTANCE; - DOVE_Supplier::pod_rt_info_instance_->quantum = ORBSVCS_Time::zero (); - DOVE_Supplier::pod_rt_info_instance_->threads = 1; - DOVE_Supplier::pod_rt_info_instance_->info_type = - RtecScheduler::OPERATION; - } - - return DOVE_Supplier::pod_rt_info_instance_; -} - - diff --git a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h b/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h deleted file mode 100644 index 1e65742113d..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h +++ /dev/null @@ -1,141 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// DOVE_Supplier.h -// -// = DESCRIPTION -// A wrapper around the event service initialization and marshalling. -// -// = AUTHORS -// Michael Kircher (mk1@cs.wustl.edu) -// Chris Gill (cdgill@cs.wustl.edu) -// ============================================================================ - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/corba.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/RtecEventCommS.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" - - -#ifndef DOVE_SUPPLIER_H -#define DOVE_SUPPLIER_H - -#define SOURCE_ID 123 - -class DOVE_Supplier -{ -public: - - DOVE_Supplier (); - // Constructor. - - ~DOVE_Supplier (void); - // Destructor. - - int init (void); - // Initialize the ORB and the connection to the Name Service - - int connect (const char * MIB_name = 0, - const char* es_name = 0, - const char * ss_name = 0, - ACE_Scheduler_Factory::POD_RT_Info * pod_rt_info = 0); - // Connect to the event service. - - void connected (); - // Perform all post-connection-establishment processing. - - void disconnect (); - // Disconnect from the event service. - - void notify (CORBA::Any& message); - // Notify the consumer proxy that we have events - - void use_next_connection (); - // Use the next connection in the list of established connections. - - void use_prev_connection (); - // Use the previous connection in the list of established connections. - -private: - - // The following Supplier is needed because DOVE_Supplier has not - // inherited from PushSupplier. - - class Internal_DOVE_Supplier : public POA_RtecEventComm::PushSupplier - { - friend class DOVE_Supplier; - - public: - - virtual void disconnect_push_supplier (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) - { - } - - private: - - Internal_DOVE_Supplier (DOVE_Supplier* impl_ptr); - - DOVE_Supplier* impl_ptr_; - }; - -private: - - struct Connection_Params - { - const char * es_name_; - const char * ss_name_; - RtecEventChannelAdmin::EventChannel_var eventChannel_var_; - RtecEventChannelAdmin::SupplierAdmin_var supplierAdmin_var_; - RtecEventChannelAdmin::ProxyPushConsumer_var proxyPushConsumer_var_; - RtecScheduler::Scheduler_var scheduler_var_; - RtecScheduler::handle_t rt_info_; - ACE_Scheduler_Factory::POD_RT_Info pod_rt_info_; - }; - - int get_EventChannel (); - // Get the event channel reference. - - int get_Scheduler (); - // Get the scheduler reference. - - int connect_Supplier (); - // Connect the the supplier with the event channel. - - static ACE_Scheduler_Factory::POD_RT_Info * pod_rt_info_instance (); - // Access the default rt_info singleton. - - static ACE_Scheduler_Factory::POD_RT_Info * pod_rt_info_instance_; - - // Object initialization flags - int initialized_; - int connected_; - - Connection_Params ** connection_params_list_; - Connection_Params * current_connection_params_; - int connection_count_; - int current_connection_index_; - - // = ORB, ORB Services adminstration references. - CosNaming::NamingContext_var namingContext_var_; - PortableServer::POA_var root_POA_var_; - PortableServer::POAManager_var poa_manager_; - - Internal_DOVE_Supplier* internal_DOVE_Supplier_ptr_; - - const char * MIB_name_; - // Keep the name of the MIB around. -}; - -#endif /* DOVE_SUPPLIER_H */ - diff --git a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp deleted file mode 100644 index feed16d3360..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp +++ /dev/null @@ -1,1207 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// DualEC_Sup.cpp -// -// = DESCRIPTION -// Event Supplier for visualizing scheduling behavior, using arrival -// and dispatch data logged by an event channel dispatch command object -// -// = AUTHOR -// Chris Gill (cdgill@cs.wustl.edu) -// -// Adapted from the DOVE simulation event supplier -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include - -#include "tao/corba.h" -#include "tao/TAO.h" -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -//#include "ace/Profile_Timer.h" -#include "ace/OS.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/orbsvcs/Sched/Config_Scheduler.h" -#include "orbsvcs/orbsvcs/Runtime_Scheduler.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "DualEC_Sup.h" -#include "NavWeapC.h" - -ACE_RCSID(Event_Supplier, DualEC_Sup, "$Id$") - -static const char usage [] = -"[[-?]\n" -" -f \n" -" [-O[RBport] ORB port number]\n" -" [-m of messages to send (2000)]\n" -" [-b at which to break navigation event\n" -" stream out onto its own channel (1000)]\n" -" [-n pause between navigation events (100000)]\n" -" [-w pause between weapons events (100000)]\n" -" [-d to dump scheduler header files]\n" -" [-s to suppress data updates by EC]\n" -" [-r to use runtime schedulers]\n" -" [-p to suppress prioritization of operations]\n"; - -DualEC_Supplier::DualEC_Supplier (int argc, char** argv) -: nav_pause_ (0, 100000), - weap_pause_ (0, 100000), - channel_hi_name_ (1), - channel_lo_name_ (1), - sched_hi_name_ (1), - sched_lo_name_ (1), - sched_hi_impl_ (0), - sched_lo_impl_ (0), - ec_hi_impl_ (0), - ec_lo_impl_ (0), - argc_(argc), - argv_(argv), - total_messages_ (2000), - break_count_(-1), - input_file_name_(0), - update_data_ (1), - dump_schedule_headers_ (0), - use_runtime_schedulers_ (0), - suppress_priority_ (0), - hi_schedule_file_name_ ("DualEC_Runtime_Hi.h"), - lo_schedule_file_name_ ("DualEC_Runtime_Lo.h"), - nav_roll_ (0), - nav_pitch_ (0) -{ - ACE_TRY_NEW_ENV - { - this->sched_hi_name_.length (1); - this->sched_hi_name_[0].id = CORBA::string_dup ("DUAL_SCHED_HI"); - ACE_TRY_CHECK; - - this->sched_lo_name_.length (1); - this->sched_lo_name_[0].id = CORBA::string_dup ("DUAL_SCHED_LO"); - ACE_TRY_CHECK; - - this->channel_hi_name_.length (1); - this->channel_hi_name_[0].id = CORBA::string_dup ("DUAL_EC_HI"); - ACE_TRY_CHECK; - - this->channel_lo_name_.length (1); - this->channel_lo_name_[0].id = CORBA::string_dup ("DUAL_EC_LO"); - ACE_TRY_CHECK; - - this->terminator_ = terminator_impl_._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "DualEC_Supplier::DualEC_Supplier : could " - "not resolve reference to terminator"); - } - ACE_ENDTRY; - - // Initialize the high priority RT_Info data - rt_info_nav_hi_.entry_point = "DUALEC_NAV_HI"; - rt_info_nav_hi_.criticality = RtecScheduler::VERY_HIGH_CRITICALITY; - rt_info_nav_hi_.worst_case_execution_time = ORBSVCS_Time::zero (); - rt_info_nav_hi_.typical_execution_time = ORBSVCS_Time::zero (); - rt_info_nav_hi_.cached_execution_time = ORBSVCS_Time::zero (); - rt_info_nav_hi_.period = 2500000; - rt_info_nav_hi_.importance = RtecScheduler::VERY_HIGH_IMPORTANCE; - rt_info_nav_hi_.quantum = ORBSVCS_Time::zero (); - rt_info_nav_hi_.threads = 1; - rt_info_nav_hi_.info_type = RtecScheduler::OPERATION; - rt_info_weap_hi_ = rt_info_nav_hi_; - rt_info_weap_hi_.entry_point = "DUALEC_WEAP_HI"; - rt_info_dummy_hi_ = rt_info_nav_hi_; - rt_info_dummy_hi_.entry_point = "DUALEC_DUMMY_HI"; - - // Initialize the low priority RT_Info data - rt_info_nav_lo_.entry_point = "DUALEC_NAV_LO"; - rt_info_nav_lo_.criticality = RtecScheduler::VERY_LOW_CRITICALITY; - rt_info_nav_lo_.worst_case_execution_time = ORBSVCS_Time::zero (); - rt_info_nav_lo_.typical_execution_time = ORBSVCS_Time::zero (); - rt_info_nav_lo_.cached_execution_time = ORBSVCS_Time::zero (); - rt_info_nav_lo_.period = 10000000; - rt_info_nav_lo_.importance = RtecScheduler::VERY_LOW_IMPORTANCE; - rt_info_nav_lo_.quantum = ORBSVCS_Time::zero (); - rt_info_nav_lo_.threads = 1; - rt_info_nav_lo_.info_type = RtecScheduler::OPERATION; - rt_info_weap_lo_ = rt_info_nav_lo_; - rt_info_weap_lo_.entry_point = "DUALEC_WEAP_LO"; - rt_info_dummy_lo_ = rt_info_nav_lo_; - rt_info_dummy_lo_.entry_point = "DUALEC_DUMMY_LO"; -} - -DualEC_Supplier::~DualEC_Supplier () -{ - ACE_TRY_NEW_ENV - { - this->navigation_Supplier_.disconnect (); - this->weapons_Supplier_.disconnect (); - - // Unbind the schedulers from the NS. - this->naming_context_->unbind (this->sched_hi_name_, ACE_TRY_ENV); - ACE_TRY_CHECK; - this->naming_context_->unbind (this->sched_lo_name_, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Unbind the ECs from the NS. - this->naming_context_->unbind (this->channel_hi_name_, ACE_TRY_ENV); - ACE_TRY_CHECK; - this->naming_context_->unbind (this->channel_lo_name_, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "DualEC_Supplier::~DualEC_Supplier"); - } - ACE_ENDTRY; - - // @@TBD - destroy the ECs - // @@TBD - destroy the schedulers -} - -int -DualEC_Supplier::init () -{ - this->get_options (argc_, argv_); - - ACE_TRY_NEW_ENV - { - // Connect to the RootPOA. - CORBA::Object_var poaObject_var = - TAO_ORB_Core_instance()->orb()->resolve_initial_references("RootPOA"); - - if (CORBA::is_nil (poaObject_var.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - this->root_POA_var_ = - PortableServer::POA::_narrow (poaObject_var.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->poa_manager_ = - root_POA_var_->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the Naming Service object reference. - CORBA::Object_var namingObj_var = - TAO_ORB_Core_instance()->orb()->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (namingObj_var.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to get the Naming Service.\n"), - -1); - - this->naming_context_ = - CosNaming::NamingContext::_narrow (namingObj_var.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "DualEC_Supplier::init"); - return -1; - } - ACE_ENDTRY; - - // Create two scheduling service instances. - if (this->create_schedulers () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not create schedulers"), - -1); - } - - // Create two event channels. - if (this->create_event_channels () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not create event channels"), - -1); - } - - // Connect suppliers to the respective event channels. - ACE_Scheduler_Factory::POD_RT_Info * rt_info_nav_hi = - (suppress_priority_) ? 0 : &rt_info_nav_hi_; - ACE_Scheduler_Factory::POD_RT_Info * rt_info_weap_hi = - (suppress_priority_) ? 0 : &rt_info_weap_hi_; - ACE_Scheduler_Factory::POD_RT_Info * rt_info_nav_lo = - (suppress_priority_) ? 0 : &rt_info_nav_lo_; - ACE_Scheduler_Factory::POD_RT_Info * rt_info_weap_lo = - (suppress_priority_) ? 0 : &rt_info_weap_lo_; - - if (this->navigation_Supplier_.connect ("MIB_unknown", - "DUAL_EC_HI", - "DUAL_SCHED_HI", - rt_info_nav_hi) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not connect navigation supplier to DUAL_EC_HI"), - -1); - } - - if (this->navigation_Supplier_.connect ("MIB_unknown", - "DUAL_EC_LO", - "DUAL_SCHED_LO", - rt_info_nav_lo) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not connect navigation supplier to DUAL_EC_LO"), - -1); - } - - if (this->weapons_Supplier_.connect ("MIB_unknown", - "DUAL_EC_HI", - "DUAL_SCHED_HI", - rt_info_weap_hi) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not connect weapons supplier to DUAL_EC_HI"), - -1); - } - - if (this->weapons_Supplier_.connect ("MIB_unknown", - "DUAL_EC_LO", - "DUAL_SCHED_LO", - rt_info_weap_lo) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not connect weapons supplier to DUAL_EC_LO"), - -1); - } - - return 0; -} - -// Private class that implements a termination servant. - -void -DualEC_Supplier::Terminator::shutdown (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - TAO_ORB_Core_instance ()->orb ()->shutdown (); - } - ACE_CATCHANY - { - } - ACE_ENDTRY; -} - - -// Run the ORB event loop. - -void * -DualEC_Supplier::run_orb (void *) -{ - ACE_TRY - { - TAO_ORB_Core_instance ()->orb ()->run (); - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; -} - - -// Run navigation event generation thread. - -void * -DualEC_Supplier::run_nav_thread (void *arg) -{ - DualEC_Supplier * sup = - ACE_static_cast (DualEC_Supplier *, arg); - - ACE_TRY_NEW_ENV - { - ACE_Unbounded_Queue_Iterator - nav_iter (sup->navigation_data_); - - if (nav_iter.done ()) - { - ACE_ERROR_RETURN ((LM_ERROR, - "DualEC_Supplier::run_event_thread: " - "there is no navigation data\n"), 0); - } - - CORBA::Any any; - - long total_sent = 0; - - do - { - // Insert the event data - Navigation **nav; - - if ((nav_iter.next (nav)) && (nav) && (*nav)) - { - any.replace (_tc_Navigation, *nav, 0, ACE_TRY_ENV); - - // Sleep briefly to avoid too much livelock (a little is good). - ACE_OS::sleep (sup->nav_pause_); - - // If the break count has been reached, change the - // channel that is being used by the NAV supplier - if (total_sent == sup->break_count_) - { - ACE_DEBUG ((LM_DEBUG, - "breaking out nav at event: %d\n", - sup->break_count_)); - - sup->navigation_Supplier_.use_next_connection (); - } - - sup->navigation_Supplier_.notify (any); - } - else - { - ACE_ERROR ((LM_ERROR, - "DualEC_Supplier::run_nav_thread:" - "Could Not access navigation data")); - } - - if (total_sent < 5) - ACE_DEBUG ((LM_DEBUG, - "Pushing event data.\n")); - else if (total_sent == 5) - ACE_DEBUG ((LM_DEBUG, - "Everything is running. Going to be mute.\n")); - - nav_iter.advance (); - - if (nav_iter.done ()) - nav_iter.first (); - - } - while (++total_sent < sup->total_messages_); - - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; -} - - -// Run weapons event generation thread. - -void * -DualEC_Supplier::run_weap_thread (void *arg) -{ - DualEC_Supplier * sup = - ACE_static_cast (DualEC_Supplier *, arg); - - ACE_TRY_NEW_ENV - { - ACE_Unbounded_Queue_Iterator - weap_iter (sup->weapons_data_); - - if (weap_iter.done ()) - { - ACE_ERROR_RETURN ((LM_ERROR, - "DualEC_Supplier::run_event_thread: " - "there is no navigation data\n"), 0); - } - - CORBA::Any any; - - long total_sent = 0; - - do - { - // Insert the event data - Weapons **weap; - - if ((weap_iter.next (weap)) && (weap) && (*weap)) - { - any.replace (_tc_Weapons, *weap, 0, ACE_TRY_ENV); - - // Sleep briefly to avoid too much livelock (a little is good). - ACE_OS::sleep (sup->weap_pause_); - - sup->weapons_Supplier_.notify (any); - } - else - { - ACE_ERROR ((LM_ERROR, - "DualEC_Supplier::run_weap_thread:" - "Could Not access weapons data")); - } - - if (total_sent < 5) - ACE_DEBUG ((LM_DEBUG, - "Pushing event data.\n")); - else if (total_sent == 5) - ACE_DEBUG ((LM_DEBUG, - "Everything is running. Going to be mute.\n")); - - weap_iter.advance (); - - if (weap_iter.done ()) - weap_iter.first (); - - } - while (++total_sent < sup->total_messages_); - - } - ACE_CATCHANY - { - } - ACE_ENDTRY; - - return 0; -} - - - -// Create two scheduling service instances, register -// them with the Naming Service. - -int -DualEC_Supplier::create_schedulers (void) -{ - // @@TBD - look at a command line modified setting, - // create either a runtime or a config scheduler for - // each instance - - ACE_TRY_NEW_ENV - { - if (use_runtime_schedulers_) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Runtime Schedulers not implemented\n"), - -1); - } - else - { - // Create Event Service Implementations, passing in the respective - // Scheduling Service Implementations (which must already be created). - - ACE_NEW_RETURN (this->sched_hi_impl_, - ACE_Config_Scheduler, - -1); - - this->sched_hi_ = sched_hi_impl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_NEW_RETURN (this->sched_lo_impl_, - ACE_Config_Scheduler, - -1); - - this->sched_lo_ = sched_lo_impl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Register Scheduling Service Implementations with Naming Service - - this->naming_context_->bind (this ->sched_hi_name_, - this->sched_hi_.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - naming_context_->bind (this->sched_lo_name_, - this->sched_lo_.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Register high and low priority rt_infos with the - // schedulers to force priority differentiation. - - this->sched_hi_rt_info_hi_ = - this->sched_hi_-> - create (this->rt_info_dummy_hi_.entry_point, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - this->sched_hi_-> - set (this->sched_hi_rt_info_hi_, - ACE_static_cast (RtecScheduler::Criticality_t, - this->rt_info_dummy_hi_.criticality), - this->rt_info_dummy_hi_.worst_case_execution_time, - this->rt_info_dummy_hi_.typical_execution_time, - this->rt_info_dummy_hi_.cached_execution_time, - this->rt_info_dummy_hi_.period, - ACE_static_cast (RtecScheduler::Importance_t, - this->rt_info_dummy_hi_.importance), - this->rt_info_dummy_hi_.quantum, - this->rt_info_dummy_hi_.threads, - ACE_static_cast (RtecScheduler::Info_Type_t, - this->rt_info_dummy_hi_.info_type), - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - this->sched_hi_rt_info_lo_ = - this->sched_hi_-> - create (this->rt_info_dummy_lo_.entry_point, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - this->sched_hi_-> - set (this->sched_hi_rt_info_lo_, - ACE_static_cast (RtecScheduler::Criticality_t, - this->rt_info_dummy_lo_.criticality), - this->rt_info_dummy_lo_.worst_case_execution_time, - this->rt_info_dummy_lo_.typical_execution_time, - this->rt_info_dummy_lo_.cached_execution_time, - this->rt_info_dummy_lo_.period, - ACE_static_cast (RtecScheduler::Importance_t, - this->rt_info_dummy_lo_.importance), - this->rt_info_dummy_lo_.quantum, - this->rt_info_dummy_lo_.threads, - ACE_static_cast (RtecScheduler::Info_Type_t, - this->rt_info_dummy_lo_.info_type), - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - this->sched_hi_rt_info_hi_ = - this->sched_lo_-> - create (this->rt_info_dummy_hi_.entry_point, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - this->sched_lo_-> - set (this->sched_hi_rt_info_hi_, - ACE_static_cast (RtecScheduler::Criticality_t, - this->rt_info_dummy_hi_.criticality), - this->rt_info_dummy_hi_.worst_case_execution_time, - this->rt_info_dummy_hi_.typical_execution_time, - this->rt_info_dummy_hi_.cached_execution_time, - this->rt_info_dummy_hi_.period, - ACE_static_cast (RtecScheduler::Importance_t, - this->rt_info_dummy_hi_.importance), - this->rt_info_dummy_hi_.quantum, - this->rt_info_dummy_hi_.threads, - ACE_static_cast (RtecScheduler::Info_Type_t, - this->rt_info_dummy_hi_.info_type), - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - this->sched_hi_rt_info_lo_ = - this->sched_lo_-> - create (this->rt_info_dummy_lo_.entry_point, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - this->sched_lo_-> - set (this->sched_hi_rt_info_lo_, - ACE_static_cast (RtecScheduler::Criticality_t, - this->rt_info_dummy_lo_.criticality), - this->rt_info_dummy_lo_.worst_case_execution_time, - this->rt_info_dummy_lo_.typical_execution_time, - this->rt_info_dummy_lo_.cached_execution_time, - this->rt_info_dummy_lo_.period, - ACE_static_cast (RtecScheduler::Importance_t, - this->rt_info_dummy_lo_.importance), - this->rt_info_dummy_lo_.quantum, - this->rt_info_dummy_lo_.threads, - ACE_static_cast (RtecScheduler::Info_Type_t, - this->rt_info_dummy_lo_.info_type), - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "DualEC_Supplier::create_schedulers"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - - -// Create two event service instances, registers -// them with the Naming Service. - -int -DualEC_Supplier::create_event_channels (void) -{ - ACE_TRY_NEW_ENV - { - // Create Event Service Implementations, passing in the respective - // Scheduling Service Implementations (which must already be created). - ACE_NEW_RETURN (this->ec_hi_impl_, - ACE_EventChannel (sched_hi_.in (), - 1, - ACE_DEFAULT_EVENT_CHANNEL_TYPE, - &default_module_factory_), - -1); - - this->ec_hi_ = ec_hi_impl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_NEW_RETURN (this->ec_lo_impl_, - ACE_EventChannel (sched_lo_.in (), - 1, - ACE_DEFAULT_EVENT_CHANNEL_TYPE, - &default_module_factory_), - -1); - - this->ec_lo_ = ec_lo_impl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Register Event Service Implementations with Naming Service - - naming_context_->bind (this->channel_hi_name_, - this->ec_hi_.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - naming_context_->bind (this->channel_lo_name_, - this->ec_lo_.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "DualEC_Supplier::create_event_channels"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -void -DualEC_Supplier::compute_schedules (void) -{ - ACE_TRY_NEW_ENV - { -#if defined (__SUNPRO_CC) - // Sun C++ 4.2 warns with the code below: - // Warning (Anachronism): Temporary used for non-const - // reference, now obsolete. - // Note: Type "CC -migration" for more on anachronisms. - // Warning (Anachronism): The copy constructor for argument - // infos of type RtecScheduler::RT_Info_Set_out should take - // const RtecScheduler::RT_Info_Set_out&. - // But, this code is not CORBA conformant, because users should - // not define instances of _out types. - - - RtecScheduler::RT_Info_Set_out infos_out_hi (this->infos_hi_); - RtecScheduler::Config_Info_Set_out configs_out_hi (this->configs_hi_); - RtecScheduler::Scheduling_Anomaly_Set_out anomalies_out_hi (this->anomalies_hi_); - sched_hi_->compute_scheduling - (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - ACE_Sched_Params::priority_max (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - infos_out_hi, configs_out_hi, anomalies_out_hi, ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecScheduler::RT_Info_Set_out infos_out_lo (this->infos_lo_); - RtecScheduler::Config_Info_Set_out configs_out_lo (this->configs_lo_); - RtecScheduler::Scheduling_Anomaly_Set_out anomalies_out_lo (this->anomalies_lo_); - sched_lo_->compute_scheduling - (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - ACE_Sched_Params::priority_max (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - infos_out_lo, configs_out_lo, anomalies_out_lo, ACE_TRY_ENV); - ACE_TRY_CHECK; - -#else /* ! __SUNPRO_CC */ - - sched_hi_->compute_scheduling - (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - ACE_Sched_Params::priority_max (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - this->infos_hi_.out (), this->configs_hi_.out (), - this->anomalies_hi_.out (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - sched_lo_->compute_scheduling - (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - ACE_Sched_Params::priority_max (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - this->infos_lo_.out (), this->configs_lo_.out (), - this->anomalies_lo_.out (), ACE_TRY_ENV); - ACE_TRY_CHECK; - -#endif /* ! __SUNPRO_CC */ - - if (dump_schedule_headers_ && (this->hi_schedule_file_name_ != 0)) - { - ACE_Scheduler_Factory::dump_schedule (infos_hi_.in (), - configs_hi_.in (), - anomalies_hi_.in (), - this->hi_schedule_file_name_); - ACE_TRY_CHECK; - } - - if (dump_schedule_headers_ && (this->lo_schedule_file_name_ != 0)) - { - ACE_Scheduler_Factory::dump_schedule (infos_lo_.in (), - configs_lo_.in (), - anomalies_lo_.in (), - this->lo_schedule_file_name_); - ACE_TRY_CHECK; - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "SYS_EX"); - } - ACE_ENDTRY; -} - -void -DualEC_Supplier::start_generating_events (void) -{ - ACE_TRY_NEW_ENV - { - // Activate the POA manager. - poa_manager_->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Spawn a thread that runs the orb event loop - ACE_Thread_Manager orb_thread_manager; - orb_thread_manager.spawn (DualEC_Supplier::run_orb); - - // Compute the scheduling information, based on the provided RT_Infos. - this->compute_schedules (); - - - // Load the scheduling data for the simulation. - this->load_schedule_data (); - - // Sleep for 10 seconds to give time for registrations. - ACE_DEBUG ((LM_DEBUG, - "\nDUAL_SCHED_HI, DUAL_SCHED_LO, DUAL_EC_HI and " - "DUAL_EC_LO are registered with the Naming Service.\n" - "Sleeping 10 seconds before generating events\n")); - ACE_Time_Value tv (10, 0); - ACE_OS::sleep (tv); - - // Spawn thread to run over the navigation data and generate events. - ACE_Thread_Manager event_thread_manager; - event_thread_manager.spawn (DualEC_Supplier::run_nav_thread, - this); - - // Spawn thread to run over the weapons data and generate events. - event_thread_manager.spawn (DualEC_Supplier::run_weap_thread, - this); - - // Wait for the threads that are generating events. - event_thread_manager.wait (); - - // Shut down the ORB via the termination servant - this->terminator_->shutdown (); - ACE_TRY_CHECK; - - // Wait for the thread that runs the orb event loop. - orb_thread_manager.wait (); - - // Clean up the navigation data. - ACE_Unbounded_Queue_Iterator - nav_iter (this->navigation_data_); - Navigation **nav_temp; - for (nav_iter.first (); - nav_iter.done () == 0; - nav_iter.advance ()) - if (nav_iter.next (nav_temp) && nav_temp) - delete (*nav_temp); - - // Clean up the weapons data. - ACE_Unbounded_Queue_Iterator - weap_iter (this->weapons_data_); - Weapons **weap_temp; - for (weap_iter.first (); - weap_iter.done () == 0; - weap_iter.advance ()) - if (weap_iter.next (weap_temp) && weap_temp) - delete (*weap_temp); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "SYS_EX"); - } - ACE_ENDTRY; - -} - -void -DualEC_Supplier::load_schedule_data () -{ - Navigation * nav = 0; - Weapons * weap = 0; - - Schedule_Viewer_Data data; - - // constants for periods (in units of one hundred nanoseconds) - const TimeBase::TimeT ONE_HZ_PERIOD = 10000000; - const TimeBase::TimeT FIVE_HZ_PERIOD = ONE_HZ_PERIOD / 5 ; - const TimeBase::TimeT TEN_HZ_PERIOD = ONE_HZ_PERIOD / 10; - const TimeBase::TimeT TWENTY_HZ_PERIOD = ONE_HZ_PERIOD / 20; - - if (this->input_file_name_) - { - // Open the scheduler data input file and read its contents into - // a queue. - FILE *input_file; - - int scan_count = 0; - input_file = ACE_OS::fopen(this->input_file_name_, "r"); - - if (input_file) - { - // Get a line at a time from the data file and parse it. - char input_buf[BUFSIZ]; - while (ACE_OS::fgets (input_buf, BUFSIZ, input_file)) - { - // Run through leading whitespace. - char *temp = input_buf; - while (*temp && isspace (*temp)) - ++temp; - - // If there is anything besides whitespace in the line - // read, scan its fields into the scheduling data - // structure. - if (ACE_OS::strlen (temp) > 0) - { - scan_count = sscanf (temp, "%s %lf %lf %lu %lu %lu %lu", - data.operation_name, - &data.utilitzation, - &data.overhead, - &data.arrival_time, - &data.deadline_time, - &data.completion_time, - &data.computation_time); - if (scan_count != 7) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::load_schedule_data: " - "scanned incorrect number of data elements: %d\n", scan_count)); - return; - } - - - if ((strcmp(data.operation_name, "high_20") == 0) || - (strcmp(data.operation_name, "low_20") == 0)) - { - ACE_NEW (weap, Weapons); - if (weap == 0) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::load_schedule_data: " - "failed to allocate Weapons\n")); - return; - } - - weap->criticality = 1; - weap->deadline_time = TWENTY_HZ_PERIOD; - weap->number_of_weapons = 2; - weap->weapon1_identifier = CORBA::string_alloc (30); - strcpy (weap->weapon1_identifier.inout (),"Photon Torpedoes"); - weap->weapon1_status =(ACE_OS::rand() % 4) == 0 ? 0 : 1 ; - weap->weapon2_identifier = CORBA::string_alloc (30); - strcpy (weap->weapon2_identifier.inout (),"Quantum Torpedoes"); - weap->weapon2_status = (ACE_OS::rand() % 4) == 0 ? 0 : 1; - weap->weapon3_identifier = CORBA::string_alloc (1); - strcpy (weap->weapon3_identifier.inout (), ""); - weap->weapon3_status = 0; - weap->weapon4_identifier = CORBA::string_alloc (1); - strcpy (weap->weapon4_identifier.inout (), ""); - weap->weapon4_status = 0; - weap->weapon5_identifier = CORBA::string_alloc (1); - strcpy (weap->weapon5_identifier.inout (), ""); - weap->weapon5_status = 0; - weap->utilization = 0.0; - weap->overhead = 0.0; - weap->arrival_time = ORBSVCS_Time::zero (); - weap->completion_time = ORBSVCS_Time::zero (); - weap->computation_time = ORBSVCS_Time::zero (); - weap->update_data = update_data_; - - // Insert the data into the queue. - weapons_data_.enqueue_tail (weap); - } - else - { - ACE_NEW (nav, Navigation); - if (nav == 0) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::load_schedule_data: " - "failed to allocate Navigation\n")); - return; - } - - nav->criticality = 0; - nav->deadline_time = TWENTY_HZ_PERIOD; - nav->position_latitude = ACE_OS::rand() % 90; - nav->position_longitude = ACE_OS::rand() % 180; - nav->altitude = ACE_OS::rand() % 100; - nav->heading = ACE_OS::rand() % 180; - this->nav_roll_ = (this->nav_roll_ >= 180) ? -180 : this->nav_roll_ + 1; - nav->roll = this->nav_roll_; - this->nav_pitch_ = (this->nav_pitch_ >= 90) ? -90 : this->nav_pitch_ + 1; - nav->pitch = this->nav_pitch_; - nav->utilization = 0.0; - nav->overhead = 0.0; - nav->arrival_time = ORBSVCS_Time::zero (); - nav->completion_time = ORBSVCS_Time::zero (); - nav->computation_time = ORBSVCS_Time::zero (); - nav->update_data = this->update_data_; - nav->utilization = (double) (20.0 + ACE_OS::rand() % 10); - nav->overhead = (double) (ACE_OS::rand() % 10); - - // Insert the data into the queue. - navigation_data_.enqueue_tail (nav); - } - } - } - } - else - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::start_generating_events: " - "could not open input file [%s].\n", - this->input_file_name_)); - return; - } - } -} - - -// Get command line options. - -unsigned int -DualEC_Supplier::get_options (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "f:m:b:n:w:dsrp"); - int opt; - int temp; - - while ((opt = get_opt ()) != -1) - { - switch (opt) - { - case 'f': - this->input_file_name_ = get_opt.optarg; - - if (!this->input_file_name_ || ACE_OS::strlen (this->input_file_name_) > 0) - ACE_DEBUG ((LM_DEBUG,"Reading file!\n")); - else - { - this->input_file_name_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "%s: file name must be specified with -f option", - argv[0]), - 1); - } - break; - - case 'm': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp > 0) - { - this->total_messages_ = (u_int) temp; - ACE_DEBUG ((LM_DEBUG, - "Messages to send: %d\n", - this->total_messages_)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: message count must be > 0", - argv[0]), - 1); - break; - - case 'b': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp > 0) - { - this->break_count_ = (u_int) temp; - ACE_DEBUG ((LM_DEBUG, - "Break count: %d\n", - this->break_count_)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: break count must be > 0", - argv[0]), - 1); - break; - - case 'n': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp >= 0) - { - this->nav_pause_ = - ACE_Time_Value(0, ACE_static_cast (long, temp)); - ACE_DEBUG ((LM_DEBUG, - "Navigation pause: %d usec\n", - temp)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: navigation pause must be >= 0", - argv[0]), - 1); - break; - - - case 'w': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp >= 0) - { - this->weap_pause_ = - ACE_Time_Value(0, ACE_static_cast (long, temp)); - ACE_DEBUG ((LM_DEBUG, - "Weapons pause: %d usec\n", - temp)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: weapons pause must be >= 0", - argv[0]), - 1); - break; - - case 'd': - - this->dump_schedule_headers_ = 1; - break; - - case 's': - update_data_ = 0; - break; - - case 'r': - use_runtime_schedulers_ = 1; - break; - - case 'p': - suppress_priority_ = 1; - break; - - default: - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - argv[0], usage)); - ACE_OS::exit (0); - break; - } - } - - if (argc != get_opt.optind) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: too many arguments\n" - "Usage: %s %s\n", - argv[0], - argv[0], - usage), - 1); - - return 0; -} - -// function main - -int -main (int argc, char *argv []) -{ - // Enable FIFO scheduling, e.g., RT scheduling class on Solaris. - int min_priority = - ACE_Sched_Params::priority_min (ACE_SCHED_FIFO); - - // Set all threads in the process into the RT scheduling class - if (ACE_OS::sched_params (ACE_Sched_Params (ACE_SCHED_FIFO, - min_priority, - ACE_SCOPE_PROCESS)) != 0) - { - if (ACE_OS::last_error () == EPERM) - ACE_DEBUG ((LM_DEBUG, - "%s: user is not superuser, " - "so remain in time-sharing class\n", argv[0])); - else - ACE_ERROR ((LM_ERROR, - "%s: ACE_OS::sched_params failed\n", argv[0])); - } - - - - ACE_TRY_NEW_ENV - { - // Initialize ORB. - TAO_ORB_Manager orb_Manager; - - orb_Manager.init (argc, - argv, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - - // Create the demo supplier. - DualEC_Supplier *event_Supplier_ptr; - - ACE_NEW_RETURN (event_Supplier_ptr, - DualEC_Supplier(argc, argv), - -1); - - // Initialize everthing - if (event_Supplier_ptr->init () == -1) - exit (1); - - // now we can go ahead - event_Supplier_ptr->start_generating_events (); - - // when done, we clean up - delete event_Supplier_ptr; - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "SYS_EX"); - } - ACE_ENDTRY; - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Node; -template class ACE_Unbounded_Queue; -template class ACE_Unbounded_Queue_Iterator; -template class ACE_Node; -template class ACE_Unbounded_Queue; -template class ACE_Unbounded_Queue_Iterator; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Node -#pragma instantiate ACE_Unbounded_Queue -#pragma instantiate ACE_Unbounded_Queue_Iterator -#pragma instantiate ACE_Node -#pragma instantiate ACE_Unbounded_Queue -#pragma instantiate ACE_Unbounded_Queue_Iterator -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.dsp b/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.dsp deleted file mode 100644 index c9445677081..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.dsp +++ /dev/null @@ -1,170 +0,0 @@ -# Microsoft Developer Studio Project File - Name="DualEC_Sup" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=DualEC_Sup - 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 "DualEC_Sup.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 "DualEC_Sup.mak" CFG="DualEC_Sup - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "DualEC_Sup - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "DualEC_Sup - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "DualEC_Sup - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD 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 /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "DualEC_Sup - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "DualEC_S" -# PROP BASE Intermediate_Dir "DualEC_S" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "DualEC_Sup - Win32 Release" -# Name "DualEC_Sup - Win32 Debug" -# Begin Group "Source files" - -# PROP Default_Filter "*.cpp" -# Begin Source File - -SOURCE=.\DOVE_Supplier.cpp -# End Source File -# Begin Source File - -SOURCE=.\DualEC_Sup.cpp -# End Source File -# Begin Source File - -SOURCE=.\NavWeapC.cpp -# End Source File -# Begin Source File - -SOURCE=.\NavWeapS.cpp -# End Source File -# End Group -# Begin Group "Header files" - -# PROP Default_Filter "*.h" -# Begin Source File - -SOURCE=.\DOVE_Supplier.h -# End Source File -# Begin Source File - -SOURCE=.\DualEC_Sup.h -# End Source File -# Begin Source File - -SOURCE=.\NavWeapC.h -# End Source File -# Begin Source File - -SOURCE=.\NavWeapS.h -# End Source File -# End Group -# Begin Group "IDL files" - -# PROP Default_Filter "*.idl" -# Begin Source File - -SOURCE=.\NavWeap.idl - -!IF "$(CFG)" == "DualEC_Sup - Win32 Release" - -!ELSEIF "$(CFG)" == "DualEC_Sup - Win32 Debug" - -USERDEP__NAVWE="..\$(InputName).idl" -# Begin Custom Build -InputPath=.\NavWeap.idl -InputName=NavWeap - -BuildCmds= \ - xcopy ..\$(InputName).idl \ - ..\..\..\..\bin\tao_idl -Ge 1 -I ..\..\..\ -I ..\..\..\orbsvcs\orbsvcs $(InputName).idl \ - - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.h b/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.h deleted file mode 100644 index 1ad5f791034..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.h +++ /dev/null @@ -1,195 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// DualEC_Sup.h -// -// = DESCRIPTION -// Event supplier for visualization of scheduling behavior, using -// arrival and dispatch data logged by an EC dispatch command object -// -// = AUTHOR -// Chris Gill (cdgill@cs.wustl.edu) -// -// Adapted from the orginal DOVE simulation event supplier written by -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#ifndef DUALEC_SUP_H -#define DUALEC_SUP_H - -//#include -//#include - -#include "tao/corba.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/RtecEventCommS.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "orbsvcs/Event/Module_Factory.h" -#include "orbsvcs/Event/Event_Channel.h" -#include "NavWeapC.h" -#include "NavWeapS.h" -#include "DOVE_Supplier.h" - -struct Schedule_Viewer_Data -{ - char operation_name [BUFSIZ]; - double utilitzation; - double overhead; - u_long arrival_time; - u_long deadline_time; - u_long completion_time; - u_long computation_time; -}; - - -class DualEC_Supplier -{ - // = TITLE - // Event Supplier. - // - // = DESCRIPTION - // Reads information out of a file and - // feeds it with additional navigation and - // weapon data into the dove_supplier, which - // is connected to the event channel -public: - - DualEC_Supplier (int argc, char** argv); - - ~DualEC_Supplier (void); - - int init (void); - // Initialize: set up, resolve ORB services, - // connect the DOVE_Suppliers. - - void compute_schedules (void); - // Compute schedule priorities, possibly dump - // data into runtime scheduler header files. - - void start_generating_events (void); - // here is really something going on, - // here we deliver the messages - - void load_schedule_data (); - // Load the scheduling information into memory - - -private: - - class Terminator : public POA_NavWeapTerminator - // = DESCRIPTION - // Private class that implements a termination servant. - { - void shutdown (CORBA::Environment &_env); - }; - - static void * run_orb (void *); - // Run the orb event loop. - - static void * run_nav_thread (void *arg); - // Run navigation event generation thread. - - static void * run_weap_thread (void *arg); - // Run weapons event generation thread. - - int create_schedulers (void); - // Create two scheduling service instances, registers - // them with the Naming Service. - - int create_event_channels (void); - // Create two event service instances, registers - // them with the Naming Service. - - unsigned int get_options (int argc, char *argv []); - // Get command line options. - - // Time values to pause before notifying the supplier each time. - ACE_Time_Value nav_pause_; - ACE_Time_Value weap_pause_; - - // POA client references. - PortableServer::POA_var root_POA_var_; - PortableServer::POAManager_var poa_manager_; - - // Naming Service client reference and names to use. - CosNaming::NamingContext_var naming_context_; - CosNaming::Name channel_hi_name_; - CosNaming::Name channel_lo_name_; - CosNaming::Name sched_hi_name_; - CosNaming::Name sched_lo_name_; - - // Scheduling Service servant implementation pointers. - POA_RtecScheduler::Scheduler * sched_hi_impl_; - POA_RtecScheduler::Scheduler * sched_lo_impl_; - - // Scheduling Service client references. - RtecScheduler::Scheduler_var sched_hi_; - RtecScheduler::Scheduler_var sched_lo_; - - // Handles for the dummy rt_infos registered with the - // schedulers in order to force priority differentiation. - RtecScheduler::handle_t sched_hi_rt_info_hi_; - RtecScheduler::handle_t sched_hi_rt_info_lo_; - RtecScheduler::handle_t sched_lo_rt_info_hi_; - RtecScheduler::handle_t sched_lo_rt_info_lo_; - - // Termination servant implementation and client reference - Terminator terminator_impl_; - NavWeapTerminator_var terminator_; - - // Default EC module factory for Event - // Service servant implementations. - TAO_Default_Module_Factory default_module_factory_; - - // Event Service servant implementation pointers. - POA_RtecEventChannelAdmin::EventChannel *ec_hi_impl_; - POA_RtecEventChannelAdmin::EventChannel *ec_lo_impl_; - - // Event Service client references. - RtecEventChannelAdmin::EventChannel_var ec_hi_; - RtecEventChannelAdmin::EventChannel_var ec_lo_; - - DOVE_Supplier weapons_Supplier_; - DOVE_Supplier navigation_Supplier_; - - // Data for registering RT_Infos - ACE_Scheduler_Factory::POD_RT_Info rt_info_nav_hi_; - ACE_Scheduler_Factory::POD_RT_Info rt_info_nav_lo_; - ACE_Scheduler_Factory::POD_RT_Info rt_info_weap_hi_; - ACE_Scheduler_Factory::POD_RT_Info rt_info_weap_lo_; - ACE_Scheduler_Factory::POD_RT_Info rt_info_dummy_hi_; - ACE_Scheduler_Factory::POD_RT_Info rt_info_dummy_lo_; - - // References for CORBA RtecScheduler data structures - RtecScheduler::RT_Info_Set_var infos_hi_; - RtecScheduler::Config_Info_Set_var configs_hi_; - RtecScheduler::Scheduling_Anomaly_Set_var anomalies_hi_; - RtecScheduler::RT_Info_Set_var infos_lo_; - RtecScheduler::Config_Info_Set_var configs_lo_; - RtecScheduler::Scheduling_Anomaly_Set_var anomalies_lo_; - - // Queues to store event carried data structures. - ACE_Unbounded_Queue navigation_data_; - ACE_Unbounded_Queue weapons_data_; - - int argc_; - char **argv_; - long total_messages_; - long break_count_; - char *input_file_name_; - unsigned long update_data_; - int dump_schedule_headers_; - int use_runtime_schedulers_; - int suppress_priority_; - const char * hi_schedule_file_name_; - const char * lo_schedule_file_name_; - CORBA::Long nav_roll_; - CORBA::Long nav_pitch_; -}; - -#endif /* DUALEC_SUP_H */ diff --git a/TAO/examples/Simulator/Event_Supplier/EDF.dat b/TAO/examples/Simulator/Event_Supplier/EDF.dat deleted file mode 100644 index 4fbc28d9c0f..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/EDF.dat +++ /dev/null @@ -1,72 +0,0 @@ -low_20 1.000000 0.000000 0 500000 180000 180000 -high_20 1.000000 0.000000 0 500000 360000 180000 -low_20 1.000000 0.000000 500000 1000000 680000 180000 -high_20 1.000000 0.000000 500000 1000000 860000 180000 -low_10 1.000000 0.000000 0 1000000 900000 180000 -low_20 1.000000 0.000000 1000000 1500000 1180000 180000 -high_20 1.000000 0.000000 1000000 1500000 1360000 180000 -low_20 1.000000 0.000000 1500000 2000000 1680000 180000 -high_20 1.000000 0.000000 1500000 2000000 1860000 180000 -low_10 1.000000 0.000000 1000000 2000000 1900000 180000 -high_10 1.000000 0.000000 0 1000000 1980000 180000 -low_20 1.000000 0.000000 2000000 2500000 2180000 180000 -high_20 1.000000 0.000000 2000000 2500000 2360000 180000 -low_20 1.000000 0.000000 2500000 3000000 2680000 180000 -high_20 1.000000 0.000000 2500000 3000000 2860000 180000 -low_10 1.000000 0.000000 2000000 3000000 2900000 180000 -low_20 1.000000 0.000000 3000000 3500000 3180000 180000 -high_20 1.000000 0.000000 3000000 3500000 3360000 180000 -low_20 1.000000 0.000000 3500000 4000000 3680000 180000 -high_20 1.000000 0.000000 3500000 4000000 3860000 180000 -low_10 1.000000 0.000000 3000000 4000000 3900000 180000 -high_10 1.000000 0.000000 1000000 2000000 3960000 180000 -low_20 1.000000 0.000000 4000000 4500000 4180000 180000 -high_20 1.000000 0.000000 4000000 4500000 4360000 180000 -low_20 1.000000 0.000000 4500000 5000000 4680000 180000 -high_20 1.000000 0.000000 4500000 5000000 4860000 180000 -low_10 1.000000 0.000000 4000000 5000000 4900000 180000 -low_20 1.000000 0.000000 5000000 5500000 5180000 180000 -high_20 1.000000 0.000000 5000000 5500000 5360000 180000 -low_20 1.000000 0.000000 5500000 6000000 5680000 180000 -high_20 1.000000 0.000000 5500000 6000000 5860000 180000 -low_10 1.000000 0.000000 5000000 6000000 5900000 180000 -high_10 1.000000 0.000000 3000000 4000000 5940000 180000 -low_20 1.000000 0.000000 6000000 6500000 6180000 180000 -high_20 1.000000 0.000000 6000000 6500000 6360000 180000 -low_20 1.000000 0.000000 6500000 7000000 6680000 180000 -high_20 1.000000 0.000000 6500000 7000000 6860000 180000 -low_10 1.000000 0.000000 6000000 7000000 6900000 180000 -low_20 1.000000 0.000000 7000000 7500000 7180000 180000 -high_20 1.000000 0.000000 7000000 7500000 7360000 180000 -low_20 1.000000 0.000000 7500000 8000000 7680000 180000 -high_20 1.000000 0.000000 7500000 8000000 7860000 180000 -low_10 1.000000 0.000000 7000000 8000000 7900000 180000 -high_10 1.000000 0.000000 5000000 6000000 7920000 180000 -low_20 1.000000 0.000000 8000000 8500000 8180000 180000 -high_20 1.000000 0.000000 8000000 8500000 8360000 180000 -low_20 1.000000 0.000000 8500000 9000000 8680000 180000 -high_20 1.000000 0.000000 8500000 9000000 8860000 180000 -low_10 1.000000 0.000000 8000000 9000000 8900000 180000 -high_10 1.000000 0.000000 7000000 8000000 9000000 180000 -low_20 1.000000 0.000000 9000000 9500000 9180000 180000 -high_20 1.000000 0.000000 9000000 9500000 9360000 180000 -low_20 1.000000 0.000000 9500000 10000000 9680000 180000 -high_20 1.000000 0.000000 9500000 10000000 9860000 180000 -low_10 1.000000 0.000000 9000000 10000000 9900000 180000 -high_10 1.000000 0.000000 9000000 10000000 10080000 180000 -low_5 1.000000 0.000000 8000000 10000000 10260000 180000 -high_5 1.000000 0.000000 8000000 10000000 10440000 180000 -low_1 1.000000 0.000000 0 10000000 10620000 180000 -high_1 1.000000 0.000000 0 10000000 10800000 180000 -high_10 1.000000 0.000000 8000000 9000000 10980000 180000 -high_5 1.000000 0.000000 6000000 8000000 11160000 180000 -low_5 1.000000 0.000000 6000000 8000000 11340000 180000 -high_10 1.000000 0.000000 6000000 7000000 11520000 180000 -low_5 1.000000 0.000000 4000000 6000000 11700000 180000 -high_5 1.000000 0.000000 4000000 6000000 11880000 180000 -high_10 1.000000 0.000000 4000000 5000000 12060000 180000 -high_5 1.000000 0.000000 2000000 4000000 12240000 180000 -low_5 1.000000 0.000000 2000000 4000000 12420000 180000 -high_10 1.000000 0.000000 2000000 3000000 12600000 180000 -low_5 1.000000 0.000000 0 2000000 12780000 180000 -high_5 1.000000 0.000000 0 2000000 12960000 180000 diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp deleted file mode 100644 index 4bbacabce77..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp +++ /dev/null @@ -1,376 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Event_Con.cpp -// -// = DESCRIPTION -// This demo just tests the basic functionality of the Event Service -// One Conumer which inherits from the Rtec Consumer. One Supplier -// with an internal Rtec Consumer and one internal Rtec Supplier. -// The internal Supplier is just a demo supplier because the -// architecture expects an supplier which has inherited from the -// Rtec Supplier. -// -// = AUTHOR -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include - -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -#include "ace/Profile_Timer.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "Event_Con.h" -#include "NavWeapC.h" - -ACE_RCSID(Event_Supplier, Event_Con, "$Id$") - -static const char usage [] = -"[-? |\n" -" [-c [4]]\n" -" [-d directly connect all consumers/suppliers\n" -" [-j to collect jitter statistics]\n" -" [-m of messages to send [10]]\n" -" [-s , [1]]\n" -" [-t , msec [250]]]"; - -static int received = 0; - -// ************************************************************ - -Demo_Consumer::Demo_Consumer (void) -{ -} - -int -Demo_Consumer::open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec, - const char *my_name) -{ - ACE_TRY_NEW_ENV - { - // Get a Scheduler. - - RtecScheduler::Scheduler_ptr server = - ACE_Scheduler_Factory::server (); - - // Define Real-time information. - - rt_info_ = server->create (my_name, ACE_TRY_ENV); - - server->set (rt_info_, - RtecScheduler::VERY_LOW_CRITICALITY, - ORBSVCS_Time::zero (), - ORBSVCS_Time::zero (), - ORBSVCS_Time::zero (), - 2500000, - RtecScheduler::VERY_LOW_IMPORTANCE, - ORBSVCS_Time::zero (), - 1, - RtecScheduler::OPERATION, - ACE_TRY_ENV); - - - // Create the event that we're registering for. - - ACE_ConsumerQOS_Factory dependencies; - dependencies.start_disjunction_group (); - dependencies.insert_type (ACE_ES_EVENT_NOTIFICATION, rt_info_); - dependencies.insert_type (ACE_ES_EVENT_SHUTDOWN, rt_info_); - - // The channel administrator is the event channel we got from - // the invocation of this routine. - - this->channel_admin_ = ec; - - // = Connect as a consumer. - - this->consumer_admin_ = - channel_admin_->for_consumers (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Obtain a pointer to a push supplier. "suppliers" is - // inherited from a base class. - - this->suppliers_ = - consumer_admin_->obtain_push_supplier (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // The _this function returns an object pointer. This is needed - // because a consumer inherits from a Servant class that is no - // CORBA::Object. - - RtecEventComm::PushConsumer_var objref = - this->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->suppliers_->connect_push_consumer (objref.in (), - dependencies.get_ConsumerQOS (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR, se) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Demo_Consumer::open: subscribe failed.\n"), - -1); - } - ACE_CATCHANY - { - ACE_ERROR_RETURN ((LM_ERROR, - "Demo_Consumer::open: unexpected exception.\n"), - -1); - } - ACE_ENDTRY; - - return 0; -} - -void -Demo_Consumer::disconnect_push_consumer (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_DEBUG ((LM_DEBUG, - "Consumer received disconnect from channel.\n")); -} - -void -Demo_Consumer::push (const RtecEventComm::EventSet &events, - CORBA::Environment &ACE_TRY_ENV) -{ - - if (events.length () == 0) - { - ACE_DEBUG ((LM_DEBUG, "no events\n")); - return; - } - - cout << "Number of events: " << received++ << endl; - - for (CORBA::ULong i = 0; i < events.length (); ++i) - { - if (events[i].header.type == ACE_ES_EVENT_SHUTDOWN) - { - ACE_DEBUG ((LM_DEBUG, "Demo Consumer: received shutdown event\n")); - this->shutdown (); - } - else - { - ACE_DEBUG ((LM_DEBUG, "Demo Consumer: received ACE_ES_EVENT_NOTIFICATION event.\n")); - - ACE_TRY - { - cout << "ID: " << events[i].data.any_value.type()->id(ACE_TRY_ENV) << endl; - ACE_TRY_CHECK; - cout << "Name: " << events[i].data.any_value.type()->name(ACE_TRY_ENV) << endl; - ACE_TRY_CHECK; - cout << "member_count: " << events[i].data.any_value.type()->member_count(ACE_TRY_ENV) << endl; - ACE_TRY_CHECK; - cout << "TCKind: " << events[i].data.any_value.type()->kind(ACE_TRY_ENV) << endl; - ACE_TRY_CHECK; - - if (_tc_Navigation->equal (events[i].data.any_value.type(), ACE_TRY_ENV)) - { - ACE_TRY_CHECK; - Navigation *navigation_ = (Navigation*) events[i].data.any_value.value (); - - cout << "Found a Navigation struct in the any: pos_lat = " << navigation_->position_latitude << endl; - } - else if (_tc_Weapons->equal (events[i].data.any_value.type(), ACE_TRY_ENV)) - { - ACE_TRY_CHECK; - Weapons *weapons_ = (Weapons*) events[i].data.any_value.value (); - - cout << "Found a Navigation struct in the any: pos_lat = " << weapons_->number_of_weapons << endl; - } - - - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "(%t)Error in extracting the Navigation and Weapons data.\n")); - } - ACE_ENDTRY; - } - } -} - -void -Demo_Consumer::shutdown (void) -{ - ACE_TRY_NEW_ENV - { - // Disconnect from the push supplier. - - this->suppliers_->disconnect_push_supplier (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "@@ we should shutdown here!!!\n")); - ACE_TRY_CHECK; - - TAO_ORB_Core_instance ()->orb ()->shutdown (); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "(%t) Demo_Consumer::shutdown: unexpected exception.\n")); - } - ACE_ENDTRY; -} - -// function get_options - -static unsigned int -get_options (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "Oc:djm:s:t:?"); - int opt; - - while ((opt = get_opt ()) != EOF) - { - switch (opt) - { - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - argv[0], usage)); - ACE_OS::exit (0); - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%s: unknown arg, -%c\n" - "Usage: %s %s\n", - argv[0], char(opt), - argv[0], usage), 1); - } - } - - if (argc != get_opt.optind) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: too many arguments\n" - "Usage: %s %s\n", - argv[0], - argv[0], - usage), - 1); - return 0; -} - -// function main. - -int -main (int argc, char *argv []) -{ - ACE_TRY_NEW_ENV - { - // Initialize ORB. - - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "internet", ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::Object_var poa_object = - orb->resolve_initial_references("RootPOA"); - - if (CORBA::is_nil (poa_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (poa_object.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::Object_var naming_obj = - orb->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (naming_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_Scheduler_Factory::use_config (naming_context.in ()); - - if (get_options (argc, argv)) - ACE_OS::exit (-1); - - // Get the Event Channel. - - CosNaming::Name channel_name (1); - channel_name.length (1); - channel_name[0].id = CORBA::string_dup ("EventService"); - - CORBA::Object_var ec_obj = - naming_context->resolve (channel_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecEventChannelAdmin::EventChannel_var ec = - RtecEventChannelAdmin::EventChannel::_narrow (ec_obj.in(), ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (ec.ptr() == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Not able to get the Event Service reference.\n"), - -1); - - // Create consumer. - - Demo_Consumer *demo_consumer; - ACE_NEW_RETURN (demo_consumer, - Demo_Consumer (), - -1); - - if (demo_consumer->open_consumer (ec.ptr (), - "demo_consumer") == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Someone was feeling introverted.\n"), - -1); - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Run the ORB - - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "CORBA::ORB::run"), - -1); - ACE_TRY_CHECK; - - delete demo_consumer; - - root_poa->destroy (1, - 1, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "SYS_EX"); - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Con.h b/TAO/examples/Simulator/Event_Supplier/Event_Con.h deleted file mode 100644 index e82cc75fd76..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Con.h +++ /dev/null @@ -1,71 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Event_Con.h -// -// = AUTHOR -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#ifndef EVENT_CON_H -#define EVENT_CON_H - -#include "ace/SString.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/RtecEventCommS.h" - -class Demo_Consumer : public POA_RtecEventComm::PushConsumer -{ - // = TITLE - // Demo Consumer - // - // = DESCRIPTION - // Simple example of a consumer that registers for supplier - // notifications. -public: - Demo_Consumer (void); - - int open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec, - const char *my_name); - // Uses the name server to obtain a reference to the - // and registers with channel to receive notifications from the - // supplier. Also registers to receive shutdown messages from the - // supplier. Stores for printing out messages. Returns 0 - // on success, -1 on failure. - - virtual void disconnect_push_consumer (CORBA::Environment &); - // The channel is disconnecting. - - // = (not protected to allow short-circuiting) protected: - virtual void push (const RtecEventComm::EventSet &events, - CORBA::Environment &); - // If the [0] is a notification, prints out the data from - // the supplier. If its a shutdown message, the consumer - // disconnects from the channel. - -protected: - void shutdown (void); - // Disconnect from the Event Service. - - // = Event channel adminstration references. - RtecEventChannelAdmin::EventChannel_var channel_admin_; - RtecEventChannelAdmin::ConsumerAdmin_var consumer_admin_; - RtecEventChannelAdmin::ProxyPushSupplier_var suppliers_; - -private: - RtecScheduler::handle_t rt_info_; -}; - -#endif /* EVENT_CON_H */ diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp deleted file mode 100644 index 016cb17fe6b..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp +++ /dev/null @@ -1,490 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Event_Sup.cpp -// -// = DESCRIPTION -// Event Supplier for the flight simulator -// -// = AUTHOR -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include - -#include "tao/corba.h" -#include "tao/TAO.h" -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -//#include "ace/Profile_Timer.h" -#include "ace/OS.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "Event_Sup.h" -#include "NavWeapC.h" - -ACE_RCSID(Event_Supplier, Event_Sup, "$Id$") - -static const char usage [] = -"[[-?]\n" -" [-O[RBport] ORB port number]\n" -" [-m of messages to send [100]\n" -" [-f name of schedler input data file]]\n"; - - -Event_Supplier::Event_Supplier (int argc, char** argv) -: argc_(argc), - argv_(argv), - total_messages_(10), - input_file_name_(0) -{ - navigation_.roll = navigation_.pitch = 0; -} - -Event_Supplier::~Event_Supplier () -{ - this->dOVE_Supplier_.disconnect (); -} - -int -Event_Supplier::init () -{ - this->get_options (argc_, argv_); - return this->dOVE_Supplier_.connect (); -} - -void -Event_Supplier::start_generating_events (void) -{ - unsigned long total_sent = 0; - - // Load the scheduling data for the simulation. - ACE_Unbounded_Queue schedule_data; - this->load_schedule_data (schedule_data); - ACE_Unbounded_Queue_Iterator - schedule_iter (schedule_data); - - if (schedule_iter.done ()) - { - ACE_ERROR ((LM_ERROR, - "Event_Supplier::start_generating_events: " - "there is no scheduling data\n")); - return; - } - - CORBA::Any any; - - do - { - - // Insert the event data - this->insert_event_data (any, - schedule_iter); - - // deliver it over the wire - dOVE_Supplier_.notify (any); - - if (total_sent < 5) - ACE_DEBUG ((LM_DEBUG, - "Pushing event data.\n")); - else if (total_sent == 5) - ACE_DEBUG ((LM_DEBUG, - "Everything is running. Going to be mute.\n")); - } - while (++total_sent < this->total_messages_); - - // clean up the scheduling data - Schedule_Viewer_Data **data_temp; - for (schedule_iter.first (); - schedule_iter.done () == 0; - schedule_iter.advance ()) - if (schedule_iter.next (data_temp) && data_temp) - delete (*data_temp); -} - -void -Event_Supplier::load_schedule_data - (ACE_Unbounded_Queue &schedule_data) -{ - Schedule_Viewer_Data *data = 0; - - if (this->input_file_name_) - { - // Open the scheduler data input file and read its contents into - // a queue. - FILE *input_file; - - int scan_count = 0; - input_file = ACE_OS::fopen(this->input_file_name_, "r"); - - if (input_file) - { - // Get a line at a time from the data file and parse it. - char input_buf[BUFSIZ]; - while (ACE_OS::fgets (input_buf, BUFSIZ, input_file)) - { - // Run through leading whitespace. - char *temp = input_buf; - while (*temp && isspace (*temp)) - ++temp; - - // If there is anything besides whitespace in the line - // read, scan its fields into the scheduling data - // structure. - if (ACE_OS::strlen (temp) > 0) - { - ACE_NEW (data, Schedule_Viewer_Data); - scan_count = sscanf (temp, "%s %lf %lf %lu %lu %lu %lu", - data->operation_name, - &data->utilitzation, - &data->overhead, - &data->arrival_time, - &data->deadline_time, - &data->completion_time, - &data->computation_time); - if (scan_count != 7) - { - ACE_ERROR ((LM_ERROR, - "Event_Supplier::start_generating_events: " - "scanned incorrect number of data elements: %d\n", scan_count)); - - delete data; - return; - } - - // Insert the data into the queue. - schedule_data.enqueue_tail (data); - } - } - } - else - { - ACE_ERROR ((LM_ERROR, - "Event_Supplier::start_generating_events: " - "could not open input file [%s].\n", - this->input_file_name_)); - return; - } - } - else - { - u_long last_completion = 0; - - // Just create 10 dummy scheduling records and use them. - for (int i = 0; i < 10; ++i) - { - ACE_NEW (data, Schedule_Viewer_Data); - - const char *oper_name = 0; - switch (i % 4) - { - case 0: - oper_name = "high_20"; - break; - - case 1: - oper_name = "low_20"; - break; - - case 2: - oper_name = "high_10"; - break; - - case 3: - default: - oper_name = "low_10"; - break; - } - - ACE_OS::strncpy (data->operation_name, - oper_name, - BUFSIZ-1); - - - data->utilitzation = (double)(20.0+ACE_OS::rand() %10); - data->overhead = (double)(ACE_OS::rand() %20); - - data->arrival_time = ACE_OS::rand() % 200; - data->computation_time = (ACE_OS::rand() % 100) + 10; - - data->completion_time = last_completion + (ACE_OS::rand() % 100) + 100; - data->completion_time = - data->completion_time < data->arrival_time + data->computation_time - ? data->arrival_time + data->computation_time - : data->completion_time; - - last_completion = data->completion_time; - - data->deadline_time = data->completion_time + (ACE_OS::rand() % 200) - 50; - - // insert the data into the queue. - schedule_data.enqueue_tail (data); - } - } -} - -// This function fills in the random data into the anys transported by -// the event channel. - -void -Event_Supplier::insert_event_data (CORBA::Any &data, - ACE_Unbounded_Queue_Iterator &schedule_iter) -{ - static u_long last_completion = 0; - - ACE_TRY_NEW_ENV - { - Schedule_Viewer_Data **sched_data; - - if ((schedule_iter.next (sched_data)) && (sched_data) && (*sched_data)) - { - if ((strcmp((*sched_data)->operation_name, "high_20") == 0) || - (strcmp((*sched_data)->operation_name, "low_20") == 0) || - (strcmp((*sched_data)->operation_name, "high_1") == 0) || - (strcmp((*sched_data)->operation_name, "low_1") == 0)) - { - if ((strcmp((*sched_data)->operation_name, "high_20") == 0) || - (strcmp((*sched_data)->operation_name, "high_1") == 0)) - { - navigation_.criticality = 1; - } - else - { - navigation_.criticality = 0; - } - - navigation_.position_latitude = ACE_OS::rand() % 90; - navigation_.position_longitude = ACE_OS::rand() % 180; - navigation_.altitude = ACE_OS::rand() % 100; - navigation_.heading = ACE_OS::rand() % 180; - navigation_.roll = (navigation_.roll >= 180) ? -180 : navigation_.roll + 1; - navigation_.pitch = (navigation_.pitch >= 90) ? -90 : navigation_.pitch + 1; - - navigation_.utilization = (*sched_data)->utilitzation; - navigation_.overhead = (*sched_data)->overhead; - navigation_.arrival_time = (*sched_data)->arrival_time; - navigation_.deadline_time = (*sched_data)->deadline_time; - navigation_.completion_time = (*sched_data)->completion_time; - navigation_.computation_time = (*sched_data)->computation_time; - navigation_.update_data = 0; - - - // because the scheduler data does not supply these values - navigation_.utilization = (double) (20.0 + ACE_OS::rand() % 10); - navigation_.overhead = (double) (ACE_OS::rand() % 10); - - data.replace (_tc_Navigation, &navigation_, 0, ACE_TRY_ENV); - } - else if ((strcmp((*sched_data)->operation_name, "high_10") == 0) || - (strcmp((*sched_data)->operation_name, "low_10") == 0) || - (strcmp((*sched_data)->operation_name, "high_5") == 0) || - (strcmp((*sched_data)->operation_name, "low_5") == 0)) - { - if ((strcmp((*sched_data)->operation_name, "high_10") == 0) || - (strcmp((*sched_data)->operation_name, "high_5") == 0)) - { - weapons_.criticality = 1; - } - else - { - weapons_.criticality = 0; - } - - weapons_.number_of_weapons = 2; - weapons_.weapon1_identifier = CORBA::string_alloc (30); - strcpy (weapons_.weapon1_identifier.inout (),"Photon Torpedoes"); - weapons_.weapon1_status =(ACE_OS::rand() % 4) == 0 ? 0 : 1 ; - weapons_.weapon2_identifier = CORBA::string_alloc (30); - strcpy (weapons_.weapon2_identifier.inout (),"Quantum Torpedoes"); - weapons_.weapon2_status = (ACE_OS::rand() % 4) == 0 ? 0 : 1; - weapons_.weapon3_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon3_identifier.inout (), ""); - weapons_.weapon3_status = 0; - weapons_.weapon4_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon4_identifier.inout (), ""); - weapons_.weapon4_status = 0; - weapons_.weapon5_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon5_identifier.inout (), ""); - weapons_.weapon5_status = 0; - weapons_.utilization = (*sched_data)->utilitzation; - weapons_.overhead = (*sched_data)->overhead; - weapons_.arrival_time = (*sched_data)->arrival_time; - weapons_.deadline_time = (*sched_data)->deadline_time; - weapons_.completion_time = (*sched_data)->completion_time; - weapons_.computation_time = (*sched_data)->computation_time; - weapons_.update_data = 0; - - // because the scheduler data does not supply these values - weapons_.utilization = (double) (20.0 + ACE_OS::rand() % 10); - weapons_.overhead = (double) (ACE_OS::rand() % 10); - - data.replace (_tc_Weapons, &weapons_, 0, ACE_TRY_ENV); - } - else { - ACE_ERROR ((LM_ERROR, - "Event_Supplier::insert_event_data:" - "unrecognized operation name [%s]", - (*sched_data)->operation_name)); - } - - ACE_TRY_CHECK; - - - if (last_completion > (*sched_data)->completion_time) - last_completion = 0; - - if ((*sched_data)->completion_time >= last_completion) - { - ACE_Time_Value pause (0, - (*sched_data)->completion_time - - last_completion); - ACE_OS::sleep (pause); - last_completion = (*sched_data)->completion_time; - } - } - else - ACE_ERROR ((LM_ERROR, - "Event_Supplier::insert_event_data:" - "Could Not access scheduling data")); - - schedule_iter.advance (); - - if (schedule_iter.done ()) - schedule_iter.first (); - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "(%t)Error in Event_Supplier::insert_event_data.\n")); - } - ACE_ENDTRY; -} - - - -// Function get_options. - -unsigned int -Event_Supplier::get_options (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "f:m:"); - int opt; - int temp; - - while ((opt = get_opt ()) != -1) - { - switch (opt) - { - case 'm': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp > 0) - { - this->total_messages_ = (u_int) temp; - ACE_DEBUG ((LM_DEBUG, - "Messages to send: %d\n", - this->total_messages_)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: count must be > 0", - argv[0]), - 1); - break; - case 'f': - this->input_file_name_ = get_opt.optarg; - - if (!this->input_file_name_ || ACE_OS::strlen (this->input_file_name_) > 0) - ACE_DEBUG ((LM_DEBUG,"Reading file!\n")); - else - { - this->input_file_name_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "%s: file name must be specified with -f option", - argv[0]), - 1); - } - break; - default: - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - argv[0], usage)); - ACE_OS::exit (0); - break; - } - } - - if (argc != get_opt.optind) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: too many arguments\n" - "Usage: %s %s\n", - argv[0], - argv[0], - usage), - 1); - - return 0; -} - -// function main - -int -main (int argc, char *argv []) -{ - ACE_TRY_NEW_ENV - { - // Initialize ORB. - TAO_ORB_Manager orb_Manager; - - orb_Manager.init (argc, - argv, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - - // Create the demo supplier. - Event_Supplier *event_Supplier_ptr; - - ACE_NEW_RETURN (event_Supplier_ptr, - Event_Supplier(argc, argv), - -1); - - // Initialize everthing - if (event_Supplier_ptr->init () == -1) - exit (1); - - // now we can go ahead - event_Supplier_ptr->start_generating_events (); - - // when done, we clean up - delete event_Supplier_ptr; - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "SYS_EX"); - } - ACE_ENDTRY; - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Node; -template class ACE_Unbounded_Queue; -template class ACE_Unbounded_Queue_Iterator; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Node -#pragma instantiate ACE_Unbounded_Queue -#pragma instantiate ACE_Unbounded_Queue_Iterator -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp b/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp deleted file mode 100644 index 9337e5509f4..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp +++ /dev/null @@ -1,167 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Event_Sup" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Event_Sup - 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 "Event_Sup.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 "Event_Sup.mak" CFG="Event_Sup - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Event_Sup - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Event_Sup - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Event_Sup - 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 "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD 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 /subsystem:console /machine:I386 /libpath:"..\..\..\..\..\ace" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\orbsvcs" - -!ELSEIF "$(CFG)" == "Event_Sup - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Event_Sup - Win32 Release" -# Name "Event_Sup - Win32 Debug" -# Begin Group "Source files" - -# PROP Default_Filter "*.cpp" -# Begin Source File - -SOURCE=.\DOVE_Supplier.cpp -# End Source File -# Begin Source File - -SOURCE=.\Event_Sup.cpp -# End Source File -# Begin Source File - -SOURCE=.\NavWeapC.cpp -# End Source File -# Begin Source File - -SOURCE=.\NavWeapS.cpp -# End Source File -# End Group -# Begin Group "Header files" - -# PROP Default_Filter "*.h" -# Begin Source File - -SOURCE=.\DOVE_Supplier.h -# End Source File -# Begin Source File - -SOURCE=.\Event_Sup.h -# End Source File -# Begin Source File - -SOURCE=.\NavWeapC.h -# End Source File -# End Group -# Begin Group "IDL files" - -# PROP Default_Filter "*.idl" -# Begin Source File - -SOURCE=.\NavWeap.idl - -!IF "$(CFG)" == "Event_Sup - Win32 Release" - -!ELSEIF "$(CFG)" == "Event_Sup - Win32 Debug" - -USERDEP__NAVWE="..\$(InputName).idl" -# Begin Custom Build -InputPath=.\NavWeap.idl -InputName=NavWeap - -BuildCmds= \ - xcopy ..\$(InputName).idl \ - ..\..\..\..\bin\tao_idl -Ge 1 -I ..\..\..\ -I ..\..\..\orbsvcs\orbsvcs $(InputName).idl \ - - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw b/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw deleted file mode 100644 index 06988e3c066..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw +++ /dev/null @@ -1,53 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "DualEC_Sup"=.\DualEC_Sup.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Event_Sup"=.\Event_Sup.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Logging_Sup"=.\Logging_Sup.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.h b/TAO/examples/Simulator/Event_Supplier/Event_Sup.h deleted file mode 100644 index 1b56d50d96a..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.h +++ /dev/null @@ -1,79 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Event_Sup.h -// -// = DESCRIPTION -// Event Supplier for the simulation -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#ifndef EVENT_SUP_H -#define EVENT_SUP_H - -//#include -//#include -#include "NavWeapC.h" -#include "DOVE_Supplier.h" - -struct Schedule_Viewer_Data -{ - char operation_name [BUFSIZ]; - double utilitzation; - double overhead; - u_long arrival_time; - u_long deadline_time; - u_long completion_time; - u_long computation_time; -}; - -class Event_Supplier -{ - // = TITLE - // Event Supplier. - // - // = DESCRIPTION - // Reads Scheduler information out of a file and - // feeds it with additional navigation and - // weapon data into the dove_supplier, which - // is connected to the event channel -public: - - Event_Supplier (int argc, char** argv); - - ~Event_Supplier (void); - - int init (void); - // connect the DOVE_Supplier - - void start_generating_events (void); - // here is really something going on, - // here we deliver the messages - - void load_schedule_data (ACE_Unbounded_Queue &schedule_data); - // Load the scheduling information into memory - - -private: - void insert_event_data (CORBA::Any &data, - ACE_Unbounded_Queue_Iterator &schedule_iter); - // just a helper to put all the information into the CORBA::Any - - unsigned int get_options (int argc, char *argv []); - - DOVE_Supplier dOVE_Supplier_; - Navigation navigation_; - Weapons weapons_; - - int argc_; - char **argv_; - unsigned long total_messages_; - char *input_file_name_; -}; - -#endif /* EVENT_SUP_H */ diff --git a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp deleted file mode 100644 index 70352a56e4a..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp +++ /dev/null @@ -1,536 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Logging_Sup.cpp -// -// = DESCRIPTION -// Event Supplier for visualizing scheduling behavior, using arrival -// and dispatch data logged by an event channel dispatch command object -// -// = AUTHOR -// Chris Gill (cdgill@cs.wustl.edu) -// -// Adapted from the DOVE simulation event supplier -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include - -#include "tao/corba.h" -#include "tao/TAO.h" -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -//#include "ace/Profile_Timer.h" -#include "ace/OS.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "Logging_Sup.h" -#include "NavWeapC.h" - -ACE_RCSID(Event_Supplier, Logging_Sup, "$Id$") - -static const char usage [] = -"[[-?]\n" -" [-O[RBport] ORB port number]\n" -" [-m of messages to send [100]\n" -" [-f name of scheduler input data file]\n" -" [-d name of scheduler header dump file]\n" -" [-s to suppress data updates by EC]]\n"; - - -Logging_Supplier::Logging_Supplier (int argc, char** argv) -: argc_(argc), - argv_(argv), - total_messages_(10), - input_file_name_(0), - update_data_ (1), - schedule_file_name_(0) -{ - navigation_.roll = navigation_.pitch = 0; -} - -Logging_Supplier::~Logging_Supplier () -{ - this->dOVE_Supplier_.disconnect (); -} - -int -Logging_Supplier::init () -{ - this->get_options (argc_, argv_); - return this->dOVE_Supplier_.connect (); -} - -void -Logging_Supplier::start_generating_events (void) -{ - unsigned long total_sent = 0; - - // Load the scheduling data for the simulation. - ACE_Unbounded_Queue schedule_data; - this->load_schedule_data (schedule_data); - ACE_Unbounded_Queue_Iterator - schedule_iter (schedule_data); - - if (schedule_iter.done ()) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::start_generating_events: " - "there is no scheduling data\n")); - return; - } - - CORBA::Any any; - - do - { - - // Insert the event data - this->insert_event_data (any, - schedule_iter); - - // deliver it over the wire - dOVE_Supplier_.notify (any); - - if (total_sent < 5) - ACE_DEBUG ((LM_DEBUG, - "Pushing event data.\n")); - else if (total_sent == 5) - ACE_DEBUG ((LM_DEBUG, - "Everything is running. Going to be mute.\n")); - } - while (++total_sent < this->total_messages_); - - // clean up the scheduling data - Schedule_Viewer_Data **data_temp; - for (schedule_iter.first (); - schedule_iter.done () == 0; - schedule_iter.advance ()) - if (schedule_iter.next (data_temp) && data_temp) - delete (*data_temp); -} - -void -Logging_Supplier::load_schedule_data - (ACE_Unbounded_Queue &schedule_data) -{ - Schedule_Viewer_Data *data = 0; - - if (this->input_file_name_) - { - // Open the scheduler data input file and read its contents into - // a queue. - FILE *input_file; - - int scan_count = 0; - input_file = ACE_OS::fopen(this->input_file_name_, "r"); - - if (input_file) - { - // Get a line at a time from the data file and parse it. - char input_buf[BUFSIZ]; - while (ACE_OS::fgets (input_buf, BUFSIZ, input_file)) - { - // Run through leading whitespace. - char *temp = input_buf; - while (*temp && isspace (*temp)) - ++temp; - - // If there is anything besides whitespace in the line - // read, scan its fields into the scheduling data - // structure. - if (ACE_OS::strlen (temp) > 0) - { - ACE_NEW (data, Schedule_Viewer_Data); - scan_count = sscanf (temp, "%s %lf %lf %lu %lu %lu %lu", - data->operation_name, - &data->utilitzation, - &data->overhead, - &data->arrival_time, - &data->deadline_time, - &data->completion_time, - &data->computation_time); - if (scan_count != 7) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::start_generating_events: " - "scanned incorrect number of data elements: %d\n", scan_count)); - - delete data; - return; - } - - // Insert the data into the queue. - schedule_data.enqueue_tail (data); - } - } - } - else - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::start_generating_events: " - "could not open input file [%s].\n", - this->input_file_name_)); - return; - } - } - else - { - u_long last_completion = 0; - - // Just create 10 dummy scheduling records and use them. - for (int i = 0; i < 10; ++i) - { - ACE_NEW (data, Schedule_Viewer_Data); - - const char *oper_name = 0; - switch (i % 4) - { - case 0: - oper_name = "high_20"; - break; - - case 1: - oper_name = "low_20"; - break; - - case 2: - oper_name = "high_10"; - break; - - case 3: - default: - oper_name = "low_10"; - break; - } - - ACE_OS::strncpy (data->operation_name, - oper_name, - BUFSIZ-1); - - data->utilitzation = (double)(20.0+ACE_OS::rand() %10); - data->overhead = (double)(ACE_OS::rand() %20); - - data->arrival_time = ACE_OS::rand() % 200; - data->computation_time = (ACE_OS::rand() % 100) + 10; - - data->completion_time = last_completion + (ACE_OS::rand() % 100) + 100; - data->completion_time = - data->completion_time < data->arrival_time + data->computation_time - ? data->arrival_time + data->computation_time - : data->completion_time; - - last_completion = data->completion_time; - - data->deadline_time = data->completion_time + (ACE_OS::rand() % 200) - 50; - - // insert the data into the queue. - schedule_data.enqueue_tail (data); - } - } -} - -// This function fills in the random data into the anys transported by -// the event channel. - -void -Logging_Supplier::insert_event_data (CORBA::Any &data, - ACE_Unbounded_Queue_Iterator &schedule_iter) -{ - static u_long last_completion = 0; - - // constants for periods (in units of one hundred nanoseconds) - const TimeBase::TimeT ONE_HZ_PERIOD = 10000000; - const TimeBase::TimeT FIVE_HZ_PERIOD = ONE_HZ_PERIOD / 5 ; - const TimeBase::TimeT TEN_HZ_PERIOD = ONE_HZ_PERIOD / 10; - const TimeBase::TimeT TWENTY_HZ_PERIOD = ONE_HZ_PERIOD / 20; - - ACE_TRY_NEW_ENV - { - Schedule_Viewer_Data **sched_data; - - if ((schedule_iter.next (sched_data)) && (sched_data) && (*sched_data)) - { - if ((strcmp((*sched_data)->operation_name, "high_20") == 0) || - (strcmp((*sched_data)->operation_name, "low_20") == 0) || - (strcmp((*sched_data)->operation_name, "high_1") == 0) || - (strcmp((*sched_data)->operation_name, "low_1") == 0)) - { - if ((strcmp((*sched_data)->operation_name, "high_20") == 0) || - (strcmp((*sched_data)->operation_name, "high_1") == 0)) - { - navigation_.criticality = 1; - } - else - { - navigation_.criticality = 0; - } - - if ((strcmp((*sched_data)->operation_name, "high_20") == 0) || - (strcmp((*sched_data)->operation_name, "low_20") == 0)) - { - navigation_.deadline_time = TWENTY_HZ_PERIOD; - } - else - { - navigation_.deadline_time = ONE_HZ_PERIOD; - } - - navigation_.position_latitude = ACE_OS::rand() % 90; - navigation_.position_longitude = ACE_OS::rand() % 180; - navigation_.altitude = ACE_OS::rand() % 100; - navigation_.heading = ACE_OS::rand() % 180; - navigation_.roll = (navigation_.roll >= 180) ? -180 : navigation_.roll + 1; - navigation_.pitch = (navigation_.pitch >= 90) ? -90 : navigation_.pitch + 1; - - navigation_.utilization = 0.0; - navigation_.overhead = 0.0; - navigation_.arrival_time = ORBSVCS_Time::zero (); - navigation_.completion_time = ORBSVCS_Time::zero (); - navigation_.computation_time = ORBSVCS_Time::zero (); - navigation_.update_data = update_data_; - - - // because the scheduler data does not supply these values - navigation_.utilization = (double) (20.0 + ACE_OS::rand() % 10); - navigation_.overhead = (double) (ACE_OS::rand() % 10); - - data.replace (_tc_Navigation, &navigation_, 0, ACE_TRY_ENV); - } - else if ((strcmp((*sched_data)->operation_name, "high_10") == 0) || - (strcmp((*sched_data)->operation_name, "low_10") == 0) || - (strcmp((*sched_data)->operation_name, "high_5") == 0) || - (strcmp((*sched_data)->operation_name, "low_5") == 0)) - { - if ((strcmp((*sched_data)->operation_name, "high_10") == 0) || - (strcmp((*sched_data)->operation_name, "high_5") == 0)) - { - weapons_.criticality = 1; - } - else - { - weapons_.criticality = 0; - } - - if ((strcmp((*sched_data)->operation_name, "high_10") == 0) || - (strcmp((*sched_data)->operation_name, "low_10") == 0)) - { - weapons_.deadline_time = TEN_HZ_PERIOD; - } - else - { - weapons_.deadline_time = FIVE_HZ_PERIOD; - } - - - weapons_.number_of_weapons = 2; - weapons_.weapon1_identifier = CORBA::string_alloc (30); - strcpy (weapons_.weapon1_identifier.inout (),"Photon Torpedoes"); - weapons_.weapon1_status =(ACE_OS::rand() % 4) == 0 ? 0 : 1 ; - weapons_.weapon2_identifier = CORBA::string_alloc (30); - strcpy (weapons_.weapon2_identifier.inout (),"Quantum Torpedoes"); - weapons_.weapon2_status = (ACE_OS::rand() % 4) == 0 ? 0 : 1; - weapons_.weapon3_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon3_identifier.inout (), ""); - weapons_.weapon3_status = 0; - weapons_.weapon4_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon4_identifier.inout (), ""); - weapons_.weapon4_status = 0; - weapons_.weapon5_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon5_identifier.inout (), ""); - weapons_.weapon5_status = 0; - weapons_.utilization = 0.0; - weapons_.overhead = 0.0; - weapons_.arrival_time = ORBSVCS_Time::zero (); - weapons_.completion_time = ORBSVCS_Time::zero (); - weapons_.computation_time = ORBSVCS_Time::zero (); - weapons_.update_data = update_data_; - - - data.replace (_tc_Weapons, &weapons_, 0, ACE_TRY_ENV); - } - else { - ACE_ERROR ((LM_ERROR, - "Logging_Supplier::insert_event_data:" - "unrecognized operation name [%s]", - (*sched_data)->operation_name)); - } - - ACE_TRY_CHECK; - - - if (last_completion > (*sched_data)->completion_time) - last_completion = 0; - - if ((*sched_data)->completion_time >= last_completion) - { - ACE_Time_Value pause (0, - (*sched_data)->completion_time - - last_completion); - ACE_OS::sleep (pause); - last_completion = (*sched_data)->completion_time; - } - } - else - ACE_ERROR ((LM_ERROR, - "Logging_Supplier::insert_event_data:" - "Could Not access scheduling data")); - - schedule_iter.advance (); - - if (schedule_iter.done ()) - schedule_iter.first (); - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "(%t)Error in Logging_Supplier::insert_event_data.\n")); - } - ACE_ENDTRY; -} - - - -// Function get_options. - -unsigned int -Logging_Supplier::get_options (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "f:m:d:s"); - int opt; - int temp; - - while ((opt = get_opt ()) != -1) - { - switch (opt) - { - case 'm': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp > 0) - { - this->total_messages_ = (u_int) temp; - ACE_DEBUG ((LM_DEBUG, - "Messages to send: %d\n", - this->total_messages_)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: count must be > 0", - argv[0]), - 1); - break; - case 'f': - this->input_file_name_ = get_opt.optarg; - - if (!this->input_file_name_ || ACE_OS::strlen (this->input_file_name_) > 0) - ACE_DEBUG ((LM_DEBUG,"Reading file!\n")); - else - { - this->input_file_name_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "%s: file name must be specified with -f option", - argv[0]), - 1); - } - break; - case 'd': - this->schedule_file_name_ = get_opt.optarg; - - if (!this->schedule_file_name_ || ACE_OS::strlen (this->schedule_file_name_) > 0) - ACE_DEBUG ((LM_DEBUG,"Dumping file!\n")); - else - { - this->input_file_name_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "%s: file name must be specified with -d option", - argv[0]), - 1); - } - break; - case 's': - update_data_ = 0; - break; - default: - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - argv[0], usage)); - ACE_OS::exit (0); - break; - } - } - - if (argc != get_opt.optind) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: too many arguments\n" - "Usage: %s %s\n", - argv[0], - argv[0], - usage), - 1); - - return 0; -} - -// function main - -int -main (int argc, char *argv []) -{ - ACE_TRY_NEW_ENV - { - // Initialize ORB. - TAO_ORB_Manager orb_Manager; - - orb_Manager.init (argc, - argv, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - - // Create the demo supplier. - Logging_Supplier *event_Supplier_ptr; - - ACE_NEW_RETURN (event_Supplier_ptr, - Logging_Supplier(argc, argv), - -1); - - // Initialize everthing - if (event_Supplier_ptr->init () == -1) - exit (1); - - // now we can go ahead - event_Supplier_ptr->start_generating_events (); - - // when done, we clean up - delete event_Supplier_ptr; - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "SYS_EX"); - } - ACE_ENDTRY; - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Node; -template class ACE_Unbounded_Queue; -template class ACE_Unbounded_Queue_Iterator; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Node -#pragma instantiate ACE_Unbounded_Queue -#pragma instantiate ACE_Unbounded_Queue_Iterator -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.dsp b/TAO/examples/Simulator/Event_Supplier/Logging_Sup.dsp deleted file mode 100644 index fbc08d6f3d5..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.dsp +++ /dev/null @@ -1,157 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Logging_Sup" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Logging_Sup - 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 "Logging_Sup.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 "Logging_Sup.mak" CFG="Logging_Sup - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Logging_Sup - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Logging_Sup - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Logging_Sup - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD 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 /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "Logging_Sup - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Logging_" -# PROP BASE Intermediate_Dir "Logging_" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "Logging_Sup - Win32 Release" -# Name "Logging_Sup - Win32 Debug" -# Begin Group "Source files" - -# PROP Default_Filter "*.cpp" -# Begin Source File - -SOURCE=.\DOVE_Supplier.cpp -# End Source File -# Begin Source File - -SOURCE=.\Logging_Sup.cpp -# End Source File -# Begin Source File - -SOURCE=.\NavWeapC.cpp -# End Source File -# Begin Source File - -SOURCE=.\NavWeapS.cpp -# End Source File -# End Group -# Begin Group "Header files" - -# PROP Default_Filter "*.h" -# Begin Source File - -SOURCE=.\DOVE_Supplier.h -# End Source File -# Begin Source File - -SOURCE=.\Logging_Sup.h -# End Source File -# Begin Source File - -SOURCE=.\NavWeapC.h -# End Source File -# End Group -# Begin Group "IDL files" - -# PROP Default_Filter "*.idl" -# Begin Source File - -SOURCE=.\NavWeap.idl - -!IF "$(CFG)" == "Logging_Sup - Win32 Release" - -!ELSEIF "$(CFG)" == "Logging_Sup - Win32 Debug" - -USERDEP__NAVWE="..\$(InputName).idl" -# Begin Custom Build -InputPath=.\NavWeap.idl -InputName=NavWeap - -BuildCmds= \ - xcopy ..\$(InputName).idl \ - ..\..\..\..\bin\tao_idl -Ge 1 -I ..\..\..\ -I ..\..\..\orbsvcs\orbsvcs $(InputName).idl \ - - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.h b/TAO/examples/Simulator/Event_Supplier/Logging_Sup.h deleted file mode 100644 index 80ec077b833..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.h +++ /dev/null @@ -1,85 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Logging_Sup.h -// -// = DESCRIPTION -// Event supplier for visualization of scheduling behavior, using -// arrival and dispatch data logged by an EC dispatch command object -// -// = AUTHOR -// Chris Gill (cdgill@cs.wustl.edu) -// -// Adapted from the orginal DOVE simulation event supplier written by -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#ifndef LOGGING_SUP_H -#define LOGGING_SUP_H - -//#include -//#include -#include "NavWeapC.h" -#include "DOVE_Supplier.h" - -struct Schedule_Viewer_Data -{ - char operation_name [BUFSIZ]; - double utilitzation; - double overhead; - u_long arrival_time; - u_long deadline_time; - u_long completion_time; - u_long computation_time; -}; - -class Logging_Supplier -{ - // = TITLE - // Event Supplier. - // - // = DESCRIPTION - // Reads Scheduler information out of a file and - // feeds it with additional navigation and - // weapon data into the dove_supplier, which - // is connected to the event channel -public: - - Logging_Supplier (int argc, char** argv); - - ~Logging_Supplier (void); - - int init (void); - // connect the DOVE_Supplier - - void start_generating_events (void); - // here is really something going on, - // here we deliver the messages - - void load_schedule_data (ACE_Unbounded_Queue &schedule_data); - // Load the scheduling information into memory - - -private: - void insert_event_data (CORBA::Any &data, - ACE_Unbounded_Queue_Iterator &schedule_iter); - // just a helper to put all the information into the CORBA::Any - - unsigned int get_options (int argc, char *argv []); - - DOVE_Supplier dOVE_Supplier_; - Navigation navigation_; - Weapons weapons_; - - int argc_; - char **argv_; - unsigned long total_messages_; - char *input_file_name_; - unsigned long update_data_; - const char* schedule_file_name_; -}; - -#endif /* LOGGING_SUP_H */ diff --git a/TAO/examples/Simulator/Event_Supplier/MLF.dat b/TAO/examples/Simulator/Event_Supplier/MLF.dat deleted file mode 100644 index 2ab9b47b9af..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/MLF.dat +++ /dev/null @@ -1,72 +0,0 @@ -low_20 1.000000 0.000000 0 500000 180000 180000 -high_20 1.000000 0.000000 0 500000 360000 180000 -low_20 1.000000 0.000000 500000 1000000 680000 180000 -high_20 1.000000 0.000000 500000 1000000 860000 180000 -low_10 1.000000 0.000000 0 1000000 900000 180000 -low_20 1.000000 0.000000 1000000 1500000 1180000 180000 -high_20 1.000000 0.000000 1000000 1500000 1360000 180000 -low_20 1.000000 0.000000 1500000 2000000 1680000 180000 -high_20 1.000000 0.000000 1500000 2000000 1860000 180000 -low_10 1.000000 0.000000 1000000 2000000 1900000 180000 -low_5 1.000000 0.000000 0 2000000 1980000 180000 -low_20 1.000000 0.000000 2000000 2500000 2180000 180000 -high_20 1.000000 0.000000 2000000 2500000 2360000 180000 -low_20 1.000000 0.000000 2500000 3000000 2680000 180000 -high_20 1.000000 0.000000 2500000 3000000 2860000 180000 -low_10 1.000000 0.000000 2000000 3000000 2900000 180000 -low_20 1.000000 0.000000 3000000 3500000 3180000 180000 -high_20 1.000000 0.000000 3000000 3500000 3360000 180000 -low_20 1.000000 0.000000 3500000 4000000 3680000 180000 -high_20 1.000000 0.000000 3500000 4000000 3860000 180000 -low_10 1.000000 0.000000 3000000 4000000 3900000 180000 -low_1 1.000000 0.000000 0 10000000 3960000 180000 -low_20 1.000000 0.000000 4000000 4500000 4180000 180000 -high_20 1.000000 0.000000 4000000 4500000 4360000 180000 -low_20 1.000000 0.000000 4500000 5000000 4680000 180000 -high_20 1.000000 0.000000 4500000 5000000 4860000 180000 -low_10 1.000000 0.000000 4000000 5000000 4900000 180000 -low_20 1.000000 0.000000 5000000 5500000 5180000 180000 -high_20 1.000000 0.000000 5000000 5500000 5360000 180000 -low_20 1.000000 0.000000 5500000 6000000 5680000 180000 -high_20 1.000000 0.000000 5500000 6000000 5860000 180000 -low_10 1.000000 0.000000 5000000 6000000 5900000 180000 -high_1 1.000000 0.000000 0 10000000 5940000 180000 -low_20 1.000000 0.000000 6000000 6500000 6180000 180000 -high_20 1.000000 0.000000 6000000 6500000 6360000 180000 -low_20 1.000000 0.000000 6500000 7000000 6680000 180000 -high_20 1.000000 0.000000 6500000 7000000 6860000 180000 -low_10 1.000000 0.000000 6000000 7000000 6900000 180000 -low_20 1.000000 0.000000 7000000 7500000 7180000 180000 -high_20 1.000000 0.000000 7000000 7500000 7360000 180000 -low_20 1.000000 0.000000 7500000 8000000 7680000 180000 -high_20 1.000000 0.000000 7500000 8000000 7860000 180000 -low_10 1.000000 0.000000 7000000 8000000 7900000 180000 -high_10 1.000000 0.000000 5000000 6000000 7920000 180000 -low_20 1.000000 0.000000 8000000 8500000 8180000 180000 -high_20 1.000000 0.000000 8000000 8500000 8360000 180000 -low_20 1.000000 0.000000 8500000 9000000 8680000 180000 -high_20 1.000000 0.000000 8500000 9000000 8860000 180000 -low_10 1.000000 0.000000 8000000 9000000 8900000 180000 -high_10 1.000000 0.000000 7000000 8000000 9000000 180000 -low_20 1.000000 0.000000 9000000 9500000 9180000 180000 -high_20 1.000000 0.000000 9000000 9500000 9360000 180000 -low_20 1.000000 0.000000 9500000 10000000 9680000 180000 -high_20 1.000000 0.000000 9500000 10000000 9860000 180000 -low_10 1.000000 0.000000 9000000 10000000 9900000 180000 -high_10 1.000000 0.000000 9000000 10000000 10080000 180000 -low_5 1.000000 0.000000 8000000 10000000 10260000 180000 -high_5 1.000000 0.000000 8000000 10000000 10440000 180000 -high_10 1.000000 0.000000 8000000 9000000 10620000 180000 -high_5 1.000000 0.000000 6000000 8000000 10800000 180000 -low_5 1.000000 0.000000 6000000 8000000 10980000 180000 -high_10 1.000000 0.000000 6000000 7000000 11160000 180000 -low_5 1.000000 0.000000 4000000 6000000 11340000 180000 -high_5 1.000000 0.000000 4000000 6000000 11520000 180000 -high_10 1.000000 0.000000 4000000 5000000 11700000 180000 -high_5 1.000000 0.000000 2000000 4000000 11880000 180000 -low_5 1.000000 0.000000 2000000 4000000 12060000 180000 -high_10 1.000000 0.000000 3000000 4000000 12240000 180000 -high_10 1.000000 0.000000 2000000 3000000 12420000 180000 -high_10 1.000000 0.000000 1000000 2000000 12600000 180000 -high_5 1.000000 0.000000 0 2000000 12780000 180000 -high_10 1.000000 0.000000 0 1000000 12960000 180000 diff --git a/TAO/examples/Simulator/Event_Supplier/MUF.dat b/TAO/examples/Simulator/Event_Supplier/MUF.dat deleted file mode 100644 index ac521175070..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/MUF.dat +++ /dev/null @@ -1,72 +0,0 @@ -high_20 1.000000 0.000000 0 500000 180000 180000 -high_10 1.000000 0.000000 0 1000000 360000 180000 -high_20 1.000000 0.000000 500000 1000000 680000 180000 -high_5 1.000000 0.000000 0 2000000 720000 180000 -high_1 1.000000 0.000000 0 10000000 900000 180000 -high_20 1.000000 0.000000 1000000 1500000 1180000 180000 -high_10 1.000000 0.000000 1000000 2000000 1360000 180000 -low_5 1.000000 0.000000 0 2000000 1440000 180000 -high_20 1.000000 0.000000 1500000 2000000 1680000 180000 -low_10 1.000000 0.000000 1000000 2000000 1800000 180000 -low_20 1.000000 0.000000 1500000 2000000 1980000 180000 -high_20 1.000000 0.000000 2000000 2500000 2180000 180000 -high_10 1.000000 0.000000 2000000 3000000 2360000 180000 -high_20 1.000000 0.000000 2500000 3000000 2680000 180000 -high_5 1.000000 0.000000 2000000 4000000 2720000 180000 -low_1 1.000000 0.000000 0 10000000 2880000 180000 -high_20 1.000000 0.000000 3000000 3500000 3180000 180000 -high_10 1.000000 0.000000 3000000 4000000 3360000 180000 -low_5 1.000000 0.000000 2000000 4000000 3420000 180000 -high_20 1.000000 0.000000 3500000 4000000 3680000 180000 -low_10 1.000000 0.000000 3000000 4000000 3780000 180000 -low_20 1.000000 0.000000 3500000 4000000 3960000 180000 -high_20 1.000000 0.000000 4000000 4500000 4180000 180000 -high_10 1.000000 0.000000 4000000 5000000 4360000 180000 -high_20 1.000000 0.000000 4500000 5000000 4680000 180000 -high_5 1.000000 0.000000 4000000 6000000 4720000 180000 -low_20 1.000000 0.000000 3000000 3500000 4860000 180000 -high_20 1.000000 0.000000 5000000 5500000 5180000 180000 -high_10 1.000000 0.000000 5000000 6000000 5360000 180000 -low_5 1.000000 0.000000 4000000 6000000 5400000 180000 -high_20 1.000000 0.000000 5500000 6000000 5680000 180000 -low_10 1.000000 0.000000 5000000 6000000 5760000 180000 -low_20 1.000000 0.000000 5500000 6000000 5940000 180000 -high_20 1.000000 0.000000 6000000 6500000 6180000 180000 -high_10 1.000000 0.000000 6000000 7000000 6360000 180000 -high_20 1.000000 0.000000 6500000 7000000 6680000 180000 -high_5 1.000000 0.000000 6000000 8000000 6720000 180000 -low_20 1.000000 0.000000 5000000 5500000 6840000 180000 -high_20 1.000000 0.000000 7000000 7500000 7180000 180000 -high_10 1.000000 0.000000 7000000 8000000 7360000 180000 -low_5 1.000000 0.000000 6000000 8000000 7380000 180000 -high_20 1.000000 0.000000 7500000 8000000 7680000 180000 -low_10 1.000000 0.000000 7000000 8000000 7740000 180000 -low_20 1.000000 0.000000 7500000 8000000 7920000 180000 -high_20 1.000000 0.000000 8000000 8500000 8180000 180000 -high_10 1.000000 0.000000 8000000 9000000 8360000 180000 -high_20 1.000000 0.000000 8500000 9000000 8680000 180000 -high_5 1.000000 0.000000 8000000 10000000 8720000 180000 -low_20 1.000000 0.000000 7000000 7500000 8820000 180000 -low_5 1.000000 0.000000 8000000 10000000 9000000 180000 -high_20 1.000000 0.000000 9000000 9500000 9180000 180000 -high_10 1.000000 0.000000 9000000 10000000 9360000 180000 -high_20 1.000000 0.000000 9500000 10000000 9680000 180000 -low_10 1.000000 0.000000 9000000 10000000 9720000 180000 -low_20 1.000000 0.000000 9500000 10000000 9900000 180000 -low_20 1.000000 0.000000 9000000 9500000 10080000 180000 -low_10 1.000000 0.000000 8000000 9000000 10260000 180000 -low_20 1.000000 0.000000 8500000 9000000 10440000 180000 -low_20 1.000000 0.000000 8000000 8500000 10620000 180000 -low_20 1.000000 0.000000 6500000 7000000 10800000 180000 -low_10 1.000000 0.000000 6000000 7000000 10980000 180000 -low_20 1.000000 0.000000 6000000 6500000 11160000 180000 -low_10 1.000000 0.000000 4000000 5000000 11340000 180000 -low_20 1.000000 0.000000 4500000 5000000 11520000 180000 -low_20 1.000000 0.000000 4000000 4500000 11700000 180000 -low_20 1.000000 0.000000 2500000 3000000 11880000 180000 -low_10 1.000000 0.000000 2000000 3000000 12060000 180000 -low_20 1.000000 0.000000 2000000 2500000 12240000 180000 -low_20 1.000000 0.000000 1000000 1500000 12420000 180000 -low_20 1.000000 0.000000 500000 1000000 12600000 180000 -low_10 1.000000 0.000000 0 1000000 12780000 180000 -low_20 1.000000 0.000000 0 500000 12960000 180000 diff --git a/TAO/examples/Simulator/Event_Supplier/Makefile b/TAO/examples/Simulator/Event_Supplier/Makefile deleted file mode 100644 index 3f2ab875168..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Makefile +++ /dev/null @@ -1,1336 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -TAO_IDLFLAGS += -Ge 1 -I$(TAO_ROOT)/orbsvcs/orbsvcs -I$(TAO_ROOT) -IDL_SRC = NavWeapC.cpp NavWeapS.cpp -IDL_HDR = NavWeapC.h -EVENT_TEST_SRCS = Event_Sup.cpp Logging_Sup.cpp DualEC_Sup.cpp Event_Con.cpp DOVE_Supplier.cpp - -LSRC = $(IDL_SRC) $(EVENT_TEST_SRCS) - -EVENT_SUP_OBJS = NavWeapC.o NavWeapS.o Event_Sup.o DOVE_Supplier.o -EVENT_CON_OBJS = NavWeapC.o NavWeapS.o Event_Con.o -LOGGING_SUP_OBJS = NavWeapC.o NavWeapS.o Logging_Sup.o DOVE_Supplier.o -DUALEC_SUP_OBJS = NavWeapC.o NavWeapS.o DualEC_Sup.o DOVE_Supplier.o - -LDLIBS = -lorbsvcs -lTAO - -BIN2 = Event_Sup Logging_Sup DualEC_Sup Event_Con - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Event,$(findstring Event,$(TAO_ORBSVCS))) - ifeq (Sched,$(findstring Sched,$(TAO_ORBSVCS))) - ifeq (Time,$(findstring Time,$(TAO_ORBSVCS))) - ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) - endif # Naming - endif # Time - endif # Sched -endif # Event - -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#### TSS_ORB_FLAG = -DTAO_HAS_TSS_ORBCORE -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) \ - -I$(TAO_ROOT)/orbsvcs/orbsvcs $(TSS_ORB_FLAG)#-H - -$(IDL_SRC): NavWeap.idl - $(TAO_IDL) $(TAO_IDLFLAGS) $< - -.PRECIOUS:$(IDL_HDR) $(IDL_SRC) - -NavWeap.idl: ../NavWeap.idl - @cp -p $< . - - -Event_Sup: $(addprefix $(VDIR),$(EVENT_SUP_OBJS)) - -Logging_Sup: $(addprefix $(VDIR),$(LOGGING_SUP_OBJS)) - -DualEC_Sup: $(addprefix $(VDIR),$(DUALEC_SUP_OBJS)) - -Event_Con: $(addprefix $(VDIR),$(EVENT_CON_OBJS)) - -realclean: clean - -$(RM) NavWeap.idl NavWeap[CS].* NavWeap[CS]_T.* - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/NavWeapC.o .obj/NavWeapC.so .shobj/NavWeapC.o .shobj/NavWeapC.so: NavWeapC.cpp NavWeapC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - NavWeapC.i NavWeapS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - NavWeapS_T.h NavWeapS_T.i NavWeapS_T.cpp NavWeapS.i -.obj/NavWeapS.o .obj/NavWeapS.so .shobj/NavWeapS.o .shobj/NavWeapS.so: NavWeapS.cpp NavWeapS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - NavWeapC.h NavWeapC.i NavWeapS_T.h NavWeapS_T.i NavWeapS_T.cpp \ - NavWeapS.i -.obj/Event_Sup.o .obj/Event_Sup.so .shobj/Event_Sup.o .shobj/Event_Sup.so: Event_Sup.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-linux-lxpthreads.h \ - $(ACE_ROOT)/ace/config-linux-common.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(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/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 \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Managed_Types.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(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/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Managed_Types.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/IIOP_Profile.h \ - $(TAO_ROOT)/tao/IIOP_Transport.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(TAO_ROOT)/tao/IIOP_Acceptor.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/CDR_Interpreter.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - Event_Sup.h NavWeapC.h NavWeapC.i DOVE_Supplier.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i -.obj/Logging_Sup.o .obj/Logging_Sup.so .shobj/Logging_Sup.o .shobj/Logging_Sup.so: Logging_Sup.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-linux-lxpthreads.h \ - $(ACE_ROOT)/ace/config-linux-common.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(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/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 \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Managed_Types.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(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/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Managed_Types.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/IIOP_Profile.h \ - $(TAO_ROOT)/tao/IIOP_Transport.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(TAO_ROOT)/tao/IIOP_Acceptor.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/CDR_Interpreter.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - Logging_Sup.h NavWeapC.h NavWeapC.i DOVE_Supplier.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i -.obj/DualEC_Sup.o .obj/DualEC_Sup.so .shobj/DualEC_Sup.o .shobj/DualEC_Sup.so: DualEC_Sup.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-linux-lxpthreads.h \ - $(ACE_ROOT)/ace/config-linux-common.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(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/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 \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Managed_Types.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(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/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Managed_Types.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/IIOP_Profile.h \ - $(TAO_ROOT)/tao/IIOP_Transport.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(TAO_ROOT)/tao/IIOP_Acceptor.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/CDR_Interpreter.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Config_Scheduler.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler_Generic.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Config_Scheduler.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Runtime_Scheduler.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Runtime_Scheduler.i \ - DualEC_Sup.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Module_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Channel.h \ - $(TAO_ROOT)/tao/Timeprobe.h \ - $(ACE_ROOT)/ace/Timeprobe.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Local_ESTypes.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Local_ESTypes.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Timer_Module.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/RT_Task.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/RT_Task.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Timer_Module.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/ReactorTask.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Fast_Reactor.h \ - $(ACE_ROOT)/ace/Select_Reactor.h \ - $(ACE_ROOT)/ace/Select_Reactor_T.h \ - $(ACE_ROOT)/ace/Select_Reactor_Base.h \ - $(ACE_ROOT)/ace/Token.h \ - $(ACE_ROOT)/ace/Token.i \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.i \ - $(ACE_ROOT)/ace/Select_Reactor_Base.i \ - $(ACE_ROOT)/ace/Select_Reactor_T.cpp \ - $(ACE_ROOT)/ace/Timer_Heap.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.cpp \ - $(ACE_ROOT)/ace/Select_Reactor_T.i \ - $(ACE_ROOT)/ace/Select_Reactor.i \ - $(ACE_ROOT)/ace/Timer_List.h \ - $(ACE_ROOT)/ace/Timer_List_T.h \ - $(ACE_ROOT)/ace/Timer_List_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Manip.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Manip.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Channel.i \ - NavWeapC.h NavWeapC.i NavWeapS.h NavWeapS_T.h NavWeapS_T.i \ - NavWeapS_T.cpp NavWeapS.i DOVE_Supplier.h -.obj/Event_Con.o .obj/Event_Con.so .shobj/Event_Con.o .shobj/Event_Con.so: Event_Con.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-linux-lxpthreads.h \ - $(ACE_ROOT)/ace/config-linux-common.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(ACE_ROOT)/ace/Profile_Timer.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/High_Res_Timer.h \ - $(ACE_ROOT)/ace/High_Res_Timer.i \ - $(ACE_ROOT)/ace/Profile_Timer.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - Event_Con.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - NavWeapC.h NavWeapC.i -.obj/DOVE_Supplier.o .obj/DOVE_Supplier.so .shobj/DOVE_Supplier.o .shobj/DOVE_Supplier.so: DOVE_Supplier.cpp DOVE_Supplier.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-linux-lxpthreads.h \ - $(ACE_ROOT)/ace/config-linux-common.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(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/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 \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Managed_Types.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(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/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Managed_Types.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/IIOP_Profile.h \ - $(TAO_ROOT)/tao/IIOP_Transport.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(TAO_ROOT)/tao/IIOP_Acceptor.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/CDR_Interpreter.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Simulator/Event_Supplier/RMS.dat b/TAO/examples/Simulator/Event_Supplier/RMS.dat deleted file mode 100644 index 5038c140a53..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/RMS.dat +++ /dev/null @@ -1,72 +0,0 @@ -low_20 1.000000 0.000000 0 500000 180000 180000 -high_20 1.000000 0.000000 0 500000 360000 180000 -low_20 1.000000 0.000000 500000 1000000 680000 180000 -high_20 1.000000 0.000000 500000 1000000 860000 180000 -low_10 1.000000 0.000000 0 1000000 900000 180000 -low_20 1.000000 0.000000 1000000 1500000 1180000 180000 -high_20 1.000000 0.000000 1000000 1500000 1360000 180000 -low_20 1.000000 0.000000 1500000 2000000 1680000 180000 -high_20 1.000000 0.000000 1500000 2000000 1860000 180000 -low_10 1.000000 0.000000 1000000 2000000 1900000 180000 -high_10 1.000000 0.000000 0 1000000 1980000 180000 -low_20 1.000000 0.000000 2000000 2500000 2180000 180000 -high_20 1.000000 0.000000 2000000 2500000 2360000 180000 -low_20 1.000000 0.000000 2500000 3000000 2680000 180000 -high_20 1.000000 0.000000 2500000 3000000 2860000 180000 -low_10 1.000000 0.000000 2000000 3000000 2900000 180000 -low_20 1.000000 0.000000 3000000 3500000 3180000 180000 -high_20 1.000000 0.000000 3000000 3500000 3360000 180000 -low_20 1.000000 0.000000 3500000 4000000 3680000 180000 -high_20 1.000000 0.000000 3500000 4000000 3860000 180000 -low_10 1.000000 0.000000 3000000 4000000 3900000 180000 -high_10 1.000000 0.000000 1000000 2000000 3960000 180000 -low_20 1.000000 0.000000 4000000 4500000 4180000 180000 -high_20 1.000000 0.000000 4000000 4500000 4360000 180000 -low_20 1.000000 0.000000 4500000 5000000 4680000 180000 -high_20 1.000000 0.000000 4500000 5000000 4860000 180000 -low_10 1.000000 0.000000 4000000 5000000 4900000 180000 -low_20 1.000000 0.000000 5000000 5500000 5180000 180000 -high_20 1.000000 0.000000 5000000 5500000 5360000 180000 -low_20 1.000000 0.000000 5500000 6000000 5680000 180000 -high_20 1.000000 0.000000 5500000 6000000 5860000 180000 -low_10 1.000000 0.000000 5000000 6000000 5900000 180000 -high_10 1.000000 0.000000 2000000 3000000 5940000 180000 -low_20 1.000000 0.000000 6000000 6500000 6180000 180000 -high_20 1.000000 0.000000 6000000 6500000 6360000 180000 -low_20 1.000000 0.000000 6500000 7000000 6680000 180000 -high_20 1.000000 0.000000 6500000 7000000 6860000 180000 -low_10 1.000000 0.000000 6000000 7000000 6900000 180000 -low_20 1.000000 0.000000 7000000 7500000 7180000 180000 -high_20 1.000000 0.000000 7000000 7500000 7360000 180000 -low_20 1.000000 0.000000 7500000 8000000 7680000 180000 -high_20 1.000000 0.000000 7500000 8000000 7860000 180000 -low_10 1.000000 0.000000 7000000 8000000 7900000 180000 -high_10 1.000000 0.000000 3000000 4000000 7920000 180000 -low_20 1.000000 0.000000 8000000 8500000 8180000 180000 -high_20 1.000000 0.000000 8000000 8500000 8360000 180000 -low_20 1.000000 0.000000 8500000 9000000 8680000 180000 -high_20 1.000000 0.000000 8500000 9000000 8860000 180000 -low_10 1.000000 0.000000 8000000 9000000 8900000 180000 -high_10 1.000000 0.000000 4000000 5000000 9000000 180000 -low_20 1.000000 0.000000 9000000 9500000 9180000 180000 -high_20 1.000000 0.000000 9000000 9500000 9360000 180000 -low_20 1.000000 0.000000 9500000 10000000 9680000 180000 -high_20 1.000000 0.000000 9500000 10000000 9860000 180000 -low_10 1.000000 0.000000 9000000 10000000 9900000 180000 -high_10 1.000000 0.000000 5000000 6000000 10080000 180000 -high_10 1.000000 0.000000 6000000 7000000 10260000 180000 -high_10 1.000000 0.000000 7000000 8000000 10440000 180000 -high_10 1.000000 0.000000 8000000 9000000 10620000 180000 -high_10 1.000000 0.000000 9000000 10000000 10800000 180000 -low_5 1.000000 0.000000 0 2000000 10980000 180000 -low_5 1.000000 0.000000 2000000 4000000 11160000 180000 -low_5 1.000000 0.000000 4000000 6000000 11340000 180000 -low_5 1.000000 0.000000 6000000 8000000 11520000 180000 -low_5 1.000000 0.000000 8000000 10000000 11700000 180000 -high_5 1.000000 0.000000 0 2000000 11880000 180000 -high_5 1.000000 0.000000 2000000 4000000 12060000 180000 -high_5 1.000000 0.000000 4000000 6000000 12240000 180000 -high_5 1.000000 0.000000 6000000 8000000 12420000 180000 -high_5 1.000000 0.000000 8000000 10000000 12600000 180000 -low_1 1.000000 0.000000 0 10000000 12780000 180000 -high_1 1.000000 0.000000 0 10000000 12960000 180000 diff --git a/TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat b/TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat deleted file mode 100644 index ac521175070..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat +++ /dev/null @@ -1,72 +0,0 @@ -high_20 1.000000 0.000000 0 500000 180000 180000 -high_10 1.000000 0.000000 0 1000000 360000 180000 -high_20 1.000000 0.000000 500000 1000000 680000 180000 -high_5 1.000000 0.000000 0 2000000 720000 180000 -high_1 1.000000 0.000000 0 10000000 900000 180000 -high_20 1.000000 0.000000 1000000 1500000 1180000 180000 -high_10 1.000000 0.000000 1000000 2000000 1360000 180000 -low_5 1.000000 0.000000 0 2000000 1440000 180000 -high_20 1.000000 0.000000 1500000 2000000 1680000 180000 -low_10 1.000000 0.000000 1000000 2000000 1800000 180000 -low_20 1.000000 0.000000 1500000 2000000 1980000 180000 -high_20 1.000000 0.000000 2000000 2500000 2180000 180000 -high_10 1.000000 0.000000 2000000 3000000 2360000 180000 -high_20 1.000000 0.000000 2500000 3000000 2680000 180000 -high_5 1.000000 0.000000 2000000 4000000 2720000 180000 -low_1 1.000000 0.000000 0 10000000 2880000 180000 -high_20 1.000000 0.000000 3000000 3500000 3180000 180000 -high_10 1.000000 0.000000 3000000 4000000 3360000 180000 -low_5 1.000000 0.000000 2000000 4000000 3420000 180000 -high_20 1.000000 0.000000 3500000 4000000 3680000 180000 -low_10 1.000000 0.000000 3000000 4000000 3780000 180000 -low_20 1.000000 0.000000 3500000 4000000 3960000 180000 -high_20 1.000000 0.000000 4000000 4500000 4180000 180000 -high_10 1.000000 0.000000 4000000 5000000 4360000 180000 -high_20 1.000000 0.000000 4500000 5000000 4680000 180000 -high_5 1.000000 0.000000 4000000 6000000 4720000 180000 -low_20 1.000000 0.000000 3000000 3500000 4860000 180000 -high_20 1.000000 0.000000 5000000 5500000 5180000 180000 -high_10 1.000000 0.000000 5000000 6000000 5360000 180000 -low_5 1.000000 0.000000 4000000 6000000 5400000 180000 -high_20 1.000000 0.000000 5500000 6000000 5680000 180000 -low_10 1.000000 0.000000 5000000 6000000 5760000 180000 -low_20 1.000000 0.000000 5500000 6000000 5940000 180000 -high_20 1.000000 0.000000 6000000 6500000 6180000 180000 -high_10 1.000000 0.000000 6000000 7000000 6360000 180000 -high_20 1.000000 0.000000 6500000 7000000 6680000 180000 -high_5 1.000000 0.000000 6000000 8000000 6720000 180000 -low_20 1.000000 0.000000 5000000 5500000 6840000 180000 -high_20 1.000000 0.000000 7000000 7500000 7180000 180000 -high_10 1.000000 0.000000 7000000 8000000 7360000 180000 -low_5 1.000000 0.000000 6000000 8000000 7380000 180000 -high_20 1.000000 0.000000 7500000 8000000 7680000 180000 -low_10 1.000000 0.000000 7000000 8000000 7740000 180000 -low_20 1.000000 0.000000 7500000 8000000 7920000 180000 -high_20 1.000000 0.000000 8000000 8500000 8180000 180000 -high_10 1.000000 0.000000 8000000 9000000 8360000 180000 -high_20 1.000000 0.000000 8500000 9000000 8680000 180000 -high_5 1.000000 0.000000 8000000 10000000 8720000 180000 -low_20 1.000000 0.000000 7000000 7500000 8820000 180000 -low_5 1.000000 0.000000 8000000 10000000 9000000 180000 -high_20 1.000000 0.000000 9000000 9500000 9180000 180000 -high_10 1.000000 0.000000 9000000 10000000 9360000 180000 -high_20 1.000000 0.000000 9500000 10000000 9680000 180000 -low_10 1.000000 0.000000 9000000 10000000 9720000 180000 -low_20 1.000000 0.000000 9500000 10000000 9900000 180000 -low_20 1.000000 0.000000 9000000 9500000 10080000 180000 -low_10 1.000000 0.000000 8000000 9000000 10260000 180000 -low_20 1.000000 0.000000 8500000 9000000 10440000 180000 -low_20 1.000000 0.000000 8000000 8500000 10620000 180000 -low_20 1.000000 0.000000 6500000 7000000 10800000 180000 -low_10 1.000000 0.000000 6000000 7000000 10980000 180000 -low_20 1.000000 0.000000 6000000 6500000 11160000 180000 -low_10 1.000000 0.000000 4000000 5000000 11340000 180000 -low_20 1.000000 0.000000 4500000 5000000 11520000 180000 -low_20 1.000000 0.000000 4000000 4500000 11700000 180000 -low_20 1.000000 0.000000 2500000 3000000 11880000 180000 -low_10 1.000000 0.000000 2000000 3000000 12060000 180000 -low_20 1.000000 0.000000 2000000 2500000 12240000 180000 -low_20 1.000000 0.000000 1000000 1500000 12420000 180000 -low_20 1.000000 0.000000 500000 1000000 12600000 180000 -low_10 1.000000 0.000000 0 1000000 12780000 180000 -low_20 1.000000 0.000000 0 500000 12960000 180000 diff --git a/TAO/examples/Simulator/Event_Supplier/svc.conf b/TAO/examples/Simulator/Event_Supplier/svc.conf deleted file mode 100644 index 34bf7564c6e..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/svc.conf +++ /dev/null @@ -1,5 +0,0 @@ -# $Id$ -# - -static Server_Strategy_Factory " -ORBdemuxstrategy dynamic -ORBtablesize 128" - diff --git a/TAO/examples/Simulator/Makefile b/TAO/examples/Simulator/Makefile deleted file mode 100644 index eb49c16d451..00000000000 --- a/TAO/examples/Simulator/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = Event_Supplier \ - DOVEMIB \ - DOVEBrowser - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU diff --git a/TAO/examples/Simulator/NavWeap.idl b/TAO/examples/Simulator/NavWeap.idl deleted file mode 100644 index ded20426e61..00000000000 --- a/TAO/examples/Simulator/NavWeap.idl +++ /dev/null @@ -1,73 +0,0 @@ -// $Id$ - -// ========================================================================================================= -// -// = FILE -// NavWeap.idl -// -// = DESCRIPTION -// Navigation and Weapon structs for the DOVE/EventService demo. - -// = AUTHORS -// Michael Kircher -// Modified by -// Chris Gill -// ========================================================================================================= - -#include "TimeBase.idl" - -struct Navigation { - long position_latitude; - long position_longitude; - unsigned long altitude; - long heading; - long roll; - long pitch; - // common part - double utilization; - double overhead; - TimeBase::TimeT arrival_time; - TimeBase::TimeT deadline_time; - TimeBase::TimeT completion_time; - TimeBase::TimeT computation_time; - unsigned long criticality; - unsigned long update_data; -}; - - - -struct Weapons { - - unsigned long number_of_weapons; - string weapon1_identifier; - unsigned long weapon1_status; - string weapon2_identifier; - unsigned long weapon2_status; - string weapon3_identifier; - unsigned long weapon3_status; - string weapon4_identifier; - unsigned long weapon4_status; - string weapon5_identifier; - unsigned long weapon5_status; - // common part - double utilization; - double overhead; - TimeBase::TimeT arrival_time; - TimeBase::TimeT deadline_time; - TimeBase::TimeT completion_time; - TimeBase::TimeT computation_time; - unsigned long criticality; - unsigned long update_data; -}; - -interface NavWeapTerminator - // = DESCRIPTION - // This interface specifies a single operation, used - // to shut down the orb. This allows the orb to - // be shut down cleanly, from within a synchronously - // servant dispatched servant, but with the request - // originating from another thread. -{ - void shutdown (); -}; - diff --git a/TAO/examples/Simulator/README b/TAO/examples/Simulator/README deleted file mode 100644 index eaa65807e63..00000000000 --- a/TAO/examples/Simulator/README +++ /dev/null @@ -1,255 +0,0 @@ -$Id$ - -Documentation for the Simulator/DOVE demo - -Purposes: 1) To show how the event service can be used to as a medium to - transport monitoring events including data. - 2) To show how objects implemented in Java can access/can be accessed - by TAO objects. - 3) To show the feasability of the DOVE framework as mentioned in - http://www.cs.wustl.edu/~schmidt/dove.html and - http://www.cs.wustl.edu/~schmidt/DOVE_and_LifeCycleService.ps.gz - 4) To serve as a visual demonstration tool for scheduling and event - service configurations and applications. - -Application: Using the Event Service as distribution media, event - consumers and event suppliers are needed. The central - element in the Event Service is a so called, event channel. - The event channel transports events from suppliers to - consumers. Filtering can be activated. - The mapping to DOVE is the following: - Event Channel - DOVE Agent - DOVE Browser - and/or DOVE MIB - Monitor/Event Consumer - Event Supplier - Monitored Application (here - an object supplying recorded scheduling - and dummy information) - Logging Supplier - Monitored Application (here an object supplying - creation times and updating a flag to record - actual EC arrival and dispatching times in - the scheduling information data structure - viewed by the browser) - Dual EC Supplier - Monitored Application (here an object supplying - separate Navigation and Weapons data sets - in separate generating threads, which use - separate push - viewed by the browser) - -Implementation: - The events contain structs with avionics information. - They are generated by the monitored application and are - consumed by the DOVE Browser, a JAVA applet or application running - on a different machine and/or location. The collected metrics are - displayed in the Browser. - - When an event arrives from the event supplier, a consumer inspects - the data field in the event. The field is a CORBA::Any, so - no assumptions can be made about the kind of data in the event. - - A C++ Supplier pushes events containing a - navigation or weapons struct to the Event Service. - The latency and other machine metrics are read from - a file, which contains recorded scheduling information. - The Event Service dispatches the events to any number of - DOVE Browsers/MIBs which are implemented using JAVA/C++. - The DOVE Browser extracts the data of the structs and dispatches - it to various Visualization Components. - - -For more information refer to: - $TAO_ROOT/docs/releasenotes/index.html - - -Requirements: - * C++ compiler - * ACE/TAO environment, - * Visibroker 3.2+ for Java - -!!RELEASE CHANGES: - - the file make.bat has been expanded for use on NT - - - the file ss has been moved one level up and it got - renamed to "start_services". So use it to start the - naming and event service. - - - it is no longer required to start the scheduling service - - - the file make.bat has been expanded and refined for use on NT - The following make targets are defined: - make clean - removes all class files and idl generated java files - make realclean - updates idl files, does a make clean - make vb - makes the browser, using visibroker for java - make vbjava - remakes only the java files using vbjc - make jdk - makes the browser, using jdk - (the demo does not currently work with jdk) - -Parts of the Demo: - - * DOVE Browser (implemented in Java using Visibroker 3.2/3.3 for Java) - - * Event Supplier, can be seen as a monitored object, called - DOVE Application (implemented in C++ using TAO) - - * Logging Supplier, can be seen as a monitored object, called - DOVE Application (implemented in C++ using TAO) - rather than - providing canned simulation data, allows the actual EC arrival and - dispatching information to be recorded in the scheduling data - - * Dual EC Supplier, can be seen as a monitored object, called - DOVE Application (implemented in C++ using TAO) - provides a paired - event and scheduling services for control over event prioritization. - - * DOVE MIB, storing event data on persistent storage and keeping - track of statistical data (implemented in C++ using TAO) - -Files: - Common: - NavWeap.idl - IDL definition of the Weapons and Navigation structures - README - this readme file - - Event Supplier: - (in directory $TAO_ROOT/orbsvcs/tests/Simulator/Event_Supplier/) - DualEC_Sup.cpp - Dual EC Event Supplier - DualEC_Sup.h - Dual EC Event Supplier class definitions - Event_Sup.cpp - Event Supplier - Event_Sup.h - Event Supplier class definition - Logging_Sup.cpp - Event Supplier for EC logging - Logging_Sup.h - Event Supplier for EC logging class definition - Makefile - Event Supplier Makefile - (Event_Con.cpp, Event_Con.h - Event Consumer for testing) - svc.conf - helper file - - DOVEBrowswer: - (in directory $TAO_ROOT/orbsvcs/tests/Simulator/DOVEBrowser/) - AnswerEvent.java - Having my own Events - AnswerListener.java - Listener for these Events - DataHandler.java - Base class for all Data Handlers - DemoCore.java - Core of the Demo to connect Observables - with Observers - DemoObservable.java - Base class for Observables - DoubleVisComp.java - Visualization Component - (will be a JavaBean) for Doubles - DOVEBrowser.java - Wrapper around DemoCore - DOVEBrowserApplet.java - Applet wrapper around DemoCore - MTQueue.java - synchronized queue for multi-threaded access - MTDataHandlerAdapter.java - uses the Adapter and Active Object - patterns to provide early demuxing - of ORB upcalls onto multiple - synchronized queues managed by - data handler threads - NS_Resolve.java - Resolving the inital reference - to the Naming Service - NavWeapDataHandler.java - Specialized Data Handler for - Navigation and Weapons data - NavigationVisComp.java - Visualization Component - (... JavaBean) for Navigation data - ObservablesDialog.java - Dialog window for connecting - Observables with OBservers - Properties.java - constant definitons - PushConsumer.java - Event Service Push Consumer - PushConsumerFactory.java - Factory for the Consumer - Queue.java - Queue for the DoubleVisComp - VisComp.java - Base class for the Visualization Components - WeaponsVisComp.java - Visualization Component for Weapons - - - DOVE MIB: - (in directory $TAO_ROOT/orbsvcs/tests/Simulator/DOVEMIB/) - DOVEMIB.[cpp,h] - Core routines, connection to the - Event Channel - Node.[cpp,h] - Nodes used by the AnyAnalyser - AnyAnalyser.[cpp,h] - Anaylser for CORBA anys, storing the - contained types in persistent storage - NodeVisitor.h - base class definition of a Visitor - PrintVisistor.[cpp,h] - Able to print a given tree - of type nodes, which is - generated by the Any analyser - - -Compiling: - Common: - Be sure that you have _not_ built with - TAO_LACKS_EVENT_CHANNEL_ANY enabled. - - And, be sure that the following are built: - - "compile $TAO_ROOT/orbsvcs/orbsvcs" - "compile $TAO_ROOT/orbsvcs/Event_Service" - "compile $TAO_ROOT/orbsvcs/Naming_Service" - "compile $TAO_ROOT/orbsvcs/Scheduling_Service" - - UNIX platforms: - - Then, just run "make" in top level Simulator - directory. The DOVEBrowser requires VisiJava's - idl2java and vbjc. If they are not on your PATH, - or in the default location specified in - DOVEBrowser/Makefile, you'll have to specify the - location in the "make" invocation. For example: - - make VISIJAVA_BIN=/usr/local/VisiJava-3.2 - - NT: - Open the Event_Sup.dsw workspace found in the - Event_Supplier directory in MSVC++ 5.0+ and build - the Event_Sup, Logging_Sup, and DualEC_Sup projects. - - From a console window, change to the DOVEBrowser - directory and run "make vb" to build the browser using - Visibroker. The first time you do this, you will need to - run "make setup" to copy the correct files into the directory. - You may also want to do a "make realclean" each time you - rebuild in case there were changes to IDL files. - -Starting: - - Start in the following order on different ORB ports: - * Naming Service - * Event Service - - You can use "start_services" on Unix machines. The - script is located in $TAO_ROOT/orbsvcs/tests. - - Event Supplier (simulation data): - Event_Sup -f MLF.dat -m 1000 - - // -m 1000 for 1000 events sent by the supplier - // -f MLF.dat to read scheduling data from this file as input - - - Logging Supplier (live latency and latency jitter data): - Logging_Sup -f MLF.dat -m 1000 - - // -m 1000 for 1000 events sent by the supplier - // -f MLF.dat to read operation names from this file as input - - - Dual EC Supplier (live latency and jitter data over two channels): - DualEC_Sup -f MLF.dat -m 1000 - - // -m 1000 for 1000 events sent by the supplier - // -f MLF.dat to read operation names from this file as input - - DOVE Browser: - vbj DOVEBrowser - (also supported: vbj DOVEBrowser -ORBnameserviceior - vbj DOVEBrowser -ORBnameserviceport - vbj DOVEBrowser -dualECdemo) - - or - - gatekeeper - cd /visigenic/vbroker/lib - jar xf vbjorb.jar - jar xf vbjtools.jar - "setting the Naming Service IOR in the DOVEBrowser.html file" - appletviewer DOVEBrowser.html - - - - DOVE MIB: - DOVEMIB -f myfile -m 100 - - // -m 100 for storing the next 100 events - // -f - diff --git a/TAO/examples/TAO_Examples.dsw b/TAO/examples/TAO_Examples.dsw deleted file mode 100644 index f106bf58547..00000000000 --- a/TAO/examples/TAO_Examples.dsw +++ /dev/null @@ -1,605 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Callback Quoter Consumer"=.\Callback_Quoter\Consumer.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Callback Quoter Notifier"=.\Callback_Quoter\Notifier.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Callback Quoter Supplier"=.\Callback_Quoter\Supplier.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Event_Comm Consumer"=.\Event_Comm\Consumer.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Event_Comm Notifier"=.\Event_Comm\Notifier.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Event_Comm Supplier"=.\Event_Comm\Supplier.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "OBV Typed Events Client"=.\OBV\Typed_Events\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "OBV Typed Events Server"=.\OBV\Typed_Events\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA Adapter Activator Server"=.\POA\Adapter_Activator\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name POA Generic Servant DLL - End Project Dependency -}}} - -############################################################################### - -Project: "POA DSI Client"=.\POA\DSI\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA DSI Server"=.\POA\DSI\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA Default Servant Client"=.\POA\Default_Servant\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA Default Servant Server"=.\POA\Default_Servant\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA Explicit Activation Server"=.\POA\Explicit_Activation\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name POA Generic Servant DLL - End Project Dependency -}}} - -############################################################################### - -Project: "POA FindPOA"=.\POA\FindPOA\FindPOA.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA Forwarding Client"=.\POA\Forwarding\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA Forwarding Server"=.\POA\Forwarding\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA Generic Servant Client"=.\POA\Generic_Servant\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name POA Generic Servant DLL - End Project Dependency -}}} - -############################################################################### - -Project: "POA Generic Servant DLL"=.\POA\Generic_Servant\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA Loader Server"=.\POA\Loader\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name POA Generic Servant DLL - End Project Dependency -}}} - -############################################################################### - -Project: "POA NewPOA"=.\POA\NewPOA\NewPOA.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA On Demand Activation Server"=.\POA\On_Demand_Activation\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name POA Generic Servant DLL - End Project Dependency -}}} - -############################################################################### - -Project: "POA On Demand Loading Server"=.\POA\On_Demand_Loading\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name POA Generic Servant DLL - End Project Dependency -}}} - -############################################################################### - -Project: "POA Reference Counted Servant Server"=.\POA\Reference_Counted_Servant\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA RootPOA"=.\POA\RootPOA\RootPOA.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA TIE Client"=.\POA\TIE\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "POA TIE Server"=.\POA\TIE\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Persistent Grid Client Files"=".\Persistent_Grid\Persistent_Grid_Client_Files.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Persistent Grid Second Client FIles"=".\Persistent_Grid\Persistent_Grid_Second_Client_Files.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Persistent Grid Server FIles"=".\Persistent_Grid\Persistent_Grid_Server_Files.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Quoter Client"=.\Quoter\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Quoter Factory Finder"=.\Quoter\Factory_Finder.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Quoter Generic Factory"=.\Quoter\Generic_Factory.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Quoter Server"=.\Quoter\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Bank Client"=.\Simple\bank\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Bank Server"=.\Simple\bank\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Chat Client"=.\Simple\chat\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Chat Server"=.\Simple\chat\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Echo Client"=.\Simple\echo\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Echo Server"=.\Simple\echo\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Grid Client"=.\Simple\grid\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Grid Server"=.\Simple\grid\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Time Client"=.\Simple\time\client.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Time Date Client"=".\Simple\time-date\client.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name Simple Time Date Library - End Project Dependency -}}} - -############################################################################### - -Project: "Simple Time Date Library"=".\Simple\time-date\Time_Date.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Simple Time Date Server"=".\Simple\time-date\server.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name Simple Time Date Library - End Project Dependency -}}} - -############################################################################### - -Project: "Simple Time Server"=.\Simple\time\server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/man/man1/TAO_Concurrency_Service.1 b/TAO/man/man1/TAO_Concurrency_Service.1 deleted file mode 100644 index 27d277addfe..00000000000 --- a/TAO/man/man1/TAO_Concurrency_Service.1 +++ /dev/null @@ -1,53 +0,0 @@ -.\" Process this file with -.\" groff -man -Tascii TAO_Concurrency_Service.1 -.\" -.\" $Id$ -.\" -.TH TAO_Concurrency_Service 1 "April 1999" "CORBA Tools" -.SH NAME -TAO_Concurrency_Service \- The TAO Concurrency Service -.SH SYNOPSIS -.B TAO_Concurrency_Service -.B [ -\-d -.B ] -.B [ -\-s -.B ] -.B [ -\-o -IOR_output_file -.B ] -.SH DESCRIPTION -.B TAO_Concurrency_Service -is an implentation of the CORBA Concurrency Service. It provides a mechanism -that allows clients to acquire and release various types of locks in a -distributed system. -.SH OPTIONS -.TP -.B \-d -enable debugging -.TP -.B \-s -prevent the concurrency server from using the naming server -.TP -.BI \-o IOR_output_file -output the IOR of the lock set factory to a specified file -.SH BUGS -(blank for now) -.SH AUTHORS -.IP -Torben Worm -.IP -Ossama Othman -.SH "SEE ALSO" -.BR TAO (7), -.BR TAO_CosEvent_Service (1), -.BR TAO_Event_Service (1), -.BR TAO_ImplRepo_Service (1), -.BR TAO_LifeCycle_Service (1), -.BR TAO_Logging_Service (1), -.BR TAO_Naming_Service (1), -.BR TAO_Scheduling_Service (1), -.BR TAO_Time_Service (1), -.BR TAO_Trading_Service (1) diff --git a/TAO/man/man1/TAO_CosEvent_Service.1 b/TAO/man/man1/TAO_CosEvent_Service.1 deleted file mode 100644 index 2a0830d8781..00000000000 --- a/TAO/man/man1/TAO_CosEvent_Service.1 +++ /dev/null @@ -1,88 +0,0 @@ -.\" Process this file with -.\" groff -man -Tascii TAO_CosEvent_Service.1 -.\" -.\" $Id$ -.\" -.TH TAO_CosEvent_Service 1 "April 1999" "CORBA Tools" -.SH NAME -TAO_CosEvent_Service \- The TAO COS compliant Event Service -.SH SYNOPSIS -.B TAO_CosEvent_Service -.B [ -.I OPTIONS -.B ] -.SH DESCRIPTION -.B TAO_CosEvent_Service -is a COS compilant Event Service. The service is registered with the naming -service with the name "CosEventService." It exposes the EventChannel interface -which can be used by suppliers and consumers to send and receive events. - -TAO_Naming_Service (1) and TAO_Event_Service (1) must be running in order to -run the Event Channel. -.SH OPTIONS -.TP -.BI \-n \ COS_Event_Service_Name -specify the name with which to register the Event Service -.TP -.BI \-r \ Real_Time_Event_Service_Name -specify the name with which to -.I look -for the RtEC -.TP -.BI \-s \ global | local -specify if the scheduler is -.I local -or -.I global - -If the scheduler option is -.I global -then the naming service is to locate the scheduling service with the name -"ScheduleService." - -If the scheduler is -.I local -then a new scheduling service is created and started. -.I local -is the default. -.TP -.B \-l -specify that a local Real Time Event Channel (RtEC). - -If you specify this option but no RtEC is already running, then the -TAO_CosEvent_Service starts its oewn RtEC. -.SH FILTERING OPTIONS -The following options are used to introduce a filtering mechanism for the Event -Channel based on event types and source IDs. -.TP -.BI \-e \ "EventType_1\ EventType_2\ ..." -specify the event types for the ConsumerQOS. The ConsumerQOS is specified -when the RtEC is being set up. - -The event types should be >= ACE_ES_EVENT_UNDEFINED = 16. For example, \-e -"17 20 40" specifies that event types with IDs 17, 20 and 40 should be passed -to the consumers. -.TP -.BI \-o \ "EventSourceID_1\ EventSourceID_2\ ..." -specify the source IDs for the ConsumerQOS. -.TP -.BI \-p \ "sourceID\ EventTypeID" -specify a sourceID and event type pair for the Supplier QOS. -.SH BUGS -(blank for now) -.SH AUTHORS -.IP -Pradeep Gore -.IP -Ossama Othman -.SH "SEE ALSO" -.BR TAO (7), -.BR TAO_Concurrency_Service (1), -.BR TAO_Event_Service (1), -.BR TAO_ImplRepo_Service (1), -.BR TAO_LifeCycle_Service (1), -.BR TAO_Logging_Service (1), -.BR TAO_Naming_Service (1), -.BR TAO_Scheduling_Service (1), -.BR TAO_Time_Service (1), -.BR TAO_Trading_Service (1) diff --git a/TAO/man/man1/TAO_Event_Service.1 b/TAO/man/man1/TAO_Event_Service.1 deleted file mode 100644 index 973e3cabca0..00000000000 --- a/TAO/man/man1/TAO_Event_Service.1 +++ /dev/null @@ -1,58 +0,0 @@ -.\" Process this file with -.\" groff -man -Tascii TAO_Event_Service.1 -.\" -.\" $Id$ -.\" -.TH TAO_Event_Service 1 "April 1999" "CORBA Tools" -.SH NAME -TAO_Event_Service \- The TAO Real-time Event Service -.SH SYNOPSIS -.B TAO_Event_Service -.B [ -.I OPTIONS -.B ] -.SH DESCRIPTION -.B TAO_Event_Service - -.SH OPTIONS -.TP -.BI \-n \ service_name -specify the name with which to register the Event Service -.TP -.BI \-s \ global | local -specify if the scheduler is -.I local -or -.I global - -If the scheduler option is -.I global -then the naming service is to locate the scheduling service with the name -"ScheduleService." - -If the scheduler is -.I local -then a new scheduling service is created and started. -.I local -is the default. -.TP -.B \-t \ null_filtering | reactive | old_reactive | old_mt -(FIXME: NEED OPTION DESCRIPTIONS) -.SH BUGS -(blank for now) -.SH AUTHORS -.IP -Carlos O'Ryan -.IP -Ossama Othman -.SH "SEE ALSO" -.BR TAO (7), -.BR TAO_Concurrency_Service (1), -.BR TAO_CosEvent_Service (1), -.BR TAO_ImplRepo_Service (1), -.BR TAO_LifeCycle_Service (1), -.BR TAO_Logging_Service (1), -.BR TAO_Naming_Service (1), -.BR TAO_Scheduling_Service (1), -.BR TAO_Time_Service (1), -.BR TAO_Trading_Service (1) diff --git a/TAO/man/man1/tao_idl.1 b/TAO/man/man1/tao_idl.1 deleted file mode 100644 index d2a9466e4c3..00000000000 --- a/TAO/man/man1/tao_idl.1 +++ /dev/null @@ -1,167 +0,0 @@ -.\" Process this file with -.\" groff -man -Tascii tao_idl.1 -.\" -.\" $Id$ -.\" -.TH tao_idl 1 "DECEMBER 1998" "CORBA Tools" "User Manuals" -.SH NAME -tao_idl \- Compile IDL sources for use with the ACE ORB (TAO) -.SH SYNOPSIS -.B tao_idl -.B [ -.I OPTION -.B ... ] -filename -.SH DESCRIPTION -.B tao_idl -is a program that is used to compile -.I IDL -source code. The IDL compiler generates 6 files from each .idl file, the file -names are obtained by taking the IDL basename and appending C.h, C.i, C.cpp, -S.h, S.i and S.cpp; the client stubs are declared in the C.h file, the -skeletons in the S.h file. Please see the Options list on how to get different -suffixes for these files. - -Both clients and servers should link against the object files for the stubs -and skeletons, this is needed to transparently support collocated objects. - -The server skeleton can make use of different lookup strategies to match the -incoming operation with the correct operation at the servant. Dynamic Hashing -and Perfect Hashing are the two different operation lookup strategies that are -currently supported in tao_idl. By default, tao_idl tries to use Perfect -Hashing strategy. If supported and available, gperf generates the lookup -methods for this strategy. -.SH OPTIONS -.TP -.B \-V -the compiler printouts its version and exits -.TP -.BI "\-Wb," "option_list" -pass options to the backend -.IP -.BI "export_macro=" "macro_name" -The compiler will emit macro_name right after each class or extern keyword, -this is needed for Windows/NT that requires special directives to export -symbols from DLLs, usually the definition is just a space on unix platforms. -.IP -.BI "export_include=" "include_path" -The compiler will generate code to include include_path at the top of the -client header, this is usually a good place to define the export macro. -.TP -.B \-E -only invoke the preprocessor -.TP -.BI "-Wp," "option_list" -pass options to the preprocessor -.TP -.BI "\-D" "macro_definition" -passed to the preprocessor -.TP -.BI "\-U" "macro_name" -passed to the preprocessor -.TP -.BI "\-I" "include_path" -passed to the preprocessor -.TP -.BI "\-A" "assertion" -passed to the preprocessor -.TP -.B \-Y -passed to the preprocessor -.TP -.B "\-H perfect_hash" -To specify the IDL compiler to generate skelton code that uses perfect hashed -operation lookup strategy, which is the default strategy. Perfect hashing uses -gperf program, to generate lookup methods. -.TP -.B "\-H dynamic_hash" -To specify the IDL compiler to generate skelton code that uses dynamic hashed -operation lookup strategy. -.TP -.B "\-H binary_search" -To specify the IDL compiler to generate skelton code that uses binary search -based operation lookup strategy. -.TP -.B "\-H linear_search" -To specify the IDL compiler to generate skelton code that uses linear search -based operation lookup strategy. -.TP -.B "\-in" -To generate #include statements with <>'s for the standard include -files (e.g. tao/corba.h) indicating them as non-changing files -.TP -.B "\-ic" -To generate #include statements with ""s for changing standard include -files (e.g. tao/corba.h). -.TP -.B \-g -To specify the path for the perfect hasing program (GPERF). Default is -$ACE_ROOT/bin/gperf or whatever the ACE_GPERF macro was defined to be during -compilation of TAO. -based operation lookup strategy. -.TP -.B \-o -To specify the output directory to IDL compiler as to where all the -IDL\-compiler\-generated files are to be put. By default, all the files are -put in the current directory from where -.B tao_idl -is called. -.TP -.B \-hc -Client's header file name ending. Default is "C.h". -.TP -.B \-hs -Server's header file name ending. Default is "S.h". -.TP -.B \-hT -Server's template header file name ending. Default is "S_T.h". -.TP -.B \-cs -Client stub's file name ending. Default is "C.cpp". -.TP -.B \-ci -Client inline file name ending. Default is "C.i". -.TP -.B \-ss -Server skeleton file name ending. Default is "S.cpp". -.TP -.B \-sT -Server template skeleton file name ending. Default is "S_T.cpp". -.TP -.B \-si -Server inline skeleton file name ending. Default is "S_i.cpp". -.TP -.B \-st -Server's template inline file name ending. Default is "S_T.i". -.TP -.B \-Gc -Generate stubs and skeletons using compiled marshaling. -.TP -.B \-Gi -Generate stubs and skeletons using interpretive marshaling (default for now). -.TP -.B \-Ge -Generate code that uses C++ exceptions (unimplemented as yet). -.TP -.B \-Gt -Generate optimized TypeCodes (unimplemented as yet). -.TP -.B \-Sa -Suppress generation of the -.I Any -operators -.TP -.B \-St -Suppress generation of the -.I TypeCodes -.SH BUGS -(blank for now) -.SH AUTHORS -.IP -Carlos O'Ryan -.IP -Ossama Othman -performed man page conversion from original HTML source -.SH "SEE ALSO" -.BR gperf (1), -.BR TAO (7) diff --git a/TAO/man/man7/TAO.7 b/TAO/man/man7/TAO.7 deleted file mode 100644 index 62439260be5..00000000000 --- a/TAO/man/man7/TAO.7 +++ /dev/null @@ -1,386 +0,0 @@ -.\" Process this file with -.\" groff -man -Tascii TAO.7 -.\" -.\" $Id$ -.\" -.TH TAO 7 "April 1999" "CORBA Tools" -.SH NAME -TAO \- The ACE ORB -.SH SYNOPSIS -.B TAO_Application -.B [ -.I TAO OPTIONS -.B ] -.SH DESCRIPTION -.B TAO -is a high performance real-time -.SM CORBA -.SM ORB. -All applications that use TAO can take advantage of the environment variables -and command line options described in this manual page. -.SH TAO ENVIRONMENT VARIABLES -.TP -.B NameServiceIOR -Specifies which IOR the TAO Naming Service is listening on. -.TP -.B NameServicePort -Specifies which port the TAO Naming Service is listening on. -.TP -.B TradingServiceIOR -Specifies which IOR the TAO Trading Service is listening on. -.TP -.B TradingServicePort -Specifies which port the Trading Service is listening on. -.TP -.B TAO_ORB_DEBUG -Enables TAO debugging mode. -.SH TAO OPTIONS -The following components can be tuned via options: -.IP -.B CORBA::ORB -.IP -.B TAO_Resource_Factory -.IP -.B TAO_Default_Server_Strategy_Factory -.IP -.B TAO_Default_Client_Strategy_Factory -.TP -.B CORBA::ORB -Typically, CORBA::ORB options are set via command line parameters, while the -rest of the options are set via the service configurator -.B (svc.conf) -file. -.IP -.BI \-ORBsvcconf \ config_file_name -\ \ Specifies the name of the file from which it will read dynamic service -configuration directives ala ACE's Service Configurator. -.IP -.BI \-ORBsvcconfdirective \ directivestring -\ \ Specifies a service configuration directive, which is passed to ACE's -Service Configurator. -.IP -.B \-ORBdaemon -\ \ Specifies that the ORB should daemonize itself. -.IP -.BI \-ORBdebug -\ \ Turns on the output of debugging messages within ACE's Service -Configurator componentry. -.IP -.BI \-ORBdebuglevel \ level -\ \ Control the level of debugging in the ORB. Higher number produce more -output (try 10). -.IP -.BI \-ORBhost \ hostname -\ \ Tells the Object Adapter to listen for requests on the interface associated with the host named -.I hostname. -.IP -.BI \-ORBport \ portspec -\ \ Tells the Object Adapter to listen for requests on the port specified by -.IR portspec , -which can be a name as found in -.B /etc/services -or a number. The default is 10013. -.IP -.BI \-ORBobjrefstyle \ IOR | URL -\ \ Specifies the user-visible style of object references. -.B IOR -is the traditional nonsensical object reference. -.B URL -makes the object reference look more like a URL. -.IP -.BI \-ORBtablesize \ object_table_size -\ \ Specifies the size of the object table as a positive, non-zero integer. If -not specified, the default is 64. -.IP -.BI \-ORBrcvsock \ receive_qabuffer_size -\ \ Specify the size of the socket receive buffer as a positive, non-zero -integer. If not specified, the system-dependent default is used. -.IP -.BI \-ORBsndsock \ send_buffer_size -\ \ Specify the size of the socket send buffer as a positive, non-zero -integer. If not specified, the system-dependent default is used. -.IP -.BI \-ORBnameserviceport \ portspec -\ \ Specifies which port the Naming Service is listening on. -.IP -.BI \-ORBnameserviceior \ IOR -\ \ Specifies the -.I IOR -for the Naming Service. -.IP -.BI \-ORBtradingserviceior \ IOR -\ \ Specifies the -.I IOR -for the Trading Service. -.IP -.BI \-ORBtradingserviceport \ portspec -\ \ Specifies which port the Trading Service is listening on. -.IP -.BI \-ORBcollocation \ yes | no -\ \ Specifies the use of collocation object optimization. Default is -.IR yes . -.IP -.BI \-ORBpreconnect \ host:port -.BR [, -.I host:port -.RB ... ] -\ \ Pre-establishes a blocking connection to each listed host:port combination. -If a connection cannot be established, a warning is announced and it continues -with the next listed. Listing the same combination multiple times will properly -establish multiple connections to that endpoint. -.IP -.BI \-ORBcdrtradeoff \ maxsize -\ \ Control the strategy to tradeoff between copy vs no copy marshalling of -octet sequences. If an octet sequence is smaller than maxsize and the current -message block contains enough space for it the octet sequence is copied instead -of appended to the CDR stream. -.IP -.B \-ORBgioplite -\ \ Enable a lightweight version of the GIOP protocol. This protocol removes -some of the fields in the GIOP and the Request header. It only works on -homogenous environments. -.IP -.BI \-ORBdotteddecimaladdresses \ boolean -(0/1) Use the dotted decimal notation for addresses. -.IP -.BI \-ORBInitRef\ ObjectId=IOR -\ \ Allows specification of an arbitrary object reference for an initial -service. The IOR could be in the one of the following formats: -.BR OMG\ IOR , \ URL \ or \ iioploc -form. -.B iioploc -is a multiple end-point IORs understood by -.B string_to_object\ () -and used as a boot-strapping mechanism by -.BR resolve_initial_references\ () . -The mappings specified through this argument override the -.B orb-install-time -defaults. -.IP -.BI \-ORBDefaultInitRef \ IOR_prefix -\ \ This argument allows resolution of initial references not explicitly -specified with -ORBInitRef. It requires a URL prefix that, after appending a -slash -.B '/' -and a simple object key, forms a new URL to identify an initial object -reference. The URL prefix format currently supported is iioploc. -.TP -.B TAO_Resource_Factory -.IP -.BI \-ORBresources \ global | tss -\ \ Specify whether each thread uses a global or a thread\-specific ( -.I tss -) instance for the resources it returns. -.IP -.BI \-ORBpoa \ global | tss -\ \ Specify whether each thread uses a global or a thread\-specific ( -.I tss -) instance for the Root POA. -.IP -.BI \-ORBreactorlock \ token | null -\ \ Specify whether the ORB reactor is thread\-safe ( -.I token -) or not ( -.I null -). Default is -.IR token . -.IP -.BI \-ORBcoltable \ global | orb -\ \ Specify whether each ORB uses a global or a per\-ORB ( -.I orb -) collocation table. -.IP -.BI \-ORBinputcdrallocator \ global | tss -\ \ Specify whether the ORB uses a global or a per\-thread ( -.I tss -) allocator for the incoming CDR buffers. Though -.I tss -should give the optimal performance; we made the default -.IR global . -TAO optimizations for octet sequences will not work when returning that data -type if the allocator is -.IR tss . -Using a -.I global -allocator also allows the users to take advantage of the TAO octet sequence -extensions to preserve the buffer after the upcall. -.TP -.B TAO_Default_Server_Strategy_Factory -.IP -.IR Note : -.B \-ORBdemuxstrategy -flag has been changed to -.B \-ORBsystemidpolicydemuxstrategy -and -.BR \-ORBuseridpolicydemuxstrategy . -.IP -.IR Note : -.B \-ORBtablesize -flag has been changed to -.BR \-ORBactiveobjectmapsize . -.IP -.BI \-ORBconcurrency \ reactive | thread\-per\-connection -\ \ Specify which concurrency strategy to use. Range of values is -.I reactive -for -a purely Reactor\-driven concurrency strategy or -.I thread\-per\-connection -for creating a new thread to service each connection. -.IP -.BI \-ORBactiveobjectmapsize \ active_object_map_size -\ \ Specify the size of the active object map. If not specified, the default -value is 64. -.IP -.BI \-ORBuseridpolicydemuxstrategy \ dynamic | linear -\ \ Specify the demultiplexing lookup strategy to be used with the user ID -policy. This option defaults to use the -.I dynamic -strategy. -.IP -.BI \-ORBsystemidpolicydemuxstrategy \ dynamic | linear | active -\ \ Specify the demultiplexing lookup strategy to be used with the system ID -policy. This option defaults to use the -.I active -strategy. -.IP -.BI \-ORBuniqueidpolicyreversedemuxstrategy \ dynamic | linear -\ \ Specify the reverse demultiplexing lookup strategy to be used with the -unique ID policy. This option defaults to use the -.I dynamic -strategy. -.IP -.BI \-ORBallowreactivationofsystemids \ 0 | 1 -\ \ Specify whether system ids can be reactivated, i.e., once an id that was -generated by the system has be deactivated, will the user reactivate a new -servant using the old ID. If the user is not going to use this feature, the -IORs can be shortened, an extra comparison in the critical upcall path removed, -and some memory on the server side can be saved. This option defaults to -.IR 1 . -.IP -.BI \-ORBactivehintinids \ 0 | 1 -\ \ Specify whether an active hint should be added to IDs. With active hints, -IDs can be found quickly. However, they lead to larger IORs. Note that this -option is disregarded if -.B \-ORBallowreactivationofsystemids -is set to -.IR 0 . -The -.B \-ORBactivehintinids -option can be -.IR 0 \ or \ 1 . -This option defaults to -.IR 1 . -.IP -.BI \-ORBpoamapsize \ poa_map_size -\ \ Specify the size of the POA map. If not specified, the default value is 24. -.IP -.BI \-ORBpersiententidpolicydemuxstrategy \ dynamic | linear -\ \ Specify the demultiplexing lookup strategy to be used with the persistent -ID policy. This option defaults to use the -.I dynamic -strategy. -.IP -.BI \-ORBtransientidpolicydemuxstrategy \ dynamic | linear | active -\ \ Specify the demultiplexing lookup strategy to be used with the transient ID -policy. This option defaults to use the -.I active -strategy. -.IP -.BI \-ORBactivehintinpoanames \ 0 | 1 -\ \ Specify whether an active hint should be added to POA names. With active -hints, POA names can be found quickly. However, they lead to larger IORs. This -option defaults to -.IR 1 . -.IP -.BI \ -ORBthreadflags \ thread_flags -\ \ Specify the flags used for thread creation. Flags can be any logical\-OR -combination of -.BR THR_DETACHED , -.BR THR_BOUND , -.B THR_NEW_LWP -and -.BR THR_SUSPENDED . -.IP -.BI \-ORBpoalock \ thread | null -\ \ Specify the type of lock to be used for POA accesses. -.I thread -specifies that an inter\-thread mutex is used to guarantee exclusive -access and -.I null -specifies that no locking be performed. The default is -.IR thread . -.IP -.BI \-ORBcoltbllock \ thread | null -\ \ Specify the type of lock to be used for the global collocation table. -.I thread -specifies that an inter\-thread mutex is used to guarantee exclusive access -and -.I null -specifies that no locking be performed. The default is -.IR thread . -.IP -.BI \-ORBconnectorlock \ thread | null -\ \ Specify the type of lock to be used by the connector. -.I thread -specifies that an inter\-thread mutex is used to guarantee exclusive access -and -.I null -specifies that no locking be performed. The default is -.IR thread . -.TP -.B TAO_Default_Client_Strategy_Factory -.IP -.BI \-ORBiiopprofilelock \ thread | null -\ \ Specify, whether to use a lock for accessing the IIOP Profile or not. -Default is -.IR thread , -which means that a lock is used. The second option is -.IR null , -which means a -.B null -lock is used. This makes sense in case of optimizations and is allowed when no -forwarding is used or only a single\-threaded client. -.IP -.BI \-ORBclientconnectionhandler \ MT | ST | RW -.IP -.I MT -means use the multi\-threaded client connection handler which uses the leader -follower model. This model allows the use of multiple threads with a single -Reactor. -.IP -.I ST -means use the single\-threaded client connection handler, i.e., the leader -follower model will not be used. However, -.I ST -does support nested upcalls and handling of new requests while waiting for the -reply from a server. -.IP -.I RW -selects a strategy that simply blocks in -.B recv() -when waiting for a response from the server instead of waiting in the Reactor. -The -.I RW -strategy only works when the application does not have to worry about new -request showing up when waiting for a response. Therefore, this strategy is -appropriate only for "pure" clients. Note that applications with nested upcalls -are not "pure" clients. Also note that this strategy will only effect two way -calls, since there is no waiting for one way calls. This strategy can also be -used in an application that is both a client and a server if the server side is -handled by a separate thread and the client threads are "pure" clients. -.IP -Default for this option is -.IR MT . -.SH AUTHORS -Center for Distributed Object Computing -.SH "SEE ALSO" -.BR TAO_Concurrency_Service (1), -.BR TAO_CosEvent_Service (1), -.BR TAO_Event_Service (1), -.BR TAO_ImplRepo_Service (1), -.BR TAO_LifeCycle_Service (1), -.BR TAO_Logging_Service (1), -.BR TAO_Naming_Service (1), -.BR TAO_Scheduling_Service (1), -.BR TAO_Time_Service (1), -.BR TAO_Trading_Service (1) diff --git a/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.cpp b/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.cpp deleted file mode 100644 index b55790fb095..00000000000 --- a/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.cpp +++ /dev/null @@ -1,221 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// orbsvcs/Concurrecy_Service/Concurrency_Service -// -// = FILENAME -// Concurrency_Service.cpp -// -// = DESCRIPTION -// This class implements a Concurrency_Service object. -// -// = AUTHORS -// Torben Worm -// -// ============================================================================ - -#include "Concurrency_Service.h" - -ACE_RCSID(Concurrency_Service, Concurrency_Service, "$Id$") - -// Default Constructor. - -Concurrency_Service::Concurrency_Service (void) - : use_naming_service_ (1), - ior_output_file_ (0) -{ - ACE_DEBUG ((LM_DEBUG, - "Concurrency_Service::Concurrency_Service (void)\n")); -} - -// Constructor taking command-line arguments. - -Concurrency_Service::Concurrency_Service (int argc, - char** argv, - CORBA::Environment& ACE_TRY_ENV) -{ - ACE_DEBUG ((LM_DEBUG, - "Concurrency_Service::Concurrency_Service (...)\n")); - this->init (argc, argv, ACE_TRY_ENV); -} - -int -Concurrency_Service::parse_args (void) -{ - ACE_DEBUG ((LM_DEBUG, - "Concurrency_Service::parse_args\n")); - - ACE_Get_Opt get_opts (argc_, argv_, "do:s"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag - TAO_debug_level++; - break; - case 'o': // output the IOR to a file - this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w"); - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - get_opts.optarg), -1); - break; - case 's': - this->use_naming_service_ = 0; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-o] " - "\n", - argv_[0]), - 1); - } - // Indicates sucessfull persing of command line. - return 0; -} - -// Initialize the state of the Concurrency_Service object. - -int -Concurrency_Service::init (int argc, - char **argv, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_DEBUG ((LM_DEBUG, - "Concurrency_Service::init\n")); - if (this->orb_manager_.init_child_poa (argc, - argv, - "child_poa", - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init_child_poa"), - -1); - ACE_CHECK_RETURN (-1); - - this->argc_ = argc; - this->argv_ = argv; - - if (this->parse_args ()!=0) - ACE_ERROR_RETURN ((LM_ERROR, - "Could not parse command line\n"), - -1); - CORBA::String_var str = - this->orb_manager_.activate (this->my_concurrency_server_.GetLockSetFactory (), - ACE_TRY_ENV); - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", - str.in ())); - - if (this->ior_output_file_) - { - ACE_OS::fprintf (this->ior_output_file_, "%s", str.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - - if (this->use_naming_service_) - return this->init_naming_service (ACE_TRY_ENV); - - return 0; -} - -int -Concurrency_Service::init_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_DEBUG ((LM_DEBUG, "Concurrency_Service::init_naming_service (...)\n")); - CORBA::ORB_var orb; - PortableServer::POA_var child_poa; - - orb = this->orb_manager_.orb (); - child_poa = this->orb_manager_.child_poa (); - - int result = this->my_name_server_.init (orb.in (), - child_poa.in ()); - if (result == -1) - return result; - lockset_factory_ = - this->my_concurrency_server_.GetLockSetFactory ()->_this (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - CosNaming::Name concurrency_context_name (1); - concurrency_context_name.length (1); - concurrency_context_name[0].id = CORBA::string_dup ("CosConcurrency"); - - this->concurrency_context_ = - this->my_name_server_->bind_new_context (concurrency_context_name, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - CosNaming::Name lockset_name (1); - lockset_name.length (1); - lockset_name[0].id = CORBA::string_dup ("LockSetFactory"); - this->concurrency_context_->bind (lockset_name, - lockset_factory_.in (), - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - return 0; -} - -// Run the ORB event loop. - -int -Concurrency_Service::run (CORBA_Environment& ACE_TRY_ENV) -{ - ACE_DEBUG ((LM_DEBUG, - "Concurrency_Service::run (...)\n")); - - if (this->orb_manager_.run (ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Concurrency_Service::run"), - -1); - return 0; -} - -// Destructor. - -Concurrency_Service::~Concurrency_Service (void) -{ - ACE_DEBUG ((LM_DEBUG, - "Concurrency_Service::~Concurrency_Service (void)\n")); -} - -int -main (int argc, char ** argv) -{ - Concurrency_Service concurrency_service; - - ACE_DEBUG ((LM_DEBUG, - "\n \t Concurrency Service:SERVER \n \n")); - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - int r = concurrency_service.init (argc, argv, ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (r == -1) - return 1; - - concurrency_service.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - - ACE_ENDTRY; - return 0; -} diff --git a/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.dsp b/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.dsp deleted file mode 100644 index 2b3e265d35a..00000000000 --- a/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.dsp +++ /dev/null @@ -1,103 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Concurrency_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Concurrency_Service - 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 "Concurrency_Service.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 "Concurrency_Service.mak" CFG="Concurrency_Service - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Concurrency_Service - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Concurrency_Service - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Concurrency_Service - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\.." /I "..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "Concurrency_Service - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /I "..\.." /I "..\..\.." /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 orbsvcsd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Concurrency_Service - Win32 Release" -# Name "Concurrency_Service - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\Concurrency_Service.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\Concurrency_Service.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.dsw b/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.dsw deleted file mode 100644 index 2839d73c1f5..00000000000 --- a/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Concurrency_Service"=.\Concurrency_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.h b/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.h deleted file mode 100644 index a67b77541b7..00000000000 --- a/TAO/orbsvcs/Concurrency_Service/Concurrency_Service.h +++ /dev/null @@ -1,106 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// orbsvcs/Concurrency_Service/Concurency_Service -// -// = FILENAME -// Concurrency_Service.h -// -// = DESCRIPTION -// This class implements a subset of the functionality of the -// CORBA Concurrency Service. -// -// = AUTHORS -// Torben Worm -// -// ============================================================================ - -#ifndef _CONCURRENCY_SERVICE_H -#define _CONCURRENCY_SERVICE_H - -#include "ace/Get_Opt.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Log_Msg.h" -#include "tao/TAO.h" -#include "orbsvcs/Concurrency/Concurrency_Utils.h" -#include "orbsvcs/Naming/Naming_Utils.h" - -class Concurrency_Service : public TAO_ORB_Manager -{ - // = TITLE - // Defines a class that encapsulates the implementation of the - // concurrency service. - // = DESCRIPTION - // This class uses the TAO_ORB_Manager, the TAO_Naming_Server, and - // the TAO_Concurrency_Server classes to implement a server for - // the concurrency service. -public: - // = Initialization and termination methods. - Concurrency_Service (void); - // Default Constructor. - - Concurrency_Service (int argc, - char **argv, - CORBA::Environment &env); - // Constructor taking the command-line arguments. - - ~Concurrency_Service (void); - // Destructor. - - int init (int argc, - char **argv, - CORBA::Environment &env); - // Initialize the Concurrency Service with the arguments. - - int run (CORBA_Environment &env); - // Run the Concurrency_Service. - -private: - int parse_args (void); - // Parses the commandline arguments. - - int init_naming_service (CORBA::Environment &env); - // Initialize the name server and register the concurency server - // factory with it. Maybe later it will be convinient to register - // the individual lock sets with the naming service. At present the - // clients must keep track of the reference and pass 'by hand' - - int use_naming_service_; - // Flag to tell wheter the naming service will be used. - - FILE *ior_output_file_; - // File to output the concurrency server IOR. - - TAO_ORB_Manager orb_manager_; - // The ORB manager - - TAO_Naming_Server my_name_server_; - // An instance of the name server used for registering the factory - // objects. - - TAO_Concurrency_Server my_concurrency_server_; - // An instance of the concurrency server. - - CosConcurrencyControl::LockSetFactory_var lockset_factory_; - // Factory var to register with the naming service. - - CosNaming::NamingContext_var concurrency_context_; - // Naming context for the concurrency service. - - CosNaming::NamingContext_var naming_context_; - // Naming context for the naming service. - - int argc_; - // Number of commandline arguments. - - char **argv_; - // Commandline arguments. -}; - -#endif /* _CONCURRENCY_SERVICE_H */ diff --git a/TAO/orbsvcs/Concurrency_Service/Makefile b/TAO/orbsvcs/Concurrency_Service/Makefile deleted file mode 100644 index 4076ae993a2..00000000000 --- a/TAO/orbsvcs/Concurrency_Service/Makefile +++ /dev/null @@ -1,341 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = Concurrency_Service.cpp - -LDLIBS = -lorbsvcs -lTAO -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = Concurrency_Service - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Concurrency,$(findstring Concurrency,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Concurrency - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) $(TSS_ORB_FLAG)#-H - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Concurrency_Service.o .obj/Concurrency_Service.so .shobj/Concurrency_Service.o .shobj/Concurrency_Service.so: Concurrency_Service.cpp Concurrency_Service.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosConcurrencyControlS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/Concurrency_Service/Makefile.am b/TAO/orbsvcs/Concurrency_Service/Makefile.am deleted file mode 100644 index 083ebfe5f1c..00000000000 --- a/TAO/orbsvcs/Concurrency_Service/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Concurrency Service -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -bin_PROGRAMS = Concurrency_Service - -Concurrency_Service_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -Concurrency_Service_SOURCES = \ - Concurrency_Service.cpp - -noinst_HEADERS = \ - Concurrency_Service.h - -EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/Concurrency_Service/README b/TAO/orbsvcs/Concurrency_Service/README deleted file mode 100644 index 007d4fb7b51..00000000000 --- a/TAO/orbsvcs/Concurrency_Service/README +++ /dev/null @@ -1,129 +0,0 @@ -$Id$ - -This file describes how to run the TAO Concurrency Service and its -accompanying tests. In addition, it describes the locations of the -files that make up the service and tests. For a general description -of the directory structure for the services please consult - - $TAO_ROOT/docs/orbsvcs.html - ----------------------------------------- - -HOW TO RUN THE SERVICE - -The Concurrency Service server runs in a thread-per-connection -concurrency model, which is specified by the svc.conf file. This -model is necessary to enable the server to block in a dedicated -thread, i.e., one for each client. The concurrency service will not -run in the reactive model. - -The server itself is located in the - -$TAO_ROOT/orbsvcs/Concurrency_Service - -directory. - -The server accepts the folowing options: - - usage: ./Concurrency_Service [-d] [-o] - [-d] is the debug option - [-o] outputs the IOR of the lock set factory - to the file - [-s] Prevents the concurency server from using the naming server - -The lock set factory is registered in the naming service in the -CosConcurrency context with the name "LockSetFactory". - ----------------------------------------- - -THE IMPLEMENTATION - -The implementation of the concurrency service objects is located in -the $TAO_ROOT/orbsvcs/orbsvcs/Concurrency directory and consists of -the following files: - - CC_LockSet.{h,cpp} Implementation of the lock set. At present - there is only one implementation of the lock set which - implements multiple possesion semantics for both - transactional (which is not otherwise supported) and - non-transactional clients. Please see the comments in - the CC_LockSet.h file for further details. - - CC_LockSetFactory.{h,cpp} Iplementation of the lock set - factory - - Concurrency_Utils.{h,cpp} Wrapper around the concurrency - server. - -The current implementation does not support transactions. If you'd -like to add support for transactions to TAO please let us know. - ----------------------------------------- - -THE TESTS - -The tests are located in the $TAO_ROOT/orbsvcs/tests/Concurrency -directory. There are two types of tests: - - . A simple test -- which tests that it is possible to create - locks and lock them in all the different lock modes - - . A more extended test which requires two (or more) - processes. - -The client accepts the following options: - - usage: ./CC_client [-b] [-d] - [-c] - [-e] - [-f cc_factory-obj-ref-key-file] - [-k cc-obj-ref-key] [-x] [-s] - - . The [-b] option runs the basic tests. - . The [-c] option runs a test script against the concurrency - service server. This option is described in more detail in - the $TAO_ROOT/orbsvcs/tests/Concurrency/README file. It is - the intent that this type of testing will be used instead of - the [-b] and [-e] tests. These tests are retained for - backwards compatibility. - . The [-d] option is the debug option. - . The [-e] option is for running one of the extended tests. The - format of the argument to the -e option is - where test is the name of the test (at present test = - {1,2,3}) and arg1 and arg2 are arguments to the test. See - the example below. - - . The [-f] option reads the factory IOR from a file. This is - currently not supported. - - . The [-k] option takes the factory IOR as argument on the - commandline. This is currently not supported. - - . The [-x] option tells the server to shut down - gracefully. Currently this has no effect. - - . The [-s] option tells the test not to use the naming - service. This is currently not supported. - ----------------------------------------- - -EXAMPLE TEST RUN - - Window-1> ./Concurrency_Service -d - Window-2> ./CC_client -b - Window-2> ./CC_client -e '1;Name' - Window-2> ./CC_client -e '2;Name' - Window-3> ./CC_client -e '3;Name' - -NOTE: It seems that there is a problem using the naming service the - first time the client is run. This error does not appear if the - environment variable 'NameService' is set to the IOR of the naming - service (the IOR of the naming service is printed when the - Concurrency_Control server is started). - ----------------------------------------- - -CONTACT POINT - -If you have any questions about this service, please contact Torben -Worm at . diff --git a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.cpp b/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.cpp deleted file mode 100644 index 40f789a8585..00000000000 --- a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.cpp +++ /dev/null @@ -1,302 +0,0 @@ -// $Id$ - -#include "ace/Get_Opt.h" -#include "CosEvent_Service.h" -#include "orbsvcs/Event/EC_Default_Factory.h" - -CosEvent_Service::CosEvent_Service (void) - : service_name ("CosEventService"), - rt_service_name ("EventService"), - remote_Rtec_ (0) -{ - // No-Op. -} - -CosEvent_Service::~CosEvent_Service (void) -{ - // No-Op. -} - -void -CosEvent_Service::init_ORB (int argc, char *argv [], - CORBA::Environment &ACE_TRY_ENV) -{ - this->orb_ = CORBA::ORB_init (argc, - argv, - "", - ACE_TRY_ENV); - ACE_CHECK; - - CORBA::Object_var poa_object = - this->orb_->resolve_initial_references("RootPOA", - ACE_TRY_ENV); - ACE_CHECK; - - this->poa_ = - PortableServer::POA::_narrow (poa_object.in (), - ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::POAManager_var poa_manager = - this->poa_->the_POAManager (ACE_TRY_ENV); - ACE_CHECK; - - poa_manager->activate (ACE_TRY_ENV); - ACE_CHECK; -} - -int -CosEvent_Service::parse_args (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "t:n:e:o:p:r"); - int opt; - - while ((opt = get_opt ()) != EOF) - { - switch (opt) - { - case 'n': - this->service_name = get_opt.optarg; - break; - - case 't': - this->rt_service_name = get_opt.optarg; - break; - - case 'r': - this->remote_Rtec_ = 1; - break; - - case 'e': - this->eventTypeIds_ = get_opt.optarg; - break; - - case 'o': - this->eventSourceIds_ = get_opt.optarg; - break; - - case 'p': - this->source_type_pairs_ = get_opt.optarg; - break; - - case '?': - default: - ACE_DEBUG ((LM_DEBUG, - "Usage: %s " - "\n\t-n " - "\n\t-t " - "\n\t-r" // creates the RtEC locally. - "\n\t-e [\"EventType_1, EventType_2...\"] for ConsumerQOS." - "\n\t-o [\"EventSourceID_1, [EventSourceID_2...\"] for ConsumerQOS." - "\n\t-p [\"Source, Event\" pairs] for SupplierQOS." - "\n", - argv[0])); - return -1; - } - } - - return 0; -} - -void -CosEvent_Service::startup (int argc, char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_DEBUG ((LM_DEBUG, - "Starting up the CosEvent Service...\n")); - - // initalize the ORB. - this->init_ORB (argc, argv, - ACE_TRY_ENV); - ACE_CHECK; - - this->resolve_naming_service (ACE_TRY_ENV); - ACE_CHECK; - - this->init (this->poa_.in (), - this->poa_.in (), - this->eventTypeIds_, - this->eventSourceIds_, - this->source_type_pairs_, - ACE_TRY_ENV); - ACE_CHECK; - - this->activate (ACE_TRY_ENV); - ACE_CHECK; - - // Register ourselves with the naming service. - ACE_ASSERT(!CORBA::is_nil (this->naming_.in ())); - - CORBA::Object_var obj = - this->poa_->servant_to_reference (this, - ACE_TRY_ENV); - ACE_CHECK; - - CORBA::String_var str = - this->orb_->object_to_string (obj.in (), ACE_TRY_ENV); - - ACE_DEBUG ((LM_DEBUG, - "The CosEC IOR is <%s>\n", str.in ())); - - CosNaming::Name name (1); - name.length (1); - name[0].id = CORBA::string_dup (this->service_name); - - this->naming_->rebind (name, - obj.in (), - ACE_TRY_ENV); - ACE_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Registered with the naming service as: %s\n", - this->service_name)); -} - -POA_RtecEventChannelAdmin::EventChannel_ptr -CosEvent_Service::create_rtec (CORBA::Environment &ACE_TRY_ENV) -{ - // see if the user wants a local Rtec.. - if (this->remote_Rtec_ == 0) - return CosEC_ServantBase::create_rtec (ACE_TRY_ENV); - else - return 0; -} - -void -CosEvent_Service::activate_rtec (CORBA::Environment &ACE_TRY_ENV) -{ - // see if the user wants to use a local Rtec.. - if (this->remote_Rtec_ == 0) - { - CosEC_ServantBase::activate_rtec (ACE_TRY_ENV); - ACE_CHECK; - } - else - { - // Try to locate a remote rtec. - this->locate_rtec (ACE_TRY_ENV); - - // Use the return value to check success. - if (CORBA::is_nil (this->rtec_.in ())) - ACE_DEBUG ((LM_DEBUG, - "Could not locate a RT EventChannel.Please start one and try again\n")); - ACE_CHECK; - } -} - -void -CosEvent_Service::deactivate_rtec (CORBA::Environment &ACE_TRY_ENV) -{ - // Check if the local rtec is to be deactivated. - if (this->remote_Rtec_ == 0) - { - CosEC_ServantBase::deactivate_rtec (ACE_TRY_ENV); - ACE_CHECK; - } -} - -void -CosEvent_Service::locate_rtec (CORBA::Environment &ACE_TRY_ENV) -{ - CosNaming::Name ref_name (1); - ref_name.length (1); - ref_name[0].id = - CORBA::string_dup (this->rt_service_name); - - CORBA::Object_var obj = - this->naming_->resolve (ref_name, - ACE_TRY_ENV); - ACE_CHECK; - - this->rtec_ = - RtecEventChannelAdmin::EventChannel::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -void -CosEvent_Service::resolve_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - CORBA::Object_var naming_obj = - this->orb_->resolve_initial_references ("NameService", - ACE_TRY_ENV); - ACE_CHECK; - - // Need to check return value for errors. - if (CORBA::is_nil (naming_obj.in ())) - ACE_THROW (CORBA::UNKNOWN ()); - - this->naming_ = - CosNaming::NamingContext::_narrow (naming_obj.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -int -CosEvent_Service::run (void) -{ - ACE_DEBUG ((LM_DEBUG, "%s: Running the CosEventService\n", __FILE__)); - if (this->orb_->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), 1); - - return 0; -} - -void -CosEvent_Service::shutdown (CORBA::Environment &ACE_TRY_ENV) -{ - // Deactivate. - this->deactivate (ACE_TRY_ENV); - ACE_CHECK; - - // Unbind from the naming service. - CosNaming::Name name (1); - name.length (1); - name[0].id = CORBA::string_dup (this->service_name); - - this->naming_->unbind (name, - ACE_TRY_ENV); - - // shutdown the ORB. - if (!CORBA::is_nil (this->orb_.in ())) - this->orb_->shutdown (); -} - -int -main (int argc, char *argv[]) -{ - TAO_EC_Default_Factory::init_svcs (); - - CosEvent_Service service; - - // check command line args. - if (service.parse_args (argc, argv) == -1) - return 1; - - ACE_TRY_NEW_ENV - { - service.startup (argc, - argv, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (service.run () == -1) - { - service.shutdown (); - ACE_ERROR_RETURN ((LM_ERROR, - "Failed to run the CosEventService.\n"), - 1); - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Failed to start CosEventService"); - return 1; - } - ACE_ENDTRY; - - service.shutdown (); - - return 0; -} diff --git a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.dsp b/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.dsp deleted file mode 100644 index 3fb1f66fe87..00000000000 --- a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.dsp +++ /dev/null @@ -1,103 +0,0 @@ -# Microsoft Developer Studio Project File - Name="CosEvent_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=CosEvent_Service - 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 "CosEvent_Service.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 "CosEvent_Service.mak" CFG="CosEvent_Service - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "CosEvent_Service - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "CosEvent_Service - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "CosEvent_Service - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "../" /I "../../" /I "../../../" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\orbsvcs" - -!ELSEIF "$(CFG)" == "CosEvent_Service - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "CosEvent" -# PROP BASE Intermediate_Dir "CosEvent" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../" /I "../../" /I "../../../" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\orbsvcs" - -!ENDIF - -# Begin Target - -# Name "CosEvent_Service - Win32 Release" -# Name "CosEvent_Service - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\CosEvent_Service.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\CosEvent_Service.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.dsw b/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.dsw deleted file mode 100644 index d893bea034a..00000000000 --- a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "CosEvent_Service"=.\CosEvent_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.h b/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.h deleted file mode 100644 index cba9e9956a4..00000000000 --- a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.h +++ /dev/null @@ -1,97 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// ============================================================================ -// -// = FILENAME -// CosEvent_Service.h -// -// = AUTHOR -// Pradeep Gore -// -// = DESCRIPTION -// The COS Event Channel service. -// -// ============================================================================ - -#ifndef COSEVENT_SERVICE_H -#define COSEVENT_SERVICE_H - -#include "orbsvcs/CosEvent_Utilities.h" -#include "orbsvcs/CosNamingC.h" - -class CosEvent_Service : public CosEC_ServantBase -{ - // = TITLE - // CosEvent_Service - // - // = DESCRIPTION - // Implementation of the COS Event Service. - - public: - // = Initialization and termination methods. - CosEvent_Service (void); - // Constructor. - - virtual ~CosEvent_Service (void); - // Destructor. - - int parse_args (int argc, char *argv []); - // Parses the command line arguments. - - void startup (int argc, char *argv[], - CORBA::Environment &ACE_TRY_ENV); - // Initializes the COS Event Service. - // Returns 0 on success, -1 on error. - - int run (void); - // run the COS Event Service. - // Returns 0 on success, -1 on error. - - void shutdown (CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()); - // Shutdown the COS Event Service. - // Returns 0 on success, -1 on error. - -protected: - // = Methods from CosEC_ServantBase - virtual POA_RtecEventChannelAdmin::EventChannel_ptr - create_rtec (CORBA::Environment &ACE_TRY_ENV); - // Create a local rtec. - - virtual void activate_rtec (CORBA::Environment &ACE_TRY_ENV); - // Activates the rtec. - - virtual void deactivate_rtec (CORBA::Environment &ACE_TRY_ENV); - // Deactivates the rtec. - - void init_ORB (int argc, char *argv [], - CORBA::Environment &ACE_TRY_ENV); - // initialize the ORB. - - void resolve_naming_service (CORBA::Environment &ACE_TRY_ENV); - // Resolve the naming service. - - void locate_rtec (CORBA::Environment &ACE_TRY_ENV); - // Locate a rtec. - - // = Data members - const char* service_name; - // The name we use to register with the Naming Service. - - const char* rt_service_name; - // The name of the Real Time Event Service. - - CORBA::ORB_var orb_; - // The ORB that we use. - - PortableServer::POA_var poa_; - // Reference to the root poa. - - CosNaming::NamingContext_var naming_; - // A naming context. - - CORBA::Boolean remote_Rtec_; - // Flag to indicate if the RtEC is local/remote, - // 0 => local, 1 => remote, default is local. -}; -#endif /* COSEVENT_SERVICE_H */ diff --git a/TAO/orbsvcs/CosEvent_Service/Makefile b/TAO/orbsvcs/CosEvent_Service/Makefile deleted file mode 100644 index f0e10fb2695..00000000000 --- a/TAO/orbsvcs/CosEvent_Service/Makefile +++ /dev/null @@ -1,367 +0,0 @@ -# -# $Id$ -# - -LSRC = CosEvent_Service.cpp \ - -ES_OBJS=$(LSRC:.cpp=.o) - -LDLIBS = -lorbsvcs -lTAO - -BIN2 = CosEvent_Service - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (CosEvent,$(findstring CosEvent,$(TAO_ORBSVCS))) - ifeq (Event2,$(findstring Event2,$(TAO_ORBSVCS))) - BIN = $(BIN2) - endif # Event2 -endif # CosEvent - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) $(TSS_ORB_FLAG) - -CosEvent_Service: $(addprefix $(VDIR),$(ES_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/CosEvent_Service.o .obj/CosEvent_Service.so .shobj/CosEvent_Service.o .shobj/CosEvent_Service.so: CosEvent_Service.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - CosEvent_Service.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEvent_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Default_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Factory.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Defaults.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Default_Factory.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/CosEvent_Service/Makefile.am b/TAO/orbsvcs/CosEvent_Service/Makefile.am deleted file mode 100644 index 2b19fa4cfef..00000000000 --- a/TAO/orbsvcs/CosEvent_Service/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's CosEvent Service -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -bin_PROGRAMS = CosEvent_Service - -CosEvent_Service_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -CosEvent_Service_SOURCES = \ - CosEvent_Service.cpp - -noinst_HEADERS = \ - CosEvent_Service.h - -EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/CosEvent_Service/README b/TAO/orbsvcs/CosEvent_Service/README deleted file mode 100644 index 8d7fd8f95b3..00000000000 --- a/TAO/orbsvcs/CosEvent_Service/README +++ /dev/null @@ -1,52 +0,0 @@ - CORBA COS Event Service - ----------------------- -The CosEvent_Service is a COS compilant Event Service. - -The service is registered with the naming service with the name -"CosEventService" .It exposes the interface which can be -used by suppliers and consumers to send and receive events. - - -To run the Event Channel: ------------------------- -1. you should have a running Naming Service. - if not, start one at $TAO_ROOT/orbsvcs/Naming_Service/Naming_Service - -2. if you want to use the -t option you should have a running - Real Time Event Channel. - if not, start one at $TAO_ROOT/orbsvcs/Event_Service/Event_Service - -3. execute the CosEvent_Service. - -Command line parameters: ------------------------- - -n - specifies the name with which to register the Event Service. - - -r - specifies that a local Real Time Event Channel (Rtec) should be - created and used. - - -t - specifies the name with which to *look* for the RtEC.This option is - only useful along with the -r option. - -The next 3 options are used to introduce a filtering mechanism for the -Event Channel based on event types and source ids. - - -e ["EventType_1 EventType_2..."] - specifies the event types for the ConsumerQOS.When the Rtec is being - setup, the ConsumerQOS is specified. - The event types should start at >= ACE_ES_EVENT_UNDEFINED = 16. - e.g. -e "17 20 40" specifies that event types with ids 17, 20 and 40 - should be passed to the consumers. - - -o ["EventSourceID_1 EventSourceID_2.."] - specifies the source ids for the ConsumerQOS. - - -p ["sourceID EventTypeID"] - specifies a pair of sourceid and event type for the Supplier QOS. - -Author: -------- -Pradeep Gore diff --git a/TAO/orbsvcs/CosEvent_Service/svc.conf b/TAO/orbsvcs/CosEvent_Service/svc.conf deleted file mode 100644 index fa9576a1919..00000000000 --- a/TAO/orbsvcs/CosEvent_Service/svc.conf +++ /dev/null @@ -1,2 +0,0 @@ -# $Id$ -static EC_Factory "-ECfiltering basic -ECpushsupplierset delayed -ECproxyconsumerlock thread -ECproxysupplierlock thread -ECconsumeradminlock thread -ECsupplieradminlock thread -ECsupplierfiltering per-supplier" diff --git a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp b/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp deleted file mode 100644 index fb577f93764..00000000000 --- a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp +++ /dev/null @@ -1,104 +0,0 @@ -// $Id$ - -#include "ace/Sched_Params.h" -#include "ace/Get_Opt.h" -#include "tao/corba.h" - -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/Scheduler_Factory.h" - -ACE_RCSID(Dump_Schedule, Dump_Schedule, "$Id$") - -// This program dumps the results of one scheduling in a C++ file. - -int -main (int argc, char *argv[]) -{ - ACE_TRY_NEW_ENV - { - // Initialize ORB. - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "internet", ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::Object_var poa_object = - orb->resolve_initial_references("RootPOA"); - if (CORBA::is_nil(poa_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (poa_object.in(), ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::Object_var naming_obj = - orb->resolve_initial_references ("NameService"); - if (CORBA::is_nil(naming_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - const char *name = 0; - if (argc > 1) - { - name = argv[1]; - } - ACE_Scheduler_Factory::use_config (naming_context.in (), name); - - RtecScheduler::RT_Info_Set_var infos; - RtecScheduler::Config_Info_Set_var configs; - RtecScheduler::Scheduling_Anomaly_Set_var anomalies; - -#if defined (__SUNPRO_CC) - // Sun C++ 4.2 warns with the code below: - // Warning (Anachronism): Temporary used for non-const - // reference, now obsolete. - // Note: Type "CC -migration" for more on anachronisms. - // Warning (Anachronism): The copy constructor for argument - // infos of type RtecScheduler::RT_Info_Set_out should take - // const RtecScheduler::RT_Info_Set_out&. - // But, this code is not CORBA conformant, because users should - // not define instances of _out types. - - RtecScheduler::RT_Info_Set_out infos_out (infos); - RtecScheduler::Config_Info_Set_out configs_out (configs); - RtecScheduler::Scheduling_Anomaly_Set_out anomalies_out (anomalies); - ACE_Scheduler_Factory::server ()->compute_scheduling - (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - ACE_Sched_Params::priority_max (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - infos_out, configs_out, anomalies_out, ACE_TRY_ENV); -#else /* ! __SUNPRO_CC */ - ACE_Scheduler_Factory::server ()->compute_scheduling - (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - ACE_Sched_Params::priority_max (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - infos.out (), configs.out (), anomalies.out (), ACE_TRY_ENV); -#endif /* ! __SUNPRO_CC */ - - ACE_TRY_CHECK; - - ACE_Scheduler_Factory::dump_schedule (infos.in (), - configs.in (), - anomalies.in (), - "Scheduler_Runtime.cpp"); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Dump_Schedule"); - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsp b/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsp deleted file mode 100644 index d5335221830..00000000000 --- a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsp +++ /dev/null @@ -1,100 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Dump_Schedule" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Dump_Schedule - 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 "Dump_Schedule.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 "Dump_Schedule.mak" CFG="Dump_Schedule - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Dump_Schedule - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Dump_Schedule - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Dump_Schedule - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\.." /I "..\..\.." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "Dump_Schedule - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /I "..\.." /I "..\..\.." /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib orbsvcsd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Dump_Schedule - Win32 Release" -# Name "Dump_Schedule - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Dump_Schedule.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsw b/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsw deleted file mode 100644 index 0a1c7e2abf8..00000000000 --- a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Dump_Schedule"=.\Dump_Schedule.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/Dump_Schedule/Makefile b/TAO/orbsvcs/Dump_Schedule/Makefile deleted file mode 100644 index 0cbb299afdf..00000000000 --- a/TAO/orbsvcs/Dump_Schedule/Makefile +++ /dev/null @@ -1,320 +0,0 @@ -# $Id$ - -DUMP_SRCS = Dump_Schedule.cpp -SRC = $(DUMP_SRCS) - -SCHEDULE_OBJS = $(SCHEDULE_SRCS:.cpp=.o) -DUMP_OBJS = $(DUMP_SRCS:.cpp=.o) - -LDLIBS = -lorbsvcs -lTAO -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = Dump_Schedule - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Sched,$(findstring Sched,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Sched - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) $(TSS_ORB_FLAG) - -Dump_Schedule: $(addprefix $(VDIR),$(DUMP_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Dump_Schedule.o .obj/Dump_Schedule.so .shobj/Dump_Schedule.o .shobj/Dump_Schedule.so: Dump_Schedule.cpp \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/Dump_Schedule/Makefile.am b/TAO/orbsvcs/Dump_Schedule/Makefile.am deleted file mode 100644 index 80ae24e06b5..00000000000 --- a/TAO/orbsvcs/Dump_Schedule/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Dump Schedule Service -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -bin_PROGRAMS = Dump_Schedule - -Dump_Schedule_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -Dump_Schedule_SOURCES = \ - Dump_Schedul.cpp - -## noinst_HEADERS = - -## EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/Event_Service/Event_Service.cpp b/TAO/orbsvcs/Event_Service/Event_Service.cpp deleted file mode 100644 index 9e4f82deb8d..00000000000 --- a/TAO/orbsvcs/Event_Service/Event_Service.cpp +++ /dev/null @@ -1,352 +0,0 @@ -// $Id$ - -#include "Event_Service.h" - -#include "ace/Get_Opt.h" -#include "ace/Auto_Ptr.h" - -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Sched/Config_Scheduler.h" -#include "orbsvcs/Event/Module_Factory.h" -#include "orbsvcs/Event/Event_Channel.h" - -#include "orbsvcs/Event/EC_Default_Factory.h" -#include "orbsvcs/Event/EC_Event_Channel.h" - -ACE_RCSID(Event_Service, Event_Service, "$Id$") - -int main (int argc, char *argv[]) -{ - TAO_EC_Default_Factory::init_svcs (); - - Event_Service event_service; - return event_service.run (argc, argv); -} - -// **************************************************************** - -Event_Service::Event_Service (void) - : module_factory_ (0), - sched_impl_ (0), - ec_impl_ (0), - service_name_ (0), - ior_file_name_ (0), - pid_file_name_ (0), - event_service_type_ (ES_NEW), - global_scheduler_ (0) -{ -} - -Event_Service::~Event_Service (void) -{ - delete this->ec_impl_; - this->ec_impl_ = 0; - delete this->sched_impl_; - this->sched_impl_ = 0; - delete this->module_factory_; - this->module_factory_ = 0; -} - -int -Event_Service::run (int argc, char* argv[]) -{ - ACE_TRY_NEW_ENV - { - // Initialize ORB. - this->orb_ = - CORBA::ORB_init (argc, argv, "", ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (this->parse_args (argc, argv) == -1) - return 1; - - CORBA::Object_var poa_object = - this->orb_->resolve_initial_references("RootPOA"); - if (CORBA::is_nil (poa_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (poa_object.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::Object_var naming_obj = - this->orb_->resolve_initial_references ("NameService"); - if (CORBA::is_nil (naming_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the Naming Service.\n"), - 1); - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecScheduler::Scheduler_var scheduler; - // This is the name we (potentially) register the Scheduling - // Service in the Naming Service. - CosNaming::Name schedule_name (1); - schedule_name.length (1); - schedule_name[0].id = CORBA::string_dup ("ScheduleService"); - - - if (1) // this->event_service_type_ == ES_OLD_REACTIVE - // || this->event_service_type_ == ES_OLD_MT) - { - // We must find the scheduler object reference... - - if (this->global_scheduler_ == 0) - { - ACE_NEW_RETURN (this->sched_impl_, - ACE_Config_Scheduler, - 1); - - scheduler = this->sched_impl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Register the servant with the Naming Context.... - naming_context->rebind (schedule_name, scheduler.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - else - { - CORBA::Object_var tmp = - naming_context->resolve (schedule_name, ACE_TRY_ENV); - ACE_TRY_CHECK; - - scheduler = RtecScheduler::Scheduler::_narrow (tmp.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - - switch (this->event_service_type_) - { - case ES_NEW: - { - TAO_EC_Event_Channel_Attributes attr (root_poa.in (), - root_poa.in ()); - TAO_EC_Event_Channel* ec; - ACE_NEW_RETURN (ec, - TAO_EC_Event_Channel (attr), - 1); - this->ec_impl_ = ec; - ec->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - break; - - case ES_OLD_REACTIVE: - { - ACE_NEW_RETURN (this->module_factory_, - TAO_Reactive_Module_Factory, - 1); - ACE_NEW_RETURN (this->ec_impl_, - ACE_EventChannel (scheduler.in (), - 1, - ACE_DEFAULT_EVENT_CHANNEL_TYPE, - this->module_factory_), - 1); - } - break; - case ES_OLD_MT: - { - ACE_NEW_RETURN (this->module_factory_, - TAO_Default_Module_Factory, - 1); - - ACE_NEW_RETURN (this->ec_impl_, - ACE_EventChannel (scheduler.in (), - 1, - ACE_DEFAULT_EVENT_CHANNEL_TYPE, - this->module_factory_), - 1); - } - - break; - } - - // Notice that we activate *this* object with the POA, but we - // forward all the requests to the underlying EC - // implementation. - RtecEventChannelAdmin::EventChannel_var ec = - this->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var str = - this->orb_->object_to_string (ec.in (), ACE_TRY_ENV); - - ACE_DEBUG ((LM_DEBUG, - "The EC IOR is <%s>\n", str.in ())); - - CosNaming::Name channel_name (1); - channel_name.length (1); - channel_name[0].id = CORBA::string_dup (this->service_name_); - naming_context->rebind (channel_name, ec.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "%s; running event service\n", __FILE__)); - if (this->orb_->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), 1); - - naming_context->unbind (channel_name, ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (!CORBA::is_nil (scheduler.in ())) - { - naming_context->unbind (schedule_name, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "EC"); - } - ACE_ENDTRY; - - - return 0; -} - -int -Event_Service::parse_args (int argc, char *argv []) -{ - // default values... - this->service_name_ = "EventService"; - - ACE_Get_Opt get_opt (argc, argv, "n:s:t:"); - int opt; - - while ((opt = get_opt ()) != EOF) - { - switch (opt) - { - case 'n': - this->service_name_ = get_opt.optarg; - break; - - case 's': - // It could be just a flag (i.e. no "global" or "local" - // argument, but this is consistent with the EC_Multiple - // test and also allows for a runtime scheduling service. - - if (ACE_OS::strcasecmp (get_opt.optarg, "global") == 0) - { - this->global_scheduler_ = 1; - } - else if (ACE_OS::strcasecmp (get_opt.optarg, "local") == 0) - { - this->global_scheduler_ = 0; - } - else - { - ACE_DEBUG ((LM_DEBUG, - "Unknown scheduling type <%s> " - "defaulting to local\n", - get_opt.optarg)); - this->global_scheduler_ = 0; - } - break; - - case 't': - if (ACE_OS::strcasecmp (get_opt.optarg, "NEW") == 0) - { - this->event_service_type_ = ES_NEW; - } - else if (ACE_OS::strcasecmp (get_opt.optarg, "OLD_REACTIVE") == 0) - { - this->event_service_type_ = ES_OLD_REACTIVE; - } - else if (ACE_OS::strcasecmp (get_opt.optarg, "OLD_MT") == 0) - { - this->event_service_type_ = ES_OLD_MT; - } - else - { - ACE_DEBUG ((LM_DEBUG, - "Unknown event service type <%s> " - "defaulting to REACTIVE\n", - get_opt.optarg)); - this->event_service_type_ = ES_NEW; - } - break; - - case '?': - default: - ACE_DEBUG ((LM_DEBUG, - "Usage: %s " - "-n service_name " - "-s " - "-t " - "\n", - argv[0])); - return -1; - } - } - - return 0; -} - - -RtecEventChannelAdmin::ConsumerAdmin_ptr -Event_Service::for_consumers (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->ec_impl_->for_consumers (ACE_TRY_ENV); -} - -RtecEventChannelAdmin::SupplierAdmin_ptr -Event_Service::for_suppliers (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->ec_impl_->for_suppliers (ACE_TRY_ENV); -} - -void -Event_Service::destroy (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->ec_impl_->destroy (ACE_TRY_ENV); - ACE_CHECK; - this->orb_->shutdown (); -} - -RtecEventChannelAdmin::Observer_Handle -Event_Service::append_observer (RtecEventChannelAdmin::Observer_ptr observer, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException, - RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR, - RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER)) -{ - return this->ec_impl_->append_observer (observer, ACE_TRY_ENV); -} - -void -Event_Service::remove_observer (RtecEventChannelAdmin::Observer_Handle handle, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException, - RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR, - RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER)) -{ - this->ec_impl_->remove_observer (handle, ACE_TRY_ENV); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Auto_Basic_Ptr; -template class auto_ptr; -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Auto_Basic_Ptr -#pragma instantiate auto_ptr -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/Event_Service/Event_Service.dsp b/TAO/orbsvcs/Event_Service/Event_Service.dsp deleted file mode 100644 index 874daa84003..00000000000 --- a/TAO/orbsvcs/Event_Service/Event_Service.dsp +++ /dev/null @@ -1,148 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Event_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Event_Service - 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 "Event_Service.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 "Event_Service.mak" CFG="Event_Service - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Event_Service - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Event_Service - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Event_Service - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\.." /I "..\..\.." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "Event_Service - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /I "..\.." /I "..\..\.." /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib orbsvcsd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Event_Service - Win32 Release" -# Name "Event_Service - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Event_Service.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\BCU.h -# End Source File -# Begin Source File - -SOURCE=.\CORBA_Utils_T.h -# End Source File -# Begin Source File - -SOURCE=.\Debug_Macros.h -# End Source File -# Begin Source File - -SOURCE=.\Dispatching_Modules.h -# End Source File -# Begin Source File - -SOURCE=.\Event_Channel.h -# End Source File -# Begin Source File - -SOURCE=.\Fast_Reactor.h -# End Source File -# Begin Source File - -SOURCE=.\GPlot_File.h -# End Source File -# Begin Source File - -SOURCE=.\Local_ESTypes.h -# End Source File -# Begin Source File - -SOURCE=.\Memory_Pools.h -# End Source File -# Begin Source File - -SOURCE=.\ReactorTask.h -# End Source File -# Begin Source File - -SOURCE=.\RT_Task.h -# End Source File -# Begin Source File - -SOURCE=.\Task_Manager.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/Event_Service/Event_Service.dsw b/TAO/orbsvcs/Event_Service/Event_Service.dsw deleted file mode 100644 index 345308eeb66..00000000000 --- a/TAO/orbsvcs/Event_Service/Event_Service.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Event_Service"=.\Event_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/Event_Service/Event_Service.h b/TAO/orbsvcs/Event_Service/Event_Service.h deleted file mode 100644 index 89de50f53be..00000000000 --- a/TAO/orbsvcs/Event_Service/Event_Service.h +++ /dev/null @@ -1,105 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = DESCRIPTION -// The TAO event service implementation. -// -// ============================================================================ - -#ifndef EC_EVENT_SERVICE_H -#define EC_EVENT_SERVICE_H - -#include "orbsvcs/RtecEventChannelAdminS.h" -#include "orbsvcs/RtecSchedulerS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class TAO_Module_Factory; - -class Event_Service : public POA_RtecEventChannelAdmin::EventChannel -{ - // - // = TITLE - // This class decorates an Event Channel implementation, but in a - // very simple way: destroy() also shutdowns the ORB. - // - // = DESCRIPTION - // The Event_Channel implementations should not shutdown the ORB - // by default, but in this case, where the Event_Channel is - // (almost) the only service on the host, it makes more sense to - // do so. - // -public: - Event_Service (void); - virtual ~Event_Service (void); - - int run (int argc, char* argv[]); - // Run the event service. - - // = The RtecEventChannelAdmin::Event_Channel methods - virtual RtecEventChannelAdmin::ConsumerAdmin_ptr - for_consumers (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - virtual RtecEventChannelAdmin::SupplierAdmin_ptr - for_suppliers (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - virtual void destroy (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - virtual RtecEventChannelAdmin::Observer_Handle - append_observer (RtecEventChannelAdmin::Observer_ptr observer, - CORBA::Environment &env) - ACE_THROW_SPEC (( - CORBA::SystemException, - RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR, - RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER)); - virtual void remove_observer (RtecEventChannelAdmin::Observer_Handle, - CORBA::Environment &env) - ACE_THROW_SPEC (( - CORBA::SystemException, - RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR, - RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER)); - -private: - int parse_args (int argc, char* argv[]); - // parse the command line args - - enum { - ES_NEW, // Use the Service Configurator to find factory - ES_OLD_REACTIVE, // Reactive dispatching, old EC. - ES_OLD_MT // Prioritized dispatching, old EC. - }; - -private: - TAO_Module_Factory *module_factory_; - // The module factory for the EC. - - POA_RtecScheduler::Scheduler *sched_impl_; - // The Scheduler implementation. - - POA_RtecEventChannelAdmin::EventChannel *ec_impl_; - // The Event Channel implementation. - - const char* service_name_; - // The name we use to bind with the NameService - - const char* ior_file_name_; - // The name of the file were we output the Event_Service IOR. - - const char* pid_file_name_; - // The name of a file where the process stores its pid - - int event_service_type_; - // The type of event service we will use - - int global_scheduler_; - // Should we use a global scheduler or a local one? - - CORBA::ORB_var orb_; - // A reference to the ORB, to shut it down properly. -}; - -#endif /* EC_EVENT_SERVICE_H */ diff --git a/TAO/orbsvcs/Event_Service/Makefile b/TAO/orbsvcs/Event_Service/Makefile deleted file mode 100644 index 428a032e308..00000000000 --- a/TAO/orbsvcs/Event_Service/Makefile +++ /dev/null @@ -1,406 +0,0 @@ -# $Id$ - -LSRC = Event_Service.cpp -ES_OBJS=$(LSRC:.cpp=.o) - -LDLIBS = -lorbsvcs -lTAO - -BIN2 = Event_Service - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Event2,$(findstring Event2,$(TAO_ORBSVCS))) - ifeq (Event,$(findstring Event,$(TAO_ORBSVCS))) - ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) - endif # Naming - endif # Event -endif # Event2 - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) $(TSS_ORB_FLAG) - -Event_Service: $(addprefix $(VDIR),$(ES_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Event_Service.o .obj/Event_Service.so .shobj/Event_Service.o .shobj/Event_Service.so: Event_Service.cpp Event_Service.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Config_Scheduler.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler_Generic.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Config_Scheduler.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Module_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Channel.h \ - $(TAO_ROOT)/tao/Timeprobe.h \ - $(ACE_ROOT)/ace/Timeprobe.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Local_ESTypes.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Local_ESTypes.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Timer_Module.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/RT_Task.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/RT_Task.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Timer_Module.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/ReactorTask.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Fast_Reactor.h \ - $(ACE_ROOT)/ace/Select_Reactor.h \ - $(ACE_ROOT)/ace/Select_Reactor_T.h \ - $(ACE_ROOT)/ace/Select_Reactor_Base.h \ - $(ACE_ROOT)/ace/Token.h \ - $(ACE_ROOT)/ace/Token.i \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.i \ - $(ACE_ROOT)/ace/Select_Reactor_Base.i \ - $(ACE_ROOT)/ace/Select_Reactor_T.cpp \ - $(ACE_ROOT)/ace/Timer_Heap.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.cpp \ - $(ACE_ROOT)/ace/Select_Reactor_T.i \ - $(ACE_ROOT)/ace/Select_Reactor.i \ - $(ACE_ROOT)/ace/Timer_List.h \ - $(ACE_ROOT)/ace/Timer_List_T.h \ - $(ACE_ROOT)/ace/Timer_List_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Manip.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Manip.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Channel.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Default_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Factory.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Defaults.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Default_Factory.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Event_Channel.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/EC_Event_Channel.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/Event_Service/Makefile.am b/TAO/orbsvcs/Event_Service/Makefile.am deleted file mode 100644 index 5b39b7edfb1..00000000000 --- a/TAO/orbsvcs/Event_Service/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Event Service -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -bin_PROGRAMS = Event_Service - -Event_Service_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -Event_Service_SOURCES = \ - Event_Service.cpp - -noinst_HEADERS = \ - Event_Service.h - -## EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/Event_Service/svc.conf b/TAO/orbsvcs/Event_Service/svc.conf deleted file mode 100644 index fa9576a1919..00000000000 --- a/TAO/orbsvcs/Event_Service/svc.conf +++ /dev/null @@ -1,2 +0,0 @@ -# $Id$ -static EC_Factory "-ECfiltering basic -ECpushsupplierset delayed -ECproxyconsumerlock thread -ECproxysupplierlock thread -ECconsumeradminlock thread -ECsupplieradminlock thread -ECsupplierfiltering per-supplier" diff --git a/TAO/orbsvcs/ImplRepo_Service/ImplRepo.cpp b/TAO/orbsvcs/ImplRepo_Service/ImplRepo.cpp deleted file mode 100644 index 033ad9be7ab..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/ImplRepo.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "ImplRepo_i.h" - -ACE_RCSID(ImplRepo_Service, ImplRepo, "$Id$") - -int -main (int argc, char *argv[]) -{ - ImplRepo_i server; - - ACE_DEBUG ((LM_DEBUG, "TAO Implementation Repository\n")); - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - if (server.init (argc, argv, ACE_TRY_ENV) == -1) - return 1; - else - { - server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unknown Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/orbsvcs/ImplRepo_Service/ImplRepo.dsw b/TAO/orbsvcs/ImplRepo_Service/ImplRepo.dsw deleted file mode 100644 index 1100304a4c8..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/ImplRepo.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ImplRepo_Service"=.\implrepo.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "tao_ir"=.\tao_ir.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp b/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp deleted file mode 100644 index 7f94a0af6c4..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp +++ /dev/null @@ -1,972 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "ImplRepo_i.h" -#include "Options.h" -#include "tao/ORB.h" -#include "tao/IIOP_Profile.h" -#include "tao/IIOP_Acceptor.h" -#include "tao/Acceptor_Registry.h" -#include "ace/Read_Buffer.h" -#include "ace/Process.h" -#include "ace/Auto_Ptr.h" - -// Constructor - -ImplRepo_i::ImplRepo_i (void) - : forwarder_impl_ (0), - activator_ (0) -{ - // Nothing -} - -// Starts the server defined by the POA name if it is -// not already started and if it can be started. - -void -ImplRepo_i::activate_server (const char *server, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound, - ImplementationRepository::Administration::CannotActivate)) -{ - int start = 0; - ACE_TString server_object_ior, host; - unsigned short port; - - if (OPTIONS::instance()->debug () >= 1) - ACE_DEBUG ((LM_DEBUG, "Activating Server: %s\n", server)); - - // Find out if it is already running - if (this->repository_.get_running_info (server, host, port, server_object_ior) != 0) - { - // If we had problems getting the server_object_ior, probably meant that - // there is no registered - ACE_ERROR ((LM_ERROR, - "Error: Cannot find ServerObject IOR for server <%s>\n", - server)); - ACE_THROW (ImplementationRepository::Administration::NotFound ()); - } - - // Check to see if there is one running (if there is a server_object_ior) - if (server_object_ior.length () != 0) - { - // It is running - ACE_TRY - { - CORBA::ORB_var orb = this->orb_manager_.orb (); - CORBA::Object_var object = - orb->string_to_object (server_object_ior.c_str (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ImplementationRepository::ServerObject_var server_object = - ImplementationRepository::ServerObject::_narrow (object.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (server_object.in ())) - { - ACE_ERROR ((LM_ERROR, - "Error: Invalid ServerObject IOR: <%s>\n", - server_object_ior.c_str ())); - ACE_THROW (ImplementationRepository::Administration::NotFound ()); - } - - // Check to see if we can ping it - server_object->ping (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - // If we got an exception, then we have to restart it. - start = 1; - } - ACE_ENDTRY; - } - else - // We need to restart - start = 1; - - // Start it up... - if (start == 1) - { - // Check to see if it is already starting up - int startup_val = this->repository_.starting_up (server, 1); - - if (startup_val == -1) - { - ACE_ERROR ((LM_ERROR, - "Error: Cannot find startup info for server <%s>\n", - server)); - ACE_THROW(ImplementationRepository::Administration::NotFound ()); - } - - if (startup_val == 0) - { - ACE_TString logical, startup, working; - if (this->repository_.get_startup_info (server, logical, startup, working) != 0) - { - ACE_ERROR ((LM_ERROR, - "Error: Cannot find startup info for server <%s>\n", - server)); - ACE_THROW(ImplementationRepository::Administration::NotFound ()); - } - - if (startup.length () == 0) - { - // If there is no startup information, throw a transient exception - ACE_ERROR ((LM_ERROR, - "Error: No startup information for server <%s>\n", - server)); - ACE_THROW (CORBA::TRANSIENT ()); - } - - - if (OPTIONS::instance()->debug () >= 1) - ACE_DEBUG ((LM_DEBUG, "Starting %s\n", server)); - - ACE_Process_Options proc_opts; - - proc_opts.command_line (startup.c_str ()); - proc_opts.working_directory (working.c_str ()); - - ACE_Process proc; - - if (proc.spawn (proc_opts) == -1) - { - ACE_ERROR ((LM_ERROR, - "Error: Cannot activate server <%s> using <%s>\n", - server, - startup.c_str ())); - ACE_THROW (ImplementationRepository::Administration::CannotActivate (CORBA::string_dup ("N/A"))); - } - } - - // Now that the server has been started up, we need to go back into the event - // loop so we can get the reponse or handle other requests - TAO_ORB_Core *orb_core = TAO_ORB_Core_instance (); - - int starting_up; - - while ((starting_up = this->repository_.starting_up (server)) == 1) - { - if (OPTIONS::instance()->debug () >= 2) - ACE_DEBUG ((LM_DEBUG, "activate_server: Going into handle_events\n")); - orb_core->reactor ()->handle_events (); - } - if (OPTIONS::instance()->debug () >= 2) - ACE_DEBUG ((LM_DEBUG, "activate_server: Got out of handle_events loop\n")); - - // Check to see if it disappeared on us - if (starting_up == -1) - { - ACE_ERROR ((LM_ERROR, - "Error: Cannot find startup info for server <%s>\n", - server)); - ACE_THROW (ImplementationRepository::Administration::NotFound ()); - } - - // Now it should be started. - } - - if (this->repository_.get_running_info (server, host, port, server_object_ior) != 0) - { - ACE_ERROR ((LM_ERROR, - "ImplRepo_i::activate_server: " - "cannot resolve server <%s>\n", - server)); - } -} - -// Adds an entry to the Repository about this - -void -ImplRepo_i::register_server (const char *server, - const ImplementationRepository::StartupOptions &options, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::AlreadyRegistered)) -{ - if (OPTIONS::instance()->debug () >= 2) - ACE_DEBUG ((LM_DEBUG, "Server: %s\n" - "Command Line: %s\n" - "Working Directory: %s\n\n", - server, - options.command_line.in (), - options.working_directory.in ())); - - // Add the server - int status = this->repository_.add (server, - "", - options.command_line.in (), - options.working_directory.in ()); - - if (status == 1) - { - ACE_ERROR ((LM_ERROR, - "Error: Server %s Already Registered!\n", - server)); - ACE_THROW (ImplementationRepository::Administration::AlreadyRegistered ()); - } - else - { - if (OPTIONS::instance()->debug () >= 1) - ACE_DEBUG ((LM_DEBUG, - "register_server: Server %s Successfully Registered\n", - server)); - if (OPTIONS::instance()->debug () >= 2) - ACE_DEBUG ((LM_DEBUG, "Server: %s\n" - "Command Line: %s\n" - "Working Directory: %s\n\n", - server, - options.command_line.in (), - options.working_directory.in ())); - } -} - -// Updates the entry in the Repository about this or adds it -// if necessary. - -void -ImplRepo_i::reregister_server (const char *server, - const ImplementationRepository::StartupOptions &options, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - - this->repository_.remove (server); - - this->repository_.add (server, - "", - options.command_line.in (), - options.working_directory.in ()); - - if (OPTIONS::instance()->debug () >= 1) - ACE_DEBUG ((LM_DEBUG, - "Server %s Successfully Registered\n", - server)); - if (OPTIONS::instance()->debug () >= 2) - ACE_DEBUG ((LM_DEBUG, "Server: %s\n" - "Command Line: %s\n" - "Working Directory: %s\n\n", - server, - options.command_line.in (), - options.working_directory.in ())); -} - -// Remove the server entry from the Repository - -void -ImplRepo_i::remove_server (const char *server, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound)) -{ - if (this->repository_.remove (server) == 0) - { - if (OPTIONS::instance()->debug () >= 1) - ACE_DEBUG ((LM_DEBUG, - "Successfully Removed Server\n")); - } - else - { - ACE_ERROR ((LM_ERROR, - "Error: Trying to remove unknown server <%s>\n", - server)); - ACE_THROW (ImplementationRepository::Administration::NotFound ()); - } -} - -// Register the current location of the server - -ImplementationRepository::Address * -ImplRepo_i::server_is_running (const char * server, - const ImplementationRepository::Address &addr, - ImplementationRepository::ServerObject_ptr server_object, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound)) -{ - ImplementationRepository::Address *new_addr = - new ImplementationRepository::Address; - - if (OPTIONS::instance()->debug () >= 1) - ACE_DEBUG ((LM_DEBUG, - "Server <%s> is running\n", - server)); - - // Get the stringified server_object_ior - CORBA::ORB_var orb = this->orb_manager_.orb (); - ASYS_TCHAR *server_object_ior = orb->object_to_string (server_object, ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - if (this->repository_.update (server, addr.host.in (), addr.port, server_object_ior) == 0) - { - if (OPTIONS::instance()->debug () >= 1) - ACE_DEBUG ((LM_DEBUG, - "Successful server_is_running () of <%s>\n", - server)); - } - else - { - ACE_ERROR ((LM_ERROR, - "Error: Could not update running information for server <%s>\n", - server)); - ACE_THROW_RETURN (ImplementationRepository::Administration::NotFound (), new_addr); - } - - TAO_Acceptor_Registry* registry = - orb->orb_core ()->acceptor_registry (); - - TAO_Acceptor *acceptor = 0; - TAO_AcceptorSetItor end = registry->end (); - for (TAO_AcceptorSetItor i = registry->begin (); i != end; ++i) - { - if ((*i)->tag () == TAO_IOP_TAG_INTERNET_IOP) - { - acceptor = (*i); - break; - } - } - if (acceptor == 0) - ACE_THROW_RETURN (CORBA::NO_IMPLEMENT(), 0); - - TAO_IIOP_Acceptor* iiop_acceptor = - ACE_dynamic_cast (TAO_IIOP_Acceptor*,acceptor); - - // Get our host and port and convert it to something we can use. - const ACE_INET_Addr& my_addr = iiop_acceptor->address (); - - new_addr->host = CORBA::string_dup (my_addr.get_host_name ()); - new_addr->port = my_addr.get_port_number (); - - if (OPTIONS::instance()->debug () >= 2) - ACE_DEBUG ((LM_DEBUG, - "The new host/port is: %Lu:%hu\n", - new_addr->host.in (), - new_addr->port)); - - this->repository_.starting_up (server, 0); - - return new_addr; -} - -// Remove the state information for the current server - -void -ImplRepo_i::server_is_shutting_down (const char *server, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound)) -{ - if (this->repository_.update (server, "", 0, "") == 0) - { - if (OPTIONS::instance()->debug () >= 1) - ACE_DEBUG ((LM_DEBUG, - "Successful server_is_shutting_down () of <%s>\n", - server)); - } - else - { - ACE_ERROR ((LM_ERROR, - "Error: Could not update information for unknown server <%s>\n", - server)); - ACE_THROW (ImplementationRepository::Administration::NotFound ()); - } -} - - - -int -ImplRepo_i::init (int argc, char **argv, CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - int retval = 0; - - // Call the init of to initialize the ORB and - // create a child POA under the root POA. - if (this->orb_manager_.init_child_poa (argc, - argv, - "ir_poa", - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Error: With %p\n", - "init_child_poa"), - -1); - ACE_TRY_CHECK; - - retval = OPTIONS::instance()->parse_args (argc, argv); - - if (retval != 0) - return retval; - - CORBA::ORB_var orb = this->orb_manager_.orb (); - PortableServer::POA_var child_poa = this->orb_manager_.child_poa (); - ACE_NEW_RETURN (this->forwarder_impl_, - IR_Forwarder (orb.in (), - child_poa.in (), - this), - -1); - - CORBA::String_var str = - this->orb_manager_.activate (this->forwarder_impl_, ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (OPTIONS::instance()->debug () >= 2) - ACE_DEBUG ((LM_DEBUG, - "The server IOR is: <%s>\n", - str.in ())); - - if (OPTIONS::instance()->output_file ()) - { - ACE_OS::fprintf (OPTIONS::instance()->output_file (), - "%s", - str.in ()); - ACE_OS::fclose (OPTIONS::instance()->output_file ()); - } - - CORBA::String_var ir_var = - this->orb_manager_.activate_under_child_poa ("implrepo", - this, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (OPTIONS::instance()->debug () >= 2) - ACE_DEBUG ((LM_DEBUG, - "The IR IOR is: <%s>\n", - ir_var.in ())); - - FILE *ir_file = ACE_OS::fopen ("implrepo.ior", "w"); - ACE_OS::fprintf (ir_file, "%s", ir_var.in ()); - ACE_OS::fclose (ir_file); - - PortableServer::POAManager_var poa_manager = - this->orb_manager_.poa_manager (); - - ACE_NEW_RETURN (this->activator_, - IR_Adapter_Activator (this->forwarder_impl_, - poa_manager.in ()), - -1); - - PortableServer::AdapterActivator_var activator = - this->activator_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Register the Adapter_Activator reference to be the RootPOA's - // Adapter Activator. - - PortableServer::POA_var root_poa = this->orb_manager_.root_poa (); - root_poa->the_activator (activator.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Server_i::init"); - ACE_RETHROW; - } - ACE_ENDTRY; - - ACE_CHECK_RETURN (-1); - return 0; -} - -int -ImplRepo_i::run (CORBA::Environment& env) -{ - if (this->orb_manager_.run (env) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Error: In IR_Server_i::run"), - -1); - return 0; -} - -CORBA::String -ImplRepo_i::get_forward_host (const char *server) -{ - ACE_TString host, server_object_ior; - unsigned short port; - - if (this->repository_.get_running_info (server, host, port, server_object_ior) != 0) - return 0; - - return CORBA::string_dup (host.c_str ()); -} - -CORBA::UShort -ImplRepo_i::get_forward_port (const char *server) -{ - ACE_TString host, server_object_ior; - unsigned short port; - - if (this->repository_.get_running_info (server, host, port, server_object_ior) != 0) - return 0; - - return port; -} - -ImplRepo_i::~ImplRepo_i (void) -{ - if (this->forwarder_impl_ != 0) - delete this->forwarder_impl_; - - if (this->activator_ != 0) - delete this->activator_; -} - - -// Returns the startup information for a server - -void -ImplRepo_i::find (const char * server, - ImplementationRepository::ServerInformation_out info, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound)) -{ - ACE_TString logical, command_line, working_directory; - ACE_TString host, server_object_ior; - unsigned short port; - - ACE_NEW_THROW_EX (info, - ImplementationRepository::ServerInformation, - CORBA::NO_MEMORY ()); - ACE_CHECK; - - // Get the information from the server repository. - if (this->repository_.get_startup_info (server, - logical, - command_line, - working_directory) != 0) - ACE_THROW (ImplementationRepository::Administration::NotFound ()); - - if (this->repository_.get_running_info (server, host, port, server_object_ior) != 0) - ACE_THROW (ImplementationRepository::Administration::NotFound ()); - - // Fill in . - info->logical_server = CORBA::string_dup (logical.c_str ()); - info->server = CORBA::string_dup (server); - info->startup.command_line = CORBA::string_dup (command_line.c_str ()); - info->startup.working_directory = CORBA::string_dup (working_directory.c_str ()); - info->location.host = CORBA::string_dup (host.c_str ()); - info->location.port = port; -} - - -// Used to access the list of servers registered. May also return an -// iterator which can be used to access more than of them. - -void -ImplRepo_i::list (CORBA::ULong how_many, - ImplementationRepository::ServerInformationList_out server_list, - ImplementationRepository::ServerInformationIterator_out server_iterator, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Initialize the out variables, so if we return early, they will - // not be dangling. - server_iterator = - ImplementationRepository::ServerInformationIterator::_nil (); - - ACE_NEW_THROW_EX (server_list, - ImplementationRepository::ServerInformationList (0), - CORBA::NO_MEMORY ()); - ACE_CHECK; - - // Get a new iterator - auto_ptr server_iter (this->repository_.new_iterator ()); - - // Check for a memory error. - if (server_iter.get () == 0) - { - ACE_THROW (CORBA::NO_MEMORY ()); - ACE_CHECK; - } - - // Number of servers that will go into the server_list. - CORBA::ULong n; - - if (this->repository_.get_repository_size () > how_many) - n = how_many; - else - n = this->repository_.get_repository_size (); - - // Now copy over to the server list. - - server_list->length (n); - - Server_Repository::HASH_IR_ENTRY *server_entry; - - if (OPTIONS::instance()->debug () >= 2) - ACE_DEBUG ((LM_DEBUG, "list: Filling ServerList with %d servers\n", n)); - - for (CORBA::ULong i = 0; i < n; i++) - { - server_iter->next (server_entry); - server_iter->advance (); - - ACE_TString logical, server, command_line, working_directory, host, server_ior; - unsigned short port; - - server_entry->int_id_->get_running_info (host, port, server_ior); - server_entry->int_id_->get_startup_info (logical, command_line, working_directory); - - server_list[i].logical_server = CORBA::string_dup (logical.c_str ()); - server_list[i].server = CORBA::string_dup (server_entry->ext_id_.c_str ()); - server_list[i].startup.command_line = CORBA::string_dup (command_line.c_str ()); - server_list[i].startup.working_directory = CORBA::string_dup (working_directory.c_str ()); - server_list[i].location.host = CORBA::string_dup (host.c_str ()); - server_list[i].location.port = port; - } - - - // Now work on the iterator - - // Only set up an iterator if we need to - if (this->repository_.get_repository_size () > how_many) - { - if (OPTIONS::instance()->debug () >= 2) - ACE_DEBUG ((LM_DEBUG, "list: Creating ServerInformationIterator\n")); - - // Create an ir_iter and give it the server_iter pointer - IR_Iterator *ir_iter; - - // @@ The iterator object should be put in their own POA (a transient poa) - ACE_NEW_THROW_EX (ir_iter, - IR_Iterator (server_iter.release (), this->orb_manager_.root_poa ()), - CORBA::NO_MEMORY ()); - ACE_CHECK; - - ACE_TRY - { - CORBA::String_var str = - this->orb_manager_.activate (ir_iter, ACE_TRY_ENV); - ACE_TRY_CHECK; - server_iterator = ir_iter->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_RETHROW; - } - ACE_ENDTRY; - ACE_CHECK; - } -} - - -// Attempts to gracefully shut down the server, if that fails, will try -// to do it ungracefully. - -void -ImplRepo_i::shutdown_server (const char *server, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound)) -{ - ACE_TString server_object_ior, host; - unsigned short port; - - // Find out if it is already running - if (this->repository_.get_running_info (server, host, port, server_object_ior) != 0) - { - // If we had problems getting the server_object_ior, probably meant that - // there is no registered - ACE_ERROR ((LM_ERROR, - "Error: Cannot find ServerObject IOR for server <%s>\n", - server)); - ACE_THROW (ImplementationRepository::Administration::NotFound ()); - } - - // Check to see if there is one running (if there is a server_object_ior) - if (server_object_ior.length () != 0) - { - // It is running, so shut it down - ACE_TRY - { - CORBA::Object_var object = - this->orb_manager_.orb ()->string_to_object (server_object_ior.c_str (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ImplementationRepository::ServerObject_var server_object = - ImplementationRepository::ServerObject::_narrow (object.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (server_object.in ())) - { - ACE_ERROR ((LM_ERROR, - "Error: Invalid ServerObject IOR: <%s>\n", - server_object_ior.c_str ())); - ACE_TRY_THROW (ImplementationRepository::Administration::NotFound ()); - } - - // Call shutdown - server_object->shutdown (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Remove running info from repository - if (this->repository_.update (server, "", 0, "") != 0) - { - ACE_ERROR ((LM_ERROR, - "Error: Could not update information for unknown server <%s>\n", - server)); - ACE_TRY_THROW (ImplementationRepository::Administration::NotFound ()); - } - } - ACE_CATCHANY - { - ACE_RETHROW; - } - ACE_ENDTRY; - } -} - - -IR_Adapter_Activator::IR_Adapter_Activator (IR_Forwarder *servant, - PortableServer::POAManager_ptr poa_manager) - : servant_ (servant), - poa_manager_ (PortableServer::POAManager::_duplicate (poa_manager)) -{ - // Nothing -} - -CORBA::Boolean -IR_Adapter_Activator::unknown_adapter (PortableServer::POA_ptr parent, - const char *name, - CORBA_Environment &ACE_TRY_ENV) -{ - CORBA::PolicyList policies (4); - policies.length (4); - - const char *exception_message = "Null Message"; - - ACE_TRY - { - // ID Assignment Policy - exception_message = "While PortableServer::POA::create_id_assignment_policy"; - policies[0] = - parent->create_id_assignment_policy (PortableServer::USER_ID, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Lifespan Policy - exception_message = "While PortableServer::POA::create_lifespan_policy"; - policies[1] = - parent->create_lifespan_policy (PortableServer::PERSISTENT, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Request Processing Policy - exception_message = "While PortableServer::POA::create_request_processing_policy"; - policies[2] = - parent->create_request_processing_policy (PortableServer::USE_DEFAULT_SERVANT, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Id Uniqueness Policy - exception_message = "While PortableServer::POA::create_id_uniqueness_policy"; - policies[3] = - parent->create_id_uniqueness_policy (PortableServer::MULTIPLE_ID, ACE_TRY_ENV); - ACE_TRY_CHECK; - - exception_message = "While create_POA"; - PortableServer::POA_var child = parent->create_POA (name, - this->poa_manager_.in (), - policies, - ACE_TRY_ENV); - - exception_message = "While unknown_adapter::policy->destroy"; - for (CORBA::ULong i = 0; i < policies.length (); ++i) - { - CORBA::Policy_ptr policy = policies[i]; - policy->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - exception_message = "While _this"; - PortableServer::AdapterActivator_var activator = this->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - exception_message = "While child->the_activator"; - child->the_activator (activator.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - exception_message = "While unknown_adapter, set_servant"; - child->set_servant (this->servant_, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "IR_Adapter_Activator::unknown_adapter - %s\n", exception_message)); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "System Exception"); - return 0; - } - ACE_ENDTRY; - - // Finally, now everything is fine - return 1; -} - -// Constructor -IR_Forwarder::IR_Forwarder (CORBA::ORB_ptr orb_ptr, - PortableServer::POA_ptr poa_ptr, - ImplRepo_i *ir_impl) - : ir_impl_ (ir_impl), - orb_var_ (CORBA::ORB::_duplicate (orb_ptr)), - poa_var_ (PortableServer::POA::_duplicate (poa_ptr)) -{ -} - -CORBA::RepositoryId -IR_Forwarder::_primary_interface (const PortableServer::ObjectId &, - PortableServer::POA_ptr, - CORBA::Environment &) -{ - return 0; -} - -void -IR_Forwarder::invoke (CORBA::ServerRequest_ptr , - CORBA::Environment &ACE_TRY_ENV) -{ - TAO_ORB_Core *orb_core = this->orb_var_->orb_core (); - TAO_POA_Current_Impl *poa_current_impl = orb_core->poa_current ().implementation (); - - // The servant determines the key associated with the database entry - // represented by self - PortableServer::ObjectId_var oid = poa_current_impl->get_object_id (ACE_TRY_ENV); - ACE_CHECK; - - // Now convert the id into a string - CORBA::String_var key = PortableServer::ObjectId_to_string (oid.in ()); - - PortableServer::POA_ptr poa = poa_current_impl->get_POA (ACE_TRY_ENV); - ACE_CHECK; - - // Now FORWARD!!! - - ACE_TRY - { - this->ir_impl_->activate_server (poa->the_name (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_RETHROW; - } - ACE_ENDTRY; - - CORBA_Object_ptr forward_object = - this->orb_var_->key_to_object (poa_current_impl->object_key (), - 0, - 0, - 0, - ACE_TRY_ENV); - ACE_CHECK; - - TAO_Stub *stub_obj = ACE_dynamic_cast (TAO_Stub *, - forward_object->_stubobj ()); - - TAO_IIOP_Profile *iiop_pfile = - ACE_dynamic_cast (TAO_IIOP_Profile *, - stub_obj->profile_in_use ()); - - iiop_pfile->port (this->ir_impl_->get_forward_port (poa->the_name ())); - iiop_pfile->host (this->ir_impl_->get_forward_host (poa->the_name ())); - - if (!CORBA::is_nil (forward_object)) - ACE_THROW (PortableServer::ForwardRequest (forward_object)); - else - ACE_ERROR ((LM_ERROR, - "Error: Forward_to reference is nil.\n")); -} - - -// Plain old constructor - -IR_Iterator::IR_Iterator (Server_Repository::HASH_IR_ITER *iterator, - PortableServer::POA_ptr poa) - : iterator_ (iterator), - poa_ (poa) -{ - // Nothing -} - - -// Destructor - -IR_Iterator::~IR_Iterator () -{ - delete iterator_; -} - - -// Returns the next list of up to servers. If empty, will return -// false. - -CORBA::Boolean -IR_Iterator::next_n (CORBA::ULong how_many, - ImplementationRepository::ServerInformationList_out server_list, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_NEW_THROW_EX (server_list, - ImplementationRepository::ServerInformationList (0), - CORBA::NO_MEMORY ()); - - // If there are no more bindings... - if (this->iterator_->done ()) - return 0; // Return false - - // Initially assume that iterator has the requested number of - // bindings. - server_list->length (how_many); - - Server_Repository::HASH_IR_ENTRY *server_entry; - - // Iterate and populate the BindingList. - - for (CORBA::ULong i = 0; i < how_many; i++) - { - this->iterator_->next (server_entry); - - ACE_TString logical, server, command_line, working_directory, host, server_ior; - unsigned short port; - - server_entry->int_id_->get_running_info (host, port, server_ior); - server_entry->int_id_->get_startup_info (logical, command_line, working_directory); - - server_list[i].logical_server = CORBA::string_dup (logical.c_str ()); - server_list[i].server = CORBA::string_dup (server_entry->ext_id_.c_str ()); - server_list[i].startup.command_line = CORBA::string_dup (command_line.c_str ()); - server_list[i].startup.working_directory = CORBA::string_dup (working_directory.c_str ()); - server_list[i].location.host = CORBA::string_dup (host.c_str ()); - server_list[i].location.port = port; - - if (this->iterator_->advance () == 0) - { - // If no more server left, reset length to the actual - // number servers and get out of the loop. - server_list->length (i + 1); - break; - } - } - return 1; -} - - -// Destroys the iterator. - -void IR_Iterator::destroy (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class auto_ptr, ACE_Equal_To, ACE_Null_Mutex> >; -template class ACE_Auto_Basic_Ptr, ACE_Equal_To, ACE_Null_Mutex> >; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate auto_ptr, ACE_Equal_To, ACE_Null_Mutex> >; -#pragma instantiate ACE_Auto_Basic_Ptr, ACE_Equal_To, ACE_Null_Mutex> >; -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.h b/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.h deleted file mode 100644 index 009ec7aeb52..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.h +++ /dev/null @@ -1,250 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/ImplRepo_Service -// -// = FILENAME -// ImplRepo_i.h -// -// = DESCRIPTION -// This class implements the Implementation Repository. -// -// = AUTHOR -// Darrell Brunsch -// -// ============================================================================ - -#ifndef IMPLREPO_I_H -#define IMPLREPO_I_H - -#include "orbsvcs/ImplRepoS.h" -#include "Repository.h" -#include "tao/TAO.h" - -// Forward declarations. -class ImplRepo_i; -class IR_Forwarder; - -// Typedefs. -typedef ImplRepo_i *ImplRepo_i_ptr; -typedef ImplRepo_i_ptr ImplRepo_i_ref; - -class IR_Adapter_Activator : public POA_PortableServer::AdapterActivator -{ - // = TITLE - // Implementation Repository Adapter Activator - // - // = DESCRIPTION - // Part of the Default Servant/DSI combination that forwards - // arbitrary requests. This allows for the setting up of child - // POAs with default servants. -public: - IR_Adapter_Activator (IR_Forwarder *servant, - PortableServer::POAManager_ptr poa_manager); - // Constructor - - virtual CORBA::Boolean unknown_adapter (PortableServer::POA_ptr parent, - const char *name, - CORBA_Environment &ACE_TRY_ENV - = TAO_default_environment ()); - // Called by the POA when the incoming requested object/POA isn't found. This will - // create POAs when needed and will also put a DSI object (IR_Forwarder) in that POA - // as a default servant to handle that request -private: - IR_Forwarder *servant_; - // The object to use as the default servant. - - PortableServer::POAManager_var poa_manager_; - // POA Manager -}; - -class ImplRepo_i : public POA_ImplementationRepository::Administration -{ - // = TITLE - // Implementation Repository - // - // = DESCRIPTION - // This provides the interface to Administer the Implementation Repository. -public: - // = Constructor and destructor - ImplRepo_i (void); - ~ImplRepo_i (void); - - // = Interface methods - - virtual void activate_server (const char * server, - CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound, - ImplementationRepository::Administration::CannotActivate)); - // Starts up the server if not already running. - - virtual void register_server (const char *server, - const ImplementationRepository::StartupOptions &options, - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::AlreadyRegistered)); - // Adds the server to the repository and registers the startup information about - // the server . - - virtual void reregister_server (const char *server, - const ImplementationRepository::StartupOptions &options, - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Updates the startup information about the server . - - virtual void remove_server (const char *server, - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound)); - // Removes the server from the repository. - - virtual void shutdown_server (const char * server, - CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound)); - // Attempts to gracefully shut down the server, if that fails, will try - // to do it ungracefully. - - virtual ImplementationRepository::Address * - server_is_running (const char * server, - const ImplementationRepository::Address &addr, - ImplementationRepository::ServerObject_ptr server_object, - CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound)); - // Called by the server to update transient information such as current location of - // the and its ServerObject. - - virtual void server_is_shutting_down (const char * server, - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound)); - // What the server should call before it shuts down. - - virtual void find (const char * server, - ImplementationRepository::ServerInformation_out info, - CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - ImplementationRepository::Administration::NotFound)); - // Returns the startup information for a server - - virtual void list (CORBA::ULong how_many, - ImplementationRepository::ServerInformationList_out server_list, - ImplementationRepository::ServerInformationIterator_out server_iterator, - CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Used to access the list of servers registered. May also return an - // iterator which can be used to access more than of them. - - // = Other methods - - int init (int argc, char **argv, - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()); - // Initialize the Server state - parsing arguments and waiting. - - int run (CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()); - // Runs the orb. - - CORBA::String get_forward_host (const char *server); - // Returns the host of the server that needs to be forwarded to. - - CORBA::UShort get_forward_port (const char *server); - // Returns the port of the server that needs to be forwarded to. - -private: - IR_Forwarder *forwarder_impl_; - // The class that handles the forwarding. - - IR_Adapter_Activator *activator_; - // Used for the forwarding of any type of POA. - - Server_Repository repository_; - // Repository containing information about each server. - - TAO_ORB_Manager orb_manager_; - // The ORB manager. - - char *server_key_; - // Key of the obj ref of the server. - - char *server_input_file_; - // Copy of the filename for the server output file. - - int argc_; - // Number of command line arguments. - - char **argv_; - // The command line arguments. -}; - -class IR_Forwarder: public PortableServer::DynamicImplementation - // = TITLE - // Implementation Repository Forwarder - // - // = DESCRIPTION - // This class is provides a DSI implementation that is used to handle - // arbitrary calls and forward them to the correct place. -{ -public: - IR_Forwarder (CORBA::ORB_ptr orb_ptr, - PortableServer::POA_ptr poa_ptr, - ImplRepo_i *ir_impl); - // Constructor - - virtual void invoke (CORBA::ServerRequest_ptr request, - CORBA::Environment &env); - // The invoke() method receives requests issued to any CORBA - // object incarnated by the DSI servant and performs the - // processing necessary to execute the request. - - CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::Environment &env = TAO_default_environment ()); - // DynamicImplementation stuff - -private: - class ImplRepo_i *ir_impl_; - // Where we find out where to forward to. - - CORBA::ORB_var orb_var_; - // ORB reference. - - PortableServer::POA_var poa_var_; - // POA reference. -}; - -class IR_Iterator : public POA_ImplementationRepository::ServerInformationIterator -{ -public: - IR_Iterator (Server_Repository::HASH_IR_ITER *iterator, - PortableServer::POA_ptr poa); - // Constructor - // Ownership of iterator is transfered to this class (we'll delete it) - - ~IR_Iterator (); - // Destructor - - virtual CORBA::Boolean next_n (CORBA::ULong how_many, - ImplementationRepository::ServerInformationList_out server_list, - CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns the next list of up to servers. If empty, will return - // false. - - virtual void destroy (CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Destroys the iterator. - -private: - Server_Repository::HASH_IR_ITER *iterator_; - // Our very own iterator for transversing the server repository. - - PortableServer::POA_var poa_; - // Our lovely POA. -}; - -#endif /* IMPLREPO_I_H */ diff --git a/TAO/orbsvcs/ImplRepo_Service/Makefile b/TAO/orbsvcs/ImplRepo_Service/Makefile deleted file mode 100644 index 0d842fd46a0..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/Makefile +++ /dev/null @@ -1,1323 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -LDLIBS = -lorbsvcs -lTAO - -PROG_SRCS = \ - ImplRepo.cpp \ - ImplRepo_i.cpp \ - Repository.cpp \ - Options.cpp \ - tao_ir.cpp \ - tao_ir_i.cpp - -SRC = $(PROG_SRCS) - -IMPLREPO_SVR_OBJS = \ - ImplRepo.o \ - ImplRepo_i.o \ - Repository.o \ - Options.o - -TAO_IR_OBJS = \ - tao_ir.o \ - tao_ir_i.o - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = ImplRepo_Service \ - tao_ir - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (ImplRepo,$(findstring ImplRepo,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # ImplRepo - -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -ImplRepo_Service: $(addprefix $(VDIR),$(IMPLREPO_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -tao_ir: $(addprefix $(VDIR),$(TAO_IR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/ImplRepo.o .obj/ImplRepo.so .shobj/ImplRepo.o .shobj/ImplRepo.so: ImplRepo.cpp ImplRepo_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/varout.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS.i \ - Repository.h \ - $(TAO_ROOT)/tao/TAO.h -.obj/ImplRepo_i.o .obj/ImplRepo_i.so .shobj/ImplRepo_i.o .shobj/ImplRepo_i.so: ImplRepo_i.cpp ImplRepo_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/varout.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS.i \ - Repository.h \ - $(TAO_ROOT)/tao/TAO.h \ - Options.h \ - $(TAO_ROOT)/tao/IIOP_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 \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(TAO_ROOT)/tao/IIOP_Profile.i \ - $(TAO_ROOT)/tao/IIOP_Acceptor.h \ - $(TAO_ROOT)/tao/IIOP_Connect.h \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(TAO_ROOT)/tao/Wait_Strategy.h \ - $(TAO_ROOT)/tao/IIOP_Transport.h \ - $(TAO_ROOT)/tao/IIOP_Connect.i \ - $(TAO_ROOT)/tao/Acceptor_Impl.h \ - $(TAO_ROOT)/tao/Acceptor_Impl.i \ - $(TAO_ROOT)/tao/Acceptor_Impl.cpp \ - $(TAO_ROOT)/tao/IIOP_Acceptor.i \ - $(TAO_ROOT)/tao/Acceptor_Registry.h \ - $(TAO_ROOT)/tao/Acceptor_Registry.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp -.obj/Repository.o .obj/Repository.so .shobj/Repository.o .shobj/Repository.so: Repository.cpp Repository.h \ - $(ACE_ROOT)/ace/Functor.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(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.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Malloc_Base.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/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(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/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(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 \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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 \ - Options.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp -.obj/Options.o .obj/Options.so .shobj/Options.o .shobj/Options.so: Options.cpp Options.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/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 \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i -.obj/tao_ir.o .obj/tao_ir.so .shobj/tao_ir.o .shobj/tao_ir.so: tao_ir.cpp tao_ir_i.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/varout.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.i -.obj/tao_ir_i.o .obj/tao_ir_i.so .shobj/tao_ir_i.o .shobj/tao_ir_i.so: tao_ir_i.cpp tao_ir_i.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/varout.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Read_Buffer.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/ImplRepo_Service/Makefile.am b/TAO/orbsvcs/ImplRepo_Service/Makefile.am deleted file mode 100644 index e681e218b0d..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Implementation Repository Service -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -bin_PROGRAMS = ImplRepo_Service - -ImplRepo_Service_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -ImplRepo_Service_SOURCES = \ - ImplRepo.cpp \ - ImplRepo_i.cpp \ - Repository.cpp - -noinst_HEADERS = \ - ImplRepo_i.h \ - Repository.h - -## EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/ImplRepo_Service/Options.cpp b/TAO/orbsvcs/ImplRepo_Service/Options.cpp deleted file mode 100644 index b74092d7808..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/Options.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// $Id$ -#include "Options.h" -#include "ace/Get_Opt.h" - -// Default Constructor -Options::Options () -: debug_ (1), - ior_output_file_ (0) -{ - // Nothing -} - -int -Options::parse_args (int argc, ASYS_TCHAR *argv[]) -{ - ACE_Get_Opt get_opts (argc, argv, "d:o:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - this->debug_ = ACE_OS::atoi (get_opts.optarg); - break; - case 'o': // output the IOR to a file. - this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w"); - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Error: Unable to open %s for writing: %p\n", - get_opts.optarg), -1); - break; - case '?': // display help for use of the server. - default: - ACE_ERROR_RETURN ((LM_ERROR, - "Usage: %s" - " [-d] " - " [-o] " - "\n", - argv [0]), - 1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Returns the debug level for the IR. - -int -Options::debug (void) const -{ - return this->debug_; -} - -// Returns the file where the IOR should be stored. - -FILE * -Options::output_file (void) const -{ - return this->ior_output_file_; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Singleton ; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Singleton -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/ImplRepo_Service/Options.h b/TAO/orbsvcs/ImplRepo_Service/Options.h deleted file mode 100644 index d0a4f0492fb..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/Options.h +++ /dev/null @@ -1,63 +0,0 @@ -/* -*- C++ -*- */ -// $Id $ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/ImplRepo_Service -// -// = FILENAME -// Options.h -// -// = DESCRIPTION -// This class implements the Options container for the Implementation -// Repository. -// -// = AUTHOR -// Darrell Brunsch -// -// ============================================================================ - -#ifndef OPTIONS_H -#define OPTIONS_H - -#include "ace/Singleton.h" - -class Options -{ - // = TITLE - // Maintains the global options. - // - // = DESCRIPTION - // This class is converted into a Singleton by the - // template. -public: - Options (); - // Default Constructor - - int parse_args (int argc, ASYS_TCHAR *argv[]); - // Parse the command-line arguments and initialize the options. - - int debug (void) const; - // Debug level for the IR. - // 0 - Quiet - // 1 - Trace messages - // 2 - Detailed messages - - FILE *output_file (void) const; - // Returns the file where the IOR should be stored. - -private: - unsigned int debug_; - // Debug information - - FILE *ior_output_file_; - // File where the IOR of the server object is stored. - -}; - -// Typedef an Options Singleton. -typedef ACE_Singleton OPTIONS; - -#endif /* OPTIONS_H */ - diff --git a/TAO/orbsvcs/ImplRepo_Service/Repository.cpp b/TAO/orbsvcs/ImplRepo_Service/Repository.cpp deleted file mode 100644 index 15e145dfab2..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/Repository.cpp +++ /dev/null @@ -1,240 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -#include "Repository.h" -#include "Options.h" -#include "ace/ACE.h" - -ACE_RCSID(ImplRepo_Service, Repository, "$Id$") - - - -// Initialize the command_line and working_dir. - -Server_Info::Server_Info (const ACE_TString POA_name, - const ACE_TString logical_server_name, - const ACE_TString startup_command, - const ACE_TString working_dir) -: starting_up_ (0), - logical_server_name_ (logical_server_name), - POA_name_ (POA_name), - startup_command_ (startup_command), - working_dir_ (working_dir), - host_ (""), - port_ (0), - server_object_ior_ ("") -{ - // Nothing -} - - -Server_Info::~Server_Info () -{ - // Nothing -} - - -// Updates information that is relevant only when an instance -// of the server is running. - -void -Server_Info::update_running_info (const ACE_TString host, - const unsigned short port, - const ACE_TString server_object_ior) -{ - this->host_ = host; - this->port_ = port; - this->server_object_ior_ = server_object_ior; -} - - -// Returns startup information. - -void -Server_Info::get_startup_info (ACE_TString &logical_server_name, - ACE_TString &startup_command, - ACE_TString &working_dir) -{ - logical_server_name = this->logical_server_name_; - startup_command = this->startup_command_; - working_dir = this->working_dir_; -} - - -// Returns information about a running instance. - -void -Server_Info::get_running_info (ACE_TString &host, - unsigned short &port, - ACE_TString &server_object_ior) -{ - host = this->host_; - port = this->port_; - server_object_ior = this->server_object_ior_; -} - -// Default Constructor - -Server_Repository::Server_Repository () -{ - // Nothing -} - - -// Add a new server to the Repository - -int -Server_Repository::add (const ACE_TString POA_name, - const ACE_TString logical_server_name, - const ACE_TString startup_command, - const ACE_TString working_dir) -{ - Server_Info *new_server; - ACE_NEW_RETURN (new_server, - Server_Info (POA_name, logical_server_name, startup_command, working_dir), - -1); - - return this->repository_.bind (POA_name, new_server); -} - - -// Update the associated process information. - -int -Server_Repository::update (const ACE_TString POA_name, - const ACE_TString host, - const unsigned short port, - const ACE_TString server_object_ior) -{ - Server_Info *server; - int retval = this->repository_.find (POA_name, server); - - // Only fill in data if it was found - if (retval == 0) - server->update_running_info (host, port, server_object_ior); - - return retval; -} - - -// Returns information related to startup. - -int -Server_Repository::get_startup_info (const ACE_TString POA_name, - ACE_TString &logical_server_name, - ACE_TString &startup_command, - ACE_TString &working_dir) -{ - Server_Info *server; - int retval = this->repository_.find (POA_name, server); - - // Only fill in data if it was found - if (retval == 0) - server->get_startup_info (logical_server_name, startup_command, working_dir); - - return retval; -} - - -// Returns information related to a running copy. - -int -Server_Repository::get_running_info (const ACE_TString POA_name, - ACE_TString &host, - unsigned short &port, - ACE_TString &server_object_ior) -{ - Server_Info *server; - int retval = this->repository_.find (POA_name, server); - - // Only fill in data if it was found - if (retval == 0) - server->get_running_info (host, port, server_object_ior); - - return retval; -} - - -// Checks the starting_up_ variable in the Server_Info and -// returns the previous value or -1 if the POA_name wasn't found - -int -Server_Repository::starting_up (const ACE_TString POA_name, int new_value) -{ - Server_Info *server; - int retval = this->repository_.find (POA_name, server); - - // Only fill in data if it was found - if (retval == 0) - { - retval = server->starting_up_; - server->starting_up_ = new_value; - } - - return retval; -} - - -// Same as above but does not alter the value - -int -Server_Repository::starting_up (const ACE_TString POA_name) -{ - Server_Info *server; - int retval = this->repository_.find (POA_name, server); - - // Only fill in data if it was found - if (retval == 0) - retval = server->starting_up_; - - return retval; -} - - -// Removes the server from the Repository. - -int -Server_Repository::remove (const ACE_TString POA_name) -{ - return this->repository_.unbind (POA_name); -} - - -// Returns a new iterator that travels over the repository. - -Server_Repository::HASH_IR_ITER * -Server_Repository::new_iterator () -{ - HASH_IR_ITER *hash_iter; - ACE_NEW_RETURN (hash_iter, - Server_Repository::HASH_IR_ITER (this->repository_), - 0); - return hash_iter; -} - - -// Returns the number of entries in the repository. - -size_t -Server_Repository::get_repository_size () -{ - return this->repository_.current_size (); -} - - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class ACE_Hash_Map_Entry; -template class ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex>; - -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate ACE_Hash_Map_Entry -#pragma instantiate ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex> - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/ImplRepo_Service/Repository.h b/TAO/orbsvcs/ImplRepo_Service/Repository.h deleted file mode 100644 index 8bf8a156f9e..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/Repository.h +++ /dev/null @@ -1,179 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/ImplRepo_Service -// -// = FILENAME -// Repository.h -// -// = DESCRIPTION -// This class implements the Repository for the Implementation Repository. -// -// = AUTHOR -// Darrell Brunsch -// -// ============================================================================ - -#ifndef REPOSITORY_H -#define REPOSITORY_H - -#include "ace/Functor.h" -#include "ace/Hash_Map_Manager.h" -#include "ace/Synch.h" -#include "ace/SString.h" - - -class Server_Info - // = TITLE - // Information about IR registered servers. - // - // = DESCRIPTION - // Contains all the necessary information about the server including - // Information on how to start it up and where it is running. -{ -public: - // = Constructors - - Server_Info (const ACE_TString POA_name, - const ACE_TString logical_server_name, - const ACE_TString startup_command, - const ACE_TString working_dir); - // Initialize the command_line and working_dir. - - // = Destructors - - ~Server_Info (); - // The only destructor there is. - - void update_running_info (const ACE_TString host, - const unsigned short port, - const ACE_TString server_object_ior); - // Updates information that is relevant only when an instance - // of the server is running. - - void get_startup_info (ACE_TString &logical_server_name, - ACE_TString &startup_command, - ACE_TString &working_dir); - // Returns startup information. - - void get_running_info (ACE_TString &host, - unsigned short &port, - ACE_TString &server_object_ior); - // Returns information about a running instance. - - // @@ Does this belong here? - // int startup (); - // Starts up the server based on the information. - // Returns: 0 if successful - // -1 if there is no registration command (it has to be manually - // restarted) - - int starting_up_; - // This is a flag to determine if the process has already been spawned - // and we are just waiting for it to start up. - -private: - ACE_TString logical_server_name_; - // Which server process this poa is grouped in. - - ACE_TString POA_name_; - // The name of the POA. - - ACE_TString startup_command_; - // The command line startup command (program and arguments). - - ACE_TString working_dir_; - // The working directory. - - ACE_TString host_; - // Current hostname used by the server. - - unsigned short port_; - // Current port used by the server. - - ACE_TString server_object_ior_; - // IOR of the server object in the server. - - // No copying allowed. - void operator= (Server_Info &); - Server_Info (Server_Info &); -}; - - - - -class Server_Repository - // = TITLE - // Repository of Server_Infos. - // - // = DESCRIPTION - // Handles the storage, updating, and startup of servers. -{ -public: - Server_Repository (); - // Default Constructor - - typedef ACE_Hash_Map_Entry HASH_IR_ENTRY; - - typedef ACE_Hash_Map_Manager_Ex, - ACE_Equal_To, - ACE_Null_Mutex> HASH_IR_MAP; - - typedef ACE_Hash_Map_Iterator_Ex, - ACE_Equal_To, - ACE_Null_Mutex> HASH_IR_ITER; - - int add (const ACE_TString POA_name, - const ACE_TString logical_server_name, - const ACE_TString startup_command, - const ACE_TString working_dir); - // Add a new server to the Repository - - int update (const ACE_TString POA_name, - const ACE_TString host, - const unsigned short port, - const ACE_TString server_object_ior); - // Update the associated process information. - - int get_startup_info (const ACE_TString POA_name, - ACE_TString &logical_server_name, - ACE_TString &startup_command, - ACE_TString &working_dir); - // Returns information related to startup. - - int get_running_info (const ACE_TString POA_name, - ACE_TString &host, - unsigned short &port, - ACE_TString &server_object_ior); - // Returns information related to a running copy. - - int starting_up (const ACE_TString POA_name, int new_value); - // Checks the starting_up_ variable in the Server_Info and - // returns the previous value or -1 if the POA_name wasn't found - - int starting_up (const ACE_TString POA_name); - // Same as above but does not alter the value. - - int remove (const ACE_TString POA_name); - // Removes the server from the Repository. - - HASH_IR_ITER *new_iterator (); - // Returns a new iterator that travels over the repository. - - size_t get_repository_size (); - // Returns the number of entries in the repository. - -private: - HASH_IR_MAP repository_; -}; - - -#endif /* REPOSITORY_H */ diff --git a/TAO/orbsvcs/ImplRepo_Service/implrepo.dsp b/TAO/orbsvcs/ImplRepo_Service/implrepo.dsp deleted file mode 100644 index f1b995a3150..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/implrepo.dsp +++ /dev/null @@ -1,124 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ImplRepo_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=ImplRepo_Service - 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 "implrepo.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 "implrepo.mak" CFG="ImplRepo_Service - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ImplRepo_Service - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "ImplRepo_Service - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "ImplRepo_Service - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\\" /I "..\..\\" /I "..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 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 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /out:"Release/ImplRepo_Service.exe" /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "ImplRepo_Service - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\\" /I "..\..\\" /I "..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 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 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /out:"ImplRepo_Service.exe" /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "ImplRepo_Service - Win32 Release" -# Name "ImplRepo_Service - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\ImplRepo.cpp -# End Source File -# Begin Source File - -SOURCE=.\ImplRepo_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Options.cpp -# End Source File -# Begin Source File - -SOURCE=.\Repository.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\ImplRepo_i.h -# End Source File -# Begin Source File - -SOURCE=.\Options.h -# End Source File -# Begin Source File - -SOURCE=.\Repository.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/ImplRepo_Service/tao_ir.cpp b/TAO/orbsvcs/ImplRepo_Service/tao_ir.cpp deleted file mode 100644 index 24f542c2c02..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/tao_ir.cpp +++ /dev/null @@ -1,17 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "tao_ir_i.h" - -ACE_RCSID(ImplRepo_Service, tao_ir, "$Id$") - -int -main (int argc, ASYS_TCHAR *argv[]) -{ - TAO_IR_i tao_ir_i; - - if (tao_ir_i.init (argc, argv) == -1) - return 1; - else - return tao_ir_i.run (); -} diff --git a/TAO/orbsvcs/ImplRepo_Service/tao_ir.dsp b/TAO/orbsvcs/ImplRepo_Service/tao_ir.dsp deleted file mode 100644 index 5f86793005a..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/tao_ir.dsp +++ /dev/null @@ -1,107 +0,0 @@ -# Microsoft Developer Studio Project File - Name="tao_ir" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=tao_ir - 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 "tao_ir.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 "tao_ir.mak" CFG="tao_ir - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "tao_ir - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "tao_ir - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "tao_ir - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "tao_ir___Win32_Release" -# PROP BASE Intermediate_Dir "tao_ir___Win32_Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\\" /I "..\..\\" /I "..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 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 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "tao_ir - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "tao_ir___Win32_Debug" -# PROP BASE Intermediate_Dir "tao_ir___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\\" /I "..\..\\" /I "..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 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 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "tao_ir - Win32 Release" -# Name "tao_ir - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\tao_ir.cpp -# End Source File -# Begin Source File - -SOURCE=.\tao_ir_i.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\tao_ir_i.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/ImplRepo_Service/tao_ir_i.cpp b/TAO/orbsvcs/ImplRepo_Service/tao_ir_i.cpp deleted file mode 100644 index bbfa7b7ee6c..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/tao_ir_i.cpp +++ /dev/null @@ -1,793 +0,0 @@ -// $Id$ - -#include "tao_ir_i.h" -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" - -ACE_RCSID(ImplRepo_Service, tao_ir_i, "$Id:") - -// How many servers should we get at once? -const size_t IR_LIST_CHUNK = 4; - - -// Constructor - -TAO_IR_i::TAO_IR_i (void) -: implrepo_ (ImplementationRepository::Administration::_nil ()), - op_ (0) -{ - // Nothing -} - - -// Destructor - -TAO_IR_i::~TAO_IR_i (void) -{ - delete this->op_; -} - -int -TAO_IR_i::run () -{ - if (this->op_ == 0) - { - ACE_ERROR ((LM_ERROR, "Unknown operation")); - return -1; - } - - return this->op_->run (); -} - -int -TAO_IR_i::init (int argc, char **argv) -{ - this->argc_ = argc; - this->argv_ = argv; - - const char *exception_message = "Null Message"; - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Retrieve the ORB. - this->orb_ = CORBA::ORB_init (this->argc_, - this->argv_, - "internet", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the ImplRepo object - - CORBA::Object_var implrepo_object = - orb_->resolve_initial_references ("ImplRepoService"); - - if (CORBA::is_nil (implrepo_object.in ())) - { - ACE_ERROR ((LM_ERROR, - "Unable to resolve the Implementation Repository.\n")); - ACE_OS::exit (-1); - } - - exception_message = "While narrowing ImplRepo"; - this->implrepo_ = - ImplementationRepository::Administration::_narrow (implrepo_object.in(), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - return -1; - } - ACE_CATCHANY - { - ACE_ERROR ((LM_ERROR, "TAO_IR_i::init - %s\n", exception_message)); - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - - -// Go through and figure out which operation we should do. - -int -TAO_IR_i::parse_args (void) -{ - // Make sure one command was given - if (this->argc_ < 2) - { - this->print_usage (); - return -1; - } - - this->op_ = TAO_IR_Op::make_op (this->argv_[1], this->implrepo_.in ()); - - // Check for unrecognized operation - - if (this->op_ == 0) - { - ACE_ERROR ((LM_ERROR, "ERROR: Unrecognized command: <%s>\n", this->argv_[1])); - this->print_usage (); - return -1; - } - - // Adjust argc and argv so only the command specific args are passed - return this->op_->parse (this->argc_ - 2, this->argv_ + 2); -} - - -// Print out information about all operations. - -void -TAO_IR_i::print_usage (void) -{ - ACE_ERROR ((LM_ERROR, "Usage: tao_ir [options] command [command-arguments]\n" - " where [options] are ORB options\n" - " where command is one of the following:\n" - " activate Activates a server through the IR\n" - " add Add an entry to the IR\n" - " list List the entries in the IR\n" - " remove Remove an entry from the IR\n" - " shutdown Shuts down a server through the IR\n" - " update Update an entry in the IR\n" - " where [command-arguments] depend on the command\n")); -} - - -// Factory for operations - -TAO_IR_Op * -TAO_IR_Op::make_op (const ASYS_TCHAR *op_name, ImplementationRepository::Administration_ptr ir) -{ - if (ACE_OS::strcasecmp (op_name, ASYS_TEXT ("activate")) == 0) - return new TAO_IR_Op_Activate (ir); - else if (ACE_OS::strcasecmp (op_name, ASYS_TEXT ("add")) == 0) - return new TAO_IR_Op_Add (ir); - else if (ACE_OS::strcasecmp (op_name, ASYS_TEXT ("list")) == 0) - return new TAO_IR_Op_List (ir); - else if (ACE_OS::strcasecmp (op_name, ASYS_TEXT ("remove")) == 0) - return new TAO_IR_Op_Remove (ir); - else if (ACE_OS::strcasecmp (op_name, ASYS_TEXT ("shutdown")) == 0) - return new TAO_IR_Op_Shutdown (ir); - else if (ACE_OS::strcasecmp (op_name, ASYS_TEXT ("update")) == 0) - return new TAO_IR_Op_Update (ir); - - return 0; -} - - -// ============================================================================ -// = Constructors. - - -TAO_IR_Op::TAO_IR_Op (ImplementationRepository::Administration_ptr implrepo) -: implrepo_ (implrepo) -{ - // Nothing -} - -TAO_IR_Op_Activate::TAO_IR_Op_Activate (ImplementationRepository::Administration_ptr implrepo) -: TAO_IR_Op (implrepo) -{ - // Nothing -} - -TAO_IR_Op_Add::TAO_IR_Op_Add (ImplementationRepository::Administration_ptr implrepo) -: TAO_IR_Op (implrepo) -{ - // Nothing -} - -TAO_IR_Op_List::TAO_IR_Op_List (ImplementationRepository::Administration_ptr implrepo) -: TAO_IR_Op (implrepo), - verbose_server_information_ (0) -{ - // Nothing -} - -TAO_IR_Op_Remove::TAO_IR_Op_Remove (ImplementationRepository::Administration_ptr implrepo) -: TAO_IR_Op (implrepo) -{ - // Nothing -} - -TAO_IR_Op_Shutdown::TAO_IR_Op_Shutdown (ImplementationRepository::Administration_ptr implrepo) -: TAO_IR_Op (implrepo) -{ - // Nothing -} - -TAO_IR_Op_Update::TAO_IR_Op_Update (ImplementationRepository::Administration_ptr implrepo) -: TAO_IR_Op (implrepo), - set_command_line_ (0), - set_working_dir_ (0) -{ - // Nothing -} - - -// ============================================================================ -// = Virtual Destructors. - - -TAO_IR_Op::~TAO_IR_Op () -{ - // Nothing -} - -TAO_IR_Op_Activate::~TAO_IR_Op_Activate (void) -{ - // Nothing -} - -TAO_IR_Op_Add::~TAO_IR_Op_Add (void) -{ - // Nothing -} - -TAO_IR_Op_List::~TAO_IR_Op_List (void) -{ - // Nothing -} - -TAO_IR_Op_Remove::~TAO_IR_Op_Remove (void) -{ - // Nothing -} - -TAO_IR_Op_Shutdown::~TAO_IR_Op_Shutdown (void) -{ - // Nothing -} - -TAO_IR_Op_Update::~TAO_IR_Op_Update (void) -{ - // Nothing -} - - -// ============================================================================ -// = Parse methods - - -int -TAO_IR_Op_Activate::parse (int argc, ASYS_TCHAR **argv) -{ - // Check for enough arguments (we need at least one for the server name) - if (argc < 1) - { - this->print_usage (); - return -1; - } - - // Skip both the program name and the "activate" command - ACE_Get_Opt get_opts (argc, argv, "h"); - - this->server_name_ = argv[0]; - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'h': // display help - default: - this->print_usage (); - return -1; - } - - // Success - return 0; -} - -int -TAO_IR_Op_Add::parse (int argc, ASYS_TCHAR **argv) -{ - // Check for enough arguments (we need at least one for the server name) - if (argc < 1) - { - this->print_usage (); - return -1; - } - - // Skip both the program name and the "add" command - ACE_Get_Opt get_opts (argc, argv, "hc:w:"); - - this->server_name_ = argv[0]; - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'c': // Command line arguments - this->command_line_ = get_opts.optarg; - break; - case 'w': // Working Directory - this->working_dir_ = get_opts.optarg; - break; - case 'h': // display help - default: - this->print_usage (); - return -1; - } - - // Success - return 0; -} - -int -TAO_IR_Op_List::parse (int argc, ASYS_TCHAR **argv) -{ - int server_flag = 0; - - if (argc > 0 && argv[0][0] != '-') - { - this->server_name_ = argv[0]; - server_flag = 1; - } - - // Skip both the program name and the "list" command - ACE_Get_Opt get_opts (argc, argv, "vh", server_flag); - - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'v': // verbose server display - this->verbose_server_information_ = 1; - break; - case 'h': // display help - default: - this->print_usage (); - return -1; - } - - // Success - return 0; -} - -int -TAO_IR_Op_Remove::parse (int argc, ASYS_TCHAR **argv) -{ - // Check for enough arguments (we need at least one for the server name) - if (argc < 1) - { - this->print_usage (); - return -1; - } - - // Skip both the program name and the "remove" command - ACE_Get_Opt get_opts (argc, argv, "h"); - - this->server_name_ = argv[0]; - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'h': // display help - default: - this->print_usage (); - return -1; - } - - // Success - return 0; -} - -int -TAO_IR_Op_Shutdown::parse (int argc, ASYS_TCHAR **argv) -{ - // Check for enough arguments (we need at least one for the server name) - if (argc < 1) - { - this->print_usage (); - return -1; - } - - // Skip both the program name and the "shutdown" command - ACE_Get_Opt get_opts (argc, argv, "h"); - - this->server_name_ = argv[0]; - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'h': // display help - default: - this->print_usage (); - return -1; - } - - // Success - return 0; -} - -int -TAO_IR_Op_Update::parse (int argc, ASYS_TCHAR **argv) -{ - // Check for enough arguments (we need at least one for the server name) - if (argc < 1) - { - this->print_usage (); - return -1; - } - - // Skip both the program name and the "update" command - ACE_Get_Opt get_opts (argc, argv, "hc:w:"); - - this->server_name_ = argv[0]; - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'c': // Command line arguments - this->set_command_line_ = 1; - this->command_line_ = get_opts.optarg; - break; - case 'w': // Working Directory - this->set_working_dir_ = 1; - this->working_dir_ = get_opts.optarg; - break; - case 'h': // display help - default: - this->print_usage (); - return -1; - } - - // Success - return 0; -} - - -// ============================================================================ -// = Run methods - - -int -TAO_IR_Op_Activate::run (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - this->implrepo_->activate_server (this->server_name_.c_str (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Successfully Activated server <%s>\n", this->server_name_.c_str ())); - } - ACE_CATCH (ImplementationRepository::Administration::NotFound, ex) - { - ACE_ERROR ((LM_ERROR, "Could not find server <%s>!\n", this->server_name_.c_str ())); - return -1; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Activating Server"); - return -1; - } - ACE_ENDTRY; - - // Success - return 0; -} - -int -TAO_IR_Op_Add::run (void) -{ - ImplementationRepository::StartupOptions startup_options; - - startup_options.command_line = CORBA::string_dup (this->command_line_.c_str ()); - // @@ add environment - startup_options.working_directory = CORBA::string_dup (this->working_dir_.c_str ()); - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - this->implrepo_->register_server (this->server_name_.c_str (), startup_options, ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Successfully registered server <%s>\n", this->server_name_.c_str ())); - } - ACE_CATCH (ImplementationRepository::Administration::AlreadyRegistered, ex) - { - ACE_ERROR ((LM_ERROR, "Server <%s> already registered!\n", this->server_name_.c_str ())); - return -1; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Adding server"); - return -1; - } - ACE_ENDTRY; - - // Success - return 0; -} - -int -TAO_IR_Op_List::run (void) -{ - ImplementationRepository::ServerInformationList_var server_list; - ImplementationRepository::ServerInformationIterator_var server_iter; - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // If there is a server name, list only that server. Otherwise, look - // at all of them. - if (this->server_name_.length () == 0) - { - this->implrepo_->list (IR_LIST_CHUNK, server_list, server_iter, ACE_TRY_ENV); - ACE_TRY_CHECK; - - for (size_t i = 0; i < server_list->length (); i++) - this->display_server_information (server_list[i]); - - // Check for more to be displayed - if (!CORBA::is_nil (server_iter.in ())) - { - int flag = 1; - - while (flag) - { - flag = server_iter->next_n (IR_LIST_CHUNK, server_list, ACE_TRY_ENV); - ACE_TRY_CHECK; - - for (size_t i = 0; i < server_list->length (); i++) - this->display_server_information (server_list[i]); - } - - // We are done with the iterator, so it can go away now. - server_iter->destroy (); - } - } - else - { - ImplementationRepository::ServerInformation_var server_information; - - this->implrepo_->find (this->server_name_.c_str (), server_information, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Display verbosely - this->verbose_server_information_ = 1; - - this->display_server_information (server_information.in ()); - } - } - ACE_CATCH (ImplementationRepository::Administration::NotFound, ex) - { - ACE_ERROR ((LM_ERROR, "Could not find server <%s>!\n", this->server_name_.c_str ())); - return -1; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "List"); - return -1; - } - ACE_ENDTRY; - return 0; -} - -int -TAO_IR_Op_Remove::run (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - this->implrepo_->remove_server (this->server_name_.c_str (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Successfully removed server <%s>\n", this->server_name_.c_str ())); - } - ACE_CATCH (ImplementationRepository::Administration::NotFound, ex) - { - ACE_ERROR ((LM_ERROR, "Could not find server <%s>!\n", this->server_name_.c_str ())); - return -1; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Removing Server"); - return -1; - } - ACE_ENDTRY; - - // Success - return 0; -} - -int -TAO_IR_Op_Shutdown::run (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - this->implrepo_->shutdown_server (this->server_name_.c_str (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Successfully shut down server <%s>\n", this->server_name_.c_str ())); - } - ACE_CATCH (ImplementationRepository::Administration::NotFound, ex) - { - ACE_ERROR ((LM_ERROR, "Could not find server <%s>!\n", this->server_name_.c_str ())); - return -1; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Shutting Down Server"); - return -1; - } - ACE_ENDTRY; - - // Success - return 0; -} - -int -TAO_IR_Op_Update::run (void) -{ - ImplementationRepository::ServerInformation_var server_information; - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - this->implrepo_->find (this->server_name_.c_str (), server_information, ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Conditionally update the startup options - if (this->set_command_line_ == 1) - server_information->startup.command_line = - CORBA::string_dup (this->command_line_.c_str ()); - if (this->set_working_dir_ == 1) - server_information->startup.working_directory = - CORBA::string_dup (this->working_dir_.c_str ()); - // @@ add environment and logical server - - this->implrepo_->reregister_server (this->server_name_.c_str (), - server_information->startup, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->display_server_information (server_information.in ()); - } - ACE_CATCH (ImplementationRepository::Administration::NotFound, ex) - { - ACE_ERROR ((LM_ERROR, "Could not find server <%s>\n", this->server_name_.c_str ())); - return -1; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Updating server"); - return -1; - } - ACE_ENDTRY; - - // Success - return 0; -} - - -// ============================================================================ -// = Print Usage methods - - -void -TAO_IR_Op_Activate::print_usage (void) -{ - ACE_ERROR ((LM_ERROR, "Activates a server\n" - "\n" - "Usage: tao_ir [options] activate [command-arguments]\n" - " where [options] are ORB options\n" - " where is the POA name used by the server object\n" - " where [command-arguments] can be\n" - " -h Displays this\n")); -} - -void -TAO_IR_Op_Add::print_usage (void) -{ - ACE_ERROR ((LM_ERROR, "Usage: tao_ir [options] add [command-arguments]\n" - " where [options] are ORB options\n" - " where is the POA name used by the server object\n" - " where [command-arguments] can be\n" - " -h Displays this\n" - " -c command Startup command\n" - " -w dir Working directory\n")); -} - -void -TAO_IR_Op_List::print_usage (void) -{ - ACE_ERROR ((LM_ERROR, "Lists all or one of the servers in the Implementation Repository\n" - "\n" - "Usage: tao_ir [options] list [name] [command-arguments]\n" - " where [options] are ORB options\n" - " where [name] is the optional server name to search for\n" - " where [command-arguments] can be\n" - " -v Verbose: Displays more info for each server when\n" - " displaying more than one server\n" - " -h Displays this\n")); -} - -void -TAO_IR_Op_Remove::print_usage (void) -{ - ACE_ERROR ((LM_ERROR, "Removes a server entry\n" - "\n" - "Usage: tao_ir [options] remove [command-arguments]\n" - " where [options] are ORB options\n" - " where is the POA name used by the server object\n" - " where [command-arguments] can be\n" - " -h Displays this\n")); -} - -void -TAO_IR_Op_Shutdown::print_usage (void) -{ - ACE_ERROR ((LM_ERROR, "Shuts down a server\n" - "\n" - "Usage: tao_ir [options] shutdown [command-arguments]\n" - " where [options] are ORB options\n" - " where is the POA name used by the server object\n" - " where [command-arguments] can be\n" - " -h Displays this\n")); -} - -void -TAO_IR_Op_Update::print_usage (void) -{ - ACE_ERROR ((LM_ERROR, "Updates a server entry\n" - "\n" - "Usage: tao_ir [options] update [command-arguments]\n" - " where [options] are ORB options\n" - " where is the POA name used by the server object\n" - " where [command-arguments] can be\n" - " -h Displays this\n" - " -c command Startup command\n" - " -w dir Working directory\n")); -} - - - -// Prints out information in a ServerInformation structure. - -void -TAO_IR_Op::display_server_information (const ImplementationRepository::ServerInformation &info) -{ - // Print out information - ACE_DEBUG ((LM_DEBUG, "Server <%s>\n", info.server.in ())); - ACE_DEBUG ((LM_DEBUG, - " Command Line: %s\n" - " Working Directory: %s\n", - info.startup.command_line.in (), - info.startup.working_directory.in ())); - // @@ add environment and logical server once implemented - - // I am assuming that a blank host means currently not running. - if (ACE_OS::strlen (info.location.host) > 0) - ACE_DEBUG ((LM_DEBUG, - " Running at \n" - " Host: %s\n" - " Port: %d\n", - info.location.host.in (), - info.location.port)); - else - ACE_DEBUG ((LM_DEBUG, - " Not currently running\n")); -} - - -// ============================================================================ -// = Display Server Information methods - -void -TAO_IR_Op_List::display_server_information (const ImplementationRepository::ServerInformation &info) -{ - if (this->verbose_server_information_) - TAO_IR_Op::display_server_information (info); - else - ACE_DEBUG ((LM_DEBUG, "<%s>\n", info.server.in ())); -} diff --git a/TAO/orbsvcs/ImplRepo_Service/tao_ir_i.h b/TAO/orbsvcs/ImplRepo_Service/tao_ir_i.h deleted file mode 100644 index ad424c2e313..00000000000 --- a/TAO/orbsvcs/ImplRepo_Service/tao_ir_i.h +++ /dev/null @@ -1,228 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/ImplRepo_Service -// -// = FILENAME -// tao_ir_i.h -// -// = DESCRIPTION -// This class implements the Implementation Repository helper application. -// -// = AUTHOR -// Darrell Brunsch -// -// ============================================================================ - -#if !defined (TAO_IR_I_H) -#define TAO_IR_I_H - -#include "tao/corba.h" -#include "orbsvcs/ImplRepoC.h" - -class TAO_IR_Op; -// Forward Declaration - -class TAO_IR_i -{ - // = TITLE - // TAO's command line helper application - // - // = DESCRIPTION - // This class talks to the IR and registers/lists/etc. -public: - // = Constructor and destructor. - TAO_IR_i (void); - ~TAO_IR_i (void); - - int run (void); - // Execute client code. - - int init (int argc, char **argv); - // Initialize the client communication endpoint with server. - -private: - void print_usage (void); - // Print out information about all operations. - - int parse_args (void); - // Parses the arguments passed on the command line. - - int argc_; - // # of arguments on the command line. - - ASYS_TCHAR **argv_; - // arguments from command line. - - CORBA::ORB_var orb_; - // Remember our orb. - - ImplementationRepository::Administration_var implrepo_; - // Reference to our implementation repository. - - TAO_IR_Op *op_; - // What we need to do. -}; - -class TAO_IR_Op -{ -public: - static TAO_IR_Op *make_op (const ASYS_TCHAR *op_name, ImplementationRepository::Administration_ptr ir); - // Factory. - - TAO_IR_Op (ImplementationRepository::Administration_ptr implrepo); - // Constructor. - - virtual ~TAO_IR_Op (void); - // Virtual Destructor. - - virtual int parse (int argc, ASYS_TCHAR **argv) = 0; - // Parse arguments. - - virtual int run (void) = 0; - // Do the work. - -protected: - ImplementationRepository::Administration_ptr implrepo_; - // Reference to our implementation repository. - - // = Helper methods - - void display_server_information (const ImplementationRepository::ServerInformation &info); - // Prints out the information contained in a ServerInformation structure. -}; - -class TAO_IR_Op_Activate : public TAO_IR_Op -{ -public: - TAO_IR_Op_Activate (ImplementationRepository::Administration_ptr implrepo); - ~TAO_IR_Op_Activate (void); - - virtual int parse (int argc, ASYS_TCHAR **argv); - virtual int run (void); - -protected: - void print_usage (void); - // Prints a message about the usage - - ACE_TString server_name_; - // POA server name. -}; - -class TAO_IR_Op_Add : public TAO_IR_Op -{ -public: - TAO_IR_Op_Add (ImplementationRepository::Administration_ptr implrepo); - ~TAO_IR_Op_Add (void); - - virtual int parse (int argc, ASYS_TCHAR **argv); - virtual int run (void); - -protected: - void print_usage (void); - // Prints a message about the usage. - - ACE_TString server_name_; - // POA server name. - - ACE_TString command_line_; - // Command line. - - ACE_TString working_dir_; - // Working directory. -}; - - -// Used to list the entries in the IR - -class TAO_IR_Op_List : public TAO_IR_Op -{ -public: - TAO_IR_Op_List (ImplementationRepository::Administration_ptr implrepo); - ~TAO_IR_Op_List (void); - - virtual int parse (int argc, ASYS_TCHAR **argv); - virtual int run (void); - -protected: - void print_usage (void); - // Prints a message about the usage - - ACE_TString server_name_; - // POA server name. - - int verbose_server_information_; - // If true, more server information is displayed. - - void display_server_information (const ImplementationRepository::ServerInformation &info); - // Prints out the information contained in a ServerInformation structure. - // Specialized to only print server information -}; - -class TAO_IR_Op_Remove : public TAO_IR_Op -{ -public: - TAO_IR_Op_Remove (ImplementationRepository::Administration_ptr implrepo); - ~TAO_IR_Op_Remove (void); - - virtual int parse (int argc, ASYS_TCHAR **argv); - virtual int run (void); - -protected: - void print_usage (void); - // Prints a message about the usage - - ACE_TString server_name_; - // POA server name. -}; - -class TAO_IR_Op_Shutdown : public TAO_IR_Op -{ -public: - TAO_IR_Op_Shutdown (ImplementationRepository::Administration_ptr implrepo); - ~TAO_IR_Op_Shutdown (void); - - virtual int parse (int argc, ASYS_TCHAR **argv); - virtual int run (void); - -protected: - void print_usage (void); - // Prints a message about the usage - - ACE_TString server_name_; - // POA server name. -}; - -class TAO_IR_Op_Update : public TAO_IR_Op -{ -public: - TAO_IR_Op_Update (ImplementationRepository::Administration_ptr implrepo); - ~TAO_IR_Op_Update (void); - - virtual int parse (int argc, ASYS_TCHAR **argv); - virtual int run (void); - -protected: - void print_usage (void); - // Prints a message about the usage. - - ACE_TString server_name_; - // POA server name. - - int set_command_line_; - // True if the command_line_ needs to be updated. - - ACE_TString command_line_; - // Startup command. - - int set_working_dir_; - // True if the working_dir_ needs to be updated. - - ACE_TString working_dir_; - // Working directory. -}; - -#endif /* TAO_IR_I_H */ diff --git a/TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.cpp b/TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.cpp deleted file mode 100644 index 19738fe304a..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Criteria_Evaluator.cpp -// -// = DESCRIPTION -// An Evaluator for the CosLifeCycle Criteria -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "Criteria_Evaluator.h" - -ACE_RCSID(LifeCycle_Service, Criteria_Evaluator, "$Id$") - -Criteria_Evaluator::Criteria_Evaluator (const CosLifeCycle::Criteria &criteria) -: criteria_ (criteria) -{ -} - -Criteria_Evaluator::~Criteria_Evaluator () -{ -} - -LifeCycleService::Criteria_Evaluator::SeqNamedValuePair * -Criteria_Evaluator::getInitialization (CORBA::Environment &ACE_TRY_ENV) -{ - LifeCycleService::Criteria_Evaluator::SeqNamedValuePair_ptr sequence_ptr = 0; - - CORBA::Any *any_ptr = - this->getCriteriaMember ("initialization"); - - if (any_ptr == 0) - ACE_THROW_RETURN (LifeCycleService::Criteria_Evaluator::NotAvailable - ("No initialization member found.\n"), - 0); - - *any_ptr >>= sequence_ptr; - - return sequence_ptr; -} - -char * -Criteria_Evaluator::getFilter (CORBA::Environment &ACE_TRY_ENV) -{ - CORBA::String string; - CORBA::Any value; - CORBA::Any_ptr any_ptr = this->getCriteriaMember ("filter"); - - if (any_ptr == 0) - ACE_THROW_RETURN (LifeCycleService::Criteria_Evaluator::NotAvailable - ("No filter member found.\n"), - 0); - *any_ptr >>= string; - return string; -} - -CORBA::Any * -Criteria_Evaluator::getCriteriaMember (const char *member_name) -{ - if (!ACE_OS::strcmp(member_name, "initialization") - && !ACE_OS::strcmp(member_name, "filter") - && !ACE_OS::strcmp(member_name, "logical location") - && !ACE_OS::strcmp(member_name, "preferences")) - return 0; - - for (u_int i = 0; - i < criteria_.length(); - i++) - if (ACE_OS::strcmp (member_name, - criteria_[i].name) == 0) - { - CORBA::Any_ptr value_ptr; - - // @@ We should use ACE_NEW_THROW_EX + ACE_CHECK_RETURN here. - ACE_NEW_RETURN (value_ptr, - CORBA::Any(criteria_[i].value), - 0); - return value_ptr; - } - - return 0; -} - diff --git a/TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h b/TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h deleted file mode 100644 index b55af2bd9e0..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/Criteria_Evaluator.h +++ /dev/null @@ -1,57 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Criteria_Evaluaotr.h -// -// = DESCRIPTION -// An Evaluator for the CosLifeCycle Criteria -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - - -#include "orbsvcs/CosLifeCycleC.h" -#include "orbsvcs/LifeCycleServiceC.h" - -#ifndef CRITERIA_EVALUATOR_H_H -#define CRITERIA_EVALUATOR_H_H - -class Criteria_Evaluator// : public LifeCycleService::Criteria_Evaluator -{ - // = TITLE - // -public: - Criteria_Evaluator (const CosLifeCycle::Criteria &criteria); - ~Criteria_Evaluator (void); - - LifeCycleService::Criteria_Evaluator::SeqNamedValuePair * getInitialization (CORBA::Environment &); - - char * getFilter (CORBA::Environment &); - - LifeCycleService::Criteria_Evaluator::SeqNamedValuePair * getLogicalLocation (CORBA::Environment &) - { - return 0; - } - - char * getPreferences (CORBA::Environment &) - { - return 0; - } - -private: - CORBA::Any *getCriteriaMember (const char *member_name); - - const CosLifeCycle::Criteria &criteria_; -}; - -#endif /* CRITERIA_EVALUATOR_H */ - - - - - - diff --git a/TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp b/TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp deleted file mode 100644 index 103fb35a510..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp +++ /dev/null @@ -1,229 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// Factory_Trader.cpp -// -// = DESCRIPTION -// A colocated instance of the Trading Service, only part of -// the functionality provided is used. This class serves -// as Wrapper around the Trading Service and provides -// smaller interfaces. -// TRADER_AVAILABLE is defined via compiler switch in the Makefile -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "Factory_Trader.h" -#include "orbsvcs/CosTradingC.h" - -ACE_RCSID(LifeCycle_Service, Factory_Trader, "$Id$") - -// This const char * is used for adding a new type to the service repository -// the added types will be subclasses of this. -const char * Factory_Trader::GENERIC_FACTORY_INTERFACE_REPOSITORY_ID = "IDL:CosLifeCycle/GenericFactory:1.0"; - - -Factory_Trader::Factory_Trader () - : trader_ptr_(0), - trading_Components_ptr_ (0), - support_Attributes_ptr_(0) -{ - ACE_TRY_NEW_ENV - { - int argc = 0; - // create the trader - this->trader_ptr_ = TAO_Trader_Factory::create_trader (argc, 0); - this->support_Attributes_ptr_ = &(trader_ptr_->support_attributes ()); - // this pointer is deleted when the trader_ptr is deleted - this->trading_Components_ptr_ = &(trader_ptr_->trading_components ()); - // this pointer is deleted when the trader_ptr is deleted - - // Set the service type repository - support_Attributes_ptr_->type_repos (this->repository_._this (ACE_TRY_ENV)); - ACE_TRY_CHECK; - - // Add the "Factory" type to the repository - this->add_type (); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Factory_Trader constructor: Failed adding a new type.\n"); - } - ACE_ENDTRY; - // @@ ACE_CHECK? No way to pass back any exceptions. -} - -Factory_Trader::~Factory_Trader () -{ - delete this->trader_ptr_; -} - - -void -Factory_Trader::add_type () -{ - ACE_TRY_NEW_ENV - { - // define the new type - CosTradingRepos::ServiceTypeRepository::PropStruct propStruct_name; - propStruct_name.name = CORBA::string_dup ("name"); - propStruct_name.value_type = CORBA::_tc_string; - propStruct_name.mode = CosTradingRepos::ServiceTypeRepository::PROP_MANDATORY; - - CosTradingRepos::ServiceTypeRepository::PropStruct propStruct_location; - propStruct_location.name = CORBA::string_dup ("location"); - propStruct_location.value_type = CORBA::_tc_string; - propStruct_location.mode = CosTradingRepos::ServiceTypeRepository::PROP_NORMAL; - - CosTradingRepos::ServiceTypeRepository::PropStruct propStruct_description; - propStruct_description.name = CORBA::string_dup ("description"); - propStruct_description.value_type = CORBA::_tc_string; - propStruct_description.mode = CosTradingRepos::ServiceTypeRepository::PROP_NORMAL; - - CosTradingRepos::ServiceTypeRepository::PropStructSeq propStructSeq(3); - propStructSeq.length (3); - propStructSeq[0] = propStruct_name; - propStructSeq[1] = propStruct_location; - propStructSeq[2] = propStruct_description; - - CosTradingRepos::ServiceTypeRepository::ServiceTypeNameSeq superTypeSeq; - - // Add the new type - this->repository_.add_type (CORBA::string_dup("Factory"), - GENERIC_FACTORY_INTERFACE_REPOSITORY_ID, - propStructSeq, - superTypeSeq, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Factory_Trader::init.\n"); - } - ACE_ENDTRY; - // @@ ACE_CHECK -} - - -void -Factory_Trader::_cxx_export (const char * name, - const char * location, - const char * description, - const CORBA::Object_ptr object_ptr) -{ - ACE_TRY_NEW_ENV - { - if (CORBA::is_nil(object_ptr)) - { - ACE_DEBUG ((LM_DEBUG,"Factory_Trader::export: Object pointer is nil, cannot export!\n")); - return; - } - - CosTrading::PropertySeq propertySeq(3); - propertySeq.length (3); - propertySeq[0].name = CORBA::string_dup("name"); - propertySeq[0].value <<= CORBA::string_dup (name); - propertySeq[1].name = CORBA::string_dup("location"); - propertySeq[1].value <<= CORBA::string_dup (location); - propertySeq[2].name = CORBA::string_dup("description"); - propertySeq[2].value <<= CORBA::string_dup (description); - - // get the register interface - CosTrading::Register_ptr register_ptr = this->trading_Components_ptr_->register_if (); - // this pointer is deleted when the trader_ptr is deleted - - // invoke the export method on the Register interface of the Trading Service - register_ptr->_cxx_export (CORBA::Object::_duplicate (object_ptr), - CORBA::string_dup("Factory"), - propertySeq, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Factory_Trader::export: Failed to export factory.\n"); - } - ACE_ENDTRY; - // @@ ACE_CHECK* -} - - -CORBA::Object_ptr -Factory_Trader::query (const CORBA::String constraint) -{ - ACE_TRY_NEW_ENV - { - CosTrading::Lookup::SpecifiedProps specifiedProps; - specifiedProps._d(CosTrading::Lookup::all); - - // Get some pointers for the out parameters of the call. - CosTrading::OfferSeq_ptr offerSeq_ptr = 0; - CosTrading::OfferIterator_ptr offerIterator_ptr = 0; - CosTrading::PolicyNameSeq_ptr policyNameSeq_ptr = 0; - - // An empty policy sequence - CosTrading::PolicySeq policySeq; - - // Get a reference to the lookup interface - CosTrading::Lookup_ptr lookup_ptr = this->trading_Components_ptr_->lookup_if (); - // this pointer is deleted when the trader_ptr is deleted - - // Invoke the query method on the Lookup Interface. - lookup_ptr->query ("Factory", // Type name - constraint, // Constraint, very important - "", // Preferences - policySeq, // Policy - specifiedProps, // Specified Properties - 1, // Number of wanted results - CosTrading::OfferSeq_out(offerSeq_ptr), // results - CosTrading::OfferIterator_out(offerIterator_ptr), // more results - CosTrading::PolicyNameSeq_out(policyNameSeq_ptr), // Policies - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Initialize - CORBA::Object_ptr object_ptr = 0; - - // Check if an offer was made - if (offerSeq_ptr != 0) - { - // Insert the pointer into the out class - CosTrading::OfferSeq_var offerSeq_var(offerSeq_ptr); - - // We need at least one offer. - if (offerSeq_var->length() >= 1) - { - // now we are all set to read from the sequence the result - object_ptr = CORBA::Object::_duplicate (offerSeq_var[0].reference.in()); - - if (CORBA::is_nil (object_ptr)) - { - ACE_DEBUG ((LM_DEBUG,"Factory_Trader::query: Object reference is nil.\n")); - return 0; - } - else - ACE_DEBUG ((LM_DEBUG,"Factory_Trader::query: Received a proper object reference.\n")); - } - else - ACE_DEBUG ((LM_DEBUG,"Factory_Trader::query: OfferSequence.length is smaller than 1.\n")); - } - return object_ptr; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Factory_Trader::query: Failed.\n"); - } - ACE_ENDTRY; - // @@ ACE_CHECK_RETURN (?) - return 0; -} diff --git a/TAO/orbsvcs/LifeCycle_Service/Factory_Trader.h b/TAO/orbsvcs/LifeCycle_Service/Factory_Trader.h deleted file mode 100644 index 9556cc43dc9..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/Factory_Trader.h +++ /dev/null @@ -1,52 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// -// = FILENAME -// Factory_Trader.cpp -// -// = DESCRIPTION -// Factory Trader for the Generic Factory. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#ifndef FACTORY_TRADER_H -#define FACTORY_TRADER_H - -#include "tao/corba.h" -#include "orbsvcs/Trader/Trader.h" -#include "orbsvcs/Trader/Service_Type_Repository.h" -#include "orbsvcs/CosLifeCycleC.h" - - -class Factory_Trader -{ -public: - Factory_Trader (); - ~Factory_Trader (); - - void add_type (); - // Add a the Factory type to the repository - - void _cxx_export (const char * name, - const char * location, - const char * description, - const CORBA::Object_ptr object_ptr); - // export a specific factory - - CORBA::Object_ptr query (const CORBA::String constraint); - // query for a specific factory using a constraint - - static const char * GENERIC_FACTORY_INTERFACE_REPOSITORY_ID; -private: - TAO_Service_Type_Repository repository_; - TAO_Trader_Factory::TAO_TRADER *trader_ptr_; - TAO_Trading_Components_i *trading_Components_ptr_; - TAO_Support_Attributes_i *support_Attributes_ptr_; -}; - -#endif // FACTORY_TRADER_H diff --git a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp b/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp deleted file mode 100644 index c76406a16e5..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.cpp +++ /dev/null @@ -1,213 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Life_Cycle_Service.cpp -// -// = DESCRIPTION -// The server for the LifeCycleService of the quoter example. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "tao/corba.h" -#include "LifeCycle_Service.h" - -ACE_RCSID(LifeCycle_Service, LifeCycle_Service, "$Id$") - -static const char usage [] = "[-? |\n[-O[RBport] ORB port number]]"; - -Life_Cycle_Service_Server::Life_Cycle_Service_Server (void) -{ -} - -Life_Cycle_Service_Server::~Life_Cycle_Service_Server (void) -{ - ACE_TRY_NEW_ENV - { - // Unbind the Factory Finder. - CosNaming::Name generic_Factory_Name (2); - generic_Factory_Name.length (2); - generic_Factory_Name[0].id = CORBA::string_dup ("LifeCycle_Service"); - this->namingContext_var_->unbind (generic_Factory_Name, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "User Exception"); - } - ACE_ENDTRY; -} - -int -Life_Cycle_Service_Server::init (int argc, - char *argv[], - CORBA::Environment& ACE_TRY_ENV) -{ - if (this->orb_manager_.init (argc, - argv, - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init"), - -1); - // @@ Oh well. This should actually come before "if". - ACE_CHECK_RETURN (-1); - - // Copy them, because parse_args expects them there. - this->argc_ = argc; - this->argv_ = argv; - - this->parse_args (); - - - ACE_NEW_RETURN (this->life_Cycle_Service_i_ptr_, - Life_Cycle_Service_i(), - -1); - - // Activate the object. - CORBA::String_var str = - this->orb_manager_.activate (this->life_Cycle_Service_i_ptr_, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - // Failure while activating the Factory Finder object - - ACE_DEBUG ((LM_DEBUG, - "The IOR is: <%s>\n", - str.in ())); - - // Register the LifeCycle Service with the Naming Service. - ACE_TRY - { - ACE_DEBUG ((LM_DEBUG, - "Trying to get a reference to the Naming Service.\n")); - - // Get the Naming Service object reference. - CORBA::Object_var namingObj_var = - orb_manager_.orb()->resolve_initial_references ("NameService", ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (namingObj_var.in ())) - ACE_ERROR ((LM_ERROR, - " (%P|%t) Unable get the Naming Service.\n")); - - // Narrow the object reference to a Naming Context. - namingContext_var_ = CosNaming::NamingContext::_narrow (namingObj_var.in (), - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - if (CORBA::is_nil (namingContext_var_.in ())) - ACE_ERROR ((LM_ERROR, - " (%P|%t) Unable get the Naming Service.\n")); - - ACE_DEBUG ((LM_DEBUG, - "Have a proper reference to the Naming Service.\n")); - - CosNaming::Name life_Cycle_Service_Name (1); - life_Cycle_Service_Name.length (1); - life_Cycle_Service_Name[0].id = CORBA::string_dup ("Life_Cycle_Service"); - - CORBA::Object_ptr tmp = this->life_Cycle_Service_i_ptr_->_this(ACE_TRY_ENV); - ACE_TRY_CHECK; - - namingContext_var_->bind (life_Cycle_Service_Name, - tmp, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Bound the LifeCycle Service to the Naming Context.\n")); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Life_Cycle_Service_Server::init"); - } - ACE_ENDTRY; - - return 0; -} - - -int -Life_Cycle_Service_Server::run (CORBA::Environment &) -{ - - if (orb_manager_.orb()->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "run"), - -1); - return 0; -} - - -// Function get_options. - -u_int -Life_Cycle_Service_Server::parse_args (void) -{ - // We need the 'O' in get_opt () because we also want to have ORB - // parameters, they all start with 'O'. - ACE_Get_Opt get_opt (this->argc_, this->argv_, "O?"); - int opt; - - while ((opt = get_opt ()) != EOF) - switch (opt) - { - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - this->argv_[0], usage)); - ACE_OS::exit (0); - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%s: unknown arg, -%c\n" - "Usage: %s %s\n", - this->argv_[0], char (opt), - this->argv_[0], - usage), - 1); - } - return 0; -} - -// function main - -int -main (int argc, char *argv []) -{ - Life_Cycle_Service_Server life_Cycle_Service_Server; - - ACE_DEBUG ((LM_DEBUG, - "\n\tIDL_LifeCycleService: Life_Cycle_Service_Server \n\n")); - ACE_TRY_NEW_ENV - { - int check = life_Cycle_Service_Server.init (argc, - argv, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (check) - return 1; - else - { - life_Cycle_Service_Server.run (ACE_TRY_ENV); - ACE_TRY_CHECK - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "main"); - return -1; - } - ACE_ENDTRY; - return 0; -} - - diff --git a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.dsp b/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.dsp deleted file mode 100644 index e3b473a6aa7..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.dsp +++ /dev/null @@ -1,135 +0,0 @@ -# Microsoft Developer Studio Project File - Name="LifeCycle_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=LifeCycle_Service - 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 "LifeCycle_Service.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 "LifeCycle_Service.mak" CFG="LifeCycle_Service - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "LifeCycle_Service - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "LifeCycle_Service - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "LifeCycle_Service - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\.." /I "..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 TAO.lib orbsvcs.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "LifeCycle_Service - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /I "..\.." /I "..\..\.." /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib orbsvcsd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "LifeCycle_Service - Win32 Release" -# Name "LifeCycle_Service - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "*.cpp" -# Begin Source File - -SOURCE=.\Criteria_Evaluator.cpp -# End Source File -# Begin Source File - -SOURCE=.\Factory_Trader.cpp -# End Source File -# Begin Source File - -SOURCE=.\LifeCycle_Service.cpp -# End Source File -# Begin Source File - -SOURCE=.\LifeCycle_Service_i.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "*.h" -# Begin Source File - -SOURCE=.\Criteria_Evaluator.h -# End Source File -# Begin Source File - -SOURCE=.\Factory_Trader.h -# End Source File -# Begin Source File - -SOURCE=.\LifeCycle_Service.h -# End Source File -# Begin Source File - -SOURCE=.\LifeCycle_Service_i.h -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter "*.i" -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter "*.idl" -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.dsw b/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.dsw deleted file mode 100644 index 64c6a2a714a..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "LifeCycle_Service"=.\LifeCycle_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.h b/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.h deleted file mode 100644 index 7e103fabe55..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service.h +++ /dev/null @@ -1,69 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// LifeCycle_Service.h -// -// = DESCRIPTION -// A creation service for objects using the CosLifeCycle GenericFactory. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "ace/Get_Opt.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/TAO.h" -#include "LifeCycle_Service_i.h" - -#ifndef LIFECYCLE_SERVICE_H -#define LIFECYCLE_SERVICE_H - -class Life_Cycle_Service_Server -{ - // = TILE - // Server object for the LifeCycle Service - -public: - Life_Cycle_Service_Server (void); - // Default constructor - - ~Life_Cycle_Service_Server (void); - // Destructor - - int init (int argc, - char *argv[], - CORBA::Environment& ACE_TRY_ENV); - // Initialize the Server state - parsing arguments and ... - - int run (CORBA::Environment& ACE_TRY_ENV); - // Run the orb. - - u_int parse_args (void); - // Parse the passed parameters. - -private: - TAO_ORB_Manager orb_manager_; - // instance of the ORB Manager - - Life_Cycle_Service_i *life_Cycle_Service_i_ptr_; - // Instance of the creation service - - CosNaming::NamingContext_var namingContext_var_; - // reference to the naming service - - int argc_; - // Number of commandline arguments. - - char **argv_; - // commandline arguments. -}; - -#endif /* LIFECYCLE_SERVICE_H */ - diff --git a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp b/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp deleted file mode 100644 index 723b735a437..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.cpp +++ /dev/null @@ -1,164 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Life_Cycle_Service_i.cpp -// -// = DESCRIPTION -// The implementation of a LifeCycle Service GenericFactory. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "ace/Get_Opt.h" -#include "tao/corba.h" -#include "orbsvcs/LifeCycleServiceC.h" -#include "LifeCycle_Service_i.h" - -ACE_RCSID(LifeCycle_Service, LifeCycle_Service_i, "$Id$") - -// Constructor -Life_Cycle_Service_i::Life_Cycle_Service_i (void) - : factory_trader_ptr_ (0) -{ -} - -// Destructor. -Life_Cycle_Service_i::~Life_Cycle_Service_i (void) -{ -} - - -CORBA::Boolean -Life_Cycle_Service_i::supports (const CosLifeCycle::Key &, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return 0; -} - -CORBA::Object_ptr -Life_Cycle_Service_i::create_object (const CosLifeCycle::Key &factory_key, - const CosLifeCycle::Criteria &the_criteria, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NoFactory, - CosLifeCycle::InvalidCriteria, - CosLifeCycle::CannotMeetCriteria)) -{ - ACE_DEBUG ((LM_DEBUG, "Life_Cycle_Service_i:create_object: called.\n")); - // Exceptions are forwarded, not handled !! - - if (factory_trader_ptr_ != 0) - { - Criteria_Evaluator criteria_Evaluator(the_criteria); - ACE_DEBUG ((LM_DEBUG, "Life_Cycle_Service_i:create_object: new evaluator.\n")); - - ACE_DEBUG ((LM_DEBUG, "Life_Cycle_Service_i:create_object: getFilter will be called.\n")); - - CORBA::String filter = criteria_Evaluator.getFilter (ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - ACE_DEBUG ((LM_DEBUG, "Life_Cycle_Service_i:create_object: query(%s) will be called.\n",filter)); - - CORBA::Object_ptr genericFactoryObj_ptr = factory_trader_ptr_->query (filter); - - ACE_DEBUG ((LM_DEBUG, "Life_Cycle_Service_i:create_object: query was called.\n")); - - if (CORBA::is_nil (genericFactoryObj_ptr)) - ACE_ERROR_RETURN ((LM_ERROR, - "Life_Cycle_Service_i::create_object: Factory is nil!\n"), - 0); - else // everyting is ok - ACE_DEBUG ((LM_DEBUG, "Life_Cycle_Service_i::create_object: Object reference OK.\n")); - - // Now we have a proper reference to a Generic Factory - // the create_object call will be forwarded to this factory - - - // Check if it is a valid Generic Factory reference - if (CORBA::is_nil (genericFactoryObj_ptr)) - ACE_THROW_RETURN (CosLifeCycle::NoFactory (factory_key), 0); - else - { - CosLifeCycle::GenericFactory_var genericFactory_var; - ACE_TRY - { - genericFactory_var = - CosLifeCycle::GenericFactory::_narrow (genericFactoryObj_ptr, - ACE_TRY_ENV); - // ACE_TRY_CHECK; - } - ACE_CATCHANY - { - // see if there is an exception, if yes then throw the - // NoFactory exception throw a NoFactory exception - ACE_TRY_THROW (CosLifeCycle::NoFactory (factory_key)); - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - - if (CORBA::is_nil (genericFactory_var.in())) - ACE_ERROR_RETURN ((LM_ERROR, - "Life_Cycle_Service_i::create_object: Invalid Generic Factory.\n"), - 0); - - ACE_DEBUG ((LM_DEBUG, "Life_Cycle_Service_i::create_object: Generic Factory reference OK.\n")); - - // Now retrieve the Object obj ref corresponding to the key. - CORBA::Object_var object_var = genericFactory_var->create_object (factory_key, - the_criteria, - ACE_TRY_ENV); - ACE_CHECK_RETURN (0); - - ACE_DEBUG ((LM_DEBUG, - "Life_Cycle_Service_i::create_object: Forwarded request.\n")); - - if (CORBA::is_nil (object_var.in())) - ACE_ERROR_RETURN ((LM_ERROR, - "Life_Cycle_Service_i::create_object: Null object refeference returned by factory.\n"), - 0); - - ACE_DEBUG ((LM_DEBUG, - "Life_Cycle_Service_i::create_object: Return a object reference to a new object.\n")); - - return CORBA::Object::_duplicate (object_var.in()); - } - } - else - { - return 0; - } -} - -void -Life_Cycle_Service_i::register_factory (const char * name, - const char * location, - const char * description, - CORBA::Object_ptr object, - CORBA::Environment &) - ACE_THROW_SPEC (( CORBA::SystemException)) -{ - - if (factory_trader_ptr_ == 0) - { - ACE_NEW (factory_trader_ptr_, Factory_Trader()); - } - // we have an proper reference to the Factory Trader - - // Just forward the call to the factory trader - // Exceptions are not handled here, they are returned - factory_trader_ptr_->_cxx_export (name, location, description, object); - - ACE_DEBUG ((LM_DEBUG, "Registered a factory with:\n" - " name: %s\n" - " location: %s\n" - " description: %s\n", - name, location, description)); -} - - - diff --git a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.h b/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.h deleted file mode 100644 index 0e1a1c971bd..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/LifeCycle_Service_i.h +++ /dev/null @@ -1,70 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// LifeCycle_Service_i.h -// -// = DESCRIPTION -// A Life Cycle Service for the Quoter example. -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "orbsvcs/LifeCycleServiceS.h" -#include "Factory_Trader.h" -#include "Criteria_Evaluator.h" - -#ifndef LIFECYCLE_SERVICE_IMPL_H -#define LIFECYCLE_SERVICE_IMPL_H - -class Life_Cycle_Service_i : public POA_LifeCycleService::Life_Cycle_Service -{ - // = TILE - // A CosLifeCycle conforming Generic Factory. - -public: - Life_Cycle_Service_i (void); - ~Life_Cycle_Service_i (void); - - CORBA::Boolean supports (const CosLifeCycle::Key &factory_key, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns true if the Generic Factory is able to forward a request - // for creating an object described by the . - - CORBA::Object_ptr create_object (const CosLifeCycle::Key &factory_key, - const CosLifeCycle::Criteria &the_criteria, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosLifeCycle::NoFactory, - CosLifeCycle::InvalidCriteria, - CosLifeCycle::CannotMeetCriteria)); - // Returns an object reference to a newly created object, though the - // Generic Factory itself cannot create objects, it will forward the - // request to a more concrete Factory. - - void register_factory (const char * name, - const char * location, - const char * description, - CORBA::Object_ptr object, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( CORBA::SystemException)); - - // Registers a factory with specified properties - -private: - Factory_Trader *factory_trader_ptr_; -}; - -#endif /* LIFECYCLE_SERVICE_IMPL_H */ - - - - - - - - diff --git a/TAO/orbsvcs/LifeCycle_Service/Makefile b/TAO/orbsvcs/LifeCycle_Service/Makefile deleted file mode 100644 index 73e7721bf17..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/Makefile +++ /dev/null @@ -1,1232 +0,0 @@ -# -# $Id$ -# -# =TITLE -# Makefile to create the LifeCycle_Service - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # TAO_ROOT - -TAO_IDLFLAGS=-I$(TAO_ROOT)/orbsvcs/orbsvcs - -# The following lines tell the souce code that the trading -# service is available. - -LIFECYCLE_SERVICE_SRCS = \ - LifeCycle_Service.cpp LifeCycle_Service_i.cpp \ - Factory_Trader.cpp Criteria_Evaluator.cpp - -LSRC= \ - LifeCycle_Service.cpp LifeCycle_Service_i.cpp \ - Factory_Trader.cpp Criteria_Evaluator.cpp - -LIFECYCLE_SERVICE_OBJS = LifeCycle_Service.o LifeCycle_Service_i.o \ - Factory_Trader.o Criteria_Evaluator.o - -LDLIBS = -lorbsvcs -lTAO - -BIN2 = LifeCycle_Service - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (LifeCycle,$(findstring LifeCycle,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # LifeCycle - -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#### Local rules and variables... - -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT)/orbsvcs/orbsvcs \ - -I$(TAO_ROOT) $(TSS_ORB_FLAG) - -LifeCycle_Service: $(addprefix $(VDIR),$(LIFECYCLE_SERVICE_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/LifeCycle_Service.o .obj/LifeCycle_Service.so .shobj/LifeCycle_Service.o .shobj/LifeCycle_Service.so: LifeCycle_Service.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - LifeCycle_Service.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/TAO.h \ - LifeCycle_Service_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceS.i \ - Factory_Trader.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Trader/Trader.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Trader/Service_Type_Repository.h \ - Criteria_Evaluator.h -.obj/LifeCycle_Service_i.o .obj/LifeCycle_Service_i.so .shobj/LifeCycle_Service_i.o .shobj/LifeCycle_Service_i.so: LifeCycle_Service_i.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceC.i \ - LifeCycle_Service_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceS.i \ - Factory_Trader.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Trader/Trader.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Trader/Service_Type_Repository.h \ - Criteria_Evaluator.h -.obj/Factory_Trader.o .obj/Factory_Trader.so .shobj/Factory_Trader.o .shobj/Factory_Trader.so: Factory_Trader.cpp Factory_Trader.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Trader/Trader.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Trader/Service_Type_Repository.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i -.obj/Criteria_Evaluator.o .obj/Criteria_Evaluator.so .shobj/Criteria_Evaluator.o .shobj/Criteria_Evaluator.so: Criteria_Evaluator.cpp Criteria_Evaluator.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosLifeCycleC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/LifeCycleServiceC.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/LifeCycle_Service/Makefile.am b/TAO/orbsvcs/LifeCycle_Service/Makefile.am deleted file mode 100644 index d456fd634f0..00000000000 --- a/TAO/orbsvcs/LifeCycle_Service/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Life Cycle Service -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -bin_PROGRAMS = LifeCycle_Service - -LifeCycle_Service_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -LifeCycle_Service_SOURCES = \ - Criteria_Evaluator.cpp \ - Factory_Trader.cpp \ - LifeCycle_Service.cpp \ - LifeCycle_Service_i.cpp - -noinst_HEADERS = \ - Criteria_Evaluator.h \ - Factory_Trader.h \ - LifeCycle_Service.h \ - LifeCycle_Service_i.h - -## EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/Makefile b/TAO/orbsvcs/Makefile deleted file mode 100644 index ecbf4af2688..00000000000 --- a/TAO/orbsvcs/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = orbsvcs \ - Naming_Service \ - Scheduling_Service \ - Event_Service \ - Dump_Schedule \ - LifeCycle_Service \ - Trading_Service \ - Time_Service \ - ImplRepo_Service \ - CosEvent_Service \ - tests \ - examples - -# Not compiled by default -# Concurrency_Service \ - - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU diff --git a/TAO/orbsvcs/Makefile.am b/TAO/orbsvcs/Makefile.am deleted file mode 100644 index faa3a7cc56c..00000000000 --- a/TAO/orbsvcs/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -##---------------------------------------------------------------------------- -## $Id$ -## -## Makefile.am for the TAO orbsvcs library -##---------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -SUBDIRS = \ - orbsvcs \ - Naming_Service \ - Scheduling_Service \ - Event_Service \ - Dump_Schedule \ - Concurrency_Service \ - LifeCycle_Service \ - Trading_Service \ - Logging_Service \ - tests - - diff --git a/TAO/orbsvcs/Naming_Service/Makefile b/TAO/orbsvcs/Naming_Service/Makefile deleted file mode 100644 index c0aa2f883ca..00000000000 --- a/TAO/orbsvcs/Naming_Service/Makefile +++ /dev/null @@ -1,339 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = $(addsuffix .cpp, $(BIN)) - -LDLIBS = -lorbsvcs -lTAO - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = Naming_Service - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Naming - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) $(TSS_ORB_FLAG) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Naming_Service.o .obj/Naming_Service.so .shobj/Naming_Service.o .shobj/Naming_Service.so: Naming_Service.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - Naming_Service.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/Naming_Service/Makefile.am b/TAO/orbsvcs/Naming_Service/Makefile.am deleted file mode 100644 index eb0a2f09d7c..00000000000 --- a/TAO/orbsvcs/Naming_Service/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Naming Service -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -bin_PROGRAMS = Naming_Service - -Naming_Service_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -Naming_Service_SOURCES = \ - Naming_Service.cpp - -noinst_HEADERS = \ - Naming_Service.h - -EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/Naming_Service/Makefile.bor b/TAO/orbsvcs/Naming_Service/Makefile.bor deleted file mode 100644 index 7a541087dfb..00000000000 --- a/TAO/orbsvcs/Naming_Service/Makefile.bor +++ /dev/null @@ -1,17 +0,0 @@ -# -# Makefile for building the Naming Service executable -# - -NAME = Naming_Service - -OBJFILES = \ - $(OBJDIR)\Naming_Service.obj - -CFLAGS = $(ACE_CFLAGS) $(TAO_CFLAGS) $(ORBSVCS_CFLAGS) - -LIBFILES = $(ACE_LIB) $(TAO_LIB) $(ORBSVCS_LIB) - -CPPDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_core_exe.bor> - diff --git a/TAO/orbsvcs/Naming_Service/Naming_Service.cpp b/TAO/orbsvcs/Naming_Service/Naming_Service.cpp deleted file mode 100644 index 1a369687b8c..00000000000 --- a/TAO/orbsvcs/Naming_Service/Naming_Service.cpp +++ /dev/null @@ -1,213 +0,0 @@ -// $Id$ - -#include "ace/Get_Opt.h" -#include "Naming_Service.h" - -ACE_RCSID(Naming_Service, Naming_Service, "$Id$") - - // Default Constructor. - -TAO_Naming_Service::TAO_Naming_Service (void) - : ior_output_file_ (0), - pid_file_name_ (0), - context_size_ (ACE_DEFAULT_MAP_SIZE), - persistence_file_name_ (0), - time_ (0) -{ -} - -// Constructor taking command-line arguments. - -TAO_Naming_Service::TAO_Naming_Service (int argc, - char* argv[]) - : ior_output_file_ (0), - pid_file_name_ (0), - context_size_ (ACE_DEFAULT_MAP_SIZE), - persistence_file_name_ (0), - time_ (0) -{ - this->init (argc, argv); -} - -int -TAO_Naming_Service::parse_args (int argc, - char *argv[]) -{ - ACE_Get_Opt get_opts (argc, argv, "do:p:s:t:f:"); - int c; - int size, time; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; - break; - case 'o': // outputs the naming service ior to a file. - this->ior_output_file_ = - ACE_OS::fopen (get_opts.optarg, "w"); - - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - get_opts.optarg), -1); - break; - case 'p': - this->pid_file_name_ = get_opts.optarg; - break; - case 'f': - this->persistence_file_name_ = get_opts.optarg; - break; - case 's': - size = ACE_OS::atoi (get_opts.optarg); - if (size >= 0) - this->context_size_ = size; - break; - case 't': - time = ACE_OS::atoi (get_opts.optarg); - if (time >= 0) - this->time_ = time; - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "-NScontextname " - "-o " - "-p " - "-f " - "\n", - argv [0]), - -1); - } - return 0; -} - -// Initialize the state of the TAO_Naming_Service object -int -TAO_Naming_Service::init (int argc, - char *argv[]) -{ - int result; - CORBA::ORB_var orb; - PortableServer::POA_var child_poa; - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - result = this->orb_manager_.init_child_poa (argc, - argv, - "child_poa", - ACE_TRY_ENV); - ACE_TRY_CHECK; - if (result == -1) - return result; - - orb = this->orb_manager_.orb (); - child_poa = this->orb_manager_.child_poa (); - - // Check the non-ORB arguments. this needs to come before we - // initialize my_naming_server so that we can pass on some of - // the command-line arguments. - - result = this->parse_args (argc, argv); - if (result < 0) - return result; - - result = this->my_naming_server_.init (orb.in (), - child_poa.in (), - context_size_, - 0, - 0, - persistence_file_name_); - if (result == -1) - return result; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "TAO_Naming_Service::init"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - - if (this->ior_output_file_ != 0) - { - CORBA::String_var str = - this->my_naming_server_.naming_service_ior (); - ACE_OS::fprintf (this->ior_output_file_, - "%s", - str.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - - if (this->pid_file_name_ != 0) - { - FILE *pidf = fopen (this->pid_file_name_, "w"); - if (pidf != 0) - { - ACE_OS::fprintf (pidf, - "%d\n", - ACE_OS::getpid ()); - ACE_OS::fclose (pidf); - } - } - return 0; -} - -// Run the ORB event loop. - -int -TAO_Naming_Service::run (CORBA_Environment& ACE_TRY_ENV) -{ - if (time_ == 0) - { - this->orb_manager_.run (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - } - else - { - ACE_Time_Value t (time_); - this->orb_manager_.run (ACE_TRY_ENV, &t); - ACE_CHECK_RETURN (-1); - } - // Clean up after we exit from the loop. - PortableServer::POA_var poa = this->orb_manager_.root_poa (); - poa->destroy (1, 1, ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - return 0; -} - -// Destructor. - -TAO_Naming_Service::~TAO_Naming_Service (void) -{ -} - -int -main (int argc, char *argv[]) -{ - TAO_Naming_Service naming_service; - - int init_result = naming_service.init (argc, argv); - - if (init_result == -1) - return -1; - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - naming_service.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "NamingService"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (1); - - return 0; -} diff --git a/TAO/orbsvcs/Naming_Service/Naming_Service.dsp b/TAO/orbsvcs/Naming_Service/Naming_Service.dsp deleted file mode 100644 index 4b5cb666629..00000000000 --- a/TAO/orbsvcs/Naming_Service/Naming_Service.dsp +++ /dev/null @@ -1,445 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Naming_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 -# TARGTYPE "Win32 (ALPHA) Console Application" 0x0603 - -CFG=Naming_Service - Win32 Alpha 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 "Naming_Service.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 "Naming_Service.mak" CFG="Naming_Service - Win32 Alpha Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Naming_Service - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Naming_Service - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "Naming_Service - Win32 Alpha Debug" (based on "Win32 (ALPHA) Console Application") -!MESSAGE "Naming_Service - Win32 Alpha Release" (based on "Win32 (ALPHA) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "Naming_Service - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\.." /I "..\..\.." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "Naming_Service - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /I "..\.." /I "..\..\.." /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib orbsvcsd.lib aced.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "Naming_Service - Win32 Alpha Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Naming_S" -# PROP BASE Intermediate_Dir "Naming_S" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /I ".." /I "..\.." /I "..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /I ".." /I "..\.." /I "..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /MDd /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 TAOd.lib orbsvcsd.lib aced.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" -# ADD LINK32 TAOd.lib orbsvcsd.lib aced.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "Naming_Service - Win32 Alpha Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Naming_0" -# PROP BASE Intermediate_Dir "Naming_0" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /O2 /I ".." /I "..\.." /I "..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT BASE CPP /YX -# ADD CPP /nologo /MD /Gt0 /W3 /GX /O2 /I ".." /I "..\.." /I "..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -RSC=rc.exe -# 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 orbsvcs.lib TAO.lib ace.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Naming_Service - Win32 Release" -# Name "Naming_Service - Win32 Debug" -# Name "Naming_Service - Win32 Alpha Debug" -# Name "Naming_Service - Win32 Alpha Release" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Naming_Service.cpp - -!IF "$(CFG)" == "Naming_Service - Win32 Release" - -!ELSEIF "$(CFG)" == "Naming_Service - Win32 Debug" - -!ELSEIF "$(CFG)" == "Naming_Service - Win32 Alpha Debug" - -DEP_CPP_NAMIN=\ - "..\..\..\ace\Acceptor.cpp"\ - "..\..\..\ace\Acceptor.h"\ - "..\..\..\ace\Acceptor.i"\ - "..\..\..\ace\ACE.h"\ - "..\..\..\ace\ACE.i"\ - "..\..\..\ace\Addr.h"\ - "..\..\..\ace\Addr.i"\ - "..\..\..\ace\Atomic_Op.i"\ - "..\..\..\ace\Auto_Ptr.cpp"\ - "..\..\..\ace\Auto_Ptr.h"\ - "..\..\..\ace\Auto_Ptr.i"\ - "..\..\..\ace\Basic_Types.h"\ - "..\..\..\ace\Basic_Types.i"\ - "..\..\..\ace\config-win32-borland.h"\ - "..\..\..\ace\config-win32-common.h"\ - "..\..\..\ace\config-win32.h"\ - "..\..\..\ace\config-WinCE.h"\ - "..\..\..\ace\config.h"\ - "..\..\..\ace\Connector.cpp"\ - "..\..\..\ace\Connector.h"\ - "..\..\..\ace\Connector.i"\ - "..\..\..\ace\Containers.cpp"\ - "..\..\..\ace\Containers.h"\ - "..\..\..\ace\Containers.i"\ - "..\..\..\ace\Dynamic.h"\ - "..\..\..\ace\Dynamic.i"\ - "..\..\..\ace\Dynamic_Service.cpp"\ - "..\..\..\ace\Dynamic_Service.h"\ - "..\..\..\ace\Event_Handler.h"\ - "..\..\..\ace\Event_Handler.i"\ - "..\..\..\ace\Free_List.cpp"\ - "..\..\..\ace\Free_List.h"\ - "..\..\..\ace\Free_List.i"\ - "..\..\..\ace\Get_Opt.h"\ - "..\..\..\ace\Get_Opt.i"\ - "..\..\..\ace\Handle_Set.h"\ - "..\..\..\ace\Handle_Set.i"\ - "..\..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\..\ace\Hash_Map_Manager.h"\ - "..\..\..\ace\inc_user_config.h"\ - "..\..\..\ace\INET_Addr.h"\ - "..\..\..\ace\INET_Addr.i"\ - "..\..\..\ace\IO_Cntl_Msg.h"\ - "..\..\..\ace\iosfwd.h"\ - "..\..\..\ace\IPC_SAP.h"\ - "..\..\..\ace\IPC_SAP.i"\ - "..\..\..\ace\Log_Msg.h"\ - "..\..\..\ace\Log_Priority.h"\ - "..\..\..\ace\Log_Record.h"\ - "..\..\..\ace\Log_Record.i"\ - "..\..\..\ace\Malloc.h"\ - "..\..\..\ace\Malloc.i"\ - "..\..\..\ace\Malloc_Base.h"\ - "..\..\..\ace\Malloc_T.cpp"\ - "..\..\..\ace\Malloc_T.h"\ - "..\..\..\ace\Malloc_T.i"\ - "..\..\..\ace\Managed_Object.cpp"\ - "..\..\..\ace\Managed_Object.h"\ - "..\..\..\ace\Managed_Object.i"\ - "..\..\..\ace\Map_Manager.cpp"\ - "..\..\..\ace\Map_Manager.h"\ - "..\..\..\ace\Map_Manager.i"\ - "..\..\..\ace\Mem_Map.h"\ - "..\..\..\ace\Mem_Map.i"\ - "..\..\..\ace\Memory_Pool.h"\ - "..\..\..\ace\Memory_Pool.i"\ - "..\..\..\ace\Message_Block.h"\ - "..\..\..\ace\Message_Block.i"\ - "..\..\..\ace\Message_Queue.h"\ - "..\..\..\ace\Message_Queue.i"\ - "..\..\..\ace\Message_Queue_T.cpp"\ - "..\..\..\ace\Message_Queue_T.h"\ - "..\..\..\ace\Message_Queue_T.i"\ - "..\..\..\ace\Module.cpp"\ - "..\..\..\ace\Module.h"\ - "..\..\..\ace\Module.i"\ - "..\..\..\ace\Object_Manager.h"\ - "..\..\..\ace\Object_Manager.i"\ - "..\..\..\ace\OS.h"\ - "..\..\..\ace\OS.i"\ - "..\..\..\ace\Reactor.h"\ - "..\..\..\ace\Reactor.i"\ - "..\..\..\ace\Reactor_Impl.h"\ - "..\..\..\ace\Service_Config.h"\ - "..\..\..\ace\Service_Config.i"\ - "..\..\..\ace\Service_Object.h"\ - "..\..\..\ace\Service_Object.i"\ - "..\..\..\ace\Service_Repository.h"\ - "..\..\..\ace\Service_Repository.i"\ - "..\..\..\ace\Service_Types.h"\ - "..\..\..\ace\Service_Types.i"\ - "..\..\..\ace\Shared_Object.h"\ - "..\..\..\ace\Shared_Object.i"\ - "..\..\..\ace\Signal.h"\ - "..\..\..\ace\Signal.i"\ - "..\..\..\ace\Singleton.cpp"\ - "..\..\..\ace\Singleton.h"\ - "..\..\..\ace\Singleton.i"\ - "..\..\..\ace\SOCK.h"\ - "..\..\..\ace\SOCK.i"\ - "..\..\..\ace\SOCK_Acceptor.h"\ - "..\..\..\ace\SOCK_Acceptor.i"\ - "..\..\..\ace\SOCK_Connector.h"\ - "..\..\..\ace\SOCK_Connector.i"\ - "..\..\..\ace\SOCK_Dgram.h"\ - "..\..\..\ace\SOCK_Dgram.i"\ - "..\..\..\ace\SOCK_Dgram_Mcast.h"\ - "..\..\..\ace\SOCK_Dgram_Mcast.i"\ - "..\..\..\ace\SOCK_IO.h"\ - "..\..\..\ace\SOCK_IO.i"\ - "..\..\..\ace\SOCK_Stream.h"\ - "..\..\..\ace\SOCK_Stream.i"\ - "..\..\..\ace\SString.h"\ - "..\..\..\ace\SString.i"\ - "..\..\..\ace\Strategies.h"\ - "..\..\..\ace\Strategies.i"\ - "..\..\..\ace\Strategies_T.cpp"\ - "..\..\..\ace\Strategies_T.h"\ - "..\..\..\ace\Strategies_T.i"\ - "..\..\..\ace\Stream_Modules.cpp"\ - "..\..\..\ace\Stream_Modules.h"\ - "..\..\..\ace\Stream_Modules.i"\ - "..\..\..\ace\streams.h"\ - "..\..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\..\ace\Svc_Handler.cpp"\ - "..\..\..\ace\Svc_Handler.h"\ - "..\..\..\ace\Svc_Handler.i"\ - "..\..\..\ace\Synch.h"\ - "..\..\..\ace\Synch.i"\ - "..\..\..\ace\Synch_Options.h"\ - "..\..\..\ace\Synch_Options.i"\ - "..\..\..\ace\Synch_T.cpp"\ - "..\..\..\ace\Synch_T.h"\ - "..\..\..\ace\Synch_T.i"\ - "..\..\..\ace\Task.h"\ - "..\..\..\ace\Task.i"\ - "..\..\..\ace\Task_T.cpp"\ - "..\..\..\ace\Task_T.h"\ - "..\..\..\ace\Task_T.i"\ - "..\..\..\ace\Thread.h"\ - "..\..\..\ace\Thread.i"\ - "..\..\..\ace\Thread_Manager.h"\ - "..\..\..\ace\Thread_Manager.i"\ - "..\..\..\ace\Time_Value.h"\ - "..\..\..\ace\Timer_Queue.h"\ - "..\..\..\ace\Timer_Queue_T.cpp"\ - "..\..\..\ace\Timer_Queue_T.h"\ - "..\..\..\ace\Timer_Queue_T.i"\ - "..\..\..\ace\Trace.h"\ - "..\..\..\ace\WFMO_Reactor.h"\ - "..\..\..\ace\WFMO_Reactor.i"\ - "..\..\..\ace\ws2tcpip.h"\ - "..\..\tao\align.h"\ - "..\..\tao\any.h"\ - "..\..\tao\any.i"\ - "..\..\tao\cdr.h"\ - "..\..\tao\cdr.i"\ - "..\..\tao\Client_Strategy_Factory.h"\ - "..\..\tao\connect.h"\ - "..\..\tao\connect.i"\ - "..\..\tao\corba.h"\ - "..\..\tao\CurrentC.h"\ - "..\..\tao\CurrentC.i"\ - "..\..\tao\debug.h"\ - "..\..\tao\default_client.h"\ - "..\..\tao\default_client.i"\ - "..\..\tao\default_server.h"\ - "..\..\tao\default_server.i"\ - "..\..\tao\Environment.h"\ - "..\..\tao\Environment.i"\ - "..\..\tao\Exception.h"\ - "..\..\tao\Exception.i"\ - "..\..\tao\giop.h"\ - "..\..\tao\giop.i"\ - "..\..\tao\CDR_Interpreter.h"\ - "..\..\tao\IIOP_Object.h"\ - "..\..\tao\IIOP_Object.i"\ - "..\..\tao\IIOP_ORB.h"\ - "..\..\tao\IIOP_ORB.i"\ - "..\..\tao\Invocation.h"\ - "..\..\tao\Invocation.i"\ - "..\..\tao\marshal.h"\ - "..\..\tao\marshal.i"\ - "..\..\tao\nvlist.h"\ - "..\..\tao\NVList.i"\ - "..\..\tao\object.h"\ - "..\..\tao\object.i"\ - "..\..\tao\Object_KeyC.h"\ - "..\..\tao\Object_KeyC.i"\ - "..\..\tao\Operation_Table.h"\ - "..\..\tao\orb.h"\ - "..\..\tao\ORB.i"\ - "..\..\tao\orb_core.h"\ - "..\..\tao\orb_core.i"\ - "..\..\tao\ORB_Strategies_T.cpp"\ - "..\..\tao\ORB_Strategies_T.h"\ - "..\..\tao\ORB_Strategies_T.i"\ - "..\..\tao\orbconf.h"\ - "..\..\tao\params.h"\ - "..\..\tao\params.i"\ - "..\..\tao\poa.h"\ - "..\..\tao\POA.i"\ - "..\..\tao\POA_CORBA.h"\ - "..\..\tao\poa_macros.h"\ - "..\..\tao\poaC.h"\ - "..\..\tao\poaC.i"\ - "..\..\tao\poaS.h"\ - "..\..\tao\poaS.i"\ - "..\..\tao\PolicyC.h"\ - "..\..\tao\PolicyC.i"\ - "..\..\tao\Principal.h"\ - "..\..\tao\Principal.i"\ - "..\..\tao\request.h"\ - "..\..\tao\Request.i"\ - "..\..\tao\sequence.h"\ - "..\..\tao\sequence.i"\ - "..\..\tao\Sequence_T.cpp"\ - "..\..\tao\Sequence_T.h"\ - "..\..\tao\Sequence_T.i"\ - "..\..\tao\servant_base.h"\ - "..\..\tao\Server_Request.h"\ - "..\..\tao\Server_Request.i"\ - "..\..\tao\Server_Strategy_Factory.h"\ - "..\..\tao\singletons.h"\ - "..\..\tao\stub.h"\ - "..\..\tao\stub.i"\ - "..\..\tao\TAO.h"\ - "..\..\tao\typecode.h"\ - "..\..\tao\typecode.i"\ - "..\..\tao\Union.h"\ - "..\..\tao\varout.cpp"\ - "..\..\tao\varout.h"\ - "..\..\tao\varout.i"\ - "..\orbsvcs\CosNamingC.h"\ - "..\orbsvcs\CosNamingC.i"\ - "..\orbsvcs\CosNamingS.h"\ - "..\orbsvcs\CosNamingS.i"\ - "..\orbsvcs\CosNamingS_T.cpp"\ - "..\orbsvcs\CosNamingS_T.h"\ - "..\orbsvcs\CosNamingS_T.i"\ - "..\orbsvcs\IOR_Multicast.h"\ - "..\orbsvcs\Naming\CosNaming_i.h"\ - "..\orbsvcs\Naming\Entries.h"\ - "..\orbsvcs\Naming\Naming_Utils.h"\ - "..\orbsvcs\orbsvcs_export.h"\ - ".\Naming_Service.h"\ - -NODEP_CPP_NAMIN=\ - "..\..\..\ace\sys_conf.h"\ - "..\..\tao\Object_Table.h"\ - - -!ELSEIF "$(CFG)" == "Naming_Service - Win32 Alpha Release" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\CosNaming_i.h -# End Source File -# Begin Source File - -SOURCE=.\Naming_Service.h -# End Source File -# Begin Source File - -SOURCE=.\NS_CosNaming.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/Naming_Service/Naming_Service.dsw b/TAO/orbsvcs/Naming_Service/Naming_Service.dsw deleted file mode 100644 index e306b797e57..00000000000 --- a/TAO/orbsvcs/Naming_Service/Naming_Service.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Naming_Service"=.\Naming_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/Naming_Service/Naming_Service.h b/TAO/orbsvcs/Naming_Service/Naming_Service.h deleted file mode 100644 index 506afb2fd67..00000000000 --- a/TAO/orbsvcs/Naming_Service/Naming_Service.h +++ /dev/null @@ -1,82 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// orbsvcs/Naming_Service/Naming_Service -// -// = FILENAME -// Naming_Service.h -// -// = DESCRIPTION -// This class implements the functionality of a Naming_Service in -// a stand-alone process. -// -// = AUTHORS -// Nagarajan Surendran (naga@cs.wustl.edu) -// -// ============================================================================ - -#ifndef TAO_NAMING_SERVICE_H -#define TAO_NAMING_SERVICE_H - -#include "tao/TAO.h" -#include "orbsvcs/Naming/Naming_Utils.h" - -class TAO_Naming_Service -{ - // = TITLE - // Defines a class that encapsulates the implementation of the - // COS Naming Service. - // - // = DESCRIPTION - // This class makes use of the and - // class to implement the COS Naming Service. -public: - TAO_Naming_Service (void); - // Default Constructor. - - TAO_Naming_Service (int argc, char *argv[]); - // Constructor taking the command-line arguments. - - int init (int argc, char *argv[]); - // Initialize the Naming Service with the arguments. - - int run (CORBA_Environment& ACE_TRY_ENV); - // Run the TAO_Naming_Service. - - ~TAO_Naming_Service (void); - // Destructor. - -private: - int parse_args (int argc, char *argv[]); - // parses the arguments. - - TAO_ORB_Manager orb_manager_; - // The ORB manager. - - TAO_Naming_Server my_naming_server_; - // Naming Server instance. - - FILE *ior_output_file_; - // File to output the Naming Service IOR. - - const char *pid_file_name_; - // File to output the process id. - - size_t context_size_; - // Size of the hash_table allocated upon the creation of the Naming - // Service context (if one is created). Note: all the contexts - // created under the given context will use the same size for their - // initial hash table allocations. - - LPCTSTR persistence_file_name_; - // Path to the file to be used to store/read in Naming Service - // persistent state. - - size_t time_; - // After how long the server should stop listening to requests (in - // seconds). -}; - -#endif /* TAO_NAMING_SERVICE_H */ diff --git a/TAO/orbsvcs/Naming_Service/README b/TAO/orbsvcs/Naming_Service/README deleted file mode 100644 index 55db915353a..00000000000 --- a/TAO/orbsvcs/Naming_Service/README +++ /dev/null @@ -1,171 +0,0 @@ -// $Id$ - -This directory contains the files that implement the TAO -Naming server. - - -To Run: -====== - -% Naming_Service [-ORBnameserviceport nsport] - [-o ior_output_file] - [-p pid_file_name] - [-s context_size] - [-t time] - [-f persitence_file_name] - -Optional Command-line Arguments: -=============================== - nsport - Multicast port for listening for requests from - clients trying to bootstrap to a Naming Service - through the use of multicast. - - output_file - The name of the file, in which to store the IOR of the - root Naming Service context. - - pid_file_name - The name of the file, in which to store the process id - of the Naming Service server. - - context_size - Size of the hash table allocated for - the root Naming Context (if one is created). All - contexts created under the root will use the same - size for their hash tables. The default is 1024. - - time - How long (in seconds) the server should listen for - client requests before terminating. - - persistence_file_name - The name of the file to use to store/retrieve - persistent state of the Naming Service. Without this - option, Naming Service is started in non-persistent mode. - -Environment Variables: -===================== - - NameServicePort - Multicast port for listening for requests from - clients trying to bootstrap to a Naming Service - through the use of multicast. - - -Persistence: -=========== -TAO Naming Service has an optional persistence capability. By -default, the Naming Service is started in a non-persistent mode. -Supplying "-f" command-line option to the server causes a persistent -version of the Naming Service to run. - -The file specified with the "-f" option is used to store the -persistent state of the Naming Service, i.e., all Naming Contexts and -their bindings. When "-f" option is specified: - - 1. If the specified file does not exist, it is created - and used to store the state of the Naming Service. An initial - (root) Naming Context is also created. - - 2. If the specified file exists, it is scanned and: - a) If any inconsistency is detected in the - stored state, or the file is not recognized by - the Naming Service, the server exits. (This - may happen, for example, if a server or host - crashed in the middle of writing a record to - this file on a previous run). A - noncorrupted version of the file must be used instead. - - b) If the file is recognized and is ok, the - state stored in the file becomes the current state of - the Naming Service. - - -Implementation Policies: -======================= - -- Destroying Binding Iterators - A binding iterator is destroyed when client invokes - operation either on the iterator itself or on - the naming context it is iterating over. In both cases, - subsequent calls on the binding iterator object will - cause OBJECT_NOT_EXIST exception. - -- Dealing with orphaned contexts - This implementation of the Naming Service does not - include any form of 'garbage collection' for orphaned - naming contexts. It is solely the responsibility of - clients to clean up after themselves and not leak server - resources. All the resources, including orphaned - contexts, are released during the Naming Server - shutdown. - -Clients: ways to bootstrap to the Naming Service: -================================================ - -There are several methods for a client to bootstrap to a Naming -Service, i.e., there are several mechanisms can use -when asked for "NameService". - - 1. By default (unless other options are specified - see items 2 - and 3 below), ip multicast is used to locate a Naming - Service. TAO Naming Server is listening for client multicast - requests on a specified port. On the client side, - sends out a multicast request - on the network, trying to locate a Naming Service. When a - Naming Server receives a multicast request from a client, it - replies to the sender with the ior of its root - Naming Context. Note, the port used for this bootstrapping - process, i.e., 'multicast port', has nothing to do with the - ORB port used for CORBA communication. Other points worth - mentioning: - - - A client and a server will only click through this - multicast protocol if they are using the same multicast - port. For both client and server -ORBnameserviceport - command-line option and NameServicePort environment - variable can be used to specify the multicast port to use. - If none is specified, the default port is used. (The - ability to specify multicast ports can be used to match - certain clients with certain Naming Servers, when there - are more than one Naming Server running on the network). - - - If there are several Naming Servers running on the - network, each listening on the same port for - multicast requests, each will send a reply to a client's - request. The client's orb will use the first response it - receives, so the Naming Service will, in fact, be selected at - random. - - Since this mechanism is proprietary to TAO (i.e., - non-standard), it only works when both client and server are - written using TAO. There is no way to turn multicasting - off, but it is used only as a last resort, i.e., any of the - options below will override it. - - When OS platform doesn't support multicast, or client or - server isn't written using TAO, or a more reliable location - method is desired, etc., one of the options below can be - used to bootstrap to the Naming Service. - - 2. Command-line option -ORBnameserviceior or environment - variable NameServiceIOR can be used on the client side to - specify the object that the call to - should return to the client. - (On the server side, -o option can be used to get the ior). - - Example (Unix, same host): - - % TAO_ROOT/orbsvcs/Naming_Service -o ior_file - % my_client -ORBnameserviceior file://ior_file - - On the first line, we start the Naming Service, and output - its ior to . On the second line, we start some - client, and specify the ior - should return for the Naming Service in a file format. - - 3. TAO implements Interoperable Naming Service. So, most of the - initialzation options provided by INS can be used to - bootstrap to the Naming Service (see TAO's releasenotes for the - status of INS implementation). diff --git a/TAO/orbsvcs/Scheduling_Service/Makefile b/TAO/orbsvcs/Scheduling_Service/Makefile deleted file mode 100644 index c67e0d10799..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/Makefile +++ /dev/null @@ -1,335 +0,0 @@ -# $Id$ - -SCHEDULE_SRCS = Scheduling_Service.cpp -LSRC = $(SCHEDULE_SRCS) - -SCHEDULE_OBJS = $(SCHEDULE_SRCS:.cpp=.o) - -LDLIBS = -lorbsvcs -lTAO -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = Scheduling_Service - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Sched,$(findstring Sched,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Sched - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs/orbsvcs/Sched -I$(TAO_ROOT)/orbsvcs \ - -I$(TAO_ROOT) $(TSS_ORB_FLAG) - -Scheduling_Service: $(addprefix $(VDIR),$(SCHEDULE_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Scheduling_Service.o .obj/Scheduling_Service.so .shobj/Scheduling_Service.o .shobj/Scheduling_Service.so: Scheduling_Service.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Config_Scheduler.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler_Generic.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Config_Scheduler.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/Scheduling_Service/Makefile.am b/TAO/orbsvcs/Scheduling_Service/Makefile.am deleted file mode 100644 index a1c9126feca..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Scheduling Service -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -bin_PROGRAMS = Scheduling_Service - -Scheduling_Service_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -Scheduling_Service_SOURCES = \ - Scheduling_Service.cpp - -## noinst_HEADERS = - -## EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.cpp b/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.cpp deleted file mode 100644 index 4d45539f9a7..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.cpp +++ /dev/null @@ -1,375 +0,0 @@ -// $Id$ - -#include "ace/Get_Opt.h" -#include "ace/Auto_Ptr.h" -#include "orbsvcs/CosNamingC.h" - -#include "Scheduling_Service.h" - -ACE_RCSID(Scheduling_Service, Scheduling_Service, "$Id$") - -// Default Constructor. - -TAO_Scheduling_Service::TAO_Scheduling_Service (void) - : scheduler_impl_ (0), - ior_file_name_ (0), - pid_file_name_ (0), - service_name_ ("ScheduleService"), - scheduler_type_ (CONFIG) -{ -} - - -// Constructor taking the command-line arguments. - -TAO_Scheduling_Service::TAO_Scheduling_Service (int argc, char *argv[]) - : scheduler_impl_ (0), - ior_file_name_ (0), - pid_file_name_ (0), - service_name_ ("ScheduleService"), - scheduler_type_ (CONFIG) -{ - this->init (argc, argv); -} - -// Destructor. - -TAO_Scheduling_Service::~TAO_Scheduling_Service (void) -{ -} - - -// Initialize the Scheduling Service with the arguments. - -int -TAO_Scheduling_Service::init (int argc, char *argv[]) -{ - int result; - CORBA::ORB_var orb; - PortableServer::POAManager_ptr poa_manager; - - ACE_TRY_NEW_ENV - { - // Initialize ORB manager. - this->orb_manager_.init (argc, argv, ACE_TRY_ENV); - ACE_TRY_CHECK; - - orb = this->orb_manager_.orb (); - ACE_TRY_CHECK; - - poa_manager = this->orb_manager_.poa_manager (); - ACE_TRY_CHECK; - - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Check the non-ORB arguments. this needs to come before we - // initialize the scheduler implementation so that we know which - // type of scheduler to use. - - result = this->parse_args (argc, argv); - if (result < 0) - return result; - - // Construct a scheduler implementation of the specified type. - switch (this->scheduler_type_) - { - -// The templatized method parameters needed by the reconfig scheduler -// class template are hopelessly broken on pre-2.8 versions of g++. -#if (! defined (__GNUC__)) || (__GNUC__ > 2) || \ -(__GNUC__ == 2 && defined (__GNUC_MINOR__) && __GNUC_MINOR__ >= 8) - - case RECONFIG: - ACE_NEW_THROW_EX (scheduler_impl_, - RECONFIG_SCHED_TYPE, - CORBA::NO_MEMORY ()); - ACE_TRY_CHECK; - break; - -#endif /* __GNUC__ */ - - case CONFIG: - ACE_NEW_THROW_EX (scheduler_impl_, - CONFIG_SCHED_TYPE, - CORBA::NO_MEMORY ()); - ACE_TRY_CHECK; - break; - - default: - ACE_ERROR_RETURN ((LM_ERROR, - "TAO_Scheduling_Service::init: " - "unrecognized Scheduler_Type"), -1); - } - - // Locate the naming service. - CORBA::Object_var naming_obj = - orb->resolve_initial_references ("NameService"); - if (CORBA::is_nil (naming_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to locate the Naming Service.\n"), - -1); - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecScheduler::Scheduler_var scheduler = - this->scheduler_impl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var scheduler_ior_string = - orb->object_to_string (scheduler.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "The scheduler IOR is <%s>\n", - scheduler_ior_string.in ())); - - // Register the servant with the Naming Context.... - CosNaming::Name schedule_name (1); - schedule_name.length (1); - schedule_name[0].id = CORBA::string_dup (this->service_name_); - naming_context->rebind (schedule_name, scheduler.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (this->ior_file_name_ != 0) - { - FILE *iorf = fopen (this->ior_file_name_, "w"); - if (iorf != 0) - { - ACE_OS::fprintf (iorf, - "%s\n", - scheduler_ior_string.in ()); - ACE_OS::fclose (iorf); - } - } - - if (this->pid_file_name_ != 0) - { - FILE *pidf = fopen (this->pid_file_name_, "w"); - if (pidf != 0) - { - ACE_OS::fprintf (pidf, - "%d\n", - ACE_OS::getpid ()); - ACE_OS::fclose (pidf); - } - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "TAO_Scheduling_Service::init"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - - -// Runs the TAO_Scheduling_Service. - -int -TAO_Scheduling_Service::run (CORBA_Environment& ACE_TRY_ENV) -{ - // Run the ORB manager. - return this->orb_manager_.run (ACE_TRY_ENV); -} - - -// Parses the command line arguments. - -int -TAO_Scheduling_Service::parse_args (int argc, char *argv[]) -{ - ACE_Get_Opt get_opt (argc, argv, "n:p:s:"); - int opt; - - while ((opt = get_opt ()) != EOF) - { - switch (opt) - { - case 'n': - this->service_name_ = get_opt.optarg; - break; - - case 'p': - this->pid_file_name_ = get_opt.optarg; - break; - - case 'o': - this->ior_file_name_ = get_opt.optarg; - break; - -// The templatized method parameters needed by the reconfig scheduler -// class template are hopelessly broken on pre-2.8 versions of g++. -#if (! defined (__GNUC__)) || (__GNUC__ > 2) || \ -(__GNUC__ == 2 && defined (__GNUC_MINOR__) && __GNUC_MINOR__ >= 8) - - case 's': - if (ACE_OS::strcasecmp ("CONFIG", get_opt.optarg) == 0) - { - this->scheduler_type_ = CONFIG; - } - else if (ACE_OS::strcasecmp ("RECONFIG", get_opt.optarg) == 0) - { - this->scheduler_type_ = RECONFIG; - } - else - { - ACE_DEBUG ((LM_DEBUG, - "Usage: %s " - "[-n service_name] " - "[-p pid_file_name] " - "[-o ior_file_name] " - "[-s ]" - "\n", - argv[0])); - - return -1; - } - break; - -#endif /* __GNUC__ */ - - case '?': - default: - -// The templatized method parameters needed by the reconfig scheduler -// class template are hopelessly broken on pre-2.8 versions of g++. -#if (! defined (__GNUC__)) || (__GNUC__ > 2) || \ -(__GNUC__ == 2 && defined (__GNUC_MINOR__) && __GNUC_MINOR__ >= 8) - - ACE_DEBUG ((LM_DEBUG, - "Usage: %s " - "[-n service_name] " - "[-p pid_file_name] " - "[-o ior_file_name] " - "[-s ]" - "\n", - argv[0])); - -#else /* __GNUC__ <= 2.8 */ - - ACE_DEBUG ((LM_DEBUG, - "Usage: %s " - "[-n service_name] " - "[-p pid_file_name] " - "[-o ior_file_name] " - "\n", - argv[0])); - -#endif /* __GNUC__ */ - - return -1; - } - } - - return 0; -} - -int main (int argc, char *argv[]) -{ - ACE_TRY_NEW_ENV - { - TAO_Scheduling_Service scheduling_service; - - ACE_DEBUG ((LM_DEBUG, - "%s; initializing scheduling service\n", __FILE__)); - - if (scheduling_service.init (argc, argv) < 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "init"), 1); - - ACE_DEBUG ((LM_DEBUG, - "%s; running scheduling service\n", __FILE__)); - - scheduling_service.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "schedule_service"); - return 1; - } - ACE_ENDTRY; - - return 0; -} - - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -#if (! defined (__GNUC__)) || (__GNUC__ > 2) || \ -(__GNUC__ == 2 && defined (__GNUC_MINOR__) && __GNUC_MINOR__ >= 8) -template class auto_ptr; -template class auto_ptr; -template class auto_ptr; -template class ACE_Auto_Basic_Ptr; -template class ACE_Auto_Basic_Ptr; -template class ACE_Auto_Basic_Ptr; -template class ACE_Equal_To; -template class ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX>; -template class ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX>; -template class ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX>; -template class ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX>; -template class ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX>; -template class ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX>; -template class ACE_Hash_Map_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex>; -template class ACE_Hash_Map_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex>; -template class ACE_Hash_Map_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex>; -template class ACE_Hash_Map_Reverse_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex>; -template class ACE_Hash_Map_Reverse_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex>; -template class ACE_Hash_Map_Reverse_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex>; -template class ACE_Hash_Map_Entry; -template class ACE_Hash_Map_Entry; -template class ACE_Hash_Map_Entry; -template class ACE_RB_Tree, ACE_SYNCH_MUTEX>; -template class ACE_RB_Tree_Node; -template class ACE_RB_Tree_Iterator, ACE_SYNCH_MUTEX>; -template class ACE_RB_Tree_Iterator_Base, ACE_SYNCH_MUTEX>; -template class ACE_RB_Tree_Reverse_Iterator, ACE_SYNCH_MUTEX>; -template class TAO_Reconfig_Scheduler; -template class TAO_RSE_Dependency_Visitor; -template class TAO_RSE_DFS_Visitor; -template class TAO_RSE_Priority_Visitor; -template class TAO_RSE_Propagation_Visitor; -template class TAO_RSE_SCC_Visitor; -template class TAO_RSE_Utilization_Visitor; -# endif /* __GNUC__ */ -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#if (! defined (__GNUC__)) || (__GNUC__ > 2) || \ -(__GNUC__ == 2 && defined (__GNUC_MINOR__) && __GNUC_MINOR__ >= 8) -#pragma instantiate auto_ptr -#pragma instantiate auto_ptr -#pragma instantiate auto_ptr -#pragma instantiate ACE_Auto_Basic_Ptr -#pragma instantiate ACE_Auto_Basic_Ptr -#pragma instantiate ACE_Auto_Basic_Ptr -#pragma instantiate ACE_Equal_To -#pragma instantiate ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX> -#pragma instantiate ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX> -#pragma instantiate ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX> -#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX> -#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX> -#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_SYNCH_MUTEX> -#pragma instantiate ACE_Hash_Map_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex> -#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex> -#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex> -#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex,ACE_Equal_To,ACE_Thread_Mutex> -#pragma instantiate ACE_Hash_Map_Entry -#pragma instantiate ACE_Hash_Map_Entry -#pragma instantiate ACE_Hash_Map_Entry -#pragma instantiate ACE_RB_Tree, ACE_SYNCH_MUTEX> -#pragma instantiate ACE_RB_Tree_Node -#pragma instantiate ACE_RB_Tree_Iterator, ACE_SYNCH_MUTEX> -#pragma instantiate ACE_RB_Tree_Iterator_Base, ACE_SYNCH_MUTEX> -#pragma instantiate ACE_RB_Tree_Reverse_Iterator, ACE_SYNCH_MUTEX> -#pragma instantiate TAO_Reconfig_Scheduler -#pragma instantiate TAO_RSE_Dependency_Visitor -#pragma instantiate TAO_RSE_DFS_Visitor -#pragma instantiate TAO_RSE_Priority_Visitor -#pragma instantiate TAO_RSE_Propagation_Visitor -#pragma instantiate TAO_RSE_SCC_Visitor -#pragma instantiate TAO_RSE_Utilization_Visitor -# endif /* __GNUC__ */ -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsp b/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsp deleted file mode 100644 index 35852891aef..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsp +++ /dev/null @@ -1,115 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Scheduling_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Scheduling_Service - 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 "Scheduling_Service.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 "Scheduling_Service.mak" CFG="Scheduling_Service - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Scheduling_Service - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "Scheduling_Service - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Scheduling_Service - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\.." /I "..\..\.." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "Scheduling_Service - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /I "..\.." /I "..\..\.." /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib orbsvcsd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Scheduling_Service - Win32 Release" -# Name "Scheduling_Service - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Scheduling_Service.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Config_Scheduler.h -# End Source File -# Begin Source File - -SOURCE=.\Scheduler.h -# End Source File -# Begin Source File - -SOURCE=.\Scheduler_Generic.h -# End Source File -# End Group -# Begin Source File - -SOURCE=.\Scheduling_Service.h -# End Source File -# End Target -# End Project diff --git a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsw b/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsw deleted file mode 100644 index 1dbeef9a1fb..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Scheduling_Service"=.\Scheduling_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.h b/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.h deleted file mode 100644 index dbc855263ff..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.h +++ /dev/null @@ -1,101 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// orbsvcs/Scheduling_Service/Scheduling_Service -// -// = FILENAME -// Scheduling_Service.h -// -// = DESCRIPTION -// This class implements the functionality of a Scheduling Service in -// a stand-alone process. -// -// = AUTHORS -// Chris Gill (cdgill@cs.wustl.edu) Based on the original -// Scheduling Service program by David Levine -// (levine@cs.wustl.edu) and Carlos O'Ryan (coryan@cs.wustl.edu), -// and on the Naming Service program implementation by Marina -// Spivak (marina@cs.wustl.edu) and Nagarajan Surendran -// (naga@cs.wustl.edu) -// -// ============================================================================ - -#ifndef TAO_SCHEDULING_SERVICE_H -#define TAO_SCHEDULING_SERVICE_H - -#include "tao/TAO.h" -#include "orbsvcs/Sched/Reconfig_Scheduler.h" -#if defined (TAO_USES_STRATEGY_SCHEDULER) -#include "orbsvcs/Sched/Strategy_Scheduler.h" -#endif /* defined (TAO_USES_STRATEGY_SCHEDULER) */ -#include "orbsvcs/Sched/Config_Scheduler.h" - -class TAO_Scheduling_Service -{ - // = TITLE - // Defines a class that encapsulates the implementation of the - // TAO Scheduling Service. - // - // = DESCRIPTION - // This class makes use of the and - // classes to implement the Scheduling Service. -public: - TAO_Scheduling_Service (void); - // Default Constructor. - - TAO_Scheduling_Service (int argc, char *argv[]); - // Constructor taking the command-line arguments. - - int init (int argc, char *argv[]); - // Initialize the Scheduling Service with the arguments. - - int run (CORBA_Environment& ACE_TRY_ENV); - // Run the TAO_Scheduling_Service. - - ~TAO_Scheduling_Service (void); - // Destructor. - -private: - typedef ACE_Config_Scheduler CONFIG_SCHED_TYPE; - -// The templatized method parameters needed by the reconfig scheduler -// class template are hopelessly broken on pre-2.8 versions of g++. -#if (! defined (__GNUC__)) || (__GNUC__ > 2) || \ -(__GNUC__ == 2 && defined (__GNUC_MINOR__) && __GNUC_MINOR__ >= 8) - - typedef TAO_Reconfig_Scheduler RECONFIG_SCHED_TYPE; - -#endif /* __GNUC__ */ - - enum Scheduler_Type {CONFIG, RECONFIG}; - - int parse_args (int argc, char *argv[]); - // parses the arguments. - - TAO_ORB_Manager orb_manager_; - // The ORB manager. This must be the first thing in the - - POA_RtecScheduler::Scheduler *scheduler_impl_; - // Scheduler instance. - - const char *ior_file_name_; - // Name of the IOR output file. - - const char *pid_file_name_; - // Name of the process id output file. - - const char *service_name_; - // Name used to register the service. - - Scheduler_Type scheduler_type_; - // Type of scheduler with which to instantiate the service. - - CORBA::ORB_var orb_; - // A reference to the ORB, to shut it down properly. -}; - -#endif /* TAO_SCHEDULING_SERVICE_H */ - diff --git a/TAO/orbsvcs/Time_Service/Clerk_i.cpp b/TAO/orbsvcs/Time_Service/Clerk_i.cpp deleted file mode 100644 index a80fb4611c6..00000000000 --- a/TAO/orbsvcs/Time_Service/Clerk_i.cpp +++ /dev/null @@ -1,597 +0,0 @@ -// $Id$ - -#include "ace/Get_Opt.h" -#include "ace/Read_Buffer.h" -#include "Clerk_i.h" - -ACE_RCSID(Time_Service, Clerk_i, "$Id$") - -// Constructor. - -Clerk_i::Clerk_i (void) - : ior_output_file_ (0), - timer_value_ (3), - server_ (Clerk_i::DEFAULT_SERVER_COUNT), - ior_fp_ (0) -{ - // no-op. -} - -// Destructor. - -Clerk_i::~Clerk_i (void) -{ - // no-op. -} - -// Reads the Time Service Server iors from a file instead of using a -// naming service. - -int -Clerk_i::read_ior (const char *filename) -{ - // Open the file for reading. - ACE_HANDLE f_handle = ACE_OS::open (filename, 0); - - if (f_handle == ACE_INVALID_HANDLE) - ACE_ERROR_RETURN ((LM_ERROR, - "[CLIENT] Process/Thread Id : (%P/%t) Unable to open %s for writing: %p\n", - filename), - -1); - else - this->ior_fp_ = 1; - - ACE_Read_Buffer ior_buffer (f_handle); - - char *data = ior_buffer.read (EOF,'\n','\n'); - if (data == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "[CLIENT] Process/Thread Id : (%P/%t) Unable to read ior: %p\n"), - -1); - - int result = 0; - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - for (char *str = ACE_OS::strtok (data, "\n"); - str != 0 ; - str = ACE_OS::strtok (0, "\n")) - { - ACE_DEBUG ((LM_DEBUG, - "iors -> |%s|\n", - str)); - - CORBA::Object_var objref = - this->orb_->string_to_object (str, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Return if the server reference is nil. - if (CORBA::is_nil (objref.in ())) - { - ACE_ERROR ((LM_ERROR, - "IOR for the server is Null\n")); - result = -1; - break; - } - - CosTime::TimeService_ptr server = - CosTime::TimeService::_narrow (objref.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->insert_server (server); - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception"); - } - ACE_ENDTRY; - - ACE_OS::close (f_handle); - ior_buffer.alloc ()->free (data); - - return result; -} - -// Parse the command-line arguments and set options. - -int -Clerk_i::parse_args (void) -{ - ACE_Get_Opt get_opts (this->argc_, this->argv_, "dt:f:o:"); - - int c, result; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; - break; - - case 't': // time after which the clerk should update time. - this->timer_value_ = atoi (get_opts.optarg); - break; - - case 'f': // read the server IORs from a file. - result = this->read_ior (get_opts.optarg); - - if (result < 0) - ACE_ERROR_RETURN ((LM_ERROR, - "[CLERK] Process/Thread Id : (%P/%t) Unable to read ior from %s : %p\n", - get_opts.optarg), - -1); - break; - - case 'o': // output the Clerk IOR to a file. - this->ior_output_file_ = - ACE_OS::fopen (get_opts.optarg, "w"); - - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "[SERVER] Process/Thread Id : (%P/%t)Unable to open %s for writing: %\n", - get_opts.optarg), -1); - break; - - case '?': // display help for use of the server. - /* FALLTHRU */ - default: - ACE_ERROR_RETURN ((LM_ERROR, - "[SERVER] Process/Thread Id : (%P/%t)" - "usage: %s" - " [-d]" - " [-t] " - " [-f] " - " [-o] " - "\n", - argv_ [0]), - 1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Get a reference to the Server Naming context and the first IOR. -// The iterator returned from this is used to get the next n IORs. - -int -Clerk_i::get_first_IOR (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - char host_name[MAXHOSTNAMELEN]; - - ACE_OS::hostname (host_name, - MAXHOSTNAMELEN); - CosNaming::BindingList_var bindings_list; - CosNaming::BindingIterator_var iter; - - // Construct the server context name. - CosNaming::Name server_context_name; - server_context_name.length (1); - server_context_name[0].id = CORBA::string_dup ("ServerContext"); - - // Resolve name. - CORBA::Object_var temp_object = - this->my_name_server_->resolve (server_context_name, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - CosNaming::NamingContext_var server_context = - CosNaming::NamingContext::_narrow (temp_object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (server_context.in ())) - ACE_DEBUG ((LM_DEBUG, - "TAO_Time_Service_Clerk::get_server_IORs:" - "No Active Servers in the Network\n")); - - // Get the first element and an iterator over the other - // elements. - server_context->list (1, - bindings_list.out (), - iter.out ()); - CosNaming::Name server_name; - server_name.length (1); - server_name[0].id = bindings_list[0].binding_name[0].id; - - temp_object = - server_context->resolve (server_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CosTime::TimeService_var obj = - CosTime::TimeService::_narrow (temp_object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "[CLERK] Process/Thread Id : (%P/%t) Unable to Resolve " - "Server Reference\n"), - -1); - - // Insert the first server IOR into the unbounded set of server - // IORs. - - this->insert_server (obj.in ()); - - // Iterate over the server context to get the next N IORs. - if (next_n_IORs (iter, - server_context) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "[CLERK] Process/Thread Id : (%P/%t) Unable to get next N IORs "), - -1);; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -// Get the next n IORs of the time servers active in the Network and -// registered with the Naming Service. This is done by iterating over -// the naming context. - -int -Clerk_i::next_n_IORs (CosNaming::BindingIterator_var iter, - CosNaming::NamingContext_var server_context) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - CosNaming::Binding_var binding; - - if (!CORBA::is_nil (iter.in ())) - { - while (iter->next_one (binding.out (), - ACE_TRY_ENV)) - { - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Getting IOR of the server: %s\n\n", - binding->binding_name[0].id.in ())); - - CosNaming::Name server_name; - server_name.length (1); - server_name[0].id = binding->binding_name[0].id; - - CORBA::Object_var temp_object = - server_context->resolve (server_name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CosTime::TimeService_ptr server = - CosTime::TimeService::_narrow (temp_object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->insert_server (server); - } - - ACE_TRY_CHECK; - } - - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Unexpected exception in next_n_IORs\n"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -// Initialise the Naming Service. - -int -Clerk_i::init_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - // Initialize the POA. - this->orb_manager_.init_child_poa (this->argc_, - this->argv_, - "my_child_poa", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POA_ptr child_poa - = this->orb_manager_.child_poa (); - - // Initialize the Naming Server. Note the Naming Server cannot - // be initialized with the Root POA because it has to be a - // persistent object reference. Hence the need for child - // POA. The servants need not be registered in the same POA. We - // use the Root POA for the servants. - - if (this->my_name_server_.init (this->orb_.in (), - child_poa) == -1) - return -1; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -// Create an instance of the clerk with appropriate parameters. - -int -Clerk_i::create_clerk (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - - // Create a new clerk object. Pass it the timer value, the set - // of server IORs and the no. of servers. - ACE_NEW_RETURN (this->time_service_clerk_impl_, - TAO_Time_Service_Clerk (this->timer_value_, - this->server_), - 0); - - // Generate IOR of the Clerk and register with POA. - this->time_service_clerk_ = - this->time_service_clerk_impl_->_this (); - - // Convert the clerk reference to a string. - CORBA::String_var objref_clerk = - this->orb_->object_to_string (this->time_service_clerk_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Print the clerk IOR on the console. - ACE_DEBUG ((LM_DEBUG, - "[SERVER] Process/Thread Id : (%P/%t) The Time Service CLERK IOR is: <%s>\n", - objref_clerk.in ())); - - // Print the Time Service clerk IOR to a file. - if (this->ior_output_file_) - { - ACE_OS::fprintf (this->ior_output_file_, - "%s", - objref_clerk.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - - // Register the clerk implementation with the Interface - // Repository. init_IR(); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -// Check if this is the first Clerk to bind to the Naming -// Service. If yes, then 1 is returned else 0 is returned. - -int -Clerk_i::if_first_clerk (CosNaming::Name clerk_context_name) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - this->my_name_server_->resolve - (clerk_context_name, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_UNUSED_ARG (userex); - return 1; - } - ACE_ENDTRY; - return 0; -} - -// Binds the clerk in the context ClerkContext with the name -// Clerk:. - -int -Clerk_i::register_clerk (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Bind the Clerk in its appropriate Context. - - CosNaming::Name clerk_context_name; - clerk_context_name.length (1); - clerk_context_name[0].id = CORBA::string_dup ("ClerkContext"); - - CosNaming::NamingContext_var clerk_context; - - if (if_first_clerk (clerk_context_name)) - { - clerk_context = this->my_name_server_->new_context (ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->my_name_server_->rebind_context (clerk_context_name, - clerk_context.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - char host_name[MAXHOSTNAMELEN]; - char clerk_mc_name[MAXHOSTNAMELEN]; - - ACE_OS::hostname (host_name, - MAXHOSTNAMELEN); - - //CosNaming::Name clerk_name (clerk_context_name); - CosNaming::Name clerk_name; - clerk_name.length (2); - - ACE_OS::strcpy (clerk_mc_name, "Clerk:"); - ACE_OS::strcat (clerk_mc_name, host_name); - - clerk_name[0].id = CORBA::string_dup ("ClerkContext"); - clerk_name[1].id = CORBA::string_dup (clerk_mc_name); - - this->my_name_server_->rebind (clerk_name, - this->time_service_clerk_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "(%P|%t) Exception from init_naming_service ()\n"); - } - ACE_ENDTRY; - - return 0; -} - -// Initialize the Clerk. - -int -Clerk_i::init (int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - this->argc_ = argc; - this->argv_ = argv; - - // Set the size of the Server IOR Array. - this->server_.max_size (10); - this->server_.size (0); - - // Call the init of to initialize the ORB and - // create a child POA under the root POA. - - - this->orb_manager_.init (argc, - argv, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - if (this->orb_manager_.init_child_poa (argc, - argv, - "child_poa", - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init_child_poa"), - -1); - ACE_TRY_CHECK; - - // Get the ORB. - this->orb_ = this->orb_manager_.orb (); - - // Parse commandline arguments. - if (this->parse_args () !=0 ) - return -1; - - // If IOR file has not been specified then try the Naming - // Service. - - if (!this->ior_fp_) - { - ACE_DEBUG ((LM_DEBUG, - "IOR file not specified. Using the Naming Service instead\n")); - - // Initialize the Naming Service. - if (this->init_naming_service (ACE_TRY_ENV) !=0 ) - return -1; - - // Get a reference to the Server Naming context and the - // first IOR. - if (this->get_first_IOR () != 0) - return -1; - - } - - // Create an instance of the Clerk. - if (this->create_clerk () != 0) - return -1; - - - // Register the clerk with the Naming Service. - if (this->ior_fp_ == 0) - { - if (this->register_clerk () != 0) - return -1; - } - - // Close the open file handler. - // ACE_OS::fclose (this->ior_fp_); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "(%P|%t) Exception in Clerk_i::init ()\n"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -int -Clerk_i::run (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - // Run the main event loop for the ORB. - int r = this->orb_manager_.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (r == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "[SERVER] Process/Thread Id : (%P/%t) Clerk_i::run"), - -1); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "(%P|%t) Exception in Clerk_i::run ()\n"); - } - ACE_ENDTRY; - - return 0; -} - -void -Clerk_i::insert_server (CosTime::TimeService_ptr server) -{ - // We duplicate the capacity of the Array. - size_t s = this->server_.size (); - - if (this->server_.max_size () == s) - this->server_.max_size (2 * s); - - this->server_[s] = - CosTime::TimeService::_duplicate (server); - - this->server_.size (s + 1); -} diff --git a/TAO/orbsvcs/Time_Service/Clerk_i.h b/TAO/orbsvcs/Time_Service/Clerk_i.h deleted file mode 100644 index 8c826d4872c..00000000000 --- a/TAO/orbsvcs/Time_Service/Clerk_i.h +++ /dev/null @@ -1,144 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/Time_Service -// -// = FILENAME -// Clerk_i.h -// -// = AUTHOR -// Vishal Kachroo -// -// ============================================================================ - -#ifndef CLERK_I_H -#define CLERK_I_H - -#include "ace/Get_Opt.h" -#include "ace/Log_Msg.h" -#include "tao/TAO.h" -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/Naming/Naming_Utils.h" -#include "orbsvcs/Time/TAO_Time_Service_Clerk.h" - -class Clerk_i -{ - // = TITLE - // CORBA Time Clerk implementation. - // - // = DESCRIPTION - // A CORBA server that initializes the TimeService clerk - // implementation and the ORB. -public: - - enum { - // Pre-allocate slots for this many servers. The capacity grows on - // demand. - DEFAULT_SERVER_COUNT = 8 - }; - - // = Initialization and termination methods. - Clerk_i (void); - // Constructor. - - ~Clerk_i (void); - // Destructor. - - typedef ACE_Array_Base IORS; - // Set of available Time servers. - - int init (int argc, - char *argv[], - CORBA::Environment &env); - // Initialize the Clerk state - parsing arguments and waiting. - - int run (CORBA::Environment &env); - // Run the orb. - -private: - void insert_server (CosTime::TimeService_ptr server); - // Insert a server in the internal data structure (servers_). - -private: - - int read_ior (const char *filename); - // Read the server IORs from a file instead of using a naming - // service. - - int parse_args (void); - // Parses the commandline arguments. - - TAO_ORB_Manager orb_manager_; - // The ORB manager. - - FILE *ior_output_file_; - // File where the IOR of the Clerk object is stored. - - int init_naming_service (CORBA::Environment &env); - // Initialises the name server and registers the Clerk - // object with it. - - int create_clerk (void); - // Create an instance of the clerk to use. - - int register_clerk (void); - // Bind the clerk in the appropriate context in the Naming Service. - - int if_first_clerk (CosNaming::Name clerk_context_name); - // Check if this is the first clerk. - - int init_IR (void); - // Initialise the Interface Repository and register the clerk - // implementation with it. - - int get_first_IOR (void); - // Get the reference to the server naming context and the first - // server IOR. - - int next_n_IORs (CosNaming::BindingIterator_var iter, - CosNaming::NamingContext_var server_context); - // Iterate over the given server context to get the rest of the - // server IORs. - - TAO_Naming_Server my_name_server_; - // An instance of the name server used for registering the - // object. The same instance is used by the - // Clerk to periodically iterate through the Server Naming Context - // and get IORs of the available servers. - - TAO_Time_Service_Clerk *time_service_clerk_impl_; - // Implementation of the Clerk object. - - CosTime::TimeService_var time_service_clerk_; - // Reference of the time service clerk. - - CosNaming::NamingContext_var time_service_clerk_context_; - // Naming context for the Naming Service. - - CORBA::ORB_var orb_; - // My orb. - - int timer_value_ ; - // Clerk seeks time periodically after this interval from the - // servers in the network. - - // IR_Helper *ir_helper_; - // Helper class for using the IR. - - IORS server_; - // The unbounded set of server IORS. - - int ior_fp_; - // Read IORs from a file. - - int argc_; - // Number of command line arguments. - - char **argv_; - // The command line arguments. -}; - -#endif /* CLERK_I_H */ diff --git a/TAO/orbsvcs/Time_Service/Makefile b/TAO/orbsvcs/Time_Service/Makefile deleted file mode 100644 index cadedc7e8e8..00000000000 --- a/TAO/orbsvcs/Time_Service/Makefile +++ /dev/null @@ -1,1291 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -LDLIBS = -lorbsvcs -lTAO - -PROG_SRCS = \ - Time_Service_Server.cpp \ - Time_Service_Clerk.cpp \ - Clerk_i.cpp \ - Server_i.cpp - -SRC = $(PROG_SRCS) - -SIMPLE_SVR_OBJS = Server_i.o \ - Time_Service_Server.o \ - -SIMPLE_CRK_OBJS = Clerk_i.o \ - Time_Service_Clerk.o \ - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = Time_Service_Server \ - Time_Service_Clerk - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Time,$(findstring Time,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Time - -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/Naming_Service -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -Time_Service_Server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -Time_Service_Clerk: $(addprefix $(VDIR),$(SIMPLE_CRK_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Time_Service_Server.o .obj/Time_Service_Server.so .shobj/Time_Service_Server.o .shobj/Time_Service_Server.so: Time_Service_Server.cpp Server_i.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IR_Helper.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS.i -.obj/Time_Service_Clerk.o .obj/Time_Service_Clerk.so .shobj/Time_Service_Clerk.o .shobj/Time_Service_Clerk.so: Time_Service_Clerk.cpp Clerk_i.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time/Timer_Helper.h -.obj/Clerk_i.o .obj/Clerk_i.so .shobj/Clerk_i.o .shobj/Clerk_i.so: Clerk_i.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Read_Buffer.i \ - Clerk_i.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time/Timer_Helper.h -.obj/Server_i.o .obj/Server_i.so .shobj/Server_i.o .shobj/Server_i.so: Server_i.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - Server_i.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeServiceS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IR_Helper.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/ImplRepoS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/Time_Service/Makefile.am b/TAO/orbsvcs/Time_Service/Makefile.am deleted file mode 100644 index d675105e61e..00000000000 --- a/TAO/orbsvcs/Time_Service/Makefile.am +++ /dev/null @@ -1,47 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Time Service -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -bin_PROGRAMS = Time_Service_Server Time_Service_Clerk - -Time_Service_Server_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -Time_Service_Server_SOURCES = \ - IR_Helper.cpp \ - Server_i.cpp \ - Time_Service_Server.cpp - -Time_Service_Clerk_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -Time_Service_Clerk_SOURCES = \ - Clerk_i.cpp \ - Time_Service_Clerk.cpp - -noinst_HEADERS = \ - Clerk_i.h \ - IR_Helper.h \ - Server_i.h - -EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/Time_Service/README b/TAO/orbsvcs/Time_Service/README deleted file mode 100644 index 7bea0a6145a..00000000000 --- a/TAO/orbsvcs/Time_Service/README +++ /dev/null @@ -1,96 +0,0 @@ -$Id $ - -============================ TAO Time Service============================== - -This is a complete implementation of the CORBA time service spec. The -service offers a globally synchronized time to a requesting -client. The Time Service interface has been implemented as two servants: -the clerk and the server. Clients who wish to use the service talk to -clerks and the clerks in turn keep their time synchronized -globally. The clerks do this by talking to the servers running on -different machines. - -There needs to be atleast one time server running in the network. The Clerks -update their time periofically from the servers. The servers and clerks -export their IORs through the - * Naming Service. - * Files -The Servers can also be activated on demand by the Clerks if they have been -registered with an Implementation Repository. - -If Naming Service is being used the clerks and servers are registered in -different Naming Contexts as : - -For the clerks : ClerkContext->Clerk: -For the server : ServerContext->Server: - -The machine name is included to make the object name unique and distinguish -between the various servers and clerks. - -A sample run of the TimeService can be done as follows : - -* Using the Naming Service : - -1. Run TAO/orbsvcs/Time_Service/server on different machines. -2. Run TAO/orbsvcs/Time_Service/clerk -t 5 on some machines. -3. Run the TAO/orbsvcs/tests/Time/client on one of the machines where a clerk - is running. - -* Using Files : - -1. Run TAO/orbsvcs/Time_Service/server -o server_ior on different machines. -2. Run TAO/orbsvcs/Time_Service/clerk -t 5 -f server_ior -o clerk_ior on some - machines. -3. Run the TAO/orbsvcs/tests/Time/client -f clerk_ior on one of the machines - where a clerk is running. - -* Using the Implementation Repository : - -1. Run the Implementation Repository service as : - - TAO/orbsvcs/Time_Service> ../ImplRepo_Service/ImplRepo_Service -ORBsvcconf - implrepo.conf -ORBobjrefstyle url -d 1 - -2. Run the Server as - - TAO/orbsvcs/Time_Service> server -o server_ior -r -i - -3. Run the Clerk as - - TAO/orbsvcs/Time_Service> clerk -f server_ior -t 5 -o clerk_ior - -4. Run the client as - - TAO/orbsvcs/tests/Time/client -f clerk_ior - -Algorithms ----------- - -Currently, updating the system time involves taking the average of all -the times received from the servers. This can be extended by using a -more elaborate distributed time synchronization algorithm. - -Version Updates : (10th March, 1999) ------------------ - -The TAO Time Service has been updated to include the timezone information -in the Universal Time Object. This object now also has an inaccuracy estimate -in it. The inaccuracy is a measure of the skew in the synchronization of -the clerks time. It is the difference between the highest and the lowest times -from the servers that the clerk synchronizes its time with. The high-inaccuracy -and the low-inaccuracy fields are also being calculated from the inaccuracy as -follows : - - Inaccuracy 64-bits - |------------------------------------| - | | inacchi | inacclo | - |------------------------------------| - 16-bits 16-bits 32-bits - -Thanks to Brian Dance for reporting this. - -Future Versions of the service could include other measures of inaccuracy too, -say the one based on precision in the time reported by servers. In this case -the servers will have to supply an estimate of inaccuracy in their times. - - diff --git a/TAO/orbsvcs/Time_Service/Server_i.cpp b/TAO/orbsvcs/Time_Service/Server_i.cpp deleted file mode 100644 index 8a1f78f6fa4..00000000000 --- a/TAO/orbsvcs/Time_Service/Server_i.cpp +++ /dev/null @@ -1,427 +0,0 @@ -// $Id$ - -#include "ace/Get_Opt.h" -#include "Server_i.h" - -ACE_RCSID(Time_Service, Server_i, "$Id$") - -// Constructor. -Server_i::Server_i (void) - : ior_output_file_ (0), - use_ir_ (0) -{ - // no-op. -} - -// Destructor. - -Server_i::~Server_i (void) -{ - // no-op. -} - -// Parse the command-line arguments and set options. - -int -Server_i::parse_args (void) -{ - ACE_Get_Opt get_opts (this->argc_, this->argv_, "do:i"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; - break; - case 'o': // output the IOR to a file. - this->ior_output_file_ = - ACE_OS::fopen (get_opts.optarg, "a"); - - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "[SERVER] Process/Thread Id : (%P/%t)Unable to open %s for writing: %p\n", - get_opts.optarg), -1); - break; - case 'i': // Use the Implementation Repository. - this->use_ir_ = 1; - break; - case '?': // display help for use of the server. - default: - ACE_ERROR_RETURN ((LM_ERROR, - "[SERVER] Process/Thread Id : (%P/%t)" - "usage: %s" - " [-d]" - " [-o] " - " [-i] " - " [-r] " - "\n", - argv_ [0]), - 1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Initialise the Naming Service and register the TimeService Object -// with it. - -int -Server_i::init_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - // Initialize the POA. - this->orb_manager_.init_child_poa (this->argc_, - this->argv_, - "time_server", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POA_ptr child_poa - = this->orb_manager_.child_poa (); - - // Initialize the Naming Server. Note the Naming Server cannot - // be initialized with the Root POA because it has to be a - // persistent object reference. Hence the need for child - // POA. The servants need not be registered in the same POA. We - // use the Root POA for the servants. - - if (this->my_name_server_.init (this->orb_.in (), - child_poa) == -1) - return -1; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "(%P|%t) Exception from init_naming_service ()\n"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -// Initialize the Implementation Repository. - -int -Server_i::init_IR (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - if (this->use_ir_ == 1) - { - ACE_NEW_RETURN (this->ir_helper_, - IR_Helper ("time_server", - this->orb_manager_.child_poa (), - this->orb_manager_.orb (), - TAO_debug_level), - -1); - - this->ir_helper_->change_object (this->time_service_server_.in (), - ACE_TRY_ENV); - } - - ACE_TRY_CHECK; - - // Convert the IR server reference to a string. - CORBA::String_var objref_server = - this->orb_manager_.orb ()->object_to_string (this->time_service_server_.in (), - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - // Print the IR server IOR on the console. - ACE_DEBUG ((LM_DEBUG, - "[SERVER] Process/Thread : (%P/%t) The Time Service IREPO SERVER IOR is: <%s>\n", - objref_server.in ())); - - if (this->ior_output_file_) - { - // Write the IOR to the file. - ACE_OS::fprintf (this->ior_output_file_, - "%s\n", - objref_server.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception:"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -// Create a new time server object and register it with the child POA. -// Print the IOR of the registered server on the console and in a file. - -int -Server_i::create_server (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - - // Create a new server object. - ACE_NEW_RETURN (this->time_service_server_impl_, - TAO_Time_Service_Server(this->use_ir_), - 0); - - // Generate IOR of the and register with - // POA. - //this->time_service_server_ = - //time_service_server_impl_->_this (); - - // Register a servant with the child poa. - - CORBA::String_var server_str = - this->orb_manager_.activate_under_child_poa ("server", - this->time_service_server_impl_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::ObjectId_var id = - PortableServer::string_to_ObjectId ("server"); - - CORBA::Object_var server_ref = - this->orb_manager_.child_poa ()->id_to_reference (id.in (), - ACE_TRY_ENV); - - this->time_service_server_ = CosTime::TimeService::_narrow (server_ref.in (), - ACE_TRY_ENV); - - - ACE_TRY_CHECK; - - // All this !! just to register a servant with the child poa. - // Instead of using _this (). - - //Convert the server reference to a string. - - CORBA::String_var objref_server = - this->orb_->object_to_string (server_ref.in (), - ACE_TRY_ENV); - - // Print the server IOR on the console. - ACE_DEBUG ((LM_DEBUG, - "[SERVER] Process/Thread Id : (%P/%t) The Time Service " - "SERVER IOR without Implementation Repository is: <%s>\n", - objref_server.in ())); - - // Print the IOR to a file if we are not using the Implementation Repository. - // If we are using the implementation repository then the 'changed IOR' is - // written to a file inside the init_IR (). - - if ((this->ior_output_file_) && (this->use_ir_ == 0)) - { - // Write the IOR to the file. - ACE_OS::fprintf (this->ior_output_file_, - "%s\n", - objref_server.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Exception in Server_i::create_server ()"); - return -1; - } - ACE_ENDTRY; - return 0; -} - - -// This function checks if this is the first server being executed. If yes, -// the call to resolve raises an exception and 1 is returned. If there is -// no exception 0 is returned. - -int -Server_i::if_first_server (CosNaming::Name &server_context_name) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - this->my_name_server_->resolve - (server_context_name, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_UNUSED_ARG (userex); - return 1; - } - ACE_ENDTRY; - return 0; -} - -// Bind the Server in the context 'ServerContext' with the name -// 'Server:'. - -int -Server_i::register_server (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - CosNaming::Name server_context_name; - server_context_name.length (1); - server_context_name[0].id = CORBA::string_dup ("ServerContext"); - - CosNaming::NamingContext_var server_context; - - // If this is the first server then get a new Naming Context - // and bind it to the Naming Server. - - if (if_first_server (server_context_name)) - { - // Get context. - server_context = - this->my_name_server_->new_context (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Bind. - this->my_name_server_->rebind_context (server_context_name, - server_context.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - char host_name[MAXHOSTNAMELEN]; - char server_mc_name[MAXHOSTNAMELEN]; - ACE_OS::hostname (host_name,MAXHOSTNAMELEN); - - CosNaming::Name server_name (server_context_name); - - server_name.length (2); - strcpy (server_mc_name, "Server:"); - strcat (server_mc_name, host_name); - server_name[1].id = CORBA::string_dup (server_mc_name); - - // Bind the compound name (ServerContext(Server:)) - // to the Naming Server. - - this->my_name_server_->rebind (server_name, - this->time_service_server_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Binding ServerContext -> %s\n", - server_name[1].id.in ())); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "(%P|%t) Exception from init_naming_service ()\n"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - -// Initialize the server. If a filename is specified with the -f -// commandline option, the server writes its IOR to the file besides -// binding itself with the Naming Service. - -int -Server_i::init (int argc, - char *argv[], - CORBA::Environment &ACE_TRY_ENV) -{ - this->argc_ = argc; - this->argv_ = argv; - - ACE_TRY - { - - // Call the init of to initialize the ORB and - // create a child POA under the root POA. - - if (this->orb_manager_.init_child_poa (argc, - argv, - "time_server", - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "init_child_poa"), - -1); - ACE_TRY_CHECK; - - int result = this->parse_args (); - - if (result != 0) - return result; - - // Get the orb. - this->orb_ = this->orb_manager_.orb (); - - // Use the Naming Service Register the above implementation with the Naming Service. - if (this->use_ir_ == 0) - this->init_naming_service (ACE_TRY_ENV); - - ACE_TRY_CHECK; - - // Create the server object. - this->create_server (); - - // Initialize the IR. - if (this->use_ir_ == 1) - this->init_IR (); - - // Register the server object with the Naming Service. - if (this->use_ir_ == 0) - this->register_server (); - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception:"); - return -1; - } - ACE_ENDTRY; - - return 0; -} - - -// Initialize the IR Helper and run the event loop for ORB. - -int -Server_i::run (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - - if (this->use_ir_ == 1) - { - this->ir_helper_->notify_startup (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - if (this->orb_manager_.run (ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "[SERVER] Process/Thread Id : (%P/%t) Server_i::run"), - -1); - - if (this->use_ir_ == 1) - { - this->ir_helper_->notify_shutdown (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Exception:"); - return -1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/orbsvcs/Time_Service/Server_i.h b/TAO/orbsvcs/Time_Service/Server_i.h deleted file mode 100644 index aea7f41ce4c..00000000000 --- a/TAO/orbsvcs/Time_Service/Server_i.h +++ /dev/null @@ -1,109 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/Time_Service -// -// = FILENAME -// Server_i.h -// -// = AUTHOR -// Vishal Kachroo -// -// ============================================================================ - -#ifndef SERVER_I_H -#define SERVER_I_H - -#include "ace/Get_Opt.h" -#include "ace/Log_Msg.h" -#include "tao/TAO.h" -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/Naming/Naming_Utils.h" -#include "orbsvcs/Time/TAO_Time_Service_Server.h" -#include "orbsvcs/IR_Helper.h" - -class Server_i -{ - // = TITLE - // CORBA Server implementation. - // - // = DESCRIPTION - // A CORBA server that initializes the - // servant implementation and the ORB. -public: - // = Initialization and termination methods. - Server_i (void); - // Constructor. - - ~Server_i (void); - // Destructor. - - int init (int argc, - char *argv[], - CORBA::Environment &env); - // Initialize the Server state. - - int run (CORBA::Environment &env); - // Run the orb. - - int init_naming_service (CORBA::Environment &env); - // Initialises the name server. - - int create_server (void); - // Create the time server object. - - int register_server (void); - // Register the time server object with the Naming Service. - - int parse_args (void); - // Parse the commandline arguments. - - int if_first_server (CosNaming::Name &server_context_name); - // Check if this is the first server binding to the Naming - // Service. - - int init_IR (void); - // Initialize the Implementation Repository and register the - // server with it. - -private: - - CORBA::ORB_var orb_; - // My orb. - - TAO_ORB_Manager orb_manager_; - // The ORB manager. - - FILE *ior_output_file_; - // File where the IOR of the Clerk object is stored. - - TAO_Naming_Server my_name_server_; - // An instance of the name server used for registering the - // object. - - TAO_Time_Service_Server *time_service_server_impl_; - // Implementation of the Server object. - - CosTime::TimeService_var time_service_server_; - // Reference of the time server. - - CosNaming::NamingContext_var time_service_server_context_; - // Naming context for the Naming Service. - - IR_Helper *ir_helper_; - // The Implementation Repository Helper. - - int use_ir_; - // Use the Implementation Repository. - - int argc_; - // Number of command line arguments. - - char **argv_; - // The command line arguments. -}; - -#endif /* SERVER_I_H */ diff --git a/TAO/orbsvcs/Time_Service/Time_Service.dsw b/TAO/orbsvcs/Time_Service/Time_Service.dsw deleted file mode 100644 index dc281b16235..00000000000 --- a/TAO/orbsvcs/Time_Service/Time_Service.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Time_Service_Clerk"=.\Time_Service_Clerk.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Time_Service_Server"=.\Time_Service_Server.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/Time_Service/Time_Service_Clerk.cpp b/TAO/orbsvcs/Time_Service/Time_Service_Clerk.cpp deleted file mode 100644 index 2981d3cf77f..00000000000 --- a/TAO/orbsvcs/Time_Service/Time_Service_Clerk.cpp +++ /dev/null @@ -1,43 +0,0 @@ -// $Id$ - -#include "Clerk_i.h" - -ACE_RCSID(TimeService, Time_Service_Clerk, "$Id$") - -// This is the main driver program for the Time Service clerk. - -int -main (int argc, char *argv[]) -{ - Clerk_i clerk; - - ACE_DEBUG ((LM_DEBUG, - "[SERVER] Process/Thread Id : (%P/%t) Time Service clerk\n")); - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - int r = clerk.init (argc, argv, ACE_TRY_ENV); - ACE_TRY_CHECK; - if (r == -1) - return 1; - else - { - clerk.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/orbsvcs/Time_Service/Time_Service_Clerk.dsp b/TAO/orbsvcs/Time_Service/Time_Service_Clerk.dsp deleted file mode 100644 index 2f99b60f71d..00000000000 --- a/TAO/orbsvcs/Time_Service/Time_Service_Clerk.dsp +++ /dev/null @@ -1,111 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Time_Service_Clerk" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Time_Service_Clerk - 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 "Time_Service_Clerk.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 "Time_Service_Clerk.mak"\ - CFG="Time_Service_Clerk - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Time_Service_Clerk - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Time_Service_Clerk - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Time_Service_Clerk - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\\" /I "..\..\\" /I "..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\tao" /libpath:"..\orbsvcs" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "Time_Service_Clerk - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Time_Ser" -# PROP BASE Intermediate_Dir "Time_Ser" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\\" /I "..\..\\" /I "..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib taod.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\orbsvcs" /libpath:"..\..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "Time_Service_Clerk - Win32 Release" -# Name "Time_Service_Clerk - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp" -# Begin Source File - -SOURCE=.\Clerk_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Time_Service_Clerk.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h" -# Begin Source File - -SOURCE=.\Clerk_i.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/Time_Service/Time_Service_Server.cpp b/TAO/orbsvcs/Time_Service/Time_Service_Server.cpp deleted file mode 100644 index aa52590160f..00000000000 --- a/TAO/orbsvcs/Time_Service/Time_Service_Server.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// $Id$ - -#include "Server_i.h" - -ACE_RCSID(TimeService, Time_Service_Server, "$Id$") - -// This is the main driver program for the Time Service server. - -int -main (int argc, char *argv[]) -{ - Server_i server; - - ACE_DEBUG ((LM_DEBUG, - "[SERVER] Process/Thread Id : (%P/%t) Time Service server\n")); - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - int r = server.init (argc, argv, ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (r == -1) - return 1; - else - { - server.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CORBA::SystemException, sysex) - { - ACE_PRINT_EXCEPTION (sysex, "System Exception"); - return -1; - } - ACE_CATCH (CORBA::UserException, userex) - { - ACE_PRINT_EXCEPTION (userex, "User Exception"); - return -1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/orbsvcs/Time_Service/Time_Service_Server.dsp b/TAO/orbsvcs/Time_Service/Time_Service_Server.dsp deleted file mode 100644 index 77e3086f495..00000000000 --- a/TAO/orbsvcs/Time_Service/Time_Service_Server.dsp +++ /dev/null @@ -1,108 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Time_Service_Server" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Time_Service_Server - 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 "Time_Service_Server.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 "Time_Service_Server.mak"\ - CFG="Time_Service_Server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Time_Service_Server - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Time_Service_Server - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Time_Service_Server - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\\" /I "..\..\\" /I "..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\tao" /libpath:"..\orbsvcs" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "Time_Service_Server - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Time_Ser" -# PROP BASE Intermediate_Dir "Time_Ser" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\\" /I "..\..\\" /I "..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 aced.lib taod.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\orbsvcs" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Time_Service_Server - Win32 Release" -# Name "Time_Service_Server - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp" -# Begin Source File - -SOURCE=.\Server_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\Time_Service_Server.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h" -# Begin Source File - -SOURCE=.\Server_i.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/Trading_Service/Makefile b/TAO/orbsvcs/Trading_Service/Makefile deleted file mode 100644 index 73dc532d84f..00000000000 --- a/TAO/orbsvcs/Trading_Service/Makefile +++ /dev/null @@ -1,353 +0,0 @@ -#-------------------------------------------------------------------------- -# $Id$ -# Build the TAO Trading Service -#-------------------------------------------------------------------------- -#-------------------------------------------------------------------------- -# Local macros -#-------------------------------------------------------------------------- - -LDLIBS = -lorbsvcs -lTAO - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -SRC = $(addsuffix .cpp, $(BIN)) - -BIN2 = Trading_Service - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Trader,$(findstring Trader,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Trader - -#-------------------------------------------------------------------------- -# Include macros and targets -#-------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -#TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) $(TSS_ORB_FLAG) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Trading_Service.o .obj/Trading_Service.so .shobj/Trading_Service.o .shobj/Trading_Service.so: Trading_Service.cpp \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Arg_Shifter.h \ - Trading_Service.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(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/PolicyC.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(TAO_ROOT)/tao/Services.h \ - $(TAO_ROOT)/tao/Services.i \ - $(TAO_ROOT)/tao/IORManipulation.h \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.i \ - $(TAO_ROOT)/tao/ORB.i \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(TAO_ROOT)/tao/corba.h \ - $(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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Trader/Trader.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingReposS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTradingDynamicS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Trader/Service_Type_Repository.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/Trading_Service/Makefile.am b/TAO/orbsvcs/Trading_Service/Makefile.am deleted file mode 100644 index 859084b3f0b..00000000000 --- a/TAO/orbsvcs/Trading_Service/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Trading Service -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -bin_PROGRAMS = Trading_Service - -Trading_Service_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -Trading_Service_SOURCES = \ - Trading_Service.cpp - -noinst_HEADERS = \ - Trading_Service.h - -EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/Trading_Service/Makefile.bor b/TAO/orbsvcs/Trading_Service/Makefile.bor deleted file mode 100644 index 46ba64f7096..00000000000 --- a/TAO/orbsvcs/Trading_Service/Makefile.bor +++ /dev/null @@ -1,16 +0,0 @@ -# -# Makefile for building the Trading Service executable -# - -NAME = Trading_Service - -OBJFILES = \ - $(OBJDIR)\Trading_Service.obj - -CFLAGS = $(ACE_CFLAGS) $(TAO_CFLAGS) $(ORBSVCS_CFLAGS) - -LIBFILES = $(ACE_LIB) $(TAO_LIB) $(ORBSVCS_LIB) - -CPPDIR = . - -!include <$(ACE_ROOT)\include\makeinclude\build_core_exe.bor> diff --git a/TAO/orbsvcs/Trading_Service/README b/TAO/orbsvcs/Trading_Service/README deleted file mode 100644 index 4aec9cb0b2f..00000000000 --- a/TAO/orbsvcs/Trading_Service/README +++ /dev/null @@ -1,10 +0,0 @@ -$Id$ - -The TAO Trading Service - -Thank you for your interest in the TAO trading service. Documentation -on using the Trading Service and its tests can be found in: - - $TAO_ROOT/docs/releasenotes/trader.html - -Enjoy! \ No newline at end of file diff --git a/TAO/orbsvcs/Trading_Service/Trading_Service.cpp b/TAO/orbsvcs/Trading_Service/Trading_Service.cpp deleted file mode 100644 index 2baf5dda8b4..00000000000 --- a/TAO/orbsvcs/Trading_Service/Trading_Service.cpp +++ /dev/null @@ -1,406 +0,0 @@ -// $Id$ - -#include "ace/OS.h" -#include "ace/Arg_Shifter.h" -#include "Trading_Service.h" - -ACE_RCSID(Trading_Service, Trading_Service, "$Id$") - -Trading_Shutdown::Trading_Shutdown (Trading_Service& trader) - : trader_ (trader) -{ - if (this->shutdown_.register_handler (SIGINT, this) == -1) - { - ACE_ERROR ((LM_ERROR, "%p\n", "register_handler")); - } - - if (this->shutdown_.register_handler (SIGTERM, this) == -1) - { - ACE_ERROR ((LM_ERROR, "%p\n", "register_handler")); - } -} - -int -Trading_Shutdown::handle_signal (int signum, siginfo_t* sinfo, ucontext_t* ucon) -{ - ACE_UNUSED_ARG (signum); - ACE_UNUSED_ARG (sinfo); - ACE_UNUSED_ARG (ucon); - this->trader_.~Trading_Service (); - exit (0); - return 0; -} - -Trading_Service::Trading_Service (void) - : federate_ (0), - ior_output_file_ (0), - bootstrapper_ (0) -{ - char* trader_name = - CORBA::string_alloc (MAXHOSTNAMELEN + 10); - - if (trader_name != 0) - { - // The trader name is the concatenation of the local host name - // and the server's process id. - char host_name[MAXHOSTNAMELEN]; - ACE_INET_Addr localhost ((u_short) 0); - localhost.get_host_name (host_name, MAXHOSTNAMELEN); - ACE_OS::sprintf (trader_name, "%s_%d", host_name, ACE_OS::getpid ()); - - char* dot = 0; - while ((dot = ACE_OS::strchr (trader_name, '.')) != 0) - *dot = '_'; - - ACE_DEBUG ((LM_DEBUG, "*** Trading Service %s initializing.\n", trader_name)); - - this->name_ = trader_name; - } -} - -Trading_Service::~Trading_Service (void) -{ - this->shutdown (); -} - -int -Trading_Service::init (int argc, char* argv[], CORBA::Environment &ACE_TRY_ENV) -{ - this->orb_manager_.init (argc, argv, ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - if (this->parse_args (argc, argv) == -1) - return -1; - - CORBA::ORB_ptr orb = this->orb_manager_.orb (); - - this->orb_manager_.activate_poa_manager (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - // Create a Trader Object and set its Service Type Repository. - auto_ptr auto_trader (TAO_Trader_Factory::create_trader (argc, argv)); - this->trader_ = auto_trader; - TAO_Support_Attributes_i& sup_attr = this->trader_->support_attributes (); - TAO_Trading_Components_i& trd_comp = this->trader_->trading_components (); - sup_attr.type_repos (this->type_repos_._this (ACE_TRY_ENV)); - ACE_CHECK_RETURN (-1); - - // The Spec says: return a reference to the Lookup interface - // from the resolve_initial_references method. - CosTrading::Lookup_ptr lookup = trd_comp.lookup_if (); - this->ior_ = orb->object_to_string (lookup, ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - // Dump the ior to a file. - if (this->ior_output_file_ != 0) - { - ACE_OS::fprintf (this->ior_output_file_, "%s", this->ior_.in ()); - ACE_OS::fclose (this->ior_output_file_); - } - - if (this->federate_) - { - // Only become a multicast server if we're the only trader - // on the multicast network. - // @@ Could do other things. For example, every timeout - // period try to federate again, but let's not hardcode that - // policy. - if (this->bootstrap_to_federation (ACE_TRY_ENV) == -1) - this->init_multicast_server (); - } - else - this->init_multicast_server (); - return 0; -} - - -int -Trading_Service::run (CORBA::Environment &ACE_TRY_ENV) -{ - int return_value; - Trading_Shutdown trading_shutdown (*this); - - // Run the Trading Service. - return_value = this->orb_manager_.run (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - return return_value; -} - -int -Trading_Service::init_multicast_server (void) -{ -#if defined ACE_HAS_IP_MULTICAST - // Get reactor instance from TAO. - ACE_Reactor *reactor = TAO_ORB_Core_instance ()->reactor (); - - // First, see if the user has given us a multicast port number - // for the name service on the command-line; - u_short port = - TAO_ORB_Core_instance ()->orb_params ()->trading_service_port (); - - if (port == 0) - { - const char *port_number = - ACE_OS::getenv ("TradingServicePort"); - - if (port_number != 0) - port = ACE_OS::atoi (port_number); - else - port = TAO_DEFAULT_TRADING_SERVER_REQUEST_PORT; - } - - // Instantiate a server that will receive requests for an ior - if (this->ior_multicast_.init ((char *) this->ior_.in (), - port, - ACE_DEFAULT_MULTICAST_ADDR, - TAO_SERVICEID_TRADINGSERVICE) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, "Failed to init IOR multicast.\n"), -1); - } - - // Register event handler for the ior multicast. - if (reactor->register_handler (&this->ior_multicast_, - ACE_Event_Handler::READ_MASK) == -1) - ACE_DEBUG ((LM_DEBUG, - "cannot register Event handler\n")); - else - ACE_DEBUG ((LM_DEBUG, - "The multicast server setup is done.\n")); - - // Other trader instances will bootstrap to us. - this->bootstrapper_ = 1; - -#endif /* ACE_HAS_IP_MULTICAST */ - return 0; -} - -int -Trading_Service::bootstrap_to_federation (CORBA::Environment &ACE_TRY_ENV) -{ - // If all traders follow this strategy, it creates a complete graph - // of all known traders on a multicast network. - CORBA::ORB_var orb = this->orb_manager_.orb (); - - ACE_DEBUG ((LM_DEBUG, "*** Bootstrapping to another Trading Service.\n")); - CORBA::Object_var trading_obj = - orb->resolve_initial_references ("TradingService"); - - if (CORBA::is_nil (trading_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - "We're all alone. " - "Unable to link to other traders.\n"), - -1); - - ACE_DEBUG ((LM_DEBUG, "*** Narrowing the lookup interface.\n")); - CosTrading::Lookup_var lookup_if = - CosTrading::Lookup::_narrow (trading_obj.in (), ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - ACE_DEBUG ((LM_DEBUG, "*** Obtaining the link interface.\n")); - CosTrading::Link_var link_if = lookup_if->link_if (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - TAO_Trading_Components_i& trd_comp = - this->trader_->trading_components (); - CosTrading::Lookup_ptr our_lookup = trd_comp.lookup_if (); - CosTrading::Link_ptr our_link = trd_comp.link_if (); - - ACE_DEBUG ((LM_DEBUG, "*** Linking found trader to self.\n")); - link_if->add_link (this->name_.in (), - our_lookup, - CosTrading::always, - CosTrading::always, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - ACE_DEBUG ((LM_DEBUG, "*** Linking self to found trader.\n")); - our_link->add_link ("Bootstrap", - lookup_if.in (), - CosTrading::always, - CosTrading::always, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - ACE_DEBUG ((LM_DEBUG, "*** Retrieving list of known linked traders.\n")); - CosTrading::LinkNameSeq_var link_name_seq = - link_if->list_links (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - ACE_DEBUG ((LM_DEBUG, "*** Linking self to all linked traders.\n")); - for (int i = link_name_seq->length () - 1; i >= 0; i--) - { - // Avoid linking to ourselves. - if (ACE_OS::strcmp (ACE_static_cast (const char*, link_name_seq[i]), - this->name_.in ()) != 0) - { - ACE_DEBUG ((LM_DEBUG, "*** Getting info for link %s.\n", - ACE_static_cast (const char*, link_name_seq[i]))); - CosTrading::Link::LinkInfo_var link_info = - link_if->describe_link (link_name_seq[i], ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - CosTrading::Lookup_ptr remote_lookup; - remote_lookup = link_info->target.in (); - - ACE_DEBUG ((LM_DEBUG, "*** Retrieving its link interface.\n")); - CosTrading::Link_var remote_link = - remote_lookup->link_if (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - ACE_DEBUG ((LM_DEBUG, "*** Creating a link to me from it.\n")); - remote_link->add_link (this->name_.in (), - our_lookup, - CosTrading::always, - CosTrading::always, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - ACE_DEBUG ((LM_DEBUG, "*** Creating a link to it from me.\n")); - our_link->add_link (link_name_seq[i], - remote_lookup, - CosTrading::always, - CosTrading::always, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - } - } - - return 0; -} - -int -Trading_Service::shutdown (void) -{ - ACE_TRY_NEW_ENV - { - if (this->trader_.get () != 0) - { - TAO_Trading_Components_i& trd_comp - = this->trader_->trading_components (); - CosTrading::Link_ptr our_link = trd_comp.link_if (); - - CosTrading::LinkNameSeq_var link_name_seq = - our_link->list_links (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "*** Unlinking from federated traders.\n")); - for (int i = link_name_seq->length () - 1; i >= 0; i--) - { - ACE_DEBUG ((LM_DEBUG, "*** Describing the next link.\n")); - CosTrading::Link::LinkInfo_var link_info = - our_link->describe_link (link_name_seq[i], ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "*** Removing link to %s.\n", - ACE_static_cast (const char*, link_name_seq[i]))); - our_link->remove_link (link_name_seq[i], ACE_TRY_ENV); - ACE_TRY_CHECK; - - CosTrading::Lookup_ptr remote_lookup; - remote_lookup = link_info->target.in (); - - ACE_DEBUG ((LM_DEBUG, "*** Retrieving its link interface.\n")); - CosTrading::Link_var remote_link = - remote_lookup->link_if (ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "*** Removing its link to us.\n")); - - if (this->bootstrapper_) - remote_link->remove_link ("Bootstrap", ACE_TRY_ENV); - else - remote_link->remove_link (this->name_.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - } - } - } - ACE_CATCHANY - { - // ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Trading Service shutting down"); - } - ACE_ENDTRY; - - return 0; -} - -int -Trading_Service::parse_args (int& argc, char *argv[]) -{ - ACE_Arg_Shifter arg_shifter (argc, argv); - - while (arg_shifter.is_anything_left ()) - { - char *current_arg = arg_shifter.get_current (); - - if (ACE_OS::strcmp (current_arg, "-TSfederate") == 0) - { - arg_shifter.consume_arg (); - this->federate_ = 1; - } - if (ACE_OS::strcmp (current_arg, "-TSdumpior") == 0) - { - arg_shifter.consume_arg (); - if (arg_shifter.is_parameter_next ()) - { - - char* file_name = arg_shifter.get_current (); - this->ior_output_file_ = ACE_OS::fopen (file_name, "w"); - - if (this->ior_output_file_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to open %s for writing: %p\n", - file_name), -1); - - arg_shifter.consume_arg (); - } - else - this->ior_output_file_ = ACE_OS::fdopen (ACE_STDOUT, "w"); - } - - else - arg_shifter.ignore_arg (); - } - - return 0; -} - -int -main (int argc, char** argv) -{ - Trading_Service trader; - - ACE_TRY_NEW_ENV - { - int check = trader.init (argc, argv, ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (check != -1) - { - trader.run (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "Failed to initialize the trader.\n"), - -1); - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Trading Service"); - } - ACE_ENDTRY; - return 0; -} - - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class auto_ptr; -template class ACE_Auto_Basic_Ptr; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate auto_ptr -#pragma instantiate ACE_Auto_Basic_Ptr -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/Trading_Service/Trading_Service.dsp b/TAO/orbsvcs/Trading_Service/Trading_Service.dsp deleted file mode 100644 index a259dcba30c..00000000000 --- a/TAO/orbsvcs/Trading_Service/Trading_Service.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Trading_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Trading_Service - 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 "Trading_Service.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 "Trading_Service.mak" CFG="Trading_Service - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Trading_Service - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "Trading_Service - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "Trading_Service - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\.." /I "..\..\.." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /D "TAO_HAS_OBJECT_IN_STRUCT_MARSHAL_BUG" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ELSEIF "$(CFG)" == "Trading_Service - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /I "..\.." /I "..\..\.." /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c -# SUBTRACT CPP /YX -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 TAOd.lib orbsvcsd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Trading_Service - Win32 Release" -# Name "Trading_Service - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Trading_Service.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Trading_Service.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/Trading_Service/Trading_Service.dsw b/TAO/orbsvcs/Trading_Service/Trading_Service.dsw deleted file mode 100644 index b12f1c02b68..00000000000 --- a/TAO/orbsvcs/Trading_Service/Trading_Service.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Trading_Service"=.\Trading_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/Trading_Service/Trading_Service.h b/TAO/orbsvcs/Trading_Service/Trading_Service.h deleted file mode 100644 index d11c6a2a54a..00000000000 --- a/TAO/orbsvcs/Trading_Service/Trading_Service.h +++ /dev/null @@ -1,110 +0,0 @@ -// $Id$ - -// ======================================================================== -// -// = BINARY -// trader -// -// = FILENAME -// Trading_Service.h -// -// = AUTHOR -// Seth Widoff -// -// ======================================================================= - -#ifndef _TRADING_SERVICE_H -#define _TRADING_SERVICE_H - -#include "tao/TAO.h" -#include "ace/Auto_Ptr.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "orbsvcs/IOR_Multicast.h" -#include "orbsvcs/Trader/Trader.h" -#include "orbsvcs/Trader/Service_Type_Repository.h" - -class Trading_Service; - -class Trading_Shutdown : public ACE_Event_Handler -{ -public: - - Trading_Shutdown (Trading_Service& trader); - - virtual int handle_signal (int, siginfo_t*, ucontext_t*); - -private: - - Trading_Service& trader_; - ACE_Sig_Handler shutdown_; -}; - - -class Trading_Service -// = TITLE -// A class that initializes a Trading Service instance. -{ -public: - - Trading_Service (void); - // Default constructor. - - ~Trading_Service (void); - // Destructor - - int init (int argc, char* argv[], CORBA::Environment &ACE_TRY_ENV); - // Initialize the Trading Service with arguments. - - int run (CORBA::Environment &ACE_TRY_ENV); - // Run the Trading Service. - - int shutdown (void); - -private: - - int init_multicast_server (void); - // Enable the Trading Service to answer multicast requests for its IOR. - - int bootstrap_to_federation (CORBA::Environment &ACE_TRY_ENV); - // Bootstrap to another trader, and attach to its trader network. - - int parse_args (int& argc, char *argv[]); - // parses the arguments. - - TAO_ORB_Manager orb_manager_; - // The ORB manager. - - TAO_Service_Type_Repository type_repos_; - // Service Type Repository used by the trading service. - - auto_ptr trader_; - // Pointer to the linked trader. - - CORBA::String_var name_; - // Name of this trading service: "hostname:pid". - - CORBA::String_var ior_; - // IOR of the trader kept around for handiness purposes. - - CORBA::Boolean federate_; - // Flag indicating whether this trader should join the federation. - - FILE *ior_output_file_; - // File to output the Naming Service IOR. - - CORBA::Boolean dumpior_; - // Flag indicating whether to dump the ior to standard output. - - CORBA::Boolean bootstrapper_; - // Flag inidicating whether we're the trader others are bootstrapping to. - - TAO_IOR_Multicast ior_multicast_; - // Event handler that responds to resolve_initial_references requests. -}; - - -#endif /* _TRADING_SERVICE_H */ diff --git a/TAO/orbsvcs/default.bld b/TAO/orbsvcs/default.bld deleted file mode 100755 index 505c317883c..00000000000 --- a/TAO/orbsvcs/default.bld +++ /dev/null @@ -1,44 +0,0 @@ -#!build -default: - nobuild - :cx_template_option=noautomatic - :optimize=standard - :optimize=memory - :optimize=loop - :dependency=nodepend - :debuglevel=multi - :cx_template=never - :object_dir=./obj - :sourcedirs=.. - :sourcedirs=../.. - :sourcedirs=/home/ace/ACE_wrappers.latest - :libdirs=../tao - :libdirs=/home/ace/ACE_wrappers.latest/ace - :libraries=tao.a - :libraries=libACE.a - :libraries=/appl/newgreen/vxppc603/ghsbltin.o - :defines=TAO_PLATFORM_SVC_CONF_FILE_NOTSUP - :defines=DEBUG -orbsvcs/orbsvcs.bld - library - :dependency=nodepend -Naming_Service/Naming_Service.bld - program - :dependency=nodepend - :outputname=NamingService - :libdirs=../orbsvcs - :libraries=orbsvcs.a -Event_Service/Event_Service.bld - program - :dependency=nodepend - :libdirs=../orbsvcs - :libraries=orbsvcs.a -Dump_Schedule/Dump_Schedule.bld - program - :dependency=nodepend - :libdirs=../orbsvcs -Scheduling_Service/Scheduling_Service.bld - program - :dependency=nodepend - :libdirs=../orbsvcs - :libraries=orbsvcs.a diff --git a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl deleted file mode 100644 index 0fc19f99056..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl +++ /dev/null @@ -1,81 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// CosEventChannelFactory.idl -// -// = AUTHOR -// Pradeep Gore -// -// ============================================================================ - -#ifndef TAO_COSEVENTCHANNELFACTORY_IDL -#define TAO_COSEVENTCHANNELFACTORY_IDL - -#include "orbsvcs/CosEventChannelAdmin.idl" - -module CosEventChannelFactory -{ - // = TITLE - // Module that describes the Channel Factory. - // - exception DuplicateChannel - { - // = TITLE - // This exception is raised to indicate that a specified - // channel already exists. - }; - - exception NoSuchChannel - { - // = TITLE - // This exception is raised to indicate that a specified - // channel does not exist. - }; - - exception BindFailed - { - // = TITLE - // This exception is raised to indicate that the EventChannel - // could not be registered with the naming service. - }; - - interface ChannelFactory - { - // = TITLE - // Interface definition of the ChannelFactory. - // - // = DESCRIPTION - // The ChannelFactory is used to create,destroy and - // locate CosEventChannels. - - CosEventChannelAdmin::EventChannel create ( - in string channel_id, - in boolean store_in_naming_service) raises (DuplicateChannel); - // Creates a CosEventChannel given a channel id. - // The DuplicateChannel exception is raised if the channel - // already exists. - - void destroy ( - in string channel_id, - in boolean unbind_from_naming_service) raises (NoSuchChannel); - // Destroys the channel specified by the channel id. - // If the channel does not exist then the NoSuchChannel exception - // is raised. - - CosEventChannelAdmin::EventChannel find ( - in string channel_id) raises (NoSuchChannel); - // Finds an EventChannel given the channel id. - // If the channel does not exist then the NoSuchChannel exception - // is raised. - - string find_channel_id ( - in CosEventChannelAdmin::EventChannel channel) raises (NoSuchChannel); - // Returns a channel id given a reference to it. - // If the channel does not exist then the NoSuchChannel exception - // is raised. - }; -}; - -#endif /* TAO_COSEVENTCHANNELFACTORY_IDL */ diff --git a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp deleted file mode 100644 index f01f4f49b99..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp +++ /dev/null @@ -1,363 +0,0 @@ -// -*- C++ -*- -// $Id$ - -#include "CosEventChannelFactory_i.h" -#include "orbsvcs/CosEvent_Utilities.h" -#include "ace/Auto_Ptr.h" -#include "tao/POA.h" - -TAO_CosEventChannelFactory_i::TAO_CosEventChannelFactory_i (void) - :poa_ (PortableServer::POA::_nil ()), - naming_ (CosNaming::NamingContext::_nil ()) -{ - // No-Op. -} - -TAO_CosEventChannelFactory_i::~TAO_CosEventChannelFactory_i (void) -{ -#if 0 - ACE_DEBUG ((LM_DEBUG, - "in TAO_CosEventChannelFactory_i dtor")); -#endif - // No-Op. -} - -int -TAO_CosEventChannelFactory_i::init (PortableServer::POA_ptr poa, - const char* child_poa_name, - CosNaming::NamingContext_ptr naming, - CORBA::Environment &ACE_TRY_ENV) -{ - // Check if we have a parent poa. - if (CORBA::is_nil (poa)) - return -1; - - this->naming_ = CosNaming::NamingContext::_duplicate (naming); - // Save the naming context. - - // Create a UNIQUE_ID and USER_ID policy because we want the POA - // to detect duplicates for us. - PortableServer::IdUniquenessPolicy_var idpolicy = - poa->create_id_uniqueness_policy (PortableServer::UNIQUE_ID, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - PortableServer::IdAssignmentPolicy_var assignpolicy = - poa->create_id_assignment_policy (PortableServer::USER_ID, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - // Create a PolicyList - CORBA::PolicyList policy_list; - policy_list.length (2); - policy_list [0] = - PortableServer::IdUniquenessPolicy::_duplicate (idpolicy.in ()); - policy_list [1] = - PortableServer::IdAssignmentPolicy::_duplicate (assignpolicy.in ()); - - // Create the child POA. - this->poa_ = poa->create_POA (child_poa_name, - PortableServer::POAManager::_nil (), - policy_list, - ACE_TRY_ENV); - - ACE_CHECK_RETURN (-1); - - idpolicy->destroy (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - assignpolicy->destroy (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - //this->poa_ = PortableServer::POA::_duplicate (poa); - // uncomment this if we want to use the parent poa for some reason. - return 0; -} - -CosEventChannelAdmin::EventChannel_ptr -TAO_CosEventChannelFactory_i::create (const char * channel_id, - CORBA::Boolean store_in_naming_service, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC (( - CORBA::SystemException, - CosEventChannelFactory::DuplicateChannel - )) -{ - ACE_ASSERT (!CORBA::is_nil (this->poa_.in ())); - - CosEventChannelAdmin::EventChannel_ptr const ec_nil = - CosEventChannelAdmin::EventChannel::_nil (); - - ACE_TRY - { - PortableServer::ObjectId_var oid = - TAO_POA::string_to_ObjectId (channel_id); - - CosEC_ServantBase *_ec = 0; - - ACE_NEW_THROW_EX (_ec, - CosEC_ServantBase (), - CORBA::NO_MEMORY ()); - ACE_TRY_CHECK; - - auto_ptr ec (_ec); - // @@ Pradeep: could we pass the POA used to activate the - // EC-generated objects as an argument? The point is that - // the user must be aware that we require a POA with the - // SYSTEM_ID policy.... This is not urgent, but a "wishlist" - - // @@ Carlos: I'am passing the POA to activate the - // generated objects as an argument in . - // Do you want the FactoryCosEventChannel_i constructor - // to take that? - - // let all those contained in FactoryEC use the default POA. - // We only need the FactoryEC's to be unique! - PortableServer::POA_ptr defPOA = this->_default_POA (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // @@ Pradeep: I hate to bring this up, but what happens if the - // init() method raises ServantAlreadyActive or something - // similar? Do we want to convert that into - // DuplicateChannel? IMHO you should be more careful about - // the exception translation. - - // @@ Carlos: ServantAlreadyActive and ObjectAlreadyActive - // mean that duplicates were detected, so i thought that - // it made sense to translate them to DuplicateChannel. - - // @@ Pradeep: right, but you want to report those only if they - // are raised during the activation of the EC, the problem is - // that you are raising the same error if the EC makes a - // mistake and activates the same object twice. - - ec->init (this->poa_.in(), - defPOA, - 0,0,0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - int retval = ec->activate (channel_id, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (retval == -1) - ACE_THROW_RETURN (CosEventChannelFactory::DuplicateChannel (), - ec_nil); - - ec.release (); // release the ownership from the auto_ptr. - - CORBA::Object_var obj = - this->poa_->servant_to_reference (_ec, ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (store_in_naming_service && - !CORBA::is_nil (this->naming_.in ())) - { - CosNaming::Name name (1); - name.length (1); - name[0].id = CORBA::string_dup (channel_id); - - this->naming_->rebind (name, - obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - return CosEventChannelAdmin::EventChannel::_narrow (obj.in ()); - } - ACE_CATCH (PortableServer::POA::ServantAlreadyActive, sa_ex) - { - ACE_THROW_RETURN (CosEventChannelFactory::DuplicateChannel (), - ec_nil); - } - ACE_CATCH (PortableServer::POA::ObjectAlreadyActive, oaa_ex) - { - ACE_THROW_RETURN (CosEventChannelFactory::DuplicateChannel (), - ec_nil); - } - ACE_CATCH (PortableServer::POA::WrongPolicy, wp_ex) - { - ACE_THROW_RETURN (CORBA::UNKNOWN (), - ec_nil); - } - ACE_CATCH (PortableServer::POA::ObjectNotActive, ona_ex) - { - ACE_THROW_RETURN (CosEventChannelFactory::BindFailed (), - ec_nil); - } - ACE_CATCH (CosNaming::NamingContext::NotFound, nf_ex) - { - ACE_THROW_RETURN (CosEventChannelFactory::BindFailed (), - ec_nil); - } - ACE_CATCH (CosNaming::NamingContext::CannotProceed, cp_ex) - { - ACE_THROW_RETURN (CosEventChannelFactory::BindFailed (), - ec_nil); - } - ACE_CATCH (CosNaming::NamingContext::InvalidName, in_ex) - { - ACE_THROW_RETURN (CosEventChannelFactory::BindFailed (), - ec_nil); - } - ACE_CATCH (CosNaming::NamingContext::AlreadyBound, ab) - { - ACE_THROW_RETURN (CosEventChannelFactory::BindFailed (), - ec_nil); - } - ACE_ENDTRY; - ACE_CHECK_RETURN (ec_nil); - - ACE_NOTREACHED (return ec_nil); -} - -void -TAO_CosEventChannelFactory_i::destroy -( - const char * channel_id, - CORBA::Boolean unbind_from_naming_service, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - CosEventChannelFactory::NoSuchChannel - )) -{ - ACE_ASSERT (!CORBA::is_nil (this->poa_.in ())); - - ACE_TRY - { - // Get hold of the objectid first. - PortableServer::ObjectId_var oid = - TAO_POA::string_to_ObjectId (channel_id); - - CORBA::Object_var obj = - this->poa_->id_to_reference (oid.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CosEventChannelAdmin::EventChannel_var fact_ec = - CosEventChannelAdmin::EventChannel::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - fact_ec->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Remove from the naming service. - if (unbind_from_naming_service && - !CORBA::is_nil (this->naming_.in ())) - { - CosNaming::Name name (1); - name.length (1); - name[0].id = CORBA::string_dup (channel_id); - - this->naming_->unbind (name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCH (CosNaming::NamingContext::NotFound, nf_ex) - { - return; // don't bother the user with exceptions if unbind fails. - } - ACE_CATCH (CosNaming::NamingContext::CannotProceed, cp_ex) - { - return; // don't bother the user with exceptions if unbind fails. - } - ACE_CATCH (CosNaming::NamingContext::InvalidName, in_ex) - { - return; // don't bother the user with exceptions if unbind fails. - } - ACE_CATCH (CORBA::UserException, ue) // Translate any other user exception. - { - ACE_THROW (CosEventChannelFactory::NoSuchChannel ()); - } - ACE_ENDTRY; - ACE_CHECK; -} - -CosEventChannelAdmin::EventChannel_ptr -TAO_CosEventChannelFactory_i::find -( - const char * channel_id, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - CosEventChannelFactory::NoSuchChannel - )) -{ - ACE_ASSERT (!CORBA::is_nil (this->poa_.in ())); - - CosEventChannelAdmin::EventChannel_ptr const ec_nil = - CosEventChannelAdmin::EventChannel::_nil (); - - ACE_TRY - { - PortableServer::ObjectId_var oid = - TAO_POA::string_to_ObjectId (channel_id); - - CORBA::Object_var obj = - this->poa_->id_to_reference (oid.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - return CosEventChannelAdmin::EventChannel::_narrow (obj.in ()); - } - ACE_CATCH (CORBA::UserException, ue) // Translate any user exception. - { - ACE_THROW_RETURN (CosEventChannelFactory::NoSuchChannel (), - ec_nil); - } - ACE_ENDTRY; - ACE_CHECK_RETURN (ec_nil); - - ACE_NOTREACHED (return ec_nil); -} - -char* -TAO_CosEventChannelFactory_i::find_channel_id -( - CosEventChannelAdmin::EventChannel_ptr channel, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - CosEventChannelFactory::NoSuchChannel - )) -{ - ACE_ASSERT (!CORBA::is_nil (this->poa_.in ())); - - ACE_TRY - { - PortableServer::ObjectId_var oid = - this->poa_->reference_to_id (channel, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - return TAO_POA::ObjectId_to_string (oid.in ()); - } - ACE_CATCH (CORBA::UserException, ue) // Translate any user exception. - { - ACE_THROW_RETURN (CosEventChannelFactory::NoSuchChannel (), - 0); - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - - ACE_NOTREACHED (return 0); -} - - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class auto_ptr ; -template class ACE_Auto_Basic_Ptr ; - -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate auto_ptr -#pragma instantiate ACE_Auto_Basic_Ptr - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h deleted file mode 100644 index 58a29c5ea16..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h +++ /dev/null @@ -1,111 +0,0 @@ -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/examples/CosEC/Factory -// -// = FILENAME -// CosEventChannelFactory_i.h -// -// = DESCRIPTION -// This class implements the CosEventChannelFactory -// -// = AUTHOR -// Pradeep Gore -// -// ============================================================================ - -#ifndef TAO_COSEVENTCHANNELFACTORY_I_H -#define TAO_COSEVENTCHANNELFACTORY_I_H - -#include "CosEventChannelFactoryS.h" -#include "orbsvcs/CosNamingC.h" - -class TAO_CosEventChannelFactory_i : - public virtual POA_CosEventChannelFactory::ChannelFactory, - public virtual PortableServer::RefCountServantBase -{ - public: - // = Initialization and termination code. - TAO_CosEventChannelFactory_i (void); - // Constructor. - - ~TAO_CosEventChannelFactory_i (void); - // Destructor. - - int init (PortableServer::POA_ptr poa, - const char* child_poa_name, - CosNaming::NamingContext_ptr naming = CosNaming::NamingContext::_nil (), - CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()); - // This method creates a child poa with as the - // parent. It also accepts a Naming_Context which is used to register - // the event channels if specified. - // Returns -1 on error, 0 on success. - // @@ Pradeep: this looks OK. I wonder if it would be a good idea to - // raise exceptions, but I'm undecided. - // @@ Pradeep: when is the child poa destroyed? Maybe we should add - // a destroy() method to the factory interface (in IDL). - // @@ Carlos: if we add a to the factory, any client will be - // able to destroy the factory! - // @@ Pradeep: it could be a method of the Factory_i class, it - // doesn't have to be exposed through the IDL interface. Anyway, - // there must be a way to cleanup any resources created by the - // factory, and you must avoid CORBA calls in the destructor, - // first because you won't have an ACE_TRY_ENV and second because - // exceptions in destructors are evil. - // @@ Pradeep: anyway you can just use exceptions and not return -1? - - // = CosEventChannelFactory::ChannelFactory methods. - virtual CosEventChannelAdmin::EventChannel_ptr create - ( - const char * channel_id, - CORBA::Boolean store_in_naming_service, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - CosEventChannelFactory::DuplicateChannel - )); - - virtual void destroy - ( - const char * channel_id, - CORBA::Boolean unbind_from_naming_service, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - CosEventChannelFactory::NoSuchChannel - )); - - virtual CosEventChannelAdmin::EventChannel_ptr find - ( - const char * channel_id, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - CosEventChannelFactory::NoSuchChannel - )); - - virtual char * find_channel_id - ( - CosEventChannelAdmin::EventChannel_ptr channel, - CORBA::Environment &ACE_TRY_ENV - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - CosEventChannelFactory::NoSuchChannel - )); - protected: - - PortableServer::POA_var poa_; - // The Poa with which we activate all the Event Channels. - - CosNaming::NamingContext_var naming_; - // The naming context to use. -}; - -#endif /* TAO_COSEVENTCHANNELFACTORY_I_H */ diff --git a/TAO/orbsvcs/examples/CosEC/Factory/Factory.dsw b/TAO/orbsvcs/examples/CosEC/Factory/Factory.dsw deleted file mode 100644 index ffaf92f2543..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/Factory.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "FactoryClient"=.\FactoryClient.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "FactoryServer"=.\FactoryServer.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.cpp b/TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.cpp deleted file mode 100644 index 48f994f415c..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.cpp +++ /dev/null @@ -1,444 +0,0 @@ -// -*- C++ -*- -// $Id$ - -#include "CosEventChannelFactoryC.h" -#include "orbsvcs/CosNamingC.h" - -class FactoryClient -{ - // = TITLE - // A simple client to test the CosEC factory - // - // = DESCRIPTION - // Test Client for the CosEC factory. - -public: - // Initialization and termination methods - FactoryClient (void); - // constructor. - - virtual ~FactoryClient (void); - // destructor. - - void init_ORB (int argc, char *argv [], CORBA::Environment &ACE_TRY_ENV); - // Initializes the ORB. - - void resolve_naming_service (CORBA::Environment &ACE_TRY_ENV); - // Try to get hold of a running naming service. - - void resolve_factory (CORBA::Environment &ACE_TRY_ENV); - // Try to resolve the factory from the Naming service. - - CosEventChannelFactory::ChannelFactory_ptr - create_factory (CORBA::Environment &ACE_TRY_ENV); - // Create a local Factory and also set the . - - virtual void run_test (CORBA::Environment &ACE_TRY_ENV); - // Runs a couple of tests to check if the factory behaves correctly. - -protected: - CosEventChannelAdmin::EventChannel_ptr - create_channel (const char *channel_id, - CosEventChannelFactory::ChannelFactory_ptr factory, - CORBA::Environment &ACE_TRY_ENV); - // Create a channel. - - void destroy_channel (const char *channel_id, - CORBA::Environment &ACE_TRY_ENV); - // Destroy the channel. - - void find_channel (const char* channel_id, - CORBA::Environment &ACE_TRY_ENV); - // Find a channel. - - void find_channel_id (CosEventChannelAdmin::EventChannel_ptr channel, - CORBA::Environment &ACE_TRY_ENV); - // Find a channel. - - // = Protected Data members. - const char* factory_name_; - // The name of the factory registered with the naming service. - - PortableServer::POA_var root_poa_; - // Reference to the root poa. - - CORBA::ORB_var orb_; - // The ORB that we use. - - CosNaming::NamingContext_var naming_context_; - // Handle to the name service. - - CosEventChannelFactory::ChannelFactory_var factory_; - // object from naming service. - - int use_naming_service; - // flag to indicate if the naming service should be used. -}; - -FactoryClient::FactoryClient (void) - :factory_name_ ("CosEC_Factory"), - root_poa_ (PortableServer::POA::_nil ()), - use_naming_service (0) -{ - // No-Op. -} - -FactoryClient::~FactoryClient (void) -{ - // No-Op. -} - -void -FactoryClient::init_ORB (int argc, - char *argv [], - CORBA::Environment &ACE_TRY_ENV) -{ - this->orb_ = CORBA::ORB_init (argc, - argv, - "", - ACE_TRY_ENV); - ACE_CHECK; - - CORBA::Object_var poa_object = - this->orb_->resolve_initial_references("RootPOA", - ACE_TRY_ENV); - ACE_CHECK; - - if (CORBA::is_nil (poa_object.in ())) - { - ACE_ERROR ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n")); - return; - } - this->root_poa_ = - PortableServer::POA::_narrow (poa_object.in (), - ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::POAManager_var poa_manager = - root_poa_->the_POAManager (ACE_TRY_ENV); - ACE_CHECK; - - poa_manager->activate (ACE_TRY_ENV); - ACE_CHECK; -} - -void -FactoryClient::resolve_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - CORBA::Object_var naming_obj = - this->orb_->resolve_initial_references ("NameService", - ACE_TRY_ENV); - ACE_CHECK; - - // Need to check return value for errors. - if (CORBA::is_nil (naming_obj.in ())) - ACE_THROW (CORBA::UNKNOWN ()); - - this->naming_context_ = - CosNaming::NamingContext::_narrow (naming_obj.in (), ACE_TRY_ENV); - ACE_CHECK; - - this->use_naming_service = 1; -} - -void -FactoryClient::resolve_factory (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_ASSERT (this->use_naming_service == 1); - - CosNaming::Name name (1); - name.length (1); - name[0].id = CORBA::string_dup (this->factory_name_); - - CORBA::Object_var obj = - this->naming_context_->resolve (name, - ACE_TRY_ENV); - ACE_CHECK; - - this->factory_ = - CosEventChannelFactory::ChannelFactory::_narrow (obj.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -CosEventChannelFactory::ChannelFactory_ptr -FactoryClient::create_factory (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_THROW_RETURN (CORBA::UNKNOWN (), - CosEventChannelFactory::ChannelFactory::_nil ()); -} - -CosEventChannelAdmin::EventChannel_ptr -FactoryClient::create_channel (const char *channel_id, - CosEventChannelFactory::ChannelFactory_ptr factory, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_DEBUG ((LM_DEBUG, - "Trying to create channel %s\n", channel_id)); - - CosEventChannelAdmin::EventChannel_var ec = - CosEventChannelAdmin::EventChannel::_nil (); - - ACE_TRY - { - ec = factory->create (channel_id, - this->use_naming_service, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_ASSERT (!CORBA::is_nil (ec.in ())); - - ACE_DEBUG ((LM_DEBUG, - "Created Cos Event Channel \"%s \"\n", - channel_id)); - } - ACE_CATCH (CORBA::UserException, ue) - { - ACE_PRINT_EXCEPTION (ue, - "User Exception in createChannel: "); - return CosEventChannelAdmin::EventChannel::_nil (); - } - ACE_CATCH (CORBA::SystemException, se) - { - ACE_PRINT_EXCEPTION (se, - "System Exception in createChannel: "); - return CosEventChannelAdmin::EventChannel::_nil (); - } - ACE_ENDTRY; - - return ec._retn (); -} - -void -FactoryClient::destroy_channel (const char *channel_id, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_DEBUG ((LM_DEBUG, - "Destroying Cos Event Channel \"%s \"\n", - channel_id)); - - this->factory_->destroy (channel_id, - use_naming_service, - ACE_TRY_ENV); - ACE_CHECK; -} - -void -FactoryClient::find_channel (const char* channel_id, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - ACE_DEBUG ((LM_DEBUG, - "trying to find the Channel \"%s \"\n", - channel_id)); - - CosEventChannelAdmin::EventChannel_var channel = - this->factory_->find (channel_id, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - - CORBA::String_var str = - orb_->object_to_string (channel.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Find returned - %s \n", - str.in ())); - - this->find_channel_id (channel.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::UserException, ue) - { - ACE_PRINT_EXCEPTION (ue, - "User Exception in findchannel: "); - } - ACE_CATCH (CORBA::SystemException, se) - { - ACE_PRINT_EXCEPTION (se, - "System Exception in findchannel: "); - } - ACE_ENDTRY; -} - -void -FactoryClient::find_channel_id (CosEventChannelAdmin::EventChannel_ptr channel, - CORBA::Environment &ACE_TRY_ENV) -{ - CORBA::String_var str = - orb_->object_to_string (channel, - ACE_TRY_ENV); - ACE_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "trying to find the Channel %s \n", - str.in ())); - - char *channel_id = - this->factory_->find_channel_id (channel, - ACE_TRY_ENV); - ACE_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "find returned %s\n", channel_id)); -} - -/* - * excercise the factory: create 3 Channels and test the factory. - */ - -void -FactoryClient::run_test (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_ASSERT (!CORBA::is_nil (this->factory_.in ())); - - const char *channel_id [3] = {"cosec1", "cosec2", "cosec3"}; - CosEventChannelAdmin::EventChannel_var cosec [3]; - - // create the first cosec - cosec[0] = this->create_channel (channel_id[0], - this->factory_.in (), - ACE_TRY_ENV); - ACE_CHECK; - - // create the second cosec - cosec[1] = this->create_channel (channel_id[1], - this->factory_.in (), - ACE_TRY_ENV); - ACE_CHECK; - - // create the third cosec - cosec[2] = this->create_channel (channel_id[2], - this->factory_.in (), - ACE_TRY_ENV); - ACE_CHECK; - - // see it we can destroy this one.. - this->destroy_channel (channel_id[2], - ACE_TRY_ENV); - ACE_CHECK; - - // see if we can find it? - this->find_channel_id (cosec[2].in (), - ACE_TRY_ENV); - ACE_CHECK; - - // see if we can create it again? - cosec[2] = this->create_channel (channel_id[2], - this->factory_.in (), - ACE_TRY_ENV); - ACE_CHECK; - - // try and find a channel that does not exist. - this->find_channel ("areyouthere?", - ACE_TRY_ENV); - ACE_CHECK; - - // see if it can detect duplicates. - this->create_channel (channel_id[2], - this->factory_.in (), - ACE_TRY_ENV); - ACE_CHECK; - - // see if it can give us the id? - this->find_channel_id (cosec[0].in (), - ACE_TRY_ENV); - ACE_CHECK; - - this->find_channel_id (cosec[1].in (), - ACE_TRY_ENV); - ACE_CHECK; - - this->find_channel_id (cosec[2].in (), - ACE_TRY_ENV); - ACE_CHECK; - - // check if we can get the channels from the id. - this->find_channel (channel_id[0], - ACE_TRY_ENV); - ACE_CHECK; - - this->find_channel (channel_id[1], - ACE_TRY_ENV); - ACE_CHECK; - - this->find_channel (channel_id[2], - ACE_TRY_ENV); - ACE_CHECK; - - //destroy them all. - this->destroy_channel (channel_id[0], - ACE_TRY_ENV); - ACE_CHECK; - - this->destroy_channel (channel_id[1], - ACE_TRY_ENV); - ACE_CHECK; - - this->destroy_channel (channel_id[2], - ACE_TRY_ENV); - ACE_CHECK; - - // end of testing. - ACE_DEBUG ((LM_DEBUG, - "Factory testing complete\n")); -} - -int -main (int argc, char *argv []) -{ - ACE_DEBUG ((LM_DEBUG, - "The FactoryClient will test the Cos Event Channel Factory\n")); - ACE_TRY_NEW_ENV - { - FactoryClient ft; - - ft.init_ORB (argc, - argv, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_TRY_EX (naming) - { - ft.resolve_naming_service (ACE_TRY_ENV); - ACE_TRY_CHECK_EX (naming); - - ft.resolve_factory (ACE_TRY_ENV); - ACE_TRY_CHECK_EX (naming); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Failed to resolve the naming service"); - ACE_DEBUG ((LM_DEBUG, - "Creating a local Factory\n")); - // TBD: - ft.create_factory (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_ENDTRY; - - ft.run_test (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CORBA::UserException, ue) - { - ACE_PRINT_EXCEPTION (ue, - "test failed: User Exception in FactoryClient: "); - return 1; - } - ACE_CATCH (CORBA::SystemException, se) - { - ACE_PRINT_EXCEPTION (se, - "test failed: System Exception in FactoryClient: "); - return 1; - } - ACE_ENDTRY; - - return 0; -} diff --git a/TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.dsp b/TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.dsp deleted file mode 100644 index 1c5d5d23449..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/FactoryClient.dsp +++ /dev/null @@ -1,177 +0,0 @@ -# Microsoft Developer Studio Project File - Name="FactoryClient" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=FactoryClient - 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 "FactoryClient.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 "FactoryClient.mak" CFG="FactoryClient - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "FactoryClient - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "FactoryClient - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "FactoryClient - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\orbsvcs" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "FactoryClient - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 orbsvcsd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\orbsvcs" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "FactoryClient - Win32 Release" -# Name "FactoryClient - Win32 Debug" -# Begin Group "IDL Files" - -# PROP Default_Filter ".idl" -# Begin Source File - -SOURCE=.\CosEventChannelFactory.idl - -!IF "$(CFG)" == "FactoryClient - Win32 Release" - -!ELSEIF "$(CFG)" == "FactoryClient - Win32 Debug" - -# Begin Custom Build - Invoking TAO IDL compiler -InputPath=.\CosEventChannelFactory.idl -InputName=CosEventChannelFactory - -BuildCmds= \ - tao_idl -I..\..\.. $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\CosEventChannelFactoryC.cpp -# End Source File -# Begin Source File - -SOURCE=.\CosEventChannelFactoryS.cpp -# End Source File -# Begin Source File - -SOURCE=.\FactoryClient.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\CosEventChannelFactoryC.h -# End Source File -# Begin Source File - -SOURCE=.\CosEventChannelFactoryS.h -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter ".i" -# Begin Source File - -SOURCE=.\CosEventChannelFactoryC.i -# End Source File -# Begin Source File - -SOURCE=.\CosEventChannelFactoryS.i -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp b/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp deleted file mode 100644 index 946fec75f6b..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp +++ /dev/null @@ -1,164 +0,0 @@ -// -*- C++ -*- -// $Id$ - -#include "FactoryDriver.h" -#include "ace/Get_Opt.h" - -FactoryDriver::FactoryDriver (const char* name) - :factoryName_ (name), - child_poa_name_ ("CosEC_ChildPOA"), - factory_servant_ (0) -{ - //No-Op. -} - -FactoryDriver::~FactoryDriver (void) -{ - //No-Op. -} - -int -FactoryDriver::parse_args (int argc, char *argv []) -{ - ACE_Get_Opt get_opts (argc, argv, "dr:"); - int c = 0; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag. - TAO_debug_level++; - break; - - case 'r': - factoryName_ = get_opts.optarg; - break; - - case '?': // display help for use of the server. - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-r] " - "\n", - argv [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -int -FactoryDriver::start (int argc, char *argv []) -{ - if (this->parse_args (argc, argv) == -1) - return -1; - - // Ref counted servants are on the heap.. - ACE_NEW_RETURN (factory_servant_, - TAO_CosEventChannelFactory_i (), - -1); - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - orb_ = CORBA::ORB_init (argc, - argv, - "", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::Object_var poa_object = - orb_->resolve_initial_references("RootPOA", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (CORBA::is_nil (poa_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - -1); - - root_poa_ = - PortableServer::POA::_narrow (poa_object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - PortableServer::POAManager_var poa_manager = - root_poa_->the_POAManager (ACE_TRY_ENV); - - ACE_TRY_CHECK; - - poa_manager->activate (ACE_TRY_ENV); - - ACE_TRY_CHECK; - - // Initialization of the naming service. - if (naming_client_.init (orb_.in ()) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Unable to initialize " - "the TAO_Naming_Client. \n"), - 1); - - if (factory_servant_->init (root_poa_.in (), - child_poa_name_, - naming_client_.get_context (), - ACE_TRY_ENV) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Unable to initialize " - "the factory. \n"), - 1); - - // activate the factory in the root poa. - factory_ = factory_servant_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Give the ownership to the POA. - factory_servant_->_remove_ref (ACE_TRY_ENV); - - ACE_TRY_CHECK; - CORBA::String_var - str = orb_->object_to_string (factory_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "CosEvent_Service: The Cos Event Channel Factory IOR is <%s>\n", - str.in ())); - - CosNaming::Name name (1); - name.length (1); - name[0].id = CORBA::string_dup (factoryName_); - naming_client_->rebind (name, - factory_.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "Registered with the naming service as %s\n", factoryName_)); - - orb_->run (); - } - ACE_CATCH (CORBA::UserException, ue) - { - ACE_PRINT_EXCEPTION (ue, - "cosecfactory: "); - return 1; - } - ACE_CATCH (CORBA::SystemException, se) - { - ACE_PRINT_EXCEPTION (se, - "cosecfactory: "); - return 1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (1); - - return 0; -} - -int -FactoryDriver::stop (void) -{ - orb_->shutdown (); - return 0; -} diff --git a/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.h b/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.h deleted file mode 100644 index e07d4c843f1..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.h +++ /dev/null @@ -1,80 +0,0 @@ - -// -*- C++ -*- -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/examples/CosEC/Factory -// -// = FILENAME -// FactoryDriver.h -// -// = DESCRIPTION -// This class implements the Factory driver. -// -// = AUTHOR -// Pradeep Gore -// -// ============================================================================ - -#ifndef TAO_FACTORYDRIVER_H -#define TAO_FACTORYDRIVER_H - -#include "CosEventChannelFactory_i.h" -#include "orbsvcs/Naming/Naming_Utils.h" - -// @@ Pradeep: I know this is just an example, but could you talk to -// Vishal about making this a service that could be bootstraped -// using the -ORBInitRef mechanisms? That way we can run this -// stuff without the naming service running. - -class FactoryDriver -{ - // = TITLE - // Driver class for the CosEventChannel Factory. - // = DESCRIPTION - // creates a CosEventChannel Factory and registers it with the - // naming service. - // - public: - // = Initialization and termination code. - FactoryDriver (const char* factory = "CosEC_Factory"); - // Constructor. - - ~FactoryDriver (void); - // Destructor. - - int start (int argc, char *argv []); - // Start the driver. - - int stop (void); - //Stop the driver. - - protected: - int parse_args (int argc, char *argv []); - // Parse the command-line arguments and set options. - - const char* factoryName_; - // The name of the factory registered with the naming service. - - const char* child_poa_name_; - // The name of the Child POA. - - CORBA::ORB_var orb_; - // The ORB that we use. - - TAO_CosEventChannelFactory_i *factory_servant_; - // The factory servant. - - PortableServer::POA_var root_poa_; - // Reference to the root poa. - - CosEventChannelFactory::ChannelFactory_var factory_; - // The corba object after activation. - - TAO_Naming_Client naming_client_; - // Use a naming client. - -}; -#endif /* TAO_FACTORYDRIVER_H */ diff --git a/TAO/orbsvcs/examples/CosEC/Factory/FactoryServer.dsp b/TAO/orbsvcs/examples/CosEC/Factory/FactoryServer.dsp deleted file mode 100644 index cc351d043ee..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/FactoryServer.dsp +++ /dev/null @@ -1,193 +0,0 @@ -# Microsoft Developer Studio Project File - Name="FactoryServer" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=FactoryServer - 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 "FactoryServer.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 "FactoryServer.mak" CFG="FactoryServer - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "FactoryServer - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "FactoryServer - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "FactoryServer - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\orbsvcs" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "FactoryServer - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 orbsvcsd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\orbsvcs" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "FactoryServer - Win32 Release" -# Name "FactoryServer - Win32 Debug" -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\CosEventChannelFactory_i.h -# End Source File -# Begin Source File - -SOURCE=.\CosEventChannelFactoryC.h -# End Source File -# Begin Source File - -SOURCE=.\CosEventChannelFactoryS.h -# End Source File -# Begin Source File - -SOURCE=.\FactoryDriver.h -# End Source File -# End Group -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\CosEventChannelFactory_i.cpp -# End Source File -# Begin Source File - -SOURCE=.\CosEventChannelFactoryC.cpp -# End Source File -# Begin Source File - -SOURCE=.\CosEventChannelFactoryS.cpp -# End Source File -# Begin Source File - -SOURCE=.\FactoryDriver.cpp -# End Source File -# Begin Source File - -SOURCE=.\main.cpp -# End Source File -# End Group -# Begin Group "IDL Files" - -# PROP Default_Filter ".idl" -# Begin Source File - -SOURCE=.\CosEventChannelFactory.idl - -!IF "$(CFG)" == "FactoryServer - Win32 Release" - -!ELSEIF "$(CFG)" == "FactoryServer - Win32 Debug" - -# Begin Custom Build - Invoking TAO IDL compiler -InputPath=.\CosEventChannelFactory.idl -InputName=CosEventChannelFactory - -BuildCmds= \ - tao_idl -I..\..\.. $(InputName).idl - -"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build - -!ENDIF - -# End Source File -# End Group -# Begin Group "Inline Files" - -# PROP Default_Filter ".i" -# Begin Source File - -SOURCE=.\CosEventChannelFactoryC.i -# End Source File -# Begin Source File - -SOURCE=.\CosEventChannelFactoryS.i -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/examples/CosEC/Factory/Makefile b/TAO/orbsvcs/examples/CosEC/Factory/Makefile deleted file mode 100644 index 93591bc8696..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/Makefile +++ /dev/null @@ -1,1810 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif - -LDLIBS = -lorbsvcs -lTAO - -IDL_SRC = CosEventChannelFactoryC.cpp CosEventChannelFactoryS.cpp - -PROG_SRCS = \ - CosEventChannelFactory_i.cpp \ - FactoryClient.cpp \ - FactoryDriver.cpp \ - main.cpp - -SRC = $(IDL_SRC) $(PROG_SRCS) - -FACTORY_OBJS = \ - CosEventChannelFactoryC.o \ - CosEventChannelFactoryS.o \ - CosEventChannelFactory_i.o \ - FactoryDriver.o \ - main.o - -CLIENT_OBJS = \ - FactoryClient.o \ - CosEventChannelFactoryC.o \ - CosEventChannelFactoryS.o - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BIN2 = factory \ - factoryclient - -#### If the TAO orbsvcs library wasn't built with sufficient components, -#### don't try to build here. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (CosEvent,$(findstring CosEvent,$(TAO_ORBSVCS))) - ifeq (Naming,$(findstring Naming,$(TAO_ORBSVCS))) - BIN = $(BIN2) - endif # Naming -endif # CosEvent - -#---------------------------------------------------------------------------- -# 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 $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU -include $(TAO_ROOT)/taoconfig.mk - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - - -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/Naming_Service -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs - -override TAO_IDLFLAGS += -I$(TAO_ROOT)/orbsvcs -Ge 1 - -factory: $(addprefix $(VDIR),$(FACTORY_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -factoryclient: $(addprefix $(VDIR),$(CLIENT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -realclean: clean - -$(RM) -rf CosEventChannelFactoryC.* CosEventChannelFactoryS.* CosEventChannelFactoryS_T.* - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/CosEventChannelFactoryC.o .obj/CosEventChannelFactoryC.so .shobj/CosEventChannelFactoryC.o .shobj/CosEventChannelFactoryC.so: CosEventChannelFactoryC.cpp \ - CosEventChannelFactoryC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.i \ - CosEventChannelFactoryC.i -.obj/CosEventChannelFactoryS.o .obj/CosEventChannelFactoryS.so .shobj/CosEventChannelFactoryS.o .shobj/CosEventChannelFactoryS.so: CosEventChannelFactoryS.cpp \ - CosEventChannelFactoryS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS.i \ - CosEventChannelFactoryC.h CosEventChannelFactoryC.i \ - CosEventChannelFactoryS_T.h CosEventChannelFactoryS_T.i \ - CosEventChannelFactoryS_T.cpp CosEventChannelFactoryS.i -.obj/CosEventChannelFactory_i.o .obj/CosEventChannelFactory_i.so .shobj/CosEventChannelFactory_i.o .shobj/CosEventChannelFactory_i.so: CosEventChannelFactory_i.cpp \ - CosEventChannelFactory_i.h CosEventChannelFactoryS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS.i \ - CosEventChannelFactoryC.h CosEventChannelFactoryC.i \ - CosEventChannelFactoryS_T.h CosEventChannelFactoryS_T.i \ - CosEventChannelFactoryS_T.cpp CosEventChannelFactoryS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEvent_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp -.obj/FactoryClient.o .obj/FactoryClient.so .shobj/FactoryClient.o .shobj/FactoryClient.so: FactoryClient.cpp CosEventChannelFactoryC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.i \ - CosEventChannelFactoryC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i -.obj/FactoryDriver.o .obj/FactoryDriver.so .shobj/FactoryDriver.o .shobj/FactoryDriver.so: FactoryDriver.cpp FactoryDriver.h \ - CosEventChannelFactory_i.h CosEventChannelFactoryS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS.i \ - CosEventChannelFactoryC.h CosEventChannelFactoryC.i \ - CosEventChannelFactoryS_T.h CosEventChannelFactoryS_T.i \ - CosEventChannelFactoryS_T.cpp CosEventChannelFactoryS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i -.obj/main.o .obj/main.so .shobj/main.o .shobj/main.so: main.cpp FactoryDriver.h CosEventChannelFactory_i.h \ - CosEventChannelFactoryS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(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/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(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/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/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 \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.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/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/IOR_LookupTable.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.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.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(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/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 \ - $(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/IORManipulation.h \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/IORS.h \ - $(TAO_ROOT)/tao/IORC.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/IORC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/IORS.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/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Context.h \ - $(TAO_ROOT)/tao/Context.i \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/GIOP.h \ - $(TAO_ROOT)/tao/GIOP.i \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/Object_Adapter.h \ - $(TAO_ROOT)/tao/Key_Adapters.h \ - $(ACE_ROOT)/ace/Map.h \ - $(ACE_ROOT)/ace/Map.i \ - $(ACE_ROOT)/ace/Map_T.h \ - $(ACE_ROOT)/ace/Pair.h \ - $(ACE_ROOT)/ace/Pair.i \ - $(ACE_ROOT)/ace/Pair_T.h \ - $(ACE_ROOT)/ace/Pair_T.i \ - $(ACE_ROOT)/ace/Pair_T.cpp \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Active_Map_Manager.h \ - $(ACE_ROOT)/ace/Active_Map_Manager.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Active_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Map_T.i \ - $(ACE_ROOT)/ace/Map_T.cpp \ - $(TAO_ROOT)/tao/Key_Adapters.i \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/DomainC.h \ - $(TAO_ROOT)/tao/DomainC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/Object_Adapter.i \ - $(TAO_ROOT)/tao/POAManager.h \ - $(TAO_ROOT)/tao/POAManager.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/Pluggable.i \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/MProfile.i \ - $(TAO_ROOT)/tao/MessagingS.h \ - $(TAO_ROOT)/tao/TimeBaseS.h \ - $(TAO_ROOT)/tao/TimeBaseC.h \ - $(TAO_ROOT)/tao/TimeBaseC.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.h \ - $(TAO_ROOT)/tao/TimeBaseS_T.i \ - $(TAO_ROOT)/tao/TimeBaseS_T.cpp \ - $(TAO_ROOT)/tao/TimeBaseS.i \ - $(TAO_ROOT)/tao/MessagingC.h \ - $(TAO_ROOT)/tao/IOPC.h \ - $(TAO_ROOT)/tao/IOPC.i \ - $(TAO_ROOT)/tao/MessagingC.i \ - $(TAO_ROOT)/tao/MessagingS.i \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.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 \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.h \ - $(TAO_ROOT)/tao/Reply_Dispatcher.i \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ValueBase.h \ - $(TAO_ROOT)/tao/ValueBase.i \ - $(TAO_ROOT)/tao/ValueFactory.h \ - $(TAO_ROOT)/tao/ValueFactory.i \ - $(TAO_ROOT)/tao/ObjectIDList.h \ - $(TAO_ROOT)/tao/ObjectIDList.i \ - $(TAO_ROOT)/tao/WrongTransactionC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosEventChannelAdminS.i \ - CosEventChannelFactoryC.h CosEventChannelFactoryC.i \ - CosEventChannelFactoryS_T.h CosEventChannelFactoryS_T.i \ - CosEventChannelFactoryS_T.cpp CosEventChannelFactoryS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \ - $(ACE_ROOT)/ace/SOCK_Dgram.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_Dgram.i \ - $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Context.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/examples/CosEC/Factory/main.cpp b/TAO/orbsvcs/examples/CosEC/Factory/main.cpp deleted file mode 100644 index fca20c05e2a..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Factory/main.cpp +++ /dev/null @@ -1,12 +0,0 @@ -// -*- C++ -*- -// $Id$ - -#include "FactoryDriver.h" - -int -main (int argc, char *argv []) -{ - FactoryDriver driver; - driver.start (argc, argv); - return 0; -} diff --git a/TAO/orbsvcs/examples/CosEC/Makefile b/TAO/orbsvcs/examples/CosEC/Makefile deleted file mode 100644 index 1d4c50e91ea..00000000000 --- a/TAO/orbsvcs/examples/CosEC/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = Factory - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU diff --git a/TAO/orbsvcs/examples/Makefile b/TAO/orbsvcs/examples/Makefile deleted file mode 100644 index 87b27545b4d..00000000000 --- a/TAO/orbsvcs/examples/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = CosEC \ - RtEC - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU diff --git a/TAO/orbsvcs/examples/RtEC/Makefile b/TAO/orbsvcs/examples/RtEC/Makefile deleted file mode 100644 index 6a0f3f9ded2..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = Simple - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Consumer.cpp b/TAO/orbsvcs/examples/RtEC/Simple/Consumer.cpp deleted file mode 100644 index 514841dc716..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/Consumer.cpp +++ /dev/null @@ -1,156 +0,0 @@ -// $Id$ - -#include "Consumer.h" -#include "orbsvcs/RtecEventChannelAdminS.h" -#include "orbsvcs/Event_Service_Constants.h" - -ACE_RCSID(EC_Examples, Consumer, "$Id$") - -int -main (int argc, char* argv[]) -{ - Consumer consumer; - - return consumer.run (argc, argv); -} - -// **************************************************************** - -Consumer::Consumer (void) - : event_count_ (0) -{ -} - -int -Consumer::run (int argc, char* argv[]) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // ORB initialization boiler plate... - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "", ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Do *NOT* make a copy because we don't want the ORB to outlive - // the - this->orb_ = orb.in (); - - if (argc <= 1) - { - ACE_ERROR ((LM_ERROR, - "Usage: Consumer \n")); - return 1; - } - - CORBA::Object_var object = - orb->resolve_initial_references ("RootPOA", ACE_TRY_ENV); - ACE_TRY_CHECK; - PortableServer::POA_var poa = - PortableServer::POA::_narrow (object.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - PortableServer::POAManager_var poa_manager = - poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Obtain the event channel, we could use a naming service, a - // command line argument or resolve_initial_references(), but - // this is simpler... - object = - orb->string_to_object (argv[1], ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecEventChannelAdmin::EventChannel_var event_channel = - RtecEventChannelAdmin::EventChannel::_narrow (object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // The canonical protocol to connect to the EC - RtecEventChannelAdmin::ConsumerAdmin_var consumer_admin = - event_channel->for_consumers (ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecEventChannelAdmin::ProxyPushSupplier_var supplier = - consumer_admin->obtain_push_supplier (ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecEventComm::PushConsumer_var consumer = - this->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Simple subscription, but usually the helper classes in - // $TAO_ROOT/orbsvcs/Event_Utils.h are a better way to do this. - RtecEventChannelAdmin::ConsumerQOS qos; - qos.dependencies.length (2); - RtecEventComm::EventHeader& h0 = - qos.dependencies[0].event.header; - h0.type = ACE_ES_DISJUNCTION_DESIGNATOR; - h0.source = ACE_ES_EVENT_SOURCE_ANY; - - RtecEventComm::EventHeader& h1 = - qos.dependencies[1].event.header; - h1.type = ACE_ES_EVENT_UNDEFINED; // first free event type - h1.source = ACE_ES_EVENT_SOURCE_ANY; - - supplier->connect_push_consumer (consumer.in (), qos, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Wait for events, using work_pending()/perform_work() may help - // or using another thread, this example is too simple for that. - orb->run (); - - // We don't do any cleanup, it is hard to do it after shutdown, - // and would complicate the example; plus it is almost - // impossible to do cleanup after ORB->run() because the POA is - // in the holding state. Applications should use - // work_pending()/perform_work() to do more interesting stuff. - // Check the supplier for the proper way to do cleanup. - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Consumer::run"); - return 1; - } - ACE_ENDTRY; - return 0; -} - -void -Consumer::push (const RtecEventComm::EventSet& events, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - if (events.length () == 0) - { - ACE_DEBUG ((LM_DEBUG, - "Consumer (%P|%t) no events\n")); - return; - } - - this->event_count_ += events.length (); - if (this->event_count_ % 100 == 0) - { - ACE_DEBUG ((LM_DEBUG, - "Consumer (%P|%t): %d events received\n", - this->event_count_)); - } -} - -void -Consumer::disconnect_push_consumer (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // In this example we shutdown the ORB when we disconnect from the - // EC (or rather the EC disconnects from us), but this doesn't have - // to be the case.... - this->orb_->shutdown (0, ACE_TRY_ENV); -} - -// **************************************************************** - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Consumer.h b/TAO/orbsvcs/examples/RtEC/Simple/Consumer.h deleted file mode 100644 index 50588a1afa9..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/Consumer.h +++ /dev/null @@ -1,66 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// ORBSVCS Real-time Event Channel examples -// -// = FILENAME -// Consumer -// -// = AUTHOR -// Carlos O'Ryan (coryan@cs.wustl.edu) -// -// ============================================================================ - -#ifndef CONSUMER_H -#define CONSUMER_H - -#include "orbsvcs/RtecEventCommS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class Consumer : public POA_RtecEventComm::PushConsumer -{ - // = TITLE - // Simple consumer object - // - // = DESCRIPTION - // This class is a consumer of events. - // It simply register for two event typesone event type - // The class is just a helper to simplify common tasks in EC - // tests, such as subscribing for a range of events, disconnecting - // from the EC, informing the driver of shutdown messages, etc. - // - // There are several ways to connect and disconnect this class, - // and it is up to the driver program to use the right one. - // -public: - Consumer (void); - // Constructor - - int run (int argc, char* argv[]); - // Run the test - - // = The RtecEventComm::PushConsumer methods - - virtual void push (const RtecEventComm::EventSet& events, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException)); - virtual void disconnect_push_consumer (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // The skeleton methods. - -private: - CORBA::ULong event_count_; - // Keep track of the number of events received. - - CORBA::ORB_ptr orb_; - // The orb, just a pointer because the ORB does not outlive the - // run() method... -}; - -#endif /* CONSUMER_H */ diff --git a/TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Consumer.dsp b/TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Consumer.dsp deleted file mode 100644 index afdc2cdb114..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Consumer.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="EC_Simple_Consumer" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=EC_Simple_Consumer - 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 "EC_Simple_Consumer.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 "EC_Simple_Consumer.mak"\ - CFG="EC_Simple_Consumer - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "EC_Simple_Consumer - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "EC_Simple_Consumer - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "EC_Simple_Consumer - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /out:"Release\Consumer.exe" /libpath:"..\..\..\orbsvcs" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "EC_Simple_Consumer - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 orbsvcsd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /out:"Consumer.exe" /pdbtype:sept /libpath:"..\..\..\orbsvcs" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "EC_Simple_Consumer - Win32 Release" -# Name "EC_Simple_Consumer - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\Consumer.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\Consumer.h -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Service.dsp b/TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Service.dsp deleted file mode 100644 index 120b1306bd6..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Service.dsp +++ /dev/null @@ -1,95 +0,0 @@ -# Microsoft Developer Studio Project File - Name="EC_Simple_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=EC_Simple_Service - 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 "EC_Simple_Service.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 "EC_Simple_Service.mak" CFG="EC_Simple_Service - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "EC_Simple_Service - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "EC_Simple_Service - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "EC_Simple_Service - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /out:"Release/Service.exe" /libpath:"..\..\..\orbsvcs" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "EC_Simple_Service - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 orbsvcsd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /out:"Service.exe" /pdbtype:sept /libpath:"..\..\..\orbsvcs" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "EC_Simple_Service - Win32 Release" -# Name "EC_Simple_Service - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\Service.cpp -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Supplier.dsp b/TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Supplier.dsp deleted file mode 100644 index bff640c98fc..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/EC_Simple_Supplier.dsp +++ /dev/null @@ -1,104 +0,0 @@ -# Microsoft Developer Studio Project File - Name="EC_Simple_Supplier" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=EC_Simple_Supplier - 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 "EC_Simple_Supplier.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 "EC_Simple_Supplier.mak"\ - CFG="EC_Simple_Supplier - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "EC_Simple_Supplier - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "EC_Simple_Supplier - Win32 Debug" (based on\ - "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "EC_Simple_Supplier - 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 "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /machine:I386 -# ADD LINK32 orbsvcs.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /out:"Release/Supplier.exe" /libpath:"..\..\..\orbsvcs" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" - -!ELSEIF "$(CFG)" == "EC_Simple_Supplier - 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 "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# 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 /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 orbsvcsd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /out:"Supplier.exe" /pdbtype:sept /libpath:"..\..\..\orbsvcs" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "EC_Simple_Supplier - Win32 Release" -# Name "EC_Simple_Supplier - Win32 Debug" -# Begin Group "Header Files" - -# PROP Default_Filter ".h" -# Begin Source File - -SOURCE=.\Supplier.h -# End Source File -# End Group -# Begin Group "Source Files" - -# PROP Default_Filter ".cpp" -# Begin Source File - -SOURCE=.\Supplier.cpp -# End Source File -# End Group -# End Target -# End Project diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Makefile b/TAO/orbsvcs/examples/RtEC/Simple/Makefile deleted file mode 100644 index ee0b055a4a9..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -BIN2 = Service \ - Consumer \ - Supplier - -#### If the orbsvcs library wasn't built with all components, don't -#### try to build certain tests. -TAO_ORBSVCS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs) -ifeq (Event2,$(findstring Event2,$(TAO_ORBSVCS))) - BIN = $(BIN2) -endif # Event2 - -PSRC=$(addsuffix .cpp,$(BIN)) -LDLIBS = -lorbsvcs -lTAO -CPPFLAGS += -I$(TAO_ROOT) -I$(TAO_ROOT)/orbsvcs \ - $(foreach svc, $(TAO_ORBSVCS), -DTAO_ORBSVCS_HAS_$(svc)) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -# To build multiple executables in the same directory on AIX, it works -# best to wipe out any previously-created tempinc directory. -# The compiler/linker isn't too smart about instantiating templates... -ifdef TEMPINCDIR -COMPILE.cc := $(RM) -rf tempinc; $(COMPILE.cc) -endif - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/examples/RtEC/Simple/README b/TAO/orbsvcs/examples/RtEC/Simple/README deleted file mode 100644 index fff86abc12f..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/README +++ /dev/null @@ -1,14 +0,0 @@ -# $Id$ - - This directory containts possibly the most simple example of -the real-time event service. It contains three executables; a -consumer, supplier and a program to create the event channel itself. - - Run using the run_test.pl script or: - -$ ./Service -o ec.ior -$ ./Consumer file://ec.ior -$ ./Supplier file://ec.ior - - more advanced tests are available in -$TAO_ROOT/orbsvcs/tests/Event and $TAO_ROOT/orbsvcs/EC_* diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Service.cpp b/TAO/orbsvcs/examples/RtEC/Simple/Service.cpp deleted file mode 100644 index 82d7280c387..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/Service.cpp +++ /dev/null @@ -1,126 +0,0 @@ -// $Id$ - -#include "orbsvcs/Event/EC_Event_Channel.h" -#include "orbsvcs/Event/EC_Default_Factory.h" -#include "ace/Get_Opt.h" - -ACE_RCSID(EC_Examples, Service, "$Id$") - -const char *ior_output_file = "ec.ior"; - -int parse_args (int argc, char *argv[]); - -int -main (int argc, char* argv[]) -{ - TAO_EC_Default_Factory::init_svcs (); - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // ORB initialization boiler plate... - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "", ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (parse_args (argc, argv) == -1) - { - ACE_ERROR ((LM_ERROR, - "Usage: Service [-o IOR_file_name]\n")); - return 1; - } - - CORBA::Object_var object = - orb->resolve_initial_references ("RootPOA", ACE_TRY_ENV); - ACE_TRY_CHECK; - PortableServer::POA_var poa = - PortableServer::POA::_narrow (object.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - PortableServer::POAManager_var poa_manager = - poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - TAO_EC_Event_Channel_Attributes attributes (poa.in (), - poa.in ()); - - TAO_EC_Event_Channel ec_impl (attributes); - ec_impl.activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecEventChannelAdmin::EventChannel_var event_channel = - ec_impl._this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var ior = - orb->object_to_string (event_channel.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Activated as <%s>\n", ior.in ())); - - // If the ior_output_file exists, output the ior to it - if (ior_output_file != 0) - { - FILE *output_file= ACE_OS::fopen (ior_output_file, "w"); - if (output_file == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Cannot open output file for writing IOR: %s", - ior_output_file), - 1); - ACE_OS::fprintf (output_file, "%s", ior.in ()); - ACE_OS::fclose (output_file); - } - - // Wait for events, using work_pending()/perform_work() may help - // or using another thread, this example is too simple for that. - orb->run (); - - // We don't do any cleanup, it is hard to do it after shutdown, - // and would complicate the example; plus it is almost - // impossible to do cleanup after ORB->run() because the POA is - // in the holding state. Applications should use - // work_pending()/perform_work() to do more interesting stuff. - // Check the supplier for the proper way to do cleanup. - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Service"); - return 1; - } - ACE_ENDTRY; - return 0; -} - -// **************************************************************** - -int parse_args (int argc, char *argv[]) -{ - ACE_Get_Opt get_opts (argc, argv, "o:"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'o': - ior_output_file = get_opts.optarg; - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "-o " - "\n", - argv [0]), - -1); - } - // Indicates sucessful parsing of the command line - return 0; -} - -// **************************************************************** - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Simple.dsw b/TAO/orbsvcs/examples/RtEC/Simple/Simple.dsw deleted file mode 100644 index 72bd4e2617e..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/Simple.dsw +++ /dev/null @@ -1,53 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "EC_Simple_Consumer"=.\EC_Simple_Consumer.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "EC_Simple_Service"=.\EC_Simple_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "EC_Simple_Supplier"=.\EC_Simple_Supplier.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Supplier.cpp b/TAO/orbsvcs/examples/RtEC/Simple/Supplier.cpp deleted file mode 100644 index 8bf5c6348e5..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/Supplier.cpp +++ /dev/null @@ -1,145 +0,0 @@ -// $Id$ - -#include "Supplier.h" -#include "orbsvcs/RtecEventChannelAdminS.h" -#include "orbsvcs/Event_Service_Constants.h" - -ACE_RCSID(EC_Examples, Supplier, "$Id$") - -int -main (int argc, char* argv[]) -{ - Supplier supplier; - - return supplier.run (argc, argv); -} - -// **************************************************************** - -Supplier::Supplier (void) -{ -} - -int -Supplier::run (int argc, char* argv[]) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // ORB initialization boiler plate... - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "", ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (argc <= 1) - { - ACE_ERROR ((LM_ERROR, - "Usage: Supplier \n")); - return 1; - } - - CORBA::Object_var object = - orb->resolve_initial_references ("RootPOA", ACE_TRY_ENV); - ACE_TRY_CHECK; - PortableServer::POA_var poa = - PortableServer::POA::_narrow (object.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - PortableServer::POAManager_var poa_manager = - poa->the_POAManager (ACE_TRY_ENV); - ACE_TRY_CHECK; - poa_manager->activate (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Obtain the event channel, we could use a naming service, a - // command line argument or resolve_initial_references(), but - // this is simpler... - object = - orb->string_to_object (argv[1], ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecEventChannelAdmin::EventChannel_var event_channel = - RtecEventChannelAdmin::EventChannel::_narrow (object.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // The canonical protocol to connect to the EC - RtecEventChannelAdmin::SupplierAdmin_var supplier_admin = - event_channel->for_suppliers (ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecEventChannelAdmin::ProxyPushConsumer_var consumer = - supplier_admin->obtain_push_consumer (ACE_TRY_ENV); - ACE_TRY_CHECK; - - RtecEventComm::PushSupplier_var supplier = - this->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Simple publication, but usually the helper classes in - // $TAO_ROOT/orbsvcs/Event_Utils.h are a better way to do this. - RtecEventChannelAdmin::SupplierQOS qos; - qos.publications.length (1); - RtecEventComm::EventHeader& h0 = - qos.publications[0].event.header; - h0.type = ACE_ES_EVENT_UNDEFINED; // first free event type - h0.source = 1; // first free event source - - consumer->connect_push_supplier (supplier.in (), qos, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Push the events... - ACE_Time_Value sleep_time (0, 10000); // 10 milliseconds - - RtecEventComm::EventSet event (1); - event.length (1); - event[0].header.type = ACE_ES_EVENT_UNDEFINED; - event[0].header.source = 1; - event[0].header.ttl = 1; - - for (int i = 0; i != 2000; ++i) - { - consumer->push (event, ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_OS::sleep (sleep_time); - } - - // Disconnect from the EC - consumer->disconnect_push_consumer (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Destroy the EC.... - event_channel->destroy (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Deactivate this object... - PortableServer::ObjectId_var id = - poa->servant_to_id (this, ACE_TRY_ENV); - ACE_TRY_CHECK; - poa->deactivate_object (id.in (), ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Destroy the POA - poa->destroy (1, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Supplier::run"); - return 1; - } - ACE_ENDTRY; - return 0; -} - -void -Supplier::disconnect_push_supplier (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ -} - -// **************************************************************** - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Supplier.h b/TAO/orbsvcs/examples/RtEC/Simple/Supplier.h deleted file mode 100644 index 8a858f353c1..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/Supplier.h +++ /dev/null @@ -1,57 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// ORBSVCS Real-time Event Channel examples -// -// = FILENAME -// Supplier -// -// = AUTHOR -// Carlos O'Ryan (coryan@cs.wustl.edu) -// -// ============================================================================ - -#ifndef SUPPLIER_H -#define SUPPLIER_H - -#include "orbsvcs/RtecEventCommS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class Supplier : public POA_RtecEventComm::PushSupplier -{ - // = TITLE - // Simple supplier object - // - // = DESCRIPTION - // This class is a supplier of events. - // It simply register for two event typesone event type - // The class is just a helper to simplify common tasks in EC - // tests, such as subscribing for a range of events, disconnecting - // from the EC, informing the driver of shutdown messages, etc. - // - // There are several ways to connect and disconnect this class, - // and it is up to the driver program to use the right one. - // -public: - Supplier (void); - // Constructor - - int run (int argc, char* argv[]); - // Run the test - - // = The RtecEventComm::PushSupplier methods - - virtual void disconnect_push_supplier (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)); - // The skeleton methods. - -private: -}; - -#endif /* SUPPLIER_H */ diff --git a/TAO/orbsvcs/examples/RtEC/Simple/ec.conf b/TAO/orbsvcs/examples/RtEC/Simple/ec.conf deleted file mode 100644 index 7d8d203c610..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/ec.conf +++ /dev/null @@ -1,2 +0,0 @@ -# $Id$ -static EC_Factory "-ECPushSupplierSet delayed -ECDispatching reactive -ECFiltering basic -ECSupplierFiltering per-supplier -ECProxyConsumerLock thread -ECProxySupplierLock thread -ECConsumerAdminLock null -ECSupplierAdminLock thread" diff --git a/TAO/orbsvcs/examples/RtEC/Simple/run_test.pl b/TAO/orbsvcs/examples/RtEC/Simple/run_test.pl deleted file mode 100755 index 5b00af5aab4..00000000000 --- a/TAO/orbsvcs/examples/RtEC/Simple/run_test.pl +++ /dev/null @@ -1,56 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -unshift @INC, '../../../../../bin'; -require Process; -require ACEutils; - -$iorfile = "ec.ior"; - -unlink $iorfile; - -$T = Process::Create ($EXEPREFIX."Service".$EXE_EXT, - " -ORBsvcconf ec.conf -o $iorfile"); - -if (ACE::waitforfile_timed ($iorfile, 15) == -1) { - print STDERR "ERROR: cannot find file <$iorfile>\n"; - $NS->Kill (); $NS->TimedWait (1); - exit 1; -} - -$C = Process::Create ($EXEPREFIX."Consumer".$EXE_EXT, - " file://$iorfile"); - -sleep 5; - -$S = Process::Create ($EXEPREFIX."Supplier".$EXE_EXT, - " file://$iorfile"); - -if ($S->TimedWait (120) == -1) { - print STDERR "ERROR: supplier timedout\n"; - $S->Kill (); $S->TimedWait (1); - $C->Kill (); $C->TimedWait (1); - $T->Kill (); $T->TimedWait (1); - exit 1; -} - -if ($C->TimedWait (15) == -1) { - print STDERR "ERROR: consumer timedout\n"; - $C->Kill (); $C->TimedWait (1); - $T->Kill (); $T->TimedWait (1); - exit 1; -} - -$T->Terminate (); if ($T->TimedWait (5) == -1) { - print STDERR "ERROR: cannot terminate service\n"; - $T->Kill (); $T->TimedWait (1); - exit 1; -} - -unlink $iorfile; - -exit 0; diff --git a/TAO/orbsvcs/orbsvcs.dsw b/TAO/orbsvcs/orbsvcs.dsw deleted file mode 100644 index bd98922ee09..00000000000 --- a/TAO/orbsvcs/orbsvcs.dsw +++ /dev/null @@ -1,149 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "Concurrency_Service"=.\Concurrency_Service\Concurrency_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name orbsvcs - End Project Dependency -}}} - -############################################################################### - -Project: "CosEvent_Service"=.\CosEvent_Service\CosEvent_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name orbsvcs - End Project Dependency -}}} - -############################################################################### - -Project: "Dump_Schedule"=.\Dump_Schedule\Dump_Schedule.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name orbsvcs - End Project Dependency -}}} - -############################################################################### - -Project: "Event_Service"=.\Event_Service\Event_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name orbsvcs - End Project Dependency -}}} - -############################################################################### - -Project: "LifeCycle_Service"=.\LifeCycle_Service\LifeCycle_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name orbsvcs - End Project Dependency -}}} - -############################################################################### - -Project: "Naming_Service"=.\Naming_Service\Naming_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name orbsvcs - End Project Dependency -}}} - -############################################################################### - -Project: "Scheduling_Service"=.\Scheduling_Service\Scheduling_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name orbsvcs - End Project Dependency -}}} - -############################################################################### - -Project: "Trading_Service"=.\Trading_Service\Trading_Service.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name orbsvcs - End Project Dependency -}}} - -############################################################################### - -Project: "orbsvcs"=.\orbsvcs\orbsvcs.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp deleted file mode 100644 index 4c0bcdb02ce..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp +++ /dev/null @@ -1,2694 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// AVStreams_i.cpp -// -// = AUTHOR -// Sumedh Mungee -// Nagarajan Surendran -// -// -// ============================================================================ - -#include "AVStreams_i.h" -#include "orbsvcs/Trader/Trader.h" - -ACE_RCSID(AV, AVStreams_i, "$Id$") - -// ---------------------------------------------------------------------- -// AV_Null_MediaCtrl -// ---------------------------------------------------------------------- -AV_Null_MediaCtrl::AV_Null_MediaCtrl (void) -{ -} - - -// ---------------------------------------------------------------------- -// TAO_Basic_StreamCtrl -// ---------------------------------------------------------------------- - -// Constructor -TAO_Basic_StreamCtrl::TAO_Basic_StreamCtrl (void) - :flow_count_ (0) -{ -} - -TAO_Basic_StreamCtrl::~TAO_Basic_StreamCtrl (void) -{ -} - -// Stop the transfer of data of the stream -// Empty the_spec means apply operation to all flows -void -TAO_Basic_StreamCtrl::stop (const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)) - -{ - if (CORBA::is_nil (this->sep_a_.in ())) - return; - - // Make the upcall into the application - this->sep_a_->stop (the_spec, ACE_TRY_ENV); -} - -// Start the transfer of data in the stream. -// Empty the_spec means apply operation to all flows -void -TAO_Basic_StreamCtrl::start (const AVStreams::flowSpec &flow_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)) -{ - // call start on the flow connections. - if (CORBA::is_nil (this->sep_a_.in ())) - return; - - // Make the upcall into the application - this->sep_a_->start (flow_spec, ACE_TRY_ENV); -} - -// Tears down the stream. This will close the connection, and delete -// the streamendpoint and vdev associated with this stream -// Empty the_spec means apply operation to all flows -void -TAO_Basic_StreamCtrl::destroy (const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)) -{ - if (CORBA::is_nil (this->sep_a_.in ())) - return; - - // Make the upcall into the application - this->sep_a_->destroy (the_spec, ACE_TRY_ENV); -} - -// Changes the QoS associated with the stream -// Empty the_spec means apply operation to all flows -CORBA::Boolean -TAO_Basic_StreamCtrl::modify_QoS (AVStreams::streamQoS & new_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)) -{ - ACE_TRY - { - this->vdev_a_->modify_QoS (new_qos,the_spec,ACE_TRY_ENV); - ACE_TRY_CHECK; - this->vdev_b_->modify_QoS (new_qos,the_spec,ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_Basic_StreamCtrl::modify_QoS"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return 1; -} - -// Used by StreamEndPoint and VDev to inform StreamCtrl of events. -// E.g., loss of flow, reestablishment of flow, etc.. -void -TAO_Basic_StreamCtrl::push_event (const struct CosPropertyService::Property & /* the_event */, - CORBA::Environment & /* ACE_TRY_ENV */) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG,"\n(%P|%t) Recieved event \"")); -} - -// @@ Need to throw not-supported exception here -void -TAO_Basic_StreamCtrl::set_FPStatus (const AVStreams::flowSpec &/* the_spec */, - const char * /* fp_name */, - const CORBA::Any &/* fp_settings */, - CORBA::Environment &/* ACE_TRY_ENV */) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::FPError)) - -{ -} - -// @@ Need to throw not-supported exception here -CORBA::Object_ptr -TAO_Basic_StreamCtrl::get_flow_connection (const char *flow_name, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::notSupported)) -{ - TAO_String_Hash_Key flow_name_key (flow_name); - FlowConnection_Map::ENTRY *flow_connection_entry = 0; - if (this->flow_map_.find (flow_name_key,flow_connection_entry) == 0) - return flow_connection_entry->int_id_; - else - ACE_THROW_RETURN (AVStreams::noSuchFlow (),CORBA::Object::_nil ()); -} - -// @@ Need to throw not-supported exception here -void -TAO_Basic_StreamCtrl::set_flow_connection (const char *flow_name, - CORBA::Object_ptr flow_connection, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::notSupported)) -{ - // add the flowname and the flowconnection to the hashtable. - this->flows_ [this->flow_count_++] = CORBA::string_dup (flow_name); - TAO_String_Hash_Key flow_name_key (flow_name); - if (this->flow_map_.bind (flow_name_key,flow_connection) != 0) - ACE_THROW (AVStreams::noSuchFlow ());// is this right? -} - - -// ---------------------------------------------------------------------- -// TAO_Negotiator -// ---------------------------------------------------------------------- - -CORBA::Boolean -TAO_Negotiator::negotiate (AVStreams::Negotiator_ptr /* remote_negotiator */, - const AVStreams::streamQoS &/* qos_spec */, - CORBA::Environment &/* ACE_TRY_ENV */) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return 0; -} - -// ---------------------------------------------------------------------- -// TAO_StreamCtrl -// ---------------------------------------------------------------------- - -TAO_StreamCtrl::TAO_StreamCtrl (void) - :mcastconfigif_ (0), - mcastconfigif_ptr_ (0) -{ -} - -TAO_StreamCtrl::~TAO_StreamCtrl (void) -{ -} - -// request the two MMDevices to create vdev and stream endpoints. save -// the references returned. - -// The interaction diagram for this method is on page 13 of the spec -CORBA::Boolean -TAO_StreamCtrl::bind_devs (AVStreams::MMDevice_ptr a_party, - AVStreams::MMDevice_ptr b_party, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_flows, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)) -{ - // do a Qos Translation from application level Qos to Network level Qos?? - ACE_TRY - { - if (CORBA::is_nil (a_party) && CORBA::is_nil (b_party)) - ACE_ERROR_RETURN ((LM_ERROR,"Both parties are nil\n"),0); - // Check to see if we have non-nil parties to bind! - if (CORBA::is_nil (a_party) || - CORBA::is_nil (b_party)) - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) TAO_StreamCtrl::bind_devs: " - "a_party or b_party is null" - "Multicast mode\n")); - - // Request a_party to create the endpoint and vdev - CORBA::Boolean met_qos; - CORBA::String_var named_vdev; - AVStreams::StreamCtrl_var streamctrl = - this->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - if (!CORBA::is_nil (a_party)) - { - this->sep_a_ = - a_party-> create_A (streamctrl.in (), - this->vdev_a_.out (), - the_qos, - met_qos, - named_vdev.inout (), - the_flows, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) TAO_StreamCtrl::create_A: succeeded\n")); - } - - // Request b_party to create the endpoint and vdev - - if (!CORBA::is_nil (b_party)) - { - this->sep_b_ = - b_party-> create_B (streamctrl.in (), - this->vdev_b_.out (), - the_qos, - met_qos, - named_vdev.inout (), - the_flows, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) TAO_StreamCtrl::create_B: succeeded\n")); - ACE_DEBUG ((LM_DEBUG, - "\n(%P|%t)stream_endpoint_b_ = %s", - TAO_ORB_Core_instance ()->orb ()->object_to_string (this->sep_b_.in (), - ACE_TRY_ENV))); - ACE_TRY_CHECK; - } - - if (CORBA::is_nil (b_party)) - { - if (this->mcastconfigif_ != 0) - { - ACE_NEW_RETURN (this->mcastconfigif_, - TAO_MCastConfigIf, - 0); - this->mcastconfigif_ptr_ = this->mcastconfigif_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - // Multicast source being added. - CORBA::Boolean result = this->vdev_a_->set_Mcast_peer (streamctrl.in (), - this->mcastconfigif_ptr_, - the_qos, - the_flows, - ACE_TRY_ENV); - if (!result) - ACE_ERROR_RETURN ((LM_ERROR,"set_Mcast_peer failed\n"),0); - } - - if (CORBA::is_nil (a_party)) - { - // Multicast sink being added. - if (this->mcastconfigif_ != 0) - ACE_ERROR_RETURN ((LM_ERROR,"first add a source and then a sink\n"),0); - this->mcastconfigif_->set_peer (this->vdev_b_.in (), - the_qos, - the_flows, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->sep_a_->connect_leaf (this->sep_b_.in (), - the_qos, - the_flows, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - - if (!CORBA::is_nil (a_party) && !CORBA::is_nil (b_party)) - { - // Tell the 2 VDev's about one another - this->vdev_a_->set_peer (streamctrl.in (), - this->vdev_b_.in (), - the_qos, - the_flows, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - this->vdev_b_->set_peer (streamctrl.in (), - this->vdev_a_.in (), - the_qos, - the_flows, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - - // Now connect the streams together. This will - // establish the connection - this->sep_a_->connect (this->sep_b_.in (), - the_qos, - the_flows, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_StreamCtrl::bind_devs"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return 1; -} - -// Used to establish a connection between two endpoints -// directly, i.e. without a MMDevice -CORBA::Boolean -TAO_StreamCtrl::bind (AVStreams::StreamEndPoint_A_ptr sep_a, - AVStreams::StreamEndPoint_B_ptr sep_b, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_flows, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)) -{ - this->sep_a_ = sep_a; - this->sep_b_ = sep_b; - - ACE_TRY - { - if (CORBA::is_nil (sep_a) || - CORBA::is_nil (sep_b)) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) TAO_StreamCtrl::bind:" - "a_party or b_party null!"), - 0); - - // since its full profile we do the viable stream setup algorithm. - // get the flows for the A streamendpoint. - if (the_flows.length () == 0) - { - // the flows spec is empty and hence we do a exhaustive match. - AVStreams::flowSpec *a_flows = 0,*b_flows = 0; - AVStreams::FlowEndPoint_seq a_feps,b_feps; - CORBA::Any_ptr flows_any; - flows_any = sep_a->get_property_value ("Flows",ACE_TRY_ENV); - ACE_TRY_CHECK; - *flows_any >>= a_flows; - flows_any = sep_b->get_property_value ("Flows",ACE_TRY_ENV); - ACE_TRY_CHECK; - *flows_any >>= b_flows; - u_int i; - for (i=0;ilength ();i++) - { - // get the flowendpoint references. - CORBA::Object_ptr fep_obj; - fep_obj = sep_a->get_fep ((*a_flows)[i], - ACE_TRY_ENV); - ACE_TRY_CHECK; - AVStreams::FlowEndPoint_ptr fep; - fep = AVStreams::FlowEndPoint::_narrow (fep_obj, - ACE_TRY_ENV); - ACE_TRY_CHECK; - a_feps [i] = fep; - } - // get the flowendpoints for streamendpoint_b - for (i=0;ilength ();i++) - { - // get the flowendpoint references. - CORBA::Object_ptr fep_obj; - fep_obj = sep_b->get_fep ((*b_flows)[i], - ACE_TRY_ENV); - ACE_TRY_CHECK; - AVStreams::FlowEndPoint_ptr fep; - fep = AVStreams::FlowEndPoint::_narrow (fep_obj, - ACE_TRY_ENV); - ACE_TRY_CHECK; - b_feps [i] = fep; - } - // Now go thru the list of flow endpoint and match them. - // uses the first match policy. - for (i=0;iget_connected_fep () != 0) - { - if (fep_a->is_fep_compatible (fep_b, - ACE_TRY_ENV) == 1) - { - // assume that flow names are same so that we - // can use either of them. - CORBA::Object_ptr flow_connection_obj; - AVStreams::FlowConnection_ptr flow_connection; - if ((flow_connection_obj - = this->get_flow_connection ((*a_flows)[i],ACE_TRY_ENV))!= 0) - { - flow_connection = AVStreams::FlowConnection::_narrow (flow_connection_obj,ACE_TRY_ENV); - ACE_TRY_CHECK; - } - else - { - TAO_FlowConnection *flowConnection; - ACE_NEW_RETURN (flowConnection,TAO_FlowConnection,0); - flow_connection = flowConnection->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - // make sure that a_feps is flow_producer and b_feps is flow_consumer - // There should be a way to find which flow endpoint is producer and which is consumer. - AVStreams::FlowProducer_ptr producer = - AVStreams::FlowProducer::_narrow (fep_a,ACE_TRY_ENV); - ACE_TRY_CHECK; - AVStreams::FlowConsumer_ptr consumer = - AVStreams::FlowConsumer::_narrow (fep_b,ACE_TRY_ENV); - ACE_TRY_CHECK; - // what should be passed to QoS? - flow_connection->connect (producer,consumer,the_qos [0],ACE_TRY_ENV); - fep_a->set_peer (flow_connection,fep_b,the_qos[0],ACE_TRY_ENV); - fep_b->set_peer (flow_connection,fep_a,the_qos[0],ACE_TRY_ENV); - } - } - } - } - } - else - { - // since the flow spec is not empty we need to query for the - // flows mentioned on both the A and B sides. - // not implemented yet. - } - } - ACE_CATCHANY - { - // error was thrown because one of the streamendpoints is light profile. - // Now connect the streams together - this->sep_a_->connect (this->sep_b_.in (), - the_qos, - the_flows, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return 1; -} - -void -TAO_StreamCtrl::unbind (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -void -TAO_StreamCtrl::unbind_party (AVStreams::StreamEndPoint_ptr the_ep, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow)) -{ - ACE_UNUSED_ARG (the_ep); - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -void -TAO_StreamCtrl::unbind_dev (AVStreams::MMDevice_ptr /* dev */, - const AVStreams::flowSpec & /* the_spec */, - CORBA::Environment &/* ACE_TRY_ENV */) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow)) -{ - -} - -AVStreams::VDev_ptr -TAO_StreamCtrl::get_related_vdev (AVStreams::MMDevice_ptr /* adev */, - AVStreams::StreamEndPoint_out /* sep */, - CORBA::Environment &/* ACE_TRY_ENV */) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed)) -{ - return AVStreams::VDev::_nil (); -} - -CORBA::Boolean -TAO_StreamCtrl::modify_QoS (AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)) -{ - if (this->mcastconfigif_ != 0) - { - // call modify_Qos on the root VDev which is the mcast configif. - ACE_DEBUG ((LM_DEBUG,"Cannot Modify the Qos for multipoint streams\n")); - } - else - { - TAO_Basic_StreamCtrl::modify_QoS (the_qos,the_spec,ACE_TRY_ENV); - } - return 1; -} - -// ---------------------------------------------------------------------- -// TAO_MCastConfigIf -// ---------------------------------------------------------------------- - -CORBA::Boolean -TAO_MCastConfigIf::set_peer (CORBA::Object_ptr /* peer */, - AVStreams::streamQoS & /* the_qos */, - const AVStreams::flowSpec & /* the_spec */, - CORBA::Environment &/* ACE_TRY_ENV */) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)) -{ - return 0; -} - -void -TAO_MCastConfigIf::configure (const CosPropertyService::Property & /* a_configuration */, - CORBA::Environment &/* ACE_TRY_ENV */) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ -} - -void -TAO_MCastConfigIf::set_initial_configuration (const CosPropertyService::Properties & /* initial */, - CORBA::Environment &/* ACE_TRY_ENV */) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ -} - -void -TAO_MCastConfigIf::set_format (const char * /* flowName */, - const char * /* format_name */, - CORBA::Environment &/* ACE_TRY_ENV */) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)) -{ -} - -void -TAO_MCastConfigIf::set_dev_params (const char * /* flowName */, - const CosPropertyService::Properties & /* new_params */, - CORBA::Environment &/* ACE_TRY_ENV */) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::PropertyException, - AVStreams::streamOpFailed)) -{ -} - -// ---------------------------------------------------------------------- -// TAO_Base_StreamEndPoint -// ---------------------------------------------------------------------- - -TAO_Base_StreamEndPoint::~TAO_Base_StreamEndPoint (void) -{ -} - -int -TAO_Base_StreamEndPoint::handle_close (void) -{ - // This method should not be defined, but EGCS complains endlessly - // about it. - return -1; -} - - -// ---------------------------------------------------------------------- -// TAO_Client_StreamEndPoint -// ---------------------------------------------------------------------- - -TAO_Client_StreamEndPoint::TAO_Client_StreamEndPoint (void) -{ - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) TAO_Client_StreamEndPoint::TAO_Client_StreamEndPoint: created\n")); -} - -CORBA::Boolean -TAO_Client_StreamEndPoint::connect (AVStreams::StreamEndPoint_ptr responder, - AVStreams::streamQoS &qos_spec, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)) -{ - CORBA::Boolean retv = 0; - - ACE_TRY - { - AVStreams::flowSpec flow_spec (the_spec); - this->handle_preconnect (flow_spec); - - AVStreams::StreamEndPoint_var streamendpoint = this->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - // Use the base class implementation of connect - responder->request_connection (streamendpoint.in (), - 0, - qos_spec, - flow_spec, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - // Make the upcall to the app - retv = this->handle_postconnect (flow_spec); - } - ACE_CATCHANY - { - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return retv; -} - - -// @@ Need to throw not-supported exception here -CORBA::Boolean -TAO_Client_StreamEndPoint::multiconnect (AVStreams::streamQoS &the_qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)) -{ - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// Multicast is not supported yet. -CORBA::Boolean -TAO_Client_StreamEndPoint::connect_leaf (AVStreams::StreamEndPoint_B_ptr the_ep, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_flows, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::notSupported)) -{ - ACE_UNUSED_ARG (the_ep); - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (the_flows); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// Multicast not supported yet. -void -TAO_Client_StreamEndPoint::disconnect_leaf (AVStreams::StreamEndPoint_B_ptr the_ep, - const AVStreams::flowSpec &theSpec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow)) -{ - ACE_UNUSED_ARG (the_ep); - ACE_UNUSED_ARG (theSpec); - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -TAO_Client_StreamEndPoint::~TAO_Client_StreamEndPoint (void) -{ -} - -// ---------------------------------------------------------------------- -// TAO_Server_StreamEndPoint -// ---------------------------------------------------------------------- - -TAO_Server_StreamEndPoint::TAO_Server_StreamEndPoint (void) -{ - ACE_DEBUG ((LM_DEBUG, - "\n(%P|%t) TAO_Server_StreamEndPoint::TAO_Server_StreamEndPoint: created")); -} - - -// Called by streamctrl, requesting us to call request_connection -// on the responder (to initiate a connection) -CORBA::Boolean -TAO_Server_StreamEndPoint::connect (AVStreams::StreamEndPoint_ptr responder, - AVStreams::streamQoS &qos_spec, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)) -{ - ACE_UNUSED_ARG (responder); - ACE_UNUSED_ARG (qos_spec); - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (ACE_TRY_ENV); - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Calling TAO_Server_StreamEndPoint::connect" - " is not compatible with the spec!" - "\n"), - 0); -} - -CORBA::Boolean -TAO_Server_StreamEndPoint::request_connection (AVStreams::StreamEndPoint_ptr initiator, - CORBA::Boolean is_mcast, - AVStreams::streamQoS &qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpDenied, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::FPError)) -{ - int result = 0; - ACE_TRY - { - // Use the base class implementation of request_connection - TAO_StreamEndPoint::request_connection (initiator, - is_mcast, - qos, - the_spec, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - // Make the upcall to the app - result = this->handle_connection_requested (the_spec,ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_Server_StreamEndpoint::request_connection"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (1); - return result; -} - -CORBA::Boolean -TAO_Server_StreamEndPoint::multiconnect (AVStreams::streamQoS &the_qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::FPError)) -{ - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -TAO_Server_StreamEndPoint::~TAO_Server_StreamEndPoint (void) -{ -} - - -// ---------------------------------------------------------------------- -// TAO_StreamEndPoint -// ---------------------------------------------------------------------- - -// constructor. - -TAO_StreamEndPoint::TAO_StreamEndPoint (void) - :flow_count_ (1) -{ - // this->handle_open (); -} - -// Stop the physical flow of data on the stream -// Empty the_spec --> apply to all flows - -void -TAO_StreamEndPoint::stop (const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)) -{ - // Make the upcall into the app - this->handle_stop (the_spec, ACE_TRY_ENV); -} - -// Start the physical flow of data on the stream -// Empty the_spec --> apply to all flows - -void -TAO_StreamEndPoint::start (const AVStreams::flowSpec &flow_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)) -{ - // Make the upcall into the app - this->handle_start (flow_spec, ACE_TRY_ENV); -} - -// Close the connection - -void -TAO_StreamEndPoint::destroy (const AVStreams::flowSpec &/* the_spec */, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)) -{ -// // Make the upcall into the app -// this->handle_destroy (the_spec, ACE_TRY_ENV); - // - // Remove self from POA. Because of reference counting, the POA - // will automatically delete the servant when all pending requests - // on this servant are complete. - // - PortableServer::POA_var poa = this->_default_POA (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::ObjectId_var id = poa->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - poa->deactivate_object (id.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -// Called by our peer endpoint, requesting us to establish -// a connection - -CORBA::Boolean -TAO_StreamEndPoint::request_connection (AVStreams::StreamEndPoint_ptr initiator, - CORBA::Boolean is_mcast, - AVStreams::streamQoS &qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpDenied, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::FPError)) -{ - ACE_UNUSED_ARG (initiator); - ACE_UNUSED_ARG (is_mcast); - ACE_UNUSED_ARG (qos); - - ACE_DEBUG ((LM_DEBUG, "\n(%P|%t) TAO_StreamEndPoint::request_connection called")); - ACE_DEBUG ((LM_DEBUG, - "\n(%P|%t) TAO_StreamEndPoint::request_connection: " - "flowspec has length = %d" - "and the strings are:", - the_spec.length ())); - for (u_int i = 0; i < the_spec.length (); i++) - ACE_DEBUG ((LM_DEBUG, - the_spec [i])); - - return 0; -} - -// @@ Need to throw not-supported exception here - -CORBA::Boolean -TAO_StreamEndPoint::modify_QoS (AVStreams::streamQoS &new_qos, - const AVStreams::flowSpec &the_flows, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)) -{ - ACE_UNUSED_ARG (new_qos); - ACE_UNUSED_ARG (the_flows); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// @@ Need to throw not-supported exception here - -CORBA::Boolean -TAO_StreamEndPoint::set_protocol_restriction (const AVStreams::protocolSpec &the_pspec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_TRY - { - CORBA::Any protocol_restriction_any; - - protocol_restriction_any <<= the_pspec; - this->define_property ("ProtocolRestriction", - protocol_restriction_any, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_StreamEndPoint::set_protocol_restriction"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return 1; -} - - -void -TAO_StreamEndPoint::disconnect (const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::streamOpFailed)) -{ - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -// @@ Need to throw not-supported exception here - -void -TAO_StreamEndPoint::set_FPStatus (const AVStreams::flowSpec &the_spec, - const char *fp_name, - const CORBA::Any &fp_settings, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::FPError)) -{ - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (fp_name); - ACE_UNUSED_ARG (fp_settings); - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - - -CORBA::Object_ptr -TAO_StreamEndPoint::get_fep (const char *flow_name, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::noSuchFlow)) -{ - TAO_String_Hash_Key fep_name_key (flow_name); - FlowEndPoint_Map::ENTRY *fep_entry = 0; - if (this->fep_map_.find (fep_name_key,fep_entry) == 0) - return fep_entry->int_id_; - return 0; -} - - -char * -TAO_StreamEndPoint::add_fep (CORBA::Object_ptr the_fep, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::streamOpFailed)) -{ - char *flow_name = 0; - ACE_TRY_EX (flow_name); - { - ACE_NEW_RETURN (flow_name,char [BUFSIZ],0); - CORBA::Any_ptr flow_name_any; - AVStreams::FlowEndPoint_ptr fep = - AVStreams::FlowEndPoint::_narrow (the_fep,ACE_TRY_ENV); - ACE_TRY_CHECK_EX (flow_name); - flow_name_any = fep->get_property_value ("FlowName",ACE_TRY_ENV); - ACE_TRY_CHECK_EX (flow_name); - *flow_name_any >>= flow_name; - } - ACE_CATCHANY - { - // exception implies the flow name is not defined and is system generated. - ACE_OS::sprintf (flow_name,"flow%d",flow_num_++); - } - ACE_ENDTRY; - // Add it to the sequence of flowNames supported. - // put the flowname and the flowendpoint in a hashtable. - TAO_String_Hash_Key fep_name_key (flow_name); - if (this->fep_map_.bind (fep_name_key,the_fep) != 0) - { - ACE_THROW_RETURN (AVStreams::streamOpFailed (),0); - } - ACE_TRY_EX (flows) - { - // increment the flow count. - this->flow_count_++; - this->flows_.length (this->flow_count_); - this->flows_ [this->flow_count_-1] = flow_name; - // define/modify the "Flows" property. - CORBA::Any flows_any; - flows_any <<= this->flows_; - this->define_property ("Flows", - flows_any, - ACE_TRY_ENV); - ACE_TRY_CHECK_EX (flows); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_StreamEndPoint::add_fep"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return flow_name; -} - - -void -TAO_StreamEndPoint::remove_fep (const char *flow_name, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::streamOpFailed)) -{ - ACE_TRY - { - TAO_String_Hash_Key fep_name_key (flow_name); - CORBA::Object_ptr fep_entry = 0; - // Remove the fep from the hash table. - if (this->fep_map_.unbind (fep_name_key,fep_entry)!= 0) - ACE_THROW (AVStreams::streamOpFailed ()); - // redefine the "Flows" property - AVStreams::flowSpec new_flows (this->flows_.length ()); - for (u_int i=0,j=0 ; i flows_.length (); i++) - if (ACE_OS::strcmp (flow_name,this->flows_[i]) != 0) - new_flows[j++] = this->flows_[i]; - - CORBA::Any flows; - flows <<= new_flows; - this->flows_ = new_flows; - this->define_property ("Flows", - flows, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_StreamEndPoint::remove_fep"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -// @@ Need to throw not-supported exception here - -void -TAO_StreamEndPoint::set_negotiator (AVStreams::Negotiator_ptr new_negotiator, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_TRY - { - CORBA::Any negotiator; - negotiator <<= new_negotiator; - this->define_property ("Negotiator", - negotiator, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_StreamEndPoint::set_negotiator"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -// Sets the public key used for this streamendpoint. - -void -TAO_StreamEndPoint::set_key (const char *flow_name, - const AVStreams::key & the_key, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_TRY - { - - CORBA::Any PublicKey; - PublicKey <<= the_key; - char PublicKey_property [BUFSIZ]; - ACE_OS::sprintf (PublicKey_property,"%s_PublicKey",flow_name); - this->define_property (PublicKey_property, - PublicKey, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_StreamEndPoint::set_key"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -// Set the source id. - -void -TAO_StreamEndPoint::set_source_id (CORBA::Long source_id, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->source_id_ = source_id; -} - - -TAO_StreamEndPoint::~TAO_StreamEndPoint (void) -{ - //this->handle_close (); -} - -// ---------------------------------------------------------------------- -// TAO_VDev -// ---------------------------------------------------------------------- - -TAO_VDev::TAO_VDev (void) -{ - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) TAO_VDev::TAO_VDev: created\n")); -} - -// StreamCtrl will call this to give us a reference to itself, and to -// our peer vdev.. -CORBA::Boolean -TAO_VDev::set_peer (AVStreams::StreamCtrl_ptr the_ctrl, - AVStreams::VDev_ptr the_peer_dev, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)) -{ - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (the_spec); - - CORBA::Boolean result = 0; - ACE_TRY - { - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) TAO_VDev::set_peer: called")); - - CORBA::String_var ior = TAO_ORB_Core_instance ()->orb ()->object_to_string (the_peer_dev, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) TAO_VDev::set_peer: my peer is %s\n", - ior.in ())); - - CORBA::Any anyval; - anyval <<= ior.in (); - this->define_property ("Related_VDev", - anyval, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - - this->streamctrl_ = the_ctrl; - this->peer_ = the_peer_dev; - - CORBA::Any_ptr anyptr; - CORBA::String media_ctrl_ior; - anyptr = this->peer_->get_property_value ("Related_MediaCtrl", - ACE_TRY_ENV); - ACE_TRY_CHECK; - - if (anyptr != 0) - { - *anyptr >>= media_ctrl_ior; - ACE_DEBUG ((LM_DEBUG,"(%P|%t)The Media Control IOR is %s\n", - media_ctrl_ior)); - } - CORBA::Object_ptr media_ctrl_obj = - TAO_ORB_Core_instance ()->orb ()->string_to_object - (media_ctrl_ior,ACE_TRY_ENV); - ACE_TRY_CHECK; - - result = this->set_media_ctrl (media_ctrl_obj,ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_Server_StreamEndpoint::request_connection"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return result; -} - -CORBA::Boolean -TAO_VDev::set_media_ctrl (CORBA::Object_ptr media_ctrl, - CORBA::Environment &ACE_TRY_ENV) - -{ - ACE_UNUSED_ARG (media_ctrl); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 1; -} - -// Multicast is not supported yet. -CORBA::Boolean -TAO_VDev::set_Mcast_peer (AVStreams::StreamCtrl_ptr the_ctrl, - AVStreams::MCastConfigIf_ptr a_mcastconfigif, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)) -{ - ACE_UNUSED_ARG (the_ctrl); - ACE_UNUSED_ARG (a_mcastconfigif); - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// applications should override this to handle configuration changes. -void -TAO_VDev::configure (const CosPropertyService::Property &the_config_mesg, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::PropertyException, - AVStreams::streamOpFailed)) -{ - ACE_UNUSED_ARG (the_config_mesg); - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -// sets the media format used for the flowname as a property. -void -TAO_VDev::set_format (const char *flowName, - const char *format_name, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)) -{ - ACE_TRY - { - if (flowName == 0 || format_name == 0) - ACE_ERROR ((LM_ERROR,"TAO_VDev::set_format: flowName or format_name is null\n")); - char format_property [BUFSIZ]; - ACE_OS::sprintf (format_property,"%s_currFormat",flowName); - CORBA::Any format; - format <<= format_name; - this->define_property (format_property, - format, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_VDev::set_format"); - return; - } - ACE_ENDTRY; - ACE_CHECK; - return; -} - -// sets the device parameters for the flowname as a property. -void -TAO_VDev::set_dev_params (const char *flowName, - const CosPropertyService::Properties &new_params, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::PropertyException, - AVStreams::streamOpFailed)) -{ - ACE_TRY - { - - if (flowName == 0) - ACE_ERROR ((LM_ERROR,"TAO_VDev::set_dev_params:flowName is null\n")); - char devParams_property[BUFSIZ]; - ACE_OS::sprintf (devParams_property,"%s_devParams",flowName); - CORBA::Any devParams; - devParams <<= new_params; - this->define_property (devParams_property, - devParams, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_VDev::set_dev_params"); - return; - } - ACE_ENDTRY; - ACE_CHECK; - return; -} - -// QoS Modification should be handled by the application currently. -CORBA::Boolean -TAO_VDev::modify_QoS (AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)) -{ - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -TAO_VDev::~TAO_VDev (void) -{ -} - -// ---------------------------------------------------------------------- -// TAO_MMDevice -// ---------------------------------------------------------------------- - - -TAO_MMDevice::TAO_MMDevice (TAO_AV_Endpoint_Strategy *endpoint_strategy) - : endpoint_strategy_ (endpoint_strategy) -{ -} - -// create a streamctrl which is colocated with me, use that streamctrl -// to bind the peer_device with me. -AVStreams::StreamCtrl_ptr -TAO_MMDevice::bind (AVStreams::MMDevice_ptr peer_device, - AVStreams::streamQoS &the_qos, - CORBA::Boolean_out is_met, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)) -{ - AVStreams::StreamCtrl_ptr streamctrl (AVStreams::StreamCtrl::_nil ()); - ACE_TRY - { - ACE_UNUSED_ARG (is_met); - TAO_StreamCtrl *stream_ctrl; - ACE_NEW_RETURN (stream_ctrl, - TAO_StreamCtrl, - 0); - AVStreams::MMDevice_var mmdevice = - this->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - stream_ctrl->bind_devs (peer_device, - mmdevice.in (), - the_qos, - the_spec, - ACE_TRY_ENV); - ACE_TRY_CHECK; - streamctrl = stream_ctrl->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_MMDevice::bind"); - return streamctrl; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (streamctrl); - return streamctrl; -} - -// Multicast is not supported yet. -AVStreams::StreamCtrl_ptr -TAO_MMDevice::bind_mcast (AVStreams::MMDevice_ptr first_peer, - AVStreams::streamQoS &the_qos, - CORBA::Boolean_out is_met, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)) -{ - ACE_UNUSED_ARG (first_peer); - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (is_met); - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -AVStreams::StreamEndPoint_A_ptr -TAO_MMDevice::create_A (AVStreams::StreamCtrl_ptr the_requester, - AVStreams::VDev_out the_vdev, - AVStreams::streamQoS &the_qos, - CORBA::Boolean_out met_qos, - char *&named_vdev, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed, - AVStreams::noSuchFlow)) -{ - ACE_UNUSED_ARG (the_requester); - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (met_qos); - ACE_UNUSED_ARG (named_vdev); - ACE_UNUSED_ARG (the_spec); - - AVStreams::StreamEndPoint_A_ptr ptr (AVStreams::StreamEndPoint_A::_nil ()); - ACE_TRY - { - // In full profile application can override this to use FDevs. - - if (this->endpoint_strategy_->create_A (ptr, - the_vdev, - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Error in create_A\n"), - 0); - - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_MMDevice::create_A"); - return ptr; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (ptr); - return ptr; -} - - -AVStreams::StreamEndPoint_B_ptr -TAO_MMDevice::create_B (AVStreams::StreamCtrl_ptr the_requester, - AVStreams::VDev_out the_vdev, - AVStreams::streamQoS &the_qos, - CORBA::Boolean_out met_qos, - char *&named_vdev, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed, - AVStreams::noSuchFlow)) -{ - ACE_UNUSED_ARG (the_requester); - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (met_qos); - ACE_UNUSED_ARG (named_vdev); - ACE_UNUSED_ARG (the_spec); - - // In full profile application can override this to use FDevs. - AVStreams::StreamEndPoint_B_ptr ptr (AVStreams::StreamEndPoint_B::_nil ()); - - ACE_TRY - { - if (this->endpoint_strategy_->create_B (ptr, - the_vdev, - ACE_TRY_ENV) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Error in create_B\n"), - 0); - - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_MMDevice::create_B"); - return ptr; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (ptr); - return ptr; -} - -// destroys the streamendpoint and the Vdev. -void -TAO_MMDevice::destroy (AVStreams::StreamEndPoint_ptr /* the_ep */, - const char * /* vdev_name */, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)) -{ - // Remove self from POA. Because of reference counting, the POA - // will automatically delete the servant when all pending requests - // on this servant are complete. - // - PortableServer::POA_var poa = this->_default_POA (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::ObjectId_var id = poa->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - poa->deactivate_object (id.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -// Adds the fdev object to the MMDevice. -char * -TAO_MMDevice::add_fdev (CORBA::Object_ptr the_fdev, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::streamOpFailed)) -{ - char *flow_name = 0; - ACE_TRY_EX (flow_name) - { - ACE_NEW_RETURN (flow_name,char [BUFSIZ],0); - CORBA::Any_ptr flow_name_any; - AVStreams::FDev_ptr fdev = - AVStreams::FDev::_narrow (the_fdev,ACE_TRY_ENV); - ACE_TRY_CHECK_EX (flow_name); - flow_name_any = fdev->get_property_value ("Flow",ACE_TRY_ENV); - ACE_TRY_CHECK_EX (flow_name); - *flow_name_any >>= flow_name; - } - ACE_CATCHANY - { - // exception implies the flow name is not defined and is system generated. - ACE_OS::sprintf (flow_name,"flow%d",flow_num_++); - } - ACE_ENDTRY; - // Add it to the sequence of flowNames supported. - // put the flowname and the fdev in a hashtable. - TAO_String_Hash_Key fdev_name_key (flow_name); - if (this->fdev_map_.bind (fdev_name_key,the_fdev) != 0) - ACE_THROW_RETURN (AVStreams::streamOpFailed (),0); - - // increment the flow count. - this->flow_count_++; - this->flows_.length (this->flow_count_); - this->flows_ [this->flow_count_-1] = flow_name; - // define/modify the "Flows" property. - CORBA::Any flows_any; - flows_any <<= this->flows_; - ACE_TRY_EX (flows) - { - this->define_property ("Flows", - flows_any, - ACE_TRY_ENV); - ACE_TRY_CHECK_EX (flows); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_MMDevice::add_fdev"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return flow_name; -} - -// Gets the FDev object associated with this flow. -CORBA::Object_ptr -TAO_MMDevice::get_fdev (const char *flow_name, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::noSuchFlow)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - - TAO_String_Hash_Key fdev_name_key (flow_name); - FDev_Map::ENTRY *fdev_entry = 0; - if (this->fdev_map_.find (fdev_name_key,fdev_entry) == 0) - return fdev_entry->int_id_; - return 0; -} - -// Removes the fdev from this MMDevice. -void -TAO_MMDevice::remove_fdev (const char *flow_name, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::noSuchFlow)) -{ - ACE_TRY - { - TAO_String_Hash_Key fdev_name_key (flow_name); - CORBA::Object_ptr fdev_entry = 0; - // Remove the fep from the hash table. - if (this->fdev_map_.unbind (flow_name,fdev_entry)!= 0) - ACE_THROW (AVStreams::noSuchFlow ()); - - AVStreams::flowSpec new_flows (this->flows_.length ()); - for (u_int i=0,j=0 ; i flows_.length (); i++) - if (ACE_OS::strcmp (flow_name,this->flows_[i]) != 0) - new_flows[j++] = this->flows_[i]; - - CORBA::Any flows; - flows <<= new_flows; - this->flows_ = new_flows; - this->define_property ("Flows", - flows, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_MMDevice::remove_fdev"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -// destructor. -TAO_MMDevice::~TAO_MMDevice (void) -{ -} - -//------------------------------------------------------------------ -// TAO_FlowConnection -//------------------------------------------------------------------ - -// default constructor. -TAO_FlowConnection::TAO_FlowConnection (void) - :producer_ (0), - consumer_ (0), - fp_name_ (0) -{ -} - -// stop this flow. -void -TAO_FlowConnection::stop (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -// start this flow. -void -TAO_FlowConnection::start (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -// destroy this flow. -void -TAO_FlowConnection::destroy (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Remove self from POA. Because of reference counting, the POA - // will automatically delete the servant when all pending requests - // on this servant are complete. - // - PortableServer::POA_var poa = this->_default_POA (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::ObjectId_var id = poa->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - poa->deactivate_object (id.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -// modify the QoS for this flow. -CORBA::Boolean -TAO_FlowConnection::modify_QoS (AVStreams::QoS & new_qos, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::QoSRequestFailed)) -{ - ACE_UNUSED_ARG (new_qos); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// use the specified flow protocol for this flow. -CORBA::Boolean -TAO_FlowConnection::use_flow_protocol (const char * fp_name, - const CORBA::Any & fp_settings, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::FPError, - AVStreams::notSupported)) -{ - ACE_UNUSED_ARG (fp_settings); - ACE_UNUSED_ARG (ACE_TRY_ENV); - this->fp_name_ = (char *)fp_name; - return 1; -} - -void -TAO_FlowConnection::push_event (const AVStreams::streamEvent & the_event, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (the_event); - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -CORBA::Boolean -TAO_FlowConnection::connect_devs (AVStreams::FDev_ptr a_party, - AVStreams::FDev_ptr b_party, - AVStreams::QoS & the_qos, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::QoSRequestFailed)) -{ - ACE_UNUSED_ARG (a_party); - ACE_UNUSED_ARG (b_party); - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// connect the producer and the consumer -CORBA::Boolean -TAO_FlowConnection::connect (AVStreams::FlowProducer_ptr flow_producer, - AVStreams::FlowConsumer_ptr flow_consumer, - AVStreams::QoS & the_qos, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::formatMismatch, - AVStreams::FEPMismatch, - AVStreams::alreadyConnected)) -{ - ACE_TRY - { - this->producer_ = flow_producer; - this->consumer_ = flow_consumer; - - AVStreams::FlowConnection_var flowconnection = - this->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - this->producer_->set_peer (flowconnection.in (), - this->consumer_, - the_qos, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->consumer_->set_peer (flowconnection.in (), - this->producer_, - the_qos, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - char *consumer_address = - this->consumer_->go_to_listen (the_qos, - 0,// false for is_mcast - this->producer_, - this->fp_name_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->producer_->connect_to_peer (the_qos, - consumer_address, - this->fp_name_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_FlowConnection::connect"); - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return 1; -} - - -CORBA::Boolean -TAO_FlowConnection::disconnect (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -CORBA::Boolean -TAO_FlowConnection::add_producer (AVStreams::FlowProducer_ptr flow_producer, - AVStreams::QoS & the_qos, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::alreadyConnected, - AVStreams::notSupported)) -{ - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (ACE_TRY_ENV); - this->producer_ = flow_producer; - return 1; -} - -CORBA::Boolean -TAO_FlowConnection::add_consumer (AVStreams::FlowConsumer_ptr flow_consumer, - AVStreams::QoS & the_qos, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::alreadyConnected)) -{ - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (ACE_TRY_ENV); - this->consumer_ = flow_consumer; - return 1; -} - -CORBA::Boolean -TAO_FlowConnection::drop (AVStreams::FlowEndPoint_ptr target, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notConnected)) -{ - ACE_UNUSED_ARG (target); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// ----------------------------------------------------------------- -// TAO_FlowEndPoint -// ----------------------------------------------------------------- - -//default constructor. -TAO_FlowEndPoint::TAO_FlowEndPoint (void) - :related_sep_ (0), - related_flow_connection_ (0) -{ -} - -// used by one flowconnection so that multiple connections cant use -// the same flowendpoint. -CORBA::Boolean -TAO_FlowEndPoint::lock (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // lock the current flowendpoint - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// unlocks the flowendpoint ,becomes free to be used in another flow. -void -TAO_FlowEndPoint::unlock (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -// The start,stop and destroy are to be handled by the application. -void -TAO_FlowEndPoint::stop (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -void -TAO_FlowEndPoint::start (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); -} - -void -TAO_FlowEndPoint::destroy (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Remove self from POA. Because of reference counting, the POA - // will automatically delete the servant when all pending requests - // on this servant are complete. - // - PortableServer::POA_var poa = this->_default_POA (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::ObjectId_var id = poa->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - poa->deactivate_object (id.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -AVStreams::StreamEndPoint_ptr -TAO_FlowEndPoint::related_sep (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - return this->related_sep_; -} - -void -TAO_FlowEndPoint::related_sep (AVStreams::StreamEndPoint_ptr related_sep, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - this->related_sep_ = related_sep; -} - -AVStreams::FlowConnection_ptr -TAO_FlowEndPoint::related_flow_connection (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - return this->related_flow_connection_; -} - -void -TAO_FlowEndPoint::related_flow_connection (AVStreams::FlowConnection_ptr related_flow_connection, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - this->related_flow_connection_ = related_flow_connection; -} - -// returns the connected peer for this flow -AVStreams::FlowEndPoint_ptr -TAO_FlowEndPoint::get_connected_fep (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notConnected, - AVStreams::notSupported)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - return this->peer_fep_; -} - -CORBA::Boolean -TAO_FlowEndPoint::use_flow_protocol (const char * fp_name, - const CORBA::Any & fp_settings, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::FPError, - AVStreams::notSupported)) -{ - ACE_UNUSED_ARG (fp_settings); - ACE_TRY - { - // Define the property called FlowProtocol - CORBA::Any flowname_property; - flowname_property <<= fp_name; - this->define_property ("FlowProtocol", - flowname_property, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_FlowEndPoint::use_flow_protocol"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return 1; -} - -void -TAO_FlowEndPoint::set_format (const char * format, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)) -{ - ACE_TRY - { - // make this a property so that is_fep_compatible can query this and - // check if 2 flowendpoints are compatible. - CORBA::Any format_val; - format_val <<= format; - this->define_property ("Format", - format_val, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_FlowEndpoint::set_format"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -void -TAO_FlowEndPoint::set_dev_params (const CosPropertyService::Properties & new_settings, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::PropertyException, - AVStreams::streamOpFailed)) -{ - ACE_TRY - { - CORBA::Any DevParams_property; - DevParams_property <<= new_settings; - this->define_property ("DevParams", - DevParams_property, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_FlowEndPoint::set_dev_params"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -void -TAO_FlowEndPoint::set_protocol_restriction (const AVStreams::protocolSpec & the_spec, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)) -{ - ACE_TRY - { - CORBA::Any AvailableProtocols_property; - AvailableProtocols_property <<= the_spec; - this->define_property ("AvailableProtocols", - AvailableProtocols_property, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_FlowEndpoint::set_protocol_restriction"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -CORBA::Boolean -TAO_FlowEndPoint::is_fep_compatible (AVStreams::FlowEndPoint_ptr peer_fep, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::formatMismatch, - AVStreams::deviceQosMismatch)) -{ - ACE_TRY - { - // check whether the passed flowendpoint is compatible with this flowendpoint. - // should we check for the availableFormats and choose one format. - // get my format value - CORBA::Any_ptr format_ptr; - CORBA::String my_format,peer_format; - format_ptr = this->get_property_value ("Format", - ACE_TRY_ENV); - ACE_TRY_CHECK; - if (format_ptr != 0) - *format_ptr >>= my_format; - else - // property is not defined - ACE_ERROR_RETURN ((LM_ERROR,"(%P|%t) TAO_FlowEndPoint::is_fep_compatible"),0); - - // get my peer's format value - - format_ptr = peer_fep->get_property_value ("Format", - ACE_TRY_ENV); - ACE_TRY_CHECK; - if (format_ptr != 0) - *format_ptr >>= peer_format; - else - // property is not defined - ACE_ERROR_RETURN ((LM_ERROR,"(%P|%t) TAO_FlowEndPoint::is_fep_compatible"),0); - - // can we use strcmp?? - if (ACE_OS::strcmp (my_format,peer_format) != 0) - return 0; - // since formats are same, check for a common protocol - CORBA::Any* AvailableProtocols_ptr; - AVStreams::protocolSpec *my_protocolSpec,*peer_protocolSpec; - - AvailableProtocols_ptr = this->get_property_value ("AvailableProtocols", - ACE_TRY_ENV); - ACE_TRY_CHECK; - if (AvailableProtocols_ptr != 0) - *AvailableProtocols_ptr >>= my_protocolSpec; - else - ACE_ERROR_RETURN ((LM_ERROR,"(%P|%t) TAO_FlowEndPoint::is_fep_compatible"),0); - - AvailableProtocols_ptr = peer_fep->get_property_value ("AvailableProtocols", - ACE_TRY_ENV); - ACE_TRY_CHECK; - if (AvailableProtocols_ptr != 0) - *AvailableProtocols_ptr >>= peer_protocolSpec; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_FlowEndPoint::is_fep_compatible"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return 1; -} - -CORBA::Boolean -TAO_FlowEndPoint::set_peer (AVStreams::FlowConnection_ptr the_fc, - AVStreams::FlowEndPoint_ptr the_peer_fep, - AVStreams::QoS & the_qos, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)) -{ - ACE_UNUSED_ARG (the_fc); - ACE_UNUSED_ARG (the_peer_fep); - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (ACE_TRY_ENV); - - this->peer_fep_ = the_peer_fep; - return 1; -} - -CORBA::Boolean -TAO_FlowEndPoint::set_Mcast_peer (AVStreams::FlowConnection_ptr the_fc, - AVStreams::MCastConfigIf_ptr a_mcastconfigif, - AVStreams::QoS & the_qos, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::QoSRequestFailed)) -{ - ACE_UNUSED_ARG (the_fc); - ACE_UNUSED_ARG (a_mcastconfigif); - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -char * -TAO_FlowEndPoint::go_to_listen (AVStreams::QoS & the_qos, - CORBA::Boolean is_mcast, - AVStreams::FlowProducer_ptr peer, - char *& flowProtocol, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::failedToListen, - AVStreams::FPError, - AVStreams::QoSRequestFailed)) -{ - return this->handle_go_to_listen (the_qos,is_mcast,peer,flowProtocol,ACE_TRY_ENV); -} - -char * -TAO_FlowEndPoint::handle_go_to_listen (AVStreams::QoS & the_qos, - CORBA::Boolean is_mcast, - AVStreams::FlowProducer_ptr peer, - char *& flowProtocol, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (is_mcast); - ACE_UNUSED_ARG (peer); - ACE_UNUSED_ARG (flowProtocol); - ACE_UNUSED_ARG (ACE_TRY_ENV); - - return 0; -} - -CORBA::Boolean -TAO_FlowEndPoint::connect_to_peer (AVStreams::QoS & the_qos, - const char * address, - const char * use_flow_protocol, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::failedToConnect, - AVStreams::FPError, - AVStreams::QoSRequestFailed)) -{ - // Right now since the A/V framework doesnt bother about the - // protocols we leave it to the application to handle the connection - // to its peer. When A/V Streams implements common protocol - // interaction like UDP and TCP this will be handled by the - // framework. - - return this->handle_connect_to_peer (the_qos,address,use_flow_protocol,ACE_TRY_ENV); -} - -CORBA::Boolean -TAO_FlowEndPoint::handle_connect_to_peer (AVStreams::QoS & the_qos, - const char * address, - const char * use_flow_protocol, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (address); - ACE_UNUSED_ARG (use_flow_protocol); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - - -// ------------------------------------------------------------ -// TAO_FlowProducer class -// ------------------------------------------------------------ - -//default constructor -TAO_FlowProducer::TAO_FlowProducer (void) -{ -} - -// multicast is currently not supported -char * -TAO_FlowProducer::connect_mcast (AVStreams::QoS & the_qos, - CORBA::Boolean_out is_met, - const char * address, - const char * use_flow_protocol, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::failedToConnect, - AVStreams::notSupported, - AVStreams::FPError, - AVStreams::QoSRequestFailed)) -{ - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (is_met); - ACE_UNUSED_ARG (address); - ACE_UNUSED_ARG (use_flow_protocol); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// gets the reverse channel for feedback. -char * -TAO_FlowProducer::get_rev_channel (const char * pcol_name, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (pcol_name); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// sets the key for this flow. -void -TAO_FlowProducer::set_key (const AVStreams::key & the_key, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_TRY - { - CORBA::Any anyval; - anyval <<= the_key; - this->define_property ("PublicKey", - anyval, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_FlowProducer::set_key"); - } - ACE_ENDTRY; - ACE_CHECK; -} - -// source id to be used to distinguish this source from others. -void -TAO_FlowProducer::set_source_id (CORBA::Long source_id, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - this->source_id_ = source_id; -} - -// ------------------------------------------------------------ -// TAO_FlowConsumer -// ------------------------------------------------------------ - - -// default constructor. -TAO_FlowConsumer::TAO_FlowConsumer (void) -{ -} - -// ------------------------------------------------------------ -// TAO_FDev -// ------------------------------------------------------------ - -// default constructor -TAO_FDev::TAO_FDev (void) - :producer_ (0), - consumer_ (0) -{ -} - -AVStreams::FlowProducer_ptr -TAO_FDev::create_producer (AVStreams::FlowConnection_ptr the_requester, - AVStreams::QoS & the_qos, - CORBA::Boolean_out met_qos, - char *& named_fdev, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed)) -{ - // call the bridge method. - this->producer_ = this->make_producer (the_requester, - the_qos, - met_qos, - named_fdev, - ACE_TRY_ENV); - return this->producer_; -} - -// hook for the applications to override the creation process. -AVStreams::FlowProducer_ptr -TAO_FDev::make_producer (AVStreams::FlowConnection_ptr /* the_requester */, - AVStreams::QoS & /* the_qos */, - CORBA::Boolean_out /* met_qos */, - char *& /* named_fdev */, - CORBA::Environment &ACE_TRY_ENV) -{ - AVStreams::FlowProducer_ptr flow_producer = AVStreams::FlowProducer::_nil (); - ACE_TRY - { - // memory leak?? - TAO_FlowProducer *producer; - ACE_NEW_RETURN (producer, - TAO_FlowProducer, - 0); - - flow_producer = producer->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_FDev::make_producer"); - return flow_producer; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (flow_producer); - return flow_producer; -} - -// hook for the applications to override the consumer creation. -AVStreams::FlowConsumer_ptr -TAO_FDev::make_consumer (AVStreams::FlowConnection_ptr /* the_requester */, - AVStreams::QoS & /* the_qos */, - CORBA::Boolean_out /* met_qos */, - char *& /* named_fdev */, - CORBA::Environment &ACE_TRY_ENV) -{ - AVStreams::FlowConsumer_ptr flow_consumer = AVStreams::FlowConsumer::_nil (); - ACE_TRY - { - - // memory leak?? - TAO_FlowConsumer *consumer; - ACE_NEW_RETURN (consumer, - TAO_FlowConsumer, - 0); - flow_consumer = consumer->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_FDev::make_consumer"); - return flow_consumer; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (flow_consumer); - return flow_consumer; -} - -AVStreams::FlowConsumer_ptr -TAO_FDev::create_consumer (AVStreams::FlowConnection_ptr the_requester, - AVStreams::QoS & the_qos, - CORBA::Boolean_out met_qos, - char *& named_fdev, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed)) -{ - this->consumer_ = this->make_consumer (the_requester, - the_qos, - met_qos, - named_fdev, - ACE_TRY_ENV); - return this->consumer_; -} - -// not implemented yet. -AVStreams::FlowConnection_ptr -TAO_FDev::bind (AVStreams::FDev_ptr peer_device, - AVStreams::QoS & the_qos, - CORBA::Boolean_out is_met, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::QoSRequestFailed)) -{ - ACE_UNUSED_ARG (peer_device); - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (is_met); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -// multicast is not supported yet. -AVStreams::FlowConnection_ptr -TAO_FDev::bind_mcast (AVStreams::FDev_ptr first_peer, - AVStreams::QoS & the_qos, - CORBA::Boolean_out is_met, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::QoSRequestFailed)) -{ - ACE_UNUSED_ARG (first_peer); - ACE_UNUSED_ARG (the_qos); - ACE_UNUSED_ARG (is_met); - ACE_UNUSED_ARG (ACE_TRY_ENV); - return 0; -} - -void -TAO_FDev::destroy (AVStreams::FlowEndPoint_ptr /* the_ep */, - const char * /* fdev_name */, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)) -{ - // Remove self from POA. Because of reference counting, the POA - // will automatically delete the servant when all pending requests - // on this servant are complete. - // - PortableServer::POA_var poa = this->_default_POA (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::ObjectId_var id = poa->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - poa->deactivate_object (id.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -//------------------------------------------------------------ -// TAO_Tokenizer -//------------------------------------------------------------ -TAO_Tokenizer::TAO_Tokenizer (char *string, char delimiter) - :token_array_ (10), - count_ (0) -{ - this->parse (string,delimiter); -} - -int -TAO_Tokenizer::parse (char *string,char delimiter) -{ - char delimiter_str [2] = {0,0}; - delimiter_str [0] = delimiter; - char *token = ACE_OS::strtok (string,delimiter_str); - int count=0,result; - while (token != 0) - { - result = this->token_array_.set (token,count); - if (result == -1) - { - this->token_array_.size (this->token_array_.size ()*2); - result = this->token_array_.set (token,count); - if (result == -1) - ACE_ERROR_RETURN ((LM_ERROR,"TAO_Tokenizer::parse error"),-1); - } - token = ACE_OS::strtok (string,0); - count++; - } - this->num_tokens_ = count; - return 0; -} - -char* -TAO_Tokenizer::token (void) -{ - if (count_ < num_tokens_) - return this->token_array_[this->count_++]; - else - return 0; -} - -int -TAO_Tokenizer::num_tokens (void) -{ - return this->num_tokens_; -} - -char * -TAO_Tokenizer::operator [] (size_t index) const -{ - if (index >= this->num_tokens_) - return 0; - return this->token_array_[index]; -} - -//------------------------------------------------------------ -// TAO_FlowSpec_Entry -//------------------------------------------------------------ - -// constructor. -TAO_FlowSpec_Entry::TAO_FlowSpec_Entry (void) - :sfp_ (0), - address_ (0), - format_ (0), - direction_ (TAO_AV_INVALID) -{ -} - -// Destructor. -TAO_FlowSpec_Entry::~TAO_FlowSpec_Entry (void) -{ -} - -int -TAO_FlowSpec_Entry::direction (void) -{ - return this->direction_; -} - -TAO_SFP* -TAO_FlowSpec_Entry::flow_protocol (void) -{ - return this->sfp_; -} - -ACE_Addr* -TAO_FlowSpec_Entry::carrier_protocol (void) -{ - return address_; -} - -char* -TAO_FlowSpec_Entry::format (void) -{ - return this->format_; -} - -int -TAO_Forward_FlowSpec_Entry::parse (char *flowSpec_entry) -{ - TAO_Tokenizer tokenizer (flowSpec_entry,'\\'); - if (this->parse_flow_protocol_string (tokenizer [TAO_AV_FLOW_PROTOCOL]) < 0) - return -1; - this->set_direction (tokenizer [TAO_AV_DIRECTION]); - if (this->parse_address (tokenizer [TAO_AV_ADDRESS]) < 0) - return -1; - this->format_ = tokenizer [TAO_AV_FORMAT]; - this->flowname_ = tokenizer [TAO_AV_FLOWNAME]; - return 0; -} - -int -TAO_FlowSpec_Entry::set_direction (char *direction) -{ - if (ACE_OS::strcasecmp (direction,"in") == 0) - this->direction_ = TAO_AV_DIR_IN; - else if (ACE_OS::strcasecmp (direction,"out") == 0) - this->direction_ = TAO_AV_DIR_OUT; - else if (ACE_OS::strcasecmp (direction,"inout") == 0) - this->direction_ = TAO_AV_DIR_INOUT; - return 0; -} - -int -TAO_FlowSpec_Entry::parse_flow_protocol_string (char *flow_string) -{ - if (ACE_OS::strncasecmp (flow_string,"sfp",3) == 0) - { - // do some flow protocol processing. - } - return 0; -} - -int -TAO_FlowSpec_Entry::parse_address (char *address) -{ - TAO_Tokenizer protocol_tokenizer (address,'='); - this->protocol_ = protocol_tokenizer[0]; - TAO_Tokenizer address_tokenizer (protocol_tokenizer[1],';'); - char addr[BUFSIZ]; - ACE_OS::sprintf (addr,"%s:%s",address_tokenizer[0],address_tokenizer[1]); - if (ACE_OS::strncasecmp (this->protocol_,"AAL",3) == 0) - ACE_DEBUG ((LM_DEBUG,"ATM support not added yet\n")); -// ACE_NEW_RETURN (this->address_, -// ACE_ATM_Addr (addr), -// -1); - else // we assume everything else is INET addr. - { - ACE_NEW_RETURN (this->address_, - ACE_INET_Addr (addr), - -1); - } - return 0; -} - -int -TAO_Reverse_FlowSpec_Entry::parse (char *flowSpec_entry) -{ - TAO_Tokenizer tokenizer (flowSpec_entry,'\\'); - if (this->parse_flow_protocol_string (tokenizer [TAO_AV_FLOW_PROTOCOL]) < 0) - return -1; - this->set_direction (tokenizer [TAO_AV_DIRECTION]); - if (this->parse_address (tokenizer [TAO_AV_ADDRESS]) < 0) - return -1; - this->format_ = tokenizer [TAO_AV_FORMAT]; - this->flowname_ = tokenizer [TAO_AV_FLOWNAME]; - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Hash_Map_Entry; -template class ACE_Hash_Map_Manager; -template class ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator; -template class ACE_Hash_Map_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Reverse_Iterator; -template class ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Array; -template class ACE_Array_Base; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Hash_Map_Entry -#pragma instantiate ACE_Hash_Map_Manager -#pragma instantiate ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator -#pragma instantiate ACE_Hash_Map_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Reverse_Iterator -#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Array -#pragma instantiate ACE_Array_Base -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h deleted file mode 100644 index 1a871277da6..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h +++ /dev/null @@ -1,1361 +0,0 @@ -/* -*- C++ -*- */ - -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// AVStreams_i.h -// -// = AUTHOR -// Sumedh Mungee -// Nagarajan Surendran -// -// -// ============================================================================ - -#ifndef AVSTREAMS_I_H -#define AVSTREAMS_I_H - -#include "ace/SOCK_Dgram_Mcast.h" -#include "ace/ATM_Addr.h" -#include "ace/Containers_T.h" -#include "ace/Process.h" - -#include "orbsvcs/orbsvcs_export.h" -#include "orbsvcs/CosPropertyServiceS.h" -#include "orbsvcs/AVStreamsS.h" -#include "orbsvcs/Property/CosPropertyService_i.h" -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/AV/Endpoint_Strategy.h" -#include "orbsvcs/Null_MediaCtrlS.h" -#include "orbsvcs/Trader/Trader.h" -// for the Hash_Map helper classes. - -#include "sfp.h" - -// This is to remove "inherits via dominance" warnings from MSVC. -// MSVC is being a little too paranoid. -#if defined (_MSC_VER) -# pragma warning (disable : 4250) -#endif /* _MSC_VER */ - -class TAO_ORBSVCS_Export AV_Null_MediaCtrl - : public virtual POA_Null_MediaCtrl, - public virtual PortableServer::RefCountServantBase -{ -public: - AV_Null_MediaCtrl (void); -}; - - -class TAO_ORBSVCS_Export TAO_Basic_StreamCtrl - : public virtual POA_AVStreams::Basic_StreamCtrl, - public virtual TAO_PropertySet, - public virtual PortableServer::RefCountServantBase -{ - // = DESCRIPTION - // Base class for StreamCtrl, implements basic stream start - // and stop functionality - -public: - TAO_Basic_StreamCtrl (void); - // Default Constructor - - virtual void stop (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)); - // Stop the transfer of data of the stream - // Empty the_spec means apply operation to all flows - - virtual void start (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)); - // Start the transfer of data in the stream. - // Empty the_spec means apply operation to all flows - - virtual void destroy (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)); - // Tears down the stream. This will close the connection, and delete - // the streamendpoint and vdev associated with this stream - // Empty the_spec means apply operation to all flows - - virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &new_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)); - // Changes the QoS associated with the stream - // Empty the_spec means apply operation to all flows - - virtual void push_event (const struct CosPropertyService::Property & the_event, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Used by StreamEndPoint and VDev to inform StreamCtrl of events. - // E.g., loss of flow, reestablishment of flow, etc.. - - virtual void set_FPStatus (const AVStreams::flowSpec &the_spec, - const char *fp_name, - const CORBA::Any &fp_settings, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::FPError)); - // Used to control the flow protocol parameters. - - virtual CORBA::Object_ptr get_flow_connection (const char *flow_name, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::notSupported)); - // Not implemented in the light profile, will raise the notsupported - // exception - - virtual void set_flow_connection (const char *flow_name, - CORBA::Object_ptr flow_connection, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::notSupported)); - // Not implemented in the light profile, will raise the notsupported - // exception - - virtual ~TAO_Basic_StreamCtrl (void); - // Destructor - -protected: - - AVStreams::VDev_var vdev_a_; - AVStreams::VDev_var vdev_b_; - // The Virtual Devices for this stream - - AVStreams::StreamEndPoint_A_var sep_a_; - AVStreams::StreamEndPoint_B_var sep_b_; - // The Endpoints for this stream - - typedef ACE_Hash_Map_Manager FlowConnection_Map; - FlowConnection_Map flow_map_; - // Hash table for the flow names and its corresponding flowconnection object reference. - AVStreams::FlowConnection_seq flowConnections_; - - u_int flow_count_; - AVStreams::flowSpec flows_; - //sequence of flow names. -}; - -class TAO_ORBSVCS_Export TAO_Negotiator - : public POA_AVStreams::Negotiator, - public virtual PortableServer::RefCountServantBase -{ -public: - virtual CORBA::Boolean negotiate (AVStreams::Negotiator_ptr remote_negotiator, - const AVStreams::streamQoS &qos_spec, - CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); -}; - -class TAO_MCastConfigIf; - -class TAO_ORBSVCS_Export TAO_StreamCtrl - : public virtual POA_AVStreams::StreamCtrl, - public virtual TAO_Basic_StreamCtrl, - public virtual PortableServer::RefCountServantBase -// = DESCRIPTION -// Implementation the A/V StreamCtrl class. this class -// is used to control the stream. It should be subclassed -// by applications that want to provide more control features. -{ -public: - TAO_StreamCtrl (void); - // Default Constructor - - virtual CORBA::Boolean bind_devs (AVStreams::MMDevice_ptr a_party, - AVStreams::MMDevice_ptr b_party, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_flows, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)); - // Establish a stream between a_party and b_party, - // with qos the_qos, and for the flows in the_flows - // if the_flows is empty, bind all the flows - // Causes a connection to be established between the StreamEndpoints. - // Returns success/failure - - virtual CORBA::Boolean bind (AVStreams::StreamEndPoint_A_ptr a_party, - AVStreams::StreamEndPoint_B_ptr b_party, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_flows, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)); - // Establish a connection between two streamendpoints. This can - // be used if the streamendpoints have been created independent of - // a MMDevice - - virtual void unbind_dev (AVStreams::MMDevice_ptr dev, - const AVStreams::flowSpec & the_spec, - CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow)); - - virtual void unbind_party (AVStreams::StreamEndPoint_ptr the_ep, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow)); - // Unbind the_ep from the stream. Empty the_spec means apply to all flows. - - virtual void unbind (CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed)); - // unbind the stream. Same effect as Basic_StreamCtrl::destroy () - - virtual AVStreams::VDev_ptr get_related_vdev (AVStreams::MMDevice_ptr adev, - AVStreams::StreamEndPoint_out sep, - CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed)); - - virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &new_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)); - // Changes the QoS associated with the stream - // Empty the_spec means apply operation to all flows - - virtual ~TAO_StreamCtrl (void); - // Destructor. - - protected: - TAO_MCastConfigIf *mcastconfigif_; - AVStreams::MCastConfigIf_ptr mcastconfigif_ptr_; -}; - -class TAO_ORBSVCS_Export TAO_MCastConfigIf - : public virtual POA_AVStreams::MCastConfigIf, - public virtual TAO_PropertySet, - public virtual PortableServer::RefCountServantBase -{ -public: - virtual CORBA::Boolean set_peer (CORBA::Object_ptr peer, - AVStreams::streamQoS & the_qos, - const AVStreams::flowSpec & the_spec, - CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)); - - virtual void configure (const CosPropertyService::Property & a_configuration, - CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual void set_initial_configuration (const CosPropertyService::Properties & initial, - CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual void set_format (const char * flowName, - const char * format_name, - CORBA::Environment &ACE_TRY_ENV = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)); - - virtual void set_dev_params (const char * flowName, - const CosPropertyService::Properties & new_params, - CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::PropertyException, - AVStreams::streamOpFailed)); - -protected: - ACE_SOCK_Dgram_Mcast sock_mcast_; - // Multicast socket. -}; - -class TAO_ORBSVCS_Export TAO_Base_StreamEndPoint -{ - // = DESCRIPTION - // Base class for the A/V StreamEndPoint class. this class - // is used to control the stream. It should be subclassed - // by applications that want to provide more control features. -public: - virtual ~TAO_Base_StreamEndPoint (void); - - virtual int handle_open (void) = 0; - // called when streamendpoint is instantiated - - virtual int handle_close (void) = 0; - // called when streamendpoint is being destructed - - virtual int handle_stop (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) = 0; - // Application needs to define this - - virtual int handle_start (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) = 0; - // Application needs to define this - - - virtual int handle_destroy (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) = 0; - // Application needs to define this -}; - -class TAO_ORBSVCS_Export TAO_Client_Base_StreamEndPoint - : public virtual TAO_Base_StreamEndPoint -{ -public: - virtual CORBA::Boolean handle_preconnect (AVStreams::flowSpec &the_spec) = 0; - // Application needs to define this - - virtual CORBA::Boolean handle_postconnect (AVStreams::flowSpec &the_spec) = 0; - // Application needs to define this -}; - -class TAO_ORBSVCS_Export TAO_Server_Base_StreamEndPoint - : public virtual TAO_Base_StreamEndPoint -{ -public: - virtual CORBA::Boolean handle_connection_requested (AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) = 0; - // Application needs to define this -}; - -class TAO_ORBSVCS_Export TAO_StreamEndPoint - : public virtual POA_AVStreams::StreamEndPoint, - public virtual TAO_Base_StreamEndPoint, - public virtual TAO_PropertySet, - public virtual PortableServer::RefCountServantBase -{ - // = DESCRIPTION - // The Stream EndPoint. Used to implement one endpoint of a stream - // that implements the transport layer. -public: - TAO_StreamEndPoint (void); - // Constructor - - virtual void stop (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)); - // Stop the stream. Empty the_spec means, for all the flows - - virtual void start (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)); - // Start the stream, Empty the_spec means, for all the flows - - virtual void destroy (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow)); - // Destroy the stream, Empty the_spec means, for all the flows - - virtual CORBA::Boolean connect (AVStreams::StreamEndPoint_ptr responder, - AVStreams::streamQoS &qos_spec, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)) = 0; - // Called by StreamCtrl. responder is the peer to connect to - - virtual CORBA::Boolean request_connection (AVStreams::StreamEndPoint_ptr initiator, - CORBA::Boolean is_mcast, - AVStreams::streamQoS &qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpDenied, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::FPError)); - // Called by the peer StreamEndPoint. The flow_spec indicates the - // flows (which contain transport addresses etc.) - - virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &new_qos, - const AVStreams::flowSpec &the_flows, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)); - // Change the transport qos on a stream - - virtual CORBA::Boolean set_protocol_restriction (const AVStreams::protocolSpec &the_pspec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Used to restrict the set of protocols - - virtual void disconnect (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::streamOpFailed)); - // disconnect the flows - - virtual void set_FPStatus (const AVStreams::flowSpec &the_spec, - const char *fp_name, - const CORBA::Any &fp_settings, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::FPError)); - // Used to control the flow - - virtual CORBA::Object_ptr get_fep (const char *flow_name, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::noSuchFlow)); - // Not implemented in the light profile, throws notsupported - - virtual char * add_fep (CORBA::Object_ptr the_fep, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::streamOpFailed)); - // Not implemented in the light profile, throws notsupported - - virtual void remove_fep (const char *fep_name, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::streamOpFailed)); - // Not implemented in the light profile, throws notsupported - - virtual void set_negotiator (AVStreams::Negotiator_ptr new_negotiator, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Used to "attach" a negotiator to the endpoint - - virtual void set_key (const char *flow_name, - const AVStreams::key & the_key, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Used for public key encryption. - - virtual void set_source_id (CORBA::Long source_id, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Used to set a unique id for packets sent by this streamendpoint - - virtual ~TAO_StreamEndPoint (void); - // Destructor - -private: - u_int flow_count_; - // Count of the number of flows in this streamendpoint, used to - // generate unique names for the flows. - u_int flow_num_; - // current flow number used for system generation of flow names. - typedef ACE_Hash_Map_Manager - FlowEndPoint_Map; - FlowEndPoint_Map fep_map_; - // hash table for the flownames and its corresponding flowEndpoint - // reference. - AVStreams::flowSpec flows_; - // sequence of supported flow names. - CORBA::Long source_id_; - // source id used for multicast. -}; - -class TAO_ORBSVCS_Export TAO_Client_StreamEndPoint : - public virtual POA_AVStreams::StreamEndPoint_A, - public virtual TAO_StreamEndPoint, - public virtual TAO_Client_Base_StreamEndPoint, - public virtual PortableServer::RefCountServantBase -{ - // = DESCRIPTION - // The "A" side of a streamendpoint -public: - TAO_Client_StreamEndPoint (void); - // Constructor - - virtual CORBA::Boolean connect (AVStreams::StreamEndPoint_ptr responder, - AVStreams::streamQoS &qos_spec, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)); - // Called by StreamCtrl. responder is the peer to connect to - - virtual CORBA::Boolean multiconnect (AVStreams::streamQoS &the_qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)); - // Used for ATM-style multicast - - virtual CORBA::Boolean connect_leaf (AVStreams::StreamEndPoint_B_ptr the_ep, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_flows, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::notSupported)); - // Used for ATM-style multicast - - virtual void disconnect_leaf (AVStreams::StreamEndPoint_B_ptr the_ep, - const AVStreams::flowSpec &theSpec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow)); - // Used to remove a multicast leaf - - virtual ~TAO_Client_StreamEndPoint (void); - // Destructor - -}; - -class TAO_ORBSVCS_Export TAO_Server_StreamEndPoint : - public virtual POA_AVStreams::StreamEndPoint_B, - public virtual TAO_StreamEndPoint, - public virtual TAO_Server_Base_StreamEndPoint,// Abstract interface - public virtual PortableServer::RefCountServantBase -{ - // = DESCRIPTION - // The "B" side of a streamendpoint -public: - TAO_Server_StreamEndPoint (void); - // Constructor - - virtual CORBA::Boolean connect (AVStreams::StreamEndPoint_ptr responder, - AVStreams::streamQoS &qos_spec, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)); - - virtual CORBA::Boolean request_connection (AVStreams::StreamEndPoint_ptr initiator, - CORBA::Boolean is_mcast, - AVStreams::streamQoS &qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpDenied, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::FPError)); - // Called by the peer StreamEndPoint. The flow_spec indicates the - // flows (which contain transport addresses etc.) - - virtual CORBA::Boolean multiconnect (AVStreams::streamQoS &the_qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::FPError)); - // Used for internet-style multicast - - virtual ~TAO_Server_StreamEndPoint (void); - // Destructor -}; - -class TAO_ORBSVCS_Export TAO_VDev - :public virtual TAO_PropertySet, - public virtual POA_AVStreams::VDev, - public virtual PortableServer::RefCountServantBase -// = DESCRIPTION -// Implements the VDev interface. One of these is created per connection, -// and represents device-specific parameters -{ - public: - TAO_VDev (void); - // Default Constructor - - virtual CORBA::Boolean set_peer (AVStreams::StreamCtrl_ptr the_ctrl, - AVStreams::VDev_ptr the_peer_dev, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)); - // Called to tell the vdev who the streamctrl, peer vdev is - - virtual CORBA::Boolean set_Mcast_peer (AVStreams::StreamCtrl_ptr the_ctrl, - AVStreams::MCastConfigIf_ptr a_mcastconfigif, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)); - // Used to set the streamctrl and multicast device - - virtual void configure (const CosPropertyService::Property &the_config_mesg, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::PropertyException, - AVStreams::streamOpFailed)); - // Called by the peer VDev to configure the device (catch all) - - virtual void set_format (const char *flowName, - const char *format_name, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)); - // Used to set a format on a flowname - - virtual void set_dev_params (const char *flowName, - const CosPropertyService::Properties &new_params, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::PropertyException, - AVStreams::streamOpFailed)); - // Used to set device parameters - - virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)); - // Called to change QoS of the device - - virtual ~TAO_VDev (void); - // Destructor - - protected: - virtual CORBA::Boolean set_media_ctrl (CORBA::Object_ptr media_ctrl, - CORBA::Environment &env = CORBA::Environment::default_environment ()); - // hook called after set_peer is done to set the media ctrl of the peer vdev. - - AVStreams::StreamCtrl_var streamctrl_; - // My stream controller - - AVStreams::VDev_var peer_; - // My peer -}; - -class TAO_AV_Endpoint_Strategy; - -class TAO_ORBSVCS_Export TAO_MMDevice - :public virtual POA_AVStreams::MMDevice, - public TAO_PropertySet, - public virtual PortableServer::RefCountServantBase -// = DESCRIPTION -// Implements a factory to create Endpoints and VDevs -{ - protected: - - TAO_AV_Endpoint_Strategy *endpoint_strategy_; - - public: - - TAO_MMDevice (TAO_AV_Endpoint_Strategy *endpoint_strategy_); - // Constructor - - virtual AVStreams::StreamCtrl_ptr bind (AVStreams::MMDevice_ptr peer_device, - AVStreams::streamQoS &the_qos, - CORBA::Boolean_out is_met, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)); - // Can be used to request the MMDevice to create a new StreamCtrl, - // and call bind_devs on it - - virtual AVStreams::StreamCtrl_ptr bind_mcast (AVStreams::MMDevice_ptr first_peer, - AVStreams::streamQoS &the_qos, - CORBA::Boolean_out is_met, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::noSuchFlow, - AVStreams::QoSRequestFailed)); - // Multicast bind - - virtual AVStreams::StreamEndPoint_A_ptr create_A (AVStreams::StreamCtrl_ptr the_requester, - AVStreams::VDev_out the_vdev, - AVStreams::streamQoS &the_qos, - CORBA::Boolean_out met_qos, - char *&named_vdev, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed, - AVStreams::noSuchFlow)); - // Called by StreamCtrl to create a "A" type streamandpoint and vdev - - virtual AVStreams::StreamEndPoint_B_ptr create_B (AVStreams::StreamCtrl_ptr the_requester, - AVStreams::VDev_out the_vdev, - AVStreams::streamQoS &the_qos, - CORBA::Boolean_out met_qos, - char *&named_vdev, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed, - AVStreams::noSuchFlow)); - // Called by StreamCtrl to create a "B" type streamandpoint and vdev - - virtual void destroy (AVStreams::StreamEndPoint_ptr the_ep, - const char *vdev_name, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)); - // Remove the StreamEndPoint and the related vdev - - virtual char * add_fdev (CORBA::Object_ptr the_fdev, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::streamOpFailed)); - // Not supported in the light profile, raises notsupported - - virtual CORBA::Object_ptr get_fdev (const char *flow_name, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::noSuchFlow)); - // Not supported in the light profile, raises notsupported - - virtual void remove_fdev (const char *flow_name, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported, - AVStreams::noSuchFlow)); - // Not supported in the light profile, raises notsupported - - virtual ~TAO_MMDevice (void); - // Destructor - - protected: - u_int flow_count_; - // Count of the number of flows in this MMDevice , used to - // generate unique names for the flows. - u_int flow_num_; - // current flow number used for system generation of flow names. - typedef ACE_Hash_Map_Manager - FDev_Map; - FDev_Map fdev_map_; - // hash table for the flownames and its corresponding flowEndpoint - // reference. - AVStreams::flowSpec flows_; - // sequence of supported flow names. -}; - -class TAO_FlowConsumer; -class TAO_FlowProducer; - -class TAO_ORBSVCS_Export TAO_FlowConnection - : public virtual POA_AVStreams::FlowConnection, - public TAO_PropertySet, - public virtual PortableServer::RefCountServantBase -{ - // =TITLE - // Class to manage a flow connection. - // - // =Description - // This class currently supports only one producer and one - // consumer per flow. -public: - TAO_FlowConnection (void); - // default constructor. - - virtual void stop (CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // stop this flow. - - virtual void start (CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // start this flow. - - virtual void destroy (CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // destroy this flow. - - virtual CORBA::Boolean modify_QoS (AVStreams::QoS & new_qos, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::QoSRequestFailed)); - // modify the QoS for this flow. - - virtual CORBA::Boolean use_flow_protocol (const char * fp_name, - const CORBA::Any & fp_settings, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::FPError, - AVStreams::notSupported)); - // use the specified flow protocol for this flow. - - virtual void push_event (const AVStreams::streamEvent & the_event, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // pushes an event , to be handled by the application. - - virtual CORBA::Boolean connect_devs (AVStreams::FDev_ptr a_party, - AVStreams::FDev_ptr b_party, - AVStreams::QoS & the_qos, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::QoSRequestFailed)); - // connect 2 Flow Devices. - - virtual CORBA::Boolean connect (AVStreams::FlowProducer_ptr flow_producer, - AVStreams::FlowConsumer_ptr flow_consumer, - AVStreams::QoS & the_qos, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::formatMismatch, - AVStreams::FEPMismatch, - AVStreams::alreadyConnected)); - // Connect a flow producer and consumer under this flow connection. - - virtual CORBA::Boolean disconnect (CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // disconnect this flow connection. - - virtual CORBA::Boolean add_producer (AVStreams::FlowProducer_ptr flow_producer, - AVStreams::QoS & the_qos, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::alreadyConnected, - AVStreams::notSupported)); - // adds the producer to this flow connection. - - virtual CORBA::Boolean add_consumer (AVStreams::FlowConsumer_ptr flow_consumer, - AVStreams::QoS & the_qos, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::alreadyConnected)); - // adds a consumer to this flow connection. - - virtual CORBA::Boolean drop (AVStreams::FlowEndPoint_ptr target, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notConnected)); - // drops a flow endpoint from the flow. - -protected: - AVStreams::FlowProducer *producer_; - // The producer of this flow. - AVStreams::FlowConsumer *consumer_; - // The consumer of this flow - char * fp_name_; - // name of the flow protocol to be used. -}; - -class TAO_ORBSVCS_Export TAO_FlowEndPoint : - public virtual POA_AVStreams::FlowEndPoint, - public virtual TAO_PropertySet, - public virtual PortableServer::RefCountServantBase -{ - // = DESCRIPTION - // This class is used per flow e.g video flow and an audio flow - // to encapuslate the transport details. - - public: - - TAO_FlowEndPoint (void); - //default constructor. - - virtual CORBA::Boolean lock (CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // lock the flow endpoint for a particular flow. - - virtual void unlock (CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // unlock the flow endpoint for subsequent use. - - virtual void stop (CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // stop this flow, to be overridden by the application. - - virtual void start (CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // start this flow, to be overridden by the application. - - virtual void destroy (CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // destroy this flow. - - virtual AVStreams::StreamEndPoint_ptr related_sep(CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // get method for the related streamendpoint under which this - // flowendpoint is. - - virtual void related_sep (AVStreams::StreamEndPoint_ptr related_sep, - CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // set method for the related streamendpoint under which this - // flowendpoint is. - - virtual AVStreams::FlowConnection_ptr related_flow_connection(CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // accessor for the related flow connection attribute. - - virtual void related_flow_connection (AVStreams::FlowConnection_ptr related_flow_connection, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // set method for the related flow connection attribute. - - virtual AVStreams::FlowEndPoint_ptr get_connected_fep (CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notConnected, - AVStreams::notSupported)); - // returns the other flowendpoint to which this is connected. - - virtual CORBA::Boolean use_flow_protocol (const char * fp_name, - const CORBA::Any & fp_settings, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::FPError, - AVStreams::notSupported)); - /// use the specified flow protocol. - - virtual void set_format (const char * format, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)); - // sets the data format. - - virtual void set_dev_params (const CosPropertyService::Properties & new_settings, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::PropertyException, - AVStreams::streamOpFailed)); - // sets the device parameters. - - virtual void set_protocol_restriction (const AVStreams::protocolSpec & the_spec, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)); - // sets the list of protocols to be used. - - virtual CORBA::Boolean is_fep_compatible (AVStreams::FlowEndPoint_ptr fep, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::formatMismatch, - AVStreams::deviceQosMismatch)); - // checks whether the passed flowendpoint is compatible with this. - - virtual CORBA::Boolean set_peer (AVStreams::FlowConnection_ptr the_fc, - AVStreams::FlowEndPoint_ptr the_peer_fep, - AVStreams::QoS & the_qos, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed)); - // sets the peer flowendpoint. - - virtual CORBA::Boolean set_Mcast_peer (AVStreams::FlowConnection_ptr the_fc, - AVStreams::MCastConfigIf_ptr a_mcastconfigif, - AVStreams::QoS & the_qos, - CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::QoSRequestFailed)); - // sets the multicast peer flowendpoint, not implemented. - - - virtual CORBA::Boolean connect_to_peer (AVStreams::QoS & the_qos, - const char * address, - const char * use_flow_protocol, - CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::failedToConnect, - AVStreams::FPError, - AVStreams::QoSRequestFailed)); - // connect to the peer endpoint. - - virtual CORBA::Boolean handle_connect_to_peer (AVStreams::QoS & the_qos, - const char * address, - const char * use_flow_protocol, - CORBA::Environment &env = - CORBA::Environment::default_environment ()); - // hook method to be overridden by the application to handle the connection request. - - virtual char * go_to_listen (AVStreams::QoS & the_qos, - CORBA::Boolean is_mcast, - AVStreams::FlowProducer_ptr peer, - char *& flowProtocol, - CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::failedToListen, - AVStreams::FPError, - AVStreams::QoSRequestFailed)); - - // listen request from the peer. - - virtual char * handle_go_to_listen (AVStreams::QoS & the_qos, - CORBA::Boolean is_mcast, - AVStreams::FlowProducer_ptr peer, - char *& flowProtocol, - CORBA::Environment &env = CORBA::Environment::default_environment ()); - // applications should override this method. - -protected: - AVStreams::StreamEndPoint_ptr related_sep_; - // The related streamendpoint. - AVStreams::FlowConnection_ptr related_flow_connection_; - // The related flow connection reference - AVStreams::FlowEndPoint_ptr peer_fep_; - // The peer flowendpoint reference. -}; - -class TAO_ORBSVCS_Export TAO_FlowProducer: - public virtual POA_AVStreams::FlowProducer, - public virtual TAO_FlowEndPoint, - public virtual PortableServer::RefCountServantBase -{ - public: - TAO_FlowProducer (void); - // default constructor - - virtual char * connect_mcast (AVStreams::QoS & the_qos, - CORBA::Boolean_out is_met, - const char * address, - const char * use_flow_protocol, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::failedToConnect, - AVStreams::notSupported, - AVStreams::FPError, - AVStreams::QoSRequestFailed)); - - // connect to the multicast address, not implemented. - - virtual char * get_rev_channel (const char * pcol_name, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // get the reverse channel, to be used for feedback for protocols like UDP. - - virtual void set_key (const AVStreams::key & the_key, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // sets the public key to be used for encryption of the data. - - virtual void set_source_id (CORBA::Long source_id, - CORBA::Environment &env =CORBA::Environment::default_environment()) - ACE_THROW_SPEC ((CORBA::SystemException)); - // sets the source id of this flow producer so that it can be used - // to distinguish this producer from others in the multicast case. - -protected: - CORBA::Long source_id_; - // source id of this producer. -}; - -class TAO_ORBSVCS_Export TAO_FlowConsumer : - public virtual POA_AVStreams::FlowConsumer, - public virtual TAO_FlowEndPoint, - public virtual PortableServer::RefCountServantBase -{ - public: - TAO_FlowConsumer (void); - // default constructor. - - -}; - -class TAO_ORBSVCS_Export TAO_FDev : - public virtual POA_AVStreams::FDev, - public virtual TAO_PropertySet, - public virtual PortableServer::RefCountServantBase -{ - public: - TAO_FDev (void); - // default constructor - - AVStreams::FlowProducer_ptr create_producer (AVStreams::FlowConnection_ptr the_requester, - AVStreams::QoS & the_qos, - CORBA::Boolean_out met_qos, - char *& named_fdev, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed)); - // create a flow producer object. - - virtual AVStreams::FlowProducer_ptr make_producer (AVStreams::FlowConnection_ptr the_requester, - AVStreams::QoS & the_qos, - CORBA::Boolean_out met_qos, - char *& named_fdev, - CORBA::Environment &env = CORBA::Environment::default_environment ()); - // bridge method for the application to override the producer object - // creation. Default implementation creates a TAO_FlowProducer. - - virtual AVStreams::FlowConsumer_ptr create_consumer (AVStreams::FlowConnection_ptr the_requester, - AVStreams::QoS & the_qos, - CORBA::Boolean_out met_qos, - char *& named_fdev, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed)); - // create a flow consumer object. - - virtual AVStreams::FlowConsumer_ptr make_consumer (AVStreams::FlowConnection_ptr the_requester, - AVStreams::QoS & the_qos, - CORBA::Boolean_out met_qos, - char *& named_fdev, - CORBA::Environment &env = CORBA::Environment::default_environment ()); - // bridge method for the application to override the consumer object - // creation. Default implementation creates a TAO_FlowConsumer. - - virtual AVStreams::FlowConnection_ptr bind (AVStreams::FDev_ptr peer_device, - AVStreams::QoS & the_qos, - CORBA::Boolean_out is_met, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::QoSRequestFailed)); - // bind this FDev with another FDev. - - virtual AVStreams::FlowConnection_ptr bind_mcast (AVStreams::FDev_ptr first_peer, - AVStreams::QoS & the_qos, - CORBA::Boolean_out is_met, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::streamOpFailed, - AVStreams::QoSRequestFailed)); - // multicast bind is not implemented yet. - - virtual void destroy (AVStreams::FlowEndPoint_ptr the_ep, - const char * fdev_name, - CORBA::Environment &env = - CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::notSupported)); - // destroys this FDev. - -protected: - AVStreams::FlowProducer_ptr producer_; - AVStreams::FlowConsumer_ptr consumer_; - // references to the created producers and consumers. -}; - -class TAO_ORBSVCS_Export TAO_MediaControl - :public virtual POA_AVStreams::MediaControl, - public virtual PortableServer::RefCountServantBase -{ - // = TITLE - // Abstract Mediacontrol class. - // - // = DESCRIPTION - // The following are to be handled by the specialized media control for the specific - // media like camera,speaker. - public: - TAO_MediaControl (void); - // default constructor - - virtual AVStreams::Position get_media_position (AVStreams::PositionOrigin an_origin, - AVStreams::PositionKey a_key, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::MediaControl::PostionKeyNotSupported)) =0; - - virtual void set_media_position (const AVStreams::Position & a_position, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::MediaControl::PostionKeyNotSupported, - AVStreams::InvalidPosition)) =0; - - virtual void start (const AVStreams::Position & a_position, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::InvalidPosition)) =0; - - virtual void pause (const AVStreams::Position & a_position, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::InvalidPosition)) =0; - - virtual void resume (const AVStreams::Position & a_position, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::InvalidPosition)) =0; - - virtual void stop (const AVStreams::Position & a_position, - CORBA::Environment &env = CORBA::Environment::default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, - AVStreams::InvalidPosition)) =0; - -}; - -class TAO_ORBSVCS_Export TAO_Tokenizer -{ -public: - TAO_Tokenizer (char *string,char delimiter); - // constructor. - - int parse (char *string,char delimiter); - // parses the string and tokenizes it. - - char *token (void); - // Returns the next token. - - int num_tokens (void); - // Number of tokens. - - char *operator [] (size_t index) const; - -protected: - ACE_Array token_array_; - size_t count_; - size_t num_tokens_; -}; - -class TAO_ORBSVCS_Export TAO_FlowSpec_Entry -{ -public: - // = TITLE - // An helper entry class in the flow spec sequence passed to bind_devs. - enum Direction - { - TAO_AV_INVALID = -1, - TAO_AV_DIR_IN = 0, - TAO_AV_DIR_OUT = 1, - TAO_AV_DIR_INOUT = 2}; - - TAO_FlowSpec_Entry (void); - // constructor. - - virtual int parse (char* flowSpec_entry) = 0; - // construct the entry from a string specified by the flowSpec grammar. - - virtual ~TAO_FlowSpec_Entry (void); - // virtual destructor. - - virtual int direction (void); - - virtual TAO_SFP* flow_protocol (void); - // Accessor to the flow protocol. - - virtual ACE_Addr *carrier_protocol (void); - // carrier protocol. - - virtual char *format (void); - // format to be used for this flow. - -protected: - int parse_flow_protocol_string (char *flow_options_string); - // parses the flow protocol string with tokens separated by : - - int set_direction (char *direction_string); - // sets the direction flag. - - int parse_address (char *format_string); - // sets the address for this flow. - - TAO_SFP *sfp_; - // reference to the flowprotocol implementation. - - ACE_Addr *address_; - // Addr information for the carrier protocol. - - char *format_; - // format string. - - Direction direction_; - // Direction of this flow. - - char *flowname_; - // name of this flow. - - char *protocol_; - // name of the protocol used. -}; - -class TAO_ORBSVCS_Export TAO_Forward_FlowSpec_Entry - :public TAO_FlowSpec_Entry -{ -public: - enum Position {TAO_AV_FLOWNAME = 0, - TAO_AV_DIRECTION = 1, - TAO_AV_FORMAT = 2, - TAO_AV_FLOW_PROTOCOL = 3, - TAO_AV_ADDRESS = 4}; - - virtual int parse (char* flowSpec_entry); - // construct the entry from a string specified by the flowSpec grammar. -}; - -class TAO_ORBSVCS_Export TAO_Reverse_FlowSpec_Entry - :public TAO_FlowSpec_Entry -{ -public: - enum Position {TAO_AV_FLOWNAME = 0, - TAO_AV_ADDRESS = 1, - TAO_AV_FLOW_PROTOCOL = 2, - TAO_AV_DIRECTION = 3, - TAO_AV_FORMAT = 4}; - - virtual int parse (char* flowSpec_entry); - // construct the entry from a string specified by the flowSpec grammar. -}; - -// class TAO_ORBSVCS_Export TAO_AV_QoS -// { -// public: -// TAO_AV_QoS (void) ACE_THROW_SPEC ((CORBA::SystemException)); -// // constructor. - -// int convert (const AVStreams::streamQoS &application_qos, -// AVStreams::streamQoS &network_qos) ACE_THROW_SPEC ((CORBA::SystemException)); -// // converts the application level QoS to Network-level QoS. -// }; - -#endif /* AVSTREAMS_I_H */ diff --git a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp deleted file mode 100644 index ac5827ab49c..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.cpp +++ /dev/null @@ -1,433 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// Endpoint_Strategy.cpp -// -// = AUTHOR -// Sumedh Mungee -// -// -// ============================================================================ - -#include "Endpoint_Strategy.h" - -ACE_RCSID(AV, Endpoint_Strategy, "$Id$") - -// ---------------------------------------------------------------------- -// TAO_AV_Endpoint_Strategy -// ---------------------------------------------------------------------- - -// Constructor -TAO_AV_Endpoint_Strategy::TAO_AV_Endpoint_Strategy (void) -{ -} - -// Destructor. -TAO_AV_Endpoint_Strategy::~TAO_AV_Endpoint_Strategy (void) -{ -// if (CORBA::is_nil (this->stream_endpoint_a_) == 0) -// CORBA::release (this->stream_endpoint_a_); - -// if (CORBA::is_nil (this->stream_endpoint_b_) == 0) -// CORBA::release (this->stream_endpoint_b_); - -// if (CORBA::is_nil (this->stream_endpoint_b_) == 0) -// CORBA::release (this->vdev_); - -} - -// The base class defines the "failure" case, so that unless the -// subclasses override this, the call will fail. This is done so that -// subclasses need only define the calls that they want to support, -// and the remaining calls will fail automagically -int -TAO_AV_Endpoint_Strategy::create_A (AVStreams::StreamEndPoint_A_ptr & /* stream_endpoint */, - AVStreams::VDev_ptr & /* vdev */, - CORBA::Environment &) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Error creating A endpoint\n"), - -1); -} - -// The base class defines the "failure" case, so that unless the -// subclasses override this, the call will fail. This is done so that -// subclasses need only define the calls that they want to support, -// and the remaining calls will fail automagically -int -TAO_AV_Endpoint_Strategy::create_B (AVStreams::StreamEndPoint_B_ptr & /* stream_endpoint */, - AVStreams::VDev_ptr & /*vdev */, - CORBA::Environment &) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Error creating B endpoint\n"), - -1); -} - - -// ---------------------------------------------------------------------- -// TAO_AV_Endpoint_Process_Strategy -// ---------------------------------------------------------------------- - -// Constructor -TAO_AV_Endpoint_Process_Strategy::TAO_AV_Endpoint_Process_Strategy (ACE_Process_Options *process_options) - : process_options_ (process_options), - pid_ (-1) -{ - ACE_OS::hostname (this->host_, - sizeof this->host_); -} - -// Destructor. -TAO_AV_Endpoint_Process_Strategy::~TAO_AV_Endpoint_Process_Strategy (void) -{ -} - -// Spawns the process, and waits for it to finish booting. -// Then uses bind_to_naming_service, get_stream_endpoint, and get_vdev -// to get the object references to the various objects created in the -// child -int -TAO_AV_Endpoint_Process_Strategy::activate (void) -{ - ACE_Process process; - - // Create a new process to contain this endpoint - this->pid_ = process.spawn (*this->process_options_); - - // Process creation failed - if (this->pid_ == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) ACE_Process:: spawn failed: %p\n", - "spawn"), - -1); - - // Create a unique semaphore name, using my hostname, and pid. - char sem_str [BUFSIZ]; - - // create a unique semaphore name - ACE_OS::sprintf (sem_str, - "%s:%s:%ld", - "TAO_AV_Process_Semaphore", - this->host_, - this->pid_); - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) semaphore is %s\n", - sem_str)); - // Create the semaphore - ACE_Process_Semaphore semaphore (0, // 0 means that the - // semaphore is locked initially - sem_str); - - // wait until the child finishes booting - while (1) - { - if (semaphore.acquire () == -1) - { - // See if my child process is still alive -- if not, return an error - if (ACE_OS::kill (this->pid_, - 0) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Process_Strategy: Process being waited on died unexpectedly.\n"), - -1); - // if we were not interrupted due to a EINTR, break - if (errno != EINTR) - break; - } - else - break; - } - - // The job of the semaphore is done, remove it. - if (semaphore.remove () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) semaphore remove failed: %p\n", - "remove"), - -1); - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Get ourselves a Naming service - this->bind_to_naming_service (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the stream endpoint created by the child from the naming service - this->get_stream_endpoint (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get the Vdev created by the child from the naming service - this->get_vdev (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Endpoint_Process_Strategy::activate"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// Get ourselves a Naming service reference -int -TAO_AV_Endpoint_Process_Strategy::bind_to_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - if (CORBA::is_nil (this->naming_context_.in ()) == 0) - return 0; - - CORBA::Object_var naming_obj = - TAO_ORB_Core_instance ()->orb ()->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (naming_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to resolve the Name Service.\n"), - -1); - this->naming_context_ = - CosNaming::NamingContext::_narrow (naming_obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Endpoint_Process_Strategy::bind_to_naming_service"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// Get the VDev created in the child process from the namingservice -int -TAO_AV_Endpoint_Process_Strategy::get_vdev (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - char vdev_name [BUFSIZ]; - ACE_OS::sprintf (vdev_name, - "%s:%s:%d", - "VDev", - this->host_, - this->pid_); - - ACE_DEBUG ((LM_DEBUG,"(%P|%t)%s\n",vdev_name)); - - // Create the name - CosNaming::Name VDev_Name (1); - VDev_Name.length (1); - VDev_Name [0].id = CORBA::string_dup (vdev_name); - - // Get the CORBA::Object - CORBA::Object_var vdev = - this->naming_context_->resolve (VDev_Name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Narrow it - this->vdev_ = - AVStreams::VDev::_narrow (vdev.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Check if valid - if (CORBA::is_nil (this->vdev_)) - ACE_ERROR_RETURN ((LM_ERROR, - " could not resolve Stream_Endpoint_B in Naming service <%s>\n"), - -1); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Endpoint_Process_Strategy::get_vdev"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// ---------------------------------------------------------------------- -// TAO_AV_Endpoint_Process_Strategy_A -// ---------------------------------------------------------------------- - -// Constructor -TAO_AV_Endpoint_Process_Strategy_A::TAO_AV_Endpoint_Process_Strategy_A (ACE_Process_Options *process_options) - : TAO_AV_Endpoint_Process_Strategy (process_options) -{ -} - -// Destructor -TAO_AV_Endpoint_Process_Strategy_A::~TAO_AV_Endpoint_Process_Strategy_A (void) -{ -} - -// the "A" type endpoint creator -int -TAO_AV_Endpoint_Process_Strategy_A::create_A (AVStreams::StreamEndPoint_A_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &) -{ - // use the baseclass activate - if (this->activate () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) TAO_AV_Endpoint_Process_Strategy: Error in activate ()\n"), - -1); - - // return the object references - stream_endpoint = this->stream_endpoint_a_; - vdev = this->vdev_; - return 0; - -} - -// Gets the stream endpoint object reference from the naming service -int -TAO_AV_Endpoint_Process_Strategy_A::get_stream_endpoint (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - char stream_endpoint_name[BUFSIZ]; - ACE_OS::sprintf (stream_endpoint_name, - "%s:%s:%d", - "Stream_Endpoint_A", - this->host_, - this->pid_); - - ACE_DEBUG ((LM_DEBUG,"(%P|%t)%s\n",stream_endpoint_name)); - - // Create the name - CosNaming::Name Stream_Endpoint_A_Name (1); - - Stream_Endpoint_A_Name.length (1); - Stream_Endpoint_A_Name [0].id = CORBA::string_dup (stream_endpoint_name); - - // Get the CORBA::Object - CORBA::Object_var stream_endpoint_a = - this->naming_context_->resolve (Stream_Endpoint_A_Name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Narrow the reference - this->stream_endpoint_a_ = - AVStreams::StreamEndPoint_A::_narrow (stream_endpoint_a.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Check for validity - if (CORBA::is_nil (this->stream_endpoint_a_)) - ACE_ERROR_RETURN ((LM_ERROR, - " could not resolve Stream_Endpoint_A in Naming service <%s>\n"), - -1); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Endpoint_Process_Strategy_A::get_stream_endpoint"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// ---------------------------------------------------------------------- -// TAO_AV_Endpoint_Process_Strategy_B -// ---------------------------------------------------------------------- - -// Constructor -TAO_AV_Endpoint_Process_Strategy_B::TAO_AV_Endpoint_Process_Strategy_B (ACE_Process_Options *process_options) - : TAO_AV_Endpoint_Process_Strategy (process_options) -{ -} - -// Destructor -TAO_AV_Endpoint_Process_Strategy_B::~TAO_AV_Endpoint_Process_Strategy_B (void) -{ -} - -// Creates and returns a "B" type endpoint -int -TAO_AV_Endpoint_Process_Strategy_B::create_B (AVStreams::StreamEndPoint_B_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - if (this->activate () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) TAO_AV_Endpoint_Process_Strategy: Error in activate ()\n"), - -1); - - ACE_DEBUG ((LM_DEBUG,"(%P|%t)TAO_AV_Endpoint_Process_Strategy_B::create_B ()\n: stream_endpoint is:%s\n", - TAO_ORB_Core_instance ()->orb ()->object_to_string (this->stream_endpoint_b_, - ACE_TRY_ENV))); - ACE_TRY_CHECK; - stream_endpoint = this->stream_endpoint_b_; - vdev = this->vdev_; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Endpoint_Process_Strategy_B::create_B\n"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// Gets the B type stream_endpoint from the Naming service -int -TAO_AV_Endpoint_Process_Strategy_B::get_stream_endpoint (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - char stream_endpoint_name[BUFSIZ]; - ACE_OS::sprintf (stream_endpoint_name, - "%s:%s:%d", - "Stream_Endpoint_B", - this->host_, - this->pid_); - - ACE_DEBUG ((LM_DEBUG,"(%P|%t)%s\n",stream_endpoint_name)); - - // Create the name - CosNaming::Name Stream_Endpoint_B_Name (1); - - Stream_Endpoint_B_Name.length (1); - Stream_Endpoint_B_Name [0].id = CORBA::string_dup (stream_endpoint_name); - - // Get the CORBA::Object reference - CORBA::Object_var stream_endpoint_b = - this->naming_context_->resolve (Stream_Endpoint_B_Name, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Narrow the reference - this->stream_endpoint_b_ = - AVStreams::StreamEndPoint_B::_narrow (stream_endpoint_b.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Check for validity - if (CORBA::is_nil (this->stream_endpoint_b_)) - ACE_ERROR_RETURN ((LM_ERROR, - " could not resolve Stream_Endpoint_B in Naming service <%s>\n"), - -1); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Endpoint_Process_Strategy_B::get_stream_endpoint"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} diff --git a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.h b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.h deleted file mode 100644 index 4f014c5c53d..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.h +++ /dev/null @@ -1,166 +0,0 @@ -/* -*- C++ -*- */ - -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// Endpoint_Strategy.h -// -// = AUTHOR -// Sumedh Mungee -// -// -// ============================================================================ - -#ifndef TAO_AV_ENDPOINT_STRATEGY_H -#define TAO_AV_ENDPOINT_STRATEGY_H - -#include "AVStreams_i.h" -#include "tao/TAO.h" - -// This is to remove "inherits via dominance" warnings from MSVC. -// MSVC is being a little too paranoid. -#if defined (_MSC_VER) -# pragma warning (disable : 4250) -#endif /* _MSC_VER */ - -class TAO_ORBSVCS_Export TAO_AV_Endpoint_Strategy -// = DESCRIPTION -// Base class to define various endpoint strategies -// used by the MMDevice to create the Endpoint and Vdev -{ -public: - TAO_AV_Endpoint_Strategy (void); - // Constructor - - virtual ~TAO_AV_Endpoint_Strategy (void); - // Destructor - - virtual int create_A (AVStreams::StreamEndPoint_A_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &env); - // Called by the MMDevice, when it needs to create an A type endpoint - - virtual int create_B (AVStreams::StreamEndPoint_B_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &env); - // Called by the MMDevice, when it needs to create an B type endpoint - - protected: - AVStreams::StreamEndPoint_A_ptr stream_endpoint_a_; - // The "A" stream endpoint - - AVStreams::StreamEndPoint_B_ptr stream_endpoint_b_; - // The "B" stream endpoint - - AVStreams::VDev_ptr vdev_; - // The vdev - -}; - -// ---------------------------------------------------------------------- - -class TAO_ORBSVCS_Export TAO_AV_Endpoint_Process_Strategy - : public TAO_AV_Endpoint_Strategy -// = DESCRIPTION -// Process-based strategy for creating endpoints -// Abstract base class. -{ - public: - TAO_AV_Endpoint_Process_Strategy (ACE_Process_Options *process_options); - // Constructor. The process_options contain the name and arguments - // for the process to be created - - virtual ~TAO_AV_Endpoint_Process_Strategy (void); - // Destructor. - - virtual int activate (void); - // creates a new child process, and waits on a semaphore - // until the child process has finished creating the endpoints - - protected: - virtual int bind_to_naming_service (CORBA::Environment &env); - // Bind to the naming service - - virtual int get_stream_endpoint (CORBA::Environment &env) = 0; - // Get the object reference for the newly created stream - // endpoint (which will be in the child process) - // Subclasses will define the functionality for this - - virtual int get_vdev (CORBA::Environment &env); - // Get the Vdev object reference for the newly created - // endpoint - - CosNaming::NamingContext_var naming_context_; - // Naming context - - ACE_Process_Options *process_options_; - // Name and arguments for the process to be created - - char host_[MAXHOSTNAMELEN]; - // name of this host used for resolving unique names. - - pid_t pid_; - // My child's process id. -}; - - -// ---------------------------------------------------------------------- - -class TAO_ORBSVCS_Export TAO_AV_Endpoint_Process_Strategy_A - : public TAO_AV_Endpoint_Process_Strategy -// = DESCRIPTION -// Process-based strategy to create "A" type endpoints -{ - public: - TAO_AV_Endpoint_Process_Strategy_A (ACE_Process_Options *process_options); - // Constructor - - virtual ~TAO_AV_Endpoint_Process_Strategy_A (void); - // Destructor. - - protected: - virtual int create_A (AVStreams::StreamEndPoint_A_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &env); - // Creates an "A" type stream endpoint, and a vdev - - virtual int get_stream_endpoint (CORBA::Environment &env); - // Gets the "A" type stream endpoint from the child process - -}; - -// ---------------------------------------------------------------------- - -class TAO_ORBSVCS_Export TAO_AV_Endpoint_Process_Strategy_B - : public TAO_AV_Endpoint_Process_Strategy -// = DESCRIPTION -// Process-based strategy to create "B" type endpoints -{ - public: - TAO_AV_Endpoint_Process_Strategy_B (ACE_Process_Options *process_options); - // Constructor - - virtual ~TAO_AV_Endpoint_Process_Strategy_B (void); - // Destructor. - - protected: - virtual int create_B (AVStreams::StreamEndPoint_B_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &env); - // Creates a "B" type stream endpoint, and a vdev - - - virtual int get_stream_endpoint (CORBA::Environment &env); - // Gets the object reference of the "B" type streamendpoint. - -}; - -// Include the templates here. -#include "Endpoint_Strategy_T.h" - -#endif /* TAO_AV_ENDPOINT_STRATEGY_H */ diff --git a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp deleted file mode 100644 index 7b45eafafc8..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp +++ /dev/null @@ -1,742 +0,0 @@ -// $Id$ - -#ifndef TAO_AV_ENDPOINT_STRATEGY_T_C -#define TAO_AV_ENDPOINT_STRATEGY_T_C - -#include "Endpoint_Strategy_T.h" - -// ---------------------------------------------------------------------- -// TAO_AV_Endpoint_Reactive_Strategy -// ---------------------------------------------------------------------- - -// Constructor -template -TAO_AV_Endpoint_Reactive_Strategy ::TAO_AV_Endpoint_Reactive_Strategy (TAO_ORB_Manager *orb_manager) - : orb_manager_ (orb_manager) -{ -} - -template -TAO_AV_Endpoint_Reactive_Strategy ::~TAO_AV_Endpoint_Reactive_Strategy (void) -{ -} - -// Create, activate the objects with the POA -template -int -TAO_AV_Endpoint_Reactive_Strategy ::activate (void) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - this->activate_stream_endpoint (ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"(%P|%t)TAO_AV_Endpoint_Reactive_Strategy::activated stream_endpoint\n")); - - this->activate_vdev (ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"(%P|%t)TAO_AV_Endpoint_Reactive_Strategy::activated vdev\n")); - - this->activate_mediactrl (ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"(%P|%t)TAO_AV_Endpoint_Reactive_Strategy::activated mediactrl\n")); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_Endpoint_Reactive_Strategy::activate"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// Activate VDev into the POA -template -int -TAO_AV_Endpoint_Reactive_Strategy ::activate_vdev (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - // Bridge pattern. Allow subclasses to override this behavior - T_VDev *vdev = 0; - if (this->make_vdev (vdev) == -1) - return -1; - - // Activate the object under the root poa. - CORBA::String_var vdev_ior = this->orb_manager_->activate (vdev, - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"(%P|%t)TAO_AV_Endpoint_Reactive_Strategy::activate_vdev, vdev ior is:%s\n", - vdev_ior. in ())); - - // Save the object reference, so that create_A can return it - this->vdev_ = vdev->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - vdev->_remove_ref (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Endpoint_Reactive_Strategy::activate_vdev"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// Activate the media_controller -template -int -TAO_AV_Endpoint_Reactive_Strategy ::activate_mediactrl (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - // Bridge pattern. Subclasses can override this - T_MediaCtrl *media_ctrl = 0; - if (this->make_mediactrl (media_ctrl) == -1) - return -1; - - // Activate the mediactrl object under the root poa. - CORBA::String_var mediactrl_ior = this->orb_manager_->activate (media_ctrl, - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"(%P|%t)TAO_AV_Endpoint_Reactive_Strategy::activate_mediactrl , media_ctrl ior is :%s\n", - mediactrl_ior.in ())); - - - // Associate the media controller object reference with the vdev, as per the OMG spec - CORBA::Any anyval; - anyval <<= this->orb_manager_->orb ()->object_to_string (media_ctrl->_this (ACE_TRY_ENV), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->vdev_->define_property ("Related_MediaCtrl", - anyval, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Endpoint_Reactive_Strategy::activate_mediactrl"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// Bridge method -template -int -TAO_AV_Endpoint_Reactive_Strategy::make_stream_endpoint (T_StreamEndpoint *&stream_endpoint) -{ - ACE_NEW_RETURN (stream_endpoint, - T_StreamEndpoint, - -1); - return 0; -} - -// Bridge method -template -int -TAO_AV_Endpoint_Reactive_Strategy::make_vdev (T_VDev *&vdev) -{ - ACE_NEW_RETURN (vdev, - T_VDev, - -1); - return 0; -} - -// Bridge method -template -int -TAO_AV_Endpoint_Reactive_Strategy::make_mediactrl (T_MediaCtrl *&media_ctrl) -{ - ACE_NEW_RETURN (media_ctrl, - T_MediaCtrl, - -1); - return 0; -} - - -// ---------------------------------------------------------------------- - -// ---------------------------------------------------------------------- -// TAO_AV_Endpoint_Reactive_Strategy_A -// ---------------------------------------------------------------------- -// Constructor -template -TAO_AV_Endpoint_Reactive_Strategy_A ::TAO_AV_Endpoint_Reactive_Strategy_A (TAO_ORB_Manager *orb_manager) - : TAO_AV_Endpoint_Reactive_Strategy (orb_manager) -{ -} - -// Destructor -template -TAO_AV_Endpoint_Reactive_Strategy_A ::~TAO_AV_Endpoint_Reactive_Strategy_A (void) -{ -} - -// Creates an "A" type streamendpoint, and a vdev and returns the -// object references -template -int -TAO_AV_Endpoint_Reactive_Strategy_A::create_A (AVStreams::StreamEndPoint_A_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &/* ACE_TRY_ENV */) -{ - if (this->activate () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) TAO_AV_Endpoint_Reactive_Strategy_A: Error in activate ()\n"), - -1); - - stream_endpoint = this->stream_endpoint_a_; - vdev = this->vdev_; - return 0; - -} - -// Put the stream_endpoint into the POA -template -int -TAO_AV_Endpoint_Reactive_Strategy_A ::activate_stream_endpoint (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - T_StreamEndpoint *stream_endpoint_a = 0; - - // Use the bridge method - if (this->make_stream_endpoint (stream_endpoint_a) == -1) - return -1; - - CORBA::String_var stream_endpoint_ior = this->orb_manager_->activate (stream_endpoint_a, - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"TAO_AV_Endpoint_Reactive_Strategy_A::activate_stream_endpoint,Stream Endpoint ior is : %s\n",stream_endpoint_ior.in ())); - - // Save the object references, so that create_a can return them - this->stream_endpoint_a_ = stream_endpoint_a->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - stream_endpoint_a->_remove_ref (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Endpoint_Reactive_Strategy_A::activate_stream_endpoint"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// ---------------------------------------------------------------------- -// TAO_AV_Endpoint_Reactive_Strategy_B -// ---------------------------------------------------------------------- - -// Constructor -template -TAO_AV_Endpoint_Reactive_Strategy_B ::TAO_AV_Endpoint_Reactive_Strategy_B (TAO_ORB_Manager *orb_manager) - : TAO_AV_Endpoint_Reactive_Strategy (orb_manager) -{ -} - -// Destructor -template -TAO_AV_Endpoint_Reactive_Strategy_B ::~TAO_AV_Endpoint_Reactive_Strategy_B (void) -{ -} - -// Activate stream_endpoint -template -int -TAO_AV_Endpoint_Reactive_Strategy_B ::activate_stream_endpoint (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - T_StreamEndpoint *stream_endpoint_b = 0; - - if (this->make_stream_endpoint (stream_endpoint_b) == -1) - return -1; - CORBA::String_var stream_endpoint_ior = this->orb_manager_->activate (stream_endpoint_b, - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"TAO_AV_Endpoint_Reactive_Strategy_B::activate_stream_endpoint,Stream Endpoint ior is : %s\n",stream_endpoint_ior.in ())); - - this->stream_endpoint_b_ = stream_endpoint_b->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - stream_endpoint_b->_remove_ref (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Endpoint_Reactive_Strategy_B::activate_stream_endpoint"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// Returns a "B" type stream_endpoint and a vdev -template -int -TAO_AV_Endpoint_Reactive_Strategy_B::create_B (AVStreams::StreamEndPoint_B_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &/* ACE_TRY_ENV */) -{ - if (this->activate () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) TAO_AV_Endpoint_Reactive_Strategy_B: Error in activate ()\n"), - -1); - - stream_endpoint = this->stream_endpoint_b_; - vdev = this->vdev_; - return 0; - -} - -// ---------------------------------------------------------------------- -// TAO_AV_Child_Process -// ---------------------------------------------------------------------- - -// Constructor -template -TAO_AV_Child_Process ::TAO_AV_Child_Process () - : stream_endpoint_name_ (0), - pid_ (-1) -{ - this->pid_ = ACE_OS::getpid (); - if (this->pid_ == 0) - ACE_ERROR ((LM_ERROR,"getpid () failed\n")); - ACE_OS::hostname (this->host_, - sizeof this->host_); -} - -// Initializes the ORB, activates the objects, and release the semaphore -template -int -TAO_AV_Child_Process ::init (int argc, char **argv) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // create the objects and activate them in the poa - this->activate_objects (argc, - argv, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Get ourselves a naming_service object reference - this->bind_to_naming_service (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Register the vdev with the naming service - this->register_vdev (ACE_TRY_ENV); - ACE_TRY_CHECK; - - // register the stream_endpoing with the naming_service - this->register_stream_endpoint (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_Child_Process"); - return -1; - } - ACE_ENDTRY; - - // release the semaphore the parent is waiting on - if (this->release_semaphore () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Error releasing semaphores\n"), - -1); - - return 0; -} - -// initializes the orb, and activates the objects -template -int -TAO_AV_Child_Process ::activate_objects (int argc, - char **argv, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - // initialize the orb - this->orb_manager_.init (argc, - argv, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // bridge method to make a new stream endpoint - if (this->make_stream_endpoint (this->stream_endpoint_) == -1) - return -1; - - // bridge method to make a new vdev - if (this->make_vdev (this->vdev_) == -1) - return -1; - - // bridge method to make a new media controller - if (this->make_mediactrl (this->media_ctrl_) == -1) - return -1; - - // activate the stream_endpoint - CORBA::String_var stream_endpoint_ior = this->orb_manager_.activate (this->stream_endpoint_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"(%P|%t)TAO_AV_Child_Process::activate_objects,stream_endpoint_ior :%s\n",stream_endpoint_ior.in ())); - - // activate the vdev - CORBA::String_var vdev_ior = this->orb_manager_.activate (this->vdev_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"(%P|%t)TAO_AV_Child_Process::activate_objects, vdev ior is :%s\n",vdev_ior.in ())); - - // activate the media controller - CORBA::String_var media_ctrl_ior = this->orb_manager_.activate (this->media_ctrl_, - ACE_TRY_ENV); - - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"(%P|%t)TAO_AV_Child_Process::activate_objects,media_ctrl_ior is: %s\n",media_ctrl_ior.in ())); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Child_Process::init "); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// Bind to the namingservice -template -int -TAO_AV_Child_Process ::bind_to_naming_service (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TRY - { - CORBA::Object_var naming_obj = - this->orb_manager_.orb ()->resolve_initial_references ("NameService"); - if (CORBA::is_nil (naming_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to resolve the Name Service.\n"), - -1); - // ACE_DEBUG ((LM_DEBUG, "(%P|%t) %s:%d\n", __FILE__, __LINE__)); - this->naming_context_ = - CosNaming::NamingContext::_narrow (naming_obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Child_Process::bind_to_naming_service"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// register the vdev with the naming service -template -int -TAO_AV_Child_Process ::register_vdev (CORBA::Environment &ACE_TRY_ENV) -{ - CORBA::Object_ptr vdev_obj = CORBA::Object::_nil (); - ACE_TRY - { - char vdev_name [BUFSIZ]; - ACE_OS::sprintf (vdev_name, - "%s:%s:%d", - "VDev", - this->host_, - this->pid_); - - ACE_DEBUG ((LM_DEBUG,"(%P|%t)%s\n",vdev_name)); - // create the name - this->vdev_name_.length (1); - this->vdev_name_ [0].id = CORBA::string_dup (vdev_name); - - // make the media controller a property of the vdev - CORBA::Any media_ctrl_property; - CORBA::Object_var media_ctrl_obj = - this->media_ctrl_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - media_ctrl_property <<= this->orb_manager_.orb ()->object_to_string (media_ctrl_obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - this->vdev_->define_property ("Related_MediaCtrl", - media_ctrl_property, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - vdev_obj = this->vdev_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - this->vdev_->_remove_ref (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Child_Process::register_vdev"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - ACE_TRY_EX (bind) - { - // Register the vdev with the naming server. - this->naming_context_->bind (this->vdev_name_, - vdev_obj, - ACE_TRY_ENV); - ACE_TRY_CHECK_EX (bind); - } - ACE_CATCH (CosNaming::NamingContext::AlreadyBound,ex) - { - // If the object was already there, replace the older reference - // with this one - this->naming_context_->rebind (this->vdev_name_, - vdev_obj, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_AV_Child_Process::register_vdev"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// run the orb event look -template -int -TAO_AV_Child_Process ::run (ACE_Time_Value *tv) -{ - int result = -1; - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - result = this->orb_manager_.run (ACE_TRY_ENV,tv); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"orb_manager_.run ()"); - return -1; - } - ACE_ENDTRY; - return result; -} - -// release the semaphore the parent is waiting on -template -int -TAO_AV_Child_Process ::release_semaphore () -{ - char sem_str [BUFSIZ]; - - long pid = this->pid_; - sprintf (sem_str, - "%s:%s:%ld", - "TAO_AV_Process_Semaphore", - this->host_, - pid); - - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) semaphore is %s\n", - sem_str)); - - // Release the lock on which the server is waiting - ACE_Process_Semaphore semaphore (0, // 0 means that the semaphore is - // initially locked - sem_str); - - if (semaphore.release () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Error releasing semaphore %s: %p\n", - sem_str, - "semaphore.release ()"), - -1); - - return 0; -} - -// register the stream_endpoint with the naming service -template -int -TAO_AV_Child_Process ::register_stream_endpoint (CORBA::Environment &ACE_TRY_ENV) -{ - CORBA::Object_ptr stream_endpoint_obj = CORBA::Object::_nil (); - ACE_TRY - { - stream_endpoint_obj = this->stream_endpoint_->_this (ACE_TRY_ENV); - ACE_TRY_CHECK; - this->stream_endpoint_->_remove_ref (ACE_TRY_ENV); - ACE_TRY_CHECK; - // ACE_DEBUG ((LM_DEBUG, "(%P|%t) %s:%d\n", __FILE__, __LINE__)); - // Create a name for the video control object - // subclasses can define their own name for the streamendpoint - // Register the stream endpoint object with the naming server. - this->naming_context_->bind (this->stream_endpoint_name_, - stream_endpoint_obj, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCH (CosNaming::NamingContext::AlreadyBound,ex) - { - // if the name was already there, replace the reference with the new one - this->naming_context_->rebind (this->stream_endpoint_name_, - stream_endpoint_obj, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_Endpoint_Reactive_Strategy::activate"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// Bridge method to make a new stream_endpoint -template -int -TAO_AV_Child_Process::make_stream_endpoint (T_StreamEndpoint *&stream_endpoint) -{ - ACE_NEW_RETURN (stream_endpoint, - T_StreamEndpoint, - -1); - return 0; -} - -// Bridge method to make a new vdev -template -int -TAO_AV_Child_Process::make_vdev (T_VDev *&vdev) -{ - ACE_NEW_RETURN (vdev, - T_VDev, - -1); - return 0; -} - -// Bridge method to make a new media controller -template -int -TAO_AV_Child_Process::make_mediactrl (T_MediaCtrl *&media_ctrl) -{ - ACE_DEBUG ((LM_DEBUG,"(%P|%t) TAO_AV_Child_Process::make_mediactrl ()\n")); - ACE_NEW_RETURN (media_ctrl, - T_MediaCtrl, - -1); - return 0; -} - - -template -int -TAO_AV_Child_Process::unbind_names (void) -{ - // Remove the names from the naming service - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - if (CORBA::is_nil (this->naming_context_.in ()) == 0) - return 0; - this->naming_context_->unbind (this->stream_endpoint_name_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - this->naming_context_->unbind (this->vdev_name_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_Endpoint_Process_Strategy::activate"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -// %% its not clear whether we should be deleting the objects, since -// if the application overrides the make_mediactrl methods etc., -// then, we may not own these objects. -// For now, we dont delete the objects, since they exist for the -// lifetime of the process anyway -template -TAO_AV_Child_Process::~TAO_AV_Child_Process () -{ - this->unbind_names (); -// if (this->stream_endpoint_ != 0) -// delete this->stream_endpoint_; -// if (this->vdev_ != 0) -// delete this->vdev_; -// if (this->media_ctrl_ != 0) -// delete this->media_ctrl_; -} - -// ---------------------------------------------------------------------- -// TAO_AV_Child_Process_A -// ---------------------------------------------------------------------- - -// Define the name of the stream_endpoint, as used to register with -// the naming service -template -TAO_AV_Child_Process_A::TAO_AV_Child_Process_A () -{ - char stream_endpoint_name[BUFSIZ]; - ACE_OS::sprintf (stream_endpoint_name, - "%s:%s:%d", - "Stream_Endpoint_A", - this->host_, - this->pid_); - - ACE_DEBUG ((LM_DEBUG,"(%P|%t)%s\n",stream_endpoint_name)); - this->stream_endpoint_name_.length (1); - this->stream_endpoint_name_ [0].id = CORBA::string_dup (stream_endpoint_name); -} - -template -TAO_AV_Child_Process_A ::~TAO_AV_Child_Process_A () -{ -} - -// ---------------------------------------------------------------------- -// TAO_AV_Child_Process_B -// ---------------------------------------------------------------------- - -// Define the name of the stream_endpoint, as used to register with -// the naming service -template -TAO_AV_Child_Process_B::TAO_AV_Child_Process_B () -{ - char stream_endpoint_name[BUFSIZ]; - ACE_OS::sprintf (stream_endpoint_name, - "%s:%s:%d", - "Stream_Endpoint_B", - this->host_, - this->pid_); - - ACE_DEBUG ((LM_DEBUG,"(%P|%t)%s\n",stream_endpoint_name)); - this->stream_endpoint_name_.length (1); - this->stream_endpoint_name_ [0].id = CORBA::string_dup (stream_endpoint_name); -} - -template -TAO_AV_Child_Process_B::~TAO_AV_Child_Process_B () -{ -} - -#endif /* TAO_AV_ENDPOINT_STRATEGY_T_C */ diff --git a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.h b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.h deleted file mode 100644 index d88b3330638..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.h +++ /dev/null @@ -1,224 +0,0 @@ -// $Id$ - -#ifndef TAO_AV_ENDPOINT_STRATEGY_T_H -#define TAO_AV_ENDPOINT_STRATEGY_T_H - -#include "Endpoint_Strategy.h" - -template -class TAO_ORBSVCS_Export TAO_AV_Endpoint_Reactive_Strategy - : public TAO_AV_Endpoint_Strategy -// = DESCRIPTION -// Reactive strategy base class -{ - protected: - TAO_AV_Endpoint_Reactive_Strategy (TAO_ORB_Manager *orb_manager); - // Constructor - - virtual ~TAO_AV_Endpoint_Reactive_Strategy (void); - // Destructor. - - virtual int activate (void); - // creates and activates the streamendpoint, vdev, and mediacontrol - - virtual int activate_stream_endpoint (CORBA::Environment &env) = 0; - // activates the stream_endpoint with the POA - - virtual int activate_vdev (CORBA::Environment &env); - // activates the vdev with the POA - - virtual int activate_mediactrl (CORBA::Environment &env); - // activates the media controller with the POA - - virtual int make_vdev (T_VDev *&vdev); - // Bridge method to create a vdev, a la Acceptor. Applications - // can override this - - virtual int make_stream_endpoint (T_StreamEndpoint *&stream_endpoint); - // Bridge method to create a stream_endpoint, a la Acceptor. Applications - // can override this - - virtual int make_mediactrl (T_MediaCtrl *&media_ctrl); - // Bridge method to create a media_ctrl, a la Acceptor. Applications - // can override this - - TAO_ORB_Manager *orb_manager_; - // ORB manager, used to activate the objects - -}; -// ---------------------------------------------------------------------- - -template -class TAO_ORBSVCS_Export TAO_AV_Endpoint_Reactive_Strategy_A - : public TAO_AV_Endpoint_Reactive_Strategy -// = DESCRIPTION -// Reactive strategy -{ - public: - TAO_AV_Endpoint_Reactive_Strategy_A (TAO_ORB_Manager *orb_manager); - // Constructor - - virtual ~TAO_AV_Endpoint_Reactive_Strategy_A (void); - // Destructor. - - virtual int activate_stream_endpoint (CORBA::Environment &env); - // Overrides the base class stream_endpoint activator, to activate - // an "A" type endpoint - - virtual int create_A (AVStreams::StreamEndPoint_A_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &env); - // Called by the MMDevice, when it needs to create an A type endpoint - - -}; - -// ---------------------------------------------------------------------- -template -class TAO_ORBSVCS_Export TAO_AV_Endpoint_Reactive_Strategy_B - : public TAO_AV_Endpoint_Reactive_Strategy -// = DESCRIPTION -// Reactive strategy -{ - public: - TAO_AV_Endpoint_Reactive_Strategy_B (TAO_ORB_Manager *); - // Constructor. - - virtual ~TAO_AV_Endpoint_Reactive_Strategy_B (void); - // Destructor. - - virtual int activate_stream_endpoint (CORBA::Environment &env); - // Overrides the base class stream_endpoint activator, to activate - // a "B" type endpoint - - virtual int create_B (AVStreams::StreamEndPoint_B_ptr &stream_endpoint, - AVStreams::VDev_ptr &vdev, - CORBA::Environment &env); - // Called by the MMDevice, when it needs to create a B type endpoint -}; - -// ---------------------------------------------------------------------- - -template -class TAO_ORBSVCS_Export TAO_AV_Child_Process -// = DESCRIPTION -// Helper class for the child process created in TAO_AV_Endpoint_Process_Strategy -{ -public: - TAO_AV_Child_Process (); - // Constructor - - virtual ~TAO_AV_Child_Process (); - // Destructor - - int init (int argc, char **argv); - // Initializes the ORB, creates and activates the - // T_StreamEndpoint, T_VDev, T_MediaCtrl in the POA - - int run (ACE_Time_Value *tv = 0); - // runs the ORB event loop - - protected: - int activate_objects (int argc, - char **argv, - CORBA::Environment &env); - // Creates the objects and inserts them into the Naming - // Service, so the parent can pick the IOR's and - // return them to the client - - int unbind_names (void); - // Removes the vdev and streamendpoint names from the naming service. - - int bind_to_naming_service (CORBA::Environment &env); - // Binds to the naming service - - int register_vdev (CORBA::Environment &env); - // Registers vdev with the naming service - - int register_stream_endpoint (CORBA::Environment &env); - // Registers stream_endpoint with the naming service - - int release_semaphore (); - // Releases the semaphore on which the parent is waiting on - - virtual int make_vdev (T_VDev *&vdev); - // Bridge method to create a vdev, a la Acceptor. Applications - // can override this - - virtual int make_stream_endpoint (T_StreamEndpoint *&stream_endpoint); - // Bridge method to create a stream_endpoint, a la Acceptor. Applications - // can override this - - virtual int make_mediactrl (T_MediaCtrl *&media_ctrl); - // Bridge method to create a media_ctrl, a la Acceptor. Applications - // can override this - - TAO_ORB_Manager orb_manager_; - // The ORB Manager - - CosNaming::NamingContext_var naming_context_; - // The root Naming Context of the TAO naming service - - CosNaming::Name vdev_name_; - // Name of the vdev - - CosNaming::Name stream_endpoint_name_; - // Name of the stream_endpoint - - T_StreamEndpoint *stream_endpoint_; - // The stream endpoint member - - T_VDev *vdev_; - // The virtual device - - T_MediaCtrl *media_ctrl_; - // Media controller - - pid_t pid_; - // pid of this process - - char host_[MAXHOSTNAMELEN]; - // Name of the host. -}; - -// ---------------------------------------------------------------------- - -template -class TAO_ORBSVCS_Export TAO_AV_Child_Process_A - : public TAO_AV_Child_Process -// = DESCRIPTION -// Helper class for the child process created in TAO_AV_Child_Process -{ -public: - TAO_AV_Child_Process_A (void); - // Constructor. - - virtual ~TAO_AV_Child_Process_A (void); - // Destructor. -}; - -// ---------------------------------------------------------------------- - -template -class TAO_ORBSVCS_Export TAO_AV_Child_Process_B - : public TAO_AV_Child_Process -// = DESCRIPTION -// Helper class for the child process created in TAO_AV_Child_Process -{ -public: - TAO_AV_Child_Process_B (void); - // Constructor. - - virtual ~TAO_AV_Child_Process_B (void); - // Destructor. -}; - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "Endpoint_Strategy_T.cpp" -#endif /*ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("Endpoint_Strategy_T.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* TAO_AV_ENDPOINT_STRATEGY_T_H */ diff --git a/TAO/orbsvcs/orbsvcs/AV/Makefile.am b/TAO/orbsvcs/orbsvcs/AV/Makefile.am deleted file mode 100644 index 8aa87e9e67d..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Audio/Visual (AV) Service library -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -lib_LTLIBRARIES = libTAO_AV.la - -libTAO_AV_la_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -libTAO_AV_la_SOURCES = \ - AVStreams_i.cpp \ - Endpoint_Strategy.cpp \ - Endpoint_Strategy_T.cpp \ - sfp.cpp - -noinst_HEADERS = \ - AVStreams_i.h \ - Endpoint_Strategy.h \ - Endpoint_Strategy_T.h \ - sfp.h - -EXTRA_DIST = README - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/orbsvcs/AV/README b/TAO/orbsvcs/orbsvcs/AV/README deleted file mode 100644 index e3482716a80..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/README +++ /dev/null @@ -1,27 +0,0 @@ -// $Id$ - -TAO Audio/Video Streaming service ---------------------------------- - - -This is a prototype implementation of the CORBA "Control and -Management of A/V streams" specification, that defines various -interfaces for controlling multimedia streams. - -This directory contains the following files - -AVStreams_i.{h,cpp}: Implementation of the A/V handshake specification, as well - as base classes for the various interfaces defined in the spec. - -Endpoint_Strategy.{h,cpp}: Implementation of various multimedia endpoint activation strategies. - -A complete distributed audio/video streaming application that -illustrates the use of the various components defined above is -available in the following directory: - -TAO/orbsvcs/tests/AVStreams/mpeg/source/ - - -Sumedh Mungee -Nagarajan Surendran - diff --git a/TAO/orbsvcs/orbsvcs/AV/sfp.cpp b/TAO/orbsvcs/orbsvcs/AV/sfp.cpp deleted file mode 100644 index bf08d0a3b74..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/sfp.cpp +++ /dev/null @@ -1,1159 +0,0 @@ -// $Id$ - -#include "orbsvcs/AV/sfp.h" -#include "ace/ARGV.h" - -// default arguments to pass to use for the ORB -const char *TAO_SFP::TAO_SFP_ORB_ARGUMENTS = "-ORBobjrefstyle URL"; - -// SFP magic numbers -const char *TAO_SFP::TAO_SFP_MAGIC_NUMBER = "=SFP"; -const char *TAO_SFP::TAO_SFP_FRAGMENT_MAGIC_NUMBER = "FRAG"; -const char *TAO_SFP::TAO_SFP_START_MAGIC_NUMBER = "=STA"; -const char *TAO_SFP::TAO_SFP_CREDIT_MAGIC_NUMBER = "=CRE"; -const char *TAO_SFP::TAO_SFP_STARTREPLY_MAGIC_NUMBER = "=STR"; - -// SFP version 1.0 -const unsigned char TAO_SFP::TAO_SFP_MAJOR_VERSION = 1; -const unsigned char TAO_SFP::TAO_SFP_MINOR_VERSION = 0; - -// lengths of various SFP headers -const unsigned char TAO_SFP::TAO_SFP_FRAME_HEADER_LEN = 12; - -int -operator< (const TAO_SFP_Fragment_Node& left, - const TAO_SFP_Fragment_Node& right) -{ - return left.fragment_info_.frag_number < right.fragment_info_.frag_number; -} - -// constructor. -TAO_SFP::TAO_SFP (CORBA::ORB_ptr orb, - ACE_Reactor* reactor, - ACE_Time_Value timeout1, - ACE_Time_Value timeout2, - SFP_Callback *callback) - :orb_ (orb), - reactor_ (reactor), - start_tries_ (10), - startReply_tries_ (10), - timeout1_ (timeout1), - timeout2_ (timeout2), - callback_ (callback), - sequence_num_ (0), - credit_num_ (10), - magic_number_len_ (sizeof (magic_number_)-1) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // fill in the default frameHeader fields. - this->frame_header_.magic_number [0] = '='; - this->frame_header_.magic_number [1] = 'S'; - this->frame_header_.magic_number [2] = 'F'; - this->frame_header_.magic_number [3] = 'P'; - this->frame_header_.flags = TAO_ENCAP_BYTE_ORDER; - this->output_cdr_.reset (); - this->output_cdr_.encode (flowProtocol::_tc_frameHeader, - &this->frame_header_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - this->frame_header_len_ = this->output_cdr_.total_length (); - // fill in the default fragment message fields. - this->fragment_.magic_number [0] = 'F'; - this->fragment_.magic_number [1] = 'R'; - this->fragment_.magic_number [2] = 'A'; - this->fragment_.magic_number [3] = 'G'; - this->output_cdr_.reset (); - this->output_cdr_.encode (flowProtocol::_tc_fragment, - &this->fragment_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - this->fragment_len_ = this->output_cdr_.total_length (); - // fill in the default Start message fields. - this->start_.magic_number [0] = '='; - this->start_.magic_number [1] = 'S'; - this->start_.magic_number [2] = 'T'; - this->start_.magic_number [3] = 'A'; - this->start_.major_version = TAO_SFP_MAJOR_VERSION; - this->start_.minor_version = TAO_SFP_MINOR_VERSION; - this->start_.flags = 0; - this->start_len_ = sizeof (this->start_); - // fill in the default StartReply message fields. - this->start_reply_.magic_number [0] = '='; - this->start_reply_.magic_number [1] = 'S'; - this->start_reply_.magic_number [2] = 'T'; - this->start_reply_.magic_number [3] = 'R'; - this->start_reply_.flags = 0; - this->start_reply_len_ = sizeof (this->start_reply_); - // fill in the default Credit message fields. - this->credit_.magic_number [0] = '='; - this->credit_.magic_number [1] = 'C'; - this->credit_.magic_number [2] = 'R'; - this->credit_.magic_number [3] = 'E'; - this->credit_len_ = sizeof (this->credit_); - this->output_cdr_.reset (); - // this->output_cdr_ <<= this->credit_; - this->output_cdr_.reset (); - this->output_cdr_.encode (flowProtocol::_tc_credit, - &this->credit_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - this->credit_len_ = this->output_cdr_.total_length (); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_SFP constructor"); - } - ACE_ENDTRY; -} - -// Start the active end of the stream. -int -TAO_SFP::start_stream (const char *receiver_addr) -{ - int result; - ACE_INET_Addr sender; - result = this->connect_to_receiver (receiver_addr); - if (result < 0) - return result; - while (this->start_tries_ > 0) - { - result = this->send_start (); - if (result != 0) - return result; - // Timed recv. - char magic_number [MAGIC_NUMBER_LEN]; - ssize_t n =this->dgram_.recv (magic_number, - this->magic_number_len_, - sender, - MSG_PEEK, - &this->timeout1_); - // ACE_DEBUG ((LM_DEBUG,"n = %d\n",n)); - if (n == -1) - { - if (errno == ETIME) - { - ACE_DEBUG ((LM_DEBUG,"Timed out in reading StartReply")); - this->start_tries_ --; - continue; - } - else - ACE_ERROR_RETURN ((LM_ERROR,"dgram recv error:%d,%p",errno,"recv"),-1); - } - else if (n==0) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::start_stream -peek"),-1); - // Null terminate the magic number. - magic_number [this->magic_number_len_] = 0; - // check if its startreply message. - if (ACE_OS::strcmp (magic_number,TAO_SFP_STARTREPLY_MAGIC_NUMBER) == 0) - { - ACE_DEBUG ((LM_DEBUG,"(%P|%t)StartReply message received\n")); - flowProtocol::StartReply start_reply; - n = this->dgram_.recv ((char *)&start_reply, - sizeof (start_reply), - sender); - if (n != sizeof (start_reply)) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::handle_input-StartReply\n"),0); - // check for SFP version difference.?? - this->state_ = REPLY_RECEIVED; - } - else - ACE_ERROR_RETURN ((LM_ERROR,"Invalid message while StartReply expected\n"),0); - // register the data handler. - return this->register_dgram_handler (); - } - return 0; -} - -// Start the passive end of the stream. -int -TAO_SFP::start_stream (const char *local_addr,int /* Credit */) -{ - int result; - ACE_INET_Addr sender; - - this->state_ = PASSIVE_START; - ACE_INET_Addr myaddr (local_addr); - result = this->dgram_.open (myaddr); - - if (result != 0) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::passive start- open failed\n"),-1); - - char magic_number[MAGIC_NUMBER_LEN]; - // Timed recv. - ssize_t n =this->dgram_.recv (magic_number, - this->magic_number_len_, - sender, - MSG_PEEK, - &this->timeout2_); - if ((n == -1) && (errno == ETIME)) - { - ACE_ERROR_RETURN ((LM_ERROR,"Timedout in reading Start"),-1); - } - else if (n==0) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::start_stream -peek"),-1); - // Null terminate the magic_number. - magic_number [this->magic_number_len_] = 0; - if (ACE_OS::strcmp (magic_number,TAO_SFP_START_MAGIC_NUMBER) == 0) - { - ACE_DEBUG ((LM_DEBUG,"Start received:")); - // Read the start message. - flowProtocol::Start start; - n = this->dgram_.recv ((char *)&start, - sizeof (start), - sender); - if (n != sizeof (start)) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::handle_input - Start\n"),0); - else - ACE_DEBUG ((LM_DEBUG,"Start message consumed\n")); - this->state_ = START_RECEIVED; - this->receiver_inet_addr_.set (sender); - // Now send a startReply message back. - result = this->send_startReply (); - if (result != 0) - return result; - // Now we register a timeout handler until we receive a data - // frame. - result = this->reactor_->schedule_timer (this, - 0, - this->timeout1_); - if (result == -1) - ACE_ERROR_RETURN ((LM_ERROR,"schedule_timer failed\n"),result); - - // register the data handler. - return this->register_dgram_handler (); - } - else - ACE_ERROR_RETURN ((LM_ERROR,"Invalid messaged received while Start expected\n"),-1); -} - -// Sends the ACE_Message_Block data as a frame, fragmenting if necessary. -int -TAO_SFP::send_frame (ACE_Message_Block *frame) -{ - ACE_TRY_NEW_ENV - { - if (this->credit_num_ > 0) - { - // if we have enough credit then we send. - int total_length = 0; - for (ACE_Message_Block *temp = frame;temp != 0;temp = temp->cont ()) - total_length += temp->length (); - ACE_DEBUG ((LM_DEBUG,"total_length of frame=%d\n",total_length)); - if (total_length < (SFP_MAX_PACKET_SIZE -this->frame_header_len_)) - { - // clear the output cdr. - this->output_cdr_.reset (); - // CDR encode the frame header. - //(<<= isAvailable only in compiled marshalling!) - this->frame_header_.message_type = flowProtocol::SimpleFrame_Msg; - this->frame_header_.message_size = frame->length ()+this->frame_header_len_; - this->output_cdr_.encode (flowProtocol::_tc_frameHeader, - &this->frame_header_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - // this->output_cdr_ <<= this->frame_header_; - this->send_cdr_buffer (this->output_cdr_,frame); - } - else // larger frame,fragment and send it. - { - // set the fragments bit. - this->frame_header_.flags |= 2; - // This is a good maximum, because Dgrams cannot be longer than - // 64K and the usual size for a CDR fragment is 512 bytes. - // @@ TODO In the future we may need to allocate some memory - // from the heap. - int message_len = this->frame_header_len_; - iovec iov[TAO_WRITEV_MAX]; - int iovcnt = 1;// since first iov is for frameHeader. - flowProtocol::frame frame_info; - frame_info.timestamp = 10; - frame_info.synchSource = 10; - frame_info.source_ids.length (1); - frame_info.source_ids [0] = 1; // XXX random number. - frame_info.sequence_num = this->sequence_num_; - this->output_cdr_.reset (); - this->output_cdr_.encode (flowProtocol::_tc_frame, - &frame_info, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"frame info length:%d\n",this->output_cdr_.total_length ())); - for (const ACE_Message_Block* b = this->output_cdr_.begin ()->clone (); - b != 0 && iovcnt < TAO_WRITEV_MAX; - b = b->cont ()) - { - // ACE_DEBUG ((LM_DEBUG,"iovcnt:%d\n",iovcnt)); - iov[iovcnt].iov_base = b->rd_ptr (); - iov[iovcnt].iov_len = b->length (); - message_len += b->length (); - ACE_DEBUG ((LM_DEBUG,"send_cdr_buffer:length=%d\n",b->length ())); - // print the buffer. - // this->dump_buf (b->rd_ptr (),b->length ()); - iovcnt++; - } - ACE_Message_Block *mb = frame; - int prev_len; - while (mb != 0) - { - prev_len = message_len; - message_len += mb->length (); - if (message_len > SFP_MAX_PACKET_SIZE) - { - // get only the length that we can accomodate. - size_t current_len = SFP_MAX_PACKET_SIZE - prev_len; - if (current_len < mb->length ()) - { - // The above condition is an assertion. - iov [iovcnt].iov_base = mb->rd_ptr (); - iov [iovcnt].iov_len = current_len; - message_len += (current_len-mb->length ()); - mb->rd_ptr (current_len); - iovcnt++; - } - break; - } - else - { - // we can accomodate this message block - iov [iovcnt].iov_base = mb->rd_ptr (); - iov [iovcnt].iov_len = mb->length (); - message_len += mb->length (); - iovcnt++; - mb = mb->cont (); - } - } - // This can be either a simpleframe or a sequenced frame,other types of frames. - this->frame_header_.message_type = flowProtocol::Frame_Msg; - this->frame_header_.message_size = message_len; - ACE_DEBUG ((LM_DEBUG,"first fragment of size:%d\n",message_len- this->frame_header_len_)); - this->output_cdr_.reset (); - this->output_cdr_.encode (flowProtocol::_tc_frameHeader, - &this->frame_header_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - // header will be only in the first cdr fragment. - iov[0].iov_base = this->output_cdr_.begin ()->rd_ptr (); - iov[0].iov_len = this->output_cdr_.begin ()->length (); - ACE_DEBUG ((LM_DEBUG,"frame header len:%d\n",iov[0].iov_len)); - // send the first fragment. - for (int i=0;idump_buf (iov[i].iov_base,iov[i].iov_len); - } - ssize_t n = this->dgram_.send (iov, - iovcnt, - this->receiver_inet_addr_); - if (n == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "send_frame (%t) fragment 0 send failed %p\n", ""),-1); - else if (n == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "send_Frame (%t) EOF on send \n"),-1); - - int frag_number = 1; - // If there is any more data send those as fragments. - while (mb != 0) - { - message_len = this->fragment_len_; - iovcnt = 1;// 1 is for the frag header. - while (mb != 0) - { - prev_len = message_len; - message_len += mb->length (); - if (message_len > SFP_MAX_PACKET_SIZE) - { - // get only the length that we can accomodate. - size_t current_len = SFP_MAX_PACKET_SIZE - prev_len; - if (current_len < mb->length ()) - { - // The above condition is an assertion. - iov [iovcnt].iov_base = mb->rd_ptr (); - iov [iovcnt].iov_len = current_len; - message_len += (current_len - mb->length ()); - mb->rd_ptr (current_len); - iovcnt++; - } - break; - } - else - { - // we can accomodate this message block - iov [iovcnt].iov_base = mb->rd_ptr (); - iov [iovcnt].iov_len = mb->length (); - iovcnt++; - mb = mb->cont (); - } - } - this->fragment_.flags = TAO_ENCAP_BYTE_ORDER; - if (mb == 0) - { - ACE_DEBUG ((LM_DEBUG,"sending the last fragment\n")); - // This is the last fragment so clear the fragments bit. - } - else - { - // set the more fragments flag - this->fragment_.flags |= 2; - } - // if there are no data blocks. - if (iovcnt == 1) - break; - this->fragment_.frag_number = frag_number++; - this->fragment_.sequence_num = this->sequence_num_; - this->fragment_.frag_sz = message_len; - this->fragment_.source_id = 0; - this->output_cdr_.reset (); - this->output_cdr_.encode (flowProtocol::_tc_fragment, - &this->fragment_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"sending a fragment numbered %d of size %d\n", - this->fragment_.frag_number, - this->fragment_.frag_sz)); - // THe header will be only in the first cdr fragment. - iov[0].iov_base = this->output_cdr_.begin ()->rd_ptr (); - iov[0].iov_len = this->output_cdr_.begin ()->length (); - // send the fragment now. - // without the sleep the fragments gets lost! - // probably because the UDP buffer queue on the sender side - // is overflown it drops the packets. - // XXX: This is a hack. - ACE_OS::sleep (1); - ssize_t n = this->dgram_.send (iov, - iovcnt, - this->receiver_inet_addr_); - if ((n == -1) || (n==0)) - ACE_ERROR_RETURN ((LM_ERROR,"TAO_SFP::send_framed failed:%p\n",""),-1); - } - } - } - else - { - // flow controlled so wait. - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_SFP::send_frame"); - return -1; - } - ACE_ENDTRY; - return 0; -} - - -// creates a connected dgram. -int -TAO_SFP::connect_to_receiver (const char *receiver_addr) -{ - this->receiver_addr_ = ACE_OS::strdup (receiver_addr); - // Get the local UDP address - if (this->dgram_.open (ACE_Addr::sap_any) == -1) - ACE_ERROR_RETURN ((LM_ERROR,"(%P|%t) datagram open failed %p\n"),1); - - // set the socket buffer sizes to 64k. - int sndbufsize = ACE_DEFAULT_MAX_SOCKET_BUFSIZ; - int rcvbufsize = ACE_DEFAULT_MAX_SOCKET_BUFSIZ; - - if (this->dgram_.set_option (SOL_SOCKET, - SO_SNDBUF, - (void *) &sndbufsize, - sizeof (sndbufsize)) == -1 - && errno != ENOTSUP) - return -1; - else if (this->dgram_.set_option (SOL_SOCKET, - SO_RCVBUF, - (void *) &rcvbufsize, - sizeof (rcvbufsize)) == -1 - && errno != ENOTSUP) - return -1; - - this->receiver_inet_addr_.set (receiver_addr); - return 0; -} - -// sends all the ACE_Message_Blocks in the current CDR stream. -int -TAO_SFP::send_cdr_buffer (TAO_OutputCDR &cdr,ACE_Message_Block *mb) -{ - // This is a good maximum, because Dgrams cannot be longer than - // 64K and the usual size for a CDR fragment is 512 bytes. - // @@ TODO In the future we may need to allocate some memory - // from the heap. - iovec iov[TAO_WRITEV_MAX]; - int iovcnt = 0; - const ACE_Message_Block* b = 0; - for (b = cdr.begin (); - b != cdr.end () && iovcnt < TAO_WRITEV_MAX; - b = b->cont ()) - { - iov[iovcnt].iov_base = b->rd_ptr (); - iov[iovcnt].iov_len = b->length (); - // ACE_DEBUG ((LM_DEBUG,"send_cdr_buffer:length=%d\n",b->length ())); - // print the buffer. - // this->dump_buf (b->rd_ptr (),b->length ()); - iovcnt++; - } - for (b = mb; b!=0 && iovcnt < TAO_WRITEV_MAX; b=b->cont ()) - { - iov [iovcnt].iov_base = b->rd_ptr (); - iov [iovcnt].iov_len = b->length (); - iovcnt++; - } - // send the message. - ssize_t n = this->dgram_.send (iov, - iovcnt, - this->receiver_inet_addr_); - if (n == -1) - { - ACE_DEBUG ((LM_DEBUG, - "SFP::send_cdr_buffer (%t) send failed %p\n", "")); - return -1; - } - else if (n == 0) - { - ACE_DEBUG ((LM_DEBUG, - "SFP::send_cdr_buffer (%t) EOF on send \n")); - return -1; - } - return 0; -} - -int -TAO_SFP::send_start (void) -{ - // copy the magic number into the message - this->state_ = ACTIVE_START; - // Now send the network byte ordered start message. - int n = this->dgram_.send ((char *)&this->start_, - this->start_len_, - this->receiver_inet_addr_); - if (n!= this->start_len_) - ACE_ERROR_RETURN ((LM_ERROR,"start send failed\n"),-1); - - ACE_DEBUG ((LM_DEBUG," Start sent\n")); - return 0; -} - -int -TAO_SFP::send_startReply (void) -{ - int n = this->dgram_.send ((char *)&this->start_reply_, - this->start_reply_len_, - this->receiver_inet_addr_); - if (n!= this->start_reply_len_) - ACE_ERROR_RETURN ((LM_ERROR,"startreply send failed\n"),-1); - - ACE_DEBUG ((LM_DEBUG," startReply sent\n")); - return 0; -} - -int -TAO_SFP::handle_timeout (const ACE_Time_Value &/* tv */, - const void * /* arg */) -{ - int result; - // Handle the timeout for timeout1 and timeout2. - switch (this->state_) - { - case ACTIVE_START: - case PASSIVE_START: - // Timingout for Start Messages. - ACE_DEBUG ((LM_DEBUG,"Invalid state in handle_timeout\n")); - break; - case START_RECEIVED: - // we need to reduce the startreply_tries and also reschedule - // the timer. - if (this->startReply_tries_ --) - { - ACE_DEBUG ((LM_DEBUG,"Timed out on receiving Data Frame\n")); - // send startreply. - result = this->send_startReply (); - if (result != 0) - ACE_ERROR_RETURN ((LM_ERROR,"Error in sending startreply"),0); - this->reactor_->schedule_timer (this, - 0, - this->timeout1_); - } - else - { - this->end_stream (); - } - break; - default: - ACE_DEBUG ((LM_DEBUG,"Handle_timeout: No Action in this state %d",this->state_)); - } - return 0; -} - -// Handle_input is called when data arrives on the dgram -// socket. Currently both the receiver and sender side input is -// handled in this same handle_input (). -int -TAO_SFP::handle_input (ACE_HANDLE /* fd */) -{ - // ACE_DEBUG ((LM_DEBUG,"TAO_SFP::handle_input\n")); - flowProtocol::MsgType msg_type = flowProtocol::Start_Msg; - ACE_INET_Addr sender; - char peek_buffer [MAGIC_NUMBER_LEN+2];// 2 is for flags + message_type. - int peek_len = MAGIC_NUMBER_LEN +2; - ssize_t n =this->dgram_.recv (peek_buffer, - peek_len, - sender, - MSG_PEEK); - ACE_OS::strncpy (this->magic_number_, - peek_buffer, - this->magic_number_len_); - this->magic_number_ [this->magic_number_len_] = 0; - if (n == -1) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::handle_input -peek"),-1); - else if (n==0) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::handle_input -peek"),0); - - if (ACE_OS::strcmp (this->magic_number_,TAO_SFP_START_MAGIC_NUMBER) == 0) - { - ACE_DEBUG ((LM_DEBUG,"(%P|%t)Start message received\n")); - msg_type = flowProtocol::Start_Msg; - } - else if (ACE_OS::strcmp (this->magic_number_,TAO_SFP_STARTREPLY_MAGIC_NUMBER) == 0) - { - ACE_DEBUG ((LM_DEBUG,"(%P|%t)StartReply message received\n")); - msg_type = flowProtocol::StartReply_Msg; - } - else if (ACE_OS::strcmp (this->magic_number_,TAO_SFP_MAGIC_NUMBER) == 0) - { - // ACE_DEBUG ((LM_DEBUG,"(%P|%t) frameHeader received\n")); - // msg_type = flowProtocol::SimpleFrame; - msg_type = (flowProtocol::MsgType)peek_buffer [MESSAGE_TYPE_OFFSET]; - ACE_DEBUG ((LM_DEBUG,"Message Type = %d\n",msg_type)); - } - else if (ACE_OS::strcmp (this->magic_number_,TAO_SFP_FRAGMENT_MAGIC_NUMBER) == 0) - { - ACE_DEBUG ((LM_DEBUG,"(%P|%t) fragment Header received\n")); - msg_type = flowProtocol::Fragment_Msg; - } - else if (ACE_OS::strcmp (this->magic_number_,TAO_SFP_CREDIT_MAGIC_NUMBER) == 0) - { - ACE_DEBUG ((LM_DEBUG,"(%P|%t) credit message received\n")); - msg_type = flowProtocol::Credit_Msg; - } - else - ACE_ERROR_RETURN ((LM_ERROR,"TAO_SFP:Invalid magic number\n"),0); - switch (this->state_) - { - case ACTIVE_START: - // Check if we received a StartReply back. - ACE_DEBUG ((LM_DEBUG,"Unexpected message while StartReply expected\n")); - break; - case PASSIVE_START: - // Check if we received a Start from the Sender. - ACE_DEBUG ((LM_DEBUG,"Unexpected message while Start expected\n")); - break; - case START_RECEIVED: - // In this state we check for credit frames. - switch (msg_type) - { - case flowProtocol::Credit_Msg: - { - flowProtocol::credit credit; - n = this->dgram_.recv ((char *)&credit, - sizeof (credit), - sender); - if (n != sizeof (credit)) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::handle_input - Credit\n"),0); - break; - } - case flowProtocol::Start_Msg: - // consume the retransmitted start message. - { - flowProtocol::Start start; - n = this->dgram_.recv ((char *)&start, - sizeof (start), - sender); - if (n != sizeof (start)) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::handle_input - Start\n"),0); - else - ACE_DEBUG ((LM_DEBUG,"Start message consumed\n")); - break; - } - - case flowProtocol::Frame_Msg: - case flowProtocol::SimpleFrame_Msg: - { - ACE_Message_Block * mb =this->read_simple_frame (); - if (mb != 0) - this->callback_->receive_frame (mb); - else - { - if (!this->more_fragments_) - { - char buf[BUFSIZ]; - // consume the wrong UDP frame. - this->dgram_.recv (buf, - BUFSIZ, - sender); - } - } - break; - } - case flowProtocol::Fragment_Msg: - { - ACE_DEBUG ((LM_DEBUG,"Fragment received\n")); - ACE_Message_Block *result = this->read_fragment (); - // no more fragments. - if (result != 0) - this->callback_->receive_frame (result); - break; - } - case flowProtocol::EndofStream_Msg: - { - char *buf; - ACE_NEW_RETURN (buf, - char [ this->frame_header_len_], - -1); - n = this->dgram_.recv (buf, - this->frame_header_len_, - sender); - if (n == -1) - ACE_ERROR_RETURN ((LM_ERROR,"Error reading EndofStream;%p",""),-1); - this->callback_->end_stream (); - return -1; - } - default: - break; - } - break; - case REPLY_RECEIVED: - // In this state we check for Data frames. - switch (msg_type) - { - case flowProtocol::StartReply_Msg: - { - flowProtocol::StartReply start_reply; - n = this->dgram_.recv ((char *)&start_reply, - sizeof (start_reply), - sender); - if (n != sizeof (start_reply)) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::handle_input-StartReply\n"),0); - else - ACE_DEBUG ((LM_DEBUG,"start reply consumed\n")); - } - break; - default: - ACE_DEBUG ((LM_DEBUG,"Invalid message in state REPLY_RECEIVED\n")); - break; - } - break; - default: - break; - } - return 0; -} - -int -TAO_SFP::end_stream (void) -{ - int result = -1; - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - ACE_DEBUG ((LM_DEBUG,"SFP - ending the stream\n")); - // send the EndofStream message. - this->frame_header_.flags = TAO_ENCAP_BYTE_ORDER; - this->frame_header_.message_type = flowProtocol::EndofStream_Msg; - this->output_cdr_.reset (); - this->output_cdr_.encode (flowProtocol::_tc_frameHeader, - &this->frame_header_, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - ssize_t n = this->dgram_.send (this->output_cdr_.begin ()->rd_ptr (), - this->output_cdr_.begin ()->length (), - this->receiver_inet_addr_); - if ((n==-1) || (n==0)) - ACE_ERROR_RETURN ((LM_ERROR,"Error sending endofstream message:%p",""),-1); - result = this->reactor_->remove_handler (this, - ACE_Event_Handler::READ_MASK); - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_SFP::end_stream ()\n"); - return result; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return result; -} - -int -TAO_SFP::register_dgram_handler (void) -{ - int result = this->reactor_->register_handler (this, - ACE_Event_Handler::READ_MASK); - return result; -} - -ACE_HANDLE -TAO_SFP::get_handle (void) const -{ - return this->dgram_.get_handle (); -} - -ACE_Message_Block * -TAO_SFP::read_simple_frame (void) -{ - ACE_Message_Block *message_block = 0; - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - ACE_DEBUG ((LM_DEBUG,"Reading simple frame\n")); - // Check to see what the length of the message is. - - flowProtocol::frameHeader frame_header; - - int result = - this->read_frame_header (frame_header); - - if (result < 0) - return 0; - int byte_order = frame_header.flags & 0x1; - int message_len = frame_header.message_size; - - ACE_NEW_RETURN (message_block, - ACE_Message_Block (message_len), - 0); - ACE_INET_Addr sender; - int n = this->dgram_.recv (message_block->wr_ptr (),message_len,sender); - if (n == -1) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::handle_input -peek"),0); - else if (n==0) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::handle_input -peek"),0); - else if (n != message_len) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::read_simple_frame:message truncated\n"),0); - // print the buffer. - // this->dump_buf (message,n); - // skip over the frame header. - message_block->rd_ptr (this->frame_header_len_); - message_block->wr_ptr (n); - if (frame_header.flags & 0x2) - { - ACE_DEBUG ((LM_DEBUG,"fragmented frame:0th fragment\n")); - this->more_fragments_ = 1; - // read the frame info. - ACE_Message_Block frame_info_mb (message_len-this->frame_header_len_+ACE_CDR::MAX_ALIGNMENT); - ACE_CDR::mb_align (&frame_info_mb); - frame_info_mb.copy (message_block->rd_ptr (), - message_block->length ()); - // print the buffer. - // this->dump_buf (message_block->rd_ptr (),16); - TAO_InputCDR frame_info_cdr (&frame_info_mb,byte_order); - flowProtocol::frame frame_info; - frame_info_cdr.decode (flowProtocol::_tc_frame, - &frame_info, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - ACE_DEBUG ((LM_DEBUG,"frame.timestamp = %d, frame.synchsource = %d, frame.sequence_num = %d\n", - frame_info.timestamp, - frame_info.synchSource, - frame_info.sequence_num)); - // The remaining message in the CDR stream is the fragment data for frag.0 - ACE_Message_Block *data = - frame_info_cdr.start ()->clone (); - ACE_DEBUG ((LM_DEBUG,"Length of 0th fragment= %d\n",data->length ())); - TAO_SFP_Fragment_Table_Entry *fragment_entry = 0; - TAO_SFP_Fragment_Node *new_node; - ACE_NEW_RETURN (new_node, - TAO_SFP_Fragment_Node, - 0); - new_node->fragment_info_.frag_sz = data->length (); - new_node->fragment_info_.frag_number = 0; - new_node->fragment_info_.source_id = frame_info.source_ids [0]; - new_node->data_ = data; - if (this->fragment_table_.find (frame_info.sequence_num,fragment_entry) == 0) - { - // This case can happen where a nth (n > 0)fragment is received before the 0th fragment. - ACE_DEBUG ((LM_DEBUG,"fragment table entry found for 0th fragment:\n")); - result = fragment_entry->fragment_set_.insert (*new_node); - if (result != 0) - ACE_ERROR_RETURN ((LM_ERROR,"insert for 0th fragment failed\n"),0); - // check if all the fragments have been received. - return check_all_fragments (fragment_entry); - } - else - { - ACE_DEBUG ((LM_DEBUG,"fragment table entry not found for 0th fragment\n")); - TAO_SFP_Fragment_Table_Entry *new_entry; - ACE_NEW_RETURN (new_entry, - TAO_SFP_Fragment_Table_Entry, - 0); - result = new_entry->fragment_set_.insert (*new_node); - if (result != 0) - ACE_ERROR_RETURN ((LM_ERROR,"insert for 0th fragment failed\n"),0); - // not found. so bind a new entry. - result = this->fragment_table_.bind (frame_info.sequence_num,new_entry); - if (result != 0) - ACE_ERROR_RETURN ((LM_ERROR,"fragment table bind failed\n"),0); - return 0; - } - } - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"read_simple_frame"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return message_block; -} - -int -TAO_SFP::read_frame_header (flowProtocol::frameHeader &frame_header) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - ACE_INET_Addr sender; - char *buf; - ACE_NEW_RETURN (buf, - char [this->frame_header_len_+ACE_CDR::MAX_ALIGNMENT], - 0); - ssize_t n =this->dgram_.recv (buf, - this->frame_header_len_, - sender, - MSG_PEEK); - if (n == -1) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::read_simple_frame -peek:%p",""),0); - else if (n==0) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::read_simple_frame -peek:%p",""),0); - else if (n != this->frame_header_len_) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::read_simple_frame - not able to peek\n"),0); - // print the buffer. - // this->dump_buf (buf,n); - ACE_Message_Block mb (n+ACE_CDR::MAX_ALIGNMENT); - ACE_CDR::mb_align (&mb); - int result - = mb.copy (buf,n); - if (result == -1) - ACE_ERROR_RETURN ((LM_ERROR,"Message_Block::copy failed\n"),0); - // buf[4] is the byte order. - int byte_order = buf[4] & 0x1; - // ACE_DEBUG ((LM_DEBUG,"mb len = %d,byte_order=%d\n",mb.length (),byte_order)); - TAO_InputCDR cdr (&mb,byte_order); - // cdr >>= frame_header; - cdr.decode (flowProtocol::_tc_frameHeader, - &frame_header, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG,"message_type = %d, message_size = %d,message_flags = %d\n", - frame_header.message_type,frame_header.message_size,frame_header.flags)); - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_SFP::read_frame_header"); - return -1; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; -} - -ACE_Message_Block * -TAO_SFP::read_fragment (void) -{ - TAO_SFP_Fragment_Table_Entry *fragment_entry = 0; - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - flowProtocol::fragment fragment; - ACE_INET_Addr sender; - char *buf = 0; - ACE_NEW_RETURN (buf, - char [this->fragment_len_+ACE_CDR::MAX_ALIGNMENT], - 0); - ssize_t n =this->dgram_.recv (buf, - this->fragment_len_, - sender, - MSG_PEEK); - if (n == -1) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::read_fragment -peek:%p",""),0); - else if (n==0) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::read_simple_frame -peek:%p",""),0); - else if (n != this->fragment_len_) - ACE_ERROR_RETURN ((LM_ERROR,"SFP::read_simple_frame - not able to peek\n"),0); - // print the buffer. - this->dump_buf (buf,n); - ACE_Message_Block mb (n+ACE_CDR::MAX_ALIGNMENT); - ACE_CDR::mb_align (&mb); - int result - = mb.copy (buf,n); - if (result == -1) - ACE_ERROR_RETURN ((LM_ERROR,"read_fragment::Message_Block::copy failed\n"),0); - // buf[4] is the byte order. - int byte_order = buf[4] & 0x1; - ACE_DEBUG ((LM_DEBUG,"mb len = %d,byte_order=%d\n",mb.length (),byte_order)); - TAO_InputCDR cdr (&mb,byte_order); - // cdr >>= frame_header; - cdr.decode (flowProtocol::_tc_fragment, - &fragment, - 0, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG,"frag number = %d, frag size = %d,source id = %d\n", - fragment.frag_number,fragment.frag_sz,fragment.source_id)); - - ACE_Message_Block *data; - ACE_NEW_RETURN (data, - ACE_Message_Block(fragment.frag_sz), - 0); - - // Read the fragment. - n = this->dgram_.recv (data->wr_ptr (),fragment.frag_sz,sender); - if ((n == -1) || (n==0)) - ACE_ERROR_RETURN ((LM_ERROR,"TAO_SFP::read_fragment:%p",""),0); - // move past the fragment header. - data->rd_ptr (this->fragment_len_); - data->wr_ptr (n); - ACE_DEBUG ((LM_DEBUG,"length of %dth fragment is: %d\n", - fragment.frag_number, - data->length ())); - - TAO_SFP_Fragment_Node *new_node; - ACE_NEW_RETURN (new_node, - TAO_SFP_Fragment_Node, - 0); - new_node->fragment_info_ = fragment; - new_node->data_ = data; - if (this->fragment_table_.find (fragment.sequence_num,fragment_entry) == 0) - { - // Already an entry exists. Traverse the list and insert it at the right place. - result = fragment_entry->fragment_set_.insert (*new_node); - if (result != 0) - ACE_ERROR_RETURN ((LM_ERROR,"insert for %dth node failed\n",fragment.frag_number),0); - // check if all the fragments have been received. - } - else - { - ACE_NEW_RETURN (fragment_entry, - TAO_SFP_Fragment_Table_Entry, - 0); - fragment_entry->fragment_set_.insert (*new_node); - // bind a new entry for this sequence number. - result = this->fragment_table_.bind (fragment.sequence_num,fragment_entry); - if (result != 0) - ACE_ERROR_RETURN ((LM_ERROR,"bind for %dth fragment failed\n", - fragment.frag_number),0); - } - if (!(fragment.flags & 0x2)) - { - ACE_DEBUG ((LM_DEBUG,"Last fragment received\n")); - // if bit 1 is not set then there are - // no more fragments. - fragment_entry->last_received_ = 1; - // since fragment number starts from 0 to n-1 we add 1. - fragment_entry->num_fragments_ = fragment.frag_number + 1; - } - - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"TAO_SFP::read_fragment"); - return 0; - } - ACE_ENDTRY; - ACE_CHECK_RETURN (0); - return check_all_fragments (fragment_entry); -} - -ACE_Message_Block* -TAO_SFP::check_all_fragments (TAO_SFP_Fragment_Table_Entry *fragment_entry) -{ - ACE_DEBUG ((LM_DEBUG,"table size: %d, num_fragments: %d\n",fragment_entry->fragment_set_.size (),fragment_entry->num_fragments_)); - // check to see if all the frames have been received. - if (fragment_entry->fragment_set_.size () == fragment_entry->num_fragments_) - { - ACE_DEBUG ((LM_DEBUG,"all fragments have been received\n")); - // all the fragments have been received - // we can now chain the ACE_Message_Blocks in the fragment_set_ and then return them - // back. - ACE_Message_Block *frame = 0,*head = 0; - FRAGMENT_SET_ITERATOR frag_iterator (fragment_entry->fragment_set_); - TAO_SFP_Fragment_Node *node; - for (;frag_iterator.next (node) != 0;frag_iterator.advance ()) - { -// ACE_Message_Block *block = node->data_; -// char *buf =block->rd_ptr (); -// ACE_DEBUG ((LM_DEBUG,"length of buf = %d\n",block->length ())); -// for (int i=0;ilength ();i++) -// ACE_DEBUG ((LM_DEBUG,"%c ",buf[i])); -// ACE_DEBUG ((LM_DEBUG,"\n")); - - if (!head) - { - frame = node->data_; - head = frame; - } - else - { - frame->cont (node->data_); - frame = node->data_; - } - } - return head; - } - return 0; -} - -void -TAO_SFP::dump_buf(char *buffer,int size) -{ - char *buf = buffer; - ACE_DEBUG ((LM_DEBUG,"========================================n")); - for (int i=0;i; -template class ACE_Equal_To; -template class ACE_Ordered_MultiSet; -template class ACE_Ordered_MultiSet_Iterator; -template class ACE_Hash_Map_Manager; -template class ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Entry; -template class ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_Null_Mutex>; -template class ACE_Hash_Map_Reverse_Iterator_Ex,ACE_Equal_To,ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator_Ex,ACE_Equal_To,ACE_Null_Mutex>; -template class ACE_Hash_Map_Iterator; -template class ACE_Hash_Map_Reverse_Iterator; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate ACE_DNode -#pragma instantiate ACE_Ordered_MultiSet -#pragma instantiate ACE_Ordered_MultiSet_Iterator -#pragma instantiate ACE_Hash_Map_Manager -#pragma instantiate ACE_Hash_Map_Manager_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Entry -#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex, ACE_Equal_To, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex,ACE_Equal_To,ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Iterator_Ex,ACE_Equal_To,ACE_Null_Mutex> -#pragma instantiate ACE_Equal_To -#pragma instantiate ACE_Hash_Map_Iterator -#pragma instantiate ACE_Hash_Map_Reverse_Iterator -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/AV/sfp.h b/TAO/orbsvcs/orbsvcs/AV/sfp.h deleted file mode 100644 index a399ab4ec58..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/sfp.h +++ /dev/null @@ -1,262 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// AVStreams. -// -// = FILENAME -// sfp.h -// -// = AUTHOR -// Nagarajan Surendran -// -// ============================================================================ - -#if !defined (TAO_AV_SFP_H) -#define TAO_AV_SFP_H - -#include "orbsvcs/orbsvcs_export.h" -#include "orbsvcs/sfpC.h" -#include "ace/SOCK_Dgram.h" -#include "ace/INET_Addr.h" - -#define MAGIC_NUMBER_LEN 5 -#define MESSAGE_TYPE_OFFSET 5 -#define TAO_WRITEV_MAX 128 - - -#define SFP_MAX_PACKET_SIZE ACE_MAX_DGRAM_SIZE -//#define SFP_MAX_PACKET_SIZE 100 - - -// various message class for SFP. - -class TAO_ORBSVCS_Export SFP_Callback - // =TITLE - // Callback interface for SFP. - // - // =Description - // Application should create a callback object which they - // register with the SFP. The SFP implementation notifies the - // applicationn of any changes in the stream status like stream - // established, stream ended. -{ -public: - virtual int start_failed (void) = 0; - // This is called for both active and passive start. - - virtual int stream_established (void) = 0; - // This is a callback for both active and passive stream - // establshment. - - virtual int receive_frame (ACE_Message_Block *frame) =0; - // upcall to the application to receive a frame. - - virtual void end_stream (void) = 0; - // called when the EndofStream message is received. -}; - -class TAO_SFP_Fragment_Node -{ -public: - TAO_SFP_Fragment_Node (void) - :data_ (0) - {} - flowProtocol::fragment fragment_info_; - ACE_Message_Block *data_; - friend int operator< (const TAO_SFP_Fragment_Node& left, - const TAO_SFP_Fragment_Node& right); -}; - -class TAO_SFP_Fragment_Table_Entry -{ -public: - TAO_SFP_Fragment_Table_Entry (void) - :last_received_ (0), - num_fragments_ (0) - {} - int last_received_; - size_t num_fragments_; - ACE_Ordered_MultiSet fragment_set_; -}; - -typedef ACE_Ordered_MultiSet_Iterator FRAGMENT_SET_ITERATOR; - -class TAO_ORBSVCS_Export TAO_SFP :public virtual ACE_Event_Handler - // = TITLE - // SFP implementation on UDP. - // - // = Description - // This implements the methods to send and receive data octet - // streams using the Simple Flow Protocol. - -{ -public: - // default arguments to pass to use for the ORB - static const char *TAO_SFP_ORB_ARGUMENTS; - - // SFP magic numbers - static const char *TAO_SFP_MAGIC_NUMBER; - static const char *TAO_SFP_FRAGMENT_MAGIC_NUMBER; - static const char *TAO_SFP_START_MAGIC_NUMBER; - static const char *TAO_SFP_CREDIT_MAGIC_NUMBER; - static const char *TAO_SFP_STARTREPLY_MAGIC_NUMBER; - - // SFP version 1.0 - static const unsigned char TAO_SFP_MAJOR_VERSION; - static const unsigned char TAO_SFP_MINOR_VERSION; - -// lengths of various SFP headers - static const unsigned char TAO_SFP_FRAME_HEADER_LEN; - enum State - { - ACTIVE_START, - PASSIVE_START, - TIMEDOUT_T1, - TIMEDOUT_T2, - REPLY_RECEIVED, - START_RECEIVED - }; - - TAO_SFP (CORBA::ORB_ptr orb, - ACE_Reactor* reactor, - ACE_Time_Value timeout1, - ACE_Time_Value timeout2, - SFP_Callback *callback); - // constructor. - - virtual int start_stream (const char *receiver_addr); - // Actively start the stream by trying to connect to the UDP - // receiver_addr in host:port format. - - virtual int start_stream (const char *local_addr,int credit_); - // Passive start. - - virtual int send_frame (ACE_Message_Block *frame); - // sends a single frame over UDP. - - virtual int end_stream (void); - // terminates the stream. - - virtual int handle_input (ACE_HANDLE fd); - // Callback when event happens on the dgram socket. - - virtual int handle_timeout (const ACE_Time_Value&, const void*); - // Used for timeout for the number of tries for starting a stream. - - virtual ACE_HANDLE get_handle (void) const; -private: - - ACE_Message_Block* read_simple_frame (void); - // receives a single frame from the network. - - int read_frame_header (flowProtocol::frameHeader &frame_header); - // reads the frame header from the peek buffer in the datagram. - - ACE_Message_Block* read_fragment (void); - // reads a fragment from the wire. - - void create_local_dgram (void); - // Create the local dgram endpoint. - - int connect_to_receiver (const char *receiver_addr); - // Creates a connected dgram with the receiver addr. - - int send_start (void); - // sends the start message to the receiver. - - int send_startReply (void); - // sends the StartReply message to the receiver. - - int send_cdr_buffer (TAO_OutputCDR &cdr, - ACE_Message_Block *mb); - // sends the cdr buffer using iovecs. - - int register_dgram_handler (void); - // registers the dgram socket with the reactor. - - ACE_Message_Block *check_all_fragments (TAO_SFP_Fragment_Table_Entry *fragment_entry); - // checks if all the fragments for this entry has been received and returns the - // head of the chain of message blocks for that frame. - - void dump_buf (char *buf,int n); - // dumps the buffer to the screen. - - CORBA::ORB_ptr orb_; - // ORB reference. - - ACE_Reactor* reactor_; - // Used for registering the dgram handler. - - TAO_OutputCDR output_cdr_; - // Use the TAO CDR decoder to decode everything - - // TAO_InputCDR input_cdr_; - // Use the TAO CDR encoder to encode everything - - ACE_SOCK_Dgram dgram_; - // Connection Oriented Dgram. - - int start_tries_; - // Number of tries to send a Start message. - - int startReply_tries_; - // Number of tries to send a StartReply message. - - ACE_Time_Value timeout1_; - // Timeout used for Start on Sender side and also for Credit on - // receiver side. - - ACE_Time_Value timeout2_; - // Timeout used for StartReply on the receiver side and also for - // CREDIT on the sender side. - - State state_; - // State variable. - - const char *receiver_addr_; - // The address of the receiver to which we're connected to. - - ACE_INET_Addr receiver_inet_addr_; - // INET addr of the receiver. - - SFP_Callback *callback_; - // Application Callback Object. - - int sequence_num_; - // sequence number of the packet. - - flowProtocol::frameHeader frame_header_; - ssize_t frame_header_len_; - // frame header to be sent with all frames. - // length of the frame header. - - flowProtocol::fragment fragment_; - ssize_t fragment_len_; - // fragment header for each fragment. - - flowProtocol::Start start_; - ssize_t start_len_; - // Start message and its length. - - flowProtocol::StartReply start_reply_; - ssize_t start_reply_len_; - // StartReply message and its length. - - flowProtocol::credit credit_; - ssize_t credit_len_; - CORBA::ULong credit_num_; - // Credit message and its length. - - char magic_number_[MAGIC_NUMBER_LEN]; - // used for peeking the magic_number. - const size_t magic_number_len_; - u_int more_fragments_; - // boolean flags indicating that there are more fragments. - ACE_Hash_Map_Manager fragment_table_; - // chain of fragments of the current frame. -}; - -#endif /* !defined (TAO_SFP_H) */ diff --git a/TAO/orbsvcs/orbsvcs/AVStreams.idl b/TAO/orbsvcs/orbsvcs/AVStreams.idl deleted file mode 100644 index cddb915e4c8..00000000000 --- a/TAO/orbsvcs/orbsvcs/AVStreams.idl +++ /dev/null @@ -1,765 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// AVStreams.idl -// -// = AUTHOR -// Sumedh Mungee and Nagarajan Surendran -// -// -// ============================================================================ - -#ifndef TAO_AV_STREAMS_IDL -#define TAO_AV_STREAMS_IDL - -#include "CosPropertyService.idl" - -#pragma prefix "omg.org" - -module AVStreams -{ - // = DESCRIPTION - // IDL for Control and Management of Audio/Video Streams - // Revised Submission - - struct QoS - { - // This structure represents QoS for a given type. - // E.g. {"video_qos", <"video_framerate", 26>, - // <"video_depth", 9>} - string QoSType; - // Name of the Qos type, e.g. "video_qos" - - CosPropertyService::Properties QoSParams; - // Sequence of name value pairs, see e.g. above. - }; - - typedef sequence streamQoS; - // The QoS of a stream is a sequence of QoS structs (defined above) - - typedef sequence flowSpec; - // flowSpec is used to keep transport protocol information Each - // string is one endpoint. - - typedef sequence protocolSpec; - // List of protocols supported protocol names registered by OMG. - // e.g., TCP, UDP, AAL5, IPX, RTP - - typedef sequence key; - // Used as a key for public-key encryption - - struct SFPStatus - { - // = TITLE - // This structure is defined for SFP1.0 Subsequent versions of - // the protocol may specify new structures - // - // = DESCRIPTION - // This structure is defined for SFP1.0 Subsequent versions of - // the protocol may specify new structures - boolean isFormatted; - boolean isSpecialFormat; - boolean seqNums; - boolean timestamps; - boolean sourceIndicators; - }; - - enum flowState - { - stopped, - started, - dead - }; - // Represents the state of a flow. - - enum dirType - { - dir_in, - dir_out - }; - // The direction of a flow. - - struct flowStatus - { - // = TITLE - // Used to store the status of a flow. - - string flowName; - dirType directionality; - flowState status; - SFPStatus theFormat; - QoS theQoS; - }; - - typedef CosPropertyService::Property streamEvent; - // Used to convey events, in Basic_StreamCtrl::push_event. - - exception notSupported - { - // Used to indicate that an operation is not supported. - }; - - exception PropertyException - { - // Property exception: raised by VDev::configure (). - }; - - exception FPError - { - // An flow protocol related error. - string flow_name; - }; - - - exception streamOpFailed - { - // Raised by operations on streams. - string reason; - }; - - exception streamOpDenied - { - // Raised by operations on streams. - string reason; - }; - - exception noSuchFlow - { - // Used to indicate that an invalid flow name was used for the - // operation. - }; - - exception QoSRequestFailed - { - // Used to indicate failure in changing QoS. - string reason; - }; - - - interface Basic_StreamCtrl : CosPropertyService::PropertySet { - // = DESCRIPTION - // Base class for StreamCtrl, implements basic stream start - // and stop functionality. - - // = Empty flowSpec => apply operation to all flows - void stop (in flowSpec the_spec) raises (noSuchFlow); - // Stop the transfer of data of the stream.Empty the_spec means - // apply operation to all flows. - - void start (in flowSpec the_spec) raises (noSuchFlow); - // Start the transfer of data in the stream. Empty the_spec - // means apply operation to all flows. - - void destroy (in flowSpec the_spec) raises (noSuchFlow); - // Tears down the stream. This will close the connection, and - // delete the streamendpoint and vdev associated with this - // stream Empty the_spec means apply operation to all flows. - - boolean modify_QoS (inout streamQoS new_qos, - in flowSpec the_spec) - raises (noSuchFlow, - QoSRequestFailed); - // Changes the QoS associated with the stream Empty the_spec - // means apply operation to all flows. - - oneway void push_event (in streamEvent the_event); - // Called by StreamEndPoint when something goes wrong with a - // flow. - - void set_FPStatus (in flowSpec the_spec, - in string fp_name, - in any fp_settings) - raises (noSuchFlow, - FPError); - // Used to control the flow protocol parameters. - - Object get_flow_connection (in string flow_name) - raises (noSuchFlow, - notSupported); - // Not implemented in the light profile, will raise the - // notsupported exception. - - void set_flow_connection (in string flow_name, - in Object flow_connection) - raises (noSuchFlow, - notSupported); - // Not implemented in the light profile, will raise the - // notsupported exception. - }; - - interface Negotiator - { - // = DESCRIPTION - // This class is used to negotiate QoS between two stream endpoints - - boolean negotiate (in Negotiator remote_negotiator, - in streamQoS qos_spec); - // Initiates the process of negotiating the qos_spec. - }; - - // Forward declarations. - interface VDev; - interface MMDevice; - interface StreamEndPoint; - interface StreamEndPoint_A; - interface StreamEndPoint_B; - - interface StreamCtrl : Basic_StreamCtrl - { - // = DESCRIPTION - // Implementation the A/V StreamCtrl class. this class - // is used to control the stream. It should be subclassed - // by applications that want to provide more control features. - - boolean bind_devs (in MMDevice a_party, in MMDevice b_party, - inout streamQoS the_qos, - in flowSpec the_flows) - raises (streamOpFailed, - noSuchFlow, - QoSRequestFailed); - // Establish a stream between a_party and b_party, with qos - // the_qos, and for the flows in the_flows if the_flows is - // empty, bind all the flows Causes a connection to be - // established between the StreamEndpoints. Returns - // success/failure - - boolean bind (in StreamEndPoint_A a_party, - in StreamEndPoint_B b_party, - inout streamQoS the_qos, - in flowSpec the_flows) - raises (streamOpFailed, - noSuchFlow, - QoSRequestFailed); - // Establish a connection between two streamendpoints. This can - // be used if the streamendpoints have been created independent - // of a MMDevice - - void unbind_dev(in MMDevice dev, in flowSpec the_spec) - raises (streamOpFailed, noSuchFlow); - - void unbind_party (in StreamEndPoint the_ep, - in flowSpec the_spec) - raises (streamOpFailed, noSuchFlow); - // Unbind the_ep from the stream. Empty the_spec means apply to - // all flows. - - void unbind () - raises (streamOpFailed); - // unbind the stream. Same effect as Basic_StreamCtrl::destroy - // () - - VDev get_related_vdev(in MMDevice adev, - out StreamEndPoint sep) - raises (streamOpFailed); - - }; - - interface MCastConfigIf : CosPropertyService::PropertySet{ - - // = DESCRIPTION - // Multicasting operations are not supported yet. - - boolean set_peer (in Object peer, - inout streamQoS the_qos, - in flowSpec the_spec) - raises (QoSRequestFailed, - streamOpFailed); - // Multicasting operations are not supported yet. - - void configure (in CosPropertyService::Property a_configuration); - // Multicasting operations are not supported yet. - - void set_initial_configuration (in CosPropertyService::Properties initial); - // Multicasting operations are not supported yet. - - // Uses standardised by OMG and IETF - void set_format (in string flowName, - in string format_name) - raises (notSupported); - // Multicasting operations are not supported yet. - - // Note, some of these device params are standardised by OMG - void set_dev_params (in string flowName, - in CosPropertyService::Properties new_params) - // raises (CosPropertyService::PropertyException, - // streamOpFailed); - raises (PropertyException, - streamOpFailed); - // Multicasting operations are not supported yet. - }; - - interface StreamEndPoint : CosPropertyService::PropertySet{ - // = DESCRIPTION - // The Stream EndPoint. Used to implement one endpoint of a - // stream that implements the transport layer. - void stop (in flowSpec the_spec) - raises (noSuchFlow); - // Stop the stream. Empty the_spec means, for all the flows. - - void start (in flowSpec the_spec) - raises (noSuchFlow); - // Start the stream, Empty the_spec means, for all the flows. - - void destroy (in flowSpec the_spec) - raises (noSuchFlow); - // Destroy the stream, Empty the_spec means, for all the flows. - - boolean connect (in StreamEndPoint responder, - inout streamQoS qos_spec, - in flowSpec the_spec) - raises (noSuchFlow, - QoSRequestFailed, - streamOpFailed); - // Called by StreamCtrl. responder is the peer to connect with. - - boolean request_connection (in StreamEndPoint initiator, - in boolean is_mcast, - inout streamQoS qos, - inout flowSpec the_spec) - raises (streamOpDenied, noSuchFlow, - QoSRequestFailed, FPError); - // Called by the peer StreamEndPoint. The flow_spec indicates - // the flows (which contain transport addresses etc.). - - boolean modify_QoS (inout streamQoS new_qos, - in flowSpec the_flows) - raises (noSuchFlow, - QoSRequestFailed); - // Change the transport qos on a stream. - - boolean set_protocol_restriction (in protocolSpec the_pspec); - // Used to restrict the set of protocols. - - void disconnect(in flowSpec the_spec) - raises (noSuchFlow, - streamOpFailed); - // Disconnect the flows. - - void set_FPStatus (in flowSpec the_spec, - in string fp_name, - in any fp_settings) - raises (noSuchFlow, - FPError); - // Used to control the SFP parameters. - - Object get_fep (in string flow_name) - raises (notSupported, - noSuchFlow); - // Not implemented in the light profile, throws notsupported. - - string add_fep (in Object the_fep) - // Can fail for reasons {duplicateFepName, duplicateRef} - raises (notSupported, - streamOpFailed); - // Not implemented in the light profile, throws notsupported. - - void remove_fep (in string fep_name) - raises (notSupported, - streamOpFailed); - // Not implemented in the light profile, throws notsupported. - - void set_negotiator (in Negotiator new_negotiator); - // Used to "attach" a negotiator to the endpoint. - - void set_key (in string flow_name, - in key the_key); - // Used for public key encryption. - - void set_source_id (in long source_id); - // Used to set a unique id for packets sent by this - // streamendpoint. - }; - - interface StreamEndPoint_A : StreamEndPoint - { - // = DESCRIPTION - // The "A" side of a streamendpoint. - boolean multiconnect (inout streamQoS the_qos, - inout flowSpec the_spec) - raises (noSuchFlow, QoSRequestFailed, streamOpFailed); - // Used for ATM-style multicast. - - boolean connect_leaf (in StreamEndPoint_B the_ep, - inout streamQoS the_qos, - in flowSpec the_flows) - raises (streamOpFailed, noSuchFlow, - QoSRequestFailed, notSupported); - // Used for ATM-style multicast. - - void disconnect_leaf (in StreamEndPoint_B the_ep, - in flowSpec theSpec) - raises(streamOpFailed, noSuchFlow); - // Used for ATM-style multicast. - }; - - interface StreamEndPoint_B : StreamEndPoint - { - boolean multiconnect (inout streamQoS the_qos, - inout flowSpec the_spec) - raises (streamOpFailed, noSuchFlow, - QoSRequestFailed, FPError); - // Used for ATM-style multicast. - }; - - interface VDev : CosPropertyService::PropertySet - { - // = DESCRIPTION - // Implements the VDev interface. One of these is created per - // connection, and represents device-specific parameters. - - boolean set_peer (in StreamCtrl the_ctrl, - in VDev the_peer_dev, - inout streamQoS the_qos, - in flowSpec the_spec) - raises (noSuchFlow, - QoSRequestFailed, - streamOpFailed); - // Called to tell the vdev who the streamctrl, peer vdev is. - - boolean set_Mcast_peer (in StreamCtrl the_ctrl, - in MCastConfigIf a_mcastconfigif, - inout streamQoS the_qos, - in flowSpec the_spec) - raises (noSuchFlow, - QoSRequestFailed, - streamOpFailed); - // Used to set the streamctrl and multicast device. - - void configure (in CosPropertyService::Property the_config_mesg) - raises (PropertyException, - streamOpFailed); - // Called by the peer VDev to configure the device (catch all). - - // Uses standardised by OMG and IETF - void set_format (in string flowName, - in string format_name) - raises (notSupported); - // Used to set a format on a flowname. - - // = Note, some of these device params are standardised by OMG - void set_dev_params (in string flowName, - in CosPropertyService::Properties new_params) - raises (PropertyException, - streamOpFailed); - // Used to set device parameters. - - boolean modify_QoS (inout streamQoS the_qos, - in flowSpec the_spec) - raises (noSuchFlow, - QoSRequestFailed); - // Called to change QoS of the device. - - }; - - interface MMDevice : CosPropertyService::PropertySet - { - // = DESCRIPTION - // Implements a factory to create Endpoints and VDevs. - StreamEndPoint_A create_A (in StreamCtrl the_requester, - out VDev the_vdev, - inout streamQoS the_qos, - out boolean met_qos, - inout string named_vdev, - in flowSpec the_spec) - raises (streamOpFailed, - streamOpDenied, - notSupported, - QoSRequestFailed, - noSuchFlow); - // Called by StreamCtrl to create a "A" type streamendpoint and - // vdev. - - StreamEndPoint_B create_B(in StreamCtrl the_requester, - out VDev the_vdev, - inout streamQoS the_qos, - out boolean met_qos, - inout string named_vdev, - in flowSpec the_spec) - raises (streamOpFailed, - streamOpDenied, - notSupported, - QoSRequestFailed, - noSuchFlow); - // Called by StreamCtrl to create a "B" type streamendpoint and - // vdev. - - StreamCtrl bind (in MMDevice peer_device, - inout streamQoS the_qos, - out boolean is_met, - in flowSpec the_spec) - raises (streamOpFailed, - noSuchFlow, - QoSRequestFailed); - // Can be used to request the MMDevice to create a new - // StreamCtrl, and call bind_devs on it. - - StreamCtrl bind_mcast (in MMDevice first_peer, - inout streamQoS the_qos, - out boolean is_met, - in flowSpec the_spec) - raises (streamOpFailed, - noSuchFlow, - QoSRequestFailed); - // Multicast bind. - - void destroy (in StreamEndPoint the_ep, - in string vdev_name) - // ie VDev not found - raises (notSupported); - // Remove the StreamEndPoint and the related vdev. - - string add_fdev (in Object the_fdev) - raises (notSupported, - streamOpFailed); - // Not supported in the light profile, raises notsupported. - - Object get_fdev (in string flow_name) - raises (notSupported, - noSuchFlow); - // Not supported in the light profile, raises notsupported. - - void remove_fdev (in string flow_name) - raises (notSupported, - noSuchFlow); - // Not supported in the light profile, raises notsupported. - }; - - // Define the exceptions. - exception protocolNotSupported{}; - exception formatNotSupported{}; - exception formatMismatch{}; - exception FEPMismatch{}; - exception alreadyConnected{}; - exception invalidSettings{string settings;}; - exception notConnected{}; - exception deviceQosMismatch{}; - exception failedToConnect{string reason;}; - exception failedToListen{string reason;}; - - // Forward declarations of the interfaces. - interface FlowProducer; - interface FlowConsumer; - interface FlowEndPoint; - interface FDev; - - interface FlowConnection : CosPropertyService::PropertySet{ - void stop(); - void start(); - void destroy(); - - boolean modify_QoS(inout AVStreams::QoS new_qos) - raises (AVStreams::QoSRequestFailed); - - boolean use_flow_protocol(in string fp_name, - in any fp_settings) - raises (AVStreams::FPError, AVStreams::notSupported); - - oneway void push_event(in AVStreams::streamEvent the_event); - - boolean connect_devs(in FDev a_party, in FDev b_party, - inout AVStreams::QoS the_qos) - raises (AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::QoSRequestFailed); - - boolean connect(in FlowProducer flow_producer, - in FlowConsumer flow_consumer, - inout AVStreams::QoS the_qos) - raises (formatMismatch, FEPMismatch, alreadyConnected); - - boolean disconnect(); - - // The notSupported exception is raised where - // flow cannot have multiple producers - boolean add_producer(in FlowProducer flow_producer, - inout AVStreams::QoS the_qos) - raises (alreadyConnected, AVStreams::notSupported); - - boolean add_consumer(in FlowConsumer flow_consumer, - inout AVStreams::QoS the_qos) - raises (alreadyConnected); - - boolean drop(in FlowEndPoint target) - raises (notConnected); - }; - - interface FlowEndPoint : CosPropertyService::PropertySet - { - boolean lock(); - void unlock(); - - void stop(); - void start(); - void destroy(); - - // Default is a nil object reference - attribute AVStreams::StreamEndPoint related_sep; - attribute FlowConnection related_flow_connection; - - FlowEndPoint get_connected_fep() - raises (notConnected,AVStreams::notSupported); - - // syntax of fp_name is - boolean use_flow_protocol(in string fp_name, - in any fp_settings) - raises (AVStreams::FPError, AVStreams::notSupported); - - // set_format() initializes ëformatí - // as current media format e.g. MPEG. - void set_format(in string format) - raises (AVStreams::notSupported); - - void set_dev_params(in CosPropertyService::Properties new_settings) - // raises (CosPropertyService::PropertyException, AVStreams::streamOpFailed); - raises (PropertyException, AVStreams::streamOpFailed); - - void set_protocol_restriction(in AVStreams::protocolSpec the_spec) - raises (AVStreams::notSupported); - - boolean is_fep_compatible(in FlowEndPoint fep) - raises (formatMismatch, deviceQosMismatch); - - boolean set_peer(in FlowConnection the_fc, - in FlowEndPoint the_peer_fep, - inout AVStreams::QoS the_qos) - raises (AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed); - - boolean set_Mcast_peer(in FlowConnection the_fc, - in AVStreams::MCastConfigIf a_mcastconfigif, - inout AVStreams::QoS the_qos) - raises (AVStreams::QoSRequestFailed); - - boolean connect_to_peer(inout AVStreams::QoS the_qos, - in string address, - in string use_flow_protocol) // syntax - raises(failedToConnect,AVStreams::FPError, AVStreams::QoSRequestFailed); - - // Needs to know its peer to choose its protocol correctly - // Also to ask for a reverse channel for credit-based flow - // control, if one is required - string go_to_listen(inout AVStreams::QoS the_qos, - in boolean is_mcast, - in FlowProducer peer, - inout string flowProtocol)// syntax - // The out value of flowProtocol contains SFP version - // supported and all options including "Credit". - raises(failedToListen, AVStreams::FPError, - AVStreams::QoSRequestFailed); - }; - - interface FlowProducer : FlowEndPoint - { - string connect_mcast(inout AVStreams::QoS the_qos, - out boolean is_met, - in string address, - in string use_flow_protocol) - raises (failedToConnect, - AVStreams::notSupported, - AVStreams::FPError, - AVStreams::QoSRequestFailed); - - string get_rev_channel(in string pcol_name); - - void set_key(in AVStreams::key the_key); - void set_source_id(in long source_id); - }; - - interface FlowConsumer : FlowEndPoint - { - }; - - interface FDev : CosPropertyService::PropertySet { - FlowProducer create_producer(in FlowConnection the_requester, - inout AVStreams::QoS the_qos, - out boolean met_qos, - inout string named_fdev) - raises(AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed); - - FlowConsumer create_consumer(in FlowConnection the_requester, - inout AVStreams::QoS the_qos, - out boolean met_qos, - inout string named_fdev) - raises(AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed); - - FlowConnection bind(in FDev peer_device, - inout AVStreams::QoS the_qos, - out boolean is_met) - raises (AVStreams::streamOpFailed, - AVStreams::QoSRequestFailed); - - FlowConnection bind_mcast(in FDev first_peer, - inout AVStreams::QoS the_qos, - out boolean is_met) - raises (AVStreams::streamOpFailed, - AVStreams::QoSRequestFailed); - - void destroy(in FlowEndPoint the_ep, in string fdev_name) - // ie FDev not found - raises (AVStreams::notSupported); - }; - - enum PositionOrigin { - AbsolutePosition, RelativePosition, ModuloPosition - }; - - enum PositionKey { - ByteCount, SampleCount, MediaTime - }; - - struct Position { - PositionOrigin origin; - PositionKey key; - long value; - }; - - exception PostionKeyNotSupported { PositionKey key;}; - exception InvalidPosition { PositionKey key;}; - - // MediaControl interface is similar to - // ControlledStream interface in MSS. - // It can be inherited by flow endpoints or - // FlowConnection interfaces. - interface MediaControl{ - - exception PostionKeyNotSupported { PositionKey key;}; - - Position get_media_position(in PositionOrigin an_origin, - in PositionKey a_key) - raises (PostionKeyNotSupported); - - void set_media_position(in Position a_position) - raises (PostionKeyNotSupported, InvalidPosition); - - void start(in Position a_position) - raises(InvalidPosition); - void pause(in Position a_position) - raises(InvalidPosition); - void resume(in Position a_position) - raises(InvalidPosition); - void stop(in Position a_position) - raises(InvalidPosition); - }; - - // Additional sequences needed for the properties. - - typedef sequence FlowConnection_seq; - typedef sequence StreamEndPoint_A_seq; - typedef sequence StreamEndPoint_B_seq; - typedef sequence FlowEndPoint_seq; - typedef sequence Object_seq; -}; - -#endif /* TAO_AV_STREAMS_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/AVStreams_Full.idl b/TAO/orbsvcs/orbsvcs/AVStreams_Full.idl deleted file mode 100644 index 2f04c91261e..00000000000 --- a/TAO/orbsvcs/orbsvcs/AVStreams_Full.idl +++ /dev/null @@ -1,252 +0,0 @@ -// $Id$ - -// IDL for Control and Management of Audio/Video Streams -// Revised Submission - -// Additional IDL for full profile -#include "AVStreams.idl" - -#pragma prefix "omg.org" - -module AVStreams_Full -{ - exception protocolNotSupported{}; - exception formatNotSupported{}; - exception formatMismatch{}; - exception FEPMismatch{}; - exception alreadyConnected{}; - exception invalidSettings{string settings;}; - exception notConnected{}; - exception deviceQosMismatch{}; - exception failedToConnect{string reason;}; - exception failedToListen{string reason;}; - - - interface FlowProducer; - interface FlowConsumer; - interface FlowEndPoint; - interface FDev; - - interface FlowConnection : PropertyService::PropertySet - { - void stop(); - void start(); - void destroy(); - - boolean modify_QoS( - - inout AVStreams::QoS new_qos) - raises (AVStreams::QoSRequestFailed); - - boolean use_flow_protocol( - in string fp_name, - in any fp_settings) - raises (AVStreams::FPError, AVStreams::notSupported); - - oneway void push_event(in AVStreams::streamEvent the_event); - - boolean connect_devs(in FDev a_party, in FDev b_party, - inout AVStreams::QoS the_qos) - raises (AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::QoSRequestFailed); - - boolean connect( - in FlowProducer flow_producer, - in FlowConsumer flow_consumer, - inout AVStreams::QoS the_qos) - raises (formatMismatch, FEPMismatch, alreadyConnected); - - boolean disconnect(); - - // The notSupported exception is raised where - // flow cannot have multiple producers - boolean add_producer(in FlowProducer flow_producer, - inout AVStreams::QoS the_qos) - raises (alreadyConnected, AVStreams::notSupported); - - boolean add_consumer(in FlowConsumer flow_consumer, - inout AVStreams::QoS the_qos) - raises (alreadyConnected); - - boolean drop(in FlowEndPoint target) - raises (notConnected); - }; - - interface FlowEndPoint : PropertyService::PropertySet - { - boolean lock(); - void unlock(); - - void stop(); - void start(); - void destroy(); - - // Default is a nil object reference - attribute AVStreams::StreamEndPoint related_sep; - attribute FlowConnection related_flow_connection; - - FlowEndPoint get_connected_fep() - raises (notConnected, - AVStreams::notSupported); - - // syntax of fp_name is - boolean use_flow_protocol(in string fp_name, - in any fp_settings) - raises (AVStreams::FPError, AVStreams::notSupported); - - // set_format() initializes 'format' - // as current media format e.g. MPEG. - void set_format(in string format) - raises (AVStreams::notSupported); - - void set_dev_params( - in PropertyService::Properties new_settings) - raises (PropertyService::PropertyException, - AVStreams::streamOpFailed); - - void set_protocol_restriction(in AVStreams::protocolSpec - the_spec) - raises (AVStreams::notSupported); - - boolean is_fep_compatible(in FlowEndPoint fep) - raises (formatMismatch, deviceQosMismatch); - - boolean set_peer( - in FlowConnection the_fc, - - in FlowEndPoint the_peer_fep, - inout AVStreams::QoS the_qos) - raises (AVStreams::QoSRequestFailed, - AVStreams::streamOpFailed); - - boolean set_Mcast_peer( - in FlowConnection the_fc, - in AVStreams::MCastConfigIf a_mcastconfigif, - inout AVStreams::QoS the_qos) - raises (AVStreams::QoSRequestFailed); - - }; - - interface FlowProducer : FlowEndPoint - { - boolean connect_to_peer(inout AVStreams::QoS the_qos, - in string address, - - in string use_flow_protocol) // syntax - raises(failedToConnect, - AVStreams::FPError, AVStreams::QoSRequestFailed); - - string connect_mcast(inout AVStreams::QoS the_qos, - out boolean is_met, - in string address, - in string use_flow_protocol) - raises (failedToConnect, - AVStreams::notSupported, - AVStreams::FPError, - AVStreams::QoSRequestFailed); - - string get_rev_channel(in string pcol_name); - - void set_key(in AVStreams::key the_key); - void set_source_id(in long source_id); - }; - - interface FlowConsumer : FlowEndPoint - { - - - // Needs to know its peer to choose its protocol correctly - // Also to ask for a reverse channel for credit-based flow - // control, if one is required - string go_to_listen( - inout AVStreams::QoS the_qos, - in boolean is_mcast, - in FlowProducer peer, - inout string flowProtocol)// syntax - raises(failedToListen, AVStreams::FPError, - AVStreams::QoSRequestFailed); - }; - - interface FDev : PropertyService::PropertySet { - FlowProducer create_producer( - in FlowConnection the_requester, - inout AVStreams::QoS the_qos, - out boolean met_qos, - inout string named_fdev) - raises(AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed); - - FlowConsumer create_consumer( - in FlowConnection the_requester, - inout AVStreams::QoS the_qos, - out boolean met_qos, - inout string named_fdev) - raises(AVStreams::streamOpFailed, - AVStreams::streamOpDenied, - AVStreams::notSupported, - AVStreams::QoSRequestFailed); - - FlowConnection bind(in FDev peer_device, - inout AVStreams::QoS the_qos, - out boolean is_met) - raises (AVStreams::streamOpFailed, - AVStreams::QoSRequestFailed); - - FlowConnection bind_mcast(in FDev first_peer, - inout AVStreams::QoS the_qos, - out boolean is_met) - raises (AVStreams::streamOpFailed, - AVStreams::QoSRequestFailed); - - void destroy(in FlowEndPoint the_ep, in string fdev_name) - // ie FDev not found - raises (AVStreams::notSupported); - }; - - enum PositionOrigin { - AbsolutePosition, RelativePosition, ModuloPosition - }; - - enum PositionKey { - ByteCount, SampleCount, MediaTime - }; - - struct Position { - PositionOrigin origin; - PositionKey key; - long value; - }; - - exception PostionKeyNotSupported { PositionKey key;}; - exception InvalidPosition { PositionKey key;}; - - // MediaControl interface is similar to - // ControlledStream interface in MSS. - // It can be inherited by flow endpoints or - // FlowConnection interfaces. - interface MediaControl{ - - exception PostionKeyNotSupported { PositionKey key;}; - - Position get_media_position( - in PositionOrigin an_origin, - in PositionKey a_key) - raises (PostionKeyNotSupported); - - void set_media_position(in Position a_position) - raises (PostionKeyNotSupported, InvalidPosition); - - void start(in Position a_position) - raises(InvalidPosition); - void pause(in Position a_position) - raises(InvalidPosition); - void resume(in Position a_position) - raises(InvalidPosition); - void stop(in Position a_position) - raises(InvalidPosition); - }; -}; - diff --git a/TAO/orbsvcs/orbsvcs/Channel_Clients.cpp b/TAO/orbsvcs/orbsvcs/Channel_Clients.cpp deleted file mode 100644 index 23a20d0c830..00000000000 --- a/TAO/orbsvcs/orbsvcs/Channel_Clients.cpp +++ /dev/null @@ -1,5 +0,0 @@ -// $Id$ - -#include "ace/ACE.h" - -ACE_RCSID(orbsvcs, Channel_Clients, "$Id$") diff --git a/TAO/orbsvcs/orbsvcs/Channel_Clients.h b/TAO/orbsvcs/orbsvcs/Channel_Clients.h deleted file mode 100644 index d48b70b25b8..00000000000 --- a/TAO/orbsvcs/orbsvcs/Channel_Clients.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Channel_Clients -// -// = AUTHOR -// Tim Harrison (harrison@cs.wustl.edu) -// -// ============================================================================ - -#ifndef ACE_CHANNEL_CLIENTS_H -#define ACE_CHANNEL_CLIENTS_H - -#include "orbsvcs/Channel_Clients_T.h" - -#endif /* ACE_CHANNEL_CLIENTS_H */ - diff --git a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.cpp b/TAO/orbsvcs/orbsvcs/Channel_Clients_T.cpp deleted file mode 100644 index 4120f0a3aca..00000000000 --- a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.cpp +++ /dev/null @@ -1,39 +0,0 @@ -// $Id$ - -#ifndef ACE_CHANNEL_CLIENTS_T_C -#define ACE_CHANNEL_CLIENTS_T_C - -#include "orbsvcs/Channel_Clients_T.h" - -#if !defined (__ACE_INLINE__) -#include "orbsvcs/Channel_Clients_T.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(orbsvcs, Channel_Clients_T, "$Id$") - -template void -ACE_PushConsumer_Adapter::push (const RtecEventComm::EventSet& events, - CORBA::Environment &TAO_IN_ENV) - ACE_THROW_SPEC (( CORBA::SystemException)) -{ - target_->push (events, TAO_IN_ENV); -} - -template void -ACE_PushConsumer_Adapter::disconnect_push_consumer ( - CORBA::Environment &TAO_IN_ENV) - ACE_THROW_SPEC (( CORBA::SystemException)) -{ - - target_->disconnect_push_consumer (TAO_IN_ENV); -} - -template void -ACE_PushSupplier_Adapter::disconnect_push_supplier ( - CORBA::Environment &TAO_IN_ENV) - ACE_THROW_SPEC (( CORBA::SystemException)) -{ - target_->disconnect_push_supplier (TAO_IN_ENV); -} - -#endif /* ACE_CHANNEL_CLIENTS_T_C */ diff --git a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h b/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h deleted file mode 100644 index 966e9dcd9c8..00000000000 --- a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h +++ /dev/null @@ -1,99 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Channel_Clients_T -// -// = AUTHOR -// Tim Harrison (harrison@cs.wustl.edu) and -// Douglas Schmidt (schmidt@cs.wustl.edu) -// -// = DESCRIPTION -// These classes allow applications to be consumer, suppliers, and -// consumer suppliers, as well as being active objects. This is -// accomplished with adapters to prevent the use of multiple -// inheritence (which is this root of all evil.) -// -// ============================================================================ - -#ifndef ACE_CHANNEL_CLIENTS_T_H -#define ACE_CHANNEL_CLIENTS_T_H - -#include "orbsvcs/RtecEventCommS.h" - -// @@ TODO: Add throw specs to this classes. - -template -class ACE_PushConsumer_Adapter : public POA_RtecEventComm::PushConsumer -{ - // = TITLE - // ACE Push Consumer Adapter - // - // = DESCRIPTION - // Forwards all calls to the owner_. -public: - ACE_PushConsumer_Adapter (TARGET *target); - // Forwards all calls to . - - virtual void push (const RtecEventComm::EventSet& events, - CORBA::Environment &env = - TAO_default_environment ()) - ACE_THROW_SPEC (( CORBA::SystemException)); - // Forwards to target_. - - virtual void disconnect_push_consumer (CORBA::Environment &env = - TAO_default_environment ()) - ACE_THROW_SPEC (( CORBA::SystemException)); - // Forwards to target_. - -private: - TARGET *target_; - - // g++ 2.7.2.3 on Solaris needs this copy constructor declaration: - ACE_UNIMPLEMENTED_FUNC (ACE_PushConsumer_Adapter (const ACE_PushConsumer_Adapter &)) - }; - -// ************************************************************ - -template -class ACE_PushSupplier_Adapter : public POA_RtecEventComm::PushSupplier -{ - // = TITLE - // ACE Push Supplier Adapter - // - // = DESCRIPTION - // Forwards all calls to disconnect_push_supplier the target_. -public: - ACE_PushSupplier_Adapter (TARGET *target); - // Forwards all calls to . - - virtual void disconnect_push_supplier (CORBA::Environment & env = - TAO_default_environment ()) - ACE_THROW_SPEC (( CORBA::SystemException)); - // Forwards to target_. - -private: - TARGET *target_; - - // g++ 2.7.2.3 on Solaris needs this copy constructor declaration: - ACE_UNIMPLEMENTED_FUNC (ACE_PushSupplier_Adapter (const ACE_PushSupplier_Adapter &)) -}; - -#if defined (__ACE_INLINE__) -#include "orbsvcs/Channel_Clients_T.i" -#endif /* __ACE_INLINE__ */ - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "orbsvcs/Channel_Clients_T.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("Channel_Clients_T.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* ACE_CHANNEL_CLIENTS_T_H */ diff --git a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.i b/TAO/orbsvcs/orbsvcs/Channel_Clients_T.i deleted file mode 100644 index 620b6fd04a8..00000000000 --- a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.i +++ /dev/null @@ -1,17 +0,0 @@ -// -// $Id$ -// - -template ACE_INLINE -ACE_PushConsumer_Adapter::ACE_PushConsumer_Adapter (TARGET *t) - : target_ (t) -{ -} - -template ACE_INLINE -ACE_PushSupplier_Adapter::ACE_PushSupplier_Adapter (TARGET *t) - : target_ (t) -{ -} - - diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp b/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp deleted file mode 100644 index 55b51bd98fd..00000000000 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp +++ /dev/null @@ -1,243 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/Concurrency_Service -// -// = FILENAME -// CC_Lock.cpp -// -// = DESCRIPTION -// This class implements a lock used by the lock set from the -// concurrency control service. -// -// = AUTHORS -// Torben Worm -// -// ============================================================================ - -#include "CC_Lock.h" -#include "tao/corba.h" - -ACE_RCSID(Concurrency, CC_Lock, "$Id$") - -CC_Lock::CC_Lock (void) - : mode_ (CosConcurrencyControl::intention_read), - lock_held_ (0) -{ -} - -CC_Lock::CC_Lock (CosConcurrencyControl::lock_mode mode) - : mode_ (mode), - lock_held_ (0) -{ -} - -CC_Lock::~CC_Lock (void) -{ -} - -void -CC_Lock::lock (CORBA::Environment &) -{ - ACE_DEBUG ((LM_DEBUG, - "CC_Lock::lock\n")); - lock_held_++; -} - -CORBA::Boolean -CC_Lock::try_lock (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - - ACE_DEBUG ((LM_DEBUG, - "CC_Lock::try_lock. ")); - - lock_held_++; - - ACE_DEBUG ((LM_DEBUG, - "lock_held_: %i, ", - lock_held_)); - - int success = 0;//semaphore_.tryacquire (); - - ACE_DEBUG ((LM_DEBUG, - "success: %i\n", success)); - - if (success == -1) - { - if (errno == EBUSY) - { - lock_held_--; - return 0; - } - else - ACE_THROW_RETURN (CORBA::INTERNAL (), - 0); - } - ACE_DEBUG ((LM_DEBUG, - "lock_held_: %i, ", - lock_held_)); - - return 1; -} - -void -CC_Lock::unlock (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_DEBUG ((LM_DEBUG, - "CC_Lock::unlock\n")); - if (lock_held_ == 0) - ACE_THROW (CosConcurrencyControl::LockNotHeld ()); - - int success = 0; //semaphore_.release (); - - if (success == -1) - ACE_THROW (CORBA::INTERNAL ()); - - lock_held_--; - - ACE_DEBUG ((LM_DEBUG, - "lock_held_: %i, ", - lock_held_)); -} - -void -CC_Lock::change_mode (CosConcurrencyControl::lock_mode new_mode, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_UNUSED_ARG (ACE_TRY_ENV); - ACE_DEBUG ((LM_DEBUG, - "CC_Lock::change_mode\n")); - - // @@TAO Hmmm, we cannot really do anything at present since there - // is only one lock per lock set and that lock is essentially a - // write lock - - if (lock_held_ == 0) - ACE_THROW (CosConcurrencyControl::LockNotHeld ()); - - this->mode_ = new_mode; -} - -void -CC_Lock::set_mode (CosConcurrencyControl::lock_mode mode) -{ - this->mode_ = mode; -} - -CORBA::Boolean -CC_Lock::Compatible (const CC_Lock &other) -{ - return this->Compatible (other.mode_); -} - -CORBA::Boolean -CC_Lock::Compatible (CosConcurrencyControl::lock_mode mode) -{ - return compatible_[this->mode_][mode]; -} - -CosConcurrencyControl::lock_mode -CC_Lock::GetMode (void) -{ - return mode_; -} - -int -CC_Lock::GetLocksHeld (void) -{ - return this->lock_held_; -} - -void -CC_Lock::DecLocksHeld (void) -{ - this->lock_held_--; -} - -void -CC_Lock::dump (void) -{ - ACE_DEBUG ((LM_DEBUG, - "mode_ %i, lock_held_: %i\n", - mode_, - lock_held_)); -} - -// The check of compatibility is a hard coded table statically -// allocated. This table must be changed if the number of lock modes -// or their compatibility are changed. The table here looks different -// from the table in the spec, this is due to the different ordering -// of the lock modes in the table and in the enum in the IDL. The -// first index in the array is the mode held by this lock and the -// second index is the requested mode. -// Requested mode -// Held mode R W U IR IW -// R X X -// W X X X X X -// U X X X X = conflict -// IR X -// IW X X X -// -CORBA::Boolean CC_Lock::compatible_[NUMBER_OF_LOCK_MODES][NUMBER_OF_LOCK_MODES] ={ - {1, 0, 1, 1, 0}, - {0, 0, 0, 0, 0}, - {1, 0, 0, 1, 0}, - {1, 0, 1, 1, 1}, - {0, 0, 0, 1, 1}}; - -// CC_LockModeterator - -CC_LockModeIterator::CC_LockModeIterator (void) - : current_ (CosConcurrencyControl::intention_read) -{ -} - -CC_LockModeIterator::~CC_LockModeIterator (void) -{ - // Do nothing -} -void CC_LockModeIterator::First (void) -{ - current_ = CosConcurrencyControl::intention_read; -} - -void CC_LockModeIterator::Next (CORBA::Environment &ACE_TRY_ENV) -{ - switch (current_) - { - case CosConcurrencyControl::intention_read: - current_ = CosConcurrencyControl::read; - break; - case CosConcurrencyControl::read: - current_ = CosConcurrencyControl::upgrade; - break; - case CosConcurrencyControl::upgrade: - current_ = CosConcurrencyControl::intention_write; - break; - case CosConcurrencyControl::intention_write: - current_ = CosConcurrencyControl::write; - break; - case CosConcurrencyControl::write: - ACE_THROW (CORBA::INTERNAL ()); - default: - ACE_THROW (CORBA::INTERNAL ()); - } -} - -CORBA::Boolean -CC_LockModeIterator::IsDone (void) -{ - if (current_==CosConcurrencyControl::write) - return 1; - else - return 0; -} - -CosConcurrencyControl::lock_mode -CC_LockModeIterator::GetLockMode (void) -{ - return current_; -} diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.h b/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.h deleted file mode 100644 index 129022f97ae..00000000000 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.h +++ /dev/null @@ -1,140 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/Concurrency_Service -// -// = FILENAME -// CC_Lock.h -// -// = DESCRIPTION -// This class implements a lock used by the lock set from the -// concurrency control service -// -// = AUTHORS -// Torben Worm -// -// ============================================================================ - -#ifndef _CC_LOCK_H -#define _CC_LOCK_H - -#include "ace/Synch.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "orbsvcs/CosConcurrencyControlC.h" - -#define NUMBER_OF_LOCK_MODES 5 -// This constant defines the number of lock modes. There is really no -// way to set this constant dynamically because the nuber of lock -// modes are not stated as part of the IDL. - -class TAO_ORBSVCS_Export CC_Lock -{ - // = TITLE - // CC_Lock - // - // = DESCRIPTION - // This class implements the lock concept from the concurrency - // control service. The lock holds its mode - this might later - // be changed to subclasses depending on the differences of the - // locks. At present the is only a lock-pr-thread/client-type - // which is essentially a write lock since it is not allowed to - // have more than one lock pr. servant in this implementation. -public: - CC_Lock (void); - // Creates the lock with mode = intention_read (weakest) - - CC_Lock (CosConcurrencyControl::lock_mode mode); - // Creates the lock with the desired mode - - ~CC_Lock (void); - // Deletes the lock - - void lock (CORBA::Environment &env); - // Acquires this lock. Blocks until lock is obtained - - CORBA::Boolean try_lock (CORBA::Environment &env); - // Tries to acquire this lock. If it is not possible to acquire the - // lock, false is returned - - void unlock (CORBA::Environment &env); - // Releases this lock. - - void change_mode (CosConcurrencyControl::lock_mode new_mode, - CORBA::Environment &env); - // Changes the mode of this lock. - - void set_mode (CosConcurrencyControl::lock_mode mode); - // Sets the mode_ of the lock. Used in initialization - - CORBA::Boolean Compatible (const CC_Lock &other); - // returns true if this lock is compatible with the other lock. - - CORBA::Boolean Compatible (CosConcurrencyControl::lock_mode mode); - // Returns true is this lock is compatible with the referenced mode. - - CosConcurrencyControl::lock_mode GetMode (void); - // Returns the mode of the lock. - - int GetLocksHeld(void); - // Returns the number of times this lock have been locked - - void DecLocksHeld(void); - // Decrements the number of locks held in this mode. Used by change_mode. - - void dump(void); - // Dumps the state of the object to stdout - -protected: - CosConcurrencyControl::lock_mode mode_; - // Holds the lock's mode. - -private: - int lock_held_; - // If greater than zero the lock is held (that number of times). - - static CORBA::Boolean compatible_[NUMBER_OF_LOCK_MODES][NUMBER_OF_LOCK_MODES]; - // Defines the compatibility of the locks. -}; - -class TAO_ORBSVCS_Export CC_LockModeIterator -{ - // = TITLE - // CC_LockModeIterator - // - // = DESCRIPTION - // This class implements an iterator over the lock modes in - // order to make an ordered traversal over the locks from the - // weakest (intention read) to the strongest (write). - // Ordering: IR -> R -> U -> IW -> W -public: - CC_LockModeIterator(void); - // Default constructor - - ~CC_LockModeIterator(void); - // Destructor - - void First(void); - // Reset the iterator to the first element - - void Next(CORBA::Environment &_env); - // Advance the iterator to the next element - // Throws exception if out of range - - CORBA::Boolean IsDone(void); - // Returns true if the iterator has reached the last element - - CosConcurrencyControl::lock_mode GetLockMode(void); - // Get the current element - -private: - CosConcurrencyControl::lock_mode current_; -}; - -#endif /* !defined (_CC_LOCK_H) */ diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp deleted file mode 100644 index dc108b20904..00000000000 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp +++ /dev/null @@ -1,330 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// CC_LockSet.cpp -// -// = AUTHOR -// Torben Worm -// -// ============================================================================ - -#include "CC_LockSet.h" - -ACE_RCSID(Concurrency, CC_LockSet, "$Id$") - -// Default constructor. - -CC_LockSet::CC_LockSet (void) - : related_lockset_ (0) -{ - ACE_TRY_NEW_ENV - { - this->Init (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "CC_LockSet::CC_LockSet (void)"); - } - ACE_ENDTRY; -} - -// Constructor used to create related lock sets. - -CC_LockSet::CC_LockSet (CosConcurrencyControl::LockSet_ptr related) - : related_lockset_ (related) -{ - ACE_TRY_NEW_ENV - { - this->Init (ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "CC_LockSet::CC_LockSet (...)"); - } - ACE_ENDTRY; -} - -// Initialization. - -void -CC_LockSet::Init (CORBA::Environment &ACE_TRY_ENV) -{ - // Set the mode of the statically allocated locks - lock_[CC_IR] = 0; - lock_[CC_R] = 0; - lock_[CC_U] = 0; - lock_[CC_IW] = 0; - lock_[CC_W] = 0; - - // Acquire the semaphore in order to be able to put requests on hold - if (semaphore_.acquire () == -1) - ACE_THROW (CORBA::INTERNAL ()); -} - -// Destructor - -CC_LockSet::~CC_LockSet (void) -{ -} - -// Returns true if the requested lock mode is compatible with the -// modes held. False otherwise. - -CORBA::Boolean CC_LockSet::compatible (CC_LockModeEnum mr) -{ - for (size_t i = CC_IR; i <= CC_W; i++) - if (this->lock_[i] > 0) - if (this->compatible_[i][mr] == 0) - return 0; - - return 1; -} - -// Locks the lock in the desired mode. Blocks until success. - -void -CC_LockSet::lock (CosConcurrencyControl::lock_mode mode, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_DEBUG ((LM_DEBUG, "CC_LockSet::lock\n")); - - CC_LockModeEnum lm = lmconvert (mode); - - // Check to see if the requested mode is compatible with the modes - // held so far. If not put the request on hold. - - // @@ It's important to document somewhere that this code relies on - // the FIFO properties of ACE_Token! - if (this->lock_i (lm) == 1) - if (semaphore_.acquire () == -1) - ACE_THROW (CORBA::INTERNAL ()); -} - -// Tries to lock. If it is not possible false is returned. - -CORBA::Boolean -CC_LockSet::try_lock (CosConcurrencyControl::lock_mode mode, - CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - CC_LockModeEnum lm = lmconvert (mode); - - ACE_DEBUG ((LM_DEBUG, - "CC_LockSet::try_lock\n")); - - if (this->try_lock_i (lm) == 0) - return 0; - else - return 1; -} - -// Converts the enum from the spec to the internally (ordered) -// enum. - -CC_LockModeEnum -CC_LockSet::lmconvert (CosConcurrencyControl::lock_mode mode) -{ - switch (mode) - { - case CosConcurrencyControl::intention_read: - return CC_IR; - case CosConcurrencyControl::read: - return CC_R; - case CosConcurrencyControl::upgrade: - return CC_U; - case CosConcurrencyControl::intention_write: - return CC_IW; - case CosConcurrencyControl::write: - return CC_W; - default: - return CC_EM; - } -} - -// Unlock the lock - -void -CC_LockSet::unlock (CosConcurrencyControl::lock_mode mode, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosConcurrencyControl::LockNotHeld)) -{ - ACE_DEBUG ((LM_DEBUG, - "CC_LockSet::unlock\n")); - - CC_LockModeEnum lm = lmconvert (mode); - - ACE_GUARD (ACE_SYNCH_MUTEX, ace_mon, this->mlock_); - - if (lock_[lm] == 0) // This lock is not held. - ACE_THROW (CosConcurrencyControl::LockNotHeld()); - else - lock_[lm]--; - - // If we do not have a lock held in a weaker mode than the - // strongest held and we have requests on the semaphore signal - // the semaphore. - while (lock_queue_.size () > 0) - { - CC_LockModeEnum lock_on_queue = CC_EM; - - lock_queue_.dequeue_head (lock_on_queue); - - if (compatible (lock_on_queue) == 1) - { - if (semaphore_.release () == -1) - ACE_THROW (CORBA::INTERNAL ()); - lock_[lock_on_queue]++; - } - else - { - lock_queue_.enqueue_head (lock_on_queue); - break; - } - } - this->dump (); -} - -// Changes the mode of a held lock. - -void -CC_LockSet::change_mode (CosConcurrencyControl::lock_mode held_mode, - CosConcurrencyControl::lock_mode new_mode, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosConcurrencyControl::LockNotHeld)) -{ - ACE_DEBUG ((LM_DEBUG, - "CC_LockSet::change_mode\n")); - CC_LockModeEnum lm_held = lmconvert (held_mode); - CC_LockModeEnum lm_new = lmconvert (new_mode); - - if (this->lock_held (lm_held) == 0) // This lock is not held - ACE_THROW (CosConcurrencyControl::LockNotHeld()); - else if (this->change_mode_i (lm_held, lm_new)==1) - { - this->unlock (held_mode, ACE_TRY_ENV); - ACE_CHECK; - - if (semaphore_.acquire () == -1) - ACE_THROW (CORBA::INTERNAL ()); - } - // this->dump (); -} - -int -CC_LockSet::lock_i (CC_LockModeEnum lm) -{ - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->mlock_, 1); - // If the lock is not compatible with the locks we hold allready or - // there is lock requests in the queue we cannot grant the lock and - // thus we queue the request. Otherwise update the lock count. - if (compatible (lm) == 0 || lock_queue_.size () > 0) - { - // Put the lock mode in the queue - lock_queue_.enqueue_tail (lm); - this->dump (); - return 1; // Lock the semaphore. - } - else - lock_[lm]++; - - this->dump (); - return 0; -} - -int -CC_LockSet::try_lock_i (CC_LockModeEnum lm) -{ - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->mlock_, 1); - // If the lock we try is compatible with the locks we hold we just - // opdates the count. Otherwise we return false. - if (compatible (lm) == 0) - { - this->dump (); - return 0; - } - else - lock_[lm]++; - - this->dump (); - return 1; -} - -int -CC_LockSet::change_mode_i (CC_LockModeEnum lm_held, - CC_LockModeEnum lm_new) -{ - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->mlock_, 1); - // If the new mode is compatible with the modes we hold we change - // the counts for the two locks. If not we must queue the new - // request. We can decrement the count for the old mode without - // signalling the semaphore because we know we only check modes - // granted this far. - - lock_[lm_held]--; - - if (compatible (lm_new) == 1) - { - lock_[lm_new]++; - this->dump (); - return 0; - } - else - { - lock_[lm_held]++; - lock_queue_.enqueue_tail (lm_new); - this->dump (); - return 1; - } -} - -int -CC_LockSet::lock_held (CC_LockModeEnum lm) -{ - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->mlock_, 1); - if (lock_[lm] > 0) - return 1; - else - return 0; -} - -void -CC_LockSet::dump (void) -{ - ACE_DEBUG ((LM_DEBUG, - "waiting_calls_: %i, IR: %i, R: %i, U: %i, IW: %i, W: %i\n", - lock_queue_.size (), - lock_[CC_IR], - lock_[CC_R], - lock_[CC_U], - lock_[CC_IW], - lock_[CC_W])); -} - -CORBA::Boolean CC_LockSet::compatible_[NUMBER_OF_LOCK_MODES][NUMBER_OF_LOCK_MODES] ={ - {1, 1, 1, 1, 0}, - {1, 1, 1, 0, 0}, - {1, 1, 0, 0, 0}, - {1, 0, 0, 1, 0}, - {0, 0, 0, 0, 0}}; - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Node; -template class ACE_Unbounded_Queue; -template class ACE_Unbounded_Queue_Iterator; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Node -#pragma instantiate ACE_Unbounded_Queue -#pragma instantiate ACE_Unbounded_Queue_Iterator -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.h b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.h deleted file mode 100644 index 24d0357f9d5..00000000000 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.h +++ /dev/null @@ -1,180 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/Concurrency_Service -// -// = FILENAME -// CC_LockSet.h -// -// = DESCRIPTION -// This class implements the lock set interface from the -// concurrency service. -// -// In the present implementation the multiple possesion semantics -// is implemented for non-transactional clients. In future -// versions this should be changed because the multiple possesion -// semantics does not apply to non-transactional clients. This -// can be accomplished in the following manner: -// - Make a class with the same functiallity as the CC_LockSet -// class as a base class for both implementations. -// - The functionallity that should be separated out in the -// subclasses is the compatible function which should always -// return false because no locks can be held simultanously with -// non-transactional clients. -// - Use these classes from the classes that inherits the -// servant properties, i.e. the way CC_LockSet does now. -// -// = AUTHORS -// Torben Worm -// -// ============================================================================ - -#ifndef _CC_LOCKSET_H -#define _CC_LOCKSET_H - -#include "ace/Synch.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Token.h" -#include "orbsvcs/CosConcurrencyControlS.h" - -#define NUMBER_OF_LOCK_MODES 5 -// This constant defines the number of lock modes. There is really no -// way to set this constant dynamically because the nuber of lock -// modes are not stated as part of the IDL. - -typedef enum {CC_EM=-1, CC_IR=0, CC_R, CC_U, CC_IW, CC_W} CC_LockModeEnum; -// Enummeration representing the lock modes. The incomming request is -// always converted to this representation. There are two reasons for -// this: Firstly the lock modes are ordered from weakest to strongest -// in the internal representation, and secondly it is possible to -// indicate a 'non-mode' (CC_EM) - -class TAO_ORBSVCS_Export CC_LockSet : public POA_CosConcurrencyControl::LockSet -{ - // = TITLE - // CC_LockSet - // - // = DESCRIPTION - // This class implements the LockSet interface that is part of - // the CosConcurrency service. Please consult the idl file for - // detailed descriptions apart from the comments in this file At - // present the lock set is not really a set, but only one lock. -public: - - // = Initialization and termination methods. - CC_LockSet (void); - // Default constructor - - CC_LockSet (CosConcurrencyControl::LockSet_ptr related); - // Constructor used if create_related is used to create the lock - // set. - - ~CC_LockSet (void); - // Destructor. - - // = CosConcurrencyControl methods - virtual void lock (CosConcurrencyControl::lock_mode mode, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Acquires this lock. Blocks until lock is obtained - - virtual CORBA::Boolean try_lock (CosConcurrencyControl::lock_mode mode, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Tries to acquire this lock. If it is not possible to acquire the - // lock, false is returned - - virtual void unlock (CosConcurrencyControl::lock_mode mode, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - CosConcurrencyControl::LockNotHeld)); - // Releases this lock. - - virtual void change_mode (CosConcurrencyControl::lock_mode held_mode, - CosConcurrencyControl::lock_mode new_mode, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - CosConcurrencyControl::LockNotHeld)); - // Changes the mode of this lock. - - // = Debugging methods - void dump (void); - // Dump the state of the object to stdout - -private: - CC_LockModeEnum lmconvert (CosConcurrencyControl::lock_mode mode); - // Converts the CORBA specification's lock mode to the internal - // representation - - void Init (CORBA::Environment &_env); - // Initiatlizes the lock set array and acquires the initial - // semaphore. - - CORBA::Boolean compatible (CC_LockModeEnum mr); - // Returns true if the held lock and the requested lock are compatible - - // The _i functions below ensures atomical access the the state data - // for the lock set. The functions acquires a thread lock in order - // to insure consistency within the lock set. The return value - // typically indicates whether the current thread should be - // suspended or not (by locking the semaphore. - - int lock_i (CC_LockModeEnum lm); - // Locks the access to the data and decides whether to lock or - // not. Returns 1 if the semaphore should be locked. - - // int unlock_i (CosConcurrencyControl::lock_mode lm); - // This function is not necessary because we lock access to the data - // and unlocks the semaphore until an invalid lock mode is first on - // the queue. Thereafter we release the lock. - - int try_lock_i (CC_LockModeEnum lm); - // Locks the access to the data and determines whether to return - // true or false. Returns 1 if true should be returned. - - int change_mode_i (CC_LockModeEnum lm_held, - CC_LockModeEnum lm_new); - // Locks access to the data and determines if the semaphore should - // be locked. Returns 1 if the semaphore should be locked. - - int lock_held (CC_LockModeEnum lm); - // Locks access ti the data and checks whether the lock is held. - - int lock_[NUMBER_OF_LOCK_MODES]; - // An array of lock counters that counts how many locks of that type - // that the lock set holds. - - // ACE_Thread_Semaphore semaphore_; - ACE_Token semaphore_; - // This is the semaphore for the lock set. The semaphore is used to - // queue requests for locks in modes stronger than currently - // possible to grant. Note that the provides strict - // FIFO ordering of acquisition/release of the lock. - - CosConcurrencyControl::LockSet_ptr related_lockset_; - // If this lock set is related to another lock set, this is the - // pointer to the related lock set. This is a really simple - // solution, but since transactions are not supported in the first - // version there should be no reason to drop lock sets together. The - // is not implemented (it has the - // responsibilities of dropping the locks). - - static CORBA::Boolean compatible_[NUMBER_OF_LOCK_MODES][NUMBER_OF_LOCK_MODES]; - // Mapping between requested and held lock modes. Used by compatible - // (...). Uses the internal enumeration as indices. - - ACE_SYNCH_MUTEX mlock_; - // Lock to ensure that race conditions does not occur. - - ACE_Unbounded_Queue lock_queue_; - // Queue to hold the requested locks not yet granted. -}; - -#endif /* _CC_LOCKSET_H */ diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp deleted file mode 100644 index 1d857c61366..00000000000 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// CC_LockSetFactory.cpp -// -// = AUTHOR -// Torben Worm -// -// ============================================================================ - -#include "CC_LockSetFactory.h" -#include "CC_LockSet.h" - -ACE_RCSID(Concurrency, CC_LockSetFactory, "$Id$") - -// Default constructor -CC_LockSetFactory::CC_LockSetFactory (void) -{ -} - -// Destructor. -CC_LockSetFactory::~CC_LockSetFactory (void) -{ -} - -CosConcurrencyControl::LockSet_ptr -CC_LockSetFactory::create (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - CC_LockSet *ls = 0; - - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->lock_, CosConcurrencyControl::LockSet::_nil ()); - - ACE_NEW_THROW_EX (ls, - CC_LockSet, - CORBA::NO_MEMORY()); - ACE_CHECK_RETURN (CosConcurrencyControl::LockSet::_nil ()); - - return ls->_this (ACE_TRY_ENV); -} - -CosConcurrencyControl::LockSet_ptr -CC_LockSetFactory::create_related (CosConcurrencyControl::LockSet_ptr which, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - CC_LockSet *ls = 0; - - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->lock_, CosConcurrencyControl::LockSet::_nil ()); - - // @@ I commented out the following statement becuase it doesn't make any - // sense at all. -- Nanbor - // TAO_IN_ENV.exception (new CORBA::NO_MEMORY ()); - ACE_NEW_THROW_EX (ls, - CC_LockSet (which), - CORBA::NO_MEMORY()); - ACE_CHECK_RETURN (CosConcurrencyControl::LockSet::_nil ()); - - return ls->_this (ACE_TRY_ENV); -} diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h deleted file mode 100644 index c2f9cf9e470..00000000000 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h +++ /dev/null @@ -1,60 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/Concurrency_Service -// -// = FILENAME -// CC_LockSetFactory.h -// -// = DESCRIPTION -// This class implements the lock set factory interface from the -// concurrency service. -// -// = AUTHORS -// Torben Worm -// -// ============================================================================ - -#ifndef _CC_LOCKSETFACTORY_H -#define _CC_LOCKSETFACTORY_H - -// #include "tao/corba.h" -#include "orbsvcs/CosConcurrencyControlS.h" - -class TAO_ORBSVCS_Export CC_LockSetFactory : public POA_CosConcurrencyControl::LockSetFactory -{ - // = TITLE - // CC_LockSetFactory - // - // = DESCRIPTION - // This class implements the LockSetFactory interface that is - // part of the CosConcurrency service. Please consult the idl - // file for detailed descriptions apart from the comments in - // this file. -public: - - // = Initialization and termination methods. - CC_LockSetFactory (void); - // Default constructor. - - ~CC_LockSetFactory (void); - // Destructor. - - virtual CosConcurrencyControl::LockSet_ptr create ( - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CosConcurrencyControl::LockSet_ptr create_related ( - CosConcurrencyControl::LockSet_ptr which, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - -private: - ACE_SYNCH_MUTEX lock_; - // Lock to serialize the access to the factory. -}; - -#endif /* _CC_LOCKSETFACTORY_H */ diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.cpp b/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.cpp deleted file mode 100644 index 25ac44f4314..00000000000 --- a/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/Concurrency_Service -// -// = FILENAME -// Concurrency_Utils.cpp -// -// = AUTHOR -// Torben Worm -// -// ============================================================================ - -#include "ace/streams.h" -#include "orbsvcs/CosConcurrencyControlC.h" -#include "tao/corba.h" -#include "Concurrency_Utils.h" - -ACE_RCSID(Concurrency, Concurrency_Utils, "$Id$") - -// Default constructor - -TAO_Concurrency_Server::TAO_Concurrency_Server (void) -{ -} - -// Constructor which takes an ORB and POA. - -TAO_Concurrency_Server::TAO_Concurrency_Server (CORBA::ORB_var &orb, - PortableServer::POA_var &poa) -{ - this->init (orb, poa); -} - -// Function to initialize the concurrency server object under the -// passed orb and poa. - -int -TAO_Concurrency_Server::init (CORBA::ORB_var &orb, - PortableServer::POA_var &poa) -{ - ACE_TRY_NEW_ENV - { - // @@ Huh?!? - - // Get the naming context ptr to NameService. - // ACE_TRY_CHECK; - - PortableServer::ObjectId_var id = - PortableServer::string_to_ObjectId ("ConcurrencyService"); - - poa->activate_object_with_id (id.in (), - &lock_set_factory_, - ACE_TRY_ENV); - ACE_TRY_CHECK; - - // Stringify the objref we'll be implementing, and print it to - // stdout. Someone will take that string and give it to a - // client. Then release the object. - CORBA::Object_var obj = - poa->id_to_reference (id.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - CORBA::String_var str = - orb->object_to_string (obj.in (), - ACE_TRY_ENV); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "listening as object <%s>\n", - str.in ())); - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Concurrency Service"); - } - ACE_ENDTRY; - return 0; -} - -// Get the lock set factory. - -CC_LockSetFactory * -TAO_Concurrency_Server::GetLockSetFactory(void) -{ - return &this->lock_set_factory_; -} - -// Destructor. - -TAO_Concurrency_Server::~TAO_Concurrency_Server (void) -{ -} diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h b/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h deleted file mode 100644 index e067efcc60e..00000000000 --- a/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h +++ /dev/null @@ -1,64 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/Concurrency_Service -// -// = FILENAME -// Concurrency_Utils.h -// -// = DESCRIPTION -// This class implements a Concurrency Server wrapper class which -// holds a number of lock sets. The server must run in the -// thread per request concurrency model in order to let the -// clients block on the semaphores. -// -// = AUTHORS -// Torben Worm -// -// ============================================================================ - -#ifndef _CONCURRENCY_SERVER_H -#define _CONCURRENCY_SERVER_H - -#include "tao/corba.h" -#include "orbsvcs/CosConcurrencyControlC.h" -#include "CC_LockSetFactory.h" - -class TAO_ORBSVCS_Export TAO_Concurrency_Server -{ - // = TITLE - // Defines a wrapper class for the implementation of the - // concurrency server. - // - // = DESCRIPTION - // This class takes an orb and Poa reference and activates the - // concurrency service lock set factory object under them. -public: - // = Initialization and termination methods. - TAO_Concurrency_Server (void); - //Default constructor. - - TAO_Concurrency_Server (CORBA::ORB_var &orb, - PortableServer::POA_var &poa); - // Takes the POA under which to register the Concurrency Service - // implementation object. - - ~TAO_Concurrency_Server (void); - // Destructor. - - int init (CORBA::ORB_var &orb, - PortableServer::POA_var &poa); - // Initialize the concurrency server under the given ORB and POA. - - CC_LockSetFactory *GetLockSetFactory(void); - // Get the lock set factory. - -private: - CC_LockSetFactory lock_set_factory_; - // This is the lock set factory activated under the POA. -}; - -#endif /* _CONCURRENCY_SERVER_H */ diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/Makefile.am b/TAO/orbsvcs/orbsvcs/Concurrency/Makefile.am deleted file mode 100644 index 1038e3ee925..00000000000 --- a/TAO/orbsvcs/orbsvcs/Concurrency/Makefile.am +++ /dev/null @@ -1,41 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's Concurrency Service library -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -lib_LTLIBRARIES = libTAO_Concurrency.la - -libTAO_Concurrency_la_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -libTAO_Concurrency_la_SOURCES = \ - CC_Lock.cpp \ - CC_LockSet.cpp \ - CC_LockSetFactory.cpp \ - Concurrency_Utils.cpp - -noinst_HEADERS = \ - CC_Lock.h \ - CC_LockSet.h \ - CC_LockSetFactory.h \ - Concurrency_Utils.h - - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/orbsvcs/CosConcurrencyControl.idl b/TAO/orbsvcs/orbsvcs/CosConcurrencyControl.idl deleted file mode 100644 index 1c7cc0d2994..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosConcurrencyControl.idl +++ /dev/null @@ -1,199 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// CosTransaction.idl -// -// = DESCRIPTION -// Described in CORBAservices: Common Object Services -// Specification, chapter 7 The concurrency service description can -// be downloaded from -// ftp://www.omg.org/pub/docs/formal/97-11-02.idl -// -// = AUTHOR -// Torben Worm -// -// ============================================================================ - -#ifndef TAO_CONCURRENCY_IDL -#define TAO_CONCURRENCY_IDL - -//CosConcurrencyControl Module, page 7-8 -//Includes the following interfaces: -// LockCoordinator, LockSet, TransactionalLockSet, LockSetFactory - -// The part depending on the transaction service may be included by defining -// TAO_HAS_TRANSACTION_CONTROL_SERVICE - -#if defined (TAO_HAS_TRANSACTION_CONTROL_SERVICE) -#include -#endif /* TAO_HAS_TRANSACTION_CONTROL_SERVICE */ - -#pragma prefix "omg.org" - -module CosConcurrencyControl -{ - // = TITLE - // CosConcurrencyControl - // - // = DESCRIPTION - // This idl file describes the concurrency control service. The - // purpose of the concurrency control service is to mediate - // concurrent access to an pbject such that the consistency of - // the object is not compromised when accessed by concurrently - // executing computations. - - // = These are the different lock types supported by this module. - - // For a description of the compatability between the different lock - // types please consult the service description (OMG). - enum lock_mode - { - read, - write, - upgrade, - intention_read, - intention_write - }; - - exception LockNotHeld {}; - // The LockNotHeld exception is is raised when an operation to - // unlock or change the mode of a lock is called and the specified - // lock is not held - -#if defined (TAO_HAS_TRANSACTION_CONTROL_SERVICE) - // @@ The lock coordinator is designed for transactional lock sets, - // so we don't support it (yet). - interface LockCoordinator - { - // = TITLE - // LockCoordinator drops all locks associated with a transaction. - // = DESCRIPTION - // The LockCoordinator interface enables a transaction service to - // drop all locks held by a transaction. - - void drop_locks (); - // Releases all the locks held by the transaction. Designet to be - // used by transaction service when a transaction commits or aborts. - }; -#endif /* TAO_HAS_TRANSACTION_CONTROL_SERVICE */ - - interface LockSet - { - // = TITLE - // LockSet inteface to the concurrency service in implicit - // mode. - // - // = DESCRIPTION - // Clients operating in the implicit mode - // (i.e. non-transactional mode) acquire and release locks - // in lock sets throug this interface. The interface only - // provides operations to acquire and release locks on - // behalf of the calling thread or transaction. - - void lock (in lock_mode mode); - // Acquires a lock on the specified lock set in the specified - // mode. Blocks until lock is obtained. - - boolean try_lock (in lock_mode mode); - // Tries to acquire a lock on the specified lock set. If it is - // not possible to acquire the lock false is returned. - - void unlock (in lock_mode mode) - raises (LockNotHeld); - // Releases a single lock on the specified lock set. A lock can - // be held multiple times in the same mode. If the lock is not - // held the exception LockNotHeld is raised. - - void change_mode (in lock_mode held_mode, - in lock_mode new_mode) - raises (LockNotHeld); - // Changes the mode of the lock on the specified lock set. If a - // conflicting lock is held by another client the call blocks - // until the new mode can be granted. If the lock is not held in - // the specified mode the exception LockNotHeld is raised. - -#if defined (TAO_HAS_TRANSACTION_CONTROL_SERVICE) - LockCoordinator get_coordinator (in CosTransactions::Coordinator which); - // Returns the lock coordinator associated with the specified - // transaction. -#endif /* TAO_HAS_TRANSACTION_CONTROL_SERVICE */ - }; - -#if defined (TAO_HAS_TRANSACTION_CONTROL_SERVICE) - interface TransactionalLockSet - { - // = TITLE - // TransactionalLockSet interface to the concurrency service - // in transactional mode. - // - // = DESCRIPTION - // Clients operating in the transactional mode acquire and - // release locks in lock sets through this interface. The - // interface provides operations identical to the operations - // described in the LockSet interface section. The - // difference beeing that the coordinator for the - // transaction is explicitly passed as a reference to the - // operations. Please see the description of the LockSet - // interface for a detailed description. - - void lock (in CosTransactions::Coordinator current, - in lock_mode mode); - // See LockSet::lock - - boolean try_lock (in CosTransactions::Coordinator current, - in lock_mode mode); - // See LockSet::try_lock - - void unlock (in CosTransactions::Coordinator current, - in lock_mode mode) - raises (LockNotHeld); - // See LockSet::unlock - - void change_mode (in CosTransactions::Coordinator current, - in lock_mode held_mode, - in lock_mode new_mode) - raises (LockNotHeld); - // See LockSet::change_mode - - LockCoordinator get_coordinator (in CosTransactions::Coordinator which); - // See LockSet::get_coordinator - }; -#endif /* TAO_HAS_TRANSACTION_CONTROL_SERVICE */ - - interface LockSetFactory - { - // = TITLE - // Factory interface for the LockSet and - // TransactionalLockSet interfaces. - // - // = DESCRIPTION - // Factory for creating the lock sets. - - LockSet create (); - // Creates a new LockSet and lock coordinator - // @@TAO ??? is this correct? Lock coordinators are associated with - // transactions. - tworm - - LockSet create_related (in LockSet which); - // Creates a lock set related to the specified lock set. Related lock - // sets drop their locks together. - -#if defined (TAO_HAS_TRANSACTION_CONTROL_SERVICE) - TransactionalLockSet create_transactional (); - // Creates a new TransactionalLockSet and lock coordinator for - // transactional mode clients. - - TransactionalLockSet create_transactional_related (in TransactionalLockSet which); - // Creates a new transactional lock set related to the specified lock - // set. Related lock sets drop locks together. -#endif /* TAO_HAS_TRANSACTION_CONTROL_SERVICE */ - }; -}; - -#endif /* TAO_CONCURRENCY_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp deleted file mode 100644 index 362875858cc..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// $Id$ - -#include "ConsumerAdmin_i.h" -#include "ace/Auto_Ptr.h" - -TAO_CosEC_ConsumerAdmin_i::TAO_CosEC_ConsumerAdmin_i (void) - : qos_ (), - rtec_consumeradmin_ (RtecEventChannelAdmin::ConsumerAdmin::_nil ()) -{ - // No-Op. -} - -TAO_CosEC_ConsumerAdmin_i::~TAO_CosEC_ConsumerAdmin_i (void) -{ - // No-Op. -} - -int -TAO_CosEC_ConsumerAdmin_i::init (const RtecEventChannelAdmin::ConsumerQOS &consumerqos, - RtecEventChannelAdmin::ConsumerAdmin_ptr rtec_consumeradmin) -{ - this->qos_ = consumerqos; - this->rtec_consumeradmin_ = - RtecEventChannelAdmin::ConsumerAdmin::_duplicate (rtec_consumeradmin); - return 0; -} - -CosEventChannelAdmin::ProxyPushSupplier_ptr -TAO_CosEC_ConsumerAdmin_i::obtain_push_supplier (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - CosEventChannelAdmin::ProxyPushSupplier_ptr proxysupplier_nil = - CosEventChannelAdmin::ProxyPushSupplier::_nil (); - - RtecEventChannelAdmin::ProxyPushSupplier_var rtecproxypushsupplier = - this->rtec_consumeradmin_->obtain_push_supplier (ACE_TRY_ENV); - ACE_CHECK_RETURN (proxysupplier_nil); - - TAO_CosEC_ProxyPushSupplier_i *proxypushsupplier; - - ACE_NEW_RETURN (proxypushsupplier, - TAO_CosEC_ProxyPushSupplier_i (this->qos_, - rtecproxypushsupplier.in ()), - proxysupplier_nil); - - auto_ptr - auto_proxysupplier (proxypushsupplier); - - CosEventChannelAdmin::ProxyPushSupplier_ptr proxy_obj = - auto_proxysupplier.get ()->_this (ACE_TRY_ENV); - ACE_CHECK_RETURN (proxysupplier_nil); - - // give the ownership to the POA. - auto_proxysupplier.get ()->_remove_ref (ACE_TRY_ENV); - ACE_CHECK_RETURN (proxysupplier_nil); - - auto_proxysupplier.release (); - return proxy_obj; -} - -CosEventChannelAdmin::ProxyPullSupplier_ptr -TAO_CosEC_ConsumerAdmin_i::obtain_pull_supplier (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // TODO: implement this. - return CosEventChannelAdmin::ProxyPullSupplier::_nil (); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class ACE_Auto_Basic_Ptr; - template class auto_ptr; -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate ACE_Auto_Basic_Ptr -# pragma instantiate auto_ptr -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h deleted file mode 100644 index a0556682983..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h +++ /dev/null @@ -1,76 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO services -// -// = FILENAME -// ConsumerAdmin_i -// -// = AUTHOR -// Pradeep Gore -// -// = DESCRIPTION -// This has the implementation of the -// CosEventChannelAdmin::ConsumerAdmin interface. -// -// ============================================================================ - -#if !defined (CONSUMERADMIN_I_H) -#define CONSUMERADMIN_I_H - -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/CosEventChannelAdminS.h" -#include "orbsvcs/CosEvent/ProxyPushSupplier_i.h" - -#if defined(_MSC_VER) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -class TAO_ORBSVCS_Export TAO_CosEC_ConsumerAdmin_i : - public virtual POA_CosEventChannelAdmin::ConsumerAdmin, - public virtual PortableServer::RefCountServantBase -{ - // = TITLE - // class TAO_CosEC_ConsumerAdmin_i implements the ConsumerAdmin interface. - // - // = DESCRIPTION - // This implementation of the ConsumerAdmin uses the - // RtecEventChannelAdmin::ConsumerAdmin. -public: - // = Initialization and termination methods. - TAO_CosEC_ConsumerAdmin_i (void); - // Constructor. - - ~TAO_CosEC_ConsumerAdmin_i (void); - // Destructor. - - int init (const RtecEventChannelAdmin::ConsumerQOS &consumerqos, - RtecEventChannelAdmin::ConsumerAdmin_ptr rtec_consumeradmin); - - virtual CosEventChannelAdmin::ProxyPushSupplier_ptr - obtain_push_supplier(CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns a new ProxyPushSupplier_ptr. - - virtual CosEventChannelAdmin::ProxyPullSupplier_ptr - obtain_pull_supplier(CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns a new ProxyPullSupplier_ptr. - -private: - RtecEventChannelAdmin::ConsumerQOS qos_; - // The ConsumerQOS specified by the user of this class. - - RtecEventChannelAdmin::ConsumerAdmin_var rtec_consumeradmin_; - // The RtecEventChannelAdmin::ConsumerAdmin specified by the user of - // this class. -}; - -#if defined(_MSC_VER) -#pragma warning(default:4250) -#endif /* _MSC_VER */ - -#endif /* CONSUMERADMIN_I_H */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp deleted file mode 100644 index b6f5ca51e2c..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.cpp +++ /dev/null @@ -1,135 +0,0 @@ -// $Id$ -#include "EventChannel_i.h" -#include "ace/Auto_Ptr.h" - -TAO_CosEC_EventChannel_i::TAO_CosEC_EventChannel_i (void) - : consumer_admin_ (0), - supplier_admin_ (0), - consumeradmin_ (CosEventChannelAdmin::ConsumerAdmin::_nil ()), - supplieradmin_ (CosEventChannelAdmin::SupplierAdmin::_nil ()) -{ - // No-Op. -} - -TAO_CosEC_EventChannel_i::~TAO_CosEC_EventChannel_i (void) -{ - //No-Op. -} - -int -TAO_CosEC_EventChannel_i::init (const RtecEventChannelAdmin::ConsumerQOS &consumerqos, - const RtecEventChannelAdmin::SupplierQOS &supplierqos, - RtecEventChannelAdmin::EventChannel_ptr rtec, - CORBA::Environment &ACE_TRY_ENV) -{ - // Allocate the admins.. - TAO_CosEC_ConsumerAdmin_i *consumer_; - ACE_NEW_RETURN (consumer_, - TAO_CosEC_ConsumerAdmin_i (), - -1); - - auto_ptr auto_consumer_ (consumer_); - - TAO_CosEC_SupplierAdmin_i *supplier_; - ACE_NEW_RETURN (supplier_, - TAO_CosEC_SupplierAdmin_i (), - -1); - - auto_ptr auto_supplier_ (supplier_); - - RtecEventChannelAdmin::ConsumerAdmin_ptr rtec_consumeradmin = - rtec->for_consumers (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - if (auto_consumer_.get ()->init (consumerqos, - rtec_consumeradmin) == -1) - return -1; - - this->consumeradmin_ = - auto_consumer_.get ()->_this (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - // give the ownership to the POA. - auto_consumer_.get ()->_remove_ref (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - RtecEventChannelAdmin::SupplierAdmin_ptr rtec_supplieradmin = - rtec->for_suppliers (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - if (auto_supplier_.get ()->init (supplierqos, - rtec_supplieradmin) == -1) - return -1; - - this->supplieradmin_ = - auto_supplier_.get ()->_this (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - // give the ownership to the POA. - auto_supplier_.get ()->_remove_ref (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - this->consumer_admin_ = auto_consumer_.release (); - this->supplier_admin_ = auto_supplier_.release (); - - return 0; -} - -CosEventChannelAdmin::ConsumerAdmin_ptr -TAO_CosEC_EventChannel_i::for_consumers (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // @@ Pradeep: you must make a copy here, because the caller is - // responsible of removing this object. - return - CosEventChannelAdmin::ConsumerAdmin::_duplicate (this->consumeradmin_.in()); -} - -CosEventChannelAdmin::SupplierAdmin_ptr -TAO_CosEC_EventChannel_i::for_suppliers (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // @@ Pradeep: you must make a copy here, because the caller is - // responsible of removing this object, same here.. - return - CosEventChannelAdmin::SupplierAdmin::_duplicate (this->supplieradmin_.in ()); -} - -void -TAO_CosEC_EventChannel_i::destroy (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Deactivate the CosEventChannel - PortableServer::POA_var poa = - this->_default_POA (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::ObjectId_var id = poa->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - poa->deactivate_object (id.in (), - ACE_TRY_ENV); - ACE_CHECK; - - this->supplieradmin_ = CosEventChannelAdmin::SupplierAdmin::_nil (); - this->consumeradmin_ = CosEventChannelAdmin::ConsumerAdmin::_nil (); -} - -void -TAO_CosEC_EventChannel_i::shutdown (CORBA::Environment &ACE_TRY_ENV) -{ - this->destroy (ACE_TRY_ENV); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class ACE_Auto_Basic_Ptr; - template class auto_ptr; - template class ACE_Auto_Basic_Ptr; - template class auto_ptr; -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate ACE_Auto_Basic_Ptr -# pragma instantiate auto_ptr -# pragma instantiate ACE_Auto_Basic_Ptr -# pragma instantiate auto_ptr -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h deleted file mode 100644 index 8136df9e229..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h +++ /dev/null @@ -1,99 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO services -// -// = FILENAME -// EventChannel_i -// -// = AUTHOR -// Pradeep Gore -// -// = DESCRIPTION -// This has the implementation of the -// CosEventChannelAdmin::EventChannel interface. -// -// ============================================================================ - -#if !defined (EVENTCHANNEL_I_H) -#define EVENTCHANNEL_I_H - -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/CosEventChannelAdminC.h" -#include "orbsvcs/CosEvent/ConsumerAdmin_i.h" -#include "orbsvcs/CosEvent/SupplierAdmin_i.h" - -#if defined(_MSC_VER) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -class TAO_ORBSVCS_Export TAO_CosEC_EventChannel_i : -public virtual POA_CosEventChannelAdmin::EventChannel, -public virtual PortableServer::RefCountServantBase -{ - // = TITLE - // class TAO_CosEC_EventChannel_i implements the standard Cos EventChannel - // interface. - // - // = DESCRIPTION - // This Cos EventChannel implementation is based on TAO's - // Real-time Event Channel. This TAO_CosEC_EventChannel_i implementation - // delegates all its responsibility to corresponding objects from - // the real-time implementation. - // -public: - // = Initialization and termination methods. - TAO_CosEC_EventChannel_i (void); - // Constructor. - - ~TAO_CosEC_EventChannel_i (void); - // Destructor. - - int init (const RtecEventChannelAdmin::ConsumerQOS &consumerqos, - const RtecEventChannelAdmin::SupplierQOS &supplierqos, - RtecEventChannelAdmin::EventChannel_ptr rtec, - CORBA::Environment &ACE_TRY_ENV); - // Activates the ConsumerAdmin and SupplierAdmin servants. Returns - // -1 on error, 0 on success. - - virtual CosEventChannelAdmin::ConsumerAdmin_ptr for_consumers (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // The for_consumers method will return the same ConsumerAdmin_ptr - // everytime its called. - - virtual CosEventChannelAdmin::SupplierAdmin_ptr for_suppliers (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // The for_suppliers method will return the same SupplierAdmin_ptr - // everytime its called. - - virtual void destroy (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Destroys this Event Channel object. - - void shutdown (CORBA::Environment &ACE_TRY_ENV); - // destroys this Event Channel object and s this object. - -private: - TAO_CosEC_ConsumerAdmin_i* consumer_admin_; - // ConsumerAdmin servant object. - - TAO_CosEC_SupplierAdmin_i* supplier_admin_; - // SupplierAdmin servant object. - - CosEventChannelAdmin::ConsumerAdmin_var consumeradmin_; - // The reference to the ConsumerAdmin interface returned after - // activating the servant in the ORB. - - CosEventChannelAdmin::SupplierAdmin_var supplieradmin_; - // The reference to the SupplierAdmin interface returned after - // activating the servant in the ORB. -}; - -#if defined(_MSC_VER) -#pragma warning(default:4250) -#endif /* _MSC_VER */ - -#endif /* EVENTCHANNEL_I_H */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/Makefile.am b/TAO/orbsvcs/orbsvcs/CosEvent/Makefile.am deleted file mode 100644 index 4e1ad8fc3fb..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -##--------------------------------------------------------------------------- -## $Id$ -## -## Makefile for TAO's CosEvent Service library -## -##--------------------------------------------------------------------------- - -## -## Process this file with automake to create Makefile.in -## - -## The number in AUTOMAKE_OPTIONS is the minimum required version automake -## needed to process this file. -AUTOMAKE_OPTIONS = 1.4 - -INCLUDES = -I$(top_builddir) -I$(top_srcdir) - -lib_LTLIBRARIES = libTAO_CosEvent.la - -libTAO_CosEvent_la_LDADD = \ - $(top_builddir)/ace/libACE.la $(top_builddir)/TAO/tao/libTAO.la - -libTAO_CosEvent_la_SOURCES = \ - ConsumerAdmin_i.cpp \ - EventChannel_i.cpp \ - ProxyPushConsumer_i.cpp \ - ProxyPushSupplier_i.cpp \ - SupplierAdmin_i.cpp - -noinst_HEADERS = \ - ConsumerAdmin_i.h \ - EventChannel_i.h \ - ProxyPushConsumer_i.h \ - ProxyPushSupplier_i.h \ - SupplierAdmin_i.h - -## Clean up some additional files/directories possibly created during -## the configure script tests. -clean-local: - -rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core - -rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations - diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp deleted file mode 100644 index 039ce3d8434..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.cpp +++ /dev/null @@ -1,211 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/CosEventChannelAdminC.h" -#include "orbsvcs/CosEventChannelAdminS.h" -#include "orbsvcs/RtecEventCommS.h" -#include "orbsvcs/CosEventCommS.h" -#include "ProxyPushConsumer_i.h" -#include "ace/Auto_Ptr.h" - -#if defined(_MSC_VER) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -class TAO_CosEC_PushSupplierWrapper : - public virtual POA_RtecEventComm::PushSupplier, - public virtual PortableServer::RefCountServantBase -{ - // = TITLE - // A Wrapper for the Rtec PushSupplier. - // - // = DESCRIPTION - // The Rtec ProxyPushConsumer uses a Rtec PushSupplier. This - // class wraps the Cos PushSupplier to make it look like a Rtec - // PushSupplier. -public: - // = Initialization and termination methods. - TAO_CosEC_PushSupplierWrapper (CosEventComm::PushSupplier_ptr supplier); - // Constructor. - - ~TAO_CosEC_PushSupplierWrapper (void); - // Destructor. - - virtual void disconnect_push_supplier (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Disconnects the push supplier. - -private: - // @@ Pradeep: are you sure you want to go through the CORBA - // interface? Maybe the implementation (ProxyPushConsumer_i) is good - // enough at this point? The tradeoff is flexibility (your scheme - // can use remote CosPushSuppliers), but suffers some performance - // penalty: do you need the extra flexibility? Can you use it? [I - // suspect the answers are "not" for both] - CosEventComm::PushSupplier_var supplier_; - // The Cos PushSupplier that we're proxying for. -}; - -#if defined(_MSC_VER) -#pragma warning(default:4250) -#endif /* _MSC_VER */ - -TAO_CosEC_PushSupplierWrapper::TAO_CosEC_PushSupplierWrapper -(CosEventComm::PushSupplier_ptr supplier) - : supplier_ (CosEventComm::PushSupplier::_duplicate (supplier)) -{ - // No-Op. -} - -TAO_CosEC_PushSupplierWrapper::~TAO_CosEC_PushSupplierWrapper (void) -{ - // No-Op. -} - -void -TAO_CosEC_PushSupplierWrapper::disconnect_push_supplier (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->supplier_->disconnect_push_supplier (ACE_TRY_ENV); - - // Deactivate the supplier proxy - PortableServer::POA_var poa = - this->_default_POA (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::ObjectId_var id = - poa->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - poa->deactivate_object (id.in (), - ACE_TRY_ENV); - ACE_CHECK; - - // @@ If we keep a list remember to remove this object from the - // list. -} - -TAO_CosEC_ProxyPushConsumer_i::TAO_CosEC_ProxyPushConsumer_i (const RtecEventChannelAdmin::SupplierQOS &qos, - RtecEventChannelAdmin::ProxyPushConsumer_ptr proxypushconsumer) - : qos_ (qos), - proxypushconsumer_ (RtecEventChannelAdmin::ProxyPushConsumer::_duplicate (proxypushconsumer)), - wrapper_ (0) -{ - // No-Op. -} - -TAO_CosEC_ProxyPushConsumer_i::~TAO_CosEC_ProxyPushConsumer_i (void) -{ - // No-Op. -} - -void -TAO_CosEC_ProxyPushConsumer_i::push (const CORBA::Any &data, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - RtecEventComm::Event buffer[1]; - // Create an event set that does not own the buffer.... - RtecEventComm::EventSet events (1, 1, buffer, 0); - events.length (1); - - RtecEventComm::Event &e = events[0]; - RtecEventComm::Event eqos = - qos_.publications[0].event; - - // @@ what if i initialize the entire with corresponding - // publications entries. - - // NOTE: we initialize the field using the 1st - // from the .so we assume that - // publications[0] is initialized. - e.header.source = eqos.header.source; - e.header.ttl = eqos.header.ttl; - e.header.type = eqos.header.type; - - ACE_hrtime_t t = ACE_OS::gethrtime (); - - ORBSVCS_Time::hrtime_to_TimeT (e.header.creation_time, - t); - e.header.ec_recv_time = ORBSVCS_Time::zero (); - e.header.ec_send_time = ORBSVCS_Time::zero (); - - e.data.any_value = data; - - this->proxypushconsumer_->push (events, - ACE_TRY_ENV); - ACE_CHECK; -} - -void -TAO_CosEC_ProxyPushConsumer_i::disconnect_push_consumer (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->proxypushconsumer_->disconnect_push_consumer (ACE_TRY_ENV); - - // Deactivate the ProxyPushConsumer - PortableServer::POA_var poa = - this->_default_POA (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::ObjectId_var id = - poa->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - poa->deactivate_object (id.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -void -TAO_CosEC_ProxyPushConsumer_i::connect_push_supplier (CosEventComm::PushSupplier_ptr push_supplier, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosEventChannelAdmin::AlreadyConnected)) -{ - if (this->connected ()) - ACE_THROW (CosEventChannelAdmin::AlreadyConnected ()); - - TAO_CosEC_PushSupplierWrapper *wrapper; - - ACE_NEW_THROW_EX (wrapper, - TAO_CosEC_PushSupplierWrapper (push_supplier), - CORBA::NO_MEMORY ()); - ACE_CHECK; - - auto_ptr - auto_wrapper (wrapper); - - RtecEventComm::PushSupplier_ptr rtecpushsupplier - = auto_wrapper.get ()->_this (ACE_TRY_ENV); - ACE_CHECK; - - // give the ownership to the POA. - auto_wrapper.get ()->_remove_ref (ACE_TRY_ENV); - ACE_CHECK; - - this->proxypushconsumer_->connect_push_supplier - (rtecpushsupplier, - this->qos_, - ACE_TRY_ENV); - ACE_CHECK; - - this->wrapper_ = auto_wrapper.release (); -} - -int -TAO_CosEC_ProxyPushConsumer_i::connected (void) -{ - return this->wrapper_ == 0 ? 0 : 1; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class ACE_Auto_Basic_Ptr; - template class auto_ptr; -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate ACE_Auto_Basic_Ptr -# pragma instantiate auto_ptr -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h deleted file mode 100644 index 89ab9b8d6bf..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h +++ /dev/null @@ -1,93 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ================================================================ -// -// = LIBRARY -// TAO services -// -// = FILENAME -// ProxyPushConsumer_i -// -// = AUTHOR -// Pradeep Gore -// -// = DESCRIPTION -// This has the implementation of the -// CosEventChannelAdmin::ProxyPushConsumer interface. -// -// ================================================================ - -#if !defined (_PROXYPUSHCONSUMER_I_H) -#define _PROXYPUSHCONSUMER_I_H - -#include "orbsvcs/RtecEventChannelAdminS.h" -#include "orbsvcs/CosEventChannelAdminS.h" - -#if defined(_MSC_VER) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -class TAO_CosEC_PushSupplierWrapper; - -class TAO_ORBSVCS_Export TAO_CosEC_ProxyPushConsumer_i : - public virtual POA_CosEventChannelAdmin::ProxyPushConsumer, - public virtual PortableServer::RefCountServantBase -{ - // = TITLE - // class TAO_CosEC_ProxyPushConsumer_i implements the ProxyPushConsumer - // interface. - // - // = DESCRIPTION - // This implementation of the ProxyPushConsumer uses the - // RtecEventChannelAdmin::ProxyPushConsumer. - // - // NOTE: RtecEventChannelAdmin::ProxyPushConsumer::push method is - // passed a RtecEventComm::EventSet.The field in that is - // initialized using the the 1st from the . - // so we assume that publications[0] is initialized. - // -public: - // = Initialization and termination methods. - TAO_CosEC_ProxyPushConsumer_i (const RtecEventChannelAdmin::SupplierQOS &qos, - RtecEventChannelAdmin::ProxyPushConsumer_ptr proxypushconsumer); - // Constructor. - - ~TAO_CosEC_ProxyPushConsumer_i (void); - // Destructor. - - virtual void push (const CORBA::Any &data, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Suppliers call this method to pass data to connected consumers. - - virtual void disconnect_push_consumer (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Disconnects the supplier from the event communication. - - virtual void connect_push_supplier(CosEventComm::PushSupplier_ptr push_supplier, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosEventChannelAdmin::AlreadyConnected)); - // Connects a push supplier. - -private: - int connected (void); - // Returns 0 if a push_supplier is already connected to this - // ProxyPushConsumer, otherwise it returns a 1. - - const RtecEventChannelAdmin::SupplierQOS &qos_; - // The SupplierQOS specified by the user of this class. - - RtecEventChannelAdmin::ProxyPushConsumer_var proxypushconsumer_; - // The Rtec ProxyPushConsumer specified by the user of this class. - - TAO_CosEC_PushSupplierWrapper *wrapper_; - // The Rtec PushSupplier wrapper used by the Rtec ProxyPushConsumer. -}; - -#if defined(_MSC_VER) -#pragma warning(default:4250) -#endif /* _MSC_VER */ - -#endif /* _PROXYPUSHCONSUMER_I_H */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp deleted file mode 100644 index 276baf913d2..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp +++ /dev/null @@ -1,202 +0,0 @@ -// $Id$ -// -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/CosEventChannelAdminC.h" -#include "orbsvcs/CosEventChannelAdminS.h" -#include "orbsvcs/CosEventCommS.h" -#include "orbsvcs/RtecEventCommS.h" -#include "ProxyPushSupplier_i.h" -#include "ace/Auto_Ptr.h" - -#if defined(_MSC_VER) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -class TAO_CosEC_PushConsumerWrapper : - public POA_RtecEventComm::PushConsumer, - public virtual PortableServer::RefCountServantBase -{ - // = TITLE - // Wrapper class for the Rtec PushConsumer. - // - // = DESCRIPTION - // The Rtec ProxyPushSupplier uses a Rtec PushConsumer. This - // class wraps the Cos PushConsumer to make it look like a Rtec - // PushConsumer. -public: - // = Initialization and termination methods. - TAO_CosEC_PushConsumerWrapper (CosEventComm::PushConsumer_ptr consumer); - // Constructor. - - ~TAO_CosEC_PushConsumerWrapper (void); - // Destructor. - - virtual void push (const RtecEventComm::EventSet & data, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // This method is called by the RTEvent Channel to supply data. - - virtual void disconnect_push_consumer (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Disconnects the consumer from the event channel. - -private: - CosEventComm::PushConsumer_var consumer_; - // The Cos PushConsumer that we're proxying for. -}; - -#if defined(_MSC_VER) -#pragma warning(default:4250) -#endif /* _MSC_VER */ - -TAO_CosEC_PushConsumerWrapper::TAO_CosEC_PushConsumerWrapper -(CosEventComm::PushConsumer_ptr consumer) - : consumer_ (CosEventComm::PushConsumer::_duplicate (consumer)) -{ - // No-Op. -} - -TAO_CosEC_PushConsumerWrapper::~TAO_CosEC_PushConsumerWrapper () -{ - // No-Op. -} - -void -TAO_CosEC_PushConsumerWrapper::push (const RtecEventComm::EventSet& set, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - for (CORBA::ULong i = 0; - i < set.length (); - ++i) - { - ACE_TRY - { - this->consumer_->push (set[i].data.any_value, - ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - // Ignore the exception... - } - ACE_ENDTRY; - } -} - -void -TAO_CosEC_PushConsumerWrapper::disconnect_push_consumer (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Deactivate the supplier proxy. - this->consumer_->disconnect_push_consumer (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::POA_var poa = - this->_default_POA (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::ObjectId_var id = - poa->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - poa->deactivate_object (id.in (), - ACE_TRY_ENV); - ACE_CHECK; - - // @@ If we keep a list remember to remove this object from the - // list. -} - -TAO_CosEC_ProxyPushSupplier_i::TAO_CosEC_ProxyPushSupplier_i -(const RtecEventChannelAdmin::ConsumerQOS &qos, - RtecEventChannelAdmin::ProxyPushSupplier_ptr pps) - : qos_ (qos), - pps_ (RtecEventChannelAdmin::ProxyPushSupplier::_duplicate (pps)), - wrapper_ (0) -{ - // No-Op. -} - -TAO_CosEC_ProxyPushSupplier_i::~TAO_CosEC_ProxyPushSupplier_i (void) -{ - // No-Op. -} - -void -TAO_CosEC_ProxyPushSupplier_i::disconnect_push_supplier (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - this->pps_->disconnect_push_supplier (ACE_TRY_ENV); - ACE_CHECK; - - // Deactivate the supplier proxy - PortableServer::POA_var poa = - this->_default_POA (ACE_TRY_ENV); - ACE_CHECK; - - PortableServer::ObjectId_var id = - poa->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - poa->deactivate_object (id.in (), - ACE_TRY_ENV); - ACE_CHECK; - - // @@ If we keep a list remember to remove this object from the - // list. -} - -void -TAO_CosEC_ProxyPushSupplier_i::connect_push_consumer (CosEventComm::PushConsumer_ptr push_consumer, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosEventChannelAdmin::AlreadyConnected, - CosEventChannelAdmin::TypeError)) -{ - if (this->connected ()) - ACE_THROW (CosEventChannelAdmin::AlreadyConnected ()); - - if (push_consumer == CosEventComm::PushConsumer::_nil()) - ACE_THROW (CORBA::BAD_PARAM ()); - - TAO_CosEC_PushConsumerWrapper *wrapper; - ACE_NEW_THROW_EX (wrapper, - TAO_CosEC_PushConsumerWrapper (push_consumer), - CORBA::NO_MEMORY ()); - ACE_CHECK; - - auto_ptr auto_wrapper (wrapper); - - // @@ This code is not exception safe. - RtecEventComm::PushConsumer_ptr rtecpushconsumer = - auto_wrapper.get ()->_this (ACE_TRY_ENV); - ACE_CHECK; - - // give the ownership to the POA. - auto_wrapper.get ()->_remove_ref (ACE_TRY_ENV); - ACE_CHECK; - - this->pps_->connect_push_consumer (rtecpushconsumer, - this->qos_, - ACE_TRY_ENV); - ACE_CHECK; - - this->wrapper_ = auto_wrapper.release (); -} - -int -TAO_CosEC_ProxyPushSupplier_i::connected (void) -{ - return this->wrapper_ == 0 ? 0 : 1; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class ACE_Auto_Basic_Ptr; - template class auto_ptr; -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate ACE_Auto_Basic_Ptr -# pragma instantiate auto_ptr -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h deleted file mode 100644 index 40e2c2fbfe5..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h +++ /dev/null @@ -1,82 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ================================================================ -// -// = LIBRARY -// TAO services -// -// = FILENAME -// ProxyPushSupplier_i -// -// = AUTHOR -// Pradeep Gore -// -// = DESCRIPTION -// This has the implementation of the -// CosEventChannelAdmin::ProxyPushSupplier interface. -// -// ================================================================ - -#if !defined (_PROXYPUSHSUPPLIER_H) -#define _PROXYPUSHSUPPLIER_H - -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/CosEventChannelAdminC.h" - -#if defined(_MSC_VER) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -class TAO_CosEC_PushConsumerWrapper; - -class TAO_ORBSVCS_Export TAO_CosEC_ProxyPushSupplier_i : - public POA_CosEventChannelAdmin::ProxyPushSupplier, - public virtual PortableServer::RefCountServantBase -{ - // = TITLE - // class ProxyPushSupplier-i implements the ProxyPushConsumer interface. - // - // = DESCRIPTION - // This implementation of the ProxyPushSupplier uses the - // RtecEventChannelAdmin::ProxyPushSupplier. -public: - // = Initialization and termination methods. - TAO_CosEC_ProxyPushSupplier_i (const RtecEventChannelAdmin::ConsumerQOS &qos, - RtecEventChannelAdmin::ProxyPushSupplier_ptr pps); - // Constructor. - - ~TAO_CosEC_ProxyPushSupplier_i (void); - // Destructor. - - virtual void disconnect_push_supplier (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Ends the event communication and disposes this object. - - virtual void connect_push_consumer(CosEventComm::PushConsumer_ptr push_consumer, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosEventChannelAdmin::AlreadyConnected, - CosEventChannelAdmin::TypeError)); - // Connects the to the Event Channel. - -private: - int connected (void); - // Returns 0 if a push_consumer is already connected to this - // ProxyPushSupplier, otherwise it returns a 1. - - const RtecEventChannelAdmin::ConsumerQOS &qos_; - // The ConsumerQOS specified by the user of this class. - - RtecEventChannelAdmin::ProxyPushSupplier_var pps_; - // The Rtec ProxyPushSupplier specified by the user of this class. - - TAO_CosEC_PushConsumerWrapper *wrapper_; - // The Rtec PushConsumer wrapper used by the Rtec ProxyPushSupplier. -}; - -#if defined(_MSC_VER) -#pragma warning(default:4250) -#endif /* _MSC_VER */ - -#endif /* _PROXYPUSHSUPPLIER_H */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp deleted file mode 100644 index 64e839f82b4..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// $Id$ - -#include "SupplierAdmin_i.h" -#include "ace/Auto_Ptr.h" - -TAO_CosEC_SupplierAdmin_i::TAO_CosEC_SupplierAdmin_i (void) - : qos_ (), - rtec_supplieradmin_ (RtecEventChannelAdmin::SupplierAdmin::_nil ()) -{ - // No-Op. -} - -TAO_CosEC_SupplierAdmin_i::~TAO_CosEC_SupplierAdmin_i (void) -{ - // No-Op. -} - -int -TAO_CosEC_SupplierAdmin_i::init (const RtecEventChannelAdmin::SupplierQOS &supplierqos, - RtecEventChannelAdmin::SupplierAdmin_ptr rtec_supplieradmin) -{ - this->qos_ = supplierqos; - this->rtec_supplieradmin_ = - RtecEventChannelAdmin::SupplierAdmin::_duplicate (rtec_supplieradmin); - return 0; -} - -CosEventChannelAdmin::ProxyPushConsumer_ptr -TAO_CosEC_SupplierAdmin_i::obtain_push_consumer (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - CosEventChannelAdmin::ProxyPushConsumer_ptr proxyconsumer_nil = - CosEventChannelAdmin::ProxyPushConsumer::_nil (); - - RtecEventChannelAdmin::ProxyPushConsumer_var rtecproxypushconsumer = - this->rtec_supplieradmin_->obtain_push_consumer (ACE_TRY_ENV); - ACE_CHECK_RETURN (proxyconsumer_nil); - - TAO_CosEC_ProxyPushConsumer_i *proxypushconsumer; - - ACE_NEW_RETURN (proxypushconsumer, - TAO_CosEC_ProxyPushConsumer_i (this->qos_, - rtecproxypushconsumer.in ()), - proxyconsumer_nil); - auto_ptr - auto_proxyconsumer (proxypushconsumer); - - CosEventChannelAdmin::ProxyPushConsumer_ptr proxy_obj = - auto_proxyconsumer.get ()->_this (ACE_TRY_ENV); - ACE_CHECK_RETURN (proxyconsumer_nil); - - // give the ownership to the POA. - auto_proxyconsumer.get ()->_remove_ref (ACE_TRY_ENV); - ACE_CHECK_RETURN (proxyconsumer_nil); - - auto_proxyconsumer.release (); - return proxy_obj; -} - -CosEventChannelAdmin::ProxyPullConsumer_ptr -TAO_CosEC_SupplierAdmin_i::obtain_pull_consumer (CORBA::Environment &) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // TODO: implement this. - return CosEventChannelAdmin::ProxyPullConsumer::_nil (); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class ACE_Auto_Basic_Ptr; - template class auto_ptr; -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate ACE_Auto_Basic_Ptr -# pragma instantiate auto_ptr -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h deleted file mode 100644 index 27495df1860..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h +++ /dev/null @@ -1,78 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO services -// -// = FILENAME -// SupplierAdmin_i.h -// -// = AUTHOR -// Pradeep Gore -// -// = DESCRIPTION -// This has the implementation of the -// CosEventChannelAdmin::SupplierAdmin interface. -// -// ============================================================================ - -#if !defined (SUPPLIER_ADMIN_I_H) -#define SUPPLIER_ADMIN_I_H - -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/CosEventChannelAdminC.h" -#include "orbsvcs/CosEvent/ProxyPushConsumer_i.h" - -#if defined(_MSC_VER) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -class TAO_ORBSVCS_Export TAO_CosEC_SupplierAdmin_i : - public virtual POA_CosEventChannelAdmin::SupplierAdmin, - public virtual PortableServer::RefCountServantBase -{ - // = TITLE - // class TAO_CosEC_SupplierAdmin_i implements the SupplierAdmin interface. - // - // = DESCRIPTION - // This COS-compliant implementation of the SupplierAdmin uses - // TAO's RtecEventChannelAdmin::SupplierAdmin. -public: - // = Initialization and termination methods. - TAO_CosEC_SupplierAdmin_i (void); - // Constructor. - - ~TAO_CosEC_SupplierAdmin_i (void); - // Destructor. - - int init (const RtecEventChannelAdmin::SupplierQOS &supplierqos, - RtecEventChannelAdmin::SupplierAdmin_ptr rtec_supplieradmin); - // Initializes the SupplierAdmin. Returns 0 on success, -1 on - // error. - - virtual CosEventChannelAdmin::ProxyPushConsumer_ptr - obtain_push_consumer (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns a new ProxyPushConsumer_ptr. - - virtual CosEventChannelAdmin::ProxyPullConsumer_ptr - obtain_pull_consumer(CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Returns a new ProxyPullConsumer_ptr. - -private: - RtecEventChannelAdmin::SupplierQOS qos_; - // The SupplierQOS specified by the user of this class. - - RtecEventChannelAdmin::SupplierAdmin_var rtec_supplieradmin_; - // The RtecEventChannelAdmin::SupplierAdmin specified by the user of - // this class. -}; - -#if defined(_MSC_VER) -#pragma warning(default:4250) -#endif /* _MSC_VER */ - -#endif /* SUPPLIER_ADMIN_I_H */ diff --git a/TAO/orbsvcs/orbsvcs/CosEventChannelAdmin.idl b/TAO/orbsvcs/orbsvcs/CosEventChannelAdmin.idl deleted file mode 100644 index a5fa1dd2057..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEventChannelAdmin.idl +++ /dev/null @@ -1,181 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// orbsvcs -// -// = FILENAME -// CosEventChannelAdmin.idl -// -// = DESCRIPTION -// EVENT SERVICE - described in CORBAservices: Common Object Services -// Specification, chapter 4. -// CosEventChannelAdmin Module, page 4-15 includes the following interfaces: -// ProxyPushConsumer, ProxyPullSupplier, ProxyPullConsumer, -// ProxyPushSupplier, ConsumerAdmin, SupplierAdmin, EventChannel -// The Event service description can be downloaded from -// ftp://www.omg.org/pub/docs/formal/97-11-02.idl -// -// = AUTHOR -// Pradeep Gore -// -// ============================================================================ - - -#ifndef TAO_EVENTCHANNELADMIN_IDL -#define TAO_EVENTCHANNELADMIN_IDL - -#include "CosEventComm.idl" - -#pragma prefix "omg.org" - -module CosEventChannelAdmin -{ - // = TITLE - // IDL module for the Corba Object Service for Event Communication. - // - // = DESCRIPTION - // The CosEventChannelAdmin module defines the interfaces for - // making connections between suppliers and consumers. - - exception AlreadyConnected {}; - exception TypeError {}; - - interface ProxyPushConsumer: CosEventComm::PushConsumer - { - // = TITLE - // Definition of the ProxyPushConsumer. - // - // = DESCRIPTION - // A ProxyPushConsumer object is used to connect a push-style - // supplier. - - void connect_push_supplier (in CosEventComm::PushSupplier push_supplier) - raises (AlreadyConnected); - // A nil object reference may be passed to the - // connect_push_supplier operation; if so a channel cannot - // invoke the disconnect_push_supplier operation on the - // supplier; the supplier may be disconnected from the channel - // without being informed. If the ProxyPushConsumer is already - // connected to a PushSupplier, then the AlreadyConnected - // exception is raised. - }; - - interface ProxyPullSupplier : CosEventComm::PullSupplier - { - // = TITLE - // Definition of the proxyPullSupplier. - // - // = DESCRIPTION - // A ProxyPullSupplier is used to connect a pull-style consumer. - - void connect_pull_consumer (in CosEventComm::PullConsumer pull_consumer) - raises (AlreadyConnected); - // A nil object reference may be passed to the - // connect_pull_consumer operation; if so a channel cannot - // invoke a disconnect_pull_consumer operation on the consumer; - // the consumer may be disconnected from the channel without - // being informed. If the ProxyPullSupplier is already - // connected to a PullConsumer, then the AlreadyConnected - // exception is raised. - }; - - interface ProxyPullConsumer : CosEventComm::PullConsumer - { - // = TITLE - // Definition of the ProxyPullConsumer. - // - // = DESCRIPTION - // The ProxyPullConsumer object is used to connect a - // pull-style supplier. - - void connect_pull_supplier (in CosEventComm::PullSupplier pull_supplier) - raises (AlreadyConnected, TypeError); - // Connects a pull-style supplier to the Event Channel. It - // raises the BAD_PARAM exception if a nil object reference is - // passed to the connect_pull_supplier operation. If the - // ProxyPullConsumer is already connected to a PullSupplier, - // then the AlreadyConnected exception is raised. - }; - - interface ProxyPushSupplier : CosEventComm::PushSupplier - { - // = TITLE - // Definition of the ProxyPushSupplier. - // - // = DESCRIPTION - // The ProxyPushSupplier object is used to connect a push-style consumer. - - void connect_push_consumer (in CosEventComm::PushConsumer push_consumer) - raises (AlreadyConnected, TypeError); - // Connects a push-style consumer to the Event Channel. It - // raises the BAD_PARAM exception if a nil object reference is - // passed to the connect_push_consumer operation. If the - // ProxyPushSupplier is already connected to a PushConsumer, - // then the AlreadyConnected exception is raised. - }; - - interface ConsumerAdmin - { - // = TITLE - // Definition of the ConsumerAdmin. - // - // = DESCRIPTION - // The ConsumerAdmin interface allows consumers to be - // connected to the event channel. - - ProxyPushSupplier obtain_push_supplier (); - // The obtain_push_supplier operation returns a - // ProxyPushSupplier object. - - ProxyPullSupplier obtain_pull_supplier (); - // The obtain_pull_supplier operation returns a - // ProxyPullSupplier object. The ProxyPullSupplier object is - // then used to connect a pull-style consumer. - }; - - interface SupplierAdmin - { - // = TITLE - // Definition of the SupplierAdmin. - // - // = DESCRIPTION - // The SupplierAdmin interface allows suppliers to be - // connected to the event channel. - - ProxyPushConsumer obtain_push_consumer (); - // The obtain_push_consumer operation returns a - // ProxyPushConsumer object. The ProxyPushConsumer object is - // then used to connect a push-style supplier. - - ProxyPullConsumer obtain_pull_consumer (); - // The obtain_pull_consumer operation returns a - // ProxyPullConsumer object. The ProxyPullConsumer object is - // then used to connect a pull-style supplier. - }; - - interface EventChannel - { - // = TITLE - // Definition of the EventChannel. - // - // = DESCRIPTION - // The EventChannel interface defines three administrative - // operations: adding consumers, adding suppliers, and - // destroying the channel. - - ConsumerAdmin for_consumers (); - // The for_consumers operation returns an object reference that - // supports the ConsumerAdmin interface. - - SupplierAdmin for_suppliers (); - // The for_suppliers operation returns an object reference that - // supports the SupplierAdmin interface. - - void destroy (); - // The destroy operation destroys the event channel. - }; -}; - -#endif /* TAO_EVENTCHANNELADMIN_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/CosEventComm.idl b/TAO/orbsvcs/orbsvcs/CosEventComm.idl deleted file mode 100644 index 69ce506fbad..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEventComm.idl +++ /dev/null @@ -1,126 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// orbsvcs -// -// = FILENAME -// CosEventComm.idl -// -// = DESCRIPTION -// EVENT SERVICE - described in CORBAservices: Common Object Services -// Specification, chapter 4. -// CosEventComm Module, page 4-8 includes the following interfaces: -// PushConsumer, PushSupplier, PullSupplier, PullConsumer -// The Event service description can be downloaded from -// ftp://www.omg.org/pub/docs/formal/97-11-02.idl -// -// = AUTHOR -// Pradeep Gore -// -// ============================================================================ - -#ifndef TAO_EVENTCOMM_IDL -#define TAO_EVENTCOMM_IDL - -#pragma prefix "omg.org" - -module CosEventComm -{ - // = TITLE - // IDL module for the Corba Object Service for Event - // Communication. - - exception Disconnected - { - // = TITLE - // If the event communication has already been disconnected, the - // Disconnected exception is raised. - }; - - interface PushConsumer - { - // = TITLE - // definition of the PushConsumer. - // - // = DESCRIPTION - // A push-style consumer supports the PushConsumer interface to - // receive event data. - - void push (in any data) raises (Disconnected); - // A supplier communicates event data to the consumer by invoking - // the push operation and passing the event data as a parameter. - // If the event communication has already been disconnected, the - // Disconnected exception is raised. - - void disconnect_push_consumer (); - // The disconnect_push_consumer operation terminates the event - // communication; it releases resources used at the consumer to - // support the event communication. The PushConsumer object - // reference is disposed. - }; - - interface PushSupplier - { - // = TITLE - // Definition of the PushSupplier. - // - // = DESCRIPTION - // A push-style supplier supports the PushSupplier interface. - - void disconnect_push_supplier (); - // The disconnect_push_supplier operation terminates the event - // communication; it releases resources used at the supplier to - // support the event communication. The PushSupplier object - // reference is disposed. - }; - - interface PullSupplier - { - // = TITLE - // Definition of the PullSupplier. - // - // = DESCRIPTION - // A pull-style supplier supports the PullSupplier interface to - // transmit event data. - - any pull () raises (Disconnected); - // The pull operation blocks until the event data is available or - // an exception is raised. It returns the event data to the - // consumer. If the event communication has already been - // disconnected, the Disconnected exception is raised. - - any try_pull (out boolean has_event) raises (Disconnected); - // The try_pull operation does not block: if the event data is - // available, it returns the event data and sets the has_event - // parameter to true; if the event is not available, it sets the - // has_event parameter to false and the event data is returned as - // long with an undefined value. If the event communication has - // already been disconnected, the Disconnected exception is - // raised. - - void disconnect_pull_supplier (); - // The disconnect_pull_supplier operation terminates the event - // communication; it releases resources used at the supplier to - // support the event communication. The PullSupplier object - // reference is disposed. - }; - - interface PullConsumer - { - // = TITLE - // Definition of the PullConsumer. - // - // = DESCRIPTION - // A pull-style consumer supports the PullConsumer interface. - - void disconnect_pull_consumer (); - // The disconnect_pull_consumer operation terminates the event - // communication; it releases resources used at the consumer to - // support the event communication. The PullConsumer object - // reference is disposed. - }; -}; - -#endif /* TAO_EVENTCOMM_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent_Utilities.cpp b/TAO/orbsvcs/orbsvcs/CosEvent_Utilities.cpp deleted file mode 100644 index 4830fd074c2..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent_Utilities.cpp +++ /dev/null @@ -1,458 +0,0 @@ -// -*- C++ -*- -// $Id$ - -#include "CosEvent_Utilities.h" -#include "orbsvcs/Event/EC_Event_Channel.h" -#include "orbsvcs/CosEvent/EventChannel_i.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "ace/Auto_Ptr.h" - -CosEC_ServantBase::CosEC_ServantBase (void) - :poa_ (PortableServer::POA::_nil ()), - rtec_servant_ (0), - cosec_servant_ (0), - rtec_ (RtecEventChannelAdmin::EventChannel::_nil ()), - cosec_ (CosEventChannelAdmin::EventChannel::_nil ()), - eventTypeIds_ (0), - eventSourceIds_ (0), - source_type_pairs_ (0) -{ - // No-Op. -} - -CosEC_ServantBase::~CosEC_ServantBase (void) -{ - // No-Op. -#if 0 - ACE_DEBUG ((LM_DEBUG, "in cosec servant base %d \n", this)); -#endif -} - -void -CosEC_ServantBase::init (PortableServer::POA_ptr thispoa, - PortableServer::POA_ptr poa, - char *, - char *, - char *, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_ASSERT (!CORBA::is_nil (thispoa)); - ACE_ASSERT (!CORBA::is_nil (poa)); - - // Save the POA refs. - this->thispoa_ = PortableServer::POA::_duplicate (thispoa); - this->poa_ = PortableServer::POA::_duplicate (poa); - - auto_ptr - auto_rtec_servant_ (this->create_rtec (ACE_TRY_ENV)); - ACE_CHECK; - - auto_ptr - auto_cosec_servant_ (this->create_cosec (ACE_TRY_ENV)); - ACE_CHECK; - - // if all the servants were allocated then set the class pointers. - this->rtec_servant_ = auto_rtec_servant_.release (); - this->cosec_servant_ = auto_cosec_servant_.release (); -} - -int -CosEC_ServantBase::activate (CORBA::Environment &ACE_TRY_ENV) -{ - ACE_ASSERT (!CORBA::is_nil (this->poa_.in ())); - ACE_ASSERT (!CORBA::is_nil (this->thispoa_.in ())); - - // Activate the Rtec - this->activate_rtec (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - // Activate the CosEC - if (this->activate_cosec (ACE_TRY_ENV) != 0) - return -1; - ACE_CHECK_RETURN (-1); - - // Activate ourselves.. - // Note that the POA is - - PortableServer::ObjectId_var oid = - this->thispoa_->activate_object (this, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - this->_remove_ref (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - CORBA::Object_var obj = - this->thispoa_->id_to_reference (oid.in (), - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - return 0; // success. -} - -int -CosEC_ServantBase::activate (const char* servant_id, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_ASSERT (!CORBA::is_nil (this->poa_.in ())); - ACE_ASSERT (!CORBA::is_nil (this->thispoa_.in ())); - - // Activate the Rtec - this->activate_rtec (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - // Activate the CosEC - if (this->activate_cosec (ACE_TRY_ENV) != 0) - return -1; - ACE_CHECK_RETURN (-1); - - - PortableServer::ObjectId_var oid = - TAO_POA::string_to_ObjectId (servant_id); - - // Activate ourselves. - // Note that the POA is - this->thispoa_->activate_object_with_id (oid.in (), - this, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - this->_remove_ref (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - CORBA::Object_var obj = - this->thispoa_->id_to_reference (oid.in (), - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - return 0; // success. -} - -void -CosEC_ServantBase::activate_rtec (CORBA::Environment &ACE_TRY_ENV) -{ - // Activate the Rtec - PortableServer::ObjectId_var oid = - this->poa_->activate_object (this->rtec_servant_, - ACE_TRY_ENV); - ACE_CHECK; - - this->rtec_servant_->_remove_ref (ACE_TRY_ENV); - ACE_CHECK; - - CORBA::Object_var obj = - this->poa_->id_to_reference (oid.in (), - ACE_TRY_ENV); - ACE_CHECK; - - this->rtec_ = - RtecEventChannelAdmin::EventChannel::_narrow (obj.in ()); -} - -int -CosEC_ServantBase::activate_cosec (CORBA::Environment &ACE_TRY_ENV) -{ - // Initialize the CosEC servant. - RtecScheduler::handle_t supp_handle = 0; - - this->init_SupplierQOS (supp_handle, - this->supplier_qos_, - this->source_type_pairs_); - - RtecScheduler::handle_t cons_handle = 0; - - this->init_ConsumerQOS (cons_handle, - this->consumer_qos_, - this->eventTypeIds_, - this->eventSourceIds_); - - const RtecEventChannelAdmin::ConsumerQOS &consumerqos = - this->consumer_qos_.get_ConsumerQOS (); - - const RtecEventChannelAdmin::SupplierQOS &supplierqos = - this->supplier_qos_.get_SupplierQOS (); - - if (this->cosec_servant_->init (consumerqos, - supplierqos, - this->rtec_.in (), - ACE_TRY_ENV) != 0) - return -1; - ACE_CHECK_RETURN (-1); - - // Activate the CosEC - PortableServer::ObjectId_var oid = - this->poa_->activate_object (this->cosec_servant_, - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - this->cosec_servant_->_remove_ref (ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - CORBA::Object_var obj = - this->poa_->id_to_reference (oid.in (), - ACE_TRY_ENV); - ACE_CHECK_RETURN (-1); - - this->cosec_ = - CosEventChannelAdmin::EventChannel::_narrow (obj.in ()); - return 0; // success -} - -void -CosEC_ServantBase::deactivate (CORBA::Environment &ACE_TRY_ENV) -{ - // Deactivate all those we control... - this->deactivate_rtec (ACE_TRY_ENV); - ACE_CHECK; - - this->deactivate_cosec (ACE_TRY_ENV); - ACE_CHECK; - - // Finally we go away.. - PortableServer::ObjectId_var oid = - this->thispoa_->servant_to_id (this, - ACE_TRY_ENV); - ACE_CHECK; - - // deactivate from the poa. - this->thispoa_->deactivate_object (oid.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -void -CosEC_ServantBase::deactivate_rtec (CORBA::Environment &ACE_TRY_ENV) -{ - // Deactivate the rtec. - PortableServer::ObjectId_var oid = - this->poa_->servant_to_id (this->rtec_servant_, - ACE_TRY_ENV); - ACE_CHECK; - - // deactivate from the poa. - this->poa_->deactivate_object (oid.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -void -CosEC_ServantBase::deactivate_cosec (CORBA::Environment &ACE_TRY_ENV) -{ - // Deactivate the cosec. - PortableServer::ObjectId_var oid = - this->poa_->servant_to_id (this->cosec_servant_, - ACE_TRY_ENV); - ACE_CHECK; - - // deactivate from the poa. - this->poa_->deactivate_object (oid.in (), - ACE_TRY_ENV); - ACE_CHECK; -} - -CosEventChannelAdmin::ConsumerAdmin_ptr -CosEC_ServantBase::for_consumers (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->cosec_->for_consumers (ACE_TRY_ENV); -} - -CosEventChannelAdmin::SupplierAdmin_ptr -CosEC_ServantBase::for_suppliers (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return this->cosec_->for_suppliers (ACE_TRY_ENV); -} - -void -CosEC_ServantBase::destroy (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - // Deactivate all the contained servants and ourselves. - // The poa will "destroy" the ref counted servants. - - this->deactivate (ACE_TRY_ENV); - ACE_CHECK; -} - -POA_RtecEventChannelAdmin::EventChannel_ptr -CosEC_ServantBase::create_rtec (CORBA::Environment &ACE_TRY_ENV) -{ - // Create the RtEC servant. - TAO_EC_Event_Channel_Attributes attr (this->poa_.in (), - this->poa_.in ()); - TAO_EC_Event_Channel* _rtec_servant; - ACE_NEW_THROW_EX (_rtec_servant, - TAO_EC_Event_Channel (attr), - CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (0); - - return _rtec_servant; -} - -TAO_CosEC_EventChannel_i* -CosEC_ServantBase::create_cosec (CORBA::Environment &ACE_TRY_ENV) -{ - // Create the CosEC servant. - TAO_CosEC_EventChannel_i* _cosec_servant; - ACE_NEW_THROW_EX (_cosec_servant, - TAO_CosEC_EventChannel_i (), - CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (0); - - return _cosec_servant; -} - -void -CosEC_ServantBase::init_SupplierQOS (RtecScheduler::handle_t supp_handle, - ACE_SupplierQOS_Factory &supplier_qos, - char *source_type_pairs) -{ - // @@ Pradeep: It is very important that you make the type of - // events generated by the CosEC an option. - // I know this is not very well documented, but the type should - // be >= ACE_ES_EVENT_UNDEFINED = 16 - // Something else: please make the EventSourceID for the - // supplier also an option... - - const char *c = " "; // space - char *tok = 0; - - // if nothing was specified on the command line use defaults.. - if (source_type_pairs == 0) - supplier_qos.insert (1, - ACE_ES_EVENT_ANY, - supp_handle, - 1); - else // parse the event types.. - { - tok = ACE_OS::strtok (source_type_pairs, c); - if (tok == 0) // error - { - ACE_DEBUG ((LM_DEBUG, "error parsing source,event pairs for SupplierQOS, defaulting to source id = 1, eventid = ACE_ES_EVENT_ANY")); - - supplier_qos.insert (1, - ACE_ES_EVENT_ANY, - supp_handle, - 1); - } - else - // we just use 1 source-type pair in the event channel. - // so scan for the 1st pair only. - { - int source_val = 0, type_val = 0; - source_val = ACE_OS::atoi (tok); - - tok = ACE_OS::strtok (0, c); - - if (tok != 0) - type_val = ACE_OS::atoi (tok); - - ACE_DEBUG ((LM_DEBUG, "supplier_qos::insert (%d, %d)\n", - source_val, type_val)); - - // Setup the QOS params.. - supplier_qos.insert (source_val, - type_val, - supp_handle, - 1); - } - } -} - -void -CosEC_ServantBase::init_ConsumerQOS (RtecScheduler::handle_t cons_handle, - ACE_ConsumerQOS_Factory &consumer_qos, - char *eventTypeIds, - char *eventSourceIds - ) -{ - // @@ Pradeep: ditto here, make the set of sources (and/or type) - // a parameter, and make sure the user can specify multiple of - // them (just call insert_source() or insert_type() in the - // parse_args routine). - - const char *c = " "; // space - char *tok = 0; - - consumer_qos.start_disjunction_group (); - - // insert the event ids first.. - - // if nothing was specified on the command line use defaults.. - if (eventTypeIds == 0) - { - //consumer_qos.insert_type (ACE_ES_EVENT_ANY, // default - // cons_handle); - // @@ if i uncomment this line then the Rtec displays the message - // "Consumer tried to register for allevents! This is not implemented." - // whenever a consumer tries to register with it. - } - else // parse the event types.. - { - tok = ACE_OS::strtok (eventTypeIds, c); - if (tok == 0) // error - { - ACE_DEBUG ((LM_DEBUG, "error parsing eventIds for ConsumerQOS, defaulting to 1")); - consumer_qos.insert_type (ACE_ES_EVENT_ANY, - cons_handle); - } - else - do - { - int type_val = ACE_OS::atoi (tok); - ACE_DEBUG ((LM_DEBUG, "consumer_qos::insert_type (%d)\n", - type_val)); - consumer_qos.insert_type (type_val, - cons_handle); - tok = ACE_OS::strtok (0, c); - } - while (tok != 0); - } - - // repeat for source ids.. - - // if nothing was specified on the command line use defaults.. - if (eventSourceIds == 0) - consumer_qos.insert_source (1, // default = 1 - cons_handle); - else // parse the event types.. - { - tok = ACE_OS::strtok (eventSourceIds, c); - if (tok == 0) // error - { - ACE_DEBUG ((LM_DEBUG, "error parsing sourceIds for ConsumerQOS, defaulting to 1")); - consumer_qos.insert_source (1, // default = 1 - cons_handle); - } - else - do - { - int source_val = ACE_OS::atoi (tok); - ACE_DEBUG ((LM_DEBUG, "consumer_qos::insert_source (%d)\n", - source_val)); - consumer_qos.insert_type (source_val, - cons_handle); - tok = ACE_OS::strtok (0, c); - } - while (tok != 0); - } -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class auto_ptr ; -template class ACE_Auto_Basic_Ptr ; - -template class auto_ptr ; -template class ACE_Auto_Basic_Ptr ; - -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate auto_ptr -#pragma instantiate ACE_Auto_Basic_Ptr - -#pragma instantiate auto_ptr -#pragma instantiate ACE_Auto_Basic_Ptr - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/CosEvent_Utilities.h b/TAO/orbsvcs/orbsvcs/CosEvent_Utilities.h deleted file mode 100644 index ab6b716bba3..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosEvent_Utilities.h +++ /dev/null @@ -1,164 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/orbsvcs -// -// = FILENAME -// CosEvent_Utilities.h -// -// = DESCRIPTION -// A few utility classes to make it easier to write EC applications. -// -// = AUTHOR -// Pradeep Gore -// -// ============================================================================ - -#ifndef TAO_COSEVENT_UTILITIES_H -#define TAO_COSEVENT_UTILITIES_H - -#include "orbsvcs/RtecSchedulerC.h" -#include "orbsvcs/RtecEventChannelAdminS.h" -#include "orbsvcs/CosEventChannelAdminS.h" -#include "orbsvcs/Event_Utilities.h" - -#if defined(_MSC_VER) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -class TAO_CosEC_EventChannel_i; - -class TAO_ORBSVCS_Export CosEC_ServantBase : - public virtual POA_CosEventChannelAdmin::EventChannel, - public virtual PortableServer::RefCountServantBase -{ - // = TITLE - // A generic servant base class. - // = DESCRIPTION - // This class contains all the member data and methods required to - // create and manage a CosEC servant. - // Clients can derive from this class and create servants. - public: - // = Initialization method. - CosEC_ServantBase (void); - // Constructor. - - virtual ~CosEC_ServantBase (void); - // Destructor. - - virtual void init (PortableServer::POA_ptr thispoa, - PortableServer::POA_ptr poa, - char *eventTypeIds, - char *eventSourceIds, - char *source_type_pairs, - CORBA::Environment &ACE_TRY_ENV); - // This method creates a local scheduler, rtec and cosec. - // The POA specified here is used when is called to - // activate the contained servants. - // The POA is used to activate this. - - int activate (CORBA::Environment &ACE_TRY_ENV); - // Activates the CosEC with and friends with the - - int activate (const char* servant_id, CORBA::Environment &ACE_TRY_ENV); - // If the servant_id is not nil then it is used to supply the object id - // for servant. - - void deactivate (CORBA::Environment &ACE_TRY_ENV); - // Deactivates the CosEC and friends with the POA. - - // = POA_CosEventChannelAdmin::EventChannel methods. - virtual CosEventChannelAdmin::ConsumerAdmin_ptr for_consumers (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CosEventChannelAdmin::SupplierAdmin_ptr for_suppliers (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual void destroy (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Destroys this Event Channel object. - - protected: - // = RtEC creation, activation and deactivation methods. - virtual POA_RtecEventChannelAdmin::EventChannel_ptr - create_rtec (CORBA::Environment &ACE_TRY_ENV); - // Create a local rtec. - - virtual void activate_rtec (CORBA::Environment &ACE_TRY_ENV); - // Activates the rtec. - - virtual void deactivate_rtec (CORBA::Environment &ACE_TRY_ENV); - // Deactivates the rtec. - - // = CosEC creation, activation and deactivation methods. - TAO_CosEC_EventChannel_i* - create_cosec (CORBA::Environment &ACE_TRY_ENV); - // Create a local cosec. - - int activate_cosec (CORBA::Environment &ACE_TRY_ENV); - // Activates the cosec. - - void deactivate_cosec (CORBA::Environment &ACE_TRY_ENV); - // Deactivates the cosec. - - void init_SupplierQOS (RtecScheduler::handle_t supp_handle, - ACE_SupplierQOS_Factory &supplier_qos, - char *source_type_pairs); - // Initialize the SupplierQOS Factory. - - - void init_ConsumerQOS (RtecScheduler::handle_t cons_handle, - ACE_ConsumerQOS_Factory &consumer_qos, - char *eventTypeIds, - char *eventSourceIds); - // Initialize the ConsumerQOS Factory. - - // = Protected Data members. - - PortableServer::POA_var thispoa_; - // The poa that we use to activate ourselves. - - PortableServer::POA_var poa_; - // The poa that we use to activate others - - POA_RtecEventChannelAdmin::EventChannel_ptr rtec_servant_; - // The Event Channel servant. - - TAO_CosEC_EventChannel_i *cosec_servant_; - // The servant object of the COS Event Channel. - - RtecEventChannelAdmin::EventChannel_var rtec_; - // Ref to the Rtec. - - CosEventChannelAdmin::EventChannel_var cosec_; - // Ref to the cosec. - - ACE_ConsumerQOS_Factory consumer_qos_; - // The Consumer QOS. - - ACE_SupplierQOS_Factory supplier_qos_; - // The Supplier QOS. - - char *eventTypeIds_; - // The list of EventTypeIDs (for ConsumerQOS) seperated by spaces. - // e.g. "1 2 3 4" - - char *eventSourceIds_; - // The list of EventSourceIDs (for ConsumerQOS) seperated by spaces. - // e.g. "1 2 3 4" - - char *source_type_pairs_; - // The pairs of Source and EventType Ids (for the SupplierQOS). - // e.g "1 4 2 5 3 6" where (1,4) (2,5) and (3,6) from source id, - // event id pairs. -}; - - -#if defined(_MSC_VER) -#pragma warning(default:4250) -#endif /* _MSC_VER */ - -#endif /* TAO_COSEVENT_UTILITIES_H */ diff --git a/TAO/orbsvcs/orbsvcs/CosLifeCycle.idl b/TAO/orbsvcs/orbsvcs/CosLifeCycle.idl deleted file mode 100644 index 16c964fa3f1..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosLifeCycle.idl +++ /dev/null @@ -1,126 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// CosLifeCycle.idl -// -// = DESCRIPTION -// Described in CORBAservices: Common Object Services Specification, -// chapter 6. -// The life cycle service description can be downloaded from: -// ftp://www.omg.org/pub/docs/formal/97-12-13.pdf -// The original IDL file can be downloaded from: -// ftp://www.omg.org/pub/docs/formal/97-11-02.idl -// -// = AUTHOR -// OMG, Torben Worm , and Michael Kircher -// -// ============================================================================ - -#ifndef TAO_LIFECYCLE_IDL -#define TAO_LIFECYCLE_IDL - -// OMG IDL for CosLifeCycle Module, page 6-10 in -// Includes the following interfaces: -// FactoryFinder, LifeCycleObject, GenericFactory - -#include "CosNaming.idl" - -#pragma prefix "omg.org" - -module CosLifeCycle -{ - // = TITLE - // CosLifeCycle - // - // = DESCRIPTION - // This idl file describes the life cycle service. - // The purpose of the life cycle service is to - - typedef CosNaming::Name Key; - typedef Object Factory; - typedef sequence Factories; - - typedef struct NVP - { - CosNaming::Istring name; - any value; - } NameValuePair; - - typedef sequence Criteria; - - exception NoFactory - { - Key search_key; - }; - exception NotCopyable { string reason; }; - exception NotMovable { string reason; }; - exception NotRemovable { string reason; }; - exception InvalidCriteria - { - Criteria invalid_criteria; - }; - exception CannotMeetCriteria - { - Criteria unmet_criteria; - }; - - interface FactoryFinder - { - // = TITLE - // @@ Please fill in. - // = DESCRIPTION - // @@ Please fill in. - - Factories find_factories (in Key factory_key) - raises (NoFactory); - }; - - interface LifeCycleObject - { - // = TITLE - // @@ Please fill in. - // = DESCRIPTION - // @@ Please fill in. - - LifeCycleObject copy (in FactoryFinder there, - in Criteria the_criteria) - raises (NoFactory, NotCopyable, InvalidCriteria, CannotMeetCriteria); - void move (in FactoryFinder there, - in Criteria the_criteria) - raises (NoFactory, NotMovable, InvalidCriteria, CannotMeetCriteria); - void remove () - raises (NotRemovable); - }; - - interface GenericFactory - { - // = TITLE - // @@ Please fill in. - // = DESCRIPTION - // @@ Please fill in. - - boolean supports (in Key k); - Object create_object (in Key k, - in Criteria the_criteria) - raises (NoFactory, InvalidCriteria, CannotMeetCriteria); - }; -}; - -// Criteria, page 6-17: -/* -typedef struct NVP -{ - CosNaming::Istring name; - any value; -} NameValuePair; - -typedef sequence Criteria; -*/ - -#endif /* TAO_LIFECYCLE_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/CosNaming.idl b/TAO/orbsvcs/orbsvcs/CosNaming.idl deleted file mode 100644 index cfd4153fd4f..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosNaming.idl +++ /dev/null @@ -1,237 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// CosNaming.idl -// -// = AUTHOR -// Marina Spivak -// -// ============================================================================ - -#ifndef TAO_NAMING_IDL -#define TAO_NAMING_IDL - -#pragma prefix "omg.org" - -module CosNaming -{ - // = TITLE - // This module provides interface for using COS Naming Service. - - typedef string Istring; - // Define a typedef for String. Maybe at some point, will - // be different to support Internationalization. - - struct NameComponent - { - // = TITLE - // This is a 'simple' name. - // - // = DESCRIPTION - // Both id and kind fields are used in resolving names. - - Istring id; - // This is the name that is used to identify object references. - - Istring kind; - // Stores any addtional info about the object reference. - }; - - typedef sequence Name; - // This is a compound name: where c1 to cn-1 are - // the names of the nested contexts, and cn is the name of the - // object bound in cn-1. - - enum BindingType - { - nobject, - // object binding. - - ncontext - // Naming context binding. - }; - - struct Binding - { - Name binding_name; - // Simple name, under which an object is bound in a given context. - - BindingType binding_type; - // Indicates whether the binding_name identifies a context, and, therefore, can - // participate in name resolution. - }; - - typedef sequence BindingList; - - interface BindingIterator; - // Forward declaration. - - interface NamingContext - { - // = TITLE - // Interface for managing name bindings and naming contexts. - - // = Exceptions. - - enum NotFoundReason - { - missing_node, - not_context, - not_object - }; - - exception NotFound - { - // = TITLE - // Indicates that the name does not identify a binding. - - NotFoundReason why; - Name rest_of_name; - }; - - exception CannotProceed - { - // = TITLE - // Implementation may throw this exception if some reason it cannot - // complete the operation. This is currently not used in TAO. - - NamingContext cxt; - Name rest_of_name; - }; - - exception InvalidName - { - // = TITLE - // A name of length 0 is invalid. Implementations may place - // further restrictions. - }; - - exception AlreadyBound - { - // = TITLE - // Indicates that the specified name is already bound to - // some object. Only one object can be bound to a - // particular name in an context. To change the binding, - // and can be used. - }; - - exception NotEmpty - { - // = TITLE - // Indicates that the context is not empty. - }; - - // = Binding operations. - - void bind (in Name n, in Object obj) - raises(NotFound, CannotProceed, InvalidName, AlreadyBound); - // Create a binding for name and object in the naming - // context. Compound names are treated as follows: ctx->bind - // (, obj) = (ctx->resolve ())->bind (, obj) if the there already exists a - // binding for the specified name, exception is - // thrown. Naming contexts should be bound using - // and in order to participate in name - // resolution later. - - void rebind (in Name n, in Object obj) - raises(NotFound, CannotProceed, InvalidName); - // This is similar to operation above, except for when - // the binding for the specified name already exists in the - // specified context. In that case, the existing binding is - // replaced with the new one. - - void bind_context (in Name n, in NamingContext nc) - raises(NotFound, CannotProceed, InvalidName, AlreadyBound); - // This is the version of specifically for binding naming - // contexts, so that they will participate in name resolution - // when compound names are passed to be resolved. - - void rebind_context (in Name n, in NamingContext nc) - raises(NotFound, CannotProceed, InvalidName); - // This is a version of specifically for naming - // contexts, so that they can participate in name resolution - // when compound names are passed. - - // = Resolving names. - - Object resolve (in Name n) - raises(NotFound, CannotProceed, InvalidName); - // Return object reference that is bound to the name. Compound - // name resolve is defined as follows: ctx->resolve () = ctx->resolve ()->resolve () The - // naming service does not return the type of the object. - // Clients are responsible for "narrowing" the object to the - // appropriate type. - - // = Unbinding names. - - void unbind (in Name n) - raises(NotFound, CannotProceed, InvalidName); - // Remove the name binding from the context. When compound - // names are used, unbind is defined as follows: ctx->unbind - // () = (ctx->resolve ())->unbind - // () - - // = Creating Naming Contexts. - - NamingContext new_context (); - // This operation returns a new naming context implemented by - // the same naming server in which the operation was invoked. - // The context is not bound. - - NamingContext bind_new_context (in Name n) - raises(NotFound, AlreadyBound, CannotProceed, InvalidName); - // This operation creates a new context and binds it to the name - // supplied as an argument. The newly-created context is - // implemented by the same server as the context in which it was - // bound (the name argument excluding the last component). - - // = Deleting contexts. - - void destroy () - raises (NotEmpty); - // Delete the naming context. NOTE: the user should - // any bindings in which the given context is bound to some - // names before invoking operation on it. - - - // = Listing the naming context. - - void list (in unsigned long how_many, - out BindingList bl, - out BindingIterator bi); - // Returns at most the requested number of bindings - // in . If the naming context contains additional bindings, - // they are returned with a BindingIterator. In the naming - // context does not contain any additional bindings - // returned as null. - }; - - interface BindingIterator - { - // = TITLE - // Interface for iterating over Bindings returned with the - // operation. - - boolean next_one (out Binding b); - // This operation returns the next binding. If there are no - // more bindings false is returned. - - boolean next_n (in unsigned long how_many, - out BindingList bl); - // This operation returns at most the requested number of - // bindings. - - void destroy (); - // This operation destroys the iterator. - }; -}; - -#endif /* TAO_NAMING_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/CosPropertyService.idl b/TAO/orbsvcs/orbsvcs/CosPropertyService.idl deleted file mode 100644 index 1bba55334e7..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosPropertyService.idl +++ /dev/null @@ -1,413 +0,0 @@ -// -*-c++-*- - -// $Id$ - -// ================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// CosPropertyService.idl -// -// = DESCRITION -// The property service, downloaded from -// ftp://ftp.omg.org/pub/docs/1995/95-06-01.ps -// -// = AUTHOR -// Alexander Babu Arulanthu -// -// ================================================================ - -#ifndef TAO_PROPERTY_IDL -#define TAO_PROPERTY_IDL - -#include - -#pragma prefix "omg.org" - -module CosPropertyService -{ - // = TITLE - // CosPropertyService : To support properties (that are typed - // named values dynamically associated with an object, outside - // of the type system. - // - // = DESCRIPTION - // The data types and interfaces to deal with property names, - // property values, property modes etc. - - // = Data Types. - - typedef string PropertyName; - - struct Property - { - PropertyName property_name; - any property_value; - }; - - enum PropertyModeType - { - normal, - read_only, - fixed_normal, - fixed_readonly, - undefined - }; - - struct PropertyDef - { - PropertyName property_name; - any property_value; - PropertyModeType property_mode; - }; - - struct PropertyMode - { - PropertyName property_name; - PropertyModeType property_mode; - }; - - typedef sequence PropertyNames; - typedef sequence Properties; - typedef sequence PropertyDefs; - typedef sequence PropertyModes; - typedef sequence PropertyTypes; - - interface PropertyNamesIterator; - interface PropertiesIterator; - interface PropertySetFactory; - interface PropertySetDef; - interface PropertySet; - - // = Exceptions - - exception ConstraintNotSupported {}; - exception InvalidPropertyName {}; - exception ConflictingProperty {}; - exception PropertyNotFound {}; - exception UnsupportedTypeCode {}; - exception UnsupportedProperty {}; - exception UnsupportedMode {}; - exception FixedProperty {}; - exception ReadOnlyProperty {}; - - enum ExceptionReason - { - invalid_property_name, - conflicting_property, - property_not_found, - unsupported_type_code, - unsupported_property, - unsupported_mode, - fixed_property, - read_only_property - }; - - struct PropertyException - { - ExceptionReason reason; - PropertyName failing_property_name; - }; - - typedef sequence PropertyExceptions; - - exception MultipleExceptions - { - PropertyExceptions exceptions; - }; - - // = Interface Definitions. - - interface PropertySetFactory - { - // = TITLE - // Factory class for PropertySet interface. - // = DESCRIPTION - // Support for creating PropertySets with initial - // constraints and properties. - - PropertySet create_propertyset (); - // The create_propertyset operation returns a new - // PropertySet. It is considered an implementation issue as to - // whether the PropertySet contains any initial properties or - // has constraints. - - PropertySet create_constrained_propertyset (in PropertyTypes allowed_property_types, - in Properties allowed_properties) - raises (ConstraintNotSupported); - // The create_constrained_propertyset operation allows a client - // to create a new PropertySet with specific constraints. - - PropertySet create_initial_propertyset (in Properties initial_properties) - raises (MultipleExceptions); - // The create_initial_propertyset operation allows a client to - // create a new PropertySet with specific initial properties. - }; - - interface PropertySetDefFactory - { - // = TITLE - // Factory class for PropertySetDef interface. - // = DESCRIPTION - // Support for creating Propsetdefs with initial constraints - // and properties. - - PropertySetDef create_propertysetdef (); - // The create_propertysetdef operation returns a new - // PropertySetDef. - - PropertySetDef create_constrained_propertysetdef (in PropertyTypes allowed_property_types, - in PropertyDefs allowed_property_defs) - raises (ConstraintNotSupported); - // The create_constrained_propertysetdef operation allows a - // client to create a new PropertySetDef with specific - // constraints, including property modes. - - PropertySetDef create_initial_propertysetdef (in PropertyDefs initial_property_defs) - raises (MultipleExceptions); - // The create_initial_propertysetdef operation allows a client - // to create a new PropertySetDef with specific initial - // properties, including property modes. - }; - - interface PropertySet - { - // = TITLE - // The PropertySet interface provides operations to define - // and modify properties, list and get properties, and - // delete properties. - // - // = DESCRIPTION - // Provides support for defining and modifying properties, - // getting properties and their names and deleting properties. - - // = Support for defining and modifying properties. - - void define_property (in PropertyName property_name, - in any property_value) - raises (InvalidPropertyName, - ConflictingProperty, - UnsupportedTypeCode, - UnsupportedProperty, - ReadOnlyProperty); - // Will modify or add a property to the PropertySet. If the - // property already exists, then the property type is checked - // before the value is overwritten. If the property does not - // exist, then the property is added to the PropertySet. - - void define_properties (in Properties nproperties) - raises (MultipleExceptions); - // Will modify or add each of the properties in Properties - // parameter to the PropertySet. For each property in the list, - // if the property already exists, then the property type is - // checked before overwriting the value. If the property does - // not exist, then the property is added to the PropertySet. - - // = Support for Getting Properties and their Names. - - unsigned long get_number_of_properties (); - // Returns the current number of properties associated with this - // PropertySet. - - void get_all_property_names (in unsigned long how_many, - out PropertyNames property_names, - out PropertyNamesIterator rest); - // Returns all of the property names currently defined in the - // PropertySet. If the PropertySet contains more than how_many - // property names, then the remaining property names are put - // into the PropertyNamesIterator. - - any get_property_value (in PropertyName property_name) - raises (PropertyNotFound, - InvalidPropertyName); - // Returns the value of a property in the PropertySet. - - boolean get_properties (in PropertyNames property_names, - out Properties nproperties); - // Returns the values of the properties listed in - // property_names. - - void get_all_properties (in unsigned long how_many, - out Properties nproperties, - out PropertiesIterator rest); - // Returns all of the property names currently defined in the - // PropertySet. If the PropertySet contains more than how_many - // property names, then the remaining property names are put - // into the PropertyNamesIterator. - - // = Support for Deleting Properties. - - void delete_property (in PropertyName property_name) - raises (PropertyNotFound, - InvalidPropertyName, - FixedProperty); - // Deletes the specified property if it exists from a - // PropertySet. - - - void delete_properties (in PropertyNames property_names) - raises (MultipleExceptions); - // Deletes the properties defined in the property_names - // parameter. This is a batch operation that returns the - // MultipleExceptions exception if any delete failed. - - boolean delete_all_properties (); - // Variation of delete_properties. Applies to all properties. - - // = Support for Existence Check. - - boolean is_property_defined (in PropertyName property_name) - raises (InvalidPropertyName); - // The is_property_defined operation returns true if the - // property is defined in the PropertySet, and returns false - // otherwise. - }; - - interface PropertySetDef:PropertySet - { - // = TITLE - // Interface to deal with the Property Modes. - // - // = DESCRIPTION - // The PropertySetDef interface is a specialization - // (subclass) of the PropertySet interface. The - // PropertySetDef interface provides operations to retrieve - // PropertySet constraints, define and modify properties - // with modes, and to get or set property modes. - - void get_allowed_property_types (out PropertyTypes property_types); - // Indicates which types of properties are supported by this - // PropertySet. If the output sequence is empty, then there is - // no restrictions on the any TypeCode portion of the - // property_value field of a Property in this PropertySet, - // unless the get_allowed_properties output sequence is not empty. - - void get_allowed_properties (out PropertyDefs property_defs); - // Indicates which properties are supported by this - // PropertySet. If the output sequence is empty, then there is - // no restrictions on the properties that can be in this - // PropertySet, unless the get_allowed_property_types output - // sequence is not empty. - - void define_property_with_mode (in PropertyName property_name, - in any property_value, - in PropertyModeType property_mode) - raises (InvalidPropertyName, - ConflictingProperty, - UnsupportedTypeCode, - UnsupportedProperty, - UnsupportedMode, - ReadOnlyProperty); - // This operation will modify or add a property to the - // PropertySet. If the property already exists, then the - // property type is checked before the value is overwritten. The - // property mode is also checked to be sure a new value may be - // written. If the property does not exist, then the property is - // added to the PropertySet. To change the any TypeCode portion - // of the property_value of a property, a client must first - // delete_property, then invoke the define_property_with_mode. - - void define_properties_with_modes (in PropertyDefs property_defs) - raises (MultipleExceptions); - // This operation will modify or add each of the properties in - // the Properties parameter to the PropertySet. For each - // property in the list, if the property already exists, then - // the property type is checked before overwriting the - // value. The property mode is also checked to be sure a new - // value may be written. If the property does not exist, then - // the property is added to the PropertySet. This is a batch - // operation that returns the MultipleExceptions exception if - // any define operation failed. - - // = Support for Getting and Setting Property Modes. - - PropertyModeType get_property_mode (in PropertyName property_name) - raises (PropertyNotFound, - InvalidPropertyName); - // Support for Getting and Setting Property Modes. - - boolean get_property_modes (in PropertyNames property_names, - out PropertyModes property_modes); - // Support for Getting and Setting Property Modes. - - void set_property_mode (in PropertyName property_name, - in PropertyModeType property_mode) - raises (InvalidPropertyName, - PropertyNotFound, - UnsupportedMode); - // Sets the mode of a property in the PropertySet. - - void set_property_modes (in PropertyModes property_modes) - raises (MultipleExceptions); - // Sets the mode for each property in the property_modes - // parameter. This is a batch operation that returns the - // MultipleExceptions exception if any set failed. - - }; - - interface PropertyNamesIterator - { - // = TITLE - // Interface for iterating thru the Property Names. - // - // = DESCRIPTION - // The PropertyNamesIterator interface allows a client to - // iterate through the names using the next_one or next_n operations. - - void reset (); - // The reset operation resets the position in an iterator to the - // first property, if one exists. - - boolean next_one (out PropertyName property_name); - // The next_one operation returns true if an item exists at the - // current position in the iterator with an output parameter of - // a property name. A return of false signifies no more items in - // the iterator. - - boolean next_n (in unsigned long how_many, - out PropertyNames property_names); - // The next_n operation returns true if an item exists at the - // current position in the iterator and the how_many parameter - // was set greater than zero. The output is a PropertyNames - // sequence with at most the how_many number of names. A return - // of false signifies no more items in the iterator. - - void destroy (); - // The destroy operation destroys the iterator. - }; - - interface PropertiesIterator - { - // = TITLE - // Interface for iterating thru the Properties. - // - // = DESCRIPTION - // allows a client to through the name-value pairs using the - // next_one or next_n operations. - - void reset (); - // The reset operation resets the position in an iterator to the - // first property, if one exists. - - boolean next_one (out Property aproperty); - // The next_one operation returns true if an item exists at the - // current position in the iterator with an output parameter of - // a property. A return of false signifies no more items in the - // iterator. - - boolean next_n (in unsigned long how_many, - out Properties nproperties); - // The next_n operation returns true if an item exists at the - // current position in the iterator and the how_many parameter - // was set greater than zero. The output is a properties - // sequence with at most the how_many number of properties. A - // return of false signifies no more items in the iterator. - - void destroy (); - // The destroy operation destroys the iterator. - }; -}; - -#endif /* TAO_PROPERTY_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/CosTrading.idl b/TAO/orbsvcs/orbsvcs/CosTrading.idl deleted file mode 100644 index 066d150ca0f..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosTrading.idl +++ /dev/null @@ -1,524 +0,0 @@ -/* -*- C++ -*- */ - -// ======================================================================== -// $Id$ -// -// = FILENAME -// CosTrading.idl -// -// = DESCRIPTION -// Trader Service v1.0 described in CORBAservices: Common Object -// Services Specification, chapter 16 OMG IDL for Trading Function -// Module, p 16-74 -// -// ======================================================================== - -#ifndef TAO_TRADING_IDL -#define TAO_TRADING_IDL - -#pragma prefix "omg.org" - -module CosTrading -{ - // forward references to our interfaces - - interface Lookup; - interface Register; - interface Link; - interface Proxy; - interface Admin; - interface OfferIterator; - interface OfferIdIterator; - - // type definitions used in more than one interface - typedef string Istring; - typedef Object TypeRepository; - - typedef Istring PropertyName; - typedef sequence PropertyNameSeq; - typedef any PropertyValue; - - struct Property - { - PropertyName name; - PropertyValue value; - }; - typedef sequence PropertySeq; - - struct Offer - { - Object reference; - PropertySeq properties; - }; - typedef sequence OfferSeq; - - typedef string OfferId; - typedef sequence OfferIdSeq; - - typedef Istring ServiceTypeName; // similar structure to IR::Identifier - - typedef Istring Constraint; - - enum FollowOption - { - local_only, - if_no_local, - always - }; - - typedef Istring LinkName; - typedef sequence LinkNameSeq; - typedef LinkNameSeq TraderName; - - typedef string PolicyName; // policy names restricted to Latin1 - typedef sequence PolicyNameSeq; - typedef any PolicyValue; - - struct Policy - { - PolicyName name; - PolicyValue value; - }; - typedef sequence PolicySeq; - - // exceptions used in more than one interface - - exception UnknownMaxLeft {}; - - exception NotImplemented {}; - - exception IllegalServiceType - { - ServiceTypeName type; - }; - - exception UnknownServiceType - { - ServiceTypeName type; - }; - - exception IllegalPropertyName - { - PropertyName name; - }; - - exception DuplicatePropertyName - { - PropertyName name; - }; - - exception PropertyTypeMismatch - { - ServiceTypeName type; - Property prop; - }; - - exception MissingMandatoryProperty - { - ServiceTypeName type; - PropertyName name; - }; - - exception ReadonlyDynamicProperty - { - ServiceTypeName type; - PropertyName name; - }; - - exception IllegalConstraint - { - Constraint constr; - }; - - exception InvalidLookupRef - { - Lookup target; - }; - - exception IllegalOfferId - { - OfferId id; - }; - - exception UnknownOfferId - { - OfferId id; - }; - - exception DuplicatePolicyName - { - PolicyName name; - }; - - // the interfaces - - interface TraderComponents - { - readonly attribute Lookup lookup_if; - readonly attribute Register register_if; - readonly attribute Link link_if; - readonly attribute Proxy proxy_if; - readonly attribute Admin admin_if; - }; - - interface SupportAttributes - { - readonly attribute boolean supports_modifiable_properties; - readonly attribute boolean supports_dynamic_properties; - readonly attribute boolean supports_proxy_offers; - readonly attribute TypeRepository type_repos; - }; - - interface ImportAttributes - { - readonly attribute unsigned long def_search_card; - readonly attribute unsigned long max_search_card; - readonly attribute unsigned long def_match_card; - readonly attribute unsigned long max_match_card; - readonly attribute unsigned long def_return_card; - readonly attribute unsigned long max_return_card; - readonly attribute unsigned long max_list; - readonly attribute unsigned long def_hop_count; - readonly attribute unsigned long max_hop_count; - readonly attribute FollowOption def_follow_policy; - readonly attribute FollowOption max_follow_policy; - }; - - interface LinkAttributes - { - readonly attribute FollowOption max_link_follow_policy; - }; - - interface Lookup:TraderComponents,SupportAttributes,ImportAttributes - { - typedef Istring Preference; - - enum HowManyProps { none, some, all }; - - union SpecifiedProps switch ( HowManyProps ) - { - case none: boolean none_; - case some: PropertyNameSeq prop_names; - case all: boolean all_; - }; - - exception IllegalPreference { - Preference pref; - }; - - exception IllegalPolicyName { - PolicyName name; - }; - - exception PolicyTypeMismatch { - Policy the_policy; - }; - - exception InvalidPolicyValue { - Policy the_policy; - }; - - void query (in ServiceTypeName type, - in Constraint constr, - in Preference pref, - in PolicySeq policies, - in SpecifiedProps desired_props, - in unsigned long how_many, - out OfferSeq offers, - out OfferIterator offer_itr, - out PolicyNameSeq limits_applied) - raises (IllegalServiceType, - UnknownServiceType, - IllegalConstraint, - IllegalPreference, - IllegalPolicyName, - PolicyTypeMismatch, - InvalidPolicyValue, - IllegalPropertyName, - DuplicatePropertyName, - DuplicatePolicyName); - }; - - interface Register : TraderComponents, SupportAttributes - { - struct OfferInfo - { - Object reference; - ServiceTypeName type; - PropertySeq properties; - }; - - exception InvalidObjectRef { - Object ref; - }; - - exception UnknownPropertyName { - PropertyName name; - }; - - exception InterfaceTypeMismatch { - ServiceTypeName type; - Object reference; - }; - - exception ProxyOfferId { - OfferId id; - }; - - exception MandatoryProperty { - ServiceTypeName type; - PropertyName name; - }; - - exception ReadonlyProperty { - ServiceTypeName type; - PropertyName name; - }; - - exception NoMatchingOffers { - Constraint constr; - }; - - exception IllegalTraderName { - TraderName name; - }; - - exception UnknownTraderName { - TraderName name; - }; - - exception RegisterNotSupported { - TraderName name; - }; - - OfferId export (in Object reference, - in ServiceTypeName type, - in PropertySeq properties) - raises (InvalidObjectRef, - IllegalServiceType, - UnknownServiceType, - InterfaceTypeMismatch, - IllegalPropertyName, // e.g. prop_name = " OctetSeq; - - readonly attribute OctetSeq request_id_stem; - - unsigned long set_def_search_card (in unsigned long value); - unsigned long set_max_search_card (in unsigned long value); - - unsigned long set_def_match_card (in unsigned long value); - unsigned long set_max_match_card (in unsigned long value); - - unsigned long set_def_return_card (in unsigned long value); - unsigned long set_max_return_card (in unsigned long value); - - unsigned long set_max_list (in unsigned long value); - - boolean set_supports_modifiable_properties (in boolean value); - boolean set_supports_dynamic_properties (in boolean value); - boolean set_supports_proxy_offers (in boolean value); - - unsigned long set_def_hop_count (in unsigned long value); - unsigned long set_max_hop_count (in unsigned long value); - - FollowOption set_def_follow_policy (in FollowOption policy); - FollowOption set_max_follow_policy (in FollowOption policy); - - FollowOption set_max_link_follow_policy (in FollowOption policy); - - TypeRepository set_type_repos (in TypeRepository repository); - - OctetSeq set_request_id_stem (in OctetSeq stem); - - void list_offers (in unsigned long how_many, - out OfferIdSeq ids, - out OfferIdIterator id_itr) - raises (NotImplemented); - - void list_proxies (in unsigned long how_many, - out OfferIdSeq ids, - out OfferIdIterator id_itr) - raises (NotImplemented); - }; - - interface OfferIterator - { - unsigned long max_left () - raises (UnknownMaxLeft); - - boolean next_n (in unsigned long n, - out OfferSeq offers); - - void destroy (); - }; - - interface OfferIdIterator - { - unsigned long max_left () - raises (UnknownMaxLeft); - - boolean next_n (in unsigned long n, - out OfferIdSeq ids); - - void destroy (); - }; - -}; /* end module CosTrading */ - -#endif /* TAO_TRADING_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/CosTradingDynamic.idl b/TAO/orbsvcs/orbsvcs/CosTradingDynamic.idl deleted file mode 100644 index 27ffedbbf35..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosTradingDynamic.idl +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- C++ -*- */ - -// ======================================================================== -// $Id$ -// -// = FILENAME -// CosTradingDynamic.idl -// -// = DESCRIPTION -// Trader Service v1.0 described in CORBAservices: Common Object -// Services Specification, chapter 16 OMG IDL for Trading Function -// Module, p 16-74 -// -// ======================================================================== - -#ifndef TAO_TRADING_DYNAMIC_IDL -#define TAO_TRADING_DYNAMIC_IDL - -#include -#include "CosTrading.idl" - -#pragma prefix "omg.org" - -// OMG IDL for Dynamic Property Module, p 16-88 - -module CosTradingDynamic -{ - - exception DPEvalFailure { - CosTrading::PropertyName name; - CORBA::TypeCode returned_type; - any extra_info; - }; - - interface DynamicPropEval - { - any evalDP (in CosTrading::PropertyName name, - in CORBA::TypeCode returned_type, - in any extra_info) - raises (DPEvalFailure); - }; - - struct DynamicProp { - DynamicPropEval eval_if; - CORBA::TypeCode returned_type; - any extra_info; - }; -}; /* end module CosTradingDynamic */ - -#endif /* TAO_TRADING_DYNAMIC_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/CosTradingRepos.idl b/TAO/orbsvcs/orbsvcs/CosTradingRepos.idl deleted file mode 100644 index 0462030155e..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosTradingRepos.idl +++ /dev/null @@ -1,159 +0,0 @@ -/* -*- C++ -*- */ - -// ======================================================================== -// $Id$ -// -// = FILENAME -// CosTradingRepos.idl -// -// = DESCRIPTION -// Trader Service v1.0 described in CORBAservices: Common Object -// Services Specification, chapter 16 OMG IDL for Trading Function -// Module, p 16-74 -// -// ======================================================================== - -#ifndef TAO_TRADING_REPOS_IDL -#define TAO_TRADING_REPOS_IDL - -#include -#include "CosTrading.idl" - -#pragma prefix "omg.org" - -// OMG IDL for Service Type Repository Module, p 16-89 - -module CosTradingRepos -{ - interface ServiceTypeRepository - { - // local types - typedef sequence ServiceTypeNameSeq; - enum PropertyMode { - PROP_NORMAL, PROP_READONLY, - PROP_MANDATORY, PROP_MANDATORY_READONLY - }; - struct PropStruct - { - CosTrading::PropertyName name; - CORBA::TypeCode value_type; - PropertyMode mode; - }; - typedef sequence PropStructSeq; - - typedef CosTrading::Istring Identifier; // IR::Identifier - - struct IncarnationNumber - { - unsigned long high; - unsigned long low; - }; - - struct TypeStruct - { - Identifier if_name; - PropStructSeq props; - ServiceTypeNameSeq super_types; - boolean masked; - IncarnationNumber incarnation; - }; - - enum ListOption { all, since }; - union SpecifiedServiceTypes switch ( ListOption ) { - case all: boolean all_; - case since: IncarnationNumber incarnation; - }; - - // local exceptions - exception ServiceTypeExists { - CosTrading::ServiceTypeName name; - }; - - exception InterfaceTypeMismatch { - CosTrading::ServiceTypeName base_service; - Identifier base_if; - CosTrading::ServiceTypeName derived_service; - Identifier derived_if; - }; - - exception HasSubTypes { - CosTrading::ServiceTypeName the_type; - CosTrading::ServiceTypeName sub_type; - }; - - exception AlreadyMasked { - CosTrading::ServiceTypeName name; - }; - - exception NotMasked { - CosTrading::ServiceTypeName name; - }; - - exception ValueTypeRedefinition { - CosTrading::ServiceTypeName type_1; - PropStruct definition_1; - CosTrading::ServiceTypeName type_2; - PropStruct definition_2; - }; - - exception DuplicateServiceTypeName { - CosTrading::ServiceTypeName name; - }; - - // attributes - readonly attribute IncarnationNumber incarnation; - - // operation signatures - IncarnationNumber add_type (in CosTrading::ServiceTypeName name, - in Identifier if_name, - in PropStructSeq props, - in ServiceTypeNameSeq super_types) - raises (CosTrading::IllegalServiceType, - ServiceTypeExists, - InterfaceTypeMismatch, - CosTrading::IllegalPropertyName, - CosTrading::DuplicatePropertyName, - ValueTypeRedefinition, - CosTrading::UnknownServiceType, - DuplicateServiceTypeName); - - void remove_type (in CosTrading::ServiceTypeName name) - raises (CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType, - HasSubTypes); - - ServiceTypeNameSeq list_types (in SpecifiedServiceTypes which_types); - - TypeStruct describe_type (in CosTrading::ServiceTypeName name) - raises (CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType); - - TypeStruct fully_describe_type (in CosTrading::ServiceTypeName name) - raises (CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType); - - void mask_type (in CosTrading::ServiceTypeName name) - raises (CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType, - AlreadyMasked); - - void unmask_type (in CosTrading::ServiceTypeName name) - raises (CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType, - NotMasked); - }; -}; /* end module CosTradingRepos */ - -module CosTradingSequences -{ - typedef sequence ShortSeq; - typedef sequence UShortSeq; - typedef sequence LongSeq; - typedef sequence ULongSeq; - typedef sequence BooleanSeq; - typedef sequence FloatSeq; - typedef sequence DoubleSeq; - typedef sequence StringSeq; -}; - -#endif /* TAO_TRADING_REPOS_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/Event/BCU.cpp b/TAO/orbsvcs/orbsvcs/Event/BCU.cpp deleted file mode 100644 index 45d121f8b60..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/BCU.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// $Id$ - -#include "ace/ACE.h" -#include "BCU.h" - -ACE_RCSID(Event, BCU, "$Id$") - -u_long -ACE_BCU (u_long n) -{ - const u_long ACE_BCU_PRIME_NUMBER = 9619; - - u_long retval = 0; - - while (n-- > 0) - retval = ACE::is_prime (ACE_BCU_PRIME_NUMBER, 2, ACE_BCU_PRIME_NUMBER / 2); - - return retval; -} - - -u_long -ACE_BCU (u_long number, - u_long n) -{ - u_long retval = 0; - - while (n-- > 0) - retval = ACE::is_prime (number, 2, number); - - return retval; -} diff --git a/TAO/orbsvcs/orbsvcs/Event/BCU.h b/TAO/orbsvcs/orbsvcs/Event/BCU.h deleted file mode 100644 index 6e81c989e15..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/BCU.h +++ /dev/null @@ -1,41 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// ace ORB -// -// = FILENAME -// Benchmark Computation Units -// -// = AUTHOR -// David Levine and Tim Harrison (harrison@cs.wustl.edu) -// -// = DESCRIPTION -// -// Times how long it takes to generate each of the first N prime -// numbers. -// ============================================================================ - -#ifndef ACE_BCU_H -#define ACE_BCU_H - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "orbsvcs/orbsvcs_export.h" - - -TAO_ORBSVCS_Export u_long ACE_BCU (u_long n); -// Check if a specific, hardcoded number is prime (via ACE::is_prime) -// times. - - -TAO_ORBSVCS_Export u_long ACE_BCU (u_long number, u_long n); -// Check if is prime (via ACE::is_prime ()) times. - -#endif /* ACE_BCU_H */ diff --git a/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h b/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h deleted file mode 100644 index ca7122d7c69..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h +++ /dev/null @@ -1,13 +0,0 @@ -// $Id$ - - -#if defined (ACE_ES_NOLOGGING) -#define ACE_ES_DEBUG(X) -#define ACE_ES_DEBUG_ST(X) -#else -#define ACE_ES_DEBUG(X) \ - do { \ - ACE_Log_Msg::instance ()->log X; \ - } while (0) -#define ACE_ES_DEBUG_ST(X) X -#endif /* ACE_ES_NOLOGGING */ diff --git a/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp b/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp deleted file mode 100644 index b8e26dd86c6..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp +++ /dev/null @@ -1,782 +0,0 @@ -// $Id$ - -#include "ace/Sched_Params.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "orbsvcs/Time_Utilities.h" -#include "Memory_Pools.h" - -#include "Dispatching_Modules.h" - -#if !defined (__ACE_INLINE__) -#include "Dispatching_Modules.i" -#endif /* __ACE_INLINE__ */ - -#include "tao/Timeprobe.h" - -ACE_RCSID(Event, Dispatching_Modules, "$Id$") - -#if defined (ACE_ENABLE_TIMEPROBES) - -static const char *TAO_Dispatching_Modules_Timeprobe_Description[] = -{ - "dispatch (dequeue) the event", - "push_source_type: Correlation Module", - "Priority_Dispatching::push - priority requested", - "Priority_Dispatching::push - priority obtained" -}; - -enum -{ - // Timeprobe description table start key - TAO_DISPATCHING_MODULES_DISPATCH_THE_EVENT = 5000, - TAO_DISPATCHING_MODULES_PUSH_SOURCE_TYPE_CORRELATION_MODULE, - TAO_DISPATCHING_MODULES_PRIORITY_DISPATCHING_PUSH_PRIORITY_REQUESTED, - TAO_DISPATCHING_MODULES_PRIORITY_DISPATCHING_PUSH_PRIORITY_OBTAINED -}; - -// Setup Timeprobes -ACE_TIMEPROBE_EVENT_DESCRIPTIONS (TAO_Dispatching_Modules_Timeprobe_Description, - TAO_DISPATCHING_MODULES_DISPATCH_THE_EVENT); - -#endif /* ACE_ENABLE_TIMEPROBES */ - -// ************************************************************ - -ACE_ES_Dispatch_Request:: -ACE_ES_Dispatch_Request (ACE_Push_Consumer_Proxy *consumer, - const TAO_EC_Event &event, - RtecScheduler::handle_t rt_info) - : priority_ (0), - rt_info_ (rt_info), - dispatching_module_ (0), - use_single_event_ (0), - consumer_ (consumer), - event_set_ (1) -{ - this->event_set_.set (event, 0); -} - -void -ACE_ES_Dispatch_Request::make_copy (RtecEventComm::EventSet &dest) const -{ - if (use_single_event_) - { - // The RtecEventComm::EventSet will hold a pointer to the - // buffer, without owning it, thus it is not removed! - // @@ TODO Check what happens in the collocated case. - dest.replace (1, 1, - ACE_const_cast(RtecEventComm::Event*, - &this->single_event_.event ()), - 0); - } - else if (this->event_set_.size () == 1) - { - dest.replace (1, 1, - ACE_const_cast(RtecEventComm::Event*, - &this->event_set_[0].event ()), - 0); - } - else - { - dest.length (this->event_set_.size ()); - - int c = 0; - for (CORBA::ULong i = 0; i < this->event_set_.size (); ++i) - { - if (this->event_set_[i].empty ()) - continue; - dest[c] = this->event_set_[i].event (); - c++; - } - dest.length (c); - } -} - -void -ACE_ES_Dispatch_Request::append_event (const TAO_EC_Event& event) -{ - size_t size = this->event_set_.size (); - if (this->event_set_.size (size + 1) == 0) - this->event_set_.set (event, size); -} - -int -ACE_ES_Dispatch_Request::execute (u_long &command_action) -{ - ACE_TIMEPROBE (TAO_DISPATCHING_MODULES_DISPATCH_THE_EVENT); - - return dispatching_module_->dispatch_event (this, command_action); -} - -#if 0 -// @@ Memory pools -void * -ACE_ES_Dispatch_Request::operator new (size_t nbytes) -{ - if (nbytes > sizeof (ACE_ES_Dispatch_Request)) - { - ACE_ERROR ((LM_ERROR, "nbytes = %d, sizeof (ACE_ES_Dispatch_Request_Chunk) = %d.\n", - sizeof (ACE_ES_Dispatch_Request))); - ACE_ASSERT (nbytes <= sizeof (ACE_ES_Dispatch_Request)); - } - - return ACE_ES_Memory_Pools::new_Dispatch_Request (); -} - -void -ACE_ES_Dispatch_Request::operator delete (void *mem) -{ - ACE_ES_Memory_Pools::delete_Dispatch_Request (mem); -} -#endif /* 0 */ - -// ************************************************************ - -void -ACE_ES_Dispatching_Base::activate (int) -{ -} - -void -ACE_ES_Dispatching_Base::shutdown (void) -{ - ACE_DEBUG ((LM_DEBUG, - "EC (%t) ACE_ES_Dispatching_Base module shutting down.\n")); -} - -// Just forward the request. This is basically a hook for the RTU -// stuff. -int -ACE_ES_Dispatching_Base::dispatch_event (ACE_ES_Dispatch_Request *request, - u_long &command_action) -{ - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Forward the request. - up_->push (request, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - // No exceptions should be raised (push is a oneway) but we try - // to print something useful anyway. - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "ACE_ES_Dispatching_Base::dispatch_event"); - } - ACE_ENDTRY; - - // Tell our caller to release the request. - command_action = ACE_RT_Task_Command::RELEASE; - - // Return zero so our calling thread does not exit. - return 0; -} - -// ************************************************************ - -ACE_ES_Priority_Dispatching::ACE_ES_Priority_Dispatching (ACE_EventChannel *channel) - : ACE_ES_Dispatching_Base (channel), - notification_strategy_ (this, channel->timer_module ()), - highest_priority_ (0), - shutdown_ (0), - threads_per_queue_ (0) -{ - // If we're single threaded, then we need to use the notification strategy. - if ((threads_per_queue_ == 0) && - (notification_strategy_.open () == -1)) - ACE_ERROR ((LM_ERROR, "%p.\n", "ACE_ES_Priority_Dispatching")); - - // Initialize the queues. - for (int x = 0; x < ACE_Scheduler_MAX_PRIORITIES; x++) - { - this->queues_[x] = 0; - } - - this->scheduler_ = - this->channel_->scheduler (); -} - -ACE_ES_Priority_Dispatching::~ACE_ES_Priority_Dispatching (void) -{ -} - - -void -ACE_ES_Priority_Dispatching::initialize_queues (void) -{ - for (int x = 0; x < ACE_Scheduler_MAX_PRIORITIES; x++) - { - if (this->queues_[x] != 0) - continue; - - // Convert ACE_Scheduler_Rate (it's really a period, not a rate!) - // to a form we can easily work with. - ACE_Time_Value period_tv; - ORBSVCS_Time::TimeT_to_Time_Value (period_tv, ACE_Scheduler_Rates[x]); - - RtecScheduler::Period_t period = period_tv.sec () * 10000000 + - period_tv.usec () * 10; - - ACE_NEW (this->queues_[x], - ACE_ES_Dispatch_Queue (this, - &this->notification_strategy_, - this->scheduler_.in ())); - this->queues_[x]->thr_mgr (&this->thr_mgr_); - - if ( this->queues_[x]->open_queue (period, - threads_per_queue_) == -1) - { - ACE_ERROR ((LM_ERROR, "%p.\n", - "ACE_ES_Priority_Dispatching::initialize_queues")); - return; - } - - this->queue_count_[x] = 1; - } - highest_priority_ = ACE_Scheduler_MAX_PRIORITIES - 1; -} - -void -ACE_ES_Priority_Dispatching::connected (ACE_Push_Consumer_Proxy *consumer, - CORBA::Environment &ACE_TRY_ENV) -{ - down_->connected (consumer, ACE_TRY_ENV); - ACE_CHECK; - - // This code does dynamic allocation of channel dispatch threads. - // It requires that consumer's priorities are known at connection - // time and that threads can request priorities from the scheduler - // at run-time. These are both antithetical to static scheduling. - // The constructor now allocates a thread per rate group. -#if 0 - // We have to tell the lower portions of the channel about the - // consumer first. This is so that any changes to the consumer's - // qos will take effect when we get the dispatch priority. - down_->connected (consumer, ACE_TRY_ENV); - ACE_CHECK; - - RtecScheduler::OS_Priority priority = - ACE_Scheduler::instance ().preemption_priority (consumer->qos ().rt_info_); - - { - ACE_ES_GUARD ace_mon (lock_); - - // If a queue has not been created for the consumer's priority, - // create one. - if (queues_[priority] == 0) - { - // Allocate a new dispatch queue. - queues_[priority] = new ACE_ES_Dispatch_Queue (this, ¬ification_strategy_); - if (queues_[priority] == 0) - TAO_THROW (CORBA::NO_MEMORY (0, , - "ACE_ES_Priority_Dispatching::connected")); - - // Initialize the dispatch queue corresponding to the - // consumer's priority. With a full implementation of the - // run-time scheduler, the dispatch queue can find it's - // scheduling qos online. However, we pass the rate in case - // one is not found. The rate can be used to obtain the - // proper priority. If threads_per_queue_ == 0, then these - // queues will be passive. Otherwise, they will be active. - // This switches us between MT_ORB and ST_ORB. If we're - // single-threaded, this registers us with the ReactorEx using - // our notification_strategy_. If we're multi-threaded, this - // spawns the threads. - if (queues_[priority]->open_queue (priority, - threads_per_queue_) == -1) - TAO_THROW (DISPATCH_ERROR (0, , - "ACE_ES_Priority_Dispatching::connected:" - "queue open failed.\n")); - - // When this goes down to 0, we will shutdown the queue. - queue_count_[priority] = 1; - - // Keep track of this to optimize handle_signal. - if (priority > highest_priority_) - highest_priority_ = priority; - - ACE_DEBUG ((LM_DEBUG, - "EC (%t) Created queue priority = %d.\n", priority)); - } - else - queue_count_[priority]++; - } -#endif -} - -void -ACE_ES_Priority_Dispatching::disconnected (ACE_Push_Consumer_Proxy *consumer) -{ - // We'll not dynamically close down queues. - ACE_UNUSED_ARG (consumer); - -#if 0 - RtecScheduler::OS_Priority priority = - ACE_Scheduler::instance ().preemption_priority (consumer->qos ().rt_info_); - - { - ACE_ES_GUARD ace_mon (lock_); - - // If there are no more users of this queue, then we *could* shut - // it down. However, we will not. - if (--queue_count_[priority] <= 0) - { - ACE_DEBUG ((LM_DEBUG, "EC (%t) unused dispatch queue priority = %d, " - "is_empty = %d.\n", - priority, queues_[priority]->msg_queue ()->is_empty ())); - - queues_[priority]->shutdown_task (); - } - } -#endif -} - -// @@ This method could have a bypass optimization. -// has been dynamically allocated by the filtering module. -void -ACE_ES_Priority_Dispatching::push (ACE_ES_Dispatch_Request *request, - CORBA::Environment &ACE_TRY_ENV) -{ - ACE_TIMEPROBE (TAO_DISPATCHING_MODULES_PUSH_SOURCE_TYPE_CORRELATION_MODULE); - - RtecScheduler::OS_Priority thread_priority; - RtecScheduler::Preemption_Subpriority_t subpriority; - RtecScheduler::Preemption_Priority_t preemption_priority; - - if (request->rt_info () != 0) - { - ACE_TIMEPROBE (TAO_DISPATCHING_MODULES_PRIORITY_DISPATCHING_PUSH_PRIORITY_REQUESTED); -#if 1 - this->scheduler_->priority - (request->rt_info (), - thread_priority, - subpriority, - preemption_priority, - ACE_TRY_ENV); -#else - ACE_Scheduler_Factory::server ()->priority - (request->rt_info (), - thread_priority, - subpriority, - preemption_priority, - ACE_TRY_ENV); -#endif - ACE_TIMEPROBE (TAO_DISPATCHING_MODULES_PRIORITY_DISPATCHING_PUSH_PRIORITY_OBTAINED); - ACE_CHECK; - } - else - { - thread_priority = - ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_PROCESS); - subpriority = ACE_Scheduler_MIN_SUB_PRIORITY; - preemption_priority = ACE_Scheduler_MIN_PREEMPTION_PRIORITY; - } - - // If it's a request to forward an event, it needs a reference to us - // to call dispatch_event. - request->set (this, preemption_priority, subpriority); - - // Make sure that a queue exists for this priority. - if (queues_[preemption_priority] == 0) - { - ACE_ERROR ((LM_ERROR, "EC (%t): Push to closed queue %d," - " dropping event.\n", preemption_priority)); - return; -#if 0 - ACE_THROW (SYNC_ERROR (0, , "ACE_ES_Priority_Dispatching::push")); -#endif /* 0 */ - } - - // Enqueue the request. If we're multi-threaded, this request is a - // command object that will be called by the threads in the queue, - // or will be dequeued by this->handle_signal if we're - // single-threaded. - if (queues_[preemption_priority]->try_put (request) == -1) - { - if (ACE_ES_Dispatch_Request::release (request) != 0) - ACE_ERROR ((LM_ERROR, "ACE_ES_Priority_Dispatching::push" - " release failed.\n")); - if (errno != EPIPE) - { - ACE_THROW (CORBA::NO_MEMORY ()); - // @@ Orbix parameters - // 0, , - // "ACE_ES_Priority_Dispatching::push enqueue failed")); - } - else - { - ACE_DEBUG ((LM_DEBUG, - "EC (%t) Request rejected from closed queue %d.\n", - preemption_priority)); - } - } -} - -// Start at highest priority queue checking for queued events -// continuing to lowest priority queue. If an event is ever found, -// dispatch it and then start back at the highest priority queue -// again. -int -ACE_ES_Priority_Dispatching::handle_signal (int, siginfo_t *, ucontext_t *) -{ - int done; - - do - { - done = 1; - for (int x = 0; x <= highest_priority_; x++) - { - // If the queue is not empty, dispatch the request and then - // start the for loop from the beginning. - if ((queues_[x] != 0) && (!queues_[x]->msg_queue ()->is_empty ())) - { - // Dequeue and service the request. - queues_[x]->svc_one (); - - // Exit the for loop and start over. - done = 0; - break; - } - - // If we get through the whole for loop without dispatching - // anything, then we're done. - } - } - while (!done); - - - return 0; -} - -// This is only for the non-win32 single-threaded implementation. -int -ACE_ES_Priority_Dispatching::handle_input (ACE_HANDLE) -{ - return this->handle_signal (0, 0, 0); -} - -void -ACE_ES_Priority_Dispatching::activate (int threads_per_queue) -{ - this->threads_per_queue_ = threads_per_queue; - this->initialize_queues (); -} - -// Shutdown each queue. When each queue exits, they will call back -// this->dispatch_queue_closed which allows us to free up resources. -// When the last queue has closed, we'll delete ourselves. -void -ACE_ES_Priority_Dispatching::shutdown (void) -{ - if (shutdown_) - return; - - ACE_DEBUG ((LM_DEBUG, "EC (%t) ACE_ES_Priority_Dispatching " - "module shutting down.\n")); - - shutdown_ = 1; - - // If we're single threaded, then we need to shut down the - // notification strategy so it can remove itself from the reactor. - if (threads_per_queue_ == 0) - notification_strategy_.shutdown (); - - // Whether these are active or not, they must be shut down. - for (int x = 0; x <= highest_priority_; x++) - if (queues_[x] != 0) - { - ACE_DEBUG ((LM_DEBUG, - "EC (%t) shutting down dispatch queue %d.\n", x)); - queues_[x]->shutdown_task (); - } - - if (this->thr_mgr_.wait () == -1) - ACE_ERROR ((LM_ERROR, "%p\n", - "Priority_Dispatching::shutdown - waiting")); - - for (int i = 0; i <= this->highest_priority_; ++i) - { - if (this->queues_[i] != 0) - { - delete this->queues_[i]; - this->queues_[i] = 0; - } - } -} - -// This gets called every time a Dispatch Queue closes down. We -// search for and delete it. If we have been told to delete -// ourself, after the last queue has been deleted, we delete -// ourselves. -void -ACE_ES_Priority_Dispatching::dispatch_queue_closed (ACE_ES_Dispatch_Queue *queue) -{ - ACE_UNUSED_ARG (queue); -} - -/* -ACE_HANDLE -ACE_ES_Priority_Dispatching::get_handle (void) const -{ - ACE_ES_Priority_Dispatching *fake_this = (ACE_ES_Priority_Dispatching *) this; - return fake_this->notification_strategy_.get_handle (); -} -*/ - -// ************************************************************ - -ACE_ES_Dispatch_Queue:: - ACE_ES_Dispatch_Queue (ACE_ES_Dispatching_Base *dispatching_module, - ACE_ES_Notification_Strategy *notification_strategy, - RtecScheduler::Scheduler_ptr scheduler) - : ACE_RT_Task (scheduler), - dispatching_module_ (dispatching_module), - notification_strategy_ (notification_strategy) -{ -} - -int -ACE_ES_Dispatch_Queue::open_queue (RtecScheduler::Period_t &period, - int threads) -{ - // First set up the correct message queue according to whether the - // dispatch queue will be active or not. - - // If there are no threads specified, we'll register with the - // reactor to be called back when someone queues a message. - if (threads == 0) - { - // Allocate a message queue that notifies a reactor when events - // arrive via the msg_queue call. If that succeeds, set the - // notification strategy in our message queue via the open call. - if (this->msg_queue () == 0 || - this->msg_queue ()->open (ACE_ES_QUEUE::DEFAULT_HWM, - ACE_ES_QUEUE::DEFAULT_LWM, - notification_strategy_) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p msg_queue.open failed.\n", - "ACE_ES_Dispatch_Queue::open_queue"), -1); - } - else - { - // quick hack to test dynamic queue performance (to be replaced soon) - ACE_ES_QUEUE *mq = 0; -#if defined (TAO_USES_STRATEGY_SCHEDULER) -#if defined (TAO_USES_EDF_SCHEDULING) - - ACE_Deadline_Message_Strategy *adms = new ACE_Deadline_Message_Strategy; - - if (adms) - { - mq = new ACE_Dynamic_Message_Queue (*adms); - } - -#elif defined (TAO_USES_MLF_SCHEDULING) || defined (TAO_USES_MUF_SCHEDULING) - - ACE_Laxity_Message_Strategy *alms = new ACE_Laxity_Message_Strategy; - - if (alms) - { - mq = new ACE_Dynamic_Message_Queue (*alms); - } - -#else - mq = new ACE_ES_QUEUE; -#endif -#else - // Allocate a message queue that does not notify. - mq = new ACE_ES_MQ; -#endif - - if (mq == 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p.\n", - "ACE_ES_Dispatch_Queue::open_queue"), -1); - else - { - // This deletes previous message queue. - this->msg_queue (mq); - // Set this so that the destructor of ACE_Task deletes our - // message queue. Note, this must be after the call to - // msg_queue. - delete_msg_queue_ = 1; - } - } - - // Create a name for ourselves using the period. The period is - // in 100 ns units; first convert to usec by dividing by 10. - char temp[64]; - ACE_OS::sprintf (temp, "ACE_ES_Dispatch_Queue-%u.us", period / 10); - - // Open the task. This will query the scheduler for our qos - // structure. It will also synch_threads if it succeeds. - int result = this->open_task (temp); - - switch (result) - { - case -1: - // Error. - ACE_ERROR_RETURN ((LM_ERROR, "%p.\n", - "ACE_ES_Dispatch_Queue::open_queue"), -1); - case 0: - { - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - {// @@ TODO: Handle exceptions... -#if 1 - this->scheduler_->set - (rt_info_, - RtecScheduler::VERY_HIGH_CRITICALITY, - ORBSVCS_Time::zero (), - ORBSVCS_Time::zero (), - ORBSVCS_Time::zero (), - period, - RtecScheduler::VERY_LOW_IMPORTANCE, - ORBSVCS_Time::zero (), - 1, - RtecScheduler::OPERATION, - ACE_TRY_ENV); -#else - ACE_Scheduler_Factory::server()->set (rt_info_, - RtecScheduler::VERY_HIGH_CRITICALITY, - ORBSVCS_Time::zero (), - ORBSVCS_Time::zero (), - ORBSVCS_Time::zero (), - period, - RtecScheduler::VERY_LOW_IMPORTANCE, - ORBSVCS_Time::zero (), - 1, - RtecScheduler::OPERATION, - ACE_TRY_ENV); -#endif - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "ACE_ES_Dispatch_Queue::exception"); - return -1; - } - ACE_ENDTRY; - } - // FALLTHROUGH - case 1: - // Found. - break; - } - - // Spawn threads. - return this->synch_threads (threads); -} - -// This is called back by ACE_RT_Task when all the threads have -// exited. We're going to forward this event to the dispatching -// module so it can clean up any resources. -void -ACE_ES_Dispatch_Queue::threads_closed (void) -{ - dispatching_module_->dispatch_queue_closed (this); -} - -// ************************************************************ - -ACE_ES_EFD_Dispatching::ACE_ES_EFD_Dispatching (ACE_EventChannel *channel) - : ACE_ES_Dispatching_Base (channel) -{ -} - -void -ACE_ES_EFD_Dispatching::push (ACE_ES_Dispatch_Request *request, - CORBA::Environment &) -{ - // If it's a request to forward an event, it needs a reference to us - // to call dispatch_event. - request->set (this, 0, ACE_Scheduler_MIN_SUB_PRIORITY); - - u_long command_action = ACE_RT_Task_Command::RELEASE; - - // This may be a request to delete a push consumer proxy, so we - // should execute it instead of just forwarding it. - request->execute (command_action); - - switch (command_action) - { - case ACE_RT_Task_Command::RELEASE: - // Free the request. - if (ACE_ES_Dispatch_Request::release (request) != 0) - ACE_ERROR ((LM_ERROR, "ACE_ES_EFD_Dispatching::push" - " release failed.\n")); - break; - - default: - ACE_ERROR ((LM_ERROR, "ACE_ES_EFD_Dispatching::push: unknown command action.\n")); - } -} - -// ************************************************************ - -ACE_ES_RTU_Dispatching::ACE_ES_RTU_Dispatching (ACE_EventChannel *channel) - : ACE_ES_Priority_Dispatching (channel) -{ -} - -// We're called from a dispatch queue, so we can not release the request. -int -ACE_ES_RTU_Dispatching::dispatch_event (ACE_ES_Dispatch_Request *request, - u_long &command_action) -{ - // Store the priority of the task currently running. - channel_->rtu_manager ()->priority (request->priority ()); - - ACE_DECLARE_NEW_CORBA_ENV; - ACE_TRY - { - // Forward the request. - up_->push (request, ACE_TRY_ENV); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - // No exceptions should be raised (push is a oneway) but we try - // to print something useful anyway. - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "ACE_ES_Dispatching_Base::dispatch_event"); - } - ACE_ENDTRY; - - // Reset the priority. - channel_->rtu_manager ()->priority (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, ACE_SCOPE_PROCESS)); - - // If the task was preempted, enqueue the request on the head of the - // dispatch queue. - if (channel_->rtu_manager ()->not_done ()) - command_action = ACE_RT_Task_Command::UNGETQ; - else - // We're done with it. - command_action = ACE_RT_Task_Command::RELEASE; - - return 0; -} - -void -ACE_ES_RTU_Dispatching::push (ACE_ES_Dispatch_Request *request, - CORBA::Environment &ACE_TRY_ENV) -{ - // First enqueue the message in the proper queue. - ACE_ES_Priority_Dispatching::push (request, ACE_TRY_ENV); - ACE_CHECK; - - // If the current event is higher priority (lower value) than the - // current running task, then tell the task to preempt itself. - int request_priority = request->priority (); - int running_priority = channel_->rtu_manager ()->priority (); - if (request_priority < running_priority) - channel_->rtu_manager ()->should_preempt (1); - return; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h b/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h deleted file mode 100644 index 9818562b9a0..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h +++ /dev/null @@ -1,507 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// orbsvcs -// -// = FILENAME -// Dispatching_Module -// -// = AUTHOR -// Tim Harrison (harrison@cs.wustl.edu) -// -// = DESCRIPTION -// This file holds the different Event Service dispatching -// mechanisms. These include null-dispatching (EFD), -// single-threaded with (RTU) and without preemption (LAME), and a -// multithreaded implementation. -// -// ============================================================================ - -#ifndef ACE_DISPATCHING_MODULES_H -#define ACE_DISPATCHING_MODULES_H - -#include "tao/Timeprobe.h" -#include "orbsvcs/Event/ReactorTask.h" -#include "orbsvcs/Event/Event_Manip.h" -#include "orbsvcs/Event/Event_Channel.h" - -// ************************************************************ - -// Forward declarations. -class ACE_ES_Dispatch_Queue; -class ACE_ES_Dispatch_Request; - -// ************************************************************ - -// Forward declarations. -class ACE_ES_Consumer_Module; - -class TAO_ORBSVCS_Export ACE_ES_Dispatching_Base : public ACE_Event_Handler -// = TITLE -// Event Service Dispatch Module base class -// -// = DESCRIPTION -// We inherit from ACE_Event_Handler so that we can be called back -// by the ReactorEx when requests are queued. The virtual -// dispatch_event method allows ACE_ES_Dispatch_Requests to call -// back the dispatching module when acting as command objects. When -// this implementation is used by the Event Channel it forwards all -// dispatch calls without any queuing. Therefore, it can be -// used to build an EFD. It is also inherited by the Priority -// Dispatching module. -{ -public: - ACE_ES_Dispatching_Base (ACE_EventChannel *channel); - // Default construction. - - virtual void open (ACE_ES_Consumer_Module *up, - ACE_ES_Correlation_Module *down); - // Link to adjacent modules. - - virtual void connected (ACE_Push_Consumer_Proxy *consumer, - CORBA::Environment &); - // Forward down_. - - virtual void disconnecting (ACE_Push_Consumer_Proxy *consumer, - CORBA::Environment &); - // Forward down_. - - virtual void disconnected (ACE_Push_Consumer_Proxy *consumer); - // Release any unneeded dispatching resources. - - // = Not needed. - // void connected (ACE_Push_Supplier_Proxy *supplier); - // void disconnecting (ACE_Push_Supplier_Proxy *supplier); - - virtual void push (ACE_ES_Dispatch_Request *request, - CORBA::Environment &) = 0; - // Forward up_. - - virtual int dispatch_event (ACE_ES_Dispatch_Request *request, - u_long &command_action); - // Called by ACE_ES_Dispatch_Requests when dequeued by RT_Tasks. - - virtual void dispatch_queue_closed (ACE_ES_Dispatch_Queue *q); - // Called when all the threads of a have exited. - - virtual void activate (int threads_per_queue); - // This is called by the Event Channel. It will create all the - // threads and only return once they are all up and running. - - virtual void shutdown (void); - // This is called by the Event Channel. This will attempt to shut - // down all of its threads gracefully. Wish it luck. - -protected: - ACE_EventChannel *channel_; - // Dat der channel. - - ACE_ES_MUTEX lock_; - // To synchronize thr_count_. - - int thr_count_; - // The total number of threads in the Dispatching Module. This will - // be the sum of all the Dispatch Queue threads. - - ACE_ES_Consumer_Module *up_; - // Next module up. - - ACE_ES_Correlation_Module *down_; - // Next module down. -}; - -// ************************************************************ - -class TAO_ORBSVCS_Export ACE_ES_Dispatch_Request : public ACE_RT_Task_Command -// = TITLE -// ACE Event Service Dispatch Request -// -// = DESCRIPTION -// Encapsulates a consumer and the events that will be sent to the -// consumer. Right now, this class keeps a single_event_ that can -// be used when only one event is sent to the consumer. Since this -// is frequently the case (except for correlations), this -// optimization reduces the amount of dynamic memory allocation is -// necessary. This class is also a GOF Command object since it can -// be dequeued by an RT_Task to call back the dispatching module -// for request dispatching. -{ -public: - ACE_ES_Dispatch_Request (void); - // Default construction. - - virtual ~ACE_ES_Dispatch_Request (void); - // Default destruction. - - ACE_ES_Dispatch_Request (ACE_Push_Consumer_Proxy *consumer, - RtecScheduler::handle_t rt_info); - // All the events must be added after construction to the - // event_set. - - ACE_ES_Dispatch_Request (ACE_Push_Consumer_Proxy *consumer, - const TAO_EC_Event_Array &event_set, - RtecScheduler::handle_t rt_info); - // Set consumer_ to and copy to event_set_. - // describes the method receiving this dispatch. - - ACE_ES_Dispatch_Request (ACE_Push_Consumer_Proxy *consumer, - const RtecEventComm::Time &time, - RtecScheduler::handle_t rt_info); - // Set consumer_ to and sets - // single_event_.header.creation_time to